1(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,r){"use strict";e.exports=r(524)},function(e,t,r){"use strict";var n=r(437),i=r.n(n),a=r(196),o=r.n(a),s=r(243),c=r.n(s),u=r(26),l=r.n(u),d=r(0),f=r.n(d),p=(r(181),r(134)),_=r.n(p);function m(e){return JSON.stringify(e.map(function(e){return e&&"object"===typeof e?(t=e,Object.keys(t).sort().map(function(e){var r;return(r={})[e]=t[e],r})):e;var t}))}var g=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=m(n),o=a&&t[a];return o||(o=new((r=e).bind.apply(r,[void 0].concat(n))),a&&(t[a]=o)),o}};r.d(t,"f",function(){return v}),r.d(t,"g",function(){return re}),r.d(t,"e",function(){return ge}),r.d(t,"a",function(){return he}),r.d(t,"d",function(){return Ee}),r.d(t,"c",function(){return De}),r.d(t,"b",function(){return Ae});var h={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,a=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach(function(e){e&&e.locale&&(o.a.__addLocaleData(e),c.a.__addLocaleData(e))})}function y(e){var t=e&&e.toLowerCase();return!(!o.a.__localeData__[t]||!c.a.__localeData__[t])}var b="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x=(function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var o=t[r](n),s=o.value;s instanceof e?Promise.resolve(s.value).then(function(e){i("next",e)},function(e){i("throw",e)}):a(o.done?"return":"normal",o.value)}catch(c){a("throw",c)}}function a(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise(function(a,o){var s={key:e,arg:t,resolve:a,reject:o,next:null};n?n=n.next=s:(r=n=s,i(e,t))})}
1,"function"!==typeof t.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),S=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},E=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},T=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},w=l.a.bool,D=l.a.number,A=l.a.string,N=l.a.func,P=l.a.object,O=l.a.oneOf,F=l.a.shape,M=l.a.any,I=l.a.oneOfType,L=O(["best fit","lookup"]),R=O(["narrow","short","long"]),j=O(["numeric","2-digit"]),B=N.isRequired,z={locale:A,timeZone:A,formats:P,messages:P,textComponent:M,defaultLocale:A,defaultFormats:P,onError:N},q={formatDate:B,formatTime:B,formatRelative:B,formatNumber:B,formatPlural:B,formatMessage:B,formatHTMLMessage:B},U=F(k({},z,q,{formatters:P,now:B})),V=(A.isRequired,I([A,P]),{localeMatcher:L,formatMatcher:O(["basic","best fit"]),timeZone:A,hour12:w,weekday:R,era:R,year:j,month:O(["numeric","2-digit","narrow","short","long"]),day:j,hour:j,minute:j,second:j,timeZoneName:O(["short","long"])}),J={localeMatcher:L,style:O(["decimal","currency","percent"]),currency:A,currencyDisplay:O(["symbol","code","name"]),useGrouping:w,minimumIntegerDigits:D,minimumFractionDigits:D,maximumFractionDigits:D,minimumSignificantDigits:D,maximumSignificantDigits:D},H={style:O(["best fit","numeric"]),units:O(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},W={style:O(["cardinal","ordinal"])},K=Object.keys(z),G={"&":"&",">":">","<":"<",'"':""","'":"'"},X=/[&><"']/g;function Y(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(t,n){return e.hasOwnProperty(n)?t[n]=e[n]:r.hasOwnProperty(n)&&(t[n]=r[n]),t},{})}function $(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;_()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Q(e,t){if(e===t)return!0;if("object"!==("undefined"===typeof e?"undefined":b(e))||null===e||"object"!==("undefined"===typeof t?"undefined":b(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),a=0;a<r.length;a++)if(!i(r[a])||e[r[a]]!==t[r[a]])return!1;return!0}function Z(e,t,r){var n=e.props,i=e.state,a=e.context,o=void 0===a?{}:a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=o.intl,u=void 0===c?{}:c,l=s.intl,d=void 0===l?{}:l;return!Q(t,n)||!Q(r,i)||!(d===u||Q(Y(d,K),Y(u,K)))}function ee(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function te(e){0}function re(e){return e}var ne=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,e);var n,i="ordinal"===r.style,a=(n=function(e){return o.a.prototype._resolveLocale(e)}(t),o.a.prototype._findPluralRuleFunction(n));this.format=function(e){return a(e,i)}},ie=Object.keys(V),ae=Object.keys(J),oe=Object.keys(H),se=Object.keys(W),ce={second:60,minute:60,hour:24,day:30,month:12};function ue(e){var t=c.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function le(e,t,r,n){var i=e&&e[t]&&e[t][r];if(i)return i;
1n(ee("No "+t+" format named: "+r))}function de(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=e.formats,o=e.messages,s=e.defaultLocale,c=e.defaultFormats,u=r.id,l=r.defaultMessage;_()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(n).length>0))return d||l||u;var f=void 0,p=e.onError||te;if(d)try{f=t.getMessageFormat(d,i,a).format(n)}catch(m){p(ee('Error formatting message: "'+u+'" for locale: "'+i+'"'+(l?", using default message as fallback.":""),m))}else(!l||i&&i.toLowerCase()!==s.toLowerCase())&&p(ee('Missing message: "'+u+'" for locale: "'+i+'"'+(l?", using default message as fallback.":"")));if(!f&&l)try{f=t.getMessageFormat(l,s,c).format(n)}catch(m){p(ee('Error formatting the default message for: "'+u+'"',m))}return f||p(ee('Cannot format message: "'+u+'", using message '+(d||l?"source":"id")+" as fallback.")),f||d||l||u}var fe=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=e.formats,o=e.timeZone,s=n.format,c=e.onError||te,u=new Date(r),l=k({},o&&{timeZone:o},s&&le(a,"date",s,c)),d=Y(n,ie,l);try{return t.getDateTimeFormat(i,d).format(u)}catch(f){c(ee("Error formatting date.",f))}return String(u)},formatTime:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=e.formats,o=e.timeZone,s=n.format,c=e.onError||te,u=new Date(r),l=k({},o&&{timeZone:o},s&&le(a,"time",s,c)),d=Y(n,ie,l);d.hour||d.minute||d.second||(d=k({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(i,d).format(u)}catch(f){c(ee("Error formatting time.",f))}return String(u)},formatRelative:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=e.formats,o=n.format,s=e.onError||te,u=new Date(r),l=new Date(n.now),d=o&&le(a,"relative",o,s),f=Y(n,oe,d),p=k({},c.a.thresholds);ue(ce);try{return t.getRelativeFormat(i,f).format(u,{now:isFinite(l)?l:t.now()})}catch(_){s(ee("Error formatting relative time.",_))}finally{ue(p)}return String(u)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=e.formats,o=n.format,s=e.onError||te,c=o&&le(a,"number",o,s),u=Y(n,ae,c);try{return t.getNumberFormat(i,u).format(r)}catch(l){s(ee("Error formatting number.",l))}return String(r)},formatPlural:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=e.locale,a=Y(n,se),o=e.onError||te;try{return t.getPluralFormat(i,a).format(r)}catch(s){o(ee("Error formatting plural.",s))}return"other"},formatMessage:de,formatHTMLMessage:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return de(e,t,r,Object.keys(n).reduce(function(e,t){var r=n[t];return e[t]="string"===typeof r?(""+r).replace(X,function(e){return G[e]}):r,e},{}))}}),pe=Object.keys(z),_e=Object.keys(q),me={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:te},ge=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));_()("undefined"!==typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var i=r.intl,a=void 0;a=isFinite(e.initialNow)?Number(e.initialNow):i?i.now():Date.now();var s=(i||{}).formatters,u=void 0===s?{getDateTimeFormat:g(Intl.DateTimeFormat),getNumberFormat:g(Intl.NumberFormat),getMessageFormat:g(o.a),getRelativeFormat:g(c.a),getPluralFormat:g(ne)}:s;return n.state=k({},u,{now:function(){return n._didDisplay?Date.now():a}}),n}return C(t,e),S(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=Y(this.props,pe,e);for(var r in me)void 0===t[r]&&(t[r]=me[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(y(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,i=n.locale,a=n.defaultLocale,o=n.defaultFormats;(0,n.onError)(ee('Missing locale data for locale: "'+i+'". Using default locale: "'+a+'" as fallback.')),t=k({},t,{locale:a,formats:o,messages:me.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return _e.reduce(function(r,n){return r[n]=fe[n].bind(null,e,t),r},{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),r=this.state,n=r.now,i=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["now"]);return{intl:k({},e,t,{formatters:i,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return d.Children.only(this.props.children)}}]),t}(d.Component);ge.displayName="IntlProvider",ge.contextTypes={intl:U},ge.childContextTypes={intl:U.isRequired};var he=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return $(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}}
1,{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,r=e.textComponent,n=this.props,i=n.value,a=n.children,o=t(i,this.props);return"function"===typeof a?a(o):f.a.createElement(r,null,o)}}]),t}(d.Component);he.displayName="FormattedDate",he.contextTypes={intl:U};var ve=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return $(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,r=e.textComponent,n=this.props,i=n.value,a=n.children,o=t(i,this.props);return"function"===typeof a?a(o):f.a.createElement(r,null,o)}}]),t}(d.Component);ve.displayName="FormattedTime",ve.contextTypes={intl:U};var ye=1e3,be=6e4,xe=36e5,Se=864e5,ke=2147483647;var Ce=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));$(r);var i=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:i},n}return C(t,e),S(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,i=e.units,a=e.updateInterval,o=new Date(n).getTime();if(a&&isFinite(o)){var s=o-t.now,c=function(e){switch(e){case"second":return ye;case"minute":return be;case"hour":return xe;case"day":return Se;default:return ke}}(i||function(e){var t=Math.abs(e);return t<be?"second":t<xe?"minute":t<Se?"hour":"day"}(s)),u=Math.abs(s%c),l=s<0?Math.max(a,c-u):Math.max(a,u);this._timer=setTimeout(function(){r.setState({now:r.context.intl.now()})},l)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var r=new Date(e).getTime(),n=new Date(t).getTime();return isFinite(r)&&isFinite(n)&&r===n})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,r=e.textComponent,n=this.props,i=n.value,a=n.children,o=t(i,k({},this.props,this.state));return"function"===typeof a?a(o):f.a.createElement(r,null,o)}}]),t}(d.Component);Ce.displayName="FormattedRelative",Ce.contextTypes={intl:U},Ce.defaultProps={updateInterval:1e4};var Ee=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return $(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,r=e.textComponent,n=this.props,i=n.value,a=n.children,o=t(i,this.props);return"function"===typeof a?a(o):f.a.createElement(r,null,o)}}]),t}(d.Component);Ee.displayName="FormattedNumber",Ee.contextTypes={intl:U};var Te=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return $(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,r=e.textComponent,n=this.props,i=n.value,a=n.other,o=n.children,s=t(i,this.props),c=this.props[s]||a;return"function"===typeof o?o(c):f.a.createElement(r,null,c)}}]),t}(d.Component);Te.displayName="FormattedPlural",Te.contextTypes={intl:U},Te.defaultProps={style:"cardinal"};var we=function(e,t){return de({},{getMessageFormat:g(o.a)},e,t)},De=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||$(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Q(e.values,t))return!0;for(var r=k({},e,{values:t}),n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return Z.apply(void 0,[this,r].concat(i))}}
1,{key:"render",value:function(){var e=this.context.intl||{},t=e.formatMessage,r=void 0===t?we:t,n=e.textComponent,i=void 0===n?"span":n,a=this.props,o=a.id,s=a.description,c=a.defaultMessage,u=a.values,l=a.tagName,f=void 0===l?i:l,p=a.children,_=void 0,m=void 0,g=void 0;if(u&&Object.keys(u).length>0){var h=Math.floor(1099511627776*Math.random()).toString(16),v=function(){var e=0;return function(){return"ELEMENT-"+h+"-"+(e+=1)}}();_="@__"+h+"__@",m={},g={},Object.keys(u).forEach(function(e){var t=u[e];if(Object(d.isValidElement)(t)){var r=v();m[e]=_+r+_,g[r]=t}else m[e]=t})}var y=r({id:o,description:s,defaultMessage:c},m||u),b=void 0;return b=g&&Object.keys(g).length>0?y.split(_).filter(function(e){return!!e}).map(function(e){return g[e]||e}):[y],"function"===typeof p?p.apply(void 0,T(b)):d.createElement.apply(void 0,[f,null].concat(T(b)))}}]),t}(d.Component);De.displayName="FormattedMessage",De.contextTypes={intl:U},De.defaultProps={values:{}};var Ae=function(e){function t(e,r){x(this,t);var n=E(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return $(r),n}return C(t,e),S(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!Q(e.values,t))return!0;for(var r=k({},e,{values:t}),n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return Z.apply(void 0,[this,r].concat(i))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,r=e.textComponent,n=this.props,i=n.id,a=n.description,o=n.defaultMessage,s=n.values,c=n.tagName,u=void 0===c?r:c,l=n.children,d=t({id:i,description:a,defaultMessage:o},s);if("function"===typeof l)return l(d);var p={__html:d};return f.a.createElement(u,{dangerouslySetInnerHTML:p})}}]),t}(d.Component);Ae.displayName="FormattedHTMLMessage",Ae.contextTypes={intl:U},Ae.defaultProps={values:{}},v(h),v(i.a)},,function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",function(){return i})},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(233);function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}
1),t&&Object(n.a)(e,t)}},function(e,t,r){"use strict";function n(e){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i="function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}var a=r(21);function o(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?Object(a.a)(e):t}r.d(t,"a",function(){return o})},function(e,t,r){"use strict";var n=r(14),i=r(142),a=r(0),o=r.n(a),s=r(26),c=r.n(s),u=o.a.createContext(null);var l=function(e){e()},d=function(){return l},f=null,p={notify:function(){}};var _=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=p,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=d(),t=[],r=[];return{clear:function(){r=f,t=f},notify:function(){var n=t=r;e(function(){for(var e=0;e<n.length;e++)n[e]()})},get:function(){return r},subscribe:function(e){var n=!0;return r===t&&(r=t.slice()),r.push(e),function(){n&&t!==f&&(n=!1,r===t&&(r=t.slice()),r.splice(r.indexOf(e),1))}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=p)},e}(),m=function(e){function t(t){var r;r=e.call(this,t)||this;var i=t.store;r.notifySubscribers=r.notifySubscribers.bind(Object(n.a)(r));var a=new _(i);return a.onStateChange=r.notifySubscribers,r.state={store:i,subscription:a},r.previousState=i.getState(),r}Object(i.a)(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.state.subscription.trySubscribe(),this.previousState!==this.props.store.getState()&&this.state.subscription.notifyNestedSubs()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this.state.subscription.tryUnsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){if(this.props.store!==e.store){this.state.subscription.tryUnsubscribe();var t=new _(this.props.store);t.onStateChange=this.notifySubscribers,this.setState({store:this.props.store,subscription:t})}},r.notifySubscribers=function(){this.state.subscription.notifyNestedSubs()},r.render=function(){var e=this.props.context||u;return o.a.createElement(e.Provider,{value:this.state},this.props.children)},t}(a.Component);m.propTypes={store:c.a.shape({subscribe:c.a.func.isRequired,dispatch:c.a.func.isRequired,getState:c.a.func.isRequired}),context:c.a.object,children:c.a.any};var g=m,h=r(17),v=r(83),y=r(181),b=r.n(y),x=r(134),S=r.n(x),k=r(289),C=[],E=[null,null];function T(e,t){var r=e[1];return[t.payload,r+1]}var w=function(){return[null,0]},D="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?a.useLayoutEffect:a.useEffect;function A(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,i=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,s=r.methodName,c=void 0===s?"connectAdvanced":s,l=r.renderCountProp,d=void 0===l?void 0:l,f=r.shouldHandleStateChanges,p=void 0===f||f,m=r.storeKey,g=void 0===m?"store":m,y=r.withRef,x=void 0!==y&&y,A=r.forwardRef,N=void 0!==A&&A,P=r.context,O=void 0===P?u:P,F=Object(v.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);S()(void 0===d,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),S()(!x,"withRef is removed. To access the wrapped instance, use a ref on the connected component");S()("store"===g,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} />
1</Provider>. You may also pass a {context : MyContext} option to connect");var M=O;return function(t){var r=t.displayName||t.name||"Component",n=i(r),s=Object(h.a)({},F,{getDisplayName:i,methodName:c,renderCountProp:d,shouldHandleStateChanges:p,storeKey:g,displayName:n,wrappedComponentName:r,WrappedComponent:t}),u=F.pure;var l=u?a.useMemo:function(e){return e()};function f(r){var i=Object(a.useMemo)(function(){var e=r.forwardedRef,t=Object(v.a)(r,["forwardedRef"]);return[r.context,e,t]},[r]),c=i[0],u=i[1],d=i[2],f=Object(a.useMemo)(function(){return c&&c.Consumer&&Object(k.isContextConsumer)(o.a.createElement(c.Consumer,null))?c:M},[c,M]),m=Object(a.useContext)(f),g=Boolean(r.store),y=Boolean(m)&&Boolean(m.store);S()(g||y,'Could not find "store" in the context of "'+n+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+n+" in connect options.");var b=r.store||m.store,x=Object(a.useMemo)(function(){return function(t){return e(t.dispatch,s)}(b)},[b]),A=Object(a.useMemo)(function(){if(!p)return E;var e=new _(b,g?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[b,g,m]),N=A[0],P=A[1],O=Object(a.useMemo)(function(){return g?m:Object(h.a)({},m,{subscription:N})},[g,m,N]),F=Object(a.useReducer)(T,C,w),I=F[0][0],L=F[1];if(I&&I.error)throw I.error;var R=Object(a.useRef)(),j=Object(a.useRef)(d),B=Object(a.useRef)(),z=Object(a.useRef)(!1),q=l(function(){return B.current&&d===j.current?B.current:x(b.getState(),d)},[b,I,d]);D(function(){j.current=d,R.current=q,z.current=!1,B.current&&(B.current=null,P())}),D(function(){if(p){var e=!1,t=null,r=function(){if(!e){var r,n,i=b.getState();try{r=x(i,j.current)}catch(a){n=a,t=a}n||(t=null),r===R.current?z.current||P():(R.current=r,B.current=r,z.current=!0,L({type:"STORE_UPDATED",payload:{latestStoreState:i,error:n}}))}};N.onStateChange=r,N.trySubscribe(),r();return function(){if(e=!0,N.tryUnsubscribe(),t)throw t}}},[b,N,x]);var U=Object(a.useMemo)(function(){return o.a.createElement(t,Object(h.a)({},q,{ref:u}))},[u,t,q]);return Object(a.useMemo)(function(){return p?o.a.createElement(f.Provider,{value:O},U):U},[f,U,O])}var m=u?o.a.memo(f):f;if(m.WrappedComponent=t,m.displayName=n,N){var y=o.a.forwardRef(function(e,t){return o.a.createElement(m,Object(h.a)({},e,{forwardedRef:t}))});return y.displayName=n,y.WrappedComponent=t,b()(y,t)}return b()(m,t)}}var N=Object.prototype.hasOwnProperty;function P(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function O(e,t){if(P(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!N.call(t,r[i])||!P(e[r[i]],t[r[i]]))return!1;return!0}var F=r(195);function M(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function I(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function L(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=I(e);var i=n(t,r);return"function"===typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=I(i),i=n(t,r)),i},n}}var R=[function(e){return"function"===typeof e?L(e):void 0},function(e){return e?void 0:M(function(e){return{dispatch:e}})},function(e){return e&&"object"===typeof e?M(function(t){return Object(F.b)(e,t)}):void 0}];var j=[function(e){return"function"===typeof e?L(e):void 0},function(e){return e?void 0:M(function(){return{}})}];function B(e,t,r){return Object(h.a)({},r,e,t)}var z=[function(e){return"function"===typeof e?function(e){return function(t,r){r.displayName;var n,i=r.pure,a=r.areMergedPropsEqual,o=!1;return function(t,r,s){var c=e(t,r,s);return o?i&&a(c,n)||(n=c):(o=!0,n=c),n}}}(e):void 0},function(e){return e?void 0:function(){return B}}];function q(e,t,r,n){return function(i,a){return r(e(i,a),t(n,a),a)}}function U(e,t,r,n,i){var a,o,s,c,u,l=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function _(i,p){var _=!d(p,o),m=!l(i,a);
1return a=i,o=p,_&&m?(s=e(a,o),t.dependsOnOwnProps&&(c=t(n,o)),u=r(s,c,o)):_?(e.dependsOnOwnProps&&(s=e(a,o)),t.dependsOnOwnProps&&(c=t(n,o)),u=r(s,c,o)):m?function(){var t=e(a,o),n=!f(t,s);return s=t,n&&(u=r(s,c,o)),u}():u}return function(i,l){return p?_(i,l):(s=e(a=i,o=l),c=t(n,o),u=r(s,c,o),p=!0,u)}}function V(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=Object(v.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,a),s=n(e,a),c=i(e,a);return(a.pure?U:q)(o,s,c,e,a)}function J(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function H(e,t){return e===t}var W=function(e){var t=void 0===e?{}:e,r=t.connectHOC,n=void 0===r?A:r,i=t.mapStateToPropsFactories,a=void 0===i?j:i,o=t.mapDispatchToPropsFactories,s=void 0===o?R:o,c=t.mergePropsFactories,u=void 0===c?z:c,l=t.selectorFactory,d=void 0===l?V:l;return function(e,t,r,i){void 0===i&&(i={});var o=i,c=o.pure,l=void 0===c||c,f=o.areStatesEqual,p=void 0===f?H:f,_=o.areOwnPropsEqual,m=void 0===_?O:_,g=o.areStatePropsEqual,y=void 0===g?O:g,b=o.areMergedPropsEqual,x=void 0===b?O:b,S=Object(v.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=J(e,a,"mapStateToProps"),C=J(t,s,"mapDispatchToProps"),E=J(r,u,"mergeProps");return n(d,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:C,initMergeProps:E,pure:l,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:x},S))}}();function K(){var e=Object(a.useContext)(u);return S()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function G(){return K().store.dispatch}var X="undefined"!==typeof window?a.useLayoutEffect:a.useEffect,Y=function(e,t){return e===t};function $(e,t){void 0===t&&(t=Y),S()(e,"You must pass a selector to useSelectors");var r,n=K(),i=n.store,o=n.subscription,s=Object(a.useReducer)(function(e){return e+1},0)[1],c=Object(a.useMemo)(function(){return new _(i,o)},[i,o]),u=Object(a.useRef)(),l=Object(a.useRef)(),d=Object(a.useRef)();try{r=e!==l.current||u.current?e(i.getState()):d.current}catch(p){var f="An error occured while selecting the store state: "+p.message+".";throw u.current&&(f+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\nOriginal stack trace:"),new Error(f)}return X(function(){l.current=e,d.current=r,u.current=void 0}),X(function(){function e(){try{var e=l.current(i.getState());if(t(e,d.current))return;d.current=e}catch(p){u.current=p}s({})}return c.onStateChange=e,c.trySubscribe(),e(),function(){return c.tryUnsubscribe()}},[i,c]),r}var Q,Z=r(161);r.d(t,"a",function(){return g}),r.d(t,"b",function(){return W}),r.d(t,"c",function(){return G}),r.d(t,"d",function(){return $}),Q=Z.unstable_batchedUpdates,l=Q},function(e,t,r){"use strict";var n=r(290);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||Object(n.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(t,"a",function(){return i})},function(e,t,r){e.exports=r(533)},function(e,t,r){"use strict";var n=r(291);var i=r(292);function a(e,t){return Object(n.a)(e)||function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(c){i=!0,a=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw a}}return r}(e,t)||Object(i.a)()}r.d(t,"a",function(){return a})},function(e,t,r){"use strict";var n=r(17),i=r(83),a=r(0),o=r.n(a),s=function(e){if(null===e||void 0===e||!e.length)return[];if("string"!==typeof e)throw new Error("toPath() expects a string");return e.split(/[.[\]]+/).filter(Boolean)},c=function(e,t){for(var r=s(t),n=e,i=0;i<r.length;i++){var a=r[i];if(void 0===n||null===n||"object"!==typeof n||Array.isArray(n)&&isNaN(a))return;n=n[a]}return n};function u(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}var l=function(e,t,r,a){if(void 0===a&&(a=!1),void 0===e||null===e)throw new Error("Cannot call setIn() with "+String(e)+" state");if(void 0===t||null===t)throw new Error("Cannot call setIn() with "+String(t)+"
1key");return function e(t,r,a,o,s){if(r>=a.length)return o;var c=a[r];if(isNaN(c)){var l;if(void 0===t||null===t){var d,f=e(void 0,r+1,a,o,s);return void 0===f?void 0:((d={})[c]=f,d)}if(Array.isArray(t))throw new Error("Cannot set a non-numeric property on an array");var p=e(t[c],r+1,a,o,s);if(void 0===p){var _=Object.keys(t).length;if(void 0===t[c]&&0===_)return;return void 0!==t[c]&&_<=1?isNaN(a[r-1])||s?void 0:{}:(t[c],Object(i.a)(t,[c].map(u)))}return Object(n.a)({},t,((l={})[c]=p,l))}var m=Number(c);if(void 0===t||null===t){var g=e(void 0,r+1,a,o,s);if(void 0===g)return;var h=[];return h[m]=g,h}if(!Array.isArray(t))throw new Error("Cannot set a numeric property on an object");var v=e(t[m],r+1,a,o,s),y=[].concat(t);if(s&&void 0===v){if(y.splice(m,1),0===y.length)return}else y[m]=v;return y}(e,0,s(t),r,a)},d="FINAL_FORM/form-error",f="FINAL_FORM/array-error";function p(e,t){var r=e.errors,n=e.initialValues,i=e.lastSubmittedValues,a=e.submitErrors,o=e.submitFailed,s=e.submitSucceeded,u=e.submitting,l=e.values,d=t.active,p=t.blur,_=t.change,m=t.data,g=t.focus,h=t.modified,v=t.name,y=t.touched,b=t.validating,x=t.visited,S=c(l,v),k=c(r,v);k&&k[f]&&(k=k[f]);var C=a&&c(a,v),E=n&&c(n,v),T=t.isEqual(E,S),w=!k&&!C;return{active:d,blur:p,change:_,data:m,dirty:!T,dirtySinceLastSubmit:!(!i||t.isEqual(c(i,v),S)),error:k,focus:g,initial:E,invalid:!w,length:Array.isArray(S)?S.length:void 0,modified:h,name:v,pristine:T,submitError:C,submitFailed:o,submitSucceeded:s,submitting:u,touched:y,valid:w,value:S,visited:x,validating:b}}var _=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],m=function(e,t){if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),a=0;a<r.length;a++){var o=r[a];if(!i(o)||e[o]!==t[o])return!1}return!0};function g(e,t,r,n,i,a){var o=!1;return i.forEach(function(i){n[i]&&(e[i]=t[i],r&&(~a.indexOf(i)?m(t[i],r[i]):t[i]===r[i])||(o=!0))}),o}var h=["data"],v=function(e,t,r,n){var i={blur:e.blur,change:e.change,focus:e.focus,name:e.name};return g(i,e,t,r,_,h)||!t||n?i:void 0},y=["active","dirty","dirtyFields","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],b=["touched","visited"];function x(e,t,r,n){var i={};return g(i,e,t,r,y,b)||!t||n?i:void 0}var S=function(e){var t,r;return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t&&i.length===t.length&&!i.some(function(e,r){return!m(t[r],e)})||(t=i,r=e.apply(void 0,i)),r}},k=function(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then},C=function(e,t){return e===t},E=function e(t){return Object.keys(t).some(function(r){var n=t[r];return!n||"object"!==typeof n||n instanceof Error?"undefined"!==typeof n:e(n)})};function T(e,t,r,n,i,a){var o=i(r,n,t,a);return!!o&&(e(o),!0)}function w(e,t,r,n,i){var a=e.entries;Object.keys(a).forEach(function(e){var o=a[Number(e)];if(o){var s=o.subscription,c=o.subscriber,u=o.notified;T(c,s,t,r,n,i||!u)&&(o.notified=!0)}})}function D(e){if(!e)throw new Error("No config specified");var t=e.debug,r=e.destroyOnUnregister,i=e.keepDirtyOnReinitialize,a=e.initialValues,o=e.mutators,s=e.onSubmit,u=e.validate,_=e.validateOnBlur;if(!s)throw new Error("No onSubmit function specified");var g={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{dirtySinceLastSubmit:!1,errors:{},initialValues:a&&Object(n.a)({},a),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,valid:!0,validating:0,values:a?Object(n.a)({},a):{}},lastFormState:void 0},h=!1,y=!1,b=!1,D=0,A={},N=function(e,t,r){var n=r(c(e.formState.values,t));e.formState.values=l(e.formState.values,t,n)||{}},P=function(e,t,r){if(e.fields[t]){var i,a;e.fields=Object(n.a)({},e.fields,((i={})[r]=Object(n.a)({},e.fields[t],{name:r,blur:function(){return U.blur(r)},change:function(e){return U.change(r,e)},focus:function(){return U.focus(r)},lastFieldState:void 0}),i)),delete e.fields[t],e.fieldSubscribers=Object(n.a)({},e.fieldSubscribers,((a={})[r]=e.fieldSubscribers[t],a)),delete e.fieldSubscribers[t];var o=c(e.formState.values,t);e.formState.values=l(e.formState.values,t,void 0)||{},e.formState.values=l(e.formState.values,r,o),delete e.lastFormState}},O=function(e){return function(){if(o){for(var t={formState:g.formState,fields:g.fields,fieldSubscribers:g.fieldSubscribers,lastFormState:g.lastFormState},r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var a=o[e](n,t,{changeValue:N,getIn:c,renameField:P,resetFieldState:U.resetFieldState,setIn:l,shallowEqual:m});return g.formState=t.formState,g.fields=t.fields,g.fieldSubscribers=t.fieldSubscribers,g.lastFormState=t.lastFormState,I(void 0,function(){L(),q()}),a}}},F=o?Object.keys(o).reduce(function(e,t){return e[t]=O(t),e},{}):{},M=function(e){return Object.keys(e.validators).reduce(function(t,r){var n=e.validators[Number(r)]();
1return n&&t.push(n),t},[])},I=function(e,t){if(y)return b=!0,void t();var r=g.fields,i=g.formState,a=Object(n.a)({},r),o=Object.keys(a);if(u||o.some(function(e){return M(a[e]).length})){var s=!1;if(e){var _=a[e];if(_){var h=_.validateFields;h&&(s=!0,o=h.length?h.concat(e):[e])}}var v,x={},S={},C=[].concat(function(e){var t=[];if(u){var r=u(Object(n.a)({},g.formState.values));k(r)?t.push(r.then(e)):e(r)}return t}(function(e){x=e||{}}),o.reduce(function(e,t){return e.concat(function(e,t){var r,n=[],i=M(e);i.length&&(i.forEach(function(i){var a=i(c(g.formState.values,e.name),g.formState.values,3===i.length?p(g.formState,g.fields[e.name]):void 0);if(a&&k(a)){e.validating=!0;var o=a.then(function(r){e.validating=!1,t(r)});n.push(o)}else r||(r=a)}),t(r));return n}(r[t],function(e){S[t]=e}))},[])),E=C.length>0,T=++D,w=Promise.all(C).then((v=T,function(e){return delete A[v],e}));E&&(A[T]=w);var N=function(){var e=Object(n.a)({},s?i.errors:{},x),t=function(t){o.forEach(function(n){if(r[n]){var i=c(x,n),o=c(e,n),l=M(a[n]).length,d=S[n];t(n,l&&d||u&&i||(i||s?void 0:o))}})};t(function(t,r){e=l(e,t,r)||{}}),t(function(t,r){if(r&&r[f]){var n=c(e,t),i=[].concat(n);i[f]=r[f],e=l(e,t,i)}}),m(i.errors,e)||(i.errors=e),i.error=x[d]};if(N(),t(),E){g.formState.validating++,t();var P=function(){g.formState.validating--,t()};w.then(function(){D>T||N()}).then(P,P)}}else t()},L=function(e){if(!h){var t=g.fields,r=g.fieldSubscribers,i=g.formState,a=Object(n.a)({},t),o=function(e){var t=a[e],n=p(i,t),o=t.lastFieldState;t.lastFieldState=n;var s=r[e];s&&w(s,n,o,v,void 0===o)};e?o(e):Object.keys(a).forEach(o)}},R=function(){Object.keys(g.fields).forEach(function(e){g.fields[e].touched=!0})},j=function(){var e=g.fields,t=g.formState,r=g.lastFormState,i=Object(n.a)({},e),a=Object.keys(i),o=!1,s=a.reduce(function(e,r){return!i[r].isEqual(c(t.values,r),c(t.initialValues||{},r))&&(o=!0,e[r]=!0),e},{});t.pristine=!o,t.dirtySinceLastSubmit=!(!t.lastSubmittedValues||a.every(function(e){var r=t.lastSubmittedValues||{};return i[e].isEqual(c(t.values,e),c(r,e))})),t.valid=!t.error&&!t.submitError&&!E(t.errors)&&!(t.submitErrors&&E(t.submitErrors));var u=function(e){var t=e.active,r=e.dirtySinceLastSubmit,n=e.error,i=e.errors,a=e.initialValues,o=e.pristine,s=e.submitting,c=e.submitFailed,u=e.submitSucceeded,l=e.submitError,d=e.submitErrors,f=e.valid,p=e.validating,_=e.values;return{active:t,dirty:!o,dirtySinceLastSubmit:r,error:n,errors:i,hasSubmitErrors:!!(l||d&&E(d)),hasValidationErrors:!(!n&&!E(i)),invalid:!f,initialValues:a,pristine:o,submitting:s,submitFailed:c,submitSucceeded:u,submitError:l,submitErrors:d,valid:f,validating:p>0,values:_}}(t),l=a.reduce(function(e,t){return e.modified[t]=i[t].modified,e.touched[t]=i[t].touched,e.visited[t]=i[t].visited,e},{modified:{},touched:{},visited:{}}),d=l.modified,f=l.touched,p=l.visited;return u.dirtyFields=r&&m(r.dirtyFields,s)?r.dirtyFields:s,u.modified=r&&m(r.modified,d)?r.modified:d,u.touched=r&&m(r.touched,f)?r.touched:f,u.visited=r&&m(r.visited,p)?r.visited:p,r&&m(r,u)?r:u},B=!1,z=!1,q=function e(){if(B)z=!0;else{if(B=!0,t&&t(j(),Object.keys(g.fields).reduce(function(e,t){return e[t]=g.fields[t],e},{})),!h&&!y){var r=g.lastFormState,n=j();n!==r&&(g.lastFormState=n,w(g.subscribers,n,r,x))}B=!1,z&&(z=!1,e())}};I(void 0,function(){q()});var U={batch:function(e){h=!0,e(),h=!1,L(),q()},blur:function(e){var t=g.fields,r=g.formState,i=t[e];i&&(delete r.active,t[e]=Object(n.a)({},i,{active:!1,touched:!0}),_?I(e,function(){L(),q()}):(L(),q()))},change:function(e,t){var r=g.fields,i=g.formState;if(c(i.values,e)!==t){N(g,e,function(){return t});var a=r[e];a&&(r[e]=Object(n.a)({},a,{modified:!0})),_?(L(),q()):I(e,function(){L(),q()})}},get destroyOnUnregister(){return!!r},set destroyOnUnregister(e){r=e},focus:function(e){var t=g.fields[e];t&&!t.active&&(g.formState.active=e,t.active=!0,t.visited=!0,L(),q())},mutators:F,getFieldState:function(e){var t=g.fields[e];return t&&t.lastFieldState},getRegisteredFields:function(){return Object.keys(g.fields)},getState:function(){return j()},initialize:function(e){var t=g.fields,r=g.formState,a=Object(n.a)({},t),o="function"===typeof e?e(r.values):e;
1i||(r.values=o),Object.keys(a).forEach(function(e){var t=a[e];(t.modified=!1,t.touched=!1,t.visited=!1,i)&&(t.isEqual(c(r.values,e),c(r.initialValues||{},e))&&(r.values=l(r.values,e,c(o,e))))}),r.initialValues=o,I(void 0,function(){L(),q()})},isValidationPaused:function(){return y},pauseValidation:function(){y=!0},registerField:function(e,t,n,i){void 0===n&&(n={}),g.fieldSubscribers[e]||(g.fieldSubscribers[e]={index:0,entries:{}});var a=g.fieldSubscribers[e].index++;g.fieldSubscribers[e].entries[a]={subscriber:S(t),subscription:n,notified:!1},g.fields[e]||(g.fields[e]={active:!1,afterSubmit:i&&i.afterSubmit,beforeSubmit:i&&i.beforeSubmit,blur:function(){return U.blur(e)},change:function(t){return U.change(e,t)},data:i&&i.data||{},focus:function(){return U.focus(e)},isEqual:i&&i.isEqual||C,lastFieldState:void 0,modified:!1,name:e,touched:!1,valid:!0,validateFields:i&&i.validateFields,validators:{},validating:!1,visited:!1});var o=!1;return i&&(o=!(!i.getValidator||!i.getValidator()),i.getValidator&&(g.fields[e].validators[a]=i.getValidator),void 0!==i.initialValue&&(g.formState.initialValues=l(g.formState.initialValues||{},e,i.initialValue),g.formState.values=l(g.formState.values,e,i.initialValue)),void 0!==i.defaultValue&&(g.formState.values=l(g.formState.values,e,i.defaultValue))),o?I(void 0,function(){q(),L()}):(q(),L(e)),function(){var t=!1;g.fields[e]&&(t=!(!g.fields[e].validators[a]||!g.fields[e].validators[a]()),delete g.fields[e].validators[a]),delete g.fieldSubscribers[e].entries[a];var n=!Object.keys(g.fieldSubscribers[e].entries).length;n&&(delete g.fieldSubscribers[e],delete g.fields[e],t&&(g.formState.errors=l(g.formState.errors,e,void 0)||{}),r&&(g.formState.values=l(g.formState.values,e,void 0,!0)||{})),t?I(void 0,function(){q(),L()}):n&&q()}},reset:function(e){if(void 0===e&&(e=g.formState.initialValues),g.formState.submitting)throw Error("Cannot reset() in onSubmit(), use setTimeout(form.reset)");g.formState.submitFailed=!1,g.formState.submitSucceeded=!1,delete g.formState.submitError,delete g.formState.submitErrors,delete g.formState.lastSubmittedValues,U.initialize(e||{})},resetFieldState:function(e){g.fields[e]=Object(n.a)({},g.fields[e],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),I(void 0,function(){L(),q()})},resumeValidation:function(){y=!1,b&&I(void 0,function(){L(),q()}),b=!1},setConfig:function(e,n){switch(e){case"debug":t=n;break;case"destroyOnUnregister":r=n;break;case"initialValues":U.initialize(n);break;case"keepDirtyOnReinitialize":i=n;break;case"mutators":o=n,n?(Object.keys(F).forEach(function(e){e in n||delete F[e]}),Object.keys(n).forEach(function(e){F[e]=O(e)})):Object.keys(F).forEach(function(e){delete F[e]});break;case"onSubmit":s=n;break;case"validate":u=n,I(void 0,function(){L(),q()});break;case"validateOnBlur":_=n;break;default:throw new Error("Unrecognised option "+e)}},submit:function(){var e=g.formState;if(!e.submitting){if(g.formState.error||E(g.formState.errors))return R(),g.formState.submitFailed=!0,q(),void L();var t=Object.keys(A);if(t.length)Promise.all(t.map(function(e){return A[Number(e)]})).then(U.submit,U.submit);else if(!Object.keys(g.fields).some(function(e){return g.fields[e].beforeSubmit&&!1===g.fields[e].beforeSubmit()})){var r,i=!1,a=function(t){return e.submitting=!1,t&&E(t)?(e.submitFailed=!0,e.submitSucceeded=!1,e.submitErrors=t,e.submitError=t[d],R()):(e.submitFailed=!1,e.submitSucceeded=!0,Object.keys(g.fields).forEach(function(e){return g.fields[e].afterSubmit&&g.fields[e].afterSubmit()})),q(),L(),i=!0,r&&r(t),t};delete e.submitErrors,delete e.submitError,e.submitting=!0,e.submitFailed=!1,e.submitSucceeded=!1,e.lastSubmittedValues=Object(n.a)({},e.values);var o=s(e.values,U,a);if(!i){if(o&&k(o))return q(),L(),o.then(a,function(e){throw a(),e});if(s.length>=3)return q(),L(),new Promise(function(e){r=e});a(o)}}}},subscribe:function(e,t){if(!e)throw new Error("No callback given.");if(!t)throw new Error("No subscription provided. What values do you want to listen to?");var r=S(e),n=g.subscribers,i=n.index++;n.entries[i]={subscriber:r,subscription:t,notified:!1};var a=j();return T(r,t,a,a,x,!0),function(){delete n.entries[i]}}};return U}function A(e,t){var r=e.render,o=e.children,s=e.component,c=Object(i.a)(e,["render","children","component"]);if(s)return Object(a.createElement)(s,Object(n.a)({},c,{children:o,render:r}));if(r)return r(void 0===o?c:Object(n.a)({},c,{children:o}));
1if("function"!==typeof o)throw new Error("Must specify either a render prop, a render function as children, or a component prop to "+t);return o(c)}function N(e,t,r){void 0===r&&(r=function(e,t){return e===t});var n=o.a.useRef(e);o.a.useEffect(function(){r(e,n.current)||(t(),n.current=e)})}r.d(t,"a",function(){return J}),r.d(t,"b",function(){return R});var P=function(e,t){if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),a=0;a<r.length;a++){var o=r[a];if(!i(o)||e[o]!==t[o])return!1}return!0},O=function(e){return!(!e||"function"!==typeof e.stopPropagation)},F=Object(a.createContext)();function M(e){var t=o.a.useRef(e);return o.a.useEffect(function(){t.current=e}),t}var I={"final-form":"4.18.5","react-final-form":"6.3.0"},L=y.reduce(function(e,t){return e[t]=!0,e},{});function R(e){var t=e.debug,r=e.decorators,s=e.destroyOnUnregister,c=e.form,u=e.initialValues,l=e.initialValuesEqual,d=e.keepDirtyOnReinitialize,f=e.mutators,p=e.onSubmit,_=e.subscription,m=void 0===_?L:_,g=e.validate,h=e.validateOnBlur,v=Object(i.a)(e,["debug","decorators","destroyOnUnregister","form","initialValues","initialValuesEqual","keepDirtyOnReinitialize","mutators","onSubmit","subscription","validate","validateOnBlur"]),y={debug:t,destroyOnUnregister:s,initialValues:u,keepDirtyOnReinitialize:d,mutators:f,onSubmit:p,validate:g,validateOnBlur:h},b=function(e){var t=o.a.useRef();return t.current||(t.current=e()),t.current}(function(){var e=c||D(y);return e.pauseValidation(),e}),x=Object(a.useState)(function(){var e={};return b.subscribe(function(t){e=t},m)(),e}),S=x[0],k=x[1],C=M(S);Object(a.useEffect)(function(){b.isValidationPaused()&&b.resumeValidation();var e=[b.subscribe(function(e){P(e,C.current)||k(e)},m)].concat(r?r.map(function(e){return e(b)}):[]);return function(){e.forEach(function(e){return e()})}},[r]),N(t,function(){b.setConfig("debug",t)}),N(s,function(){b.destroyOnUnregister=!!s}),N(u,function(){b.setConfig("initialValues",u)},l||P),N(d,function(){b.setConfig("keepDirtyOnReinitialize",d)}),N(f,function(){b.setConfig("mutators",f)}),N(p,function(){b.setConfig("onSubmit",p)}),N(g,function(){b.setConfig("validate",g)}),N(h,function(){b.setConfig("validateOnBlur",h)});var E=Object(n.a)({},S,{form:Object(n.a)({},b,{reset:function(e){O(e)?b.reset():b.reset(e)}}),handleSubmit:function(e){return e&&("function"===typeof e.preventDefault&&e.preventDefault(),"function"===typeof e.stopPropagation&&e.stopPropagation()),b.submit()}});return Object(a.createElement)(F.Provider,{value:b},A(Object(n.a)({},v,E,{__versions:I}),"ReactFinalForm"))}function j(e){var t=Object(a.useContext)(F);if(!t)throw new Error((e||"useForm")+" must be used inside of a <Form> component");return t}var B="undefined"!==typeof window&&window.navigator&&window.navigator.product&&"ReactNative"===window.navigator.product,z=function(e,t,r,n){if(!n&&e.nativeEvent&&void 0!==e.nativeEvent.text)return e.nativeEvent.text;if(n&&e.nativeEvent)return e.nativeEvent.text;var i=e.target,a=i.type,o=i.value,s=i.checked;switch(a){case"checkbox":if(void 0!==r){if(s)return Array.isArray(t)?t.concat(r):[r];if(!Array.isArray(t))return t;var c=t.indexOf(r);return c<0?t:t.slice(0,c).concat(t.slice(c+1))}return!!s;case"select-multiple":return function(e){var t=[];if(e)for(var r=0;r<e.length;r++){var n=e[r];n.selected&&t.push(n.value)}return t}(e.target.options);default:return o}},q=_.reduce(function(e,t){return e[t]=!0,e},{}),U=function(e,t){return void 0===e?"":e},V=function(e,t){return""===e?void 0:e};var J=function(e){var t=e.afterSubmit,r=e.allowNull,o=e.beforeSubmit,s=e.children,c=e.component,u=e.defaultValue,l=e.format,d=e.formatOnBlur,f=e.initialValue,p=e.isEqual,_=e.multiple,m=e.name,g=e.parse,h=e.subscription,v=e.type,y=e.validate,b=e.validateFields,x=e.value,S=Object(i.a)(e,["afterSubmit","allowNull","beforeSubmit","children","component","defaultValue","format","formatOnBlur","initialValue","isEqual","multiple","name","parse","subscription","type","validate","validateFields","value"]),k=function(e,t){var r=void 0===t?{}:t,o=r.afterSubmit,s=r.allowNull,c=r.beforeSubmit,u=r.component,l=r.defaultValue,d=r.format,f=void 0===d?U:d,p=r.formatOnBlur,_=r.initialValue,m=r.isEqual,g=r.multiple,h=r.parse,v=void 0===h?V:h,y=r.subscription,b=void 0===y?q:y,x=r.type,S=r.validate,k=r.validateFields,C=r.value,E=j("useField"),T=M(S),w=M(function(){if(p){var e=f(P.value,P.name);e!==P.value&&P.change(e)}return c&&c()}),D=function(t){return E.registerField(e,t,b,{afterSubmit:o,beforeSubmit:function(){return w.current()},defaultValue:l,getValidator:function(){return T.current},initialValue:_,isEqual:m,validateFields:k})},A=Object(a.useRef)(!0),N=Object(a.useState)(function(){var e={},t=E.destroyOnUnregister;return E.destroyOnUnregister=!1,D(function(t){e=t})(),E.destroyOnUnregister=t,e}),P=N[0],O=N[1];Object(a.useEffect)(function(){return D(function(e){A.current?A.current=!1:O(e)})},[e,l,_,m]);var F={onBlur:Object(a.useCallback)(function(e){if(P.blur(),p){var t=E.getFieldState(P.name);P.change(f(t?t.value:P.value,P.name))}},[P.name,P.value,f,p]),onChange:Object(a.useCallback)(function(t){var r=t&&t.target?z(t,P.value,C,B):t;P.change(v(r,e))},[C,e,v,P.change,P.value,x]),onFocus:Object(a.useCallback)(function(e){P.focus()},[])},I=(P.blur,P.change,P.focus,P.value),L=(P.name,Object(i.a)(P,["blur","change","focus","value","name"])),R={active:L.active,data:L.data,dirty:L.dirty,dirtySinceLastSubmit:L.dirtySinceLastSubmit,error:L.error,initial:L.initial,invalid:L.invalid,length:L.length,modified:L.modified,pristine:L.pristine,submitError:L.submitError,submitFailed:L.submitFailed,submitSucceeded:L.submitSucceeded,submitting:L.submitting,touched:L.touched,valid:L.valid,val
1idating:L.validating,visited:L.visited};p?"input"===u&&(I=U(I)):I=f(I,e),null!==I||s||(I="");var J=Object(n.a)({name:e,value:I,type:x},F);return"checkbox"===x?void 0===C?J.checked=!!I:(J.checked=!(!Array.isArray(I)||!~I.indexOf(C)),J.value=C):"radio"===x?(J.checked=I===C,J.value=C):"select"===u&&g&&(J.value=J.value||[],J.multiple=!0),{input:J,meta:R}}(m,{afterSubmit:t,allowNull:r,beforeSubmit:o,children:s,component:c,defaultValue:u,format:l,formatOnBlur:d,initialValue:f,isEqual:p,multiple:_,parse:g,subscription:h,type:v,validate:y,validateFields:b,value:x});return"function"===typeof s?s(Object(n.a)({},k,S)):"string"===typeof c?Object(a.createElement)(c,Object(n.a)({},k.input,{children:s},S)):A(Object(n.a)({},k,{children:s,component:c},S),"Field("+m+")")}},function(e,t,r){"use strict";r.d(t,"a",function(){return i});var n=r(84);function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),i.forEach(function(t){Object(n.a)(e,t,r[t])})}return e}},function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";var n=r(751),i=r(381),a=r(758),o=r(759),s=r(760);function c(e,t){return t.encode?t.strict?a(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function l(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function d(e){var t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":return function(e,t,r){var n="string"===typeof t&&t.split("").indexOf(",")>-1?t.split(","):t;r[e]=n};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",parseNumbers:!1,parseBooleans:!1},t)),i=Object.create(null);if("string"!==typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;var a=!0,o=!1,c=void 0;try{for(var l,d=e.split("&")[Symbol.iterator]();!(a=(l=d.next()).done);a=!0){var p=l.value,_=s(t.decode?p.replace(/\+/g," "):p,"="),m=n(_,2),g=m[0];y=void 0===(y=m[1])?null:u(y,t),r(u(g,t),y,i)}}catch(k){o=!0,c=k}finally{try{a||null==d.return||d.return()}finally{if(o)throw c}}for(var h=0,v=Object.keys(i);h<v.length;h++){var y;g=v[h];if("object"===typeof(y=i[g])&&null!==y)for(var b=0,x=Object.keys(y);b<x.length;b++){var S=x[b];y[S]=f(y[S],t)}else i[g]=f(y,t)}return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce(function(e,t){var r=i[t];return Boolean(r)&&"object"===typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"===typeof t?e(Object.keys(t)).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return t[e]}):t}(r):e[t]=r,e},Object.create(null))}t.extract=d,t.parse=p,t.stringify=function(e,t){if(!e)return"";var r=function(e){switch(e.arrayFormat){case"index":return function(t){return function(r,n){var a=r.length;return void 0===n||e.skipNull&&null===n?r:[].concat(i(r),null===n?[[c(t,e),"[",a,"]"].join("")]:[[c(t,e),"[",c(a,e),"]=",c(n,e)].join("")])}};case"bracket":return function(t){return function(r,n){return void 0===n||e.skipNull&&null===n?r:[].concat(i(r),null===n?[[c(t,e),"[]"].join("")]:[[c(t,e),"[]=",c(n,e)].join("")])}};case"comma":return function(t){return function(r,n){return null===n||void 0===n||0===n.length?r:0===r.length?[[c(t,e),"=",c(n,e)].join("")]:[[r,c(n,e)].join(",")]}};default:return function(t){return function(r,n){return void 0===n||e.skipNull&&null===n?r:[].concat(i(r),null===n?[c(t,e)]:[[c(t,e),"=",c(n,e)].join("")])}}}}(t=Object.assign({encode:!0,strict:!0,arrayFormat:"none"},t)),n=Object.assign({},e);if(t.skipNull)for(var a=0,o=Object.keys(n);a<o.length;a++){var s=o[a];void 0!==n[s]&&null!==n[s]||delete n[s]}var u=Object.keys(n);return!1!==t.sort&&u.sort(t.sort),u.map(function(n){var i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)}).filter(function(e){return e.length>0}).join("&")},t.parseUrl=function(e,t){return{url:l(e).split("?")[0]||"",query:p(d(e),t)}}},function(e,t,r){"use strict";r.d(t,"a",function(){return d}),r.d(t,"b",function(){return p});var n=r(142),i=r(0),a=r.n(i),o=r(182),s=r(143),c=(r(26),r(17)),u=r(83),l=r(135),d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).history=Object(s.createBrowserHistory)(t.props),t}return Object(n.a)(t,e),t.prototype.render=function(){return a.a.createElement(o.Router,{history:this.history,children:this.props.children})},t}(a.a.Component);a.a.Component;var f=function(e){function t(){return e.apply(this,arguments)||this}Object(n.a)(t,e);var r=t.prototype;return r.handleClick=function(e,t){try{this.props.onClick&&this.props.onClick(e)}catch(r){throw e.preventDefault(),r}e.defaultPrevented||0!==e.button||this.props.target&&"_self"!==this.props.target||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),(this.props.replace?t.replace:t.push)(this.props.to))},r.render=function(){var e=this,t=this.props,r=t.innerRef,n=(t.replace,t.to),i=Object(u.a)(t,["innerRef","replace","to"]);return a.a.createElement(o.__RouterContext.Consumer,null,function(t){t||Object(l.default)(!1);var o="string"===typeof n?Object(s.createLocation)(n,null,null,t.location):n,u=o?t.history.createHref(o):"";return a.a.createElement("a",Object(c.a)({},i,{onClick:function(r){return e.handleClick(r,t.history)},href:u,ref:r}))})},t}(a.a.Component);function p(e){var t=e["aria-current"],r=void 0===t?"page":t,n=e.activeClassName,i=void 0===n?"active":n,s=e.activeStyle,d=e.className,p=e.exact,_=e.isActive,m=e.location,g=e.strict,h=e.style,v=e.to,y=Object(u.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to"]),b="object"===typeof v?v.pathname:v,x=b&&b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(o.__RouterContext.Consumer,null,function(e){e||Object(l.default)(!1);var t=m?m.pathname:e.location.pathname,n=x?Object(o.matchPath)(t,{path:x,exact:p,strict:g}):null,u=!!(_?_(n,e.location):n),b=u?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e){return e}).join(" ")}(d,i):d,S=u?Object(c.a)({},h,s):h;return a.a.createElement(f,Object(c.a)({"aria-current":u&&r||null,className:b,style:S,to:v},y))})}},function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",function(){return n})},,,,function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",function(){return n})},function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i,a=!1,o=0;function s(){i&&clearTimeout(i)}function c(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];var d=this,f=Date.now()-o;function p(){o=Date.now(),r.apply(d,u)}a||(n&&!i&&p(),s(),void 0===n&&f>e?p():!0!==t&&(i=setTimeout(n?function(){i=void 0}:p,void 0===n?e-f:e)))}return"boolean"!==typeof t&&(n=r,r=t,t=void 0),c.cancel=function(){s(),a=!0},c}e.debounce=function(e,r,n){return void 0===n?t(e,r,!1):t(e,n,!1!==r)},e.throttle=t,Object.defineProperty(e,"__esModule",{value:!0})}(t)},,,,function(e,t,r){e.exports=r(529)()},,,,,,,function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},,function(e,t,r){e.exports=r(766)},,,,,function(e,t,r){var n=r(103),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";function n(e){var t=e.width,r=e.height;if(t<0)throw new Error("Negative width is not allowed for Size");if(r<0)throw new Error("Negative height is not allowed for Size");return{width:t,height:r}}function i(e,t){return e.width===t.width&&e.height===t.height}var a=function(){function e(e){var t=this;this._resolutionListener=function(){return t._onResolutionChanged()},this._resolutionMediaQueryList=null,this._observers=[],this._window=e,this._installResolutionListener()}return e.prototype.dispose=function(){this._uninstallResolutionListener(),this._window=null},Object.defineProperty(e.prototype,"value",{get:function(){return this._window.devicePixelRatio},enumerable:!1,configurable:!0}),e.prototype.subscribe=function(e){var t=this,r={next:e};return this._observers.push(r),{unsubscribe:function(){t._observers=t._observers.filter(function(e){return e!==r})}}},e.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw new Error("Resolution listener is already installed");var e=this._window.devicePixelRatio;this._resolutionMediaQueryList=this._window.matchMedia("all and (resolution: ".concat(e,"dppx)")),this._resolutionMediaQueryList.addListener(this._resolutionListener)},e.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},e.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},e.prototype._onResolutionChanged=function(){var e=this;this._observers.forEach(function(t){return t.next(e._window.devicePixelRatio)}),this._reinstallResolutionListener()},e}();var o=function(){function e(e,t,r){var i;this._canvasElement=null,this._bitmapSizeChangedListeners=[],this._suggestedBitmapSize=null,this._suggestedBitmapSizeChangedListeners=[],this._devicePixelRatioObservable=null,this._canvasElementResizeObserver=null,this._canvasElement=e,this._canvasElementClientSize=n({width:this._canvasElement.clientWidth,height:this._canvasElement.clientHeight}),this._transformBitmapSize=null!==t&&void 0!==t?t:function(e){return e},this._allowResizeObserver=null===(i=null===r||void 0===r?void 0:r.allowResizeObserver)||void 0===i||i,this._chooseAndInitObserver()}return e.prototype.dispose=function(){var e,t;if(null===this._canvasElement)throw new Error("Object is disposed");null===(e=this._canvasElementResizeObserver)||void 0===e||e.disconnect(),this._canvasElementResizeObserver=null,null===(t=this._devicePixelRatioObservable)||void 0===t||t.dis
1pose(),this._devicePixelRatioObservable=null,this._suggestedBitmapSizeChangedListeners.length=0,this._bitmapSizeChangedListeners.length=0,this._canvasElement=null},Object.defineProperty(e.prototype,"canvasElement",{get:function(){if(null===this._canvasElement)throw new Error("Object is disposed");return this._canvasElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canvasElementClientSize",{get:function(){return this._canvasElementClientSize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bitmapSize",{get:function(){return n({width:this.canvasElement.width,height:this.canvasElement.height})},enumerable:!1,configurable:!0}),e.prototype.resizeCanvasElement=function(e){this._canvasElementClientSize=n(e),this.canvasElement.style.width="".concat(this._canvasElementClientSize.width,"px"),this.canvasElement.style.height="".concat(this._canvasElementClientSize.height,"px"),this._invalidateBitmapSize()},e.prototype.subscribeBitmapSizeChanged=function(e){this._bitmapSizeChangedListeners.push(e)},e.prototype.unsubscribeBitmapSizeChanged=function(e){this._bitmapSizeChangedListeners=this._bitmapSizeChangedListeners.filter(function(t){return t!==e})},Object.defineProperty(e.prototype,"suggestedBitmapSize",{get:function(){return this._suggestedBitmapSize},enumerable:!1,configurable:!0}),e.prototype.subscribeSuggestedBitmapSizeChanged=function(e){this._suggestedBitmapSizeChangedListeners.push(e)},e.prototype.unsubscribeSuggestedBitmapSizeChanged=function(e){this._suggestedBitmapSizeChangedListeners=this._suggestedBitmapSizeChangedListeners.filter(function(t){return t!==e})},e.prototype.applySuggestedBitmapSize=function(){if(null!==this._suggestedBitmapSize){var e=this._suggestedBitmapSize;this._suggestedBitmapSize=null,this._resizeBitmap(e),this._emitSuggestedBitmapSizeChanged(e,this._suggestedBitmapSize)}},e.prototype._resizeBitmap=function(e){var t=this.bitmapSize;i(t,e)||(this.canvasElement.width=e.width,this.canvasElement.height=e.height,this._emitBitmapSizeChanged(t,e))},e.prototype._emitBitmapSizeChanged=function(e,t){var r=this;this._bitmapSizeChangedListeners.forEach(function(n){return n.call(r,e,t)})},e.prototype._suggestNewBitmapSize=function(e){var t=this._suggestedBitmapSize,r=n(this._transformBitmapSize(e,this._canvasElementClientSize)),a=i(this.bitmapSize,r)?null:r;null===t&&null===a||null!==t&&null!==a&&i(t,a)||(this._suggestedBitmapSize=a,this._emitSuggestedBitmapSizeChanged(t,a))},e.prototype._emitSuggestedBitmapSizeChanged=function(e,t){var r=this;this._suggestedBitmapSizeChangedListeners.forEach(function(n){return n.call(r,e,t)})},e.prototype._chooseAndInitObserver=function(){var e=this;this._allowResizeObserver?new Promise(function(e){var t=new ResizeObserver(function(r){e(r.every(function(e){return"devicePixelContentBoxSize"in e})),t.disconnect()});t.observe(document.body,{box:"device-pixel-content-box"})}).catch(function(){return!1}).then(function(t){return t?e._initResizeObserver():e._initDevicePixelRatioObservable()}):this._initDevicePixelRatioObservable()},e.prototype._initDevicePixelRatioObservable=function(){var e=this;if(null!==this._canvasElement){var t=c(this._canvasElement);if(null===t)throw new Error("No window is associated with the canvas");this._devicePixelRatioObservable=function(e){return new a(e)}(t),this._devicePixelRatioObservable.subscribe(function(){return e._invalidateBitmapSize()}),this._invalidateBitmapSize()}},e.prototype._invalidateBitmapSize=function(){var e,t;if(null!==this._canvasElement){var r=c(this._canvasElement);if(null!==r){var i=null!==(t=null===(e=this._devicePixelRatioObservable)||void 0===e?void 0:e.value)&&void 0!==t?t:r.devicePixelRatio,a=this._canvasElement.getClientRects(),o=void 0!==a[0]?function(e,t){return n({width:Math.round(e.left*t+e.width*t)-Math.round(e.left*t),height:Math.round(e.top*t+e.height*t)-Math.round(e.top*t)})}(a[0],i):n({width:this._canvasElementClientSize.width*i,height:this._canvasElementClientSize.height*i});this._suggestNewBitmapSize(o)}}},e.prototype._initResizeObserver=function(){var e=this;null!==this._canvasElement&&(this._canvasElementResizeObserver=new ResizeObserver(function(t){var r=t.find(function(t){return t.target===e._canvasElement});if(r&&r.devicePixelContentBoxSize&&r.devicePixelContentBoxSize[0]){var i=r.devicePixelContentBoxSize[0],a=n({width:i.inlineSize,height:i.blockSize});e._suggestNewBitmapSize(a)}}),this._canvasElementResizeObserver.observe(this._canvasElement,{box:"device-pixel-content-box"}))},e}();function s(e,t){if("device-pixel-content-box"===t.type)return new o(e,t.transform,t.options);throw new Error("Unsupported binding target")}function c(e){return e.ownerDocument.defaultView}var u=function(){function e(e,t,r){if(0===t.width||0===t.height)throw new TypeError("Rendering target could only be created on a media with positive width and height");if(this._mediaSize=t,0===r.width||0===r.height)throw new TypeError("Rendering target could only be created using a bitmap with positive integer width and height");this._bitmapSize=r,this._context=e}return e.prototype.useMediaCoordinateSpace=function(e){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),this._context.scale(this._horizontalPixelRatio,this._verticalPixelRatio),e({context:this._context,mediaSize:this._mediaSize})}
1finally{this._context.restore()}},e.prototype.useBitmapCoordinateSpace=function(e){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),e({context:this._context,mediaSize:this._mediaSize,bitmapSize:this._bitmapSize,horizontalPixelRatio:this._horizontalPixelRatio,verticalPixelRatio:this._verticalPixelRatio})}finally{this._context.restore()}},Object.defineProperty(e.prototype,"_horizontalPixelRatio",{get:function(){return this._bitmapSize.width/this._mediaSize.width},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_verticalPixelRatio",{get:function(){return this._bitmapSize.height/this._mediaSize.height},enumerable:!1,configurable:!0}),e}();function l(e,t){var r=e.canvasElementClientSize;if(0===r.width||0===r.height)return null;var n=e.bitmapSize;if(0===n.width||0===n.height)return null;var i=e.canvasElement.getContext("2d",t);return null===i?null:new u(i,r,n)}r.d(t,"c",function(){return n}),r.d(t,"b",function(){return i}),r.d(t,"a",function(){return s}),r.d(t,"d",function(){return l})},,,,,,function(e,t,r){"use strict";function n(e,t,r,n,i,a,o){try{var s=e[a](o),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,c,"next",e)}function c(e){n(o,i,a,s,c,"throw",e)}s(void 0)})}}r.d(t,"a",function(){return i})},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.render=m;var a=r(0),o=d(a),s=d(r(26)),c=d(r(586)),u=r(378),l=r(588);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n="link"===e?"href":"content";return Object.keys(t).forEach(function(i){var a=t[i];"string"!==typeof a?Object.keys(a).forEach(function(t){(Array.isArray(a[t])?a[t]:[a[t]]).forEach(function(a){var o;null!==a&&r.push((f(o={tagName:e},i,t),f(o,n,a),o))})}):r.push(f({tagName:e},i,a))}),r}function _(e){return[].concat(p("meta",e.meta),p("link",e.link))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=0,r=[];function n(e){var r=e.tagName,n=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["tagName"]);return"meta"===r?o.default.createElement("meta",i({},n,{key:t++,"data-rdm":!0})):"link"===r?o.default.createElement("link",i({},n,{key:t++,"data-rdm":!0})):null}return e.title&&r.push(o.default.createElement("title",{key:t++},e.title)),_(e).reduce(function(e,t){return e.push(n(t)),e},r)}var g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),n(t,[{key:"render",value:function(){var e=this.props.children,t=o.default.Children.count(e);return 1===t?o.default.Children.only(e):t?o.default.createElement("div",null,this.props.children):null}}]),t}();g.propTypes={title:s.default.oneOfType([s.default.string,s.default.func]),description:s.default.oneOfType([s.default.string,s.default.func]),canonical:s.default.oneOfType([s.default.string,s.default.func]),base:s.default.string,meta:s.default.objectOf(s.default.oneOfType([s.default.string,s.default.objectOf(s.default.oneOfType([s.default.string,s.default.arrayOf(s.default.string)]))])),link:s.default.objectOf(s.default.objectOf(s.default.oneOfType([s.default.string,s.default.arrayOf(s.default.string)]))),auto:s.default.objectOf(s.default.bool)};var h=(0,c.default)(function(e){for(var t={},r={title:void 0,description:void 0,canonical:void 0},n=!0,i=function(){n=e[a].hasOwnProperty("extend");var i=e[a],o=(0,u.clone)(e[a]);["title","description","canonical"].forEach(function(e){i.hasOwnProperty(e)&&("function"===typeof i[e]?r[e]=i[e](r[e]):void 0===r[e]&&(r[e]=i[e]))}),(0,u.defaults)(t,o)},a=e.length-1;n&&a>=0;a--)i();return"string"===typeof r.title&&(t.title=r.title),"string"===typeof r.description&&(0,u.defaults)(t,{meta:{name:{description:r.description}}}),"string"===typeof r.canonical&&(0,u.defaults)(t,{link:{rel:{canonical:r.canonical}}}),t.auto&&t.auto.ograph&&function(e){e.meta||(e.meta={}),e.meta.property||(e.meta.property={});var t=e.meta.property;t&&(e.title&&!t["og:title"]&&(t["og:title"]=e.title),e.hasOwnProperty("description")&&!t["og:description"]&&(t["og:description"]=e.description),e.hasOwnProperty("canonical")&&!t["og:url"]&&(t["og:url"]=e.canonical))}(t),t},function(e){l.canUseDOM&&("string"===typeof e.title&&(document.title=e.title),(0,l.insertDocumentMeta)(_(e)))})(g);h.renderAsReact=function(){return m(h.rewind())},t.default=h},,,function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return n})},,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){var n=r(781),i=r(782),a=r(384);function o(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=f(e,t);return e}(e,t,r,n):"string"===typeof t?function(e,t,r){"string"===typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r),i=(e=s(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(c.isBuffer(t)){var r=0|p(t.length);return 0===(e=s(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(n=t.length)!==n?s(e,0):f(e,t);if("Buffer"===t.type&&a(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|p(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function _(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&
vendor: 9,414 bytes, line 1
1(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(n)return z(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:h(e,t,r,n,i);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):h(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function h(e,t,r,n,i){var a,o=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*o}else-1!==l&&(a-=a-l),l=-1}else for(r+c>s&&(r=s-c),a=r;a>=0;a--){for(var d=!0,f=0;f<c;f++)if(u(e,a+f)!==u(t,f)){d=!1;break}if(d)return a}return-1}function v(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function y(e,t,r,n){return U(z(t,e.length-r),e,r,n)}function b(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function x(e,t,r,n){return b(e,t,r,n)}function S(e,t,r,n){return U(q(t),e,r,n)}function k(e,t,r,n){return U(function(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,c,u=e[i],l=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(l=u);break;case 2:128===(192&(a=e[i+1]))&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:a=e[i+1],o=e[i+2],128===(192&a)&&128===(192&o)&&(c=(15&u)<<12|(63&a)<<6|63&o)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(c=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=d}return function(e){var t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=T));return r}(n)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return u(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"===typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!c.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},c.byteLength=_,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?E(this,0,e):function(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return w(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),u=this.slice(n,i),l=e.slice(t,r),d=0;d<s;++d)if(u[d]!==l[d]){a=u[d],o=l[d];break}return a<o?-1:o<a?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return y(this,e,t,r);case"ascii":return b(this,e,t,r);case"latin1":case"binary":return x(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function w(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function D(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function A(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=B(e[a]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function P(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,r,n,i,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function F(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function M(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>
vendor: 4,893 bytes, line 1
1>8*(n?i:3-i)&255}function I(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(e,t,r,n,a){return a||I(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,a){return a||I(e,0,r,8),i.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;r=new c(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||P(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||O(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||O(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);O(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);O(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,2147483647,-2147483648),
vendor: 9,454 bytes, line 1
1c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return L(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return L(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},c.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=c.isBuffer(e)?e:z(new c(e,n).toString()),s=o.length;for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function q(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(j,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function U(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(127))},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o=r(821).Buffer}catch(C){}function s(e,t,r){for(var n=0,i=Math.min(e.length,r),a=t;a<i;a++){var o=e.charCodeAt(a)-48;n<<=4,n|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function c(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(e){return e instanceof a||null!==e&&"object"===typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,a=0;for(r=e.length-6,n=0;r>=t;r-=6)i=s(e,r,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303,(a+=24)>=26&&(a-=26,n++);r+6!==t&&(i=s(e,t,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,u=0,l=r;l<s;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var d=1;for(u=c(e,l,e.length,t),l=0;l<o;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,f=Math.min(u,t.length-1),p=Math.max(0,u-e.length+1);p<=f;p++){var _=u-p|0;l+=(o=(i=0|e.words[_])*(a=0|t.words[p])+d)/67108864|0,d=67108863&o}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}a.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],c=(16777215&(s<<i|a)).toString(16);r=0!==(a=s>>>24-i&16777215)||o!==this.length-1?u[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=l[e],p=d[e];r="";var _=this.clone();for(_.negative=0;!_.isZero();){var m=_.modn(p).toString(e);r=(_=_.idivn(p)).isZero()?m+r:u[f-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n("undefined"!==typeof o),this.toArrayLike(o,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===t,u=new e(a),l=this.clone();if(c){for(s=0;!l.isZero();
vendor: 27,244 bytes, line 1
1s++)o=l.andln(255),l.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o<n.length;o++)a=(t=(0|r.words[o])-(0|n.words[o])+a)>>26,this.words[o]=67108863&t;for(;0!==a&&o<r.length;o++)a=(t=(0|r.words[o])+a)>>26,this.words[o]=67108863&t;if(0===a&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,a,o=e.words,s=t.words,c=r.words,u=0,l=0|o[0],d=8191&l,f=l>>>13,p=0|o[1],_=8191&p,m=p>>>13,g=0|o[2],h=8191&g,v=g>>>13,y=0|o[3],b=8191&y,x=y>>>13,S=0|o[4],k=8191&S,C=S>>>13,E=0|o[5],T=8191&E,w=E>>>13,D=0|o[6],A=8191&D,N=D>>>13,P=0|o[7],O=8191&P,F=P>>>13,M=0|o[8],I=8191&M,L=M>>>13,R=0|o[9],j=8191&R,B=R>>>13,z=0|s[0],q=8191&z,U=z>>>13,V=0|s[1],J=8191&V,H=V>>>13,W=0|s[2],K=8191&W,G=W>>>13,X=0|s[3],Y=8191&X,$=X>>>13,Q=0|s[4],Z=8191&Q,ee=Q>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],de=8191&le,fe=le>>>13,pe=0|s[9],_e=8191&pe,me=pe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,q))|0)+((8191&(i=(i=Math.imul(d,U))+Math.imul(f,q)|0))<<13)|0;u=((a=Math.imul(f,U))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(_,q),i=(i=Math.imul(_,U))+Math.imul(m,q)|0,a=Math.imul(m,U);var he=(u+(n=n+Math.imul(d,J)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(f,J)|0))<<13)|0;u=((a=a+Math.imul(f,H)|0)+(i>>>13)|0)+(he>>>26)|0,he&=67108863,n=Math.imul(h,q),i=(i=Math.imul(h,U))+Math.imul(v,q)|0,a=Math.imul(v,U),n=n+Math.imul(_,J)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(m,J)|0,a=a+Math.imul(m,H)|0;var ve=(u+(n=n+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(f,K)|0))<<13)|0;u=((a=a+Math.imul(f,G)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(b,q),i=(i=Math.imul(b,U))+Math.imul(x,q)|0,a=Math.imul(x,U),n=n+Math.imul(h,J)|0,i=(i=i+Math.imul(h,H)|0)+Math.imul(v,J)|0,a=a+Math.imul(v,H)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(m,K)|0,a=a+Math.imul(m,G)|0;var ye=(u+(n=n+Math.imul(d,Y)|0)|0)+((8191&(i=(i=i+Math.imul(d,$)|0)+Math.imul(f,Y)|0))<<13)|0;u=((a=a+Math.imul(f,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(k,q),i=(i=Math.imul(k,U))+Math.imul(C,q)|0,a=Math.imul(C,U),n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,H)|0,n=n+Math.imul(h,K)|0,i=(i=i+Math.imul(h,G)|0)+Math.imul(v,K)|0,a=a+Math.imul(v,G)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,$)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,$)|0;var be=(u+(n=n+Math.imul(d,Z)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(f,Z)|0))<<13)|0;u=((a=a+Math.imul(f,ee)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(T,q),i=(i=Math.imul(T,U))+Math.imul(w,q)|0,a=Math.imul(w,U),n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(C,J)|0,a=a+Math.imul(C,H)|0,n=n+Math.imul(b,K)|0,i=(i=i+Math.imul(b,G)|0)+Math.imul(x,K)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(h,Y)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(v,Y)|0,a=a+Math.imul(v,$)|0,n=n+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(m,Z)|0,a=a+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(f,re)|0))<<13)|0;u=((a=a+Math.imul(f,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(A,q),i=(i=Math.imul(A,U))+Math.imul(N,q)|0,a=Math.imul(N,U),n=n+Math.imul(T,J)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(w,J)|0,a=a+Math.imul(w,H)|0,n=n+Math.imul(k,K)|0,i=(i=i+Math.imul(k,G)|0)+Math.imul(C,K)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,$)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,$)|0,n=n+Math.imul(h,Z)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0;var Se=(u+(n=n+Math.imul(d,ae)|0)|0)+((8191&(i=(i=i+Math.imul(d,oe)|0)+Math.imul(f,ae)|0))<<13)|0;u=((a=a+Math.imul(f,oe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(O,q),i=(i=Math.imul(O,U))+Math.imul(F,q)|0,a=Math.imul(F,U),n=n+Math.imul(A,J)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(N,J)|0,a=a+Math.imul(N,H)|0,n=n+Math.imul(T,K)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(w,K)|0,a=a+Math.imul(w,G)|0,n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(C,Y)|0,a=a+Math.imul(C,$)|0,n=n+Math.imul(b,Z)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(x,Z)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(h,re)|0,i=(i=i+Math.imul(h,ne)|0)+Math.imul(v,re)|0,a=a+Math.imul(v,ne)|0,n=n+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0;var ke=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(f,ce)|0))<<13)|0;u=((a=a+Math.imul(f,ue)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(I,q),i=(i=Math.imul(I,U))+Math.imul(L,q)|0,a=Math.imul(L,U),n=n+Math.imul(O,J)|0,i=(i=i+Math.imul(O,H)|0)+Math.imul(F,J)|0,a=a+Math.imul(F,H)|0,n=n+Math.imul(A,K)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(N,K)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,$)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,$)|0,n=n+Math.imul(k,Z)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(C,Z)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(h,ae)|0,i=(i=i+Math.imul(h,oe)|0)+Math.imul(v,ae)|0,a=a+Math.imul(v,oe)|0,n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(m,ce)|0,a=a+Math.imul(m,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,fe)|0)+Math.imul(f,de)|0))<<13)|0;u=((a=a+Math.imul(f,fe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(j,q),i=(i=Math.imul(j,U))+Math.imul(B,q)|0,a=Math.imul(B,U),n=n+Math.imul(I,J)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(L,J)|0,a=a+Math.imul(L,H)|0,n=n+Math.imul(O,K)|0,i=(i=i+Math.imul(O,G)|0)+Math.imul(F,K)|0,a=a+Math.imul(F,G)|0,n=n+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,$)|0)+Math.imul(N,Y)|0,a=a+Math.imul(N,$)|0,n=n+Math.imul(T,Z)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(w,Z)|0,a=a+Math.imul(w,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=(i=i+Math.imul(b,oe)|0)+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,ue)|0)+Math.imul(v,ce)|0,a=a+Math.imul(v,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,fe)|0)+Math.imul(m,de)|0,a=a+Math.imul(m,fe)|0;var Ee=(u+(n=n+Math.imul(d,_e)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(f,_e)|0))<<13)|0;u=((a=a+Math.imul(f,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(j,J),i=(i=Math.imul(j,H))+Math.imul(B,J)|0,a=Math.imul(B,H),n=n+Math.imul(I,K)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(L,K)|0,a=a+Math.imul(L,G)|0,n=n+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,$)|0)+Math.imul(F,Y)|0,a=a+Math.imul(F,$)|0,n=n+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(N,Z)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(w,re)|0,a=a+Math.imul(w,ne)|0,n=n+Math.imul(k,ae)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,ce)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(x,ce)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(h,de)|0,i=(i=i+Math.imul(h,fe)|0)+Math.imul(v,de)|0,a=a+Math.imul(v,fe)|0;var Te=(u+(n=n+Math.imul(_,_e)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(m,_e)|0))<<13)|0;u=((a=a+Math.imul(m,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(j,K),i=(i=Math.imul(j,G))+Math.imul(B,K)|0,a=Math.imul(B,G),n=n+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(L,Y)|0,a=a+Math.imul(L,$)|0,n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(F,Z)|0,a=a+Math.imul(F,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(T,ae)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(w,ae)|0,a=a+Math.imul(w,oe)|0,n=n+Math.imul(k,ce)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(C,ce)|0,a=a+Math.imul(C,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,fe)|0)+Math.imul(x,de)|0,a=a+Math.imul(x,fe)|0;var we=(u+(n=n+Math.imul(h,_e)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(v,_e)|0))<<13)|0;u=((a=a+Math.imul(v,me)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,Y),i=(i=Math.imul(j,$))+Math.imul(B,Y)|0,a=Math.imul(B,$),n=n+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(L,Z)|0,a=a+Math.imul(L,ee)|0,n=n+Math.imul(O,re)|0,i=(i=i+Math.imul(O,ne)|0)+Math.imul(F,re)|0,a=a+Math.imul(F,ne)|0,n=n+Math.imul(A,ae)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(w,ce)|0,a=a+Math.imul(w,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,fe)|0)+Math.imul(C,de)|0,a=a+Math.imul(C,fe)|0;var De=(u+(n=n+Math.imul(b,_e)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(x,_e)|0))<<13)|0;u=((a=a+Math.imul(x,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(j,Z),i=(i=Math.imul(j,ee))+Math.imul(B,Z)|0,a=Math.imul(B,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(L,re)|0,a=a+Math.imul(L,ne)|0,n=n+Math.imul(O,ae)|0,i=(i=i+Math.imul(O,oe)|0)+Math.imul(F,ae)|0,a=a+Math.imul(F,oe)|0,n=n+Math.imul(A,ce)|0,i=(i=i+Math.imul(A,ue)|0)+Math.imul(N,ce)|0,a=a+Math.imul(N,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,fe)|0)+Math.imul(w,de)|0,a=a+Math.imul(w,fe)|0;var Ae=(u+(n=n+Math.imul(k,_e)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(C,_e)|0))<<13)|0;u=((a=a+Math.imul(C,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(j,re),i=(i=Math.imul(j,ne))+Math.imul(B,re)|0,a=Math.imul(B,ne),n=n+Math.imul(I,ae)|0,i=(i=i+Math.imul(I,oe)|0)+Math.imul(L,ae)|0,a=a+Math.imul(L,oe)|0,n=n+Math.imul(O,ce)|0,i=(i=i+Math.imul(O,ue)|0)+Math.imul(F,ce)|0,a=a+Math.imul(F,ue)|0,n=n+Math.imul(A,de)|0,i=(i=i+Math.imul(A,fe)|0)+Math.imul(N,de)|0,a=a+Math.imul(N,fe)|0;var Ne=(u+(n=n+Math.imul(T,_e)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(w,_e)|0))<<13)|0;u=((a=a+Math.imul(w,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(j,ae),i=(i=Math.imul(j,oe))+Math.imul(B,ae)|0,a=Math.imul(B,oe),n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(L,ce)|0,a=a+Math.imul(L,ue)|0,n=n+Math.imul(O,de)|0,i=(i=i+Math.imul(O,fe)|0)+Math.imul(F,de)|0,a=a+Math.imul(F,fe)|0;var Pe=(u+(n=n+Math.imul(A,_e)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(N,_e)|0))<<13)|0;u=((a=a+Math.imul(N,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(j,ce),i=(i=Math.imul(j,ue))+Math.imul(B,ce)|0,a=Math.imul(B,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,fe)|0)+Math.imul(L,de)|0,a=a+Math.imul(L,fe)|0;var Oe=(u+(n=n+Math.imul(O,_e)|0)|0)+((8191&(i=(i=i+Math.imul(O,me)|0)+Math.imul(F,_e)|0))<<13)|0;u=((a=a+Math.imul(F,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(j,de),i=(i=Math.imul(j,fe))+Math.imul(B,de)|0,a=Math.imul(B,fe);var Fe=(u+(n=n+Math.imul(I,_e)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(L,_e)|0))<<13)|0;u=((a=a+Math.imul(L,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863;var Me=(u+(n=Math.imul(j,_e))|0)+((8191&(i=(i=Math.imul(j,me))+Math.imul(B,_e)|0))<<13)|0;return u=((a=Math.imul(B,me))+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,c[0]=ge,c[1]=he,c[2]=ve,c[3]=ye,c[4]=be,c[5]=xe,c[6]=Se,c[7]=ke,c[8]=Ce,c[9]=Ee,c[10]=Te,c[11]=we,c[12]=De,c[13]=Ae,c[14]=Ne,c[15]=Pe,c[16]=Oe,c[17]=Fe,c[18]=Me,0!==u&&(c[19]=u,r.length++),r};function _(e,t,r){return(new m).mulp(e,t,r)}function m(e,t){this.x=e,this.y=t}Math.imul||(p=f),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):r<63?f(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,c=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=c;u++){var l=a-u,d=(0|e.words[l])*(0|t.words[u]),f=67108863&d;s=67108863&(f=f+s|0),i+=(o=(o=o+(d/67108864|0)|0)+(f>>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}(this,e,t):_(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},m.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},m.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},m.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var d=c,f=u,p=0;p<o;p++){var _=r[l+p],m=n[l+p],g=r[l+p+o],h=n[l+p+o],v=d*g-f*h;h=d*h+f*g,g=v,r[l+p]=_+g,n[l+p]=m+h,r[l+p+o]=_-g,n[l+p+o]=m-h,p!==s&&(v=c*d-u*f,f=c*f+u*d,d=v)}},m.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},m.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},m.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},m.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0===(-8192&a))},m.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},m.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),f=r.words;f.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,c,n,i),this.transform(u,a,l,d,n,i);for(var p=0;p<n;p++){var _=s[p]*l[p]-c[p]*d[p];c[p]=s[p]*d[p]+c[p]*l[p],s[p]=_}return this.conjugate(s,c,n),this.transform(s,c,f,a,n,i),this.conjugate(f,a,n),this.normalize13b(f,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),_(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"===typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"===typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,c=(0|this.words[t])-s<<r;this.words[t]=c|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){var i;n("number"===typeof e&&e>=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,c=r;if(i-=o,i=Math.max(0,i),c){for(var u=0;u<o;u++)c.words[u]=this.words[u];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-a|d>>>a,l=d&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},a.prototype.imaskn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"===typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a,o=e.length+r;this._expand(o);var s=0;for(i=0;i<e.length;i++){a=(0|this.words[i+r])+s;var c=(0|e.words[i])*t;s=((a-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&a}for(;i<this.length-r;i++)s=(a=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&a;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(a=-(0|this.words[i])+s)>>26,this.words[i]=67108863&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var d=c-1;d>=0;d--){var f=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(i,f,d);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=f)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),d=t.clone();!t.isZero();){for(var f=0,p=1;0===(t.words[0]&p)&&f<26;++f,p<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(d)),i.iushrn(1),o.iushrn(1);for(var _=0,m=1;0===(r.words[0]&m)&&_<26;++_,m<<=1);if(_>0)for(r.iushrn(_);_-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(c)):(r.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new a(1),s=new a(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var d=0,f=1;0===(r.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return(i=0===t.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;
vendor: 9,608 bytes, line 1
1if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new S(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function h(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}h.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},i(v,h),v.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var a=0|e.words[n];e.words[n-10]=(4194303&a)<<4|i>>>22,i=a}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,h),i(b,h),i(x,h),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new y;else if("p192"===e)t=new b;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return g[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,i),f=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),_=o;0!==p.cmp(s);){for(var m=p,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<_);var h=this.pow(d,new a(1).iushln(_-g-1));f=f.redMul(h),d=h.redSqr(),p=p.redMul(d),_=g}return f},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,s=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==o?(o<<=1,o|=d,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new k(e)},i(k,S),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(820)(e))},,,,,,,,,,,,,,,,,,,,,,,function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},,,,,,,function(e,t,r){"use strict";
1e.exports=function(e,t,r,n,i,a,o,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,i,a,o,s],l=0;(c=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,r){"use strict";r.r(t);var n=!0,i="Invariant failed";t.default=function(e,t){if(!e)throw n?new Error(i):new Error(i+": "+(t||""))}},,,,,,function(e,t,r){"use strict";var n=r(365),i=r(534),a=Object.prototype.toString;function o(e){return"[object Array]"===a.call(e)}function s(e){return null!==e&&"object"===typeof e}function c(e){return"[object Function]"===a.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===a.call(e)},isBuffer:i,isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:function(e){return"undefined"===typeof e},isDate:function(e){return"[object Date]"===a.call(e)},isFile:function(e){return"[object File]"===a.call(e)},isBlob:function(e){return"[object Blob]"===a.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!==typeof window&&"undefined"!==typeof document},forEach:u,merge:function e(){var t={};function r(r,n){"object"===typeof t[n]&&"object"===typeof r?t[n]=e(t[n],r):t[n]=r}for(var n=0,i=arguments.length;n<i;n++)u(arguments[n],r);return t},deepMerge:function e(){var t={};function r(r,n){"object"===typeof t[n]&&"object"===typeof r?t[n]=e(t[n],r):t[n]="object"===typeof r?e({},r):r}for(var n=0,i=arguments.length;n<i;n++)u(arguments[n],r);return t},extend:function(e,t,r){return u(t,function(t,i){e[i]=r&&"function"===typeof t?n(t,r):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";r.r(t);var n=r(17);function i(e){return"/"===e.charAt(0)}function a(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}var o=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],o=t&&t.split("/")||[],s=e&&i(e),c=t&&i(t),u=s||c;if(e&&i(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";if(o.length){var l=o[o.length-1];r="."===l||".."===l||""===l}else r=!1;for(var d=0,f=o.length;f>=0;f--){var p=o[f];"."===p?a(o,f):".."===p?(a(o,f),d++):d&&(a(o,f),d--)}if(!u)for(;d--;d)o.unshift("..");!u||""===o[0]||o[0]&&i(o[0])||o.unshift("");var _=o.join("/");return r&&"/"!==_.substr(-1)&&(_+="/"),_};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every(function(t,n){return e(t,r[n])});if("object"===typeof t||"object"===typeof r){var n=s(t),i=s(r);return n!==t||i!==r?e(n,i):Object.keys(Object.assign({},t,r)).every(function(n){return e(t[n],r[n])})}return!1},u=r(135);function l(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function _(e){var t=e||"/",r="",n="",i=t.indexOf("#");-1!==i&&(n=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");return-1!==a&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}function m(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&"?"!==r&&(i+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(i+="#"===n.charAt(0)?n:"#"+n),i}
vendor: 8,415 bytes, line 1
1function g(e,t,r,i){var a;"string"===typeof e?(a=_(e)).state=t:(void 0===(a=Object(n.a)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return r&&(a.key=r),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=o(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function h(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,i){if(null!=e){var a="function"===typeof e?e(t,r):e;"string"===typeof a?"function"===typeof n?n(a,i):i(!0):i(!1!==a)}else i(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach(function(e){return e.apply(void 0,r)})}}}r.d(t,"createBrowserHistory",function(){return C}),r.d(t,"createHashHistory",function(){return N}),r.d(t,"createMemoryHistory",function(){return O}),r.d(t,"createLocation",function(){return g}),r.d(t,"locationsAreEqual",function(){return h}),r.d(t,"parsePath",function(){return _}),r.d(t,"createPath",function(){return m});var y=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}var x="popstate",S="hashchange";function k(){try{return window.history.state||{}}catch(e){return{}}}function C(e){void 0===e&&(e={}),y||Object(u.default)(!1);var t=window.history,r=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,o=a.forceRefresh,s=void 0!==o&&o,c=a.getUserConfirmation,d=void 0===c?b:c,_=a.keyLength,h=void 0===_?6:_,C=e.basename?p(l(e.basename)):"";function E(e){var t=e||{},r=t.key,n=t.state,i=window.location,a=i.pathname+i.search+i.hash;return C&&(a=f(a,C)),g(a,n,r)}function T(){return Math.random().toString(36).substr(2,h)}var w=v();function D(e){Object(n.a)(z,e),z.length=t.length,w.notifyListeners(z.location,z.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||O(E(e.state))}function N(){O(E(k()))}var P=!1;function O(e){if(P)P=!1,D();else{w.confirmTransitionTo(e,"POP",d,function(t){t?D({action:"POP",location:e}):function(e){var t=z.location,r=M.indexOf(t.key);-1===r&&(r=0);var n=M.indexOf(e.key);-1===n&&(n=0);var i=r-n;i&&(P=!0,L(i))}(e)})}}var F=E(k()),M=[F.key];function I(e){return C+m(e)}function L(e){t.go(e)}var R=0;function j(e){1===(R+=e)&&1===e?(window.addEventListener(x,A),i&&window.addEventListener(S,N)):0===R&&(window.removeEventListener(x,A),i&&window.removeEventListener(S,N))}var B=!1;var z={length:t.length,action:"POP",location:F,createHref:I,push:function(e,n){var i=g(e,n,T(),z.location);w.confirmTransitionTo(i,"PUSH",d,function(e){if(e){var n=I(i),a=i.key,o=i.state;if(r)if(t.pushState({key:a,state:o},null,n),s)window.location.href=n;else{var c=M.indexOf(z.location.key),u=M.slice(0,c+1);u.push(i.key),M=u,D({action:"PUSH",location:i})}else window.location.href=n}})},replace:function(e,n){var i=g(e,n,T(),z.location);w.confirmTransitionTo(i,"REPLACE",d,function(e){if(e){var n=I(i),a=i.key,o=i.state;if(r)if(t.replaceState({key:a,state:o},null,n),s)window.location.replace(n);else{var c=M.indexOf(z.location.key);-1!==c&&(M[c]=i.key),D({action:"REPLACE",location:i})}else window.location.replace(n)}})},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=w.setPrompt(e);return B||(j(1),B=!0),function(){return B&&(B=!1,j(-1)),t()}},listen:function(e){var t=w.appendListener(e);return j(1),function(){j(-1),t()}}};return z}var E="hashchange",T={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:l},slash:{encodePath:l,decodePath:l}};function w(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function D(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function A(e){window.location.replace(w(window.location.href)+"#"+e)}function N(e){void 0===e&&(e={}),y||Object(u.default)(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),i=r.getUserConfirmation,a=void 0===i?b:i,o=r.hashType,s=void 0===o?"slash":o,c=e.basename?p(l(e.basename)):"",d=T[s],_=d.encodePath,h=d.decodePath;function x(){var e=h(D());return c&&(e=f(e,c)),g(e)}var S=v();function k(e){Object(n.a)(z,e),z.length=t.length,S.notifyListeners(z.location,z.action)}var C=!1,N=null;function P(){var e,t,r=D(),n=_(r);if(r!==n)A(n);else{var i=x(),o=z.location;if(!C&&(t=i,(e=o).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===m(i))return;N=null,function(e){if(C)C=!1,k();else{S.confirmTransitionTo(e,"POP",a,function(t){t?k({action:"POP",location:e}):function(e){var t=z.location,r=I.lastIndexOf(m(t));-1===r&&(r=0);var n=I.lastIndexOf(m(e));-1===n&&(n=0);var i=r-n;i&&(C=!0,L(i))}(e)})}}(i)}}var O=D(),F=_(O);O!==F&&A(F);var M=x(),I=[m(M)];function L(e){t.go(e)}var R=0;function j(e){1===(R+=e)&&1===e?window.addEventListener(E,P):0===R&&window.removeEventListener(E,P)}var B=!1;var z={length:t.length,action:"POP",location:M,createHref:function(e){var t=document.querySelector("base"),r="";return t&&t.getAttribute("href")&&(r=w(window.location.href)),r+"#"+_(c+m(e))},push:function(e,t){var r=g(e,void 0,void 0,z.location);S.confirmTransitionTo(r,"PUSH",a,function(e){if(e){var t=m(r),n=_(c+t);if(D()!==n){N=t,function(e){window.location.hash=e}(n);var i=I.lastIndexOf(m(z.location)),a=I.slice(0,i+1);a.push(t),I=a,k({action:"PUSH",location:r})}else k()}})},replace:function(e,t){var r=g(e,void 0,void 0,z.location);S.confirmTransitionTo(r,"REPLACE",a,function(e){if(e){var t=m(r),n=_(c+t);D()!==n&&(N=t,A(n));var i=I.indexOf(m(z.location));-1!==i&&(I[i]=t),k({action:"REPLACE",location:r})}})},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return B||(j(1),B=!0),function(){return B&&(B=!1,j(-1)),t()}},listen:function(e){var t=S.appendListener(e);return j(1),function(){j(-1),t()}}};return z}function P(e,t,r){return Math.min(Math.max(e,t),r)}function O(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,i=t.initialEntries,a=void 0===i?["/"]:i,o=t.initialIndex,s=void 0===o?0:o,c=t.keyLength,u=void 0===c?6:c,l=v();function d(e){Object(n.a)(b,e),b.length=b.entries.length,l.notifyListeners(b.location,b.action)}function f(){return Math.random().toString(36).substr(2,u)}var p=P(s,0,a.length-1),_=a.map(function(e){return g(e,void 0,"string"===typeof e?f():e.key||f())}),h=m;function y(e){var t=P(b.index+e,0,b.entries.length-1),n=b.entries[t];l.confirmTransitionTo(n,"POP",r,function(e){e?d({action:"POP",location:n,index:t}):d()})}var b={length:_.length,action:"POP",location:_[p],index:p,entries:_,createHref:h,push:function(e,t){var n=g(e,t,f(),b.location);l.confirmTransitionTo(n,"PUSH",r,function(e){if(e){var t=b.index+1,r=b.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),d({action:"PUSH",location:n,index:t,entries:r})}})},replace:function(e,t){var n=g(e,t,f(),b.location);l.confirmTransitionTo(n,"REPLACE",r,function(e){e&&(b.entries[b.index]=n,d({action:"REPLACE",location:n}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return b}},,,,,,,,function(e,t){var r,n,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);
1if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"===typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&p())}function p(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function _(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new _(e,t)),1!==u.length||l||s(p)},_.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t,r){"use strict";var n=t,i=r(104),a=r(152),o=r(406);n.assert=a,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();i.cmpn(1)>=0;){var a;if(i.isOdd()){var o=i.andln(n-1);a=o>(n>>1)-1?(n>>1)-o:o,i.isubn(a)}else a=0;r.push(a);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,c=1;c<s;c++)r.push(0);i.iushrn(s)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;e.cmpn(-n)>0||t.cmpn(-i)>0;){var a,o,s,c=e.andln(3)+n&3,u=t.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(s=e.andln(7)+n&7)&&5!==s||2!==u?c:-c,r[0].push(a),o=0===(1&u)?0:3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?u:-u,r[1].push(o),2*n===a+1&&(n=1-n),2*i===o+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"===typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((n=r(569))&&n.__esModule?n:{default:n}).default;t.default=i},,function(e,t,r){var n,i;void 0===(i="function"===typeof(n=function(){var e,t,r={},n={},i={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},a={currentLocale:i.currentLocale,zeroFormat:i.zeroFormat,nullFormat:i.nullFormat,defaultFormat:i.defaultFormat,scalePercentBy100:i.scalePercentBy100};function o(e,t){this._input=e,this._value=t}return(e=function(n){var i,s,c,u;if(e.isNumeral(n))i=n.value();else if(0===n||"undefined"===typeof n)i=0;else if(null===n||t.isNaN(n))i=null;else if("string"===typeof n)if(a.zeroFormat&&n===a.zeroFormat)i=0;else if(a.nullFormat&&n===a.nullFormat||!n.replace(/[^0-9]+/g,"").length)i=null;else{for(s in r)if((u="function"===typeof r[s].regexps.unformat?r[s].regexps.unformat():r[s].regexps.unformat)&&n.match(u)){c=r[s].unformat;break}i=(c=c||e._.stringToNumber)(n)}else i=Number(n)||null;return new o(n,i)}
vendor: 9,895 bytes, line 1
1).version="2.0.6",e.isNumeral=function(e){return e instanceof o},e._=t={numberToFormat:function(t,r,i){var a,o,s,c,u,l,d,f,p=n[e.options.currentLocale],_=!1,m=!1,g="",h="",v=!1;if(t=t||0,s=Math.abs(t),e._.includes(r,"(")?(_=!0,r=r.replace(/[\(|\)]/g,"")):(e._.includes(r,"+")||e._.includes(r,"-"))&&(l=e._.includes(r,"+")?r.indexOf("+"):t<0?r.indexOf("-"):-1,r=r.replace(/[\+|\-]/g,"")),e._.includes(r,"a")&&(o=!!(o=r.match(/a(k|m|b|t)?/))&&o[1],e._.includes(r," a")&&(g=" "),r=r.replace(new RegExp(g+"a[kmbt]?"),""),s>=1e12&&!o||"t"===o?(g+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(g+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(g+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(g+=p.abbreviations.thousand,t/=1e3)),e._.includes(r,"[.]")&&(m=!0,r=r.replace("[.]",".")),c=t.toString().split(".")[0],u=r.split(".")[1],d=r.indexOf(","),a=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),h=e._.toFixed(t,u[0].length+u[1].length,i,u[1].length)):h=e._.toFixed(t,u.length,i),c=h.split(".")[0],h=e._.includes(h,".")?p.delimiters.decimal+h.split(".")[1]:"",m&&0===Number(h.slice(1))&&(h="")):c=e._.toFixed(t,0,i),g&&!o&&Number(c)>=1e3&&g!==p.abbreviations.trillion)switch(c=String(Number(c)/1e3),g){case p.abbreviations.thousand:g=p.abbreviations.million;break;case p.abbreviations.million:g=p.abbreviations.billion;break;case p.abbreviations.billion:g=p.abbreviations.trillion}if(e._.includes(c,"-")&&(c=c.slice(1),v=!0),c.length<a)for(var y=a-c.length;y>0;y--)c="0"+c;return d>-1&&(c=c.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===r.indexOf(".")&&(c=""),f=c+h+(g||""),_?f=(_&&v?"(":"")+f+(_&&v?")":""):l>=0?f=0===l?(v?"-":"+")+f:f+(v?"-":"+"):v&&(f="-"+f),f},stringToNumber:function(e){var t,r,i,o=n[a.currentLocale],s=e,c={thousand:3,million:6,billion:9,trillion:12};if(a.zeroFormat&&e===a.zeroFormat)r=0;else if(a.nullFormat&&e===a.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(t in r=1,"."!==o.delimiters.decimal&&(e=e.replace(/\./g,"").replace(o.delimiters.decimal,".")),c)if(i=new RegExp("[^a-zA-Z]"+o.abbreviations[t]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),s.match(i)){r*=Math.pow(10,c[t]);break}r*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),r*=Number(e)}return r},isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return"number"===typeof e&&isNaN(e)}),includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,r){return e.slice(0,r)+t+e.slice(r)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof t)throw new TypeError(t+" is not a function");var r,n=Object(e),i=n.length>>>0,a=0;if(3===arguments.length)r=arguments[2];else{for(;a<i&&!(a in n);)a++;if(a>=i)throw new TypeError("Reduce of empty array with no initial value");r=n[a++]}for(;a<i;a++)a in n&&(r=t(r,n[a],a,n));return r},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(e,r){var n=t.multiplier(r);return e>n?e:n},1)},toFixed:function(e,t,r,n){var i,a,o,s,c=e.toString().split("."),u=t-(n||0);return i=2===c.length?Math.min(Math.max(c[1].length,u),t):u,o=Math.pow(10,i),s=(r(e+"e+"+i)/o).toFixed(i),n>t-i&&(a=new RegExp("\\.?0{1,"+(n-(t-i))+"}$"),s=s.replace(a,"")),s}},e.options=a,e.formats=r,e.locales=n,e.locale=function(e){return e&&(a.currentLocale=e.toLowerCase()),a.currentLocale},e.localeData=function(e){if(!e)return n[a.currentLocale];if(e=e.toLowerCase(),!n[e])throw new Error("Unknown locale : "+e);return n[e]},e.reset=function(){for(var e in i)a[e]=i[e]},e.zeroFormat=function(e){a.zeroFormat="string"===typeof e?e:null},e.nullFormat=function(e){a.nullFormat="string"===typeof e?e:null},e.defaultFormat=function(e){a.defaultFormat="string"===typeof e?e:"0.0"},e.register=function(e,t,r){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=r,r},e.validate=function(t,r){var n,i,a,o,s,c,u,l;if("string"!==typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{u=e.localeData(r)}catch(d){u=e.localeData(e.locale())}return a=u.currency.symbol,s=u.abbreviations,n=u.delimiters.decimal,i="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,(null===(l=t.match(/^[^\d]+/))||(t=t.substr(1),l[0]===a))&&(null===(l=t.match(/[^\d]+$/))||(t=t.slice(0,-1),l[0]===s.thousand||l[0]===s.million||l[0]===s.billion||l[0]===s.trillion))&&(c=new RegExp(i+"{2}"),!t.match(/[^\d.,]/g)&&!((o=t.split(n)).length>2)&&(o.length<2?!!o[0].match(/^\d+.*\d$/)&&!o[0].match(c):1===o[0].length?!!o[0].match(/^\d+$/)&&!o[0].match(c)&&!!o[1].match(/^\d+$/):!!o[0].match(/^\d+.*\d$/)&&!o[0].match(c)&&!!o[1].match(/^\d+$/)))},e.fn=o.prototype={clone:function(){return e(this)},format:function(t,n){var i,o,s,c=this._value,u=t||a.defaultFormat;if(n=n||Math.round,0===c&&null!==a.zeroFormat)o=a.zeroFormat;else if(null===c&&null!==a.nullFormat)o=a.nullFormat;else{for(i in r)if(u.match(r[i].regexps.format)){s=r[i].format;break}o=(s=s||e._.numberToFormat)(c,u,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var r=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],function(e,t,n,i){return e+Math.round(r*t)},0)/r,this},subtract:function(e){var r=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],function(e,t,n,i){return e-Math.round(r*t)},Math.round(this._value*r))/r,this},multiply:function(e){return this._value=t.reduce([this._value,e],function(e,r,n,i){var a=t.correctionFactor(e,r);return Math.round(e*a)*Math.round(r*a)/Math.round(a*a)},1),this},divide:function(e){return this._value=t.reduce([this._value,e],function(e,r,n,i){var a=t.correctionFactor(e,r);return Math.round(e*a)/Math.round(r*a)}),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,r,n){var i,a=e._.includes(r," BPS")?" ":"";return t*=1e4,r=r.replace(/\s?BPS/,""),i=e._.numberToFormat(t,r,n),e._.includes(i,")")?((i=i.split("")).splice(-1,0,a+"BPS"),i=i.join("")):i=i+a+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),function(){var t={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},n=t.suffixes.concat(r.suffixes.filter(function(e){return t.suffixes.indexOf(e)<0})).join("|");n="("+n.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(n)},format:function(n,i,a){var o,s,c,u=e._.includes(i,"ib")?r:t,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),o=0;o<=u.suffixes.length;o++)if(s=Math.pow(u.base,o),c=Math.pow(u.base,o+1),null===n||0===n||n>=s&&n<c){l+=u.suffixes[o],s>0&&(n/=s);break}return e._.numberToFormat(n,i,a)+l},unformat:function(n){var i,a,o=e._.stringToNumber(n);if(o){for(i=t.suffixes.length-1;i>=0;i--){if(e._.includes(n,t.suffixes[i])){a=Math.pow(t.base,i);break}if(e._.includes(n,r.suffixes[i])){a=Math.pow(r.base,i);break}}o*=a||1}return o}})}(),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,r,n){var i,a,o=e.locales[e.options.currentLocale],s={before:r.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:r.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(r=r.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,r,n),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),a=0;a<s.before.length;a++)switch(s.before[a]){case"$":i=e._.insert(i,o.currency.symbol,a);break;case" ":i=e._.insert(i," ",a+o.currency.symbol.length-1)}for(a=s.after.length-1;a>=0;a--)switch(s.after[a]){case"$":i=a===s.after.length-1?i+o.currency.symbol:e._.insert(i,o.currency.symbol,-(s.after.length-(1+a)));break;case" ":i=a===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+a)+o.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,r,n){var i=("number"!==typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return r=r.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),r,n)+"e"+i[1]},unformat:function(t){var r=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),n=Number(r[0]),i=Number(r[1]);return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([n,Math.pow(10,i)],function(t,r,n,i){var a=e._.correctionFactor(t,r);return t*a*(r*a)/(a*a)},1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,r,n){var i=e.locales[e.options.currentLocale],a=e._.includes(r," o")?" ":"";return r=r.replace(/\s?o/,""),a+=i.ordinal(t),e._.numberToFormat(t,r,n)+a}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,r,n){var i,a=e._.includes(r," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),r=r.replace(/\s?\%/,""),i=e._.numberToFormat(t,r,n),e._.includes(i,")")?((i=i.split("")).splice(-1,0,a+"%"),i=i.join("")):i=i+a+"%",i},unformat:function(t){var r=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*r:r}}
1),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,r){var n=Math.floor(e/60/60),i=Math.floor((e-60*n*60)/60),a=Math.round(e-60*n*60-60*i);return n+":"+(i<10?"0"+i:i)+":"+(a<10?"0"+a:a)},unformat:function(e){var t=e.split(":"),r=0;return 3===t.length?(r+=60*Number(t[0])*60,r+=60*Number(t[1]),r+=Number(t[2])):2===t.length&&(r+=60*Number(t[0]),r+=Number(t[1])),Number(r)}}),e})?n.call(t,r,t,e):n)||(e.exports=i)},,,,,function(e,t,r){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=r(525)},function(e,t,r){"use strict";var n=r(83);function i(e,t){if(null==e)return{};var r,i,a=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var a=r(17);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){s(e,t,r[t])})}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function f(e){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){return(p="function"===typeof Symbol&&"symbol"===f(Symbol.iterator)?function(e){return f(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":f(e)})(e)}var _=r(14);function m(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?Object(_.a)(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}var y=r(0),b=r.n(y);function x(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var S=function(e,t){var r;void 0===t&&(t=x);var n,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&r===this&&t(o,i)?n:(n=e.apply(this,o),a=!0,r=this,i=o,n)}},k=r(262),C=r.n(k);var E=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(n);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,a?0:i.cssRules.length)}catch(o){0}}else n.appendChild(document.createTextNode(e));this.ctr++}
vendor: 10,004 bytes, line 1
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();var T=function(e){function t(e,t,n){var i=t.trim().split(_);t=i;var a=i.length,o=e.length;switch(o){case 0:case 1:var s=0;for(e=0===o?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var u=0;u<o;++u)t[c++]=r(e[u]+" ",i[s],n).trim()}return t}function r(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function n(e,t,r,a){var o=e+";",s=2*t+3*r+4*a;if(944===s){e=o.indexOf(":",9)+1;var c=o.substring(e,o.length-1).trim();return c=o.substring(0,e).trim()+c+";",1===A||2===A&&i(c,1)?"-webkit-"+c+c:c}if(0===A||2===A&&!i(o,1))return o;switch(s){case 1015:return 97===o.charCodeAt(10)?"-webkit-"+o+o:o;case 951:return 116===o.charCodeAt(3)?"-webkit-"+o+o:o;case 963:return 110===o.charCodeAt(5)?"-webkit-"+o+o:o;case 1009:if(100!==o.charCodeAt(4))break;case 969:case 942:return"-webkit-"+o+o;case 978:return"-webkit-"+o+"-moz-"+o+o;case 1019:case 983:return"-webkit-"+o+"-moz-"+o+"-ms-"+o+o;case 883:if(45===o.charCodeAt(8))return"-webkit-"+o+o;if(0<o.indexOf("image-set(",11))return o.replace(E,"$1-webkit-$2")+o;break;case 932:if(45===o.charCodeAt(4))switch(o.charCodeAt(5)){case 103:return"-webkit-box-"+o.replace("-grow","")+"-webkit-"+o+"-ms-"+o.replace("grow","positive")+o;case 115:return"-webkit-"+o+"-ms-"+o.replace("shrink","negative")+o;case 98:return"-webkit-"+o+"-ms-"+o.replace("basis","preferred-size")+o}return"-webkit-"+o+"-ms-"+o+o;case 964:return"-webkit-"+o+"-ms-flex-"+o+o;case 1023:if(99!==o.charCodeAt(8))break;return"-webkit-box-pack"+(c=o.substring(o.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+o+"-ms-flex-pack"+c+o;case 1005:return f.test(o)?o.replace(d,":-webkit-")+o.replace(d,":-moz-")+o:o;case 1e3:switch(t=(c=o.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=o.replace(y,"tb");break;case 232:c=o.replace(y,"tb-rl");break;case 220:c=o.replace(y,"lr");break;default:return o}return"-webkit-"+o+"-ms-"+c+o;case 1017:if(-1===o.indexOf("sticky",9))break;case 975:switch(t=(o=e).length-10,s=(c=(33===o.charCodeAt(t)?o.substring(0,t):o).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:o=o.replace(c,"-webkit-"+c)+";"+o;break;case 207:case 102:o=o.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+o.replace(c,"-webkit-"+c)+";"+o.replace(c,"-ms-"+c+"box")+";"+o}return o+";";case 938:if(45===o.charCodeAt(5))switch(o.charCodeAt(6)){case 105:return c=o.replace("-items",""),"-webkit-"+o+"-webkit-box-"+c+"-ms-flex-"+c+o;case 115:return"-webkit-"+o+"-ms-flex-item-"+o.replace(S,"")+o;default:return"-webkit-"+o+"-ms-flex-line-pack"+o.replace("align-content","").replace(S,"")+o}break;case 973:case 989:if(45!==o.charCodeAt(3)||122===o.charCodeAt(4))break;case 931:case 953:if(!0===C.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?n(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):o.replace(c,"-webkit-"+c)+o.replace(c,"-moz-"+c.replace("fill-",""))+o;break;case 962:if(o="-webkit-"+o+(102===o.charCodeAt(5)?"-ms-"+o:"")+o,211===r+a&&105===o.charCodeAt(13)&&0<o.indexOf("transform",10))return o.substring(0,o.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+o}return o}function i(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),F(2!==t?n:n.replace(k,"$1"),r,t)}function a(e,t){var r=n(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function o(e,t,r,n,i,a,o,s,u,l){for(var d,f=0,p=t;f<O;++f)switch(d=P[f].call(c,e,p,r,n,i,a,o,s,u,l)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(F=null,e?"function"!==typeof e?A=1:(A=2,F=e):A=0),s}function c(e,r){var s=e;if(33>s.charCodeAt(0)&&(s=s.trim()),s=[s],0<O){var c=o(-1,r,s,s,w,T,0,0,0,0);void 0!==c&&"string"===typeof c&&(r=c)}var d=function e(r,s,c,d,f){for(var p,_,m,y,x,S=0,k=0,C=0,E=0,P=0,F=0,I=m=p=0,L=0,R=0,j=0,B=0,z=c.length,q=z-1,U="",V="",J="",H="";L<z;){if(_=c.charCodeAt(L),L===q&&0!==k+E+C+S&&(0!==k&&(_=47===k?10:47),E=C=S=0,z++,q++),0===k+E+C+S){if(L===q&&(0<R&&(U=U.replace(l,"")),0<U.trim().length)){switch(_){case 32:case 9:case 59:case 13:case 10:break;default:U+=c.charAt(L)}_=59}switch(_){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,B=++L;L<z;){switch(_=c.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(_=c.charCodeAt(L+1)){case 42:case 47:e:{for(I=L+1;I<q;++I)switch(c.charCodeAt(I)){case 47:if(42===_&&42===c.charCodeAt(I-1)&&L+2!==I){L=I+1;break e}break;case 10:if(47===_){L=I+1;break e}}L=I}}break;case 91:_++;case 40:_++;case 34:case 39:for(;L++<q&&c.charCodeAt(L)!==_;);}if(0===m)break;L++}switch(m=c.substring(B,L),0===p&&(p=(U=U.replace(u,"").trim()).charCodeAt(0)),p){case 64:switch(0<R&&(U=U.replace(l,"")),_=U.charCodeAt(1)){case 100:case 109:case 115:case 45:R=s;break;default:R=N}if(B=(m=e(s,R,m,_,f+1)).length,0<O&&(x=o(3,m,R=t(N,U,j),s,w,T,B,_,f,d),U=R.join(""),void 0!==x&&0===(B=(m=x.trim()).length)&&(_=0,m="")),0<B)switch(_){case 115:U=U.replace(b,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(g,"$1 $2"))+"{"+m+"}",m=1===A||2===A&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===d&&(V+=m,m="")}else m="";break;default:m=e(s,t(s,U,j),m,d,f+1)}J+=m,m=j=R=I=p=0,U="",_=c.charCodeAt(++L);break;case 125:case 59:if(1<(B=(U=(0<R?U.replace(l,""):U).trim()).length))switch(0===I&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(B=(U=U.replace(" ",":")).length),0<O&&void 0!==(x=o(1,U,s,r,w,T,V.length,d,f,d))&&0===(B=(U=x.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),_=U.charCodeAt(1),p){case 0:break;case 64:if(105===_||99===_){H+=U+c.charAt(L);break}default:58!==U.charCodeAt(B-1)&&(V+=n(U,p,_,U.charCodeAt(2)))}j=R=I=p=0,U="",_=c.charCodeAt(++L)}}switch(_){case 13:case 10:47===k?k=0:0===1+p&&107!==d&&0<U.length&&(R=1,U+="\0"),0<O*M&&o(0,U,s,r,w,T,V.length,d,f,d),T=1,w++;break;case 59:case 125:if(0===k+E+C+S){T++;break}default:switch(T++,y=c.charAt(L),_){case 9:case 32:if(0===E+S+k)switch(P){case 44:case 58:case 9:case 32:y="";break;default:32!==_&&(y=" ")}break;case 0:y="\\0";break;case 12:y="\\f";break;case 11:y="\\v";break;case 38:0===E+k+S&&(R=j=1,y="\f"+y);break;case 108:if(0===E+k+S+D&&0<I)switch(L-I){case 2:112===P&&58===c.charCodeAt(L-3)&&(D=P);case 8:111===F&&(D=F)}break;case 58:0===E+k+S&&(I=L);break;case 44:0===k+C+E+S&&(R=1,y+="\r");break;case 34:case 39:0===k&&(E=E===_?0:0===E?_:E);break;case 91:0===E+k+C&&S++;break;case 93:0===E+k+C&&S--;break;case 41:0===E+k+S&&C--;break;case 40:if(0===E+k+S){if(0===p)switch(2*P+3*F){case 533:break;default:p=1}C++}break;case 64:0===k+C+E+S+I+m&&(m=1);break;case 42:case 47:if(!(0<E+S+C))switch(k){case 0:switch(2*_+3*c.charCodeAt(L+1)){case 235:k=47;break;case 220:B=L,k=42}break;case 42:47===_&&42===P&&B+2!==L&&(33===c.charCodeAt(B+2)&&(V+=c.substring(B,L+1)),y="",k=0)}}0===k&&(U+=y)}F=P,P=_,L++}if(0<(B=V.length)){if(R=s,0<O&&void 0!==(x=o(2,V,R,r,w,T,B,d,f,d))&&0===(V=x).length)return H+V+J;if(V=R.join(",")+"{"+V+"}",0!==A*D){switch(2!==A||i(V,2)||(D=0),D){case 111:V=V.replace(v,":-moz-$1")+V;break;case 112:V=V.replace(h,"::-webkit-input-$1")+V.replace(h,"::-moz-$1")+V.replace(h,":-ms-input-$1")+V}D=0}}return H+V+J}(N,s,r,0,0);return 0<O&&void 0!==(c=o(-2,d,s,s,w,T,d.length,0,0,0))&&(d=c),D=0,T=w=1,d}var u=/^\0+/g,l=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,p=/([,: ])(transform)/g,_=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,h=/::(place)/g,v=/:(read-only)/g,y=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,T=1,w=1,D=0,A=1,N=[],P=[],O=0,F=null,M=0;return c.use=function e(t){switch(t){case void 0:case null:O=P.length=0;break;default:if("function"===typeof t)P[O++]=t;else if("object"===typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else M=0|!!t}return e},c.set=s,void 0!==e&&s(e),c};function w(e){e&&D.current.insert(e+"}")}var D={current:null},A=function(e,t,r,n,i,a,o,s,c,u){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return D.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+"/*|*/";break;case 3:switch(s){case 102:case 112:return D.current.insert(r[0]+t),"";default:return t+(0===u?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(w)}},N=function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var n=new T(t);var i,a={};i=e.container||document.head;var o,s=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(s,function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach(function(e){a[e]=!0}),e.parentNode!==i&&i.appendChild(e)}),n.use(e.stylisPlugins)(A),o=function(e,t,r,i){var a=t.name;D.current=r,n(e,t.styles),i&&(c.inserted[a]=!0)};var c={key:r,sheet:new E({key:r,container:i,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:o};return c};function P(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "}),n}var O=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+n,i,e.sheet,!0);i=i.next}while(void 0!==i)}};var F=function(e){for(var t,r=e.length,n=r^r,i=0;r>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++i;
1switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),((n^=n>>>15)>>>0).toString(36)},M={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var I=/[A-Z]|^ms/g,L=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R=function(e){return 45===e.charCodeAt(1)},j=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}(function(e){return R(e)?e:e.replace(I,"-$&").toLowerCase()}),B=function(e,t){if(null==t||"boolean"===typeof t)return"";switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(L,function(e,t,r){return q={name:t,styles:r,next:q},t})}return 1===M[e]||R(e)||"number"!==typeof t||0===t?t:t+"px"};function z(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return q={name:r.name,styles:r.styles,next:q},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)q={name:i.name,styles:i.styles,next:q},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=z(e,t,r[i],!1);else for(var a in r){var o=r[a];if("object"!==typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":n+=j(a)+":"+B(a,o)+";";else if(!Array.isArray(o)||"string"!==typeof o[0]||null!=t&&void 0!==t[o[0]]){var s=z(e,t,o,!1);switch(a){case"animation":case"animationName":n+=j(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var c=0;c<o.length;c++)n+=j(a)+":"+B(a,o[c])+";"}return n}(e,t,r);case"function":if(void 0!==e){var a=q,o=r(e);return q=a,z(e,t,o,n)}break;case"string":}if(null==t)return r;var s=t[r];return void 0===s||n?r:s}var q,U=/label:\s*([^\s;\n{]+)\s*;/g;var V=function(e,t,r){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";q=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,i+=z(r,t,a,!1)):i+=a[0];for(var o=1;o<e.length;o++)i+=z(r,t,e[o],46===i.charCodeAt(i.length-1)),n&&(i+=a[o]);U.lastIndex=0;for(var s,c="";null!==(s=U.exec(i));)c+="-"+s[1];return{name:F(i)+c,styles:i,next:q}};var J=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return V(t)},H=Object(y.createContext)("undefined"!==typeof HTMLElement?N():null),W=Object(y.createContext)({}),K=(H.Provider,function(e){return Object(y.forwardRef)(function(t,r){return Object(y.createElement)(H.Consumer,null,function(n){return e(t,n,r)})})}),G="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",X=Object.prototype.hasOwnProperty,Y=function(e,t,r,n){var i=null===r?t.css:t.css(r);"string"===typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[G],o=[i],s="";"string"===typeof t.className?s=P(e.registered,o,t.className):null!=t.className&&(s=t.className+" ");var c=V(o);O(e,c,"string"===typeof a);s+=e.key+"-"+c.name;var u={};for(var l in t)X.call(t,l)&&"css"!==l&&l!==G&&(u[l]=t[l]);return u.ref=n,u.className=s,Object(y.createElement)(a,u)},$=K(function(e,t,r){return"function"===typeof e.css?Object(y.createElement)(W.Consumer,null,function(n){return Y(t,e,n,r)}):Y(t,e,null,r)});var Q=function(e,t){var r=arguments;if(null==t||!X.call(t,"css"))return y.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=$;var a={};for(var o in t)X.call(t,o)&&(a[o]=t[o]);a[G]=e,i[1]=a;for(var s=2;s<n;s++)i[s]=r[s];return y.createElement.apply(null,i)};y.Component;var Z=K(function(e,t){return Object(y.createElement)(W.Consumer,null,function(r){var n=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=V(r,t.registered);return O(t,i,!1),t.key+"-"+i.name},i={css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(e,t,r){var n=[],i=P(e,n,r);return n.length<2?r:i+t(n)}(t.registered,n,function e(t){for(var r=t.length,n=0,i="";n<r;n++){var a=t[n];if(null!=a){var o=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))o=e(a);else for(var s in o="",a)a[s]&&s&&(o&&(o+=" "),o+=s);break;default:o=a}o&&(i&&(i+=" "),i+=o)}}return i}(r))},theme:r},a=e.children(i);return!0,a})}),ee=r(161),te=r(26),re=r.n(te),ne=function(){};function ie(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}var ae=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===p(e)&&null!==e?[e]:[]};function oe(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function se(e){return oe(e)?window.pageYOffset:e.scrollTop}function ce(e,t){oe(e)?window.scrollTo(0,t):e.scrollTop=t}function ue(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ne,i=se(e),a=t-i,o=10,s=0;!function t(){var c,u=a*((c=(c=s+=o)/r-1)*c*c+1)+i;ce(e,u),s<r?window.requestAnimationFrame(t):n(e)}()}function le(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var de=r(324),fe=r.n(de);function pe(e){var t=e.maxHeight,r=e.menuEl,n=e.minHeight,i=e.placement,a=e.shouldScroll,o=e.isFixedPosition,s=e.theme.spacing,c=function(e){var t=getComputedStyle(e),r="absolute"===t.position,n=/(auto|scroll)/,i=document.documentElement;if("fixed"===t.position)return i;for(var a=e;a=a.parentElement;)if(t=getComputedStyle(a),(!r||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return a;return i}(r),u={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return u;var l=c.getBoundingClientRect().height,d=r.getBoundingClientRect(),f=d.bottom,p=d.height,_=d.top,m=r.offsetParent.getBoundingClientRect().top,g=window.innerHeight,h=se(c),v=parseInt(getComputedStyle(r).marginBottom,10),y=parseInt(getComputedStyle(r).marginTop,10),b=m-y,x=g-_,S=b+h,k=l-h-_,C=f-g+h+v,E=h+_-y;switch(i){case"auto":case"bottom":if(x>=p)return{placement:"bottom",maxHeight:t};if(k>=p&&!o)return a&&ue(c,C,160),{placement:"bottom",maxHeight:t};if(!o&&k>=n||o&&x>=n)return a&&ue(c,C,160),{placement:"bottom",maxHeight:o?x-v:k-v};if("auto"===i||o){var T=t,w=o?b:S;return w>=n&&(T=Math.min(w-v-s.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return ce(c,C),{placement:"bottom",maxHeight:t};break;case"top":if(b>=p)return{placement:"top",maxHeight:t};if(S>=p&&!o)return a&&ue(c,E,160),{placement:"top",maxHeight:t};if(!o&&S>=n||o&&b>=n){var D=t;return(!o&&S>=n||o&&b>=n)&&(D=o?b-y:S-y),a&&ue(c,E,160),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}var _e=function(e){return"auto"===e?"bottom":e},me=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=m(this,(e=g(t)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(r)),"state",{maxHeight:r.props.maxMenuHeight,placement:null}),s(Object(_.a)(Object(_.a)(r)),"getPlacement",function(e){var t=r.props,n=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,o=t.menuPosition,s=t.menuShouldScrollIntoView,c=t.theme,u=r.context.getPortalPlacement;if(e){var l="fixed"===o,d=pe({maxHeight:i,menuEl:e,minHeight:n,placement:a,shouldScroll:s&&!l,isFixedPosition:l,theme:c});u&&u(d),r.setState(d)}}),s(Object(_.a)(Object(_.a)(r)),"getUpdatedProps",function(){var e=r.props.menuPlacement,t=r.state.placement||_e(e);return c({},r.props,{placement:t,maxHeight:r.state.maxHeight})}),r}return v(t,y["Component"]),d(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}();s(me,"contextTypes",{getPortalPlacement:re.a.func});var ge=function(e){var t=e.theme,r=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px"),textAlign:"center"}},he=ge,ve=ge,ye=function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return Q("div",Object(a.a)({css:i("noOptionsMessage",e),className:n({"menu-notice":!0,"menu-notice--no-options":!0},r)},o),t)};ye.defaultProps={children:"No options"};var be=function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return Q("div",Object(a.a)({css:i("loadingMessage",e),className:n({"menu-notice":!0,"menu-notice--loading":!0},r)},o),t)};be.defaultProps={children:"Loading..."};var xe=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=m(this,(e=g(t)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(r)),"state",{placement:null}),s(Object(_.a)(Object(_.a)(r)),"getPortalPlacement",function(e){var t=e.placement;t!==_e(r.props.menuPlacement)&&r.setState({placement:t})}),r}return v(t,y["Component"]),d(t,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var e=this.props,t=e.appendTo,r=e.children,n=e.controlElement,i=e.menuPlacement,a=e.menuPosition,o=e.getStyles,s="fixed"===a;if(!t&&!s||!n)return null;var c=this.state.placement||_e(i),u=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(n),l=s?0:window.pageYOffset,d=u[c]+l,f=Q("div",{css:o("menuPortal",{offset:d,position:a,rect:u})},r);return t?Object(ee.createPortal)(f,t):f}}]),t}();s(xe,"childContextTypes",{getPortalPlacement:re.a.func});var Se=Array.isArray,ke=Object.keys,Ce=Object.prototype.hasOwnProperty;function Ee(e,t){try{return function e(t,r){if(t===r)return!0;
1if(t&&r&&"object"==p(t)&&"object"==p(r)){var n,i,a,o=Se(t),s=Se(r);if(o&&s){if((i=t.length)!=r.length)return!1;for(n=i;0!==n--;)if(!e(t[n],r[n]))return!1;return!0}if(o!=s)return!1;var c=t instanceof Date,u=r instanceof Date;if(c!=u)return!1;if(c&&u)return t.getTime()==r.getTime();var l=t instanceof RegExp,d=r instanceof RegExp;if(l!=d)return!1;if(l&&d)return t.toString()==r.toString();var f=ke(t);if((i=f.length)!==ke(r).length)return!1;for(n=i;0!==n--;)if(!Ce.call(r,f[n]))return!1;for(n=i;0!==n--;)if(("_owner"!==(a=f[n])||!t.$$typeof)&&!e(t[a],r[a]))return!1;return!0}return t!==t&&r!==r}(e,t)}catch(r){if(r.message&&r.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}}var Te=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}return v(t,y["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.cx,i=e.isMulti,a=e.getStyles,o=e.hasValue;return Q("div",{css:a("valueContainer",this.props),className:n({"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o},r)},t)}}]),t}();function we(){var e,t,r=(e=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return we=function(){return r},r}var De={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Ae=function(e){var t=e.size,r=i(e,["size"]);return Q("svg",Object(a.a)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:De},r))},Ne=function(e){return Q(Ae,Object(a.a)({size:20},e),Q("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Pe=function(e){return Q(Ae,Object(a.a)({size:20},e),Q("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Oe=function(e){var t=e.isFocused,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*n,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},Fe=Oe,Me=Oe,Ie=function(){var e=J.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(we()),Le=function(e){var t=e.delay,r=e.offset;return Q("span",{css:J({animation:"".concat(Ie," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},Re=function(e){var t=e.className,r=e.cx,n=e.getStyles,i=e.innerProps,o=e.isRtl;return Q("div",Object(a.a)({},i,{css:n("loadingIndicator",e),className:r({indicator:!0,"loading-indicator":!0},t)}),Q(Le,{delay:0,offset:o}),Q(Le,{delay:160,offset:!0}),Q(Le,{delay:320,offset:!o}))};Re.defaultProps={size:4};var je=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Be=function(e){var t=e.children,r=e.innerProps;return Q("div",r,t)},ze=Be,qe=Be,Ue=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}return v(t,y["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.innerProps;return Q("div",r,t||Q(Ne,{size:14}))}}]),t}(),Ve=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}return v(t,y["Component"]),d(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.className,i=t.components,a=t.cx,o=t.data,s=t.getStyles,u=t.innerProps,l=t.isDisabled,d=t.removeProps,f=t.selectProps,p=i.Container,_=i.Label,m=i.Remove;return Q(Z,null,function(t){var i=t.css,g=t.cx;return Q(p,{data:o,innerProps:c({},u,{className:g(i(s("multiValue",e.props)),a({"multi-value":!0,"multi-value--is-disabled":l},n))}),selectProps:f},Q(_,{data:o,innerProps:{className:g(i(s("multiValueLabel",e.props)),a({"multi-value__label":!0},n))},selectProps:f},r),Q(m,{data:o,innerProps:c({className:g(i(s("multiValueRemove",e.props)),a({"multi-value__remove":!0},n))},d),selectProps:f}))})}}]),t}();s(Ve,"defaultProps",{cropWithEllipsis:!0});var Je={ClearIndicator:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return Q("div",Object(a.a)({},o,{css:i("clearIndicator",e),className:n({indicator:!0,"clear-indicator":!0},r)}),t||Q(Ne,null))},Control:function(e){var t=e.children,r=e.cx,n=e.getStyles,i=e.className,o=e.isDisabled,s=e.isFocused,c=e.innerRef,u=e.innerProps,l=e.menuIsOpen;return Q("div",Object(a.a)({ref:c,css:n("control",e),className:r({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":l},i)},u),t)},DropdownIndicator:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return Q("div",Object(a.a)({},o,{css:i("dropdownIndicator",e),className:n({indicator:!0,"dropdown-indicator":!0},r)}),t||Q(Pe,null))},DownChevron:Pe,CrossIcon:Ne,Group:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.Heading,s=e.headingProps,c=e.label,u=e.theme,l=e.selectProps;return Q("div",{css:i("group",e),className:n({group:!0}
1,r)},Q(o,Object(a.a)({},s,{selectProps:l,theme:u,getStyles:i,cx:n}),c),Q("div",null,t))},GroupHeading:function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.theme,s=(e.selectProps,i(e,["className","cx","getStyles","theme","selectProps"]));return Q("div",Object(a.a)({css:n("groupHeading",c({theme:o},s)),className:r({"group-heading":!0},t)},s))},IndicatorsContainer:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles;return Q("div",{css:i("indicatorsContainer",e),className:n({indicators:!0},r)},t)},IndicatorSeparator:function(e){var t=e.className,r=e.cx,n=e.getStyles,i=e.innerProps;return Q("span",Object(a.a)({},i,{css:n("indicatorSeparator",e),className:r({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,r=e.cx,n=e.getStyles,o=e.innerRef,s=e.isHidden,u=e.isDisabled,l=e.theme,d=(e.selectProps,i(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return Q("div",{css:n("input",c({theme:l},d))},Q(fe.a,Object(a.a)({className:r({input:!0},t),inputRef:o,inputStyle:je(s),disabled:u},d)))},LoadingIndicator:Re,Menu:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerRef,s=e.innerProps;return Q("div",Object(a.a)({css:i("menu",e),className:n({menu:!0},r)},s,{ref:o}),t)},MenuList:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,a=e.isMulti,o=e.innerRef;return Q("div",{css:i("menuList",e),className:n({"menu-list":!0,"menu-list--is-multi":a},r),ref:o},t)},MenuPortal:xe,LoadingMessage:be,NoOptionsMessage:ye,MultiValue:Ve,MultiValueContainer:ze,MultiValueLabel:qe,MultiValueRemove:Ue,Option:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.isDisabled,s=e.isFocused,c=e.isSelected,u=e.innerRef,l=e.innerProps;return Q("div",Object(a.a)({css:i("option",e),className:n({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":c},r),ref:u},l),t)},Placeholder:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps;return Q("div",Object(a.a)({css:i("placeholder",e),className:n({placeholder:!0},r)},o),t)},SelectContainer:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.innerProps,s=e.isDisabled,c=e.isRtl;return Q("div",Object(a.a)({css:i("container",e),className:n({"--is-disabled":s,"--is-rtl":c},r)},o),t)},SingleValue:function(e){var t=e.children,r=e.className,n=e.cx,i=e.getStyles,o=e.isDisabled,s=e.innerProps;return Q("div",Object(a.a)({css:i("singleValue",e),className:n({"single-value":!0,"single-value--is-disabled":o},r)},s),t)},ValueContainer:Te},He=function(e){return c({},Je,e.components)},We=
vendor: 7,353 bytes, line 1
1[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}]
1,Ke=function(e){for(var t=0;t<We.length;t++)e=e.replace(We[t].letters,We[t].base);return e},Ge=function(e){return e.replace(/^\s+|\s+$/g,"")},Xe=function(e){return"".concat(e.label," ").concat(e.value)},Ye={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},$e=function(e){return Q("span",Object(a.a)({css:Ye},e))},Qe=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}return v(t,y["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=(e.in,e.out,e.onExited,e.appear,e.enter,e.exit,e.innerRef),r=(e.emotion,i(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Q("input",Object(a.a)({ref:t},r,{css:J({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}}]),t}(),Ze=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}
1return v(t,y["Component"]),d(t,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(ee.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(),et=["boxSizing","height","overflow","paddingRight","position"],tt={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function rt(e){e.preventDefault()}function nt(e){e.stopPropagation()}function it(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;0===e?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function at(){return"ontouchstart"in window||navigator.maxTouchPoints}var ot=!(!window.document||!window.document.createElement),st=0,ct=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=m(this,(e=g(t)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(r)),"originalStyles",{}),s(Object(_.a)(Object(_.a)(r)),"listenerOptions",{capture:!1,passive:!1}),r}
1return v(t,y["Component"]),d(t,[{key:"componentDidMount",value:function(){var e=this;if(ot){var t=this.props,r=t.accountForScrollbars,n=t.touchScrollTarget,i=document.body,a=i&&i.style;if(r&&et.forEach(function(t){var r=a&&a[t];e.originalStyles[t]=r}),r&&st<1){var o=parseInt(this.originalStyles.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,c=window.innerWidth-s+o||0;Object.keys(tt).forEach(function(e){var t=tt[e];a&&(a[e]=t)}),a&&(a.paddingRight="".concat(c,"px"))}i&&at()&&(i.addEventListener("touchmove",rt,this.listenerOptions),n&&(n.addEventListener("touchstart",it,this.listenerOptions),n.addEventListener("touchmove",nt,this.listenerOptions))),st+=1}}},{key:"componentWillUnmount",value:function(){var e=this;if(ot){var t=this.props,r=t.accountForScrollbars,n=t.touchScrollTarget,i=document.body,a=i&&i.style;st=Math.max(st-1,0),r&&st<1&&et.forEach(function(t){var r=e.originalStyles[t];a&&(a[t]=r)}),i&&at()&&(i.removeEventListener("touchmove",rt,this.listenerOptions),n&&(n.removeEventListener("touchstart",it,this.listenerOptions),n.removeEventListener("touchmove",nt,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}();s(ct,"defaultProps",{accountForScrollbars:!0});var ut={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},lt=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=m(this,(e=g(t)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(r)),"state",{touchScrollTarget:null}),s(Object(_.a)(Object(_.a)(r)),"getScrollTarget",function(e){e!==r.state.touchScrollTarget&&r.setState({touchScrollTarget:e})}),s(Object(_.a)(Object(_.a)(r)),"blurSelectInput",function(){document.activeElement&&document.activeElement.blur()}),r}return v(t,y["PureComponent"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.isEnabled,n=this.state.touchScrollTarget;return r?Q("div",null,Q("div",{onClick:this.blurSelectInput,css:ut}),Q(Ze,{innerRef:this.getScrollTarget},t),n?Q(ct,{touchScrollTarget:n}):null):t}}]),t}(),dt=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=m(this,(e=g(t)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(r)),"isBottom",!1),s(Object(_.a)(Object(_.a)(r)),"isTop",!1),s(Object(_.a)(Object(_.a)(r)),"scrollTarget",void 0),s(Object(_.a)(Object(_.a)(r)),"touchStart",void 0),s(Object(_.a)(Object(_.a)(r)),"cancelScroll",function(e){e.preventDefault(),e.stopPropagation()}),s(Object(_.a)(Object(_.a)(r)),"handleEventDelta",function(e,t){var n=r.props,i=n.onBottomArrive,a=n.onBottomLeave,o=n.onTopArrive,s=n.onTopLeave,c=r.scrollTarget,u=c.scrollTop,l=c.scrollHeight,d=c.clientHeight,f=r.scrollTarget,p=t>0,_=l-d-u,m=!1;_>t&&r.isBottom&&(a&&a(e),r.isBottom=!1),p&&r.isTop&&(s&&s(e),r.isTop=!1),p&&t>_?(i&&!r.isBottom&&i(e),f.scrollTop=l,m=!0,r.isBottom=!0):!p&&-t>u&&(o&&!r.isTop&&o(e),f.scrollTop=0,m=!0,r.isTop=!0),m&&r.cancelScroll(e)}),s(Object(_.a)(Object(_.a)(r)),"onWheel",function(e){r.handleEventDelta(e,e.deltaY)}),s(Object(_.a)(Object(_.a)(r)),"onTouchStart",function(e){r.touchStart=e.changedTouches[0].clientY}),s(Object(_.a)(Object(_.a)(r)),"onTouchMove",function(e){var t=r.touchStart-e.changedTouches[0].clientY;r.handleEventDelta(e,t)}),s(Object(_.a)(Object(_.a)(r)),"getScrollTarget",function(e){r.scrollTarget=e}),r}
vendor: 5,909 bytes, line 1
1return v(t,y["Component"]),d(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&("function"===typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(e){"function"===typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"===typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)}},{key:"render",value:function(){return b.a.createElement(Ze,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(),ft=function(e){function t(){return u(this,t),m(this,g(t).apply(this,arguments))}return v(t,y["Component"]),d(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,r=i(e,["isEnabled"]);return t?b.a.createElement(dt,r):this.props.children}}]),t}();s(ft,"defaultProps",{isEnabled:!0});var pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isSearchable,n=t.isMulti,i=t.label,a=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(a?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(i||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},_t=function(e,t){var r=t.value,n=t.isDisabled;if(r)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return"option ".concat(r,n?" is disabled. Select another option.":", selected.")}},mt=function(e){return!!e.isDisabled},gt={clearIndicator:Me,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,r=e.isFocused,n=e.theme,i=n.colors,a=n.borderRadius,o=n.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?i.primary:i.neutral30}}},dropdownIndicator:Fe,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,r=e.theme,n=r.spacing.baseUnit,i=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*n,marginTop:2*n,width:1}},input:function(e){var t=e.isDisabled,r=e.theme,n=r.spacing,i=r.colors;return{margin:n.baseUnit/2,paddingBottom:n.baseUnit/2,paddingTop:n.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80}},loadingIndicator:function(e){var t=e.isFocused,r=e.size,n=e.theme,i=n.colors,a=n.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},loadingMessage:ve,menu:function(e){var t,r=e.placement,n=e.theme,i=n.borderRadius,a=n.spacing,o=n.colors;return s(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),s(t,"backgroundColor",o.neutral0),s(t,"borderRadius",i),s(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),s(t,"marginBottom",a.menuGutter),s(t,"marginTop",a.menuGutter),s(t,"position","absolute"),s(t,"width","100%"),s(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,r=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,r=e.offset,n=e.position;return{left:t.left,position:n,top:r,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,r=t.spacing,n=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:n/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,r=t.borderRadius,n=t.colors,i=e.cropWithEllipsis;return{borderRadius:r/2,color:n.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,r=t.spacing,n=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:n/2,backgroundColor:e.isFocused&&i.dangerLight,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:he,option:function(e){var t=e.isDisabled,r=e.isFocused,n=e.isSelected,i=e.theme,a=i.spacing,o=i.colors;return{label:"option",backgroundColor:n?o.primary:r?o.primary25:"transparent",color:t?o.neutral20:n?o.neutral0:"inherit",curs
1or:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(n?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,r=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,r=e.theme,n=r.spacing,i=r.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,maxWidth:"calc(100% - ".concat(2*n.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var ht,vt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},yt={backspaceRemovesValue:!0,blurInputOnSelect:le(),captureMenuScroll:!le(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var r=c({ignoreCase:!0,ignoreAccents:!0,stringify:Xe,trim:!0,matchFrom:"any"},ht),n=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,o=r.trim,s=r.matchFrom,u=o?Ge(t):t,l=o?Ge(a(e)):a(e);return n&&(u=u.toLowerCase(),l=l.toLowerCase()),i&&(u=Ke(u),l=Ke(l)),"start"===s?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:mt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},bt=1,xt=function(e){function t(e){var r;u(this,t),r=m(this,g(t).call(this,e)),s(Object(_.a)(Object(_.a)(r)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),s(Object(_.a)(Object(_.a)(r)),"blockOptionHover",!1),s(Object(_.a)(Object(_.a)(r)),"isComposing",!1),s(Object(_.a)(Object(_.a)(r)),"clearFocusValueOnUpdate",!1),s(Object(_.a)(Object(_.a)(r)),"commonProps",void 0),s(Object(_.a)(Object(_.a)(r)),"components",void 0),s(Object(_.a)(Object(_.a)(r)),"hasGroups",!1),s(Object(_.a)(Object(_.a)(r)),"initialTouchX",0),s(Object(_.a)(Object(_.a)(r)),"initialTouchY",0),s(Object(_.a)(Object(_.a)(r)),"inputIsHiddenAfterUpdate",void 0),s(Object(_.a)(Object(_.a)(r)),"instancePrefix",""),s(Object(_.a)(Object(_.a)(r)),"openAfterFocus",!1),s(Object(_.a)(Object(_.a)(r)),"scrollToFocusedOptionOnUpdate",!1),s(Object(_.a)(Object(_.a)(r)),"userIsDragging",void 0),s(Object(_.a)(Object(_.a)(r)),"controlRef",null),s(Object(_.a)(Object(_.a)(r)),"getControlRef",function(e){r.controlRef=e}),s(Object(_.a)(Object(_.a)(r)),"focusedOptionRef",null),s(Object(_.a)(Object(_.a)(r)),"getFocusedOptionRef",function(e){r.focu
1sedOptionRef=e}),s(Object(_.a)(Object(_.a)(r)),"menuListRef",null),s(Object(_.a)(Object(_.a)(r)),"getMenuListRef",function(e){r.menuListRef=e}),s(Object(_.a)(Object(_.a)(r)),"inputRef",null),s(Object(_.a)(Object(_.a)(r)),"getInputRef",function(e){r.inputRef=e}),s(Object(_.a)(Object(_.a)(r)),"cacheComponents",function(e){r.components=He({components:e})}),s(Object(_.a)(Object(_.a)(r)),"focus",r.focusInput),s(Object(_.a)(Object(_.a)(r)),"blur",r.blurInput),s(Object(_.a)(Object(_.a)(r)),"onChange",function(e,t){var n=r.props;(0,n.onChange)(e,c({},t,{name:n.name}))}),s(Object(_.a)(Object(_.a)(r)),"setValue",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,i=r.props,a=i.closeMenuOnSelect,o=i.isMulti;r.onInputChange("",{action:"set-value"}),a&&(r.inputIsHiddenAfterUpdate=!o,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(e,{action:t,option:n})}),s(Object(_.a)(Object(_.a)(r)),"selectOption",function(e){var t=r.props,n=t.blurInputOnSelect,i=t.
1isMulti,a=r.state.selectValue;if(i)if(r.isOptionSelected(e,a)){var s=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==s}),"deselect-option",e),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(e)}})}else r.isOptionDisabled(e,a)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue([].concat(o(a),[e]),"select-option",e),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));else r.isOptionDisabled(e,a)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e),isDisabled:!0}}):(r.setValue(e,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(e)}}));n&&r.blurInput()}),s(Object(_.a)(Object(_.a)(r)),"removeValue",function(e){var t=r.state.selectValue,n=r.getOptionValue(e),i=t.filter(function(e){return r.getOptionValue(e)!==n});r.onChange(i.length?i:null,{action:"remove-value",removedValue:e}),r.announceAriaLiveSelection({event:"remove-value",context:{value:e?r.getOptionLabel(e):""}}),r.focusInput()}),s(Object(_.a)(Object(_.a)(r)),"clearValue",function(){var e=r.props.isMulti;r.onChange(e?[]:null,{action:"clear"})}),s(Object(_.a)(Object(_.a)(r)),"popValue",function(){var e=r.state.selectValue,t=e[e.length-1],n=e.slice(0,e.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:t?r.getOptionLabel(t):""}}),r.onChange(n.length?n:null,{action:"pop-value",removedValue:t})}),s(Object(_.a)(Object(_.a)(r)),"getOptionLabel",function(e){return r.props.getOptionLabel(e)}),s(Object(_.a)(Object(_.a)(r)),"getOptionValue",function(e){return r.props.getOptionValue(e)}),s(Object(_.a)(Object(_.a)(r)),"getStyles",function(e,t){var n=gt[e](t);n.boxSizing="border-box";var i=r.props.styles[e];return i?i(n,t):n}),s(Object(_.a)(Object(_.a)(r)),"getElementId",function(e){return"".concat(r.instancePrefix,"-").concat(e)}),s(Object(_.a)(Object(_.a)(r)),"getActiveDescendentId",function(){var e=r.props.menuIsOpen,t=r.state,n=t.menuOptions,i=t.focusedOption;if(i&&e){var a=n.focusable.indexOf(i),o=n.render[a];return o&&o.key}}),s(Object(_.a)(Object(_.a)(r)),"announceAriaLiveSelection",function(e){var t=e.event,n=e.context;r.setState({ariaLiveSelection:_t(t,n)})}),s(Object(_.a)(Object(_.a)(r)),"announceAriaLiveContext",function(e){var t=e.event,n=e.context;r.setState({ariaLiveContext:pt(t,c({},n,{label:r.props["aria-label"]}))})}),s(Object(_.a)(Object(_.a)(r)),"onMenuMouseDown",function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())}),s(Object(_.a)(Object(_.a)(r)),"onMenuMouseMove",function(e){r.blockOptionHover=!1}),s(Object(_.a)(Object(_.a)(r)),"onControlMouseDown",function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()}),s(Object(_.a)(Object(_.a)(r)),"onDropdownIndicatorMouseDown",function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.inputIsHiddenAfterUpdate=!n,r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}}),s(Object(_.a)(Object(_.a)(r)),"onClearIndicatorMouseDown",function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))}),s(Object(_.a)(Object(_.a)(r)),"onScroll",function(e){"boolean"===typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&oe(e.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()}),s(Object(_.a)(Object(_.a)(r)),"onCompositionStart",function(){r.isComposing=!0}),s(Object(_.a)(Object(_.a)(r)),"onCompositionEnd",function(){r.isComposing=!1}),s(Object(_.a)(Object(_.a)(r)),"onTouchStart",function(e){var t=e.touches.item(0);t&&(r.initialTouchX=t.clientX,r.initialTouchY=t.clientY,r.userIsDragging=!1)}),s(Object(_.a)(Object(_.a)(r)),"onTouchMove",function(e){var t=e.touches.item(0);if(t){var n=Math.abs(t.clientX-r.initialTouchX),i=Math.abs(t.clientY-r.initialTouchY);r.userIsDragging=n>5||i>5}}),s(Object(_.a)(Object(_.a)(r)),"onTouchEnd",function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)}),s(Object(_.a)(Object(_.a)(r)),"onControlTouchEnd",function(e){r.userIsDragging||r.onControlMouseDown(e)}),s(Object(_.a)(Object(_.a)(r)),"onClearIndicatorTouchEnd",function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)}),s(Object(_.a)(Object(_.a)(r)),"onDropdownIndicatorTouchEnd",function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)}),s(Object(_.a)(Object(_.a)(r)),"handleInputChange",function(e){var t=e.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(t,{action:"input-change"}),r.onMenuOpen()}),s(Object(_.a)(Object(_.a)(r)),"onInputFocus",function(e){var t=r.props,n=t.isSearchable,i=t.isMulti;r.props.onFocus&&r.props.onFocus(e),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:i}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1}),s(Object(_.a)(Object(_.a)(r)),"onInputBlur",function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))}),s(Object(_.a)(Object(_.a)(r)),"onOptionHover",function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})}),s(Object(_.a)(Object(_.a)(r)),"shouldHideSelectedOptions",function(){var e=r.props,t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t}),s(Object(_.a)(Object(_.a)(r)),"onKeyDown",function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,a=t.escapeClearsValue,o=t.inputValue,s=t.isClearable,c=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,_=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!c&&("function"!==typeof l||(l(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||o)return;
vendor: 1,358 bytes, line 1
1r.focusValue("previous");break;case"ArrowRight":if(!n||o)return;r.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(m)r.removeValue(m);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!d||!_||f&&r.isOptionSelected(_,g))return;r.selectOption(_);break;case"Enter":if(229===e.keyCode)break;if(u){if(!_)return;if(r.isComposing)return;r.selectOption(_);break}return;case"Escape":u?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):s&&a&&r.clearValue();break;case" ":if(o)return;if(!u){r.openMenu("first");break}if(!_)return;r.selectOption(_);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}});var n=e.value;r.cacheComponents=S(r.cacheComponents,Ee).bind(Object(_.a)(Object(_.a)(r))),r.cacheComponents(e.components),r.instancePrefix="react-select-"+(r.props.instanceId||++bt);var i=ae(n),a=e.menuIsOpen?r.buildMenuOptions(e,i):{render:[],focusable:[]};return r.state.menuOptions=a,r.state.selectValue=i,r}
1return v(t,y["Component"]),d(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props,r=t.options,n=t.value,i=t.menuIsOpen,a=t.inputValue;if(this.cacheComponents(e.components),e.value!==n||e.options!==r||e.menuIsOpen!==i||e.inputValue!==a){var o=ae(e.value),s=e.menuIsOpen?this.buildMenuOptions(e,o):{render:[],focusable:[]},c=this.getNextFocusedValue(o),u=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:o,focusedOption:u,focusedValue:c})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isDisabled,n=t.menuIsOpen,i=this.state.isFocused;(i&&!r&&e.isDisabled||i&&n&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&function(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),i=t.offsetHeight/3;n.bottom+i>r.bottom?ce(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):n.top-i<r.top&&ce(e,Math.max(t.offsetTop-i,0))}(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var e=this.props,t=e.isSearchable,r=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:r}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this.state,r=t.menuOptions,n=t.selectValue,i=t.isFocused,a=this.props.isMulti,o="first"===e?0:r.focusable.length-1;if(!a){var s=r.focusable.indexOf(n[0]);s>-1&&(o=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:r.focusable[o]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,r=t.isMulti,n=t.isSearchable,i=this.state,a=i.selectValue,o=i.focusedValue;if(r){this.setState({focusedOption:null});var s=a.indexOf(o);o||(s=-1,this.announceAriaLiveContext({event:"value"}));var c=a.length-1,u=-1;if(a.length){switch(e){case"previous":u=0===s?0:-1===s?c:s-1;break;case"next":s>-1&&s<c&&(u=s+1)}-1===u&&this.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:r}}),this.setState({inputIsHidden:-1!==u,focusedValue:a[u]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,r=this.state,n=r.focusedOption,i=r.menuOptions.focusable;if(i.length){var a=0,o=i.indexOf(n);n||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?a=o>0?o-1:i.length-1:"down"===e?a=(o+1)%i.length:"pageup"===e?(a=o-t)<0&&(a=0):"pagedown"===e?(a=o+t)>i.length-1&&(a=i.length-1):"last"===e&&(a=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[a],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:mt(i[a])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(vt):c({},vt,this.props.theme):vt}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,r=this.setValue,n=this.selectOption,i=this.props,a=i.classNamePrefix,o=i.isMulti,s=i.isRtl,c=i.options,u=this.state.selectValue,l=this.hasValue();return{cx:function(e,t,r){var n=[r];if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&n.push("".concat(ie(e,i
vendor: 8,265 bytes, line 1
1)));return n.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}.bind(null,a),clearValue:e,getStyles:t,getValue:function(){return u},hasValue:l,isMulti:o,isRtl:s,options:c,selectOption:n,setValue:r,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,r=t.focusedValue,n=t.selectValue.indexOf(r);if(n>-1){if(e.indexOf(r)>-1)return r;if(n<e.length)return e[n]}return null}},{key:"getNextFocusedOption",value:function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,r=e.isMulti;return void 0===t?r:t}},{key:"isOptionDisabled",value:function(e,t){return"function"===typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var r=this;if(t.indexOf(e)>-1)return!0;if("function"===typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var n=this.getOptionValue(e);return t.some(function(e){return r.getOptionValue(e)===n})}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var r=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:r,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var r=this,n=e.inputValue,i=void 0===n?"":n,a=e.options,o=function(e,n){var a=r.isOptionDisabled(e,t),o=r.isOptionSelected(e,t),s=r.getOptionLabel(e),c=r.getOptionValue(e);if(!(r.shouldHideSelectedOptions()&&o||!r.filterOption({label:s,value:c,data:e},i))){var u=a?void 0:function(){return r.onOptionHover(e)},l=a?void 0:function(){return r.selectOption(e)},d="".concat(r.getElementId("option"),"-").concat(n);return{innerProps:{id:d,onClick:l,onMouseMove:u,onMouseOver:u,tabIndex:-1},data:e,isDisabled:a,isSelected:o,key:d,label:s,type:"option",value:c}}};return a.reduce(function(e,t,n){if(t.options){r.hasGroups||(r.hasGroups=!0);var i=t.options.map(function(t,r){var i=o(t,"".concat(n,"-").concat(r));return i&&e.focusable.push(t),i}).filter(Boolean);if(i.length){var a="".concat(r.getElementId("group"),"-").concat(n);e.render.push({type:"group",key:a,data:t,options:i})}}else{var s=o(t,"".concat(n));s&&(e.render.push(s),e.focusable.push(t))}return e},{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,r=e.selectValue,n=e.focusedValue,i=e.focusedOption,a=this.props,o=a.options,s=a.menuIsOpen,c=a.inputValue,u=a.screenReaderStatus,l=n?function(e){var t=e.focusedValue,r=e.getOptionLabel,n=e.selectValue;return"value ".concat(r(t)," focused, ").concat(n.indexOf(t)+1," of ").concat(n.length,".")}({focusedValue:n,getOptionLabel:this.getOptionLabel,selectValue:r}):"",d=i&&s?function(e){var t=e.focusedOption,r=e.getOptionLabel,n=e.options;return"option ".concat(r(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(n.indexOf(t)+1," of ").concat(n.length,".")}({focusedOption:i,getOptionLabel:this.getOptionLabel,options:o}):"",f=function(e){var t=e.inputValue,r=e.screenReaderMessage;return"".concat(r).concat(t?" for search term "+t:"",".")}({inputValue:c,screenReaderMessage:u({count:this.countOptions()})});return"".concat(l," ").concat(d," ").concat(f," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,r=e.isSearchable,n=e.inputId,i=e.inputValue,o=e.tabIndex,s=this.components.Input,c=this.state.inputIsHidden,u=n||this.getElementId("input");if(!r)return b.a.createElement(Qe,{id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ne,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:o,value:""});var l={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},d=this.commonProps,f=d.cx,p=d.theme,_=d.selectProps;return b.a.createElement(s,Object(a.a)({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:f,getStyles:this.getStyles,id:u,innerRef:this.getInputRef,isDisabled:t,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:_,spellCheck:"false",tabIndex:o,theme:p,type:"text",value:i},l))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,r=t.MultiValue,n=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,c=t.Placeholder,u=this.commonProps,l=this.props,d=l.controlShouldRenderValue,f=l.isDisabled,p=l.isMulti,_=l.inputValue,m=l.placeholder,g=this.state,h=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return _?null:b.a.createElement(c,Object(a.a)({},u,{key:"placeholder",isDisabled:f,isFocused:y}),m);if(p)return h.map(function(t,s){var c=t===v;return b.a.createElement(r,Object(a.a)({},u,{components:{Container:n,Label:i,Remove:o},isFocused:c,isDisabled:f,key:e.getOptionValue(t),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))});if(_)return null;var x=h[0];return b.a.createElement(s,Object(a.a)({},u,{data:x,isDisabled:f}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,i=r.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return b.a.createElement(e,Object(a.a)({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,i=r.isLoading,o=this.state.isFocused;if(!e||!i)return null;return b.a.createElement(e,Object(a.a)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:n,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,r=e.IndicatorSeparator;if(!t||!r)return null;var n=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return b.a.createElement(r,Object(a.a)({},n,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,r=this.props.isDisabled,n=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return b.a.createElement(e,Object(a.a)({},t,{innerProps:i,isDisabled:r,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,r=t.Group,n=t.GroupHeading,o=t.Menu,s=t.MenuList,c=t.MenuPortal,u=t.Loa
1dingMessage,l=t.NoOptionsMessage,d=t.Option,f=this.commonProps,p=this.state,_=p.focusedOption,m=p.menuOptions,g=this.props,h=g.captureMenuScroll,v=g.inputValue,y=g.isLoading,x=g.loadingMessage,S=g.minMenuHeight,k=g.maxMenuHeight,C=g.menuIsOpen,E=g.menuPlacement,T=g.menuPosition,w=g.menuPortalTarget,D=g.menuShouldBlockScroll,A=g.menuShouldScrollIntoView,N=g.noOptionsMessage,P=g.onMenuScrollToTop,O=g.onMenuScrollToBottom;if(!C)return null;var F,M=function(t){var r=_===t.data;return t.innerRef=r?e.getFocusedOptionRef:void 0,b.a.createElement(d,Object(a.a)({},f,t,{isFocused:r}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())F=m.render.map(function(t){if("group"===t.type){t.type;var o=i(t,["type"]),s="".concat(t.key,"-heading");return b.a.createElement(r,Object(a.a)({},f,o,{Heading:n,headingProps:{id:s},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return M(e)}))}if("option"===t.type)return M(t)});else if(y){var I=x({inputValue:v});if(null===I)return null;F=b.a.createElement(u,f,I)}else{var L=N({inputValue:v});if(null===L)return null;F=b.a.createElement(l,f,L)}var R={minMenuHeight:S,maxMenuHeight:k,menuPlacement:E,menuPosition:T,menuShouldScrollIntoView:A},j=b.a.createElement(me,Object(a.a)({},f,R),function(t){var r=t.ref,n=t.placerProps,i=n.placement,c=n.maxHeight;return b.a.createElement(o,Object(a.a)({},f,R,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:i}),b.a.createElement(ft,{isEnabled:h,onTopArrive:P,onBottomArrive:O},b.a.createElement(lt,{isEnabled:D},b.a.createElement(s,Object(a.a)({},f,{innerRef:e.getMenuListRef,isLoading:y,maxHeight:c}),F))))});return w||"fixed"===T?b.a.createElement(c,Object(a.a)({},f,{appendTo:w,controlElement:this.controlRef,menuPlacement:E,menuPosition:T}),j):j}},{key:"renderFormField",value:function(){var e=this,t=this.props,r=t.delimiter,n=t.isDisabled,i=t.isMulti,a=t.name,o=this.state.selectValue;if(a&&!n){if(i){if(r){var s=o.map(function(t){return e.getOptionValue(t)}).join(r);return b.a.createElement("input",{name:a,type:"hidden",value:s})}var c=o.length>0?o.map(function(t,r){return b.a.createElement("input",{key:"i-".concat(r),name:a,type:"hidden",value:e.getOptionValue(t)})}):b.a.createElement("input",{name:a,type:"hidden"});return b.a.createElement("div",null,c)}var u=o[0]?this.getOptionValue(o[0]):"";return b.a.createElement("input",{name:a,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?b.a.createElement($e,{"aria-live":"polite"},b.a.createElement("p",{id:"aria-selection-event"},"\xa0",this.state.ariaLiveSelection),b.a.createElement("p",{id:"aria-context"},"\xa0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,r=e.IndicatorsContainer,n=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,c=o.id,u=o.isDisabled,l=o.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return b.a.createElement(n,Object(a.a)({},f,{className:s,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),b.a.createElement(t,Object(a.a)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:l}),b.a.createElement(i,Object(a.a)({},f,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),b.a.createElement(r,Object(a.a)({},f,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}();s(xt,"defaultProps",yt);var St={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},kt=function(e){var t,r;return r=t=function(t){function r(){var e,t;u(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t=m(this,(e=g(r)).call.apply(e,[this].concat(i))),s(Object(_.a)(Object(_.a)(t)),"select",void 0),s(Object(_.a)(Object(_.a)(t)),"state",{inputValue:void 0!==t.props.inputValue?t.props.inputValue:t.props.defaultInputValue,menuIsOpen:void 0!==t.props.menuIsOpen?t.props.menuIsOpen:t.props.defaultMenuIsOpen,value:void 0!==t.props.value?t.props.value:t.props.defaultValue}),s(Object(_.a)(Object(_.a)(t)),"onChange",function(e,r){t.callProp("onChange",e,r),t.setState({value:e})}),s(Object(_.a)(Object(_.a)(t)),"onInputChange",function(e,r){var n=t.callProp("onInputChange",e,r);t.setState({inputValue:void 0!==n?n:e})}),s(Object(_.a)(Object(_.a)(t)),"onMenuOpen",function(){t.callProp("onMenuOpen"),t.setState({menuIsOpen:!0})}),s(Object(_.a)(Object(_.a)(t)),"onMenuClose",function(){t.callProp("onMenuClose"),t.setState({menuIsOpen:!1})}),t}return v(r,y.Component),d(r,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"===typeof this.props[e]){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(t=this.props)[e].apply(t,n)}}},{key:"render",value:function(){var t=this,r=this.props,n=(r.defaultInputValue,r.defaultMenuIsOpen,r.defaultValue,i(r,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return b.a.createElement(e,Object(a.a)({},n,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),r}(),s(t,"defaultProps",St),r}(xt);t.a=kt},,,,,function(e,t,r){"use strict";var n=r(152),i=r(33);function a(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?r[n++]=o:o<2048?(r[n++]=o>>6|192,r[n++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=63&o|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=63&o|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=s(e[r].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=o(i)),r+=c(i.toString(16))}return r},t.zero2=s,t.zero8=c,t.join32=function(e,t,r,i){var a=r-t;n(a%4===0);for(var o=new Array(a/4),s=0,c=t;s<o.length;s++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],o[s]=u>>>0}return o},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var a=e[n];"big"===t?(r[i]=a>>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},t.sum64=function(e,t,r,n){var i=e[t],a=n+e[t+1]>>>0,o=(a<n?1:0)+r+i;e[t]=o>>>
10,e[t+1]=a},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,i,a,o,s){var c=0,u=t;return c+=(u=u+n>>>0)<t?1:0,c+=(u=u+a>>>0)<a?1:0,e+r+i+o+(c+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,i,a,o,s){return t+n+a+s>>>0},t.sum64_5_hi=function(e,t,r,n,i,a,o,s,c,u){var l=0,d=t;return l+=(d=d+n>>>0)<t?1:0,l+=(d=d+a>>>0)<a?1:0,l+=(d=d+s>>>0)<s?1:0,e+r+i+o+c+(l+=(d=d+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,i,a,o,s,c,u){return t+n+a+s+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){var n=r(564),i=r(565),a=i;a.v1=n,a.v4=i,e.exports=a},function(e,t,r){"use strict";function n(e,t){var r=t.distance,n=t.left,i=t.right,a=t.up,o=t.down,c=t.top,u=t.bottom,l=t.big,f=t.mirror,p=t.opposite,_=(r?r.toString():0)+((n?1:0)|(i?2:0)|(c||o?4:0)|(u||a?8:0)|(f?16:0)|(p?32:0)|(e?64:0)|(l?128:0));if(d.hasOwnProperty(_))return d[_];var m=n||i||a||o||c||u,g=void 0,h=void 0;if(m){if(!f!=!(e&&p)){var v=[i,n,u,c,o,a];n=v[0],i=v[1],c=v[2],u=v[3],a=v[4],o=v[5]}var y=r||(l?"2000px":"100%");g=n?"-"+y:i?y:"0",h=o||c?"-"+y:a||u?y:"0"}return d[_]=(0,s.animation)((e?"to":"from")+" {opacity: 0;"+(m?" transform: translate3d("+g+", "+h+", 0);":"")+"}\n "+(e?"from":"to")+" {opacity: 1;transform: none;} "),d[_]}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaults,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.children,i=(e.out,e.forever),a=e.timeout,o=e.duration,c=void 0===o?s.defaults.duration:o,l=e.delay,d=void 0===l?s.defaults.delay:l,f=e.count,p=void 0===f?s.defaults.count:f,_=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["children","out","forever","timeout","duration","delay","count"]),m={make:n,duration:void 0===a?c:a,delay:d,forever:i,count:p,style:{animationFillMode:"both"},reverse:_.left};return t?(0,u.default)(_,m,m,r):m}Object.defineProperty(t,"__esModule",{value:!0});var a,o=r(26),s=r(376),c=r(567),u=(a=c)&&a.__esModule?a:{default:a},l={out:o.bool,left:o.bool,right:o.bool,top:o.bool,bottom:o.bool,big:o.bool,mirror:o.bool,opposite:o.bool,duration:o.number,timeout:o.number,distance:o.string,delay:o.number,count:o.number,forever:o.bool},d={};i.propTypes=l,t.default=i,e.exports=t.default},,,,,,,,,,,function(e,t,r){"use strict";var n=r(0),i=r.n(n);function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s,c,u,l,d,f,p,_,m,g={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},h={duration:.5,overwrite:!1,delay:0},v=1e-8,y=2*Math.PI,b=y/4,x=0,S=Math.sqrt,k=Math.cos,C=Math.sin,E=function(e){return"string"===typeof e},T=function(e){return"function"===typeof e},w=function(e){return"number"===typeof e},D=function(e){return"undefined"===typeof e},A=function(e){return"object"===typeof e},N=function(e){return!1!==e},P=function(){return"undefined"!==typeof window},O=function(e){return T(e)||E(e)},F="function"===typeof ArrayBuffer&&ArrayBuffer.isView||function(){},M=Array.isArray,I=/(?:-?\.?\d|\.)+/gi,L=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,R=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,j=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,B=/[+-]=-?[.\d]+/,z=/[^,'"\[\]\s]+/gi,q=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,U={},V={},J=function(e){return(V=ge(e,U))&&tr},H=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},W=function(e,t){return!t&&console.warn(e)},K=function(e,t){return e&&(U[e]=t)&&V&&(V[e]=t)||U},G=function(){return 0},X={},Y=[],$={},Q={},Z={},ee=30,te=[],re="",ne=function(e){var t,r,n=e[0];if(A(n)||T(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(r=te.length;r--&&!te[r].targetTest(n););t=te[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Et(e[r],t)))||e.splice(r,1);return e},ie=function(e){return e._gsap||ne(We(e))[0]._gsap},ae=function(e,t,r){return(r=e[t])&&T(r)?e[t]():D(r)&&e.getAttribute&&e.getAttribute(t)||r}
vendor: 4,612 bytes, line 1
1,oe=function(e,t){return(e=e.split(",")).forEach(t)||e},se=function(e){return Math.round(1e5*e)/1e5||0},ce=function(e){return Math.round(1e7*e)/1e7||0},ue=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),"+"===r?e+n:"-"===r?e-n:"*"===r?e*n:e/n},le=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},de=function(){var e,t,r=Y.length,n=Y.slice(0);for($={},Y.length=0,e=0;e<r;e++)(t=n[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},fe=function(e,t,r,n){Y.length&&de(),e.render(t,r,n),Y.length&&de()},pe=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(z).length<2?t:E(e)?e.trim():e},_e=function(e){return e},me=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ge=function(e,t){for(var r in t)e[r]=t[r];return e},he=function e(t,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=A(r[n])?e(t[n]||(t[n]={}),r[n]):r[n]);return t},ve=function(e,t){var r,n={};for(r in e)r in t||(n[r]=e[r]);return n},ye=function(e){var t,r=e.parent||c,n=e.keyframes?(t=M(e.keyframes),function(e,r){for(var n in r)n in e||"duration"===n&&t||"ease"===n||(e[n]=r[n])}):me;if(N(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},be=function(e,t,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var a,o=e[n];if(i)for(a=t[i];o&&o[i]>a;)o=o._prev;return o?(t._next=o._next,o._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=o,t.parent=t._dp=e,t},xe=function(e,t,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=t._prev,a=t._next;i?i._next=a:e[r]===t&&(e[r]=a),a?a._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},Se=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},ke=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Ce=function e(t){return!t||t._ts&&e(t.parent)},Ee=function(e){return e._repeat?Te(e._tTime,e=e.duration()+e._rDelay)*e:0},Te=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},we=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},De=function(e){return e._end=ce(e._start+(e._tDur/Math.abs(e._ts||e._rts||v)||0))},Ae=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=ce(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),De(e),r._dirty||ke(r,e)),e},Ne=function(e,t){var r;if((t._time||t._initted&&!t._dur)&&(r=we(e.rawTime(),t),(!t._dur||qe(0,t.totalDuration(),r)-t._tTime>v)&&t.render(r,!0)),ke(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-v}},Pe=function(e,t,r,n){return t.parent&&Se(t),t._start=ce((w(r)?r:r||e!==c?je(e,r,t):e._time)+t._delay),t._end=ce(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),be(e,t,"_first","_last",e._sort?"_start":0),Me(t)||(e._recent=t),n||Ne(e,t),e},Oe=function(e,t){return(U.ScrollTrigger||H("scrollTrigger",t))&&U.ScrollTrigger.create(t,e)},Fe=function(e,t,r,n){return Ot(e,t),e._initted?!r&&e._pt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&p!==ft.frame?(Y.push(e),e._lazy=[t,n],1):void 0:1},Me=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},Ie=function(e,t,r,n){var i=e._repeat,a=ce(t)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:ce(a*(i+1)+e._rDelay*i):a,o>0&&!n?Ae(e,e._tTime=e._tDur*o):e.parent&&De(e),r||ke(e.parent,e),e},Le=function(e){return e instanceof wt?ke(e):Ie(e,e._dur)},Re={_start:0,endTime:G,totalDuration:G},je=function e(t,r,n){var i,a,o,s=t.labels,c=t._recent||Re,u=t.duration()>=1e8?c.endTime(!1):t._dur;return E(r)&&(isNaN(r)||r in s)?(a=r.charAt(0),o="%"===r.substr(-1),i=r.indexOf("="),"<"===a||">"===a?(i>=0&&(r=r.replace(/=/,"")),("<"===a?c._start:c.endTime(c._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(i<0?c:n).totalDuration()/100:1)):i<0?(r in s||(s[r]=u),s[r]):(a=parseFloat(r.charAt(i-1)+r.substr(i+1)),o&&n&&(a=a/100*(M(n)?n[0]:n).totalDuration()),i>1?e(t,r.substr(0,i-1),n)+a:u+a)):null==r?u:+r},Be=function(e,t,r){var n,i,a=w(t[1]),o=(a?2:1)+(e<2?0:1),s=t[o];if(a&&(s.duration=t[1]),s.parent=r,e){for(n=s,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=N(i.vars.inherit)&&i.parent;s.immediateRender=N(n.immediateRender),e<2?s.runBackwards=1:s.startAt=t[o-1]}return new Rt(t[0],s,t[o+1])},ze=function(e,t){return e||0===e?t(e):t},qe=function(e,t,r){return r<e?e:r>t?t:r},Ue=function(e,t){return E(e)&&(t=q.exec(e))?t[1]:""},Ve=[].slice,Je=function(e,t){return e&&A(e)&&"length"in e&&(!t&&!e.length||e.length-1
1in e&&A(e[0]))&&!e.nodeType&&e!==u},He=function(e,t,r){return void 0===r&&(r=[]),e.forEach(function(e){var n;return E(e)&&!t||Je(e,1)?(n=r).push.apply(n,We(e)):r.push(e)})||r},We=function(e,t,r){return!E(e)||r||!l&&pt()?M(e)?He(e,r):Je(e)?Ve.call(e,0):e?[e]:[]:Ve.call((t||d).querySelectorAll(e),0)},Ke=function(e){return e.sort(function(){return.5-Math.random()})},Ge=function(e){if(T(e))return e;var t=A(e)?e:{each:e},r=bt(t.ease),n=t.from||0,i=parseFloat(t.base)||0,a={},o=n>0&&n<1,s=isNaN(n)||o,c=t.axis,u=n,l=n;return E(n)?u=l={center:.5,edges:.5,end:1}[n]||0:!o&&s&&(u=n[0],l=n[1]),function(e,o,d){var f,p,_,m,g,h,v,y,b,x=(d||t).length,k=a[x];if(!k){if(!(b="auto"===t.grid?0:(t.grid||[1,1e8])[1])){for(v=-1e8;v<(v=d[b++].getBoundingClientRect().left)&&b<x;);b--}for(k=a[x]=[],f=s?Math.min(b,x)*u-.5:n%b,p=1e8===b?0:s?x*l/b-.5:n/b|0,v=0,y=1e8,h=0;h<x;h++)_=h%b-f,m=p-(h/b|0),k[h]=g=c?Math.abs("y"===c?m:_):S(_*_+m*m),g>v&&(v=g),g<y&&(y=g);"random"===n&&Ke(k),k.max=v-y,k.min=y,k.v=x=(parseFloat(t.amount)||parseFloat(t.each)*(b>x?x-1:c?"y"===c?x/b:b:Math.max(b,x/b))||0)*("edges"===n?-1:1),k.b=x<0?i-x:i,k.u=Ue(t.amount||t.each)||0,r=r&&x<0?vt(r):r}return x=(k[e]-k.min)/k.max||0,ce(k.b+(r?r(x):x)*k.v)+k.u}},Xe=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Math.round(parseFloat(r)/e)*e*t;return(n-n%1)/t+(w(r)?0:Ue(r))}},Ye=function(e,t){var r,n,i=M(e);return!i&&A(e)&&(r=i=e.radius||1e8,e.values?(e=We(e.values),(n=!w(e[0]))&&(r*=r)):e=Xe(e.increment)),ze(t,i?T(e)?function(t){return n=e(t),Math.abs(n-t)<=r?n:t}:function(t){for(var i,a,o=parseFloat(n?t.x:t),s=parseFloat(n?t.y:0),c=1e8,u=0,l=e.length;l--;)(i=n?(i=e[l].x-o)*i+(a=e[l].y-s)*a:Math.abs(e[l]-o))<c&&(c=i,u=l);return u=!r||c<=r?e[u]:t,n||u===t||w(t)?u:u+Ue(t)}:Xe(e))},$e=function(e,t,r,n){return ze(M(e)?!t:!0===r?!!(r=0):!n,function(){return M(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+.99*r))/r)*r*n)/n})},Qe=function(e,t,r){return ze(r,function(r){return e[~~t(r)]})},Ze=function(e){for(var t,r,n,i,a=0,o="";~(t=e.indexOf("random(",a));)n=e.indexOf(")",t),i="["===e.charAt(t+7),r=e.substr(t+7,n-t-7).match(i?z:I),o+=e.substr(a,t-a)+$e(i?r:+r[0],i?0:+r[1],+r[2]||1e-5),a=n+1;return o+e.substr(a,e.length-a)},et=function(e,t,r,n,i){var a=t-e,o=n-r;return ze(i,function(t){return r+((t-e)/a*o||0)})},tt=function(e,t,r){var n,i,a,o=e.labels,s=1e8;for(n in o)(i=o[n]-t)<0===!!r&&i&&s>(i=Math.abs(i))&&(a=n,s=i);return a},rt=function(e,t,r){var n,i,a=e.vars,o=a[t];if(o)return n=a[t+"Params"],i=a.callbackScope||e,r&&Y.length&&de(),n?o.apply(i,n):o.call(i)},nt=function(e){return Se(e),e.scrollTrigger&&e.scrollTrigger.kill(!1),e.progress()<1&&rt(e,"onInterrupt"),e},it={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},at=function(e,t,r){return 255*(6*(e+=e<0?1:e>1?-1:0)<1?t+(r-t)*e*6:e<.5?r:3*e<2?t+(r-t)*(2/3-e)*6:t)+.5|0},ot=function(e,t,r){var n,i,a,o,s,c,u,l,d,f,p=e?w(e)?[e>>16,e>>8&255,255&e]:0:it.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),it[e])p=it[e];else if("#"===e.charAt(0)){if(e.length<6&&(n=e.charAt(1),i=e.charAt(2),a=e.charAt(3),e="#"+n+n+i+i+a+a+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e]}else if("hsl"===e.substr(0,3))if(p=f=e.match(I),t){if(~e.indexOf("="))return p=e.match(L),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,s=+p[1]/100,n=2*(c=+p[2]/100)-(i=c<=.5?c*(s+1):c+s-c*s),p.length>3&&(p[3]*=1),p[0]=at(o+1/3,n,i),p[1]=at(o,n,i),p[2]=at(o-1/3,n,i);else p=e.match(I)||it.transparent;p=p.map(Number)}return t&&!f&&(n=p[0]/255,i=p[1]/255,a=p[2]/255,c=((u=Math.max(n,i,a))+(l=Math.min(n,i,a)))/2,u===l?o=s=0:(d=u-l,s=c>
vendor: 24,175 bytes, line 1
1.5?d/(2-u-l):d/(u+l),o=u===n?(i-a)/d+(i<a?6:0):u===i?(a-n)/d+2:(n-i)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*s+.5),p[2]=~~(100*c+.5)),r&&p.length<4&&(p[3]=1),p},st=function(e){var t=[],r=[],n=-1;return e.split(ut).forEach(function(e){var i=e.match(R)||[];t.push.apply(t,i),r.push(n+=i.length+1)}),t.c=r,t},ct=function(e,t,r){var n,i,a,o,s="",c=(e+s).match(ut),u=t?"hsla(":"rgba(",l=0;if(!c)return e;if(c=c.map(function(e){return(e=ot(e,t,1))&&u+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),r&&(a=st(e),(n=r.c).join(s)!==a.c.join(s)))for(o=(i=e.replace(ut,"1").split(R)).length-1;l<o;l++)s+=i[l]+(~n.indexOf(l)?c.shift()||u+"0,0,0,0)":(a.length?a:c.length?c:r).shift());if(!i)for(o=(i=e.split(ut)).length-1;l<o;l++)s+=i[l]+c[l];return s+i[o]},ut=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in it)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),lt=/hsl[a]?\(/,dt=function(e){var t,r=e.join(" ");if(ut.lastIndex=0,ut.test(r))return t=lt.test(r),e[1]=ct(e[1],t),e[0]=ct(e[0],t,st(e[1])),!0},ft=function(){var e,t,r,n,i,a,o=Date.now,s=500,c=33,p=o(),_=p,g=1e3/240,h=g,y=[],b=function r(u){var l,d,f,m,v=o()-_,b=!0===u;if(v>s&&(p+=v-c),((l=(f=(_+=v)-p)-h)>0||b)&&(m=++n.frame,i=f-1e3*n.time,n.time=f/=1e3,h+=l+(l>=g?4:g-l),d=1),b||(e=t(r)),d)for(a=0;a<y.length;a++)y[a](f,i,m,u)};return n={time:0,frame:0,tick:function(){b(!0)},deltaRatio:function(e){return i/(1e3/(e||60))},wake:function(){f&&(!l&&P()&&(u=l=window,d=u.document||{},U.gsap=tr,(u.gsapVersions||(u.gsapVersions=[])).push(tr.version),J(V||u.GreenSockGlobals||!u.gsap&&u||{}),r=u.requestAnimationFrame),e&&n.sleep(),t=r||function(e){return setTimeout(e,h-1e3*n.time+1|0)},m=1,b(2))},sleep:function(){(r?u.cancelAnimationFrame:clearTimeout)(e),m=0,t=G},lagSmoothing:function(e,t){s=e||1/v,c=Math.min(t,s,0)},fps:function(e){g=1e3/(e||240),h=1e3*n.time+g},add:function(e,t,r){var i=t?function(t,r,a,o){e(t,r,a,o),n.remove(i)}:e;return n.remove(e),y[r?"unshift":"push"](i),pt(),i},remove:function(e,t){~(t=y.indexOf(e))&&y.splice(t,1)&&a>=t&&a--},_listeners:y}}(),pt=function(){return!m&&ft.wake()},_t={},mt=/^[\d.\-M][\d.\-,\s]/,gt=/["']/g,ht=function(e){for(var t,r,n,i={},a=e.substr(1,e.length-3).split(":"),o=a[0],s=1,c=a.length;s<c;s++)r=a[s],t=s!==c-1?r.lastIndexOf(","):r.length,n=r.substr(0,t),i[o]=isNaN(n)?n.replace(gt,"").trim():+n,o=r.substr(t+1).trim();return i},vt=function(e){return function(t){return 1-e(1-t)}},yt=function e(t,r){for(var n,i=t._first;i;)i instanceof wt?e(i,r):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===r||(i.timeline?e(i.timeline,r):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=r)),i=i._next},bt=function(e,t){return e&&(T(e)?e:_t[e]||function(e){var t=(e+"").split("("),r=_t[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[ht(t[1])]:function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)}(e).split(",").map(pe)):_t._CE&&mt.test(e)?_t._CE("",e):r}(e))||t},xt=function(e,t,r,n){void 0===r&&(r=function(e){return 1-t(1-e)}),void 0===n&&(n=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var i,a={easeIn:t,easeOut:r,easeInOut:n};return oe(e,function(e){for(var t in _t[e]=U[e]=a,_t[i=e.toLowerCase()]=r,a)_t[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=_t[e+"."+t]=a[t]}),a},St=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},kt=function e(t,r,n){var i=r>=1?r:1,a=(n||(t?.3:.45))/(r<1?r:1),o=a/y*(Math.asin(1/i)||0),s=function(e){return 1===e?1:i*Math.pow(2,-10*e)*C((e-o)*a)+1},c="out"===t?s:"in"===t?function(e){return 1-s(1-e)}:St(s);return a=y/a,c.config=function(r,n){return e(t,r,n)},c},Ct=function e(t,r){void 0===r&&(r=1.70158);var n=function(e){return e?--e*e*((r+1)*e+r)+1:0},i="out"===t?n:"in"===t?function(e){return 1-n(1-e)}:St(n);return i.config=function(r){return e(t,r)},i};oe("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var r=t<5?t+1:t;xt(e+",Power"+(r-1),t?function(e){return Math.pow(e,r)}:function(e){return e},function(e){return 1-Math.pow(1-e,r)},function(e){return e<.5?Math.pow(2*e,r)/2:1-Math.pow(2*(1-e),r)/2})}),_t.Linear.easeNone=_t.none=_t.Linear.easeIn,xt("Elastic",kt("in"),kt("out"),kt()),function(e,t){var r=1/t,n=function(n){return n<r?e*n*n:n<.7272727272727273?e*Math.pow(n-1.5/t,2)+.75:n<.9090909090909092?e*(n-=2.25/t)*n+.9375:e*Math.pow(n-2.625/t,2)+.984375};xt("Bounce",function(e){return 1-n(1-e)},n)}(7.5625,2.75),xt("Expo",function(e){return e?Math.pow(2,10*(e-1)):0}),xt("Circ",function(e){return-(S(1-e*e)-1)}),xt("Sine",function(e){return 1===e?1:1-k(e*b)}),xt("Back",Ct("in"),Ct("out"),Ct()),_t.SteppedEase=_t.steps=U.SteppedEase={config:function(e,t){void 0===e&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0,a=1-v;return function(e){return((n*qe(0,a,e)|0)+i)*r}}},h.ease=_t["quad.out"],oe("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return re+=e+","+e+"Params,"});var Et=function(e,t){this.id=x++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ae,this.set=t?t.getSetter:Ut},Tt=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Ie(this,+e.duration,1,1),this.data=e.data,m||ft.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Ie(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(pt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ae(this,e),!r._dp||r.parent||Ne(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Pe(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===v||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),fe(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ee(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+Ee(this),t):this.duration()?Math.min(1,this._time/this._dur):this.ratio},t.iteration=function(e,t){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*r,t):this._repeat?Te(this._tTime,r)+1:1},t.timeScale=function(e){if(!arguments.length)return this._rts===-v?0:this._rts;if(this._rts===e)return this;var t=this.parent&&this._ts?we(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-v?0:this._rts,this.totalTime(qe(-this._delay,this._tDur,t),!0),De(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(pt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==v&&(this._tTime-=v)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Pe(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(N(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?we(t.rawTime(e),this):this._tTime:this._tTime},t.globalTime=function(e){for(var t=this,r=arguments.length?e:t.rawTime();t;)r=t._start+r/(t._ts||1),t=t._dp;return r},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Le(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Le(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(je(this,e),N(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,N(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-v:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-v,this},t.isActive=function(){var e,t=this.parent||this._dp,r=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=r&&e<this.endTime(!0)-v))},t.eventCallback=function(e,t,r){var n=this.vars;return arguments.length>1?(t?(n[e]=t,r&&(n[e+"Params"]=r),"onUpdate"===e&&(this._onUpdate=t)):delete n[e],this):n[e]},t.then=function(e){var t=this;return new Promise(function(r){var n=T(e)?e:_e,i=function(){var e=t.then;t.then=null,T(n)&&(n=n(t))&&(n.then||n===t)&&(t.then=e),r(n),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i})},t.kill=function(){nt(this)},e}();me(Tt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-v,_prom:0,_ps:!1,_rts:1});var wt=function(e){function t(t,r){var n;return void 0===t&&(t={}),(n=e.call(this,t)||this).labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=N(t.sortChildren),c&&Pe(t.parent||c,a(n),r),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&Oe(a(n),t.scrollTrigger),n}o(t,e);var r=t.prototype;return r.to=function(e,t,r){return Be(0,arguments,this),this},r.from=function(e,t,r){return Be(1,arguments,this),this},r.fromTo=function(e,t,r,n){return Be(2,arguments,this),this},r.set=function(e,t,r){return t.duration=0,t.parent=this,ye(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new Rt(e,t,je(this,r),1),this},r.call=function(e,t,r){return Pe(this,Rt.delayedCall(0,e,t),r)},r.staggerTo=function(e,t,r,n,i,a,o){return r.duration=t,r.stagger=r.stagger||n,r.onComplete=a,r.onCompleteParams=o,r.parent=this,new Rt(e,r,je(this,i)),this},r.staggerFrom=function(e,t,r,n,i,a,o){return r.runBackwards=1,ye(r).immediateRender=N(r.immediateRender),this.staggerTo(e,t,r,n,i,a,o)},r.staggerFromTo=function(e,t,r,n,i,a,o,s){return n.startAt=r,ye(n).immediateRender=N(n.immediateRender),this.staggerTo(e,t,n,i,a,o,s)},r.render=function(e,t,r){var n,i,a,o,s,u,l,d,f,p,_,m,g=this._time,h=this._dirty?this.totalDuration():this._tDur,y=this._dur,b=e<=0?0:ce(e),x=this._zTime<0!==e<0&&(this._initted||!y);if(this!==c&&b>h&&e>=0&&(b=h),b!==this._tTime||r||x){if(g!==this._time&&y&&(b+=this._time-g,e+=this._time-g),n=b,f=this._start,u=!(d=this._ts),x&&(y||(g=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(_=this._yoyo,s=y+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*s+e,t,r);if(n=ce(b%s),b===h?(o=this._repeat,n=y):((o=~~(b/s))&&o===b/s&&(n=y,o--),n>y&&(n=y)),p=Te(this._tTime,s),!g&&this._tTime&&p!==o&&(p=o),_&&1&o&&(n=y-n,m=1),o!==p&&!this._lock){var S=_&&1&p,k=S===(_&&1&o);if(o<p&&(S=!S),g=S?0:y,this._lock=1,this.render(g||(m?0:ce(o*s)),t,!y)._lock=0,this._tTime=b,!t&&this.parent&&rt(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),g&&g!==this._time||u!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(y=this._dur,h=this._tDur,k&&(this._lock=2,g=S?y:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;yt(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}}(this,ce(g),ce(n)))&&(b-=n-(n=l._start)),this._tTime=b,this._time=n,this._act=!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,g=0),!g&&n&&!t&&(rt(this,"onStart"),this._tTime!==b))return this;if(n>=g&&e>=0)for(i=this._first;i;){if(a=i._next,(i._act||n>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,t,r),n!==this._time||!this._ts&&!u){l=0,a&&(b+=this._zTime=-v);break}}i=a}else{i=this._last;for(var C=e<0?e:n;i;){if(a=i._prev,(i._act||C<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(C-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(C-i._start)*i._ts,t,r),n!==this._time||!this._ts&&!u){l=0,a&&(b+=this._zTime=C?-v:v);break}}i=a}}if(l&&!t&&(this.pause(),l.render(n>=g?0:-v)._zTime=n>=g?1:-1,this._ts))return this._start=f,De(this),this.render(e,t,r);this._onUpdate&&!t&&rt(this,"onUpdate",!0),(b===h&&this._tTime>=this.totalDuration()||!b&&g)&&(f!==this._start&&Math.abs(d)===Math.abs(this._ts)||this._lock||((e||!y)&&(b===h&&this._ts>0||!b&&this._ts<0)&&Se(this,1),t||e<0&&!g||!b&&!g&&h||(rt(this,b===h&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b<h&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(e,t){var r=this;if(w(t)||(t=je(this,t,e)),!(e instanceof Tt)){if(M(e))return e.forEach(function(e){return r.add(e,t)}),this;if(E(e))return this.addLabel(e,t);if(!T(e))return this;e=Rt.delayedCall(0,e)}return this!==e?Pe(this,e,t):this},r.getChildren=function(e,t,r,n){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],a=this._first;a;)a._start>=n&&(a instanceof Rt?t&&i.push(a):(r&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,r)))),a=a._next;return i},r.getById=function(e){for(var t=this.getChildren(1,1,1),r=t.length;r--;)if(t[r].vars.id===e)return t[r]},r.remove=function(e){return E(e)?this.removeLabel(e):T(e)?this.killTweensOf(e):(xe(this,e),e===this._recent&&(this._recent=this._last),ke(this))},r.totalTime=function(t,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ce(ft.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,r),this._forcing=0,this):this._tTime},r.addLabel=function(e,t){return this.labels[e]=je(this,t),this},r.removeLabel=function(e){return delete this.labels[e],this},r.addPause=function(e,t,r){var n=Rt.delayedCall(0,t||G,r);return n.data="isPause",this._hasPause=1,Pe(this,n,je(this,e))},r.removePause=function(e){var t=this._first;for(e=je(this,e);t;)t._start===e&&"isPause"===t.data&&Se(t),t=t._next},r.killTweensOf=function(e,t,r){for(var n=this.getTweensOf(e,r),i=n.length;i--;)Dt!==n[i]&&n[i].kill(e,t);return this},r.getTweensOf=function(e,t){for(var r,n=[],i=We(e),a=this._first,o=w(t);a;)a instanceof Rt?le(a._targets,i)&&(o?(!Dt||a._initted&&a._ts)&&a.globalTime(0)<=t&&a.globalTime(a.totalDuration())>t:!t||a.isActive())&&n.push(a):(r=a.getTweensOf(i,t)).length&&n.push.apply(n,r),a=a._next;return n},r.tweenTo=function(e,t){t=t||{};var r,n=this,i=je(n,e),a=t,o=a.startAt,s=a.onStart,c=a.onStartParams,u=a.immediateRender,l=Rt.to(n,me({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale())||v,onStart:function(){if(n.pause(),!r){var e=t.duration||Math.abs((i-(o&&"time"in o?o.time:n._time))/n.timeScale());l._dur!==e&&Ie(l,e,0,1).render(l._time,!0,!0),r=1}s&&s.apply(l,c||[])}},t));return u?l.render(0):l},r.tweenFromTo=function(e,t,r){return this.tweenTo(t,me({startAt:{time:je(this,e)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(e){return void 0===e&&(e=this._time),tt(this,je(this,e))},r.previousLabel=function(e){return void 0===e&&(e=this._time),tt(this,je(this,e),1)},r.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+v)},r.shiftChildren=function(e,t,r){void 0===r&&(r=0);for(var n,i=this._first,a=this.labels;i;)i._start>=r&&(i._start+=e,i._end+=e),i=i._next;if(t)for(n in a)a[n]>=r&&(a[n]+=e);return ke(this)},r.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},r.clear=function(e){void 0===e&&(e=!0);for(var t,r=this._first;r;)t=r._next,this.remove(r),r=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),ke(this)},r.totalDuration=function(e){var t,r,n,i=0,a=this._last,o=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-e:e));if(this._dirty){for(n=this.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>o&&this._sort&&a._ts&&!this._lock?(this._lock=1,Pe(this,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(i-=r,(!n&&!this._dp||n&&n.smoothChildTiming)&&(this._start+=r/this._ts,this._time-=r,this._tTime-=r),this.shiftChildren(-r,!1,-Infinity),o=0),a._end>i&&a._ts&&(i=a._end),a=t;Ie(this,this===c&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},t.updateRoot=function(e){if(c._ts&&(fe(c,we(e,c)),p=ft.frame),ft.frame>=ee){ee+=g.autoSleep||120;var t=c._first;if((!t||!t._ts)&&g.autoSleep&&ft._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||ft.sleep()}}},t}(Tt);me(wt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Dt,At,Nt=function(e,t,r,n,i,a,o,s,c){T(n)&&(n=n(i||0,e,a));var u,l=e[t],d="get"!==r?r:T(l)?c?e[t.indexOf("set")||!T(e["get"+t.substr(3)])?t:"get"+t.substr(3)](c):e[t]():l,f=T(l)?c?zt:Bt:jt;if(E(n)&&(~n.indexOf("random(")&&(n=Ze(n)),"="===n.charAt(1)&&((u=ue(d,n)+(Ue(d)||0))||0===u)&&(n=u)),d!==n||At)return isNaN(d*n)||""===n?(!l&&!(t in e)&&H(t,n),function(e,t,r,n,i,a,o){var s,c,u,l,d,f,p,_,m=new $t(this._pt,e,t,0,1,Ht,null,i),g=0,h=0;for(m.b=r,m.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=Ze(n)),a&&(a(_=[r,n],e,t),r=_[0],n=_[1]),c=r.match(j)||[];s=j.exec(n);)l=s[0],d=n.substring(g,s.index),u?u=(u+1)%5:"rgba("===d.substr(-5)&&(u=1),l!==c[h++]&&(f=parseFloat(c[h-1])||0,m._pt={_next:m._pt,p:d||1===h?d:",",s:f,c:"="===l.charAt(1)?ue(f,l)-f:parseFloat(l)-f,m:u&&u<4?Math.round:0},g=j.lastIndex);return m.c=g<n.length?n.substring(g,n.length):"",m.fp=o,(B.test(n)||p)&&(m.e=0),this._pt=m,m}.call(this,e,t,d,n,f,s||g.stringFilter,c)):(u=new $t(this._pt,e,t,+d||0,n-(d||0),"boolean"===typeof l?Jt:Vt,0,f),c&&(u.fp=c),o&&u.modifier(o,this,e),this._pt=u)},Pt=function(e,t,r,n,i,a){var o,s,c,u;if(Q[e]&&!1!==(o=new Q[e]).init(i,o.rawVars?t[e]:function(e,t,r,n,i){if(T(e)&&(e=Mt(e,i,t,r,n)),!A(e)||e.style&&e.nodeType||M(e)||F(e))return E(e)?Mt(e,i,t,r,n):e;var a,o={};for(a in e)o[a]=Mt(e[a],i,t,r,n);return o}(t[e],n,i,a,r),r,n,a)&&(r._pt=s=new $t(r._pt,i,e,0,1,o.render,o,0,o.priority),r!==_))for(c=r._ptLookup[r._targets.indexOf(i)],u=o._props.length;u--;)c[o._props[u]]=s;return o},Ot=function e(t,r){var n,i,a,o,u,l,d,f,p,_,m,g,y,b=t.vars,x=b.ease,S=b.startAt,k=b.immediateRender,C=b.lazy,E=b.onUpdate,T=b.onUpdateParams,w=b.callbackScope,D=b.runBackwards,A=b.yoyoEase,P=b.keyframes,O=b.autoRevert,F=t._dur,M=t._startAt,I=t._targets,L=t.parent,R=L&&"nested"===L.data?L.parent._targets:I,j="auto"===t._overwrite&&!s,B=t.timeline;if(B&&(!P||!x)&&(x="none"),t._ease=bt(x,h.ease),t._yEase=A?vt(bt(!0===A?x:A,h.ease)):0,A&&t._yoyo&&!t._repeat&&(A=t._yEase,t._yEase=t._ease,t._ease=A),t._from=!B&&!!b.runBackwards,!B||P&&!b.stagger){if(g=(f=I[0]?ie(I[0]).harness:0)&&b[f.prop],n=ve(b,X),M&&(Se(M.render(-1,!0)),M._lazy=0),S)if(Se(t._startAt=Rt.set(I,me({data:"isStart",overwrite:!1,parent:L,immediateRender:!0,lazy:N(C),startAt:null,delay:0,onUpdate:E,onUpdateParams:T,callbackScope:w,stagger:0},S))),r<0&&!k&&!O&&t._startAt.render(-1,!0),k){if(r>0&&!O&&(t._startAt=0),F&&r<=0)return void(r&&(t._zTime=r))}else!1===O&&(t._startAt=0);else if(D&&F)if(M)!O&&(t._startAt=0);else if(r&&(k=!1),a=me({overwrite:!1,data:"isFromStart",lazy:k&&N(C),immediateRender:k,stagger:0,parent:L},n),g&&(a[f.prop]=g),Se(t._startAt=Rt.set(I,a)),r<0&&t._startAt.render(-1,!0),t._zTime=r,k){if(!r)return}else e(t._startAt,v);for(t._pt=t._ptCache=0,C=F&&N(C)||C&&!F,i=0;i<I.length;i++){if(d=(u=I[i])._gsap||ne(I)[i]._gsap,t._ptLookup[i]=_={},$[d.id]&&Y.length&&de(),m=R===I?i:R.indexOf(u),f&&!1!==(p=new f).init(u,g||n,t,m,R)&&(t._pt=o=new $t(t._pt,u,p.name,0,1,p.render,p,0,p.priority),p._props.forEach(function(e){_[e]=o}),p.priority&&(l=1)),!f||g)for(a in n)Q[a]&&(p=Pt(a,n,t,m,u,R))?p.priority&&(l=1):_[a]=o=Nt.call(t,u,a,"get",n[a],m,R,0,b.stringFilter);t._op&&t._op[i]&&t.kill(u,t._op[i]),j&&t._pt&&(Dt=t,c.killTweensOf(u,_,t.globalTime(r)),y=!t.parent,Dt=0),t._pt&&C&&($[d.id]=1)}l&&Yt(t),t._onInit&&t._onInit(t)}t._onUpdate=E,t._initted=(!t._op||t._pt)&&!y,P&&r<=0&&B.render(1e8,!0,!0)},Ft=function(e,t,r,n){var i,a,o=t.ease||n||"power1.inOut";if(M(t))a=r[e]||(r[e]=[]),t.forEach(function(e,r){return a.push({t:r/(t.length-1)*100,v:e,e:o})});else for(i in t)a=r[i]||(r[i]=[]),"ease"===i||a.push({t:parseFloat(e),v:t[i],e:o})},Mt=function(e,t,r,n,i){return T(e)?e.call(t,r,n,i):E(e)&&~e.indexOf("random(")?Ze(e):e},It=re+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Lt={};oe(It+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return Lt[e]=1});var Rt=function(e){function t(t,r,n,i){var o;"number"===typeof r&&(n.duration=r,r=n,n=null);var u,l,d,f,p,_,m,h,y=(o=e.call(this,i?r:ye(r))||this).vars,b=y.duration,x=y.delay,S=y.immediateRender,k=y.stagger,C=y.overwrite,E=y.keyframes,T=y.defaults,D=y.scrollTrigger,P=y.yoyoEase,I=r.parent||c,L=(M(t)||F(t)?w(t[0]):"length"in r)?[t]:We(t);if(o._targets=L.length?ne(L):W("GSAP target "+t+" not found. https://greensock.com",!g.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=C,E||k||O(b)||O(x)){if(r=o.vars,(u=o.timeline=new wt({data:"nested",defaults:T||{}})).kill(),u.parent=u._dp=a(o),u._start=0,k||O(b)||O(x)){if(f=L.length,m=k&&Ge(k),A(k))for(p in k)~It.indexOf(p)&&(h||(h={}),h[p]=k[p]);for(l=0;l<f;l++)(d=ve(r,Lt)).stagger=0,P&&(d.yoyoEase=P),h&&ge(d,h),_=L[l],d.duration=+Mt(b,a(o),l,_,L),d.delay=(+Mt(x,a(o),l,_,L)||0)-o._delay,!k&&1===f&&d.delay&&(o._delay=x=d.delay,o._start+=x,d.delay=0),u.to(_,d,m?m(l,_,L):0),u._ease=_t.none;u.duration()?b=x=0:o.timeline=0}else if(E){ye(me(u.vars.defaults,{ease:"none"})),u._ease=bt(E.ease||r.ease||"none");var R,j,B,z=0;if(M(E))E.forEach(function(e){return u.to(L,e,">")});else{for(p in d={},E)"ease"===p||"easeEach"===p||Ft(p,E[p],d,E.easeEach);for(p in d)for(R=d[p].sort(function(e,t){return e.t-t.t}),z=0,l=0;l<R.length;l++)(B={ease:(j=R[l]).e,duration:(j.t-(l?R[l-1].t:0))/100*b})[p]=j.v,u.to(L,B,z),z+=B.duration;u.duration()<b&&u.to({},{duration:b-u.duration()})}}b||o.duration(b=u.duration())}else o.timeline=0;return!0!==C||s||(Dt=a(o),c.killTweensOf(L),Dt=0),Pe(I,a(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),(S||!b&&!E&&o._start===ce(I._time)&&N(S)&&Ce(a(o))&&"nested"!==I.data)&&(o._tTime=-v,o.render(Math.max(0,-x))),D&&Oe(a(o),D),o}o(t,e);var r=t.prototype;return r.render=function(e,t,r){var n,i,a,o,s,c,u,l,d,f=this._time,p=this._tDur,_=this._dur,m=e>p-v&&e>=0?p:e<v?0:e;if(_){if(m!==this._tTime||!e||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==e<0){if(n=m,l=this.timeline,this._repeat){if(o=_+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,r);if(n=ce(m%o),m===p?(a=this._repeat,n=_):((a=~~(m/o))&&a===m/o&&(n=_,a--),n>
1_&&(n=_)),(c=this._yoyo&&1&a)&&(d=this._yEase,n=_-n),s=Te(this._tTime,o),n===f&&!r&&this._initted)return this._tTime=m,this;a!==s&&(l&&this._yEase&&yt(l,c),!this.vars.repeatRefresh||c||this._lock||(this._lock=r=1,this.render(ce(o*a),!0).invalidate()._lock=0))}if(!this._initted){if(Fe(this,e<0?e:n,r,t))return this._tTime=0,this;if(f!==this._time)return this;if(_!==this._dur)return this.render(e,t,r)}if(this._tTime=m,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(d||this._ease)(n/_),this._from&&(this.ratio=u=1-u),n&&!f&&!t&&(rt(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(u,i.d),i=i._next;l&&l.render(e<0?e:!n&&c?-v:l._dur*l._ease(n/this._dur),t,r)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(e<0&&this._startAt&&this._startAt.render(e,!0,r),rt(this,"onUpdate")),this._repeat&&a!==s&&this.vars.onRepeat&&!t&&this.parent&&rt(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(e<0&&this._startAt&&!this._onUpdate&&this._startAt.render(e,!0,!0),(e||!_)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Se(this,1),t||e<0&&!f||!m&&!f||(rt(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&!(m<p&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,r,n){var i,a,o,s=e.ratio,c=t<0||!t&&(!e._start&&function e(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||e(r))}(e)&&(e._initted||!Me(e))||(e._ts<0||e._dp._ts<0)&&!Me(e))?0:1,u=e._rDelay,l=0;if(u&&e._repeat&&(l=qe(0,e._tDur,t),a=Te(l,u),e._yoyo&&1&a&&(c=1-c),a!==Te(e._tTime,u)&&(s=1-c,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 9,874 bytes, line 1
1date())),c!==s||n||e._zTime===v||!t&&e._zTime){if(!e._initted&&Fe(e,t,n,r))return;for(o=e._zTime,e._zTime=t||(r?v:0),r||(r=t&&!o),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=l,i=e._pt;i;)i.r(c,i.d),i=i._next;e._startAt&&t<0&&e._startAt.render(t,!0,!0),e._onUpdate&&!r&&rt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&rt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===c&&(c&&Se(e,1),r||(rt(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,r);return this},r.targets=function(){return this._targets},r.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),e.prototype.invalidate.call(this)},r.resetTo=function(e,t,r,n){m||ft.wake(),this._ts||this.play();var i=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Ot(this,i),function(e,t,r,n,i,a,o){var s,c,u,l=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!l)for(l=e._ptCache[t]=[],c=e._ptLookup,u=e._targets.length;u--;){if((s=c[u][t])&&s.d&&s.d._pt)for(s=s.d._pt;s&&s.p!==t;)s=s._next;if(!s)return At=1,e.vars[t]="+=0",Ot(e,o),At=0,1;l.push(s)}for(u=l.length;u--;)(s=l[u]).s=!n&&0!==n||i?s.s+(n||0)+a*s.c:n,s.c=r-s.s,s.e&&(s.e=se(r)+Ue(s.e)),s.b&&(s.b=s.s+Ue(s.b))}(this,e,t,r,n,this._ease(i/this._dur),i)?this.resetTo(e,t,r,n):(Ae(this,0),this.parent||be(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?nt(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Dt&&!0!==Dt.vars.overwrite)._first||nt(this),this.parent&&r!==this.timeline.totalDuration()&&Ie(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,a,o,s,c,u,l=this._targets,d=e?We(e):l,f=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0}(l,d))return"all"===t&&(this._pt=0),nt(this);for(n=this._op=this._op||[],"all"!==t&&(E(t)&&(s={},oe(t,function(e){return s[e]=1}),t=s),t=function(e,t){var r,n,i,a,o=e[0]?ie(e[0]).harness:0,s=o&&o.aliases;if(!s)return t;for(n in r=ge({},t),s)if(n in r)for(i=(a=s[n].split(",")).length;i--;)r[a[i]]=r[n];return r}(l,t)),u=l.length;u--;)if(~d.indexOf(l[u]))for(s in i=f[u],"all"===t?(n[u]=t,o=i,a={}):(a=n[u]=n[u]||{},o=t),o)(c=i&&i[s])&&("kill"in c.d&&!0!==c.d.kill(s)||xe(this,c,"_pt"),delete i[s]),"all"!==a&&(a[s]=1);return this._initted&&!this._pt&&p&&nt(this),this},t.to=function(e,r){return new t(e,r,arguments[2])},t.from=function(e,t){return Be(1,arguments)},t.delayedCall=function(e,r,n,i){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},t.fromTo=function(e,t,r){return Be(2,arguments)},t.set=function(e,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(e,r)},t.killTweensOf=function(e,t,r){return c.killTweensOf(e,t,r)},t}(Tt);me(Rt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),oe("staggerTo,staggerFrom,staggerFromTo",function(e){Rt[e]=function(){var t=new wt,r=Ve.call(arguments,0);return r.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,r)}});var jt=function(e,t,r){return e[t]=r},Bt=function(e,t,r){return e[t](r)},zt=function(e,t,r,n){return e[t](n.fp,r)},qt=function(e,t,r){return e.setAttribute(t,r)},Ut=function(e,t){return T(e[t])?Bt:D(e[t])&&e.setAttribute?qt:jt},Vt=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Jt=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Ht=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round(1e4*(r.s+r.c*e))/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Wt=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Kt=function(e,t,r,n){for(var i,a=this._pt;a;)i=a._next,a.p===n&&a.modifier(e,t,r),a=i},Gt=function(e){for(var t,r,n=this._pt;n;)r=n._next,n.p===e&&!n.op||n.op===e?xe(this,n,"_pt"):n.dep||(t=1),n=r;return!t},Xt=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Yt=function(e){for(var t,r,n,i,a=e._pt;a;){for(t=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:i)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:i=a,a=t}e._pt=n},$t=function(){function e(e,t,r,n,i,a,o,s,c){this.t=t,this.s=n,this.c=i,this.p=r,this.r=a||Vt,this.d=o||this,this.set=s||jt,this.pr=c||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,r){this.mSet=this.mSet||this.set,this.set=Xt,this.m=e,this.mt=r,this.tween=t},e}();oe(re+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return X[e]=1}),U.TweenMax=U.TweenLite=Rt,U.TimelineLite=U.TimelineMax=wt,c=new wt({sortChildren:!1,defaults:h,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),g.stringFilter=dt;var Qt={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(e){return function(e){var t=(e=!e.name&&e.default||e).name,r=T(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:G,render:Wt,add:Nt,kill:Gt,modifier:Kt,rawVars:0},a={targetTest:0,get:0,getSetter:Ut,aliases:{},register:0};if(pt(),e!==n){if(Q[t])return;me(n,me(ve(e,i),a)),ge(n.prototype,ge(i,ve(e,a))),Q[n.prop=t]=n,e.targetTest&&(te.push(n),X[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}K(t,n),e.register&&e.register(tr,n,$t)}(e)})},timeline:function(e){return new wt(e)},getTweensOf:function(e,t){return c.getTweensOf(e,t)},getProperty:function(e,t,r,n){E(e)&&(e=We(e)[0]);var i=ie(e||{}).get,a=r?_e:pe;return"native"===r&&(r=""),e?t?a((Q[t]&&Q[t].get||i)(e,t,r,n)):function(t,r,n){return a((Q[t]&&Q[t].get||i)(e,t,r,n))}:e},quickSetter:function(e,t,r){if((e=We(e)).length>1){var n=e.map(function(e){return tr.quickSetter(e,t,r)}),i=n.length;return function(e){for(var t=i;t--;)n[t](e)}}e=e[0]||{};var a=Q[t],o=ie(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var n=new a;_._pt=0,n.init(e,r?t+r:t,_,0,[e]),n.render(1,n),_._pt&&Wt(1,_)}:o.set(e,s);return a?c:function(t){return c(e,s,r?t+r:t,o,1)}},quickTo:function(e,t,r){var n,i=tr.to(e,ge(((n={})[t]="+=0.1",n.paused=!0,n),r||{})),a=function(e,r,n){return i.resetTo(t,e,r,n)};return a.tween=i,a},isTweening:function(e){return c.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=bt(e.ease,h.ease)),he(h,e||{})},config:function(e){return he(g,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,a=e.extendTimeline;(n||"").split(",").forEach(function(e){return e&&!Q[e]&&!U[e]&&W(t+" effect requires "+e+" plugin.")}),Z[t]=function(e,t,n){return r(We(e),me(t||{},i),n)},a&&(wt.prototype[t]=function(e,r,n){return this.add(Z[t](e,A(r)?r:(n=r)&&{},this),n)})},registerEase:function(e,t){_t[e]=bt(t)},parseEase:function(e,t){return arguments.length?bt(e,t):_t},getById:function(e){return c.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var r,n,i=new wt(e);for(i.smoothChildTiming=N(e.smoothChildTiming),c.remove(i),i._dp=0,i._time=i._tTime=c._time,r=c._first;r;)n=r._next,!t&&!r._dur&&r instanceof Rt&&r.vars.onComplete===r._targets[0]||Pe(i,r,r._start-r._delay),r=n;return Pe(c,i,0),i},utils:{wrap:function e(t,r,n){var i=r-t;return M(t)?Qe(t,e(0,t.length),r):ze(n,function(e){return(i+(e-t)%i)%i+t})},wrapYoyo:function e(t,r,n){var i=r-t,a=2*i;return M(t)?Qe(t,e(0,t.length-1),r):ze(n,function(e){return t+((e=(a+(e-t)%a)%a||0)>i?a-e:e)})},distribute:Ge,random:$e,snap:Ye,normalize:function(e,t,r){return et(e,t,0,1,r)},getUnit:Ue,clamp:function(e,t,r){return ze(r,function(r){return qe(e,t,r)})},splitColor:ot,toArray:We,selector:function(e){return e=We(e)[0]||W("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return We(t,r.querySelectorAll?r:r===e?W("Invalid scope")||d.createElement("div"):e)}},mapRange:et,pipe:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(r){return e(parseFloat(r))+(t||Ue(r))}},interpolate:function e(t,r,n,i){var a=isNaN(t+r)?0:function(e){return(1-e)*t+e*r};if(!a){var o,s,c,u,l,d=E(t),f={};if(!0===n&&(i=1)&&(n=null),d)t={p:t},r={p:r};else if(M(t)&&!M(r)){for(c=[],u=t.length,l=u-2,s=1;s<u;s++)c.push(e(t[s-1],t[s]));u--,a=function(e){e*=u;var t=Math.min(l,~~e);return c[t](e-t)},n=r}else i||(t=ge(M(t)?[]:{},t));if(!c){for(o in r)Nt.call(f,t,o,"get",r[o]);a=function(e){return Wt(e,f)||(d?t.p:t)}}}return ze(n,a)},shuffle:Ke},install:J,effects:Z,ticker:ft,updateRoot:wt.updateRoot,plugins:Q,globalTimeline:c,core:{PropTween:$t,globals:K,Tween:Rt,Timeline:wt,Animation:Tt,getCache:ie,_removeLinkedListItem:xe,suppressOverwrites:function(e){return s=e}}};oe("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return Qt[e]=Rt[e]}),ft.add(wt.updateRoot),_=Qt.to({},{duration:0});var Zt=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},er=function(e,t){return{name:e,rawVars:1,init:function(e,r,n){n._onInit=function(e){var n,i;if(E(r)&&(n={},oe(r,function(e){return n[e]=1}),r=n),t){for(i in n={},r)n[i]=t(r[i]);r=n}!function(e,t){var r,n,i,a=e._targets;for(r in t)for(n=a.length;n--;)(i=e._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=Zt(i,r)),i&&i.modifier&&i.modifier(t[r],e,a[n],r))}(e,r)}}}},tr=Qt.registerPlugin({name:"attr",init:function(e,t,r,n,i){var a,o;for(a in t)(o=this.add(e,"setAttribute",(e.getAttribute(a)||0)+"",t[a],n,i,0,0,a))&&(o.op=a),this._props.push(a)}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r])}},er("roundProps",Xe),er("modifiers"),er("snap",Ye))||Qt;
1Rt.version=wt.version=tr.version="3.10.4",f=1,P()&&pt();_t.Power0,_t.Power1,_t.Power2,_t.Power3,_t.Power4,_t.Linear,_t.Quad,_t.Cubic,_t.Quart,_t.Quint,_t.Strong,_t.Elastic,_t.Back,_t.SteppedEase,_t.Bounce,_t.Sine,_t.Expo,_t.Circ;var rr,nr,ir,ar,or,sr,cr,ur={},lr=180/Math.PI,dr=Math.PI/180,fr=Math.atan2,pr=/([A-Z])/g,_r=/(left|right|width|margin|padding|x)/i,mr=/[\s,\(]\S/,gr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},hr=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},vr=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},yr=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},br=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},xr=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Sr=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},kr=function(e,t,r){return e.style[t]=r},Cr=function(e,t,r){return e.style.setProperty(t,r)},Er=function(e,t,r){return e._gsap[t]=r},Tr=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},wr=function(e,t,r,n,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Dr=function(e,t,r,n,i){var a=e._gsap;a[t]=r,a.renderTransform(i,a)},Ar="transform",Nr=Ar+"Origin",Pr=function(e,t){var r=nr.createElementNS?nr.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):nr.createElement(e);return r.style?r:nr.createElement(e)},Or=function e(t,r,n){var i=getComputedStyle(t);return i[r]||i.getPropertyValue(r.replace(pr,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&e(t,Mr(r)||r,1)||""},Fr="O,Moz,ms,Ms,Webkit".split(","),Mr=function(e,t,r){var n=(t||or).style,i=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Fr[i]+e in n););return i<0?null:(3===i?"ms":i>=0?Fr[i]:"")+e},Ir=function(){"undefined"!==typeof window&&window.document&&(rr=window,nr=rr.document,ir=nr.documentElement,or=Pr("div")||{style:{}},Pr("div"),Ar=Mr(Ar),Nr=Ar+"Origin",or.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",cr=!!Mr("perspective"),ar=1)},Lr=function e(t){var r,n=Pr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,a=this.nextSibling,o=this.style.cssText;if(ir.appendChild(n),n.appendChild(this),this.style.display="block",t)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(s){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(a?i.insertBefore(this,a):i.appendChild(this)),ir.removeChild(n),this.style.cssText=o,r},Rr=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},jr=function(e){var t;try{t=e.getBBox()}catch(r){t=Lr.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Lr||(t=Lr.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+Rr(e,["x","cx","x1"])||0,y:+Rr(e,["y","cy","y1"])||0,width:0,height:0}},Br=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!jr(e))},zr=function(e,t){if(t){var r=e.style;t in ur&&t!==Nr&&(t=Ar),r.removeProperty?("ms"!==t.substr(0,2)&&"webkit"!==t.substr(0,6)||(t="-"+t),r.removeProperty(t.replace(pr,"-$1").toLowerCase())):r.removeAttribute(t)}},qr=function(e,t,r,n,i,a){var o=new $t(e._pt,t,r,0,1,a?Sr:xr);return e._pt=o,o.b=n,o.e=i,e._props.push(r),o},Ur={deg:1,rad:1,turn:1},Vr=function e(t,r,n,i){var a,o,s,c,u=parseFloat(n)||0,l=(n+"").trim().substr((u+"").length)||"px",d=or.style,f=_r.test(r),p="svg"===t.tagName.toLowerCase(),_=(p?"client":"offset")+(f?"Width":"Height"),m="px"===i,g="%"===i;return i===l||!u||Ur[i]||Ur[l]?u:("px"!==l&&!m&&(u=e(t,r,n,"px")),c=t.getCTM&&Br(t),!g&&"%"!==l||!ur[r]&&!~r.indexOf("adius")?(d[f?"width":"height"]=100+(m?l:i),o=~r.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,c&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==nr&&o.appendChild||(o=nr.body),(s=o._gsap)&&g&&s.width&&f&&s.time===ft.time?se(u/s.width*100):((g||"%"===l)&&(d.position=Or(t,"position")),o===t&&(d.position="static"),o.appendChild(or),a=or[_],o.removeChild(or),d.position="absolute",f&&g&&((s=ie(o)).time=ft.time,s.width=o[_]),se(m?a*u/100:a&&u?100/a*u:0))):(a=c?t.getBBox()[f?"width":"height"]:t[_],se(g?u/a*100:u/100*a)))},Jr=function(e,t,r,n){var i;return ar||Ir(),t in gr&&"transform"!==t&&~(t=gr[t]).indexOf(",")&&(t=t.
vendor: 8,173 bytes, line 1
1split(",")[0]),ur[t]&&"transform"!==t?(i=rn(e,n),i="transformOrigin"!==t?i[t]:i.svg?i.origin:nn(Or(e,Nr))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Xr[t]&&Xr[t](e,t,r)||Or(e,t)||ae(e,t)||("opacity"===t?1:0)),r&&!~(i+"").trim().indexOf(" ")?Vr(e,t,i,r)+r:i},Hr=function(e,t,r,n){if(!r||"none"===r){var i=Mr(t,e,1),a=i&&Or(e,i,1);a&&a!==r?(t=i,r=a):"borderColor"===t&&(r=Or(e,"borderTopColor"))}var o,s,c,u,l,d,f,p,_,m,h,v=new $t(this._pt,e.style,t,0,1,Ht),y=0,b=0;if(v.b=r,v.e=n,r+="","auto"===(n+="")&&(e.style[t]=n,n=Or(e,t)||n,e.style[t]=r),dt(o=[r,n]),n=o[1],c=(r=o[0]).match(R)||[],(n.match(R)||[]).length){for(;s=R.exec(n);)f=s[0],_=n.substring(y,s.index),l?l=(l+1)%5:"rgba("!==_.substr(-5)&&"hsla("!==_.substr(-5)||(l=1),f!==(d=c[b++]||"")&&(u=parseFloat(d)||0,h=d.substr((u+"").length),"="===f.charAt(1)&&(f=ue(u,f)+h),p=parseFloat(f),m=f.substr((p+"").length),y=R.lastIndex-m.length,m||(m=m||g.units[t]||h,y===n.length&&(n+=m,v.e+=m)),h!==m&&(u=Vr(e,t,d,m)||0),v._pt={_next:v._pt,p:_||1===b?_:",",s:u,c:p-u,m:l&&l<4||"zIndex"===t?Math.round:0});v.c=y<n.length?n.substring(y,n.length):""}else v.r="display"===t&&"none"===n?Sr:xr;return B.test(n)&&(v.e=0),this._pt=v,v},Wr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Kr=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(e=r,r=n,n=e),t[0]=Wr[r]||r,t[1]=Wr[n]||n,t.join(" ")},Gr=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r,n,i,a=t.t,o=a.style,s=t.u,c=a._gsap;if("all"===s||!0===s)o.cssText="",n=1;else for(i=(s=s.split(",")).length;--i>-1;)r=s[i],ur[r]&&(n=1,r="transformOrigin"===r?Nr:Ar),zr(a,r);n&&(zr(a,Ar),c&&(c.svg&&a.removeAttribute("transform"),rn(a,1),c.uncache=1))}},Xr={clearProps:function(e,t,r,n,i){if("isFromStart"!==i.data){var a=e._pt=new $t(e._pt,t,r,0,0,Gr);return a.u=n,a.pr=-10,a.tween=i,e._props.push(r),1}}},Yr=[1,0,0,1,0,0],$r={},Qr=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},Zr=function(e){var t=Or(e,Ar);return Qr(t)?Yr:t.substr(7).match(L).map(se)},en=function(e,t){var r,n,i,a,o=e._gsap||ie(e),s=e.style,c=Zr(e);return o.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(c=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Yr:c:(c!==Yr||e.offsetParent||e===ir||o.svg||(i=s.display,s.display="block",(r=e.parentNode)&&e.offsetParent||(a=1,n=e.nextSibling,ir.appendChild(e)),c=Zr(e),i?s.display=i:zr(e,"display"),a&&(n?r.insertBefore(e,n):r?r.appendChild(e):ir.removeChild(e))),t&&c.length>6?[c[0],c[1],c[4],c[5],c[12],c[13]]:c)},tn=function(e,t,r,n,i,a){var o,s,c,u=e._gsap,l=i||en(e,!0),d=u.xOrigin||0,f=u.yOrigin||0,p=u.xOffset||0,_=u.yOffset||0,m=l[0],g=l[1],h=l[2],v=l[3],y=l[4],b=l[5],x=t.split(" "),S=parseFloat(x[0])||0,k=parseFloat(x[1])||0;r?l!==Yr&&(s=m*v-g*h)&&(c=S*(-g/s)+k*(m/s)-(m*b-g*y)/s,S=S*(v/s)+k*(-h/s)+(h*b-v*y)/s,k=c):(S=(o=jr(e)).x+(~x[0].indexOf("%")?S/100*o.width:S),k=o.y+(~(x[1]||x[0]).indexOf("%")?k/100*o.height:k)),n||!1!==n&&u.smooth?(y=S-d,b=k-f,u.xOffset=p+(y*m+b*h)-y,u.yOffset=_+(y*g+b*v)-b):u.xOffset=u.yOffset=0,u.xOrigin=S,u.yOrigin=k,u.smooth=!!n,u.origin=t,u.originIsAbsolute=!!r,e.style[Nr]="0px 0px",a&&(qr(a,u,"xOrigin",d,S),qr(a,u,"yOrigin",f,k),qr(a,u,"xOffset",p,u.xOffset),qr(a,u,"yOffset",_,u.yOffset)),e.setAttribute("data-svg-origin",S+" "+k)},rn=function(e,t){var r=e._gsap||new Et(e);if("x"in r&&!t&&!r.uncache)return r;var n,i,a,o,s,c,u,l,d,f,p,_,m,h,v,y,b,x,S,k,C,E,T,w,D,A,N,P,O,F,M,I,L=e.style,R=r.scaleX<0,j=Or(e,Nr)||"0";return n=i=a=c=u=l=d=f=p=0,o=s=1,r.svg=!(!e.getCTM||!Br(e)),h=en(e,r.svg),r.svg&&(w=(!r.uncache||"0px 0px"===j)&&!t&&e.getAttribute("data-svg-origin"),tn(e,w||j,!!w||r.originIsAbsolute,!1!==r.smooth,h)),_=r.xOrigin||0,m=r.yOrigin||0,h!==Yr&&(x=h[0],S=h[1],k=h[2],C=h[3],n=E=h[4],i=T=h[5],6===h.length?(o=Math.sqrt(x*x+S*S),s=Math.sqrt(C*C+k*k),c=x||S?fr(S,x)*lr:0,(d=k||C?fr(k,C)*lr+c:0)&&(s*=Math.abs(Math.cos(d*dr))),r.svg&&(n-=_-(_*x+m*k),i-=m-(_*S+m*C))):(I=h[6],F=h[7],N=h[8],P=h[9],O=h[10],M=h[11],n=h[12],i=h[13],a=h[14],u=(v=fr(I,O))*lr,v&&(w=E*(y=Math.cos(-v))+N*(b=Math.sin(-v)),D=T*y+P*b,A=I*y+O*b,N=E*-b+N*y,P=T*-b+P*y,O=I*-b+O*y,M=F*-b+M*y,E=w,T=D,I=A),l=(v=fr(-k,O))*lr,v&&(y=Math.cos(-v),M=C*(b=Math.sin(-v))+M*y,x=w=x*y-N*b,S=D=S*y-P*b,k=A=k*y-O*b),c=(v=fr(S,x))*lr,v&&(w=x*(y=Math.cos(v))+S*(b=Math.sin(v)),D=E*y+T*b,S=S*y-x*b,T=T*y-E*b,x=w,E=D),u&&Math.abs(u)+Math.abs(c)>359.9&&(u=c=0,l=180-l),o=se(Math.sqrt(x*x+S*S+k*k)),s=se(Math.sqrt(T*T+I*I)),v=fr(E,T),d=Math.abs(v)>2e-4?v*lr:0,p=M?1/(M<0?-M:M):0),r.svg&&(w=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Qr(Or(e,Ar)),w&&e.setAttribute("transform",w))),Math.abs(d)>90&&Math.abs(d)<270&&(R?(o*=-1,d+=c<=0?180:-180,c+=c<=0?180:-180):(s*=-1,d+=d<=0?180:-180)),t=t||r.uncache,r.x=n-((r.xPercent=n&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+"px",r.z=a+"px",r.scaleX=se(o),r.scaleY=se(s),r.rotation=se(c)+"deg",r.rotationX=se(u)+"deg",r.rotationY=se(l)+"deg",r.skewX=d+"deg",r.skewY=f+"deg",r.transformPerspective=p+"px",(r.zOrigin=parseFloat(j.split(" ")[2])||0)&&(L[Nr]=nn(j)),r.xOffset=r.yOffset=0,r.force3D=g.force3D,r.renderTransform=r.svg?cn:cr?sn:on,r.uncache=0,r},nn=function(e){return(e=e.split(" "))[0]+" "+e[1]},an=function(e,t,r){var n=Ue(t);return se(parseFloat(t)+parseFloat(Vr(e,"x",r+"px",n)))+n},on=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,sn(e,t)},sn=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,a=r.x,o=r.y,s=r.z,c=r.rotation,u=r.rotationY,l=r.rotationX,d=r.skewX,f=r.skewY,p=r.scaleX,_=r.scaleY,m=r.transformPerspective,g=r.force3D,h=r.target,v=r.zOrigin,y="",b="auto"===g&&e&&1!==e||!0===g;if(v&&("0deg"!==l||"0deg"!==u)){var x,S=parseFloat(u)*dr,k=Math.sin(S),C=Math.cos(S);S=parseFloat(l)*dr,x=Math.cos(S),a=an(h,a,k*x*-v),o=an(h,o,-Math.sin(S)*-v),s=an(h,s,C*x*-v+v)}"0px"!==m&&(y+="perspective("+m+") "),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(b||"0px"!==a||"0px"!==o||"0px"!==s)&&(y+="0px"!==s||b?"translate3d("+a+", "+o+", "+s+") ":"translate("+a+", "+o+") "),"0deg"!==c&&(y+="rotate("+c+") "),"0deg"!==u&&(y+="rotateY("+u+") "),"0deg"!==l&&(y+="rotateX("+l+") "),"0deg"===d&&"0deg"===f||(y+="skew("+d+", "+f+") "),1===p&&1===_||(y+="scale("+p+", "+_+") "),h.style[Ar]=y||"translate(0, 0)"},cn=function(e,t){var r,n,i,a,o,s=t||this,c=s.xPercent,u=s.yPercent,l=s.x,d=s.y,f=s.rotation,p=s.skewX,_=s.skewY,m=s.scaleX,g=s.scaleY,h=s.target,v=s.xOrigin,y=s.yOrigin,b=s.xOffset,x=s.yOffset,S=s.forceCSS,k=parseFloat(l),C=parseFloat(d);f=parseFloat(f),p=parseFloat(p),(_=parseFloat(_))&&(p+=_=parseFloat(_),f+=_),f||p?(f*=dr,p*=dr,r=Math.cos(f)*m,n=Math.sin(f)*m,i=Math.sin(f-p)*-g,a=Math.cos(f-p)*g,p&&(_*=dr,o=Math.tan(p-_),i*=o=Math.sqrt(1+o*o),a*=o,_&&(o=Math.tan(_),r*=o=Math.sqrt(1+o*o),n*=o)),r=se(r),n=se(n),i=se(i),a=se(a)):(r=m,a=g,n=i=0),(k&&!~(l+"").indexOf("px")||C&&!~(d+"").indexOf("px"))&&(k=Vr(h,"x",l,"px"),C=Vr(h,"y",d,"px")),(v||y||b||x)&&(k=se(k+v-(v*r+y*i)+b),C=se(C+y-(v*n+y*a)+x)),(c||u)&&(o=h.getBBox(),k=se(k+c/100*o.width),C=se(C+u/100*o.height)),o="matrix("+r+","+n+","+i+","+a+","+k+","+C+")",h.setAttribute("transform",o),S&&(h.style[Ar]=o)},un=function(e,t,r,n,i){var a,o,s=E(i),c=parseFloat(i)*(s&&~i.indexOf("rad")?lr:1)-n,u=n+c+"deg";return s&&("short"===(a=i.split("_")[1])&&(c%=360)!==c%180&&(c+=c<0?360:-360),"cw"===a&&c<0?c=(c+36e9)%360-360*~~(c/360):"ccw"===a&&c>0&&(c=(c-36e9)%360-360*~~(c/360))),e._pt=o=new $t(e._pt,t,r,n,c,vr),o.e=u,o.u="deg",e._props.push(r),o},ln=function(e,t){for(var r in t)e[r]=t[r];return e},dn=function(e,t,r){var n,i,a,o,s,c,u,l=ln({},r._gsap),d=r.style;for(i in l.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),d[Ar]=t,n=rn(r,1),zr(r,Ar),r.setAttribute("transform",a)):(a=getComputedStyle(r)[Ar],d[Ar]=t,n=rn(r,1),d[Ar]=a),ur)(a=l[i])!==(o=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(s=Ue(a)!==(u=Ue(o))?Vr(r,i,a,u):parseFloat(a),c=parseFloat(o),e._pt=new $t(e._pt,
1n,i,s,c-s,hr),e._pt.u=u||0,e._props.push(i));ln(n,l)};oe("padding,margin,Width,Radius",function(e,t){var r="Top",n="Right",i="Bottom",a="Left",o=(t<3?[r,n,i,a]:[r+a,r+n,i+n,i+a]).map(function(r){return t<2?e+r:"border"+r+e});Xr[t>1?"border"+e:e]=function(e,t,r,n,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Jr(e,t,r)}),5===(s=a.join(" ")).split(a[0]).length?a[0]:s;a=(n+"").split(" "),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var fn={name:"css",register:Ir,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var a,o,s,c,u,l,d,f,p,_,m,h,v,y,b,x=this._props,S=e.style,k=r.vars.startAt;for(d in ar||Ir(),t)if("autoRound"!==d&&(o=t[d],!Q[d]||!Pt(d,t,r,n,e,i)))if(u=typeof o,l=Xr[d],"function"===u&&(u=typeof(o=o.call(r,n,e,i))),"string"===u&&~o.indexOf("random(")&&(o=Ze(o)),l)l(this,e,d,o,r)&&(b=1);else if("--"===d.substr(0,2))a=(getComputedStyle(e).getPropertyValue(d)+"").trim(),o+="",ut.lastIndex=0,ut.test(a)||(f=Ue(a),p=Ue(o)),p?f!==p&&(a=Vr(e,d,a,p)+p):f&&(o+=f),this.add(S,"setProperty",a,o,n,i,0,0,d),x.push(d);else if("undefined"!==u){if(k&&d in k?(a="function"===typeof k[d]?k[d].call(r,n,e,i):k[d],E(a)&&~a.indexOf("random(")&&(a=Ze(a)),Ue(a+"")||(a+=g.units[d]||Ue(Jr(e,d))||""),"="===(a+"").charAt(1)&&(a=Jr(e,d))):a=Jr(e,d),c=parseFloat(a),(_="string"===u&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),s=parseFloat(o),d in gr&&("autoAlpha"===d&&(1===c&&"hidden"===Jr(e,"visibility")&&s&&(c=0),qr(this,S,"visibility",c?"inherit":"hidden",s?"inherit":"hidden",!s)),"scale"!==d&&"transform"!==d&&~(d=gr[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in ur)if(h||((v=e._gsap).renderTransform&&!t.parseTransform||rn(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(h=this._pt=new $t(this._pt,S,Ar,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new $t(this._pt,v,"scaleY",v.scaleY,(_?ue(v.scaleY,_+s):s)-v.scaleY||0),x.push("scaleY",d),d+="X";else{if("transformOrigin"===d){o=Kr(o),v.svg?tn(e,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&qr(this,v,"zOrigin",v.zOrigin,p),qr(this,S,d,nn(a),nn(o)));continue}if("svgOrigin"===d){tn(e,o,1,y,0,this);continue}if(d in $r){un(this,v,d,c,_?ue(c,_+o):o);continue}if("smoothOrigin"===d){qr(this,v,"smooth",v.smooth,o);continue}if("force3D"===d){v[d]=o;continue}if("transform"===d){dn(this,o,e);continue}}else d in S||(d=Mr(d)||d);if(m||(s||0===s)&&(c||0===c)&&!mr.test(o)&&d in S)s||(s=0),(f=(a+"").substr((c+"").length))!==(p=Ue(o)||(d in g.units?g.units[d]:f))&&(c=Vr(e,d,a,p)),this._pt=new $t(this._pt,m?v:S,d,c,(_?ue(c,_+s):s)-c,m||"px"!==p&&"zIndex"!==d||!1===t.autoRound?hr:br),this._pt.u=p||0,f!==p&&"%"!==p&&(this._pt.b=a,this._pt.r=yr);else if(d in S)Hr.call(this,e,d,a,_?_+o:o);else{if(!(d in e)){H(d,o);continue}this.add(e,d,a||e[d],_?_+o:o,n,i)}x.push(d)}b&&Yt(this)},get:Jr,aliases:gr,getSetter:function(e,t,r){var n=gr[t];return n&&n.indexOf(",")<0&&(t=n),t in ur&&t!==Nr&&(e._gsap.x||Jr(e,"x"))?r&&sr===r?"scale"===t?Tr:Er:(sr=r||{})&&("scale"===t?wr:Dr):e.style&&!D(e.style[t])?kr:~t.indexOf("-")?Cr:Ut(e,t)},core:{_removeProperty:zr,_getMatrix:en}};tr.utils.checkPrefix=Mr,function(e,t,r,n){var i=oe("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+t+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){ur[e]=1});oe(t,function(e){g.units[e]="deg",$r[e]=1}),gr[i[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+t,oe("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");gr[t[1]]=i[t[0]]})}(0,"rotation,rotationX,rotationY,skewX,skewY"),oe("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){g.units[e]="px"}),tr.registerPlugin(fn);var pn,_n=tr.registerPlugin(fn)||tr,mn=(_n.core.Tween,r(360)),gn=r(361);function hn(){return(hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yn(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function bn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sn(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"===typeof e)return xn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xn(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}r.d(t,"a",function(){return Hn}),r.d(t,"b",function(){return Vn}),function(e){e.play="play",e.restart="restart",e.reverse="reverse",e.restartReverse="restartReverse",e.stop="stop",e.stopEnd="stopEnd",e.pause="pause",e.resume="resume"}(pn||(pn={})),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.indexOf(e,t)===t});var kn=function(e,t,r){void 0===r&&(r=null),r&&e&&e!==t&&(e===pn.play?r.play():e===pn.restart?r.restart(!0):e===pn.reverse?r.reverse():e===pn.restartReverse?r.reverse(0):e===pn.stop?r.pause(0):e===pn.stopEnd?(r.reverse(0),r.pause()):e===pn.pause?r.pause():e===pn.resume&&r.resume())},Cn=function(e,t){var r=t.playState;r&&kn(r,pn.play,e)},En=function(e){return e&&(e===pn.stop||e===pn.stopEnd||e===pn.pause)},Tn=function(e,t,r){var n,i,a=t.duration,o=void 0===a?1:a,s=t.from,c=t.to,u=t.stagger,l=t.playState,d=t.onCompleteAll,f=t.onCompleteAllParams,p=t.onCompleteAllScope,_=t.onStartAll,m=yn(t,["children","wrapper","duration","from","to","stagger","progress","totalProgress","playState","disabled","onlyInvalidateTo","onCompleteAll","onCompleteAllParams","onCompleteAllScope","onStartAll","position","target"]),g=En(l),h=null!==(n=null===r||void 0===r?void 0:r.getPlugins(null===r||void 0===r?void 0:r.plugins,e))&&void 0!==n?n:{};return i=s&&c?_n.fromTo(e,s,hn({stagger:u,duration:o,paused:g},c,m,h)):c?_n.to(e,hn({stagger:u,duration:o,paused:g},c,m,h)):_n.from(e,hn({stagger:u,duration:o,paused:g},s,m,h)),Array.isArray(i)&&(i.forEach(function(e){e.paused(!1)}),i=_n.timeline(hn({},m,{tweens:i,smoothChildTiming:!0,onComplete:d,onCompleteParams:f,onCompleteScope:p,onStart:_}))),i};var wn,Dn,An,Nn=function(e,t,r){var n=function(e,t){void 0===t&&(t=0);var r=Object.keys(null!==e&&void 0!==e?e:{}).find(function(e){return e.startsWith("__reactInternalInstance$")||e.startsWith("__reactFiber$")}),n=r&&e[r];if(!n)return null;if(n._currentElement){for(var i=n._currentElement._owner,a=0;a<t;a++)i=i._currentElement._owner;return i._instance}if(n.stateNode)return n.stateNode;for(var o=function(e){for(var t=e.return;"string"==typeof t.type;)t=t.return;return t},s=o(n),c=0;c<t;c++)s=o(s);return s.stateNode}(e);n?r(n):e&&Object.keys(e).forEach(function(r){var n=e[r];"object"===typeof n&&n.current&&(Array.isArray(n.current)?n.current.forEach(function(e){t(r,e)}):t(r,n.current))})},Pn=function(e,t){return null===e||"undefined"===typeof e?t:e},On=function(e,t,r){void 0!==t.progress&&t.progress!==(null===r||void 0===r?void 0:r.progress)&&e.progress(t.progress),void 0!==t.totalProgress&&t.totalProgress!==(null===r||void 0===r?void 0:r.totalProgress)&&e.totalProgress(t.totalProgress),void 0!==e.duration&&t.duration&&t.duration!==(null===r||void 0===r?void 0:r.duration)&&e.duration(t.duration)},Fn=i.a.createContext({registerConsumer:function(){},getPlugins:function(){},plugins:{}}),Mn=function(e){function t(t){var r;return(r=e.call(this,t)||this).consumers=[],r.plugins={},r.registerConsumer=r.registerConsumer.bind(bn(r)),r.getContextValue=r.getContextValue.bind(bn(r)),r.getPlugin=r.getPlugin.bind(bn(r)),r.getPlugins=r.getPlugins.bind(bn(r)),r.renderWithProvider=r.renderWithProvider.bind(bn(r)),r}vn(t,e);var r=t.prototype;return r.registerConsumer=function(e){this.consumers.push(e)},r.getContextValue=function(e){return void 0===e&&(e={}),{registerConsumer:this.registerConsumer,plugins:e,getPlugins:this.getPlugins}},r.getPlugin=function(e,t){return{}},r.getPlugins=function(e,t){var r=this;return Object.keys(null!==e&&void 0!==e?e:{}).reduce(function(n,i){var a;return Object.prototype.hasOwnProperty.call(e,i)?hn({},n,((a={})[i]=r.getPlugin(e[i],t),a)):n},{})},r.renderWithProvider=function(e,t){return i.a.createElement(Fn.Provider,{value:this.getContextValue(t)},e)},t}(i.a.Component);Mn.contextType=Fn;function In(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Ln(e){for(var t=e.points,r=0,n=void 0,i=0;i<t.numberOfItems;i++){var a=t.getItem(i);n&&(r+=In(n,a)),n=a}return r}function Rn(e){if(e.getTotalLength)return function(e){if(!e.hasAttribute("d"))return e.getTotalLength();var t=e.getAttribute("d"),r=t?t.replace(/m/gi,"M"):null;if(!r)return e.getTotalLength();var n=r.split("M").filter(function(e){return""!==e}).map(function(e){return"M"+e});if(1===n.length)return e.getTotalLength();var i=0;
1return n.forEach(function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","path");t.setAttribute("d",e),i=Math.max(i,t.getTotalLength())}),i}(e);switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*parseFloat(Pn(e.getAttribute("r"),"1")||"0")}(e);case"rect":return function(e){return 2*parseFloat(Pn(e.getAttribute("width"),"1")||"0")+2*parseFloat(Pn(e.getAttribute("height"),"1")||"0")}(e);case"line":return function(e){return In({x:parseFloat(Pn(e.getAttribute("x1"),"1")||"0"),y:parseFloat(Pn(e.getAttribute("y1"),"1")||"0")},{x:parseFloat(Pn(e.getAttribute("x2"),"1")||"0"),y:parseFloat(Pn(e.getAttribute("y2"),"1")||"0")})}(e);case"polyline":return Ln(e);case"polygon":return function(e){var t=e.points;return Ln(e)+In(t.getItem(t.numberOfItems-1),t.getItem(0))}(e);default:return 0}}var jn,Bn,zn,qn={version:"2.0.0",name:"svgDraw",register:function(e,t,r){Dn=(wn=e).utils.interpolate,An=wn.getProperty},init:function(e,t,r,n,i){var a=Rn(e),o=t,s=0;Array.isArray(t)&&(o=t[0],t.length>=2&&(s=-1*t[1]));this.target=e,this.strokeDashoffset=Dn(An(e,"stroke-dashoffset"),a*s),this.strokeDasharray=Dn(An(e,"stroke-dasharray"),[o*a,a])},render:function(e,t){t.target.setAttribute("stroke-dashoffset",t.strokeDashoffset(e)),t.target.setAttribute("stroke-dasharray",t.strokeDasharray(e))}};(wn||"undefined"!==typeof window&&(wn=window.gsap)&&wn.registerPlugin&&wn)&&wn.registerPlugin(qn);var Un={version:"1.0.0",name:"count",register:function(e,t,r){Bn=(jn=e).utils.interpolate,zn=function(e){return parseInt(e.toString(),10)}},init:function(e,t,r,n,i){var a=t,o=zn;"object"===typeof t&&(a=Pn(t.value,0),t.format&&(o=t.format));var s=parseFloat(e.innerText);this.target=e,this.count=Bn(s,parseFloat(a.toString())),this.format=o},render:function(e,t){t.target.innerText=t.format(t.count(e))}};(jn||"undefined"!==typeof window&&(jn=window.gsap)&&jn.registerPlugin&&jn)&&jn.registerPlugin(Un),_n.registerPlugin(qn),_n.registerPlugin(Un);var Vn=function(e){function t(t){var r;return(r=e.call(this,t)||this).targets=[],r.addTarget=r.addTarget.bind(bn(r)),r}vn(t,e);var r=t.prototype;return r.componentDidMount=function(){this.createTween(),On(this.tween,this.props),Cn(this.tween,this.props),this.context.registerConsumer(this)},r.componentWillUnmount=function(){this.tween&&this.tween.kill()},r.getSnapshotBeforeUpdate=function(){return this.targets=[],null},r.componentDidUpdate=function(e){var t=this.props,r=t.children,n=t.to,a=t.playState,o=t.disabled,s=t.onlyInvalidateTo,c=yn(t,["children","wrapper","duration","from","to","stagger","progress","totalProgress","playState","disabled","onlyInvalidateTo","onCompleteAll","onCompleteAllParams","onCompleteAllScope","onStartAll","position","target"]);if(i.a.Children.count(e.children)!==i.a.Children.count(r)&&this.createTween(),!o){if(On(this.tween,this.props,e),l=n,d=e.to,JSON.stringify(l)!==JSON.stringify(d)){if(this.tween.getChildren){this.tween.getChildren(!1,!0,!1).forEach(function(e){e.vars=hn({},n,c,{delay:0}),e.invalidate()})}else if(this.tween.vars=hn({},n,c),s){var u=this.tween.progress();this.tween.progress(0).invalidate().progress(u)}else this.tween.invalidate();this.tween.paused()||this.tween.restart()}var l,d;kn(a,e.playState,this.tween)}},r.createTween=function(){this.tween&&this.tween.kill(),this.props.children?this.tween=Tn(this.targets,this.props,this.context):this.tween=function(){}},r.getGSAP=function(){return this.tween},r.setGSAP=function(e){this.tween=e},r.addTarget=function(e){null!==e&&this.targets.push(e)},r.getTargets=function(){return this.targets},r.render=function(){var e=this,t=this.props,r=t.children,a=t.wrapper,o=i.a.createElement(n.Fragment,null,i.a.Children.map(r,function(t){return i.a.cloneElement(t,function(e,t){return e.props.innerRef?{innerRef:function(r){t(r);var n=e.props.innerRef;"function"===typeof n?n(r):n&&(n.current=r)}}:{ref:function(r){t(r);var n=e.ref;"function"===typeof n?n(r):n&&(n.current=r)}}}(t,e.addTarget))}));return a?i.a.cloneElement(a,[],o):o},t}(i.a.Component);Vn.displayName="Tween",Vn.contextType=Fn;var Jn,Hn=function(e){function t(t){var r;return(r=e.call(this,t)||this).targets=new Map,r.addTarget=r.addTarget.bind(bn(r)),r.setTarget=r.setTarget.bind(bn(r)),r}vn(t,e);var r=t.prototype;return r.componentDidMount=function(){this.createTimeline(),On(this.timeline,this.props),Cn(this.timeline,this.props),this.context.registerConsumer(this)},r.componentWillUnmount=function(){this.timeline.kill()},r.getSnapshotBeforeUpdate=function(){return this.targets=new Map,null},r.componentDidUpdate=function(e){var t=this.props,r=t.children,n=t.playState;i.a.Children.count(e.children)!==i.a.Children.count(r)&&this.createTimeline(),On(this.timeline,this.props,e),kn(n,e.playState,this.timeline)},r.createTimeline=function(){var e,t,r,n=this,i=this.props,a=i.playState,o=i.labels,s=yn(i,["children","target","duration","progress","totalProgress","playState","labels","position"]);this.timeline&&this.timeline.kill();var c=null!==(e=null===(t=this.context)||void 0===t?void 0:t.getPlugins(null===(r=this.context)||void 0===r?void 0:r.plugins,this.targets))&&void 0!==e?e:{};this.timeline=_n.timeline(hn({smoothChildTiming:!0,paused:En(a)},s,c)),o&&o.forEach(function(e){n.timeline.addLabel(e.label,e.position)}
1),this.consumers.forEach(function(e){if(e.tween&&!e.props.children){var t=e.props,r=t.position,i=t.target,a=t.stagger,o=yn(t,["position","target","stagger"]),s=null;null!==i&&"undefined"!==typeof i&&(s=n.targets.get(i));var c=Tn(Pn(s,Array.from(n.targets.values())),hn({stagger:a},o));n.timeline.add(c,Pn(r,"+=0")),e.setGSAP(c)}else{var u=e.props.position;n.timeline.add(e.getGSAP(),Pn(u,"+=0"))}})},r.getGSAP=function(){return this.timeline},r.addTarget=function(e){null!==e&&this.targets.set(this.targets.size,e)},r.setTarget=function(e,t){if(null!==t)if(this.targets.has(e)){var r=this.targets.get(e);Array.isArray(r)?this.targets.set(e,[].concat(r,[t])):this.targets.set(e,[r,t])}else this.targets.set(e,t)},r.setTargets=function(e){this.targets=e},r.getTargets=function(){return this.targets},r.cloneElement=function(e){return i.a.cloneElement(e,function(e,t,r){return e.props.innerRef?{innerRef:function(n){Nn(n,t,r);var i=e.props.innerRef;"function"===typeof i?i(n):i&&(i.current=n)}}:{ref:function(n){Nn(n,t,r);var i=e.ref;"function"===typeof i?i(n):i&&(i.current=n)}}}(e,this.setTarget,this.addTarget))},r.renderTarget=function(e){var t=this;return e?Object(mn.isForwardRef)(e)?this.cloneElement(e):i.a.createElement(n.Fragment,null,i.a.Children.map(e,function(e){return Object(mn.isFragment)(e)?i.a.Children.map(e.props.children,function(e){return t.cloneElement(e)}):t.cloneElement(e)})):null},r.render=function(){var e=this.props,t=e.target,r=e.children,a=e.wrapper,o=this.renderTarget(t),s=i.a.createElement(n.Fragment,null,o,r);return a&&(s=i.a.cloneElement(a,[],s)),this.renderWithProvider(s)},t}(Mn);Hn.displayName="Timeline",Hn.defaultProps={playState:pn.play},function(e){e[e.unknown=0]="unknown",e[e.entered=1]="entered",e[e.exited=2]="exited"}(Jn||(Jn={}));var Wn=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).triggerRef=null,t.observer=null,t.intersectionObserverCallback=function(e){for(var r,n=t.props,i=n.repeat,a=n.threshold,o=Jn.unknown,s=Sn(e);!(r=s()).done;){var c=r.value;if(c.isIntersecting&&c.intersectionRatio>=a){t.timeline.play(),o=Jn.entered;break}if(!c.isIntersecting){o=Jn.exited;break}}i||o!==Jn.entered?i&&o===Jn.exited&&t.timeline.pause(0):t.killIntersectionObserver()},t}vn(t,e);var r=t.prototype;return r.init=function(){this.createTimeline(),this.createIntersectionObserver()},r.kill=function(){this.killTimeline(),this.killIntersectionObserver()},r.componentDidMount=function(){this.init()},r.componentWillUnmount=function(){this.kill()},r.componentDidUpdate=function(e){var t=this.props,r=t.children,n=t.trigger;i.a.Children.count(e.children)!==i.a.Children.count(r)&&this.init(),e.trigger!==n&&this.init()},r.createTimeline=function(){var e=this;this.killTimeline(),this.timeline=_n.timeline({smoothChildTiming:!0,paused:!0}),this.consumers.forEach(function(t){var r=t.props.position;e.timeline.add(t.getGSAP().play(),Pn(r,0))})},r.killTimeline=function(){this.timeline&&this.timeline.kill()},r.createIntersectionObserver=function(){var e=this,t=this.props,r={root:t.root,rootMargin:t.rootMargin,threshold:[0,t.threshold]};this.observer=new IntersectionObserver(this.intersectionObserverCallback,r),this.triggerRef?this.observer&&this.observer.observe(this.triggerRef):this.consumers.forEach(function(t){t.getTargets().forEach(function(t){e.observer&&e.observer.observe(t)})})},r.killIntersectionObserver=function(){this.unobserveAll(),this.observer=null},r.unobserveAll=function(){var e=this;this.observer&&(this.triggerRef?this.observer&&this.observer.unobserve(this.triggerRef):this.consumers.forEach(function(t){t.getTargets().forEach(function(t){e.observer&&e.observer.unobserve(t)})}))},r.getGSAP=function(){return this.timeline},r.render=function(){var e=this,t=this.props,r=t.children,n=t.trigger,a=n?i.a.createElement(n.type,Object.assign({},n.props,{ref:function(t){return e.triggerRef=t}}),r):r;return this.renderWithProvider(a)},t}(Mn);Wn.displayName="Reveal",Wn.defaultProps={trigger:null,repeat:!1,root:null,rootMargin:"0px",threshold:.66},_n.registerPlugin(gn.ScrollTrigger);var Kn=function(e){function t(t){var r;return(r=e.call(this,t)||this).scrollTrigger=null,r.targets={},r.getPlugin=r.getPlugin.bind(bn(r)),r}vn(t,e);var r=t.prototype;return r.registerConsumer=function(e){this.context.registerConsumer(e)},r.componentDidMount=function(){var e=this.props,t=e.children,r=yn(e,["children"]);t||(this.scrollTrigger=gn.ScrollTrigger.create(r))},r.componentWillUnmount=function(){this.scrollTrigger&&this.scrollTrigger.kill()},r.getGSAP=function(){return this.scrollTrigger},r.getPlugin=function(e,t){var r=e.trigger,n=yn(e,["children","trigger"]),i=r;if(t instanceof Map)if(i){var a=t.get(i);a&&(i=a)}else i=Array.from(t.values());else i||(i=t);return hn({trigger:i},n)},r.render=function(){var e=this.props,t=e.children,r=yn(e,["children"]);return t?this.renderWithProvider(t,{scrollTrigger:r}):null},t}(Mn);Kn.displayName="ScrollTrigger",Kn.contextType=Fn},function(e,t,r){"use strict";var n=r(289),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,_=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(_){var i=p(r);i&&i!==_&&e(t,i,n)}var o=l(r);
1d&&(o=o.concat(d(r)));for(var s=c(t),m=c(r),g=0;g<o.length;++g){var h=o[g];if(!a[h]&&(!n||!n[h])&&(!m||!m[h])&&(!s||!s[h])){var v=f(r,h);try{u(t,h,v)}catch(y){}}}return t}return t}},function(e,t,r){"use strict";r.r(t);var n=r(0),i=r.n(n),a=r(262),o=r.n(a),s=r(26),c=r.n(s),u=r(440),l=r.n(u),d=1073741823;var f=i.a.createContext||function(e,t){var r,i,a="__create-react-context-"+l()()+"__",s=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=function(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter(function(t){return t!==e})},get:function(){return e},set:function(r,n){e=r,t.forEach(function(t){return t(e,n)})}}}(t.props.value),t}o()(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,i=e.value;((a=n)===(o=i)?0!==a||1/a===1/o:a!==a&&o!==o)?r=0:(r="function"===typeof t?t(n,i):d,0!==(r|=0)&&this.emitter.set(e.value,r))}var a,o},n.render=function(){return this.props.children},r}(n.Component);s.childContextTypes=((r={})[a]=c.a.object.isRequired,r);var u=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!==((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}o()(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?d:t},n.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?d:e},n.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},n.getValue=function(){return this.context[a]?this.context[a].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(n.Component);return u.contextTypes=((i={})[a]=c.a.object,i),{Provider:s,Consumer:u}},p=r(142),_=r(143),m=r(135),g=r(341),h=r.n(g),v=r(17),y=(r(289),r(83)),b=r(181),x=r.n(b);r.d(t,"MemoryRouter",function(){return C}),r.d(t,"Prompt",function(){return T}),r.d(t,"Redirect",function(){return P}),r.d(t,"Route",function(){return L}),r.d(t,"Router",function(){return k}),r.d(t,"StaticRouter",function(){return U}),r.d(t,"Switch",function(){return V}),r.d(t,"generatePath",function(){return N}),r.d(t,"matchPath",function(){return I}),r.d(t,"withRouter",function(){return J}),r.d(t,"__RouterContext",function(){return S});var S=function(e){var t=f();return t.displayName=e,t}("Router"),k=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen(function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e})),r}Object(p.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return i.a.createElement(S.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(i.a.Component);var C=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).history=Object(_.createMemoryHistory)(t.props),t}return Object(p.a)(t,e),t.prototype.render=function(){return i.a.createElement(k,{history:this.history,children:this.props.children})},t}(i.a.Component);var E=function(e){function t(){return e.apply(this,arguments)||this}Object(p.a)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},r.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},r.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},r.render=function(){return null},t}(i.a.Component);function T(e){var t=e.message,r=e.when,n=void 0===r||r;
1return i.a.createElement(S.Consumer,null,function(e){if(e||Object(m.default)(!1),!n||e.staticContext)return null;var r=e.history.block;return i.a.createElement(E,{onMount:function(e){e.release=r(t)},onUpdate:function(e,n){n.message!==t&&(e.release(),e.release=r(t))},onUnmount:function(e){e.release()},message:t})})}var w={},D=1e4,A=0;function N(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(w[e])return w[e];var t=h.a.compile(e);return A<D&&(w[e]=t,A++),t}(e)(t,{pretty:!0})}function P(e){var t=e.computedMatch,r=e.to,n=e.push,a=void 0!==n&&n;return i.a.createElement(S.Consumer,null,function(e){e||Object(m.default)(!1);var n=e.history,o=e.staticContext,s=a?n.push:n.replace,c=Object(_.createLocation)(t?"string"===typeof r?N(r,t.params):Object(v.a)({},r,{pathname:N(r.pathname,t.params)}):r);return o?(s(c),null):i.a.createElement(E,{onMount:function(){s(c)},onUpdate:function(e,t){var r=Object(_.createLocation)(t.to);Object(_.locationsAreEqual)(r,Object(v.a)({},c,{key:r.key}))||s(c)},to:r})})}var O={},F=1e4,M=0;function I(e,t){void 0===t&&(t={}),"string"===typeof t&&(t={path:t});var r=t,n=r.path,i=r.exact,a=void 0!==i&&i,o=r.strict,s=void 0!==o&&o,c=r.sensitive,u=void 0!==c&&c;return[].concat(n).reduce(function(t,r){if(!r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=O[r]||(O[r]={});if(n[e])return n[e];var i=[],a={regexp:h()(e,i,t),keys:i};return M<F&&(n[e]=a,M++),a}(r,{end:a,strict:s,sensitive:u}),i=n.regexp,o=n.keys,c=i.exec(e);if(!c)return null;var l=c[0],d=c.slice(1),f=e===l;return a&&!f?null:{path:r,url:"/"===r&&""===l?"/":l,isExact:f,params:o.reduce(function(e,t,r){return e[t.name]=d[r],e},{})}},null)}var L=function(e){function t(){return e.apply(this,arguments)||this}return Object(p.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(S.Consumer,null,function(t){t||Object(m.default)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?I(r.pathname,e.props):t.match,a=Object(v.a)({},t,{location:r,match:n}),o=e.props,s=o.children,c=o.component,u=o.render;(Array.isArray(s)&&0===s.length&&(s=null),"function"===typeof s)&&(void 0===(s=s(a))&&(s=null));return i.a.createElement(S.Provider,{value:a},s&&!function(e){return 0===i.a.Children.count(e)}(s)?s:a.match?c?i.a.createElement(c,a):u?u(a):null:null)})},t}(i.a.Component);function R(e){return"/"===e.charAt(0)?e:"/"+e}function j(e,t){if(!e)return t;var r=R(e);return 0!==t.pathname.indexOf(r)?t:Object(v.a)({},t,{pathname:t.pathname.substr(r.length)})}function B(e){return"string"===typeof e?e:Object(_.createPath)(e)}function z(e){return function(){Object(m.default)(!1)}}function q(){}var U=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return q},t.handleBlock=function(){return q},t}Object(p.a)(t,e);var r=t.prototype;return r.navigateTo=function(e,t){var r=this.props,n=r.basename,i=void 0===n?"":n,a=r.context,o=void 0===a?{}:a;o.action=t,o.location=function(e,t){return e?Object(v.a)({},t,{pathname:R(e)+t.pathname}):t}(i,Object(_.createLocation)(e)),o.url=B(o.location)},r.render=function(){var e=this.props,t=e.basename,r=void 0===t?"":t,n=e.context,a=void 0===n?{}:n,o=e.location,s=void 0===o?"/":o,c=Object(y.a)(e,["basename","context","location"]),u={createHref:function(e){return R(r+B(e))},action:"POP",location:j(r,Object(_.createLocation)(s)),push:this.handlePush,replace:this.handleReplace,go:z(),goBack:z(),goForward:z(),listen:this.handleListen,block:this.handleBlock};return i.a.createElement(k,Object(v.a)({},c,{history:u,staticContext:a}))},t}(i.a.Component);var V=function(e){function t(){return e.apply(this,arguments)||this}return Object(p.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(S.Consumer,null,function(t){t||Object(m.default)(!1);var r,n,a=e.props.location||t.location;
1return i.a.Children.forEach(e.props.children,function(e){if(null==n&&i.a.isValidElement(e)){r=e;var o=e.props.path||e.props.from;n=o?I(a.pathname,Object(v.a)({},e.props,{path:o})):t.match}}),n?i.a.cloneElement(r,{location:a,computedMatch:n}):null})},t}(i.a.Component);function J(e){var t="withRouter("+(e.displayName||e.name)+")",r=function(t){var r=t.wrappedComponentRef,n=Object(y.a)(t,["wrappedComponentRef"]);return i.a.createElement(S.Consumer,null,function(t){return t||Object(m.default)(!1),i.a.createElement(e,Object(v.a)({},n,t,{ref:r}))})};return r.displayName=t,r.WrappedComponent=e,x()(r,e)}},,,,,,function(e,t,r){"use strict";var n=r(0),i=r(471),a=r.n(i),o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function s(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function u(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(o,s)}c((n=n.apply(e,t||[])).next())})}function l(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(s){a=[6,s],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}var d={graph_id:null,legend_toggle:!1,graphID:null,options:{colors:null},data:null,rows:null,columns:null,diffdata:null,chartEvents:null,legendToggle:!1,chartActions:null,getChartWrapper:function(e,t){},getChartEditor:null,className:"",style:{},formatters:null,spreadSheetUrl:null,spreadSheetQueryParameters:{headers:1,gid:1},rootProps:{},chartWrapperParams:{},controls:null,render:null,toolbarItems:null,toolbarID:null},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleGoogleChartsLoaderScriptLoaded=function(e){var r=t.props,n=r.chartVersion,i=r.chartPackages,a=r.chartLanguage,o=r.mapsApiKey,s=r.onLoad;e.charts.load(n||"current",{packages:i||["corechart","controls"],language:a||"en",mapsApiKey:o}),e.charts.setOnLoadCallback(function(){s(e)})},t}return s(t,e),t.prototype.shouldComponentUpdate=function(e){return e.chartPackages===this.props.chartPackages},t.prototype.render=function(){var e=this,t=this.props.onError;return Object(n.createElement)(a.a,{url:"https://www.gstatic.com/charts/loader.js",onError:t,onLoad:function(){var t=window;t.google&&e.handleGoogleChartsLoaderScriptLoaded(t.google)}})},t}(n.Component),p=0,_=function(){return"reactgooglegraph-"+(p+=1)},m=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#3B3EAC"],g=function(e,t,r){return void 0===r&&(r={}),u(void 0,void 0,void 0,function(){return l(this,function(n){return[2,new Promise(function(n,i){var a=r.headers?"headers="+r.headers:"headers=0",o=r.query?"&tq="+encodeURIComponent(r.query):"",s=r.gid?"&gid="+r.gid:"",c=r.sheet?"&sheet="+r.sheet:"",u=r.access_token?"&access_token="+r.access_token:"",l=t+"/gviz/tq?"+(""+a+s+c+o+u);new e.visualization.Query(l).send(function(e){e.isError()?i("Error in query: "+e.getMessage()+" "+e.getDetailedMessage()):n(e.getDataTable())})})]})})},h=Object(n.createContext)(d),v=h.Provider,y=h.Consumer,b=function(e){var t=e.children,r=e.value;return Object(n.createElement)(v,{value:r},t)},x=function(e){var t=e.render;return Object(n.createElement)(y,null,function(e){return t(e)})},S="#CCCCCC",k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hiddenColumns:[]},t.listenToLegendToggle=function(){var e=t.props,r=e.google,n=e.googleChartWrapper;r.visualization.events.addListener(n,"select",function(){var e=n.getChart().getSelection(),r=n.getDataTable();if(0!==e.length&&null===e[0].row&&null!==r){var i=e[0].column,a=t.getColumnID(r,i);t.state.hiddenColumns.includes(a)?t.setState(function(e){return c({},e,{hiddenColumns:e.hiddenColumns.filter(function(e){return e!==a}).slice()})}):t.setState(function(e){return c({},e,{hiddenColumns:e.hiddenColumns.concat([a])})})}})},t.applyFormatters=function(e,r){for(var n=t.props.google,i=0,a=r;i<a.length;i++){var o=a[i];
1switch(o.type){case"ArrowFormat":(s=new n.visualization.ArrowFormat(o.options)).format(e,o.column);break;case"BarFormat":(s=new n.visualization.BarFormat(o.options)).format(e,o.column);break;case"ColorFormat":for(var s=new n.visualization.ColorFormat(o.options),c=0,u=o.ranges;c<u.length;c++){var l=u[c];s.addRange.apply(s,l)}s.format(e,o.column);break;case"DateFormat":(s=new n.visualization.DateFormat(o.options)).format(e,o.column);break;case"NumberFormat":(s=new n.visualization.NumberFormat(o.options)).format(e,o.column);break;case"PatternFormat":(s=new n.visualization.PatternFormat(o.options)).format(e,o.column)}}},t.getColumnID=function(e,t){return e.getColumnId(t)||e.getColumnLabel(t)},t.draw=function(e){var r=e.data,n=e.diffdata,i=e.rows,a=e.columns,o=e.options,s=e.legend_toggle,c=e.legendToggle,d=e.chartType,f=e.formatters,p=e.spreadSheetUrl,_=e.spreadSheetQueryParameters;return u(t,void 0,void 0,function(){var e,t,u,m,h,v,y,b,x,S,k,C,E,T;return l(this,function(l){switch(l.label){case 0:return e=this.props,t=e.google,u=e.googleChartWrapper,h=null,null!==n&&(v=t.visualization.arrayToDataTable(n.old),y=t.visualization.arrayToDataTable(n.new),h=t.visualization[d].prototype.computeDiff(v,y)),null===r?[3,1]:(m=Array.isArray(r)?t.visualization.arrayToDataTable(r):new t.visualization.DataTable(r),[3,5]);case 1:return null===i||null===a?[3,2]:(m=t.visualization.arrayToDataTable([a].concat(i)),[3,5]);case 2:return null===p?[3,4]:[4,g(t,p,_)];case 3:return m=l.sent(),[3,5];case 4:m=t.visualization.arrayToDataTable([]),l.label=5;case 5:for(b=m.getNumberOfColumns(),x=0;x<b;x+=1)S=this.getColumnID(m,x),this.state.hiddenColumns.includes(S)&&(k=m.getColumnLabel(x),C=m.getColumnId(x),E=m.getColumnType(x),m.removeColumn(x),m.addColumn({label:k,id:C,type:E}));return T=u.getChart(),"Timeline"===u.getChartType()&&T&&T.clearChart(),u.setOptions(o),u.setDataTable(m),u.draw(),null!==this.props.googleChartDashboard&&this.props.googleChartDashboard.draw(m),null!==h&&(u.setDataTable(h),u.draw()),null!==f&&(this.applyFormatters(m,f),u.setDataTable(m),u.draw()),!0!==c&&!0!==s||this.grayOutHiddenColumns({options:o}),[2]}})})},t.grayOutHiddenColumns=function(e){var r=e.options,n=t.props.googleChartWrapper,i=n.getDataTable();if(null!==i){var a=i.getNumberOfColumns();if(!1!==t.state.hiddenColumns.length>0){var o=Array.from({length:a-1}).map(function(e,n){var a=t.getColumnID(i,n+1);return t.state.hiddenColumns.includes(a)?S:"undefined"!==typeof r.colors&&null!==r.colors?r.colors[n]:m[n]});n.setOptions(c({},r,{colors:o})),n.draw()}}},t.onResize=function(){t.props.googleChartWrapper.draw()},t}return s(t,e),t.prototype.componentDidMount=function(){this.draw(this.props),window.addEventListener("resize",this.onResize),(this.props.legend_toggle||this.props.legendToggle)&&this.listenToLegendToggle()},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.google,r=e.googleChartWrapper;window.removeEventListener("resize",this.onResize),t.visualization.events.removeAllListeners(r),"Timeline"===r.getChartType()&&r.getChart()&&r.getChart().clearChart()},t.prototype.componentDidUpdate=function(){this.draw(this.props)},t.prototype.render=function(){return null},t}(n.Component),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.componentDidMount=function(){},t.prototype.componentWillUnmount=function(){},t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.render=function(){var e=this.props,t=e.google,r=e.googleChartWrapper,i=e.googleChartDashboard;return Object(n.createElement)(x,{render:function(e){return Object(n.createElement)(k,c({},e,{google:t,googleChartWrapper:r,googleChartDashboard:i}))}})},t}(n.Component),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.listenToEvents=function(e){var t=this,r=e.chartEvents,n=e.google,i=e.googleChartWrapper;if(null!==r){n.visualization.events.removeAllListeners(i);for(var a=function(e){var r=e.eventName,a=e.callback;n.visualization.events.addListener(i,r,function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];a({chartWrapper:i,props:t.props,google:n,eventArgs:e})})},o=0,s=r;o<s.length;o++){a(s[o])}}},t.prototype.render=function(){var e=this,t=this.props,r=t.google,i=t.googleChartWrapper;return Object(n.createElement)(x,{render:function(t){return e.listenToEvents({chartEvents:t.chartEvents||null,google:r,googleChartWrapper:i}),null}})},t}(n.Component),T=0,w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={googleChartWrapper:null,googleChartDashboard:null,googleChartControls:null,googleChartEditor:null,isReady:!1},t.graphID=null,t.dashboard_ref=Object(n.createRef)(),t.toolbar_ref=Object(n.createRef)(),t.getGraphID=function(){var e,r=t.props,n=r.graphID,i=r.graph_id;return e=null===n&&null===i?null===t.graphID?_():t.graphID:null!==n&&null===i?n:null!==i&&null===n?i:n,t.graphID=e,t.graphID},t.getControlID=function(e,t){return T+=1,"undefined"===typeof e?"googlechart-control-"+t+"-"+T:e}
1,t.addControls=function(e,r){var n=t.props,i=n.google,a=n.controls,o=null===a?null:a.map(function(e,r){var n=e.controlID,a=e.controlType,o=e.options,s=e.controlWrapperParams,u=t.getControlID(n,r);return{controlProp:e,control:new i.visualization.ControlWrapper(c({containerId:u,controlType:a,options:o},s))}});if(null===o)return null;r.bind(o.map(function(e){return e.control}),e);for(var s=function(r){for(var n=r.control,a=r.controlProp.controlEvents,o=function(r){var a=r.callback,o=r.eventName;i.visualization.events.removeListener(n,o,a),i.visualization.events.addListener(n,o,function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];a({chartWrapper:e,controlWrapper:n,props:t.props,google:i,eventArgs:r})})},s=0,c=void 0===a?[]:a;s<c.length;s++){o(c[s])}},u=0,l=o;u<l.length;u++){s(l[u])}return o},t.renderChart=function(){var e=t.props,r=e.width,i=e.height,a=e.options,o=e.style,s=e.className,u=e.rootProps,l=e.google,d=c({height:i||a&&a.height,width:r||a&&a.width},o);return Object(n.createElement)("div",c({id:t.getGraphID(),style:d,className:s},u),t.state.isReady&&null!==t.state.googleChartWrapper?Object(n.createElement)(n.Fragment,null,Object(n.createElement)(C,{googleChartWrapper:t.state.googleChartWrapper,google:l,googleChartDashboard:t.state.googleChartDashboard}),Object(n.createElement)(E,{googleChartWrapper:t.state.googleChartWrapper,google:l})):null)},t.renderControl=function(e){return void 0===e&&(e=function(e){e.control,e.controlProp;return!0}),t.state.isReady&&null!==t.state.googleChartControls?Object(n.createElement)(n.Fragment,null,t.state.googleChartControls.filter(function(t){var r=t.controlProp,n=t.control;return e({control:n,controlProp:r})}).map(function(e){var t=e.control;e.controlProp;return Object(n.createElement)("div",{key:t.getContainerId(),id:t.getContainerId()})})):null},t.renderToolBar=function(){return null===t.props.toolbarItems?null:Object(n.createElement)("div",{ref:t.toolbar_ref})},t}return s(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.options,r=e.google,n=e.chartType,i=e.chartWrapperParams,a=e.toolbarItems,o=e.getChartEditor,s=e.getChartWrapper,u=c({chartType:n,options:t,containerId:this.getGraphID()},i),l=new r.visualization.ChartWrapper(u);l.setOptions(t),s(l,r);var d=new r.visualization.Dashboard(this.dashboard_ref),f=this.addControls(l,d);null!==a&&r.visualization.drawToolbar(this.toolbar_ref.current,a);var p=null;null!==o&&o({chartEditor:p=new r.visualization.ChartEditor,chartWrapper:l,google:r}),this.setState({googleChartEditor:p,googleChartControls:f,googleChartDashboard:d,googleChartWrapper:l,isReady:!0})},t.prototype.componentDidUpdate=function(){if(null!==this.state.googleChartWrapper&&null!==this.state.googleChartDashboard&&null!==this.state.googleChartControls)for(var e=this.props.controls,t=0;t<e.length;t+=1){var r=e[t],n=r.controlType,i=r.options,a=r.controlWrapperParams;a&&"state"in a&&this.state.googleChartControls[t].control.setState(a.state),this.state.googleChartControls[t].control.setOptions(i),this.state.googleChartControls[t].control.setControlType(n)}},t.prototype.shouldComponentUpdate=function(e,t){return this.state.isReady!==t.isReady||e.controls!==this.props.controls},t.prototype.render=function(){var e=this.props,t=e.width,r=e.height,i=e.options,a=e.style,o=c({height:r||i&&i.height,width:t||i&&i.width},a);return null!==this.props.render?Object(n.createElement)("div",{ref:this.dashboard_ref,style:o},Object(n.createElement)("div",{ref:this.toolbar_ref,id:"toolbar"}),this.props.render({renderChart:this.renderChart,renderControl:this.renderControl,renderToolbar:this.renderToolBar})):Object(n.createElement)("div",{ref:this.dashboard_ref,style:o},this.renderControl(function(e){return"bottom"!==e.controlProp.controlPosition}),this.renderChart(),this.renderControl(function(e){return"bottom"===e.controlProp.controlPosition}),this.renderToolBar())},t}(n.Component),D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._isMounted=!1,t.state={loadingStatus:"loading",google:null},t.onLoad=function(e){if(t.isFullyLoaded(e))t.onSuccess(e);else var r=setInterval(function(){var e=window.google;t._isMounted?e&&t.isFullyLoaded(e)&&(clearInterval(r),t.onSuccess(e)):clearInterval(r)},1e3)},t.onSuccess=function(e){t.setState({loadingStatus:"ready",google:e})},t.onError=function(){t.setState({loadingStatus:"errored"})},t}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.chartL
1anguage,r=e.chartPackages,i=e.chartVersion,a=e.mapsApiKey,o=e.loader,s=e.errorElement;return Object(n.createElement)(b,{value:this.props},"ready"===this.state.loadingStatus&&null!==this.state.google?Object(n.createElement)(w,c({},this.props,{google:this.state.google})):"errored"===this.state.loadingStatus&&s?s:o,Object(n.createElement)(f,c({},{chartLanguage:t,chartPackages:r,chartVersion:i,mapsApiKey:a},{onLoad:this.onLoad,onError:this.onError})))},t.prototype.componentDidMount=function(){this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.isFullyLoaded=function(e){var t=this.props,r=t.controls,n=t.toolbarItems,i=t.getChartEditor;return e&&e.visualization&&e.visualization.ChartWrapper&&e.visualization.Dashboard&&(!r||e.visualization.ChartWrapper)&&(!i||e.visualization.ChartEditor)&&(!n||e.visualization.drawToolbar)},t.defaultProps=d,t}(n.Component);t.a=D},,,,,,function(e,t,r){var n=r(40).Buffer,i=r(308).Transform,a=r(284).StringDecoder;function o(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(33)(o,i),o.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=o},function(e,t,r){"use strict";r.d(t,"e",function(){return s}),r.d(t,"c",function(){return u}),r.d(t,"b",function(){return d}),r.d(t,"a",function(){return _}),r.d(t,"d",function(){return p});var n=r(339),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function o(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,r){var i;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function");if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error("Expected the enhancer to be a function.");return r(s)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,l=[],d=l,f=!1;function p(){d===l&&(d=l.slice())}function _(){if(f)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function m(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(f)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return p(),d.push(e),function(){if(t){if(f)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,p();var r=d.indexOf(e);d.splice(r,1)}}}function g(e){if(!o(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,u=c(u,e)}finally{f=!1}for(var t=l=d,r=0;r<t.length;r++){(0,t[r])()}return e}return g({type:a.INIT}),(i={dispatch:g,subscribe:m,getState:_,replaceReducer:function(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,g({type:a.REPLACE})}})[n.a]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(_())}return r(),{unsubscribe:t(r)}}})[n.a]=function(){return this},e},i}function c(e,t){var r=t&&t.type;return"Given "+(r&&'action "'+String(r)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];0,"function"===typeof e[i]&&(r[i]=e[i])}var o,s=Object.keys(r);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if("undefined"===typeof r(void 0,{type:a.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(r)}catch(u){o=u}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var n=!1,i={},a=0;a<s.length;a++){var u=s[a],l=r[u],d=e[u],f=l(d,t);if("undefined"===typeof f){var p=c(u,t);throw new Error(p)}i[u]=f,n=n||f!==d}return n?i:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"===typeof e)return l(e,t);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),n={},i=0;i<r.length;i++){var a=r[i],o=e[a];"function"===typeof o&&(n[a]=l(o,t))}return n}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function _(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map(function(e){return e(i)});return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){f(e,t,r[t])})}return e}({},r,{dispatch:n=p.apply(void 0,a)(r.dispatch)})}}}},function(e,t,r){"use strict";var n=r(549).default;r(556),(t=e.exports=n).default=t},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(283),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=r(255);a.inherits=r(33);var o=r(386),s=r(310);a.inherits(d,o);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];d.prototype[l]||(d.prototype[l]=s.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},,,function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(0)),a=r(182),o=r(143);r(26),r(253);var s=n(r(135));function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function l(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],0<=t.indexOf(r)||(i[r]=e[r]);return i}var d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).history=o.createBrowserHistory(t.props),t}return u(t,e),t.prototype.render=function(){return i.createElement(a.Router,{history:this.history,children:this.props.children})},t}(i.Component),f=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).history=o.createHashHistory(t.props),t}return u(t,e),t.prototype.render=function(){return i.createElement(a.Router,{history:this.history,children:this.props.children})},t}(i.Component);var p=function(e){function t(){return e.apply(this,arguments)||this}u(t,e);var r=t.prototype;return r.handleClick=function(e,t){try{this.props.onClick&&this.props.onClick(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||this.props.target&&"_self"!==this.props.target||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),(this.props.replace?t.replace:t.push)(this.props.to))},r.render=function(){var e=this,t=this.props,r=t.innerRef,n=(t.replace,t.to),u=l(t,["innerRef","replace","to"]);return i.createElement(a.__RouterContext.Consumer,null,function(t){t||s(!1);var a="string"==typeof n?o.createLocation(n,null,null,t.location):n,l=a?t.history.createHref(a):"";return i.createElement("a",c({},u,{onClick:function(r){return e.handleClick(r,t.history)},href:l,ref:r}))})},t}(i.Component);Object.keys(a).forEach(function(e){t[e]=a[e]}),t.BrowserRouter=d,t.HashRouter=f,t.Link=p,t.NavLink=function(e){var t=e["aria-current"],r=void 0===t?"page":t,n=e.activeClassName,o=void 0===n?"active":n,u=e.activeStyle,d=e.className,f=e.exact,_=e.isActive,m=e.location,g=e.strict,h=e.style,v=e.to,y=l(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to"]),b="object"==typeof v?v.pathname:v,x=b&&b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return i.createElement(a.__RouterContext.Consumer,null,function(e){e||s(!1);var t=m?m.pathname:e.location.pathname,n=x?a.matchPath(t,{path:x,exact:f,strict:g}):null,l=!!(_?_(n,e.location):n),b=l?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e){return e}).join(" ")}(d,o):d,S=l?c({},h,u):h;return i.createElement(p,c({"aria-current":l&&r||null,className:b,style:S,to:v},y))})}},,,,,,,,,,,,,function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var o=i.apply(null,n);o&&e.push(o)}else if("object"===a)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}
1.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";(function(t,n){var i=65536,a=4294967295;var o=r(40).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>a)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(e>0)if(e>i)for(var c=0;c<e;c+=i)s.getRandomValues(r.slice(c,c+i));else s.getRandomValues(r);if("function"===typeof t)return n.nextTick(function(){t(null,r)});return r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(127),r(151))},function(e,t,r){var n=r(40).Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"===typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var c=o%i,u=Math.min(a-s,i-c),l=0;l<u;l++)r[c+l]=e[s+l];s+=u,(o+=u)%i===0&&this._update(r)}return this._len+=a,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,r){var n=r(424),i=r(426);function a(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(425),ElementType:r(261),DomHandler:i,get FeedHandler(){return a("FeedHandler",r(885))},get Stream(){return a("Stream",r(899))},get WritableStream(){return a("WritableStream",r(433))},get ProxyHandler(){return a("ProxyHandler",r(901))},get DomUtils(){return a("DomUtils",r(428))},get CollectingHandler(){return a("CollectingHandler",r(902))},DefaultHandler:i,get RssHandler(){return a("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new i(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var i=new e.exports.FeedHandler(r);return new n(i,r).end(t),i.dom},createDomStream:function(e,t,r){var a=new i(e,t,r);return new n(a,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,"a",function(){return n})},function(e,t,r){var n;!function(t,r){"use strict";"object"===typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!==typeof window?window:this,function(r,i){"use strict";var a=[],o=r.document,s=Object.getPrototypeOf,c=a.slice,u=a.concat,l=a.push,d=a.indexOf,f={},p=f.toString,_=f.hasOwnProperty,m=_.toString,g=m.call(Object),h={},v=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType},y=function(e){return null!=e&&e===e.window},b={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,r){var n,i,a=(r=r||o).createElement("script");if(a.text=e,t)for(n in b)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,i);r.head.appendChild(a).parentNode.removeChild(a)}function S(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?f[p.call(e)]||"object":typeof e}var k=function e(t,r){return new e.fn.init(t,r)},C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function E(e){var t=!!e&&"length"in e&&e.length,r=S(e);return!v(e)&&!y(e)&&("array"===r||0===t||"number"===typeof t&&t>0&&t-1 in e)}k.fn=k.prototype={jquery:"3.4.1",constructor:k,length:0,toArray:function(){return c.call(this)},get:function(e){return null==e?c.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,function(t,r){return e.call(t,r,t)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:a.sort,splice:a.splice},k.extend=k.fn.extend=function(){var e,t,r,n,i,a,o=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"===typeof o&&(u=o,o=arguments[s]||{},s++),"object"===typeof o||v(o)||(o={}),s===c&&(o=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(k.isPlainObject(n)||(i=Array.isArray(n)))?(r=o[t],a=i&&!Array.isArray(r)?[]:i||k.isPlainObject(r)?r:{},i=!1,o[t]=k.extend(u,a,n)):void 0!==n&&(o[t]=n));return o},k.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==p.call(e))&&(!(t=s(e))||"function"===typeof(r=_.call(t,"constructor")&&t.constructor)&&m.call(r)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){x(e,{nonce:t&&t.nonce})},each:function(e,t){var r,n=0;if(E(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(E(Object(e))?k.merge(r,"string"===typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:d.call(t,e,r)},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n=[],i=0,a=e.length,o=!r;i<a;i++)!t(e[i],i)!==o&&n.push(e[i]);return n},map:function(e,t,r){var n,i,a=0,o=[];if(E(e))for(n=e.length;a<n;a++)null!=(i=t(e[a],a,r))&&o.push(i);else for(a in e)null!=(i=t(e[a],a,r))&&o.push(i);return u.apply([],o)},guid:1,support:h}),"function"===typeof Symbol&&(k.fn[Symbol.iterator]=a[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()});var T=function(e){var t,r,n,i,a,o,s,c,u,l,d,f,p,_,m,g,h,v,y,b="sizzle"+1*ne
vendor: 6,025 bytes, line 1
1w Date,x=e.document,S=0,k=0,C=ce(),E=ce(),T=ce(),w=ce(),D=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,N=[],P=N.pop,O=N.push,F=N.push,M=N.slice,I=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",j="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+R+"*("+j+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+R+"*\\]",z=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),U=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),V=new RegExp("^"+R+"*,"+R+"*"),J=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),H=new RegExp(R+"|>"),W=new RegExp(z),K=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),re=function(e,t,r){var n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){f()},oe=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{F.apply(N=M.call(x.childNodes),x.childNodes),N[x.childNodes.length].nodeType}catch(Ee){F={apply:N.length?function(e,t){O.apply(e,M.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function se(e,t,n,i){var a,s,u,l,d,_,h,v=t&&t.ownerDocument,S=t?t.nodeType:9;if(n=n||[],"string"!==typeof e||!e||1!==S&&9!==S&&11!==S)return n;if(!i&&((t?t.ownerDocument||t:x)!==p&&f(t),t=t||p,m)){if(11!==S&&(d=Z.exec(e)))if(a=d[1]){if(9===S){if(!(u=t.getElementById(a)))return n;if(u.id===a)return n.push(u),n}else if(v&&(u=v.getElementById(a))&&y(t,u)&&u.id===a)return n.push(u),n}else{if(d[2])return F.apply(n,t.getElementsByTagName(e)),n;if((a=d[3])&&r.getElementsByClassName&&t.getElementsByClassName)return F.apply(n,t.getElementsByClassName(a)),n}if(r.qsa&&!w[e+" "]&&(!g||!g.test(e))&&(1!==S||"object"!==t.nodeName.toLowerCase())){if(h=e,v=t,1===S&&H.test(e)){for((l=t.getAttribute("id"))?l=l.replace(ne,ie):t.setAttribute("id",l=b),s=(_=o(e)).length;s--;)_[s]="#"+l+" "+ye(_[s]);h=_.join(","),v=ee.test(e)&&he(t.parentNode)||t}try{return F.apply(n,v.querySelectorAll(h)),n}catch(k){w(e,!0)}finally{l===b&&t.removeAttribute("id")}}}return c(e.replace(U,"$1"),t,n,i)}function ce(){var e=[];return function t(r,i){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=i}}function ue(e){return e[b]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(Ee){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var r=e.split("|"),i=r.length;i--;)n.attrHandle[r[i]]=t}function fe(e,t){var r=t&&e,n=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function _e(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue(function(t){return t=+t,ue(function(r,n){for(var i,a=e([],r.length,t),o=a.length;o--;)r[i=a[o]]&&(r[i]=!(n[i]=r[i]))})})}function he(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}for(t in r=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,r=(e.ownerDocument||e).documentElement;return!X.test(t||r&&r.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:x;return o!==p&&9===o.nodeType&&o.documentElement?(_=(p=o).documentElement,m=!a(p),x!==p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),r.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=le(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=Q.test(p.getElementsByClassName),r.getById=le(function(e){return _.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),r.getById?(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&m){var r=t.getElementById(e);return r?[r]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){var r="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},n.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&m){var r,n,i,a=t.getElementById(e);if(a){if((r=a.getAttributeNode("id"))&&r.value===e)return[a];for(i=t.getElementsByName(e),n=0;a=i[n++];)if((r=a.getAttributeNode("id"))&&r.value===e)return[a]}return[]}}),n.find.TAG=r.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],i=0,a=t.getElementsByTagName(e);
vendor: 15,471 bytes, line 1
1if("*"===e){for(;r=a[i++];)1===r.nodeType&&n.push(r);return n}return a},n.find.CLASS=r.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},h=[],g=[],(r.qsa=Q.test(p.querySelectorAll))&&(le(function(e){_.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),_.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=Q.test(v=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&le(function(e){r.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),h.push("!=",z)}),g=g.length&&new RegExp(g.join("|")),h=h.length&&new RegExp(h.join("|")),t=Q.test(_.compareDocumentPosition),y=t||Q.test(_.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!r.sortDetached&&t.compareDocumentPosition(e)===n?e===p||e.ownerDocument===x&&y(x,e)?-1:t===p||t.ownerDocument===x&&y(x,t)?1:l?I(l,e)-I(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return d=!0,0;var r,n=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e===p?-1:t===p?1:i?-1:a?1:l?I(l,e)-I(l,t):0;if(i===a)return fe(e,t);for(r=e;r=r.parentNode;)o.unshift(r);for(r=t;r=r.parentNode;)s.unshift(r);for(;o[n]===s[n];)n++;return n?fe(o[n],s[n]):o[n]===x?-1:s[n]===x?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),r.matchesSelector&&m&&!w[t+" "]&&(!h||!h.test(t))&&(!g||!g.test(t)))try{var n=v.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(Ee){w(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==p&&f(e);var i=n.attrHandle[t.toLowerCase()],a=i&&A.call(n.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:r.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(ne,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],i=0,a=0;if(d=!r.detectDuplicates,l=!r.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return l=null,e},i=se.getText=function(e){var t,r="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)r+=i(t);return r},(n=se.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&W.test(r)&&(t=o(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(n){var i=se.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(q," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,c){var u,l,d,f,p,_,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,h=s&&t.nodeName.toLowerCase(),v=!c&&!s,y=!1;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===h:1===f.nodeType)return!1;_=m="only"===e&&!_&&"nextSibling"}return!0}if(_=[o?g.firstChild:g.lastChild],o&&v){for(y=(p=(u=(l=(d=(f=g)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===S&&u[1])&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||_.pop();)if(1===f.nodeType&&++y&&f===t){l[e]=[S,p,y];break}}else if(v&&(y=p=(u=(l=(d=(f=t)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===S&&u[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||_.pop())&&((s?f.nodeName.toLowerCase()!==h:1!==f.nodeType)||!++y||(v&&((l=(d=f[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[S,y]),f!==t)););return(y-=i)===n||y%n===0&&y/n>=0}}},PSEUDO:function(e,t){var r,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,r){for(var n,a=i(e,t),o=a.length;o--;)e[n=I(e,a[o])]=!(r[n]=a[o])}):function(e){return i(e,0,r)}):i}},pseudos:{not:ue(function(e){var t=[],r=[],n=s(e.replace(U,"$1"));return n[b]?ue(function(e,t,r,i){for(var a,o=n(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,n(t,null,a,r),t[0]=null,!r.pop()}}),has:ue(function(e){return function(t){return se(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,re),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ue(function(e){return K.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var r;do{if(r=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===_},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,r){return[r<0?r+t:r]}),even:ge(function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:ge(function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:ge(function(e,t,r){for(var n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e}),gt:ge(function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=_e(t);function ve(){}function ye(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function be(e,t,r){var n=t.dir,i=t.next,a=i||n,o=r&&"parentNode"===a,s=k++;return t.first?function(t,r,i){for(;t=t[n];)if(1===t.nodeType||o)return e(t,r,i);return!1}:function(t,r,c){var u,l,d,f=[S,s];if(c){for(;t=t[n];)if((1===t.nodeType||o)&&e(t,r,c))return!0}else for(;t=t[n];)if(1===t.nodeType||o)if(l=(d=t[b]||(t[b]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[n]||t;else{if((u=l[a])&&u[0]===S&&u[1]===s)return f[2]=u[2];if(l[a]=f,f[2]=e(t,r,c))return!0}return!1}}function xe(e){return e.length>1?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function Se(e,t,r,n,i){for(var a,o=[],s=0,c=e.length,u=null!=t;s<c;s++)(a=e[s])&&(r&&!r(a,n,i)||(o.push(a),u&&t.push(s)));return o}function ke(e,t,r,n,i,a){return n&&!n[b]&&(n=ke(n)),i&&!i[b]&&(i=ke(i,a)),ue(function(a,o,s,c){var u,l,d,f=[],p=[],_=o.length,m=a||function(e,t,r){for(var n=0,i=t.length;n<i;n++)se(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),g=!e||!a&&t?m:Se(m,f,e,s,c),h=r?i||(a?e:_||n)?[]:o:g;if(r&&r(g,h,s,c),n)for(u=Se(h,p),n(u,[],s,c),l=u.length;l--;)(d=u[l])&&(h[p[l]]=!(g[p[l]]=d));if(a){if(i||e){if(i){for(u=[],l=h.length;l--;)(d=h[l])&&u.push(g[l]=d);i(null,h=[],u,c)}for(l=h.length;l--;)(d=h[l])&&(u=i?I(a,d):f[l])>-1&&(a[u]=!(o[u]=d))}}else h=Se(h===o?h.splice(_,h.length):h),i?i(null,o,h,c):F.apply(o,h)})}function Ce(e){for(var t,r,i,a=e.length,o=n.relative[e[0].type],s=o||n.relative[" "],c=o?1:0,l=be(function(e){return e===t},s,!0),d=be(function(e){return I(t,e)>-1},s,!0),f=[function(e,r,n){var i=!o&&(n||r!==u)||((t=r).nodeType?l(e,r,n):d(e,r,n));return t=null,i}];c<a;c++)if(r=n.relative[e[c].type])f=[be(xe(f),r)];else{if((r=n.filter[e[c].type].apply(null,e[c].matches))[b]){for(i=++c;i<a&&!n.relative[e[i].type];i++);return ke(c>1&&xe(f),c>1&&ye(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(U,"$1"),r,c<i&&Ce(e.slice(c,i)),i<a&&Ce(e=e.slice(i)),i<a&&ye(e))}f.push(r)}return xe(f)}return ve.prototype=n.filters=n.pseudos,n.setFilters=new ve,o=se.tokenize=function(e,t){var r,i,a,o,s,c,u,l=E[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=n.preFilter;s;){for(o in r&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),c.push(a=[])),r=!1,(i=J.exec(s))&&(r=i.shift(),a.push({value:r,type:i[0].replace(U," ")}),s=s.slice(r.length)),n.filter)!(i=G[o].exec(s))||u[o]&&!(i=u[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?se.error(e):E(e,c).slice(0)},s=se.compile=function(e,t){var r,i=[],a=[],s=T[e+" "];if(!s){for(t||(t=o(e)),r=t.length;r--;)(s=Ce(t[r]))[b]?i.push(s):a.push(s);(s=T(e,function(e,t){var r=t.length>0,i=e.length>0,a=function(a,o,s,c,l){var d,_,g,h=0,v="0",y=a&&[],b=[],x=u,k=a||i&&n.find.TAG("*",l),C=S+=null==x?1:Math.random()||.1,E=k.length;for(l&&(u=o===p||o||l);v!==E&&null!=(d=k[v]);v++){if(i&&d){for(_=0,o||d.ownerDocument===p||(f(d),s=!m);g=e[_++];)if(g(d,o||p,s)){c.push(d);break}l&&(S=C)}r&&((d=!g&&d)&&h--,a&&y.push(d))}if(h+=v,r&&v!==h){for(_=0;g=t[_++];)g(y,b,o,s);if(a){if(h>0)for(;v--;)y[v]||b[v]||(b[v]=P.call(c));b=Se(b)}F.apply(c,b),l&&!a&&b.length>0&&h+t.length>1&&se.uniqueSort(c)}return l&&(S=C,u=x),y};return r?ue(a):a}(a,i))).selector=e}return s},c=se.select=function(e,t,r,i){var a,c,u,l,d,f="function"===typeof e&&e,p=!i&&o(e=f.selector||e);if(r=r||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&n.relative[c[1].type]){if(!(t=(n.find.ID(u.matches[0].replace(te,re),t)||[])[0]))return r;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(a=G.needsContext.test(e)?0:c.length;a--&&(u=c[a],!n.relative[l=u.type]);)if((d=n.find[l])&&(i=d(u.matches[0].replace(te,re),ee.test(c[0].type)&&he(t.parentNode)||t))){if(c.splice(a,1),!(e=i.length&&ye(c)))return F.apply(r,i),r;break}}return(f||s(e,p))(i,t,!m,r,!t||ee.test(e)&&he(t.parentNode)||t),r},r.sortStable=b.split("").sort(D).join("")===b,r.detectDuplicates=!!d,f(),r.sortDetached=le(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),r.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(L,function(e,t,r){var n;if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),se}(r);k.find=T,k.expr=T.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=T.uniqueSort,k.text=T.getText,k.isXMLDoc=T.isXML,k.contains=T.contains,k.escapeSelector=T.escape;var w=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&k(e).is(r))break;n.push(e)}return n},D=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},A=k.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,r){return v(t)?k.grep(e,function(e,n){return!!t.call(e,n,e)!==r}):t.nodeType?k.grep(e,function(e){return e===t!==r}):"string"!==typeof t?k.grep(e,function(e){return d.call(t,e)>-1!==r}):k.filter(t,e,r)}k.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?k.find.matchesSelector(n,e)?[n]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!==typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<n;t++)if(k.contains(i[t],this))return!0}));for(r=this.pushStack([]),t=0;t<n;t++)k.find(e,i[t],r);return n>1?k.uniqueSort(r):r},filter:function(e){return this.pushStack(O(this,e||[],!1))},not:function(e){return this.pushStack(O(this,e||[],!0))},is:function(e){return!!O(this,"string"===typeof e&&A.test(e)?k(e):e||[],!1).length}});var F,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||F,"string"===typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),P.test(n[1])&&k.isPlainObject(t))for(n in t)v(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=o.getElementById(n[2]))&&(this[0]=i,this.length=1),this}
vendor: 4,181 bytes, line 1
1return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==r.ready?r.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,F=k(o);var I=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),r=t.length;return this.filter(function(){for(var e=0;e<r;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var r,n=0,i=this.length,a=[],o="string"!==typeof e&&k(e);if(!A.test(e))for(;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(o?o.index(r)>-1:1===r.nodeType&&k.find.matchesSelector(r,e))){a.push(r);break}return this.pushStack(a.length>1?k.uniqueSort(a):a)},index:function(e){return e?"string"===typeof e?d.call(k(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,r){return w(e,"parentNode",r)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,r){return w(e,"nextSibling",r)},prevUntil:function(e,t,r){return w(e,"previousSibling",r)},siblings:function(e){return D((e.parentNode||{}).firstChild,e)},children:function(e){return D(e.firstChild)},contents:function(e){return"undefined"!==typeof e.contentDocument?e.contentDocument:(N(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(e,t){k.fn[e]=function(r,n){var i=k.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"===typeof n&&(i=k.filter(n,i)),this.length>1&&(L[e]||k.uniqueSort(i),I.test(e)&&i.reverse()),this.pushStack(i)}});var j=/[^\x20\t\r\n\f]+/g;function B(e){return e}function z(e){throw e}function q(e,t,r,n){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(r):e&&v(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}k.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return k.each(e.match(j)||[],function(e,r){t[r]=!0}),t}(e):k.extend({},e);var t,r,n,i,a=[],o=[],s=-1,c=function(){for(i=i||e.once,n=t=!0;o.length;s=-1)for(r=o.shift();++s<a.length;)!1===a[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=a.length,r=!1);e.memory||(r=!1),t=!1,i&&(a=r?[]:"")},u={add:function(){return a&&(r&&!t&&(s=a.length-1,o.push(r)),function t(r){k.each(r,function(r,n){v(n)?e.unique&&u.has(n)||a.push(n):n&&n.length&&"string"!==S(n)&&t(n)})}(arguments),r&&!t&&c()),this},remove:function(){return k.each(arguments,function(e,t){for(var r;(r=k.inArray(t,a,r))>-1;)a.splice(r,1),r<=s&&s--}),this},has:function(e){return e?k.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=r="",this},disabled:function(){return!a},lock:function(){return i=o=[],r||t||(a=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=[e,(r=r||[]).slice?r.slice():r],o.push(r),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return k.Deferred(function(r){k.each(t,function(t,n){var i=v(e[n[4]])&&e[n[4]];a[n[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,n,i){var a=0;function o(e,t,n,i){return function(){var s=this,c=arguments,u=function(){var r,u;
vendor: 6,907 bytes, line 1
1if(!(e<a)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"===typeof r||"function"===typeof r)&&r.then,v(u)?i?u.call(r,o(a,t,B,i),o(a,t,z,i)):(a++,u.call(r,o(a,t,B,i),o(a,t,z,i),o(a,t,B,t.notifyWith))):(n!==B&&(s=void 0,c=[r]),(i||t.resolveWith)(s,c))}},l=i?u:function(){try{u()}catch(r){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(r,l.stackTrace),e+1>=a&&(n!==z&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?l():(k.Deferred.getStackHook&&(l.stackTrace=k.Deferred.getStackHook()),r.setTimeout(l))}}return k.Deferred(function(r){t[0][3].add(o(0,r,v(i)?i:B,r.notifyWith)),t[1][3].add(o(0,r,v(e)?e:B)),t[2][3].add(o(0,r,v(n)?n:z))}).promise()},promise:function(e){return null!=e?k.extend(e,i):i}},a={};return k.each(t,function(e,r){var o=r[2],s=r[5];i[r[1]]=o.add,s&&o.add(function(){n=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),a[r[0]]=function(){return a[r[0]+"With"](this===a?void 0:this,arguments),this},a[r[0]+"With"]=o.fireWith}),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,r=t,n=Array(r),i=c.call(arguments),a=k.Deferred(),o=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?c.call(arguments):r,--t||a.resolveWith(n,i)}};if(t<=1&&(q(e,a.done(o(r)).resolve,a.reject,!t),"pending"===a.state()||v(i[r]&&i[r].then)))return a.then();for(;r--;)q(i[r],o(r),a.reject);return a.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&U.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){r.setTimeout(function(){throw e})};var V=k.Deferred();function J(){o.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),k.ready()}k.fn.ready=function(e){return V.then(e).catch(function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||V.resolveWith(o,[k]))}}),k.ready.then=V.then,"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?r.setTimeout(k.ready):(o.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var H=function e(t,r,n,i,a,o,s){var c=0,u=t.length,l=null==n;if("object"===S(n))for(c in a=!0,n)e(t,r,c,n[c],!0,o,s);else if(void 0!==i&&(a=!0,v(i)||(s=!0),l&&(s?(r.call(t,i),r=null):(l=r,r=function(e,t,r){return l.call(k(e),r)})),r))for(;c<u;c++)r(t[c],n,s?i:i.call(t[c],c,r(t[c],n)));return a?t:l?r.call(t):u?r(t[0],n):o},W=/^-ms-/,K=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function X(e){return e.replace(W,"ms-").replace(K,G)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=k.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,i=this.cache(e);if("string"===typeof t)i[X(t)]=r;else for(n in t)i[X(n)]=t[n];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,r){return void 0===t||t&&"string"===typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(X):(t=X(t))in n?[t]:t.match(j)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||k.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new $,Z=new $,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function re(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(te,"-$&").toLowerCase(),"string"===typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(r)}catch(i){}Z.set(e,t,r)}else r=void 0;return r}k.extend({hasData:function(e){return Z.hasData(e)||Q.hasData(e)},data:function(e,t,r){return Z.access(e,t,r)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,r){return Q.access(e,t,r)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(e,t){var r,n,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=Z.get(a),1===a.nodeType&&!Q.get(a,"hasDataAttrs"))){for(r=o.length;r--;)o[r]&&0===(n=o[r].name).indexOf("data-")&&(n=X(n.slice(5)),re(a,n,i[n]));Q.set(a,"hasDataAttrs",!0)}return i}return"object"===typeof e?this.each(function(){Z.set(this,e)}):H(this,function(t){var r;if(a&&void 0===t)return void 0!==(r=Z.get(a,e))?r:void 0!==(r=re(a,e))?r:void 0;this.each(function(){Z.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Z.remove(this,e)})}}),k.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=Q.get(e,t),r&&(!n||Array.isArray(r)?n=Q.access(e,t,k.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=k.queue(e,t),n=r.length,i=r.shift(),a=k._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete a.stop,i.call(e,function(){k.dequeue(e,t)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return Q.get(e,r)||Q.access(e,r,{empty:k.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",r])})})}}),k.fn.extend({queue:function(e,t){var r=2;return"string"!==typeof e&&(t=e,e="fx",r--),arguments.length<r?k.queue(this[0],e):void 0===t?this:this.each(function(){var r=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&k.dequeue(this,e)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=k.Deferred(),a=this,o=this.length,s=function(){--n||i.resolveWith(a,[a])};for("string"!==typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(r=Q.get(a[o],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ae=["Top","Right","Bottom","Left"],oe=o.documentElement,se=function(e){return k.contains(e.ownerDocument,e)},ce={composed:!0};oe.getRootNode&&(se=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===k.css(e,"display")},le=function(e,t,r,n){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in i=r.apply(e,n||[]),t)e.style[a]=o[a];return i};function de(e,t,r,n){var i,a,o=20,s=n?function(){return n.cur()}:function(){return k.css(e,t,"")},c=s(),u=r&&r[3]||(k.cssNumber[t]?"":"px"),l=e.nodeType&&(k.cssNumber[t]||"px"!==u&&+c)&&ie.exec(k.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;o--;
vendor: 7,105 bytes, line 1
1)k.style(e,t,l+u),(1-a)*(1-(a=s()/c||.5))<=0&&(o=0),l/=a;l*=2,k.style(e,t,l+u),r=r||[]}return r&&(l=+l||+c||0,i=r[1]?l+(r[1]+1)*r[2]:+r[2],n&&(n.unit=u,n.start=l,n.end=i)),i}var fe={};function pe(e){var t,r=e.ownerDocument,n=e.nodeName,i=fe[n];return i||(t=r.body.appendChild(r.createElement(n)),i=k.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),fe[n]=i,i)}function _e(e,t){for(var r,n,i=[],a=0,o=e.length;a<o;a++)(n=e[a]).style&&(r=n.style.display,t?("none"===r&&(i[a]=Q.get(n,"display")||null,i[a]||(n.style.display="")),""===n.style.display&&ue(n)&&(i[a]=pe(n))):"none"!==r&&(i[a]="none",Q.set(n,"display",r)));for(a=0;a<o;a++)null!=i[a]&&(e[a].style.display=i[a]);return e}k.fn.extend({show:function(){return _e(this,!0)},hide:function(){return _e(this)},toggle:function(e){return"boolean"===typeof e?e?this.show():this.hide():this.each(function(){ue(this)?k(this).show():k(this).hide()})}});var me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var r;return r="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?k.merge([e],r):r}function be(e,t){for(var r=0,n=e.length;r<n;r++)Q.set(e[r],"globalEval",!t||Q.get(t[r],"globalEval"))}ve.optgroup=ve.option,ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td;var xe=/<|&#?\w+;/;function Se(e,t,r,n,i){for(var a,o,s,c,u,l,d=t.createDocumentFragment(),f=[],p=0,_=e.length;p<_;p++)if((a=e[p])||0===a)if("object"===S(a))k.merge(f,a.nodeType?[a]:a);else if(xe.test(a)){for(o=o||d.appendChild(t.createElement("div")),s=(ge.exec(a)||["",""])[1].toLowerCase(),c=ve[s]||ve._default,o.innerHTML=c[1]+k.htmlPrefilter(a)+c[2],l=c[0];l--;)o=o.lastChild;k.merge(f,o.childNodes),(o=d.firstChild).textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",p=0;a=f[p++];)if(n&&k.inArray(a,n)>-1)i&&i.push(a);else if(u=se(a),o=ye(d.appendChild(a),"script"),u&&be(o),r)for(l=0;a=o[l++];)he.test(a.type||"")&&r.push(a);return d}!function(){var e=o.createDocumentFragment().appendChild(o.createElement("div")),t=o.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var ke=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function we(){return!1}function De(e,t){return e===function(){try{return o.activeElement}catch(e){}}()===("focus"===t)}function Ae(e,t,r,n,i,a){var o,s;if("object"===typeof t){for(s in"string"!==typeof r&&(n=n||r,r=void 0),t)Ae(e,s,r,n,t[s],a);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"===typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=we;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return k().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,n,r)})}function Ne(e,t,r){r?(Q.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,i,a=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=c.call(arguments),Q.set(this,t,a),n=r(this,t),this[t](),a!==(i=Q.get(this,t))||n?Q.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else a.length&&(Q.set(this,t,{value:k.event.trigger(k.extend(a[0],k.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&k.event.add(e,t,Te)}k.event={global:{},add:function(e,t,r,n,i){var a,o,s,c,u,l,d,f,p,_,m,g=Q.get(e);if(g)for(r.handler&&(r=(a=r).handler,i=a.selector),i&&k.find.matchesSelector(oe,i),r.guid||(r.guid=k.guid++),(c=g.events)||(c=g.events={}),(o=g.handle)||(o=g.handle=function(t){return"undefined"!==typeof k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(j)||[""]).length;u--;)p=m=(s=Ee.exec(t[u])||[])[1],_=(s[2]||"").split(".").sort(),p&&(d=k.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=k.event.special[p]||{},l=k.extend({type:p,origType:m,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:_.join(".")},a),(f=c[p])||((f=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,_,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=r.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),k.event.global[p]=!0)},remove:function(e,t,r,n,i){var a,o,s,c,u,l,d,f,p,_,m,g=Q.hasData(e)&&Q.get(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(j)||[""]).length;u--;)if(p=m=(s=Ee.exec(t[u])||[])[1],_=(s[2]||"").split(".").sort(),p){for(d=k.event.special[p]||{},f=c[p=(n?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)l=f[a],!i&&m!==l.origType||r&&r.guid!==l.guid||s&&!s.test(l.namespace)||n&&n!==l.selector&&("**"!==n||!l.selector)||(f.splice(a,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,_,g.handle)||k.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)k.event.remove(e,p+t[u],r,n,!0);k.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,a,o,s=k.event.fix(e),c=new Array(arguments.length),u=(Q.get(this,"events")||{})[s.type]||[],l=k.event.special[s.type]||{};for(c[0]=s,t=1;t<arguments.length;t++)c[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(o=k.event.handlers.call(this,s,u),t=0;(i=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,r=0;(a=i.handlers[r++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==a.namespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,void 0!==(n=((k.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,c))&&!1===(s.result=n)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var r,n,i,a,o,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],o={},r=0;r<c;r++)void 0===o[i=(n=t[r]).selector+" "]&&(o[i]=n.needsContext?k(i,this).index(u)>-1:k.find(i,this,null,[u]).length),o[i]&&a.push(n);a.length&&s.push({elem:u,handlers:a})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 2,430 bytes, line 1
1,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&N(t,"input")&&Ne(t,"click",Te),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&N(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&N(t,"input")&&Q.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:we,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ke.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return Ne(this,e,De),!1},trigger:function(){return Ne(this,e),!0},delegateType:t}}
vendor: 5,926 bytes, line 1
1),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}}),k.fn.extend({on:function(e,t,r,n){return Ae(this,e,t,r,n)},one:function(e,t,r,n){return Ae(this,e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,k(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"===typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!==typeof t||(r=t,t=void 0),!1===r&&(r=we),this.each(function(){k.event.remove(this,e,r,t)})}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Oe=/<script|<style|<link/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var r,n,i,a,o,s,c,u;if(1===t.nodeType){if(Q.hasData(e)&&(a=Q.access(e),o=Q.set(t,a),u=a.events))for(i in delete o.handle,o.events={},u)for(r=0,n=u[i].length;r<n;r++)k.event.add(t,i,u[i][r]);Z.hasData(e)&&(s=Z.access(e),c=k.extend({},s),Z.set(t,c))}}function Be(e,t){var r=t.nodeName.toLowerCase();"input"===r&&me.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function ze(e,t,r,n){t=u.apply([],t);var i,a,o,s,c,l,d=0,f=e.length,p=f-1,_=t[0],m=v(_);if(m||f>1&&"string"===typeof _&&!h.checkClone&&Fe.test(_))return e.each(function(i){var a=e.eq(i);m&&(t[0]=_.call(this,i,a.html())),ze(a,t,r,n)});if(f&&(a=(i=Se(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=a),a||n)){for(s=(o=k.map(ye(i,"script"),Le)).length;d<f;d++)c=i,d!==p&&(c=k.clone(c,!0,!0),s&&k.merge(o,ye(c,"script"))),r.call(e[d],c,d);if(s)for(l=o[o.length-1].ownerDocument,k.map(o,Re),d=0;d<s;d++)c=o[d],he.test(c.type||"")&&!Q.access(c,"globalEval")&&k.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):x(c.textContent.replace(Me,""),c,l))}return e}function qe(e,t,r){for(var n,i=t?k.filter(t,e):e,a=0;null!=(n=i[a]);a++)r||1!==n.nodeType||k.cleanData(ye(n)),n.parentNode&&(r&&se(n)&&be(ye(n,"script")),n.parentNode.removeChild(n));return e}k.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,r){var n,i,a,o,s=e.cloneNode(!0),c=se(e);if(!h.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!k.isXMLDoc(e))for(o=ye(s),n=0,i=(a=ye(e)).length;n<i;n++)Be(a[n],o[n]);if(t)if(r)for(a=a||ye(e),o=o||ye(s),n=0,i=a.length;n<i;n++)je(a[n],o[n]);else je(e,s);return(o=ye(s,"script")).length>0&&be(o,!c&&ye(e,"script")),s},cleanData:function(e){for(var t,r,n,i=k.event.special,a=0;void 0!==(r=e[a]);a++)if(Y(r)){if(t=r[Q.expando]){if(t.events)for(n in t.events)i[n]?k.event.remove(r,n):k.removeEvent(r,n,t.handle);r[Q.expando]=void 0}r[Z.expando]&&(r[Z.expando]=void 0)}}}),k.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return H(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ze(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)})},prepend:function(){return ze(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Oe.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(k.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,function(t){var r=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(ye(this)),r&&r.replaceChild(t,this))},e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){k.fn[e]=function(e){for(var r,n=[],i=k(e),a=i.length-1,o=0;o<=a;o++)r=o===a?this:this.clone(!0),k(i[o])[t](r),l.apply(n,r.get());return this.pushStack(n)}});var Ue=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Je=new RegExp(ae.join("|"),"i");function He(e,t,r){var n,i,a,o,s=e.style;return(r=r||Ve(e))&&(""!==(o=r.getPropertyValue(t)||r[t])||se(e)||(o=k.style(e,t)),!h.pixelBoxStyles()&&Ue.test(o)&&Je.test(t)&&(n=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=r.width,s.width=n,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;
1left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(u).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",s=36===t(e.right),i=36===t(e.width),l.style.position="absolute",a=12===t(l.offsetWidth/3),oe.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,a,s,c,u=o.createElement("div"),l=o.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===l.style.backgroundClip,k.extend(h,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),a}}))}();var Ke=["Webkit","Moz","ms"],Ge=o.createElement("div").style,Xe={};function Ye(e){var t=k.cssProps[e]||Xe[e];return t||(e in Ge?e:Xe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=Ke.length;r--;)if((e=Ke[r]+t)in Ge)return e}(e)||e)}
vendor: 5,374 bytes, line 1
1var $e=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,r){var n=ie.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function rt(e,t,r,n,i,a){var o="width"===t?1:0,s=0,c=0;if(r===(n?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(c+=k.css(e,r+ae[o],!0,i)),n?("content"===r&&(c-=k.css(e,"padding"+ae[o],!0,i)),"margin"!==r&&(c-=k.css(e,"border"+ae[o]+"Width",!0,i))):(c+=k.css(e,"padding"+ae[o],!0,i),"padding"!==r?c+=k.css(e,"border"+ae[o]+"Width",!0,i):s+=k.css(e,"border"+ae[o]+"Width",!0,i));return!n&&a>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-s-.5))||0),c}function nt(e,t,r){var n=Ve(e),i=(!h.boxSizingReliable()||r)&&"border-box"===k.css(e,"boxSizing",!1,n),a=i,o=He(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(o)){if(!r)return o;o="auto"}return(!h.boxSizingReliable()&&i||"auto"===o||!parseFloat(o)&&"inline"===k.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,n),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+rt(e,t,r||(i?"border":"content"),a,n,o)+"px"}function it(e,t,r,n,i){return new it.prototype.init(e,t,r,n,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=He(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=X(t),c=Qe.test(t),u=e.style;if(c||(t=Ye(s)),o=k.cssHooks[t]||k.cssHooks[s],void 0===r)return o&&"get"in o&&void 0!==(i=o.get(e,!1,n))?i:u[t];"string"===(a=typeof r)&&(i=ie.exec(r))&&i[1]&&(r=de(e,t,i),a="number"),null!=r&&r===r&&("number"!==a||c||(r+=i&&i[3]||(k.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==r||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(e,r,n))||(c?u.setProperty(t,r):u[t]=r))}},css:function(e,t,r,n){var i,a,o,s=X(t);return Qe.test(t)||(t=Ye(s)),(o=k.cssHooks[t]||k.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,r)),void 0===i&&(i=He(e,t,n)),"normal"===i&&t in et&&(i=et[t]),""===r||r?(a=parseFloat(i),!0===r||isFinite(a)?a||0:i):i}}),k.each(["height","width"],function(e,t){k.cssHooks[t]={get:function(e,r,n){if(r)return!$e.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,n):le(e,Ze,function(){return nt(e,t,n)})},set:function(e,r,n){var i,a=Ve(e),o=!h.scrollboxSize()&&"absolute"===a.position,s=(o||n)&&"border-box"===k.css(e,"boxSizing",!1,a),c=n?rt(e,t,n,s,a):0;return s&&o&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-rt(e,t,"border",!1,a)-.5)),c&&(i=ie.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=k.css(e,t)),tt(0,r,c)}}}),k.cssHooks.marginLeft=We(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(e,t){k.cssHooks[e+t]={expand:function(r){for(var n=0,i={},a="string"===typeof r?r.split(" "):[r];n<4;n++)i[e+ae[n]+t]=a[n]||a[n-2]||a[0];return i}},"margin"!==e&&(k.cssHooks[e+t].set=tt)}),k.fn.extend({css:function(e,t){return H(this,function(e,t,r){var n,i,a={},o=0;if(Array.isArray(t)){for(n=Ve(e),i=t.length;o<i;o++)a[t[o]]=k.css(e,t[o],!1,n);return a}return void 0!==r?k.style(e,t,r):k.css(e,t)},e,t,arguments.length>1)}}),k.Tween=it,it.prototype={constructor:it,init:function(e,t,r,n,i,a){this.elem=e,this.prop=r,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(k.cssNumber[r]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,r=it.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=it.prototype.init,k.fx.step={};var at,ot,st=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ut(){ot&&(!1===o.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,k.fx.interval),k.fx.tick())}function lt(){return r.setTimeout(function(){at=void 0}),at=Date.now()}function dt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=ae[n])]=i["padding"+r]=e;
vendor: 4,896 bytes, line 1
1return t&&(i.opacity=i.width=e),i}function ft(e,t,r){for(var n,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),a=0,o=i.length;a<o;a++)if(n=i[a].call(r,t,e))return n}function pt(e,t,r){var n,i,a=0,o=pt.prefilters.length,s=k.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var t=at||lt(),r=Math.max(0,u.startTime+u.duration-t),n=1-(r/u.duration||0),a=0,o=u.tweens.length;a<o;a++)u.tweens[a].run(n);return s.notifyWith(e,[u,n,r]),n<1&&o?r:(o||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},r),originalProperties:t,originalOptions:r,startTime:at||lt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=k.Tween(e,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var r=0,n=t?u.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)u.tweens[r].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var r,n,i,a,o;for(r in e)if(i=t[n=X(r)],a=e[r],Array.isArray(a)&&(i=a[1],a=e[r]=a[0]),r!==n&&(e[n]=a,delete e[r]),(o=k.cssHooks[n])&&"expand"in o)for(r in a=o.expand(a),delete e[n],a)r in e||(e[r]=a[r],t[r]=i);else t[n]=i}(l,u.opts.specialEasing);a<o;a++)if(n=pt.prefilters[a].call(u,e,l,u.opts))return v(n.stop)&&(k._queueHooks(u.elem,u.opts.queue).stop=n.stop.bind(n)),n;return k.map(l,ft,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),k.fx.timer(k.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}k.Animation=k.extend(pt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return de(r.elem,e,ie.exec(t),r),r}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(j);for(var r,n=0,i=e.length;n<i;n++)r=e[n],pt.tweeners[r]=pt.tweeners[r]||[],pt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,i,a,o,s,c,u,l,d="width"in t||"height"in t,f=this,p={},_=e.style,m=e.nodeType&&ue(e),g=Q.get(e,"fxshow");for(n in r.queue||(null==(o=k._queueHooks(e,"fx")).unqueued&&(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,f.always(function(){f.always(function(){o.unqueued--,k.queue(e,"fx").length||o.empty.fire()})})),t)if(i=t[n],st.test(i)){if(delete t[n],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[n])continue;m=!0}p[n]=g&&g[n]||k.style(e,n)}if((c=!k.isEmptyObject(t))||!k.isEmptyObject(p))for(n in d&&1===e.nodeType&&(r.overflow=[_.overflow,_.overflowX,_.overflowY],null==(u=g&&g.display)&&(u=Q.get(e,"display")),"none"===(l=k.css(e,"display"))&&(u?l=u:(_e([e],!0),u=e.style.display||u,l=k.css(e,"display"),_e([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===k.css(e,"float")&&(c||(f.done(function(){_.display=u}),null==u&&(l=_.display,u="none"===l?"":l)),_.display="inline-block")),r.overflow&&(_.overflow="hidden",f.always(function(){_.overflow=r.overflow[0],_.overflowX=r.overflow[1],_.overflowY=r.overflow[2]})),c=!1,p)c||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:u}),a&&(g.hidden=!m),m&&_e([e],!0),f.done(function(){for(n in m||_e([e]),Q.remove(e,"fxshow"),p)k.style(e,n,p[n])})),c=ft(m?g[n]:0,n,f),n in g||(g[n]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),k.speed=function(e,t,r){var n=e&&"object"===typeof e?k.extend({},e):{complete:r||!r&&t||v(e)&&e,duration:e,easing:r&&t||t&&!v(t)&&t};return k.fx.off?n.duration=0:"number"!==typeof n.duration&&(n.duration in k.fx.speeds?n.duration=k.fx.speeds[n.duration]:n.duration=k.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){v(n.old)&&n.old.call(this),n.queue&&k.dequeue(this,n.queue)},n},k.fn.extend({fadeTo:function(e,t,r,n){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=k.isEmptyObject(e),a=k.speed(t,r,n),o=function(){var t=pt(this,k.extend({},e),a);(i||Q.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!==typeof e&&(r=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=k.timers,o=Q.get(this);if(i)o[i]&&o[i].stop&&n(o[i]);else for(i in o)o[i]&&o[i].stop&&ct.test(i)&&n(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(r),t=!1,a.splice(i,1));!t&&r||k.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,r=Q.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],a=k.timers,o=n?n.length:0;for(r.finish=!0,k.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1)
vendor: 9,431 bytes, line 1
1);for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish})}}),k.each(["toggle","show","hide"],function(e,t){var r=k.fn[t];k.fn[t]=function(e,n,i){return null==e||"boolean"===typeof e?r.apply(this,arguments):this.animate(dt(t,!0),e,n,i)}}),k.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){k.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,r=k.timers;for(at=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||k.fx.stop(),at=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){ot||(ot=!0,ut())},k.fx.stop=function(){ot=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(e,t){return e=k.fx&&k.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}})},function(){var e=o.createElement("input"),t=o.createElement("select").appendChild(o.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=o.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var _t,mt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return H(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof e.getAttribute?k.prop(e,t,r):(1===a&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?_t:void 0)),void 0!==r?null===r?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=k.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(j);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),_t={set:function(e,t,r){return!1===t?k.removeAttr(e,r):e.setAttribute(r,r),r}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var r=mt[t]||k.find.attr;mt[t]=function(e,t,n){var i,a,o=t.toLowerCase();return n||(a=mt[o],mt[o]=i,i=null!=r(e,t,n)?o:null,mt[o]=a),i}});var gt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function vt(e){return(e.match(j)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(j)||[]}k.fn.extend({prop:function(e,t){return H(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,r){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(e){var t,r,n,i,a,o,s,c=0;if(v(e))return this.each(function(t){k(this).addClass(e.call(this,t,yt(this)))});if((t=bt(e)).length)for(;r=this[c++];)if(i=yt(r),n=1===r.nodeType&&" "+vt(i)+" "){for(o=0;a=t[o++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");i!==(s=vt(n))&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,n,i,a,o,s,c=0;if(v(e))return this.each(function(t){k(this).removeClass(e.call(this,t,yt(this)))});if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;r=this[c++];)if(i=yt(r),n=1===r.nodeType&&" "+vt(i)+" "){for(o=0;a=t[o++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");i!==(s=vt(n))&&r.setAttribute("class",s)}return this},toggleClass:function(e,t){var r=typeof e,n="string"===r||Array.isArray(e);return"boolean"===typeof t&&n?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(r){k(this).toggleClass(e.call(this,r,yt(this),t),t)}):this.each(function(){var t,i,a,o;if(n)for(i=0,a=k(this),o=bt(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==r||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+vt(yt(r))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;k.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=v(e),this.each(function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,k(this).val()):e)?i="":"number"===typeof i?i+="":Array.isArray(i)&&(i=k.map(i,function(e){return null==e?"":e+""})),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=k.valHooks[i.type]||k.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"===typeof(r=i.value)?r.replace(xt,""):null==r?"":r:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:vt(k.text(e))}},select:{get:function(e){var t,r,n,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],c=o?a+1:i.length;for(n=a<0?c:o?a:0;n<c;n++)if(((r=i[n]).selected||n===a)&&!r.disabled&&(!r.parentNode.disabled||!N(r.parentNode,"optgroup"))){if(t=k(r).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var r,n,i=e.options,a=k.makeArray(t),o=i.length;o--;)((n=i[o]).selected=k.inArray(k.valHooks.option.get(n),a)>-1)&&(r=!0);return r||(e.selectedIndex=-1),a}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},h.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in r;var St=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,i){var a,s,c,u,l,d,f,p,m=[n||o],g=_.call(e,"type")?e.type:e,h=_.call(e,"namespace")?e.namespace.split("."):[];if(s=p=c=n=n||o,3!==n.nodeType&&8!==n.nodeType&&!St.test(g+k.event.triggered)&&(g.indexOf(".")>-1&&(h=g.split("."),g=h.shift(),h.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[k.expando]?e:new k.Event(g,"object"===typeof e&&e)).isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),f=k.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(n,t))){if(!i&&!f.noBubble&&!y(n)){for(u=f.delegateType||g,St.test(u+g)||(s=s.parentNode);s;s=s.parentNode)m.push(s),c=s;c===(n.ownerDocument||o)&&m.push(c.defaultView||c.parentWindow||r)}for(a=0;(s=m[a++])&&!e.isPropagationStopped();)p=s,e.type=a>1?u:f.bindType||g,(d=(Q.get(s,"events")||{})[e.type]&&Q.get(s,"handle"))&&d.apply(s,t),(d=l&&s[l])&&d.apply&&Y(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(m.pop(),t)||!Y(n)||l&&v(n[g])&&!y(n)&&((c=n[l])&&(n[l]=null),k.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,kt),n[g](),e.isPropagationStopped()&&p.removeEventListener(g,kt),k.event.triggered=void 0,c&&(n[l]=c)),e.result}},simulate:function(e,t,r){var n=k.extend(new k.Event,r,{type:e,isSimulated:!0});k.event.trigger(n,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var r=this[0];if(r)return k.event.trigger(e,t,r,!0)}}),h.focusin||k.each({focus:"focusin",blur:"focusout"},function(e,t){var r=function(e){k.event.simulate(t,e.target,k.event.fix(e))};k.event.special[t]={setup:function(){var n=this.ownerDocument||this,i=Q.access(n,t);i||n.addEventListener(e,r,!0),Q.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this,i=Q.access(n,t)-1;i?Q.access(n,t,i):(n.removeEventListener(e,r,!0),Q.remove(n,t))}}});var Ct=r.location,Et=Date.now(),Tt=/\?/;k.parseXML=function(e){var t;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(n){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var wt=/\[\]$/,Dt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Pt(e,t,r,n){var i;if(Array.isArray(t))k.each(t,function(t,i){r||wt.test(e)?n(e,i):Pt(e+"["+("object"===typeof i&&null!=i?t:"")+"]",i,r,n)});else if(r||"object"!==S(t))n(e,t);else for(i in t)Pt(e+"["+i+"]",t[i],r,n)}k.param=function(e,t){var r,n=[],i=function(e,t){var r=v(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){i(this.name,this.value)});
vendor: 9,519 bytes, line 1
1else for(r in e)Pt(r,e[r],t,i);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var r=k(this).val();return null==r?null:Array.isArray(r)?k.map(r,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:r.replace(Dt,"\r\n")}}).get()}});var Ot=/%20/g,Ft=/#.*$/,Mt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Rt=/^\/\//,jt={},Bt={},zt="*/".concat("*"),qt=o.createElement("a");function Ut(e){return function(t,r){"string"!==typeof t&&(r=t,t="*");var n,i=0,a=t.toLowerCase().match(j)||[];if(v(r))for(;n=a[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Vt(e,t,r,n){var i={},a=e===Bt;function o(s){var c;return i[s]=!0,k.each(e[s]||[],function(e,s){var u=s(t,r,n);return"string"!==typeof u||a||i[u]?a?!(c=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),c}return o(t.dataTypes[0])||!i["*"]&&o("*")}function Jt(e,t){var r,n,i=k.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&k.extend(!0,e,n),e}qt.href=Ct.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,k.ajaxSettings),t):Jt(k.ajaxSettings,e)},ajaxPrefilter:Ut(jt),ajaxTransport:Ut(Bt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,i,a,s,c,u,l,d,f,p,_=k.ajaxSetup({},t),m=_.context||_,g=_.context&&(m.nodeType||m.jquery)?k(m):k.event,h=k.Deferred(),v=k.Callbacks("once memory"),y=_.statusCode||{},b={},x={},S="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=It.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(_.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||S;return n&&n.abort(t),E(0,t),this}};if(h.promise(C),_.url=((e||_.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),_.type=t.method||t.type||_.method||_.type,_.dataTypes=(_.dataType||"*").toLowerCase().match(j)||[""],null==_.crossDomain){u=o.createElement("a");try{u.href=_.url,u.href=u.href,_.crossDomain=qt.protocol+"//"+qt.host!==u.protocol+"//"+u.host}catch(T){_.crossDomain=!0}}if(_.data&&_.processData&&"string"!==typeof _.data&&(_.data=k.param(_.data,_.traditional)),Vt(jt,_,t,C),l)return C;for(f in(d=k.event&&_.global)&&0===k.active++&&k.event.trigger("ajaxStart"),_.type=_.type.toUpperCase(),_.hasContent=!Lt.test(_.type),i=_.url.replace(Ft,""),_.hasContent?_.data&&_.processData&&0===(_.contentType||"").indexOf("application/x-www-form-urlencoded")&&(_.data=_.data.replace(Ot,"+")):(p=_.url.slice(i.length),_.data&&(_.processData||"string"===typeof _.data)&&(i+=(Tt.test(i)?"&":"?")+_.data,delete _.data),!1===_.cache&&(i=i.replace(Mt,"$1"),p=(Tt.test(i)?"&":"?")+"_="+Et+++p),_.url=i+p),_.ifModified&&(k.lastModified[i]&&C.setRequestHeader("If-Modified-Since",k.lastModified[i]),k.etag[i]&&C.setRequestHeader("If-None-Match",k.etag[i])),(_.data&&_.hasContent&&!1!==_.contentType||t.contentType)&&C.setRequestHeader("Content-Type",_.contentType),C.setRequestHeader("Accept",_.dataTypes[0]&&_.accepts[_.dataTypes[0]]?_.accepts[_.dataTypes[0]]+("*"!==_.dataTypes[0]?", "+zt+"; q=0.01":""):_.accepts["*"]),_.headers)C.setRequestHeader(f,_.headers[f]);if(_.beforeSend&&(!1===_.beforeSend.call(m,C,_)||l))return C.abort();if(S="abort",v.add(_.complete),C.done(_.success),C.fail(_.error),n=Vt(Bt,_,t,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,_]),l)return C;_.async&&_.timeout>0&&(c=r.setTimeout(function(){C.abort("timeout")},_.timeout));try{l=!1,n.send(b,E)}catch(T){if(l)throw T;E(-1,T)}}else E(-1,"No Transport");function E(e,t,o,s){var u,f,p,b,x,S=t;l||(l=!0,c&&r.clearTimeout(c),n=void 0,a=s||"",C.readyState=e>0?4:0,u=e>=200&&e<300||304===e,o&&(b=function(e,t,r){for(var n,i,a,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){c.unshift(i);break}if(c[0]in r)a=c[0];else{for(i in r){if(!c[0]||e.converters[i+" "+c[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==c[0]&&c.unshift(a),r[a]}(_,C,o)),b=function(e,t,r,n){var i,a,o,s,c,u={},l=e.dataTypes.slice();if(l[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=l.shift();a;)if(e.responseFields[a]&&(r[e.responseFields[a]]=t),!c&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=l.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(o=u[c+" "+a]||u["* "+a]))for(i in u)if((s=i.split(" "))[1]===a&&(o=u[c+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[i]:!0!==u[i]&&(a=s[0],l.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(T){return{state:"parsererror",error:o?T:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(_,b,C,u),u?(_.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(k.lastModified[i]=x),(x=C.getResponseHeader("etag"))&&(k.etag[i]=x)),204===e||"HEAD"===_.type?S="nocontent":304===e?S="notmodified":(S=b.state,f=b.data,u=!(p=b.error))):(p=S,!e&&S||(S="error",e<0&&(e=0))),C.status=e,C.statusText=(t||S)+"",u?h.resolveWith(m,[f,S,C]):h.rejectWith(m,[C,S,p]),C.statusCode(y),y=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[C,_,u?f:p]),v.fireWith(m,[C,S]),d&&(g.trigger("ajaxComplete",[C,_]),--k.active||k.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,r){return k.get(e,t,r,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,t){k[t]=function(e,r,n,i){return v(r)&&(i=i||n,n=r,r=void 0),k.ajax(k.extend({url:e,type:t,dataType:i,data:r,success:n},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e,t){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){k(this).wrapInner(e.call(this,t))}):this.each(function(){var t=k(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(r){k(this).wrapAll(t?e.call(this,r):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Wt=k.ajaxSettings.xhr();h.cors=!!Wt&&"withCredentials"in Wt,h.ajax=Wt=!!Wt,k.ajaxTransport(function(e){var t,n;if(h.cors||Wt&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=k("<script>").attr(e.scriptAttrs||{}
vendor: 5,794 bytes, line 1
1).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),o.head.appendChild(t[0])},abort:function(){r&&r()}}});var Kt=[],Gt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||k.expando+"_"+Et++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var i,a,o,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"===typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||k.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=r[i],r[i]=function(){o=arguments},n.always(function(){void 0===a?k(r).removeProp(i):r[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(i)),o&&v(a)&&a(o[0]),o=a=void 0}),"script"}),h.createHTMLDocument=function(){var e=o.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),k.parseHTML=function(e,t,r){return"string"!==typeof e?[]:("boolean"===typeof t&&(r=t,t=!1),t||(h.createHTMLDocument?((n=(t=o.implementation.createHTMLDocument("")).createElement("base")).href=o.location.href,t.head.appendChild(n)):t=o),a=!r&&[],(i=P.exec(e))?[t.createElement(i[1])]:(i=Se([e],t,a),a&&a.length&&k(a).remove(),k.merge([],i.childNodes)));var n,i,a},k.fn.load=function(e,t,r){var n,i,a,o=this,s=e.indexOf(" ");return s>-1&&(n=vt(e.slice(s)),e=e.slice(0,s)),v(t)?(r=t,t=void 0):t&&"object"===typeof t&&(i="POST"),o.length>0&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(n?k("<div>").append(k.parseHTML(e)).find(n):e)}).always(r&&function(e,t){o.each(function(){r.apply(this,a||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length},k.offset={setOffset:function(e,t,r){var n,i,a,o,s,c,u=k.css(e,"position"),l=k(e),d={};"static"===u&&(e.style.position="relative"),s=l.offset(),a=k.css(e,"top"),c=k.css(e,"left"),("absolute"===u||"fixed"===u)&&(a+c).indexOf("auto")>-1?(o=(n=l.position()).top,i=n.left):(o=parseFloat(a)||0,i=parseFloat(c)||0),v(t)&&(t=t.call(e,r,k.extend({},s))),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):l.css(d)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){k.offset.setOffset(this,e,t)});var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],i={top:0,left:0};if("fixed"===k.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(n,"marginTop",!0),left:t.left-i.left-k.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||oe})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var r="pageYOffset"===t;k.fn[e]=function(n){return H(this,function(e,n,i){var a;if(y(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===i)return a?a[t]:e[n];a?a.scrollTo(r?a.pageXOffset:i,r?i:a.pageYOffset):e[n]=i},e,n,arguments.length)}}),k.each(["top","left"],function(e,t){k.cssHooks[t]=We(h.pixelPosition,function(e,r){if(r)return r=He(e,t),Ue.test(r)?k(e).position()[t]+"px":r})}),k.each({Height:"height",Width:"width"},function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},function(r,n){k.fn[n]=function(i,a){var o=arguments.length&&(r||"boolean"!==typeof i),s=r||(!0===i||!0===a?"margin":"border");return H(this,function(t,r,i){var a;return y(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?k.css(t,r,s):k.style(t,r,i,s)},t,o?i:void 0,o)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){k.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)}}),k.proxy=function(e,t){var r,n,i;if("string"===typeof t&&(r=e[t],t=e,e=r),v(e))return n=c.call(arguments,2),(i=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=N,k.isFunction=v,k.isWindow=y,k.camelCase=X,k.type=S,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(n=function(){return k}
1.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,Yt=r.$;return k.noConflict=function(e){return r.$===k&&(r.$=Yt),e&&r.jQuery===k&&(r.jQuery=Xt),k},i||(r.jQuery=r.$=k),k})},,,,,,,,function(e,t,r){"use strict";var n=r(0),i=r.n(n);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function d(){}function f(){}f.resetWarningCache=d;var p=function(e,t){return e(t={exports:{}},t.exports),t.exports}(function(e){e.exports=function(){function e(e,t,r,n,i,a){if(a!==l){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:f,resetWarningCache:d};return r.PropTypes=r,r}()});function _(){}function m(e){return!!(e||"").match(/\d/)}function g(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r="-"===e[0],n=r&&t,i=(e=e.replace("-","")).split(".");return{beforeDecimal:i[0],afterDecimal:i[1]||"",hasNagation:r,addNegation:n}}function v(e,t,r){for(var n="",i=r?"0":"",a=0;a<=t-1;a++)n+=e[a]||i;return n}function y(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var r=e.createTextRange();return r.move("character",t),r.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}function b(e,t,r){return Math.min(Math.max(e,t),r)}function x(e){return Math.max(e.selectionStart,e.selectionEnd)}var S={thousandSeparator:p.oneOfType([p.string,p.oneOf([!0])]),decimalSeparator:p.string,allowedDecimalSeparators:p.arrayOf(p.string),thousandsGroupStyle:p.oneOf(["thousand","lakh","wan"]),decimalScale:p.number,fixedDecimalScale:p.bool,displayType:p.oneOf(["input","text"]),prefix:p.string,suffix:p.string,format:p.oneOfType([p.string,p.func]),removeFormatting:p.func,mask:p.oneOfType([p.string,p.arrayOf(p.string)]),value:p.oneOfType([p.number,p.string]),defaultValue:p.oneOfType([p.number,p.string]),isNumericString:p.bool,customInput:p.elementType,allowNegative:p.bool,allowEmptyFormatting:p.bool,allowLeadingZeros:p.bool,onValueChange:p.func,onKeyDown:p.func,onMouseUp:p.func,onChange:p.func,onFocus:p.func,onBlur:p.func,type:p.oneOf(["text","tel","password"]),isAllowed:p.func,renderText:p.func,getInputRef:p.func},k={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:_,onChange:_,onKeyDown:_,onMouseUp:_,onFocus:_,onBlur:_,isAllowed:function(){return!0}},C=function(e){function t(e){var r,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,r=!(i=s(t).call(this,e))||"object"!==typeof i&&"function"!==typeof i?u(n):i;var a=e.defaultValue;r.validateProps();var o=r.formatValueProp(a);return r.state={value:o,numAsString:r.removeFormatting(o)},r.selectionBeforeInput={selectionStart:0,selectionEnd:0},r.onChange=r.onChange.bind(u(u(r))),r.onKeyDown=r.onKeyDown.bind(u(u(r))),r.onMouseUp=r.onMouseUp.bind(u(u(r))),r.onFocus=r.onFocus.bind(u(u(r))),r.onBlur=r.onBlur.bind(u(u(r))),r}var r,n,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,i.a.Component),r=t,(n=[{key:"componentDidUpdate",value:function(e){this.updateV
1alueIfRequired(e)}},{key:"updateValueIfRequired",value:function(e){var t=this.props,r=this.state,n=this.focusedElm,i=r.value,a=r.numAsString,o=void 0===a?"":a;if(e!==t){this.validateProps();var s=this.formatNumString(o),c=void 0===t.value?s:this.formatValueProp(),u=this.removeFormatting(c),l=parseFloat(u),d=parseFloat(o);(isNaN(l)&&isNaN(d)||l===d)&&s===i&&(null!==n||c===i)||this.updateValue({formattedValue:c,numAsString:u,input:n})}}},{key:"getFloatString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.decimalScale,r=this.getSeparators().decimalSeparator,n=this.getNumberRegex(!0),i="-"===e[0];i&&(e=e.replace("-","")),r&&0===t&&(e=e.split(r)[0]);var a=(e=(e.match(n)||[]).join("").replace(r,".")).indexOf(".");return-1!==a&&(e="".concat(e.substring(0,a),".").concat(e.substring(a+1,e.length).replace(new RegExp(g(r),"g"),""))),i&&(e="-"+e),e}},{key:"getNumberRegex",value:function(e,t){var r=this.props,n=r.format,i=r.decimalScale,a=this.getSeparators().decimalSeparator;return new RegExp("\\d"+(!a||0===i||t||n?"":"|"+g(a)),e?"g":void 0)}},{key:"getSeparators",value:function(){var e=this.props.decimalSeparator,t=this.props,r=t.thousandSeparator,n=t.allowedDecimalSeparators;return!0===r&&(r=","),n||(n=[e,"."]),{decimalSeparator:e,thousandSeparator:r,allowedDecimalSeparators:n}}},{key:"getMaskAtIndex",value:function(e){var t=this.props.mask,r=void 0===t?" ":t;return"string"===typeof r?r:r[e]||" "}},{key:"getValueObject",value:function(e,t){var r=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(r)?void 0:r}}},{key:"validateProps",value:function(){var e=this.props.mask,t=this.getSeparators(),r=t.decimalSeparator,n=t.thousandSeparator;if(r===n)throw new Error("\n Decimal separator can't be same as thousand separator.\n thousandSeparator: ".concat(n,' (thousandSeparator = {true} is same as thousandSeparator = ",")\n decimalSeparator: ').concat(r," (default value for decimalSeparator is .)\n "));if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n Mask ".concat(e," should not contain numeric character;\n "))}},{key:"setPatchedCaretPosition",value:function(e,t,r){y(e,t),setTimeout(function(){e.value===r&&y(e,t)},0)}},{key:"correctCaretPosition",value:function(e,t,r){var n=this.props,i=n.prefix,a=n.suffix,o=n.format;if(""===e)return 0;if(t=b(t,0,e.length),!o){var s="-"===e[0];return b(t,i.length+(s?1:0),e.length-a.length)}if("function"===typeof o)return t;if("#"===o[t]&&m(e[t]))return t;if("#"===o[t-1]&&m(e[t-1]))return t;var c=o.indexOf("#");t=b(t,c,o.lastIndexOf("#")+1);for(var u=o.substring(t,o.length).indexOf("#"),l=t,d=t+(-1===u?0:u);l>c&&("#"!==o[l]||!m(e[l]));)l-=1;return!m(e[d])||"left"===r&&t!==c||t-l<d-t?m(e[l])?l+1:l:d}},{key:"getCaretPosition",value:function(e,t,r){var n,i,a=this.props.format,o=this.state.value,s=this.getNumberRegex(!0),c=(e.match(s)||[]).join(""),u=(t.match(s)||[]).join("");for(n=0,i=0;i<r;i++){var l=e[i]||"",d=t[n]||"";if((l.match(s)||l===d)&&("0"!==l||!d.match(s)||"0"===d||c.length===u.length)){for(;l!==t[n]&&n<t.length;)n++;n++}}return"string"!==typeof a||o||(n=t.length),n=this.correctCaretPosition(t,n)}},{key:"removePrefixAndSuffix",value:function(e){var t=this.props,r=t.format,n=t.prefix,i=t.suffix;if(!r&&e){var a="-"===e[0];a&&(e=e.substring(1,e.length));var o=(e=n&&0===e.indexOf(n)?e.substring(n.length,e.length):e).lastIndexOf(i);e=i&&-1!==o&&o===e.length-i.length?e.substring(0,o):e,a&&(e="-"+e)}return e}},{key:"removePatternFormatting",value:function(e){for(var t=this.props.format.split("#").filter(function(e){return""!==e}),r=0,n="",i=0,a=t.length;i<=a;i++){var o=t[i]||"",s=i===a?e.length:e.indexOf(o,r);if(-1===s){n=e;break}n+=e.substring(r,s),r=s+o.length}return(n.match(/\d/g)||[]).join("")}},{key:"removeFormatting",value:function(e){var t=this.props,r=t.format,n=t.removeFormatting;return e?(r?e="string"===typeof r?this.removePatternFormatting(e):"function"===typeof n?n(e):(e.match(/\d/g)||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e}},{key:"formatWithPattern",value:function(e){for(var t=this.props.format,r=0,n=t.split(""),i=0,a=t.length;i<a;i++)"#"===t[i]&&(n[i]=e[r]||this.getMaskAtIndex(r),r+=1);return n.join("")}},{key:"formatAsNumber",value:function(e){var t=this.props,r=t.decimalScale,n=t.fixedDecimalScale,i=t.prefix,a=t.suffix,o=t.allowNegative,s=t.thous
1andsGroupStyle,c=this.getSeparators(),u=c.thousandSeparator,l=c.decimalSeparator,d=-1!==e.indexOf(".")||r&&n,f=h(e,o),p=f.beforeDecimal,_=f.afterDecimal,m=f.addNegation;return void 0!==r&&(_=v(_,r,n)),u&&(p=function(e,t,r){var n=function(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}(r),i=e.search(/[1-9]/);return i=-1===i?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(n,"$1"+t)}(p,u,s)),i&&(p=i+p),a&&(_+=a),m&&(p="-"+p),e=p+(d&&l||"")+_}},{key:"formatNumString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,r=t.format,n=t.allowEmptyFormatting,i=e;return i=""!==e||n?"-"!==e||r?"string"===typeof r?this.formatWithPattern(i):"function"===typeof r?r(i):this.formatAsNumber(i):"-":""}},{key:"formatValueProp",value:function(e){var t=this.props,r=t.format,n=t.decimalScale,i=t.fixedDecimalScale,a=t.allowEmptyFormatting,o=this.props,s=o.value,c=void 0===s?e:s,u=o.isNumericString,l=!c&&0!==c;return l&&a&&(c=""),l&&!a?"":("number"===typeof c&&(c=c.toString(),u=!0),"Infinity"===c&&u&&(c=""),u&&!r&&"number"===typeof n&&(c=function(e,t,r){if(-1!==["","-"].indexOf(e))return e;var n=-1!==e.indexOf(".")&&t,i=h(e),a=i.beforeDecimal,o=i.afterDecimal,s=i.hasNagation,c=parseFloat("0.".concat(o||"0")).toFixed(t).split("."),u=a.split("").reverse().reduce(function(e,t,r){return e.length>r?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},c[0]),l=v(c[1]||"",Math.min(t,o.length),r),d=n?".":"";return"".concat(s?"-":"").concat(u).concat(d).concat(l)}(c,n,i)),u?this.formatNumString(c):this.formatInput(c))}},{key:"formatNegation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.allowNegative,r=new RegExp("(-)"),n=new RegExp("(-)(.)*(-)"),i=r.test(e),a=n.test(e);return e=e.replace(/-/g,""),i&&!a&&t&&(e="-"+e),e}},{key:"formatInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.props.format||(e=this.removePrefixAndSuffix(e),e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)}},{key:"isCharacterAFormat",value:function(e,t){var r=this.props,n=r.format,i=r.prefix,a=r.suffix,o=r.decimalScale,s=r.fixedDecimalScale,c=this.getSeparators().decimalSeparator;return"string"===typeof n&&"#"!==n[e]||!(n||!(e<i.length||e>=t.length-a.length||o&&s&&t[e]===c))}},{key:"checkIfFormatGotDeleted",value:function(e,t,r){for(var n=e;n<t;n++)if(this.isCharacterAFormat(n,r))return!0;return!1}},{key:"correctInputValue",value:function(e,t,r){var n=this.props,i=n.format,a=n.allowNegative,o=n.prefix,s=n.suffix,c=this.getSeparators(),u=c.allowedDecimalSeparators,l=c.decimalSeparator,d=this.state.numAsString||"",f=this.selectionBeforeInput,p=f.selectionStart,_=f.selectionEnd,m=function(e,t){for(var r=0,n=0,i=e.length,a=t.length;e[r]===t[r]&&r<i;)r++;for(;e[i-1-n]===t[a-1-n]&&a-n>r&&i-n>r;)n++;return{start:r,end:i-n}}(t,r),g=m.start,v=m.end;if(!i&&g===v&&-1!==u.indexOf(r[p]))return r.substr(0,p)+l+r.substr(p+1,r.length);var y=i?0:o.length,b=t.length-(i?0:s.length);if(r.length>t.length||!r.length||g===v||0===p&&_===t.length||p===y&&_===b)return r;if(this.checkIfFormatGotDeleted(g,v,t)&&(r=t),!i){var x=this.removeFormatting(r),S=h(x,a),k=S.beforeDecimal,C=S.afterDecimal,E=S.addNegation,T=e<r.indexOf(l)+1;if(x.length<d.length&&T&&""===k&&!parseFloat(C))return E?"-":""}return r}},{key:"updateValue",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_,n=e.formattedValue,i=e.input,a=e.numAsString,o=e.caretPos,s=this.props.onValueChange,c=this.state.value;if(i){if(!o){var u=e.inputValue||i.value,l=x(i);o=this.getCaretPosition(u,n,l)}i.value=n,this.setPatchedCaretPosition(i,o,n)}void 0===a&&(a=this.removeFormatting(n)),n!==c?this.setState({value:n,numAsString:a},function(){s(t.getValueObject(n,a)),r()}):r()}},{key:"onChange",value:function(e){e.persist();var t=e.target,r=t.value,n=this.state,i=this.props,a=i.isAllowed,o=n.value||"",s=x(t);r=this.correctInputValue(s,o,r);var c=this.formatInput(r)||"",u=this.removeFormatting(c);
1a(this.getValueObject(c,u))||(c=o),this.updateValue({formattedValue:c,numAsString:u,inputValue:r,input:t},function(){i.onChange(e)})}},{key:"onBlur",value:function(e){var t=this.props,r=this.state,n=t.format,i=t.onBlur,a=t.allowLeadingZeros,o=r.numAsString,s=r.value;if(this.focusedElm=null,this.focusTimeout&&clearTimeout(this.focusTimeout),!n){a||(o=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var r=e.split("."),n=r[0].replace(/^0+/,"")||"0",i=r[1]||"";return"".concat(t?"-":"").concat(n).concat(i?".".concat(i):"")}(o));var c=this.formatNumString(o);if(c!==s)return e.persist(),void this.updateValue({formattedValue:c,numAsString:o},function(){i(e)})}i(e)}},{key:"onKeyDown",value:function(e){var t,r=e.target,n=e.key,i=r.selectionStart,a=r.selectionEnd,o=r.value,s=void 0===o?"":o,c=this.props,u=c.decimalScale,l=c.fixedDecimalScale,d=c.prefix,f=c.suffix,p=c.format,_=c.onKeyDown,m=(c.onValueChange,void 0!==u&&l),g=this.getNumberRegex(!1,m),h=new RegExp("-"),v="string"===typeof p;if(this.selectionBeforeInput={selectionStart:i,selectionEnd:a},"ArrowLeft"===n||"Backspace"===n?t=i-1:"ArrowRight"===n?t=i+1:"Delete"===n&&(t=i),void 0!==t&&i===a){var y=t,b=v?p.indexOf("#"):d.length,x=v?p.lastIndexOf("#")+1:s.length-f.length;if("ArrowLeft"===n||"ArrowRight"===n){var S="ArrowLeft"===n?"left":"right";y=this.correctCaretPosition(s,t,S)}else if("Delete"!==n||g.test(s[t])||h.test(s[t])){if("Backspace"===n&&!g.test(s[t]))if(i<=b+1&&"-"===s[0]&&"undefined"===typeof p){var k=s.substring(1);e.persist(),this.updateValue({formattedValue:k,caretPos:y,input:r})}else if(!h.test(s[t])){for(;!g.test(s[y-1])&&y>b;)y--;y=this.correctCaretPosition(s,y,"left")}}else for(;!g.test(s[y])&&y<x;)y++;(y!==t||t<b||t>x)&&(e.preventDefault(),this.setPatchedCaretPosition(r,y,s)),e.isUnitTestRun&&this.setPatchedCaretPosition(r,y,s),this.props.onKeyDown(e)}else _(e)}},{key:"onMouseUp",value:function(e){var t=e.target,r=t.selectionStart,n=t.selectionEnd,i=t.value,a=void 0===i?"":i;if(r===n){var o=this.correctCaretPosition(a,r);o!==r&&this.setPatchedCaretPosition(t,o,a)}this.props.onMouseUp(e)}},{key:"onFocus",value:function(e){var t=this;e.persist(),this.focusedElm=e.target,this.focusTimeout=setTimeout(function(){var r=e.target,n=r.selectionStart,i=r.selectionEnd,a=r.value,o=void 0===a?"":a,s=t.correctCaretPosition(o,n);s===n||0===n&&i===o.length||t.setPatchedCaretPosition(r,s,o),t.props.onFocus(e)},0)}},{key:"render",value:function(){var e=this.props,t=e.type,r=e.displayType,n=e.customInput,a=e.renderText,s=e.getInputRef,c=this.state.value,u=function(e,t){var r={};return Object.keys(e).forEach(function(n){t[n]||(r[n]=e[n])}),r}(this.props,S),l=o({},u,{type:t,value:c,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===r)return a?a(c)||null:i.a.createElement("span",o({},u,{ref:s}),c);if(n){var d=n;return i.a.createElement(d,o({},l,{ref:s}))}return i.a.createElement("input",o({},l,{ref:s}))}}])&&a(r.prototype,n),l&&a(r,l),t}();C.propTypes=S,C.defaultProps=k,t.a=C},function(e,t,r){"use strict";var n=r(557).default;r(562),(t=e.exports=n).default=t},,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=!0;t.default=function(e,t){if(!n){if(e)return;var r="Warning: "+t;"undefined"!==typeof console&&console.warn(r);try{throw Error(r)}catch(i){}}}},function(e,t,r){"use strict";var n=r(33),i=r(307),a=r(311),o=r(312),s=r(194);function c(e){s.call(this,"digest"),this._hash=e}n(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new a:new c(o(e))}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"===typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"===typeof e},t.isString=function(e){return"string"===typeof e}
1,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"===typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"===typeof e},t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=e.isBuffer}).call(this,r(103).Buffer)},function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),a=0;a<n;++a)i[a]=e[a]^r[a];return i}}).call(this,r(103).Buffer)},function(e,t,r){"use strict";var n=r(167),i=r(152);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a<this.padLength;a++)n[i++]=0;return n}},function(e,t,r){var n=t;n.bignum=r(104),n.define=r(846).define,n.base=r(259),n.constants=r(412),n.decoders=r(851),n.encoders=r(853)},function(e,t,r){var n=t;n.Reporter=r(848).Reporter,n.DecoderBuffer=r(411).DecoderBuffer,n.EncoderBuffer=r(411).EncoderBuffer,n.Node=r(849)},function(e,t){t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var o,s=t.isAbsolute(r),c=r.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(o=c[l])?c.splice(l,1):".."===o?u++:u>0&&(""===o?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(r=c.join("/"))&&(r=s?"/":"."),n?(n.path=r,a(n)):r}function s(e,t){""===e&&(e="."),""===t&&(t=".");var r=i(t),s=i(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),a(r);if(r||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=c,a(s)):c}t.urlParse=i,t.urlGenerate=a,t.normalize=o,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?u:function(e){return l(e)?"$"+e:e},t.fromSetString=c?u:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=d(e.source,t.source);
1return 0!==n?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)||r?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)||r?n:0!==(n=d(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:0!==(r=d(e.source,t.source))?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var n=i(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var c=n.path.lastIndexOf("/");c>=0&&(n.path=n.path.substring(0,c+1))}t=s(a(n),t)}return o(t)}},function(e,t){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var n=a(r(0)),i=a(r(161));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){s(e,t,r[t])})}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){for(var t=[],r=u(e),n=l(e),i=r;i<n;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=c;t.getRequiredLazySlides=function(e){for(var t=[],r=u(e),n=l(e),i=r;i<n;i++)t.push(i);return t};var u=function(e){return e.currentSlide-d(e)};t.lazyStartIndex=u;var l=function(e){return e.currentSlide+f(e)};t.lazyEndIndex=l;var d=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=d;var f=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=f;var p=function(e){return e&&e.offsetWidth||0};t.getWidth=p;var _=function(e){return e&&e.offsetHeight||0};t.getHeight=_;var m=function(e){var t,r,n,i,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,r=e.startY-e.curY,n=Math.atan2(r,t),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===a?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=m;var g=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=g;t.extractObject=function(e,t){var r={};return t.forEach(function(t){return r[t]=e[t]}),r};t.initializedState=function(e){var t,r=n.default.Children.count(e.children),a=Math.ceil(p(i.default.findDOMNode(e.listRef))),o=Math.ceil(p(i.default.findDOMNode(e.trackRef)));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var u=i.default.findDOMNode(e.listRef)&&_(i.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=u*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=r-1-e.initialSlide);var f=e.lazyLoadedList||[],m=c({currentSlide:d,lazyLoadedList:f});f.concat(m);var g={slideCount:r,slideWidth:t,listWidth:a,trackWidth:o,currentSlide:d,slideHeight:u,listHeight:l,lazyLoadedList:f};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g};t.slideHandler=function(e){var t=e.waitForAnimate,r=e.animating,
1n=e.fade,i=e.infinite,a=e.index,s=e.slideCount,u=e.lazyLoadedList,l=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,_=e.slidesToShow,m=e.useCSS;if(t&&r)return{};var h,v,y,b=a,C={},E={};if(n){if(!i&&(a<0||a>=s))return{};a<0?b=a+s:a>=s&&(b=a-s),l&&u.indexOf(b)<0&&u.push(b),C={animating:!0,currentSlide:b,lazyLoadedList:u},E={animating:!1}}else h=b,b<0?(h=b+s,i?s%p!==0&&(h=s-s%p):h=0):!g(e)&&b>d?b=h=d:f&&b>=s?(b=i?s:s-1,h=i?0:s-1):b>=s&&(h=b-s,i?s%p!==0&&(h=0):h=s-_),v=k(o({},e,{slideIndex:b})),y=k(o({},e,{slideIndex:h})),i||(v===y&&(b=h),v=y),l&&u.concat(c(o({},e,{currentSlide:b}))),m?(C={animating:!0,currentSlide:h,trackStyle:S(o({},e,{left:v})),lazyLoadedList:u},E={animating:!1,currentSlide:h,trackStyle:x(o({},e,{left:y})),swipeLeft:null}):C={currentSlide:h,trackStyle:x(o({},e,{left:y})),lazyLoadedList:u};return{state:C,nextState:E}};t.changeSlide=function(e,t){var r,n,i,a,s=e.slidesToScroll,c=e.slidesToShow,u=e.slideCount,l=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(r=u%s!==0?0:(u-l)%s,"previous"===t.message)a=l-(i=0===r?s:c-r),d&&!f&&(a=-1===(n=l-i)?u-1:n);else if("next"===t.message)a=l+(i=0===r?s:r),d&&!f&&(a=(l+s)%u+r);else if("dots"===t.message){if((a=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((a=t.index)===t.currentSlide)return null;if(f){var p=w(o({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=u:a<t.currentSlide&&"right"===p&&(a+=u)}}else if("index"===t.message&&(a=Number(t.index))===t.currentSlide)return null;return a};t.keyHandler=function(e,t,r){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?r?"next":"previous":39===e.keyCode?r?"previous":"next":""};t.swipeStart=function(e,t,r){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!r&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var r=t.scrolling,n=t.animating,i=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,c=t.rtl,u=t.currentSlide,l=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,p=t.swiped,_=t.swiping,h=t.slideCount,v=t.slidesToScroll,y=t.infinite,b=t.touchObject,S=t.swipeEvent,C=t.listHeight,E=t.listWidth;if(!r){if(n)return e.preventDefault();i&&a&&s&&e.preventDefault();var T,w={},D=k(t);b.curX=e.touches?e.touches[0].pageX:e.clientX,b.curY=e.touches?e.touches[0].pageY:e.clientY,b.swipeLength=Math.round(Math.sqrt(Math.pow(b.curX-b.startX,2)));var A=Math.round(Math.sqrt(Math.pow(b.curY-b.startY,2)));if(!s&&!_&&A>10)return{scrolling:!0};s&&(b.swipeLength=A);var N=(c?-1:1)*(b.curX>b.startX?1:-1);s&&(N=b.curY>b.startY?1:-1);var P=Math.ceil(h/v),O=m(t.touchObject,s),F=b.swipeLength;return y||(0===u&&"right"===O||u+1>=P&&"left"===O||!g(t)&&"left"===O)&&(F=b.swipeLength*l,!1===d&&f&&(f(O),w.edgeDragged=!0)),!p&&S&&(S(O),w.swiped=!0),T=i?D+F*(C/E)*N:c?D-F*N:D+F*N,s&&(T=D+F*N),w=o({},w,{touchObject:b,swipeLeft:T,trackStyle:x(o({},t,{left:T}))}),Math.abs(b.curX-b.startX)<.8*Math.abs(b.curY-b.startY)?w:(b.swipeLength>10&&(w.swiping=!0,e.preventDefault()),w)}};t.swipeEnd=function(e,t){var r=t.dragging,n=t.swipe,i=t.touchObject,a=t.listWidth,s=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,l=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe;if(!r)return n&&e.preventDefault(),{};var _=c?u/s:a/s,g=m(i,c),h={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return h;if(!i.swipeLength)return h;if(i.swipeLength>_){var b,x;switch(e.preventDefault(),p&&p(g),g){case"left":case"up":x=l+y(t),b=d?v(t,x):x,h.currentDirection=0;break;case"right":case"down":x=l-y(t),b=d?v(t,x):x,h.currentDirection=1;break;default:b=l}h.triggerSlideHandler=b}else{var C=k(t);h.trackStyle=S(o({},t,{left:C}))}return h};var h=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,r=e.infinite?-1*e.slidesToShow:0,n=e.infinite?-1*e.slidesToShow:0,i=[];r<t;)i.push(r),r=n+e.slidesToScroll,n+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=h;var v=function(e,t){var r=h(e),n=0;if(t>r[r.length-1])t=r[r.length-1];else for(var i in r){if(t<r[i]){t=n;break}n=r[i]}return t};t.checkNavigable=v;var y=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var r,n=i.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(n).every(function(n){if(e.vertical){if(n.offsetTop+_(n)/2>-1*e.swipeLeft)return r=n,!1}else if(n.offsetLeft-t+p(n)/2>-1*e.swipeLeft)return r=n,!1;return!0}),!r)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(r.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=y;var b=function(e,t){return t.reduce(function(t,r){return t&&e.hasOwnProperty(r)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=b;var x=function(e){var t,r;b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var n=e.slideCount+2*e.slidesToShow;e.vertical?r=n*e.slideHeight:t=T(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};e.useTransform?i=o({},i,{WebkitTransform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",transform:e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",msTransform:e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)"}
1):e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),r&&(i.height=r),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=x;var S=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=x(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=S;var k=function(e){if(e.unslick)return 0;b(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,r,n=e.slideIndex,a=e.trackRef,o=e.infinite,s=e.centerMode,c=e.slideCount,u=e.slidesToShow,l=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,p=e.variableWidth,_=e.slideHeight,m=e.fade,g=e.vertical;if(m||1===e.slideCount)return 0;var h=0;if(o?(h=-C(e),c%l!==0&&n+l>c&&(h=-(n>c?u-(n-c):c%l)),s&&(h+=parseInt(u/2))):(c%l!==0&&n+l>c&&(h=u-c%l),s&&(h=parseInt(u/2))),t=g?n*_*-1+h*_:n*d*-1+h*d,!0===p){var v,y=i.default.findDOMNode(a);if(v=n+C(e),t=(r=y&&y.childNodes[v])?-1*r.offsetLeft:0,!0===s){v=o?n+C(e):n,r=y&&y.children[v],t=0;for(var x=0;x<v;x++)t-=y&&y.children[x]&&y.children[x].offsetWidth;t-=parseInt(e.centerPadding),t+=r&&(f-r.offsetWidth)/2}}return t};t.getTrackLeft=k;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var E=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=E;var T=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+E(e)};t.getTotalSlides=T;var w=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+D(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"};t.siblingDirection=w;var D=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var a=(t-1)/2+1;return parseInt(i)>0&&(a+=1),n&&t%2===0&&(a+=1),a}return n?0:t-1};t.slidesOnRight=D;var A=function(e){var t=e.slidesToShow,r=e.centerMode,n=e.rtl,i=e.centerPadding;if(r){var a=(t-1)/2+1;return parseInt(i)>0&&(a+=1),n||t%2!==0||(a+=1),a}return n?t-1:0};t.slidesOnLeft=A;t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(e,t,r){"use strict";var n=r(381);function i(e,t){var r;return t>0?(r=1e5*e/t+5,Math.floor(r/10)/100):100}function a(e){this.data=e?e instanceof a?e.data:e:{lines:{total:0,covered:0,skipped:0,pct:"Unknown"},statements:{total:0,covered:0,skipped:0,pct:"Unknown"},functions:{total:0,covered:0,skipped:0,pct:"Unknown"},branches:{total:0,covered:0,skipped:0,pct:"Unknown"}},function(e){if(!(e&&e.lines&&e.statements&&e.functions&&e.branches))throw new Error("Invalid summary coverage object, missing keys, found:"+Object.keys(e).join(","))}(this.data)}function o(e){if(!e)throw new Error("Coverage must be initialized with a path or an object");if("string"===typeof e)this.data={path:e,statementMap:{},fnMap:{},branchMap:{},s:{},f:{},b:{}};else if(e instanceof o)this.data=e.data;else{if("object"!==typeof e)throw new Error("Invalid argument to coverage constructor");this.data=e}!function(e){if(!(e&&e.path&&e.statementMap&&e.fnMap&&e.branchMap&&e.s&&e.f&&e.b))throw new Error("Invalid file coverage object, missing keys, found:"+Object.keys(e).join(","))}(this.data)}["lines","statements","functions","branches"].forEach(function(e){Object.defineProperty(a.prototype,e,{enumerable:!0,get:function(){return this.data[e]}})}),a.prototype.merge=function(e){var t=this;return["lines","statements","branches","functions"].forEach(function(r){t[r].total+=e[r].total,t[r].covered+=e[r].covered,t[r].skipped+=e[r].skipped,t[r].pct=i(t[r].covered,t[r].total)}),this},a.prototype.toJSON=function(){return this.data},a.prototype.isEmpty=function(){return 0===this.lines.total},o.prototype.getLineCoverage=function(){var e=this.data.statementMap,t=this.data.s,r=Object.create(null);return Object.keys(t).forEach(function(n){if(e[n]){var i=e[n].start.line,a=t[n],o=r[i];(void 0===o||o<a)&&(r[i]=a)}}),r},o.prototype.getUncoveredLines=function(){var e=this.getLineCoverage(),t=[];return Object.keys(e).forEach(function(r){0===e[r]&&t.push(r)}),t},o.prototype.getBranchCoverageByLine=function(){var e=this.branchMap,t=this.b,r={};return Object.keys(e).forEach(function(i){var a,o=e[i].line||e[i].loc.start.line,s=t[i];r[o]=r[o]||[],(a=r[o]).push.apply(a,n(s))}),Object.keys(r).forEach(function(e){var t=r[e],n=t.filter(function(e){return e>0}),i=n.length/t.length*100;r[e]={covered:n.length,total:t.length,coverage:i}}),r},["path","statementMap","fnMap","branchMap","s","f","b"].forEach(function(e){Object.defineProperty(o.prototype,e,{enumerable:!0,get:function(){return this.data[e]}})}),o.prototype.toJSON=function(){return this.data},o.prototype.merge=function(e){var t=this;
1Object.keys(e.s).forEach(function(r){t.data.s[r]+=e.s[r]}),Object.keys(e.f).forEach(function(r){t.data.f[r]+=e.f[r]}),Object.keys(e.b).forEach(function(r){var n,i=t.data.b[r],a=e.b[r];if(i)for(n=0;n<i.length;n+=1)i[n]+=a[n];else t.data.b[r]=a})},o.prototype.computeSimpleTotals=function(e){var t=this[e],r={total:0,covered:0,skipped:0};return"function"===typeof t&&(t=t.call(this)),Object.keys(t).forEach(function(e){var n=!!t[e];r.total+=1,n&&(r.covered+=1)}),r.pct=i(r.covered,r.total),r},o.prototype.computeBranchTotals=function(){var e=this.b,t={total:0,covered:0,skipped:0};return Object.keys(e).forEach(function(r){var n=e[r];n.forEach(function(e){e>0&&(t.covered+=1)}),t.total+=n.length}),t.pct=i(t.covered,t.total),t},o.prototype.resetHits=function(){var e=this.s,t=this.f,r=this.b;Object.keys(e).forEach(function(t){e[t]=0}),Object.keys(t).forEach(function(e){t[e]=0}),Object.keys(r).forEach(function(e){var t=r[e];r[e]=t.map(function(){return 0})})},o.prototype.toSummary=function(){var e={};return e.lines=this.computeSimpleTotals("getLineCoverage"),e.functions=this.computeSimpleTotals("f","fnMap"),e.statements=this.computeSimpleTotals("s","statementMap"),e.branches=this.computeBranchTotals(),new a(e)},e.exports={CoverageSummary:a,FileCoverage:o}},function(e,t,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,a=i&&"function"===typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,a,o,s;if("function"!==typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),void 0===o)o=a[t]=r,++e._eventsCount;else if("function"===typeof o?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=u(e))>0&&o.length>i&&!o.warned){o.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=o.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):_(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function _(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)a(c,this,t);else{var u=c.length,l=_(c,u);for(r=0;r<u;++r)a(l[r],this,t)}return!0},s.prototype.addListener=function(e,t){return l(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return l(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,a,o;if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);
vendor: 8,207 bytes, line 1
1if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!==typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(i=a[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";(function(t){"undefined"===typeof t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,i)});default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return t.nextTick(function(){e.apply(null,a)})}}}:e.exports=t}).call(this,r(151))},function(e,t,r){"use strict";var n=r(789).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!==typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!==(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){var n=r(40).Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function a(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var a,o,s,c,u=r[0],l=r[1],d=r[2],f=r[3],p=e[0]^t[0],_=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],h=4,v=1;v<i;v++)a=u[p>>>24]^l[_>>>16&255]^d[m>>>8&255]^f[255&g]^t[h++],o=u[_>>>24]^l[m>>>16&255]^d[g>>>8&255]^f[255&p]^t[h++],s=u[m>>>24]^l[g>>>16&255]^d[p>>>8&255]^f[255&_]^t[h++],c=u[g>>>24]^l[p>>>16&255]^d[_>>>8&255]^f[255&m]^t[h++],p=a,_=o,m=s,g=c;return a=(n[p>>>24]<<24|n[_>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[h++],o=(n[_>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&p])^t[h++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[p>>>8&255]<<8|n[255&_])^t[h++],c=(n[g>>>24]<<24|n[p>>>16&255]<<16|n[_>>>8&255]<<8|n[255&m])^t[h++],[a>>>=0,o>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[o]=u,n[u]=o;var l=e[o],d=e[l],f=e[d],p=257*e[u]^16843008*u;i[0][o]=p<<24|p>>>8,i[1][o]=p<<16|p>>>16,i[2][o]=p<<8|p>>>24,i[3][o]=p,p=16843009*f^65537*d^257*l^16843008*o,a[0][u]=p<<24|p>>>8,a[1][u]=p<<16|p>>>16,a[2][u]=p<<8|p>>>24,a[3][u]=p,0===o?o=s=1:(o=l^e[e[e[f^l]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],a=0;a<t;a++)i[a]=e[a];for(a=t;a<n;a++){var o=i[a-1];a%t===0?(o=o<<8|o>>>24,o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o],o^=s[a/t|0]<<24):t>6&&a%t===4&&(o=c.SBOX[o>>>24]<<24|c.SBOX[o>>>16&255]<<16|c.SBOX[o>>>8&255]<<8|c.SBOX[255&o]),i[a]=i[a-t]^o}for(var u=[],l=0;l<n;l++){var d=n-l,f=i[d-(l%4?0:4)];u[l]=l<4||d<=4?f:c.INV_SUB_MIX[0][c.SBOX[f>>>24]]^c.INV_SUB_MIX[1][c.SBOX[f>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[f>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&f]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return o(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nR
vendor: 4,762 bytes, line 1
1ounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),a=n.allocUnsafe(16);return a.writeUInt32BE(r[0],0),a.writeUInt32BE(r[3],4),a.writeUInt32BE(r[2],8),a.writeUInt32BE(r[1],12),a},u.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=u},function(e,t,r){var n=r(40).Buffer,i=r(307);e.exports=function(e,t,r,a){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=n.alloc(o),c=n.alloc(a||0),u=n.alloc(0);o>0||a>0;){var l=new i;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var d=0;if(o>0){var f=s.length-o;d=Math.min(o,u.length),u.copy(s,f,0,d),o-=d}if(d<u.length&&a>0){var p=c.length-a,_=Math.min(a,u.length-d);u.copy(c,p,d,d+_),a-=_}}return u.fill(0),{key:s,iv:c}}},function(e,t,r){"use strict";var n=r(104),i=r(153),a=i.getNAF,o=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=a(t,1),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;for(var o=[],c=0;c<n.length;c+=r.step){var u=0;for(t=c+r.step-1;t>=c;t--)u=(u<<1)+n[t];o.push(u)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),f=i;f>0;f--){for(c=0;c<o.length;c++){(u=o[c])===f?d=d.mixedAdd(r.points[c]):u===-f&&(d=d.mixedAdd(r.points[c].neg()))}l=l.add(d)}return l.toP()},c.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=a(t,r),c=this.jpoint(null,null,null),u=o.length-1;u>=0;u--){for(t=0;u>=0&&0===o[u];u--)t++;if(u>=0&&t++,c=c.dblp(t),u<0)break;var l=o[u];s(0!==l),c="affine"===e.type?l>0?c.mixedAdd(i[l-1>>1]):c.mixedAdd(i[-l-1>>1].neg()):l>0?c.add(i[l-1>>1]):c.add(i[-l-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,i){for(var s=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,d=0;d<n;d++){var f=(E=t[d])._getNAFPoints(e);s[d]=f.wnd,c[d]=f.points}for(d=n-1;d>=1;d-=2){var p=d-1,_=d;if(1===s[p]&&1===s[_]){var m=[t[p],null,null,t[_]];0===t[p].y.cmp(t[_].y)?(m[1]=t[p].add(t[_]),m[2]=t[p].toJ().mixedAdd(t[_].neg())):0===t[p].y.cmp(t[_].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[_]),m[2]=t[p].add(t[_].neg())):(m[1]=t[p].toJ().mixedAdd(t[_]),m[2]=t[p].toJ().mixedAdd(t[_].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],h=o(r[p],r[_]);l=Math.max(h[0].length,l),u[p]=new Array(l),u[_]=new Array(l);for(var v=0;v<l;v++){var y=0|h[0][v],b=0|h[1][v];u[p][v]=g[3*(y+1)+(b+1)],u[_][v]=0,c[p]=m}}else u[p]=a(r[p],s[p]),u[_]=a(r[_],s[_]),l=Math.max(u[p].length,l),l=Math.max(u[_].length,l)}var x=this.jpoint(null,null,null),S=this._wnafT4;for(d=l;d>=0;d--){for(var k=0;d>=0;){var C=!0;for(v=0;v<n;v++)S[v]=0|u[v][d],0!==S[v]&&(C=!1);if(!C)break;k++,d--}if(d>=0&&k++,x=x.dblp(k),d<0)break;for(v=0;v<n;v++){var E,T=S[v];0!==T&&(T>0?E=c[v][T-1>>1]:T<0&&(E=c[v][-T-1>>1].neg()),x="affine"===E.type?x.mixedAdd(E):x.add(E))}}for(d=0;d<n;d++)c[d]=null;return i?x:x.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*r)return 6===e[0]?s(e[e.length-1]%2===0):7===e[0]&&s(e[e.length-1]%2===1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)}
vendor: 6,258 bytes, line 1
1,u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},function(e,t,r){var n=r(845),i=r(856),a=r(857),o=r(314),s=r(395),c=r(40).Buffer;function u(e){var t;"object"!==typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=c.from(e));var r,u,l=a(e,t),d=l.tag,f=l.data;switch(d){case"CERTIFICATE":u=n.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(f,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+d);case"ENCRYPTED PRIVATE KEY":f=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,f=s.pbkdf2Sync(t,r,n,d,"sha1"),p=o.createDecipheriv(a,f,u),_=[];return _.push(p.update(l)),_.push(p.final()),c.concat(_)}(f=n.EncryptedPrivateKey.decode(f,"der"),t);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(f,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+d);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return{curve:(f=n.ECPrivateKey.decode(f,"der")).parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+d)}}e.exports=u,u.signature=n.signature},function(e,t,r){"use strict";e.exports=r(531)},function(e,t,r){"use strict";function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",function(){return n})},function(e,t,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(t,"a",function(){return n})},,,function(e,t,r){"use strict";var n=r(281).CoverageSummary,i=r(281).FileCoverage,a=r(765).CoverageMap;e.exports={createCoverageSummary:function(e){return e&&e instanceof n?e:new n(e)},createCoverageMap:function(e){return e&&e instanceof a?e:new a(e)},createFileCoverage:function(e){return e&&e instanceof i?e:new i(e)}},e.exports.classes={FileCoverage:i}},,,,,,,,,,,,function(e,t,r){"use strict";var n=r(33),i=r(385),a=r(40).Buffer,o=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,a,o){return c(e+(t&r|~t&n)+i+a|0,o)+t|0}function l(e,t,r,n,i,a,o){return c(e+(t&n|r&~n)+i+a|0,o)+t|0}function d(e,t,r,n,i,a,o){return c(e+(t^r^n)+i+a|0,o)+t|0}function f(e,t,r,n,i,a,o){return c(e+(r^(t|~n))+i+a|0,o)+t|0}n(s,i),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,a=this._d;r=u(r,n,i,a,e[0],3614090360,7),a=u(a,r,n,i,e[1],3905402710,12),i=u(i,a,r,n,e[2],606105819,17),n=u(n,i,a,r,e[3],3250441966,22),r=u(r,n,i,a,e[4],4118548399,7),a=u(a,r,n,i,e[5],1200080426,12),i=u(i,a,r,n,e[6],2821735955,17),n=u(n,i,a,r,e[7],4249261313,22),r=u(r,n,i,a,e[8],1770035416,7),a=u(a,r,n,i,e[9],2336552879,12),i=u(i,a,r,n,e[10],4294925233,17),n=u(n,i,a,r,e[11],2304563134,22),r=u(r,n,i,a,e[12],1804603682,7),a=u(a,r,n,i,e[13],4254626195,12),i=u(i,a,r,n,e[14],2792965006,17),r=l(r,n=u(n,i,a,r,e[15],1236535329,22),i,a,e[1],4129170786,5),a=l(a,r,n,i,e[6],3225465664,9),i=l(i,a,r,n,e[11],643717713,14),n=l(n,i,a,r,e[0],3921069994,20),r=l(r,n,i,a,e[5],3593408605,5),a=l(a,r,n,i,e[10],38016083,9),i=l(i,a,r,n,e[15],3634488961,14),n=l(n,i,a,r,e[4],3889429448,20),r=l(r,n,i,a,e[9],568446438,5),a=l(a,r,n,i,e[14],3275163606,9),i=l(i,a,r,n,e[3],4107603335,14),n=l(n,i,a,r,e[8],1163531501,20),r=l(r,n,i,a,e[13],2850285829,5),a=l(a,r,n,i,e[2],4243563512,9),i=l(i,a,r,n,e[7],1735328473,14),r=d(r,n=l(n,i,a,r,e[12],2368359562,20),i,a,e[5],4294588738,4),a=d(a,r,n,i,e[8],2272392833,11),i=d(i,a,r,n,e[11],1839030562,16),n=d(n,i,a,r,e[14],4259657740,23),r=d(r,n,i,a,e[1],2763975236,4),a=d(a,r,n,i,e[4],1272893353,11),i=d(i,a,r,n,e[7],4139469664,16),n=d(n,i,a,r,e[10],3200236656,23),r=d(r,n,i,a,e[13],681279174,4),a=d(a,r,n,i,e[0],3936430074,11),i=d(i,a,r,n,e[3],3572445317,16),n=d(n,i,a,r,e[6],76029189,23),r=d(r,n,i,a,e[9],3654602809,4),a=d(a,r,n,i,e[12],3873151461,11),i=d(i,a,r,n,e[15],530742520,16),r=f(r,n=d(n,i,a,r,e[2],3299628645,23),i,a,e[0],4096336452,6),a=f(a,r,n,i,e[7],1126891415,10),i=f(i,a,r,n,e[14],2878612391,15),n=f(n,i,a,r,e[5],4237533241,21),r
vendor: 6,293 bytes, line 1
1=f(r,n,i,a,e[12],1700485571,6),a=f(a,r,n,i,e[3],2399980690,10),i=f(i,a,r,n,e[10],4293915773,15),n=f(n,i,a,r,e[1],2240044497,21),r=f(r,n,i,a,e[8],1873313359,6),a=f(a,r,n,i,e[15],4264355552,10),i=f(i,a,r,n,e[6],2734768916,15),n=f(n,i,a,r,e[13],1309151649,21),r=f(r,n,i,a,e[4],4149444226,6),a=f(a,r,n,i,e[11],3174756917,10),i=f(i,a,r,n,e[2],718787259,15),n=f(n,i,a,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+a|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,r){e.exports=i;var n=r(282).EventEmitter;function i(){n.call(this)}r(33)(i,n),i.Readable=r(309),i.Writable=r(791),i.Duplex=r(792),i.Transform=r(793),i.PassThrough=r(794),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(l(),0===n.listenerCount(this,"error"))throw e}function l(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},function(e,t,r){(t=e.exports=r(386)).Stream=t,t.Readable=t,t.Writable=r(310),t.Duplex=r(213),t.Transform=r(389),t.PassThrough=r(790)},function(e,t,r){"use strict";(function(t,n,i){var a=r(283);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=v;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:a.nextTick;v.WritableState=h;var u=r(255);u.inherits=r(33);var l={deprecate:r(788)},d=r(387),f=r(40).Buffer,p=i.Uint8Array||function(){};var _,m=r(388);function g(){}function h(e,t){s=s||r(213),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(a.nextTick(i,n),a.nextTick(C,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),C(e,t))}(e,r,n,t,i);else{var o=S(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||x(e,r),n?c(b,e,r,o,i):b(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(e){if(s=s||r(213),!_.call(v,this)&&!(this instanceof s))return new v(e);this._writableState=new h(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),d.call(this)}function y(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function b(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),C(e,t)}function x(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,y(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,d=r.callback;if(y(e,t,!1,t.objectMode?1:u.length,u,l,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function S(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),C(e,t)})}function C(e,t){var r=S(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"===typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(v,d),h.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(h.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(_=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!_.call(this,e)||this===v&&(e&&e._writableState instanceof h)}})):_=function(e){return e instanceof this}
vendor: 4,173 bytes, line 1
1,v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,s=!i.objectMode&&(n=e,f.isBuffer(n)||n instanceof p);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"===typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof r&&(r=g),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),a.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a.nextTick(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=f.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,n,i,a);return c}(this,i,s,e,t,r)),o},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||x(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,r){var n=this._writableState;"function"===typeof e?(r=e,e=null,t=null):"function"===typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,C(e,t),r&&(t.finished?a.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(151),r(786).setImmediate,r(127))},function(e,t,r){"use strict";var n=r(103).Buffer,i=r(33),a=r(385),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function p(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function _(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,a,o,s){return _(e+(t^r^n)+a+o|0,s)+i|0}function g(e,t,r,n,i,a,o,s){return _(e+(t&r|~t&n)+a+o|0,s)+i|0}function h(e,t,r,n,i,a,o,s){return _(e+((t|~r)^n)+a+o|0,s)+i|0}function v(e,t,r,n,i,a,o,s){return _(e+(t&n|r&~n)+a+o|0,s)+i|0}
vendor: 6,661 bytes, line 1
1function y(e,t,r,n,i,a,o,s){return _(e+(t^(r|~n))+a+o|0,s)+i|0}i(p,a),p.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,a=0|this._d,p=0|this._e,b=0|this._a,x=0|this._b,S=0|this._c,k=0|this._d,C=0|this._e,E=0;E<80;E+=1){var T,w;E<16?(T=m(r,n,i,a,p,e[s[E]],d[0],u[E]),w=y(b,x,S,k,C,e[c[E]],f[0],l[E])):E<32?(T=g(r,n,i,a,p,e[s[E]],d[1],u[E]),w=v(b,x,S,k,C,e[c[E]],f[1],l[E])):E<48?(T=h(r,n,i,a,p,e[s[E]],d[2],u[E]),w=h(b,x,S,k,C,e[c[E]],f[2],l[E])):E<64?(T=v(r,n,i,a,p,e[s[E]],d[3],u[E]),w=g(b,x,S,k,C,e[c[E]],f[3],l[E])):(T=y(r,n,i,a,p,e[s[E]],d[4],u[E]),w=m(b,x,S,k,C,e[c[E]],f[4],l[E])),r=p,p=a,a=_(i,10),i=n,n=T,b=C,C=k,k=_(S,10),S=x,x=w}var D=this._b+i+k|0;this._b=this._c+a+C|0,this._c=this._d+p+b|0,this._d=this._e+r+x|0,this._e=this._a+n+S|0,this._a=D},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=p},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(795),t.sha1=r(796),t.sha224=r(797),t.sha256=r(390),t.sha384=r(798),t.sha512=r(391)},function(e,t,r){"use strict";t.utils=r(804),t.Cipher=r(805),t.DES=r(806),t.CBC=r(807),t.EDE=r(808)},function(e,t,r){var n=r(809),i=r(817),a=r(401);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(a)}},function(e,t,r){var n={ECB:r(810),CBC:r(811),CFB:r(812),CFB8:r(813),CFB1:r(814),OFB:r(815),CTR:r(399),GCM:r(399)},i=r(401);for(var a in i)i[a].module=n[i[a].mode];e.exports=i},function(e,t,r){var n;function i(e){this.rand=e}if(e.exports=function(e){return n||(n=new i(null)),n.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=r(822);if("function"!==typeof a.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return a.randomBytes(e)}}catch(o){}},function(e,t,r){(function(t){var n=r(104),i=r(230);function a(e,r){var i=function(e){var t=o(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),a=r.modulus.byteLength(),s=(n.mont(r.modulus),new n(e).mul(i.blinder).umod(r.modulus)),c=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),l=r.coefficient,d=r.prime1,f=r.prime2,p=c.redPow(r.exponent1),_=u.redPow(r.exponent2);p=p.fromRed(),_=_.fromRed();var m=p.isub(_).imul(l).umod(d);return m.imul(f),_.iadd(m),new t(_.imul(i.unblinder).umod(r.modulus).toArray(!1,a))}function o(e){for(var t=e.modulus.byteLength(),r=new n(i(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new n(i(t));return r}e.exports=a,a.getr=o}).call(this,r(103).Buffer)},function(e,t,r){"use strict";var n=t;n.version=r(827).version,n.utils=r(153),n.rand=r(316),n.curve=r(407),n.curves=r(319),n.ec=r(838),n.eddsa=r(842)},function(e,t,r){"use strict";var n,i=t,a=r(320),o=r(407),s=r(153).assert;function c(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}
1),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(837)}catch(l){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){var n=t;n.utils=r(167),n.common=r(257),n.sha=r(831),n.ripemd=r(835),n.hmac=r(836),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.filter(function(e){return!(0,n.default)(e)}).map(function(e,r){var n=void 0;return"function"!==typeof t||null!==(n=t(e,r))&&!n?(0,i.default)(e,r,t):n})};var n=a(r(877)),i=a(r(423));function a(e){return e&&e.__esModule?e:{default:e}}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=c(a),s=c(r(26));function c(e){return e&&e.__esModule?e:{default:e}}var u={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"===typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),p=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.inputRef=function(e){r.input=e,"function"===typeof r.props.inputRef&&r.props.inputRef(e)},r.placeHolderSizerRef=function(e){r.placeHolderSizer=e},r.sizerRef=function(e){r.sizer=e},r.state={inputWidth:e.minWidth,inputId:e.id||p()},r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
vendor: 6,029 bytes, line 1
1(t,a.Component),i(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||p()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"===typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&"undefined"!==typeof this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!==e&&void 0!==e?e:t}),t=n({},this.props.style);t.display||(t.display="inline-block");var r=n({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(this.props,[]);return function(e){l.forEach(function(t){return delete e[t]})}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=r,o.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),o.default.createElement("input",n({},i,{ref:this.inputRef})),o.default.createElement("div",{ref:this.sizerRef,style:u},e),this.props.placeholder?o.default.createElement("div",{ref:this.placeHolderSizerRef,style:u},this.props.placeholder):null)}}]),t}();_.propTypes={className:s.default.string,defaultValue:s.default.any,extraWidth:s.default.oneOfType([s.default.number,s.default.string]),id:s.default.string,injectStyles:s.default.bool,inputClassName:s.default.string,inputRef:s.default.func,inputStyle:s.default.object,minWidth:s.default.oneOfType([s.default.number,s.default.string]),onAutosize:s.default.func,onChange:s.default.func,placeholder:s.default.string,placeholderIsMinWidth:s.default.bool,style:s.default.object,value:s.default.any},_.defaultProps={minWidth:1,injectStyles:!0},t.default=_},,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(767).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},function(e,t,r){"use strict";(function(e,n){var i,a=r(436);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:n;var o=Object(a.a)(i);t.a=o}).call(this,r(127),r(532)(e))},,function(e,t,r){var n=r(566);e.exports=p,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var r,n=[],a=0,o=0,s="",l=t&&t.delimiter||"/";null!=(r=i.exec(e));){var d=r[0],f=r[1],p=r.index;if(s+=e.slice(o,p),o=p+d.length,f)s+=f[1];else{var _=e[o],m=r[2],g=r[3],h=r[4],v=r[5],y=r[6],b=r[7];s&&(n.push(s),s="");var x=null!=m&&null!=_&&_!==m,S="+"===y||"*"===y,k="?"===y||"*"===y,C=r[2]||l,E=h||v;n.push({name:g||a++,prefix:m||"",delimiter:C,optional:k,repeat:S,partial:x,asterisk:!!b,pattern:E?u(E):b?".*":"[^"+c(C)+"]+?"})}}return o<e.length&&(s+=e.substr(o)),s&&n.push(s),n}function o(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e,t){for(var r=new Array(e.length),i=0;i<e.length;i++)"object"===typeof e[i]&&(r[i]=new RegExp("^(?:"+e[i].pattern+")$",d(t)));return function(t,i){for(var a="",s=t||{},c=(i||{}).pretty?o:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!==typeof l){var d,f=s[l.name];if(null==f){if(l.optional){l.partial&&(a+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(n(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=c(f[p]),!r[u].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===p?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):c(f),!r[u].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');a+=l.prefix+d}}else a+=l}return a}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,r){n(t)||(r=t||r,t=[]);for(var i=(r=r||{}).strict,a=!1!==r.end,o="",s=0;s<e.length;s++){var u=e[s];if("string"===typeof u)o+=c(u);else{var f=c(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),o+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var _=c(r.delimiter||"/"),m=o.slice(-_.length)===_;
1return i||(o=(m?o.slice(0,-_.length):o)+"(?:"+_+"(?=$))?"),o+=a?"$":i&&m?"":"(?="+_+"|$)",l(new RegExp("^"+o,d(r)),t)}function p(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(p(e[i],t,r).source);return l(new RegExp("(?:"+n.join("|")+")",d(r)),t)}(e,t,r):function(e,t,r){return f(a(e,r),t,r)}(e,t,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=c(r(0)),a=(c(r(26)),c(r(584))),o=c(r(585)),s=c(r(229));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.default.Component),n(t,[{key:"isFirstPageVisible",value:function(e){var t=this.props,r=t.hideDisabled;return t.hideNavigation,!(t.hideFirstLastPages||r&&!e)}},{key:"isPrevPageVisible",value:function(e){var t=this.props,r=t.hideDisabled;return!(t.hideNavigation||r&&!e)}},{key:"isNextPageVisible",value:function(e){var t=this.props,r=t.hideDisabled;return!(t.hideNavigation||r&&!e)}},{key:"isLastPageVisible",value:function(e){var t=this.props,r=t.hideDisabled;return t.hideNavigation,!(t.hideFirstLastPages||r&&!e)}},{key:"buildPages",value:function(){for(var e=[],t=this.props,r=t.itemsCountPerPage,n=t.pageRangeDisplayed,c=t.activePage,u=t.prevPageText,l=t.nextPageText,d=t.firstPageText,f=t.lastPageText,p=t.totalItemsCount,_=t.onChange,m=t.activeClass,g=t.itemClass,h=t.itemClassFirst,v=t.itemClassPrev,y=t.itemClassNext,b=t.itemClassLast,x=t.activeLinkClass,S=t.disabledClass,k=(t.hideDisabled,t.hideNavigation,t.linkClass),C=t.linkClassFirst,E=t.linkClassPrev,T=t.linkClassNext,w=t.linkClassLast,D=(t.hideFirstLastPages,t.getPageUrl),A=new a.default(r,n).build(p,c),N=A.first_page;N<=A.last_page;N++)e.push(i.default.createElement(o.default,{isActive:N===c,key:N,href:D(N),pageNumber:N,pageText:N+"",onClick:_,itemClass:g,linkClass:k,activeClass:m,activeLinkClass:x}));return this.isPrevPageVisible(A.has_previous_page)&&e.unshift(i.default.createElement(o.default,{key:"prev"+A.previous_page,pageNumber:A.previous_page,onClick:_,pageText:u,isDisabled:!A.has_previous_page,itemClass:(0,s.default)(g,v),linkClass:(0,s.default)(k,E),disabledClass:S})),this.isFirstPageVisible(A.has_previous_page)&&e.unshift(i.default.createElement(o.default,{key:"first",pageNumber:1,onClick:_,pageText:d,isDisabled:!A.has_previous_page,itemClass:(0,s.default)(g,h),linkClass:(0,s.default)(k,C),disabledClass:S})),this.isNextPageVisible(A.has_next_page)&&e.push(i.default.createElement(o.default,{key:"next"+A.next_page,pageNumber:A.next_page,onClick:_,pageText:l,isDisabled:!A.has_next_page,itemClass:(0,s.default)(g,y),linkClass:(0,s.default)(k,T),disabledClass:S})),this.isLastPageVisible(A.has_next_page)&&e.push(i.default.createElement(o.default,{key:"last",pageNumber:A.total_pages,onClick:_,pageText:f,isDisabled:A.current_page===A.total_pages,itemClass:(0,s.default)(g,b),linkClass:(0,s.default)(k,w),disabledClass:S})),e}},{key:"render",value:function(){var e=this.buildPages();return i.default.createElement("ul",{className:this.props.innerClass},e)}}]),t}();u.defaultProps={itemsCountPerPage:10,pageRangeDisplayed:5,activePage:1,prevPageText:"\u27e8",firstPageText:"\xab",nextPageText:"\u27e9",lastPageText:"\xbb",innerClass:"pagination",itemClass:void 0,linkClass:void 0,activeLinkClass:void 0,hideFirstLastPages:!1,getPageUrl:function(e){return"#"}},t.default=u},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",function(){return m}),r.d(t,"b",function(){return x});var n=r(0),i=r.n(n),a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},s=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},l=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},d=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},f={addEventListener:function(){}},p=function(e,t){var r=function(){o.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};r.version="2.0.7",e.addEventListener("mousewheel",function(){});r.Controller=function(i){var a,s,c="ScrollMagic.Controller",u=n.defaults,l=this,d=o.extend({},u,i),f=[],p=!1,_=0,m="PAUSED",g=!0,h=0,v=!0,y=function(){d.refreshInterval>0&&(s=e.setTimeout(T,d.refreshInterval))},b=function(){return d.vertical?o.get.scrollTop(d.container):o.get.scrollLeft(d.container)},x=function(){return d.vertical?o.get.height(d.container):o.get.width(d.container)},S=this._setScrollPos=function(t){d.vertical?g?e.scrollTo(o.get.scrollLeft(),t):d.container.scrollTop=t:g?e.scrollTo(t,o.get.scrollTop()):d.container.scrollLeft=t},k=function(){if(v&&p){var e=o.type.Array(p)?p:f.slice(0);p=!1;var t=_,r=(_=l.scrollPos())-t;0!==r&&(m=r>0?"FORWARD":"REVERSE"),"REVERSE"===m&&e.reverse(),e.forEach(function(t,r){w(3,"updating Scene "+(r+1)+"/"+e.length+" ("+f.length+" total)"),t.update(!0)}),0===e.length&&d.loglevel>=3&&w(3,"updating 0 Scenes (nothing added to controller)")}},C=function(){a=o.rAF(k)},E=function(e){w(3,"event fired causing an update:",e.type),"resize"==e.type&&(h=x(),m="PAUSED"),!0!==p&&(p=!0,C())},T=function(){if(!g&&h!=x()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(r){(e=t.createEvent("Event")).initEvent("resize",!1,!1)}d.container.dispatchEvent(e)}f.forEach(function(e,t){e.refresh()}),y()},w=this._log=function(t,r){d.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+c+") ->
1"),o.log.apply(e,arguments))};this._options=d;var D=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t};return this.addScene=function(e){if(o.type.Array(e))e.forEach(function(e,t){l.addScene(e)});else if(e instanceof r.Scene){if(e.controller()!==l)e.addTo(l);else if(f.indexOf(e)<0){for(var t in f.push(e),f=D(f),e.on("shift.controller_sort",function(){f=D(f)}),d.globalSceneOptions)e[t]&&e[t].call(e,d.globalSceneOptions[t]);w(3,"adding Scene (now "+f.length+" total)")}}else w(1,"ERROR: invalid argument supplied for '.addScene()'");return l},this.removeScene=function(e){if(o.type.Array(e))e.forEach(function(e,t){l.removeScene(e)});else{var t=f.indexOf(e);t>-1&&(e.off("shift.controller_sort"),f.splice(t,1),w(3,"removing Scene (now "+f.length+" left)"),e.remove())}return l},this.updateScene=function(e,t){return o.type.Array(e)?e.forEach(function(e,r){l.updateScene(e,t)}):t?e.update(!0):!0!==p&&e instanceof r.Scene&&(-1==(p=p||[]).indexOf(e)&&p.push(e),p=D(p),C()),l},this.update=function(e){return E({type:"resize"}),e&&k(),l},this.scrollTo=function(e,t){if(o.type.Number(e))S.call(d.container,e,t);else if(e instanceof r.Scene)e.controller()===l?l.scrollTo(e.scrollOffset(),t):w(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",e);else if(o.type.Function(e))S=e;else{var n=o.get.elements(e)[0];if(n){for(;n.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)n=n.parentNode;var i=d.vertical?"top":"left",a=o.get.offset(d.container),s=o.get.offset(n);g||(a[i]-=l.scrollPos()),l.scrollTo(s[i]-a[i],t)}else w(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",e)}return l},this.scrollPos=function(e){return arguments.length?(o.type.Function(e)?b=e:w(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),l):b.call(l)},this.info=function(e){var t={size:h,vertical:d.vertical,scrollPos:_,scrollDirection:m,container:d.container,isDocument:g};return arguments.length?void 0!==t[e]?t[e]:void w(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(d.loglevel!=e&&(d.loglevel=e),l):d.loglevel},this.enabled=function(e){return arguments.length?(v!=e&&(v=!!e,l.updateScene(f,!0)),l):v},this.destroy=function(t){e.clearTimeout(s);for(var r=f.length;r--;)f[r].destroy(t);return d.container.removeEventListener("resize",E),d.container.removeEventListener("scroll",E),o.cAF(a),w(3,"destroyed "+c+" (reset: "+(t?"true":"false")+")"),null},function(){for(var n in d)u.hasOwnProperty(n)||(w(2,'WARNING: Unknown option "'+n+'"'),delete d[n]);if(d.container=o.get.elements(d.container)[0],!d.container)throw w(1,"ERROR creating object "+c+": No valid scroll container supplied"),c+" init failed.";(g=d.container===e||d.container===t.body||!t.body.contains(d.container))&&(d.container=e),h=x(),d.container.addEventListener("resize",E),d.container.addEventListener("scroll",E);var i=parseInt(d.refreshInterval,10);d.refreshInterval=o.type.Number(i)?i:u.refreshInterval,y(),w(3,"added new "+c+" controller (v"+r.version+")")}(),l};var n={defaults:{container:e,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};r.Controller.addOption=function(e,t){n.defaults[e]=t},r.Controller.extend=function(e){var t=this;r.Controller=function(){return t.apply(this,arguments),this.$super=o.extend({},this),e.apply(this,arguments)||this},o.extend(r.Controller,t),r.Controller.prototype=t.prototype,r.Controller.prototype.constructor=r.Controller},r.Scene=function(n){var a,s,c="ScrollMagic.Scene",u=i.defaults,l=this,d=o.extend({},u,n),f="BEFORE",p=0,_={start:0,end:0},m=0,g=!0,h={};this.on=function(e,t){return o.type.Function(t)?(e=e.trim().split(" ")).forEach(function(e){var r=e.split("."),n=r[0],i=r[1];"*"!=n&&(h[n]||(h[n]=[]),h[n].push({namespace:i||"",callback:t}))}):v(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),l},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach(function(e,r){var n=e.split("."),i=n[0],a=n[1]||"";
1("*"===i?Object.keys(h):[i]).forEach(function(e){for(var r=h[e]||[],n=r.length;n--;){var i=r[n];!i||a!==i.namespace&&"*"!==a||t&&t!=i.callback||r.splice(n,1)}r.length||delete h[e]})}),l):(v(1,"ERROR: Invalid event name supplied."),l)},this.trigger=function(e,t){if(e){var n=e.trim().split("."),i=n[0],a=n[1],o=h[i];v(3,"event fired:",i,t?"->":"",t||""),o&&o.forEach(function(e,n){a&&a!==e.namespace||e.callback.call(l,new r.Event(i,e.namespace,l,t))})}else v(1,"ERROR: Invalid event name supplied.");return l},l.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?k():"reverse"===e.what&&l.update())}).on("shift.internal",function(e){x(),l.update()});var v=this._log=function(t,r){d.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+c+") ->"),o.log.apply(e,arguments))};this.addTo=function(e){return e instanceof r.Controller?s!=e&&(s&&s.removeScene(l),s=e,T(),S(!0),k(!0),x(),s.info("container").addEventListener("resize",C),e.addScene(l),l.trigger("add",{controller:s}),v(3,"added "+c+" to controller"),l.update()):v(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),l},this.enabled=function(e){return arguments.length?(g!=e&&(g=!!e,l.update(!0)),l):g},this.remove=function(){if(s){s.info("container").removeEventListener("resize",C);var e=s;s=void 0,e.removeScene(l),l.trigger("remove"),v(3,"removed "+c+" from controller")}return l},this.destroy=function(e){return l.trigger("destroy",{reset:e}),l.remove(),l.off("*.*"),v(3,"destroyed "+c+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(s)if(e)if(s.enabled()&&g){var t,r=s.info("scrollPos");t=d.duration>0?(r-_.start)/(_.end-_.start):r>=_.start?1:0,l.trigger("update",{startPos:_.start,endPos:_.end,scrollPos:r}),l.progress(t)}else y&&"DURING"===f&&A(!0);else s.updateScene(l,!1);return l},this.refresh=function(){return S(),k(),l},this.progress=function(e){if(arguments.length){var t=!1,r=f,n=s?s.info("scrollDirection"):"PAUSED",i=d.reverse||e>=p;if(0===d.duration?(t=p!=e,f=0===(p=e<1&&i?0:1)?"BEFORE":"DURING"):e<0&&"BEFORE"!==f&&i?(p=0,f="BEFORE",t=!0):e>=0&&e<1&&i?(p=e,f="DURING",t=!0):e>=1&&"AFTER"!==f?(p=1,f="AFTER",t=!0):"DURING"!==f||i||A(),t){var a={progress:p,state:f,scrollDirection:n},o=f!=r,c=function(e){l.trigger(e,a)};o&&"DURING"!==r&&(c("enter"),c("BEFORE"===r?"start":"end")),c("progress"),o&&"DURING"!==f&&(c("BEFORE"===f?"start":"end"),c("leave"))}return l}return p};var y,b,x=function(){_={start:m+d.offset},s&&d.triggerElement&&(_.start-=s.info("size")*d.triggerHook),_.end=_.start+d.duration},S=function(e){if(a){w("duration",a.call(l))&&!e&&(l.trigger("change",{what:"duration",newval:d.duration}),l.trigger("shift",{reason:"duration"}))}},k=function(e){var t=0,r=d.triggerElement;if(s&&(r||m>0)){if(r)if(r.parentNode){for(var n=s.info(),i=o.get.offset(n.container),a=n.vertical?"top":"left";r.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)r=r.parentNode;var c=o.get.offset(r);n.isDocument||(i[a]-=s.scrollPos()),t=c[a]-i[a]}else v(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),l.triggerElement(void 0);var u=t!=m;m=t,u&&!e&&l.trigger("shift",{reason:"triggerElementPosition"})}},C=function(e){d.triggerHook>0&&l.trigger("shift",{reason:"containerResize"})},E=o.extend(i.validate,{duration:function(e){if(o.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return s?s.info("size")*t:0}}if(o.type.Function(e)){a=e;try{e=parseFloat(a.call(l))}catch(r){e=-1}}if(e=parseFloat(e),!o.type.Number(e)||e<0)throw a?(a=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),T=function(e){(e=arguments.length?[e]:Object.keys(E)).forEach(function(e,t){var r;if(E[e])try{r=E[e](d[e])}catch(i){r=u[e];var n=o.type.String(i)?[i]:i;o.type.Array(n)?(n[0]="ERROR: "+n[0],n.unshift(1),v.apply(this,n)):v(1,"ERROR: Problem executing validation callback for option '"+e+"':",i.message)}finally{d[e]=r}})},w=function(e,t){var r=!1,n=d[e];return d[e]!=t&&(d[e]=t,T(e),r=n!=d[e]),r},D=function(e){l[e]||(l[e]=function(t){return arguments.length?("duration"===e&&(a=void 0),w(e,t)&&(l.trigger("change",{what:e,newval:d[e]}),i.shifts.indexOf(e)>-1&&l.trigger("shift",{reason:e})),l):d[e]})};this.controller=function(){return s},this.state=function(){return f},this.scrollOffset=function(){return _.start},this.triggerPosition=function(){var e=d.offset;return s&&(d.triggerElement?e+=m:e+=s.info("size")*l.triggerHook()),e},l.on("shift.internal",function(e){var t="duration"===e.reason;("AFTER"===f&&t||"DURING"===f&&0===d.duration)&&A(),t&&N()}).on("progress.internal",function(e){A()}).on("add.internal",function(e){N()}).on("destroy.internal",function(e){l.removePin(e.reset)});var A=function(e){if(y&&s){var t=s.info(),r=b.spacer.firstChild;if(e||"DURING"!==f){var n={position:b.inFlow?"relative":"absolute",top:0,left:0},i=o.css(r,"position")!=n.position;b.pushFollowers?d.duration>0&&("AFTER"===f&&0===parseFloat(o.css(b.spacer,"padding-top"))?i=!0:"BEFORE"===f&&0===parseFloat(o.css(b.spacer,"padding-bottom"))&&(i=!0)):n[t.vertical?"top":"left"]=d.duration*p,o.css(r,n),i&&N()}else{"fixed"!=o.css(r,"position")&&(o.css(r,{position:"fixed"}),N());var a=o.get.offset(b.spacer,!0),c=d.reverse||0===d.duration?t.scrollPos-_.start:Math.round(p*d.duration*10)/10;a[t.vertical?"top":"left"]+=c,o.css(b.spacer.firstChild,{top:a.top,left
1:a.left})}}},N=function(){if(y&&s&&b.inFlow){var e="DURING"===f,t=s.info("vertical"),r=b.spacer.firstChild,n=o.isMarginCollapseType(o.css(b.spacer,"display")),i={};b.relSize.width||b.relSize.autoFullWidth?e?o.css(y,{width:o.get.width(b.spacer)}):o.css(y,{width:"100%"}):(i["min-width"]=o.get.width(t?y:r,!0,!0),i.width=e?i["min-width"]:"auto"),b.relSize.height?e?o.css(y,{height:o.get.height(b.spacer)-(b.pushFollowers?d.duration:0)}):o.css(y,{height:"100%"}):(i["min-height"]=o.get.height(t?r:y,!0,!n),i.height=e?i["min-height"]:"auto"),b.pushFollowers&&(i["padding"+(t?"Top":"Left")]=d.duration*p,i["padding"+(t?"Bottom":"Right")]=d.duration*(1-p)),o.css(b.spacer,i)}},P=function(){s&&y&&"DURING"===f&&!s.info("isDocument")&&A()},O=function(){s&&y&&"DURING"===f&&((b.relSize.width||b.relSize.autoFullWidth)&&o.get.width(e)!=o.get.width(b.spacer.parentNode)||b.relSize.height&&o.get.height(e)!=o.get.height(b.spacer.parentNode))&&N()},F=function(e){s&&y&&"DURING"===f&&!s.info("isDocument")&&(e.preventDefault(),s._setScrollPos(s.info("scrollPos")-((e.wheelDelta||e[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(r,n){var i=n&&n.hasOwnProperty("pushFollowers");if(n=o.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},n),!(r=o.get.elements(r)[0]))return v(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),l;if("fixed"===o.css(r,"position"))return v(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),l;if(y){if(y===r)return l;l.removePin()}var a=(y=r).parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];y.parentNode.style.display="none";var c="absolute"!=o.css(y,"position"),u=o.css(y,s.concat(["display"])),f=o.css(y,["width","height"]);y.parentNode.style.display=a,!c&&n.pushFollowers&&(v(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),n.pushFollowers=!1),e.setTimeout(function(){y&&0===d.duration&&i&&n.pushFollowers&&v(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var p=y.parentNode.insertBefore(t.createElement("div"),y),_=o.extend(u,{position:c?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(c||o.extend(_,o.css(y,["width","height"])),o.css(p,_),p.setAttribute("data-scrollmagic-pin-spacer",""),o.addClass(p,n.spacerClass),b={spacer:p,relSize:{width:"%"===f.width.slice(-1),height:"%"===f.height.slice(-1),autoFullWidth:"auto"===f.width&&c&&o.isMarginCollapseType(u.display)},pushFollowers:n.pushFollowers,inFlow:c},!y.___origStyle){y.___origStyle={};var m=y.style;s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){y.___origStyle[e]=m[e]||""})}return b.relSize.width&&o.css(p,{width:f.width}),b.relSize.height&&o.css(p,{height:f.height}),p.appendChild(y),o.css(y,{position:c?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(b.relSize.width||b.relSize.autoFullWidth)&&o.css(y,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),e.addEventListener("scroll",P),e.addEventListener("resize",P),e.addEventListener("resize",O),y.addEventListener("mousewheel",F),y.addEventListener("DOMMouseScroll",F),v(3,"added pin"),A(),l},this.removePin=function(t){if(y){if("DURING"===f&&A(!0),t||!s){var r=b.spacer.firstChild;if(r.hasAttribute("data-scrollmagic-pin-spacer")){var n=b.spacer.style,i={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(e){i[e]=n[e]||""}),o.css(r,i)}b.spacer.parentNode.insertBefore(r,b.spacer),b.spacer.parentNode.removeChild(b.spacer),y.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(o.css(y,y.___origStyle),delete y.___origStyle)}e.removeEventListener("scroll",P),e.removeEventListener("resize",P),e.removeEventListener("resize",O),y.removeEventListener("mousewheel",F),y.removeEventListener("DOMMouseScroll",F),y=void 0,v(3,"removed pin (reset: "+(t?"true":"false")+")")}return l};var M,I=[];return l.on("destroy.internal",function(e){l.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var r=o.get.elements(e);return 0!==r.length&&o.type.String(t)?(I.length>
10&&l.removeClassToggle(),M=t,I=r,l.on("enter.internal_class leave.internal_class",function(e){var t="enter"===e.type?o.addClass:o.removeClass;I.forEach(function(e,r){t(e,M)})}),l):(v(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===r.length?"element":"classes")+" supplied."),l)},this.removeClassToggle=function(e){return e&&I.forEach(function(e,t){o.removeClass(e,M)}),l.off("start.internal_class end.internal_class"),M=void 0,I=[],l},function(){for(var e in d)u.hasOwnProperty(e)||(v(2,'WARNING: Unknown option "'+e+'"'),delete d[e]);for(var t in u)D(t);T()}(),l};var i={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!o.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=o.get.elements(e)[0];if(!t||!t.parentNode)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(o.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!o.type.Number(e)||e<0||e>3)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};r.Scene.addOption=function(e,t,n,a){e in i.defaults?r._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(i.defaults[e]=t,i.validate[e]=n,a&&i.shifts.push(e))},r.Scene.extend=function(e){var t=this;r.Scene=function(){return t.apply(this,arguments),this.$super=o.extend({},this),e.apply(this,arguments)||this},o.extend(r.Scene,t),r.Scene.prototype=t.prototype,r.Scene.prototype.constructor=r.Scene},r.Event=function(e,t,r,n){for(var i in n=n||{})this[i]=n[i];return this.type=e,this.target=this.currentTarget=r,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var o=r._util=function(e){var r,n={},i=function(e){return parseFloat(e)||0},o=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},s=function(r,n,a,s){if((n=n===t?e:n)===e)s=!1;else if(!g.DomElement(n))return 0;r=r.charAt(0).toUpperCase()+r.substr(1).toLowerCase();var c=(a?n["offset"+r]||n["outer"+r]:n["client"+r]||n["inner"+r])||0;if(a&&s){var u=o(n);c+="Height"===r?i(u.marginTop)+i(u.marginBottom):i(u.marginLeft)+i(u.marginRight)}return c},c=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})};n.extend=function(e){for(e=e||{},r=1;r<arguments.length;r++)if(arguments[r])for(var t in arguments[r])arguments[r].hasOwnProperty(t)&&(e[t]=arguments[r][t]);return e},n.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};var u=0,l=["ms","moz","webkit","o"],d=e.requestAnimationFrame,f=e.cancelAnimationFrame;for(r=0;!d&&r<l.length;++r)d=e[l[r]+"RequestAnimationFrame"],f=e[l[r]+"CancelAnimationFrame"]||e[l[r]+"CancelRequestAnimationFrame"];d||(d=function(t){var r=(new Date).getTime(),n=Math.max(0,16-(r-u)),i=e.setTimeout(function(){t(r+n)},n);return u=r+n,i}),f||(f=function(t){e.clearTimeout(t)}),n.rAF=d.bind(e),n.cAF=f.bind(e);var p=["error","warn","log"],_=e.console||{};for(_.log=_.log||function(){},r=0;r<p.length;r++){var m=p[r];_[m]||(_[m]=_.log)}n.log=function(e){(e>p.length||e<=0)&&(e=p.length);var t=new Date,r=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),n=p[e-1],i=Array.prototype.splice.call(arguments,1),a=Function.prototype.bind.call(_[n],_);i.unshift(r),a.apply(_,i)};var g=n.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};g.String=function(e){return"string"===g(e)},g.Function=function(e){return"function"===g(e)},g.Array=function(e){return Array.isArray(e)},g.Number=function(e){return!g.Array(e)&&e-parseFloat(e)+1>=0},g.DomElement=function(e){return"object"===("undefined"===typeof HTMLElement?"undefined":a(HTMLElement))||"function"===typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"===("undefined"===typeof e?"undefined":a(e))&&null!==e&&1===e.nodeType&&"string"===typeof e.nodeName};var h=n.get={};return h.elements=function(r){var n=[];if(g.String(r))try{r=t.querySelectorAll(r)}catch(s){return n}if("nodelist"===g(r)||g.Array(r)||r instanceof NodeList)for(var i=0,a=n.length=r.length;i<a;i++){var o=r[i];n[i]=g.DomElement(o)?o:h.elements(o)}else(g.DomElement(r)||r===t||r===e)&&(n=[r]);return n},h.scrollTop=function(t){return t&&"number"===typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},h.scrollLeft=function(t){return t&&"number"===typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},h.width=function(e,t,r){return s("width",e,t,r)},h.height=function(e,t,r){return s("height",e,t,r)},h.offset=function(e,t){var r={top:0,left:0};if(e&&e.getBoundingClientRect){var n=e.getBoundingClientRect();r.top=n.top,r.left=n.left,t||(r.top+=h.scrollTop(),r.left+=h.scrollLeft())}return r},n.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},n.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},n.css=function(e,t){if(g.String(t))return o(e)[c(t)];if(g.Array(t)){var r={},n=o(e);return t.forEach(function(e,t){r[e]=n[c(e)]}),r}for(var i in t){var a=t[i];a==parseFloat(a)&&(a+="px"),e.style[c(i)]=a}},n}(e||{});return r}("undefined"===typeof window?f:window,"undefined"===typeof document?{}:document),_=i.a.createContext(null),m=function(e){function t(){var e,r,n;o(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.state={controller:null},d(n,r)}
1return u(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.children,l(e,["children"]));this.setState({controller:new p.Controller(t)})}},{key:"componentWillUnmount",value:function(){this.controller=null}},{key:"render",value:function(){var e=this.props.children,t=this.state.controller;return t?i.a.createElement(_.Provider,{value:t},e):e}}]),t}(i.a.Component);!function(e){var t="debug.addIndicators";if("undefined"===typeof r)var r={addEventListener:function(){}};var n=r.console||{},i=Function.prototype.bind.call(n.error||n.log||function(){},n);e||i("("+t+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs.");var a=e._util,o=0;e.Scene.extend(function(){var e,t=this;t.addIndicators=function(r){if(!e){var n={name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"};r=a.extend({},n,r),o++,e=new s(t,r),t.on("add.plugin_addIndicators",e.add),t.on("remove.plugin_addIndicators",e.remove),t.on("destroy.plugin_addIndicators",t.removeIndicators),t.controller()&&e.add()}return t},t.removeIndicators=function(){return e&&(e.remove(),this.off("*.plugin_addIndicators"),e=void 0),t}}),e.Controller.addOption("addIndicators",!1),e.Controller.extend(function(){var n=this,i=n.info(),o=i.container,s=i.isDocument,c=i.vertical,u={groups:[]};n._indicators&&function(){n._log&&(Array.prototype.splice.call(arguments,1,0,"("+t+")","->"),n._log.apply(this,arguments))}(2,"WARNING: Scene already has a property '_indicators', which will be overwritten by plugin."),this._indicators=u;var l=function(){u.updateBoundsPositions()},d=function(){u.updateTriggerGroupPositions()};return o.addEventListener("resize",d),s||(r.addEventListener("resize",d),r.addEventListener("scroll",d)),o.addEventListener("resize",l),o.addEventListener("scroll",l),this._indicators.updateBoundsPositions=function(e){for(var t,r,n,i=e?[a.extend({},e.triggerGroup,{members:[e]})]:u.groups,s=i.length,l={},d=c?"left":"top",f=c?"width":"height",p=c?a.get.scrollLeft(o)+a.get.width(o)-15:a.get.scrollTop(o)+a.get.height(o)-15;s--;)for(t=(n=i[s]).members.length,r=a.get[f](n.element.firstChild);t--;)l[d]=p-r,a.css(n.members[t].bounds,l)},this._indicators.updateTriggerGroupPositions=function(e){for(var t,r,i,l,d=e?[e]:u.groups,f=d.length,p=s?document.body:o,_=s?{top:0,left:0}:a.get.offset(p,!0),m=c?a.get.width(o)-15:a.get.height(o)-15,g=c?"width":"height",h=c?"Y":"X";f--;)r=(t=d[f]).element,l=(i=t.triggerHook*n.info("size"))>a.get[g](r.firstChild.firstChild)?"translate"+h+"(-100%)":"",a.css(r,{top:_.top+(c?i:m-t.members[0].options.indent),left:_.left+(c?m-t.members[0].options.indent:i)}),a.css(r.firstChild.firstChild,{"-ms-transform":l,"-webkit-transform":l,transform:l})},this._indicators.updateTriggerGroupLabel=function(e){var t="trigger"+(e.members.length>1?"":" "+e.members[0].options.name),r=e.element.firstChild.firstChild;r.textContent!==t&&(r.textContent=t,c&&u.updateBoundsPositions())},this.addScene=function(t){this._options.addIndicators&&t instanceof e.Scene&&t.controller()===n&&t.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){o.removeEventListener("resize",d),s||(r.removeEventListener("resize",d),r.removeEventListener("scroll",d)),o.removeEventListener("resize",l),o.removeEventListener("scroll",l),this.$super.destroy.apply(this,arguments)},n});var s=function(e,r){var n,i,s=this,u=c.bounds(),l=c.start(r.colorStart),d=c.end(r.colorEnd),f=r.parent&&a.get.elements(r.parent)[0],p=function(){e._log&&(Array.prototype.splice.call(arguments,1,0,"("+t+")","->"),e._log.apply(this,arguments))};r.name=r.name||o,l.firstChild.textContent+=" "+r.name,d.textContent+=" "+r.name,u.appendChild(l),u.appendChild(d),s.options=r,s.bounds=u,s.triggerGroup=void 0,this.add=function(){i=e.controller(),n=i.info("vertical");var t=i.info("isDocument");f||(f=t?document.body:i.info("container")),t||"static"!==a.css(f,"position")||a.css(f,{position:"relative"}),e.on("change.plugin_addIndicators",m),e.on("shift.plugin_addIndicators",_),y(),h(),setTimeout(function(){i._indicators.updateBoundsPositions(s)},0),p(3,"added indicators")},this.remove=function(){if(s.triggerGroup){if(e.off("change.plugin_addIndicators",m),e.off("shift.plugin_addIndicators",_),s.triggerGroup.members.length>1){var t=s.triggerGroup;t.members.splice(t.members.indexOf(s),1),i._indicators.updateTriggerGroupLabel(t),i._indicators.updateTriggerGroupPositions(t),s.triggerGroup=void 0}else v();g(),p(3,"removed indicators")}};var _=function(){h()},m=function(e){"triggerHook"===e.what&&y()},g=function(){u.parentNode.removeChild(u)},h=function(){u.parentNode!==f&&function(){var e=i.info("vertical");a.css(l.firstChild,{"border-bottom-width":e?1:0,"border-right-width":e?0:1,bottom:e?-1:r.indent,right:e?r.indent:-1,padding:e?"0 8px":"2px 4px"}),a.css(d,{"border-top-width":e?1:0,"border-left-width":e?0:1,top:e?"100%":"",right:e?r.indent:"",bottom:e?"":r.indent,left:e?"":"100%",padding:e?"0 8px":"2px 4px"}),f.appendChild(u)}();var t={};
1t[n?"top":"left"]=e.triggerPosition(),t[n?"height":"width"]=e.duration(),a.css(u,t),a.css(d,{display:e.duration()>0?"":"none"})},v=function(){i._indicators.groups.splice(i._indicators.groups.indexOf(s.triggerGroup),1),s.triggerGroup.element.parentNode.removeChild(s.triggerGroup.element),s.triggerGroup=void 0},y=function(){var t=e.triggerHook();if(!(s.triggerGroup&&Math.abs(s.triggerGroup.triggerHook-t)<1e-4)){for(var o,u=i._indicators.groups,l=u.length;l--;)if(o=u[l],Math.abs(o.triggerHook-t)<1e-4)return s.triggerGroup&&(1===s.triggerGroup.members.length?v():(s.triggerGroup.members.splice(s.triggerGroup.members.indexOf(s),1),i._indicators.updateTriggerGroupLabel(s.triggerGroup),i._indicators.updateTriggerGroupPositions(s.triggerGroup))),o.members.push(s),s.triggerGroup=o,void i._indicators.updateTriggerGroupLabel(o);if(s.triggerGroup){if(1===s.triggerGroup.members.length)return s.triggerGroup.triggerHook=t,void i._indicators.updateTriggerGroupPositions(s.triggerGroup);s.triggerGroup.members.splice(s.triggerGroup.members.indexOf(s),1),i._indicators.updateTriggerGroupLabel(s.triggerGroup),i._indicators.updateTriggerGroupPositions(s.triggerGroup),s.triggerGroup=void 0}!function(){var t=c.trigger(r.colorTrigger),o={};o[n?"right":"bottom"]=0,o[n?"border-top-width":"border-left-width"]=1,a.css(t.firstChild,o),a.css(t.firstChild.firstChild,{padding:n?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(t);var u={triggerHook:e.triggerHook(),element:t,members:[s]};i._indicators.groups.push(u),s.triggerGroup=u,i._indicators.updateTriggerGroupLabel(u),i._indicators.updateTriggerGroupPositions(u)}()}}},c={start:function(e){var t=document.createElement("div");t.textContent="start",a.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e});var r=document.createElement("div");return a.css(r,{position:"absolute",overflow:"visible",width:0,height:0}),r.appendChild(t),r},end:function(e){var t=document.createElement("div");return t.textContent="end",a.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),t},bounds:function(){var e=document.createElement("div");return a.css(e,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":"0.85em"}),e.style.zIndex="9999",e},trigger:function(e){var t=document.createElement("div");t.textContent="trigger",a.css(t,{position:"relative"});var r=document.createElement("div");a.css(r,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),r.appendChild(t);var n=document.createElement("div");return a.css(n,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":"0.85em"}),n.style.zIndex="9999",n.appendChild(r),n}}}(p);var g=function(e){return!(1!==i.a.Children.count(e)||!e.type||"Tween"!==e.type.displayName&&"Timeline"!==e.type.displayName)},h=function(e,t,r){return e&&"function"===typeof e?e(t,r):e},v=function(e,t,r){return e=function(e,t,r){if(g(e)){var n=c({},e.props,{totalProgress:t,paused:!0});return i.a.createElement("div",null,i.a.createElement(e.type,n))}return e}(e,t),e=h(e,t,r),i.a.Children.only(e)},y=function(e){function t(){var e,r,n;o(this,t);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return r=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.state={event:"init",progress:0},d(n,r)}return u(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this.props,t=(e.children,e.controller),r=e.classToggle,n=e.pin,i=e.pinSettings,a=e.indicators,o=e.enabled,s=l(e,["children","controller","classToggle","pin","pinSettings","indicators","enabled"]),c=this.ref;s.triggerElement=null===s.triggerElement?null:s.triggerElement||c,this.scene=new p.Scene(s),this.initEventHandlers(),r&&this.setClassToggle(this.scene,c,r),(n||i)&&this.setPin(this.scene,c,n,i),a&&this.scene.addIndicators({name:" "}),void 0!==o&&this.scene.enabled(o),this.scene.addTo(t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.duration,n=t.offset,i=t.triggerElement,a=t.triggerHook,o=t.reverse,s=t.enabled;void 0!==r&&r!==e.duration&&this.scene.duration(r),void 0!==n&&n!==e.offset&&this.scene.offset(n),void 0!==i&&e.triggerElement,void 0!==a&&a!==e.triggerHook&&this.scene.triggerHook(a),void 0!==o&&o!==e.reverse&&this.scene.reverse(o),void 0!==s&&s!==e.enabled&&this.scene.enabled(s)}},{key:"componentWillUnmount",value:function(){this.scene.destroy()}},{key:"setClassToggle",value:function(e,t,r){Array.isArray(r)&&2===r.length?e.setClassToggle(r[0],r[1]):e.setClassToggle(t,r)}},{key:"setPin",value:function(e,t,r,n){t=function(e){return"string"===typeof e||e instanceof String}(r)?r:t,e.setPin(t,n)}},{key:"initEventHandlers",value:function(){var e=this,t=this.props,r=t.children,n=t.progressEvents,i=void 0===n||n;("function"===typeof r||g(h(r,0,"init")))&&(this.scene.on("start end enter leave",function(t){e.setState({event:t})}),i&&this.scene.on("progress",function(t){e.setState({progress:t.progress})}))}},{key:"render",value:function(){var e,t,r,n=this,a=this.props.children,o=this.state,s=o.progress,c=o.event,u=v(a,s,c);return i.a.cloneElement(u,(e={},t=function(e){return e.type&&e.type.$$typeof&&"Symbol(react.forward_ref)"===e.type.$$typeof.toString()?"ref":e.type&&e.type.styledComponentId?"innerRef":"ref"}(u),r=function(e){return n.ref=e},t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e))}}]),t}(i.a.PureComponent),b=function(e){function t(){return o(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),s(t,[{key:"render",value:function(){if(!this.props.controller){var e=this.props.children;return v(e,0,"init")}return i.a.createElement(y,this.props)}}]),t}(i.a.PureComponent);b.displayName="Scene";var x=function(e){var t=e.children,r=l(e,["children"]);return i.a.createElement(_.Consumer,null,function(e){return i.a.createElement(b,c({controller:e},r),t)})}},function(e,t,r){"use strict";e.exports=r(876)},function(e,t,r){!function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var r,n,i,a,o,s,c,u,l,d,f,p,_=function(){return r||"undefined"!==typeof window&&(r=window.gsap)&&r.registerPlugin&&r},m=1,g=[],h=[],v=[],y=Date.now,b=function(e,t){return t},x=function(e,t){return~v.indexOf(e)&&v[v.indexOf(e)+1][t]},S=function(e){return!!~d.indexOf(e)},k=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},C=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},E=function(){return f&&f.isPressed||h.cache++},T=function(e,t){var r=function r(n){if(n||0===n){m&&(i.history.scrollRestoration="manual");var a=f&&f.isPressed;n=r.v=Math.round(n)||(f&&f.iOS?1:0),e(n),r.cacheID=h.cache,a&&b("ss",n)}else(t||h.cache!==r.cacheID||b("ref"))&&(r.cacheID=h.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},w={s:"scrollLeft",p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:T(function(e){return arguments.length?i.scrollTo(e,D.sc()):i.pageXOffset||a.scrollLeft||o.scrollLeft||s.scrollLeft||0})},D={s:"scrollTop",p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:w,sc:T(function(e){return arguments.length?i.scrollTo(w.sc(),e):i.pageYOffset||a.scrollTop||o.scrollTop||s.scrollTop||0})},A=function(e){return r.utils.toArray(e)[0]||("string"===typeof e&&!1!==r.config().nullTargetWarn?console.warn("Element not found:",e):null)},N=function(e,t){var r=t.s,n=t.sc,i=h.indexOf(e),a=n===D.sc?1:2;return!~i&&(i=h.push(e)-1),h[i+a]||(h[i+a]=T(x(e,r),!0)||(S(e)?n:T(function(t){return arguments.length?e[r]=t:e[r]})))},P=function(e,t,r){var n=e,i=e,a=y(),o=a,s=t||50,c=Math.max(500,3*s),u=function(e,t){var c=y();t||c-a>s?(i=n,n=e,o=a,a=c):r?n+=e:n=i+(e-i)/(c-o)*(a-o)};return{update:u,reset:function(){i=n=r?0:n,o=a=0},getVelocity:function(e){var t=o,s=i,l=y();return(e||0===e)&&e!==n&&u(e),a===o||l-o>
1c?0:(n+(r?s:-s))/((r?l:a)-t)*1e3}}},O=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},F=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},M=function(){(l=r.core.globals().ScrollTrigger)&&l.core&&function(){var e=l.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,h),n.push.apply(n,v),h=r,v=n,b=function(e,r){return t[e](r)}}()},I=function(e){return(r=e||_())&&"undefined"!==typeof document&&document.body&&(i=window,a=document,o=a.documentElement,s=a.body,d=[i,a,o,s],r.utils.clamp,u="onpointerenter"in s?"pointer":"mouse",c=L.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,p=L.eventTypes=("ontouchstart"in o?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in o?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return m=0},500),M(),n=1),n};w.op=D,h.cache=0;var L=function(){function e(e){this.init(e)}var d,_,m,h=e.prototype;return h.init=function(e){n||I(r)||console.warn("Please gsap.registerPlugin(Observer)"),l||M();var t=e.tolerance,d=e.dragMinimum,_=e.type,m=e.target,h=e.lineHeight,v=e.debounce,b=e.preventDefault,x=e.onStop,T=e.onStopDelay,L=e.ignore,R=e.wheelSpeed,j=e.event,B=e.onDragStart,z=e.onDragEnd,q=e.onDrag,U=e.onPress,V=e.onRelease,J=e.onRight,H=e.onLeft,W=e.onUp,K=e.onDown,G=e.onChangeX,X=e.onChangeY,Y=e.onChange,$=e.onToggleX,Q=e.onToggleY,Z=e.onHover,ee=e.onHoverEnd,te=e.onMove,re=e.ignoreCheck,ne=e.isNormalizer,ie=e.onGestureStart,ae=e.onGestureEnd,oe=e.onWheel,se=e.onEnable,ce=e.onDisable,ue=e.onClick,le=e.scrollSpeed,de=e.capture,fe=e.allowClicks,pe=e.lockAxis,_e=e.onLockAxis;this.target=m=A(m)||o,this.vars=e,L&&(L=r.utils.toArray(L)),t=t||0,d=d||0,R=R||1,le=le||1,_=_||"wheel,touch,pointer",v=!1!==v,h||(h=parseFloat(i.getComputedStyle(s).lineHeight)||22);var me,ge,he,ve,ye,be,xe,Se=this,ke=0,Ce=0,Ee=N(m,w),Te=N(m,D),we=Ee(),De=Te(),Ae=~_.indexOf("touch")&&!~_.indexOf("pointer")&&"pointerdown"===p[0],Ne=S(m),Pe=m.ownerDocument||a,Oe=[0,0,0],Fe=[0,0,0],Me=0,Ie=function(){return Me=y()},Le=function(e,t){return(Se.event=e)&&L&&~L.indexOf(e.target)||t&&Ae&&"touch"!==e.pointerType||re&&re(e,t)},Re=function(){var e=Se.deltaX=F(Oe),r=Se.deltaY=F(Fe),n=Math.abs(e)>=t,i=Math.abs(r)>=t;Y&&(n||i)&&Y(Se,e,r,Oe,Fe),n&&(J&&Se.deltaX>0&&J(Se),H&&Se.deltaX<0&&H(Se),G&&G(Se),$&&Se.deltaX<0!==ke<0&&$(Se),ke=Se.deltaX,Oe[0]=Oe[1]=Oe[2]=0),i&&(K&&Se.deltaY>0&&K(Se),W&&Se.deltaY<0&&W(Se),X&&X(Se),Q&&Se.deltaY<0!==Ce<0&&Q(Se),Ce=Se.deltaY,Fe[0]=Fe[1]=Fe[2]=0),(ve||he)&&(te&&te(Se),_e&&be&&_e(Se),he&&(q(Se),he=!1),ve=be=!1),ye&&(oe(Se),ye=!1),me=0},je=function(e,t,r){Oe[r]+=e,Fe[r]+=t,Se._vx.update(e),Se._vy.update(t),v?me||(me=requestAnimationFrame(Re)):Re()},Be=function(e,t){"y"!==xe&&(Oe[2]+=e,Se._vx.update(e,!0)),"x"!==xe&&(Fe[2]+=t,Se._vy.update(t,!0)),pe&&!xe&&(Se.axis=xe=Math.abs(e)>Math.abs(t)?"x":"y",be=!0),v?me||(me=requestAnimationFrame(Re)):Re()},ze=function(e){if(!Le(e,1)){var t=(e=O(e,b)).clientX,r=e.clientY,n=t-Se.x,i=r-Se.y,a=Se.isDragging;Se.x=t,Se.y=r,(a||Math.abs(Se.startX-t)>=d||Math.abs(Se.startY-r)>=d)&&(q&&(he=!0),a||(Se.isDragging=!0),Be(n,i),a||B&&B(Se))}},qe=Se.onPress=function(e){Le(e,1)||(Se.axis=xe=null,ge.pause(),Se.isPressed=!0,e=O(e),ke=Ce=0,Se.startX=Se.x=e.clientX,Se.startY=Se.y=e.clientY,Se._vx.reset(),Se._vy.reset(),k(ne?m:Pe,p[1],ze,b,!0),Se.deltaX=Se.deltaY=0,U&&U(Se))},Ue=function(e){if(!Le(e,1)){C(ne?m:Pe,p[1],ze,!0);var t=Se.isDragging&&(Math.abs(Se.x-Se.startX)>3||Math.abs(Se.y-Se.startY)>3),n=O(e);t||(Se._vx.reset(),Se._vy.reset(),b&&fe&&r.delayedCall(.08,function(){if(y()-Me>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(Pe.createEvent){var t=Pe.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,i,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}})),Se.isDragging=Se.isGesturing=Se.isPressed=!1,x&&!ne&&ge.restart(!0),z&&t&&z(Se),V&&V(Se,t)}},Ve=function(e){return e.touches&&e.touches.length>1&&(Se.isGesturing=!0)&&ie(e,Se.isDragging)},Je=function(){return(Se.isGesturing=!1)||ae(Se)},He=function(e){if(!Le(e)){var t=Ee(),r=Te();je((t-we)*le,(r-De)*le,1),we=t,De=r,x&&ge.restart(!0)}},We=function(e){if(!Le(e)){e=O(e,b),oe&&(ye=!0);var t=(1===e.deltaMode?h:2===e.deltaMode?i.innerHeight:1)*R;je(e.deltaX*t,e.deltaY*t,0),x&&!ne&&ge.restart(!0)}},Ke=function(e){if(!Le(e)){var t=e.clientX,r=e.clientY,n=t-Se.x,i=r-Se.y;Se.x=t,Se.y=r,ve=!0,(n||i)&&Be(n,i)}}
1,Ge=function(e){Se.event=e,Z(Se)},Xe=function(e){Se.event=e,ee(Se)},Ye=function(e){return Le(e)||O(e,b)&&ue(Se)};ge=Se._dc=r.delayedCall(T||.25,function(){Se._vx.reset(),Se._vy.reset(),ge.pause(),x&&x(Se)}).pause(),Se.deltaX=Se.deltaY=0,Se._vx=P(0,50,!0),Se._vy=P(0,50,!0),Se.scrollX=Ee,Se.scrollY=Te,Se.isDragging=Se.isGesturing=Se.isPressed=!1,Se.enable=function(e){return Se.isEnabled||(k(Ne?Pe:m,"scroll",E),_.indexOf("scroll")>=0&&k(Ne?Pe:m,"scroll",He,b,de),_.indexOf("wheel")>=0&&k(m,"wheel",We,b,de),(_.indexOf("touch")>=0&&c||_.indexOf("pointer")>=0)&&(k(m,p[0],qe,b,de),k(Pe,p[2],Ue),k(Pe,p[3],Ue),fe&&k(m,"click",Ie,!1,!0),ue&&k(m,"click",Ye),ie&&k(Pe,"gesturestart",Ve),ae&&k(Pe,"gestureend",Je),Z&&k(m,u+"enter",Ge),ee&&k(m,u+"leave",Xe),te&&k(m,u+"move",Ke)),Se.isEnabled=!0,e&&e.type&&qe(e),se&&se(Se)),Se},Se.disable=function(){Se.isEnabled&&(g.filter(function(e){return e!==Se&&S(e.target)}).length||C(Ne?Pe:m,"scroll",E),Se.isPressed&&(Se._vx.reset(),Se._vy.reset(),C(ne?m:Pe,p[1],ze,!0)),C(Ne?Pe:m,"scroll",He,de),C(m,"wheel",We,de),C(m,p[0],qe,de),C(Pe,p[2],Ue),C(Pe,p[3],Ue),C(m,"click",Ie,!0),C(m,"click",Ye),C(Pe,"gesturestart",Ve),C(Pe,"gestureend",Je),C(m,u+"enter",Ge),C(m,u+"leave",Xe),C(m,u+"move",Ke),Se.isEnabled=Se.isPressed=Se.isDragging=!1,ce&&ce(Se))},Se.kill=function(){Se.disable();var e=g.indexOf(Se);e>=0&&g.splice(e,1),f===Se&&(f=0)},g.push(Se),ne&&S(m)&&(f=Se),Se.enable(j)},d=e,(_=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&t(d.prototype,_),m&&t(d,m),e}();L.version="3.10.4",L.create=function(e){return new L(e)},L.register=I,L.getAll=function(){return g.slice()},L.getById=function(e){return g.filter(function(t){return t.vars.id===e})[0]},_()&&r.registerPlugin(L);var R,j,B,z,q,U,V,J,H,W,K,G,X,Y,$,Q,Z,ee,te,re,ne,ie,ae,oe,se,ce,ue,le,de,fe,pe,_e,me,ge=1,he=Date.now,ve=he(),ye=0,be=0,xe=function(){return Y=1},Se=function(){return Y=0},ke=function(e){return e},Ce=function(e){return Math.round(1e5*e)/1e5||0},Ee=function(){return"undefined"!==typeof window},Te=function(){return R||Ee()&&(R=window.gsap)&&R.registerPlugin&&R},we=function(e){return!!~V.indexOf(e)},De=function(e){return x(e,"getBoundingClientRect")||(we(e)?function(){return Pt.width=B.innerWidth,Pt.height=B.innerHeight,Pt}:function(){return Je(e)})},Ae=function(e,t){var r=t.s,n=t.d2,i=t.d,a=t.a;return(r="scroll"+n)&&(a=x(e,r))?a()-De(e)()[i]:we(e)?(q[r]||U[r])-(B["inner"+n]||q["client"+n]||U["client"+n]):e[r]-e["offset"+n]},Ne=function(e,t){for(var r=0;r<te.length;r+=3)(!t||~t.indexOf(te[r+1]))&&e(te[r],te[r+1],te[r+2])},Pe=function(e){return"string"===typeof e},Oe=function(e){return"function"===typeof e},Fe=function(e){return"number"===typeof e},Me=function(e){return"object"===typeof e},Ie=function(e){return Oe(e)&&e()},Le=function(e,t){return function(){var r=Ie(e),n=Ie(t);return function(){Ie(r),Ie(n)}}},Re=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},je=function(e,t){if(e.enabled){var r=t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},Be=Math.abs,ze="padding",qe="px",Ue=function(e){return B.getComputedStyle(e)},Ve=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Je=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Ue(e)[$]&&R.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},He=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},We=function(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r},Ke=function(e){var t=R.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,i){var a;if(void 0===i&&(i=.001),!n)return t(e);if(n>0){for(e-=i,a=0;a<r.length;a++)if(r[a]>=e)return r[a];return r[a-1]}for(a=r.length,e+=i;a--;)if(r[a]<=e)return r[a];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var a=t(r);return!n||Math.abs(a-r)<i||a-r<0===n<0?a:t(n<0?r-e:r+e)}},Ge=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},Xe=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},Ye=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},$e=function(e,t,r){return r&&r.wheelHandler&&e(t,"wheel",r)},Qe={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Ze={toggleActions:"play",anticipatePin:0},et={top:0,left:0,center:.5,bottom:1,right:1},tt=function(e,t){if(Pe(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in et?et[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},rt=function(e,t,r,n,i,a,o,s){var c=i.startColor,u=i.endColor,l=i.fontSize,d=i.indent,f=i.fontWeight,p=z.createElement("div"),_=we(r)||"fixed"===x(r,"pinType"),m=-1!==e.indexOf("scroller"),g=_?U:r,h=-1!==e.indexOf("start"),v=h?c:u,y="border-color:"+v+";font-size:"+l+";color:"+v+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((m||s)&&_?"fixed;":"absolute;"),(m||s||!_)&&(y+=(n===D?"right":"bottom")+":"+(a+parseFloat(d))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=h,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=y,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],nt(p,0,n,h),p},nt=function(e,t,r,n){var i={display:"block"},a=r[n?"os2":"p2"],o=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+a+"Width"]=1,i["border"+o+"Width"]=0,i[r.p]=t+"px",R.set(e,i)},it=[],at={},ot=function(){return he()-ye>34&&Ct()},st=function(){(!ae||!ae.isPressed||ae.startX>U.clientWidth)&&(h.cache++,de||(de=requestAnimationFrame(Ct)),ye||mt("scrollStart"),ye=he())},ct=function(){ce=B.innerWidth,se=B.innerHeight},ut=function(){h.cache++,!X&&!ie&&!z.fullscreenElement&&!z.webkitFullscreenElement&&(!oe||ce!==B.innerWidth||Math.abs(B.innerHeight-se)>.25*B.innerHeight)&&J.restart(!0)},lt={},dt=[],ft=[],pt=function(e){var t,r=R.ticker.frame,n=[],i=0;if(pe!==r||ge){for(vt();i<ft.length;i+=4)(t=B.matchMedia(ft[i]).matches)!==ft[i+3]&&(ft[i+3]=t,t?n.push(i):vt(1,ft[i])||Oe(ft[i+2])&&ft[i+2]());for(ht(),i=0;i<n.length;i++)t=n[i],fe=ft[t],ft[t+2]=ft[t+1](e);fe=0,j&&xt(0,1),pe=r,mt("matchMedia")}},_t=function e(){return Ye(Lt,"scrollEnd",e)||xt(!0)},mt=function(e){return lt[e]&<[e].map(function(e){return e()})||dt},gt=[],ht=function(e){for(var t=0;t<gt.length;t+=5)e&>[t+4]!==e||(gt[t].style.cssText=gt[t+1],gt[t].getBBox&>[t].setAttribute("transform",gt[t+2]||""),gt[t+3].uncache=1)},vt=function(e,t){var r;for(Q=0;Q<it.length;Q++)r=it[Q],t&&r.media!==t||(e?r.kill(1):r.revert());t&&ht(t),t||mt("revert")},yt=function(){return h.cache++&&h.forEach(function(e){return"function"===typeof e&&(e.rec=0)})},bt=0,xt=function(e,t){if(!ye||e){_e=!0;var r=mt("refreshInit");
1re&&Lt.sort(),t||vt(),it.slice(0).forEach(function(e){return e.refresh()}),it.forEach(function(e){return"max"===e.vars.end&&e.setPositions(e.start,Ae(e.scroller,e._dir))}),r.forEach(function(e){return e&&e.render&&e.render(-1)}),yt(),J.pause(),bt++,_e=!1,mt("refresh")}else Xe(Lt,"scrollEnd",_t)},St=0,kt=1,Ct=function(){if(!_e){Lt.isUpdating=!0,me&&me.update(0);var e=it.length,t=he(),r=t-ve>=50,n=e&&it[0].scroll();if(kt=St>n?-1:1,St=n,r&&(ye&&!Y&&t-ye>200&&(ye=0,mt("scrollEnd")),K=ve,ve=t),kt<0){for(Q=e;Q-- >0;)it[Q]&&it[Q].update(0,r);kt=1}else for(Q=0;Q<e;Q++)it[Q]&&it[Q].update(0,r);Lt.isUpdating=!1}de=0},Et=["left","top","bottom","right","marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Tt=Et.concat(["width","height","boxSizing","maxWidth","maxHeight","position","margin",ze,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),wt=function(e,t,r,n){if(e.parentNode!==t){for(var i,a=Et.length,o=t.style,s=e.style;a--;)i=Et[a],o[i]=r[i];o.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(o.display="inline-block"),s.bottom=s.right=o.flexBasis="auto",o.overflow="visible",o.boxSizing="border-box",o.width=He(e,w)+qe,o.height=He(e,D)+qe,o.padding=s.margin=s.top=s.left="0",At(n),s.width=s.maxWidth=r.width,s.height=s.maxHeight=r.height,s.padding=r.padding,e.parentNode.insertBefore(t,e),t.appendChild(e)}},Dt=/([A-Z])/g,At=function(e){if(e){var t,r,n=e.t.style,i=e.length,a=0;for((e.t._gsap||R.core.getCache(e.t)).uncache=1;a<i;a+=2)r=e[a+1],t=e[a],r?n[t]=r:n[t]&&n.removeProperty(t.replace(Dt,"-$1").toLowerCase())}},Nt=function(e){for(var t=Tt.length,r=e.style,n=[],i=0;i<t;i++)n.push(Tt[i],r[Tt[i]]);return n.t=e,n},Pt={left:0,top:0},Ot=function(e,t,r,n,i,a,o,s,c,u,l,d,f){Oe(e)&&(e=e(s)),Pe(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?tt("0"+e.substr(3),r):0));var p,_,m,g=f?f.time():0;if(f&&f.seek(0),Fe(e))o&&nt(o,r,n,!0);else{Oe(t)&&(t=t(s));var h,v,y,b,x=e.split(" ");m=A(t)||U,(h=Je(m)||{})&&(h.left||h.top)||"none"!==Ue(m).display||(b=m.style.display,m.style.display="block",h=Je(m),b?m.style.display=b:m.style.removeProperty("display")),v=tt(x[0],h[n.d]),y=tt(x[1]||"0",r),e=h[n.p]-c[n.p]-u+v+i-y,o&&nt(o,y,n,r-y<20||o._isStart&&y>20),r-=r-y}if(a){var S=e+r,k=a._isStart;p="scroll"+n.d2,nt(a,S,n,k&&S>20||!k&&(l?Math.max(U[p],q[p]):a.parentNode[p])<=S+1),l&&(c=Je(o),l&&(a.style[n.op.p]=c[n.op.p]-n.op.m-a._offset+qe))}return f&&m&&(p=Je(m),f.seek(d),_=Je(m),f._caScrollDist=p[n.p]-_[n.p],e=e/f._caScrollDist*d),f&&f.seek(g),f?e:Math.round(e)},Ft=/(webkit|moz|length|cssText|inset)/i,Mt=function(e,t,r,n){if(e.parentNode!==t){var i,a,o=e.style;if(t===U){for(i in e._stOrig=o.cssText,a=Ue(e))+i||Ft.test(i)||!a[i]||"string"!==typeof o[i]||"0"===i||(o[i]=a[i]);o.top=r,o.left=n}else o.cssText=e._stOrig;R.core.getCache(e).uncache=1,t.appendChild(e)}},It=function(e,t){var r,n,i=N(e,t),a="_scroll"+t.p2,o=function t(o,s,c,u,l){var d=t.tween,f=s.onComplete,p={};return c=c||i(),l=u&&l||0,u=u||o-c,d&&d.kill(),r=Math.round(c),s[a]=o,s.modifiers=p,p[a]=function(e){return(e=Ce(i()))!==r&&e!==n&&Math.abs(e-r)>2&&Math.abs(e-n)>2?(d.kill(),t.tween=0):e=c+u*d.ratio+l*d.ratio*d.ratio,n=r,r=Ce(e)},s.onComplete=function(){t.tween=0,f&&f.call(d)},d=t.tween=R.to(e,s)};return e[a]=i,i.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},Xe(e,"wheel",i.wheelHandler),o},Lt=function(){function e(t,r){j||e.register(R)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,r)}var t=e.prototype;return t.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),be){var n,i,a,o,s,c,u,l,d,f,p,_,m,g,h,y,b,S,k,C,E,T,P,O,F,M,I,L,j,V,J,G,$,Z,ee,te,ie,ae,oe,se=t=Ve(Pe(t)||Fe(t)||t.nodeType?{trigger:t}:t,Ze),ce=se.onUpdate,ue=se.toggleClass,de=se.id,pe=se.onToggle,ve=se.onRefresh,xe=se.scrub,Se=se.trigger,Ee=se.pin,Te=se.pinSpacing,Ne=se.invalidateOnRefresh,Ie=se.anticipatePin,Le=se.onScrubComplete,Ge=se.onSnapComplete,$e=se.once,et=se.snap,nt=se.pinReparent,ot=se.pinSpacer,ct=se.containerAnimation,lt=se.fastScrollEnd,dt=se.preventOverlaps,ft=t.horizontal||t.containerAnimation&&!1!==t.horizontal?w:D,pt=!xe&&0!==xe,mt=A(t.scroller||B),gt
1=R.core.getCache(mt),ht=we(mt),vt="fixed"===("pinType"in t?t.pinType:x(mt,"pinType")||ht&&"fixed"),yt=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],bt=pt&&t.toggleActions.split(" "),xt="markers"in t?t.markers:Ze.markers,St=ht?0:parseFloat(Ue(mt)["border"+ft.p2+"Width"])||0,Ct=this,Et=t.onRefreshInit&&function(){return t.onRefreshInit(Ct)},Tt=function(e,t,r){var n=r.d,i=r.d2,a=r.a;return(a=x(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(t?B["inner"+i]:e["client"+i])||0}}(mt,ht,ft),Dt=function(e,t){return!t||~v.indexOf(e)?De(e):function(){return Pt}}(mt,ht),Ft=0,Lt=0,Rt=N(mt,ft);if(Ct.media=fe,Ct._dir=ft,Ie*=45,Ct.scroller=mt,Ct.scroll=ct?ct.time.bind(ct):Rt,o=Rt(),Ct.vars=t,r=r||t.animation,"refreshPriority"in t&&(re=1,-9999===t.refreshPriority&&(me=Ct)),gt.tweenScroll=gt.tweenScroll||{top:It(mt,D),left:It(mt,w)},Ct.tweenTo=n=gt.tweenScroll[ft.p],Ct.scrubDuration=function(e){(J=Fe(e)&&e)?V?V.duration(e):V=R.to(r,{ease:"expo",totalProgress:"+=0.001",duration:J,paused:!0,onComplete:function(){return Le&&Le(Ct)}}):(V&&V.progress(1).kill(),V=0)},r&&(r.vars.lazy=!1,r._initted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.render(0,!0,!0),Ct.animation=r.pause(),r.scrollTrigger=Ct,Ct.scrubDuration(xe),L=0,de||(de=r.vars.id)),it.push(Ct),et&&(Me(et)&&!et.push||(et={snapTo:et}),"scrollBehavior"in U.style&&R.set(ht?[U,q]:mt,{scrollBehavior:"auto"}),a=Oe(et.snapTo)?et.snapTo:"labels"===et.snapTo?function(e){return function(t){return R.utils.snap(We(e),t)}}(r):"labelsDirectional"===et.snapTo?(oe=r,function(e,t){return Ke(We(oe))(e,t.direction)}):!1!==et.directional?function(e,t){return Ke(et.snapTo)(e,he()-Lt<500?0:t.direction)}:R.utils.snap(et.snapTo),G=et.duration||{min:.1,max:2},G=Me(G)?W(G.min,G.max):W(G,G),$=R.delayedCall(et.delay||J/2||.1,function(){var e=Rt(),t=he()-Lt<500,i=n.tween;if(!(t||Math.abs(Ct.getVelocity())<10)||i||Y||Ft===e)Ct.isActive&&Ft!==e&&$.restart(!0);else{var o=(e-c)/m,s=r&&!pt?r.totalProgress():o,l=t?0:(s-j)/(he()-K)*1e3||0,d=R.utils.clamp(-o,1-o,Be(l/2)*l/.185),f=o+(!1===et.inertia?0:d),p=W(0,1,a(f,Ct)),_=Math.round(c+p*m),g=et,h=g.onStart,v=g.onInterrupt,y=g.onComplete;if(e<=u&&e>=c&&_!==e){if(i&&!i._initted&&i.data<=Be(_-e))return;!1===et.inertia&&(d=p-o),n(_,{duration:G(Be(.185*Math.max(Be(f-s),Be(p-s))/l/.05||0)),ease:et.ease||"power3",data:Be(_-e),onInterrupt:function(){return $.restart(!0)&&v&&v(Ct)},onComplete:function(){Ct.update(),Ft=Rt(),L=j=r&&!pt?r.totalProgress():Ct.progress,Ge&&Ge(Ct),y&&y(Ct)}},e,d*m,_-e-d*m),h&&h(Ct,n.tween)}}}).pause()),de&&(at[de]=Ct),Se=Ct.trigger=A(Se||Ee),(ae=Se&&Se._gsap&&Se._gsap.stRevert)&&(ae=ae(Ct)),Ee=!0===Ee?Se:A(Ee),Pe(ue)&&(ue={targets:Se,className:ue}),Ee&&(!1===Te||"margin"===Te||(Te=!(!Te&&"flex"===Ue(Ee.parentNode).display)&&ze),Ct.pin=Ee,!1!==t.force3D&&R.set(Ee,{force3D:!0}),(i=R.core.getCache(Ee)).spacer?g=i.pinState:(ot&&((ot=A(ot))&&!ot.nodeType&&(ot=ot.current||ot.nativeElement),i.spacerIsNative=!!ot,ot&&(i.spacerState=Nt(ot))),i.spacer=b=ot||z.createElement("div"),b.classList.add("pin-spacer"),de&&b.classList.add("pin-spacer-"+de),i.pinState=g=Nt(Ee)),Ct.spacer=b=i.spacer,I=Ue(Ee),P=I[Te+ft.os2],k=R.getProperty(Ee),C=R.quickSetter(Ee,ft.a,qe),wt(Ee,b,I),y=Nt(Ee)),xt){_=Me(xt)?Ve(xt,Qe):Qe,f=rt("scroller-start",de,mt,ft,_,0),p=rt("scroller-end",de,mt,ft,_,0,f),S=f["offset"+ft.op.d2];var jt=A(x(mt,"content")||mt);l=this.markerStart=rt("start",de,jt,ft,_,S,0,ct),d=this.markerEnd=rt("end",de,jt,ft,_,S,0,ct),ct&&(ie=R.quickSetter([l,d],ft.a,qe)),vt||v.length&&!0===x(mt,"fixedMarkers")||(function(e){var t=Ue(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(ht?U:mt),R.set([f,p],{force3D:!0}),F=R.quickSetter(f,ft.a,qe),M=R.quickSetter(p,ft.a,qe))}if(ct){var Bt=ct.vars.onUpdate,zt=ct.vars.onUpdateParams;ct.eventCallback("onUpdate",function(){Ct.update(0,0,1),Bt&&Bt.apply(zt||[])})}Ct.previous=function(){return it[it.indexOf(Ct)-1]},Ct.next=function(){return it[it.indexOf(Ct)+1]},Ct.revert=function(e){var t=!1!==e||!Ct.enabled,n=X;t!==Ct.isReverted&&(t&&(Ct.scroll.rec||!X||!_e||(Ct.scroll.rec=Rt()),ee=Math.max(Rt(),Ct.scroll.rec||0),Z=Ct.progress,te=r&&r.progress()),l&&[l,d,f,p].forEac
1h(function(e){return e.style.display=t?"none":"block"}),t&&(X=1),Ct.update(t),X=n,Ee&&(t?function(e,t,r){At(r);var n=e._gsap;if(n.spacerIsNative)At(n.spacerState);else if(e.parentNode===t){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}}(Ee,b,g):(!nt||!Ct.isActive)&&wt(Ee,b,Ue(Ee),O)),Ct.isReverted=t)},Ct.refresh=function(i,a){if(!X&&Ct.enabled||a)if(Ee&&i&&ye)Xe(e,"scrollEnd",_t);else{!_e&&Et&&Et(Ct),X=1,Lt=he(),n.tween&&(n.tween.kill(),n.tween=0),V&&V.pause(),Ne&&r&&r.time(-.01,!0).invalidate(),Ct.isReverted||Ct.revert();for(var _,v,x,S,C,P,F,M,I,L,j=Tt(),B=Dt(),z=ct?ct.duration():Ae(mt,ft),q=0,J=0,H=t.end,W=t.endTrigger||Se,K=t.start||(0!==t.start&&Se?Ee?"0 0":"0 100%":0),G=Ct.pinnedContainer=t.pinnedContainer&&A(t.pinnedContainer),Y=Se&&Math.max(0,it.indexOf(Ct))||0,Q=Y;Q--;)(P=it[Q]).end||P.refresh(0,1)||(X=1),!(F=P.pin)||F!==Se&&F!==Ee||P.isReverted||(L||(L=[]),L.unshift(P),P.revert()),P!==it[Q]&&(Y--,Q--);for(Oe(K)&&(K=K(Ct)),c=Ot(K,Se,j,ft,Rt(),l,f,Ct,B,St,vt,z,ct)||(Ee?-.001:0),Oe(H)&&(H=H(Ct)),Pe(H)&&!H.indexOf("+=")&&(~H.indexOf(" ")?H=(Pe(K)?K.split(" ")[0]:"")+H:(q=tt(H.substr(2),j),H=Pe(K)?K:c+q,W=Se)),u=Math.max(c,Ot(H||(W?"100% 0":z),W,j,ft,Rt()+q,d,p,Ct,B,St,vt,z,ct))||-.001,m=u-c||(c-=.01)&&.001,q=0,Q=Y;Q--;)P=it[Q],(F=P.pin)&&P.start-P._pinPush<c&&!ct&&P.end>0&&(_=P.end-P.start,F!==Se&&F!==G||Fe(K)||(q+=_*(1-P.progress)),F===Ee&&(J+=_));if(c+=q,u+=q,Ct._pinPush=J,l&&q&&((_={})[ft.a]="+="+q,G&&(_[ft.p]="-="+Rt()),R.set([l,d],_)),Ee)_=Ue(Ee),S=ft===D,x=Rt(),E=parseFloat(k(ft.a))+J,!z&&u>1&&((ht?U:mt).style["overflow-"+ft.a]="scroll"),wt(Ee,b,_),y=Nt(Ee),v=Je(Ee,!0),M=vt&&N(mt,S?w:D)(),Te&&((O=[Te+ft.os2,m+J+qe]).t=b,(Q=Te===ze?He(Ee,ft)+m+J:0)&&O.push(ft.d,Q+qe),At(O),vt&&Rt(ee)),vt&&((C={top:v.top+(S?x-c:M)+qe,left:v.left+(S?M:x-c)+qe,boxSizing:"border-box",position:"fixed"}).width=C.maxWidth=Math.ceil(v.width)+qe,C.height=C.maxHeight=Math.ceil(v.height)+qe,C.margin=C.marginTop=C.marginRight=C.marginBottom=C.marginLeft="0",C.padding=_.padding,C.paddingTop=_.paddingTop,C.paddingRight=_.paddingRight,C.paddingBottom=_.paddingBottom,C.paddingLeft=_.paddingLeft,h=function(e,t,r){for(var n,i=[],a=e.length,o=r?8:0;o<a;o+=2)n=e[o],i.push(n,n in t?t[n]:e[o+1]);return i.t=e.t,i}(g,C,nt)),r?(I=r._initted,ne(1),r.render(r.duration(),!0,!0),T=k(ft.a)-E+m+J,m!==T&&vt&&h.splice(h.length-2,2),r.render(0,!0,!0),I||r.invalidate(),ne(0)):T=m;else if(Se&&Rt()&&!ct)for(v=Se.parentNode;v&&v!==U;)v._pinOffset&&(c-=v._pinOffset,u-=v._pinOffset),v=v.parentNode;L&&L.forEach(function(e){return e.revert(!1)}),Ct.start=c,Ct.end=u,o=s=Rt(),ct||(o<ee&&Rt(ee),Ct.scroll.rec=0),Ct.revert(!1),$&&(Ft=-1,Ct.isActive&&Rt(c+m*Z),$.restart(!0)),X=0,r&&pt&&(r._initted||te)&&r.progress()!==te&&r.progress(te,!0).render(r.time(),!0,!0),(Z!==Ct.progress||ct)&&(r&&!pt&&r.totalProgress(Z,!0),Ct.progress=Z,Ct.update(0,0,1)),Ee&&Te&&(b._pinOffset=Math.round(Ct.progress*T)),ve&&ve(Ct)}},Ct.getVelocity=function(){return(Rt()-s)/(he()-K)*1e3||0},Ct.endAnimation=function(){Re(Ct.callbackAnimation),r&&(V?V.progress(1):r.paused()?pt||Re(r,Ct.direction<0,1):Re(r,r.reversed()))},Ct.labelToScroll=function(e){return r&&r.labels&&(c||Ct.refresh()||c)+r.labels[e]/r.duration()*m||0},Ct.getTrailing=function(e){var t=it.indexOf(Ct),r=Ct.direction>0?it.slice(0,t).reverse():it.slice(t+1);return(Pe(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return Ct.direction>0?e.end<=c:e.start>=u})},Ct.update=function(e,t,i){if(!ct||i||e){var a,l,d,p,_,g,v,x=Ct.scroll(),S=e?0:(x-c)/m,k=S<0?0:S>1?1:S||0,w=Ct.progress;if(t&&(s=o,o=ct?Rt():x,et&&(j=L,L=r&&!pt?r.totalProgress():k)),Ie&&!k&&Ee&&!X&&!ge&&ye&&c<x+(x-s)/(he()-K)*Ie&&(k=1e-4),k!==w&&Ct.enabled){if(a=Ct.isActive=!!k&&k<1,p=(_=a!==(!!w&&w<1))||!!k!==!!w,Ct.direction=k>w?1:-1,Ct.progress=k,p&&!X&&(l=k&&!w?0:1===k?1:1===w?2:3,pt&&(d=!_&&"none"!==bt[l+1]&&bt[l+1]||bt[l],v=r&&("complete"===d||"reset"===d||d in r))),dt&&(_||v)&&(v||xe||!r)&&(Oe(dt)?dt(Ct):Ct.getTrailing(dt).forEach(function(e){return e.endAnimation()})),pt||(!V||X||ge?r&&r.totalProgress(k,!!X):((ct||me&&me!==Ct)&&V.render(V._dp._time-V._start),V.resetTo?V.resetTo("totalProgress",k,r._tTime/r._tDur):(V.vars.totalProgress=k,V.invalidate().restart()))),Ee)if(e&&Te&&(b.style[Te+ft.os2]=P),vt){if(p){if(g=!e&&k>w&&u+1>x&&x+1>=Ae(mt,ft),nt)if(e||!a&&!g)Mt(Ee,b);else{var A=Je(Ee,!0),N=x-c;
1Mt(Ee,U,A.top+(ft===D?N:0)+qe,A.left+(ft===D?0:N)+qe)}At(a||g?h:y),T!==m&&k<1&&a||C(E+(1!==k||g?0:T))}}else C(Ce(E+T*k));et&&!n.tween&&!X&&!ge&&$.restart(!0),ue&&(_||$e&&k&&(k<1||!le))&&H(ue.targets).forEach(function(e){return e.classList[a||$e?"add":"remove"](ue.className)}),ce&&!pt&&!e&&ce(Ct),p&&!X?(pt&&(v&&("complete"===d?r.pause().totalProgress(1):"reset"===d?r.restart(!0).pause():"restart"===d?r.restart(!0):r[d]()),ce&&ce(Ct)),!_&&le||(pe&&_&&je(Ct,pe),yt[l]&&je(Ct,yt[l]),$e&&(1===k?Ct.kill(!1,1):yt[l]=0),_||yt[l=1===k?1:3]&&je(Ct,yt[l])),lt&&!a&&Math.abs(Ct.getVelocity())>(Fe(lt)?lt:2500)&&(Re(Ct.callbackAnimation),V?V.progress(1):Re(r,!k,1))):pt&&ce&&!X&&ce(Ct)}if(M){var O=ct?x/ct.duration()*(ct._caScrollDist||0):x;F(O+(f._isFlipped?1:0)),M(O)}ie&&ie(-x/ct.duration()*(ct._caScrollDist||0))}},Ct.enable=function(t,r){Ct.enabled||(Ct.enabled=!0,Xe(mt,"resize",ut),Xe(ht?z:mt,"scroll",st),Et&&Xe(e,"refreshInit",Et),!1!==t&&(Ct.progress=Z=0,o=s=Ft=Rt()),!1!==r&&Ct.refresh())},Ct.getTween=function(e){return e&&n?n.tween:V},Ct.setPositions=function(e,t){Ee&&(E+=e-c,T+=t-e-m),Ct.start=c=e,Ct.end=u=t,m=t-e,Ct.update()},Ct.disable=function(t,r){if(Ct.enabled&&(!1!==t&&Ct.revert(),Ct.enabled=Ct.
1isActive=!1,r||V&&V.pause(),ee=0,i&&(i.uncache=1),Et&&Ye(e,"refreshInit",Et),$&&($.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!ht)){for(var a=it.length;a--;)if(it[a].scroller===mt&&it[a]!==Ct)return;Ye(mt,"resize",ut),Ye(mt,"scroll",st)}},Ct.kill=function(e,n){Ct.disable(e,n),V&&!n&&V.kill(),de&&delete at[de];var a=it.indexOf(Ct);a>=0&&it.splice(a,1),a===Q&&kt>0&&Q--,a=0,it.forEach(function(e){return e.scroller===Ct.scroller&&(a=1)}),a||(Ct.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.render(-1),n||r.kill()),l&&[l,d,f,p].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),me===Ct&&(me=0),Ee&&(i&&(i.uncache=1),a=0,it.forEach(function(e){return e.pin===Ee&&a++}),a||(i.spacer=0)),t.onKill&&t.onKill(Ct)},Ct.enable(!1,!1),ae&&ae(Ct),r&&r.add&&!m?R.delayedCall(.01,function(){return c||u||Ct.refresh()})&&(m=.01)&&(c=u=0):Ct.refresh()}else this.update=this.refresh=this.kill=ke},e.register=function(t){return j||(R=t||Te(),Ee()&&window.document&&e.enable(),j=be),j},e.defaults=function(e){if(e)for(var t in e)Ze[t]=e[t];return Ze},e.disable=function(e,t){be=0,it.forEach(function(r){return r[t?"kill":"disable"](e)}),Ye(B,"wheel",st),Ye(z,"scroll",st),clearInterval(G),Ye(z,"touchcancel",ke),Ye(U,"touchstart",ke),Ge(Ye,z,"pointerdown,touchstart,mousedown",xe),Ge(Ye,z,"pointerup,touchend,mouseup",Se),J.kill(),Ne(Ye);for(var r=0;r<h.length;r+=3)$e(Ye,h[r],h[r+1]),$e(Ye,h[r],h[r+2])},e.enable=function(){if(B=window,z=document,q=z.documentElement,U=z.body,R&&(H=R.utils.toArray,W=R.utils.clamp,ne=R.core.suppressOverwrites||ke,R.core.globals("ScrollTrigger",e),U)){be=1,L.register(R),e.isTouch=L.isTouch,ue=L.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Xe(B,"wheel",st),V=[B,z,q,U],e.matchMedia({"(orientation: portrait)":function(){return ct(),ct}}),Xe(z,"scroll",st);var t,r,n=U.style,i=n.borderTopStyle;for(n.borderTopStyle="solid",t=Je(U),D.m=Math.round(t.top+D.sc())||0,w.m=Math.round(t.left+w.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),G=setInterval(ot,250),R.delayedCall(.5,function(){return ge=0}),Xe(z,"touchcancel",ke),Xe(U,"touchstart",ke),Ge(Xe,z,"pointerdown,touchstart,mousedown",xe),Ge(Xe,z,"pointerup,touchend,mouseup",Se),$=R.utils.checkPrefix("transform"),Tt.push($),j=he(),J=R.delayedCall(.2,xt).pause(),te=[z,"visibilitychange",function(){var e=B.innerWidth,t=B.innerHeight;z.hidden?(Z=e,ee=t):Z===e&&ee===t||ut()},z,"DOMContentLoaded",xt,B,"load",xt,B,"resize",ut],Ne(Xe),it.forEach(function(e){return e.enable(0,1)}),r=0;r<h.length;r+=3)$e(Ye,h[r],h[r+1]),$e(Ye,h[r],h[r+2])}},e.config=function(t){"limitCallbacks"in t&&(le=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(G)||(G=r)&&setInterval(ot,r),"ignoreMobileResize"in t&&(oe=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(Ne(Ye)||Ne(Xe,t.autoRefreshEvents||"none"),ie=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=A(e),n=h.indexOf(r),i=we(r);~n&&h.splice(n,i?6:2),t&&(i?v.unshift(B,t,U,t,q,t):v.unshift(r,t))},e.matchMedia=function(e){var t,r,n,i,a;for(r in e)n=ft.indexOf(r),i=e[r],fe=r,"all"===r?i():(t=B.matchMedia(r))&&(t.matches&&(a=i()),~n?(ft[n+1]=Le(ft[n+1],i),ft[n+2]=Le(ft[n+2],a)):(n=ft.length,ft.push(r,i,a),t.addListener?t.addListener(pt):t.addEventListener("change",pt)),ft[n+3]=t.matches),fe=0;return ft},e.clearMatchMedia=function(e){e||(ft.length=0),(e=ft.indexOf(e))>=0&&ft.splice(e,4)},e.isInViewport=function(e,t,r){var n=(Pe(e)?A(e):e).getBoundingClientRect(),i=n[r?"width":"height"]*t||0;return r?n.right-i>0&&n.left+i<B.innerWidth:n.bottom-i>0&&n.top+i<B.innerHeight},e.positionInViewport=function(e,t,r){Pe(e)&&(e=A(e));var n=e.getBoundingClientRect(),i=n[r?"width":"height"],a=null==t?i/2:t in et?et[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+a)/B.innerWidth:(n.top+a)/B.innerHeight},e}();Lt.version="3.10.4",Lt.saveStyles=function(e){return e?H(e).forEach(function(e){if(e&&e.style){var t=gt.indexOf(e);t>=0&>.splice(t,5),gt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),R.core.getCache(e),fe)}}):gt},Lt.revert=function(e,t){return vt(!e,t)},Lt.create=function(e,t){return new Lt(e,t)},Lt.refresh=function(e){return e?ut():(j||Lt.register())&&xt(!0)},Lt.update=Ct,Lt.clearScrollMemory=yt,Lt.maxScroll=function(e,t){return Ae(e,t?w:D)},Lt.getScrollFunc=function(e,t){return N(A(e),t?w:D)},Lt.getById=function(e){return at[e]},Lt.getAll=function(){return it.filter(function(e){return"ScrollSmoother"!==e.vars.id})},Lt.isScrolling=function(){return!!ye}
1,Lt.snapDirectional=Ke,Lt.addEventListener=function(e,t){var r=lt[e]||(lt[e]=[]);~r.indexOf(t)||r.push(t)},Lt.removeEventListener=function(e,t){var r=lt[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},Lt.batch=function(e,t){var r,n=[],i={},a=t.interval||.016,o=t.batchMax||1e9,s=function(e,t){var r=[],n=[],i=R.delayedCall(a,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),o<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&Oe(t[r])&&"onRefreshInit"!==r?s(0,t[r]):t[r];return Oe(o)&&(o=o(),Xe(Lt,"refresh",function(){return o=t.batchMax()})),H(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(Lt.create(t))}),n};var Rt,jt=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},Bt=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(L.isTouch?" pinch-zoom":""):"none",t===q&&e(U,r)},zt={auto:1,scroll:1},qt=function(e){var t,r=e.event,n=e.target,i=e.axis,a=(r.changedTouches?r.changedTouches[0]:r).target,o=a._gsap||R.core.getCache(a),s=he();if(!o._isScrollT||s-o._isScrollT>2e3){for(;a&&a.scrollHeight<=a.clientHeight;)a=a.parentNode;o._isScroll=a&&!we(a)&&a!==n&&(zt[(t=Ue(a)).overflowY]||zt[t.overflowX]),o._isScrollT=s}(o._isScroll||"x"===i)&&(r._gsapAllow=!0)},Ut=function(e,t,r,n){return L.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&qt,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&Xe(z,L.eventTypes[0],Jt,!1,!0)},onDisable:function(){return Ye(z,L.eventTypes[0],Jt,!0)}})},Vt=/(input|label|select|textarea)/i,Jt=function(e){var t=Vt.test(e.target.tagName);(t||Rt)&&(e._gsapAllow=!0,Rt=t)};Lt.sort=function(e){return it.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},Lt.observe=function(e){return new L(e)},Lt.normalizeScroll=function(e){if("undefined"===typeof e)return ae;if(!0===e&&ae)return ae.enable();if(!1===e)return ae&&ae.kill();var t=e instanceof L?e:function(e){Me(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,a,o,s,c,u=e,l=u.normalizeScrollX,d=u.momentum,f=u.allowNestedScroll,p=A(e.target)||q,_=R.core.globals().ScrollSmoother,m=ue&&(e.content&&A(e.content)||_&&_.get()&&_.get().content()),g=N(p,D),v=N(p,w),y=1,b=(L.isTouch&&B.visualViewport?B.visualViewport.scale*B.visualViewport.width:B.outerWidth)/B.innerWidth,x=0,S=Oe(d)?function(){return d(t)}:function(){return d||2.8},k=Ut(p,e.type,!0,f),C=function(){return n=!1},E=ke,T=ke,P=function(){r=Ae(p,D),T=W(ue?1:0,r),l&&(E=W(0,Ae(p,w))),i=bt},O=function(){P(),a.isActive()&&a.vars.scrollY>r&&(g()>r?a.progress(1)&&g(r):a.resetTo("scrollY",r))};return e.ignoreCheck=function(e){return ue&&"touchmove"===e.type&&function(){if(n){requestAnimationFrame(C);var e=Ce(t.deltaY/2),r=T(g.v-e);return m&&r!==g.v+g.offset&&(g.offset=r-g.v,m.style.transform="translateY("+-g.offset+"px)",m._gsap&&(m._gsap.y=-g.offset+"px"),g.cacheID=h.cache,Ct()),!0}m&&(m.style.transform="translateY(0px)",g.offset=g.cacheID=0,m._gsap&&(m._gsap.y="0px")),n=!0}()||y>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){var e=y;y=Ce((B.visualViewport&&B.visualViewport.scale||1)/b),a.pause(),e!==y&&Bt(p,y>1.01||!l&&"x"),n=!1,o=v(),s=g(),P(),i=bt},e.onRelease=e.onGestureStart=function(e,t){if(m&&(m.style.transform="translateY(0px)",g.offset=g.cacheID=0,m._gsap&&(m._gsap.y="0px")),t){h.cache++;var n,i,o=S();l&&(i=(n=v())+.05*o*-e.velocityX/.227,o*=jt(v,n,i,Ae(p,w)),a.vars.scrollX=E(i)),i=(n=g())+.05*o*-e.velocityY/.227,o*=jt(g,n,i,Ae(p,D)),a.vars.scrollY=T(i),a.invalidate().duration(o).play(.01),(ue&&a.vars.scrollY>=r||n>=r-1)&&R.to({},{onUpdate:O,duration:o})}else c.restart(!0)},e.onWheel=function(){a._ts&&a.pause(),he()-x>1e3&&(i=0,x=he())},e.onChange=function(e,t,r,n,a){bt!==i&&P(),t&&l&&v(E(n[2]===t?o+(e.startX-e.x):v()+t-n[1])),r&&g(T(a[2]===r?s+(e.startY-e.y):g()+r-a[1])),Ct()},e.onEnable=function(){Bt(p,!l&&"x"),Xe(B,"resize",O),k.enable()},e.onDisable=function(){Bt(p,!0),Ye(B,"resize",O),k.kill()},(t=new L(e)).iOS=ue,ue&&!g()&&g(1),c=t._dc,a=R.to(t,{ease:"power4",paused:!0,scrollX:l?"+=0.1":"+=0",scrollY:"+=0.1",onComplete:c.vars.onComplete}),t}(e);return ae&&ae.target===t.target&&ae.kill(),we(t.target)&&(ae=t),t},Lt.core={_getVelocityProp:P,_inputObserver:Ut,_scrollers:h,_proxies:v,bridge:{ss:function(){ye||mt("scrollStart"),ye=he()},ref:function(){return X}}},Te()&&R.registerPlugin(Lt),e.ScrollTrigger=Lt,e.default=Lt,"undefined"===typeof window||window!==e?Object.defineProperty(e,"__esMo
1dule",{value:!0}):delete window.default}(t)},,,function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var r,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))i.call(r,u)&&(s[u]=r[u]);if(n){o=n(r);for(var l=0;l<o.length;l++)a.call(r,o[l])&&(s[o[l]]=r[o[l]])}}return s}},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(141);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var o=[];n.forEach(t,function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))}))}),a=o.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";(function(t){var n=r(141),i=r(539),a={"Content-Type":"application/x-www-form-urlencoded"};function o(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t)?e=r(369):"undefined"!==typeof XMLHttpRequest&&(e=r(369)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(o(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(o(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],function(e){s.headers[e]={}}),n.forEach(["post","put","patch"],function(e){s.headers[e]=n.merge(a)}),e.exports=s}).call(this,r(151))},function(e,t,r){"use strict";var n=r(141),i=r(540),a=r(366),o=r(542),s=r(543),c=r(370);e.exports=function(e){return new Promise(function(t,u){var l=e.data,d=e.headers;n.isFormData(l)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",_=e.auth.password||"";d.Authorization="Basic "+btoa(p+":"+_)}if(f.open(e.method.toUpperCase(),a(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?o(f.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,u,n),f=null}},f.onabort=function(){f&&(u(c("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},n.isStandardBrowserEnv()){var m=r(544),g=(e.withCredentials||s(e.url))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}
1if("setRequestHeader"in f&&n.forEach(d,function(e,t){"undefined"===typeof l&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(h){if("json"!==e.responseType)throw h}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===l&&(l=null),f.send(l)})}},function(e,t,r){"use strict";var n=r(541);e.exports=function(e,t,r,i,a){var o=new Error(e);return n(o,t,r,i,a)}},function(e,t,r){"use strict";var n=r(141);e.exports=function(e,t){t=t||{};var r={};return n.forEach(["url","method","params","data"],function(e){"undefined"!==typeof t[e]&&(r[e]=t[e])}),n.forEach(["headers","auth","proxy"],function(i){n.isObject(t[i])?r[i]=n.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?r[i]=t[i]:n.isObject(e[i])?r[i]=n.deepMerge(e[i]):"undefined"!==typeof e[i]&&(r[i]=e[i])}),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(n){"undefined"!==typeof t[n]?r[n]=t[n]:"undefined"!==typeof e[n]&&(r[n]=e[n])}),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";t.extend=function(e){var t,r,i,a,o=Array.prototype.slice.call(arguments,1);for(t=0,r=o.length;t<r;t+=1)if(i=o[t])for(a in i)n.call(i,a)&&(e[a]=i[a]);return e};var n=Object.prototype.hasOwnProperty;t.hop=n},function(e,t){var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var n=new Uint8Array(16);e.exports=function(){return r(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,i=r;return[i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],"-",i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]],i[e[n++]]].join("")}},function(e,t,r){"use strict";function n(e){try{return _.insertRule(e,_.cssRules.length)}catch(e){console.warn("react-reveal - animation failed")}}function i(){l||(t.globalHide=l=!0,window.removeEventListener("scroll",i,!0),n("."+a+" { opacity: 0; }"),window.removeEventListener("orientationchange",i,!0),window.document.removeEventListener("visibilitychange",i))}Object.defineProperty(t,"__esModule",{value:!0}),t.insertRule=n,t.cascade=function(e,t,r,n,i){var a=Math.log(n),o=(Math.log(i)-a)/(r-t);return Math.exp(a+o*(e-t))},t.animation=function(e){if(!_)return"";var t="@keyframes "+(m+f)+"{"+e+"}",r=p[e];return r?""+m+r:(_.insertRule(t,_.cssRules.length),p[e]=f,""+m+f++)},t.hideAll=i,t.default=function(e){var r=e.ssrFadeout;t.fadeOutEnabled=r};var a=t.namespace="react-reveal",o=(t.defaults={duration:1e3,delay:0,count:1},t.ssr=!0),s=t.observerMode=!1,c=t.raf=function(e){return window.setTimeout(e,66)},u=t.disableSsr=function(){return t.ssr=o=!1},l=(t.fadeOutEnabled=!1,t.ssrFadeout=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t.fadeOutEnabled=e},t.globalHide=!1),d=(t.ie10=!1,t.collapseend=void 0),f=1,p={},_=!1,m=a+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&&"nodejs"!==window.name&&window.document&&"undefined"!=typeof navigator){t.observerMode=s="IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),t.raf=c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||c,t.ssr=o=window.document.querySelectorAll("div[data-reactroot]").length>0,-1!==navigator.appVersion.indexOf("MSIE 10")&&(t.ie10=!0),o&&"performance"in window&&"timing"in window.performance&&"domContentLoadedEventEnd"in window.performance.timing&&window.performance.timing.domLoading&&Date.now()-window.performance.timing.domLoading<300&&(t.ssr=o=!1),o&&window.setTimeout(u,1500),s||(t.collapseend=d=document.createEvent("Event"),d.initEvent("collapseend",!0,!0));var g=document.createElement("style");document.head.appendChild(g),g.sheet&&g.sheet.cssRules&&g.sheet.insertRule&&(_=g.sheet,window.addEventListener("scroll",i,!0),window.addEventListener("orientationchange",i,!0),window.document.addEventListener("visibilitychange",i
1))}},function(e,t){e.exports={isFunction:function(e){return"function"===typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var r=0,n=e.length;r<n&&!1!==t(e[r],r);r++);}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.clone=function(e){var t=e.title,r=e.description,n=e.base,i=e.canonical,a=e.meta,o=e.link,s=e.auto;try{return JSON.parse(JSON.stringify({title:t,description:r,base:n,canonical:i,meta:a,link:o,auto:s}))}catch(c){return{}}},t.defaults=function e(t,r){return Object.keys(r).reduce(function(i,a){return t.hasOwnProperty(a)?"object"===n(t[a])&&!Array.isArray(t[a])&&t[a]&&e(t[a],r[a]):t[a]=r[a],t},t)},t.forEach=function(e,t){e&&e.length&&Array.prototype.slice.call(e).forEach(t)}},,,function(e,t,r){var n=r(755),i=r(756),a=r(757);e.exports=function(e){return n(e)||i(e)||a()}},,,function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";var n=r(40).Buffer,i=r(308).Transform;function a(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(33)(a,i),a.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(i){n=i}r(n)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(r){t=r}e(t)},a.prototype.update=function(e,t){if(function(e,t){if(!n.isBuffer(e)&&"string"!==typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(e)||(e=n.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)r[a++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},function(e,t,r){"use strict";(function(t,n){var i=r(283);e.exports=y;var a,o=r(384);y.ReadableState=v;r(282).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=r(387),u=r(40).Buffer,l=t.Uint8Array||function(){};var d=r(255);d.inherits=r(33);var f=r(783),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var _,m=r(784),g=r(388);d.inherits(y,c);var h=["error","close","destroy","pause","resume"];function v(e,t){e=e||{};var n=t instanceof(a=a||r(213));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(_||(_=r(284).StringDecoder),this.decoder=new _(e.encoding),this.encoding=e.encoding)}function y(e){if(a=a||r(213),!(this instanceof y))return new y(e);this._readableState=new v(e,this),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function b(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,C(e)}(e,o)):(i||(a=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof l||"string"===typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"===typeof t||o.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):x(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?x(e,o,t,!1):T(e,o)):x(e,o,t,!1))
vendor: 4,256 bytes, line 1
1):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&C(e)),T(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),b(this,e,t,!1,r)},y.prototype.unshift=function(e){return b(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return _||(_=r(284).StringDecoder),this._readableState.decoder=new _(e),this._readableState.encoding=e,this};var S=8388608;function k(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(E,e):E(e))}function E(e){p("emit readable"),e.emit("readable"),N(e)}function T(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function D(e){p("readable nexttick read 0"),e.read(0)}function A(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function P(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function O(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(F,t,e))}function F(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function M(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):C(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(r,t))),null===(n=e>0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit
vendor: 1,629 bytes, line 1
1("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,p("pipe count=%d opts=%j",a.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:y;function u(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",h),e.removeListener("finish",v),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function l(){p("onend"),e.end()}a.endEmitted?i.nextTick(c):r.once("end",c),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,N(e))}}(r);e.on("drain",d);var f=!1;var _=!1;function m(t){p("ondata"),_=!1,!1!==e.write(t)||_||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==M(a.pipes,e))&&!f&&(p("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,_=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function h(){e.removeListener("finish",v),y()}function v(){p("onfinish"),e.removeListener("close",h),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"===typeof e.prependListener)return e.prepe
vendor: 6,010 bytes, line 1
1ndListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",h),e.once("finish",v),e.emit("pipe",r),a.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=M(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)},y.prototype.on=function(e,t){var r=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&C(this):i.nextTick(D,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(A,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause())))}),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<h.length;a++)e.on(h[a],this.emit.bind(this,h[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=P}).call(this,r(127),r(151))},function(e,t,r){e.exports=r(282).EventEmitter},function(e,t,r){"use strict";var n=r(283);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(n.nextTick(i,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";e.exports=o;var n=r(213),i=r(255);function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"===typeof this._flush?this._flush(function(t,r){c(e,t,r)}):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(33),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},function(e,t,r){var n=r(33),i=r(231),a=r(40).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
vendor: 7,844 bytes, line 1
1734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,_=0|this._f,m=0|this._g,g=0|this._h,h=0;h<16;++h)r[h]=e.readInt32BE(4*h);for(;h<64;++h)r[h]=0|(((t=r[h-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[h-7]+p(r[h-15])+r[h-16];for(var v=0;v<64;++v){var y=g+f(c)+u(c,_,m)+o[v]+r[v]|0,b=d(n)+l(n,i,a)|0;g=m,m=_,_=c,c=s+y|0,s=a,a=i,i=n,n=y+b|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=_+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},c.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,r){var n=r(33),i=r(231),a=r(40).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function _(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function h(e,t){return e>>>0<t>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,a=0|this._dh,s=0|this._eh,c=0|this._fh,v=0|this._gh,y=0|this._hh,b=0|this._al,x=0|this._bl,S=0|this._cl,k=0|this._dl,C=0|this._el,E=0|this._fl,T=0|this._gl,w=0|this._hl,D=0;D<32;D+=2)t[D]=e.readInt32BE(4*D),t[D+1]=e.readInt32BE(4*D+4);for(;D<160;D+=2){var A=t[D-30],N=t[D-30+1],P=p(A,N),O=_(N,A),F=m(A=t[D-4],N=t[D-4+1]),M=g(N,A),I=t[D-14],L=t[D-14+1],R=t[D-32],j=t[D-32+1],B=O+L|0,z=P+I+h(B,O)|0;z=(z=z+F+h(B=B+M|0,M)|0)+R+h(B=B+j|0,j)|0,t[D]=z,t[D+1]=B}for(var q=0;q<160;q+=2){z=t[q],B=t[q+1];var U=l(r,n,i),V=l(b,x,S),J=d(r,b),H=d(b,r),W=f(s,C),K=f(C,s),G=o[q],X=o[q+1],Y=u(s,c,v),$=u(C,E,T),Q=w+K|0,Z=y+W+h(Q,w)|0;Z=(Z=(Z=Z+Y+h(Q=Q+$|0,$)|0)+G+h(Q=Q+X|0,X)|0)+z+h(Q=Q+B|0,B)|0;var ee=H+V|0,te=J+U+h(ee,H)|0;y=v,w=T,v=c,T=E,c=s,E=C,s=a+Z+h(C=k+Q|0,k)|0,a=i,k=S,i=n,S=x,n=r,x=b,r=Z+te+h(b=Q+ee|0,Q)|0}this._al=this._al+b|0,this._bl=this._bl+x|0,this._cl=this._cl+S|0,this._dl=this._dl+k|0,this._el=this._el+C|0,this._fl=this._fl+E|0,this._gl=this._gl+T|0,this._hl=this._hl+w|0,this._ah=this._ah+r+h(this._al,b)|0,this._bh=this._bh+n+h(this._bl,x)|0,this._ch=this._ch+i+h(this._cl,S)|0,this._dh=this._dh+a+h(this._dl,k)|0,this._eh=this._eh+s+h(this._el,C)|0,this._fh=this._fh+c+h(this._fl,E)|0,this._gh=this._gh+v+h(this._gl,T)|0,this._hh=this._hh+y+h(this._hl,w)|0},c.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,r){"use strict";var n=r(33),i=r(799),a=r(194),o=r(40).Buffer,s=r(393),c=r(311),u=r(312),l=o.alloc(128);function d(e,t){a.call(this,"digest"),"string"===typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.length<r&&(t=o.concat([t,l],r));for(var n=this._ipad=o.allocUnsafe(r),i=this._opad=o.allocUnsafe(r),s=0;s<r;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new c:u(e),this._hash.update(n)}n(d,a),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(s,t):new d(e,t)}},function(e,t,r){var n=r(307);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""}
1,DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},function(e,t,r){t.pbkdf2=r(801),t.pbkdf2Sync=r(398)},function(e,t,r){(function(t){var r=Math.pow(2,30)-1;function n(e,r){if("string"!==typeof e&&!t.isBuffer(e))throw new TypeError(r+" must be a buffer or string")}e.exports=function(e,t,i,a){if(n(e,"Password"),n(t,"Salt"),"number"!==typeof i)throw new TypeError("Iterations not a number");if(i<0)throw new TypeError("Bad iterations");
vendor: 12,980 bytes, line 1
1if("number"!==typeof a)throw new TypeError("Key length not a number");if(a<0||a>r||a!==a)throw new TypeError("Bad key length")}}).call(this,r(103).Buffer)},function(e,t,r){(function(t){var r;t.browser?r="utf-8":r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=r}).call(this,r(151))},function(e,t,r){var n=r(393),i=r(311),a=r(312),o=r(396),s=r(397),c=r(40).Buffer,u=c.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var o=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?n:function(t){return a(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=o(t):t.length<s&&(t=c.concat([t,u],s));for(var d=c.allocUnsafe(s+l[e]),f=c.allocUnsafe(s+l[e]),p=0;p<s;p++)d[p]=54^t[p],f[p]=92^t[p];var _=c.allocUnsafe(s+r+4);d.copy(_,0,0,s),this.ipad1=_,this.ipad2=d,this.opad=f,this.alg=e,this.blocksize=s,this.hash=o,this.size=l[e]}d.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,i){o(e,t,r,n),c.isBuffer(e)||(e=c.from(e,s)),c.isBuffer(t)||(t=c.from(t,s));var a=new d(i=i||"sha1",e,t.length),u=c.allocUnsafe(n),f=c.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,_=l[i],m=Math.ceil(n/_),g=1;g<=m;g++){f.writeUInt32BE(g,t.length);for(var h=a.run(f,a.ipad1),v=h,y=1;y<r;y++){v=a.run(v,a.ipad2);for(var b=0;b<_;b++)h[b]^=v[b]}h.copy(u,p),p+=_}return u}},function(e,t,r){var n=r(256),i=r(40).Buffer,a=r(400);function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return a(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),a=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var c=o(e),u=a+16*s;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var l=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,l)}},function(e,t){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},function(e){e.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},function(e,t,r){var n=r(285),i=r(40).Buffer,a=r(194),o=r(33),s=r(816),c=r(256),u=r(400);function l(e,t,r,o){a.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(t);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),r=function(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),a=t.length,o=a%16;n.update(t),o&&(o=16-o,n.update(i.alloc(o,0))),n.update(i.alloc(8,0));var c=8*a,l=i.alloc(8);l.writeUIntBE(c,0,8),n.update(l),e._finID=n.state;var d=i.from(e._finID);return u(d),d}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(l,a),l.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},l.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=l},function(e,t,r){var n=r(285),i=r(40).Buffer,a=r(194);function o(e,t,r,o){a.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=o,this._mode=e}r(33)(o,a),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},function(e,t,r){var n=r(230);e.exports=v,v.simpleSieve=g,v.fermatTest=h;var i=r(104),a=new i(24),o=new(r(405)),s=new i(1),c=new i(2),u=new i(5),l=(new i(16),new i(8),new i(10)),d=new i(3),f=(new i(7),new i(11)),p=new i(4),_=(new i(12),null);function m(){if(null!==_)return _;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!==0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return _=e,e}function g(e){for(var t=m(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function h(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,_;for(t=new i(t);;){for(r=new i(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;r.mod(l).cmp(d);)r.iadd(p)}else for(;r.mod(a).cmp(f);)r.iadd(p);if(g(_=r.shrn(1))&&g(r)&&h(_)&&h(r)&&o.test(_)&&o.test(r))return r}}},function(e,t,r){var n=r(104),i=r(316);function a(e){this.rand=e||new i.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},a.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},a.prototype.test=function(e,t,r){var i=e.bitLength(),a=n.mont(e),o=new n(1).toRed(a);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var u=e.shrn(c),l=s.toRed(a);t>0;t--){var d=this._randrange(new n(2),s);r&&r(d);var f=d.toRed(a).redPow(u);if(0!==f.cmp(o)&&0!==f.cmp(l)){for(var p=1;p<c;p++){if(0===(f=f.redSqr()).cmp(o))return!1;if(0===f.cmp(l))break}if(p===c)return!1}}return!0},a.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),a=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var c=e.shrn(s),u=o.toRed(i);t>0;t--){var l=this._randrange(new n(2),o),d=e.gcd(l);if(0!==d.cmpn(1))return d;var f=l.toRed(i).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(u)){for(var p=1;p<s;p++){if(0===(f=f.redSqr()).cmp(a))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(u))break}if(p===s)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,r){"use strict";var n=t;function i(e){return 1===e.length?"0"+e:e}function a(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!==typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}return r},n.zero2=i,n.toHex=a,n.encode=function(e,t){return"hex"===t?a(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(287),n.short=r(828),n.mont=r(829),n.edwards=r(830)},function(e,t,r){"use strict";var n=r(167).rotr32;function i(e,t,r){return e&t^~e&r}function a(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?o(t,r,n):2===e?a(t,r,n):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(167),i=r(257),a=r(408),o=r(152),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=a.ch32,d=a.maj32,f=a.s0_256,p=a.s1_256,_=a.g0_256,m=a.g1_256,g=i.BlockHash,h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=h,this.W=new Array(64)}n.inherits(v,g),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=c(m(r[n-2]),r[n-7],_(r[n-15]),r[n-16]);var i=this.h[0],a=this.h[1],g=this.h[2],h=this.h[3],v=this.h[4],y=this.h[5],b=this.h[6],x=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var S=u(x,p(v),l(v,y,b),this.k[n],r[n]),k=s(f(i),d(i,a,g));x=b,b=y,y=v,v=s(h,S),h=g,g=a,a=i,i=s(S,k)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],v),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],b),this.h[7]=s(this.h[7],x)},v.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(167),i=r(257),a=r(152),o=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,d=n.sum64_hi,f=n.sum64_lo,p=n.sum64_4_hi,_=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,h=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,
vendor: 13,100 bytes, line 1
11322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;h.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function b(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function x(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function S(e,t,r,n,i){var a=e&r^e&i^r&i;return a<0&&(a+=4294967296),a}function k(e,t,r,n,i,a){var o=t&n^t&a^n&a;return o<0&&(o+=4294967296),o}function C(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function E(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function T(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function w(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function D(e,t){var r=o(e,t,1)^o(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}function A(e,t){var r=s(e,t,1)^s(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function N(e,t){var r=o(e,t,19)^o(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}function P(e,t){var r=s(e,t,19)^s(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(y,h),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=N(r[n-4],r[n-3]),a=P(r[n-4],r[n-3]),o=r[n-14],s=r[n-13],c=D(r[n-30],r[n-29]),u=A(r[n-30],r[n-29]),l=r[n-32],d=r[n-31];r[n]=p(i,a,o,s,c,u,l,d),r[n+1]=_(i,a,o,s,c,u,l,d)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],o=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],p=this.h[6],_=this.h[7],h=this.h[8],v=this.h[9],y=this.h[10],D=this.h[11],A=this.h[12],N=this.h[13],P=this.h[14],O=this.h[15];a(this.k.length===r.length);for(var F=0;F<r.length;F+=2){var M=P,I=O,L=T(h,v),R=w(h,v),j=b(h,v,y,D,A),B=x(h,v,y,D,A,N),z=this.k[F],q=this.k[F+1],U=r[F],V=r[F+1],J=m(M,I,L,R,j,B,z,q,U,V),H=g(M,I,L,R,j,B,z,q,U,V);M=C(n,i),I=E(n,i),L=S(n,i,o,s,c),R=k(n,i,o,s,c,u);var W=d(M,I,L,R),K=f(M,I,L,R);P=A,O=N,A=y,N=D,y=h,D=v,h=d(p,_,J,H),v=f(_,_,J,H),p=c,_=u,c=o,u=s,o=n,s=i,n=d(J,H,W,K),i=f(J,H,W,K)}l(this.h,0,n,i),l(this.h,2,o,s),l(this.h,4,c,u),l(this.h,6,p,_),l(this.h,8,h,v),l(this.h,10,y,D),l(this.h,12,A,N),l(this.h,14,P,O)},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){var n=r(33),i=r(259).Reporter,a=r(103).Buffer;function o(e,t){i.call(this,t),a.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"===typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"===typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(o,i),t.DecoderBuffer=o,o.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new o(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"===typeof this.value?e[t]=this.value:"string"===typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},function(e,t,r){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=r(850)},function(e,t,r){var n=r(33),i=r(258),a=i.base,o=i.bignum,s=i.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function l(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var a=r;for(r=0;128===(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function d(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var a=0;a<i;a++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}e.exports=c,c.prototype.decode=function(e,t){return e instanceof a.DecoderBuffer||(e=new a.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,a.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=l(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=l(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=d(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var a=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(i=e.offset-a.offset,e.restore(a),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){var r=l(e,t);if(e.isError(r))return r;var n,i=d(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var o=r.decode(e,"der",n);if(e.isError(o)&&a)break;i.push(o)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",a=0;a<n.length/2;a++)i+=String.fromCharCode(n.readUInt16BE(2*a));return i}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){for(var n,i=[],a=0;!e.isEmpty();){var o=e.readUInt8();a<<=7,a|=127&o,0===(128&o)&&(i.push(a),a=0)}128&o&&i.push(a);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),a=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),a=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,a,o,s,c,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e,t,r){var n=r(33),i=r(103).Buffer,a=r(258),o=a.base,s=a.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function l(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,o.Node),u.prototype._encodeComposite=function(e,t,r,n){var a,o=function(e,t,r,n){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}if(i>=31)return n.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[r||"universal"]<<6}(e,t,r,this.reporter);if(n.length<128)return(a=new i(2))[0]=o,a[1]=n.length,this._createEncoderBuffer([a,n]);for(var c=1,u=n.length;u>=256;u>>=8)c++;(a=new i(2+c))[0]=o,a[1]=128|c;u=1+c;for(var l=n.length;l>0;u--,l>>=8)a[u]=255&l;return this._createEncoderBuffer([a,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new i(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"===typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var a=0;for(n=0;n<e.length;n++){var o=e[n];for(a++;o>=128;o>>=7)a++}var s=new i(a),c=s.length-1;for(n=e.length-1;n>=0;n--){o=e[n];for(s[c--]=127&o;(o>>=7)>0;)s[c--]=128|127&o}return this._createEncoderBuffer(s)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[l(n.getFullYear()),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[l(n.getFullYear()%100),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new i(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var a=new i(n);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var o=e;o>=256;o>>=8)n++;for(o=(a=new Array(n)).length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new i(a))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;
1var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),a.length!==i.defaultBuffer.length)return!1;for(n=0;n<a.length;n++)if(a[n]!==i.defaultBuffer[n])return!1;return!0}},function(e){e.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},function(e,t,r){var n=r(254),i=r(40).Buffer;function a(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=i.alloc(0),s=0;o.length<t;)r=a(s++),o=i.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},function(e,t){e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},function(e,t,r){var n=r(104),i=r(40).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},function(e,t,r){var n=r(420),i=r(260),a=r(421).ArraySet,o=r(867).MappingList;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new o,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,r=new s({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=i.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(n){var a=n;null!==t&&(a=i.relative(t,n)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(n);null!=o&&r.setSourceContent(n,o)}),r},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),a=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,a),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:a})},s.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var o=this._sourceRoot;null!=o&&(n=i.relative(o,n));var s=new a,c=new a;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=i.join(r,t.source)),null!=o&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||s.has(u)||s.add(u);var l=t.name;null==l||c.has(l)||c.add(l)},this),this._sources=s,this._names=c,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=o&&(t=i.relative(o,t)),this.setSourceContent(t,n))},this)},s.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!==typeof t.line&&"number"!==typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},s.prototype._serializeMappings=function(){for(var e,t,r,a,o=0,s=1,c=0,u=0,l=0,d=0,f="",p=this._mappings.toArray(),_=0,m=p.length;_<m;_++){if(e="",(t=p[_]).generatedLine!==s)for(o=0;t.generatedLine!==s;)e+=";",s++;else if(_>0){if(!i.compareByGeneratedPositionsInflated(t,p[_-1]))continue;e+=","}e+=n.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=n.encode(a-d),d=a,e+=n.encode(t.originalLine-1-u),u=t.originalLine-1,e+=n.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-l),l=r)),f+=e}return f},s.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)}
1,s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},function(e,t,r){var n=r(866);t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,a,o=e.length,s=0,c=0;do{if(t>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&a),s+=(a&=31)<<c,c+=5}while(i);r.value=function(e){var t=e>>1;return 1===(1&e)?-t:t}(s),r.rest=t}},function(e,t,r){var n=r(260),i=Object.prototype.hasOwnProperty,a="undefined"!==typeof Map;function o(){this._array=[],this._set=a?new Map:Object.create(null)}o.fromArray=function(e,t){for(var r=new o,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},o.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(e,t){var r=a?e:n.toSetString(e),o=a?this.has(e):i.call(this._set,r),s=this._array.length;o&&!t||this._array.push(e),o||(a?this._set.set(e,s):this._set[r]=s)},o.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},o.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},o.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},o.prototype.toArray=function(){return this._array.slice()},t.ArraySet=o},function(e,t){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return a.default[e.type](e,t,r)};var n,i=r(878),a=(n=i)&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(425),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},a={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function l(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(33)(l,r(282).EventEmitter),l.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},l.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},l.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in a)for(var t;(t=this._stack[this._stack.length-1])in a[e];this.onclosetag(t));!this._options.xmlMode&&e in o||(this._stack.push(e),e in s?this._foreignContext.push(!0):e in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},l.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in o&&this._cbs.onclosetag(this._tagname),this._tagname=""},l.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in s||e in c)&&this._foreignContext.pop(),!this._stack.length||e in o&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},l.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},l.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},l.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},l.prototype.onattribdata=function(e){this._attribvalue+=e},l.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},l.prototype._getInstructionName=function(e){var t=e.search(u),r=t
1<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},l.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},l.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},l.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},l.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},l.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},l.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},l.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},l.prototype.parseComplete=function(e){this.reset(),this.end(e)},l.prototype.write=function(e){this._tokenizer.write(e)},l.prototype.end=function(e){this._tokenizer.end(e)},l.prototype.pause=function(){this._tokenizer.pause()},l.prototype.resume=function(){this._tokenizer.resume()},l.prototype.parseChunk=l.prototype.write,l.prototype.done=l.prototype.end,e.exports=l},function(e,t,r){e.exports=ge;var n=r(879),i=r(881),a=r(882),o=r(883),s=0,c=s++,u=s++,l=s++,d=s++,f=s++,p=s++,_=s++,m=s++,g=s++,h=s++,v=s++,y=s++,b=s++,x=s++,S=s++,k=s++,C=s++,E=s++,T=s++,w=s++,D=s++,A=s++,N=s++,P=s++,O=s++,F=s++,M=s++,I=s++,L=s++,R=s++,j=s++,B=s++,z=s++,q=s++,U=s++,V=s++,J=s++,H=s++,W=s++,K=s++,G=s++,X=s++,Y=s++,$=s++,Q=s++,Z=s++,ee=s++,te=s++,re=s++,ne=s++,ie=s++,ae=s++,oe=s++,se=s++,ce=s++,ue=0,le=ue++,de=ue++,fe=ue++;function pe(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function _e(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(i){i===n||i===e?this._state=t:(this._state=r,this._index--)}}function me(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=l,this._index--)}}function ge(e,t){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=le,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ge.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===le&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateBeforeTagName=function(e){"/"===e?this._state=f:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==le||pe(e)?this._state=c:"!"===e?(this._state=S,this._sectionStart=this._index+1):"?"===e?(this._state=C,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?l:j,this._sectionStart=this._index)},ge.prototype._stateInTagName=function(e){("/"===e||">"===e||pe(e))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},ge.prototype._stateBeforeCloseingTagName=function(e){pe(e)||(">"===e?this._state=c:this._special!==le?"s"===e||"S"===e?this._state=B:(this._state=c,this._index--):(this._state=p,this._sectionStart=this._index))},ge.prototype._stateInCloseingTagName=function(e){(">"===e||pe(e))&&(this._emitToken("onclosetag"),this._state=_,this._index--)},ge.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=c,this._sectionStart=this._index+1)},ge.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===e?this._state=d:pe(e)||(this._state=g,this._sectionStart=this._index)},ge.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):pe(e)||(this._state=m,this._index--)},ge.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||pe(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=h,this._index--)},ge.prototype._stateAfterAttributeName=function(e){"="===e?this._state=v:"/"===e||">"===e?(this._cbs.onattribend(),this._state=m,this._index--):pe(e)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},ge.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=y,this._sectionStart=this._index+1):"'"===e?(this._state=b,this._sectionStart=this._index+1):pe(e)||(this._state=x,this._sectionStart=this._index,this._index--)},ge.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateInAttributeValueNoQuotes=function(e){pe(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ie,this._sectionStart=this._index)},ge.prototype._stateBeforeDeclaration=function(e){this._state="["===e?A:"-"===e?E:k},ge.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},ge.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},ge.prototype._stateBeforeComment=function(e){"-"===e?(this._state=T,this._sectionStart=this._index+1):this._state=k},ge.prototype._stateInComment=function(e){"-"===e&&(this._state=w)},ge.prototype._stateAfterComment1=function(e){this._state="-"===e?D:T},ge.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==e&&(this._state=T)},ge.prototype._stateBeforeCdata1=_e("C",N,k),ge.prototype._stateBeforeCdata2=_e("D",P,k),ge.prototype._stateBeforeCdata3=_e("A",O,k),ge.prototype._stateBeforeCdata4=_e("T",F,k),ge.prototype._stateBeforeCdata5=_e("A",M,k),ge.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=I,this._sectionStart=this._index+1):(this._state=k,this._index--)},ge.prototype._stateInCdata=function(e){"]"===e&&(this._state=L)},ge.prototype._stateAfterCdata1=function(e){this._state="]"===e?R:I},ge.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==e&&(this._state=I)},ge.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=z:"t"===e||"T"===e?this._state=Y:(this._state=l,this._index--)},ge.prototype._stateBeforeSpecialEnd=function(e){this._special!==de||"c"!==e&&"C"!==e?this._special!==fe||"t"!==e&&"T"!==e?this._state=c:this._state=ee:this._state=H},ge.prototype._stateBeforeScript1=me("R",q),ge.prototype._stateBeforeScript2=me("I",U),ge.prototype._stateBeforeScript3=me("P",V),ge.prototype._stateBeforeScript4=me("T",J),ge.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||pe(e))&&(this._special=de),this._state=l,this._index--},ge.prototype._stateAfterScript1=_e("R",W,c),ge.prototype._stateAfterScript2=_e("I",K,c),ge.prototype._stateAfterScript3=_e("P",G,c),ge.prototype._stateAfterScript4=_e("T",X,c),ge.prototype._stateAfterScript5=function(e){">"===e||pe(e)?(this._special=le,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=c},ge.prototype._stateBeforeStyle1=me("Y",$),ge.prototype._stateBeforeStyle2=me("L",Q),ge.prototype._stateBeforeStyle3=me("E",Z),ge.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||pe(e))&&(this._special=fe),this._state=l,this._index--},ge.prototype._stateAfterStyle1=_e("Y",te,c),ge.prototype._stateAfterStyle2=_e("L",re,c),ge.prototype._stateAfterStyle3=_e("E",ne,c),ge.prototype._stateAfterStyle4=function(e){">"===e||pe(e)?(this._special=le,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=c},ge.prototype._stateBeforeEntity=_e("#",ae,oe),ge.prototype._stateBeforeNumericEntity=_e("X",ce,se),ge.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?o:i;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ge.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(a.hasOwnProperty(r))return this._emitPartial(a[r]),void(this._sectionStart+=t+1);t--}},ge.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ge.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var i=this._buffer.substring(r,this._index),a=parseInt(i,t);this._emitPartial(n(a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ge.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ge.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ge.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)}
1,ge.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ge.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===c?this._stateText(e):this._state===u?this._stateBeforeTagName(e):this._state===l?this._stateInTagName(e):this._state===f?this._stateBeforeCloseingTagName(e):this._state===p?this._stateInCloseingTagName(e):this._state===_?this._stateAfterCloseingTagName(e):this._state===d?this._stateInSelfClosingTag(e):this._state===m?this._stateBeforeAttributeName(e):this._state===g?this._stateInAttributeName(e):this._state===h?this._stateAfterAttributeName(e):this._state===v?this._stateBeforeAttributeValue(e):this._state===y?this._stateInAttributeValueDoubleQuotes(e):this._state===b?this._stateInAttributeValueSingleQuotes(e):this._state===x?this._stateInAttributeValueNoQuotes(e):this._state===S?this._stateBeforeDeclaration(e):this._state===k?this._stateInDeclaration(e):this._state===C?this._stateInProcessingInstruction(e):this._state===E?this._stateBeforeComment(e):this._state===T?this._stateInComment(e):this._state===w?this._stateAfterComment1(e):this._state===D?this._stateAfterComment2(e):this._state===A?this._stateBeforeCdata1(e):this._state===N?this._stateBeforeCdata2(e):this._state===P?this._stateBeforeCdata3(e):this._state===O?this._stateBeforeCdata4(e):this._state===F?this._stateBeforeCdata5(e):this._state===M?this._stateBeforeCdata6(e):this._state===I?this._stateInCdata(e):this._state===L?this._stateAfterCdata1(e):this._state===R?this._stateAfterCdata2(e):this._state===j?this._stateBeforeSpecial(e):this._state===B?this._stateBeforeSpecialEnd(e):this._state===z?this._stateBeforeScript1(e):this._state===q?this._stateBeforeScript2(e):this._state===U?this._stateBeforeScript3(e):this._state===V?this._stateBeforeScript4(e):this._state===J?this._stateBeforeScript5(e):this._state===H?this._stateAfterScript1(e):this._state===W?this._stateAfterScript2(e):this._state===K?this._stateAfterScript3(e):this._state===G?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Y?this._stateBeforeStyle1(e):this._state===$?this._stateBeforeStyle2(e):this._state===Q?this._stateBeforeStyle3(e):this._state===Z?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===ie?this._stateBeforeEntity(e):this._state===ae?this._stateBeforeNumericEntity(e):this._state===oe?this._stateInNamedEntity(e):this._state===se?this._stateInNumericEntity(e):this._state===ce?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ge.prototype.pause=function(){this._running=!1},ge.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ge.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ge.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ge.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===I||this._state===L||this._state===R?this._cbs.oncdata(e):this._state===T||this._state===w||this._state===D?this._cbs.oncomment(e):this._state!==oe||this._xmlMode?this._state!==se||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==l&&this._state!==m&&this._state!==v&&this._state!==h&&this._state!==g&&this._state!==b&&this._state!==y&&this._state!==x&&this._state!==p&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ge.prototype.reset=function(){ge.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ge.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ge.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ge.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ge.prototype._emitPartial=function(e){this._baseState!==c?this._cbs.onattribdata(e):this._cbs.ontext(e)}},function(e,t,r){var n=r(261),i=/\s+/g,a=r(427),o=r(884);function s(e,t,r){"object"===typeof e?(r=t,t=e,e=null):"function"===typeof t&&(r=t,t=c),this._callback=e,this._options=t||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e}
1,s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(o):Object.create(a),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(i," "):t.data+=e;else{r&&(e=e.replace(i," "));var a=this._createDomElement({data:e,type:n.Text});this._addDomElement(a)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=s},function(e,t){var r=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return i[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach(function(e){var t=n[e];Object.defineProperty(r,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,r){var n=e.exports;[r(886),r(894),r(895),r(896),r(897),r(898)].forEach(function(e){Object.keys(e).forEach(function(t){n[t]=e[t].bind(n)})})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(430)),a=n(r(890)),o=n(r(431)),s=n(r(891));function c(e){var t=Object.keys(e).join("|"),r=l(e),n=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(n,r)}}t.decodeXML=c(o.default),t.decodeHTMLStrict=c(i.default);var u=function(e,t){return e<t?1:-1};function l(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(a.default).sort(u),t=Object.keys(i.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var o=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=l(i.default);function c(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(o,c)}}()},function(e){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslo
1pe:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",
1Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil
1:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minu
1s:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u
103bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u
103f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub
1:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xod
1ot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=c(n(r(431)).default),a=u(i);t.encodeXML=_(i,a);var o=c(n(r(430)).default),s=u(o);function c(e){return Object.keys(e).sort().reduce(function(t,r){return t[e[r]]="&"+r+";",t},{})}function u(e){var t=[],r=[];return Object.keys(e).forEach(function(e){return 1===e.length?t.push("\\"+e):r.push(e)}),r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=_(o,s);var l=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function _(e,t){return function(r){return r.replace(t,function(t){return e[t]}).replace(d,p).replace(l,f)}}var m=u(i);t.escape=function(e){return e.replace(m,f).replace(d,p).replace(l,f)}},function(e,t,r){e.exports=s;var n=r(424),i=r(900).Writable,a=r(284).StringDecoder,o=r(103).Buffer;function s(e,t){var r=this._parser=new n(e,t),o=this._decoder=new a;i.call(this,{decodeStrings:!1}),this.once("finish",function(){r.end(o.end())})}r(33)(s,i),s.prototype._write=function(e,t,r){e instanceof o&&(e=this._decoder.write(e)),this._parser.write(e),r()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function(e,t){var r=n({},(0,i.default)(e),{key:t});"string"===typeof r.style||r.style instanceof String?r.style=(0,a.default)(r.style):delete r.style;return r};var i=o(r(905)),a=o(r(908));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i.hasOwnProperty(e)||(i[e]=n.test(e));return i[e]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,i={}},function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"===typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",function(){return n})},,,function(e,t,r){"use strict";t.__esModule=!0,t.default=o;var n=a(r(0)),i=a(r(26));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(e.width||36)+"px",r=(e.height||30)+"px",i=parseInt(r.replace("px",""))/2+"px",a=e.isOpen||!1,o=e.strokeWidth||2,s="-"+o/2+"px",c=e.animationDuration||"0.4",u=function(e,t,r){return"translate3d(0,"+(e?i:t)+",0) rotate("+(e?r+"deg":"0")+")"},l={container:{width:t,height:r,position:"relative",transform:"rotate("+(e.rotate||0)+"deg)"},lineBase:{display:"block",height:o+"px",width:"100%",background:e.color||"#000",transitionTimingFunction:"ease",transitionDuration:c+"s",borderRadius:(e.borderRadius||0)+"px",transformOrigin:"center",position:"absolute"},firstLine:{transform:u(a,0,45),marginTop:s},secondLine:{transitionTimingFunction:"ease-out",transitionDuration:c/4+"s",opacity:a?"0":"1",top:i,marginTop:s},thirdLine:{transform:u(a,r,-45),marginTop:s}};return n.default.createElement("div",{style:l.container,className:e.className,onClick:e.menuClicked},n.default.createElement("span",{style:Object.assign({},l.lineBase,l.firstLine)}),n.default.createElement("span",{style:Object.assign({},l.lineBase,l.secondLine)}),n.default.createElement("span",{style:Object.assign({},l.lineBase,l.thirdLine)}))}o.propTypes={isOpen:i.default.bool.isRequired,menuClicked:i.default.func.isRequired,width:i.default.number,height:i.default.number,strokeWidth:i.default.number,rotate:i.default.number,color:i.default.string,borderRadius:i.default.number,animationDuration:i.default.number,className:i.default.string}},function(e,t,r){"use strict";(function(t){var r="__global_unique_id__";e.exports=function(){return t[r]=(t[r]||0)+1}}).call(this,r(127))},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",function(){return o}
1);var n=r(291),i=r(290),a=r(292);function o(e){return Object(n.a)(e)||Object(i.a)(e)||Object(a.a)()}},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),o=(n=a)&&n.__esModule?n:{default:n},s=r(26);var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.scriptLoaderId="id"+r.constructor.idCount++,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.default.Component),i(t,[{key:"componentDidMount",value:function(){var e,t,r,n=this.props,i=n.onError,a=n.onLoad,o=n.url;this.constructor.loadedScripts[o]?a():this.constructor.erroredScripts[o]?i():this.constructor.scriptObservers[o]?this.constructor.scriptObservers[o][this.scriptLoaderId]=this.props:(this.constructor.scriptObservers[o]=(e={},t=this.scriptLoaderId,r=this.props,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e),this.createScript())}},{key:"componentWillUnmount",value:function(){var e=this.props.url,t=this.constructor.scriptObservers[e];t&&delete t[this.scriptLoaderId]}},{key:"createScript",value:function(){var e=this,t=this.props,r=t.onCreate,n=t.url,i=t.attributes,a=document.createElement("script");
1r(),i&&Object.keys(i).forEach(function(e){return a.setAttribute(e,i[e])}),a.src=n,a.hasAttribute("async")||(a.async=1);var o=function(t){var r=e.constructor.scriptObservers[n];Object.keys(r).forEach(function(i){t(r[i])&&delete e.constructor.scriptObservers[n][e.scriptLoaderId]})};a.onload=function(){e.constructor.loadedScripts[n]=!0,o(function(e){return e.onLoad(),!0})},a.onerror=function(){e.constructor.erroredScripts[n]=!0,o(function(e){return e.onError(),!0})},document.body.appendChild(a)}},{key:"render",value:function(){return null}}]),t}();c.propTypes={attributes:s.PropTypes.object,onCreate:s.PropTypes.func,onError:s.PropTypes.func.isRequired,onLoad:s.PropTypes.func.isRequired,url:s.PropTypes.string.isRequired},c.defaultProps={attributes:{},onCreate:function(){},onError:function(){},onLoad:function(){}},c.scriptObservers={},c.loadedScripts={},c.erroredScripts={},c.idCount=0,t.default=c,e.exports=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlparser2=t.convertNodeToElement=t.processNodes=void 0;var n=r(321);Object.defineProperty(t,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var i=r(423);Object.defineProperty(t,"convertNodeToElement",{enumerable:!0,get:function(){return s(i).default}});var a=r(232);Object.defineProperty(t,"htmlparser2",{enumerable:!0,get:function(){return s(a).default}});var o=s(r(912));function s(e){return e&&e.__esModule?e:{default:e}}t.default=o.default},,,function(e,t,r){"use strict";function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"===typeof i?i(r,n,e):t(i)}}}}var i=n();i.withExtraArgument=n,t.a=i},,,function(e,t,r){e.exports=function(){"use strict";return[{locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,a=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}},{locale:"en-001",parentLocale:"en",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo",other:"in {0} mo"},past:{one:"{0} mo ago",other:"{0} mo ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}}}},{locale:"en-150",parentLocale:"en-001"},{locale:"en-AG",parentLocale:"en-001"},{locale:"en-AI",parentLocale:"en-001"},{locale:"en-AS",parentLocale:"en"},{locale:"en-AT",parentLocale:"en-150"},{locale:"en-AU",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr",other:"in {0} yrs"},past:{one:"{0} yr ago",other:"{0} yrs ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"h",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hrs"},past:{one:"{0} hr ago",other:"{0} hrs ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} mins"},past:{one:"{0} min. ago",other:"{0} mins ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} secs"},past:{one:"{0} sec. ago",other:"{0} secs ago"}}}}},{locale:"en-BB",parentLocale:"en-001"},{locale:"en-BE",parentLocale:"en-001"},{locale:"en-BI",parentLocale:"en"},{locale:"en-BM",parentLocale:"en-001"},{locale:"en-BS",parentLocale:"en-001"},{locale:"en-BW",parentLocale:"en-001"},{locale:"en-BZ",parentLocale:"en-001"},{locale:"en-CA",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yrs."},past:{one:"{0} yr. ago",other:"{0} yrs. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mos."},past:{one:"{0} mo. ago",other:"{0} mos. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hrs."},past:{one:"{0} hr. ago",other:"{0} hrs. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} mins."},past:{one:"{0} min. ago",other:"{0} mins. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} secs."},past:{one:"{0} sec. ago",other:"{0} secs. ago"}}}}},{locale:"en-CC",parentLocale:"en-001"},{locale:"en-CH",parentLocale:"en-150"},{locale:"en-CK",parentLocale:"en-001"},{locale:"en-CM",parentLocale:"en-001"},{locale:"en-CX",parentLocale:"en-001"},{locale:"en-CY",parentLocale:"en-001"},{locale:"en-DE",parentLocale:"en-150"},{locale:"en-DG",parentLocale:"en-001"},{locale:"en-DK",parentLocale:"en-150"},{locale:"en-DM",parentLocale:"en-001"},{locale:"en-Dsrt",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},"year-short":{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},"month-short":{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},"day-short":{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},"hour-short":{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},"minute-short":{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}},"second-short":{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-ER",parentLocale:"en-001"},{locale:"en-FI",parentLocale:"en-150"},{locale:"en-FJ",parentLocale:"en-001"},{locale:"en-FK",parentLocale:"en-001"},{locale:"en-FM",parentLocale:"en-001"},{locale:"en-GB",parentLocale:"en-001"},{locale:"en-GD",parentLocale:"en-001"},{locale:"en-GG",parentLocale:"en-001"},{locale:"en-GH",parentLocale:"en-001"},{locale:"en-GI",parentLocale:"en-001"},{locale:"en-GM",parentLocale:"en-001"},{locale:"en-GU",parentLocale:"en"},{locale:"en-GY",parentLocale:"en-001"},{locale:"en-HK",parentLocale:"en-001"},{locale:"en-IE",parentLocale:"en-001"},{locale:"en-IL",parentLocale:"en-001"},{locale:"en-IM",parentLocale:"en-001"},{locale:"en-IN",parentLocale:"en-001"},{locale:"en-IO",parentLocale:"en-001"},{locale:"en-JE",parentLocale:"en-001"},{locale:"en-JM",parentLocale:"en-001"},{locale:"en-KE",parentLocale:"en-001"},{locale:"en-KI",parentLocale:"en-001"},{locale:"en-KN",parentLocale:"en-001"},{locale:"en-KY",parentLocale:"en-001"},{locale:"en-LC",parentLocale:"en-001"},{locale:"en-LR",parentLocale:"en-001"},{locale:"en-LS",parentLocale:"en-001"},{locale:"en-MG",parentLocale:"en-001"},{locale:"en-MH",parentLocale:"en"},{locale:"en-MO",parentLocale:"en-001"},{locale:"en-MP",parentLocale:"en"},{locale:"en-MS",parentLocale:"en-001"},{locale:"en-MT",parentLocale:"en-001"},{locale:"en-MU",parentLocale:"en-001"},{locale:"en-MW",parentLocale:"en-001"},{locale:"en-MY",parentLocale:"en-001"},{locale:"en-NA",parentLocale:"en-001"},{locale:"en-NF",parentLocale:"en-001"},{locale:"en-NG",parentLocale:"en-001"},{locale:"en-NL",parentLocale:"en-150"},{locale:"en-NR",parentLocale:"en-001"},{locale:"en-NU",parentLocale:"en-001"},{locale:"en-NZ",parentLocale:"en-001"},{locale:"en-PG",parentLocale:"en-001"},{locale:"en-PH",parentLocale:"en-001"},{locale:"en-PK",parentLocale:"en-001"},{locale:"en-PN",parentLocale:"en-001"},{locale:"en-PR",parentLocale:"en"},{locale:"en-PW",parentLocale:"en-001"},{locale:"en-RW",parentLocale:"en-001"},{locale:"en-SB",parentLocale:"en-001"},{locale:"en-SC",parentLocale:"en-001"},{locale:"en-SD",parentLocale:"en-001"},{locale:"en-SE",parentLocale:"en-150"},{locale:"en-SG",parentLocale:"en-001",fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr",relative:{0:"this yr",1:"next yr","-1":"last yr"},relativeTime:{future:{one:"in {0} yr",other:"in {0} yr"},past:{one:"{0} yr ago",other:"{0} yr ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mth",relative:{0:"this mth",1:"next mth","-1":"last mth"},relativeTime:{future:{one:"in {0} mth",other:"in {0} mth"},past:{one:"{0} mth ago",other:"{0} mth ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} da
1y ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr",other:"in {0} hr"},past:{one:"{0} hr ago",other:"{0} hr ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min",other:"in {0} min"},past:{one:"{0} min ago",other:"{0} min ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec",other:"in {0} sec"},past:{one:"{0} sec ago",other:"{0} sec ago"}}}}},{locale:"en-SH",parentLocale:"en-001"},{locale:"en-SI",parentLocale:"en-150"},{locale:"en-SL",parentLocale:"en-001"},{locale:"en-SS",parentLocale:"en-001"},{locale:"en-SX",parentLocale:"en-001"},{locale:"en-SZ",parentLocale:"en-001"},{locale:"en-Shaw",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},"year-short":{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{other:"+{0} y"},past:{other:"-{0} y"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},"month-short":{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{other:"+{0} m"},past:{other:"-{0} m"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},"day-short":{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{other:"+{0} d"},past:{other:"-{0} d"}}},hour:{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},"hour-short":{displayName:"Hour",relative:{0:"this hour"},relativeTime:{future:{other:"+{0} h"},past:{other:"-{0} h"}}},minute:{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},"minute-short":{displayName:"Minute",relative:{0:"this minute"},relativeTime:{future:{other:"+{0} min"},past:{other:"-{0} min"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}},"second-short":{displayName:"Second",relative:{0:"now"},relativeTime:{future:{other:"+{0} s"},past:{other:"-{0} s"}}}}},{locale:"en-TC",parentLocale:"en-001"},{locale:"en-TK",parentLocale:"en-001"},{locale:"en-TO",parentLocale:"en-001"},{locale:"en-TT",parentLocale:"en-001"},{locale:"en-TV",parentLocale:"en-001"},{locale:"en-TZ",parentLocale:"en-001"},{locale:"en-UG",parentLocale:"en-001"},{locale:"en-UM",parentLocale:"en"},{locale:"en-US",parentLocale:"en"},{locale:"en-VC",parentLocale:"en-001"},{locale:"en-VG",parentLocale:"en-001"},{locale:"en-VI",parentLocale:"en"},{locale:"en-VU",parentLocale:"en-001"},{locale:"en-WS",parentLocale:"en-001"},{locale:"en-ZA",parentLocale:"en-001"},{locale:"en-ZM",parentLocale:"en-001"},{locale:"en-ZW",parentLocale:"en-001"}]}()},function(e,t,r){e.exports=function(){"use strict";return[{locale:"es",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} s",other:"dentro de {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}},{locale:"es-419",parentLocale:"es"},{locale:"es-AR",parentLocale:"es-419",fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xedas",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xedas",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"seg.",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} seg.",other:"dentro de {0} seg."},past:{one:"hace {0} seg.",other:"hace {0} seg."}}}}},{locale:"es-BO",parentLocale:"es-419"},{locale:"es-BR",parentLocale:"es-419"},{locale:"es-BZ",parentLocale:"es-419"},{locale:"es-CL",parentLocale:"es-419"},{locale:"es-CO",parentLocale:"es-419"},{locale:"es-CR",parentLocale:"es-419"},{locale:"es-CU",parentLocale:"es-419"},{locale:"es-DO",parentLocale:"es-419",fields:{year:{displayName:"A\xf1o",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"Mes",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"D\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"Minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"Segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} s",other:"dentro de {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}},{locale:"es-EA",parentLocale:"es"},{locale:"es-EC",parentLocale:"es-419"},{locale:"es-GQ",parentLocale:"es"},{locale:"es-GT",parentLocale:"es-419"},{locale:"es-HN",parentLocale:"es-419"},{locale:"es-IC",parentLocale:"es"},{locale:"es-MX",parentLocale:"es-419",fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el a\xf1o pr\xf3ximo","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"en {0} a",other:"en {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el mes pr\xf3ximo","-1":"el mes pasado"},relativeTime:{future:{one:"en {0} mes",other:"en {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"en {0} m",other:"en {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"en {0} d\xeda",other:"en {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"en {0} h",other:"en {0} n"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"en {0} min",other:"en {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"en {0} s",other:"en {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}},{locale:"es-NI",parentLocale:"es-419"},{locale:"es-PA",parentLocale:"es-419"},{locale:"es-PE",parentLocale:"es-419"},{locale:"es-PH",parentLocale:"es"},{locale:"es-PR",parentLocale:"es-419"},{locale:"es-PY",parentLocale:"es-419",fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTim
1e:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"seg.",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} seg.",other:"dentro de {0} seg."},past:{one:"hace {0} seg.",other:"hace {0} seg."}}}}},{locale:"es-SV",parentLocale:"es-419",fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} s",other:"dentro de {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}},{locale:"es-US",parentLocale:"es-419",fields:{year:{displayName:"a\xf1o",relative:{0:"este a\xf1o",1:"el a\xf1o pr\xf3ximo","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a\xf1o",other:"dentro de {0} a\xf1os"},past:{one:"hace {0} a\xf1o",other:"hace {0} a\xf1os"}}},"year-short":{displayName:"a",relative:{0:"este a\xf1o",1:"el pr\xf3ximo a\xf1o","-1":"el a\xf1o pasado"},relativeTime:{future:{one:"dentro de {0} a",other:"dentro de {0} a"},past:{one:"hace {0} a",other:"hace {0} a"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el mes pr\xf3ximo","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},"month-short":{displayName:"m",relative:{0:"este mes",1:"el pr\xf3ximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} m",other:"dentro de {0} m"},past:{one:"hace {0} m",other:"hace {0} m"}}},day:{displayName:"d\xeda",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},"day-short":{displayName:"d",relative:{0:"hoy",1:"ma\xf1ana",2:"pasado ma\xf1ana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} d\xeda",other:"dentro de {0} d\xedas"},past:{one:"hace {0} d\xeda",other:"hace {0} d\xedas"}}},hour:{displayName:"hora",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},"hour-short":{displayName:"h",relative:{0:"esta hora"},relativeTime:{future:{one:"dentro de {0} h",other:"dentro de {0} h"},past:{one:"hace {0} h",other:"hace {0} h"}}},minute:{displayName:"minuto",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},"minute-short":{displayName:"min",relative:{0:"este minuto"},relativeTime:{future:{one:"dentro de {0} min",other:"dentro de {0} min"},past:{one:"hace {0} min",other:"hace {0} min"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}},"second-short":{displayName:"s",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} s",other:"dentro de {0} s"},past:{one:"hace {0} s",other:"hace {0} s"}}}}},{locale:"es-UY",parentLocale:"es-419"},{locale:"es-VE",parentLocale:"es-419"}]}()},function(e,t,r){"use strict";var n=r(0),i=r.n(n),a=r(26),o=r.n(a);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=n.prototype;return a.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},a.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored()},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e)},a.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},a.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout(function(){document.body.removeChild(e)},5e3)},a.handleRecaptchaRef=function(e){this.captcha=e},a.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return i.a.createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},n}(i.a.Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:o.a.string.isRequired,onChange:o.a.func,grecaptcha:o.a.object,theme:o.a.oneOf(["dark","light"]),type:o.a.oneOf(["image","audio"]),tabindex:o.a.number,onExpired:o.a.func,onErrored:o.a.func,size:o.a.oneOf(["compact","normal","invisible"]),stoken:o.a.string,hl:o.a.string,badge:o.a.oneOf(["bottomright","bottomleft","inline"])},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var l=r(181),d=r.n(l);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p={},_=0;var m="onloadcallback";var g,h,v=(g=function(){return"https://"+(("undefined"!==typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+m+"&render=explicit"},h=(h={callbackName:m,globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,i;function a(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}i=t,(r=a).prototype=Object.create(i.prototype),r.prototype.constructor=r,r.__proto__=i;var o=a.prototype;return o.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+_++),this.__scriptLoaderID},o.setupScriptURL=function(){return this.__scriptURL="function"===typeof g?g():g,this.__scriptURL},o.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},o.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[h.callbackName]},o.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=h,i=n.globalName,a=n.callbackName,o=n.scriptId;if(i&&"undefined"!==typeof window[i]&&(p[t]={loaded:!0,observers:{}}),p[t]){var s=p[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[t]={loaded:!1,observers:c};var u=document.createElement("script");u.src=t,u.async=!0,o&&(u.id=o);var l=function(e){if(p[t]){var r=p[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!==typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=p[t];e&&(e.loaded=!0,l(function(t){return!a&&(t(e),!0)}))},u.onerror=function(){var e=p[t];e&&(e.errored=!0,l(function(t){return t(e),!0}))},document.body.appendChild(u)},o.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===h.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=p[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===h.removeOnUnmount&&delete p[e])},o.render=function(){var t=h.globalName,r=this.props,i=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!==typeof window&&(a[t]="undefined"!==typeof window[t]?window[t]:void 0),a.ref=i,Object(n.createElement)(e,a)},a}(n.Component),i=Object(n.forwardRef)(function(e,t){return Object(n.createElement)(r,f({},e,{forwardedRef:t}))});return i.displayName="AsyncScriptLoader("+t+")",i.propTypes={asyncScriptOnLoad:o.a.func},d()(i,e)})(u);t.a=v},,function(e,t,r){"use strict";var n=r(364),i="function"===typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113;i&&Symbol.for("react.suspense_list");var _=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder"),i&&Symbol.for("react.scope");var g="function"===typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function b(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}function x(){}function S(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||v}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=b.prototype;var k=S.prototype=new x;k.constructor=S,n(k,b.prototype),k.isPureReactComponent=!0;var C={current:null},E={current:null},T=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,r){var n,i={},o=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)T.call(t,n)&&!w.hasOwnProperty(n)&&(i[n]=t[n]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(e&&e.defaultProps)for(n in c=e.defaultProps)void 0===i[n]&&(i[n]=c[n]);return{$$typeof:a,type:e,key:o,ref:s,props:i,_owner:E.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var N=/\/+/g,P=[];function O(e,t,r,n){if(P.length){var i=P.pop();return i.result=e,i.keyPrefix=t,i.func=r,i.context=n,i.count=0,i}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function F(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function M(e,t,r){return null==e?0:function e(t,r,n,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case a:case o:c=!0}}if(c)return n(i,t,""===r?"."+I(t,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=r+I(s=t[u],u);c+=e(s,l,n,i)}else if(l=null===t||"object"!==typeof t?null:"function"===typeof(l=g&&t[g]||t["@@iterator"])?l:null,"function"===typeof l)for(t=l.call(t),u=0;!(s=t.next()).done;)c+=e(s=s.value,l=r+I(s,u++),n,i);else if("object"===s)throw n=""+t,Error(h(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return c}(e,"",t,r)}function I(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,r){var n=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,n,r,function(e){return e}):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+r)),n.push(e))}function j(e,t,r,n,i){var a="";null!=r&&(a=(""+r).replace(N,"$&/")+"/"),M(e,R,t=O(t,a,n,i)),F(t)}function B(){var e=C.current;
1if(null===e)throw Error(h(321));return e}var z={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return j(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;M(e,L,t=O(null,null,t,r)),F(t)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var t=[];return j(e,t,null,function(e){return e}),t},only:function(e){if(!A(e))throw Error(h(143));return e}},createRef:function(){return{current:null}},Component:b,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:_,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,r){return B().useImperativeHandle(e,t,r)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,r){return B().useReducer(e,t,r)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:s,Profiler:u,StrictMode:c,Suspense:p,createElement:D,cloneElement:function(e,t,r){if(null===e||void 0===e)throw Error(h(267,e));var i=n({},e.props),o=e.key,s=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,c=E.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in t)T.call(t,l)&&!w.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:a,type:e.type,key:o,ref:s,props:i,_owner:c}},createFactory:function(e){var t=D.bind(null,e);return t.type=e,t},isValidElement:A,version:"16.11.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:C,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:n}},q={default:z},U=q&&z||q;e.exports=U.default||U},function(e,t,r){"use strict";var n=r(0),i=r(364),a=r(526);function o(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,i,a,o,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,a,o,s],u=0;(e=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}n||o("227");var s=!1,c=null,u=!1,l=null,d={onError:function(e){s=!0,c=e}};function f(e,t,r,n,i,a,o,u,l){s=!1,c=null,function(e,t,r,n,i,a,o,s,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(l){this.onError(l)}}.apply(d,arguments)}var p=null,_={};function m(){if(p)for(var e in _){var t=_[e],r=p.indexOf(e);if(-1<r||o("96",e),!h[r])for(var n in t.extractEvents||o("97",e),h[r]=t,r=t.eventTypes){var i=void 0,a=r[n],s=t,c=n;v.hasOwnProperty(c)&&o("99",c),v[c]=a;var u=a.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&g(u[i],s,c);i=!0}else a.registrationName?(g(a.registrationName,s,c),i=!0):i=!1;i||o("98",n,e)}}}function g(e,t,r){y[e]&&o("100",e),y[e]=t,b[e]=t.eventTypes[r].dependencies}var h=[],v={},y={},b={},x=null,S=null,k=null;function C(e,t,r){var n=e.type||"unknown-event";e.currentTarget=k(r),function(e,t,r,n,i,a,d,p,_){if(f.apply(this,arguments),s){if(s){var m=c;s=!1,c=null}else o("198"),m=void 0;u||(u=!0,l=m)}}(n,t,void 0,e),e.currentTarget=null}function E(e,t){return null==t&&o("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,r){Array.isArray(e)?e.forEach(t,r):e&&t.call(r,e)}var w=null;
1function D(e){if(e){var t=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)C(e,t[n],r[n]);else t&&C(e,t,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var A={injectEventPluginOrder:function(e){p&&o("101"),p=Array.prototype.slice.call(e),m()},injectEventPluginsByName:function(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];_.hasOwnProperty(t)&&_[t]===n||(_[t]&&o("102",t),_[t]=n,r=!0)}r&&m()}};function N(e,t){var r=e.stateNode;if(!r)return null;var n=x(r);if(!n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}return e?null:(r&&"function"!==typeof r&&o("231",t,typeof r),r)}function P(e){if(null!==e&&(w=E(w,e)),e=w,w=null,e&&(T(e,D),w&&o("95"),u))throw e=l,u=!1,l=null,e}var O=Math.random().toString(36).slice(2),F="__reactInternalInstance$"+O,M="__reactEventHandlers$"+O;function I(e){if(e[F])return e[F];for(;!e[F];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[F]).tag||6===e.tag?e:null}function L(e){return!(e=e[F])||5!==e.tag&&6!==e.tag?null:e}function R(e){if(5===e.tag||6===e.tag)return e.stateNode;o("33")}function j(e){return e[M]||null}function B(e){do{e=e.return}while(e&&5!==e.tag);return e||null}
vendor: 7,221 bytes, line 1
1function z(e,t,r){(t=N(e,r.dispatchConfig.phasedRegistrationNames[t]))&&(r._dispatchListeners=E(r._dispatchListeners,t),r._dispatchInstances=E(r._dispatchInstances,e))}function q(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,r=[];t;)r.push(t),t=B(t);for(t=r.length;0<t--;)z(r[t],"captured",e);for(t=0;t<r.length;t++)z(r[t],"bubbled",e)}}function U(e,t,r){e&&r&&r.dispatchConfig.registrationName&&(t=N(e,r.dispatchConfig.registrationName))&&(r._dispatchListeners=E(r._dispatchListeners,t),r._dispatchInstances=E(r._dispatchInstances,e))}function V(e){e&&e.dispatchConfig.registrationName&&U(e._targetInst,null,e)}function J(e){T(e,q)}var H=!("undefined"===typeof window||!window.document||!window.document.createElement);function W(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var K={animationend:W("Animation","AnimationEnd"),animationiteration:W("Animation","AnimationIteration"),animationstart:W("Animation","AnimationStart"),transitionend:W("Transition","TransitionEnd")},G={},X={};function Y(e){if(G[e])return G[e];if(!K[e])return e;var t,r=K[e];for(t in r)if(r.hasOwnProperty(t)&&t in X)return G[e]=r[t];return e}H&&(X=document.createElement("div").style,"AnimationEvent"in window||(delete K.animationend.animation,delete K.animationiteration.animation,delete K.animationstart.animation),"TransitionEvent"in window||delete K.transitionend.transition);var $=Y("animationend"),Q=Y("animationiteration"),Z=Y("animationstart"),ee=Y("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=null,ne=null,ie=null;function ae(){if(ie)return ie;var e,t,r=ne,n=r.length,i="value"in re?re.value:re.textContent,a=i.length;for(e=0;e<n&&r[e]===i[e];e++);var o=n-e;for(t=1;t<=o&&r[n-t]===i[a-t];t++);return ie=i.slice(e,1<t?1-t:void 0)}function oe(){return!0}function se(){return!1}function ce(e,t,r,n){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=r,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(r):"target"===i?this.target=n:this[i]=r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?oe:se,this.isPropagationStopped=se,this}function ue(e,t,r,n){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,r,n),i}return new this(e,t,r,n)}function le(e){e instanceof this||o("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ue,e.release=le}i(ce.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=oe)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=oe)},persist:function(){this.isPersistent=oe},isPersistent:se,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=se,this._dispatchInstances=this._dispatchListeners=null}}),ce.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ce.extend=function(e){function t(){}function r(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var a=new t;return i(a,r.prototype),r.prototype=a,r.prototype.constructor=r,r.Interface=i({},n.Interface,e),r.extend=n.extend,de(r),r},de(ce);var fe=ce.extend({data:null}),pe=ce.extend({data:null}),_e=[9,13,27,32],me=H&&"CompositionEvent"in window,ge=null;H&&"documentMode"in document&&(ge=document.documentMode);var he=H&&"TextEvent"in window&&!ge,ve=H&&(!me||ge&&8<ge&&11>=ge),ye=String.fromCharCode(32),be={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function Se(e,t){switch(e){case"keyup":return-1!==_e.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ke(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Ce=!1;var Ee={eventTypes:be,extractEvents:function(e,t,r,n){var i=void 0,a=void 0;if(me)e:{switch(e){case"compositionstart":i=be.compositionStart;break e;case"compositionend":i=be.compositionEnd;break e;case"compositionupdate":i=be.compositionUpdate;break e}i=void 0}else Ce?Se(e,r)&&(i=be.compositionEnd):"keydown"===e&&229===r.keyCode&&(i=be.compositionStart);return i?(ve&&"ko"!==r.locale&&(Ce||i!==be.compositionStart?i===be.compositionEnd&&Ce&&(a=ae()):(ne="value"in(re=n)?re.value:re.textContent,Ce=!0)),i=fe.getPooled(i,t,r,n),a?i.data=a:null!==(a=ke(r))&&(i.data=a),J(i),a=i):a=null,(e=he?function(e,t){switch(e){case"compositionend":return ke(t);case"keypress":return 32!==t.which?null:(xe=!0,ye);case"textInput":return(e=t.data)===ye&&xe?null:e;default:return null}}(e,r):function(e,t){if(Ce)return"compositionend"===e||!me&&Se(e,t)?(e=ae(),ie=ne=re=null,Ce=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ve&&"ko"!==t.locale?null:t.data;default:return null}}(e,r))?((t=pe.getPooled(be.beforeInput,t,r,n)).data=e,J(t)):t=null,null===a?t:null===t?a:[a,t]}},Te=null,we=null,De=null;function Ae(e){if(e=S(e)){"function"!==typeof Te&&o("280");var t=x(e.stateNode);Te(e.stateNode,e.type,t)}}function Ne(e){we?De?De.push(e):De=[e]:we=e}function Pe(){if(we){var e=we,t=De;if(De=we=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Oe(e,t){return e(t)}function Fe(e,t,r){return e(t,r)}function Me(){}var Ie=!1;function Le(e,t){if(Ie)return e(t);Ie=!0;try{return Oe(e,t)}finally{Ie=!1,(null!==we||null!==De)&&(Me(),Pe())}}var Re={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function je(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Re[e.type]:"textarea"===t}function Be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
1odeType?e.parentNode:e}function ze(e){if(!H)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}function qe(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ue(e){e._valueTracker||(e._valueTracker=function(e){var t=qe(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ve(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=qe(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}var Je=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Je.hasOwnProperty("ReactCurrentDispatcher")||(Je.ReactCurrentDispatcher={current:null});var He=/^(.*)[\\\/]/,We="function"===typeof Symbol&&Symbol.for,Ke=We?Symbol.for("react.element"):60103,Ge=We?Symbol.for("react.portal"):60106,Xe=We?Symbol.for("react.fragment"):60107,Ye=We?Symbol.for("react.strict_mode"):60108,$e=We?Symbol.for("react.profiler"):60114,Qe=We?Symbol.for("react.provider"):60109,Ze=We?Symbol.for("react.context"):60110,et=We?Symbol.for("react.concurrent_mode"):60111,tt=We?Symbol.for("react.forward_ref"):60112,rt=We?Symbol.for("react.suspense"):60113,nt=We?Symbol.for("react.memo"):60115,it=We?Symbol.for("react.lazy"):60116,at="function"===typeof Symbol&&Symbol.iterator;function ot(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=at&&e[at]||e["@@iterator"])?e:null}function st(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case et:return"ConcurrentMode";case Xe:return"Fragment";case Ge:return"Portal";case $e:return"Profiler";case Ye:return"StrictMode";case rt:return"Suspense"}if("object"===typeof e)switch(e.$$typeof){case Ze:return"Context.Consumer";case Qe:return"Context.Provider";case tt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case nt:return st(e.type);case it:if(e=1===e._status?e._result:null)return st(e)}return null}function ct(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break e;default:var n=e._debugOwner,i=e._debugSource,a=st(e.type);r=null,n&&(r=st(n.type)),n=a,a="",i?a=" (at "+i.fileName.replace(He,"")+":"+i.lineNumber+")":r&&(a=" (created by "+r+")"),r="\n in "+(n||"Unknown")+a}t+=r,e=e.return}while(e);return t}var ut=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,lt=Object.prototype.hasOwnProperty,dt={},ft={};function pt(e,t,r,n,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t}var _t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_t[e]=new pt(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_t[t]=new pt(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new pt(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new pt(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInl
1ine readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_t[e]=new pt(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new pt(e,3,!0,e,null)}),["capture","download"].forEach(function(e){_t[e]=new pt(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new pt(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){_t[e]=new pt(e,5,!1,e.toLowerCase(),null)});var mt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function ht(e,t,r,n){var i=_t.hasOwnProperty(t)?_t[t]:null;(null!==i?0===i.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,r,n){if(null===t||"undefined"===typeof t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!lt.call(ft,e)||!lt.call(dt,e)&&(ut.test(e)?ft[e]=!0:(dt[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}function vt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function yt(e,t){var r=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function bt(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=vt(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xt(e,t){null!=(t=t.checked)&&ht(e,"checked",t,!1)}function St(e,t){xt(e,t);var r=vt(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ct(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ct(e,t.type,vt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function kt(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function Ct(e,t,r){"number"===t&&e.ownerDocument.activeElement===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mt,gt);_t[t]=new pt(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mt,gt);_t[t]=new pt(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mt,gt);_t[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new pt(e,1,!1,e.toLowerCase(),null)});
1var Et={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Tt(e,t,r){return(e=ce.getPooled(Et.change,e,t,r)).type="change",Ne(r),J(e),e}var wt=null,Dt=null;function At(e){P(e)}function Nt(e){if(Ve(R(e)))return e}function Pt(e,t){if("change"===e)return t}var Ot=!1;function Ft(){wt&&(wt.detachEvent("onpropertychange",Mt),Dt=wt=null)}function Mt(e){"value"===e.propertyName&&Nt(Dt)&&Le(At,e=Tt(Dt,e,Be(e)))}function It(e,t,r){"focus"===e?(Ft(),Dt=r,(wt=t).attachEvent("onpropertychange",Mt)):"blur"===e&&Ft()}function Lt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Nt(Dt)}function Rt(e,t){if("click"===e)return Nt(t)}function jt(e,t){if("input"===e||"change"===e)return Nt(t)}H&&(Ot=ze("input")&&(!document.documentMode||9<document.documentMode));var Bt={eventTypes:Et,_isInputEventSupported:Ot,extractEvents:function(e,t,r,n){var i=t?R(t):window,a=void 0,o=void 0,s=i.nodeName&&i.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===i.type?a=Pt:je(i)?Ot?a=jt:(a=Lt,o=It):(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Rt),a&&(a=a(e,t)))return Tt(a,r,n);o&&o(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ct(i,"number",i.value)}},zt=ce.extend({view:null,detail:null}),qt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ut(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=qt[e])&&!!t[e]}function Vt(){return Ut}var Jt=0,Ht=0,Wt=!1,Kt=!1,Gt=zt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Vt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Jt;return Jt=e.screenX,Wt?"mousemove"===e.type?e.screenX-t:0:(Wt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Ht;return Ht=e.screenY,Kt?"mousemove"===e.type?e.screenY-t:0:(Kt=!0,0)}}),Xt=Gt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Yt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},$t={eventTypes:Yt,extractEvents:function(e,t,r,n){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&(r.relatedTarget||r.fromElement)||!a&&!i)return null;if(i=n.window===n?n:(i=n.ownerDocument)?i.defaultView||i.parentWindow:window,a?(a=t,t=(t=r.relatedTarget||r.toElement)?I(t):null):a=null,a===t)return null;var o=void 0,s=void 0,c=void 0,u=void 0;"mouseout"===e||"mouseover"===e?(o=Gt,s=Yt.mouseLeave,c=Yt.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(o=Xt,s=Yt.pointerLeave,c=Yt.pointerEnter,u="pointer");var l=null==a?i:R(a);if(i=null==t?i:R(t),(e=o.getPooled(s,a,r,n)).type=u+"leave",e.target=l,e.relatedTarget=i,(r=o.getPooled(c,t,r,n)).type=u+"enter",r.target=i,r.relatedTarget=l,n=t,a&&n)e:{for(i=n,u=0,o=t=a;o;o=B(o))u++;for(o=0,c=i;c;c=B(c))o++;for(;0<u-o;)t=B(t),u--;for(;0<o-u;)i=B(i),o--;for(;u--;){if(t===i||t===i.alternate)break e;t=B(t),i=B(i)}t=null}else t=null;for(i=t,t=[];a&&a!==i&&(null===(u=a.alternate)||u!==i);)t.push(a),a=B(a);for(a=[];n&&n!==i&&(null===(u=n.alternate)||u!==i);)a.push(n),n=B(n);for(n=0;n<t.length;n++)U(t[n],"bubbled",e);for(n=a.length;0<n--;)U(a[n],"captured",r);return[e,r]}};function Qt(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var Zt=Object.prototype.hasOwnProperty;function er(e,t){if(Qt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Zt.call(t,r[n])||!Qt(e[r[n]],t[r[n]]))return!1;return!0}function tr(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(0!==(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function rr(e){2!==tr(e)&&o("188")}function nr(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=tr(e))&&o("188"),1===t?null:e;for(var r=e,n=t;;){var i=r.return,a=i?i.alternate:null;if(!i||!a)break;if(i.child===a.child){for(var s=i.child;s;){if(s===r)return rr(i),e;if(s===n)return rr(i),t;s=s.sibling}o("188")}if(r.return!==n.return)r=i,n=a;else{s=!1;for(var c=i.child;c;){if(c===r){s=!0,r=i,n=a;break}if(c===n){s=!0,n=i,r=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===r){s=!0,r=a,n=i;break}if(c===n){s=!0,n=a,r=i;break}c=c.sibling}s||o("189")}}r.alternate!==n&&o("190")}return 3!==r.tag&&o("188"),r.stateNode.current===r?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var ir=ce.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ar=ce.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),or=zt.extend({relatedTarget:null});function sr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var cr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ur={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},lr=zt.extend({key:function(e){if(e.key){var t=cr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=sr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
1yup"===e.type?ur[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Vt,charCode:function(e){return"keypress"===e.type?sr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?sr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),dr=Gt.extend({dataTransfer:null}),fr=zt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Vt}),pr=ce.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),_r=Gt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),mr=[["abort","abort"],[$,"animationEnd"],[Q,"animationIteration"],[Z,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ee,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],gr={},hr={};function vr(e,t){var r=e[0],n="on"+((e=e[1])[0].toUpperCase()+e.slice(1));
1t={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r],isInteractive:t},gr[e]=t,hr[r]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){vr(e,!0)}),mr.forEach(function(e){vr(e,!1)});var yr={eventTypes:gr,isInteractiveTopLevelEventType:function(e){return void 0!==(e=hr[e])&&!0===e.isInteractive},extractEvents:function(e,t,r,n){var i=hr[e];if(!i)return null;switch(e){case"keypress":if(0===sr(r))return null;case"keydown":case"keyup":e=lr;break;case"blur":case"focus":e=or;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Gt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=dr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=fr;break;case $:case Q:case Z:e=ir;break;case ee:e=pr;break;case"scroll":e=zt;break;case"wheel":e=_r;break;case"copy":case"cut":case"paste":e=ar;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Xt;break;default:e=ce}return J(t=e.getPooled(i,t,r,n)),t}},br=yr.isInteractiveTopLevelEventType,xr=[];function Sr(e){var t=e.targetInst,r=t;do{if(!r){e.ancestors.push(r);break}var n;for(n=r;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(r),r=I(n)}while(r);for(r=0;r<e.ancestors.length;r++){t=e.ancestors[r];var i=Be(e.nativeEvent);n=e.topLevelType;for(var a=e.nativeEvent,o=null,s=0;s<h.length;s++){var c=h[s];c&&(c=c.extractEvents(n,t,a,i))&&(o=E(o,c))}P(o)}}var kr=!0;function Cr(e,t){if(!t)return null;var r=(br(e)?Tr:wr).bind(null,e);t.addEventListener(e,r,!1)}function Er(e,t){if(!t)return null;var r=(br(e)?Tr:wr).bind(null,e);t.addEventListener(e,r,!0)}function Tr(e,t){Fe(wr,e,t)}function wr(e,t){if(kr){var r=Be(t);if(null===(r=I(r))||"number"!==typeof r.tag||2===tr(r)||(r=null),xr.length){var n=xr.pop();n.topLevelType=e,n.nativeEvent=t,n.targetInst=r,e=n}else e={topLevelType:e,nativeEvent:t,targetInst:r,ancestors:[]};try{Le(Sr,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>xr.length&&xr.push(e)}}}var Dr={},Ar=0,Nr="_reactListenersID"+(""+Math.random()).slice(2);function Pr(e){return Object.prototype.hasOwnProperty.call(e,Nr)||(e[Nr]=Ar++,Dr[e[Nr]]={}),Dr[e[Nr]]}function Or(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Fr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mr(e,t){var r,n=Fr(e);for(e=0;
1n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fr(n)}}function Ir(){for(var e=window,t=Or();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;t=Or((e=t.contentWindow).document)}return t}function Lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Rr(e){var t=Ir(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&function e(t,r){return!(!t||!r)&&(t===r||(!t||3!==t.nodeType)&&(r&&3===r.nodeType?e(t,r.parentNode):"contains"in t?t.contains(r):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(r))))}(r.ownerDocument.documentElement,r)){if(null!==n&&Lr(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=void 0===n.end?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=Mr(r,a);var o=Mr(r,n);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var jr=H&&"documentMode"in document&&11>=document.documentMode,Br={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},zr=null,qr=null,Ur=null,Vr=!1;function Jr(e,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Vr||null==zr||zr!==Or(r)?null:("selectionStart"in(r=zr)&&Lr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Ur&&er(Ur,r)?null:(Ur=r,(e=ce.getPooled(Br.select,qr,e,t)).type="select",e.target=zr,J(e),e))}var Hr={eventTypes:Br,extractEvents:function(e,t,r,n){var i,a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;if(!(i=!a)){e:{a=Pr(a),i=b.onSelect;for(var o=0;o<i.length;o++){var s=i[o];if(!a.hasOwnProperty(s)||!a[s]){a=!1;break e}}a=!0}i=!a}if(i)return null;switch(a=t?R(t):window,e){case"focus":(je(a)||"true"===a.contentEditable)&&(zr=a,qr=t,Ur=null);break;case"blur":Ur=qr=zr=null;break;case"mousedown":Vr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vr=!1,Jr(r,n);case"selectionchange":if(jr)break;case"keydown":case"keyup":return Jr(r,n)}return null}};function Wr(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Kr(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+vt(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Gr(e,t){return null!=t.dangerouslySetInnerHTML&&o("91"),i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xr(e,t){var r=t.value;null==r&&(r=t.defaultValue,null!=(t=t.children)&&(null!=r&&o("92"),Array.isArray(t)&&(1>=t.length||o("93"),t=t[0]),r=t),null==r&&(r="")),e._wrapperState={initialValue:vt(r)}}function Yr(e,t){var r=vt(t.value),n=vt(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function $r(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}A.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=j,S=L,k=R,A.injectEventPluginsByName({SimpleEventPlugin:yr,EnterLeaveEventPlugin:$t,ChangeEventPlugin:Bt,SelectEventPlugin:Hr,BeforeInputEventPlugin:Ee});var Qr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Zr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function en(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var tn,rn=void 0,nn=(tn=function(e,t){if(e.namespaceURI!==Qr.svg||"innerHTML"in e)e.innerHTML=t;else{for((rn=rn||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=rn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return tn(e,t)})}:tn);function an(e,t){if(t){var r=e.firstChild;
1if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var on={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sn=["Webkit","ms","Moz","O"];function cn(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||on.hasOwnProperty(e)&&on[e]?(""+t).trim():t+"px"}function un(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=cn(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(on).forEach(function(e){sn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),on[t]=on[e]})});var ln=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dn(e,t){t&&(ln[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&o("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&o("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||o("61")),null!=t.style&&"object"!==typeof t.style&&o("62",""))}function fn(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function pn(e,t){var r=Pr(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=b[t];for(var n=0;n<t.length;n++){var i=t[n];if(!r.hasOwnProperty(i)||!r[i]){switch(i){case"scroll":Er("scroll",e);break;case"focus":case"blur":Er("focus",e),Er("blur",e),r.blur=!0,r.focus=!0;break;case"cancel":case"close":ze(i)&&Er(i,e);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(i)&&Cr(i,e)}r[i]=!0}}}function _n(){}var mn=null,gn=null;function hn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yn="function"===typeof setTimeout?setTimeout:void 0,bn="function"===typeof clearTimeout?clearTimeout:void 0,xn=a.unstable_scheduleCallback,Sn=a.unstable_cancelCallback;function kn(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Cn(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var En=[],Tn=-1;function wn(e){0>Tn||(e.current=En[Tn],En[Tn]=null,Tn--)}function Dn(e,t){En[++Tn]=e.current,e.current=t}var An={},Nn={current:An},Pn={current:!1},On=An;function Fn(e,t){var r=e.type.contextTypes;if(!r)return An;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in r)a[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Mn(e){return null!==(e=e.childContextTypes)&&void 0!==e}function In(e){wn(Pn),wn(Nn)}function Ln(e){wn(Pn),wn(Nn)}function Rn(e,t,r){Nn.current!==An&&o("168"),Dn(Nn,t),Dn(Pn,r)}function jn(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var a in n=n.getChildContext())a in e||o("108",st(t)||"Unknown",a);return i({},r,n)}function Bn(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||An,On=Nn.current,Dn(Nn,t),Dn(Pn,Pn.current),!0}function zn(e,t,r){var n=e.stateNode;n||o("169"),r?(t=jn(e,t,On),n.__reactInternalMemoizedMergedChildContext=t,wn(Pn),wn(Nn),Dn(Nn,t)):wn(Pn),Dn(Pn,r)}var qn=null,Un=null;function Vn(e){return function(t){try{return e(t)}catch(r){}}}function Jn(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
1ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Hn(e,t,r,n){return new Jn(e,t,r,n)}function Wn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Kn(e,t){var r=e.alternate;return null===r?((r=Hn(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.contextDependencies=e.contextDependencies,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Gn(e,t,r,n,i,a){var s=2;if(n=e,"function"===typeof e)Wn(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case Xe:return Xn(r.children,i,a,t);case et:return Yn(r,3|i,a,t);case Ye:return Yn(r,2|i,a,t);case $e:return(e=Hn(12,r,t,4|i)).elementType=$e,e.type=$e,e.expirationTime=a,e;case rt:return(e=Hn(13,r,t,i)).elementType=rt,e.type=rt,e.expirationTime=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case Qe:s=10;break e;case Ze:s=9;break e;case tt:s=11;break e;case nt:s=14;break e;case it:s=16,n=null;break e}o("130",null==e?e:typeof e,"")}return(t=Hn(s,r,t,i)).elementType=e,t.type=n,t.expirationTime=a,t}function Xn(e,t,r,n){return(e=Hn(7,e,n,t)).expirationTime=r,e}function Yn(e,t,r,n){return e=Hn(8,e,n,t),t=0===(1&t)?Ye:et,e.elementType=t,e.type=t,e.expirationTime=r,e}function $n(e,t,r){return(e=Hn(6,e,null,t)).expirationTime=r,e}function Qn(e,t,r){return(t=Hn(4,null!==e.children?e.children:[],e.key,t)).expirationTime=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zn(e,t){e.didError=!1;var r=e.earliestPendingTime;0===r?e.earliestPendingTime=e.latestPendingTime=t:r<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),ri(t,e)}function ei(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var r=e.earliestPendingTime,n=e.latestPendingTime;r===t?e.earliestPendingTime=n===t?e.latestPendingTime=0:n:n===t&&(e.latestPendingTime=r),r=e.earliestSuspendedTime,n=e.latestSuspendedTime,0===r?e.earliestSuspendedTime=e.latestSuspendedTime=t:r<t?e.earliestSuspendedTime=t:n>t&&(e.latestSuspendedTime=t),ri(t,e)}function ti(e,t){var r=e.earliestPendingTime;return r>t&&(t=r),(e=e.earliestSuspendedTime)>t&&(t=e),t}function ri(e,t){var r=t.earliestSuspendedTime,n=t.latestSuspendedTime,i=t.earliestPendingTime,a=t.latestPingedTime;0===(i=0!==i?i:a)&&(0===e||n<e)&&(i=n),0!==(e=i)&&r>e&&(e=r),t.nextExpirationTimeToWorkOn=i,t.expirationTime=e}function ni(e,t){if(e&&e.defaultProps)for(var r in t=i({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var ii=(new n.Component).refs;function ai(e,t,r,n){r=null===(r=r(n,t=e.memoizedState))||void 0===r?t:i({},t,r),e.memoizedState=r,null!==(n=e.updateQueue)&&0===e.expirationTime&&(n.baseState=r)}var oi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===tr(e)},enqueueSetState:function(e,t,r){e=e._reactInternalFiber;var n=Ss(),i=Xa(n=Xo(n,e));i.payload=t,void 0!==r&&null!==r&&(i.callback=r),Vo(),$a(e,i),Qo(e,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternalFiber;var n=Ss(),i=Xa(n=Xo(n,e));i.tag=Va,i.payload=t,void 0!==r&&null!==r&&(i.callback=r),Vo(),$a(e,i),Qo(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var r=Ss(),n=Xa(r=Xo(r,e));n.tag=Ja,void 0!==t&&null!==t&&(n.callback=t),Vo(),$a(e,n),Qo(e,r)}};function si(e,t,r,n,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!er(r,n)||!er(i,a))}function ci(e,t,r){var n=!1,i=An,a=t.contextType;return"object"===typeof a&&null!==a?a=qa(a):(i=Mn(t)?On:Nn.current,a=(n=null!==(n=t.contextTypes)&&void 0!==n)?Fn(e,i):An),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=oi,e.stateNode=t,t._reactInternalFiber=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a
1),t}function ui(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&oi.enqueueReplaceState(t,t.state,null)}function li(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=ii;var a=t.contextType;"object"===typeof a&&null!==a?i.context=qa(a):(a=Mn(t)?On:Nn.current,i.context=Fn(e,a)),null!==(a=e.updateQueue)&&(to(e,a,r,i,n),i.state=e.memoizedState),"function"===typeof(a=t.getDerivedStateFromProps)&&(ai(e,t,a,r),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&oi.enqueueReplaceState(i,i.state,null),null!==(a=e.updateQueue)&&(to(e,a,r,i,n),i.state=e.memoizedState)),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var di=Array.isArray;function fi(e,t,r){if(null!==(e=r.ref)&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){r=r._owner;var n=void 0;r&&(1!==r.tag&&o("309"),n=r.stateNode),n||o("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=n.refs;t===ii&&(t=n.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}"string"!==typeof e&&o("284"),r._owner||o("290",e)}return e}function pi(e,t){"textarea"!==e.type&&o("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function _i(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,r){return(e=Kn(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.effectTag=2,r):n:(t.effectTag=2,r):r}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,r,n){return null===t||6!==t.tag?((t=$n(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function u(e,t,r,n){return null!==t&&t.elementType===r.type?((n=i(t,r.props)).ref=fi(e,t,r),n.return=e,n):((n=Gn(r.type,r.key,r.props,null,e.mode,n)).ref=fi(e,t,r),n.return=e,n)}function l(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Qn(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function d(e,t,r,n,a){return null===t||7!==t.tag?((t=Xn(r,e.mode,n,a)).return=e,t):((t=i(t,r)).return=e,t)}function f(e,t,r){if("string"===typeof t||"number"===typeof t)return(t=$n(""+t,e.mode,r)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ke:return(r=Gn(t.type,t.key,t.props,null,e.mode,r)).ref=fi(e,null,t),r.return=e,r;case Ge:return(t=Qn(t,e.mode,r)).return=e,t}if(di(t)||ot(t))return(t=Xn(t,e.mode,r,null)).return=e,t;pi(e,t)}return null}function p(e,t,r,n){var i=null!==t?t.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:c(e,t,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case Ke:return r.key===i?r.type===Xe?d(e,t,r.props.children,n,i):u(e,t,r,n):null;case Ge:return r.key===i?l(e,t,r,n):null}if(di(r)||ot(r))return null!==i?null:d(e,t,r,n,null);pi(e,r)}return null}function _(e,t,r,n,i){if("string"===typeof n||"number"===typeof n)return c(t,e=e.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ke:return e=e.get(null===n.key?r:n.key)||null,n.type===Xe?d(t,e,n.props.children,i,n.key):u(t,e,n,i);case Ge:return l(t,e=e.get(null===n.key?r:n.key)||null,n,i)}if(di(n)||ot(n))return d(t,e=e.get(r)||null,n,i,null);pi(t,n)}return null}function m(i,o,s,c){for(var u=null,l=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var h=p(i,d,s[m],c);if(null===h){null===d&&(d=g);break}e&&d&&null===h.alternate&&t(i,d),o=a(h,o,m),null===l?u=h:l.sibling=h,l=h,d=g}if(m===s.length)return r(i,d),u;if(null===d){for(;m<s.length;m++)(d=f(i,s[m],c))&&(o=a(d,o,m),null===l?u=d:l.sibling=d,l=d);return u}for(d=n(i,d);m<s.length;m++)(g=_(d,i,m,s[m],c))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===l?u=g:l.sibling=g,l=g);return e&&d.forEach(function(e){return t(i,e)}),u}function g(i,s,c,u){var l=ot(c);"function"!==typeof l&&o("150"),null==(c=l.call(c))&&o("151");for(var d=l=null,m=s,g=s=0,h=null,v=c.next();null!==m&&!v.done;g++,v=c.next()){m.index>g?(h=m,m=null):h=m.sibling;var y=p(i,m,v.value,u);if(null===y){m||(m=h);break}e&&m&&null===y.alternate&&t(i,m),s=a(y,s,g),null===d?l=y:d.sibling=y,d=y,m=h}if(v.done)return r(i,m),l;if(null===m){for(;!v.done;g++,v=c.next())null!==(v=f(i,v.value,u))&&(s=a(v,s,g),null===d?l=v:d.sibling=v,d=v);return l}for(m=n(i,m);!v.done;g++,v=c.next())null!==(v=_(m,i,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),s=a(v,s,g),null===d?l=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(i,e)}),l}return function(e,n,a,c){var u="object"===typeof a&&null!==a&&a.type===Xe&&null===a.key;u&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case Ke:e:{for(l=a.key,u=n;null!==u;){if(u.key===l){if(7===u.tag?a.type===Xe:u.elementType===a.type){r(e,u.sibling),(n=i(u,a.type===Xe?a.props.children:a.props)).ref=fi(e,u,a),n.return=e,e=n;break e}r(e,u);break}t(e,u),u=u.sibling}a.type===Xe?((n=Xn(a.props.children,e.mode,c,a.key)).return=e,e=n):((c=Gn(a.type,a.key,a.props,null,e.mode,c)).ref=fi(e,n,a),c.return=e,e=c)}return s(e);case Ge:e:{for(u=a.key;null!==n;){if(n.key===u){if(4===n.tag&&n.stateNode.containerInfo===a.containerInfo&&n.stateNode.implementation===a.implementation){r(e,n.sibling),(n=i(n,a.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=Qn(a,e.mode,c)).return=e,e=n}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==n&&6===n.tag?(r(e,n.sibling),(n=i(n,a)).return=e,e=n):(r(e,n),(n=$n(a,e.mode,c)).return=e,e=n),s(e);if(di(a))return m(e,n,a,c);if(ot(a))return g(e,n,a,c);if(l&&pi(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 1:case 0:o("152",(c=e.type).displayName||c.name||"Component")}return r(e,n)}}var mi=_i(!0),gi=_i(!1),hi={},vi={current:hi},yi={current:hi},bi={current:hi};function xi(e){return e===hi&&o("174"),e}function Si(e,t){Dn(bi,t),Dn(yi,e),Dn(vi,hi);
1var r=t.nodeType;switch(r){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:en(null,"");break;default:t=en(t=(r=8===r?t.parentNode:t).namespaceURI||null,r=r.tagName)}wn(vi),Dn(vi,t)}function ki(e){wn(vi),wn(yi),wn(bi)}function Ci(e){xi(bi.current);var t=xi(vi.current),r=en(t,e.type);t!==r&&(Dn(yi,e),Dn(vi,r))}function Ei(e){yi.current===e&&(wn(vi),wn(yi))}var Ti=0,wi=2,Di=4,Ai=8,Ni=16,Pi=32,Oi=64,Fi=128,Mi=Je.ReactCurrentDispatcher,Ii=0,Li=null,Ri=null,ji=null,Bi=null,zi=null,qi=null,Ui=0,Vi=null,Ji=0,Hi=!1,Wi=null,Ki=0;function Gi(){o("321")}function Xi(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Qt(e[r],t[r]))return!1;return!0}function Yi(e,t,r,n,i,a){if(Ii=a,Li=t,ji=null!==e?e.memoizedState:null,Mi.current=null===ji?ua:la,t=r(n,i),Hi){do{Hi=!1,Ki+=1,ji=null!==e?e.memoizedState:null,qi=Bi,Vi=zi=Ri=null,Mi.current=la,t=r(n,i)}while(Hi);Wi=null,Ki=0}return Mi.current=ca,(e=Li).memoizedState=Bi,e.expirationTime=Ui,e.updateQueue=Vi,e.effectTag|=Ji,e=null!==Ri&&null!==Ri.next,Ii=0,qi=zi=Bi=ji=Ri=Li=null,Ui=0,Vi=null,Ji=0,e&&o("300"),t}function $i(){Mi.current=ca,Ii=0,qi=zi=Bi=ji=Ri=Li=null,Ui=0,Vi=null,Ji=0,Hi=!1,Wi=null,Ki=0}function Qi(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===zi?Bi=zi=e:zi=zi.next=e,zi}function Zi(){if(null!==qi)qi=(zi=qi).next,ji=null!==(Ri=ji)?Ri.next:null;else{null===ji&&o("310");var e={memoizedState:(Ri=ji).memoizedState,baseState:Ri.baseState,queue:Ri.queue,baseUpdate:Ri.baseUpdate,next:null};zi=null===zi?Bi=e:zi.next=e,ji=Ri.next}return zi}function ea(e,t){return"function"===typeof t?t(e):t}function ta(e){var t=Zi(),r=t.queue;if(null===r&&o("311"),r.lastRenderedReducer=e,0<Ki){var n=r.dispatch;if(null!==Wi){var i=Wi.get(r);if(void 0!==i){Wi.delete(r);var a=t.memoizedState;do{a=e(a,i.action),i=i.next}while(null!==i);return Qt(a,t.memoizedState)||(xa=!0),t.memoizedState=a,t.baseUpdate===r.last&&(t.baseState=a),r.lastRenderedState=a,[a,n]}}return[t.memoizedState,n]}n=r.last;var s=t.baseUpdate;if(a=t.baseState,null!==s?(null!==n&&(n.next=null),n=s.next):n=null!==n?n.next:null,null!==n){var c=i=null,u=n,l=!1;do{var d=u.expirationTime;d<Ii?(l||(l=!0,c=s,i=a),d>Ui&&(Ui=d)):a=u.eagerReducer===e?u.eagerState:e(a,u.action),s=u,u=u.next}while(null!==u&&u!==n);l||(c=s,i=a),Qt(a,t.memoizedState)||(xa=!0),t.memoizedState=a,t.baseUpdate=c,t.baseState=i,r.lastRenderedState=a}return[t.memoizedState,r.dispatch]}function ra(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===Vi?(Vi={lastEffect:null}).lastEffect=e.next=e:null===(t=Vi.lastEffect)?Vi.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,Vi.lastEffect=e),e}function na(e,t,r,n){var i=Qi();Ji|=e,i.memoizedState=ra(t,r,void 0,void 0===n?null:n)}function ia(e,t,r,n){var i=Zi();n=void 0===n?null:n;var a=void 0;if(null!==Ri){var o=Ri.memoizedState;if(a=o.destroy,null!==n&&Xi(n,o.deps))return void ra(Ti,r,a,n)}Ji|=e,i.memoizedState=ra(t,r,a,n)}function aa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function oa(){}function sa(e,t,r){25>Ki||o("301");var n=e.alternate;if(e===Li||null!==n&&n===Li)if(Hi=!0,e={expirationTime:Ii,action:r,eagerReducer:null,eagerState:null,next:null},null===Wi&&(Wi=new Map),void 0===(r=Wi.get(t)))Wi.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}else{Vo();var i=Ss(),a={expirationTime:i=Xo(i,e),action:r,eagerReducer:null,eagerState:null,next:null},s=t.last;if(null===s)a.next=a;else{var c=s.next;null!==c&&(a.next=c),s.next=a}if(t.last=a,0===e.expirationTime&&(null===n||0===n.expirationTime)&&null!==(n=t.lastRenderedReducer))try{var u=t.lastRenderedState,l=n(u,r);if(a.eagerReducer=n,a.eagerState=l,Qt(l,u))return}catch(d){}Qo(e,i)}}var ca={readContext:qa,useCallback:Gi,useContext:Gi,useEffect:Gi,useImperativeHandle:Gi,useLayoutEffect:Gi,useMemo:Gi,useReducer:Gi,useRef:Gi,useState:Gi,useDebugValue:Gi},ua={readContext:qa,useCallback:function(e,t){return Qi().memoizedState=[e,void 0===t?null:t],e},useContext:qa,useEffect:function(e,t){return na(516,Fi|Oi,e,t)},useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,na(4,Di|Pi,aa.bind(null,t,e),r)},useLayoutEffect:function(e,t){return na(4,Di|Pi,e,t)},useMemo:function(e,t){var r=Qi();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Qi();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}
1).dispatch=sa.bind(null,Li,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},Qi().memoizedState=e},useState:function(e){var t=Qi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ea,lastRenderedState:e}).dispatch=sa.bind(null,Li,e),[t.memoizedState,e]},useDebugValue:oa},la={readContext:qa,useCallback:function(e,t){var r=Zi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&Xi(t,n[1])?n[0]:(r.memoizedState=[e,t],e)},useContext:qa,useEffect:function(e,t){return ia(516,Fi|Oi,e,t)},useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,ia(4,Di|Pi,aa.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ia(4,Di|Pi,e,t)},useMemo:function(e,t){var r=Zi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&Xi(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)},useReducer:ta,useRef:function(){return Zi().memoizedState},useState:function(e){return ta(ea)},useDebugValue:oa},da=null,fa=null,pa=!1;function _a(e,t){var r=Hn(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function ma(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function ga(e){if(pa){var t=fa;if(t){var r=t;if(!ma(e,t)){if(!(t=kn(r))||!ma(e,t))return e.effectTag|=2,pa=!1,void(da=e);_a(da,r)}da=e,fa=Cn(t)}else e.effectTag|=2,pa=!1,da=e}}function ha(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;da=e}function va(e){if(e!==da)return!1;if(!pa)return ha(e),pa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=fa;t;)_a(e,t),t=kn(t);return ha(e),fa=da?kn(e.stateNode):null,!0}function ya(){fa=da=null,pa=!1}var ba=Je.ReactCurrentOwner,xa=!1;function Sa(e,t,r,n){t.child=null===e?gi(t,null,r,n):mi(t,e.child,r,n)}function ka(e,t,r,n,i){r=r.render;var a=t.ref;return za(t,i),n=Yi(e,t,r,n,a,i),null===e||xa?(t.effectTag|=1,Sa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Oa(e,t,i))}function Ca(e,t,r,n,i,a){if(null===e){var o=r.type;return"function"!==typeof o||Wn(o)||void 0!==o.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Gn(r.type,null,n,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ea(e,t,o,n,i,a))}return o=e.child,i<a&&(i=o.memoizedProps,(r=null!==(r=r.compare)?r:er)(i,n)&&e.ref===t.ref)?Oa(e,t,a):(t.effectTag|=1,(e=Kn(o,n)).ref=t.ref,e.return=t,t.child=e)}function Ea(e,t,r,n,i,a){return null!==e&&er(e.memoizedProps,n)&&e.ref===t.ref&&(xa=!1,i<a)?Oa(e,t,a):wa(e,t,r,n,a)}function Ta(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.effectTag|=128)}function wa(e,t,r,n,i){var a=Mn(r)?On:Nn.current;return a=Fn(t,a),za(t,i),r=Yi(e,t,r,n,a,i),null===e||xa?(t.effectTag|=1,Sa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Oa(e,t,i))}function Da(e,t,r,n,i){if(Mn(r)){var a=!0;Bn(t)}else a=!1;if(za(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ci(t,r,n),li(t,r,n,i),n=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,u=r.contextType;"object"===typeof u&&null!==u?u=qa(u):u=Fn(t,u=Mn(r)?On:Nn.current);var l=r.getDerivedStateFromProps,d="function"===typeof l||"function"===typeof o.getSnapshotBeforeUpdate;d||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==n||c!==u)&&ui(t,o,n,u),Wa=!1;var f=t.memoizedState;c=o.state=f;var p=t.updateQueue;null!==p&&(to(t,p,n,o,i),c=t.memoizedState),s!==n||f!==c||Pn.current||Wa?("function"===typeof l&&(ai(t,r,l,n),c=t.memoizedState),(s=Wa||si(t,r,s,n,f,c,u))?(d||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.effectTag|=4)):("function"===typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=c),o.props=n,o.state=c,o.context=u,n=s):("function"===typeof o.componentDidMount&&(t.effectTag|=4),n=!1)}else o=t.stateNode,s=t.memoizedProps,o.props=t.type===t.elementType?s:ni(t.type,s),c=o.context,"object"===typeof(u=r.contextType)&&null!==u?u=qa(u):u=Fn(t,u=Mn(r)?On:Nn.current),(d="function"===typeof(l=r.getDerivedStateFromProps)||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==n||c!==u)&&ui(t,o,n,u),Wa=!1,c=t.memoizedState,f=o.state=c,null!==(p=t.updateQueue)&&(to(t,p,n,o,i),f=t.memoizedState),s!==n||c!==f||Pn.current||Wa?("function"===typeof l&&(ai(t,r,l,n),f=t.memoizedState),(l=Wa||si(t,r,s,n,c,f,u))?(d||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(n,f,u),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,f,u)),"function"===typeof o.componentDidUpdate&&(t.effectTag|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=f),o.props=n,o.state=f,o.context=u,n=l):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),n=!1);return Aa(e,t,r,n,a,i)}function Aa(e,t,r,n,i,a){Ta(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return i&&zn(t,r,!1),Oa(e,t,a);n=t.stateNode,ba.current=t;var s=o&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&o?(t.child=mi(t,e.child,null,a),t.child=mi(t,null,s,a)):Sa(e,t,s,a),t.memoizedState=n.state,i&&zn(t,r,!0),t.child}function Na(e){var t=e.stateNode;t.pendingContext?Rn(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Rn(0,t.context,!1),Si(e,t.containerInfo)}function Pa(e,t,r){var n=t.mode,i=t.pendingProps,a=t.memoizedState;if(0===(64&t.effectTag)){a=null;var o=!1}else a={timedOutAt:null!==a?a.timedOutAt:0},o=!0,t.effectTag&=-65;if(null===e)if(o){var s=i.fallback;e=Xn(null,n,0,null),0===(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),n=Xn(s,n,r,null),e.sibling=n,(r=e).return=n.return=t}
1else r=n=gi(t,null,i.children,r);else null!==e.memoizedState?(s=(n=e.child).sibling,o?(r=i.fallback,i=Kn(n,n.pendingProps),0===(1&t.mode)&&((o=null!==t.memoizedState?t.child.child:t.child)!==n.child&&(i.child=o)),n=i.sibling=Kn(s,r,s.expirationTime),r=i,i.childExpirationTime=0,r.return=n.return=t):r=n=mi(t,n.child,i.children,r)):(s=e.child,o?(o=i.fallback,(i=Xn(null,n,0,null)).child=s,0===(1&t.mode)&&(i.child=null!==t.memoizedState?t.child.child:t.child),(n=i.sibling=Xn(o,n,r,null)).effectTag|=2,r=i,i.childExpirationTime=0,r.return=n.return=t):n=r=mi(t,s,i.children,r)),t.stateNode=e.stateNode;return t.memoizedState=a,t.child=r,n}function Oa(e,t,r){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child&&o("153"),null!==t.child){for(r=Kn(e=t.child,e.pendingProps,e.expirationTime),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Kn(e,e.pendingProps,e.expirationTime)).return=t;r.sibling=null}return t.child}function Fa(e,t,r){var n=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Pn.current)xa=!0;else if(n<r){switch(xa=!1,t.tag){case 3:Na(t),ya();break;case 5:Ci(t);break;case 1:Mn(t.type)&&Bn(t);break;case 4:Si(t,t.stateNode.containerInfo);break;case 10:ja(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(n=t.child.childExpirationTime)&&n>=r?Pa(e,t,r):null!==(t=Oa(e,t,r))?t.sibling:null}return Oa(e,t,r)}}else xa=!1;switch(t.expirationTime=0,t.tag){case 2:n=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var i=Fn(t,Nn.current);if(za(t,r),i=Yi(null,t,n,e,i,r),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,$i(),Mn(n)){var a=!0;Bn(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var s=n.getDerivedStateFromProps;"function"===typeof s&&ai(t,n,s,e),i.updater=oi,t.stateNode=i,i._reactInternalFiber=t,li(t,n,e,r),t=Aa(null,t,n,!0,a,r)}else t.tag=0,Sa(null,t,i,r),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),a=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=e,i=t.tag=function(e){if("function"===typeof e)return Wn(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===tt)return 11;if(e===nt)return 14}return 2}(e),a=ni(e,a),s=void 0,i){case 0:s=wa(null,t,e,a,r);break;case 1:s=Da(null,t,e,a,r);break;case 11:s=ka(null,t,e,a,r);break;case 14:s=Ca(null,t,e,ni(e.type,a),n,r);break;default:o("306",e,"")}return s;case 0:return n=t.type,i=t.pendingProps,wa(e,t,n,i=t.elementType===n?i:ni(n,i),r);case 1:return n=t.type,i=t.pendingProps,Da(e,t,n,i=t.elementType===n?i:ni(n,i),r);case 3:return Na(t),null===(n=t.updateQueue)&&o("282"),i=null!==(i=t.memoizedState)?i.element:null,to(t,n,t.pendingProps,null,r),(n=t.memoizedState.element)===i?(ya(),t=Oa(e,t,r)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(fa=Cn(t.stateNode.containerInfo),da=t,i=pa=!0),i?(t.effectTag|=2,t.child=gi(t,null,n,r)):(Sa(e,t,n,r),ya()),t=t.child),t;case 5:return Ci(t),null===e&&ga(t),n=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,vn(n,i)?s=null:null!==a&&vn(n,a)&&(t.effectTag|=16),Ta(e,t),1!==r&&1&t.mode&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Sa(e,t,s,r),t=t.child),t;case 6:return null===e&&ga(t),null;case 13:return Pa(e,t,r);case 4:return Si(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=mi(t,null,n,r):Sa(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,ka(e,t,n,i=t.elementType===n?i:ni(n,i),r);case 7:return Sa(e,t,t.pendingProps,r),t.child;case 8:case 12:return Sa(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,s=t.memoizedProps,ja(t,a=i.value),null!==s){var c=s.value;if(0===(a=Qt(c,a)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(c,a):1073741823))){if
1(s.children===i.children&&!Pn.current){t=Oa(e,t,r);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var u=c.contextDependencies;if(null!==u){s=c.child;for(var l=u.first;null!==l;){if(l.context===n&&0!==(l.observedBits&a)){1===c.tag&&((l=Xa(r)).tag=Ja,$a(c,l)),c.expirationTime<r&&(c.expirationTime=r),null!==(l=c.alternate)&&l.expirationTime<r&&(l.expirationTime=r),l=r;for(var d=c.return;null!==d;){var f=d.alternate;if(d.childExpirationTime<l)d.childExpirationTime=l,null!==f&&f.childExpirationTime<l&&(f.childExpirationTime=l);else{if(!(null!==f&&f.childExpirationTime<l))break;f.childExpirationTime=l}d=d.return}u.expirationTime<r&&(u.expirationTime=r);break}l=l.next}}else s=10===c.tag&&c.type===t.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===t){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}}Sa(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=(a=t.pendingProps).children,za(t,r),n=n(i=qa(i,a.unstable_observedBits)),t.effectTag|=1,Sa(e,t,n,r),t.child;case 14:return a=ni(i=t.type,t.pendingProps),Ca(e,t,i,a=ni(i.type,a),n,r);case 15:return Ea(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:ni(n,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Mn(n)?(e=!0,Bn(t)):e=!1,za(t,r),ci(t,n,i),li(t,n,i,r),Aa(null,t,n,!0,e,r)}o("156")}var Ma={current:null},Ia=null,La=null,Ra=null;function ja(e,t){var r=e.type._context;Dn(Ma,r._currentValue),r._currentValue=t}function Ba(e){var t=Ma.current;wn(Ma),e.type._context._currentValue=t}function za(e,t){Ia=e,Ra=La=null;var r=e.contextDependencies;null!==r&&r.expirationTime>=t&&(xa=!0),e.contextDependencies=null}function qa(e,t){return Ra!==e&&!1!==t&&0!==t&&("number"===typeof t&&1073741823!==t||(Ra=e,t=1073741823),t={context:e,observedBits:t,next:null},null===La?(null===Ia&&o("308"),La=t,Ia.contextDependencies={first:t,expirationTime:0}):La=La.next=t),e._currentValue}var Ua=0,Va=1,Ja=2,Ha=3,Wa=!1;function Ka(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ga(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xa(e){return{expirationTime:e,tag:Ua,payload:null,callback:null,next:null,nextEffect:null}}function Ya(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function $a(e,t){var r=e.alternate;if(null===r){var n=e.updateQueue,i=null;null===n&&(n=e.updateQueue=Ka(e.memoizedState))}else n=e.updateQueue,i=r.updateQueue,null===n?null===i?(n=e.updateQueue=Ka(e.memoizedState),i=r.updateQueue=Ka(r.memoizedState)):n=e.updateQueue=Ga(i):null===i&&(i=r.updateQueue=Ga(n));null===i||n===i?Ya(n,t):null===n.lastUpdate||null===i.lastUpdate?(Ya(n,t),Ya(i,t)):(Ya(n,t),i.lastUpdate=t)}function Qa(e,t){var r=e.updateQueue;null===(r=null===r?e.updateQueue=Ka(e.memoizedState):Za(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t)}function Za(e,t){var r=e.alternate;return null!==r&&t===r.updateQueue&&(t=e.updateQueue=Ga(t)),t}function eo(e,t,r,n,a,o){switch(r.tag){case Va:return"function"===typeof(e=r.payload)?e.call(o,n,a):e;case Ha:e.effectTag=-2049&e.effectTag|64;case Ua:if(null===(a="function"===typeof(e=r.payload)?e.call(o,n,a):e)||void 0===a)break;return i({},n,a);case Ja:Wa=!0}return n}function to(e,t,r,n,i){Wa=!1;for(var a=(t=Za(e,t)).baseState,o=null,s=0,c=t.firstUpdate,u=a;null!==c;){var l=c.expirationTime;l<i?(null===o&&(o=c,a=u),s<l&&(s=l)):(u=eo(e,0,c,u,r,n),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=c:(t.lastEffect.nextEffect=c,t.lastEffect=c))),c=c.next}for(l=null,c=t.firstCapturedUpdate;null!==c;){var d=c.expirationTime;d<i?(null===l&&(l=c,null===o&&(a=u)),s<d&&(s=d)):(u=eo(e,0,c,u,r,n),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=c:(t.lastCapturedEffect.nextEffect=c,t.lastCapturedEffect=c))
1),c=c.next}null===o&&(t.lastUpdate=null),null===l?t.lastCapturedUpdate=null:e.effectTag|=32,null===o&&null===l&&(a=u),t.baseState=a,t.firstUpdate=o,t.firstCapturedUpdate=l,e.expirationTime=s,e.memoizedState=u}function ro(e,t,r){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),no(t.firstEffect,r),t.firstEffect=t.lastEffect=null,no(t.firstCapturedEffect,r),t.firstCapturedEffect=t.lastCapturedEffect=null}function no(e,t){for(;null!==e;){var r=e.callback;if(null!==r){e.callback=null;var n=t;"function"!==typeof r&&o("191",r),r.call(n)}e=e.nextEffect}}function io(e,t){return{value:e,source:t,stack:ct(t)}}function ao(e){e.effectTag|=4}var oo=void 0,so=void 0,co=void 0,uo=void 0;oo=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},so=function(){},co=function(e,t,r,n,a){var o=e.memoizedProps;if(o!==n){var s=t.stateNode;switch(xi(vi.current),e=null,r){case"input":o=yt(s,o),n=yt(s,n),e=[];break;case"option":o=Wr(s,o),n=Wr(s,n),e=[];break;case"select":o=i({},o,{value:void 0}),n=i({},n,{value:void 0}),e=[];break;case"textarea":o=Gr(s,o),n=Gr(s,n),e=[];break;default:"function"!==typeof o.onClick&&"function"===typeof n.onClick&&(s.onclick=_n)}dn(r,n),s=r=void 0;var c=null;for(r in o)if(!n.hasOwnProperty(r)&&o.hasOwnProperty(r)&&null!=o[r])if("style"===r){var u=o[r];for(s in u)u.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else"dangerouslySetInnerHTML"!==r&&"children"!==r&&"suppressContentEditableWarning"!==r&&"suppressHydrationWarning"!==r&&"autoFocus"!==r&&(y.hasOwnProperty(r)?e||(e=[]):(e=e||[]).push(r,null));for(r in n){var l=n[r];if(u=null!=o?o[r]:void 0,n.hasOwnProperty(r)&&l!==u&&(null!=l||null!=u))if("style"===r)if(u){for(s in u)!u.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in l)l.hasOwnProperty(s)&&u[s]!==l[s]&&(c||(c={}),c[s]=l[s])}else c||(e||(e=[]),e.push(r,c)),c=l;else"dangerouslySetInnerHTML"===r?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(e=e||[]).push(r,""+l)):"children"===r?u===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(r,""+l):"suppressContentEditableWarning"!==r&&"suppressHydrationWarning"!==r&&(y.hasOwnProperty(r)?(null!=l&&pn(a,r),e||u===l||(e=[])):(e=e||[]).push(r,l))}c&&(e=e||[]).push("style",c),a=e,(t.updateQueue=a)&&ao(t)}},uo=function(e,t,r,n){r!==n&&ao(t)};var lo="function"===typeof WeakSet?WeakSet:Set;function fo(e,t){var r=t.source,n=t.stack;null===n&&null!==r&&(n=ct(r)),null!==r&&st(r.type),t=t.value,null!==e&&1===e.tag&&st(e.type);try{console.error(t)}catch(i){setTimeout(function(){throw i})}}function po(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(r){Go(e,r)}else t.current=null}function _o(e,t,r){if(null!==(r=null!==(r=r.updateQueue)?r.lastEffect:null)){var n=r=r.next;do{if((n.tag&e)!==Ti){var i=n.destroy;n.destroy=void 0,void 0!==i&&i()}(n.tag&t)!==Ti&&(i=n.create,n.destroy=i()),n=n.next}while(n!==r)}}function mo(e){switch("function"===typeof Un&&Un(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var r=t=t.next;do{var n=r.destroy;if(void 0!==n){var i=e;try{n()}catch(a){Go(i,a)}}r=r.next}while(r!==t)}break;case 1:if(po(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(a){Go(e,a)}break;case 5:po(e);break;case 4:vo(e)}}function go(e){return 5===e.tag||3===e.tag||4===e.tag}function ho(e){e:{for(var t=e.return;null!==t;){if(go(t)){var r=t;break e}t=t.return}o("160"),r=void 0}var n=t=void 0;switch(r.tag){case 5:t=r.stateNode,n=!1;break;case 3:case 4:t=r.stateNode.containerInfo,n=!0;break;default:o("161")}16&r.effectTag&&(an(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||go(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)if(r)if(n){var a=t,s=i.stateNode,c=r;8===a.nodeType?a.parentNode.insertBefore(s,c):a.insertBefore(s,c)}else t.insertBefore(i.stateNode,r);else n?(s=t,c=i.stateNode,8===s.nodeType?(a=s.parentNode).insertBefore(c,s):(a=s).appendChild(c),null!==(s=s._reactRootContainer)&&void 0!==s||null!==a.onclick||(a.onclick=_n)):t.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function vo(e){for(var t=e,r=!1,n=void 0,i=void 0;;){if(!r){r=t.return;e:for(;;
1){switch(null===r&&o("160"),r.tag){case 5:n=r.stateNode,i=!1;break e;case 3:case 4:n=r.stateNode.containerInfo,i=!0;break e}r=r.return}r=!0}if(5===t.tag||6===t.tag){e:for(var a=t,s=a;;)if(mo(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}i?(a=n,s=t.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):n.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){n=t.stateNode.containerInfo,i=!0,t.child.return=t,t=t.child;continue}}else if(mo(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(r=!1)}t.sibling.return=t.return,t=t.sibling}}function yo(e,t){switch(t.tag){case 0:case 11:case 14:case 15:_o(Di,Ai,t);break;case 1:break;case 5:var r=t.stateNode;if(null!=r){var n=t.memoizedProps;e=null!==e?e.memoizedProps:n;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&function(e,t,r,n,i){e[M]=i,"input"===r&&"radio"===i.type&&null!=i.name&&xt(e,i),fn(r,n),n=fn(r,i);for(var a=0;a<t.length;a+=2){var o=t[a],s=t[a+1];"style"===o?un(e,s):"dangerouslySetInnerHTML"===o?nn(e,s):"children"===o?an(e,s):ht(e,o,s,n)}switch(r){case"input":St(e,i);break;case"textarea":Yr(e,i);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!i.multiple,null!=(r=i.value)?Kr(e,!!i.multiple,r,!1):t!==!!i.multiple&&(null!=i.defaultValue?Kr(e,!!i.multiple,i.defaultValue,!0):Kr(e,!!i.multiple,i.multiple?[]:"",!1))}}(r,a,i,e,n)}break;case 6:null===t.stateNode&&o("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(r=t.memoizedState,n=void 0,e=t,null===r?n=!1:(n=!0,e=t.child,0===r.timedOutAt&&(r.timedOutAt=Ss())),null!==e&&function(e,t){for(var r=e;;){if(5===r.tag){var n=r.stateNode;if(t)n.style.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,n.style.display=cn("display",i)}}else if(6===r.tag)r.stateNode.nodeValue=t?"":r.memoizedProps;else{if(13===r.tag&&null!==r.memoizedState){(n=r.child.sibling).return=r,r=n;continue}if(null!==r.child){r.child.return=r,r=r.child;continue}}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(e,n),null!==(r=t.updateQueue)){t.updateQueue=null;var s=t.stateNode;null===s&&(s=t.stateNode=new lo),r.forEach(function(e){var r=function(e,t){var r=e.stateNode;null!==r&&r.delete(t),t=Xo(t=Ss(),e),null!==(e=$o(e,t))&&(Zn(e,t),0!==(t=e.expirationTime)&&ks(e,t))}.bind(null,t,e);s.has(e)||(s.add(e),e.then(r,r))})}break;case 17:break;default:o("163")}}var bo="function"===typeof WeakMap?WeakMap:Map;function xo(e,t,r){(r=Xa(r)).tag=Ha,r.payload={element:null};var n=t.value;return r.callback=function(){Os(n),fo(e,t)},r}function So(e,t,r){(r=Xa(r)).tag=Ha;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var i=t.value;r.payload=function(){return n(i)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===jo?jo=new Set([this]):jo.add(this));var r=t.value,i=t.stack;fo(e,t),this.componentDidCatch(r,{componentStack:null!==i?i:""})}),r}function ko(e){switch(e.tag){case 1:Mn(e.type)&&In();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return ki(),Ln(),0!==(64&(t=e.effectTag))&&o("285"),e.effectTag=-2049&t|64,e;case 5:return Ei(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return ki(),null;case 10:return Ba(e),null;default:return null}}var Co=Je.ReactCurrentDispatcher,Eo=Je.ReactCurrentOwner,To=1073741822,wo=!1,Do=null,Ao=null,No=0,Po=-1,Oo=!1,Fo=null,Mo=!1,Io=null,Lo=null,Ro=null,jo=null;function Bo(){if(null!==Do)for(var e=Do.return;null!==e;){var t=e;switch(t.tag){case 1:var r=t.type.childContextTypes;null!==r&&void 0!==r&&In();break;case 3:ki(),Ln();break;case 5:Ei(t);break;case 4:ki();break;case 10:Ba(t)}e=e.return}Ao=null,No=0,Po=-1,Oo=!1,Do=null}function zo(){for(;null!==Fo;){var e=Fo.effectTag;if(16&e&&an(Fo.stateNode,""),128&e){var t=Fo.alternate;null!==t&&(null!==(t=t.ref)&&("function"===typeof t?t(null):t.current=null))}switch(14&e){case 2:ho(Fo),Fo.effectTag&=-3;break;case 6:ho(Fo),Fo.effectTag&=-3,yo(Fo.alternate,Fo);break;case 4:yo(Fo.alternate,Fo);break;case 8:vo(e=Fo),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Fo=Fo.nextEffect}}function qo(){for(;null!==Fo;){if(256&Fo.effectTag)e:{var e=Fo.alternate,t=Fo;switch(t.tag){case 0:case 11:case 15:_o(wi,Ti,t);break e;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:ni(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}break e;
1case 3:case 5:case 6:case 4:case 17:break e;default:o("163")}}Fo=Fo.nextEffect}}function Uo(e,t){for(;null!==Fo;){var r=Fo.effectTag;if(36&r){var n=Fo.alternate,i=Fo,a=t;switch(i.tag){case 0:case 11:case 15:_o(Ni,Pi,i);break;case 1:var s=i.stateNode;if(4&i.effectTag)if(null===n)s.componentDidMount();else{var c=i.elementType===i.type?n.memoizedProps:ni(i.type,n.memoizedProps);s.componentDidUpdate(c,n.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}null!==(n=i.updateQueue)&&ro(0,n,s);break;case 3:if(null!==(n=i.updateQueue)){if(s=null,null!==i.child)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}ro(0,n,s)}break;case 5:a=i.stateNode,null===n&&4&i.effectTag&&hn(i.type,i.memoizedProps)&&a.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:o("163")}}128&r&&(null!==(i=Fo.ref)&&(a=Fo.stateNode,"function"===typeof i?i(a):i.current=a)),512&r&&(Io=e),Fo=Fo.nextEffect}}function Vo(){null!==Lo&&Sn(Lo),null!==Ro&&Ro()}function Jo(e,t){Mo=wo=!0,e.current===t&&o("177");var r=e.pendingCommitExpirationTime;0===r&&o("261"),e.pendingCommitExpirationTime=0;var n=t.expirationTime,i=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var r=e.latestPendingTime;0!==r&&(r>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(r=e.earliestSuspendedTime)?Zn(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Zn(e,t)):t>r&&Zn(e,t)}ri(0,e)}(e,i>n?i:n),Eo.current=null,n=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,n=t.firstEffect):n=t:n=t.firstEffect,mn=kr,gn=function(){var e=Ir();if(Lr(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var n=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch(p){t=null;break e}var a=0,o=-1,s=-1,c=0,u=0,l=e,d=null;t:for(;;){for(var f;l!==t||0!==n&&3!==l.nodeType||(o=a+n),l!==i||0!==r&&3!==l.nodeType||(s=a+r),3===l.nodeType&&(a+=l.nodeValue.length),null!==(f=l.firstChild);)d=l,l=f;for(;;){if(l===e)break t;if(d===t&&++c===n&&(o=a),d===i&&++u===r&&(s=a),null!==(f=l.nextSibling))break;d=(l=d).parentNode}l=f}t=-1===o||-1===s?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),kr=!1,Fo=n;null!==Fo;){i=!1;var s=void 0;try{qo()}catch(u){i=!0,s=u}i&&(null===Fo&&o("178"),Go(Fo,s),null!==Fo&&(Fo=Fo.nextEffect))}for(Fo=n;null!==Fo;){i=!1,s=void 0;try{zo()}catch(u){i=!0,s=u}i&&(null===Fo&&o("178"),Go(Fo,s),null!==Fo&&(Fo=Fo.nextEffect))}for(Rr(gn),gn=null,kr=!!mn,mn=null,e.current=t,Fo=n;null!==Fo;){i=!1,s=void 0;try{Uo(e,r)}catch(u){i=!0,s=u}i&&(null===Fo&&o("178"),Go(Fo,s),null!==Fo&&(Fo=Fo.nextEffect))}if(null!==n&&null!==Io){var c=function(e,t){Ro=Lo=Io=null;var r=is;is=!0;do{if(512&t.effectTag){var n=!1,i=void 0;try{var a=t;_o(Fi,Ti,a),_o(Ti,Oi,a)}catch(c){n=!0,i=c}n&&Go(t,i)}t=t.nextEffect}while(null!==t);is=r,0!==(r=e.expirationTime)&&ks(e,r),ls||is||Ds(1073741823,!1)}.bind(null,e,n);Lo=a.unstable_runWithPriority(a.unstable_NormalPriority,function(){return xn(c)}),Ro=c}wo=Mo=!1,"function"===typeof qn&&qn(t.stateNode),r=t.expirationTime,0===(t=(t=t.childExpirationTime)>r?t:r)&&(jo=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Ho(e){for(;;){var t=e.alternate,r=e.return,n=e.sibling;if(0===(1024&e.effectTag)){Do=e;e:{var a=t,s=No,c=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Mn(t.type)&&In();break;case 3:ki(),Ln(),(c=t.stateNode).pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||(va(t),t.effectTag&=-3),so(t);break;case 5:Ei(t);var u=xi(bi.current);if(s=t.type,null!==a&&null!=t.stateNode)co(a,t,s,c,u),a.ref!==t.ref&&(t.effectTag|=128);else if(c){var l=xi(vi.current);if(va(t)){a=(c=t).stateNode;var d=c.type,f=c.memoizedProps,p=u;
1switch(a[F]=c,a[M]=f,s=void 0,u=d){case"iframe":case"object":Cr("load",a);break;case"video":case"audio":for(d=0;d<te.length;d++)Cr(te[d],a);break;case"source":Cr("error",a);break;case"img":case"image":case"link":Cr("error",a),Cr("load",a);break;case"form":Cr("reset",a),Cr("submit",a);break;case"details":Cr("toggle",a);break;case"input":bt(a,f),Cr("invalid",a),pn(p,"onChange");break;case"select":a._wrapperState={wasMultiple:!!f.multiple},Cr("invalid",a),pn(p,"onChange");break;case"textarea":Xr(a,f),Cr("invalid",a),pn(p,"onChange")}for(s in dn(u,f),d=null,f)f.hasOwnProperty(s)&&(l=f[s],"children"===s?"string"===typeof l?a.textContent!==l&&(d=["children",l]):"number"===typeof l&&a.textContent!==""+l&&(d=["children",""+l]):y.hasOwnProperty(s)&&null!=l&&pn(p,s));switch(u){case"input":Ue(a),kt(a,f,!0);break;case"textarea":Ue(a),$r(a);break;case"select":case"option":break;default:"function"===typeof f.onClick&&(a.onclick=_n)}s=d,c.updateQueue=s,(c=null!==s)&&ao(t)}else{f=t,p=s,a=c,d=9===u.nodeType?u:u.ownerDocument,l===Qr.html&&(l=Zr(p)),l===Qr.html?"script"===p?((a=d.createElement("div")).innerHTML="<script><\/script>",d=a.removeChild(a.firstChild)):"string"===typeof a.is?d=d.createElement(p,{is:a.is}):(d=d.createElement(p),"select"===p&&(p=d,a.multiple?p.multiple=!0:a.size&&(p.size=a.size))):d=d.createElementNS(l,p),(a=d)[F]=f,a[M]=c,oo(a,t,!1,!1),p=a;var _=u,m=fn(d=s,f=c);switch(d){case"iframe":case"object":Cr("load",p),u=f;break;case"video":case"audio":for(u=0;u<te.length;u++)Cr(te[u],p);u=f;break;case"source":Cr("error",p),u=f;break;case"img":case"image":case"link":Cr("error",p),Cr("load",p),u=f;break;case"form":Cr("reset",p),Cr("submit",p),u=f;break;case"details":Cr("toggle",p),u=f;break;case"input":bt(p,f),u=yt(p,f),Cr("invalid",p),pn(_,"onChange");break;case"option":u=Wr(p,f);break;case"select":p._wrapperState={wasMultiple:!!f.multiple},u=i({},f,{value:void 0}),Cr("invalid",p),pn(_,"onChange");break;case"textarea":Xr(p,f),u=Gr(p,f),Cr("invalid",p),pn(_,"onChange");break;default:u=f}dn(d,u),l=void 0;var g=d,h=p,v=u;for(l in v)if(v.hasOwnProperty(l)){var b=v[l];"style"===l?un(h,b):"dangerouslySetInnerHTML"===l?null!=(b=b?b.__html:void 0)&&nn(h,b):"children"===l?"string"===typeof b?("textarea"!==g||""!==b)&&an(h,b):"number"===typeof b&&an(h,""+b):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(y.hasOwnProperty(l)?null!=b&&pn(_,l):null!=b&&ht(h,l,b,m))}switch(d){case"input":Ue(p),kt(p,f,!1);break;case"textarea":Ue(p),$r(p);break;case"option":null!=f.value&&p.setAttribute("value",""+vt(f.value));break;case"select":(u=p).multiple=!!f.multiple,null!=(p=f.value)?Kr(u,!!f.multiple,p,!1):null!=f.defaultValue&&Kr(u,!!f.multiple,f.defaultValue,!0);break;default:"function"===typeof u.onClick&&(p.onclick=_n)}(c=hn(s,c))&&ao(t),t.stateNode=a}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&o("166");break;case 6:a&&null!=t.stateNode?uo(a,t,a.memoizedProps,c):("string"!==typeof c&&(null===t.stateNode&&o("166")),a=xi(bi.current),xi(vi.current),va(t)?(s=(c=t).stateNode,a=c.memoizedProps,s[F]=c,(c=s.nodeValue!==a)&&ao(t)):(s=t,(c=(9===a.nodeType?a:a.ownerDocument).createTextNode(c))[F]=t,s.stateNode=c));break;case 11:break;case 13:if(c=t.memoizedState,0!==(64&t.effectTag)){t.expirationTime=s,Do=t;break e}c=null!==c,s=null!==a&&null!==a.memoizedState,null!==a&&!c&&s&&(null!==(a=a.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=a,a.nextEffect=u):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8)),(c||s)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:ki(),so(t);break;case 10:Ba(t);break;case 9:case 14:break;case 17:Mn(t.type)&&In();break;case 18:break;default:o("156")}Do=null}if(t=e,1===No||1!==t.childExpirationTime){for(c=0,s=t.child;null!==s;)(a=s.expirationTime)>c&&(c=a),(u=s.childExpirationTime)>c&&(c=u),s=s.sibling;t.childExpirationTime=c}if(null!==Do)return Do;null!==r&&0===(1024&r.effectTag)&&(null===r.firstEffect&&(r.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==r.lastEffect&&(r.lastEffect.nextEffect=e.firstEffect),r.lastEffect=e.lastEffect),1<e.effectTag&&(null!==r.lastEffect?r.lastEffect.nextEffect=e:r.firstEffect=e,r.lastEffect=e))}else{if(null!==(e=ko(e)))return e.effectTag&=1023,e;null!==r&&(r.firstEffect=r.lastEffect=null,r.effectTag|=1024)}if(null!==n)return n;if(null===r)break;e=r}return null}function Wo(e){var t=Fa(e.alternate,e,No);return e.memoizedProps=e.pendingProps,null===t&&(t=Ho(e)),Eo.current=null,t}function Ko(e,t){wo&&o("243"),Vo(),wo=!0;var r=Co.current;Co.current=ca;var n=e.nextExpirationTimeToWorkOn;n===No&&e===Ao&&null!==Do||(Bo(),No=n,Do=Kn((Ao=e).current,null),e.pendingCommitExpirationTime=0);for(var i=!1;;){try{if(t)for(;null!==Do&&!Ts();)Do=Wo(Do);else for(;null!==Do;)Do=Wo(Do)}catch(h){if(Ra=La=Ia=null,$i(),null===Do)i=!0,Os(h);else{null===Do&&o("271");var a=Do,s=a.return;if(null!==s){e:{var c=e,u=s,l=a,d=h;if(s=No,l.effectTag|=1024,l.firstEffect=l.lastEffect=null,null!==d&&"object"===typeof d&&"function"===typeof d.then){var f=d;d=u;var p=-1,_=-1;do{if(13===d.tag){var m=d.alternate;if(null!==m&&null!==(m=m.memoizedState)){_=10*(1073741822-m.timedOutAt);break}"number"===typeof(m=d.pendingProps.maxDuration)&&(0>=m?p=0:(-1===p||m<p)&&(p=m))}d=d.return}while(null!==d);d=u;do{if((m=13===d.tag)&&(m=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),m){if(null===(u=d.updateQueue)?((u=new Set).add(f),d.updateQueue=u):u.add(f),0===(1&d.mode)){d.effectTag|=64,l.effectTag&=-1957,1===l.tag&&(null===l.alternate?l.tag=17:((s=Xa(1073741823)).tag=Ja,$a(l,s))),l.expirationTime=1073741823;break e}u=s;var g=(l=c).pingCache;null===g?(g=l.pingCache=new bo,m=new Set,g.set(f,m)):void 0===(m=g.get(f))&&(m=new Set,g.set(f,m)),m.has(u)||(m.add(u),l=Yo.bind(null,l,f,u),f.then(l,l)),-1===
1p?c=1073741823:(-1===_&&(_=10*(1073741822-ti(c,s))-5e3),c=_+p),0<=c&&Po<c&&(Po=c),d.effectTag|=2048,d.expirationTime=s;break e}d=d.return}while(null!==d);d=Error((st(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ct(l))}Oo=!0,d=io(d,l),c=u;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=s,Qa(c,s=xo(c,d,s));break e;case 1:if(p=d,_=c.type,l=c.stateNode,0===(64&c.effectTag)&&("function"===typeof _.getDerivedStateFromError||null!==l&&"function"===typeof l.componentDidCatch&&(null===jo||!jo.has(l)))){c.effectTag|=2048,c.expirationTime=s,Qa(c,s=So(c,p,s));break e}}c=c.return}while(null!==c)}Do=Ho(a);continue}i=!0,Os(h)}}break}if(wo=!1,Co.current=r,Ra=La=Ia=null,$i(),i)Ao=null,e.finishedWork=null;else if(null!==Do)e.finishedWork=null;else{if(null===(r=e.current.alternate)&&o("281"),Ao=null,Oo){if(i=e.latestPendingTime,a=e.latestSuspendedTime,s=e.latestPingedTime,0!==i&&i<n||0!==a&&a<n||0!==s&&s<n)return ei(e,n),void xs(e,r,n,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,n=e.nextExpirationTimeToWorkOn=n,t=e.expirationTime=1073741823,void xs(e,r,n,t,-1)}t&&-1!==Po?(ei(e,n),(t=10*(1073741822-ti(e,n)))<Po&&(Po=t),t=10*(1073741822-Ss()),t=Po-t,xs(e,r,n,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=n,e.finishedWork=r)}}function Go(e,t){for(var r=e.return;null!==r;){switch(r.tag){case 1:var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===jo||!jo.has(n)))return $a(r,e=So(r,e=io(t,e),1073741823)),void Qo(r,1073741823);break;case 3:return $a(r,e=xo(r,e=io(t,e),1073741823)),void Qo(r,1073741823)}r=r.return}3===e.tag&&($a(e,r=xo(e,r=io(t,e),1073741823)),Qo(e,1073741823))}function Xo(e,t){var r=a.unstable_getCurrentPriorityLevel(),n=void 0;if(0===(1&t.mode))n=1073741823;else if(wo&&!Mo)n=No;else{switch(r){case a.unstable_ImmediatePriority:n=1073741823;break;case a.unstable_UserBlockingPriority:n=1073741822-10*(1+((1073741822-e+15)/10|0));break;case a.unstable_NormalPriority:n=1073741822-25*(1+((1073741822-e+500)/25|0));break;case a.unstable_LowPriority:case a.unstable_IdlePriority:n=1;break;default:o("313")}null!==Ao&&n===No&&--n}return r===a.unstable_UserBlockingPriority&&(0===ss||n<ss)&&(ss=n),n}function Yo(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),null!==Ao&&No===r?Ao=null:(t=e.earliestSuspendedTime,n=e.latestSuspendedTime,0!==t&&r<=t&&r>=n&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>r)&&(e.latestPingedTime=r),ri(r,e),0!==(r=e.expirationTime)&&ks(e,r)))}function $o(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t);var n=e.return,i=null;if(null===n&&3===e.tag)i=e.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===n.return&&3===n.tag){i=n.stateNode;break}n=n.return}return i}function Qo(e,t){null!==(e=$o(e,t))&&(!wo&&0!==No&&t>No&&Bo(),Zn(e,t),wo&&!Mo&&Ao===e||ks(e,e.expirationTime),hs>gs&&(hs=0,o("185")))}function Zo(e,t,r,n,i){return a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){return e(t,r,n,i)})}var es=null,ts=null,rs=0,ns=void 0,is=!1,as=null,os=0,ss=0,cs=!1,us=null,ls=!1,ds=!1,fs=null,ps=a.unstable_now(),_s=1073741822-(ps/10|0),ms=_s,gs=50,hs=0,vs=null;function ys(){_s=1073741822-((a.unstable_now()-ps)/10|0)}function bs(e,t){if(0!==rs){if(t<rs)return;null!==ns&&a.unstable_cancelCallback(ns)}rs=t,e=a.unstable_now()-ps,ns=a.unstable_scheduleCallback(ws,{timeout:10*(1073741822-t)-e})}function xs(e,t,r,n,i){e.expirationTime=n,0!==i||Ts()?0<i&&(e.timeoutHandle=yn(function(e,t,r){e.pendingCommitExpirationTime=r,e.finishedWork=t,ys(),ms=_s,As(e,r)}.bind(null,e,t,r),i)):(e.pendingCommitExpirationTime=r,e.finishedWork=t)}function Ss(){return is?ms:(Cs(),0!==os&&1!==os||(ys(),ms=_s),ms)}function ks(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===ts?(es=ts=e,e.nextScheduledRoot=e):(ts=ts.nextScheduledRoot=e).nextScheduledRoot=es):t>e.expirationTime&&(e.expirationTime=t),is||(ls?ds&&(as=e,os=1073741823,Ns(e,1073741823,!1)):1073741823===t?Ds(1073741823,!1):bs(e,t))}function Cs(){var e=0,t=null;if(null!==ts)for(var r=ts,n=es;null!==n;){var i=n.expirationTime;if(0===i){if((null===r||null===ts)&&o("244"),n===n.nextScheduledRoot){es=ts=n.nextScheduledRoot=null;break}if(n===es)es=i=n.nextScheduledRoot,ts.nextScheduledRoot=i,n.nextScheduledRoot=null;else{if(n===ts){(ts=r).nextScheduledRoot=es,n.nextScheduledRoot=null;break}r.nextScheduledRoot=n.nextScheduledRoot,n.nextScheduledRoot=null}n=r.nextScheduledRoot}else{if(i>e&&(e=i,t=n),n===ts)break;if(1073741823===e)break;r=n,n=n.nextScheduledRoot}}as=t,os=e}var Es=!1;function Ts(){return!!Es||!!a.unstable_shouldYield()&&(Es=!0)}function ws(){try{if(!Ts()&&null!==es){ys();var e=es;do{var t=e.expirationTime;0!==t&&_s<=t&&(e.nextExpirationTimeToWorkOn=_s),e=e.nextScheduledRoot}while(e!==es)}Ds(0,!0)}finally{Es=!1}}function Ds(e,t){if(Cs(),t)for(ys(),ms=_s;null!==as&&0!==os&&e<=os&&!(Es&&_s>os);)Ns(as,os,_s>os),Cs(),ys(),ms=_s;else for(;null!==as&&0!==os&&e<=os;)Ns(as,os,!1),Cs();if(t&&(rs=0,ns=null),0!==os&&bs(as,os),hs=0,vs=null,null!==fs)for(e=fs,fs=null,t=0;t<e.length;t++){var r=e[t];try{r._onComplete()}catch(n){cs||(cs=!0,us=n)}}if(cs)throw e=us,us=null,cs=!1,e}function As(e,t){is&&o("253"),as=e,os=t,Ns(e,t,!1),Ds(1073741823,!1)}function Ns(e,t,r){if(is&&o("245"),is=!0,r){var n=e.finishedWork;null!==n?Ps(e,n,t):(e.finishedWork=null,-1!==(n=e.timeoutHandle)&&(e.timeoutHandle=-1,bn(n)),Ko(e,r),null!==(n=e.finishedWork)&&(Ts()?e.finishedWork=n:Ps(e,n,t)))}else null!==(n=e.finishedWork)?Ps(e,n,t):(e.finishedWork=null,-1!==(n=e.timeoutHandle)&&(e.timeoutHandle=-1,bn(n)),Ko(e,r),null!==(n=e.finishedWork)&&Ps(e,n,t));is=!1}function Ps(e,t,r){var n=e.firstBatch;if(null!==n&&n._expirationTime>=r&&(null===fs?fs=[n]:fs.push(n),n._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===vs?hs++:(vs=e,hs=0),a.unstable_runWithPriority(a.unstable_ImmediatePriority,function(){Jo(e,t)})}function Os(e){null===as&&o("246"),as.expirationTime=0,cs||(cs=!0,us=e)}function Fs(e,t){var r=ls;ls=!0;try{return e(t)}finally{(ls=r)||is||Ds(1073741823,!1)}}function Ms(e,t){if(ls&&!ds){ds=!0;try{return e(t)}finally{ds=!1}
1}return e(t)}function Is(e,t,r){ls||is||0===ss||(Ds(ss,!1),ss=0);var n=ls;ls=!0;try{return a.unstable_runWithPriority(a.unstable_UserBlockingPriority,function(){return e(t,r)})}finally{(ls=n)||is||Ds(1073741823,!1)}}function Ls(e,t,r,n,i){var a=t.current;e:if(r){t:{2===tr(r=r._reactInternalFiber)&&1===r.tag||o("170");var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(Mn(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);o("171"),s=void 0}if(1===r.tag){var c=r.type;if(Mn(c)){r=jn(r,c,s);break e}}r=s}else r=An;return null===t.context?t.context=r:t.pendingContext=r,t=i,(i=Xa(n)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),Vo(),$a(a,i),Qo(a,n),n}function Rs(e,t,r,n){var i=t.current;return Ls(e,t,r,i=Xo(Ss(),i),n)}function js(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bs(e){var t=1073741822-25*(1+((1073741822-Ss()+500)/25|0));t>=To&&(t=To-1),this._expirationTime=To=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function zs(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function qs(e,t,r){e={current:t=Hn(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:r,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Us(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Vs(e,t,r,n,i){var a=r._reactRootContainer;if(a){if("function"===typeof i){var o=i;i=function(){var e=js(a._internalRoot);o.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,i):a.render(t,i)}else{if(a=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new qs(e,!1,t)}(r,n),"function"===typeof i){var s=i;i=function(){var e=js(a._internalRoot);s.call(e)}}Ms(function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,i):a.render(t,i)})}return js(a._internalRoot)}function Js(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Us(t)||o("200"),function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ge,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}Te=function(e,t,r){switch(t){case"input":if(St(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=j(n);i||o("90"),Ve(n),St(n,i)}}}break;case"textarea":Yr(e,r);break;case"select":null!=(t=r.value)&&Kr(e,!!r.multiple,t,!1)}},Bs.prototype.render=function(e){this._defer||o("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,r=this._expirationTime,n=new zs;return Ls(e,t,null,r,n._onCommit),n},Bs.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Bs.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||o("251"),this._hasChildren){var r=this._expirationTime;if(t!==this){this._hasChildren&&(r=this._expirationTime=t._expirationTime,this.render(this._children));for(var n=null,i=t;i!==this;)n=i,i=i._next;null===n&&o("251"),n._next=i._next,this._next=t,e.firstBatch=this}this._defer=!1,As(e,r),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Bs.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;
1if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},zs.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},zs.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var r=e[t];"function"!==typeof r&&o("191",r),r()}}},qs.prototype.render=function(e,t){var r=this._internalRoot,n=new zs;return null!==(t=void 0===t?null:t)&&n.then(t),Rs(e,r,null,n._onCommit),n},qs.prototype.unmount=function(e){var t=this._internalRoot,r=new zs;return null!==(e=void 0===e?null:e)&&r.then(e),Rs(null,t,null,r._onCommit),r},qs.prototype.legacy_renderSubtreeIntoContainer=function(e,t,r){var n=this._internalRoot,i=new zs;return null!==(r=void 0===r?null:r)&&i.then(r),Rs(t,n,e,i._onCommit),i},qs.prototype.createBatch=function(){var e=new Bs(this),t=e._expirationTime,r=this._internalRoot,n=r.firstBatch;if(null===n)r.firstBatch=e,e._next=null;else{for(r=null;null!==n&&n._expirationTime>=t;)r=n,n=n._next;e._next=n,null!==r&&(r._next=e)}return e},Oe=Fs,Fe=Is,Me=function(){is||0===ss||(Ds(ss,!1),ss=0)};var Hs={createPortal:Js,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?o("188"):o("268",Object.keys(e))),e=null===(e=nr(t))?null:e.stateNode},hydrate:function(e,t,r){return Us(t)||o("200"),Vs(null,e,t,!0,r)},render:function(e,t,r){return Us(t)||o("200"),Vs(null,e,t,!1,r)},unstable_renderSubtreeIntoContainer:function(e,t,r,n){return Us(r)||o("200"),(null==e||void 0===e._reactInternalFiber)&&o("38"),Vs(e,t,r,!1,n)},unmountComponentAtNode:function(e){return Us(e)||o("40"),!!e._reactRootContainer&&(Ms(function(){Vs(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Js.apply(void 0,arguments)},unstable_batchedUpdates:Fs,unstable_interactiveUpdates:Is,flushSync:function(e,t){is&&o("187");var r=ls;ls=!0;try{return Zo(e,t)}finally{ls=r,Ds(1073741823,!1)}},unstable_createRoot:function(e,t){return Us(e)||o("299","unstable_createRoot"),new qs(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=ls;ls=!0;try{Zo(e)}finally{(ls=t)||is||Ds(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[L,R,j,A.injectEventPluginsByName,v,J,function(e){T(e,V)},Ne,Pe,wr,P]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var r=t.inject(e);qn=Vn(function(e){return t.onCommitFiberRoot(r,e)}),Un=Vn(function(e){return t.onCommitFiberUnmount(r,e)})}catch(n){}})(i({},e,{overrideProps:null,currentDispatcherRef:Je.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nr(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:I,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var Ws={default:Hs},Ks=Ws&&Hs||Ws;e.exports=Ks.default||Ks},function(e,t,r){"use strict";e.exports=r(527)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=null,n=!1,i=3,a=-1,o=-1,s=!1,c=!1;function u(){if(!s){var e=r.expirationTime;c?k():c=!0,S(f,e)}}function l(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var a=i,s=o;i=e,o=t;try{var c=n()}finally{i=a,o=s}if("function"===typeof c)if(c={callback:c,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=c.next=c.previous=c;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=c,u()),(t=n.previous).next=n.previous=c,c.next=n,c.previous=t}}function d(){if(-1===a&&null!==r&&1===r.priorityLevel){s=!0;try{do{l()}while(null!==r&&1===r.priorityLevel)}finally{s=!1,null!==r?u():c=!1}}}function f(e){s=!0;var i=n;n=e;try{if(e)for(;null!==r;){var a=t.unstable_now();if(!(r.expirationTime<=a))break;do{l()}while(null!==r&&r.expirationTime<=a)}
1else if(null!==r)do{l()}while(null!==r&&!C())}finally{s=!1,n=i,null!==r?u():c=!1,d()}}var p,_,m=Date,g="function"===typeof setTimeout?setTimeout:void 0,h="function"===typeof clearTimeout?clearTimeout:void 0,v="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,y="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function b(e){p=v(function(t){h(_),e(t)}),_=g(function(){y(p),e(t.unstable_now())},100)}if("object"===typeof performance&&"function"===typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return m.now()};var S,k,C,E=null;if("undefined"!==typeof window?E=window:"undefined"!==typeof e&&(E=e),E&&E._schedMock){var T=E._schedMock;S=T[0],k=T[1],C=T[2],t.unstable_now=T[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var w=null,D=function(e){if(null!==w)try{w(e)}finally{w=null}};S=function(e){null!==w?setTimeout(S,0,e):(w=e,setTimeout(D,0,!1))},k=function(){w=null},C=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof v&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var A=null,N=!1,P=-1,O=!1,F=!1,M=0,I=33,L=33;C=function(){return M<=t.unstable_now()};var R=new MessageChannel,j=R.port2;R.port1.onmessage=function(){N=!1;var e=A,r=P;A=null,P=-1;var n=t.unstable_now(),i=!1;if(0>=M-n){if(!(-1!==r&&r<=n))return O||(O=!0,b(B)),A=e,void(P=r);i=!0}if(null!==e){F=!0;try{e(i)}finally{F=!1}}};var B=function e(t){if(null!==A){b(e);var r=t-M+L;r<L&&I<L?(8>r&&(r=8),L=r<I?I:r):I=r,M=t+L,N||(N=!0,j.postMessage(void 0))}else O=!1};S=function(e,t){A=e,P=t,F||0>t?j.postMessage(void 0):O||(O=!0,b(B))},k=function(){A=null,N=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=i,o=a;i=e,a=t.unstable_now();try{return r()}finally{i=n,a=o,d()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var r=3;break;default:r=i}var n=i,o=a;i=r,a=t.unstable_now();try{return e()}finally{i=n,a=o,d()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==a?a:t.unstable_now();if("object"===typeof n&&null!==n&&"number"===typeof n.timeout)n=o+n.timeout;else switch(i){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,u();else{o=null;var s=r;do{if(s.expirationTime>n){o=s;break}s=s.next}while(s!==r);null===o?o=r:o===r&&(r=e,u()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var r=i;return function(){var n=i,o=a;i=r,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=n,a=o,d()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!n&&(null!==r&&r.expirationTime<o||C())},t.unstable_continueExecution=function(){null!==r&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return r}}).call(this,r(127))},,function(e,t,r){"use strict";var n=r(530);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;
1var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case o:case c:case s:case _:return e;default:switch(e=e&&e.$$typeof){case l:case p:case u:return e;default:return t}}case h:case g:case a:return t}}}function S(e){return x(e)===f}t.typeOf=x,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=p,t.Fragment=o,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=_,t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===c||e===s||e===_||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===v||e.$$typeof===y||e.$$typeof===b)},t.isAsyncMode=function(e){return S(e)||x(e)===d},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===h},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===_}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";var n=r(141),i=r(365),a=r(535),o=r(371);function s(e){var t=new a(e),r=i(a.prototype.request,t);return n.extend(r,a.prototype,t),n.extend(r,t),r}var c=s(r(368));c.Axios=a,c.create=function(e){return s(o(c.defaults,e))},c.Cancel=r(372),c.CancelToken=r(547),c.isCancel=r(367),c.all=function(e){return Promise.all(e)},c.spread=r(548),e.exports=c,e.exports.default=c},function(e,t){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,r){"use strict";var n=r(141),i=r(366),a=r(536),o=r(537),s=r(371);function c(e){this.defaults=e,this.interceptors={request:new a,response:new a}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method=e.method?e.method.toLowerCase():"get";var t=[o,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],function(e){c.prototype[e]=function(t,r){return this.request(n.merge(r||{},{method:e,url:t}))}}
vendor: 5,167 bytes, line 1
1),n.forEach(["post","put","patch"],function(e){c.prototype[e]=function(t,r,i){return this.request(n.merge(i||{},{method:e,url:t,data:r}))}}),e.exports=c},function(e,t,r){"use strict";var n=r(141);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,r){"use strict";var n=r(141),i=r(538),a=r(367),o=r(368),s=r(545),c=r(546);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||o.adapter)(e).then(function(t){return u(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(u(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,r){"use strict";var n=r(141);e.exports=function(e,t,r){return n.forEach(r,function(r){e=r(e,t)}),e}},function(e,t,r){"use strict";var n=r(141);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},function(e,t,r){"use strict";var n=r(370);e.exports=function(e,t,r){var i=r.config.validateStatus;!i||i(r.status)?e(r):t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(141),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,o={};return e?(n.forEach(e.split("\n"),function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}}),o):o}},function(e,t,r){"use strict";var n=r(141);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(141);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(372);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var r=this;e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=r(550),i=r(555);n.default.__addLocaleData(i.default),n.default.defaultLocale="en",t.default=n.default},function(e,t,r){"use strict";var n=r(373),i=r(551),a=r(552),o=r(553);function s(e,t,r){var n="string"===typeof e?s.__parse(e):e;if(!n||"messageFormatPattern"!==n.type)throw new TypeError("A message must be provided as a String or AST.");r=this._mergeFormats(s.formats,r),i.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var a=this._findPluralRuleFunction(this._locale),o=this._compilePattern(n,t,r,a),c=this;
1this.format=function(t){try{return c._format(o,t)}catch(r){throw r.variableId?new Error("The intl string context variable '"+r.variableId+"' was not provided to the string '"+e+"'"):r}}}t.default=s,i.defineProperty(s,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),i.defineProperty(s,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(s,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");s.__localeData__[e.locale.toLowerCase()]=e}}),i.defineProperty(s,"__parse",{value:o.default.parse}),i.defineProperty(s,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),s.prototype.resolvedOptions=function(){return{locale:this._locale}},s.prototype._compilePattern=function(e,t,r,n){return new a.default(t,r,n).compile(e)},s.prototype._findPluralRuleFunction=function(e){for(var t=s.__localeData__,r=t[e.toLowerCase()];r;){if(r.pluralRuleFunction)return r.pluralRuleFunction;r=r.parentLocale&&t[r.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},s.prototype._format=function(e,t){var r,i,a,o,s,c,u="";for(r=0,i=e.length;r<i;r+=1)if("string"!==typeof(a=e[r])){if(o=a.id,!t||!n.hop.call(t,o))throw(c=new Error("A value must be provided for: "+o)).variableId=o,c;s=t[o],a.options?u+=this._format(a.getOption(s),t):u+=a.format(s)}else u+=a;return u},s.prototype._mergeFormats=function(e,t){var r,a,o={};for(r in e)n.hop.call(e,r)&&(o[r]=a=i.objCreate(e[r]),t&&n.hop.call(t,r)&&n.extend(a,t[r]));return o},s.prototype._resolveLocale=function(e){"string"===typeof e&&(e=[e]),e=(e||[]).concat(s.defaultLocale);var t,r,n,i,a=s.__localeData__;for(t=0,r=e.length;t<r;t+=1)for(n=e[t].toLowerCase().split("-");n.length;){if(i=a[n.join("-")])return i.locale;n.pop()}var o=e.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+e.join(", ")+", or the default locale: "+o)}},function(e,t,r){"use strict";var n=r(373),i=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),a=(!i&&Object.prototype.__defineGetter__,i?Object.defineProperty:function(e,t,r){"get"in r&&e.__defineGetter__?e.__defineGetter__(t,r.get):(!n.hop.call(e,t)||"value"in r)&&(e[t]=r.value)}),o=Object.create||function(e,t){var r,i;function o(){}for(i in o.prototype=e,r=new o,t)n.hop.call(t,i)&&a(r,i,t[i]);return r};t.defineProperty=a,t.objCreate=o},function(e,t,r){"use strict";function n(e,t,r){this.locales=e,this.formats=t,this.pluralFn=r}function i(e){this.id=e}function a(e,t,r,n,i){this.id=e,this.useOrdinal=t,this.offset=r,this.options=n,this.pluralFn=i}function o(e,t,r,n){this.id=e,this.offset=t,this.numberFormat=r,this.string=n}function s(e,t){this.id=e,this.options=t}t.default=n,n.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},n.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,r,n,i=e.elements,a=[];for(t=0,r=i.length;t<r;t+=1)switch((n=i[t]).type){case"messageTextElement":a.push(this.compileMessageText(n));break;case"argumentElement":a.push(this.compileArgument(n));break;default:throw new Error("Message element does not have a valid type")}return a},n.prototype.compileMessageText=function(e){return this.currentPlural&&/(^|[^\\])#/g.test(e.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new o(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,e.value)):e.value.replace(/\\#/g,"#")},n.prototype.compileArgument=function(e){var t=e.format;if(!t)return new i(e.id);var r,n=this.formats,o=this.locales,c=this.pluralFn;switch(t.type){case"numberFormat":return r=n.number[t.style],{id:e.id,format:new Intl.NumberFormat(o,r).format};case"dateFormat":return r=n.date[t.style],{id:e.id,format:new Intl.DateTimeFormat(o,r).format};case"timeFormat":return r=n.time[t.style],{id:e.id,format:new Intl.DateTimeFormat(o,r).format};case"pluralFormat":return r=this.compileOptions(e),new a(e.id,t.ordinal,t.offset,r,c);case"selectFormat":return r=this.compileOptions(e),new s(e.id,r);default:throw new Error("Message element does not have a valid format type")}},n.prototype.compileOptions=function(e){var t,r,n,i=e.format,a=i.options,o={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===i.type?e:null,t=0,r=a.length;t<r;t+=1)o[(n=a[t]).selector]=this.compileMessage(n.value);return this.currentPlural=this.pluralStack.pop(),o},i.prototype.format=function(e){return e||"number"===typeof e?"string"===typeof e?e:String(e):""},a.prototype.getOption=function(e){var t=this.options;return t["="+e]||t[this.pluralFn(e-this.offset,this.useOrdinal)]||t.other},o.prototype.format=function(e){var t=this.numberFormat.format(e-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")},s.prototype.getOption=function(e){var t=this.options;return t[e]||t.other}},function(e,t,r){"use strict";(t=e.exports=r(554).default).default=t},function(e,t,r){"use strict";t.default=function(){function e(t,r,n,i){this.message=t,this.expected=r,this.found=n,this.location=i,this.name="SyntaxError","function"===typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}return function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(e,Error),{SyntaxError:e,parse:function(t){var r,n=arguments.length>1?arguments[1]:{},i={},a={start:Ne},o=Ne,s=function(e){return{type:"messageFormatPattern",elements:e,location:Ee()}},c=function(e){var t,r,n,i,a,o="";for(t=0,n=e.length;t<n;t+=1)for(r=0,a=(i=e[t]).length;r<a;r+=1)o+=i[r];return o},u=function(e){return{type:"messageTextElement",value:e,location:Ee()}},l=/^[^ \t\n\r,.+={}#]/,d={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},f="{",p={type:"literal",value:"{",description:'"{"'},_=",",m={type:"literal",value:",",description:'","'},g="}",h={type:"literal",value:"}",description:'"}"'},v=function(e,t){return{type:"argumentElement",id:e,format:t&&t[2],location:Ee()}},y="number",b={type:"literal",value:"number",description:'"number"'},x="date",S={type:"literal",value:"date",description:'"date"'},k="time",C={type:"literal",value:"time",description:'"time"'},E=function(e,t){return{type:e+"Format",style:t&&t[2],location:Ee()}},T="plural",w={type:"literal",value:"plural",description:'"plural"'},D=function(e){return{type:e.type,ordinal:!1,offset:e.offset||0,options:e.options,location:Ee()}},A="selectordinal",N={type:"literal",value:"selectordinal",description:'"selectordinal"'},P=function(e){return{type:e.type,ordinal:!0,offset:e.offset||0,options:e.options,location:Ee()}},O="select",F={type:"literal",value:"select",description:'"select"'},M=function(e){return{type:"selectFormat",options:e,location:Ee()}},I="=",L={type:"literal",value:"=",description:'"="'},R=function(e,t){return{type:"optionalFormatPattern",selector:e,value:t,location:Ee()}},j="offset:",B={type:"literal",value:"offset:",description:'"offset:"'},z=function(e){return e},q=function(e,t){return{type:"pluralFormat",offset:e,options:t,location:Ee()}},U={type:"other",description:"whitespace"},V=/^[ \t\n\r]/,J={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},H={type:"other",description:"optionalWhitespace"},W=/^[0-9]/,K={type:"class",value:"[0-9]",description:"[0-9]"},G=/^[0-9a-f]/i,X={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"}
1,Y="0",$={type:"literal",value:"0",description:'"0"'},Q=/^[1-9]/,Z={type:"class",value:"[1-9]",description:"[1-9]"},ee=function(e){return parseInt(e,10)},te=/^[^{}\\\0-\x1F\x7f \t\n\r]/,re={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},ne="\\\\",ie={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},ae=function(){return"\\"},oe="\\#",se={type:"literal",value:"\\#",description:'"\\\\#"'},ce=function(){return"\\#"},ue="\\{",le={type:"literal",value:"\\{",description:'"\\\\{"'},de=function(){return"{"},fe="\\}",pe={type:"literal",value:"\\}",description:'"\\\\}"'},_e=function(){return"}"},me="\\u",ge={type:"literal",value:"\\u",description:'"\\\\u"'},he=function(e){return String.fromCharCode(parseInt(e,16))},ve=function(e){return e.join("")},ye=0,be=0,xe=[{line:1,column:1,seenCR:!1}],Se=0,ke=[],Ce=0;if("startRule"in n){if(!(n.startRule in a))throw new Error("Can't start parsing from rule \""+n.startRule+'".');o=a[n.startRule]}function Ee(){return we(be,ye)}function Te(e){var r,n,i=xe[e];if(i)return i;for(r=e-1;!xe[r];)r--;for(i={line:(i=xe[r]).line,column:i.column,seenCR:i.seenCR};r<e;)"\n"===(n=t.charAt(r))?(i.seenCR||i.line++,i.column=1,i.seenCR=!1):"\r"===n||"\u2028"===n||"\u2029"===n?(i.line++,i.column=1,i.seenCR=!0):(i.column++,i.seenCR=!1),r++;return xe[e]=i,i}function we(e,t){var r=Te(e),n=Te(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function De(e){ye<Se||(ye>Se&&(Se=ye,ke=[]),ke.push(e))}function Ae(t,r,n,i){return null!==r&&function(e){var t=1;for(e.sort(function(e,t){return e.description<t.description?-1:e.description>t.description?1:0});t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}(r),new e(null!==t?t:function(e,t){var r,n=new Array(e.length);for(r=0;r<e.length;r++)n[r]=e[r].description;return"Expected "+(e.length>1?n.slice(0,-1).join(", ")+" or "+n[e.length-1]:n[0])+" but "+(t?'"'+function(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0100-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1000-\uFFFF]/g,function(e){return"\\u"+t(e)})}(t)+'"':"end of input")+" found."}(r,n),r,n,i)}function Ne(){return Pe()}function Pe(){var e,t,r;for(e=ye,t=[],r=Oe();r!==i;)t.push(r),r=Oe();return t!==i&&(be=e,t=s(t)),e=t}function Oe(){var e;return(e=function(){var e,r;return e=ye,(r=function(){var e,r,n,a,o,s;if(e=ye,r=[],n=ye,(a=Le())!==i&&(o=qe())!==i&&(s=Le())!==i?n=a=[a,o,s]:(ye=n,n=i),n!==i)for(;n!==i;)r.push(n),n=ye,(a=Le())!==i&&(o=qe())!==i&&(s=Le())!==i?n=a=[a,o,s]:(ye=n,n=i);else r=i;return r!==i&&(be=e,r=c(r)),(e=r)===i&&(e=ye,r=Ie(),e=r!==i?t.substring(e,ye):r),e}())!==i&&(be=e,r=u(r)),e=r}())===i&&(e=function(){var e,r,n,a,o,s,c;return e=ye,123===t.charCodeAt(ye)?(r=f,ye++):(r=i,0===Ce&&De(p)),r!==i&&Le()!==i&&(n=function(){var e,r,n;if((e=Be())===i){if(e=ye,r=[],l.test(t.charAt(ye))?(n=t.charAt(ye),ye++):(n=i,0===Ce&&De(d)),n!==i)for(;n!==i;)r.push(n),l.test(t.charAt(ye))?(n=t.charAt(ye),ye++):(n=i,0===Ce&&De(d));else r=i;e=r!==i?t.substring(e,ye):r}return e}())!==i&&Le()!==i?(a=ye,44===t.charCodeAt(ye)?(o=_,ye++):(o=i,0===Ce&&De(m)),o!==i&&(s=Le())!==i&&(c=function(){var e;return(e=function(){var e,r,n,a,o,s;return e=ye,t.substr(ye,6)===y?(r=y,ye+=6):(r=i,0===Ce&&De(b)),r===i&&(t.substr(ye,4)===x?(r=x,ye+=4):(r=i,0===Ce&&De(S)),r===i&&(t.substr(ye,4)===k?(r=k,ye+=4):(r=i,0===Ce&&De(C)))),r!==i&&Le()!==i?(n=ye,44===t.charCodeAt(ye)?(a=_,ye++):(a=i,0===Ce&&De(m)),a!==i&&(o=Le())!==i&&(s=qe())!==i?n=a=[a,o,s]:(ye=n,n=i),n===i&&(n=null),n!==i?(be=e,r=E(r,n),e=r):(ye=e,e=i)):(ye=e,e=i),e}())===i&&(e=function(){var e,r,n,a;return e=ye,t.substr(ye,6)===T?(r=T,ye+=6):(r=i,0===Ce&&De(w)),r!==i&&Le()!==i?(44===t.charCodeAt(ye)?(n=_,ye++):(n=i,0===Ce&&De(m)),n!==i&&Le()!==i&&(a=Me())!==i?(be=e,r=D(a),e=r):(ye=e,e=i)):(ye=e,e=i),e}())===i&&(e=function(){var e,r,n,a;return e=ye,t.substr(ye,13)===A?(r=A,ye+=13):(r=i,0===Ce&&De(N)),r!==i&&Le()!==i?(44===t.charCodeAt(ye)?(n=_,ye++):(n=i,0===Ce&&De(m)),n!==i&&Le()!==i&&(a=Me())!==i?(be=e,r=P(a),e=r):(ye=e,e=i)):(ye=e,e=i),e}())===i&&(e=function(){var e,r,n,a,o;if(e=ye,t.substr(ye,6)===O?(r=O,ye+=6):(r=i,0===Ce&&De(F)),r!==i)if(Le()!==i)if(44===t.charCodeAt(ye)?(n=_,ye++):(n=i,0===Ce&&De(m)),n!==i)if(Le()!==i){if(a=[],(o=
1Fe())!==i)for(;o!==i;)a.push(o),o=Fe();else a=i;a!==i?(be=e,r=M(a),e=r):(ye=e,e=i)}else ye=e,e=i;else ye=e,e=i;else ye=e,e=i;else ye=e,e=i;return e}()),e}())!==i?a=o=[o,s,c]:(ye=a,a=i),a===i&&(a=null),a!==i&&(o=Le())!==i?(125===t.charCodeAt(ye)?(s=g,ye++):(s=i,0===Ce&&De(h)),s!==i?(be=e,r=v(n,a),e=r):(ye=e,e=i)):(ye=e,e=i)):(ye=e,e=i),e}()),e}function Fe(){var e,r,n,a,o;return e=ye,Le()!==i&&(r=function(){var e,r,n,a;return e=ye,r=ye,61===t.charCodeAt(ye)?(n=I,ye++):(n=i,0===Ce&&De(L)),n!==i&&(a=Be())!==i?r=n=[n,a]:(ye=r,r=i),(e=r!==i?t.substring(e,ye):r)===i&&(e=qe()),e}())!==i&&Le()!==i?(123===t.charCodeAt(ye)?(n=f,ye++):(n=i,0===Ce&&De(p)),n!==i&&Le()!==i&&(a=Pe())!==i&&Le()!==i?(125===t.charCodeAt(ye)?(o=g,ye++):(o=i,0===Ce&&De(h)),o!==i?(be=e,e=R(r,a)):(ye=e,e=i)):(ye=e,e=i)):(ye=e,e=i),e}function Me(){var e,r,n,a;if(e=ye,(r=function(){var e,r,n;return e=ye,t.substr(ye,7)===j?(r=j,ye+=7):(r=i,0===Ce&&De(B)),r!==i&&Le()!==i&&(n=Be())!==i?(be=e,e=r=z(n)):(ye=e,e=i),e}())===i&&(r=null),r!==i)if(Le()!==i){if(n=[],(a=Fe())!==i)for(;a!==i;)n.push(a),a=Fe();else n=i;n!==i?(be=e,e=r=q(r,n)):(ye=e,e=i)}else ye=e,e=i;else ye=e,e=i;return e}function Ie(){var e,r;if(Ce++,e=[],V.test(t.charAt(ye))?(r=t.charAt(ye),ye++):(r=i,0===Ce&&De(J)),r!==i)for(;r!==i;)e.push(r),V.test(t.charAt(ye))?(r=t.charAt(ye),ye++):(r=i,0===Ce&&De(J));else e=i;return Ce--,e===i&&(r=i,0===Ce&&De(U)),e}function Le(){var e,r,n;for(Ce++,e=ye,r=[],n=Ie();n!==i;)r.push(n),n=Ie();return e=r!==i?t.substring(e,ye):r,Ce--,e===i&&(r=i,0===Ce&&De(H)),e}function Re(){var e;return W.test(t.charAt(ye))?(e=t.charAt(ye),ye++):(e=i,0===Ce&&De(K)),e}function je(){var e;return G.test(t.charAt(ye))?(e=t.charAt(ye),ye++):(e=i,0===Ce&&De(X)),e}function Be(){var e,r,n,a,o,s;if(e=ye,48===t.charCodeAt(ye)?(r=Y,ye++):(r=i,0===Ce&&De($)),r===i){if(r=ye,n=ye,Q.test(t.charAt(ye))?(a=t.charAt(ye),ye++):(a=i,0===Ce&&De(Z)),a!==i){for(o=[],s=Re();s!==i;)o.push(s),s=Re();o!==i?n=a=[a,o]:(ye=n,n=i)}else ye=n,n=i;r=n!==i?t.substring(r,ye):n}return r!==i&&(be=e,r=ee(r)),e=r}function ze(){var e,r,n,a,o,s,c,u;return te.test(t.charAt(ye))?(e=t.charAt(ye),ye++):(e=i,0===Ce&&De(re)),e===i&&(e=ye,t.substr(ye,2)===ne?
1(r=ne,ye+=2):(r=i,0===Ce&&De(ie)),r!==i&&(be=e,r=ae()),(e=r)===i&&(e=ye,t.substr(ye,2)===oe?(r=oe,ye+=2):(r=i,0===Ce&&De(se)),r!==i&&(be=e,r=ce()),(e=r)===i&&(e=ye,t.substr(ye,2)===ue?(r=ue,ye+=2):(r=i,0===Ce&&De(le)),r!==i&&(be=e,r=de()),(e=r)===i&&(e=ye,t.substr(ye,2)===fe?(r=fe,ye+=2):(r=i,0===Ce&&De(pe)),r!==i&&(be=e,r=_e()),(e=r)===i&&(e=ye,t.substr(ye,2)===me?(r=me,ye+=2):(r=i,0===Ce&&De(ge)),r!==i?(n=ye,a=ye,(o=je())!==i&&(s=je())!==i&&(c=je())!==i&&(u=je())!==i?a=o=[o,s,c,u]:(ye=a,a=i),(n=a!==i?t.substring(n,ye):a)!==i?(be=e,e=r=he(n)):(ye=e,e=i)):(ye=e,e=i)))))),e}function qe(){var e,t,r;if(e=ye,t=[],(r=ze())!==i)for(;r!==i;)t.push(r),r=ze();else t=i;return t!==i&&(be=e,t=ve(t)),e=t}if((r=o())!==i&&ye===t.length)return r;throw r!==i&&ye<t.length&&De({type:"end",description:"end of input"}),Ae(null,ke,Se<t.length?t.charAt(Se):null,Se<t.length?we(Se,Se+1):we(Se,Se))}}}()},function(e,t,r){"use strict";t.default={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,a=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==e&&n?"one":"other"}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(558),i=r(561);n.default.__addLocaleData(i.default),n.default.defaultLocale="en",t.default=n.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(196),i=r(559),a=r(560);t.default=c;var o=["second","second-short","minute","minute-short","hour","hour-short","day","day-short","month","month-short","year","year-short"],s=["best fit","numeric"];function c(e,t){t=t||{},a.isArray(e)&&(e=e.concat()),a.defineProperty(this,"_locale",{value:this._resolveLocale(e)}),a.defineProperty(this,"_options",{value:{style:this._resolveStyle(t.style),units:this._isValidUnits(t.units)&&t.units}}),a.defineProperty(this,"_locales",{value:e}),a.defineProperty(this,"_fields",{value:this._findFields(this._locale)}),a.defineProperty(this,"_messages",{value:a.objCreate(null)});var r=this;this.format=function(e,t){return r._format(e,t)}}a.defineProperty(c,"__localeData__",{value:a.objCreate(null)}),a.defineProperty(c,"__addLocaleData",{value:function(){for(var e=0;e<arguments.length;e++){var t=arguments[e];if(!t||!t.locale)throw new Error("Locale data provided to IntlRelativeFormat is missing a `locale` property value");c.__localeData__[t.locale.toLowerCase()]=t,n.default.__addLocaleData(t)}}}),a.defineProperty(c,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),a.defineProperty(c,"thresholds",{enumerable:!0,value:{second:45,"second-short":45,minute:45,"minute-short":45,hour:22,"hour-short":22,day:26,"day-short":26,month:11,"month-short":11}}),c.prototype.resolvedOptions=function(){return{locale:this._locale,style:this._options.style,units:this._options.units}},c.prototype._compileMessage=function(e){var t,r=this._locales,i=(this._locale,this._fields[e].relativeTime),a="",o="";for(t in i.future)i.future.hasOwnProperty(t)&&(a+=" "+t+" {"+i.future[t].replace("{0}","#")+"}");for(t in i.past)i.past.hasOwnProperty(t)&&(o+=" "+t+" {"+i.past[t].replace("{0}","#")+"}");var s="{when, select, future {{0, plural, "+a+"}}past {{0, plural, "+o+"}}}";return new n.default(s,r)},c.prototype._getMessage=function(e){var t=this._messages;return t[e]||(t[e]=this._compileMessage(e)),t[e]},c.prototype._getRelativeUnits=function(e,t){var r=this._fields[t];if(r.relative)return r.relative[e]},c.prototype._findFields=function(e){for(var t=c.__localeData__,r=t[e.toLowerCase()];r;){if(r.fields)return r.fields;r=r.parentLocale&&t[r.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlRelativeFormat is missing `fields` for :"+e)},c.prototype._format=function(e,t){var r=t&&void 0!==t.now?t.now:a.dateNow();if(void 0===e&&(e=r),!isFinite(r))throw new RangeError("The `now` option provided to IntlRelativeFormat#format() is not in valid range.");if(!isFinite(e))throw new RangeError("The date value provided to IntlRelativeFormat#format() is not in valid range.");var n=i.default(r,e),o=this._options.units||this._selectUnits(n),s=n[o];if("numeric"!==this._options.style){var c=this._getRelativeUnits(s,o);if(c)return c}return this._getMessage(o).format({0:Math.abs(s),when:s<0?"past":"future"})},c.prototype._isValidUnits=function(e){if(!e||a.arrIndexOf.call(o,e)>=0)return!0;
1if("string"===typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&a.arrIndexOf.call(o,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+o.join('", "')+'"')},c.prototype._resolveLocale=function(e){"string"===typeof e&&(e=[e]),e=(e||[]).concat(c.defaultLocale);var t,r,n,i,a=c.__localeData__;for(t=0,r=e.length;t<r;t+=1)for(n=e[t].toLowerCase().split("-");n.length;){if(i=a[n.join("-")])return i.locale;n.pop()}var o=e.pop();throw new Error("No locale data has been added to IntlRelativeFormat for: "+e.join(", ")+", or the default locale: "+o)},c.prototype._resolveStyle=function(e){if(!e)return s[0];if(a.arrIndexOf.call(s,e)>=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+s.join('", "')+'"')},c.prototype._selectUnits=function(e){var t,r,n,i=o.filter(function(e){return e.indexOf("-short")<1});for(t=0,r=i.length;t<r&&(n=i[t],!(Math.abs(e[n])<c.thresholds[n]));t+=1);return n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Math.round;var i=6e4,a=864e5;function o(e){var t=new Date(e);return t.setHours(0,0,0,0),t}t.default=function(e,t){var r=n((t=+t)-(e=+e)),s=n(r/1e3),c=n(s/60),u=n(c/60),l=function(e,t){var r=o(e),n=o(t),s=r.getTime()-r.getTimezoneOffset()*i,c=n.getTime()-n.getTimezoneOffset()*i;return Math.round((s-c)/a)}(t,e),d=n(l/7),f=400*l/146097,p=n(12*f),_=n(f);return{millisecond:r,second:s,"second-short":s,minute:c,"minute-short":c,hour:u,"hour-short":u,day:l,"day-short":l,week:d,"week-short":d,month:p,"month-short":p,year:_,"year-short":_}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),o=(!a&&Object.prototype.__defineGetter__,a?Object.defineProperty:function(e,t,r){"get"in r&&e.__defineGetter__?e.__defineGetter__(t,r.get):(!n.call(e,t)||"value"in r)&&(e[t]=r.value)});t.defineProperty=o;var s=Object.create||function(e,t){var r,i;function a(){}for(i in a.prototype=e,r=new a,t)n.call(t,i)&&o(r,i,t[i]);return r};t.objCreate=s;var c=Array.prototype.indexOf||function(e,t){if(!this.length)return-1;for(var r=t||0,n=this.length;r<n;r++)if(this[r]===e)return r;return-1};t.arrIndexOf=c;var u=Array.isArray||function(e){return"[object Array]"===i.call(e)};t.isArray=u;var l=Date.now||function(){return(new Date).getTime()};t.dateNow=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],i=Number(r[0])==e,a=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1==a&&11!=o?"one":2==a&&12!=o?"two":3==a&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},week:{displayName:"week",relativePeriod:"the week of {0}",relative:{0:"this week",1:"next week","-1":"last week"},relativeTime:{future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"}}},"week-short":{displayName:"wk.",relativePeriod:"the week of {0}",relative:{0:"this wk.",1:"next wk.","-1":"last wk."},relativeTime:{future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}}},,,function(e,t,r){var n,i,a=r(374),o=r(375),s=0,c=0;e.exports=function(e,t,r){var u=t&&r||0,l=t||[],d=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==f){var p=a();null==d&&(d=n=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==f&&(f=i=16383&(p[6]<<8|p[7]))}var _=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=_-s+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||_>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=_,c=m,i=f;var h=(1e4*(268435455&(_+=122192928e5))+m)%4294967296;l[u++]=h>>>24&255,l[u++]=h>>>16&255,l[u++]=h>>>8&255,l[u++]=255&h;var v=_/4294967296*1e4&268435455;l[u++]=v>>>8&255,l[u++]=255&v,l[u++]=v>>>
124&15|16,l[u++]=v>>>16&255,l[u++]=f>>>8|128,l[u++]=255&f;for(var y=0;y<6;++y)l[u+y]=d[y];return t||o(l)}},function(e,t,r){var n=r(374),i=r(375);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||i(o)}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t.default=function(e,t,r,n){return"in"in e&&(e.when=e.in),a.default.Children.count(n)<2?a.default.createElement(o.default,i({},e,{inEffect:t,outEffect:r,children:n})):(n=a.default.Children.map(n,function(n){return a.default.createElement(o.default,i({},e,{inEffect:t,outEffect:r,children:n}))}),"Fragment"in a.default?a.default.createElement(a.default.Fragment,null,n):a.default.createElement("span",null,n))};var a=n(r(0)),o=n(r(568));e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=r(0),u=(n=c)&&n.__esModule?n:{default:n},l=r(26),d=r(376),f=(0,l.shape)({make:l.func,duration:l.number.isRequired,delay:l.number.isRequired,forever:l.bool,count:l.number.isRequired,style:l.object.isRequired,reverse:l.bool}),p={collapse:l.bool,collapseEl:l.element,cascade:l.bool,wait:l.number,force:l.bool,disabled:l.bool,appear:l.bool,enter:l.bool,exit:l.bool,fraction:l.number,refProp:l.string,innerRef:l.func,onReveal:l.func,unmountOnExit:l.bool,mountOnEnter:l.bool,inEffect:f.isRequired,outEffect:(0,l.oneOfType)([f,(0,l.oneOf)([!1])]).isRequired,ssrReveal:l.bool,collapseOnly:l.bool,ssrFadeout:l.bool},_={transitionGroup:l.object},m=function(e){function t(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.isOn=void 0===e.when||!!e.when,n.state={collapse:e.collapse?t.getInitialCollapseStyle(e):void 0,style:{opacity:n.isOn&&!e.ssrReveal||!e.outEffect?void 0:0}},n.savedChild=!1,n.isShown=!1,d.observerMode?n.handleObserve=n.handleObserve.bind(n):(n.revealHandler=n.makeHandler(n.reveal),n.resizeHandler=n.makeHandler(n.resize)),n.saveRef=n.saveRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.Component),s(t,[{key:"saveRef",value:function(e){this.childRef&&this.childRef(e),this.props.innerRef&&this.props.innerRef(e),this.el!==e&&(this.el=e&&"offsetHeight"in e?e:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&&this.el&&(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?o({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}
1}),!d.observerMode&&this.props.collapse&&window.document.dispatchEvent(d.collapseend)))}},{key:"animationEnd",value:function(e,t,r){var n=this,i=r.forever,a=r.count,o=r.delay,s=r.duration;if(!i){this.animationEndTimeout=window.setTimeout(function(){n&&n.el&&(n.animationEndTimeout=void 0,e.call(n))},o+(s+(t?s:0)*a))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(e,t,r){var n=r.duration+(t.cascade?r.duration:0),i=this.isOn?this.getDimensionValue():0,a=void 0,o=void 0;if(t.collapseOnly)a=r.duration/3,o=r.delay;else{var s=n>>2,c=s>>1;a=s,o=r.delay+(this.isOn?0:n-s-c),e.style.animationDuration=n-s+(this.isOn?c:-c)+"ms",e.style.animationDelay=r.delay+(this.isOn?s-c:0)+"ms"}return e.collapse={height:i,transition:"height "+a+"ms ease "+o+"ms",overflow:t.collapseOnly?"hidden":void 0},e}},{key:"animate",value:function(e){if(this&&this.el&&(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var t=!this.isOn&&e.outEffect,r=e[t?"outEffect":"inEffect"],n="style"in r&&r.style.animationName||void 0,i=void 0;e.collapseOnly?i={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((e.outEffect||this.isOn)&&r.make&&(n=r.make),i={hasAppeared:!0,hasExited:!1,collapse:void 0,style:o({},r.style,{animationDuration:r.duration+"ms",animationDelay:r.delay+"ms",animationIterationCount:r.forever?"infinite":r.count,opacity:1,animationName:n}),className:r.className}),this.setState(e.collapse?this.collapse(i,e,r):i),t?(this.savedChild=u.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,e.cascade,r)):this.savedChild=!1,this.onReveal(e)}}},{key:"onReveal",value:function(e){e.onReveal&&this.isOn&&(this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),e.wait?this.onRevealTimeout=window.setTimeout(e.onReveal,e.wait):e.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),d.ssr&&(0,d.disableSsr)()}},{key:"handleObserve",value:function(e,t){a(e,1)[0].intersectionRatio>0&&(t.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.el&&d.observerMode){if(this.observer){if(!t)return;this.observer.disconnect()}else if(t)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:e.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];d.globalHide||(0,d.hideAll)(),this&&this.el&&(e||(e=this.props),d.ssr&&(0,d.disableSsr)(),this.isOn&&this.isShown&&void 0!==e.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout(function(){return t.reveal(e)},200)):r||this.inViewport(e)||e.force?this.animate(e):d.observerMode?this.observe(e):this.listen())}},{key:"componentDidMount",value:function(){var e=this;if(this.el&&!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&&this.props.inEffect.make(!1,this.props),void 0!==this.props.when&&this.props.outEffect&&"make"in this.props.outEffect&&this.props.outEffect.make(!0,this.props));var r=this.context.transitionGroup,n=r&&!r.isMounting?!("enter"in this.props&&!1===this.props.enter):this.props.appear;return this.isOn&&((void 0!==this.props.when||void 0!==this.props.spy)&&
1!n||d.ssr&&!d.fadeOutEnabled&&!this.props.ssrFadeout&&this.props.outEffect&&!this.props.ssrReveal&&t.getTop(this.el)<window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):d.ssr&&(d.fadeOutEnabled||this.props.ssrFadeout)&&this.props.outEffect&&t.getTop(this.el)<window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout(function(){return e.reveal(e.props,!0)},2e3)):void(this.isOn&&(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(e){var t=this,r=void 0;r="string"==typeof e?e.split("").map(function(e,t){return u.default.createElement("span",{key:t,style:{display:"inline-block",whiteSpace:"pre"}},e)}):u.default.Children.toArray(e);var n=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],a=n.duration,s=n.reverse,c=r.length,l=2*a;this.props.collapse&&(l=parseInt(this.state.style.animationDuration,10),a=l/2);var f=s?c:0;return r.map(function(e){return"object"===(void 0===e?"undefined":i(e))&&e?u.default.cloneElement(e,{style:o({},e.props.style,t.state.style,{animationDuration:Math.round((0,d.cascade)(s?f--:f++,0,c,a,l))+"ms"})}):e})}},{key:"componentWillReceiveProps",value:function(e){void 0!==e.when&&(this.isOn=!!e.when),e.fraction!==this.props.fraction&&this.observe(e,!0),!this.isOn&&e.onExited&&"exit"in e&&!1===e.exit?e.onExited():e.disabled||(e.collapse&&!this.props.collapse&&(this.setState({style:{},collapse:t.getInitialCollapseStyle(e)}),this.isShown=!1),e.when===this.props.when&&e.spy===this.props.spy||this.reveal(e),this.onRevealTimeout&&!this.isOn&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&&!this.props.disabled)return this.savedChild;if("object"===i(this.props.children)){var e=u.default.Children.only(this.props.children);return"type"in e&&"string"==typeof e.type||"ref"!==this.props.refProp?e:u.default.createElement("div",null,e)}return u.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var e;e=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var t=this.getChild();"function"==typeof t.ref&&(this.childRef=t.ref);var r=!1,n=t.props,i=n.style,a=n.className,s=n.children,c=this.props.disabled?a:(this.props.outEffect?d.namespace:"")+(this.state.className?" "+this.state.className:"")+(a?" "+a:"")||void 0,l=void 0;"function"==typeof this.state.style.animationName&&(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&&!this.props.disabled&&s&&this.state.style.animationName?(r=this.cascade(s),l=o({},i,{opacity:1})):l=this.props.disabled?i:o({},i,this.state.style);var f=o({},this.props.props,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({className:c,style:l},this.props.refProp,this.saveRef)),p=u.default.cloneElement(t,f,e?r||s:void 0);return void 0!==this.props.collapse?this.props.collapseEl?u.default.cloneElement(this.props.collapseEl,{style:o({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:p}):u.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:p}):p}},{key:"makeHandler",value:function(e){var t=this,r=function(){e.call(t,t.props),t.ticking=!1};return function(){t.ticking||((0,d.raf)(r),t.ticking=!0)}}},{key:"inViewport",value:function(e){if(!this.el||window.document.hidden)return!1;var r=this.el.offsetHeight,n=window.pageYOffset-t.getTop(this.el),i=Math.min(r,window.innerHeight)*(d.globalHide?e.fraction:0);return n>i-window.innerHeight&&n<r-i}},{key:"resize",value:function(e){this&&this.el&&this.isOn&&this.inViewport(e)&&(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!e.outEffect?1:0}}),this.onReveal(e))}},{key:"listen",value:function(){d.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!d.observerMode&&this.isListener&&(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&&(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&&(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(e){return{height:0,visibility:e.when?void 0:"hidden"}}},{key:"getTop",value:function(e){for(;void 0===e.offsetTop;)e=e.parentNode;for(var t=e.offsetTop;e.offsetParent;t+=e.offsetTop)e=e.offsetParent;return t}}]),t}();m.propTypes=p,m.defaultProps={fraction:.2,refProp:"ref"},m.contextTypes=_,m.displayName="RevealBase",t.default=m,e.exports=t.default},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(0)),i=r(570),a=c(r(577)),o=c(r(579)),s=r(280);function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){g(e,t,r[t])})}return e}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=(0,s.canUseDOM)()&&r(580),v=function(e){function t(e){var r,n,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,i=p(t).call(this,e),r=!i||"object"!==u(i)&&"function"!==typeof i?m(n):i,g(m(m(r)),"innerSliderRefHandler",function(e){return r.innerSlider=e}),g(m(m(r)),"slickPrev",function(){return r.innerSlider.slickPrev()}),g(m(m(r)),"slickNext",function(){return r.innerSlider.slickNext()}),g(m(m(r)),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)}),g(m(m(r)),"slickPause",function(){return r.innerSlider.pause("paused")}),g(m(m(r)),"slickPlay",function(){return r.innerSlider.autoPlay("play")}),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}var r,c,v;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,n.default.Component),r=t,(c=[{key:"media",value:function(e,t){h.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentWillMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(r,n){var i;i=0===n?(0,a.default)({minWidth:0,maxWidth:r}):(0,a.default)({minWidth:t[n-1]+1,maxWidth:r}),(0,s.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:r})})});var r=(0,a.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(r,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){h.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,r=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===r.state.breakpoint}))[0].settings?"unslick":d({},o.default,this.props,t[0].settings):d({},o.default,this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=n.default.Children.toArray(this.props.children);a=a.filter(function(e){return"string"===typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],c=null,u=0;u<a.length;u+=e.rows*e.slidesPerRow){for(var f=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var _=[],m=p;m<p+e.slidesPerRow&&(e.variableWidth&&a[m].props.style&&(c=a[m].props.style.width),!(m>=a.length));m+=1)_.push(n.default.cloneElement(a[m],{key:100*u+10*p+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));f.push(n.default.createElement("div",{key:10*u+p},_))}e.variableWidth?s.push(n.default.createElement("div",{key:u,style:{width:c}},f)):s.push(n.default.createElement("div",{key:u},f))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:g},s)}return s.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(i.InnerSlider,l({ref:this.innerSliderRefHandler},e),s)}}])&&f(r.prototype,c),v&&f(r,v),t}();t.default=v},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var n=p(r(0)),i=p(r(161)),a=p(r(571)),o=p(r(572)),s=p(r(229)),c=r(280),u=r(573),l=r(574),d=r(575),f=p(r(576));function p(e){return e&&e.__esModule?e:{default:e}}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function g(e){return(g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){x(e,t,r[t])})}return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var S=function(e){function t(e){var r,p,y;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p=this,y=v(t).call(this,e),r=!y||"object"!==g(y)&&"function"!==typeof y?b(p):y,x(b(b(r)),"listRefHandler",function(e){return r.list=e}),x(b(b(r)),"trackRefHandler",function(e){return r.track=e}),x(b(b(r)),"adaptHeight",function(){if(r.props.adaptiveHeight&&r.list){var e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]'));r.list.style.height=(0,c.getHeight)(e)+"px"}}),x(b(b(r)),"componentWillMount",function(){if(r.ssrInit(),r.props.onInit&&r.props.onInit(),r.props.lazyLoad){var e=(0,c.getOnDemandLazySlides)(h({},r.props,r.state));e.length>0&&(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e))}}),x(b(b(r)),"componentDidMount",function(){var e=h({listRef:r.list,trackRef:r.track},r.props);r.updateState(e,!0,function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("update")}),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new f.default(function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout(function(){return r.onWindowResized()},r.props.speed))):r.onWindowResized()}),r.ro.observe(r.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null}),window&&(window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized))}),x(b(b(r)),"componentWillUnmount",function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach(function(e){return clearTimeout(e)}),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer)}),x(b(b(r)),"componentWillReceiveProps",function(e){for(var t=h({listRef:r.list,trackRef:r.track},e,r.state),i=!1,a=Object.keys(r.props),o=0;o<a.length;o++){var s=a[o];if(!e.hasOwnProperty(s)){i=!0;break}if("object"!==g(e[s])&&"function"!==typeof e[s]&&e[s]!==r.props[s]){i=!0;break}}r.updateState(t,i,function(){r.state.currentSlide>=n.default.Children.count(e.children)&&r.changeSlide({message:"index",index:n.default.Children.count(e.children)-e.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay?r.autoPlay("update"):r.pause("paused")})}),x(b(b(r)),"componentDidUpdate",function(){if(r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad){var e=(0,c.getOnDemandLazySlides)(h({},r.props,r.state));e.length>0&&(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e))}r.adaptHeight()}),x(b(b(r)),"onWindowResized",function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=(0,o.default)(function(){return r.resizeWindow(e)},50),r.debouncedResize()}),x(b(b(r)),"resizeWindow",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(i.default.findDOMNode(r.track)){var t=h({listRef:r.list,trackRef:r.track},r.props,r.state);r.updateState(t,e,function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")}),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback}}),x(b(b(r)),"updateState",function(e,t,i){var a=(0,c.initializedState)(e);e=h({},e,a,{slideIndex:a.currentSlide}),e=h({},e,{left:(0,c.getTrackLeft)(e)});var o=(0,c.getTrackCSS)(e);(t||n.default.Children.count(r.props.children)!==n.default.Children.count(e.children))&&(a.trackStyle=o),r.setState(a,i)}),x(b(b(r)),"ssrInit",function(){if(r.props.variableWidth){var e=0,t=0,i=[],a=(0,c.getPreClones)(h({},r.props,r.state,{slideCount:r.props.children.length})),o=(0,c.getPostClones)(h({},r.props,r.state,{slideCount:r.props.children.length}));
1r.props.children.forEach(function(t){i.push(t.props.style.width),e+=t.props.style.width});for(var s=0;s<a;s++)t+=i[i.length-1-s],e+=i[i.length-1-s];for(var u=0;u<o;u++)e+=i[u];for(var l=0;l<r.state.currentSlide;l++)t+=i[l];var d={width:e+"px",left:-t+"px"};if(r.props.centerMode){var f="".concat(i[r.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}r.setState({trackStyle:d})}else{var p=n.default.Children.count(r.props.children),_=h({},r.props,r.state,{slideCount:p}),m=(0,c.getPreClones)(_)+(0,c.getPostClones)(_)+p,g=100/r.props.slidesToShow*m,v=100/m,y=-v*((0,c.getPreClones)(_)+r.state.currentSlide)*g/100;r.props.centerMode&&(y+=(100-v*g/100)/2);var b={width:g+"%",left:y+"%"};r.setState({slideWidth:v+"%",trackStyle:b})}}),x(b(b(r)),"checkImagesLoad",function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var i=function(){return++n&&n>=t&&r.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=i,e.onerror=function(){i(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))})}),x(b(b(r)),"progressiveLazyLoad",function(){for(var e=[],t=h({},r.props,r.state),n=r.state.currentSlide;n<r.state.slideCount+(0,c.getPostClones)(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var i=r.state.currentSlide-1;i>=-(0,c.getPreClones)(t);i--)if(r.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(r.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)}),x(b(b(r)),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.props,i=n.asNavFor,a=n.beforeChange,o=n.onLazyLoad,s=n.speed,u=n.afterChange,l=r.state.currentSlide,d=(0,c.slideHandler)(h({index:e},r.props,r.state,{trackRef:r.track,useCSS:r.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){a&&a(l,f.currentSlide);var _=f.lazyLoadedList.filter(function(e){return r.state.lazyLoadedList.indexOf(e)<0});o&&_.length>0&&o(_),r.setState(f,function(){i&&i.innerSlider.state.currentSlide!==r.state.currentSlide&&i.innerSlider.slideHandler(e),p&&(r.animationEndCallback=setTimeout(function(){var e=p.animating,t=m(p,["animating"]);r.setState(t,function(){r.callbackTimers.push(setTimeout(function(){return r.setState({animating:e})},10)),u&&u(f.currentSlide),delete r.animationEndCallback})},s))})}}),x(b(b(r)),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=h({},r.props,r.state),i=(0,c.changeSlide)(n,e);(0===i||i)&&(!0===t?r.slideHandler(i,t):r.slideHandler(i))}),x(b(b(r)),"clickHandler",function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0}),x(b(b(r)),"keyHandler",function(e){var t=(0,c.keyHandler)(e,r.props.accessibility,r.props.rtl);""!==t&&r.changeSlide({message:t})}),x(b(b(r)),"selectHandler",function(e){r.changeSlide(e)}),x(b(b(r)),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),x(b(b(r)),"enableBodyScroll",function(){window.ontouchmove=null}),x(b(b(r)),"swipeStart",function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t=(0,c.swipeStart)(e,r.props.swipe,r.props.draggable);""!==t&&r.setState(t)}),x(b(b(r)),"swipeMove",function(e){var t=(0,c.swipeMove)(e,h({},r.props,r.state,{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))}),x(b(b(r)),"swipeEnd",function(e){var t=(0,c.swipeEnd)(e,h({},r.props,r.state,{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,r.setState(t),void 0!==n&&(r.slideHandler(n),r.props.verticalSwiping&&r.enableBodyScroll())}}),x(b(b(r)),"slickPrev",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"previous"})},0))}),x(b(b(r)),"slickNext",function(){r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"next"})},0))}),x(b(b(r)),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";r.callbackTimers.push(setTimeout(function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)},0))}),x(b(b(r)),"play",function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!(0,c.canGoNext)(h({},r.props,r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)}),x(b(b(r)),"autoPlay",function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({auto
1playing:"playing"})}),x(b(b(r)),"pause",function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})}),x(b(b(r)),"onDotsOver",function(){return r.props.autoplay&&r.pause("hovered")}),x(b(b(r)),"onDotsLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),x(b(b(r)),"onTrackOver",function(){return r.props.autoplay&&r.pause("hovered")}),x(b(b(r)),"onTrackLeave",function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")}),x(b(b(r)),"onSlideFocus",function(){return r.props.autoplay&&r.pause("focused")}),x(b(b(r)),"onSlideBlur",function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")}),x(b(b(r)),"render",function(){var e,t,i,a=(0,s.default)("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),o=h({},r.props,r.state),f=(0,c.extractObject)(o,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),p=r.props.pauseOnHover;if(f=h({},f,{onMouseEnter:p?r.onTrackOver:null,onMouseLeave:p?r.onTrackLeave:null,onMouseOver:p?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect?r.selectHandler:null}),!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow){var m=(0,c.extractObject)(o,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=r.props.pauseOnDotsHover;m=h({},m,{clickHandler:r.changeSlide,onMouseEnter:g?r.onDotsLeave:null,onMouseOver:g?r.onDotsOver:null,onMouseLeave:g?r.onDotsLeave:null}),e=n.default.createElement(l.Dots,m)}var v=(0,c.extractObject)(o,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=r.changeSlide,r.props.arrows&&(t=n.default.createElement(d.PrevArrow,v),i=n.default.createElement(d.NextArrow,v));var y=null;r.props.vertical&&(y={height:r.state.listHeight});var b=null;!1===r.props.vertical?!0===r.props.centerMode&&(b={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(b={padding:r.props.centerPadding+" 0px"});var x=h({},y,b),S=r.props.touchMove,k={className:"slick-list",style:x,onClick:r.clickHandler,onMouseDown:S?r.swipeStart:null,onMouseMove:r.state.dragging&&S?r.swipeMove:null,onMouseUp:S?r.swipeEnd:null,onMouseLeave:r.state.dragging&&S?r.swipeEnd:null,onTouchStart:S?r.swipeStart:null,onTouchMove:r.state.dragging&&S?r.swipeMove:null,onTouchEnd:S?r.swipeEnd:null,onTouchCancel:r.state.dragging&&S?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},C={className:a,dir:"ltr"};return r.props.unslick&&(k={className:"slick-list"},C={className:a}),n.default.createElement("div",C,r.props.unslick?"":t,n.default.createElement("div",_({ref:r.listRefHandler},k),n.default.createElement(u.Track,_({ref:r.trackRefHandler},f),r.props.children)),r.props.unslick?"":i,r.props.unslick?"":e)}),r.list=null,r.track=null,r.state=h({},a.default,{currentSlide:r.props.initialSlide,slideCount:n.default.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null,r}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,n.default.Component),t}();t.InnerSlider=S},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0};t.default=n},function(e,t,r){(function(t){var r="Expected a function",n=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),p=Object.prototype.toString,_=Math.max,m=Math.min,g=function(){return f.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==i}(e))return n;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=s.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):o.test(e)?n:+e}e.exports=function(e,t,n){var i,a,o,s,c,u,l=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError(r);function y(t){var r=i,n=a;return i=a=void 0,l=t,s=e.apply(n,r)}function b(e){var r=e-u;return void 0===u||r>=t||r<0||f&&e-l>=o}function x(){var e=g();if(b(e))return S(e);c=setTimeout(x,function(e){var r=t-(e-u);return f?m(r,o-(e-l)):r}(e))}function S(e){return c=void 0,p&&i?y(e):(i=a=void 0,s)}function k(){var e=g(),r=b(e);
1if(i=arguments,a=this,u=e,r){if(void 0===c)return function(e){return l=e,c=setTimeout(x,t),d?y(e):s}(u);if(f)return c=setTimeout(x,t),y(u)}return void 0===c&&(c=setTimeout(x,t)),s}return t=v(t)||0,h(n)&&(d=!!n.leading,o=(f="maxWait"in n)?_(v(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),k.cancel=function(){void 0!==c&&clearTimeout(c),l=0,i=u=a=c=void 0},k.flush=function(){return void 0===c?s:S(g())},k}}).call(this,r(127))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=o(r(0)),i=o(r(229)),a=r(280);function o(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){_(e,t,r[t])})}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=function(e){var t,r,n,i,a;return n=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),r=(a-e.currentSlide)%e.slideCount===0,a>e.currentSlide-i-1&&a<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":r,"slick-cloned":n,"slick-current":a===e.currentSlide}},g=function(e,t){return e.key||t},h=function(e){var t,r=[],o=[],s=[],c=n.default.Children.count(e.children),u=(0,a.lazyStartIndex)(e),l=(0,a.lazyEndIndex)(e);return n.default.Children.forEach(e.children,function(d,f){var _,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};_=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:n.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(p({},e,{index:f})),y=_.props.className||"",b=m(p({},e,{index:f}));if(r.push(n.default.cloneElement(_,{key:"original"+g(_,f),"data-index":f,className:(0,i.default)(b,y),tabIndex:"-1","aria-hidden":!b["slick-active"],style:p({outline:"none"},_.props.style||{},v),onClick:function(t){_.props&&_.props.onClick&&_.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var x=c-f;x<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-x)>=u&&(_=d),b=m(p({},e,{index:t})),o.push(n.default.cloneElement(_,{key:"precloned"+g(_,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(b,y),"aria-hidden":!b["slick-active"],style:p({},_.props.style||{},v),onClick:function(t){_.props&&_.props.onClick&&_.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),c!==e.slidesToShow&&((t=c+f)<l&&(_=d),b=m(p({},e,{index:t})),s.push(n.default.cloneElement(_,{key:"postcloned"+g(_,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(b,y),"aria-hidden":!b["slick-active"],style:p({},_.props.style||{},v),onClick:function(t){_.props&&_.props.onClick&&_.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}}),e.rtl?o.concat(r,s).reverse():o.concat(r,s)},v=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,d(t).apply(this,arguments))}var r,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,n.default.PureComponent),r=t,(i=[{key:"render",value:function(){var e=h(this.props),t=this.props,r={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({className:"slick-track",style:this.props.trackStyle},r),e)}}
1])&&u(r.prototype,i),a&&u(r,a),t}();t.Track=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=a(r(0)),i=a(r(229));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,l(t).apply(this,arguments))}var r,a,o;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,n.default.PureComponent),r=t,(a=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){var e,t=this,r=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,a=this.props,o={onMouseEnter:a.onMouseEnter,onMouseOver:a.onMouseOver,onMouseLeave:a.onMouseLeave},c=Array.apply(null,Array(r+1).join("0").split("")).map(function(e,r){var a=r*t.props.slidesToScroll,o=r*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=(0,i.default)({"slick-active":t.props.currentSlide>=a&&t.props.currentSlide<=o}),c={message:"dots",index:r,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},u=t.clickHandler.bind(t,c);return n.default.createElement("li",{key:r,className:s},n.default.cloneElement(t.props.customPaging(r),{onClick:u}))});return n.default.cloneElement(this.props.appendDots(c),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){s(e,t,r[t])})}return e}({className:this.props.dotsClass},o))}}])&&c(r.prototype,a),o&&c(r,o),t}();t.Dots=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var n=o(r(0)),i=o(r(229)),a=r(280);function o(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){l(e,t,r[t])})}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function _(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}
1function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){function t(){return d(this,t),_(this,m(t).apply(this,arguments))}return g(t,n.default.PureComponent),p(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var r={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u({},r,a)):n.default.createElement("button",c({key:"0",type:"button"},r)," ","Previous")}}]),t}();t.PrevArrow=v;var y=function(e){function t(){return d(this,t),_(this,m(t).apply(this,arguments))}return g(t,n.default.PureComponent),p(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var r={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u({},r,o)):n.default.createElement("button",c({key:"1",type:"button"},r)," ","Next")}}]),t}();t.NextArrow=y},function(e,t,r){"use strict";r.r(t),function(e){var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var r=-1;return e.some(function(e,n){return e[0]===t&&(r=n,!0)}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var i=n[r];e.call(t,i[1],i[0])}},t}()}(),n="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i="undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},o=2;var s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,i=0;function s(){r&&(r=!1,e()),n&&u()}function c(){a(s)}function u(){var e=Date.now();if(r){if(e-i<o)return;n=!0}else r=!0,n=!1,setTimeout(c,t);i=e}return u}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;c.some(function(e){return!!~r.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function _(e){return parseFloat(e)||0}function m(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(t,r){return t+_(e["border-"+r+"-width"])},0)}function g(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return p;var n=f(e).getComputedStyle(e),i=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var i=n[r],a=e["padding-"+i];t[i]=_(a)}return t}(n),a=i.left+i.right,o=i.top+i.bottom,s=_(n.width),c=_(n.height);if("border-box"===n.boxSizing&&(Math.round(s+a)!==t&&(s-=m(n,"left","right")+a),Math.round(c+o)!==r&&(c-=m(n,"top","bottom")+o)),!function(e){return e===f(e).document.documentElement}(e)){var u=Math.round(s+a)-t,l=Math.round(c+o)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return y(i.left,i.top,s,c)}var h="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox};function v(e){return n?h(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):g(e):p}function y(e,t,r,n){return{x:e,y:t,width:r,height:n}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(){return function(e,t){var r=function(e){var t=e.x,r=e.y,n=e.width,i=e.height,a="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,o=Object.create(a.prototype);return d(o,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),o}(t);d(this,{target:e,contentRect:r})}}(),S=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new x(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!==typeof WeakMap?new WeakMap:new r,C=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=l.getInstance(),n=new S(t,r,this);k.set(this,n)}}();["observe","unobserve","disconnect"].forEach(function(e){C.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}});var E="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:C;t.default=E}.call(this,r(127))},function(e,t,r){var n=r(578),i=function(e){var t="",r=Object.keys(e);return r.forEach(function(i,a){var o=e[i];(function(e){return/[height|width]$/.test(e)})(i=n(i))&&"number"===typeof o&&(o+="px"),t+=!0===o?i:!1===o?"not "+i:"("+i+": "+o+")",a<r.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"===typeof e?e:e instanceof Array?(e.forEach(function(r,n){t+=i(r),n<e.length-1&&(t+=", ")}),t):i(e)}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(0))&&n.__esModule?n:{default:n};var a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},function(e,t,r){var n=r(581);e.exports=new n},function(e,t,r){var n=r(582),i=r(377),a=i.each,o=i.isFunction,s=i.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia n
1ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,r){var i=this.queries,c=r&&this.browserIsIncapable;return i[e]||(i[e]=new n(e,c)),o(t)&&(t={match:t}),s(t)||(t=[t]),a(t,function(t){o(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=c},function(e,t,r){var n=r(583),i=r(377).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,function(t){t[e]()})}},e.exports=a},function(e,t){function r(e){this.options=e,!e.deferSetup&&this.setup()}r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=r},function(e,t){function r(e,t){if(!(this instanceof r))return new r(e,t);this.per_page=e||25,this.length=t||10}e.exports=r,r.prototype.build=function(e,t){var r=Math.ceil(e/this.per_page);e=parseInt(e,10),(t=parseInt(t,10)||1)<1&&(t=1),t>r&&(t=r);var n=Math.max(1,t-Math.floor(this.length/2)),i=Math.min(r,t+Math.floor(this.length/2));i-n+1<this.length&&(t<r/2?i=Math.min(r,i+(this.length-(i-n))):n=Math.max(1,n-(this.length-(i-n)))),i-n+1>this.length&&(t>r/2?n++:i--);var a=this.per_page*(t-1);a<0&&(a=0);var o=this.per_page*t-1;return o<0&&(o=0),o>Math.max(e-1,0)&&(o=Math.max(e-1,0)),{total_pages:r,pages:Math.min(i-n+1,r),current_page:t,first_page:n,last_page:i,previous_page:t-1,next_page:t+1,has_previous_page:t>1,has_next_page:t<r,total_results:e,results:Math.min(o-a+1,e),first_result:a,last_result:o}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=s(i),o=(s(r(26)),s(r(229)));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),n(t,[{key:"handleClick",value:function(e){var t=this.props,r=t.isDisabled,n=t.pageNumber;e.preventDefault(),r||this.props.onClick(n)}},{key:"render",value:function(){var e,t=this.props,r=t.pageText,n=(t.pageNumber,t.activeClass),i=t.itemClass,s=t.linkClass,u=t.activeLinkClass,l=t.disabledClass,d=t.isActive,f=t.isDisabled,p=t.href,_=(0,o.default)(i,(c(e={},n,d),c(e,l,f),e)),m=(0,o.default)(s,c({},u,d));return a.default.createElement("li",{className:_,onClick:this.handleClick.bind(this)},a.default.createElement("a",{className:m,href:p},r))}}]),t}();u.defaultProps={activeClass:"active",disabledClass:"disabled",itemClass:void 0,linkClass:void 0,activeLinkCLass:void 0,isActive:!1,isDisabled:!1,href:"#"},t.default=u},function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e.default:e}var i=r(0),a=n(i),o=n(r(587));function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,r){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");
1if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof r&&"function"!==typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(n){if("function"!==typeof n)throw new Error("Expected WrappedComponent to be a React component.");var u,l=[];function d(){u=e(l.map(function(e){return e.props})),f.canUseDOM?t(u):r&&(u=r(u))}var f=function(e){var t,r;function i(){return e.apply(this,arguments)||this}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i.peek=function(){return u},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,l=[],e};var s=i.prototype;return s.shouldComponentUpdate=function(e){return!o(e,this.props)},s.componentWillMount=function(){l.push(this),d()},s.componentDidUpdate=function(){d()},s.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),d()},s.render=function(){return a.createElement(n,this.props)},i}(i.Component);return s(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),s(f,"canUseDOM",c),f}}},function(e,t){e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var u=a[c];if(!s(u))return!1;var l=e[u],d=t[u];if(!1===(i=r?r.call(n,l,d,u):void 0)||void 0===i&&l!==d)return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0,t.removeDocumentMeta=a,t.insertDocumentMeta=function(e){a(),(0,n.forEach)(e,o)};var n=r(378);t.canUseDOM=!("undefined"===typeof window||!window.document||!window.document.createElement);function i(e){e.parentNode.removeChild(e)}function a(){(0,n.forEach)(document.querySelectorAll("head [data-rdm]"),i)}function o(e){var t=e.tagName,r=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["tagName"]),n=document.createElement(t);for(var i in r)e.hasOwnProperty(i)&&n.setAttribute(i,e[i]);n.setAttribute("data-rdm",""),document.getElementsByTagName("head")[0].appendChild(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var n=r(752),i=r(753),a=r(754);e.exports=function(e,t){return n(e)||i(e,t)||a()}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(c){i=!0,a=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw a}}return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}},function(e,t,r){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(i){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],a(r),a(n))}function o(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!==typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var r={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},n=i.exec(e);n;){try{r[n[0]]=decodeURIComponent(n[0])}catch(t){var a=o(n[0]);a!==n[0]&&(r[n[0]]=a)}n=i.exec(e)}r["%C2"]="\ufffd";for(var s=Object.keys(r),c=0;c<s.length;c++){var u=s[c];e=e.replace(new RegExp(u,"g"),r[u])}return e}(e)}}},function(e,t,r){"use strict";e.exports=function(e,t){if("string"!==typeof e||"string"!==typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},,,,,function(e,t,r){"use strict";var n=r(281).FileCoverage,i=r(281).CoverageSummary;function a(e){this.data=e?e instanceof a?e.data:function(e){var t=Object.create(null);return Object.keys(e).forEach(function(r){var i=e[r];t[r]=i instanceof n?i:new n(i)}),t}(e):Object.create(null)}a.prototype.merge=function(e){var t,r=this;
vendor: 4,954 bytes, line 1
1t=e instanceof a?e:new a(e),Object.keys(t.data).forEach(function(e){var n=t.data[e];r.data[e]?r.data[e].merge(n):r.data[e]=n})},a.prototype.filter=function(e){var t=this;Object.keys(this.data).forEach(function(r){e(r)||delete t.data[r]})},a.prototype.toJSON=function(){return this.data},a.prototype.files=function(){return Object.keys(this.data)},a.prototype.fileCoverageFor=function(e){var t=this.data[e];if(!t)throw new Error("No file coverage available for: "+e);return t},a.prototype.addFileCoverage=function(e){var t=new n(e),r=t.path;this.data[r]?this.data[r].merge(t):this.data[r]=t},a.prototype.getCoverageSummary=function(){var e=this,t=new i;return this.files().forEach(function(r){t.merge(e.fileCoverageFor(r).toSummary())}),t},e.exports={CoverageMap:a}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,a=Object.create(i.prototype),o=new w(n||[]);return a._invoke=function(e,t,r){var n=l;return function(i,a){if(n===f)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw a;return A()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=C(o,r);if(s){if(s===_)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var c=u(e,t,r);if("normal"===c.type){if(n=r.done?p:d,c.arg===_)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=p,r.method="throw",r.arg=c.arg)}}}(e,r,o),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",f="executing",p="completed",_={};function m(){}function g(){}function h(){}var v={};v[a]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(D([])));b&&b!==r&&n.call(b,a)&&(v=b);var x=h.prototype=m.prototype=Object.create(v);function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function k(e){var t;this._invoke=function(r,i){function a(){return new Promise(function(t,a){!function t(r,i,a,o){var s=u(e[r],e,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"===typeof l&&n.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){c.value=e,a(c)},function(e){return t("throw",e,a,o)})}o(s.arg)}(r,i,t,a)})}return t=t?t.then(a,a):a()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return _;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var i=u(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,_;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,_):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,_)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function D(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}return{next:A}}function A(){return{value:t,done:!0}}return g.prototype=x.constructor=h,h.constructor=g,h[s]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},S(k.prototype),k.prototype[o]=function(){return this},e.AsyncIterator=k,e.async=function(t,r,n,i){var a=new k(c(t,r,n,i));return e.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},S(x),x[s]="Generator",x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=D,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
1h(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),_}},e}(e.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=s(r(0)),o=s(r(768));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(t.CopyToClipboard=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,s=Array(i),u=0;u<i;u++)s[u]=arguments[u];return r=n=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),n.onClick=function(e){var t=n.props,r=t.text,i=t.onCopy,s=t.children,c=t.options,u=a.default.Children.only(s),l=(0,o.default)(r,c);i&&i(r,l),u&&u.props&&"function"===typeof u.props.onClick&&u.props.onClick(e)},c(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.PureComponent),i(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["text","onCopy","options","children"]),i=a.default.Children.only(t);return a.default.cloneElement(i,n({},r,{onClick:this.onClick}))}}]),t}()).defaultProps={onCopy:void 0,options:void 0}},function(e,t,r){"use strict";var n=r(769),i="Copy to clipboard: #{key}, Enter";e.exports=function(e,t){var r,a,o,s,c,u,l=!1;t||(t={}),r=t.debug||!1;try{if(o=n(),s=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(r){r.stopPropagation(),t.format&&(r.preventDefault(),r.clipboardData.clearData(),r.clipboardData.setData(t.format,e))}),document.body.appendChild(u),s.selectNodeContents(u),c.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(d){r&&console.error("unable to copy using execCommand: ",d),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),l=!0}catch(d){r&&console.error("unable to copy using clipboardData: ",d),r&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:i),window.prompt(a,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(s):c.removeAllRanges()),u&&document.body.removeChild(u),o()}return l}},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach(function(t){e.addRange(t)}
1),t&&t.focus()}}},,,,,,,function(e,t,r){"use strict";(function(t,n,i,a){var o=this&&this.__assign||Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},c=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();!function(e){!function(e){e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan"}(e.Comparison||(e.Comparison={})),function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.StringLiteral=9]="StringLiteral",e[e.JsxText=10]="JsxText",e[e.JsxTextAllWhiteSpaces=11]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=12]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=13]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=14]="TemplateHead",e[e.TemplateMiddle=15]="TemplateMiddle",e[e.TemplateTail=16]="TemplateTail",e[e.OpenBraceToken=17]="OpenBraceToken",e[e.CloseBraceToken=18]="CloseBraceToken",e[e.OpenParenToken=19]="OpenParenToken",e[e.CloseParenToken=20]="CloseParenToken",e[e.OpenBracketToken=21]="OpenBracketToken",e[e.CloseBracketToken=22]="CloseBracketToken",e[e.DotToken=23]="DotToken",e[e.DotDotDotToken=24]="DotDotDotToken",e[e.SemicolonToken=25]="SemicolonToken",e[e.CommaToken=26]="CommaToken",e[e.LessThanToken=27]="LessThanToken",e[e.LessThanSlashToken=28]="LessThanSlashToken",e[e.GreaterThanToken=29]="GreaterThanToken",e[e.LessThanEqualsToken=30]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=31]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=32]="EqualsEqualsToken",e[e.ExclamationEqualsToken=33]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=34]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=35]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=36]="EqualsGreaterThanToken",e[e.PlusToken=37]="PlusToken",e[e.MinusToken=38]="MinusToken",e[e.AsteriskToken=39]="AsteriskToken",e[e.AsteriskAsteriskToken=40]="AsteriskAsteriskToken",e[e.SlashToken=41]="SlashToken",e[e.PercentToken=42]="PercentToken",e[e.PlusPlusToken=43]="PlusPlusToken",e[e.MinusMinusToken=44]="MinusMinusToken",e[e.LessThanLessThanToken=45]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=46]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=47]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=48]="AmpersandToken",e[e.BarToken=49]="BarToken",e[e.CaretToken=50]="CaretToken",e[e.ExclamationToken=51]="ExclamationToken",e[e.TildeToken=52]="TildeToken",e[e.AmpersandAmpersandToken=53]="AmpersandAmpersandToken",e[e.BarBarToken=54]="BarBarToken",e[e.QuestionToken=55]="QuestionToken",e[e.ColonToken=56]="ColonToken",e[e.AtToken=57]="AtToken",e[e.EqualsToken=58]="EqualsToken",e[e.PlusEqualsToken=59]="PlusEqualsToken",e[e.MinusEqualsToken=60]="MinusEqualsToken",e[e.AsteriskEqualsToken=61]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=62]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=63]="SlashEqualsToken",e[e.PercentEqualsToken=64]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=65]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=66]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=67]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=68]="AmpersandEqualsToken",e[e.BarEqualsToken=69]="BarEqualsToken",e[e.CaretEqualsToken=70]="CaretEqualsToken",e[e.Identifier=71]="Identifier",e[e.BreakKeyword=72]="BreakKeyword",e[e.CaseKeyword=73]="CaseKeyword",e[e.CatchKeyword=74]="Cat
1chKeyword",e[e.ClassKeyword=75]="ClassKeyword",e[e.ConstKeyword=76]="ConstKeyword",e[e.ContinueKeyword=77]="ContinueKeyword",e[e.DebuggerKeyword=78]="DebuggerKeyword",e[e.DefaultKeyword=79]="DefaultKeyword",e[e.DeleteKeyword=80]="DeleteKeyword",e[e.DoKeyword=81]="DoKeyword",e[e.ElseKeyword=82]="ElseKeyword",e[e.EnumKeyword=83]="EnumKeyword",e[e.ExportKeyword=84]="ExportKeyword",e[e.ExtendsKeyword=85]="ExtendsKeyword",e[e.FalseKeyword=86]="FalseKeyword",e[e.FinallyKeyword=87]="FinallyKeyword",e[e.ForKeyword=88]="ForKeyword",e[e.FunctionKeyword=89]="FunctionKeyword",e[e.IfKeyword=90]="IfKeyword",e[e.ImportKeyword=91]="ImportKeyword",e[e.InKeyword=92]="InKeyword",e[e.InstanceOfKeyword=93]="InstanceOfKeyword",e[e.NewKeyword=94]="NewKeyword",e[e.NullKeyword=95]="NullKeyword",e[e.ReturnKeyword=96]="ReturnKeyword",e[e.SuperKeyword=97]="SuperKeyword",e[e.SwitchKeyword=98]="SwitchKeyword",e[e.ThisKeyword=99]="ThisKeyword",e[e.ThrowKeyword=100]="ThrowKeyword",e[e.TrueKeyword=101]="TrueKeyword",e[e.TryKeyword=102]="TryKeyword",e[e.TypeOfKeyword=103]="TypeOfKeyword",e[e.VarKeyword=104]="VarKeyword",e[e.VoidKeyword=105]="VoidKeyword",e[e.WhileKeyword=106]="WhileKeyword",e[e.WithKeyword=107]="WithKeyword",e[e.ImplementsKeyword=108]="ImplementsKeyword",e[e.InterfaceKeyword=109]="InterfaceKeyword",e[e.LetKeyword=110]="LetKeyword",e[e.PackageKeyword=111]="PackageKeyword",e[e.PrivateKeyword=112]="PrivateKeyword",e[e.ProtectedKeyword=113]="ProtectedKeyword",e[e.PublicKeyword=114]="PublicKeyword",e[e.StaticKeyword=115]="StaticKeyword",e[e.YieldKeyword=116]="YieldKeyword",e[e.AbstractKeyword=117]="AbstractKeyword",e[e.AsKeyword=118]="AsKeyword",e[e.AnyKeyword=119]="AnyKeyword",e[e.AsyncKeyword=120]="AsyncKeyword",e[e.AwaitKeyword=121]="AwaitKeyword",e[e.BooleanKeyword=122]="BooleanKeyword",e[e.ConstructorKeyword=123]="ConstructorKeyword",e[e.DeclareKeyword=124]="DeclareKeyword",e[e.GetKeyword=125]="GetKeyword",e[e.InferKeyword=126]="InferKeyword",e[e.IsKeyword=127]="IsKeyword",e[e.KeyOfKeyword=128]="KeyOfKeyword",e[e.ModuleKeyword=129]="ModuleKeyword",e[e.NamespaceKeyword=130]="NamespaceKeyword",e[e.NeverKeyword=131]="NeverKeyword",e[e.ReadonlyKeyword=132]="ReadonlyKeyword",e[e.RequireKeyword=133]="RequireKeyword",e[e.NumberKeyword=134]="NumberKeyword",e[e.ObjectKeyword=135]="ObjectKeyword",e[e.SetKeyword=136]="SetKeyword",e[e.StringKeyword=137]="StringKeyword",e[e.SymbolKeyword=138]="SymbolKeyword",e[e.TypeKeyword=139]="TypeKeyword",e[e.UndefinedKeyword=140]="UndefinedKeyword",e[e.UniqueKeyword=141]="UniqueKeyword",e[e.FromKeyword=142]="FromKeyword",e[e.GlobalKeyword=143]="GlobalKeyword",e[e.OfKeyword=144]="OfKeyword",e[e.QualifiedName=145]="QualifiedName",e[e.ComputedPropertyName=146]="ComputedPropertyName",e[e.TypeParameter=147]="TypeParameter",e[e.Parameter=148]="Parameter",e[e.Decorator=149]="Decorator",e[e.PropertySignature=150]="PropertySignature",e[e.PropertyDeclaration=151]="PropertyDeclaration",e[e.MethodSignature=152]="MethodSignature",e[e.MethodDeclaration=153]="MethodDeclaration",e[e.Constructor=154]="Constructor",e[e.GetAccessor=155]="GetAccessor",e[e.SetAccessor=156]="SetAccessor",e[e.CallSignature=157]="CallSignature",e[e.ConstructSignature=158]="ConstructSignature",e[e.IndexSignature=159]="IndexSignature",e[e.TypePredicate=160]="TypePredicate",e[e.TypeReference=161]="TypeReference",e[e.FunctionType=162]="FunctionType",e[e.ConstructorType=163]="ConstructorType",e[e.TypeQuery=164]="TypeQuery",e[e.TypeLiteral=165]="TypeLiteral",e[e.ArrayType=166]="ArrayType",e[e.TupleType=167]="TupleType",e[e.UnionType=168]="UnionType",e[e.IntersectionType=169]="IntersectionType",e[e.ConditionalType=170]="ConditionalType",e[e.InferType=171]="InferType",e[e.ParenthesizedType=172]="ParenthesizedType",e[e.ThisType=173]="ThisType",e[e.TypeOperator=174]="TypeOperator",e[e.IndexedAccessType=175]="IndexedAccessType",e[e.MappedType=176]="MappedType",e[e.LiteralType=177]="LiteralType",e[e.ImportType=178]="ImportType",e[e.ObjectBindingPattern=179]="ObjectBindingPattern",e[e.ArrayBindingPattern=180]="ArrayBindingPattern",e[e.BindingElement=181]="BindingElement",e[e.ArrayLiteralExpression=182]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=183]="ObjectLiteralExpression",e[e.PropertyAccessExpression=184]="PropertyAccessExpression",e[e.ElementAccessExpression=185]="ElementAccessExpression",e[e.CallExpression=186]="CallExpression",e[e.NewExpression=187]="NewExpression",e[e.TaggedTemplateExpression=188]="TaggedTemplateExpression",e[e.TypeAssertionExpression=189]="TypeAssertionExpression",e[e.ParenthesizedExpression=190]="ParenthesizedExpression",e[e.FunctionExpression=191]="FunctionExpression",e[e.ArrowFunction=192]="ArrowFunction",e[e.DeleteExpression=193]="DeleteExpression",e[e.TypeOfExpression=194]="TypeOfExpression",e[e.VoidExpression=195]="VoidExpression",e[e.AwaitExpression=196]="AwaitExpression",e[e.PrefixUnaryExpression=197]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=198]="PostfixUnaryExpression",e[e.BinaryExpression=199]="BinaryExpression",e[e.ConditionalExpression=200]="ConditionalExpression",e[e.TemplateExpression=201]="TemplateExpression",e[e.YieldExpression=202]="YieldExpression",e[e.SpreadElement=203]="SpreadElement",e[e.ClassExpression=204]="ClassExpression",e[e.OmittedExpression=205]="OmittedExpression",e[e.ExpressionWithTypeArguments=206]="ExpressionWithTypeArguments",e[e.AsExpression=207]="AsExpression",e[e.NonNullExpression=208]="NonNullExpression",e[e.MetaProperty=209]="MetaProperty",e[e.TemplateSpan=210]="TemplateSpan",e[e.SemicolonClassElement=211]="SemicolonClassElement",e[e.Block=212]="Block",e[e.VariableStatement=213]="VariableStatement",e[e.EmptyStatement=214]="EmptyStatement",e[e.ExpressionStatement=215]="ExpressionStatement",e[e.IfStatement=216]="IfStatement",e[e.DoStatement=217]="DoStatement",e[e.WhileStatement=218]="WhileStatement",e[e.ForStatement=219]="ForStatement",e[e.ForInStatement=220]="ForInStatement",e[e.ForOfStatement=221]="ForOfStatement",e[e.ContinueStatement=222]="ContinueStatement",e[e.BreakStatement=223]="BreakStatement",e[e.ReturnStatement=224]="ReturnStatement",e[e.WithStatement=225]="WithStatement",e[e.SwitchStatement=226]="SwitchStatement",e[e.LabeledStatement=227]="LabeledStatement",e[e.ThrowStatement=228]="ThrowStatement",e[e.TryStatement=229]="TryStatement",e[e.DebuggerStatement=230]="DebuggerStatement",e[e.VariableDeclaration=231]="VariableDeclaration",e[e.VariableDeclarationList=232]="VariableDeclarationList",e[e.Fu
1nctionDeclaration=233]="FunctionDeclaration",e[e.ClassDeclaration=234]="ClassDeclaration",e[e.InterfaceDeclaration=235]="InterfaceDeclaration",e[e.TypeAliasDeclaration=236]="TypeAliasDeclaration",e[e.EnumDeclaration=237]="EnumDeclaration",e[e.ModuleDeclaration=238]="ModuleDeclaration",e[e.ModuleBlock=239]="ModuleBlock",e[e.CaseBlock=240]="CaseBlock",e[e.NamespaceExportDeclaration=241]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=242]="ImportEqualsDeclaration",e[e.ImportDeclaration=243]="ImportDeclaration",e[e.ImportClause=244]="ImportClause",e[e.NamespaceImport=245]="NamespaceImport",e[e.NamedImports=246]="NamedImports",e[e.ImportSpecifier=247]="ImportSpecifier",e[e.ExportAssignment=248]="ExportAssignment",e[e.ExportDeclaration=249]="ExportDeclaration",e[e.NamedExports=250]="NamedExports",e[e.ExportSpecifier=251]="ExportSpecifier",e[e.MissingDeclaration=252]="MissingDeclaration",e[e.ExternalModuleReference=253]="ExternalModuleReference",e[e.JsxElement=254]="JsxElement",e[e.JsxSelfClosingElement=255]="JsxSelfClosingElement",e[e.JsxOpeningElement=256]="JsxOpeningElement",e[e.JsxClosingElement=257]="JsxClosingElement",e[e.JsxFragment=258]="JsxFragment",e[e.JsxOpeningFragment=259]="JsxOpeningFragment",e[e.JsxClosingFragment=260]="JsxClosingFragment",e[e.JsxAttribute=261]="JsxAttribute",e[e.JsxAttributes=262]="JsxAttributes",e[e.JsxSpreadAttribute=263]="JsxSpreadAttribute",e[e.JsxExpression=264]="JsxExpression",e[e.CaseClause=265]="CaseClause",e[e.DefaultClause=266]="DefaultClause",e[e.HeritageClause=267]="HeritageClause",e[e.CatchClause=268]="CatchClause",e[e.PropertyAssignment=269]="PropertyAssignment",e[e.ShorthandPropertyAssignment=270]="ShorthandPropertyAssignment",e[e.SpreadAssignment=271]="SpreadAssignment",e[e.EnumMember=272]="EnumMember",e[e.SourceFile=273]="SourceFile",e[e.Bundle=274]="Bundle",e[e.UnparsedSource=275]="UnparsedSource",e[e.InputFiles=276]="InputFiles",e[e.JSDocTypeExpression=277]="JSDocTypeExpression",e[e.JSDocAllType=278]="JSDocAllType",e[e.JSDocUnknownType=279]="JSDocUnknownType",e[e.JSDocNullableType=280]="JSDocNullableType",e[e.JSDocNonNullableType=281]="JSDocNonNullableType",e[e.JSDocOptionalType=282]="JSDocOptionalType",e[e.JSDocFunctionType=283]="JSDocFunctionType",e[e.JSDocVariadicType=284]="JSDocVariadicType",e[e.JSDocComment=285]="JSDocComment",e[e.JSDocTypeLiteral=286]="JSDocTypeLiteral",e[e.JSDocSignature=287]="JSDocSignature",e[e.JSDocTag=288]="JSDocTag",e[e.JSDocAugmentsTag=289]="JSDocAugmentsTag",e[e.JSDocClassTag=290]="JSDocClassTag",e[e.JSDocCallbackTag=291]="JSDocCallbackTag",e[e.JSDocParameterTag=292]="JSDocParameterTag",e[e.JSDocReturnTag=293]="JSDocReturnTag",e[e.JSDocTypeTag=294]="JSDocTypeTag",e[e.JSDocTemplateTag=295]="JSDocTemplateTag",e[e.JSDocTypedefTag=296]="JSDocTypedefTag",e[e.JSDocPropertyTag=297]="JSDocPropertyTag",e[e.SyntaxList=298]="SyntaxList",e[e.NotEmittedStatement=299]="NotEmittedStatement",e[e.PartiallyEmittedExpression=300]="PartiallyEmittedExpression",e[e.CommaListExpression=301]="CommaListExpression",e[e.MergeDeclarationMarker=302]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=303]="EndOfDeclarationMarker",e[e.Count=304]="Count",e[e.FirstAssignment=58]="FirstAssignment",e[e.LastAssignment=70]="LastAssignment",e[e.FirstCompoundAssignment=59]="FirstCompoundAssignment",e[e.LastCompoundAssignment=70]="LastCompoundAssignment",e[e.FirstReservedWord=72]="FirstReservedWord",e[e.LastReservedWord=107]="LastReservedWord",e[e.FirstKeyword=72]="FirstKeyword",e[e.LastKeyword=144]="LastKeyword",e[e.FirstFutureReservedWord=108]="FirstFutureReservedWord",e[e.LastFutureReservedWord=116]="LastFutureReservedWord",e[e.FirstTypeNode=160]="FirstTypeNode",e[e.LastTypeNode=178]="LastTypeNode",e[e.FirstPunctuation=17]="FirstPunctuation",e[e.LastPunctuation=70]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=144]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=13]="LastLiteralToken",e[e.FirstTemplateToken=13]="FirstTemplateToken",e[e.LastTemplateToken=16]="LastTemplateToken",e[e.FirstBinaryOperator=27]="FirstBinaryOperator",e[e.LastBinaryOperator=70]="LastBinaryOperator",e[e.FirstNode=145]="FirstNode",e[e.FirstJSDocNode=277]="FirstJSDocNode",e[e.LastJSDocNode=297
1]="LastJSDocNode",e[e.FirstJSDocTagNode=288]="FirstJSDocTagNode",e[e.LastJSDocTagNode=297]="LastJSDocTagNode",e[e.FirstContextualKeyword=117]="FirstContextualKeyword",e[e.LastContextualKeyword=144]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.ExportContext=32]="ExportContext",e[e.ContainsThis=64]="ContainsThis",e[e.HasImplicitReturn=128]="HasImplicitReturn",e[e.HasExplicitReturn=256]="HasExplicitReturn",e[e.GlobalAugmentation=512]="GlobalAugmentation",e[e.HasAsyncFunctions=1024]="HasAsyncFunctions",e[e.DisallowInContext=2048]="DisallowInContext",e[e.YieldContext=4096]="YieldContext",e[e.DecoratorContext=8192]="DecoratorContext",e[e.AwaitContext=16384]="AwaitContext",e[e.ThisNodeHasError=32768]="ThisNodeHasError",e[e.JavaScriptFile=65536]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=131072]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=262144]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=524288]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=1048576]="PossiblyContainsImportMeta",e[e.JSDoc=2097152]="JSDoc",e[e.Ambient=4194304]="Ambient",e[e.InWithStatement=8388608]="InWithStatement",e[e.JsonFile=16777216]="JsonFile",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=384]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=1408]="ReachabilityAndEmitFlags",e[e.ContextFlags=12679168]="ContextFlags",e[e.TypeExcludesFlags=20480]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=1572864]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=3071]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.FailedAndReported=3]="FailedAndReported"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Referenced=512]="Referenced",e[e.Shared=1024]="Shared",e[e.PreFinally=2048]="PreFinally",e[e.AfterFinally=4096]="AfterFinally",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={}));var t,r=function(){return function(){}}();e.OperationCanceledException=r,function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.IgnoreErrors=3112960]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=9469291]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={}
1)),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.StringLikeType=4]="StringLikeType",e[e.BooleanType=5]="BooleanType",e[e.ArrayLikeType=6]="ArrayLikeType",e[e.ESSymbolType=7]="ESSymbolType",e[e.Promise=8]="Promise",e[e.TypeWithCallSignature=9]="TypeWithCallSignature",e[e.ObjectType=10]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.JSContainer=67108864]="JSContainer",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=67216319]="Value",e[e.Type=67901928]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=67216318]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=67216319]="BlockScopedVariableExcludes",e[e.ParameterExcludes=67216319]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=68008959]="EnumMemberExcludes",e[e.FunctionExcludes=67215791]="FunctionExcludes",e[e.ClassExcludes=68008383]="ClassExcludes",e[e.InterfaceExcludes=67901832]="InterfaceExcludes",e[e.RegularEnumExcludes=68008191]="RegularEnumExcludes",e[e.ConstEnumExcludes=68008831]="ConstEnumExcludes",e[e.ValueModuleExcludes=67215503]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=67208127]="MethodExcludes",e[e.GetAccessorExcludes=67150783]="GetAccessorExcludes",e[e.SetAccessorExcludes=67183551]="SetAccessorExcludes",e[e.TypeParameterExcludes=67639784]="TypeParameterExcludes",e[e.TypeAliasExcludes=67901928]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.HasExports=1952]="HasExports",e[e.HasMembers=6240]="HasMembers",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6240]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.Partial=16]="Partial",e[e.HasNonUniformType=32]="HasNonUniformType",e[e.ContainsPublic=64]="ContainsPublic",e[e.ContainsProtected=128]="ContainsProtected",e[e.ContainsPrivate=256]="ContainsPrivate",e[e.ContainsStatic=512]="ContainsStatic",e[e.Late=1024]="Late",e[e.ReverseMapped=2048]="ReverseMapped",e[e.Synthetic=6]="Synthetic"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.CapturedBlockScopedBinding=131072]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=262144]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=524288]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=1048576]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=2097152]="NeedsLoopOutParameter",e[e.AssignmentsMarked=4194304]="AssignmentsMarked",e[e.ClassWithConstructorReference=8388608]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=16777216]="ConstructorReferenceInClass"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.String=2]="String",e[e.Number=4]="Number",e[e.Boolean=8]="Boolean",e[e.Enum=16]="Enum",e[e.StringLiteral=32]="StringLiteral",e[e.NumberLiteral=64]="NumberLiteral",e[e.BooleanLiteral=128]="BooleanLiteral",e[e.EnumLiteral=256]="EnumLiteral",e[e.ESSymbol
1=512]="ESSymbol",e[e.UniqueESSymbol=1024]="UniqueESSymbol",e[e.Void=2048]="Void",e[e.Undefined=4096]="Undefined",e[e.Null=8192]="Null",e[e.Never=16384]="Never",e[e.TypeParameter=32768]="TypeParameter",e[e.Object=65536]="Object",e[e.Union=131072]="Union",e[e.Intersection=262144]="Intersection",e[e.Index=524288]="Index",e[e.IndexedAccess=1048576]="IndexedAccess",e[e.Conditional=2097152]="Conditional",e[e.Substitution=4194304]="Substitution",e[e.FreshLiteral=8388608]="FreshLiteral",e[e.ContainsWideningType=16777216]="ContainsWideningType",e[e.ContainsObjectLiteral=33554432]="ContainsObjectLiteral",e[e.ContainsAnyFunctionType=67108864]="ContainsAnyFunctionType",e[e.NonPrimitive=134217728]="NonPrimitive",e[e.UnionOfUnitTypes=268435456]="UnionOfUnitTypes",e[e.GenericMappedType=536870912]="GenericMappedType",e[e.Nullable=12288]="Nullable",e[e.Literal=224]="Literal",e[e.Unit=13536]="Unit",e[e.StringOrNumberLiteral=96]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=1120]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=14560]="DefinitelyFalsy",e[e.PossiblyFalsy=14574]="PossiblyFalsy",e[e.Intrinsic=134249103]="Intrinsic",e[e.Primitive=16382]="Primitive",e[e.StringLike=34]="StringLike",e[e.NumberLike=84]="NumberLike",e[e.BooleanLike=136]="BooleanLike",e[e.EnumLike=272]="EnumLike",e[e.ESSymbolLike=1536]="ESSymbolLike",e[e.VoidLike=6144]="VoidLike",e[e.DisjointDomains=134233854]="DisjointDomains",e[e.UnionOrIntersection=393216]="UnionOrIntersection",e[e.StructuredType=458752]="StructuredType",e[e.TypeVariable=1081344]="TypeVariable",e[e.InstantiableNonPrimitive=7372800]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=524288]="InstantiablePrimitive",e[e.Instantiable=7897088]="Instantiable",e[e.StructuredOrInstantiable=8355840]="StructuredOrInstantiable",e[e.Narrowable=142575359]="Narrowable",e[e.NotUnionOrUnit=134283777]="NotUnionOrUnit",e[e.NotUnit=8374815]="NotUnit",e[e.RequiresWidening=50331648]="RequiresWidening",e[e.PropagatingFlags=117440512]="PropagatingFlags",e[e.NonWideningType=16777216]="NonWideningType",e[e.Wildcard=33554432]="Wildcard",e[e.EmptyObject=67108864]="EmptyObject",e[e.ConstructionFlags=117440512]="ConstructionFlags"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.ClassOrInterface=3]="ClassOrInterface"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent"}(e.Variance||(e.Variance={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.HomomorphicMappedType=2]="HomomorphicMappedType",e[e.MappedTypeConstraint=4]="MappedTypeConstraint",e[e.ReturnType=8]="ReturnType",e[e.LiteralKeyof=16]="LiteralKeyof",e[e.NoConstraints=32]="NoConstraints",e[e.AlwaysStrict=64]="AlwaysStrict",e[e.PriorityImpliesCombination=28]="PriorityImpliesCombination"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.InferUnionTypes=1]="InferUnionTypes",e[e.NoDefault=2]="NoDefault",e[e.AnyDefault=4]="AnyDefault"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype"}(e.SpecialPropertyAssignmentKind||(e.SpecialPropertyAssignmentKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(t=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,r){void 0===r&&(r=!0);var n=t[e.category];return r?n.toLowerCase():n},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=6]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="Exter
1nal",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ESNext=6]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=6]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json"}(e.Extension||(e.Extension={}
1)),function(e){e[e.None=0]="None",e[e.TypeScript=1]="TypeScript",e[e.ContainsTypeScript=2]="ContainsTypeScript",e[e.ContainsJsx=4]="ContainsJsx",e[e.ContainsESNext=8]="ContainsESNext",e[e.ContainsES2017=16]="ContainsES2017",e[e.ContainsES2016=32]="ContainsES2016",e[e.ES2015=64]="ES2015",e[e.ContainsES2015=128]="ContainsES2015",e[e.Generator=256]="Generator",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.DestructuringAssignment=1024]="DestructuringAssignment",e[e.ContainsDestructuringAssignment=2048]="ContainsDestructuringAssignment",e[e.ContainsDecorators=4096]="ContainsDecorators",e[e.ContainsPropertyInitializer=8192]="ContainsPropertyInitializer",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsCapturedLexicalThis=32768]="ContainsCapturedLexicalThis",e[e.ContainsLexicalThisInComputedPropertyName=65536]="ContainsLexicalThisInComputedPropertyName",e[e.ContainsDefaultValueAssignments=131072]="ContainsDefaultValueAssignments",e[e.ContainsParameterPropertyAssignments=262144]="ContainsParameterPropertyAssignments",e[e.ContainsSpread=524288]="ContainsSpread",e[e.ContainsObjectSpread=1048576]="ContainsObjectSpread",e[e.ContainsRest=524288]="ContainsRest",e[e.ContainsObjectRest=1048576]="ContainsObjectRest",e[e.ContainsComputedPropertyName=2097152]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=4194304]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=8388608]="ContainsBindingPattern",e[e.ContainsYield=16777216]="ContainsYield",e[e.ContainsHoistedDeclarationOrCompletion=33554432]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=67108864]="ContainsDynamicImport",e[e.Super=134217728]="Super",e[e.ContainsSuper=268435456]="ContainsSuper",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=3]="AssertTypeScript",e[e.AssertJsx=4]="AssertJsx",e[e.AssertESNext=8]="AssertESNext",e[e.AssertES2017=16]="AssertES2017",e[e.AssertES2016=32]="AssertES2016",e[e.AssertES2015=192]="AssertES2015",e[e.AssertGenerator=768]="AssertGenerator",e[e.AssertDestructuringAssignment=3072]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536872257]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=671089985]="PropertyAccessExcludes",e[e.NodeExcludes=939525441]="NodeExcludes",e[e.ArrowFunctionExcludes=1003902273]="ArrowFunctionExcludes",e[e.FunctionExcludes=1003935041]="FunctionExcludes",e[e.ConstructorExcludes=1003668801]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=1003668801]="MethodOrAccessorExcludes",e[e.ClassExcludes=942011713]="ClassExcludes",e[e.ModuleExcludes=977327425]="ModuleExcludes",e[e.TypeExcludes=-3]="TypeExcludes",e[e.ObjectLiteralExcludes=942740801]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=940049729]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=948962625]="VariableDeclarationListExcludes",e[e.ParameterExcludes=939525441]="ParameterExcludes",e[e.CatchClauseExcludes=940574017]="CatchClauseExcludes",e[e.BindingPatternExcludes=940049729]="BindingPatternExcludes",e[e.TypeScriptClassSyntaxMask=274432]="TypeScriptClassSyntaxMask",e[e.ES2015FunctionSyntaxMask=163840]="ES2015FunctionSyntaxMask"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Re
1st=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.MakeTemplateObject=65536]="MakeTemplateObject",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=65536]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified"}(e.EmitHint||(e.EmitHint={})),function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.DelimitersMask=28]="DelimitersMask",e[e.AllowTrailingComma=32]="AllowTrailingComma",e[e.Indented=64]="Indented",e[e.SpaceBetweenBraces=128]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=256]="SpaceBetweenSiblings",e[e.Braces=512]="Braces",e[e.Parenthesis=1024]="Parenthesis",e[e.AngleBrackets=2048]="AngleBrackets",e[e.SquareBrackets=4096]="SquareBrackets",e[e.BracketsMask=7680]="BracketsMask",e[e.OptionalIfUndefined=8192]="OptionalIfUndefined",e[e.OptionalIfEmpty=16384]="OptionalIfEmpty",e[e.Optional=24576]="Optional",e[e.PreferNewLine=32768]="PreferNewLine",e[e.NoTrailingNewLine=65536]="NoTrailingNewLine",e[e.NoInterveningComments=131072]="NoInterveningComments",e[e.NoSpaceIfEmpty=262144]="NoSpaceIfEmpty",e[e.SingleElement=524288]="SingleElement",e[e.Modifiers=131328]="Modifiers",e[e.HeritageClauses=256]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=384]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=16449]="MultiLineTypeLiteralMembers",e[e.TupleTypeElements=272]="TupleTypeElements",e[e.UnionTypeConstituents=260]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=264]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=262576]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=262448]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=263122]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=4466]="ArrayLiteralExpressionElements",e[e.CommaListElements=272]="CommaListElements",e[e.CallExpressionArguments=1296]="CallExpressionArguments",e[e.NewExpressionArguments=9488]="NewExpressionArguments",e[e.TemplateExpressionSpans=131072]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=384]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=65]="MultiLineBlockStatements",e[e.VariableDeclarationList=272]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=384]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=65]="ClassMembers",e[e.InterfaceMembers=65]="InterfaceMembers",e[e.EnumMembers=81]="EnumMembers",e[e.CaseBlockClauses=65]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=262576]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=131072]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=131328]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=81985]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=272]="HeritageClauseTypes",e[e.SourceFileStatements=65537]="SourceFileStatements",e[e.Decorators=24577]="Decorators",e[e.TypeArguments=26896]="TypeArguments",e[e.TypeParameters=26896]="TypeParameters",e[e.Parameters=1296]="Parameters",e[e.IndexSignatureParameters=4432]="IndexSignatureParameters"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1}
1,"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}}(u||(u={})),function(e){e.timestamp="undefined"!==typeof performance&&performance.now?function(){return performance.now()}:Date.now?Date.now:function(){return+new Date}}(u||(u={})),function(e){!function(t){var r,n,i,a="function"===typeof onProfilerEvent&&!0===onProfilerEvent.profiler?onProfilerEvent:function(){},o=!1,s=0;t.mark=function(t){o&&(n.set(t,e.timestamp()),r.set(t,(r.get(t)||0)+1),a(t))},t.measure=function(t,r,a){if(o){var c=a&&n.get(a)||e.timestamp(),u=r&&n.get(r)||s;i.set(t,(i.get(t)||0)+(c-u))}},t.getCount=function(e){return r&&r.get(e)||0},t.getDuration=function(e){return i&&i.get(e)||0},t.forEachMeasure=function(e){i.forEach(function(t,r){e(r,t)})},t.enable=function(){r=e.createMap(),n=e.createMap(),i=e.createMap(),o=!0,s=e.timestamp()},t.disable=function(){o=!1}}(e.performance||(e.performance={}))}(u||(u={})),function(e){e.versionMajorMinor="2.9",e.version=e.versionMajorMinor+".2"}(u||(u={})),function(e){e.isExternalModuleNameRelative=function(t){return e.pathIsRelative(t)||e.isRootedDiskPath(t)},e.sortAndDeduplicateDiagnostics=function(t){return e.sortAndDeduplicate(t,e.compareDiagnostics)}}(u||(u={})),function(e){function t(){var e=Object.create(null);return e.__=void 0,delete e.__,e}function r(){return new n}e.emptyArray=[],e.closeFileWatcher=function(e){e.close()},e.createMap=r,e.createUnderscoreEscapedMap=function(){return new n},e.createSymbolTable=function(e){var t=r();if(e)for(var n=0,i=e;n<i.length;n++){var a=i[n];t.set(a.escapedName,a)}return t},e.createMapFromTemplate=function(e){var t=new n;for(var r in e)T.call(e,r)&&t.set(r,e[r]);return t};var n="undefined"!==typeof Map&&"entries"in Map.prototype?Map:function(){var e=function(){function e(e,t){this.index=0,this.data=e,this.selector=t,this.keys=Object.keys(e)}return e.prototype.next=function(){var e=this.index;return e<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[e]),done:!1}):{value:void 0,done:!0}},e}();return function(){function r(){this.data=t(),this.size=0}return r.prototype.get=function(e){return this.data[e]},r.prototype.set=function(e,t){return this.has(e)||this.size++,this.data[e]=t,this},r.prototype.has=function(e){return e in this.data},r.prototype.delete=function(e){return!!this.has(e)&&(this.size--,delete this.data[e],!0)},r.prototype.clear=function(){this.data=t(),this.size=0},r.prototype.keys=function(){return new e(this.data,function(e,t){return t})},r.prototype.values=function(){return new e(this.data,function(e,t){return e[t]})},r.prototype.entries=function(){return new e(this.data,function(e,t){return[t,e[t]]})},r.prototype.forEach=function(e){for(var t in this.data)e(this.data[t],t)},r}()}();function i(e,t){if(e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(n)return n}}function a(e,t){if(e)for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0}function o(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n,r))return n}}function s(e,t,r){for(var n=r||0;n<e.length;n++)if(t(e[n],n))return n;return-1}function c(e,t,r){if(void 0===r&&(r=J),e)for(var n=0,i=e;n<i.length;n++){if(r(i[n],t))return!0}return!1}function u(e,t,r){for(var n=r||0;n<e.length;n++)if(c(t,e.charCodeAt(n)))return n;return-1}function l(e,t){var r;if(e){r=[];for(var n=0;n<e.length;n++)r.push(t(e[n],n))}return r}function d(e){var t;if(e){t=[];for(var r=0,n=e;r<n.length;r++){var i=n[r];i&&(L(i)?v(t,i):t.push(i))}}return t}function f(e,t){var r;if(e){r=[];for(var n=0;n<e.length;n++){var i=t(e[n],n);i&&(L(i)?v(r,i):r.push(i))}}return r}function p(e,t){var r=[];if(e)for(var n=0;n<e.length;n++){var i=t(e[n],n);void 0!==i&&r.push(i)}return r}function _(e,t){if(e){if(!t)return e.length>0;for(var r=0,n=e;r<n.length;r++){if(t(n[r]))return!0}}return!1}function m(e,t,r){return e?0===e.length?[]:1===e.length?e.slice():r?function(e,t,r){var n=e.map(function(e,t){return t});b(e,n,r);for(var i=e[n[0]],a=[n[0]],o=1;o<n.length;o++){var s=n[o],c=e[s];t(i,c)||(a.push(s),i=c)}return a.sort(),a.map(function(t){return e[t]})}(e,t,r):function(e,t){for(var r=[],n=0,i=e;n<i.length;n++)y(r,i[n],t);return r}(e,t):void 0}function g(e,t,r){if(void 0===r&&(r=J),!e||!t)return e===t;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1;return!0}function h(e,t){return t<0?e.length+t:t}function v(e,t,r,n){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice(r,n);r=void 0===r?0:h(t,r),n=void 0===n?t.length:h(t,n);for(var i=r;i<n&&i<t.length;i++)void 0!==t[i]&&e.push(t[i]);return e}function y(e,t,r){return!c(e,t,r)&&(e.push(t),!0)}function b(e,t,r){t.sort(function(t,n){return r(e[t],e[n])||G(t,n)})}function x(e,t){return e.slice().sort(t)}function S(e){var t=0;return{next:function(){return t===e.length?{value:void 0,done:!0}:{value:e[++t-1],done:!1}}}}function k(e){return 0===e.length?void 0:e[e.length-1]}function C(e,t,r,n,i){if(!e||0===e.length)return-1;
1for(var a=i||0,o=e.length-1,s=r(t);a<=o;){var c=a+(o-a>>1);switch(n(r(e[c]),s)){case-1:a=c+1;break;case 0:return c;case 1:o=c-1}}return~a}function E(e,t,r,n,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=void 0===n||n<0?0:n,s=void 0===i||o+i>a-1?a-1:o+i,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=r;o<=s;)c=t(c,e[o],o),o++;return c}}return r}e.toPath=function(e,t,r){return r(me(e)?fe(e):ye(e,t))},e.length=function(e){return e?e.length:0},e.forEach=i,e.firstDefined=function(e,t){if(void 0!==e)for(var r=0;r<e.length;r++){var n=t(e[r],r);if(void 0!==n)return n}},e.firstDefinedIterator=function(e,t){for(;;){var r=e.next(),n=r.value;if(r.done)return;var i=t(n);if(void 0!==i)return i}},e.findAncestor=function(e,t){for(;e;){var r=t(e);if("quit"===r)return;if(r)return e;e=e.parent}},e.zipWith=function(e,t,r){var n=[];at.assertEqual(e.length,t.length);for(var i=0;i<e.length;i++)n.push(r(e[i],t[i],i));return n},e.zipToIterator=function(e,t){at.assertEqual(e.length,t.length);var r=0;return{next:function(){return r===e.length?{value:void 0,done:!0}:{value:[e[++r-1],t[r-1]],done:!1}}}},e.zipToMap=function(e,t){at.assert(e.length===t.length);for(var n=r(),i=0;i<e.length;++i)n.set(e[i],t[i]);return n},e.every=a,e.find=o,e.findLast=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(t(n,r))return n}},e.findIndex=s,e.findLastIndex=function(e,t,r){for(var n=void 0===r?e.length-1:r;n>=0;n--)if(t(e[n],n))return n;return-1},e.findMap=function(e,t){for(var r=0;r<e.length;r++){var n=t(e[r],r);if(n)return n}at.fail()},e.contains=c,e.arraysEqual=function(e,t,r){return void 0===r&&(r=J),e.length===t.length&&e.every(function(e,n){return r(e,t[n])})},e.indexOfAnyCharCode=u,e.countWhere=function(e,t){var r=0;if(e)for(var n=0;n<e.length;n++)t(e[n],n)&&r++;return r},e.filter=function(e,t){if(e){for(var r=e.length,n=0;n<r&&t(e[n]);)n++;if(n<r){var i=e.slice(0,n);for(n++;n<r;){var a=e[n];t(a)&&i.push(a),n++}return i}}return e},e.filterMutate=function(e,t){for(var r=0,n=0;n<e.length;n++)t(e[n],n,e)&&(e[r]=e[n],r++);e.length=r},e.clear=function(e){e.length=0},e.map=l,e.mapIterator=function(e,t){return{next:function(){var r=e.next();return r.done?r:{value:t(r.value),done:!1}}}},e.sameMap=function(e,t){if(e)for(var r=0;r<e.length;r++){var n=e[r],i=t(n,r);if(n!==i){var a=e.slice(0,r);for(a.push(i),r++;r<e.length;r++)a.push(t(e[r],r));return a}}return e},e.flatten=d,e.flatMap=f,e.flatMapIterator=function(t,r){var n=t.next();if(n.done)return e.emptyIterator;var i=a(n.value);return{next:function(){for(;;){var e=i.next();if(!e.done)return e;var r=t.next();if(r.done)return r;i=a(r.value)}}};function a(t){var n=r(t);return void 0===n?e.emptyIterator:L(n)?S(n):n}},e.sameFlatMap=function(e,t){var r;if(e)for(var n=0;n<e.length;n++){var i=e[n],a=t(i,n);(r||i!==a||L(a))&&(r||(r=e.slice(0,n)),L(a)?v(r,a):r.push(a))}return r||e},e.mapAllOrFail=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=t(e[n],n);if(void 0===i)return;r.push(i)}return r},e.mapDefined=p,e.mapDefinedIterator=function(e,t){return{next:function(){for(;;){var r=e.next();if(r.done)return r;var n=t(r.value);if(void 0!==n)return{value:n,done:!1}}}}},e.emptyIterator={next:function(){return{value:void 0,done:!0}}},e.singleIterator=function(e){var t=!1;return{next:function(){var r=t;return t=!0,r?{value:void 0,done:!0}:{value:e,done:!1}}}},e.spanMap=function(e,t,r){var n;if(e){n=[];for(var i=e.length,a=void 0,o=void 0,s=0,c=0;s<i;){for(;c<i;){if(o=t(e[c],c),0===c)a=o;else if(o!==a)break;c++}if(s<c){var u=r(e.slice(s,c),a,s,c);u&&n.push(u),s=c}a=o,c++}}return n},e.mapEntries=function(e,t){if(e){var n=r();return e.forEach(function(e,r){var i=t(r,e),a=i[0],o=i[1];n.set(a,o)}),n}},e.some=_,e.getRangesWhere=function(e,t,r){for(var n,i=0;i<e.length;i++)t(e[i])?n=void 0===n?i:n:void 0!==n&&(r(n,i),n=void 0);void 0!==n&&r(n,e.length)},e.concatenate=function(e,t){return _(t)?_(e)?e.concat(t):t:e},e.deduplicate=m,e.insertSorted=function(e,t,r){if(0!==e.length){var n=C(e,t,B,r);n<0&&e.splice(~n,0,t)}else e.push(t)},e.sortAndDeduplicate=function(e,t,r){return function(e,t){if(e){if(0===e.length)return[];for(var r=e[0],n=[r],i=1;i<e.length;i++){var a=e[i];switch(t(a,r)){case!0:case 0:continue;case-1:return at.fail("Array is unsorted.")}n.push(r=a)}return n}}(x(e,t),r||t)},e.arrayIsEqualTo=g,e.changesAffectModuleResolution=function(e,t){return!e||e.module!==t.module||e.moduleResolution!==t.moduleResolution||e.noResolve!==t.noResolve||e.target!==t.target||e.noLib!==t.noLib||e.jsx!==t.jsx||e.allowJs!==t.allowJs||e.rootDir!==t.rootDir||e.configFilePath!==t.configFilePath||e.baseUrl!==t.baseUrl||e.maxNodeModuleJsDepth!==t.maxNodeModuleJsDepth||!g(e.lib,t.lib)||!g(e.typeRoots,t.typeRoots)||!g(e.rootDirs,t.rootDirs)||!N(e.paths,t.paths)},e.compact=function(e){var t;if(e)for(var r=0;r<e.length;r++){var n=e[r];!t&&n||(t||(t=e.slice(0,r)),n&&t.push(n))}return t||e},e.relativeComplement=function(e,t,r){if(!t||!e||0===t.length||0===e.length)return t;var n=[];e:for(var i=0,a=0;a<t.length;a++){a>0&&at.assertGreaterThanOrEqual(r(t[a],t[a-1]),0);t:for(var o=i;i<e.length;i++)switch(i>o&&at.assertGreaterThanOrEqual(r(e[i],e[i-1]),0),r(t[a],e[i])){case-1:n.push(t[a]);continue e;
1case 0:continue e;case 1:continue t}}return n},e.sum=function(e,t){for(var r=0,n=0,i=e;n<i.length;n++)r+=i[n][t];return r},e.append=function(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)},e.addRange=v,e.pushIfUnique=y,e.appendIfUnique=function(e,t,r){return e?(y(e,t,r),e):[t]},e.sort=x,e.best=function(e,t){var r=e.next();if(!r.done)for(var n=r.value;;){var i=e.next(),a=i.value;if(i.done)return n;t(a,n)&&(n=a)}},e.arrayIterator=S,e.stableSort=function(e,t){var r=e.map(function(e,t){return t});return b(e,r,t),r.map(function(t){return e[t]})},e.rangeEquals=function(e,t,r,n){for(;r<n;){if(e[r]!==t[r])return!1;r++}return!0},e.elementAt=function(e,t){if(e&&(t=h(e,t))<e.length)return e[t]},e.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},e.first=function(e){return at.assert(0!==e.length),e[0]},e.lastOrUndefined=k,e.last=function(e){return at.assert(0!==e.length),e[e.length-1]},e.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},e.singleOrMany=function(e){return e&&1===e.length?e[0]:e},e.replaceElement=function(e,t,r){var n=e.slice(0);return n[t]=r,n},e.binarySearch=C,e.reduceLeft=E;var T=Object.prototype.hasOwnProperty;function w(e,t){return T.call(e,t)}function D(e,t){for(var r,n=[],i=e.next(),a=i.value,o=i.done;!o;a=(r=e.next()).value,o=r.done,r)n.push(t?t(a):a);return n}function A(e,t){e.forEach(function(e,r){t.set(r,e)})}function N(e,t,r){if(void 0===r&&(r=J),e===t)return!0;if(!e||!t)return!1;for(var n in e)if(T.call(e,n)){if(void 0===!T.call(t,n))return!1;if(!r(e[n],t[n]))return!1}for(var n in t)if(T.call(t,n)&&!T.call(e,n))return!1;return!0}function P(e,t,n){void 0===n&&(n=B);for(var i=r(),a=0,o=e;a<o.length;a++){var s=o[a],c=t(s);void 0!==c&&i.set(c,n(s))}return i}function O(e,t,r){void 0===r&&(r=B);for(var n=F(),i=0,a=e;i<a.length;i++){var o=a[i];n.add(t(o),r(o))}return n}function F(){var e=r();return e.add=M,e.remove=I,e}function M(e,t){var r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function I(e,t){var r=this.get(e);r&&(ht(r,t),r.length||this.delete(e))}function L(e){return Array.isArray?Array.isArray(e):e instanceof Array}function R(e){return"string"===typeof e}function j(e){}function B(e){return e}function z(e){return e.toLowerCase()}function q(e,t,r,n,i){if(i){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return function(e){return E(a,function(e,t){return t(e)},e)}}return n?function(i){return n(r(t(e(i))))}:r?function(n){return r(t(e(n)))}:t?function(r){return t(e(r))}:e?function(t){return e(t)}:function(e){return e}}function U(e,t,r){return r=r||0,e.replace(/{(\d+)}/g,function(e,n){return at.assertDefined(t[+n+r])})}function V(t){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[t.key]||t.message}function J(e,t){return e===t}function H(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()}function W(e,t){return J(e,t)}function K(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e<t?-1:1}function G(e,t){return K(e,t)}function X(e,t){return e===t?0:void 0===e?-1:void 0===t?1:(e=e.toUpperCase())<(t=t.toUpperCase())?-1:e>t?1:0}function Y(e,t){return K(e,t)}function $(e){return e?X:Y}e.hasProperty=w,e.getProperty=function(e,t){return T.call(e,t)?e[t]:void 0},e.getOwnKeys=function(e){var t=[];for(var r in e)T.call(e,r)&&t.push(r);return t},e.getOwnValues=function(e){var t=[];for(var r in e)T.call(e,r)&&t.push(e[r]);return t},e.arrayFrom=D,e.forEachEntry=function(e,t){for(var r,n=e.entries(),i=n.next(),a=i.value,o=i.done;!o;a=(r=n.next()).value,o=r.done,r){var s=a[0],c=t(a[1],s);if(c)return c}},e.forEachKey=function(e,t){for(var r,n=e.keys(),i=n.next(),a=i.value,o=i.done;!o;a=(r=n.next()).value,o=r.done,r){var s=t(a);if(s)return s}},e.copyEntries=A,e.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++){var a=i[n];for(var o in a)w(a,o)&&(e[o]=a[o])}return e},e.equalOwnProperties=N,e.arrayToMap=P,e.arrayToNumericMap=function(e,t,r){void 0===r&&(r=B);for(var n=[],i=0,a=e;i<a.length;i++){var o=a[i];n[t(o)]=r(o)}return n},e.arrayToSet=function(e,t){return P(e,t||function(e){return e},function(){return!0})},e.arrayToMultiMap=O,e.group=function(e,t){return D(O(e,t).values())},e.cloneMap=function(e){var t=r();return A(e,t),t},e.clone=function(e){var t={};for(var r in e)T.call(e,r)&&(t[r]=e[r]);return t},e.extend=function(e,t){var r={};for(var n in t)T.call(t,n)&&(r[n]=t[n]);for(var n in e)T.call(e,n)&&(r[n]=e[n]);return r},e.createMultiMap=F,e.isArray=L,e.toArray=function(e){return L(e)?e:[e]},e.isString=R,e.tryCast=function(e,t){return void 0!==e&&t(e)?e:void 0},e.cast=function(e,t){if(void 0!==e&&t(e))return e;e&&"number"===typeof e.kind?at.fail("Invalid cast. The supplied "+at.showSyntaxKind(e)+" did n
1ot pass the test '"+at.getFunctionName(t)+"'."):at.fail("Invalid cast. The supplied value did not pass the test '"+at.getFunctionName(t)+"'.")},e.noop=j,e.returnFalse=function(){return!1},e.returnTrue=function(){return!0},e.identity=B,e.toLowerCase=z,e.notImplemented=function(){throw new Error("Not implemented")},e.memoize=function(e){var t;return function(){return e&&(t=e(),e=void 0),t}},e.chain=function(e,t,r,n,i){if(i){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return function(e){return q.apply(void 0,l(a,function(t){return t(e)}))}}return n?function(i){return q(e(i),t(i),r(i),n(i))}:r?function(n){return q(e(n),t(n),r(n))}:t?function(r){return q(e(r),t(r))}:e?function(t){return q(e(t))}:function(e){return function(e){return e}}},e.compose=q,e.formatStringFromArgs=U,e.getLocaleSpecificMessage=V,e.createFileDiagnostic=function(e,t,r,n){at.assertGreaterThanOrEqual(t,0),at.assertGreaterThanOrEqual(r,0),e&&(at.assertLessThanOrEqual(t,e.text.length),at.assertLessThanOrEqual(t+r,e.text.length));var i=V(n);return arguments.length>4&&(i=U(i,arguments,4)),{file:e,start:t,length:r,messageText:i,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary}},e.formatMessage=function(e,t){var r=V(t);return arguments.length>2&&(r=U(r,arguments,2)),r},e.createCompilerDiagnostic=function(e){var t=V(e);return arguments.length>1&&(t=U(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}},e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,t){var r=V(t);return arguments.length>2&&(r=U(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:e}},e.concatenateDiagnosticMessageChains=function(e,t){for(var r=e;r.next;)r=r.next;return r.next=t,e},e.equateValues=J,e.equateStringsCaseInsensitive=H,e.equateStringsCaseSensitive=W,e.compareValues=G,e.min=function(e,t,r){return-1===r(e,t)?e:t},e.compareStringsCaseInsensitive=X,e.compareStringsCaseSensitive=Y,e.getStringComparer=$;var Q,Z,ee=function(){var e,t,r=function(){if("object"===typeof Intl&&"function"===typeof Intl.Collator)return i;if("function"===typeof String.prototype.localeCompare&&"function"===typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0)return a;return o}();return function(n){return void 0===n?e||(e=r(n)):"en-US"===n?t||(t=r(n)):r(n)};function n(e,t,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;var n=r(e,t);return n<0?-1:n>0?1:0}function i(e){var t=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,r){return n(e,r,t)}}function a(e){return void 0!==e?o():function(e,r){return n(e,r,t)};function t(e,t){return e.localeCompare(t)}}function o(){return function(t,r){return n(t,r,e)};function e(e,r){return t(e.toUpperCase(),r.toUpperCase())||t(e,r)}function t(e,t){return e<t?-1:e>t?1:0}}}();function te(e){return e.file?e.file.path:void 0}function re(e){return e.target||0}function ne(t){return"number"===typeof t.module?t.module:re(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function ie(e){for(var t=!1,r=0;r<e.length;r++)if(42===e.charCodeAt(r)){if(t)return!1;t=!0}return!0}e.getUILocale=function(){return Z},e.setUILocale=function(e){Z!==e&&(Z=e,Q=void 0)},e.compareStringsCaseSensitiveUI=function(e,t){return(Q||(Q=ee(Z)))(e,t)},e.compareProperties=function(e,t,r,n){return e===t?0:void 0===e?-1:void 0===t?1:n(e[r],t[r])},e.compareDiagnostics=function(e,t){return Y(te(e),te(t))||G(e.start,t.start)||G(e.length,t.length)||G(e.code,t.code)||function(e,t){for(;e&&t;){var r=R(e)?e:e.messageText,n=R(t)?t:t.messageText,i=Y(r,n);if(i)return i;e=R(e)?void 0:e.next,t=R(t)?void 0:t.next}return e||t?e?1:-1:0}(e.messageText,t.messageText)||0},e.compareBooleans=function(e,t){return G(e?1:0,t?1:0)},e.getEmitScriptTarget=re,e.getEmitModuleKind=ne,e.getEmitModuleResolutionKind=function(t){var r=t.moduleResolution;return void 0===r&&(r=ne(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),r},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!e.declaration||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(t){var r=ne(t);return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:t.esModuleInterop?r!==e.ModuleKind.None&&r<e.ModuleKind.ES2015:r===e.ModuleKind.System},e.getEmitDeclarations=function(e){return!(!e.declaration&&!e.composite)},e.getStrictOptionValue=function(e,t){return void 0===e[t]?e.strict:e[t]},e.hasZeroOrOneAsteriskCharacter=ie,e.directorySeparator="/";var ae="\\",oe="://",se=/\\/g;function ce(t){return t.replace(se,e.directorySeparator)}function ue(e){return e>=97&&e<=122||e>=65&&e<=90}function le(t){if(!t)return 0;var r=t.charCodeAt(0);if(47===r||92===r){if(t.charCodeAt(1)!==r)return 1;var n=t.indexOf(47===r?e.directorySeparator:ae,2);return n<0?t.length:n+1}if(ue(r)&&58===t.charCodeAt(1)){var i=t.charCodeAt(2);if(47===i||92===i)return 3;if(2===t.length)return 2}var a=t.indexOf(oe);if(-1!==a){var o=a+oe.length,s=t.indexOf(e.directorySeparator,o);if(-1!==s){var c=t.slice(0,a),u=t.slice(o,s);if("file"===c&&(""===u||"localhost"===u)&&ue(t.charCodeAt(s+1))){var l=function(e,t){var r=e.charCodeAt(t);if(58===r)return t+1;
1if(37===r&&51===e.charCodeAt(t+1)){var n=e.charCodeAt(t+2);if(97===n||65===n)return t+3}return-1}(t,s+2);if(-1!==l){if(47===t.charCodeAt(l))return~(l+1);if(l===t.length)return~l}}return~(s+1)}return~t.length}return 0}function de(e){var t=le(e);return t<0?~t:t}function fe(e){return we(e)}function pe(t){var r=de(t=ce(t));return r===t.length?t:(t=Ae(t)).slice(0,Math.max(r,t.lastIndexOf(e.directorySeparator)))}function _e(e){return/^\.\.?($|[\\/])/.test(e)}function me(e){return le(e)>0}function ge(t,r){return void 0===r&&(r=""),function(t,r){var n=t.substring(0,r),i=t.substring(r).split(e.directorySeparator);return i.length&&!k(i)&&i.pop(),[n].concat(i)}(t=Te(r,t),de(t))}function he(e){if(!_(e))return[];for(var t=[e[0]],r=1;r<e.length;r++){var n=e[r];if(n&&"."!==n){if(".."===n)if(t.length>1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(n)}}return t}function ve(e,t){return he(ge(e,t))}function ye(e,t){return be(ve(e,t))}function be(t){if(0===t.length)return"";var r=t[0]&&Ne(t[0]);return 1===t.length?r:r+t.slice(1).join(e.directorySeparator)}function xe(e,t,r,n){var i,a=he(ge(e)),o=he(ge(t));for(i=0;i<a.length&&i<o.length;i++){if(!(0===i?H:r)(n(a[i]),n(o[i])))break}if(0===i)return o;for(var s=o.slice(i),c=[];i<a.length;i++)c.push("..");return[""].concat(c,s)}function Se(e,t,r){return at.assert(de(e)>0===de(t)>0,"Paths must either both be absolute or both be relative"),be(xe(e,t,"boolean"===typeof r&&r?H:W,"function"===typeof r?r:B))}function ke(t,r,n,i,a){var o=xe(we(n,t),we(n,r),W,i),s=o[0];if(a&&me(s)){var c=s.charAt(0)===e.directorySeparator?"file://":"file:///";o[0]=c+s}return be(o)}function Ce(e){return 0!==de(e)||_e(e)?e:"./"+e}function Ee(t,r,n){if(de(t=ce(t))===t.length)return"";var i=(t=Ae(t)).slice(Math.max(de(t),t.lastIndexOf(e.directorySeparator)+1)),a=void 0!==r&&void 0!==n?kt(i,r,n):void 0;return a?i.slice(0,i.length-a.length):i}function Te(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&(e=ce(e));for(var n=0,i=t;n<i.length;n++){var a=i[n];a&&(a=ce(a),e=e&&0===de(a)?Ne(e)+a:a)}return e}function we(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=_(t)?Te.apply(void 0,[e].concat(t)):ce(e),i=be(he(ge(n)));return i&&De(n)?Ne(i):i}function De(e){if(0===e.length)return!1;var t=e.charCodeAt(e.length-1);return 47===t||92===t}function Ae(e){return De(e)?e.substr(0,e.length-1):e}function Ne(t){return De(t)?t:t+e.directorySeparator}function Pe(e,t,r){if(e===t)return 0;if(void 0===e)return-1;if(void 0===t)return 1;for(var n=he(ge(e)),i=he(ge(t)),a=Math.min(n.length,i.length),o=0;o<a;o++){var s=(0===o?X:r)(n[o],i[o]);if(0!==s)return s}return G(n.length,i.length)}function Oe(e,t,r,n){if("string"===typeof r?(e=Te(r,e),t=Te(r,t)):"boolean"===typeof r&&(n=r),void 0===e||void 0===t)return!1;if(e===t)return!0;var i=he(ge(e)),a=he(ge(t));if(a.length<i.length)return!1;for(var o=n?H:W,s=0;s<i.length;s++){if(!(0===s?H:o)(i[s],a[s]))return!1}return!0}function Fe(e,t){return 0===e.lastIndexOf(t,0)}function Me(e,t){return Fe(e,t)?e.substring(t.length):void 0}function Ie(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function Le(e,t){return-1!==e.indexOf(t)}function Re(e){return Le(Ee(e),".")}function je(e,t){return e.length>t.length&&Ie(e,t)}function Be(e,t){for(var r=0,n=t;r<n.length;r++){if(je(e,n[r]))return!0}return!1}e.normalizeSlashes=ce,e.getRootLength=de,e.normalizePath=fe,e.normalizePathAndParts=function(t){var r=he(ge(t=ce(t))),n=r[0],i=r.slice(1);if(i.length){var a=n+i.join(e.directorySeparator);return{path:De(t)?Ne(a):a,parts:i}}return{path:n,parts:i}},e.getDirectoryPath=pe,e.isUrl=function(e){return le(e)<0},e.pathIsRelative=_e,e.isRootedDiskPath=me,e.isDiskPathRoot=function(e){var t=le(e);return t>0&&t===e.length},e.convertToRelativePath=function(e,t,r){return me(e)?ke(t,e,t,r,!1):e},e.getPathComponents=ge,e.reducePathComponents=he,e.getNormalizedPathComponents=ve,e.getNormalizedAbsolutePath=ye,e.getPathFromPathComponents=be,e.getRelativePathFromFile=function(e,t,r){return Ce(Se(pe(e),t,r))},e.getRelativePathFromDirectory=Se,e.getRelativePathToDirectoryOrUrl=ke,e.ensurePathIsNonModuleName=Ce,e.getBaseFileName=Ee,e.combinePaths=Te,e.resolvePath=we,e.hasTrailingDirectorySeparator=De,e.removeTrailingDirectorySeparator=Ae,e.ensureTrailingDirectorySeparator=Ne,e.comparePathsCaseSensitive=function(e,t){return Pe(e,t,Y)},e.comparePathsCaseInsensitive=function(e,t){return Pe(e,t,X)},e.comparePaths=function(e,t,r,n){return"string"===typeof r?(e=Te(r,e),t=Te(r,t)):"boolean"===typeof r&&(n=r),Pe(e,t,$(n))},e.containsPath=Oe,e.startsWith=Fe,e.removePrefix=function(e,t){return Fe(e,t)?e.substr(t.length):e},e.tryRemovePrefix=Me,e.tryRemoveDirectoryPrefix=function(e,t){var r=Me(e,t);if(void 0!==r)switch(r.charCodeAt(0)){case 47:case 92:return r.slice(1);default:return}},e.endsWith=Ie,e.removeSuffix=function(e,t){return Ie(e,t)?e.slice(0,e.length-t.length):e},e.tryRemoveSuffix=function(e,t){return Ie(e,t)?e.slice(0,e.length-t.length):void 0},e.stringContains=Le,e.hasExtension=Re,e.fileExtensionIs=je,e.fileExtensionIsOneOf=Be;var ze=/[^\w\s\/]/g,qe=[42,63];e.commonPackageFolders=["node_modules","bower_components","jspm_packages"];var Ue="(?!("+e.commonPackageFolders.join("|")+")(/|$))",Ve={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+Ue+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Ye(e,Ve.singleAsteriskRegexFragment)}},Je={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+Ue+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Ye(e,Je.singleAsteriskRegexFragment)}},He={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.
1+?)?",replaceWildcardCharacter:function(e){return Ye(e,He.singleAsteriskRegexFragment)}},We={files:Ve,directories:Je,exclude:He};function Ke(e,t,r){var n=Ge(e,t,r);if(n&&n.length)return"^("+n.map(function(e){return"("+e+")"}).join("|")+")"+("exclude"===r?"($|/)":"$")}function Ge(t,r,n){if(void 0!==t&&0!==t.length)return f(t,function(t){return t&&function(t,r,n,i){var a=i.singleAsteriskRegexFragment,o=i.doubleAsteriskRegexFragment,s=i.replaceWildcardCharacter,c="",u=!1,l=ve(t,r),d=k(l);if("exclude"!==n&&"**"===d)return;l[0]=Ae(l[0]),Xe(d)&&l.push("**","*");for(var f=0,p=0,_=l;p<_.length;p++){var m=_[p];if("**"===m)c+=o;else if("directories"===n&&(c+="(",f++),u&&(c+=e.directorySeparator),"exclude"!==n){var g="";42===m.charCodeAt(0)?(g+="([^./]"+a+")?",m=m.substr(1)):63===m.charCodeAt(0)&&(g+="[^./]",m=m.substr(1)),(g+=m.replace(ze,s))!==m&&(c+=Ue),c+=g}else c+=m.replace(ze,s);u=!0}for(;f>0;)c+=")?",f--;return c}(t,r,n,We[n])})}function Xe(e){return!/[.*?]/.test(e)}function Ye(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function $e(e,t,r,n,i){e=fe(e);var a=Te(i=fe(i),e);return{includeFilePatterns:l(Ge(r,a,"files"),function(e){return"^"+e+"$"}),includeFilePattern:Ke(r,a,"files"),includeDirectoryPattern:Ke(r,a,"directories"),excludePattern:Ke(t,a,"exclude"),basePaths:Ze(e,r,n)}}function Qe(e,t){return new RegExp(e,t?"":"i")}function Ze(e,t,r){var n=[e];if(t){for(var i=[],o=0,s=t;o<s.length;o++){var c=s[o],u=me(c)?c:fe(Te(e,c));i.push(et(u))}i.sort($(!r));for(var l=function(t){a(n,function(n){return!Oe(n,t,e,!r)})&&n.push(t)},d=0,f=i;d<f.length;d++){l(f[d])}}return n}function et(t){var r=u(t,qe);return r<0?Re(t)?Ae(pe(t)):t:t.substring(0,t.lastIndexOf(e.directorySeparator,r))}function tt(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}e.getRegularExpressionForWildcard=Ke,e.isImplicitGlob=Xe,e.getFileMatcherPatterns=$e,e.getRegexFromPattern=Qe,e.matchFiles=function(e,t,r,n,i,a,o,c){e=fe(e),a=fe(a);for(var u=$e(e,r,n,i,a),l=u.includeFilePatterns&&u.includeFilePatterns.map(function(e){return Qe(e,i)}),f=u.includeDirectoryPattern&&Qe(u.includeDirectoryPattern,i),p=u.excludePattern&&Qe(u.excludePattern,i),_=l?l.map(function(){return[]}):[[]],m=0,g=u.basePaths;m<g.length;m++){var h=g[m];v(h,Te(a,h),o)}return d(_);function v(e,r,n){for(var i=c(e),a=i.files,o=i.directories,u=function(n){var i=Te(e,n),a=Te(r,n);if(t&&!Be(i,t))return"continue";if(p&&p.test(a))return"continue";if(l){var o=s(l,function(e){return e.test(a)});-1!==o&&_[o].push(i)}else _[0].push(i)},d=0,m=x(a,Y);d<m.length;d++)u(y=m[d]);if(void 0===n||0!==--n)for(var g=0,h=x(o,Y);g<h.length;g++){var y=h[g],b=Te(e,y),S=Te(r,y);f&&!f.test(S)||p&&p.test(S)||v(b,S,n)}}},e.ensureScriptKind=function(e,t){return t||tt(e)||3},e.getScriptKindFromFileName=tt,e.supportedTypeScriptExtensions=[".ts",".tsx",".d.ts"],e.supportedTypescriptExtensionsForExtractExtension=[".d.ts",".t
1s",".tsx"],e.supportedJavascriptExtensions=[".js",".jsx"];var rt=e.supportedTypeScriptExtensions.concat(e.supportedJavascriptExtensions);function nt(t,r){var n=t&&t.allowJs;return r&&0!==r.length?m((n?rt:e.supportedTypeScriptExtensions).concat(p(r,function(e){return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)?e.extension:void 0;var t})),W,Y):n?rt:e.supportedTypeScriptExtensions}function it(e,t){return e<2?0:e<t.length?2:t.length}e.getSupportedExtensions=nt,e.hasJavaScriptFileExtension=function(t){return i(e.supportedJavascriptExtensions,function(e){return je(t,e)})},e.hasTypeScriptFileExtension=function(t){return i(e.supportedTypeScriptExtensions,function(e){return je(t,e)})},e.isSupportedSourceFileName=function(e,t,r){if(!e)return!1;for(var n=0,i=nt(t,r);n<i.length;n++)if(je(e,i[n]))return!0;return!1},function(e){e[e.TypeScriptFiles=0]="TypeScriptFiles",e[e.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",e[e.Highest=0]="Highest",e[e.Lowest=2]="Lowest"}(e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=function(e,t){for(var r=t.length-1;r>=0;r--)if(je(e,t[r]))return it(r,t);return 0},e.adjustExtensionPriority=it,e.getNextLowestExtensionPriority=function(e,t){return e<2?2:t.length};
1var at,ot=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function st(e,t){return je(e,t)?ct(e,t):void 0}function ct(e,t){return e.substring(0,e.length-t.length)}function ut(e,t,r,n){var i=void 0!==r&&void 0!==n?kt(e,r,n):kt(e);return i?e.slice(0,e.length-i.length)+(Fe(t,".")?t:"."+t):e}function lt(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=void 0,this.mergeId=void 0,this.parent=void 0}function dt(e,t){this.flags=t,at.isDebugging&&(this.checker=e)}function ft(){}function pt(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0}function _t(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||function(e){return e}}function mt(e,t){for(var r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function gt(e,t){e[t]=e[e.length-1],e.pop()}function ht(e,t){return function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return gt(e,r),!0;return!1}(e,function(e){return e===t})}function vt(e,t,r){for(var n,i=-1,a=0,o=e;a<o.length;a++){var s=o[a],c=t(s);yt(c,r)&&c.prefix.length>i&&(i=c.prefix.length,n=s)}return n}function yt(e,t){var r=e.prefix,n=e.suffix;return t.length>=r.length+n.length&&Fe(t,r)&&Ie(t,n)}function bt(e){at.assert(ie(e));var t=e.indexOf("*");return-1===t?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function xt(e){return".ts"===e||".tsx"===e||".d.ts"===e}function St(t){return o(e.supportedTypescriptExtensionsForExtractExtension,function(e){return je(t,e)})||o(e.supportedJavascriptExtensions,function(e){return je(t,e)})}function kt(e,t,r){if(t)return function(e,t,r){"string"===typeof t&&(t=[t]);for(var n=0,i=t;n<i.length;n++){var a=i[n];if(Fe(a,".")||(a="."+a),e.length>=a.length&&"."===e.charAt(e.length-a.length)){var o=e.slice(e.length-a.length);if(r(o,a))return o}}return""}(e,t,r?H:W);var n=Ee(e),i=n.lastIndexOf(".");return i>=0?n.substring(i):""}e.removeFileExtension=function(e){for(var t=0,r=ot;t<r.length;t++){var n=st(e,r[t]);if(void 0!==n)return n}return e},e.tryRemoveExtension=st,e.removeExtension=ct,e.changeExtension=function(e,t){return ut(e,t,ot,!1)},e.changeAnyExtension=ut,e.removeMinAndVersionNumbers=function(e){var t=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(t,"").replace(t,"")},e.objectAllocator={getNodeConstructor:function(){return pt},getTokenConstructor:function(){return pt},getIdentifierConstructor:function(){return pt},getSourceFileConstructor:function(){return pt},getSymbolConstructor:function(){return lt},getTypeConstructor:function(){return dt},getSignatureConstructor:function(){return ft},getSourceMapSourceConstructor:function(){return _t}},function(e){e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive"}(e.AssertionLevel||(e.AssertionLevel={})),function(t){function r(e,t,i,a){e||(i&&(t+="\r\nVerbose Debug Information: "+("string"===typeof i?i:i())),n(t?"False expression: "+t:"False expression.",a||r))}function n(e,t){var r=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(r,t||n),r}function i(e,t){return r(void 0!==e&&null!==e,t),e}function a(t){var r=e.SyntaxKind;return r?r[t.kind]:t.kind.toString()}t.currentAssertionLevel=0,t.isDebugging=!1,t.shouldAssert=function(e){return t.currentAssertionLevel>=e},t.assert=r,t.assertEqual=function(e,t,r,i){e!==t&&n("Expected "+e+" === "+t+". "+(r?i?r+" "+i:r:""))},t.assertLessThan=function(e,t,r){e>=t&&n("Expected "+e+" < "+t+". "+(r||""))},t.assertLessThanOrEqual=function(e,t){e>t&&n("Expected "+e+" <= "+t)},t.assertGreaterThanOrEqual=function(e,t){e<t&&n("Expected "+e+" >= "+t)},t.fail=n,t.assertDefined=i,t.assertEachDefined=function(e,t){for(var r=0,n=e;r<n.length;r++)i(n[r],t);return e},t.assertNever=function e(t,r,i){return n(r||"Illegal value: "+t,i||e)},t.getFunctionName=function(e){if("function"!==typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var t=Function.prototype.toString.call(e),r=/^function\s+([\w\$]+)\s*\(/.exec(t);return r?r[1]:""},t.showSymbol=function(t){var r=e.SymbolFlags;return"{ flags: "+(r?function(e,t){for(var r=[],n=0;n<=30;n++){var i=1<<n;e&i&&r.push(t[i])}return r.join("|")}(t.flags,r):t.flags)+"; declarations: "+l(t.declarations,a)+" }"},t.showSyntaxKind=a}(at=e.Debug||(e.Debug={})),e.orderedRemoveItem=function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return mt(e,r),!0;return!1},e.orderedRemoveItemAt=mt,e.unorderedRemoveItemAt=gt,e.unorderedRemoveItem=ht,e.createGetCanonicalFileName=function(e){return e?B:z},e.matchPatternOrExact=function(e,t){for(var r=[],n=0,i=e;n<i.length;n++){var a=i[n],o=bt(a);if(o)r.push(o);else if(a===t)return a}return vt(r,function(e){return e},t)},e.patternText=function(e){return e.prefix+"*"+e.suffix},e.matchedText=function(e,t){return at.assert(yt(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)},e.findBestPatternMatch=vt,e.tryParsePattern=bt,e.positionIsSynthesized=function(e){return!(e>=0)},e.extensionIsTypeScript=xt,e.resolutionExtensionIsTypeScriptOrJson=function(e){return xt(e)||".json"===e},e.extensionFromPath=function(e){var t=St(e);if(void 0!==t)return t;at.fail("File "+e+" has unknown extension.")}
1,e.isAnySupportedFileExtension=function(e){return void 0!==St(e)},e.tryGetExtensionFromPath=St,e.getAnyExtensionFromPath=kt,e.isCheckJsEnabledForFile=function(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs},e.and=function(e,t){return function(r){return e(r)&&t(r)}},e.or=function(e,t){return function(r){return e(r)||t(r)}},e.assertTypeIsNever=function(e){},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.singleElementArray=function(e){return void 0===e?void 0:[e]},e.enumerateInsertsAndDeletes=function(e,t,r,n,i,a){a=a||j;for(var o=0,s=0,c=e.length,u=t.length;o<c&&s<u;){var l=e[o],d=t[s],f=r(l,d);-1===f?(n(l),o++):1===f?(i(d),s++):(a(d,l),o++,s++)}for(;o<c;)n(e[o++]);for(;s<u;)i(t[s++])}}(u||(u={})),function(e){var a,s;e.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},function(e){e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(a=e.FileWatcherEventKind||(e.FileWatcherEventKind={})),function(e){e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low"}(s=e.PollingInterval||(e.PollingInterval={}));var c=function(e){var t=2*e;return[e,t,4*t]}(250);function u(e){var t;return(t={})[s.Low]=e.Low,t[s.Medium]=e.Medium,t[s.High]=e.High,t}e.watchFileUsingPriorityPollingInterval=function(e,t,r,n){return e.watchFile(t,r,function(e){return c[e]}(n))},e.missingFileModifiedTime=new Date(0);var l={Low:32,Medium:64,High:256},d=u(l);function f(t){if(t.getEnvironmentVariable){var r=function(e,t){var r=n(e);if(r)return i("Low"),i("Medium"),i("High"),!0;return!1;function i(e){t[e]=r[e]||t[e]}}("TSC_WATCH_POLLINGINTERVAL",s);d=i("TSC_WATCH_POLLINGCHUNKSIZE",l)||d,e.unchangedPollThresholds=i("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",l)||e.unchangedPollThresholds}function n(e){var r;return n("Low"),n("Medium"),n("High"),r;function n(n){var i=function(e,r){return t.getEnvironmentVariable(e+"_"+r.toUpperCase())}(e,n);i&&((r||(r={}))[n]=Number(i))}}function i(e,t){var i=n(e);return(r||i)&&u(i?o({},t,i):t)}}function p(t){var r=[],n=[],i=c(s.Low),a=c(s.Medium),o=c(s.High);return function(t,n,i){var a={fileName:t,callback:n,unchangedPolls:0,mtime:y(t)};return r.push(a),m(a,i),{close:function(){a.isClosed=!0,e.unorderedRemoveItem(r,a)}}};function c(e){var t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function u(t){t.pollIndex=f(t,t.pollingInterval,t.pollIndex,d[t.pollingInterval]),t.length?v(t.pollingInterval):(e.Debug.assert(0===t.pollIndex),t.pollScheduled=!1)}function l(e){f(n,s.Low,0,n.length),u(e),!e.pollScheduled&&n.length&&v(s.Low)}function f(t,r,i,a){for(var o=t.length,c=i,u=0;u<a&&o>0;f(),o--){var l=t[i];if(l)if(l.isClosed)t[i]=void 0;else{u++;var d=_(l,y(l.fileName));l.isClosed?t[i]=void 0:d?(l.unchangedPolls=0,t!==n&&(t[i]=void 0,g(l))):l.unchangedPolls!==e.unchangedPollThresholds[r]?l.unchangedPolls++:t===n?(l.unchangedPolls=1,t[i]=void 0,m(l,s.Low)):r!==s.High&&(l.unchangedPolls++,t[i]=void 0,m(l,r===s.Low?s.Medium:s.High)),t[i]&&(c<i&&(t[c]=l,t[i]=void 0),c++)}}return i;function f(){++i===t.length&&(c<i&&(t.length=c),i=0,c=0)}}function p(e){switch(e){case s.Low:return i;case s.Medium:return a;case s.High:return o}}function m(e,t){p(t).push(e),h(t)}function g(e){n.push(e),h(s.Low)}function h(e){p(e).pollScheduled||v(e)}function v(e){p(e).pollScheduled=t.setTimeout(e===s.Low?l:u,e,p(e))}function y(r){return t.getModifiedTime(r)||e.missingFileModifiedTime}}function _(e,t){var r=e.mtime.getTime(),n=t.getTime();if(r!==n){e.mtime=t;var i=0===r?a.Created:0===n?a.Deleted:a.Changed;return e.callback(e.fileName,i),!0}return!1}function m(t){return r;function r(r,i){var a=t.watchDirectory(r,function(e){i(e),n(o,i)}),o={close:function(){a.close(),o.childWatches.forEach(e.closeFileWatcher),o=void 0},dirName:r,childWatches:e.emptyArray};return n(o,i),o}function n(n,i){n&&(n.childWatches=function(n,i,a){var o;return e.enumerateInsertsAndDeletes(t.directoryExists(n)?e.mapDefined(t.getAccessibleSortedChildDirectories(n),function(r){var i=e.getNormalizedAbsolutePath(r,n);return 0===t.filePathComparer(i,t.realpath(i))?i:void 0}):e.emptyArray,i,function(e,r){return t.filePathComparer(e,r.dirName)},function(e){s(r(e,a))},e.closeFileWatcher,s),o||e.emptyArray;function s(e){(o||(o=[])).push(e)}}
1(n.dirName,n.childWatches,i))}}function g(){if("undefined"!==typeof t){var e=t.version;if(e){var r=e.indexOf(".");if(-1!==r)return parseInt(e.substring(1,r))}}}e.unchangedPollThresholds=u(l),e.setCustomPollingValues=f,e.createDynamicPriorityPollingWatchFile=p,e.onWatchedFileStat=_,e.createRecursiveDirectoryWatcher=m,e.getNodeMajorVersion=g,e.sys=function(){var o,c="\ufeff";if("undefined"!==typeof ChakraHost?o=function(){var t=ChakraHost.realpath&&function(e){return ChakraHost.realpath(e)};return{newLine:ChakraHost.newLine||"\r\n",args:ChakraHost.args,useCaseSensitiveFileNames:!!ChakraHost.useCaseSensitiveFileNames,write:ChakraHost.echo,readFile:function(e,t){return ChakraHost.readFile(e)},writeFile:function(e,t,r){r&&(t=c+t),ChakraHost.writeFile(e,t)},resolvePath:ChakraHost.resolvePath,fileExists:ChakraHost.fileExists,directoryExists:ChakraHost.directoryExists,createDirectory:ChakraHost.createDirectory,getExecutingFilePath:function(){return ChakraHost.executingFile},getCurrentDirectory:function(){return ChakraHost.currentDirectory},getDirectories:ChakraHost.getDirectories,getEnvironmentVariable:ChakraHost.getEnvironmentVariable||function(){return""},readDirectory:function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,!!ChakraHost.useCaseSensitiveFileNames,ChakraHost.currentDirectory);return ChakraHost.readDirectory(t,r,o.basePaths,o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern)},exit:ChakraHost.quit,realpath:t}}():"undefined"!==typeof t&&t.nextTick&&!t.browser&&(o=function(){var o,u=r(777),l=r(778),d=r(779);try{o=r(780)}catch(B){o=void 0}var f,_=r(103).Buffer,h=g()>=4,v=d.platform(),y=function(){return"win32"!==v&&"win64"!==v&&!I((e=n,e.replace(/\w/g,function(e){var t=e.toUpperCase();return e===t?e.toLowerCase():t})));var e}();!function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(f||(f={}));var b,x=Object({NODE_ENV:"production",PUBLIC_URL:"",REACT_APP_KEY_YOUTUBE:"AIzaSyBHjT8diW9ULlcNCB6JzaFldfz-QSnzgCY",REACT_APP_KEY_GOOGLE_CAPTCHA:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",REACT_APP_ARCHIVOS_LIST:"true",REACT_APP_DOMINIO:""}).TSC_NONPOLLING_WATCHER,S=Object({NODE_ENV:"production",PUBLIC_URL:"",REACT_APP_KEY_YOUTUBE:"AIzaSyBHjT8diW9ULlcNCB6JzaFldfz-QSnzgCY",REACT_APP_KEY_GOOGLE_CAPTCHA:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",REACT_APP_ARCHIVOS_LIST:"true",REACT_APP_DOMINIO:""}).TSC_WATCHFILE,k=Object({NODE_ENV:"production",PUBLIC_URL:"",REACT_APP_KEY_YOUTUBE:"AIzaSyBHjT8diW9ULlcNCB6JzaFldfz-QSnzgCY",REACT_APP_KEY_GOOGLE_CAPTCHA:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",REACT_APP_ARCHIVOS_LIST:"true",REACT_APP_DOMINIO:""}).TSC_WATCHDIRECTORY,C={args:t.argv.slice(2),newLine:d.EOL,useCaseSensitiveFileNames:y,write:function(e){t.stdout.write(e)},writeOutputIsTTY:function(){return t.stdout.isTTY},readFile:function(e,t){if(I(e)){var r=u.readFileSync(e),n=r.length;if(n>=2&&254===r[0]&&255===r[1]){n&=-2;for(var i=0;i<n;i+=2){var a=r[i];r[i]=r[i+1],r[i+1]=a}return r.toString("utf16le",2)}return n>=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):n>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")}},writeFile:function(e,t,r){var n;r&&(t=c+t);try{n=u.openSync(e,"w"),u.writeSync(n,t,void 0,"utf8")}finally{void 0!==n&&u.closeSync(n)}},watchFile:function(){switch(S){case"PriorityPollingInterval":return T;case"DynamicPriorityPolling":return p({getModifiedTime:j,setTimeout:setTimeout});case"UseFsEvents":return A;case"UseFsEventsWithFallbackDynamicPolling":return b=p({getModifiedTime:j,setTimeout:setTimeout}),e=b,function(t,r,n){return D(t,0,w(t,r),!1,e,n)};case"UseFsEventsOnParentDirectory":return E()}var e;return x?E():function(e,t){return T(e,t)}}(),watchDirectory:function(){if(h&&("win32"===t.platform||"darwin"===t.platform))return P;var r="RecursiveDirectoryUsingFsWatchFile"===k?O(T):"RecursiveDirectoryUsingDynamicPriorityPolling"===k?O(b||p({getModifiedTime:j,setTimeout:setTimeout})):P,n=m({filePathComparer:e.getStringComparer(!y),directoryExists:L,getAccessibleSortedChildDirectories:function(e){return F(e).directories},watchDirectory:r,realpath:R});return function(e,t,i){if(i)return n(e,t);r(e,t)}}(),resolvePath:function(e){return l.resolve(e)},fileExists:I,directoryExists:L,createDirectory:function(e){C.directoryExists(e)||u.mkdirSync(e)},getExecutingFilePath:function(){return n},getCurrentDirectory:function(){return t.cwd()},getDirectories:function(t){return e.filter(u.readdirSync(t),function(r){return M(e.comb
1inePaths(t,r),1)})},getEnvironmentVariable:function(e){return Object({NODE_ENV:"production",PUBLIC_URL:"",REACT_APP_KEY_YOUTUBE:"AIzaSyBHjT8diW9ULlcNCB6JzaFldfz-QSnzgCY",REACT_APP_KEY_GOOGLE_CAPTCHA:"6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI",REACT_APP_ARCHIVOS_LIST:"true",REACT_APP_DOMINIO:""})[e]||""},readDirectory:function(r,n,i,a,o){return e.matchFiles(r,n,i,a,y,t.cwd(),o,F)},getModifiedTime:j,createHash:o?function(e){var t=o.createHash("md5");return t.update(e),t.digest("hex")}:function(e){return""+e.split("").map(function(e){return e.charCodeAt(0)}).reduce(function(e,t){return(e<<5)+e+t},5381)},createSHA256Hash:o?function(e){var t=o.createHash("sha256");return t.update(e),t.digest("hex")}:void 0,getMemoryUsage:function(){return i.gc&&i.gc(),t.memoryUsage().heapUsed},getFileSize:function(e){try{var t=u.statSync(e);if(t.isFile())return t.size}catch(B){}return 0},exit:function(e){t.exit(e)},realpath:R,debugMode:e.some(t.execArgv,function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)}),tryEnableSourceMapsForHost:function(){try{r(864).install()}catch(B){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){t.stdout.write("\x1bc")},setBlocking:function(){t.stdout&&t.stdout._handle&&t.stdout._handle.setBlocking&&t.stdout._handle.setBlocking(!0)},base64decode:_.from?function(e){return _.from(e,"base64").toString("utf8")}:function(e){return new _(e,"base64").toString("utf8")},base64encode:_.from?function(e){return _.from(e).toString("base64")}:function(e){return new _(e).toString("base64")}};return C;function E(){var t=e.createMultiMap(),r=e.createMap(),n=e.createGetCanonicalFileName(y);return function(i,o){var s=n(i);t.add(s,o);var c=e.getDirectoryPath(s)||".",u=r.get(c)||function(i,o){var s=N(i,function(r,o){var s=e.isString(o)?e.getNormalizedAbsolutePath(o,i):void 0,c=t.get(n(s));if(c)for(var u=0,l=c;u<l.length;u++){var d=l[u];d(s,a.Changed)}});return s.referenceCount=0,r.set(o,s),s}(e.getDirectoryPath(i)||".",c);return u.referenceCount++,{close:function(){1===u.referenceCount?(u.close(),r.delete(c)):u.referenceCount--,t.remove(s,o)}}}}function T(e,t,r){var n;return u.watchFile(e,{persistent:!0,interval:r||250},i),{close:function(){return u.unwatchFile(e,i)}};function i(r,i){var o=0===+i.mtime||n===a.Deleted;if(0===+r.mtime){if(o)return;n=a.Deleted}else if(o)n=a.Created;else{if(+r.mtime===+i.mtime)return;n=a.Changed}t(e,n)}}function w(e,t){return function(r){t(e,"rename"===r?I(e)?a.Created:a.Deleted:a.Changed)}}function D(e,r,n,i,o,s){var c,l=M(e,r)?f():p();return{close:function(){l.close(),l=void 0}};function d(e){n("rename",""),l&&(l.close(),l=e())}function f(){void 0===c&&(c=!h||"win32"!==t.platform&&"darwin"!==t.platform?{persistent:!0}:{persistent:!0,recursive:!!i});try{var r=u.watch(e,c,n);return r.on("error",function(){return d(p)}),r}catch(l){return o(e,function(e){return function(t,r){return e(r===a.Changed?"change":"rename","")}}(n),s)}}function p(){return o(e,function(t,n){n===a.Created&&M(e,r)&&d(f)},s)}}function A(e,t,r){return D(e,0,w(e,t),!1,T,r)}function N(e,t,r){return D(e,1,t,!!r,T)}function P(t,r,n){return N(t,function(t,r){return function(n,i){"rename"===n&&r(i?e.normalizePath(e.combinePaths(t,i)):t)}}(t,r),n)}function O(e){return function(t,r){return e(t,function(){return r(t)},s.Medium)}}function F(t){try{for(var r=u.readdirSync(t||".").sort(),n=[],i=[],a=0,o=r;a<o.length;a++){var s=o[a];if("."!==s&&".."!==s){var c=e.combinePaths(t,s),l=void 0;try{l=u.statSync(c)}catch(d){continue}l.isFile()?n.push(s):l.isDirectory()&&i.push(s)}}return{files:n,directories:i}}catch(d){return e.emptyFileSystemEntries}}function M(e,t){try{var r=u.statSync(e);switch(t){case 0:return r.isFile();case 1:return r.isDirectory()}}catch(n){return!1}}function I(e){return M(e,0)}function L(e){return M(e,1)}function R(e){try{return u.realpathSync(e)}catch(B){return e}}function j(e){try{return u.statSync(e).mtime}catch(t){return}}}()),o){var u=o.writeFile;o.writeFile=function(t,r,n){var i=e.getDirectoryPath(e.normalizeSlashes(t));i&&!o.directoryExists(i)&&function t(r,n){var i=e.getDirectoryPath(r),a=""!==i&&r!==i&&!n.directoryExists(i);a&&t(i,n),!a&&n.directoryExists(r)||n.createDirectory(r)}(i,o),u.call(o,t,r,n)}}return o}(),e.sys&&e.sys.getEnvironmentVariable&&(f(e.sys),e.Debug.currentAssertionLevel=/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(u||(u={})),function(e){function t(e,t,r,n,i){return{code:e,category:t,key:r,message:n,reportsUnnecessary:i}}e.Diagnostics={Unterminated_string_literal:t(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:t(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:t(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:t(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),Trailing_comma_not_allowed:t(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:t(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:t(1011,e.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:t(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:t(1013,e.DiagnosticCategory.Error,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:t(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:t(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:t(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:t(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:t(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:t(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:t(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:t(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:t(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_string_or_number:t(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_or_number_1023","An index signature parameter type must be 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:t(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),Accessibility_modifier_already_seen:t(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:t(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:t(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:t(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:t(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:t(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:t(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:t
1(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:t(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:t(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:t(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:t(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:t(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:t(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:t(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file:t(1046,e.DiagnosticCategory.Error,"A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file_1046","A 'declare' modifier is required for a top level declaration in a .d.ts file."),A_rest_parameter_cannot_be_optional:t(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:t(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:t(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:t(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:t(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:t(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:t(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:t(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:t(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:t(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:t(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:t(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:t(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:t(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:t(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:t(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064","The return type of an async function or method must be the global Promise<T> type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:t(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:t(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),_0_modifier_cannot_appear_on_a_type_member:t(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_
1signature:t(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:t(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:t(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:t(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),An_accessor_cannot_be_declared_in_an_ambient_context:t(1086,e.DiagnosticCategory.Error,"An_accessor_cannot_be_declared_in_an_ambient_context_1086","An accessor cannot be declared in an ambient context."),_0_modifier_cannot_appear_on_a_constructor_declaration:t(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:t(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:t(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:t(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:t(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:t(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:t(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:t(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:t(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:t(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:t(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:t(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:t(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:t(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:t(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","A 'for-await-of' statement is only allowed within an async function or async generator."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:t(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:t(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:t(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:t(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:t(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:t(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:t(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:t(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:t(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:t(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:t(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:t(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:t(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:t(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:t(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),A_tuple_type_element_list_cannot_be_empty:t(1122,e.DiagnosticCategory.Error,"A_tuple_type_element_list_cannot_be_empty_1122","A tuple type element list cannot be empty."),Variable_declaration_list_cannot_be_empty:t(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:t(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:t(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:t(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:t(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:t(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:t(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:t(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:t(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:t(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:t(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:t(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:t(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:t(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:t(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:t(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:t(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:t(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:t(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:t(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:t(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:t(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exp
1orts_or_module_augmentations_when_module_is_none:t(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:t(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:t(1150,e.DiagnosticCategory.Error,"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150","'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead."),const_declarations_must_be_initialized:t(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:t(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:t(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:t(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:t(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:t(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:t(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:t(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_
1is_not_allowed_in_a_computed_property_name:t(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:t(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:t(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:t(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:t(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:t(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:t(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:t(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:t(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:t(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:t(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:t(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:t(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:t(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:t(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:t(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:t(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:t(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:t(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:t(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:t(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:t(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:t(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:t(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),Catch_clause_variable_cannot_have_a_type_annotation:t(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable c
1annot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:t(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:t(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:t(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:t(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:t(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:t(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:t(1205,e.DiagnosticCategory.Error,"Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205","Cannot re-export a type when the '--isolatedModules' flag is provided."),Decorators_are_not_valid_here:t(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:t(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:t(1208,e.DiagnosticCategory.Error,"Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208","Cannot compile namespaces when the '--isolatedModules' flag is provided."),Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:t(1209,e.DiagnosticCategory.Error,"Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209","Ambient const enums are not allowed when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:t(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:t(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:t(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:t(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:t(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:t(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:t(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning:t(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:t(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:t
1(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:t(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:t(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:t(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:t(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:t(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:t(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:t(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:t(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:t(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:t(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:t(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:t(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:t(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:t(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:t(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:t(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:t(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:t(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:t(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:t(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:t(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:t(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:t(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:t(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:t(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:t(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:t(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:t(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:t(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:t(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:t(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal:t(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254","A 'const' initializer in an ambient context must be a string or numeric literal."),A_definite_assignment_assertion_is_not_permitted_in_this_context:t
1(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),with_statements_are_not_allowed_in_an_async_function_block:t(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expression_is_only_allowed_within_an_async_function:t(1308,e.DiagnosticCategory.Error,"await_expression_is_only_allowed_within_an_async_function_1308","'await' expression is only allowed within an async function."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:t(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:t(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:t(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:t(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:t(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:t(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:t(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_
1can_only_be_used_in_an_ECMAScript_style_module:t(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext:t(1323,e.DiagnosticCategory.Error,"Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext_1323","Dynamic import is only supported when '--module' flag is 'commonjs' or 'esNext'."),Dynamic_import_must_have_one_specifier_as_an_argument:t(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:t(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:t(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:t(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:t(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:t(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:t(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:t(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:t(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:t(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:t(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:t(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:t(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:t(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:t(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:t(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here:t(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_1340","Module '{0}' does not refer to a type, but is used as a type here."),Type_arguments_cannot_be_used_here:t(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options:t(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_option_1343","The 'import.meta' meta-property is only allowed using 'ESNext' for the 'target' and 'module' compiler options."),Duplicate_identifier_0:t(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:t(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:t(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:t(2303,e.DiagnosticCategory.Error,"Cir
1cular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:t(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:t(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:t(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:t(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_2307","Cannot find module '{0}'."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:t(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:t(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:t(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:t(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_may_only_extend_a_class_or_another_interface:t(2312,e.DiagnosticCategory.Error,"An_interface_may_only_extend_a_class_or_another_interface_2312","An interface may only extend a class or another interface."),Type_parameter_0_has_a_circular_constraint:t(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:t(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:t(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:t(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:t(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:t(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:t(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:t(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:t(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:t(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:t(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:t(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:t(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:t(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:t(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:t(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:t(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:t(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:t(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:t(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:t(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:t(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:t(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:t(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:t(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:t(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:t(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:t(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:t(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:t(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_
1syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:t(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343","This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."),Type_0_does_not_satisfy_the_constraint_1:t(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:t(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:t(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:t(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:t(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:t(2349,e.DiagnosticCategory.Error,"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349","Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures."),Only_a_void_function_can_be_called_with_the_new_keyword:t(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:t(2351,e.DiagnosticCategory.Error,"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351","Cannot use 'new' with an expression whose type lacks a call or construct signature."),Type_0_cannot_be_converted_to_type_1:t(2352,e.DiagnosticCategory.Error,"Type_0_cannot_be_converted_to_type_1_2352","Type '{0}' cannot be converted to type '{1}'."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:t(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:t(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:t(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type:t(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:t(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:t(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:t(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The r
1ight-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:t(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:t(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:t(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:t(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:t(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:t(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:t(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),Type_parameter_name_cannot_be_0:t(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:t(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:t(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:t(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_be_referenced_in_its_initializer:t(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_be_referenced_in_its_initializer_2372","Parameter '{0}' cannot be referenced in its initializer."),Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,e.DiagnosticCategory.Error,"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:t(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:t(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:t(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties."),Constructors_for_derived_classes_must_c
1ontain_a_super_call:t(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:t(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:t(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:t(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:t(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:t(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:t(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:t(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:t(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:t(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:t(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:t(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:t(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:t(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:t(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:t(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:t(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),Overload_signature_is_not_compatible_with_function_implementation:t(2394,e.DiagnosticCategory.Error,"Overload_signature_is_not_compatible_with_function_implementation_2394","Overload signature is not compatible with function implementation."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:t(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:t(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:t(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:t(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:t(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:t(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:t(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that c
1ompiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:t(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:t(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:t(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:t(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:t(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:t(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:t(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:t(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:t(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:t(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:t(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:t(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:t(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:t(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:t(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Class_0_incorrectly_implements_interface_1:t(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_may_only_implement_another_class_or_interface:t(2422,e.DiagnosticCategory.Error,"A_class_may_only_implement_another_class_or_interface_2422","A class may only implement another class or interface."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:t(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:t(2424,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:t(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:t(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:t(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:t(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:t(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:t(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:t(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:t(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:t(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:t(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:t(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:t(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:t(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:t(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:t(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:t(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:t(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:t(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:t(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:t(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:t(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:t(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:t(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:t(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:t(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:t(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:t(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:t(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:t(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:t(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:t(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:t(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:t(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Type_0_has_no_property_1_and_no_string_index_signature:t(2459,e.DiagnosticCategory.Error,"Type_0_has_no_property_1_and_no_string_index_signature_2459","Type '{0}' has no property '{1}' and no string index signature."),Type_0_has_no_property_1:t(2460,e.DiagnosticCategory.Error,"Type_0_has_no_property_1_2460","Type '{0}' has no property '{1}'."),Type_0_is_not_an_array_type:t(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:t(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:t(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:t(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:t(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:t(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:t(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:t(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:t(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:t(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:t(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:t(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:t(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),In_const_enum_declarations_member_initializer_must_be_constant_expression:t(24
174,e.DiagnosticCategory.Error,"In_const_enum_declarations_member_initializer_must_be_constant_expression_2474","In 'const' enum declarations member initializer must be constant expression."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:t(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:t(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:t(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:t(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:t(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:t(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:t(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:t(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:t(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:t(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:t(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:t(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the 'next()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:t(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:t(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2:t(2493,e.DiagnosticCategory.Error,"Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493","Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:t(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:t(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:t(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct:t(2497,e.DiagnosticCategory.Error,"Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497","Module '{0}' resolves to a non-module entity and cannot be imported using this construct."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:t(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:t(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:t(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_c
1ontain_a_binding_pattern:t(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:t(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:t(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:t(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:t(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:t(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:t(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:t(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_a_class_or_interface_type:t(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_a_class_or_interface_type_2509","Base constructor return type '{0}' is not a class or interface type."),Base_constructors_must_all_have_the_same_return_type:t(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:t(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:t(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:t(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:t(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:t(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:t(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:t(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:t(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:t(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:t(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}
1' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:t(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:t(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:t(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:t(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:t(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:t(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:t(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:t(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:t(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:t(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:t(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:t(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:t(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:t(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:t(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:t(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:t(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:t(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:t
1(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property:t(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property_2540","Cannot assign to '{0}' because it is a constant or a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:t(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:t(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:t(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:t(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:t(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:t(2546,e.DiagnosticCategory.Error,"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546","Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."),The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:t(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value__2547","The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Generic_type_instantiation_is_excessively_deep_and_possibly_infinite:t(2550,e.DiagnosticCategory.Error,"Generic_type_instantiation_is_excessively_deep_and_possibly_infinite_2550","Generic type instantiation is excessively deep and possibly infinite."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:t(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:t(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:t(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:t(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:t(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_1_or_more:t(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:t(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:t(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:t(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:t(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:t(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:t(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:t(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:t(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:t(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:t(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:t(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:t(2568,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators_2568","Type '{0}' is not an array type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:t(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await:t(25
170,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await_2570","Property '{0}' does not exist on type '{1}'. Did you forget to use 'await'?"),JSX_element_attributes_type_0_may_not_be_a_union_type:t(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:t(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:t(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:t(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:t(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:t(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:t(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:t(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:t(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:t(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:t(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:t(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:t(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:t(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}
1'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:t(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:t(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:t(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:t(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:t(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:t(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:t(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:t(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:t(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:t(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:t(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:t(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:t(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:t(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:t(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:t
1(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:t(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:t(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:t(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:t(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:t(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:t(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:t(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:t(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:t(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:t(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:t(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:t(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:t(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:t(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:t(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:t(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:t(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:t(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:t(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:t(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:t(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:t(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:t(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:t(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:t(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:t(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),Spread_types_may_only_be_created_from_object_types:t(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:t(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:t(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:t(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:t(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:t(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a delete operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:t(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a delete operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:t(270
15,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Required_type_parameters_may_not_follow_optional_type_parameters:t(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:t(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:t(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:t(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:t(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:t(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:t(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:t(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:t(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:t(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:t(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:t(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_declaration_0:t(2718,e.DiagnosticCategory.Error,"Duplicate_declaration_0_2718","Duplicate declaration '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:t(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:t(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}
1' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:t(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:t(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:t(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:t(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Import_declaration_0_is_using_private_name_1:t(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:t(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:t(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:t(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:t(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:t(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:t(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:t(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:t(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:t(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:t(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:t(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:t(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:t(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:t(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:t(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:t(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:t(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:t(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:t(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:t(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:t(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:t(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:t(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of e
1xported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:t(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:t(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:t(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:t(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:t(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:t(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:t(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:t(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:t(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:t(4090,e.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:t(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}
1'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:t(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:t(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:t(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:t(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),The_current_host_does_not_support_the_0_option:t(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:t(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:t(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:t(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:t(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:t(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:t(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Could_not_write_file_0_Colon_1:t(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:t(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:t(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:t(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:t(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:t(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:t(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:t(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_over
1written_by_multiple_input_files:t(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:t(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:t(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:t(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:t(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:t(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:t(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' in can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:t(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:t(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:t(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:t(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:t(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:t(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:t(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:t(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:t(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:t(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:t(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:t(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:t(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:t(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:t(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:t(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:t(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:t(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:t(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:t(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:t(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:t(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:t(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_or_ESNEXT:t(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_or_ESNEXT_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES201
17','ES2018' or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext:t(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'."),Print_this_message:t(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:t(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:t(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:t(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:t(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:t(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:t(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:t(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:t(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:t(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:t(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:t(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:t(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:t(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:t(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:t(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:t(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:t(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:t(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:t(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:t(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:t(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:t(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:t(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unsupported_locale_0:t(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:t(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:t(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:t(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:t(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_unsupported_extension_The_only_supported_extensions_are_1:t(6054,e.DiagnosticCategory.Error,"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:t(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:t(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for c
1ode that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:t(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:t(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:t(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:t(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file:t(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_6064","Option '{0}' can only be specified in 'tsconfig.json' file."),Enables_experimental_support_for_ES7_decorators:t(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:t(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:t(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:t(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:t(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:t(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:t(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:t(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:t(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:t(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:t(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:t(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:t(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:t(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:t(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:t(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:t(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:t(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:t(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:t(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:t(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:t(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:t(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:t(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:t(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:t(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:t(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}
1'."),Resolving_module_name_0_relative_to_base_url_1_2:t(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:t(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:t(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:t(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:t(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:t(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:t(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:t(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:t(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:t(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:t(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_string_got_1:t(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105","Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:t(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:t(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:t(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:t(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:t(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:t(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:t(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:t(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:t(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:t(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:t(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:t(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:t(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:t(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:t(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:t(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:t(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:t(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:t(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:t(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:t(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:t(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:t(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:t(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}
1'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:t(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:t(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:t(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:t(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:t(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:t(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:t(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:t(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:t(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:t(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:t(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:t(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:t(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:t(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:t(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:t(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:t(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:t(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:t(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:t(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set
1:t(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:t(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:t(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:t(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:t(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:t(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:t(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:t(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:t(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:t(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:t(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:t(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:t(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:t(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:t(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:t(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:t(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:t(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:t(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:t(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:t(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:t(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:t(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:t(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:t(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:t(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:t(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_
16179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:t(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:t(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:t(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:t(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:t(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:t(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:t(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:t(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:t(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Found_package_json_at_0_Package_ID_is_1:t(6190,e.DiagnosticCategory.Message,"Found_package_json_at_0_Package_ID_is_1_6190","Found 'package.json' at '{0}'. Package ID is '{1}'."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:t(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:t(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:t(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:t(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:t(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:t(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:t(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:t(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:t(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Projects_to_reference:t(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:t(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:t(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),Composite_projects_may_not_disable_declaration_emit:t(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:t(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:t(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern:t(6307,e.DiagnosticCategory.Error,"File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern_6307","File '{0}' is not in project file list. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set
1:t(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:t(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Variable_0_implicitly_has_an_1_type:t(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:t(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:t(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:t(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:t(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:t(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:t(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:t(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:t(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:t(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:t(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:t(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:t(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:t(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:t(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:t(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type:t(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025","Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:t(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:t(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:t(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:t(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:t(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all c
1ode paths return a value."),Binding_element_0_implicitly_has_an_1_type:t(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:t(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:t(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:t(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:t(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{0}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:t(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:t(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime:t(7038,e.DiagnosticCategory.Error,"A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_7038","A namespace-style import cannot be called or constructed, and will cause a failure at runtime."),Mapped_object_type_implicitly_has_an_any_template_type:t(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),You_cannot_rename_this_element:t(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:t(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_a_ts_file:t(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_a_ts_file_8002","'import ... =' can only be used in a .ts file."),export_can_only_be_used_in_a_ts_file:t(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_a_ts_file_8003","'export=' can only be used in a .ts file."),type_parameter_declarations_can_only_be_used_in_a_ts_file:t(8004,e.DiagnosticCategory.Error,"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004","'type parameter declarations' can only be used in a .ts file."),implements_clauses_can_only_be_used_in_a_ts_file:t(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_a_ts_file_8005","'implements clauses' can only be used in a .ts file."),interface_declarations_can_only_be_used_in_a_ts_file:t(8006,e.DiagnosticCategory.Error,"interface_declarations_can_only_be_used_in_a_ts_file_8006","'interface declarations' can only be used in a .ts file."),module_declarations_can_only_be_used_in_a_ts_file:t(8007,e.DiagnosticCategory.Error,"module_declarations_can_only_be_used_in_a_ts_file_8007","'module declarations' can only be used in a .ts file."),type_aliases_can_only_be_used_in_a_ts_file:t(8008,e.DiagnosticCategory.Error,"type_aliases_can_only_be_used_in_a_ts_file_8008","'type aliases' can only be used in a .ts file."),_0_can_only_be_used_in_a_ts_file:t(8009,e.DiagnosticCategory.Error,"_0_can_only_be_used_in_a_ts_file_8009","'{0}' can only be used in a .ts file."),types_can_only_be_used_in_a_ts_file:t(8010,e.DiagnosticCategory.Error,"types_can_only_be_used_in_a_ts_file_8010","'types' can only be used in a .ts file."),type_arguments_can_only_be_used_in_a_ts_file:t(8011,e.DiagnosticCategory.Error,"type_arguments_can_only_be_used_in_a_ts_file_8011","'type arguments' can only be used in a .ts file."),parameter_modifiers_can_only_be_used_in_a_ts_file:t(8012,e.DiagnosticCategory.Error,"parameter_modifiers_can_only_be_used_in_a_ts_file_8012","'parameter modifiers' can only be used in a .ts file."),non_null_assertions_can_only_be_used_in_a_ts_file:t(8013,e.DiagnosticCategory.Error,"non_null_assertions_can_only_be_used_in_a_ts_file_8013","'non-null assertions' can only be used in a .ts file."),enum_declarations_can_only_be_used_in_a_ts_file:t(8015,e.DiagnosticCategory.Error,"enum_declarations_can_only_be_used_in_a_ts_file_8015","'enum declarations' can only be used in a .ts file."),type_assertion_expressions_can_only_be_used_in_a_ts_file:t(8016,e.DiagnosticCategory.Error,"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016","'type assertion expressions' can only be used in a .ts file."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:t(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:t(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:t(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:t(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:t(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:t(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:t(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:t(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:t(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:t(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:t(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:t(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:t(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:t(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:t(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:t(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:t(1
17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:t(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:t(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:t(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:t(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:t(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:t(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:t(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:t(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:t(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:t(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:t(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:t(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:t(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:t(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:t(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:t(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:t(1
17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Circularity_detected_while_resolving_configuration_Colon_0:t(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:t(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:t(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:t(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:t(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:t(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:t(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:t(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:t(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),Add_missing_super_call:t(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:t(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:t(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_declaration_for_Colon_0:t(90004,e.DiagnosticCategory.Message,"Remove_declaration_for_Colon_0_90004","Remove declaration for: '{0}'"),Remove_import_from_0:t(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:t(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:t(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:t(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:t(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:t(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Import_0_from_module_1:t(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:t(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:t(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:t(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:t(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:t(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:t(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:t(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:t(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:t(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:t(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:t(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:t(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:t(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:t(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:t(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:t(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Convert_function_to_an_ES2015_class:t(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:t(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:t(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:t(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:t(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:t(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:t(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:t(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:t(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:t(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:t(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:t(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:t(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:t(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:t(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),C
1onvert_to_ES6_module:t(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:t(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:t(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:t(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:t(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:t(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:t(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:t(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:t(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:t(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:t(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:t(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:t(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:t(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:t(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:t(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:t(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:t(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:t(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:t(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:t(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:t(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:t(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:t(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:t(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:t(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:t(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:t(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:t(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:t(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to '
1import'"),Convert_all_require_to_import:t(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:t(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:t(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:t(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:t(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:t(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:t(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels")}}(u||(u={})),function(e){function t(e){return e>=71}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 29===e||t(e)};var r=e.createMapFromTemplate({abstract:117,any:119,as:118,boolean:122,break:72,case:73,catch:74,class:75,continue:77,const:76,constructor:123,debugger:78,declare:124,default:79,delete:80,do:81,else:82,enum:83,export:84,extends:85,false:86,finally:87,for:88,from:142,function:89,get:125,if:90,implements:108,import:91,in:92,infer:126,instanceof:93,interface:109,is:127,keyof:128,let:110,module:129,namespace:130,never:131,new:94,null:95,number:134,object:135,package:111,private:112,protected:113,public:114,readonly:132,require:133,global:143,return:96,set:136,static:115,string:137,super:97,switch:98,symbol:138,this:99,throw:100,true:101,try:102,type:139,typeof:103,undefined:140,unique:141,var:104,void:105,while:106,with:107,yield:116,async:120,await:121,of:144,"{":17,"}":18,"(":19,")":20,"[":21,"]":22,".":23,"...":24,";":25,",":26,"<":27,">":29,"<=":30,">=":31,"==":32,"!=":33,"===":34,"!==":35,"=>":36,"+":37,"-":38,"**":40,"*":39,"/":41,"%":42,"++":43,"--":44,"<<":45,"</":28,">>":46,">>>":47,"&":48,"|":49,"^":50,"!":51,"~":52,"&&":53,"||":54,"?":55,":":56,"=":58,"+=":59,"-=":60,"*=":61,"**=":62,"/=":63,"%=":64,"<<=":65,">>=":66,">>>=":67,"&=":68,"|=":69,"^=":70,"@":57}),n=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12
1686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],i=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],a=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11
1742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],o=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11
1742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];function s(e,t){if(e<t[0])return!1;for(var r,n=0,i=t.length;n+1<i;){if(r=n+(i-n)/2,t[r-=r%2]<=e&&e<=t[r+1])return!0;e<t[r]?i=r:n=r+2}return!1}function c(e,t){return s(e,t>=1?a:n)}e.isUnicodeIdentifierStart=c;var u=function(e){var t=[];return e.forEach(function(e,r){t[e]=r}),t}(r);function l(e){for(var t=new Array,r=0,n=0;r<e.length;){var i=e.charCodeAt(r);switch(r++,i){case 13:10===e.charCodeAt(r)&&r++;case 10:t.push(n),n=r;break;default:i>127&&g(i)&&(t.push(n),n=r)}}return t.push(n),t}function d(t,r,n,i){(r<0||r>=t.length)&&e.Debug.fail("Bad line number. Line: "+r+", lineStarts.length: "+t.length+" , line map is correct? "+(void 0!==i?e.arraysEqual(t,l(i)):"unknown"));var a=t[r]+n;return r<t.length-1?e.Debug.assert(a<t[r+1]):void 0!==i&&e.Debug.assert(a<=i.length),a}function f(e){return e.lineMap||(e.lineMap=l(e.text))}function p(t,r){var n=e.binarySearch(t,r,e.identity,e.compareValues);return n<0&&(n=~n-1,e.Debug.assert(-1!==n,"position cannot precede the beginning of the file")),{line:n,character:r-t[n]}}function _(e){return m(e)||g(e)}function m(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function g(e){return 10===e||13===e||8232===e||8233===e}function h(e){return e>=48&&e<=57}function v(e){return e>=48&&e<=55}e.tokenToString=function(e){return u[e]},e.stringToToken=function(e){return r.get(e)},e.computeLineStarts=l,e.getPositionOfLineAndCharacter=function(e,t,r){return d(f(e),t,r,e.text)},e.computePositionOfLineAndCharacter=d,e.getLineStarts=f,e.computeLineAndCharacterOfPosition=p,e.getLineAndCharacterOfPosition=function(e,t){return p(f(e),t)}
1,e.isWhiteSpaceLike=_,e.isWhiteSpaceSingleLine=m,e.isLineBreak=g,e.isOctalDigit=v,e.couldStartTrivia=function(e,t){var r=e.charCodeAt(t);switch(r){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return r>127}},e.skipTrivia=function(t,r,n,i){if(void 0===i&&(i=!1),e.positionIsSynthesized(r))return r;for(;;){var a=t.charCodeAt(r);switch(a){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)return r;continue;case 9:case 11:case 12:case 32:r++;continue;case 47:if(i)break;if(47===t.charCodeAt(r+1)){for(r+=2;r<t.length&&!g(t.charCodeAt(r));)r++;continue}if(42===t.charCodeAt(r+1)){for(r+=2;r<t.length;){if(42===t.charCodeAt(r)&&47===t.charCodeAt(r+1)){r+=2;break}r++}continue}break;case 60:case 124:case 61:case 62:if(b(t,r)){r=x(t,r);continue}break;case 35:if(0===r&&k(t,r)){r=C(t,r);continue}break;default:if(a>127&&_(a)){r++;continue}}return r}};var y="<<<<<<<".length;function b(t,r){if(e.Debug.assert(r>=0),0===r||g(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+y<t.length){for(var i=0;i<y;i++)if(t.charCodeAt(r+i)!==n)return!1;return 61===n||32===t.charCodeAt(r+y)}}return!1}function x(t,r,n){n&&n(e.Diagnostics.Merge_conflict_marker_encountered,r,y);var i=t.charCodeAt(r),a=t.length;if(60===i||62===i)for(;r<a&&!g(t.charCodeAt(r));)r++;else for(e.Debug.assert(124===i||61===i);r<a;){var o=t.charCodeAt(r);if((61===o||62===o)&&o!==i&&b(t,r))break;r++}return r}var S=/^#!.*/;function k(t,r){return e.Debug.assert(0===r),S.test(t)}function C(e,t){return t+=S.exec(e)[0].length}function E(e,t,r,n,i,a,o){var s,c,u,l,d=!1,f=n||0===r,p=o;e:for(;r>=0&&r<t.length;){var m=t.charCodeAt(r);switch(m){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)break e;f=!0,d&&(l=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:var h=t.charCodeAt(r+1),v=!1;if(47===h||42===h){var y=47===h?2:3,b=r;if(r+=2,47===h)for(;r<t.length;){if(g(t.charCodeAt(r))){v=!0;break}r++}else for(;r<t.length;){if(42===t.charCodeAt(r)&&47===t.charCodeAt(r+1)){r+=2;break}r++}if(f){if(d&&(p=i(s,c,u,l,a,p),!e&&p))return p;s=b,c=r,u=y,l=v,d=!0}continue}break e;default:if(m>127&&_(m)){d&&g(m)&&(l=!0),r++;continue}break e}}return d&&(p=i(s,c,u,l,a,p)),p}function T(e,t,r,n,i){return E(!0,e,t,!1,r,n,i)}function w(e,t,r,n,i){return E(!0,e,t,!0,r,n,i)}function D(e,t,r,n,i,a){return a||(a=[]),a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),a}function A(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&c(e,t)}function N(e,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&function(e,t){return s(e,t>=1?o:i)}(e,t)}e.forEachLeadingCommentRange=function(e,t,r,n){return E(!1,e,t,!1,r,n)},e.forEachTrailingCommentRange=function(e,t,r,n){return E(!1,e,t,!0,r,n)},e.reduceEachLeadingCommentRange=T,e.reduceEachTrailingCommentRange=w,e.getLeadingCommentRanges=function(e,t){return T(e,t,D,void 0,void 0)},e.getTrailingCommentRanges=function(e,t){return w(e,t,D,void 0,void 0)},e.getShebang=function(e){var t=S.exec(e);if(t)return t[0]},e.isIdentifierStart=A,e.isIdentifierPart=N,e.isIdentifierText=function(e,t){if(!A(e.charCodeAt(0),t))return!1;for(var r=1;r<e.length;r++)if(!N(e.charCodeAt(r),t))return!1;return!0},e.createScanner=function(n,i,a,o,s,c,u){var l,d,f,p,y,S,E;return void 0===a&&(a=0),W(o,c,u),{getStartPos:function(){return f},getTextPos:function(){return l},getToken:function(){return y},getTokenPos:function(){return p},getTokenText:function(){return o.substring(p,l)},getTokenValue:function(){return S},hasExtendedUnicodeEscape:function(){return 0!==(8&E)},hasPrecedingLineBreak:function(){return 0!==(1&E)},isIdentifier:function(){return 71===y||y>107},isReservedWord:function(){return y>=72&&y<=107},isUnterminated:function(){return 0!==(4&E)},getTokenFlags:function(){return E},reScanGreaterToken:function(){if(29===y){if(62===o.charCodeAt(l))return 62===o.charCodeAt(l+1)?61===o.charCodeAt(l+2)?(l+=3,y=67):(l+=2,y=47):61===o.charCodeAt(l+1)?(l+=2,y=66):(l++,y=46);if(61===o.charCodeAt(l))return l++,y=31}return y},reScanSlashToken:function(){if(41===y||63===y){for(var t=p+1,r=!1,i=!1;;){if(t>=d){E|=4,T(e.Diagnostics.Unterminated_regular_expression_literal);break}
1var a=o.charCodeAt(t);if(g(a)){E|=4,T(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===a&&!i){t++;break}91===a?i=!0:92===a?r=!0:93===a&&(i=!1)}t++}for(;t<d&&N(o.charCodeAt(t),n);)t++;l=t,S=o.substring(p,l),y=12}return y},reScanTemplateToken:function(){return e.Debug.assert(18===y,"'reScanTemplateToken' should only be called on a '}'"),l=p,y=L()},scanJsxIdentifier:function(){if(t(y)){for(var e=l;l<d;){var r=o.charCodeAt(l);if(45!==r&&(e===l?!A(r,n):!N(r,n)))break;l++}S+=o.substring(e,l)}return y},scanJsxAttributeValue:function(){switch(f=l,o.charCodeAt(l)){case 34:case 39:return S=I(!0),y=9;default:return V()}},reScanJsxToken:function(){return l=p=f,y=J()},scanJsxToken:J,scanJSDocToken:function(){if(f=p=l,l>=d)return y=1;var e=o.charCodeAt(l);switch(l++,e){case 9:case 11:case 12:case 32:for(;l<d&&m(o.charCodeAt(l));)l++;return y=5;case 64:return y=57;case 10:case 13:return y=4;case 42:return y=39;case 123:return y=17;case 125:return y=18;case 91:return y=21;case 93:return y=22;case 60:return y=27;case 61:return y=58;case 44:return y=26;case 46:return y=23;case 96:for(;l<d&&96!==o.charCodeAt(l);)l++;return S=o.substring(p+1,l),l++,y=13}if(A(e,6)){for(;N(o.charCodeAt(l),6)&&l<d;)l++;return S=o.substring(p,l),y=71}return y=0},scan:V,getText:function(){return o},setText:W,setScriptTarget:function(e){n=e},setLanguageVariant:function(e){a=e},setOnError:function(e){s=e},setTextPos:K,tryScan:function(e){return H(e,!1)},lookAhead:function(e){return H(e,!0)},scanRange:function(e,t,r){var n=d,i=l,a=f,s=p,c=y,u=S,_=E;W(o,e,t);var m=r();return d=n,l=i,f=a,p=s,y=c,S=u,E=_,m}};function T(e,t,r){if(void 0===t&&(t=l),s){var n=l;l=t,s(e,r||0),l=n}}function w(){for(var t=l,r=!1,n=!1,i="";;){var a=o.charCodeAt(l);if(95!==a){if(!h(a))break;r=!0,n=!1,l++}else E|=512,r?(r=!1,n=!0,i+=o.substring(t,l)):T(n?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),t=++l}return 95===o.charCodeAt(l-1)&&T(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),i+o.substring(t,l)}function D(){var t,r,n=l,i=w();46===o.charCodeAt(l)&&(l++,t=w());var a=l;if(69===o.charCodeAt(l)||101===o.charCodeAt(l)){l++,E|=16,43!==o.charCodeAt(l)&&45!==o.charCodeAt(l)||l++;var s=l,c=w();c?(r=o.substring(a,s)+c,a=l):T(e.Diagnostics.Digit_expected)}if(512&E){var u=i;return t&&(u+="."+t),r&&(u+=r),""+ +u}return""+ +o.substring(n,a)}function P(){for(var e=l;v(o.charCodeAt(l));)l++;return+o.substring(e,l)}function O(e,t){return M(e,!1,t)}function F(e,t){return M(e,!0,t)}function M(t,r,n){for(var i=0,a=0,s=!1,c=!1;i<t||r;){var u=o.charCodeAt(l);if(n&&95===u)E|=512,s?(s=!1,c=!0):T(c?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),l++;else{if(s=n,u>=48&&u<=57)a=16*a+u-48;else if(u>=65&&u<=70)a=16*a+u-65+10;else{if(!(u>=97&&u<=102))break;a=16*a+u-97+10}l++,i++,c=!1}}return i<t&&(a=-1),95===o.charCodeAt(l-1)&&T(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),a}function I(t){void 0===t&&(t=!1);
1for(var r=o.charCodeAt(l),n="",i=++l;;){if(l>=d){n+=o.substring(i,l),E|=4,T(e.Diagnostics.Unterminated_string_literal);break}var a=o.charCodeAt(l);if(a===r){n+=o.substring(i,l),l++;break}if(92!==a||t){if(g(a)&&!t){n+=o.substring(i,l),E|=4,T(e.Diagnostics.Unterminated_string_literal);break}l++}else n+=o.substring(i,l),n+=R(),i=l}return n}function L(){for(var t,r=96===o.charCodeAt(l),n=++l,i="";;){if(l>=d){i+=o.substring(n,l),E|=4,T(e.Diagnostics.Unterminated_template_literal),t=r?13:16;break}var a=o.charCodeAt(l);if(96===a){i+=o.substring(n,l),l++,t=r?13:16;break}if(36===a&&l+1<d&&123===o.charCodeAt(l+1)){i+=o.substring(n,l),l+=2,t=r?14:15;break}92!==a?13!==a?l++:(i+=o.substring(n,l),++l<d&&10===o.charCodeAt(l)&&l++,i+="\n",n=l):(i+=o.substring(n,l),i+=R(),n=l)}return e.Debug.assert(void 0!==t),S=i,t}function R(){if(++l>=d)return T(e.Diagnostics.Unexpected_end_of_text),"";var t=o.charCodeAt(l);switch(l++,t){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return l<d&&123===o.charCodeAt(l)?(E|=8,l++,function(){var t=F(1,!1),r=!1;return t<0?(T(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(T(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),l>=d?(T(e.Diagnostics.Unexpected_end_of_text),r=!0):125===o.charCodeAt(l)?l++:(T(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":function(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var r=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(r,n)}(t)}()):j(4);case 120:return j(2);case 13:l<d&&10===o.charCodeAt(l)&&l++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(t)}}function j(t){var r=O(t,!1);return r>=0?String.fromCharCode(r):(T(e.Diagnostics.Hexadecimal_digit_expected),"")}function B(){if(l+5<d&&117===o.charCodeAt(l+1)){var e=l;l+=2;var t=O(4,!1);return l=e,t}return-1}function z(){for(var e="",t=l;l<d;
1){var r=o.charCodeAt(l);if(N(r,n))l++;else{if(92!==r)break;if(!((r=B())>=0&&N(r,n)))break;e+=o.substring(t,l),e+=String.fromCharCode(r),t=l+=6}}return e+=o.substring(t,l)}function q(){var e=S.length;if(e>=2&&e<=11){var t=S.charCodeAt(0);if(t>=97&&t<=122&&void 0!==(y=r.get(S)))return y}return y=71}function U(t){e.Debug.assert(2===t||8===t,"Expected either base 2 or base 8");for(var r=0,n=0,i=!1,a=!1;;){var s=o.charCodeAt(l);if(95!==s){i=!0;var c=s-48;if(!h(s)||c>=t)break;r=r*t+c,l++,n++,a=!1}else E|=512,i?(i=!1,a=!0):T(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,l,1),l++}return 0===n?-1:95===o.charCodeAt(l-1)?(T(e.Diagnostics.Numeric_separators_are_not_allowed_here,l-1,1),r):r}function V(){for(f=l,E=0;;){if(p=l,l>=d)return y=1;var t=o.charCodeAt(l);if(35===t&&0===l&&k(o,l)){if(l=C(o,l),i)continue;return y=6}switch(t){case 10:case 13:if(E|=1,i){l++;continue}return 13===t&&l+1<d&&10===o.charCodeAt(l+1)?l+=2:l++,y=4;case 9:case 11:case 12:case 32:if(i){l++;continue}for(;l<d&&m(o.charCodeAt(l));)l++;return y=5;case 33:return 61===o.charCodeAt(l+1)?61===o.charCodeAt(l+2)?(l+=3,y=35):(l+=2,y=33):(l++,y=51);case 34:case 39:return S=I(),y=9;case 96:return y=L();case 37:return 61===o.charCodeAt(l+1)?(l+=2,y=64):(l++,y=42);case 38:return 38===o.charCodeAt(l+1)?(l+=2,y=53):61===o.charCodeAt(l+1)?(l+=2,y=68):(l++,y=48);case 40:return l++,y=19;case 41:return l++,y=20;case 42:return 61===o.charCodeAt(l+1)?(l+=2,y=61):42===o.charCodeAt(l+1)?61===o.charCodeAt(l+2)?(l+=3,y=62):(l+=2,y=40):(l++,y=39);case 43:return 43===o.charCodeAt(l+1)?(l+=2,y=43):61===o.charCodeAt(l+1)?(l+=2,y=59):(l++,y=37);case 44:return l++,y=26;case 45:return 45===o.charCodeAt(l+1)?(l+=2,y=44):61===o.charCodeAt(l+1)?(l+=2,y=60):(l++,y=38);case 46:return h(o.charCodeAt(l+1))?(S=D(),y=8):46===o.charCodeAt(l+1)&&46===o.charCodeAt(l+2)?(l+=3,y=24):(l++,y=23);case 47:if(47===o.charCodeAt(l+1)){for(l+=2;
1l<d&&!g(o.charCodeAt(l));)l++;if(i)continue;return y=2}if(42===o.charCodeAt(l+1)){l+=2,42===o.charCodeAt(l)&&47!==o.charCodeAt(l+1)&&(E|=2);for(var r=!1;l<d;){var s=o.charCodeAt(l);if(42===s&&47===o.charCodeAt(l+1)){l+=2,r=!0;break}g(s)&&(E|=1),l++}if(r||T(e.Diagnostics.Asterisk_Slash_expected),i)continue;return r||(E|=4),y=3}return 61===o.charCodeAt(l+1)?(l+=2,y=63):(l++,y=41);case 48:var c;if(l+2<d&&(88===o.charCodeAt(l+1)||120===o.charCodeAt(l+1)))return l+=2,(c=F(1,!0))<0&&(T(e.Diagnostics.Hexadecimal_digit_expected),c=0),S=""+c,E|=64,y=8;if(l+2<d&&(66===o.charCodeAt(l+1)||98===o.charCodeAt(l+1)))return l+=2,(c=U(2))<0&&(T(e.Diagnostics.Binary_digit_expected),c=0),S=""+c,E|=128,y=8;if(l+2<d&&(79===o.charCodeAt(l+1)||111===o.charCodeAt(l+1)))return l+=2,(c=U(8))<0&&(T(e.Diagnostics.Octal_digit_expected),c=0),S=""+c,E|=256,y=8;if(l+1<d&&v(o.charCodeAt(l+1)))return S=""+P(),E|=32,y=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return S=D(),y=8;case 58:return l++,y=56;case 59:return l++,y=25;case 60:if(b(o,l)){if(l=x(o,l,T),i)continue;return y=7}return 60===o.charCodeAt(l+1)?61===o.charCodeAt(l+2)?(l+=3,y=65):(l+=2,y=45):61===o.charCodeAt(l+1)?(l+=2,y=30):1===a&&47===o.charCodeAt(l+1)&&42!==o.charCodeAt(l+2)?(l+=2,y=28):(l++,y=27);case 61:if(b(o,l)){if(l=x(o,l,T),i)continue;return y=7}return 61===o.charCodeAt(l+1)?61===o.charCodeAt(l+2)?(l+=3,y=34):(l+=2,y=32):62===o.charCodeAt(l+1)?(l+=2,y=36):(l++,y=58);case 62:if(b(o,l)){if(l=x(o,l,T),i)continue;return y=7}return l++,y=29;case 63:return l++,y=55;case 91:return l++,y=21;case 93:return l++,y=22;case 94:return 61===o.charCodeAt(l+1)?(l+=2,y=70):(l++,y=50);case 123:return l++,y=17;case 124:if(b(o,l)){if(l=x(o,l,T),i)continue;return y=7}return 124===o.charCodeAt(l+1)?(l+=2,y=54):61===o.charCodeAt(l+1)?(l+=2,y=69):(l++,y=49);case 125:return l++,y=18;case 126:return l++,y=52;case 64:return l++,y=57;case 92:var u=B();return u>=0&&A(u,n)?(l+=6,S=String.fromCharCode(u)+z(),y=q()):(T(e.Diagnostics.Invalid_character),l++,y=0);default:if(A(t,n)){for(l++;l<d&&N(t=o.charCodeAt(l),n);)l++;return S=o.substring(p,l),92===t&&(S+=z()),y=q()}if(m(t)){l++;continue}if(g(t)){E|=1,l++;continue}return T(e.Diagnostics.Invalid_character),l++,y=0}}}function J(){if(f=p=l,l>=d)return y=1;var e=o.charCodeAt(l);if(60===e)return 47===o.charCodeAt(l+1)?(l+=2,y=28):(l++,y=27);if(123===e)return l++,y=17;for(var t=0;l<d&&123!==(e=o.charCodeAt(l));){if(60===e){if(b(o,l))return l=x(o,l,T),y=7;break}g(e)&&0===t?t=-1:_(e)||(t=l),l++}return-1===t?11:10}function H(e,t){var r=l,n=f,i=p,a=y,o=S,s=E,c=e();return c&&!t||(l=r,f=n,p=i,y=a,S=o,E=s),c}function W(e,t,r){o=e||"",d=void 0===r?o.length:t+r,K(t||0)}function K(t){e.Debug.assert(t>=0),l=t,f=t,p=t,y=0,S=void 0,E=0}}}(u||(u={})),function(e){e.resolvingEmptyArray=[],e.emptyMap=e.createMap(),e.emptyUnderscoreEscapedMap=e.emptyMap,e.externalHelpersModuleNameText="tslib",e.getDeclarationOfKind=function(e,t){var r=e.declarations;if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n];if(a.kind===t)return a}};var t=function(){var t="",r=function(e){return t+=e};return{getText:function(){return t},write:r,rawWrite:r,writeTextOfNode:r,writeKeyword:r,writeOperator:r,writePunctuation:r,writeSpace:r,writeStringLiteral:r,writeLiteral:r,writeParameter:r,writeProperty:r,writeSymbol:r,getTextPos:function(){return t.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},writeLine:function(){return t+=" "},increaseIndent:e.noop,decreaseIndent:e.noop,clear:function(){return t=""},trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop}}();function r(e){return e.end-e.pos}function n(t){return function(t){if(!(262144&t.flags)){var r=0!==(32768&t.flags)||e.forEachChild(t,n);r&&(t.flags|=131072),t.flags|=262144}}(t),0!==(131072&t.flags)}function i(e){for(;e&&273!==e.kind;)e=e.parent;return e}function a(t,r){e.Debug.assert(t>=0);var n=e.getLineStarts(r),i=t,a=r.text;if(i+1===n.length)return a.length-1;var o=n[i],s=n[i+1]-1;
1for(e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));o<=s&&e.isLineBreak(a.charCodeAt(s));)s--;return s}function o(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function s(e){return!o(e)}function c(e,t){return 42===e.charCodeAt(t+1)&&33===e.charCodeAt(t+2)}function u(t,r,n){return o(t)?t.pos:e.isJSDocNode(t)?e.skipTrivia((r||i(t)).text,t.pos,!1,!0):n&&e.hasJSDocNodes(t)?u(t.jsDoc[0]):298===t.kind&&t._children.length>0?u(t._children[0],r,n):e.skipTrivia((r||i(t)).text,t.pos)}function l(e,t,r){return void 0===r&&(r=!1),d(e.text,t,r)}function d(t,r,n){return void 0===n&&(n=!1),o(r)?"":t.substring(n?r.pos:e.skipTrivia(t,r.pos),r.end)}function f(e,t){return void 0===t&&(t=!1),l(i(e),e,t)}function p(e){return e.pos}function _(e){var t=e.emitNode;return t&&t.flags}function m(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function g(e){var t=Ne(e);return 231===t.kind&&268===t.parent.kind}function h(t){return e.isModuleDeclaration(t)&&(9===t.name.kind||v(t))}function v(e){return!!(512&e.flags)}function y(t){switch(t.parent.kind){case 273:return e.isExternalModule(t.parent);case 239:return h(t.parent.parent)&&e.isSourceFile(t.parent.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function b(t,r){switch(t.kind){case 273:case 240:case 268:case 238:case 219:case 220:case 221:case 154:case 153:case 155:case 156:case 233:case 191:case 192:return!0;case 212:return r&&!e.isFunctionLike(r)}return!1}function x(e){switch(e.kind){case 243:case 242:return!0;default:return!1}}function S(e){return 0===r(e)?"(Missing)":f(e)}function k(t){switch(t.kind){case 71:return t.escapedText;case 9:case 8:return m(t.text);case 146:return ke(t.expression)?m(t.expression.text):void 0;default:e.Debug.assertNever(t)}}function C(t,r,n,i,a,o,s){var c=T(t,r);return e.createFileDiagnostic(t,c.start,c.length,n,i,a,o,s)}function E(t,r){var n=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,r);n.scan();var i=n.getTokenPos();return e.createTextSpanFromBounds(i,n.getTextPos())}function T(t,r){var n=r;switch(r.kind){case 273:var i=e.skipTrivia(t.text,0,!1);return i===t.text.length?e.createTextSpan(0,0):E(t,i);case 231:case 181:case 234:case 204:case 235:case 238:case 237:case 272:case 233:case 191:case 153:case 155:case 156:case 236:case 151:case 150:n=r.name;break;case 192:return function(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&212===r.body.kind){var i=e.getLineAndCharacterOfPosition(t,r.body.pos).line;if(i<e.getLineAndCharacterOfPosition(t,r.body.end).line)return e.createTextSpan(n,a(i,t)-n+1)}return e.createTextSpanFromBounds(n,r.end)}(t,r)}if(void 0===n)return E(t,r.pos);var s=o(n),c=s?n.pos:e.skipTrivia(t.text,n.pos);return s?(e.Debug.assert(c===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(c>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(c<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(c,n.end)}function w(t){return!!(2&e.getCombinedNodeFlags(t))||!!(2048&e.getCombinedModifierFlags(t))}function D(t){return 178===t.kind&&177===t.argument.kind&&e.isStringLiteral(t.argument.literal)}function A(e){return 215===e.kind&&9===e.expression.kind}e.usingSingleLineStringWriter=function(e){var r=t.getText();try{return e(t),t.getText()}finally{t.clear(),t.writeKeyword(r)}},e.getFullWidth=r,e.getResolvedModule=function(e,t){return e&&e.resolvedModules&&e.resolvedModules.get(t)},e.setResolvedModule=function(t,r,n){t.resolvedModules||(t.resolvedModules=e.createMap()),t.resolvedModules.set(r,n)},e.setResolvedTypeReferenceDirective=function(t,r,n){t.resolvedTypeReferenceDirectiveNames||(t.resolvedTypeReferenceDirectiveNames=e.createMap()),t.resolvedTypeReferenceDirectiveNames.set(r,n)},e.moduleResolutionIsEqualTo=function(e,t){return e.isExternalLibraryImport===t.isExternalLibraryImport&&e.extension===t.extension&&e.resolvedFileName===t.resolvedFileName&&e.originalPath===t.originalPath&&(r=e.packageId,n=t.packageId,r===n||r&&n&&r.name===n.name&&r.subModuleName===n.subModuleName&&r.version===n.version);var r,n},e.packageIdToString=function(e){var t=e.name,r=e.subModuleName;return(r?t+"/"+r:t)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,t){return e.resolvedFileName===t.resolvedFileName&&e.primary===t.primary},e.hasChangesInResolutions=function(t,r,n,i){e.Debug.assert(t.length===r.length);for(var a=0;a<t.length;a++){var o=r[a],s=n&&n.get(t[a]);if(s?!o||!i(s,o):o)return!0}return!1},e.containsParseError=n,e.getSourceFileOfNode=i,e.isStatementWithLocals=function(e){switch(e.kind){case 212:case 240:case 219:case 220:case 221:return!0}return!1},e.getStartPositionOfLine=function(t,r){return e.Debug.assert(t>=0),e.getLineStarts(r)[t]},e.nodePosToString=function(t){var r=i(t),n=e.getLineAndCharacterOfPosition(r,t.pos);return r.fileName+"("+(n.line+1)+","+(n.character+1)+")"},e.getEndLinePosition=a,e.isFileLevelUniqueName=function(e,t,r){return!(r&&r(t))&&!e.identifiers.has(t)},e.nodeIsMissing=o,e.nodeIsPresent=s,e.prependStatements=function(e,t){if(void 0===t||0===t.length)return e;if(void 0===e)return t.slice();var r=e.length&&A(e[0])&&e.shift();return e.unshift.apply(e,t),r&&e.unshift(r),e},e.isRecognizedTripleSlashComment=function(t,r,n){if(47===t.charCodeAt(r+1)&&r+2<n&&47===t.charCodeAt(r+2)){var i=t.substring(r,n);return!!(i.match(e.fullTripleSlashReferencePathRegEx)||i.match(e.fullTripleSlashAMDReferencePathRegEx)||i.match(N)||i.match(P))}return!1},e.isPinnedComment=c,e.getTokenPosOfNode=u,e.getNonDecoratorTokenPosOfNode=function(t,r){return o(t)||!t.decorators?u(t,r):e.skipTrivia((r||i(t)).text,t.decorators.end)},e.getSourceTextOfNodeFromSourceFile=l,e.getTextOfNodeFromSourceText=d,e.getTextOfNode=f,e.indexOfNo
1de=function(t,r){return e.binarySearch(t,r,p,e.compareValues)},e.getEmitFlags=_,e.getLiteralText=function(t,r){if(!Pe(t)&&t.parent&&!(e.isNumericLiteral(t)&&512&t.numericLiteralFlags))return l(r,t);var n=16777216&_(t)?ze:Je;switch(t.kind){case 9:return t.singleQuote?"'"+n(t.text,39)+"'":'"'+n(t.text,34)+'"';case 13:return"`"+n(t.text,96)+"`";case 14:return"`"+n(t.text,96)+"${";case 15:return"}"+n(t.text,96)+"${";case 16:return"}"+n(t.text,96)+"`";case 8:case 12:return t.text}e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.")},e.getTextOfConstantValue=function(t){return e.isString(t)?'"'+Je(t)+'"':""+t},e.escapeLeadingUnderscores=m,e.escapeIdentifier=function(e){return e},e.makeIdentifierFromModuleName=function(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},e.isBlockOrCatchScoped=function(t){return 0!==(3&e.getCombinedNodeFlags(t))||g(t)},e.isCatchClauseVariableDeclarationOrBindingElement=g,e.isAmbientModule=h,e.isModuleWithStringLiteralName=function(t){return e.isModuleDeclaration(t)&&9===t.name.kind},e.isNonGlobalAmbientModule=function(t){return e.isModuleDeclaration(t)&&e.isStringLiteral(t.name)},e.isShorthandAmbientModuleSymbol=function(e){return(t=e.valueDeclaration)&&238===t.kind&&!t.body;var t},e.isBlockScopedContainerTopLevel=function(t){return 273===t.kind||238===t.kind||e.isFunctionLike(t)},e.isGlobalScopeAugmentation=v,e.isExternalModuleAugmentation=function(e){return h(e)&&y(e)},e.isModuleAugmentationExternal=y,e.isEffectiveExternalModule=function(t,r){return e.isExternalModule(t)||r.isolatedModules||e.getEmitModuleKind(r)===e.ModuleKind.CommonJS&&!!t.commonJsModuleIndicator},e.isBlockScope=b,e.isDeclarationWithTypeParameters=function(t){switch(t.kind){case 157:case 158:case 152:case 159:case 162:case 163:case 283:case 234:case 204:case 235:case 236:case 295:case 233:case 153:case 154:case 155:case 156:case 191:case 192:case 291:case 296:case 287:return!0;default:return e.assertTypeIsNever(t),!1}},e.isAnyImportSyntax=x,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 243:case 242:case 213:case 234:case 233:case 238:case 236:case 235:case 237:return!0;default:return!1}},e.isAnyImportOrReExport=function(t){return x(t)||e.isExportDeclaration(t)},e.getEnclosingBlockScopeContainer=function(t){return e.findAncestor(t.parent,function(e){return b(e,e.parent)})},e.declarationNameToString=S,e.getNameFromIndexInfo=function(e){return e.declaration?S(e.declaration.parameters[0].name):void 0},e.getTextOfPropertyName=k,e.entityNameToString=function t(n){switch(n.kind){case 71:return 0===r(n)?e.idText(n):f(n);case 145:return t(n.left)+"."+t(n.right);case 184:return t(n.expression)+"."+t(n.name)}},e.createDiagnosticForNode=function(e,t,r,n,a,o){return C(i(e),e,t,r,n,a,o)},e.createDiagnosticForNodeArray=function(t,r,n,i,a,o,s){var c=e.skipTrivia(t.text,r.pos);return e.createFileDiagnostic(t,c,r.end-c,n,i,a,o,s)},e.createDiagnosticForNodeInSourceFile=C,e.createDiagnosticForNodeFromMessageChain=function(e,t){var r=i(e),n=T(r,e);return{file:r,start:n.start,length:n.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText}},e.getSpanOfTokenAtPosition=E,e.getErrorSpanForNode=T,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=function(e){return 6===e.scriptKind},e.isConstEnumDeclaration=function(e){return 237===e.kind&&w(e)},e.isConst=w,e.isLet=function(t){return!!(1&e.getCombinedNodeFlags(t))},e.isSuperCall=function(e){return 186===e.kind&&97===e.expression.kind},e.isImportCall=function(e){return 186===e.kind&&91===e.expression.kind},e.isLiteralImportTypeNode=D,e.isPrologueDirective=A,e.getLeadingCommentRangesOfNode=function(t,r){return 10!==t.kind?e.getLeadingCommentRanges(r.text,t.pos):void 0},e.getJSDocCommentRanges=function(t,r){var n=148===t.kind||147===t.kind||191===t.kind||192===t.kind||190===t.kind?e.concatenate(e.getTrailingCommentRanges(r,t.pos),e.getLeadingCommentRanges(r,t.pos)):e.getLeadingCommentRanges(r,t.pos);return e.filter(n,function(e){return 42===r.charCodeAt(e.pos+1)&&42===r.charCodeAt(e.pos+2)&&47!==r.charCodeAt(e.pos+3)})},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var N=/^(\/\/\/\s*<reference\s+types\s*=\s*)('|")(.+?)\2.*?\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var P=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)('|")(.+?)\2\s*\/>/;function O(t){if(160<=t.kind&&t.kind<=178)return!0;switch(t.kind){case 119:case 134:case 137:case 122:case 138:case 140:case 131:return!0;case 105:return 195!==t.parent.kind;case 206:return!xt(t);case 147:return 176===t.parent.kind||171===t.parent.kind;case 71:145===t.parent.kind&&t.parent.right===t?t=t.parent:184===t.parent.kind&&t.parent.name===t&&(t=t.parent),e.Debug.assert(71===t.kind||145===t.kind||184===t.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");
1case 145:case 184:case 99:var r=t.parent;if(164===r.kind)return!1;if(178===r.kind)return!r.isTypeOf;if(160<=r.kind&&r.kind<=178)return!0;switch(r.kind){case 206:return!xt(r);case 147:return t===r.constraint;case 151:case 150:case 148:case 231:return t===r.type;case 233:case 191:case 192:case 154:case 153:case 152:case 155:case 156:return t===r.type;case 157:case 158:case 159:case 189:return t===r.type;case 186:case 187:return e.contains(r.typeArguments,t);case 188:return!1}}return!1}function F(e){if(e)switch(e.kind){case 181:case 272:case 148:case 269:case 151:case 150:case 270:case 231:return!0}return!1}function M(e){return 232===e.parent.kind&&213===e.parent.parent.kind}function I(e,t,r){return e.properties.filter(function(e){if(269===e.kind){var n=k(e.name);return t===n||r&&r===n}})}function L(t){if(t&&t.statements.length){var r=t.statements[0].expression;return e.isObjectLiteralExpression(r)&&r}}function R(t,r){var n=L(t);return n?I(n,r):e.emptyArray}function j(t,r){for(;;){if(!(t=t.parent))return;switch(t.kind){case 146:if(e.isClassLike(t.parent.parent))return t;t=t.parent;break;case 149:148===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent);break;case 192:if(!r)continue;case 233:case 191:case 238:case 151:case 150:case 153:case 152:case 154:case 155:case 156:case 157:case 158:case 159:case 237:case 273:return t}}}function B(e,t,r){switch(e.kind){case 234:return!0;case 151:return 234===t.kind;case 155:case 156:case 153:return void 0!==e.body&&234===t.kind;case 148:return void 0!==t.body&&(154===t.kind||153===t.kind||156===t.kind)&&234===r.kind}return!1}function z(e,t,r){return void 0!==e.decorators&&B(e,t,r)}function q(e,t,r){return z(e,t,r)||U(e,t)}function U(t,r){switch(t.kind){case 234:return e.forEach(t.members,function(e){return q(e,t,r)});case 153:case 156:return e.forEach(t.parameters,function(e){return z(e,t,r)})}}function V(e){var t=e.parent;return(256===t.kind||255===t.kind||257===t.kind)&&t.tagName===e}function J(e){switch(e.kind){case 97:case 95:case 101:case 86:case 12:case 182:case 183:case 184:case 185:case 186:case 187:case 188:case 207:case 189:case 208:case 190:case 191:case 204:case 192:case 195:case 193:case 194:case 197:case 198:case 199:case 200:case 203:case 201:case 13:case 205:case 254:case 255:case 258:case 202:case 196:case 209:return!0;case 145:for(;145===e.parent.kind;)e=e.parent;return 164===e.parent.kind||V(e);case 71:if(164===e.parent.kind||V(e))return!0;case 8:case 9:case 99:return H(e);default:return!1}}function H(e){var t=e.parent;switch(t.kind){case 231:case 148:case 151:case 150:case 272:case 269:case 181:return t.initializer===e;case 215:case 216:case 217:case 218:case 224:case 225:case 226:case 265:case 228:return t.expression===e;case 219:var r=t;return r.initializer===e&&232!==r.initializer.kind||r.condition===e||r.incrementor===e;case 220:case 221:var n=t;return n.initializer===e&&232!==n.initializer.kind||n.expression===e;case 189:case 207:case 210:case 146:return e===t.expression;case 149:case 264:case 263:case 271:return!0;case 206:return t.expression===e&&xt(t);default:return J(t)}}function W(e){return 242===e.kind&&253===e.moduleReference.kind}function K(e){return G(e)}function G(e){return e&&!!(65536&e.flags)}function X(t){if(t&&e.isVariableDeclaration(t)&&t.initializer)return $(t.initializer,!1)||e.isIdentifier(t.name)&&Q(t.name,t.initializer,!1)}function Y(t){if(t&&t.parent&&e.isBinaryExpression(t.parent)&&58===t.parent.operatorToken.kind){var r=Ct(t.parent.left);return $(t.parent.right,r)||Q(t.parent.left,t.parent.right,r)}}function $(t,r){if(e.isCallExpression(t)){var n=_e(t.expression);return 191===n.kind||192===n.kind?t:void 0}return 191===t.kind||204===t.kind||192===t.kind?t:e.isObjectLiteralExpression(t)&&(0===t.properties.length||r)?t:void 0}function Q(t,r,n){var i=e.isBinaryExpression(r)&&54===r.operatorToken.kind&&$(r.right,n);if(i&&function t(r,n){if(e.isIdentifier(r)&&e.isIdentifier(n))return r.escapedText===n.escapedText;if(e.isIdentifier(r)&&e.isPropertyAccessExpression(n))return(99===n.expression.kind||e.isIdentifier(n.expression)&&("window"===n.expression.escapedText||"self"===n.expression.escapedText||"global"===n.expression.escapedText))&&t(r,n.name);if(e.isPropertyAccessExpression(r)&&e.isPropertyAccessExpression(n))return r.name.escapedText===n.name.escapedText&&t(r.expression,n.expression);return!1}(t,r.left))return i}function Z(t){if(!G(t)||58!==t.operatorToken.kind||!e.isPropertyAccessExpression(t.left))return 0;var r=t.left;if(99===r.expression.kind)return 4;if(e.isIdentifier(r.expression)&&"module"===r.expression.escapedText&&"exports"===r.name.escapedText)return 2;if(St(r.expression)){if("prototype"===r.name.escapedText&&e.isObjectLiteralExpression(ee(t)))return 6;if(Ct(r.expression))return 3;for(var n=r;e.isPropertyAccessExpression(n.expression);)n=n.expression;e.Debug.assert(e.isIdentifier(n.expression));var i=n.expression;return"exports"===i.escapedText||"module"===i.escapedText&&"exports"===n.name.escapedText?1:5}return 0}function ee(t){for(;e.isBinaryExpression(t.right);)t=t.right;return t.right}function te(t){switch(t.parent.kind){case 243:case 249:return t.parent;case 253:return t.parent.parent;case 186:return t.parent;case 177:return e.Debug.assert(e.isStringLiteral(t)),e.tryCast(t.parent.parent,e.isImportTypeNode);default:return}}function re(e){return 296===e.kind||291===e.kind}
1function ne(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&0!==Z(t.expression)&&e.isBinaryExpression(t.expression.right)&&54===t.expression.right.operatorToken.kind&&t.expression.right.right}function ie(e){switch(e.kind){case 213:var t=ae(e);return t&&t.initializer;case 151:case 269:return e.initializer}}function ae(t){return e.isVariableStatement(t)&&t.declarationList.declarations.length>0&&t.declarationList.declarations[0]}function oe(e){return 238===e.kind&&e.body&&238===e.body.kind&&e.body}function se(e){return ce(ue(e))}function ce(t){var r,n=ne(t)||(r=t,e.isExpressionStatement(r)&&r.expression&&e.isBinaryExpression(r.expression)&&58===r.expression.operatorToken.kind&&r.expression.right)||ie(t)||ae(t)||oe(t)||t;return n&&e.isFunctionLike(n)?n:void 0}function ue(t){return e.Debug.assertDefined(e.findAncestor(t.parent,e.isJSDoc)).parent}function le(t){var r=e.isJSDocParameterTag(t)?t.typeExpression&&t.typeExpression.type:t.type;return void 0!==t.dotDotDotToken||r&&284===r.kind}function de(e){for(var t=e.parent;;){switch(t.kind){case 199:var r=t.operatorToken.kind;return vt(r)&&t.left===e?58===r?1:2:0;case 197:case 198:var n=t.operator;return 43===n||44===n?2:0;case 220:case 221:return t.initializer===e?1:0;case 190:case 182:case 203:case 208:e=t;break;case 270:if(t.name!==e)return 0;e=t.parent;break;case 269:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function fe(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function pe(e){return fe(e,190)}function _e(e){for(;190===e.kind;)e=e.expression;return e}function me(t){var r=e.isExportAssignment(t)?t.expression:t.right;return St(r)||e.isClassExpression(r)}function ge(e){var t=ye(e.heritageClauses,85);return t&&t.types.length>0?t.types[0]:void 0}function he(e){var t=ye(e.heritageClauses,108);return t?t.types:void 0}function ve(e){var t=ye(e.heritageClauses,85);return t?t.types:void 0}function ye(e,t){if(e)for(var r=0,n=e;r<n.length;r++){var i=n[r];if(i.token===t)return i}}function be(e){return 72<=e&&e<=144}function xe(e){return 117<=e&&e<=144}function Se(e){return be(e)&&!xe(e)}function ke(e){var t=e.kind;return 9===t||8===t}function Ce(t){var r=e.getNameOfDeclaration(t);return r&&Ee(r)}function Ee(e){return 146===e.kind&&!ke(e.expression)&&!Te(e.expression)}function Te(t){return e.isPropertyAccessExpression(t)&&Ae(t.expression)}function we(t){if(71===t.kind)return t.escapedText;if(9===t.kind||8===t.kind)return m(t.text);if(146===t.kind){var r=t.expression;if(Te(r))return De(e.idText(r.name));if(9===r.kind||8===r.kind)return m(r.text)}}function De(e){return"__@"+e}function Ae(e){return 71===e.kind&&"Symbol"===e.escapedText}function Ne(e){for(;181===e.kind;)e=e.parent.parent;return e}function Pe(t){return e.positionIsSynthesized(t.pos)||e.positionIsSynthesized(t.end)}function Oe(e,t,r){switch(e){case 187:return r?0:1;case 197:case 194:case 195:case 193:case 196:case 200:case 202:return 1;case 199:switch(t){case 40:case 58:case 59:case 60:case 62:case 61:case 63:case 64:case 65:case 66:case
167:case 68:case 70:case 69:return 1}}return 0}function Fe(e){return 199===e.kind?e.operatorToken.kind:197===e.kind||198===e.kind?e.operator:e.kind}function Me(e,t,r){switch(e){case 301:return 0;case 203:return 1;case 202:return 2;case 200:return 4;case 199:switch(t){case 26:return 0;case 58:case 59:case 60:case 62:case 61:case 63:case 64:case 65:case 66:case 67:case 68:case 70:case 69:return 3;default:return Ie(t)}case 197:case 194:case 195:case 193:case 196:return 16;case 198:return 17;case 186:return 18;case 187:return r?19:18;case 188:case 184:case 185:return 19;case 99:case 97:case 71:case 95:case 101:case 86:case 8:case 9:case 182:case 183:case 191:case 192:case 204:case 254:case 255:case 258:case 12:case 13:case 201:case 190:case 205:return 20;default:return-1}}function Ie(e){switch(e){case 54:return 5;case 53:return 6;case 49:return 7;case 50:return 8;case 48:return 9;case 32:case 33:case 34:case 35:return 10;case 27:case 29:case 30:case 31:case 93:case 92:case 118:return 11;case 45:case 46:case 47:return 12;case 37:case 38:return 13;case 39:case 41:case 42:return 14;case 40:return 15}return-1}e.isPartOfTypeNode=O,e.isChildOfNodeWithKind=function(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1},e.forEachReturnStatement=function(t,r){return function t(n){switch(n.kind){case 224:return r(n);case 240:case 212:case 216:case 217:case 218:case 219:case 220:case 221:case 225:case 226:case 265:case 266:case 227:case 229:case 268:return e.forEachChild(n,t)}}(t)},e.forEachYieldExpression=function(t,r){return function t(n){switch(n.kind){case 202:r(n);var i=n.expression;return void(i&&t(i));case 237:case 235:case 238:case 236:case 234:case 204:return;default:if(e.isFunctionLike(n)){if(n.name&&146===n.name.kind)return void t(n.name.expression)}else O(n)||e.forEachChild(n,t)}}(t)},e.getRestParameterElementType=function(t){return t&&166===t.kind?t.elementType:t&&161===t.kind?e.singleOrUndefined(t.typeArguments):void 0},e.getMembersOfDeclaration=function(e){switch(e.kind){case 235:case 234:case 204:case 165:return e.members;case 183:return e.properties}},e.isVariableLike=F,e.isVariableLikeOrAccessor=function(t){return F(t)||e.isAccessor(t)},e.isVariableDeclarationInVariableStatement=M,e.isValidESSymbolDeclaration=function(t){return e.isVariableDeclaration(t)?w(t)&&e.isIdentifier(t.name)&&M(t):e.isPropertyDeclaration(t)?pt(t)&&ft(t):e.isPropertySignature(t)&&pt(t)},e.introducesArgumentsExoticObject=function(e){switch(e.kind){case 153:case 152:case 154:case 155:case 156:case 233:case 191:return!0}return!1},e.unwrapInnermostStatementOfLabel=function(e,t){for(;;){if(t&&t(e),227!==e.statement.kind)return e.statement;e=e.statement}},e.isFunctionBlock=function(t){return t&&212===t.kind&&e.isFunctionLike(t.parent)},e.isObjectLiteralMethod=function(e){return e&&153===e.kind&&183===e.parent.kind},e.isObjectLiteralOrClassExpressionMethod=function(e){return 153===e.kind&&(183===e.parent.kind||204===e.parent.kind)},e.isIdentifierTypePredicate=function(e){return e&&1===e.kind},e.isThisTypePredicate=function(e){return e&&0===e.kind},e.getPropertyAssignment=I,e.getTsConfigObjectLiteralExpression=L,e.getTsConfigPropArrayElementValue=function(t,r,n){return e.firstDefined(R(t,r),function(t){return e.isArrayLiteralExpression(t.initializer)?e.find(t.initializer.elements,function(t){return e.isStringLiteral(t)&&t.text===n}):void 0})},e.getTsConfigPropArray=R,e.getContainingFunction=function(t){return e.findAncestor(t.parent,e.isFunctionLike)},e.getContainingClass=function(t){return e.findAncestor(t.parent,e.isClassLike)},e.getThisContainer=j,e.getNewTargetContainer=function(e){var t=j(e,!1);if(t)switch(t.kind){case 154:case 233:case 191:return t}},e.getSuperContainer=function(t,r){for(;;){if(!(t=t.parent))return t;switch(t.kind){case 146:t=t.parent;break;case 233:case 191:case 192:if(!r)continue;case 151:case 150:case 153:case 152:case 154:case 155:case 156:return t;case 149:148===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent)}}},e.getImmediatelyInvokedFunctionExpression=function(e){if(191===e.kind||192===e.kind){for(var t=e,r=e.parent;190===r.kind;)t=r,r=r.parent;if(186===r.kind&&r.expression===t)return r}},e.isSuperProperty=function(e){var t=e.kind;return(184===t||185===t)&&97===e.expression.kind},e.isThisProperty=function(e){var t=e.kind;return(184===t||185===t)&&99===e.expression.kind},e.getEntityNameFromTypeNode=function(e){switch(e.kind){case 161:return e.typeName;case 206:return St(e.expression)?e.expression:void 0;case 71:case 145:return e}},e.getInvokedExpression=function(e){switch(e.kind){case 188:return e.tag;case 256:case 255:return e.tagName;default:return e.expression}}
1,e.nodeCanBeDecorated=B,e.nodeIsDecorated=z,e.nodeOrChildIsDecorated=q,e.childIsDecorated=U,e.isJSXTagName=V,e.isExpressionNode=J,e.isInExpressionContext=H,e.isExternalModuleImportEqualsDeclaration=W,e.getExternalModuleImportEqualsDeclarationExpression=function(t){return e.Debug.assert(W(t)),t.moduleReference.expression},e.isInternalModuleImportEqualsDeclaration=function(e){return 242===e.kind&&253!==e.moduleReference.kind},e.isSourceFileJavaScript=K,e.isSourceFileNotJavaScript=function(e){return!G(e)},e.isInJavaScriptFile=G,e.isInJsonFile=function(e){return e&&!!(16777216&e.flags)},e.isInJSDoc=function(e){return e&&!!(2097152&e.flags)},e.isJSDocIndexSignature=function(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&t.typeArguments&&2===t.typeArguments.length&&(137===t.typeArguments[0].kind||134===t.typeArguments[0].kind)},e.isRequireCall=function(t,r){if(186!==t.kind)return!1;var n=t,i=n.expression,a=n.arguments;if(71!==i.kind||"require"!==i.escapedText)return!1;if(1!==a.length)return!1;var o=a[0];return!r||e.isStringLiteralLike(o)},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,t){return 34===l(t,e).charCodeAt(0)},e.getJSInitializerSymbol=function(e){if(!e||!e.valueDeclaration)return e;var t=e.valueDeclaration,r=X(t)||Y(t);return r&&r.symbol?r.symbol:e},e.getDeclaredJavascriptInitializer=X,e.getAssignedJavascriptInitializer=Y,e.getJavascriptInitializer=$,e.getOuterNameOfJsInitializer=function(t){if(e.isBinaryExpression(t.parent)){var r=54===t.parent.operatorToken.kind&&e.isBinaryExpression(t.parent.parent)?t.parent.parent:t.parent;if(58===r.operatorToken.kind&&e.isIdentifier(r.left))return r.left}else if(e.isVariableDeclaration(t.parent))return t.parent.name},e.getRightMostAssignedExpression=function(e){for(;bt(e,!0);)e=e.right;return e},e.isExportsIdentifier=function(t){return e.isIdentifier(t)&&"exports"===t.escapedText},e.isModuleExportsPropertyAccessExpression=function(t){return e.isPropertyAccessExpression(t)&&e.isIdentifier(t.expression)&&"module"===t.expression.escapedText&&"exports"===t.name.escapedText},e.getSpecialPropertyAssignmentKind=Z,e.getInitializerOfBinaryExpression=ee,e.isPrototypePropertyAssignment=function(t){return e.isBinaryExpression(t)&&3===Z(t)},e.isSpecialPropertyDeclaration=function(t){return G(t)&&t.parent&&215===t.parent.kind&&!!e.getJSDocTypeTag(t.parent)},e.importFromModuleSpecifier=function(t){return te(t)||e.Debug.fail(e.Debug.showSyntaxKind(t.parent))},e.tryGetImportFromModuleSpecifier=te,e.getExternalModuleName=function(t){switch(t.kind){case 243:case 249:return t.moduleSpecifier;case 242:return 253===t.moduleReference.kind?t.moduleReference.expression:void 0;case 178:return D(t)?t.argument.literal:void 0;default:return e.Debug.assertNever(t)}},e.getNamespaceDeclarationNode=function(t){switch(t.kind){case 243:return t.importClause&&e.tryCast(t.importClause.namedBindings,e.isNamespaceImport);case 242:return t;case 249:return;default:return e.Debug.assertNever(t)}},e.isDefaultImport=function(e){return 243===e.kind&&e.importClause&&!!e.importClause.name},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 148:case 153:case 152:case 270:case 269:case 151:case 150:return void 0!==e.questionToken}return!1},e.isJSDocConstructSignature=function(e){return 283===e.kind&&e.parameters.length>0&&e.parameters[0].name&&"new"===e.parameters[0].name.escapedText},e.isJSDocTypeAlias=re,e.isTypeAlias=function(t){return re(t)||e.isTypeAliasDeclaration(t)},e.getJSDocCommentsAndTags=function(t){var r;return function n(i){var a=i.parent;a&&((269===a.kind||151===a.kind||oe(a))&&n(a),a.parent&&ae(a.parent)===i&&n(a.parent),a.parent&&a.parent.parent&&(ae(a.parent.parent)||ie(a.parent.parent)===i||ne(a.parent.parent))&&n(a.parent.parent),(e.isBinaryExpression(i)&&58===i.operatorToken.kind||e.isBinaryExpression(a)&&58===a.operatorToken.kind||184===i.kind&&i.parent&&215===i.parent.kind)&&n(a),148===i.kind&&(r=e.addRange(r,e.getJSDocParameterTags(i))),F(i)&&e.hasInitializer(i)&&i.initializer!==t&&e.hasJSDocNodes(i.initializer)&&(r=e.addRange(r,i.initializer.jsDoc)),e.hasJSDocNodes(i)&&(r=e.addRange(r,i.jsDoc)))}(t),r||e.emptyArray},e.getParameterSymbolFromJSDoc=function(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t.name)){var r=t.name.escapedText,n=se(t);if(n){var i=e.find(n.parameters,function(e){return 71===e.name.kind&&e.name.escapedText===r});return i&&i.symbol}}},e.getHostSignatureFromJSDoc=se,e.getHostSignatureFromJSDocHost=ce,e.getJSDocHost=ue,e.getTypeParameterFromJsDoc=function(t){var r=t.name.escapedText,n=t.parent.parent.parent.typeParameters;return e.find(n,function(e){return e.name.escapedText===r})},e.hasRestParameter=function(t){var r=e.lastOrUndefined(t.parameters);return r&&le(r)},e.isRestParameter=le,function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=de,e.isAssignmentTarget=function(e){return 0!==de(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.kind){case 212:case 213:case 225:case 216:case 226:case 240:case 265:case 266:case 227:case 219:case 220:case 221:case 217:case 218:case 229:case 268:return!0}return!1},e.isValueSignatureDeclaration=function(t){return e.isFunctionExpression(t)||e.isArrowFunction(t)||e.isMethodOrAccessor(t)||e.isFunctionDeclaration(t)||e.isConstructorDeclaration(t)},e.walkUpParenthesizedTypes=function(e){return fe(e,172)},e.walkUpParenthesizedExpressions=pe,e.skipParentheses=_e,e.isDeleteTarget=function(e){return(184===e.kind||185===e.kind)&&(e=pe(e.parent))&&193===e.kind},e.isNodeDescendantOf=function(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1},e.isDeclarationName=function(t){return!e.isSourceFile(t)&&!e.isBindingPattern(t)&&e.isDeclaration(t.parent)&&t.parent.name===t},e.isAnyDeclarationName=function(t){switch(t.kind){case 71:case 9:case 8:if(e.isDeclaration(t.parent))return t.parent.name===t;if(e.isQualifiedName(t.parent)){var r=t.parent.parent;return e.isJSDocParameterTag(r)&&r.name===t.parent}var n=t.parent.parent;return e.isBinaryExpression(n)&&0!==Z(n)&&e.getNameOfDeclaration(n)===t;default:return!1}},e.isLiteralComputedPropertyDeclarationName=function(t){return(9===t.kind||8===t.kind)&&146===t.parent.kind&&e.isDeclaration(t.parent.parent)},e.isIdentifierName=function(e){var t=e.parent;switch(t.kind){case 151:case 150:case 153:case 152:case 155:case 156:case 272:case 269:case 184:return t.name===e;case 145:if(t.right===e){for(;145===t.kind;)t=t.parent;return 164===t.kind||161===t.kind}return!1;case 181:case 247:return t.propertyName===e;case 251:case 261:return!0}return!1},e.isAliasSymbolDeclaration=function(t){return 242===t.kind||241===t.kind||244===t.kind&&!!t.name||245===t.kind||247===t.kind||251===t.kind||248===t.kind&&me(t)||e.isBinaryExpression(t)&&2===Z(t)},e.exportAssignmentIsAlias=me,e.getClassExtendsHeritageClauseElement=ge,e.getClassImplementsHeritageClauseElements=he,e.getAllSuperTypeNodes=function(t){return e.isInterfaceDeclaration(t)?ve(t)||e.emptyArray:e.isClassLike(t)&&e.concatenate(e.singleElementArray(ge(t)),he(t))||e.emptyArray},e.getInterfaceBaseTypeNodes=ve,e.getHeritageClause=ye,e.tryResolveScriptReference=function(t,r,n){if(!t.getCompilerOptions().noResolve){var i=e.isRootedDiskPath(n.fileName)?n.fileName:e.combinePaths(e.getDirectoryPath(r.fileName),n.fileName);return t.getSourceFile(i)}},e.getAncestor=function(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}},e.isKeyword=be,e.isContextualKeyword=xe,e.isNonContextualKeyword=Se,e.isStringANonContextualKeyword=function(t){var r=e.stringToToken(t);return void 0!==r&&Se(r)},e.isTrivia=function(e){return 2<=e&&e<=7},function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator"}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=function(e){if(!e)return 4;var t=0;switch(e.kind){case 233:case 191:case 153:e.asteriskToken&&(t|=1);
1case 192:dt(e,256)&&(t|=2)}return e.body||(t|=4),t},e.isAsyncFunction=function(e){switch(e.kind){case 233:case 191:case 192:case 153:return void 0!==e.body&&void 0===e.asteriskToken&&dt(e,256)}return!1},e.isStringOrNumericLiteral=ke,e.hasDynamicName=Ce,e.isDynamicName=Ee,e.isWellKnownSymbolSyntactically=Te,e.getPropertyNameForPropertyNameNode=we,e.isPropertyNameLiteral=function(e){switch(e.kind){case 71:case 9:case 13:case 8:return!0;default:return!1}},e.getTextOfIdentifierOrLiteral=function(t){return 71===t.kind?e.idText(t):t.text},e.getEscapedTextOfIdentifierOrLiteral=function(e){return 71===e.kind?e.escapedText:m(e.text)},e.getPropertyNameForKnownSymbolName=De,e.isKnownSymbol=function(t){return e.startsWith(t.escapedName,"__@")},e.isESSymbolIdentifier=Ae,e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 148===Ne(e).kind},e.getRootDeclaration=Ne,e.nodeStartsNewLexicalEnvironment=function(e){var t=e.kind;return 154===t||191===t||233===t||192===t||153===t||155===t||156===t||238===t||273===t},e.nodeIsSynthesized=Pe,e.getOriginalSourceFile=function(t){return e.getParseTreeNode(t,e.isSourceFile)||t},function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=function(e){var t=Fe(e),r=187===e.kind&&void 0!==e.arguments;return Oe(e.kind,t,r)},e.getOperatorAssociativity=Oe,e.getExpressionPrecedence=function(e){var t=Fe(e),r=187===e.kind&&void 0!==e.arguments;return Me(e.kind,t,r)},e.getOperator=Fe,e.getOperatorPrecedence=Me,e.getBinaryOperatorPrecedence=Ie,e.createDiagnosticCollection=function(){var t=[],r=[],n=e.createMap(),i=!1;return{add:function(a){var o;a.file?(o=n.get(a.file.fileName))||(o=[],n.set(a.file.fileName,o),e.insertSorted(r,a.file.fileName,e.compareStringsCaseSensitive)):(i&&(i=!1,t=t.slice()),o=t),e.insertSorted(o,a,e.compareDiagnostics)},getGlobalDiagnostics:function(){return i=!0,t},getDiagnostics:function(i){if(i)return n.get(i)||[];var a=e.flatMap(r,function(e){return n.get(e)});return t.length?(a.unshift.apply(a,t),a):a},reattachFileDiagnostics:function(t){e.forEach(n.get(t.fileName),function(e){return e.file=t})}}};var Le=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Re=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,je=/[\\\`\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Be=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","\x85":"\\u0085"});function ze(e,t){var r=96===t?je:39===t?Re:Le;return e.replace(r,qe)}function qe(e,t,r){if(0===e.charCodeAt(0)){var n=r.charCodeAt(t+e.length);return n>=48&&n<=57?"\\x00":"\\0"}return Be.get(e)||Ue(e.charCodeAt(0))}function Ue(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}e.escapeString=ze,e.isIntrinsicJsxName=function(e){var t=e.charCodeAt(0);return t>=97&&t<=122||e.indexOf("-")>-1};var Ve=/[^\u0000-\u007F]/g;function Je(e,t){return e=ze(e,t),Ve.test(e)?e.replace(Ve,function(e){return Ue(e.charCodeAt(0))}):e}e.escapeNonAsciiString=Je;var He=[""," "];function We(e){return void 0===He[e]&&(He[e]=We(e-1)+He[1]),He[e]}function Ke(){return He[1].length}function Ge(e,t,r){return t.moduleName||Xe(e,t.fileName,r&&r.fileName)}function Xe(t,r,n){var i=function(e){return t.getCanonicalFileName(e)},a=e.toPath(n?e.getDirectoryPath(n):t.getCommonSourceDirectory(),t.getCurrentDirectory(),i),o=e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()),s=e.getRelativePathToDirectoryOrUrl(a,o,a,i,!1),c=e.removeFileExtension(s);return n?e.ensurePathIsNonModuleName(c):c}function Ye(e,t,r){return!(t.noEmitForJsFiles&&K(e))&&!e.isDeclarationFile&&!r(e)}function $e(t,r,n){var i=e.getNormalizedAbsolutePath(t.fileName,r.getCurrentDirectory()),a=r.getCommonSourceDirectory();return i=0===r.getCanonicalFileName(i).indexOf(r.getCanonicalFileName(a))?i.substring(a.length):i,e.combinePaths(n,i)}function Qe(t,r){return e.getLineAndCharacterOfPosition(t,r).line}function Ze(t,r){return e.computeLineAndCharacterOfPosition(t,r).line}function et(e){if(e&&e.parameters.length>0){var t=2===e.parameters.length&&tt(e.parameters[0]);return e.parameters[t?1:0]}}function tt(e){return rt(e.name)}
1function rt(e){return e&&71===e.kind&&nt(e)}function nt(e){return 99===e.originalKeywordKind}function it(t){return t.type||(G(t)?e.getJSDocType(t):void 0)}function at(t){var r=e.find(e.getJSDocTags(t),function(t){return e.isJSDocTemplateTag(t)&&!(285===t.parent.kind&&t.parent.tags.some(re))});return r&&r.typeParameters||e.emptyArray}function ot(e,t,r,n){st(e,t,r.pos,n)}function st(e,t,r,n){n&&n.length&&r!==n[0].pos&&Ze(e,r)!==Ze(e,n[0].pos)&&t.writeLine()}function ct(e,t,r,n,i,a,o,s){if(n&&n.length>0){i&&r.write(" ");for(var c=!1,u=0,l=n;u<l.length;u++){var d=l[u];c&&(r.write(" "),c=!1),s(e,t,r,d.pos,d.end,o),d.hasTrailingNewLine?r.writeLine():c=!0}c&&a&&r.write(" ")}}function ut(e,t,r,n,i,a){var o=Math.min(t,a-1),s=e.substring(i,o).replace(/^\s+|\s+$/g,"");s?(r.write(s),o!==t&&r.writeLine()):r.writeLiteral(n)}function lt(t,r,n){for(var i=0;r<n&&e.isWhiteSpaceSingleLine(t.charCodeAt(r));r++)9===t.charCodeAt(r)?i+=Ke()-i%Ke():i++;return i}function dt(e,t){return!!_t(e,t)}function ft(e){return dt(e,32)}function pt(e){return dt(e,64)}function _t(e,t){return mt(e)&t}function mt(e){if(536870912&e.modifierFlagsCache)return-536870913&e.modifierFlagsCache;var t=gt(e);return e.modifierFlagsCache=536870912|t,t}function gt(e){var t=0;if(e.modifiers)for(var r=0,n=e.modifiers;r<n.length;r++){t|=ht(n[r].kind)}return(4&e.flags||71===e.kind&&e.isInJSDocNamespace)&&(t|=1),t}function ht(e){switch(e){case 115:return 32;case 114:return 4;case 113:return 16;case 112:return 8;case 117:return 128;case 84:return 1;case 124:return 2;case 76:return 2048;case 79:return 512;case 120:return 256;case 132:return 64}return 0}function vt(e){return e>=58&&e<=70}function yt(t){if(206===t.kind&&85===t.parent.token&&e.isClassLike(t.parent.parent))return t.parent.parent}function bt(t,r){return e.isBinaryExpression(t)&&(r?58===t.operatorToken.kind:vt(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}function xt(e){return void 0!==yt(e)}function St(e){return 71===e.kind||kt(e)}function kt(t){return e.isPropertyAccessExpression(t)&&St(t.expression)}function Ct(t){return e.isPropertyAccessExpression(t)&&"prototype"===t.name.escapedText}
1e.getIndentString=We,e.getIndentSize=Ke,e.createTextWriter=function(t){var r,n,i,a,o;function s(e){e&&e.length&&(i&&(r+=We(n),i=!1),r+=e)}function c(){r="",n=0,i=!0,a=0,o=0}return c(),{write:s,rawWrite:function(e){void 0!==e&&(i&&(i=!1),r+=e)},writeTextOfNode:function(e,t){s(d(e,t))},writeLiteral:function(t){if(t&&t.length){s(t);var n=e.computeLineStarts(t);n.length>1&&(a=a+n.length-1,o=r.length-t.length+e.lastOrUndefined(n))}},writeLine:function(){i||(a++,o=(r+=t).length,i=!0)},increaseIndent:function(){n++},decreaseIndent:function(){n--},getIndent:function(){return n},getTextPos:function(){return r.length},getLine:function(){return a+1},getColumn:function(){return i?n*Ke()+1:r.length-o+1},getText:function(){return r},isAtStartOfLine:function(){return i},clear:c,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:s,writeOperator:s,writeParameter:s,writeProperty:s,writePunctuation:s,writeSpace:s,writeStringLiteral:s,writeSymbol:s}},e.getResolvedExternalModuleName=Ge,e.getExternalModuleNameFromDeclaration=function(e,t,r){var n=t.getExternalModuleFileFromDeclaration(r);if(n&&!n.isDeclarationFile)return Ge(e,n)},e.getExternalModuleNameFromPath=Xe,e.getOwnEmitOutputFilePath=function(t,r,n){var i=r.getCompilerOptions();return(i.outDir?e.removeFileExtension($e(t,r,i.outDir)):e.removeFileExtension(t.fileName))+n},e.getDeclarationEmitOutputFilePath=function(t,r){var n=r.getCompilerOptions(),i=n.declarationDir||n.outDir,a=i?$e(t,r,i):t.fileName;return e.removeFileExtension(a)+".d.ts"},e.getSourceFilesToEmit=function(t,r){var n=t.getCompilerOptions(),i=function(e){return t.isSourceFileFromExternalLibrary(e)};if(n.outFile||n.out){var a=e.getEmitModuleKind(n),o=a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),function(t){return(o||!e.isExternalModule(t))&&Ye(t,n,i)})}var s=void 0===r?t.getSourceFiles():[r];return e.filter(s,function(e){return Ye(e,n,i)})},e.sourceFileMayBeEmitted=Ye,e.getSourceFilePathInNewDir=$e,e.writeFile=function(t,r,n,i,a,o){t.writeFile(n,i,a,function(t){r.add(e.createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,n,t))},o)},e.getLineOfLocalPosition=Qe,e.getLineOfLocalPositionFromLineMap=Ze,e.getFirstConstructorWithBody=function(t){return e.find(t.members,function(t){return e.isConstructorDeclaration(t)&&s(t.body)})},e.getSetAccessorTypeAnnotationNode=function(e){var t=et(e);return t&&t.type},e.getThisParameter=function(t){if(t.parameters.length&&!e.isJSDocSignature(t)){var r=t.parameters[0];if(tt(r))return r}},e.parameterIsThisKeyword=tt,e.isThisIdentifier=rt,e.identifierIsThisKeyword=nt,e.getAllAccessorDeclarations=function(t,r){var n,i,a,o;return Ce(r)?(n=r,155===r.kind?a=r:156===r.kind?o=r:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,function(e){155!==e.kind&&156!==e.kind||dt(e,32)!==dt(r,32)||we(e.n
1ame)===we(r.name)&&(n?i||(i=e):n=e,155!==e.kind||a||(a=e),156!==e.kind||o||(o=e))}),{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}},e.getEffectiveTypeAnnotationNode=it,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(t){return e.isJSDocSignature(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(G(t)?e.getJSDocReturnType(t):void 0)},e.getEffectiveTypeParameterDeclarations=function(t){if(e.isJSDocSignature(t))return e.emptyArray;if(re(t)){e.Debug.assert(285===t.parent.kind);var r=e.flatMap(e.filter(t.parent.tags,e.isJSDocTemplateTag),function(e){return e.typeParameters});return r.pos=r.length>0?e.first(r).pos:t.pos,r.end=r.length>0?e.last(r).end:t.end,r.hasTrailingComma=!1,r}return t.typeParameters||(G(t)?at(t):e.emptyArray)},e.getJSDocTypeParameterDeclarations=at,e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var t=et(e);return t&&it(t)},e.emitNewLineBeforeLeadingComments=ot,e.emitNewLineBeforeLeadingCommentsOfPosition=st,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,t,r,n){r!==n&&Ze(e,r)!==Ze(e,n)&&t.writeLine()},e.emitComments=ct,e.emitDetachedComments=function(t,r,n,i,a,o,s){var u,l;if(s?0===a.pos&&(u=e.filter(e.getLeadingCommentRanges(t,a.pos),function(e){return c(t,e.pos)})):u=e.getLeadingCommentRanges(t,a.pos),u){for(var d=[],f=void 0,p=0,_=u;p<_.length;p++){var m=_[p];if(f){var g=Ze(r,f.end);if(Ze(r,m.pos)>=g+2)break}d.push(m),f=m}d.length&&(g=Ze(r,e.lastOrUndefined(d).end),Ze(r,e.skipTrivia(t,a.pos))>=g+2&&(ot(r,n,a,u),ct(t,r,n,d,!1,!0,o,i),l={nodePos:a.pos,detachedCommentEndPos:e.lastOrUndefined(d).end}))}return l},e.writeCommentRange=function(t,r,n,i,a,o){if(42===t.charCodeAt(i+1))for(var s=e.computeLineAndCharacterOfPosition(r,i),c=r.length,u=void 0,l=i,d=s.line;l<a;d++){var f=d+1===c?t.length+1:r[d+1];if(l!==i){void 0===u&&(u=lt(t,r[s.line],i));var p=n.getIndent()*Ke()-u+lt(t,l,f);if(p>0){var _=p%Ke(),m=We((p-_)/Ke());for(n.rawWrite(m);_;)n.rawWrite(" "),_--}else n.rawWrite("")}ut(t,a,n,o,l,f),l=f}else n.write(t.substring(i,a))},e.hasModifiers=function(e){return 0!==mt(e)},e.hasModifier=dt,e.hasStaticModifier=ft,e.hasReadonlyModifier=pt,e.getSelectedModifierFlags=_t,e.getModifierFlags=mt,e.getModifierFlagsNoCache=gt,e.modifierToFlag=ht,e.isLogicalOperator=function(e){return 54===e||53===e||51===e},e.isAssignmentOperator=vt,e.tryGetClassExtendingExpressionWithTypeArguments=yt,e.isAssignmentExpression=bt,e.isDestructuringAssignment=function(e){if(bt(e,!0)){var t=e.left.kind;return 183===t||182===t}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=xt,e.isExpressionWithTypeArgumentsInClassImplementsClause=function(t){return 206===t.kind&&St(t.expression)&&t.parent&&108===t.parent.token&&t.parent.parent&&e.isClassLike(t.parent.parent)},e.isEntityNameExpression=St,e.isPropertyAccessEntityNameExpression=kt,e.isPrototypeAccess=Ct,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 145===e.parent.kind&&e.parent.right===e||184===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 183===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 182===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(t){return function(t){return t&&e.length(t.declarations)>0&&dt(t.declarations[0],512)}(t)?t.declarations[0].localSymbol:void 0},e.tryExtractTypeScriptExtension=function(t){return e.find(e.supportedTypescriptExtensionsForExtractExtension,function(r){return e.fileExtensionIs(t,r)})};var Et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Tt(t){for(var r,n,i,a,o="",s=function(t){for(var r=[],n=t.length,i=0;i<n;i++){var a=t.charCodeAt(i);a<128?r.push(a):a<2048?(r.push(a>>6|192),r.push(63&a|128)):a<65536?(r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)):a<131072?(r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128)):e.Debug.assert(!1,"Unexpected code point")}return r}(t),c=0,u=s.length;c<u;)r=s[c]>>2,n=(3&s[c])<<4|s[c+1]>>4,i=(15&s[c+1])<<2|s[c+2]>>6,a=63&s[c+2],c+1>=u?i=a=64:c+2>=u&&(a=64),o+=Et.charAt(r)+Et.charAt(n)+Et.charAt(i)+Et.charAt(a),c+=3;return o}e.convertToBase64=Tt,e.base64encode=function(e,t){return e.base64encode?e.base64encode(t):Tt(t)},e.base64decode=function(e,t){if(e.base64decode)return e.base64decode(t);for(var r=t.length,n=[],i=0;i<r&&t.charCodeAt(i)!==Et.charCodeAt(64);){var a=Et.indexOf(t[i]),o=Et.indexOf(t[i+1]),s=Et.indexOf(t[i+2]),c=Et.indexOf(t[i+3]),u=(63&a)<<2|o>>
14&3,l=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===l&&0!==s?n.push(u):0===d&&0!==c?n.push(u,l):n.push(u,l,d),i+=4}return function(e){for(var t="",r=0,n=e.length;r<n;){var i=e[r];if(i<128)t+=String.fromCharCode(i),r++;else if(192===(192&i)){for(var a=63&i,o=e[++r];128===(192&o);)a=a<<6|63&o,o=e[++r];t+=String.fromCharCode(a)}else t+=String.fromCharCode(i),r++}return t}(n)};var wt,Dt="\r\n",At="\n";function Nt(t,r,n){void 0===t&&(t=0);var i=function(t){var r=[];for(var n in t){var i=t[n];"number"===typeof i&&r.push([i,n])}return e.stableSort(r,function(t,r){return e.compareValues(t[0],r[0])})}(r);if(0===t)return i.length>0&&0===i[0][0]?i[0][1]:"0";if(n){for(var a="",o=t,s=i.length-1;s>=0&&0!==o;s--){var c=i[s],u=c[0],l=c[1];0!==u&&(o&u)===u&&(o&=~u,a=l+(a?", ":"")+a)}if(0===o)return a}else for(var d=0,f=i;d<f.length;d++){var p=f[d];u=p[0],l=p[1];if(u===t)return l}return t.toString()}function Pt(e,t){return{pos:e,end:t}}function Ot(e,t){return Pt(t,e.end)}function Ft(e){return e.decorators&&e.decorators.length>0?Ot(e,e.decorators.end):e}function Mt(e,t,r){return It(Lt(e,r),t.end,r)}function It(e,t,r){return e===t||Qe(r,e)===Qe(r,t)}function Lt(t,r){return e.positionIsSynthesized(t.pos)?-1:e.skipTrivia(r.text,t.pos)}function Rt(e){return void 0!==e.initializer}function jt(e){return 33554432&e.flags?e.checkFlags:0}function Bt(e){var t=e.parent;if(!t)return 0;switch(t.kind){case 198:case 197:var r=t.operator;return 43===r||44===r?o():0;case 199:var n=t,i=n.left,a=n.operatorToken;return i===e&&vt(a.kind)?o():0;case 184:return t.name!==e?0:Bt(t);default:return 0}function o(){return t.parent&&215===t.parent.kind?1:2}}function zt(t,r){for(;;){var n=r(t);if(void 0!==n)return n;var i=e.getDirectoryPath(t);if(i===t)return;t=i}}function qt(e){if(32&e.flags){var t=Ut(e);return!!t&&dt(t,128)}return!1}function Ut(t){return e.find(t.declarations,e.isClassLike)}function Vt(e){return 65536&e.flags?e.objectFlags:0}e.getNewLineCharacter=function(t,r){switch(t.newLine){case 0:return Dt;case 1:return At}return r?r():e.sys?e.sys.newLine:Dt},e.formatSyntaxKind=function(t){return Nt(t,e.SyntaxKind,!1)},e.formatModifierFlags=function(t){return Nt(t,e.ModifierFlags,!0)},e.formatTransformFlags=function(t){return Nt(t,e.TransformFlags,!0)},e.formatEmitFlags=function(t){return Nt(t,e.EmitFlags,!0)},e.formatSymbolFlags=function(t){return Nt(t,e.SymbolFlags,!0)},e.formatTypeFlags=function(t){return Nt(t,e.TypeFlags,!0)},e.formatObjectFlags=function(t){return Nt(t,e.ObjectFlags,!0)},e.createRange=Pt,e.moveRangeEnd=function(e,t){return Pt(e.pos,t)},e.moveRangePos=Ot,e.moveRangePastDecorators=Ft,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?Ot(e,e.modifiers.end):Ft(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(t,r){return Pt(t,t+e.tokenToString(r).length)},e.rangeIsOnSingleLine=function(e,t){return Mt(e,e,t)},e.rangeStartPositionsAreOnSameLine=function(e,t,r){return It(Lt(e,r),Lt(t,r),r)},e.rangeEndPositionsAreOnSameLine=function(e,t,r){return It(e.end,t.end,r)},e.rangeStartIsOnSameLineAsRangeEnd=Mt,e.rangeEndIsOnSameLineAsRangeStart=function(e,t,r){return It(e.end,Lt(t,r),r)},e.positionsAreOnSameLine=It,e.getStartPositionOfRange=Lt,e.isDeclarationNameOfEnumOrNamespace=function(t){var r=e.getParseTreeNode(t);if(r)switch(r.parent.kind){case 237:case 238:return r===r.parent.name}return!1},e.getInitializedVariables=function(t){return e.filter(t.declarations,Rt)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.getCheckFlags=jt,e.getDeclarationModifierFlagsFromSymbol=function(t){if(t.valueDeclaration){var r=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&32&t.parent.flags?r:-29&r}if(6&jt(t)){var n=t.checkFlags;return(256&n?8:64&n?4:16)|(512&n?32:0)}return 4194304&t.flags?36:0},e.skipAlias=function(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===Bt(e)},e.isWriteAccess=function(e){return 0!==Bt(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(wt||(wt={})),e.compareDataObjects=function e(t,r){if(!t||!r||Object.keys(t).length!==Object.keys(r).length)return!1;
1for(var n in t)if("object"===typeof t[n]){if(!e(t[n],r[n]))return!1}else if("function"!==typeof t[n]&&t[n]!==r[n])return!1;return!0},e.clearMap=function(e,t){e.forEach(t),e.clear()},e.mutateMap=function(e,t,r){var n=r.createNewValue,i=r.onDeleteValue,a=r.onExistingValue;e.forEach(function(r,n){var o=t.get(n);void 0===o?(e.delete(n),i(r,n)):a&&a(r,o,n)}),t.forEach(function(t,r){e.has(r)||e.set(r,n(r,t))})},e.forEachAncestorDirectory=zt,e.isAbstractConstructorType=function(e){return!!(16&Vt(e))&&!!e.symbol&&qt(e.symbol)},e.isAbstractConstructorSymbol=qt,e.getClassLikeDeclarationOfSymbol=Ut,e.getObjectFlags=Vt,e.typeHasCallOrConstructSignatures=function(e,t){return 0!==t.getSignaturesOfType(e,0).length||0!==t.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(e,t){return!!zt(e,function(e){return!!t(e)||void 0})},e.isUMDExportSymbol=function(t){return t&&t.declarations&&t.declarations[0]&&e.isNamespaceExportDeclaration(t.declarations[0])},e.showModuleSpecifier=function(t){var r=t.moduleSpecifier;return e.isStringLiteral(r)?r.text:f(r)},e.getLastChild=function(t){var r;return e.forEachChild(t,function(e){s(e)&&(r=e)},function(e){for(var t=e.length-1;t>=0;t--)if(s(e[t])){r=e[t];break}}),r},e.addToSeen=function(e,t,r){return void 0===r&&(r=!0),t=String(t),!e.has(t)&&(e.set(t,r),!0)},e.isObjectTypeDeclaration=function(t){return e.isClassLike(t)||e.isInterfaceDeclaration(t)||e.isTypeLiteralNode(t)}}(u||(u={})),function(e){function t(e){return e.start+e.length}function r(e){return 0===e.length}function n(e,t){var r=a(e,t);return r&&0===r.length?void 0:r}function i(e,t,r,n){return r<=e+t&&r+n>=e}function a(e,r){var n=Math.max(e.start,r.start),i=Math.min(t(e),t(r));return n<=i?s(n,i):void 0}function o(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function s(e,t){return o(e,t-e)}function c(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function u(t){return!!e.isBindingPattern(t)&&e.every(t.elements,l)}function l(t){return!!e.isOmittedExpression(t)||u(t.name)}function d(t){for(;t&&(181===t.kind||e.isBindingPattern(t));)t=t.parent;return t}function f(e,t){if(e)for(;void 0!==e.original;)e=e.original;return!t||t(e)?e:void 0}function p(e){return 0===(8&e.flags)}function _(e){var t=e;return t.length>=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function m(t){var r=h(t);return e.isIdentifier(r)?r:void 0}function g(t){return t.name||function(t){var r=t.parent.parent;if(r){if(e.isDeclaration(r))return m(r);switch(r.kind){case 213:return r.declarationList&&r.declarationList.declarations[0]?m(r.declarationList.declarations[0]):void 0;case 215:var n=r.expression;switch(n.kind){case 184:return n.name;case 185:var i=n.argumentExpression;if(e.isIdentifier(i))return i}return;case 1:return;case 190:return m(r.expression);case 227:return e.isDeclaration(r.statement)||e.isExpression(r.statement)?m(r.statement):void 0;default:e.Debug.assertNever(r,"Found typedef tag attached to node which it should not be!")}}}(t)}function h(t){if(t){switch(t.kind){case 204:case 191:if(!t.name)return function(t){if(!t.parent)return;if(e.isPropertyAssignment(t.parent)||e.isBindingElement(t.parent))return t.parent.name;if(e.isBinaryExpression(t.parent)&&t===t.parent.right){if(e.isIdentifier(t.parent.left))return t.parent.left;if(e.isPropertyAccessExpression(t.parent.left))return t.parent.left.name}}(t);break;case 71:return t;case 297:case 292:var r=t.name;if(145===r.kind)return r.right;break;case 199:var n=t;switch(e.getSpecialPropertyAssignmentKind(n)){case 1:case 4:case 5:case 3:return n.left.name;default:return}case 291:return t.name;case 296:return g(t);case 248:var i=t.expression;return e.isIdentifier(i)?i:void 0}return t.name}}function v(t){if(t.name){if(e.isIdentifier(t.name)){var r=t.name.escapedText;return b(t.parent).filter(function(t){return e.isJSDocParameterTag(t)&&e.isIdentifier(t.name)&&t.name.escapedText===r})}var n=t.parent.parameters.indexOf(t);e.Debug.assert(n>-1,"Parameters should always be in their parents' parameter list");var i=b(t.parent).filter(e.isJSDocParameterTag);if(n<i.length)return[i[n]]}return e.emptyArray}function y(t){return x(t,e.isJSDocReturnTag)}function b(t){var r=t.jsDocCache;if(void 0===r){var n=e.getJSDocCommentsAndTags(t);e.Debug.assert(n.length<2||n[0]!==n[1]),t.jsDocCache=r=e.flatMap(n,function(t){return e.isJSDoc(t)?t.tags:t})}return r}function x(t,r){return e.find(b(t),r)}e.getDefaultLibFileName=function(e){switch(e.target){case 6:return"lib.esnext.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}},e.textSpanEnd=t,e.textSpanIsEmpty=r,e.textSpanContainsPosition=function(e,r){return r>=e.start&&r<t(e)},e.textSpanContainsTextSpan=function(e,r){return r.start>=e.start&&t(r)<=t(e)},e.textSpanOverlapsWith=function(e,t){return void 0!==n(e,t)},e.textSpanOverlap=n,e.textSpanIntersectsWithTextSpan=function(e,t){return i(e.start,e.length,t.start,t.length)},e.textSpanIntersectsWith=function(e,t,r){return i(e.start,e.length,t,r)},e.decodedTextSpanIntersectsWith=i,e.textSpanIntersectsWithPosition=function(e,r){return r<=t(e)&&r>=e.start},e.textSpanIntersection=a,e.createTextSpan=o,e.createTextRange=function(t,r){return void 0===r&&(r=t),e.Debug.assert(r>=t),{pos:t,end:r}},e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return r(e.span)&&0===e.newLength},e.createTextChangeRange=c,e.unchangedTextChangeRange=c(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(r){if(0===r.length)return e.unchangedTextChangeRange;if(1===r.length)return r[0];for(var n=r[0],i=n.span.start,a=t(n.span),o=i+n.newLength,u=1;u<r.length;u++){var l=r[u],d=i,f=a,p=o,_=l.span.start,m=t(l.span),g=_+l.newLength;i=Math.min(d,_),a=Math.max(f,f+(m-p)),o=Math.max(g,g+(p-m))}return c(s(i,a),o-i)},e.getTypeParameterOwner=function(t){if(t&&147===t.kind)for(var r=t;r;r=r.parent)if(e.isFunctionLike(r)||e.isClassLike(r)||235===r.kind)return r},e.isParameterPropertyDeclaration=function(t){return e.hasModifier(t,92)&&154===t.parent.kind},e.isEmptyBindingPattern=u,e.isEmptyBindingElement=l,e.getCombinedModifierFlags=function(t){t=d(t);var r=e.getModifierFlags(t);return 231===t.kind&&(t=t.parent),t&&232===t.kind&&(r|=e.getModifierFlags(t),t=t.parent),t&&213===t.kind&&(r|=e.getModifierFlags(t)),r},e.getCombinedNodeFlags=function(e){var t=(e=d(e)).flags;return 231===e.kind&&(e=e.parent),e&&232===e.kind&&(t|=e.flags,e=e.parent),e&&213===e.kind&&(t|=e.flags),t},e.validateLocaleAndSetLanguage=function(t,r,n){var i=/^([a-z]+)([_\-]([a-z]+))?$/.exec(t.toLowerCase());if(i){var a=i[1];o(a,i[3],n)||o(a,void 0,n),e.setUILocale(t)}else n&&n.push(e.createCompilerDiagnostic(e.Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));
1function o(t,n,i){var a=e.normalizePath(r.getExecutingFilePath()),o=e.getDirectoryPath(a),s=e.combinePaths(o,t);if(n&&(s=s+"-"+n),s=r.resolvePath(e.combinePaths(s,"diagnosticMessages.generated.json")),!r.fileExists(s))return!1;var c="";try{c=r.readFile(s)}catch(u){return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,s)),!1}try{e.localizedDiagnosticMessages=JSON.parse(c)}catch(u){return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Corrupted_locale_file_0,s)),!1}return!0}},e.getOriginalNode=f,e.isParseTreeNode=p,e.getParseTreeNode=function(e,t){return void 0===e||p(e)?e:!p(e=f(e))||t&&!t(e)?void 0:e},e.unescapeLeadingUnderscores=_,e.idText=function(e){return _(e.escapedText)},e.symbolName=function(e){return _(e.escapedName)},e.unescapeIdentifier=function(e){return e},e.getNameOfJSDocTypedef=g,e.isNamedDeclaration=function(e){return!!e.name},e.getNameOfDeclaration=h,e.getJSDocParameterTags=v,e.hasJSDocParameterTags=function(t){return!!x(t,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(t){return x(t,e.isJSDocAugmentsTag)},e.getJSDocClassTag=function(t){return x(t,e.isJSDocClassTag)},e.getJSDocReturnTag=y,e.getJSDocTemplateTag=function(t){return x(t,e.isJSDocTemplateTag)},e.getJSDocTypeTag=function(t){var r=x(t,e.isJSDocTypeTag);if(r&&r.typeExpression&&r.typeExpression.type)return r},e.getJSDocType=function(t){var r=x(t,e.isJSDocTypeTag);return!r&&e.isParameter(t)&&(r=e.find(v(t),function(e){return!!e.typeExpression})),r&&r.typeExpression&&r.typeExpression.type},e.getJSDocReturnType=function(e){var t=y(e);return t&&t.typeExpression&&t.typeExpression.type},e.getJSDocTags=b,e.getAllJSDocTagsOfKind=function(e,t){return b(e).filter(function(e){return e.kind===t})}}(u||(u={})),function(e){e.isNumericLiteral=function(e){return 8===e.kind},e.isStringLiteral=function(e){return 9===e.kind},e.isJsxText=function(e){return 10===e.kind},e.isRegularExpressionLiteral=function(e){return 12===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 13===e.kind},e.isTemplateHead=function(e){return 14===e.kind},e.isTemplateMiddle=function(e){return 15===e.kind},e.isTemplateTail=function(e){return 16===e.kind},e.isIdentifier=function(e){return 71===e.kind},e.isQualifiedName=function(e){return 145===e.kind},e.isComputedPropertyName=function(e){return 146===e.kind},e.isTypeParameterDeclaration=function(e){return 147===e.kind},e.isParameter=function(e){return 148===e.kind},e.isDecorator=function(e){return 149===e.kind},e.isPropertySignature=function(e){return 150===e.kind},e.isPropertyDeclaration=function(e){return 151===e.kind},e.isMethodSignature=function(e){return 152===e.kind},e.isMethodDeclaration=function(e){return 153===e.kind},e.isConstructorDeclaration=function(e){return 154===e.kind},e.isGetAccessorDeclaration=function(e){return 155===e.kind},e.isSetAccessorDeclaration=function(e){return 156===e.kind},e.isCallSignatureDeclaration=function(e){return 157===e.kind},e.isConstructSignatureDeclaration=function(e){return 158===e.kind},e.isIndexSignatureDeclaration=function(e){return 159===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 156===e.kind||155===e.kind},e.isTypePredicateNode=function(e){return 160===e.kind},e.isTypeReferenceNode=function(e){return 161===e.kind},e.isFunctionTypeNode=function(e){return 162===e.kind},e.isConstructorTypeNode=function(e){return 163===e.kind},e.isTypeQueryNode=function(e){return 164===e.kind},e.isTypeLiteralNode=function(e){return 165===e.kind},e.isArrayTypeNode=function(e){return 166===e.kind},e.isTupleTypeNode=function(e){return 167===e.kind},e.isUnionTypeNode=function(e){return 168===e.kind},e.isIntersectionTypeNode=function(e){return 169===e.kind},e.isConditionalTypeNode=function(e){return 170===e.kind},e.isInferTypeNode=function(e){return 171===e.kind},e.isParenthesizedTypeNode=function(e){return 172===e.kind},e.isThisTypeNode=function(e){return 173===e.kind},e.isTypeOperatorNode=function(e){return 174===e.kind},e.isIndexedAccessTypeNode=function(e){return 175===e.kind},e.isMappedTypeNode=function(e){return 176===e.kind},e.isLiteralTypeNode=function(e){return 177===e.kind},e.isImportTypeNode=function(e){return 178===e.kind},e.isObjectBindingPattern=function(e){return 179===e.kind},e.isArrayBindingPattern=function(e){return 180===e.kind},e.isBindingElement=function(e){return 181===e.kind},e.isArrayLiteralExpression=function(e){return 182===e.kind},e.isObjectLiteralExpression=function(e){return 183===e.kind},e.isPropertyAccessExpression=function(e){return 184===e.kind},e.isElementAccessExpression=function(e){return 185===e.kind},e.isCallExpression=function(e){return 186===e.kind},e.isNewExpression=function(e){return 187===e.kind},e.isTaggedTemplateExpression=function(e){return 188===e.kind},e.isTypeAssertion=function(e){return 189===e.kind},e.isParenthesizedExpression=function(e){return 190===e.kind},e.skipPartiallyEmittedExpressions=function(e){for(;300===e.kind;)e=e.expression;return e},e.isFunctionExpression=function(e){return 191===e.kind},e.isArrowFunction=function(e){return 192===e.kind},e.isDeleteExpression=function(e){return 193===e.kind},e.isTypeOfExpression=function(e){return 194===e.kind},e.isVoidExpression=function(e){return 195===e.kind},e.isAwaitExpression=function(e){return 196===e.kind},e.isPrefixUnaryExpression=function(e){return 197===e.kind},e.isPostfixUnaryExpression=function(e){return 198===e.kind},e.isBinaryExpression=function(e){return 199===e.kind},e.isConditionalExpression=function(e){return 200===e.kind},e.isTemplateExpression=function(e){return 201===e.kind},e.isYieldExpression=function(e){return 202===e.kind},e.isSpreadElement=function(e){return 203===e.kind},e.isClassExpression=function(e){return 204===e.kind},e.isOmittedExpression=function(e){return 205===e.kind},e.isExpressionWithTypeArguments=function(e){return 206===e.kind},e.isAsExpression=function(e){return 207===e.kind},e.isNonNullExpression=function(e){return 208===e.kind},e.isMetaProperty=function(e){return 209===e.kind},e.isTemplateSpan=function(e){return 210===e.kind},e.isSemicolonClassElement=function(e){return 211===e.kind},e.isBlock=function(e){return 212===e.kind},e.isVariableStatement=function(e){return 213===e.kind},e.isEmptyStatement=function(e){return 214===e.kind},e.isExpressionStatement=function(e){return 215===e.kind},e.isIfStatement=function(e){return 216===e.kind},e.isDoStatement=function(e){return 217===e.kind},e.isWhileStatement=function(e){return 218===e.kind},e.isForStatement=function(e){return 219===e.kind},e.isForInStatement=function(e){return 220===e.kind},e.isForOfStatement=function(e){return 221===e.kind},e.isContinueStatement=function(e){return 222===e.kind},e.isBreakStatement=function(e){return 223===e.kind},e.isBreakOrContinueStatement=function(e){return 223===e.kind||222===e.kind},e.isReturnStatement=function(e){return 224===e.kind},e.isWithStatement=function(e){return 225===e.kind},e.isSwitchStatement=function(e){return 226===e.kind},e.isLabeledStatement=function(e){return 227===e.kind},e.isThrowStatement=function(e){return 228===e.kind},e.isTryStatement=function(e){return 229===e.kind},e.isDebuggerStatement=function(e){return 230===e.kind},e.isVariableDeclaration=function(e){return 231===e.kind},e.isVariableDeclarationList=function(e){return 232===e.kind},e.isFunctionDeclaration=function(e){return 233===e.kind},e.isClassDeclaration=function(e){return 234===e.kind},e.isInterfaceDeclaration=function(e){return 235===e.kind},e.isTypeAliasDeclaration=function(e){return 236===e.kind},e.isEnumDeclaration=function(e){return 237===e.kind},e.isModuleDeclaration=function(e){return 238===e.kind},e.isModuleBlock=function(e){return 239===e.kind},e.isCaseBlock=function(e){return 240===e.kind},e.isNamespaceExportDeclaration=function(e){return 241===e.kind},e.isImportEqualsDeclaration=function(e){return 242===e.kind},e.isImportDeclaration=function(e){return 243===e.kind},e.isImportClause=function(e){return 244===e.kind},e.isNamespaceImport=function(e){return 245===e.kind},e.isNamedImports=function(e){return 246===e.kind},e.isImportSpecifier=function(e){return 247===e.kind},e.isExportAssignment=function(e){return 248===e.kind},e.isExportDeclaration=function(e){return 249===e.kind},e.isNamedExports=function(e){return 250===e.kind},e.isExportSpecifier=function(e){return 251===e.kind},e.isMissingDeclaration=function(e){return 252===e.kind},e.isExternalModuleReference=function(e){return 253===e.kind},e.isJsxElement=function(e){return 254===e.kind},e.isJsxSelfClosingElement=function(e){return 255===e.kind},e.isJsxOpeningElement=function(e){return 256===e.kind},e.isJsxClosingElement=function(e){return 257===e.kind},e.isJsxFragment=function(e){return 258===e.kind},e.isJsxOpeningFragment=function(e){return 259===e.kind},e.isJsxClosingFragment=function(e){return 260===e.kind},e.isJsxAttribute=function(e){return 261===e.kind},e.isJsxAttributes=function(e){return 262===e.kind},e.isJsxSpreadAttribute=function(e){return 263===e.kind},e.isJsxExpression=function(e){return 264===e.kind},e.isCaseClause=function(e){return 265===e.kind},e.isDefaultClause=function(e){return 266===e.kind},e.isHeritageClause=function(e){return 267===e.kind},e.isCatchClause=function(e){return 268===e.kind},e.isPropertyAssignment=function(e){return 269===e.kind},e.isShorthandPropertyAssignment=function(e){return 270===e.kind},e.isSpreadAssignment=function(e){return 271===e.kind},e.isEnumMember=function(e){return 272===e.kind},e.isSourceFile=function(e){return 273===e.kind},e.isBundle=function(e){return 274===e.kind},e.isJSDocTypeExpression=function(e){return 277===e.kind},e.isJSDocAllType=function(e){return 278===e.kind},e.isJSDocUnknownType=function(e){return 279===e.kind},e.isJSDocNullableType=function(e){return 280===e.kind},e.isJSDocNonNullableType=function(e){return 281===e.kind},e.isJSDocOptionalType=function(e){return 282===e.kind},e.isJSDocFunctionType=function(e){return 283===e.kind},e.isJSDocVariadicType=function(e){return 284===e.kind},e.isJSDoc=function(e){return 285===e.kind},e.isJSDocAugmentsTag=function(e){return 289===e.kind},e.isJSDocClassTag=function(e){return 290===e.kind},e.isJSDocParameterTag=function(e){return 292===e.kind},e.isJSDocReturnTag=function(e){return 293===e.kind},e.isJSDocTypeTag=function(e){return 294===e.kind},e.isJSDocTemplateTag=function(e){return 295===e.kind},e.isJSDocTypedefTag=function(e){return 296===e.kind},e.isJSDocPropertyTag=function(e){return 297===e.kind},e.isJSDocPropertyLikeTag=function(e){return 297===e.kind||292===e.kind},e.isJSDocTypeLiteral=function(e){return 286===e.kind},e.isJSDocCallbackTag=function(e){return 291===e.kind},e.isJSDocSignature=function(e){return 287===e.kind}}(u||(u={})),function(e){function t(e){return e>=145}function r(e){return 8<=e&&e<=13}function n(e){return 13<=e&&e<=16}function i(e){switch(e){case 117:case 120:case 76:case 124:case 79:case 84:case 114:case 112:case 113:case 132:case 115:return!0}return!1}function a(t){return!!(92&e.modifierToFlag(t))}function o(e){return e&&c(e.kind)}function s(e){switch(e){case 233:case 153:case 154:case 155:case 156:case 191:case 192:return!0;default:return!1}}function c(e){switch(e){case 152:case 157:case 287:case 158:case 159:case 162:case 283:case 163:return!0;default:return s(e)}}function u(e){var t=e.kind;return 154===t||151===t||153===t||155===t||156===t||159===t||211===t}function l(e){var t=e.kind;return 158===t||157===t||150===t||152===t||159===t}function d(e){switch(e.kind){case 179:case 183:return!0}return!1}function f(e){switch(e.kind){case 180:case 182:return!0}return!1}function p(e){switch(e){case 184:case 185:case 187:case 186:case 254:case 255:case 258:case 188:case 182:case 190:case 183:case 204:case 191:case 71:case 12:case 8:case 9:case 13:case 201:case 86:case 95:case 99:case 101:case 97:case 208:case 209:case 91:return!0;default:return!1}}function _(e){switch(e){case 197:case 198:case 193:case 194:case 195:case 196:case 189:return!0;default:return p(e)}}function m(t){return function(e){switch(e){case 200:case 202:case 192:case 199:case 203:case 207:case 205:case 301:case 300:return!0;default:return _(e)}}(e.skipPartiallyEmittedExpressions(t).kind)}function g(e){return 300===e.kind}function h(e){return 299===e.kind}function v(e){return 233===e||252===e||234===e||235===e||236===e||237===e||238===e||243===e||242===e||249===e||248===e||241===e}function y(e){return 223===e||222===e||230===e||217===e||215===e||214===e||220===e||221===e||219===e||216===e||227===e||224===e||226===e||228===e||229===e||213===e||218===e||225===e||299===e||303===e||302===e}function b(e){return e.kind>=288&&e.kind<=297}function x(e){return!!e.initializer}e.isSyntaxList=function(e){return 298===e.kind},e.isNode=function(e){return t(e.kind)}
1,e.isNodeKind=t,e.isToken=function(e){return e.kind>=0&&e.kind<=144},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=r,e.isLiteralExpression=function(e){return r(e.kind)},e.isTemplateLiteralKind=n,e.isTemplateMiddleOrTemplateTail=function(e){var t=e.kind;return 15===t||16===t},e.isStringTextContainingNode=function(e){return 9===e.kind||n(e.kind)},e.isGeneratedIdentifier=function(t){return e.isIdentifier(t)&&(7&t.autoGenerateFlags)>0},e.isModifierKind=i,e.isParameterPropertyModifier=a,e.isClassMemberModifier=function(e){return a(e)||115===e},e.isModifier=function(e){return i(e.kind)},e.isEntityName=function(e){var t=e.kind;return 145===t||71===t},e.isPropertyName=function(e){var t=e.kind;return 71===t||9===t||8===t||146===t},e.isBindingName=function(e){var t=e.kind;return 71===t||179===t||180===t},e.isFunctionLike=o,e.isFunctionLikeDeclaration=function(e){return e&&s(e.kind)},e.isFunctionLikeKind=c,e.isFunctionOrModuleBlock=function(t){return e.isSourceFile(t)||e.isModuleBlock(t)||e.isBlock(t)&&o(t.parent)},e.isClassElement=u,e.isClassLike=function(e){return e&&(234===e.kind||204===e.kind)},e.isAccessor=function(e){return e&&(155===e.kind||156===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 153:case 155:case 156:return!0;default:return!1}},e.isTypeElement=l,e.isClassOrTypeElement=function(e){return l(e)||u(e)},e.isObjectLiteralElementLike=function(e){var t=e.kind;return 269===t||270===t||271===t||153===t||155===t||156===t},e.isTypeNode=function(e){return(t=e.kind)>=160&&t<=178||119===t||134===t||135===t||122===t||137===t||138===t||99===t||105===t||140===t||95===t||131===t||206===t||278===t||279===t||280===t||281===t||282===t||283===t||284===t;var t},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 162:case 163:return!0}return!1},e.isBindingPattern=function(e){if(e){var t=e.kind;return 180===t||179===t}return!1},e.isAssignmentPattern=function(e){var t=e.kind;return 182===t||183===t},e.isArrayBindingElement=function(e){var t=e.kind;return 181===t||205===t},e.isDeclarationBindingElement=function(e){switch(e.kind){case 231:case 148:case 181:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return d(e)||f(e)},e.isObjectBindingOrAssignmentPattern=d,e.isArrayBindingOrAssignmentPattern=f,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var t=e.kind;return 184===t||145===t||178===t},e.isPropertyAccessOrQualifiedName=function(e){var t=e.kind;return 184===t||145===t},e.isCallLikeExpression=function(e){switch(e.kind){case 256:case 255:case 186:case 187:case 188:case 149:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 186===e.kind||187===e.kind},e.isTemplateLiteral=function(e){var t=e.kind;return 201===t||13===t},e.isLeftHandSideExpression=function(t){return p(e.skipPartiallyEmittedExpressions(t).kind)},e.isUnaryExpression=function(t){return _(e.skipPartiallyEmittedExpressions(t).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 198:return!0;case 197:return 43===e.operator||44===e.operator;default:return!1}},e.isExpression=m,e.isAssertionExpression=function(e){var t=e.kind;return 189===t||207===t},e.isPartiallyEmittedExpression=g,e.isNotEmittedStatement=h,e.isNotEmittedOrPartiallyEmittedNode=function(e){return h(e)||g(e)},e.isIterationStatement=function e(t,r){switch(t.kind){case 219:case 220:case 221:case 217:case 218:return!0;case 227:return r&&e(t.statement,r)}return!1},e.isForInOrOfStatement=function(e){return 220===e.kind||221===e.kind},e.isConciseBody=function(t){return e.isBlock(t)||m(t)},e.isFunctionBody=function(t){return e.isBlock(t)},e.isForInitializer=function(t){return e.isVariableDeclarationList(t)||m(t)},e.isModuleBody=function(e){var t=e.kind;return 239===t||238===t||71===t},e.isNamespaceBody=function(e){var t=e.kind;return 239===t||238===t},e.isJSDocNamespaceBody=function(e){var t=e.kind;return 71===t||238===t},e.isNamedImportBindings=function(e){var t=e.kind;return 246===t||245===t},e.isModuleOrEnumDeclaration=function(e){return 238===e.kind||237===e.kind},e.isDeclaration=function(t){return 147===t.kind?295!==t.parent.kind||e.isInJavaScriptFile(t):192===(r=t.kind)||181===r||234===r||204===r||154===r||237===r||272===r||251===r||233===r||191===r||155===r||244===r||242===r||247===r||235===r||261===r||153===r||152===r||238===r||241===r||245===r||148===r||269===r||151===r||150===r||156===r||270===r||236===r||147===r||231===r||296===r||291===r||297===r;var r},e.isDeclarationStatement=function(e){return v(e.kind)},e.isStatementButNotDeclaration=function(e){return y(e.kind)},e.isStatement=function(t){var r=t.kind;return y(r)||v(r)||function(t){return 212===t.kind&&((void 0===t.parent||229!==t.parent.kind&&268!==t.parent.kind)&&!e.isFunctionBlock(t))}(t)},e.isModuleReference=function(e){var t=e.kind;return 253===t||145===t||71===t},e.isJsxTagNameExpression=function(e){var t=e.kind;return 99===t||71===t||184===t},e.isJsxChild=function(e){var t=e.kind;return 254===t||264===t||255===t||10===t||258===t},e.isJsxAttributeLike=function(e){var t=e.kind;return 261===t||263===t},e.isStringLiteralOrJsxExpression=function(e){var t=e.kind;return 9===t||264===t},e.isJsxOpeningLikeElement=function(e){var t=e.kind;return 256===t||255===t},e.isCaseOrDefaultClause=function(e){var t=e.kind;return 265===t||266===t},e.isJSDocNode=function(e){return e.kind>=277&&e.kind<=297},e.isJSDocCommentContainingNode=function(t){return 285===t.kind||b(t)||e.isJSDocTypeLiteral(t)||e.isJSDocSignature(t)},e.isJSDocTag=b,e.isSetAccessor=function(e){return 156===e.kind},e.isGetAccessor=function(e){return 155===e.kind},e.hasJSDocNodes=function(e){return!!e.jsDoc&&e.jsDoc.length>0},e.hasType=function(e){return!!e.type},e.couldHaveType=function(e){switch(e.kind){case 148:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158:case 159:case 160:case 162:case 163:case 172:case 174:case 176:case 189:case 191:case 192:case 207:case 231:case 233:case 236:case 277:case 280:case 281:case 282:case 283:case 284:return!0}return!1},e.hasInitializer=x,e.hasOnlyExpressionInitializer=function(t){return x(t)&&!e.isForStatement
1(t)&&!e.isForInStatement(t)&&!e.isForOfStatement(t)&&!e.isJsxAttribute(t)},e.isObjectLiteralElement=function(e){switch(e.kind){case 261:case 263:case 269:case 270:case 153:case 155:case 156:return!0;default:return!1}},e.isTypeReferenceType=function(e){return 161===e.kind||206===e.kind};var S=1073741823;e.guessIndentation=function(t){for(var r=S,n=0,i=t;n<i.length;n++){var a=i[n];if(a.length){for(var o=0;o<a.length&&o<r&&e.isWhiteSpaceLike(a.charCodeAt(o));o++);if(o<r&&(r=o),0===r)return 0}}return r===S?void 0:r},e.isStringLiteralLike=function(e){return 9===e.kind||13===e.kind},e.isNamedImportsOrExports=function(e){return 246===e.kind||250===e.kind}}(u||(u={})),function(e){var t,r,n,i,a,o,s;function c(e,t){return t&&e(t)}function u(e,t,r){if(r){if(t)return t(r);for(var n=0,i=r;n<i.length;n++){var a=e(i[n]);if(a)return a}}}function l(e,t){return 42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&47!==e.charCodeAt(t+3)}function d(e,t,r){if(e&&!(e.kind<=144))switch(e.kind){case 145:return c(t,e.left)||c(t,e.right);case 147:return c(t,e.name)||c(t,e.constraint)||c(t,e.default)||c(t,e.expression);case 270:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.questionToken)||c(t,e.equalsToken)||c(t,e.objectAssignmentInitializer);case 271:return c(t,e.expression);case 148:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.dotDotDotToken)||c(t,e.name)||c(t,e.questionToken)||c(t,e.type)||c(t,e.initializer);case 151:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.questionToken)||c(t,e.exclamationToken)||c(t,e.type)||c(t,e.initializer);case 150:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.questionToken)||c(t,e.type)||c(t,e.initializer);case 269:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.questionToken)||c(t,e.initializer);case 231:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.exclamationToken)||c(t,e.type)||c(t,e.initializer);case 181:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.dotDotDotToken)||c(t,e.propertyName)||c(t,e.name)||c(t,e.initializer);case 162:case 163:case 157:case 158:case 159:return u(t,r,e.decorators)||u(t,r,e.modifiers)||u(t,r,e.typeParameters)||u(t,r,e.parameters)||c(t,e.type);case 153:case 152:case 154:case 155:case 156:case 191:case 233:case 192:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.asteriskToken)||c(t,e.name)||c(t,e.questionToken)||u(t,r,e.typeParameters)||u(t,r,e.parameters)||c(t,e.type)||c(t,e.equalsGreaterThanToken)||c(t,e.body);case 161:return c(t,e.typeName)||u(t,r,e.typeArguments);case 160:return c(t,e.parameterName)||c(t,e.type);case 164:return c(t,e.exprName);case 165:return u(t,r,e.members);case 166:return c(t,e.elementType);case 167:return u(t,r,e.elementTypes);case 168:case 169:return u(t,r,e.types);case 170:return c(t,e.checkType)||c(t,e.extendsType)||c(t,e.trueType)||c(t,e.fal
1seType);case 171:return c(t,e.typeParameter);case 178:return c(t,e.argument)||c(t,e.qualifier)||u(t,r,e.typeArguments);case 172:case 174:return c(t,e.type);case 175:return c(t,e.objectType)||c(t,e.indexType);case 176:return c(t,e.readonlyToken)||c(t,e.typeParameter)||c(t,e.questionToken)||c(t,e.type);case 177:return c(t,e.literal);case 179:case 180:case 182:return u(t,r,e.elements);case 183:return u(t,r,e.properties);case 184:return c(t,e.expression)||c(t,e.name);case 185:return c(t,e.expression)||c(t,e.argumentExpression);case 186:case 187:return c(t,e.expression)||u(t,r,e.typeArguments)||u(t,r,e.arguments);case 188:return c(t,e.tag)||u(t,r,e.typeArguments)||c(t,e.template);case 189:return c(t,e.type)||c(t,e.expression);case 190:case 193:case 194:case 195:return c(t,e.expression);case 197:return c(t,e.operand);case 202:return c(t,e.asteriskToken)||c(t,e.expression);case 196:return c(t,e.expression);case 198:return c(t,e.operand);case 199:return c(t,e.left)||c(t,e.operatorToken)||c(t,e.right);case 207:return c(t,e.expression)||c(t,e.type);case 208:return c(t,e.expression);case 209:return c(t,e.name);case 200:return c(t,e.condition)||c(t,e.questionToken)||c(t,e.whenTrue)||c(t,e.colonToken)||c(t,e.whenFalse);case 203:return c(t,e.expression);case 212:case 239:return u(t,r,e.statements);case 273:return u(t,r,e.statements)||c(t,e.endOfFileToken);case 213:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.declarationList);case 232:return u(t,r,e.declarations);case 215:return c(t,e.expression);case 216:return c(t,e.expression)||c(t,e.thenStatement)||c(t,e.elseStatement);case 217:return c(t,e.statement)||c(t,e.expression);case 218:return c(t,e.expression)||c(t,e.statement);case 219:return c(t,e.initializer)||c(t,e.condition)||c(t,e.incrementor)||c(t,e.statement);case 220:return c(t,e.initializer)||c(t,e.expression)||c(t,e.statement);case 221:return c(t,e.awaitModifier)||c(t,e.initializer)||c(t,e.expression)||c(t,e.statement);case 222:case 223:return c(t,e.label);case 224:return c(t,e.expression);case 225:return c(t,e.expression)||c(t,e.statement);case 226:return c(t,e.expression)||c(t,e.caseBlock);case 240:return u(t,r,e.clauses);case 265:return c(t,e.expression)||u(t,r,e.statements);case 266:return u(t,r,e.statements);case 227:return c(t,e.label)||c(t,e.statement);case 228:return c(t,e.expression);case 229:return c(t,e.tryBlock)||c(t,e.catchClause)||c(t,e.finallyBlock);case 268:return c(t,e.variableDeclaration)||c(t,e.block);case 149:return c(t,e.expression);case 234:case 204:case 235:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||u(t,r,e.typeParameters)||u(t,r,e.heritageClauses)||u(t,r,e.members);case 236:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||u(t,r,e.typeParameters)||c(t,e.type);case 237:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||u(t,r,e.members);case 272:return c(t,e.name)||c(t,e.initializer);case 238:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.body);case 242:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.name)||c(t,e.moduleReference);case 243:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.importClause)||c(t,e.moduleSpecifier);case 244:return c(t,e.name)||c(t,e.namedBindings);case 241:case 245:return c(t,e.name);case 246:case 250:return u(t,r,e.elements);case 249:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.exportClause)||c(t,e.moduleSpecifier);case 247:case 251:return c(t,e.propertyName)||c(t,e.name);case 248:return u(t,r,e.decorators)||u(t,r,e.modifiers)||c(t,e.expression);case 201:return c(t,e.head)||u(t,r,e.templateSpans);case 210:return c(t,e.expression)||c(t,e.literal);case 146:return c(t,e.expression);case 267:return u(t,r,e.types);case 206:return c(t,e.expression)||u(t,r,e.typeArguments);case 253:return c(t,e.expression);case 252:return u(t,r,e.decorators);case 301:return u(t,r,e.elements);case 254:return c(t,e.openingElement)||u(t,r,e.children)||c(t,e.closingElement);case 258:return c(t,e.openingFragment)||u(t,r,e.children)||c(t,e.closingFragment);case 255:case 256:return c(t,e.tagName)||u(t,r,e.typeArguments)||c(t,e.attributes);case 262:return u(t,r,e.properties);case 261:return c(t,e.name)||c(t,e.initializer);case 263:return c(t,e.expression);case 264:return c(t,e.dotDotDotToken)||c(t,e.expression);case 257:return c(t,e.tagName);case 277:case 281:case 280:case 282:return c(t,e.type);case 283:return u(t,r,e.parameters)||c(t,e.type);case 284:return c(t,e.type);case 285:return u(t,r,e.tags);case 292:case 297:return e.isNameFirst?c(t,e.name)||c(t,e.typeExpression):c(t,e.typeExpression)||c(t,e.name);case 293:case 294:return c(t,e.typeExpression);case 289:return c(t,e.class);case 295:return u(t,r,e.typeParameters);case 296:return e.typeExpression&&277===e.typeExpression.kind?c(t,e.typeExpression)||c(t,e.fullName):c(t,e.fullName)||c(t,e.typeExpression);case 291:return c(t,e.fullName)||c(t,e.typeExpression);case 287:return u(t,r,e.decorators)||u(t,r,e.modifiers)||u(t,r,e.typeParameters)||u(t,r,e.parameters)||c(t,e.type);case 286:if(e.jsDocPropertyTags)for(var n=0,i=e.jsDocPropertyTags;n<i.length;n++){c(t,i[n])}return;case 300:return c(t,e.expression)}}function f(t,r){for(var n=e.createScanner(t.languageVersion,!1,0,r),i=[];;){var a=n.scan();if(!e.isTrivia(a))break;var o={kind:n.getToken(),pos:n.getTokenPos(),end:n.getTextPos()};v(i,o,r.substring(o.pos,o.end))}t.pragmas=e.createMap();for(var s=0,c=i;s<c.length;s++){var u=c[s];if(t.pragmas.has(u.name)){var l=t.pragmas.get(u.name);l instanceof Array?l.push(u.args):t.pragmas.set(u.name,[l,u.args])}else t.pragmas.set(u.name,u.args)}}function p(t,r){t.checkJsDirective=void 0,t.referencedFiles=[],t.typeReferenceDirectives=[],t.amdDependencies=[],t.hasNoDefaultLib=!1,t.pragmas.forEach(function(n,i){switch(i){case"reference":var a=t.referencedFiles,o=t.typeReferenceDirectives;e.forEach(e.toArray(n),function(n){n.arguments["no-default-lib"]?t.hasNoDefaultLib=!0:n.arguments.types?o.push({pos:n.arguments.types.pos,end:n.arguments.types.end,fileName:n.arguments.types.value}):n.arguments.path?a.push({pos:n.arguments.path.pos,end:n.arguments.path.end,fileName:n.arguments.path.value}):r(n.range.pos,n.range.end-n.range.pos,e.Diagnostics.Invalid_reference_directive_syntax)});break;case"amd-dependency":t.amdDependencies=e.map(e.toArray(n),function(e){var t=e.arguments;return{name:t.name,path:t.path}});break;case"amd-module":if(n instanceof Array)for(var s=0,c=n;s<c.length;s++){var u=c[s];t.moduleName&&r(u.range.pos,u.range.end-u.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=u.arguments.name}else t.moduleName=n.arguments.name;break;case"ts-nocheck":case"ts-check":e.forEach(e.toArray(n),function(e){(!t.checkJsDirective||e.range.pos>t.checkJsDirective.pos)&&(t.checkJsDirective={enabled:"ts-check"===i,end:e.range.end,pos:e.range.pos})});break;case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}})}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(t||(t={})),e.createNode=function(t,o,s){return 273===t?new(a||(a=e.objectAllocator.getSourceFileConstructor()))(t,o,s):71===t?new(i||(i=e.objectAllocator.getIdentifierConstructor()))(t,o,s):e.isNodeKind(t)?new(r||(r=e.objectAllocator.getNodeConstructor()))(t,o,s):new(n||(n=e.objectAllocator.getTokenConstructor()))(t,o,s)},e.isJSDocLikeText=l,e.forEachChild=d,e.createSourceFile=function(t,r,n,i,a){var s;return void 0===i&&(i=!1),e.performance.mark("beforeParse"),s=100===n?o.parseJsonText(t,r,n,void 0,i):o.parseSourceFile(t,r,n,void 0,i,a),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),s},e.parseIsolatedEntityName=function(e,t){return o.parseIsolatedEntityName(e,t)},e.parseJsonText=function(e,t){return o.parseJsonText(e,t)},e.isExternalModule=function(e){return void 0!==e.externalModuleIndicator},e.updateSourceFile=function(e,t,r,n){var i=s.updateSourceFile(e,t,r,n);return i.flags|=1572864&e.flags,i},e.parseIsolatedJSDocComment=function(e,t,r){var n=o.JSDocParser.parseIsolatedJSDocComment(e,t,r);return n&&n.jsDoc&&o.fixupParentReferences(n.jsDoc),n},e.parseJSDocTypeExpressionForTests=function(e,t,r){return o.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)}
1,function(t){var r,n,i,a,o,s,c,u,_,m,g,h,v,y,b,x,S,k=e.createScanner(6,!0),C=10240,E=!1;function T(t,r,n,i,a){void 0===n&&(n=2),D(r,n,i,6),(o=F(t,2,6,!1)).flags=y,te();var c=Z();if(1===ee())o.statements=ve([],c,c),o.endOfFileToken=pe();else{var u=ge(215);switch(ee()){case 21:u.expression=Cr();break;case 101:case 86:case 95:u.expression=pe();break;case 38:oe(function(){return 8===te()&&56!==te()})?u.expression=ir():u.expression=Tr();break;case 8:case 9:if(oe(function(){return 56!==te()})){u.expression=et();break}default:u.expression=Tr()}ye(u),o.statements=ve([u],c),o.endOfFileToken=fe(1,e.Diagnostics.Unexpected_token)}a&&O(o),o.parseDiagnostics=s;var l=o;return A(),l}function w(e){return 4===e||2===e||1===e||6===e?1:0}function D(t,o,u,l){switch(r=e.objectAllocator.getNodeConstructor(),n=e.objectAllocator.getTokenConstructor(),i=e.objectAllocator.getIdentifierConstructor(),a=e.objectAllocator.getSourceFileConstructor(),_=t,c=u,s=[],v=0,g=e.createMap(),h=0,m=0,l){case 1:case 2:y=65536;break;case 6:y=16842752;break;default:y=0}E=!1,k.setText(_),k.setOnError(Q),k.setScriptTarget(o),k.setLanguageVariant(w(l))}function A(){k.setText(""),k.setOnError(void 0),s=void 0,o=void 0,g=void 0,c=void 0,_=void 0}function N(t,r,n,i){var a=function(t){return e.fileExtensionIs(t,".d.ts")}(t);return a&&(y|=4194304),(o=F(t,r,i,a)).flags=y,te(),f(o,_),p(o,function(t,r,n){s.push(e.createFileDiagnostic(o,t,r,n))}),o.statements=Ue(0,Vr),e.Debug.assert(1===ee()),o.endOfFileToken=P(pe()),function(t){t.externalModuleIndicator=e.forEach(t.statements,Pn)||function(e){return 1048576&e.flags?On(e):void 0}(t)}(o),o.nodeCount=m,o.identifierCount=h,o.identifiers=g,o.parseDiagnostics=s,n&&O(o),o}function P(t){var r=e.getJSDocCommentRanges(t,o.text);if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n];t.jsDoc=e.append(t.jsDoc,S.parseJSDocComment(t,a.pos,a.end-a.pos))}return t}function O(t){var r=t;return void d(t,function t(n){if(n.parent!==r){n.parent=r;var i=r;if(r=n,d(n,t),e.hasJSDocNodes(n))for(var a=0,o=n.jsDoc;a<o.length;a++){var s=o[a];s.parent=n,r=s,d(s,t)}r=i}})}function F(t,r,n,i){var o=new a(273,0,_.length);return m++,o.text=_,o.bindDiagnostics=[],o.bindSuggestionDiagnostics=void 0,o.languageVersion=r,o.fileName=e.normalizePath(t),o.languageVariant=w(n),o.isDeclarationFile=i,o.scriptKind=n,o}function M(e,t){e?y|=t:y&=~t}function I(e){M(e,2048)}function L(e){M(e,4096)}function R(e){M(e,8192)}function j(e){M(e,16384)}function B(e,t){var r=e&y;if(r){M(!1,r);var n=t();return M(!0,r),n}return t()}function z(e,t){var r=e&~y;if(r){M(!0,r);var n=t();return M(!1,r),n}return t()}function q(e){return B(2048,e)}function U(e){return z(16384,e)}function V(e){return 0!==(y&e)}function J(){return V(4096)}function H(){return V(2048)}function W(){return V(8192)}function K(){return V(16384)}function G(e,t){Y(k.getTokenPos(),k.getTextPos(),e,t)}function X(t,r,n,i){var a=e.lastOrUndefined(s);a&&t===a.start||s.push(e.createFileDiagnostic(o,t,r,n,i)),E=!0}function Y(e,t,r,n){X(e,t-e,r,n)}function $(e,t,r){Y(e.pos,e.end,t,r)}function Q(e,t){X(k.getTextPos(),t,e)}function Z(){return k.getStartPos()}function ee(){return u}function te(){return u=k.scan()}function re(){return u=k.reScanGreaterToken()}function ne(){return u=k.scanJsxIdentifier()}function ie(){return u=k.scanJsxToken()}function ae(t,r){var n=u,i=s.length,a=E,o=y,c=r?k.lookAhead(t):k.tryScan(t);return e.Debug.assert(o===y),c&&!r||(u=n,s.length=i,E=a),c}function oe(e){return ae(e,!0)}function se(e){return ae(e,!1)}function ce(){return 71===ee()||(116!==ee()||!J())&&((121!==ee()||!K())&&ee()>107)}function ue(t,r,n){return void 0===n&&(n=!0),ee()===t?(n&&te(),!0):(r?G(r):G(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function le(e){return ee()===e&&(te(),!0)}function de(e){if(ee()===e)return pe()}function fe(t,r,n){return de(t)||be(t,!1,r||e.Diagnostics._0_expected,n||e.tokenToString(t))}function pe(){var e=ge(ee());return te(),ye(e)}function _e(){return 25===ee()||(18===ee()||1===ee()||k.hasPrecedingLineBreak())}function me(){return _e()?(25===ee()&&te(),!0):ue(25)}function ge(t,a){m++;var o=a>=0?a:k.getStartPos();
1return e.isNodeKind(t)||0===t?new r(t,o,o):71===t?new i(t,o,o):new n(t,o,o)}function he(e,t){var r=ge(e,t);return 2&k.getTokenFlags()&&P(r),r}function ve(e,t,r){var n=e.length,i=n>=1&&n<=4?e.slice():e;return i.pos=t,i.end=void 0===r?k.getStartPos():r,i}function ye(e,t){return e.end=void 0===t?k.getStartPos():t,y&&(e.flags|=y),E&&(E=!1,e.flags|=32768),e}function be(t,r,n,i){r?X(k.getStartPos(),0,n,i):n&&G(n,i);var a=ge(t);return 71===t?a.escapedText="":(e.isLiteralKind(t)||e.isTemplateLiteralKind(t))&&(a.text=""),ye(a)}function xe(e){var t=g.get(e);return void 0===t&&g.set(e,t=e),t}function Se(t,r){if(h++,t){var n=ge(71);return 71!==ee()&&(n.originalKeywordKind=ee()),n.escapedText=e.escapeLeadingUnderscores(xe(k.getTokenValue())),te(),ye(n)}return be(71,1===ee(),r||e.Diagnostics.Identifier_expected)}function ke(e){return Se(ce(),e)}function Ce(t){return Se(e.tokenIsIdentifierOrKeyword(ee()),t)}function Ee(){return e.tokenIsIdentifierOrKeyword(ee())||9===ee()||8===ee()}function Te(e){if(9===ee()||8===ee()){var t=et();return t.text=xe(t.text),t}return e&&21===ee()?function(){var e=ge(146);return ue(21),e.expression=q(Jt),ue(22),ye(e)}():Ce()}function we(){return Te(!0)}function De(e){return ee()===e&&se(Ne)}function Ae(){return te(),!k.hasPrecedingLineBreak()&&Pe()}function Ne(){switch(ee()){case 76:return 83===te();case 84:return te(),79===ee()?oe(Oe):39!==ee()&&118!==ee()&&17!==ee()&&Pe();case 79:return Oe();case 115:case 125:case 136:return te(),Pe();default:return Ae()}}function Pe(){return 21===ee()||17===ee()||39===ee()||24===ee()||Ee()}function Oe(){return te(),75===ee()||89===ee()||109===ee()||117===ee()&&oe(Lr)||120===ee()&&oe(Rr)}function Fe(t,r){if(Je(t))return!0;switch(t){case 0:case 1:case 3:return!(25===ee()&&r)&&qr();case 2:return 73===ee()||79===ee();case 4:return oe(ht);case 5:return oe(un)||25===ee()&&!r;case 6:return 21===ee()||Ee();case 12:return 21===ee()||39===ee()||24===ee()||Ee();case 17:return Ee();case 9:return 21===ee()||24===ee()||Ee();case 7:return 17===ee()?oe(Me):r?ce()&&!je():Ut()&&!je();case 8:return $r();case 10:return 26===ee()||24===ee()||$r();case 18:return ce();case 15:if(26===ee())return!0;case 11:return 24===ee()||Vt();case 16:return ut();case 19:case 20:return 26===ee()||Pt();case 21:return bn();case 22:return e.tokenIsIdentifierOrKeyword(ee());case 13:return e.tokenIsIdentifierOrKeyword(ee())||17===ee();case 14:return!0}e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function Me(){if(e.Debug.assert(17===ee()),18===te()){var t=te();return 26===t||17===t||85===t||108===t}return!0}function Ie(){return te(),ce()}function Le(){return te(),e.tokenIsIdentifierOrKeyword(ee())}function Re(){return te(),e.tokenIsIdentifierOrKeywordOrGreaterThan(ee())}function je(){return(108===ee()||85===ee())&&oe(Be)}function Be(){return te(),Vt()}function ze(){return te(),Pt()}function qe(e){if(1===ee())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 22:return 18===ee();case 3:return 18===ee()||73===ee()||79===ee();case 7:return 17===ee()||85===ee()||108===ee();case 8:return function(){if(_e())return!0;if(er(ee()))return!0;if(36===ee())return!0;return!1}();case 18:return 29===ee()||19===ee()||17===ee()||85===ee()||108===ee();case 11:return 20===ee()||25===ee();case 15:case 20:case 10:return 22===ee();case 16:case 17:return 20===ee()||22===ee();case 19:return 26!==ee();case 21:return 17===ee()||18===ee();case 13:return 29===ee()||41===ee();case 14:return 27===ee()&&oe(En)}}function Ue(e,t){var r=v;v|=1<<e;for(var n=[],i=Z();!qe(e);)if(Fe(e,!1)){var a=Ve(e,t);n.push(a)}else if(He(e))break;return v=r,ve(n,i)}function Ve(e,t){var r=Je(e);return r?function(e){return k.setTextPos(e.end),te(),e}(r):t()}function Je(t){if(!E&&c){var r=c.currentNode(k.getStartPos());if(!e.nodeIsMissing(r))if(!r.intersectsChange)if(!e.containsParseError(r))if((12679168&r.flags)===y&&function(e,t){switch(t){case 5:return function(e){if(e)switch(e.kind){case 154:case 159:case 155:case 156:case 151:case 211:return!0;case 153:var t=e,r=71===t.name.kind&&123===t.name.originalKeywordKind;return!r}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 265:case 266:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 233:case 213:case 212:case 216:case 215:case 228:case 224:case 226:case 223:case 222:case 220:case 221:case 219:case 218:case 225:case 214:case 229:case 227:case 217:case 230:case 243:case 242:case 249:case 248:case 238:case 234:case 235:case 237:case 236:return!0}return!1}(e);case 6:return function(e){return 272===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 158:case 152:case 159:case 150:case 157:return!0}return!1}(e);case 8:return function(e){if(231!==e.kind)return!1;return void 0===e.initializer}(e);case 16:return function(e){if(148!==e.kind)return!1;return void 0===e.initializer}(e);case 17:return!1}return!1}(r,t))return r.jsDocCache&&(r.jsDocCache=void 0),r}}function He(t){return G(function(t){switch(t){case 0:case 1:return e.Diagnostics.Declaration_or_statement_expected;case 2:return e.Diagnostics.case_or_default_expected;case 3:return e.Diagnostics.Statement_expected;case 17:case 4:return e.Diagnostics.Property_or_signature_expected;case 5:return e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected;case 6:return e.Diagnostics.Enum_member_expected;case 7:return e.Diagnostics.Expression_expected;case 8:return e.Diagnostics.Variable_declaration_expected;case 9:return e.Diagnostics.Property_destructuring_pattern_expected;case 10:return e.Diagnostics.Array_element_destructuring_pattern_expected;case 11:return e.Diagnostics.Argument_expression_expected;case 12:return e.Diagnostics.Property_assignment_expected;case 15:return e.Diagnostics.Expression_or_comma_expected;case 16:return e.Diagnostics.Parameter_declaration_expected;case 18:return e.Diagnostics.Type_parameter_declaration_expected;case 19:return e.Diagnostics.Type_argument_expected;case 20:return e.Diagnostics.Type_expected;case 21:return e.Diagnostics.Unexpected_token_expected;case 22:case 13:case 14:return e.Diagnostics.Identifier_expected}}(t)),!!function(){for(var e=0;e<23;e++)if(v&1<<e&&(Fe(e,!0)||qe(e)))return!0;return!1}()||(te(),!1)}function We(e,t,r){var n=v;v|=1<<e;for(var i=[],a=Z(),o=-1;;)if(Fe(e,!1)){var s=k.getStartPos();if(i.push(Ve(e,t)),o=k.getTokenPos(),le(26))continue;if(o=-1,qe(e))break;ue(26),r&&25===ee()&&!k.hasPrecedingLineBreak()&&te(),s===k.getStartPos()&&te()}else{if(qe(e))break;if(He(e))break}v=n;var c=ve(i,a);return o>=0&&(c.hasTrailingComma=!0),c}function Ke(){return ve([],Z())}function Ge(e,t,r,n){if(ue(r)){var i=We(e,t);return ue(n),i}return Ke()}function Xe(e,t){for(var r=e?Ce(t):ke(t),n=k.getStartPos();le(23);){if(27===ee()){r.jsdocDotPos=n;break}n=k.getStartPos(),r=Ye(r,$e(e))}return r}function Ye(e,t){var r=ge(145,e.pos);return r.left=e,r.right=t,ye(r)}function $e(t){if(k.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(ee())&&oe(Ir))return be(71,!0,e.Diagnostics.Identifier_expected);return t?Ce():ke()}function Qe(){var t=ge(201);t.head=function(){var t=tt(ee());return e.Debug.assert(14===t.kind,"Template head has wrong token kind"),t}(),e.Debug.assert(14===t.head.kind,"Template head has wrong token kind");var r=[],n=Z();do{r.push(Ze())}while(15===e.lastOrUndefined(r).literal.kind);
1return t.templateSpans=ve(r,n),ye(t)}function Ze(){var t,r=ge(210);return r.expression=q(Jt),18===ee()?(u=k.reScanTemplateToken(),t=function(){var t=tt(ee());return e.Debug.assert(15===t.kind||16===t.kind,"Template fragment has wrong token kind"),t}()):t=fe(16,e.Diagnostics._0_expected,e.tokenToString(18)),r.literal=t,ye(r)}function et(){return tt(ee())}function tt(e){var t=ge(e),r=k.getTokenValue();return t.text=r,k.hasExtendedUnicodeEscape()&&(t.hasExtendedUnicodeEscape=!0),k.isUnterminated()&&(t.isUnterminated=!0),8===t.kind&&(t.numericLiteralFlags=1008&k.getTokenFlags()),te(),ye(t),t}function rt(){var t=ge(161);return t.typeName=Xe(!0,e.Diagnostics.Type_expected),k.hasPrecedingLineBreak()||27!==ee()||(t.typeArguments=Ge(19,Bt,27,29)),ye(t)}function nt(e){var t=ge(278);return e?Ft(282,t):(te(),ye(t))}function it(){var e=ge(148);return 99!==ee()&&94!==ee()||(e.name=Ce(),ue(56)),e.type=at(),ye(e)}function at(){var e=de(24),t=Bt();if(e){var r=ge(284,e.pos);r.type=t,t=ye(r)}return 58===ee()?Ft(282,t):t}function ot(){var e=ge(147);return e.name=ke(),le(85)&&(Pt()||!Vt()?e.constraint=Bt():e.expression=ar()),le(58)&&(e.default=Bt()),ye(e)}function st(){if(27===ee())return Ge(18,ot,27,29)}function ct(){if(le(56))return Bt()}function ut(){return 24===ee()||$r()||e.isModifierKind(ee())||57===ee()||Pt(!0)}function lt(){var t=he(148);return 99===ee()?(t.name=Se(!0),t.type=ct(),ye(t)):(t.decorators=ln(),t.modifiers=dn(),t.dotDotDotToken=de(24),t.n
1ame=Qr(),0===e.getFullWidth(t.name)&&!e.hasModifiers(t)&&e.isModifierKind(ee())&&te(),t.questionToken=de(55),t.type=ct(),t.initializer=Ht(),ye(t))}function dt(t,r,n){32&r||(n.typeParameters=st());var i=function(e,t){if(!ue(19))return e.parameters=Ke(),!1;var r=J(),n=K();return L(!!(1&t)),j(!!(2&t)),e.parameters=We(16,32&t?it:lt),L(r),j(n),ue(20)}(n,r);return(!function(t,r){if(36===t)return ue(t),!0;if(le(56))return!0;if(r&&36===ee())return G(e.Diagnostics._0_expected,e.tokenToString(56)),te(),!0;return!1}(t,!!(4&r))||(n.type=function(){var e=ce()&&se(jt),t=Bt();if(e){var r=ge(160,e.pos);return r.parameterName=e,r.type=t,ye(r)}return t}(),!function t(r){switch(r.kind){case 161:return e.nodeIsMissing(r.typeName);case 162:case 163:var n=r,i=n.parameters,a=n.type;return i.pos===i.end||t(a);case 172:return t(r.type);default:return!1}}(n.type)))&&i}function ft(){le(26)||me()}function pt(e){var t=he(e);return 158===e&&ue(94),dt(56,4,t),ft(),ye(t)}function _t(){return 21===ee()&&oe(mt)}function mt(){if(te(),24===ee()||22===ee())return!0;if(e.isModifierKind(ee())){if(te(),ce())return!0}else{if(!ce())return!1;te()}return 56===ee()||26===ee()||55===ee()&&(te(),56===ee()||26===ee()||22===ee())}function gt(e){return e.kind=159,e.parameters=Ge(16,lt,21,22),e.type=qt(),ft(),ye(e)}function ht(){if(19===ee()||27===ee())return!0;for(var t;e.isModifierKind(ee());)t=!0,te();return 21===ee()||(Ee()&&(t=!0,te()),!!t&&(19===ee()||27===ee()||55===ee()||56===ee()||26===ee()||_e()))}function vt(){if(19===ee()||27===ee())return pt(157);if(94===ee()&&oe(yt))return pt(158);var e=he(0);return e.modifiers=dn(),_t()?gt(e):function(e){return e.name=we(),e.questionToken=de(55),19===ee()||27===ee()?(e.kind=152,dt(56,4,e)):(e.kind=150,e.type=qt(),58===ee()&&(e.initializer=Ht())),ft(),ye(e)}(e)}function yt(){return te(),19===ee()||27===ee()}function bt(){return 23===te()}function xt(){switch(te()){case 19:case 27:case 23:return!0}return!1}function St(){var e;return ue(17)?(e=Ue(4,vt),ue(18)):e=Ke(),e}function kt(){return te(),37===ee()||38===ee()?132===te():(132===ee()&&te(),21===ee()&&Ie()&&92===te())}
1function Ct(){var e=ge(176);return ue(17),132!==ee()&&37!==ee()&&38!==ee()||(e.readonlyToken=pe(),132!==e.readonlyToken.kind&&fe(132)),ue(21),e.typeParameter=function(){var e=ge(147);return e.name=ke(),ue(92),e.constraint=Bt(),ye(e)}(),ue(22),55!==ee()&&37!==ee()&&38!==ee()||(e.questionToken=pe(),55!==e.questionToken.kind&&fe(55)),e.type=qt(),me(),ue(18),ye(e)}function Et(){var e=pe();return 23===ee()?void 0:e}function Tt(e){var t,r=ge(177);e&&((t=ge(197)).operator=38,te());var n=101===ee()||86===ee()?pe():tt(ee());return e&&(t.operand=n,ye(t),n=t),r.literal=n,ye(r)}function wt(){return te(),91===ee()}function Dt(){o.flags|=524288;var t=ge(178);return le(103)&&(t.isTypeOf=!0),ue(91),ue(19),t.argument=Bt(),ue(20),le(23)&&(t.qualifier=Xe(!0,e.Diagnostics.Type_expected)),t.typeArguments=yn(),ye(t)}function At(){return 8===te()}function Nt(){switch(ee()){case 119:case 137:case 134:case 138:case 122:case 140:case 131:case 135:return se(Et)||rt();case 39:return nt(!1);case 61:return nt(!0);case 55:return function(){var e,t=k.getStartPos();return te(),26===ee()||18===ee()||20===ee()||29===ee()||58===ee()||49===ee()?ye(e=ge(279,t)):((e=ge(280,t)).type=Bt(),ye(e))}();case 89:return function(){if(oe(Cn)){var e=he(283);return te(),dt(56,36,e),ye(e)}var t=ge(161);return t.typeName=Ce(),ye(t)}();case 51:return function(){var e=ge(281);return te(),e.type=Nt(),ye(e)}();case 13:case 9:case 8:case 101:case 86:return Tt();case 38:return oe(At)?Tt(!0):rt();case 105:case 95:return pe();
1case 99:var e=function(){var e=ge(173);return te(),ye(e)}();return 127!==ee()||k.hasPrecedingLineBreak()?e:function(e){te();var t=ge(160,e.pos);return t.parameterName=e,t.type=Bt(),ye(t)}(e);case 103:return oe(wt)?Dt():function(){var e=ge(164);return ue(103),e.exprName=Xe(!0),ye(e)}();case 17:return oe(kt)?Ct():function(){var e=ge(165);return e.members=St(),ye(e)}();case 21:return function(){var e=ge(167);return e.elementTypes=Ge(20,Bt,21,22),ye(e)}();case 19:return function(){var e=ge(172);return ue(19),e.type=Bt(),ue(20),ye(e)}();case 91:return Dt();default:return rt()}}function Pt(e){switch(ee()){case 119:case 137:case 134:case 122:case 138:case 141:case 105:case 140:case 95:case 99:case 103:case 131:case 17:case 21:case 27:case 49:case 48:case 94:case 9:case 8:case 101:case 86:case 135:case 39:case 55:case 51:case 24:case 126:case 91:return!0;case 38:return!e&&oe(At);case 19:return!e&&oe(Ot);default:return ce()}}function Ot(){return te(),20===ee()||ut()||Pt()}function Ft(e,t){te();var r=ge(e,t.pos);return r.type=t,ye(r)}function Mt(){var e=ee();switch(e){case 128:case 141:return function(e){var t=ge(174);return ue(e),t.operator=e,t.type=Mt(),ye(t)}(e);
1case 126:return function(){var e=ge(171);ue(126);var t=ge(147);return t.name=ke(),e.typeParameter=ye(t),ye(e)}()}return function(){for(var e=Nt();!k.hasPrecedingLineBreak();)switch(ee()){case 51:e=Ft(281,e);break;case 55:if(!(2097152&y)&&oe(ze))return e;e=Ft(280,e);break;case 21:var t;ue(21),Pt()?((t=ge(175,e.pos)).objectType=e,t.indexType=Bt(),ue(22),e=ye(t)):((t=ge(166,e.pos)).elementType=e,ue(22),e=ye(t));break;default:return e}return e}()}function It(e,t,r){le(r);var n=t();if(ee()===r){for(var i=[n];le(r);)i.push(t());var a=ge(e,n.pos);a.types=ve(i,n.pos),n=ye(a)}return n}function Lt(){return It(169,Mt,48)}function Rt(){if(te(),20===ee()||24===ee())return!0;if(function(){if(e.isModifierKind(ee())&&dn(),ce()||99===ee())return te(),!0;if(21===ee()||17===ee()){var t=s.length;return Qr(),t===s.length}return!1}()){if(56===ee()||26===ee()||55===ee()||58===ee())return!0;if(20===ee()&&(te(),36===ee()))return!0}return!1}function jt(){var e=ke();if(127===ee()&&!k.hasPrecedingLineBreak())return te(),e}function Bt(){return B(20480,zt)}function zt(e){if(27===ee()||19===ee()&&oe(Rt)||94===ee())return function(){var e=Z(),t=he(le(94)?163:162,e);return dt(36,4,t),ye(t)}();var t=It(168,Lt,49);if(!e&&!k.hasPrecedingLineBreak()&&le(85)){var r=ge(170,t.pos);return r.checkType=t,r.extendsType=zt(!0),ue(55),r.trueType=zt(),ue(56),r.falseType=zt(),ye(r)}return t}function qt(){return le(56)?Bt():void 0}function Ut(){switch(ee()){case 99:case 97:case 95:case 101:case 86:case 8:case 9:case 13:case 14:case 19:case 21:case 17:case 89:case 75:case 94:case 41:case 63:case 71:return!0;case 91:return oe(xt);default:return ce()}}function Vt(){if(Ut())return!0;switch(ee()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 43:case 44:case 27:case 121:case 116:return!0;default:return!!function(){if(H()&&92===ee())return!1;return e.getBinaryOperatorPrecedence(ee())>0}()||ce()}}function Jt(){var e=W();e&&R(!1);for(var t,r=Wt();t=de(26);)r=rr(r,t,Wt());return e&&R(!0),r}function Ht(){return le(58)?Wt():void 0}function Wt(){if(function(){if(116===ee())return!!J()||oe(jr);return!1}())return function(){var e=ge(202);return te(),k.hasPrecedingLineBreak()||39!==ee()&&!Vt()?ye(e):(e.asteriskToken=de(39),e.expression=Wt(),ye(e))}();var t=function(){var t=function(){if(19===ee()||27===ee()||120===ee())return oe(Gt);if(36===ee())return 1;return 0}();if(0===t)return;var r=1===t?$t(!0):se(Xt);if(!r)return;var n=e.hasModifier(r,256),i=ee();return r.equalsGreaterThanToken=fe(36),r.body=36===i||17===i?Qt(n):ke(),ye(r)}()||function(){if(120===ee()&&1===oe(Yt)){var e=fn(),t=Zt(0);return Kt(t,e)}return}();if(t)return t;var r=Zt(0);return 71===r.kind&&36===ee()?Kt(r):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(re())?rr(r,pe(),Wt()):function(t){var r=de(55);if(!r)return t;var n=ge(200,t.pos);return n.condition=t,n.questionToken=r,n.whenTrue=B(C,Wt),n.colonToken=fe(56),n.whenFalse=e.nodeIsPresent(n.colonToken)?Wt():be(71,!1,e.Diagnostics._0_expected,e.tokenToString(56)),ye(n)}(r)}function Kt(t,r){var n;e.Debug.assert(36===ee(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>"),r?(n=ge(192,r.pos)).modifiers=r:n=ge(192,t.pos);var i=ge(148,t.pos);return i.name=t,ye(i),n.parameters=ve([i],i.pos,i.end),n.equalsGreaterThanToken=fe(36),n.body=Qt(!!r),P(ye(n))}function Gt(){if(120===ee()){if(te(),k.hasPrecedingLineBreak())return 0;if(19!==ee()&&27!==ee())return 0}var t=ee(),r=te();if(19===t){if(20===r)switch(te()){case 36:case 56:case 17:return 1;default:return 0}if(21===r||17===r)return 2;if(24===r)return 1;if(e.isModifierKind(r)&&120!==r&&oe(Ie))return 1;if(!ce())return 0;switch(te()){case 56:return 1;case 55:return te(),56===ee()||26===ee()||58===ee()||20===ee()?1:0;case 26:case 58:case 20:return 2}return 0}return e.Debug.assert(27===t),ce()?1===o.languageVariant?oe(function(){var e=te();if(85===e)switch(te()){case 58:case 29:return!1;default:return!0}else if(26===e)return!0;return!1})?1:0:2:0}function Xt(){return $t(!1)}function Yt(){if(120===ee()){if(te(),k.hasPrecedingLineBreak()||36===ee())return 0;var e=Zt(0);
1if(!k.hasPrecedingLineBreak()&&71===e.kind&&36===ee())return 1}return 0}function $t(t){var r=he(192);if(r.modifiers=fn(),(dt(56,e.hasModifier(r,256)?2:0,r)||t)&&(t||36===ee()||17===ee()))return r}function Qt(e){return 17===ee()?Nr(e?2:0):25===ee()||89===ee()||75===ee()||!qr()||17!==ee()&&89!==ee()&&75!==ee()&&57!==ee()&&Vt()?e?U(Wt):B(16384,Wt):Nr(16|(e?2:0))}function Zt(e){return tr(e,ar())}function er(e){return 92===e||144===e}function tr(t,r){for(;;){re();var n=e.getBinaryOperatorPrecedence(ee());if(!(40===ee()?n>=t:n>t))break;if(92===ee()&&H())break;if(118===ee()){if(k.hasPrecedingLineBreak())break;te(),r=nr(r,Bt())}else r=rr(r,pe(),Zt(n))}return r}function rr(e,t,r){var n=ge(199,e.pos);return n.left=e,n.operatorToken=t,n.right=r,ye(n)}function nr(e,t){var r=ge(207,e.pos);return r.expression=e,r.type=t,ye(r)}function ir(){var e=ge(197);return e.operator=ee(),te(),e.operand=or(),ye(e)}function ar(){if(function(){switch(ee()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 121:return!1;case 27:if(1!==o.languageVariant)return!1;default:return!0}}()){var t=sr();return 40===ee()?tr(e.getBinaryOperatorPrecedence(ee()),t):t}var r=ee(),n=or();if(40===ee()){var i=e.skipTrivia(_,n.pos),a=n.end;189===n.kind?Y(i,a,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Y(i,a,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(r))}return n}function or(){switch(ee()){case 37:case 38:case 52:case 51:return ir();case 80:return function(){var e=ge(193);return te(),e.expression=or(),ye(e)}();case 103:return function(){var e=ge(194);return te(),e.expression=or(),ye(e)}();case 105:return function(){var e=ge(195);return te(),e.expression=or(),ye(e)}();case 27:return function(){var e=ge(189);return ue(27),e.type=Bt(),ue(29),e.expression=or(),ye(e)}();case 121:if(121===ee()&&(K()||oe(jr)))return function(){var e=ge(196);return te(),e.expression=or(),ye(e)}();default:return sr()}}function sr(){if(43===ee()||44===ee())return(t=ge(197)).operator=ee(),te(),t.operand=cr(),ye(t);if(1===o.languageVariant&&27===ee()&&oe(Re))return lr(!0);var t,r=cr();return e.Debug.assert(e.isLeftHandSideExpression(r)),43!==ee()&&44!==ee()||k.hasPrecedingLineBreak()?r:((t=ge(198,r.pos)).operand=r,t.operator=ee(),te(),ye(t))}function cr(){var t;if(91===ee())if(oe(yt))o.flags|=524288,t=pe();else if(oe(bt)){var r=k.getStartPos();te(),te();var n=ge(209,r);n.keywordToken=91,n.name=Ce(),t=ye(n),o.flags|=1048576}else t=ur();else t=97===ee()?function(){var t=pe();if(19===ee()||23===ee()||21===ee())return t;var r=ge(184,t.pos);
1return r.expression=t,fe(23,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),r.name=$e(!0),ye(r)}():ur();return function(e){for(;;)if(e=gr(e),27!==ee()){if(19!==ee())return e;var t=ge(186,e.pos);t.expression=e,t.arguments=yr(),e=ye(t)}else{var r=se(br);if(!r)return e;if(hr()){e=vr(e,r);continue}var t=ge(186,e.pos);t.expression=e,t.typeArguments=r,t.arguments=yr(),e=ye(t)}}(t)}function ur(){return gr(xr())}function lr(t){var r,n=function(e){var t=k.getStartPos();if(ue(27),29===ee()){var r=ge(259,t);return ie(),ye(r)}var n,i=pr(),a=yn(),o=function(){var e=ge(262);return e.properties=Ue(13,mr),ye(e)}();29===ee()?(n=ge(256,t),ie()):(ue(41),e?ue(29):(ue(29,void 0,!1),ie()),n=ge(255,t));return n.tagName=i,n.typeArguments=a,n.attributes=o,ye(n)}(t);if(256===n.kind)(i=ge(254,n.pos)).openingElement=n,i.children=fr(i.openingElement),i.closingElement=function(e){var t=ge(257);ue(28),t.tagName=pr(),e?ue(29):(ue(29,void 0,!1),ie());return ye(t)}(t),function e(t,r){return t.kind===r.kind&&(71===t.kind?t.escapedText===r.escapedText:99===t.kind||t.name.escapedText===r.name.escapedText&&e(t.expression,r.expression))}(i.openingElement.tagName,i.closingElement.tagName)||$(i.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(_,i.openingElement.tagName)),r=ye(i);else if(259===n.kind){var i;(i=ge(258,n.pos)).openingFragment=n,i.children=fr(i.openingFragment),i.closingFragment=function(t){var r=ge(260);ue(28),e.tokenIsIdentifierOrKeyword(ee())&&$(pr(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);t?ue(29):(ue(29,void 0,!1),ie());return ye(r)}(t),r=ye(i)}else e.Debug.assert(255===n.kind),r=n;if(t&&27===ee()){var a=se(function(){return lr(!0)});if(a){G(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=ge(199,r.pos);return o.end=a.end,o.left=r,o.right=a,o.operatorToken=be(26,!1,void 0),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return r}function dr(t,r){switch(r){case 1:return void(e.isJsxOpeningFragment(t)?$(t,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):$(t.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(_,t.tagName)));case 28:case 7:return;case 10:case 11:return function(){var e=ge(10);return e.containsOnlyWhiteSpaces=11===u,u=k.scanJsxToken(),ye(e)}();case 17:return _r(!1);case 27:return lr(!1);default:return e.Debug.assertNever(r)}}function fr(e){var t=[],r=Z(),n=v;for(v|=16384;;){var i=dr(e,u=k.reScanJsxToken());if(!i)break;t.push(i)}return v=n,ve(t,r)}function pr(){ne();for(var e=99===ee()?pe():Ce();le(23);){var t=ge(184,e.pos);t.expression=e,t.name=$e(!0),e=ye(t)}return e}function _r(e){var t=ge(264);if(ue(17))return 18!==ee()&&(t.dotDotDotToken=de(24),t.expression=Wt()),e?ue(18):(ue(18,void 0,!1),ie()),ye(t)}function mr(){if(17===ee())return function(){var e=ge(263);return ue(17),ue(24),e.expression=Jt(),ue(18),ye(e)}();ne();var e=ge(261);if(e.name=Ce(),58===ee())switch(u=k.scanJsxAttributeValue()){case 9:e.initializer=et();break;default:e.initializer=_r(!0)}return ye(e)}function gr(t){for(;;){if(de(23)){var r=ge(184,t.pos);r.expression=t,r.name=$e(!0),t=ye(r)}else if(51!==ee()||k.hasPrecedingLineBreak())if(W()||!le(21)){if(!hr())return t;t=vr(t,void 0)}else{var n=ge(185,t.pos);if(n.expression=t,22===ee())n.argumentExpression=be(71,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var i=q(Jt);e.isStringOrNumericLiteral(i)&&(i.text=xe(i.text)),n.argumentExpression=i}ue(22),t=ye(n)}else{te();var a=ge(208,t.pos);a.expression=t,t=ye(a)}}}function hr(){return 13===ee()||14===ee()}function vr(e,t){var r=ge(188,e.pos);return r.tag=e,r.typeArguments=t,r.template=13===ee()?et():Qe(),ye(r)}function yr(){ue(19);var e=We(11,kr);return ue(20),e}function br(){if(le(27)){var e=We(19,Bt);if(ue(29))return e&&function(){switch(ee()){case 19:case 13:case 14:case 23:case 20:case 22:case 56:case 25:case 55:case 32:case 34:case 33:case 35:case 53:case 54:case 50:case 48:case 49:case 18:case 1:return!0;case 26:case 17:default:return!1}}()?e:void 0}}function xr(){switch(ee()){case 8:case 9:case 13:return et();case 99:case 97:case 95:case 101:case 86:return pe();case 19:return function(){var e=he(190);return ue(19),e.expression=q(Jt),ue(20),ye(e)}();case 21:return Cr();case 17:return Tr();case 120:if(!oe(Rr))break;return wr();case 75:return mn(he(0),204);case 89:return wr();case 94:return function(){var t=k.getStartPos();if(ue(94),le(23)){var r=ge(209,t);
1return r.keywordToken=94,r.name=Ce(),ye(r)}var n,i=xr();for(;;){i=gr(i),n=se(br),hr()&&(e.Debug.assert(!!n,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),i=vr(i,n),n=void 0);break}var a=ge(187,t);a.expression=i,a.typeArguments=n,(a.typeArguments||19===ee())&&(a.arguments=yr());return ye(a)}();case 41:case 63:if(12===(u=k.reScanSlashToken()))return et();break;case 14:return Qe()}return ke(e.Diagnostics.Expression_expected)}function Sr(){return 24===ee()?function(){var e=ge(203);return ue(24),e.expression=Wt(),ye(e)}():26===ee()?ge(205):Wt()}function kr(){return B(C,Sr)}function Cr(){var e=ge(182);return ue(21),k.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=We(15,Sr),ue(22),ye(e)}function Er(){var e=he(0);if(de(24))return e.kind=271,e.expression=Wt(),ye(e);if(e.decorators=ln(),e.modifiers=dn(),De(125))return cn(e,155);if(De(136))return cn(e,156);var t=de(39),r=ce();if(e.name=we(),e.questionToken=de(55),t||19===ee()||27===ee())return on(e,t);if(r&&(26===ee()||18===ee()||58===ee())){e.kind=270;var n=de(58);n&&(e.equalsToken=n,e.objectAssignmentInitializer=q(Wt))}else e.kind=269,ue(56),e.initializer=q(Wt);return ye(e)}function Tr(){var e=ge(183);return ue(17),k.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=We(12,Er,!0),ue(18),ye(e)}function wr(){var t=W();t&&R(!1);var r=he(191);r.modifiers=dn(),ue(89),r.asteriskToken=de(39);var n=r.asteriskToken?1:0,i=e.hasModifier(r,256)?2:0;return r.name=n&&i?z(20480,Dr):n?function(e){return z(4096,e)}(Dr):i?U(Dr):Dr(),dt(56,n|i,r),r.body=Nr(n|i),t&&R(!0),ye(r)}function Dr(){return ce()?ke():void 0}function Ar(e,t){var r=ge(212);return ue(17,t)||e?(k.hasPrecedingLineBreak()&&(r.multiLine=!0),r.statements=Ue(1,Vr),ue(18)):r.statements=Ke(),ye(r)}function Nr(e,t){var r=J();L(!!(1&e));var n=K();j(!!(2&e));var i=W();i&&R(!1);var a=Ar(!!(16&e),t);return i&&R(!0),L(r),j(n),a}function Pr(){var e=Z();ue(88);var t,r,n=de(121);if(ue(19),25!==ee()&&(t=104===ee()||110===ee()||76===ee()?tn(!0):z(2048,Jt)),n?ue(144):le(144)){var i=ge(221,e);i.awaitModifier=n,i.initializer=t,i.expression=q(Wt),ue(20),r=i}else if(le(92)){var a=ge(220,e);a.initializer=t,a.expression=q(Jt),ue(20),r=a}else{var o=ge(219,e);o.initializer=t,ue(25),25!==ee()&&20!==ee()&&(o.condition=q(Jt)),ue(25),20!==ee()&&(o.incrementor=q(Jt)),ue(20),r=o}return r.statement=Vr(),ye(r)}function Or(e){var t=ge(e);return ue(223===e?72:77),_e()||(t.label=ke()),me(),ye(t)}function Fr(){return 73===ee()?function(){var e=ge(265);return ue(73),e.expression=q(Jt),ue(56),e.statements=Ue(3,Vr),ye(e)}():function(){var e=ge(266);return ue(79),ue(56),e.statements=Ue(3,Vr),ye(e)}()}function Mr(){var e=ge(229);return ue(102),e.tryBlock=Ar(!1),e.catchClause=74===ee()?function(){var e=ge(268);ue(74),le(19)?(e.variableDeclaration=en(),ue(20)):e.variableDeclaration=void 0;return e.block=Ar(!1),ye(e)}():void 0,e.catchClause&&87!==ee()||(ue(87),e.finallyBlock=Ar(!1)),ye(e)}function Ir(){return te(),e.tokenIsIdentifierOrKeyword(ee())&&!k.hasPrecedingLineBreak()}function Lr(){return te(),75===ee()&&!k.hasPrecedingLineBreak()}function Rr(){return te(),89===ee()&&!k.hasPrecedingLineBreak()}function jr(){return te(),(e.tokenIsIdentifierOrKeyword(ee())||8===ee()||9===ee())&&!k.hasPrecedingLineBreak()}function Br(){for(;;)switch(ee()){case 104:case 110:case 76:case 89:case 75:case 83:return!0;case 109:case 139:return te(),!k.hasPrecedingLineBreak()&&ce();case 129:case 130:return Kr();case 117:case 120:case 124:case 112:case 113:case 114:case 132:if(te(),k.hasPrecedingLineBreak())return!1;continue;case 143:return te(),17===ee()||71===ee()||84===ee();case 91:return te(),9===ee()||39===ee()||17===ee()||e.tokenIsIdentifierOrKeyword(ee());case 84:if(te(),58===ee()||39===ee()||17===ee()||79===ee()||118===ee())return!0;continue;case 115:te();continue;default:return!1}}function zr(){return oe(Br)}function qr(){switch(ee()){case 57:case 25:case 17:case 104:case 110:case 89:case 75:case 83:case 90:case 81:case 106:case 88:case 77:case 72:case 96:case 107:case 98:case 100:case 102:case 78:case 74:case 87:return!0;case 91:return zr()||oe(xt);case 76:case 84:return zr();case 120:case 124:case 109:case 129:case 130:case 139:case 143:return!0;case 114:case 112:case 113:case 115:case 132:return zr()||!oe(Ir);default:return Vt()}}function Ur(){return te(),ce()||17===ee()||21===ee()}function Vr(){switch(ee()){case 25:return function(){var e=ge(214);return ue(25),ye(e)}();case 17:return Ar(!1);case 104:return nn(he(231));case 110:if(oe(Ur))return nn(he(231));break;case 89:return an(he(233));case 75:return _n(he(234));case 90:return function(){var e=ge(216);return ue(90),ue(19),e.expression=q(Jt),ue(20),e.thenStatement=Vr(),e.elseStatement=le(82)?Vr():void 0,ye(e)}();case 81:return function(){var e=ge(217);return ue(81),e.statement=Vr(),ue(106),ue(19),e.expression=q(Jt),ue(20),le(25),ye(e)}();case 106:return function(){var e=ge(218);return ue(106),ue(19),e.expression=q(Jt),ue(20),e.statement=Vr(),ye(e)}();case 88:return Pr();case 77:return Or(222);case 72:return Or(223);case 96:return function(){var e=ge(224);return ue(96),_e()||(e.expression=q(Jt)),me(),ye(e)}();case 107:return function(){var e=ge(225);return ue(107),ue(19),e.expression=q(Jt),ue(20),e.statement=z(8388608,Vr),ye(e)}();case 98:return function(){var e=ge(226);ue(98),ue(19),e.expression=q(Jt),ue(20);var t=ge(240);return ue(17),t.clauses=Ue(2,Fr),ue(18),e.caseBlock=ye(t),ye(e)}();case 100:return function(){var e=ge(228);return ue(100),e.expression=k.hasPrecedingLineBreak()?void 0:q(Jt),me(),ye(e)}();case 102:case 74:case 87:return Mr();case 78:return function(){var e=ge(230);return ue(78),me(),ye(e)}();case 57:return Hr();case 120:case 109:case 139:case 129:case 130:case 124:case 76:case 83:case 84:case 91:case 112:case 113:case 114:case 117:case 115:case 132:case 143:if(zr())return Hr()}return function(){var e=he(0),t=q(Jt);return 71===t.kind&&le(56)?(e.kind=227,e.label=t,e.statement=Vr()):(e.kind=215,e.expression=t,me()),ye(e)}()}function Jr(e){return 124===e.kind}function Hr(){var t=he(0);if(t.decorators=ln(),t.modifiers=dn(),e.some(t.modifiers,Jr)){for(var r=0,n=t.modifiers;r<n.length;r++){n[r].flags|=4194304}return z(4194304,function(){return Wr(t)})}return Wr(t)}function Wr(t){switch(ee()){case 104:case 110:case 76:return nn(t);case 89:return an(t);case 75:return _n(t);case 109:return function(e){return e.kind=235,ue(109),e.name=ke(),e.typeParameters=st(),e.heritageClauses=gn(),e.members=St(),ye(e)}(t);case 139:return function(e){return e.kind=236,ue(139),e.name=ke(),e.typeParameters=st(),ue(58),e.type=Bt(),me(),ye(e)}(t);case 83:return function(e){e.kind=237,ue(83),e.name=ke(),ue(17)?(e.members=We(6,xn),ue(18)):e.members=Ke();return ye(e)}(t);case 143:case 129:case 130:return function(e){var t=0;if(143===ee())return kn(e);if(le(130))t|=16;else if(ue(129),9===ee())return kn(e);return function e(t,r){t.kind=238;var n=16&r;t.flags|=r;t.name=ke();t.body=le(23)?e(ge(0),4|n):Sn();return ye(t)}(e,t)}(t);case 91:return function(e){ue(91);var t,r=k.getStartPos();if(ce()&&(t=ke(),26!==ee()&&142!==ee()))return function(e,t){return e.kind=242,e.name=t,ue(58),e.moduleReference=133===ee()&&oe(Cn)?function(){var e=ge(253);return ue(133),ue(19),e.expression=Tn(),ue(20),ye(e)}():Xe(!1),me(),ye(e)}(e,t);e.kind=243,(t||39===ee()||17===ee())&&(e.importClause=function(e,t){var r=ge(244,t);e&&(r.name=e);r.name&&!le(26)||(r.namedBindings=39===ee()?function(){var e=ge(245);return ue(39),ue(118),e.name=ke(),ye(e)}():wn(246));return ye(r)}(t,r),ue(142));return e.moduleSpecifier=Tn(),me(),ye(e)}(t);case 84:switch(te(),ee()){case 79:case 58:return function(e){e.kind=248,le(58)?e.isExportEquals=!0:ue(79);return e.expression=Wt(),me(),ye(e)}(t);case 118:return function(e){return e.kind=241,ue(118),ue(130),e.name=ke(),me(),ye(e)}(t);default:return function(e){e.kind=249,le(39)?(ue(142),e.moduleSpecifier=Tn()):(e.exportClause=wn(250),(142===ee()||9===ee()&&!k.hasPrecedingLineBreak())&&(ue(142),e.moduleSpecifier=Tn()));return me(),ye(e)}(t)}default:if(t.decorators||t.modifiers){var r=be(252,!0,e.Diagnostics.Declaration_expected);return r.pos=t.pos,r.decorators=t.decorators,r.modifiers=t.modifiers,ye(r)}}}function Kr(){return te(),!k.hasPrecedingLineBreak()&&(ce()||9===ee())}function Gr(e,t){if(17===ee()||!_e())return Nr(e,t);
1me()}function Xr(){if(26===ee())return ge(205);var e=ge(181);return e.dotDotDotToken=de(24),e.name=Qr(),e.initializer=Ht(),ye(e)}function Yr(){var e=ge(181);e.dotDotDotToken=de(24);var t=ce(),r=we();return t&&56!==ee()?e.name=r:(ue(56),e.propertyName=r,e.name=Qr()),e.initializer=Ht(),ye(e)}function $r(){return 17===ee()||21===ee()||ce()}function Qr(){return 21===ee()?function(){var e=ge(180);return ue(21),e.elements=We(10,Xr),ue(22),ye(e)}():17===ee()?function(){var e=ge(179);return ue(17),e.elements=We(9,Yr),ue(18),ye(e)}():ke()}function Zr(){return en(!0)}function en(e){var t=ge(231);return t.name=Qr(),e&&71===t.name.kind&&51===ee()&&!k.hasPrecedingLineBreak()&&(t.exclamationToken=pe()),t.type=qt(),er(ee())||(t.initializer=Ht()),ye(t)}function tn(t){var r=ge(232);switch(ee()){case 104:break;case 110:r.flags|=1;break;case 76:r.flags|=2;break;default:e.Debug.fail()}if(te(),144===ee()&&oe(rn))r.declarations=Ke();else{var n=H();I(t),r.declarations=We(8,t?en:Zr),I(n)}return ye(r)}function rn(){return Ie()&&20===te()}function nn(e){return e.kind=213,e.declarationList=tn(!1),me(),ye(e)}function an(t){t.kind=233,ue(89),t.asteriskToken=de(39),t.name=e.hasModifier(t,512)?Dr():ke();var r=t.asteriskToken?1:0,n=e.hasModifier(t,256)?2:0;return dt(56,r|n,t),t.body=Gr(r|n,e.Diagnostics.or_expected),ye(t)}function on(t,r,n){t.kind=153,t.asteriskToken=r;var i=r?1:0,a=e.hasModifier(t,256)?2:0;return dt(56,i|a,t),t.body=Gr(i|a,n),ye(t)}function sn(t){return t.kind=151,t.questionToken||51!==ee()||k.hasPrecedingLineBreak()||(t.exclamationToken=pe()),t.type=qt(),t.initializer=e.hasModifier(t,32)?q(Ht):B(6144,Ht),me(),ye(t)}function cn(e,t){return e.kind=t,e.name=we(),dt(56,0,e),e.body=Gr(0),ye(e)}function un(){var t;if(57===ee())return!0;for(;e.isModifierKind(ee());){if(t=ee(),e.isClassMemberModifier(t))return!0;te()}if(39===ee())return!0;if(Ee()&&(t=ee(),te()),21===ee())return!0;if(void 0!==t){if(!e.isKeyword(t)||136===t||125===t)return!0;switch(ee()){case 19:case 27:case 51:case 56:case 58:case 55:return!0;default:return _e()}}return!1}function ln(){for(var e,t=Z();;){var r=Z();if(!le(57))break;var n=ge(149,r);n.expression=z(8192,cr),ye(n),(e||(e=[])).push(n)}return e&&ve(e,t)}function dn(t){for(var r,n=Z();;){var i=k.getStartPos(),a=ee();if(76===ee()&&t){if(!se(Ae))break}else if(!e.isModifierKind(ee())||!se(Ne))break;var o=ye(ge(a,i));(r||(r=[])).push(o)}return r&&ve(r,n)}function fn(){var e;if(120===ee()){var t=k.getStartPos(),r=ee();te(),e=ve([ye(ge(r,t))],t)}return e}function pn(){if(25===ee()){var t=ge(211);return te(),ye(t)}var r=he(0);return r.decorators=ln(),r.modifiers=dn(!0),De(125)?cn(r,155):De(136)?cn(r,156):123===ee()?function(t){return t.kind=154,ue(123),dt(56,0,t),t.body=Gr(0,e.Diagnostics.or_expected),ye(t)}(r):_t()?gt(r):e.tokenIsIdentifierOrKeyword(ee())||9===ee()||8===ee()||39===ee()||21===ee()?function(t){var r=de(39);return t.name=we(),t.questionToken=de(55),r||19===ee()||27===ee()?on(t,r,e.Diagnostics.or_expected):sn(t)}(r):r.decorators||r.modifiers?(r.name=be(71,!0,e.Diagnostics.Declaration_expected),sn(r)):void e.Debug.fail("Should not have attempted to parse class member declaration.")}function _n(e){return mn(e,234)}function mn(e,t){return e.kind=t,ue(75),e.name=!ce()||108===ee()&&oe(Le)?void 0:ke(),e.typeParameters=st(),e.heritageClauses=gn(),ue(17)?(e.members=Ue(5,pn),ue(18)):e.members=Ke(),ye(e)}function gn(){if(bn())return Ue(21,hn)}function hn(){var e=ee();if(85===e||108===e){var t=ge(267);return t.token=e,te(),t.types=We(7,vn),ye(t)}}function vn(){var e=ge(206);return e.expression=cr(),e.typeArguments=yn(),ye(e)}function yn(){return 27===ee()?Ge(19,Bt,27,29):void 0}function bn(){return 85===ee()||108===ee()}function xn(){var e=he(272);return e.name=we(),e.initializer=q(Ht),ye(e)}function Sn(){var e=ge(239);return ue(17)?(e.statements=Ue(1,Vr),ue(18)):e.statements=Ke(),ye(e)}function kn(e){return e.kind=238,143===ee()?(e.name=ke(),e.flags|=512):(e.name=et(),e.name.text=xe(e.name.text)),17===ee()?e.body=Sn():me(),ye(e)}function Cn(){return 19===te()}function En(){return 41===te()}function Tn(){if(9===ee()){var e=et();return e.text=xe(e.text),e}return Jt()}function wn(e){var t=ge(e);return t.elements=Ge(22,246===e?An:Dn,17,18),ye(t)}function Dn(){return Nn(251)}function An(){return Nn(247)}function Nn(t){var r=ge(t),n=e.isKeyword(ee())&&!ce(),i=k.getTokenPos(),a=k.getTextPos(),o=Ce();return 118===ee()?(r.propertyName=o,ue(118),n=e.isKeyword(ee())&&!ce(),i=k.getTokenPos(),a=k.getTextPos(),r.name=Ce()):r.name=o,247===t&&n&&Y(i,a,e.Diagnostics.Identifier_expected),ye(r)}function Pn(t){return e.hasModifier(t,1)||242===t.kind&&253===t.moduleReference.kind||243===t.kind||248===t.kind||249===t.kind?t:void 0}function On(t){return function(t){return e.isMetaProperty(t)&&91===t.keywordToken&&"meta"===t.name.escapedText}(t)?t:d(t,On)}t.parseSourceFile=function(t,r,n,i,a,o){if(6===(o=e.ensureScriptKind(t,o))){var s=T(t,r,n,i,a);return e.convertToObjectWorker(s,s.parseDiagnostics,!1,void 0,void 0),s.typeReferenceDirectives=e.emptyArray,s.amdDependencies=e.emptyArray,s}D(r,n,i,o);var c=N(t,n,a,o);return A(),c},t.parseIsolatedEntityName=function(e,t){D(e,t,void 0,1),te();var r=Xe(!0),n=1===ee()&&!s.length;return A(),n?r:void 0},t.parseJsonText=T,t.fixupParentReferences=O,function(e){e[e.SourceElements=0]="SourceElements",e[e.BlockStatements=1]="BlockStatements",e[e.SwitchClauses=2]="SwitchClauses",e[e.SwitchClauseStatements=3]="SwitchClauseStatements",e[e.TypeMembers=4]="TypeMembers",e[e.ClassMembers=5]="ClassMembers",e[e.EnumMembers=6]="EnumMembers",e[e.HeritageClauseElement=7]="HeritageClauseElement",e[e.VariableDeclarations=8]="VariableDeclarations",e[e.ObjectBindingElements=9]="ObjectBindingElements",e[e.ArrayBindingElements=10]="ArrayBindingElements",e[e.ArgumentExpressions=11]="ArgumentExpressions",e[e.ObjectLiteralMembers=12]="ObjectLiteralMembers",e[e.JsxAttributes=13]="JsxAttributes",e[e.JsxChildren=14]="JsxChildren",e[e.ArrayLiteralMembers=15]="ArrayLiteralMembers",e[e.Parameters=16]="Parameters",e[e.Re
1stProperties=17]="RestProperties",e[e.TypeParameters=18]="TypeParameters",e[e.TypeArguments=19]="TypeArguments",e[e.TupleElementTypes=20]="TupleElementTypes",e[e.HeritageClauses=21]="HeritageClauses",e[e.ImportOrExportSpecifiers=22]="ImportOrExportSpecifiers",e[e.Count=23]="Count"}(b||(b={})),function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Unknown=2]="Unknown"}(x||(x={})),function(t){function r(e){var t=ge(277,k.getTokenPos()),r=(e?le:ue)(17);return t.type=z(2097152,at),e&&!r||ue(18),O(t),ye(t)}var n,i;function a(t,n){var i=_;t=t||0;var a,o,s,c=void 0===n?i.length:t+n;n=c-t,e.Debug.assert(t>=0),e.Debug.assert(t<=c),e.Debug.assert(c<=i.length);var d,f=[];return l(i,t)?(k.scanRange(t+3,n-5,function(){var e,r=1,n=t-Math.max(i.lastIndexOf("\n",t),0)+4;function u(t){e||(e=n),f.push(t),n+=t.length}for(var l=M();5===l;)l=M();4===l&&(r=0,n=0,l=M());e:for(;;){switch(l){case 57:0===r||1===r?(m(f),x(v(n)),r=0,e=void 0,n++):u(k.getTokenText());break;case 4:f.push(k.getTokenText()),r=0,n=0;break;case 39:var _=k.getTokenText();1===r||2===r?(r=2,u(_)):(r=1,n+=_.length);break;case 71:u(k.getTokenText()),r=2;break;case 5:var g=k.getTokenText();2===r?f.push(g):void 0!==e&&n+g.length>e&&f.push(g.slice(e-n-1)),n+=g.length;break;case 1:break e;default:r=2,u(k.getTokenText())}l=M()}p(f),m(f),d=function(){var e=ge(285,t);return e.tags=a&&ve(a,o,s),e.comment=f.length?f.join(""):void 0,ye(e,c)}()}),d):d;function p(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function m(e){for(;e.length&&("\n"===e[e.length-1]||"\r"===e[e.length-1]);)e.pop()}function g(){for(;;){if(M(),1===ee())return!0;if(5!==ee()&&4!==ee())return!1}}function h(){if(5!==ee()&&4!==ee()||!oe(g))for(;5===ee()||4===ee();)M()}function v(t){e.Debug.assert(57===ee());var r=ge(57,k.getTokenPos());r.end=k.getTextPos(),M();var n=I();if(h(),n){var i;if(n)switch(n.escapedText){case"augments":case"extends":i=function(e,t){var r=ge(289,e.pos);return r.atToken=e,r.tagName=t,r.class=function(){var e=le(17),t=ge(206);t.expression=function(){for(var e=I(!0);le(23);){var t=ge(184,e.pos);t.expression=e,t.name=I(),e=ye(t)}return e}(),t.typeArguments=yn();var r=ye(t);return e&&ue(18),r}(),ye(r)}(r,n);break;case"class":case"constructor":i=function(e,t){var r=ge(290,e.pos);return r.atToken=e,r.tagName=t,ye(r)}(r,n);break;case"arg":case"argument":case"param":return T(r,n,2,t);case"return":case"returns":i=function(t,r){e.forEach(a,function(e){return 293===e.kind})&&Y(r.pos,k.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var n=ge(293,t.pos);return n.atToken=t,n.tagName=r,n.typeExpression=S(),ye(n)}(r,n);break;case"template":i=function(t,r){e.some(a,e.isJSDocTemplateTag)&&Y(r.pos,k.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var n=[],i=Z();for(;;){var o=ge(147),s=F();if(h(),!s)return void X(k.getStartPos(),0,e.Diagnostics.Identifier_expected);if(o.name=s,ye(o),n.push(o),26!==ee())break;M(),h()}var c=ge(295,t.pos);return c.atToken=t,c.tagName=r,c.typeParameters=ve(n,i),ye(c),c}(r,n);break;case"type":i=w(r,n);break;case"typedef":i=function(t,r,n){var i=S();h();var a,o=ge(296,t.pos);if(o.atToken=t,o.tagName=r,o.fullName=D(),o.name=A(o.fullName),h(),o.comment=y(n),o.typeExpression=i,!i||E(i.type)){for(var s=void 0,c=void 0,u=void 0,l=k.getStartPos();s=se(function(){return P(1)});)if(c||(c=ge(286,l)),294===s.kind){if(u)break;u=s}else c.jsDocPropertyTags=e.append(c.jsDocPropertyTags,s);c&&(i&&166===i.type.kind&&(c.isArrayType=!0),o.typeExpression=u&&u.typeExpression&&!E(u.typeExpression.type)?u.typeExpression:ye(c),a=o.typeExpression.end)}return ye(o,a||void 0!==o.comment?k.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}(r,n,t);break;case"callback":i=function(t,r,n){var i,a=ge(291,t.pos);a.atToken=t,a.tagName=r,a.fullName=D(),a.name=A(a.fullName),h(),a.comment=y(n);var o=ge(287,k.getStartPos());o.parameters=[];for(;i=se(function(){return P(4)});)o.parameters=e.append(o.parameters,i);var s=se(function(){if(57===ee()){M();var e=v(n);if(e&&293===e.kind)return e}});s&&(o.type=s);return a.typeExpression=ye(o),ye(a)}(r,n,t);break;default:i=b(r,n)}else i=b(r,n);if(i)return i.comment||(i.comment=y(t+i.end-i.pos)),i}}function y(e){var t,r=[],n=0;function i(n){t||(t=e),r.push(n),e+=n.length}var a=ee();e:for(;;){switch(a){case 4:n>=1&&(n=0,r.push(k.getTokenText())),e=0;break;case 57:k.setTextPos(k.getTextPos()-1);case 1:break e;case 5:if(2===n)i(k.getTokenText());else{var o=k.getTokenText();void 0!==t&&e+o.length>t&&r.push(o.slice(t-e-1)),e+=o.length}break;case 39:if(0===n){n=1,e+=1;break}default:n=2,i(k.getTokenText())}a=M()}return p(r),m(r),0===r.length?void 0:r.join("")}function b(e,t){var r=ge(288,e.pos);return r.atToken=e,r.tagName=t,ye(r)}function x(e){e&&(a?a.push(e):(a=[e],o=e.pos),s=e.end)}function S(){return h(),17===ee()?r():void 0}function C(){if(13===ee())return{name:Se(!0),isBracketed:!1};var e=le(21),t=function(){var e=I(!0);le(21)&&ue(22);for(;le(23);){var t=I(!0);le(21)&&ue(22),e=Ye(e,t)}return e}();return e&&(h(),de(58)&&Jt(),ue(22)),{name:t,isBracketed:e}}function E(t){switch(t.kind){case 135:return!0;case 166:return E(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText}}function T(t,r,n,i){var a=S(),o=!a;h();var s=C(),c=s.name,u=s.isBracketed;h(),o&&(a=S());var l,d=ge(1===n?297:292,t.pos);void 0!==i&&(l=y(i+k.getStartPos()-t.pos));var f=4!==n&&function(t,r,n){if(t&&E(t.type)){for(var i=ge(277,k.getTokenPos()),a=void 0,o=void 0,s=k.getStartPos(),c=void 0;a=se(function(){return P(n,r)});)292!==a.kind&&297!==a.kind||(c=e.append(c,a));if(c)return(o=ge(286,s)).jsDocPropertyTags=c,166===t.type.kind&&(o.isArrayType=!0),i.type=ye(o),ye(i)}}(a,c,n);return f&&(a=f,o=!0),d.atToken=t,d.tagName=r,d.typeExpression=a,d.name=c,d.isNameFirst=o,d.isBracketed=u,d.comment=l,ye(d)}function w(t,n){e.forEach(a,function(e){return 294===e.kind})&&Y(n.pos,k.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText);var i=ge(294,t.pos);return i.atToken=t,i.tagName=n,i.typeExpression=r(!0),ye(i)}function D(e){var t=k.getTokenPos(),r=I();if(r&&le(23)){var n=ge(238,t);return e&&(n.flags|=4),n.name=r,n.body=D(!0),ye(n)}return r&&e&&(r.isInJSDocNamespace=!0),r}function A(t){if(t)for(var r=t;;){if(e.isIdentifier(r)||!r.body)return e.isIdentifier(r)?r:r.name;r=r.body}}function N(t,r){for(;!e.isIdentifier(t)||!e.isIdentifier(r);){if(e.isIdentifier(t)||e.isIdentifier(r)||t.right.escapedText!==r.right.escapedText)return!1;t=t.left,r=r.left}return t.escapedText===r.escapedText}function P(t,r){for(var n=!0,i=!1;;)switch(M()){case 57:if(n){var a=O(t);return!(a&&292===a.kind&&4!==t&&(e.isIdentifier(a.name)||!N(r,a.name.left)))&&a}i=!1;break;case 4:n=!0,i=!1;break;case 39:i&&(n=!1),i=!0;break;case 71:n=!1;break;case 1:return!1}}function O(t){e.Debug.assert(57===ee());var r=ge(57);r.end=k.getTextPos(),M();var n,i=I();if(h(),!i)return!1;switch(i.escapedText){case"type":return 1===t&&w(r,i);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;default:return!1}if(!(t&n))return!1;var a=T(r,i,t,void 0);return a.comment=y(a.end-a.pos),a}function F(){var e=le(17),t=I();return e&&ue(18),t}function M(){return u=k.scanJSDocToken()}function I(t){if(void 0===t&&(t=!1),!e.tokenIsIdentifierOrKeyword(ee()))return t?be(71,!0,e.Diagnostics.Identifier_expected):void G(e.Diagnostics.Identifier_expected);var r=k.getTokenPos(),n=k.getTextPos(),i=ge(71,r);return i.escapedText=e.escapeLeadingUnderscores(k.getTokenText()),ye(i,n),M(),i}}t.parseJSDocTypeExpressionForTests=function(e,t,n){D(e,6,void 0,1),o=F("file.js",6,1,!1),
1k.setText(e,t,n),u=k.scan();var i=r(),a=s;return A(),i?{jsDocTypeExpression:i,diagnostics:a}:void 0},t.parseJSDocTypeExpression=r,t.parseIsolatedJSDocComment=function(e,t,r){D(e,6,void 0,1),o={languageVariant:0,text:e};var n=a(t,r),i=s;return A(),n?{jsDoc:n,diagnostics:i}:void 0},t.parseJSDocComment=function(e,t,r){var n,i=u,c=s.length,l=E,d=a(t,r);return d&&(d.parent=e),65536&y&&(o.jsDocDiagnostics||(o.jsDocDiagnostics=[]),(n=o.jsDocDiagnostics).push.apply(n,s)),u=i,s.length=c,E=l,d},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments"}(n||(n={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(i||(i={})),t.parseJSDocCommentWorker=a}(S=t.JSDocParser||(t.JSDocParser={}))}(o||(o={})),function(t){function r(t,r,i,o,s,c){return void(r?l(t):u(t));function u(t){var r="";if(c&&n(t)&&(r=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=i,t.end+=i,c&&n(t)&&e.Debug.assert(r===s.substring(t.pos,t.end)),d(t,u,l),e.hasJSDocNodes(t))for(var f=0,p=t.jsDoc;f<p.length;f++){u(p[f])}a(t,c)}function l(e){e._children=void 0,e.pos+=i,e.end+=i;for(var t=0,r=e;t<r.length;t++){u(r[t])}}}function n(e){switch(e.kind){case 9:case 8:case 71:return!0}return!1}function i(t,r,n,i,a){e.Debug.assert(t.end>=r,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=n,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end),t.pos=Math.min(t.pos,i),t.end>=n?t.end+=a:t.end=Math.min(t.end,i),e.Debug.assert(t.pos<=t.end),t.parent&&(e.Debug.assert(t.pos>=t.parent.pos),e.Debug.assert(t.end<=t.parent.end))}function a(t,r){if(r){var n=t.pos,i=function(t){e.Debug.assert(t.pos>=n),n=t.end};if(e.hasJSDocNodes(t))for(var a=0,o=t.jsDoc;a<o.length;a++){i(o[a])}d(t,i),e.Debug.assert(n<=t.end)}}function s(t,r){var n,i=t;if(d(t,function t(a){if(e.nodeIsMissing(a))return;if(!(a.pos<=r))return e.Debug.assert(a.pos>r),!0;if(a.pos>=i.pos&&(i=a),r<a.end)return d(a,t),!0;e.Debug.assert(a.end<=r),n=a}),n){var a=function(t){for(;;){var r=e.getLastChild(t);if(!r)return t;t=r}}(n);a.pos>i.pos&&(i=a)}return i}function c(t,r,n,i){var a=t.text;if(n&&(e.Debug.assert(a.length-n.span.length+n.newLength===r.length),i||e.Debug.shouldAssert(3))){var o=a.substr(0,n.span.start),s=r.substr(0,n.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(n.span),a.length),u=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===u)}}var u;t.updateSourceFile=function(t,n,u,l){if(c(t,n,u,l=l||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(u))return t;if(0===t.statements.length)return o.parseSourceFile(t.fileName,n,t.languageVersion,void 0,!0,t.scriptKind);var f=t;e.Debug.assert(!f.hasBeenIncrementallyParsed),f.hasBeenIncrementallyParsed=!0;var p=t.text,_=function(t){var r=t.statements,n=0;e.Debug.assert(n<r.length);var i=r[n],a=-1;return{currentNode:function(o){return o!==a&&(i&&i.end===o&&n<r.length-1&&(i=r[++n]),i&&i.pos===o||function(e){return r=void 0,n=-1,i=void 0,void d(t,a,o);function a(t){return e>=t.pos&&e<t.end&&(d(t,a,o),!0)}function o(t){if(e>=t.pos&&e<t.end)for(var s=0;s<t.length;s++){var c=t[s];if(c){if(c.pos===e)return r=t,n=s,i=c,!0;if(c.pos<e&&e<c.end)return d(c,a,o),!0}}return!1}}(o)),a=o,e.Debug.assert(!i||i.pos===o),i}}}(t),m=function(t,r){for(var n=r.span.start,i=0;n>0&&i<=1;i++){var a=s(t,n);e.Debug.assert(a.pos<=n);var o=a.pos;n=Math.max(0,o-1)}var c=e.createTextSpanFromBounds(n,e.textSpanEnd(r.span)),u=r.newLength+(r.span.start-n);return e.createTextChangeRange(c,u)}(t,u);c(t,n,m,l),e.Debug.assert(m.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(m.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(m))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var g=e.textChangeRangeNewSpan(m).length-m.span.length;return function(t,n,o,s,c,u,l,f){return void p(t);function p(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!1,c,u,l,f);else{var m=t.end;if(m>=n){if(t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c),d(t,p,_),e.hasJSDocNodes(t))for(var g=0,h=t.jsDoc;g<h.length;g++){var v=h[g];p(v)}a(t,f)}else e.Debug.assert(m<n)}}function _(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!0,c,u,l,f);else{var a=t.end;if(a>=n){t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c);for(var d=0,_=t;d<_.length;d++){var m=_[d];p(m)}}else e.Debug.assert(a<n)}}}(f,m.span.start,e.textSpanEnd(m.span),e.textSpanEnd(e.textChangeRangeNewSpan(m)),g,p,n,l),o.parseSourceFile(t.fileName,n,t.languageVersion,_,!0,t.scriptKind)},function(e){e[e.Value=-1]="Value"}(u||(u={}))}(s||(s={})),e.processCommentPragmas=f,e.processPragmasIntoFields=p;var _=e.createMap();function m(e){if(_.has(e))return _.get(e);var t=new RegExp("(\\s"+e+"\\s*=\\s*)('|\")(.+?)\\2","im");return _.set(e,t),t}var g=/^\/\/\/\s*<(\S+)\s.*?\/>/im,h=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function v(t,r,n){var i=2===r.kind&&g.exec(n);if(i){var a=i[1].toLowerCase(),o=e.commentPragmas[a];if(!o||!(1&o.kind))return;if(o.args){for(var s={},c=0,u=o.args;c<u.length;c++){var l=u[c],d=m(l.name).exec(n);if(!d&&!l.optional)return;if(d)if(l.captureSpan){var f=r.pos+d.index+d[1].length+d[2].length;s[l.name]={value:d[3],pos:f,end:f+d[3].length}}else s[l.name]=d[3]}t.push({name:a,args:{arguments:s,range:r}})}else t.push({name:a,args:{arguments:{},range:r}})}else{var p=2===r.kind&&h.exec(n);if(p)return y(t,r,2,p);if(3===r.kind)for(var _=/\s*@(\S+)\s*(.*)\s*$/gim,v=void 0;v=_.exec(n);)y(t,r,4,v)}}function y(t,r,n,i){if(i){var a=i[1].toLowerCase(),o=e.commentPragmas[a];if(o&&o.kind&n){var s=function(t,r){if(!r)return{};if(!t.args)return{};for(var n=r.split(/\s+/),i={},a=0;a<t.args.length;a++){var o=t.args[a];if(!n[a]&&!o.optional)return"fail";if(o.captureSpan)return e.Debug.fail("Capture spans not yet implemented for non-xml pragmas");i[o.name]=n[a]}return i}(o,i[2]);"fail"!==s&&t.push({name:a,args:{arguments:s,range:r}})}}}}(u||(u={})),function(e){var t;function r(t){return t.body?function t(n){switch(n.kind){case 235:case 236:return 0;case 237:if(e.isConst(n))return 2;break;case 243:case 242:if(!e.hasModifier(n,1))return 0;break;case 239:var i=0;return e.forEachChild(n,function(r){var n=t(r);switch(n){case 0:return;case 2:return void(i=2);case 1:return i=1,!0;default:e.Debug.assertNever(n)}}),i;case 238:return r(n);case 71:if(n.isInJSDocNamespace)return 0}return 1}(t.body):1}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=r,function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(t||(t={}));
1var n=function(){var t,n,d,f,p,_,m,g,h,v,y,b,x,S,k,C,E,T,w,D,A,N,P,O,F=0,M={flags:1},I={flags:1},L=0;function R(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(r)||t,r,n,i,a,o)}return function(r,i){t=r,n=i,d=e.getEmitScriptTarget(n),A=function(t,r){return!(!e.getStrictOptionValue(r,"alwaysStrict")||t.isDeclarationFile)||!!t.externalModuleIndicator}(t,i),P=e.createUnderscoreEscapedMap(),F=0,O=t.isDeclarationFile,N=e.objectAllocator.getSymbolConstructor(),t.locals||(De(t),t.symbolCount=F,t.classifiableNames=P,function(){if(!h)return;for(var r=p,n=g,i=m,a=f,o=y,s=0,c=h;s<c.length;s++){var u=c[s],l=e.getJSDocHost(u);p=e.findAncestor(l.parent,function(e){return!!(1&me(e))})||t,m=e.getEnclosingBlockScopeContainer(l)||t,y={flags:2},f=u,De(u.typeExpression),u.fullName&&71!==u.fullName.kind?De(u.fullName):(f=u.parent,xe(u,524288,67901928))}p=r,g=n,m=i,f=a,y=o}());t=void 0,n=void 0,d=void 0,f=void 0,p=void 0,_=void 0,m=void 0,g=void 0,h=void 0,v=!1,y=void 0,b=void 0,x=void 0,S=void 0,k=void 0,C=void 0,T=void 0,w=!1,D=0,L=0};function j(e,t){return F++,new N(e,t)}function B(t,r,n){if(t.flags|=n,r.symbol=t,t.declarations=e.append(t.declarations,r),1952&n&&!t.exports&&(t.exports=e.createSymbolTable()),6240&n&&!t.members&&(t.members=e.createSymbolTable()),67216319&n){var i=t.valueDeclaration;(!i||i.kind!==r.kind&&238===i.kind)&&(t.valueDeclaration=r)}}function z(t){if(248===t.kind)return t.isExportEquals?"export=":"default";var r=e.getNameOfDeclaration(t);if(r){if(e.isAmbientModule(t)){var n=e.getTextOfIdentifierOrLiteral(r);return e.isGlobalScopeAugmentation(t)?"__global":'"'+n+'"'}if(146===r.kind){var i=r.expression;return e.isStringOrNumericLiteral(i)?e.escapeLeadingUnderscores(i.text):(e.Debug.assert(e.isWellKnownSymbolSyntactically(i)),e.getPropertyNameForKnownSymbolName(e.idText(i.name)))}return e.isPropertyNameLiteral(r)?e.getEscapedTextOfIdentifierOrLiteral(r):void 0}switch(t.kind){case 154:return"__constructor";case 162:case 157:case 287:return"__call";case 163:case 158:return"__new";case 159:return"__index";case 249:return"__export";case 273:return"export=";case 199:if(2===e.getSpecialPropertyAssignmentKind(t))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 283:return e.isJSDocConstructSignature(t)?"__new":"__call";case 148:e.Debug.assert(283===t.parent.kind,"Impossible parameter parent kind",function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[t.parent.kind]:t.parent.kind)+", expected JSDocFunctionType"});var a=t.parent,o=a.parameters.indexOf(t);return"arg"+o}}function q(t){return e.isNamedDeclaration(t)?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(z(t))}function U(r,n,i,a,o,s){e.Debug.assert(!e.hasDynamicName(i));var c,u=e.hasModifier(i,512),l=u&&n?"default":z(i);if(void 0===l)c=j(0,"__missing");else if(c=r.get(l),2885600&a&&P.set(l,!0),c){if(s&&!c.isReplaceableByMethod)return c;if(c.flags&o)if(c.isReplaceableByMethod)r.set(l,c=j(0,l));else{e.isNamedDeclaration(i)&&(i.name.parent=i);var d=2&c.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;(384&c.flags||384&a)&&(d=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations),c.declarations&&c.declarations.length&&(u?d=e.Diagnostics.A_module_cannot_have_multiple_default_exports:c.declarations&&c.declarations.length&&248===i.kind&&!i.isExportEquals&&(d=e.Diagnostics.A_module_cannot_have_multiple_default_exports)),e.forEach(c.declarations,function(r){t.bindDiagnostics.push(R(e.getNameOfDeclaration(r)||r,d,q(r)))}),t.bindDiagnostics.push(R(e.getNameOfDeclaration(i)||i,d,q(i))),c=j(0,l)}}else r.set(l,c=j(0,l)),s&&(c.isReplaceableByMethod=!0);return B(c,i,a),c.parent?e.Debug.assert(c.parent===n,"Existing symbol parent should match new one"):c.parent=n,c}function V(t,r,n){var i=1&e.getCombinedModifierFlags(t);if(2097152&r)return 251===t.kind||242===t.kind&&i?U(p.symbol.exports,p.symbol,t,r,n):U(p.locals,void 0,t,r,n);if(e.isJSDocTypeAlias(t)&&e.Debug.assert(e.isInJavaScriptFile(t)),!e.isAmbientModule(t)&&(i||32&p.flags)||e.isJSDocTypeAlias(t)){if(e.hasModifier(t,512)&&!z
1(t))return U(p.symbol.exports,p.symbol,t,r,n);var a=67216319&r?1048576:0,o=U(p.locals,void 0,t,a,n);return o.exportSymbol=U(p.symbol.exports,p.symbol,t,r,n),t.localSymbol=o,o}return U(p.locals,void 0,t,r,n)}function J(e){if(O)G(e);else if(536870912&e.transformFlags)O=!0,G(e),O=!1,L|=e.transformFlags&~u(e.kind);else{var t=L;L=0,G(e),L=t|c(e,L)}}function H(e){W(e,function(e){return 233===e.kind?De(e):void 0}),W(e,function(e){return 233!==e.kind?De(e):void 0})}function W(t,r){if(void 0===r&&(r=De),void 0!==t)if(O)e.forEach(t,r);else{var n=L;L=0;for(var i=0,a=0,o=t;a<o.length;a++){var s=o[a];r(s),i|=-536870913&s.transformFlags}t.transformFlags=536870912|i,L|=n}}function K(t){e.forEachChild(t,De,W)}function G(t){if(function(t){if(!(1&y.flags))return!1;if(y===M){var i=e.isStatementButNotDeclaration(t)&&214!==t.kind||234===t.kind||238===t.kind&&function(e){var t=r(e);return 1===t||2===t&&n.preserveConstEnums}(t)||237===t.kind&&(!e.isConstEnumDeclaration(t)||n.preserveConstEnums);if(i&&(y=I,!n.allowUnreachableCode)){var a=e.unreachableCodeIsError(n)&&!(4194304&t.flags)&&(!e.isVariableStatement(t)||!!(3&e.getCombinedNodeFlags(t.declarationList))||t.declarationList.declarations.some(function(e){return!!e.initializer}));we(a,t,e.Diagnostics.Unreachable_code_detected)}}return!0}(t))K(t);else{switch(t.kind){case 218:!function(e){var t=ee(),r=Z(),n=Z();re(t,y),y=t,ue(e.expression,r,n),y=se(r),le(e.statement,n,t),re(t,y),y=se(n)}(t);break;case 217:!function(t){var r=ee(),n=227===t.parent.kind?e.lastOrUndefined(T):void 0,i=n?n.continueTarget:Z(),a=n?n.breakTarget:Z();re(r,y),y=r,le(t.statement,a,i),re(i,y),y=se(i),ue(t.expression,r,a),y=se(a)}(t);break;case 219:!function(e){var t=ee(),r=Z(),n=Z();De(e.initializer),re(t,y),y=t,ue(e.condition,r,n),y=se(r),le(e.statement,n,t),De(e.incrementor),re(t,y),y=se(n)}(t);break;case 220:case 221:!function(e){var t=ee(),r=Z();re(t,y),y=t,221===e.kind&&De(e.awaitModifier);De(e.expression),re(r,y),De(e.initializer),232!==e.initializer.kind&&pe(e.initializer);le(e.statement,r,t),re(t,y),y=se(r)}(t);break;case 216:!function(e){var t=Z(),r=Z(),n=Z();ue(e.expression,t,r),y=se(t),De(e.thenStatement),re(n,y),y=se(r),De(e.elseStatement),re(n,y),y=se(n)}(t);break;case 224:case 228:!function(e){De(e.expression),224===e.kind&&(w=!0,S&&re(S,y));y=M}(t);break;case 223:case 222:!function(e){if(De(e.label),e.label){var t=function(e){if(T)for(var t=0,r=T;t<r.length;t++){var n=r[t];if(n.name===e)return n}return}(e.label.escapedText);t&&(t.referenced=!0,de(e,t.breakTarget,t.continueTarget))}else de(e,b,x)}(t);break;case 229:!function(e){var t=Z(),r=y;De(e.tryBlock),re(t,y);var n=y,i=M;e.catchClause&&(y=r,De(e.catchClause),re(t,y),i=y);if(e.finallyBlock){var a={flags:2048,antecedent:r,lock:{}};if(re(t,a),y=se(t),De(e.finallyBlock),1&y.flags||1&n.flags&&1&i.flags&&(y=n===I||i===I?I:M),!(1&y.flags)){var o={flags:4096,antecedent:y};a.lock=o,y=o}}else y=se(t)}(t);break;case 226:!function(t){var r=Z();De(t.expression);var n=b,i=E;b=r,E=y,De(t.caseBlock),re(r,y);var a=e.forEach(t.caseBlock.clauses,function(e){return 266===e.kind});t.possiblyExhaustive=!a&&!r.antecedents,a||re(r,ie(E,t,0,0));b=n,E=i,y=se(r)}(t);break;case 240:!function(t){var r=L;L=0;for(var i=t.clauses,a=M,o=0;o<i.length;o++){for(var s=o;!i[o].statements.length&&o+1<i.length;)De(i[o]),o++;var c=Z();re(c,ie(E,t.parent,s,o+1)),re(c,a),y=se(c);var u=i[o];De(u),a=y,1&y.flags||o===i.length-1||!n.noFallthroughCasesInSwitch||Te(u,e.Diagnostics.Fallthrough_case_in_switch)}i.transformFlags=536870912|L,L|=r}(t);break;case 265:!function(e){var t=y;y=E,De(e.expression),y=t,W(e.statements)}(t);break;case 227:!function(t){var r=ee(),i=Z();De(t.label),re(r,y);var a=function(e,t,r){var n={name:e,breakTarget:t,continueTarget:r,referenced:!1};return(T||(T=[])).push(n),n}(t.label.escapedText,i,r);De(t.statement),T.pop(),a.referenced||n.allowUnusedLabels||we(e.unusedLabelIsError(n),t,e.Diagnostics.Unused_label);t.statement&&217===t.statement.kind||(re(i,y),y=se(i))}(t);break;case 197:!function(e){if(51===e.operator){var t=k;k=C,C=t,K(e),C=k,k=t}else K(e),43!==e.operator&&44!==e.operator||pe(e.operand)}(t);break;case 198:!function(e){K(e),(43===e.operator||44===e.operator)&&pe(e.operand)}(t);break;case 199:!function(t){var r=t.operatorToken.kind;if(53===r||54===r)if(function(e){for(;190===e.parent.kind||197===e.parent.kind&&51===e.parent.operator;)e=e.parent;return!function(e){var t=e.parent;switch(t.kind){case 216:case 218:case 217:return t.expression===e;case 219:case 200:return t.condition===e}return!1}(e)&&!ce(e.parent)}(t)){var n=Z();_e(t,n,n),y=se(n)}else _e(t,k,C);else if(K(t),e.isAssignmentOperator(r)&&!e.isAssignmentTarget(t)&&(pe(t.left),58===r&&185===t.left.kind)){var i=t.left;Q(i.expression)&&(y=oe(y,t))}}(t);break;case 193:!function(e){K(e),184===e.expression.kind&&pe(e.expression)}(t);break;case 200:!function(e){var t=Z(),r=Z(),n=Z();ue(e.condition,t,r),y=se(t),De(e.questionToken),De(e.whenTrue),re(n,y),y=se(r),De(e.colonToken),De(e.whenFalse),re(n,y),y=se(n)}(t);break;case 231:!function(t){K(t),(t.initializer||e.isForInOrOfStatement
1(t.parent.parent))&&function t(r){var n=e.isOmittedExpression(r)?void 0:r.name;if(e.isBindingPattern(n))for(var i=0,a=n.elements;i<a.length;i++){var o=a[i];t(o)}else y=ae(y,r)}(t)}(t);break;case 186:!function(t){var r=t.expression;for(;190===r.kind;)r=r.expression;191===r.kind||192===r.kind?(W(t.typeArguments),W(t.arguments),De(t.expression)):K(t);if(184===t.expression.kind){var n=t.expression;Q(n.expression)&&e.isPushOrUnshiftIdentifier(n.name)&&(y=oe(y,t))}}(t);break;case 296:case 291:!function(e){e.fullName&&l(e,e.fullName)}(t);break;case 273:H(t.statements),De(t.endOfFileToken);break;case 212:case 239:H(t.statements);break;default:K(t)}Ae(t)}}function X(t){switch(t.kind){case 71:case 99:case 184:return Y(t);case 186:return function(e){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++){var n=r[t];if(Y(n))return!0}if(184===e.expression.kind&&Y(e.expression.expression))return!0;return!1}(t);case 190:return X(t.expression);case 199:return function(t){switch(t.operatorToken.kind){case 58:return Y(t.left);case 32:case 33:case 34:case 35:return Q(t.left)||Q(t.right)||$(t.right,t.left)||$(t.left,t.right);case 93:return Q(t.left);case 92:return r=t.left,n=t.right,e.isStringLiteralLike(r)&&X(n);case 26:return X(t.right)}var r,n;return!1}(t);case 197:return 51===t.operator&&X(t.operand)}return!1}function Y(e){return 71===e.kind||99===e.kind||97===e.kind||184===e.kind&&Y(e.expression)}function $(t,r){return e.isTypeOfExpression(t)&&Q(t.expression)&&e.isStringLiteralLike(r)}function Q(e){switch(e.kind){case 190:return Q(e.expression);case 199:switch(e.operatorToken.kind){case 58:return Q(e.left);case 26:return Q(e.right)}}return Y(e)}function Z(){return{flags:4,antecedents:void 0}}function ee(){return{flags:8,antecedents:void 0}}function te(e){e.flags|=512&e.flags?1024:512}function re(t,r){1&r.flags||e.contains(t.antecedents,r)||((t.antecedents||(t.antecedents=[])).push(r),te(r))}function ne(e,t,r){return 1&t.flags?t:r?101===r.kind&&64&e||86===r.kind&&32&e?M:X(r)?(te(t),{flags:e,expression:r,antecedent:t}):t:32&e?t:M}function ie(e,t,r,n){return X(t.expression)?(te(e),{flags:128,switchStatement:t,clauseStart:r,clauseEnd:n,antecedent:e}):e}function ae(e,t){return te(e),{flags:16,antecedent:e,node:t}}function oe(e,t){te(e);var r={flags:256,antecedent:e,node:t};return r}function se(e){var t=e.antecedents;return t?1===t.length?t[0]:e:M}function ce(e){for(;;)if(190===e.kind)e=e.expression;else{if(197!==e.kind||51!==e.operator)return 199===e.kind&&(53===e.operatorToken.kind||54===e.operatorToken.kind);e=e.operand}}function ue(e,t,r){var n=k,i=C;k=t,C=r,De(e),k=n,C=i,e&&ce(e)||(re(t,ne(32,y,e)),re(r,ne(64,y,e)))}function le(e,t,r){var n=b,i=x;b=t,x=r,De(e),b=n,x=i}function de(e,t,r){var n=223===e.kind?t:r;n&&(re(n,y),y=M)}function fe(e){199===e.kind&&58===e.operatorToken.kind?pe(e.left):pe(e)}function pe(e){if(Y(e))y=ae(y,e);else if(182===e.kind)for(var t=0,r=e.elements;t<r.length;t++){var n=r[t];203===n.kind?pe(n.expression):fe(n)}else if(183===e.kind)for(var i=0,a=e.properties;i<a.length;i++){var o=a[i];269===o.kind?fe(o.initializer):270===o.kind?pe(o.name):271===o.kind&&pe(o.expression)}}function _e(e,t,r){var n=Z();53===e.operatorToken.kind?ue(e.left,n,r):ue(e.left,t,n),y=se(n),De(e.operatorToken),ue(e.right,t,r)}function me(t){switch(t.kind){case 204:case 234:case 237:case 183:case 165:case 286:case 262:return 1;case 235:return 65;case 238:case 236:case 176:return 33;case 273:return 37;case 153:if(e.isObjectLiteralOrClassExpressionMethod(t))return 173;case 154:case 233:case 152:case 155:case 156:case 157:case 287:case 283:case 162:case 158:case 159:case 163:return 45;case 191:case 192:return 61;case 239:return 4;case 151:return t.initializer?4:0;case 268:case 219:case 220:case 221:case 240:return 2;case 212:return e.isFunctionLike(t.parent)?0:2}return 0}function ge(e){g&&(g.nextContainer=e),g=e}function he(r,n,i){switch(p.kind){case 238:return V(r,n,i);case 273:return function(r,n,i){return e.isExternalModule(t)?V(r,n,i):U(t.locals,void 0,r,n,i)}(r,n,i);case 204:case 234:return function(t,r,n){return e.hasModifier(t,32)?U(p.symbol.exports,p.symbol,t,r,n):U(p.symbol.members,p.symbol,t,r,n)}(r,n,i);case 237:return U(p.symbol.exports,p.symbol,r,n,i);case 165:case 286:case 183:case 235:case 262:return U(p.symbol.members,p.symbol,r,n,i);case 162:case 163:case 157:case 158:case 287:case 159:case 153:case 152:case 154:case 155:case 156:case 233:case 191:case 192:case 283:case 296:case 291:case 236:case 176:return U(p.locals,void 0,r,n,i)}}function ve(e){4194304&e.flags&&!function(e){var t=273===e.kind?e:e.body;if(t&&(273===t.kind||239===t.kind))for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];if(249===i.kind||248===i.kind)return!0}return!1}(e)?e.flags|=32:e.flags&=-33}function ye(e){var t=r(e),n=0!==t;return he(e,n?512:1024,n?67215503:0),t}function be(e,t,r){var n=j(t,r);106508&t&&(n.parent=p.symbol),B(n,e,t)}function xe(t,r,n){switch(m.kind){case 238:V(t,r,n);break;case 273:if(e.isExternalOrCommonJsModule(p)){V(t,r,n);break}
1default:m.locals||(m.locals=e.createSymbolTable(),ge(m)),U(m.locals,void 0,t,r,n)}}function Se(r){!(A&&r.originalKeywordKind>=108&&r.originalKeywordKind<=116)||e.isIdentifierName(r)||4194304&r.flags||t.parseDiagnostics.length||t.bindDiagnostics.push(R(r,function(r){if(e.getContainingClass(r))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(r),e.declarationNameToString(r)))}function ke(r,n){if(n&&71===n.kind){var i=n;if(o=i,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var a=e.getErrorSpanForNode(t,n);t.bindDiagnostics.push(e.createFileDiagnostic(t,a.start,a.length,function(r){if(e.getContainingClass(r))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(r),e.idText(i)))}}var o}function Ce(e){A&&ke(e,e.name)}function Ee(r){if(d<2&&273!==m.kind&&238!==m.kind&&!e.isFunctionLike(m)){var n=e.getErrorSpanForNode(t,r);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,function(r){if(e.getContainingClass(r))return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}(r)))}}function Te(r,n,i,a,o){var s=e.getSpanOfTokenAtPosition(t,r.pos);t.bindDiagnostics.push(e.createFileDiagnostic(t,s.start,s.length,n,i,a,o))}function we(r,n,i,a,s,c){var u=e.getSpanOfTokenAtPosition(t,n.pos),l=e.createFileDiagnostic(t,u.start,u.length,i,a,s,c);r?t.bindDiagnostics.push(l):t.bindSuggestionDiagnostics=e.append(t.bindSuggestionDiagnostics,o({},l,{category:e.DiagnosticCategory.Suggestion}))}function De(r){if(r){r.parent=f;var n=A;if(function(r){switch(r.kind){case 71:if(r.isInJSDocNamespace){for(var n=r.parent;n&&!e.isJSDocTypeAlias(n);)n=n.parent;xe(n,524288,67901928);break}case 99:return y&&(e.isExpression(r)||270===f.kind)&&(r.flowNode=y),Se(r);case 184:y&&Y(r)&&(r.flowNode=y),e.isSpecialPropertyDeclaration(r)&&function(t){99===t.expression.kind?Ie(t):e.isPropertyAccessEntityNameExpression(t)&&273===t.parent.parent.kind&&(e.isPrototypeAccess(t.expression)?Le(t,t.parent):Re(t))}(r);break;case 199:var o=e.getSpecialPropertyAssignmentKind(r);switch(o){case 1:Me(r);break;case 2:!function(r){var n=e.getRightMostAssignedExpression(r.right);if(e.isEmptyObjectLiteral(n)||p===t&&i(t,n))return void Fe(r);Fe(r);var a=e.exportAssignmentIsAlias(r)?2097152:1049092;U(t.symbol.exports,t.symbol,r,a,0)}(r);break;case 3:Le(r.left,r);break;case 6:!function(e){e.left.parent=e,e.right.parent=e;var t=e.left;Be(t,t,!1)}(r);break;case 4:Ie(r);break;case 5:!function(r){var n=r.left;r.left.parent=r,r.right.parent=r,e.isIdentifier(n.expression)&&p===t&&a(t,n.expression)?Me(r):Re(n)}(r);break;case 0:break;default:e.Debug.fail("Unknown special property assignment kind")}return function(t){A&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&ke(t,t.left)}(r);case 268:return function(e){A&&e.variableDeclaration&&ke(e,e.variableDeclaration.name)}(r);case 193:return function(r){if(A&&71===r.expression.kind){var n=e.getErrorSpanForNode(t,r.expression);t.bindDiagnostics.push(e.createFileDiagnostic(t,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(r);case 8:return function(r){A&&32&r.numericLiteralFlags&&t.bindDiagnostics.push(R(r,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(r);case 198:return function(e){A&&ke(e,e.operand)}(r);case 197:return function(e){A&&(43!==e.operator&&44!==e.operator||ke(e,e.operand))}(r);case 225:return function(t){A&&Te(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(r);case 173:return void(v=!0);case 160:break;case 147:return function(t){if(e.isJSDocTemplateTag(t.parent)){var r=e.find(t.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(t.parent);
1r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,t,262144,67639784)):he(t,262144,67639784)}else if(171===t.parent.kind){var n=function(t){var r=e.findAncestor(t,function(t){return t.parent&&e.isConditionalTypeNode(t.parent)&&t.parent.extendsType===t});return r&&r.parent}(t.parent);n?(n.locals||(n.locals=e.createSymbolTable()),U(n.locals,void 0,t,262144,67639784)):be(t,262144,z(t))}else he(t,262144,67639784)}(r);case 148:return Ve(r);case 231:return Ue(r);case 181:return r.flowNode=y,Ue(r);case 151:case 150:return function(e){return Je(e,4|(e.questionToken?16777216:0),0)}(r);case 269:case 270:return Je(r,4,0);case 272:return Je(r,8,68008959);case 157:case 158:case 159:return he(r,131072,0);case 153:case 152:return Je(r,8192|(r.questionToken?16777216:0),e.isObjectLiteralMethod(r)?0:67208127);case 233:return function(r){t.isDeclarationFile||4194304&r.flags||e.isAsyncFunction(r)&&(D|=1024);Ce(r),A?(Ee(r),xe(r,16,67215791)):he(r,16,67215791)}(r);case 154:return he(r,16384,0);case 155:return Je(r,32768,67150783);case 156:return Je(r,65536,67183551);case 162:case 283:case 287:case 163:return function(t){var r=j(131072,z(t));B(r,t,131072);var n=j(2048,"__type");B(n,t,2048),n.members=e.createSymbolTable(),n.members.set(r.escapedName,r)}(r);case 165:case 286:case 176:return function(e){return be(e,2048,"__type")}(r);case 183:return function(r){var n;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(n||(n={})),A)for(var i=e.createUnderscoreEscapedMap(),a=0,o=r.properties;a<o.length;a++){var s=o[a];if(271!==s.kind&&71===s.name.kind){var c=s.name,u=269===s.kind||270===s.kind||153===s.kind?1:2,l=i.get(c.escapedText);if(l){if(1===u&&1===l){var d=e.getErrorSpanForNode(t,c);t.bindDiagnostics.push(e.createFileDiagnostic(t,d.start,d.length,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}else i.set(c.escapedText,u)}}return be(r,4096,"__object")}(r);case 191:case 192:return function(r){t.isDeclarationFile||4194304&r.flags||e.isAsyncFunction(r)&&(D|=1024);y&&(r.flowNode=y);Ce(r);var n=r.name?r.name.escapedText:"__function";return be(r,16,n)}(r);case 186:e.isInJavaScriptFile(r)&&function(r){!t.commonJsModuleIndicator&&e.isRequireCall(r,!1)&&Fe(r)}(r);break;case 204:case 234:return A=!0,function(r){if(234===r.kind)xe(r,32,68008383);else{var n=r.name?r.name.escapedText:"__class";be(r,32,n),r.name&&P.set(r.name.escapedText,!0)}var i=r.symbol,a=j(4194308,"prototype"),o=i.exports.get(a.escapedName);o&&(r.name&&(r.name.parent=r),t.bindDiagnostics.push(R(o.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(a))));i.exports.set(a.escapedName,a),a.parent=i}(r);case 235:return xe(r,64,67901832);case 236:return xe(r,524288,67901928);case 237:return function(t){return e.isConst(t)?xe(t,128,68008831):xe(t,256,68008191)}(r);case 238:return function(r){if(ve(r),e.isAmbientModule(r))if(e.hasModifier(r,1)&&Te(r,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(r))ye(r);else{var n=void 0;if(9===r.name.kind){var i=r.name.text;e.hasZeroOrOneAsteriskCharacter(i)?n=e.tryParsePattern(i):Te(r.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,i)}var a=he(r,512,67215503);t.patternAmbientModules=e.append(t.patternAmbientModules,n&&{pattern:n,symbol:a})}else{var o=ye(r);if(0!==o){var a=r.symbol;a.constEnumOnlyModule=!(304&a.flags)&&2===o&&!1!==a.constEnumOnlyModule}}}(r);case 262:return function(e){return be(e,4096,"__jsxAttributes")}(r);case 261:return function(e,t,r){return he(e,t,r)}(r,4,0);case 242:case 245:case 247:case 251:return he(r,2097152,2097152);case 241:return function(r){r.modifiers&&r.modifiers.length&&t.bindDiagnostics.push(R(r,e.Diagnostics.Modifiers_cannot_appear_here));if(273!==r.parent.kind)return void t.bindDiagnostics.push(R(r,e.Diagnostics.Global_module_exports_may_only_appear_at_top_level));var n=r.parent;if(!e.isExternalModule(n))return void t.bindDiagnostics.push(R(r,e.Diagnostics.Global_module_exports_may_only_appear_in_module_files));if(!n.isDeclarationFile)return void t.bindDiagnostics.push(R(r,e.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files));t.symbol.globalExports=t.symbol.globalExports||e.createSymbolTable(),U(t.symbol.globalExports,t.symbol,r,2097152,2097152)}(r);case 244:return function(e){e.name&&he(e,2097152,2097152)}(r);case 249:return function(e){p.symbol&&p.symbol.exports?e.exportClause||U(p.symbol.exports,p.symbol,e,8388608,0):be(e,8388608,z(e))}(r);case 248:return function(t){if(p.symbol&&p.symbol.exports){var r=248===t.kind&&e.exportAssignmentIsAlias(t)?2097152:4;U(p.symbol.exports,p.symbol,t,r,67108863)}else be(t,2097152,z(t))}(r);case 273:return Ne(r.statements),function(){if(ve(t),e.isExternalModule(t))Oe();else if(e.isJsonSourceFile(t)){Oe();var r=t.symbol;U(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=r}}();case 212:if(!e.isFunctionLike(r.parent))return;case 239:return Ne(r.statements);case 292:if(287===r.parent.kind)return Ve(r);if(286!==r.parent.kind)break;case 297:var s=r,c=s.isBracketed||s.typeExpression&&282===s.typeExpression.type.kind?16777220:4;return he(s,c,0);case 296:case 291:(h||(h=[])).push(r)}}(r),r.kind>144){var o=f;f=r;var s=me(r);0===s?J(r):function(t,r){var n=p,i=_,a=m;1&r?(192!==t.kind&&(_=p),p=m=t,32&r&&(p.locals=e.createSymbolTable()),ge(p)):2&r&&((m=t).locals=void 0);if(4&r){var o=y,s=b,c=x,u=S,l=T,d=w,f=16&r&&!e.hasModifier(t,256)&&!t.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(t);f||(y={flags:2},144&r&&(y.container=t)),S=f||154===t.kind?Z():void 0,b=void 0,x=void 0,T=void 0,w=!1,J(t),t.flags&=-1409,!(1&y.flags)&&8&r&&e.nodeIsPresent(t.body)&&(t.flags|=128,w&&(t.flags|=256)),273===t.kind&&(t.flags|=D
1),S&&(re(S,y),y=se(S),154===t.kind&&(t.returnFlowNode=y)),f||(y=o),b=s,x=c,S=u,T=l,w=d}else 64&r?(v=!1,J(t),t.flags=v?64|t.flags:-65&t.flags):J(t);p=n,_=i,m=a}(r,s),f=o}else O||0!==(536870912&r.transformFlags)||(L|=c(r,0),Ae(r));A=n}}function Ae(t){if(e.hasJSDocNodes(t))if(e.isInJavaScriptFile(t))for(var r=0,n=t.jsDoc;r<n.length;r++){var i=n[r];De(i)}else for(var a=0,o=t.jsDoc;a<o.length;a++){var i=o[a];l(t,i)}}function Ne(t){if(!A)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(!e.isPrologueDirective(i))return;if(Pe(i))return void(A=!0)}}function Pe(r){var n=e.getSourceTextOfNodeFromSourceFile(t,r.expression);return'"use strict"'===n||"'use strict'"===n}function Oe(){be(t,512,'"'+e.removeFileExtension(t.fileName)+'"')}function Fe(e){t.commonJsModuleIndicator||(t.commonJsModuleIndicator=e,t.externalModuleIndicator||Oe())}function Me(t){Fe(t);var r=t.left,n=qe(r.expression,function(t,r){if(r){var n=e.getJSInitializerSymbol(r);return B(n,t,67110400),n}});if(n){var i=e.isClassExpression(t.right)?1048612:1048580;U(n.exports,n,r,i,0)}}function Ie(t){e.Debug.assert(e.isInJavaScriptFile(t));var r=e.getThisContainer(t,!1);switch(r.kind){case 233:case 191:var n=r.symbol;if(e.isBinaryExpression(r.parent)&&58===r.parent.operatorToken.kind){var i=r.parent.left;e.isPropertyAccessEntityNameExpression(i)&&e.isPrototypeAccess(i.expression)&&(n=je(i.expression.expression,_))}n&&(n.members=n.members||e.createSymbolTable(),U(n.members,n,t,4,0));break;case 154:case 151:case 153:case 155:case 156:var a=r.parent,o=e.hasModifier(r,32)?a.symbol.exports:a.symbol.members;U(o,a.symbol,t,4,0,!0);break;case 273:break;default:e.Debug.fail(e.Debug.showSyntaxKind(r))}}function Le(e,t){var r=e.expression,n=r.expression;e.parent=t,n.parent=r,r.parent=e,Be(n,e,!0)}function Re(e){e.expression.parent=e,Be(e.expression,e,!1)}function je(t,r){return e.getJSInitializerSymbol(ze(t,r))}function Be(t,r,n){var i=je(t),a=e.isBinaryExpression(r.parent)?273===function(t){for(;e.isBinaryExpression(t.parent);)t=t.parent;return t.parent}(r.parent).parent.kind&&!!e.getJavascriptInitializer(e.getInitializerOfBinaryExpression(r.parent),e.isPrototypeAccess(r.parent.left)):273===r.parent.parent.kind;if(!n&&(!i||!(1920&i.flags))&&a){qe(r.expression,function(e,t){return t?(B(t,e,67110400),t):i=U(i?i.exports:p.locals,i,e,67110400,106639)})}if(i&&5168&i.flags){var o=n?i.members||(i.members=e.createSymbolTable()):i.exports||(i.exports=e.createSymbolTable()),s=a?67108864:0,c=e.isFunctionLikeDeclaration(e.getAssignedJavascriptInitializer(r)),u=(c?8192:4)|s,l=(c?67208127:0)&~s;U(o,i,r,u,l)}}function ze(t,r){if(void 0===r&&(r=p),e.isIdentifier(t))return s(r,t.escapedText);var n=e.getJSInitializerSymbol(ze(t.expression));return n&&n.exports&&n.exports.get(t.name.escapedText)}function qe(r,n){if(i(t,r))return t.symbol;if(e.isIdentifier(r))return n(r,ze(r));var a=e.getJSInitializerSymbol(qe(r.expression,n));return e.Debug.assert(!!a&&!!a.exports),n(r.name,a.exports.get(r.name.escapedText))}function Ue(t){A&&ke(t,t.name),e.isBindingPattern(t.name)||(e.isBlockOrCatchScoped(t)?function(e){xe(e,2,67216319)}(t):e.isParameterDeclaration(t)?he(t,1,67216319):he(t,1,67216318))}function Ve(t){if((292!==t.kind||287===p.kind)&&(!A||4194304&t.flags||ke(t,t.name),e.isBindingPattern(t.name)?be(t,1,"__"+t.parent.parameters.indexOf(t)):he(t,1,67216319),e.isParameterPropertyDeclaration(t))){var r=t.parent.parent;U(r.symbol.members,r.symbol,t,4|(t.questionToken?16777216:0),0)}}function Je(r,n,i){return t.isDeclarationFile||4194304&r.flags||!e.isAsyncFunction(r)||(D|=1024),y&&e.isObjectLiteralOrClassExpressionMethod(r)&&(r.flowNode=y),e.hasDynamicName(r)?be(r,n,"__computed"):he(r,n,i)}}();function i(t,r){return e.isExportsIdentifier(r)||e.isModuleExportsPropertyAccessExpression(r)||e.isIdentifier(r)&&a(t,r)}function a(t,r){var n=s(t,r.escapedText);return n&&n.valueDeclaration&&e.isVariableDeclaration(n.valueDeclaration)&&n.valueDeclaration.initializer&&function t(r,n){return i(r,n)||e.isAssignmentExpression(n,!0)&&(t(r,n.left)||t(r,n.right))}(t,n.valueDeclaration.initializer)}function s(e,t){var r=e.locals&&e.locals.get(t);return r?r.exportSymbol||r:e.symbol&&e.symbol.exports&&e.symbol.exports.get(t)}function c(t,r){var n=t.kind;switch(n){case 186:return function(e,t){var r=t,n=e.expression;e.typeArguments&&(r|=3);(524288&t||402653184&n.transformFlags)&&(r|=192,268435456&n.transformFlags&&(r|=16384));91===n.kind&&(r|=67108864,16384&t&&(r|=32768));return e.transformFlags=536870912|r,-940049730&r}(t,r);case 187:return function(e,t){var r=t;e.typeArguments&&(r|=3);524288&t&&(r|=192);return e.transformFlags=536870912|r,-940049730&r}(t,r);case 238:return function(t,r){var n=3;0===(2&e.getModifierFlags(t))&&(n|=r);return t.transformFlags=536870912|n,-977327426&n}(t,r);case 190:return function(e,t){var r=t,n=e.expression,i=n.kind,a=n.transformFlags;207!==i&&189!==i||(r|=3);1024&a&&(r|=1024);return e.transformFlags=536870912|r,-536872258&r}(t,r);case 199:return function(e,t){var r=t,n=e.operatorToken.kind,i=e.left.kind;58===n&&183===i?r|=3272:58===n&&182===i?r|=3264:40!==n&&62!==n||(r|=32);return e.transformFlags=536870912|r,-939525442&r}(t,r);case 215:return function(e,t){var r=t;1024&e.expression.transformFlags&&(r|=192);return e.transformFlags=536870912|r,-939525442&r}(t,r);case 148:return function(t,r){var n=r,i=t.name,a=t.initializer,o=t.dotDotDotToken;(t.questionToken||t.type||4096&r||e.isThisIdentifier(i))&&(n|=3);e.hasModifier(t,92)&&(n|=262147);1048576&r&&(n|=8);(8388608&r||a||o)&&(n|=131264);return t.transformFlags=536870912|n,-939525442&n}(t,r);case 192:return function(t,r){var n=192|r;(e.hasModifier(t,2270)||t.typeParameters||t.type)&&(n|=3);e.hasModifier(t,256)&&(n|=16);1048576&r&&(n|=8);16384&r&&(n|=32768);return t.transformFlags=536870912|n,-1003902274&n}(t,r);case 191:return function(t,r){var n=r;(e.hasModifier(t,2270)||t.typeParameters||t.type)&&(n|=3);e.hasModifier(t,256)&&(n|=t.asteriskToken?8:16);1048576&r&&(n|=8);163840&r&&(n|=192);t.asteriskToken&&(n|=768);return t.transformFlags=536870912|n,-1003935042&n}(t,r);case 233:return function(t,r){var n,i=e.getModifierFlags(t);!t.body||2&i?n=3:(n=33554432|r,(2270&i||t.typeParameters||t.type)&&(n|=3),256&i&&(n|=t.asteriskToken?8:16),1048576&r&&(n|=8),163840&r&&(n|=192),t.asteriskToken&&(n|=768));return t.transformFlags=536870912|n,-1003935042&n}(t,r);case 231:return function(e,t){var r=t;r|=8388800,1048576&t&&(r|=8);e.type&&(r|=3);return e.transformFlags=536870912|r,-939525442&r}(t,r);case 232:return function(e,t){var r=33554432|t;8388608&t&&(r|=192);3&e.flags&&(r|=4194496);return e.transformFlags=536870912|r,-948962626&r}(t,r);case 213:return function(t,r){var n,i=t.declarationList.transformFlags;e.hasModifier(t,2)?n=3:(n=r,8388608&i&&(n|=192));return t.transformFlags=536870912|n,-939525442&n}(t,r);case 227:return function(t,r){var n=r;
14194304&r&&e.isIterationStatement(t,!0)&&(n|=192);return t.transformFlags=536870912|n,-939525442&n}(t,r);case 234:return function(t,r){var n;e.hasModifier(t,2)?n=3:(n=192|r,(274432&r||t.typeParameters)&&(n|=3),65536&r&&(n|=16384));return t.transformFlags=536870912|n,-942011714&n}(t,r);case 204:return function(e,t){var r=192|t;(274432&t||e.typeParameters)&&(r|=3);65536&t&&(r|=16384);return e.transformFlags=536870912|r,-942011714&r}(t,r);case 267:return function(t,r){var n=r;switch(t.token){case 85:n|=192;break;case 108:n|=3;break;default:e.Debug.fail("Unexpected token for heritage clause")}return t.transformFlags=536870912|n,-939525442&n}(t,r);case 268:return function(t,r){var n=r;t.variableDeclaration?e.isBindingPattern(t.variableDeclaration.name)&&(n|=192):n|=8;return t.transformFlags=536870912|n,-940574018&n}(t,r);case 206:return function(e,t){var r=192|t;e.typeArguments&&(r|=3);return e.transformFlags=536870912|r,-939525442&r}(t,r);case 154:return function(t,r){var n=r;!e.hasModifier(t,2270)&&t.body||(n|=3);1048576&r&&(n|=8);return t.transformFlags=536870912|n,-1003668802&n}(t,r);case 151:return function(t,r){var n=3|r;(t.initializer||e.isComputedPropertyName(t.name))&&(n|=8192);return t.transformFlags=536870912|n,-939525442&n}(t,r);case 153:return function(t,r){var n=192|r;(t.decorators||e.hasModifier(t,2270)||t.typeParameters||t.type||t.name&&e.isComputedPropertyName(t.name)||!t.body)&&(n|=3);1048576&r&&(n|=8);e.hasModifier(t,256)&&(n|=t.asteriskToken?8:16);t.asteriskToken&&(n|=768);return t.transformFlags=536870912|n,-1003668802&n}(t,r);case 155:case 156:return function(t,r){var n=r;(t.decorators||e.hasModifier(t,2270)||t.type||t.name&&e.isComputedPropertyName(t.name)||!t.body)&&(n|=3);1048576&r&&(n|=8);return t.transformFlags=536870912|n,-1003668802&n}(t,r);case 242:return function(t,r){var n=r;e.isExternalModuleImportEqualsDeclaration(t)||(n|=3);return t.transformFlags=536870912|n,-939525442&n}(t,r);case 184:return function(e,t){var r=t;134217728&r&&(r^=134217728,r|=268435456);return e.transformFlags=536870912|r,-671089986&r}(t,r);case 185:return function(e,t){var r=t;134217728&e.expression.transformFlags&&(r&=-134217729,r|=268435456);return e.transformFlags=536870912|r,-671089986&r}(t,r);default:return function(e,t,r){var n=r,i=939525441;switch(t){case 120:case 196:n|=24;break;case 189:case 207:case 300:n|=3,i=536872257;break;case 114:case 112:case 113:case 117:case 124:case 76:case 237:case 272:case 208:case 132:n|=3;break;case 254:case 255:case 256:case 10:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:n|=4;break;case 13:case 14:case 15:case 16:case 201:case 188:case 270:case 115:case 209:n|=192;break;case 9:e.hasExtendedUnicodeEscape&&(n|=192);break;case 8:384&e.numericLiteralFlags&&(n|=192);break;case 221:e.awaitModifier&&(n|=8),n|=192;break;case 202:n|=16777416;break;case 119:case 134:case 131:case 135:case 137:case 122:case 138:case 105:case 147:case 150:case 152:case 157:case 158:case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172:case 235:case 236:case 173:case 174:case 175:case 176:case 177:case 241:n=3,i=-3;break;case 146:n|=2097152,16384&r&&(n|=65536);break;case 203:n|=524480;break;case 271:n|=1048584;break;case 97:n|=134217920,i=536872257;break;case 99:n|=16384;break;case 179:n|=8388800,524288&r&&(n|=1048584),i=940049729;break;case 180:n|=8388800,i=940049729;break;case 181:n|=192,e.dotDotDotToken&&(n|=524288);break;case 149:n|=4099;break;case 183:i=942740801,2097152&r&&(n|=192),65536&r&&(n|=16384),1048576&r&&(n|=8);break;case 182:case 187:i=940049729,524288&r&&(n|=192);break;case 217:case 218:case 219:case 220:4194304&r&&(n|=192);break;case 273:32768&r&&(n|=192);break;case 224:n|=33554440;break;case 222:case 223:n|=33554432}return e.transformFlags=536870912|n,n&~i}(t,n,r)}}function u(e){if(e>=160&&e<=178)return-3;switch(e){case 186:case 187:case 182:return 940049729;case 238:return 977327425;case 148:return 939525441;case 192:return 1003902273;case 191:case 233:return 1003935041;case 232:return 948962625;case 234:case 204:return 942011713;case 154:return 1003668801;case 153:case 155:case 156:return 1003668801;case 119:case 134:case 131:case 137:case 135:case 122:case 138:case 105:case 147:case 150:case 152:case 157:case 158:case 159:case 235:case 236:return-3;case 183:return 942740801;case 268:return 940574017;case 179:case 180:return 940049729;case 189:case 207:case 300:case 190:case 97:return 536872257;case 184:case 185:return 671089985;default:return 939525441}}function l(t,r){r.parent=t,e.forEachChild(r,function(e){return l(r,e)})}e.bindSourceFile=function(t,r){e.performance.mark("beforeBind"),n(t,r),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=i,e.computeTransformFlagsForNode=c,e.getTransformFlagsSubtreeExclusions=u}(u||(u={})),function(e){e.createGetSymbolWalker=function(t,r,n,i,a,o,s,c,u,l){return function(d){void 0===d&&(d=function(){return!0});var f=[],p=[];return{walkType:function(t){try{return _(t),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(p)}}finally{e.clear(f),e.clear(p)}},walkSymbol:function(t){try{return h(t),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(p)}}finally{e.clear(f),e.clear(p)}}};function _(t){if(t&&!f[t.id]){f[t.id]=t;var r=h(t.symbol);if(!r){if(65536&t.flags){var n=t,a=n.objectFlags;4&a&&function(t){_(t.target),e.forEach(t.typeArguments,_)}(t),32&a&&function(e){_(e.typeParameter),_(e.constraintType),_(e.templateType),_(e.modifiersType)}(t),3&a&&(g(o=t),e.forEach(o.typeParameters,_),e.forEach(i(o),_),_(o.thisType)),24&a&&g(n)}var o;32768&t.flags&&function(e){_(u(e))}(t),393216&t.flags&&function(t){e.forEach(t.types,_)}(t),524288&t.flags&&function(e){_(e.type)}(t),1048576&t.flags&&function(e){_(e.objectType),_(e.indexType),_(e.constraint)}(t)}}}function m(i){var a=r(i);a&&_(a.type),e.forEach(i.typeParameters,_);for(var o=0,s=i.parameters;o<s.length;o++){var c=s[o];h(c)}_(t(i)),_(n(i))}function g(e){var t=c(e,0);_(t);var r=c(e,1);_(r);for(var n=a(e),i=0,o=n.callSignatures;i<o.length;i++){var s=o[i];m(s)}for(var u=0,l=n.constructSignatures;u<l.length;u++){var s=l[u];m(s)}for(var d=0,f=n.properties;d<f.length;d++){var p=f[d];h(p)}}function h(t){if(t){var r=e.getSymbolId(t);if(!p[r]){if(p[r]=t,!d(t))return!0;var n=o(t);
1_(n),1952&t.flags&&t.exports.forEach(h),e.forEach(t.declarations,function(e){if(e.type&&164===e.type.kind){var t=e.type,r=s(l(t.exprName));h(r)}})}}}}}}(u||(u={})),function(e){function t(t){t.trace(e.formatMessage.apply(void 0,arguments))}function r(e,t){return e.traceResolution&&void 0!==t.trace}function n(e,t){return t&&{path:t.path,extension:t.ext,packageId:e}}function i(e){return n(void 0,e)}var a;function s(t){if(t)return e.Debug.assert(e.extensionIsTypeScript(t.extension)),{fileName:t.path,packageId:t.packageId}}function c(e,t,r,n){return{resolvedModule:e&&{resolvedFileName:e.path,originalPath:t,extension:e.extension,isExternalLibraryImport:r,packageId:e.packageId},failedLookupLocations:n}}function u(r,n,i,a){return r?o("typings")||o("types"):o("main");function o(r){if(e.hasProperty(n,r)){var o=n[r];if(e.isString(o)){var s=e.normalizePath(e.combinePaths(i,o));return a.traceEnabled&&t(a.host,e.Diagnostics.package_json_has_0_field_1_that_references_2,r,o,s),s}a.traceEnabled&&t(a.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_string_got_1,r,typeof o)}else a.traceEnabled&&t(a.host,e.Diagnostics.package_json_does_not_have_a_0_field,r)}}function l(t,r){try{var n=r.readFile(t);if(!n)return{};var i=e.parseConfigFileTextToJson(t,n);return i.error?{}:i.config}catch(a){return{}}}function d(t,r){return t.typeRoots?t.typeRoots:(t.configFilePath?n=e.getDirectoryPath(t.configFilePath):r.getCurrentDirectory&&(n=r.getCurrentDirectory()),void 0!==n?function(t,r){if(!r.directoryExists)return[e.combinePaths(t,f)];var n;return e.forEachAncestorDirectory(e.normalizePath(t),function(t){var i=e.combinePaths(t,f);r.directoryExists(i)&&(n||(n=[])).push(i)}),n}(n,r):void 0);var n}e.trace=t,e.isTraceEnabled=r,function(e){e[e.TypeScript=0]="TypeScript",e[e.JavaScript=1]="JavaScript",e[e.Json=2]="Json",e[e.DtsOnly=3]="DtsOnly"}(a||(a={})),e.readJson=l,e.getEffectiveTypeRoots=d;var f=e.combinePaths("node_modules","@types");function p(t,r,n,i){return{getOrCreateCacheForDirectory:function(r){var a=e.toPath(r,n,i),o=t.get(a);o||(o=e.createMap(),t.set(a,o));return o},getOrCreateCacheForModuleName:function(t){if(e.isExternalModuleNameRelative(t))return;var a=r.get(t);a||(a=function(){var t=e.createMap();return{get:function(r){return t.get(e.toPath(r,n,i))},set:function(r,a){var o=e.toPath(r,n,i);if(t.has(o))return;t.set(o,a);var s=a.resolvedModule&&a.resolvedModule.resolvedFileName,c=function(t,r){if(void 0===r)return;var a=e.toPath(e.getDirectoryPath(r),n,i),o=0;for(;o<Math.min(t.length,a.length)&&t.charCodeAt(o)===a.charCodeAt(o);)o++;var s=t.lastIndexOf(e.directorySeparator,o);if(s<0)return;return t.substr(0,s)}(o,s),u=o;for(;;){var l=e.getDirectoryPath(u);if(l===u||t.has(l))break;if(t.set(l,a),(u=l)===c)break}}}}(),r.set(t,a));return a}}}function _(r,n,a,o,s,c){return e.isExternalModuleNameRelative(n)?function(r,n,i,a,o,s){if(!s.compilerOptions.rootDirs)return;s.traceEnabled&&t(s.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,n);for(var c,u,l=e.normalizePath(e.combinePaths(i,n)),d=0,f=s.compilerOptions.rootDirs;d<f.length;d++){var p=f[d],_=e.normalizePath(p);e.endsWith(_,e.directorySeparator)||(_+=e.directorySeparator);var m=e.startsWith(l,_)&&(void 0===u||u.length<_.length);s.traceEnabled&&t(s.host,e.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,_,l,m),m&&(u=_,c=p)}if(u){s.traceEnabled&&t(s.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,l,u);var g=l.substr(u.length);s.traceEnabled&&t(s.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,g,u,l);var h=a(r,l,o,!S(i,s.host),s);if(h)return h;s.traceEnabled&&t(s.host,e.Diagnostics.Trying_other_entries_in_rootDirs);for(var v=0,y=s.compilerOptions.rootDirs;v<y.length;v++){var p=y[v];if(p!==c){var b=e.combinePaths(e.normalizePath(p),g);s.traceEnabled&&t(s.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,g,p,b);var x=e.getDirectoryPath(b),k=a(r,b,o,!S(x,s.host),s);if(k)return k}}s.traceEnabled&&t(s.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}return}
1(r,n,a,o,s,c):function(r,n,a,o,s){if(!s.compilerOptions.baseUrl)return;s.traceEnabled&&t(s.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,s.compilerOptions.baseUrl,n);var c;s.compilerOptions.paths&&(s.traceEnabled&&t(s.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n),c=e.matchPatternOrExact(e.getOwnKeys(s.compilerOptions.paths),n));if(c){var u=e.isString(c)?void 0:e.matchedText(c,n),l=e.isString(c)?c:e.patternText(c);return s.traceEnabled&&t(s.host,e.Diagnostics.Module_name_0_matched_pattern_1,n,l),e.forEach(s.compilerOptions.paths[l],function(n){var c=u?n.replace("*",u):n,l=e.normalizePath(e.combinePaths(s.compilerOptions.baseUrl,c));s.traceEnabled&&t(s.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,n,c);var d=e.tryGetExtensionFromPath(l);if(void 0!==d){var f=T(l,o,!1,s);if(void 0!==f)return i({path:f,ext:d})}return a(r,l,o,!S(e.getDirectoryPath(l),s.host),s)})}var d=e.normalizePath(e.combinePaths(s.compilerOptions.baseUrl,n));return s.traceEnabled&&t(s.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,n,s.compilerOptions.baseUrl,d),a(r,d,o,!S(e.getDirectoryPath(d),s.host),s)}(r,n,o,s,c)}function m(t,r,n,i,a){return g(t,e.getDirectoryPath(r),n,i,a,!1)}function g(n,i,s,u,l,d){var f=r(s,u),p=[],m={compilerOptions:s,host:u,traceEnabled:f},g=d?b(a.JavaScript):b(a.TypeScript)||b(a.JavaScript)||(s.resolveJsonModule?b(a.Json):void 0);if(g&&g.value){var y=g.value;return c(y.resolved,y.originalPath,y.isExternalLibraryImport,p)}return{resolvedModule:void 0,failedLookupLocations:p};function b(r){var c=_(r,n,i,function(e,t,r,n,i){return v(e,t,r,n,i,!0)},p,m);if(c)return q({resolved:c,isExternalLibraryImport:!1});if(e.isExternalModuleNameRelative(n)){var d=e.normalizePathAndParts(e.combinePaths(i,n)),g=d.path,y=d.parts,b=v(r,g,p,!1,m,!0);return b&&q({resolved:b,isExternalLibraryImport:e.contains(y,"node_modules")})}f&&t(u,e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,n,a[r]);var x=F(r,n,i,p,m,l);if(x){var S=x.value,k=void 0;if(!s.preserveSymlinks&&S){k=S.path;var C=h(x.value.path,u,f);C===k&&(k=void 0),S=o({},S,{path:C})}return{value:S&&{resolved:S,originalPath:k,isExternalLibraryImport:!0}}}}}function h(r,n,i){if(!n.realpath)return r;var a=e.normalizePath(n.realpath(r));return i&&t(n,e.Diagnostics.Resolving_real_path_for_0_result_1,r,a),e.Debug.assert(n.fileExists(a),r+" linked to nonexistent file "+a),a}function v(r,i,o,s,c,u){if(c.traceEnabled&&t(c.host,e.Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1,i,a[r]),!e.hasTrailingDirectorySeparator(i)){if(!s){var l=e.getDirectoryPath(i);S(l,c.host)||(c.traceEnabled&&t(c.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,l),s=!0)}var d=C(r,i,o,s,c);if(d){var f=u?function(t){var r=e.normalizePath(t.path),n=r.lastIndexOf(y);if(-1===n)return;var i=n+y.length,a=b(r,i);64===r.charCodeAt(i)&&(a=b(r,a));var o=r.slice(0,a),s=e.removeExtension(r.slice(a+1),t.ext)+".d.ts";return{packageDirectory:o,subModuleName:s}}(d):void 0;return n(f&&A(f.packageDirectory,f.subModuleName,o,!1,c).packageId,d)}}s||(S(i,c.host)||(c.traceEnabled&&t(c.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),s=!0));return w(r,i,o,s,c,u)}e.resolveTypeReferenceDirective=function(n,i,c,u){var l=r(c,u),f={compilerOptions:c,host:u,traceEnabled:l},p=d(c,u);l&&(void 0===i?void 0===p?t(u,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,n):t(u,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,n,p):void 0===p?t(u,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,n,i):t(u,e.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,n,i,p));var _,m=[],g=function(){if(p&&p.length)return l&&t(u,e.Diagnostics.Resolving_with_primary_search_path_0,p.join(", ")),e.forEach(p,function(r){var i=e.combinePaths(r,n),o=e.getDirectoryPath(i),c=S(o,u);return!c&&l&&t(u,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,o),s(w(a.DtsOnly,i,m,!c,f))});l&&t(u,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),v=!0;return g||(g=function(){var r,o=i&&e.getDirectoryPath(i);if(void 0!==o){l&&t(u,e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,o);var c=F(a.DtsOnly,n,o,m,f,void 0);return!(r=s(c&&c.value))&&l&&t(u,e.Diagnostics.Type_reference_directive_0_was_not_resolved,n),r}l&&t(u,e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),v=!1),g&&(c.preserveSymlinks||(g=o({},g,{fileName:h(g.fileName,u,l)})),l&&t(u,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,n,g.fileName,v),_={primary:v,resolvedFileName:g.fileName,packageId:g.packageId}),{resolvedTypeReferenceDirective:_,failedLookupLocations:m}},e.getAutomaticTypeDirectiveNames=function(t,r){if(t.types)return t.types;var n=[];if(r.directoryExists&&r.getDirectories){var i=d(t,r);if(i)for(var a=0,o=i;a<o.length;a++){var s=o[a];if(r.directoryExists(s))for(var c=0,u=r.getDirectories(s);c<u.length;
1c++){var f=u[c],p=e.normalizePath(f),_=N(e.combinePaths(s,p));r.fileExists(_)&&null===l(_,r).typings||n.push(e.getBaseFileName(p))}}}return n},e.createModuleResolutionCache=function(t,r){return p(e.createMap(),e.createMap(),t,r)},e.createModuleResolutionCacheWithMaps=p,e.resolveModuleNameFromCache=function(t,r,n){var i=e.getDirectoryPath(r),a=n&&n.getOrCreateCacheForDirectory(i);return a&&a.get(t)},e.resolveModuleName=function(n,i,a,o,s){var c=r(a,o);c&&t(o,e.Diagnostics.Resolving_module_0_from_1,n,i);var u=e.getDirectoryPath(i),l=s&&s.getOrCreateCacheForDirectory(u),d=l&&l.get(n);if(d)c&&t(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,u);else{var f=a.moduleResolution;switch(void 0===f?(f=e.getEmitModuleKind(a)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic,c&&t(o,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[f])):c&&t(o,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[f]),f){case e.ModuleResolutionKind.NodeJs:d=m(n,i,a,o,s);break;case e.ModuleResolutionKind.Classic:d=z(n,i,a,o,s);break;default:e.Debug.fail("Unexpected moduleResolution: "+f)}if(l){l.set(n,d);var p=s.getOrCreateCacheForModuleName(n);p&&p.set(u,d)}}return c&&(d.resolvedModule?t(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,n,d.resolvedModule.resolvedFileName):t(o,e.Diagnostics.Module_name_0_was_not_resolved,n)),d},e.nodeModuleNameResolver=m,e.resolveJavaScriptModule=function(t,r,n){var i=g(t,r,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},n,void 0,!0),a=i.resolvedModule,o=i.failedLookupLocations;if(!a)throw new Error("Could not resolve JS module '"+t+"' starting at '"+r+"'. Looked in: "+o.join(", "));return a.resolvedFileName};var y="/node_modules/";function b(t,r){var n=t.indexOf(e.directorySeparator,r+1);return-1===n?r:n}function x(t){return""===t?"index.d.ts":e.endsWith(t,".d.ts")?t:e.endsWith(t,"/index")?t+".d.ts":t+"/index.d.ts"}function S(e,t){return!t.directoryExists||t.directoryExists(e)}function k(e,t,r,n,a){return i(C(e,t,r,n,a))}function C(r,n,i,o,s){if(r===a.Json){var c=e.tryRemoveExtension(n,".json");return c&&E(c,r,i,o,s)}var u=E(n,r,i,o,s);if(u)return u;if(e.hasJavaScriptFileExtension(n)){var l=e.removeFileExtension(n);if(s.traceEnabled){var d=n.substring(l.length);t(s.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,n,d)}return E(l,r,i,o,s)}}function E(t,r,n,i,o){if(!i){var s=e.getDirectoryPath(t);s&&(i=!S(s,o.host))}switch(r){case a.DtsOnly:return c(".d.ts");case a.TypeScript:return c(".ts")||c(".tsx")||c(".d.ts");case a.JavaScript:return c(".js")||c(".jsx");case a.Json:return c(".json")}function c(e){var r=T(t+e,n,i,o);return r&&{path:r,ext:e}}}function T(r,n,i,a){if(!i){if(a.host.fileExists(r))return a.traceEnabled&&t(a.host,e.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,r),r;a.traceEnabled&&t(a.host,e.Diagnostics.File_0_does_not_exist,r)}n.push(r)}function w(e,t,r,i,a,o){void 0===o&&(o=!0);var s=o?A(t,"",r,i,a):{packageJsonContent:void 0,packageId:void 0},c=s.packageJsonContent;return n(s.packageId,D(e,t,r,i,a,c))}function D(r,n,i,o,s,c){var l=c&&function(r,n,i,o,s){var c=u(n!==a.JavaScript&&n!==a.Json,r,i,s);if(!c){if(n!==a.TypeScript)return;if(!(c=u(!1,r,i,s)))return}var l=!S(e.getDirectoryPath(c),s.host),d=T(c,o,l,s);if(d){var f=function(t,r){var n=e.tryGetExtensionFromPath(r);return void 0!==n&&function(e,t){switch(e){case a.JavaScript:return".js"===t||".jsx"===t;case a.Json:return".json"===t;case a.TypeScript:return".ts"===t||".tsx"===t||".d.ts"===t;case a.DtsOnly:return".d.ts"===t}}(t,n)?{path:r,ext:n}:void 0}(n,d);if(f)return f;s.traceEnabled&&t(s.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,d)}var p=v(n===a.DtsOnly?a.TypeScript:n,c,o,l,s,!1);if(p)return e.Debug.assert(void 0===p.packageId),{path:p.path,ext:p.extension}}(c,r,n,i,s);if(l)return l;var d=!o&&S(n,s.host);return C(r,e.combinePaths(n,"index"),i,!d,s)}function A(r,n,i,a,o){var s=o.host,c=o.traceEnabled,d=!a&&S(r,s),f=N(r);if(d&&s.fileExists(f)){var p=l(f,s);if(""===n){var _=u(!0,p,r,o);if("string"===typeof _)n=x(_.substring(r.length+1));else{var m=u(!1,p,r,o);if("string"===typeof m&&m.length>r.length){var g=m.substring(r.length+1);n=(e.forEach(e.supportedJavascriptExtensions,function(t){return e.tryRemoveExtension(g,t)})||g)+".d.ts"}else n="index.d.ts"}}e.endsWith(n,".d.ts")||(n=x(n));var h="string"===typeof p.name&&"string"===typeof p.version?{name:p.name,subModuleName:n,version:p.version}:void 0;return c&&(h?t(s,e.Diagnostics.Found_package_json_at_0_Package_ID_is_1,f,e.packageIdToString(h)):t(s,e.Diagnostics.Found_package_json_at_0,f)),{found:!0,packageJsonContent:p,packageId:h}}return d&&c&&t(s,e.Diagnostics.File_0_does_not_exist,f),i.push(f),{found:!1,packageJsonContent:void 0,packageId:void 0}}function N(t){return e.combinePaths(t,"package.json")}
1function P(t,r,i,a,o,s){var c,u,l=e.normalizePath(e.combinePaths(i,r)),d=A(l,"",o,!a,s);if(d.found)c=d.packageJsonContent,u=d.packageId;else{var f=O(r),p=f.packageName,_=f.rest;if(""!==_)u=A(e.combinePaths(i,p),_,o,!a,s).packageId}return n(u,C(t,l,o,!a,s)||D(t,l,o,!a,s,c))}function O(t){var r=t.indexOf(e.directorySeparator);return"@"===t[0]&&(r=t.indexOf(e.directorySeparator,r+1)),-1===r?{packageName:t,rest:""}:{packageName:t.slice(0,r),rest:t.slice(r+1)}}function F(e,t,r,n,i,a){return M(e,t,r,n,i,!1,a)}function M(t,r,n,i,a,o,s){var c=s&&s.getOrCreateCacheForModuleName(r);return e.forEachAncestorDirectory(e.normalizeSlashes(n),function(n){if("node_modules"!==e.getBaseFileName(n)){var s=B(c,r,n,a.traceEnabled,a.host,i);return s||q(I(t,r,n,i,a,o))}})}function I(r,n,i,o,s,c){void 0===c&&(c=!1);var u=e.combinePaths(i,"node_modules"),l=S(u,s.host);!l&&s.traceEnabled&&t(s.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,u);var d=c?void 0:P(r,n,u,l,o,s);if(d)return d;if(r!==a.JavaScript&&r!==a.Json){var f=e.combinePaths(u,"@types"),p=l;return l&&!S(f,s.host)&&(s.traceEnabled&&t(s.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,f),p=!1),P(a.DtsOnly,function(r,n){var i=R(r);n.traceEnabled&&i!==r&&t(n.host,e.Diagnostics.Scoped_package_detected_looking_in_0,i);return i}(n,s),f,p,o,s)}}e.directoryProbablyExists=S,e.getPackageName=O;var L="__";function R(t){if(e.startsWith(t,"@")){var r=t.replace(e.directorySeparator,L);if(r!==t)return r.slice(1)}return t}function j(t){return e.stringContains(t,L)?"@"+t.replace(L,e.directorySeparator):t}function B(r,n,i,a,o,s){var c=r&&r.get(i);if(c)return a&&t(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,i),s.push.apply(s,c.failedLookupLocations),{value:c.resolvedModule&&{path:c.resolvedModule.resolvedFileName,extension:c.resolvedModule.extension,packageId:c.resolvedModule.packageId}}}function z(t,n,i,o,s){var u=r(i,o),l={compilerOptions:i,host:o,traceEnabled:u},d=[],f=e.getDirectoryPath(n),p=m(a.TypeScript)||m(a.JavaScript);return c(p&&p.value,void 0,!1,d);function m(r){var n=_(r,t,f,k,d,l);if(n)return{value:n};var i=s&&s.getOrCreateCacheForModuleName(t);if(e.isExternalModuleNameRelative(t)){var c=e.normalizePath(e.combinePaths(f,t));return q(k(r,c,d,!1,l))}var p=e.forEachAncestorDirectory(f,function(n){var a=B(i,t,n,u,o,d);if(a)return a;var s=e.normalizePath(e.combinePaths(n,t));return q(k(r,s,d,!1,l))});return p||(r===a.TypeScript?function(e,t,r,n){return M(a.DtsOnly,e,t,r,n,!0,void 0)}(t,f,d,l):void 0)}}function q(e){return void 0!==e?{value:e}:void 0}e.getTypesPackageName=function(e){return"@types/"+R(e)},e.getMangledNameForScopedPackage=R,e.getPackageNameFromAtTypesDirectory=function(t){var r=e.removePrefix(t,"@types/");return r!==t?j(r):t},e.getUnmangledNameForScopedPackage=j,e.classicNameResolver=z,e.loadModuleFromGlobalCache=function(n,i,o,s,u){var l=r(o,s);l&&t(s,e.Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,i,n,u);var d={compilerOptions:o,host:s,traceEnabled:l},f=[];return c(I(a.DtsOnly,n,u,f,d),void 0,!0,f)}}(u||(u={})),function(e){var t,r=/^".+"$/,n=1,i=1,a=1,s=1;function c(e){return e.id||(e.id=i,i++),e.id}function u(e){return e.id||(e.id=n,n++),e.id}function l(t,r){var n=e.getModuleInstanceState(t);return 1===n||r&&2===n}function d(t){switch(t.parent.kind){case 247:case 251:return e.isIdentifier(t);default:return e.isDeclarationName(t)}}function f(e){switch(e.kind){case 244:case 242:case 245:case 247:return!0;case 71:return 247===e.parent.kind;default:return!1}}e.getNodeId=c,e.getSymbolId=u,e.isInstantiatedModule=l,e.createTypeChecker=function(n,i){var p,_,m,g=e.objectAllocator.getSymbolConstructor(),h=e.objectAllocator.getTypeConstructor(),v=e.objectAllocator.getSignatureConstructor(),y=0,b=0,x=0,S=0,k=e.createSymbolTable(),C=e.identity,E=n.getCompilerOptions(),T=e.getEmitScriptTarget(E),w=e.getEmitModuleKind(E),D=e.getAllowSyntheticDefaultImports(E),A=e.getStrictOptionValue(E,"strictNullChecks"),N=e.getStrictOptionValue(E,"strictFunctionTypes"),P=e.getStrictOptionValue(E,"strictPropertyInitialization"),O=e.getStrictOptionValue(E,"noImplicitAny"),F=e.getStrictOptionValue(E,"noImplicitThis"),M=!!E.keyofStringsOnly,I=function(){var t,r=n.getResolvedTypeReferenceDirectives();return r&&(t=e.createMap(),r.forEach(function(e,r){if(e&&e.resolvedFileName){var i=n.getSourceFile(e.resolvedFileName);t.set(i.path,r)}})),{getReferencedExportContainer:Tg,getReferencedImportDeclaration:wg,getReferencedDeclarationWithCollidingName:Ag,isDeclarationWithCollidingName:Ng,isValueAliasDeclaration:function(t){return!(t=e.getParseTreeNode(t))||Pg(t)},hasGlobalName:Wg,isReferencedAliasDeclaration:function(t,r){return!(t=e.getParseTreeNode(t))||function t(r,n){if(e.isAliasSymbolDeclaration(r)){var i=dn(r);if(i&&Sr(i).referenced)return!0;var a=Sr(i).target;if(a&&1&e.getModifierFlags(r)&&67216319&a.flags)return!0}return!!n&&e.forEachChild(r,function(e){return t(e,n)})}(t,r)},getNodeCheckFlags:function(t){return(t=e.getParseTreeNode(t))?jg(t):void 0},isTopLevelValueImportEqualsWithEntityName:Og,isDeclarationVisible:Hn,isImplementationOfOverload:Ig,isRequiredInitializedParameter:Lg,isOptionalUninitializedParameterProperty:Rg,createTypeOfDeclaration:Vg,createReturnTypeOfSignatureDeclaration:Jg,createTypeOfExpression:Hg,createLiteralConstValue:Yg,isSymbolA
1ccessible:Pn,isEntityNameVisible:In,getConstantValue:function(t){return(t=e.getParseTreeNode(t,zg))?qg(t):void 0},collectLinkedAliases:Wn,getReferencedValueDeclaration:Gg,getTypeReferenceSerializationKind:Ug,isOptionalParameter:uo,moduleExportsSomeValue:Eg,isArgumentsLocalBinding:Cg,getExternalModuleFileFromDeclaration:$g,getTypeReferenceDirectivesForEntityName:function(e){if(t){var r=67903464;(71===e.kind&&bl(e)||184===e.kind&&!function(e){return e.parent&&206===e.parent.kind&&e.parent.parent&&267===e.parent.parent.kind}(e))&&(r=68264895);var n=Xr(e,r,!0);return n&&n!==Y?i(n,r):void 0}},getTypeReferenceDirectivesForSymbol:i,isLiteralConstDeclaration:Xg,isLateBound:function(t){var r=(t=e.getParseTreeNode(t,e.isDeclaration))&&dn(t);return!!(r&&1024&e.getCheckFlags(r))},getJsxFactoryEntity:function(t){return t?(dr(t),e.getSourceFileOfNode(t).localJsxFactory||Ht):Ht},getAllAccessorDeclarations:function(t){var r=156===(t=e.getParseTreeNode(t,e.isGetOrSetAccessorDeclaration)).kind?155:156,n=e.getDeclarationOfKind(dn(t),r),i=n&&n.pos<t.pos?n:t,a=n&&n.pos<t.pos?t:n,o=156===t.kind?t:n,s=155===t.kind?t:n;return{firstAccessor:i,secondAccessor:a,setAccessor:o,getAccessor:s}}};function i(r,n){if(t&&function(r){if(!r.declarations)return!1;for(var n=r;;){var i=fn(n);if(!i)break;n=i}if(n.valueDeclaration&&273===n.valueDeclaration.kind&&512&n.flags)return!1;for(var a=0,o=r.declarations;a<o.length;a++){var s=o[a],c=e.getSourceFileOfNode(s);if(t.has(c.path))return!0}return!1}(r)){for(var i,a=0,o=r.declarations;a<o.length;a++){var s=o[a];if(s.symbol&&s.symbol.flags&n){var c=e.getSourceFileOfNode(s),u=t.get(c.path);if(!u)return;(i||(i=[])).push(u)}}return i}}}(),L=function(){return{typeToTypeNode:function(r,i,a,o){e.Debug.assert(void 0===i||0===(8&i.flags));var s=t(i,a,o),c=n(r,s),u=s.encounteredError?void 0:c;return u},indexInfoToIndexSignatureDeclaration:function(r,n,i,o,s){e.Debug.assert(void 0===i||0===(8&i.flags));var c=t(i,o,s),u=a(r,n,c),l=c.encounteredError?void 0:u;return l},signatureToSignatureDeclaration:function(r,n,i,a,s){e.Debug.assert(void 0===i||0===(8&i.flags));var c=t(i,a,s),u=o(r,n,c),l=c.encounteredError?void 0:u;return l},symbolToEntityName:function(r,n,i,a,o){e.Debug.assert(void 0===i||0===(8&i.flags));var s=t(i,a,o),c=h(r,s,n,!1),u=s.encounteredError?void 0:c;return u},symbolToExpression:function(r,n,i,a,o){e.Debug.assert(void 0===i||0===(8&i.flags));var s=t(i,a,o),c=function(t,r,n){var i=f(t,r,n);return function t(n,i){var a=m(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=Jn(o,r);0===i&&(r.flags^=16777216);var c=s.charCodeAt(0),u=e.isIdentifierStart(c,T);if(0===i||u){var l=e.setEmitFlags(e.createIdentifier(s,a),16777216);return l.symbol=o,i>0?e.createPropertyAccess(t(n,i-1),l):l}91===c&&(s=s.substring(1,s.length-1),c=s.charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?(d=e.createLiteral(s.substring(1,s.length-1).replace(/\\./g,function(e){return e.substring(1)}))).singleQuote=39===c:""+ +s===s&&(d=e.createLiteral(+s)),d||((d=e.setEmitFlags(e.createIdentifier(s,a),16777216)).symbol=o),e.createElementAccess(t(n,i-1),d)}(i,i.length-1)}(r,s,n),u=s.encounteredError?void 0:c;return u},symbolToTypeParameterDeclarations:function(r,n,i,a){e.Debug.assert(void 0===n||0===(8&n.flags));var o=t(n,i,a),s=_(r,o),c=o.encounteredError?void 0:s;return c},symbolToParameterDeclaration:function(r,n,i,a){e.Debug.assert(void 0===n||0===(8&n.flags));var o=t(n,i,a),s=d(r,o),c=o.encounteredError?void 0:s;return c},typeParameterToDeclaration:function(r,n,i,a){e.Debug.assert(void 0===n||0===(8&n.flags));var o=t(n,i,a),s=l(r,o),c=o.encounteredError?void 0:s;return c}};function t(t,r,n){return{enclosingDeclaration:t,flags:r,tracker:n&&n.trackSymbol?n:{trackSymbol:e.noop},encounteredError:!1,visitedSymbols:void 0,inferTypeParameters:void 0}}function n(t,r){p&&p.throwIfCancellationRequested&&p.throwIfCancellationRequested();var l=8388608&r.flags;if(r.flags&=-8388609,t){if(1&t.flags)return e.createKeywordTypeNode(119);if(2&t.flags)return e.createKeywordTypeNode(137);if(4&t.flags)return e.createKeywordTypeNode(134);if(8&t.flags)return e.createKeywordTypeNode(122);
1if(256&t.flags&&!(131072&t.flags)){var d=fn(t.symbol),f=h(d,r,67901928,!1),_=Ji(d)===t?f:e.createQualifiedName(f,e.symbolName(t.symbol));return e.createTypeReferenceNode(_,void 0)}if(272&t.flags){var m=h(t.symbol,r,67901928,!1);return e.createTypeReferenceNode(m,void 0)}if(32&t.flags)return e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(t.value),16777216));if(64&t.flags)return e.createLiteralTypeNode(e.createLiteral(t.value));if(128&t.flags)return"true"===t.intrinsicName?e.createTrue():e.createFalse();if(1024&t.flags){if(!(1048576&r.flags)){if(Nn(t.symbol,r.enclosingDeclaration))return g(t.symbol,r,67216319);r.tracker.reportInaccessibleUniqueSymbolError&&r.tracker.reportInaccessibleUniqueSymbolError()}return e.createTypeOperatorNode(141,e.createKeywordTypeNode(138))}if(2048&t.flags)return e.createKeywordTypeNode(105);if(4096&t.flags)return e.createKeywordTypeNode(140);if(8192&t.flags)return e.createKeywordTypeNode(95);if(16384&t.flags)return e.createKeywordTypeNode(131);if(512&t.flags)return e.createKeywordTypeNode(138);if(134217728&t.flags)return e.createKeywordTypeNode(135);if(32768&t.flags&&t.isThisType)return 4194304&r.flags&&(r.encounteredError||32768&r.flags||(r.encounteredError=!0),r.tracker.reportInaccessibleThisError&&r.tracker.reportInaccessibleThisError()),e.createThis();var v=e.getObjectFlags(t);if(4&v)return e.Debug.assert(!!(65536&t.flags)),function(t){var a=t.typeArguments||e.emptyArray;if(t.target===Fe){if(2&r.flags){var o=n(a[0],r);return e.createTypeReferenceNode("Array",[o])}var s=n(a[0],r);return e.createArrayTypeNode(s)}if(8&t.target.objectFlags){if(a.length>0){var c=i(a.slice(0,qo(t)),r);if(c&&c.length>0)return e.createTupleTypeNode(c)}return r.encounteredError||524288&r.flags?e.createTupleTypeNode([]):void(r.encounteredError=!0)}if(2048&r.flags&&t.symbol.valueDeclaration&&e.isClassLike(t.symbol.valueDeclaration)&&!Nn(t.symbol,r.enclosingDeclaration))return P(t);var u=t.target.outerTypeParameters,l=0,d=void 0;if(u)for(var f=u.length;l<f;){var p=l,_=Lo(u[l]);do{l++}while(l<f&&Lo(u[l])===_);if(!e.rangeEquals(u,a,p,l)){var m=i(a.slice(p,l),r),h=r.flags;r.flags|=16;var v=g(_,r,67901928,m);r.flags=h,d=d?F(d,v):v}}var y=void 0;if(a.length>0){var b=(t.target.typeParameters||e.emptyArray).length;y=i(a.slice(l,b),r)}var x=r.flags;r.flags|=16;var S=g(t.symbol,r,67901928,y);return r.flags=x,d?F(d,S):S}(t);if(32768&t.flags||3&v)return 32768&t.flags&&e.contains(r.inferTypeParameters,t)?e.createInferTypeNode(c(t,r,void 0)):4&r.flags&&32768&t.flags&&e.length(t.symbol.declarations)&&e.isTypeParameterDeclaration(t.symbol.declarations[0])&&s(t,r)&&!An(t.symbol,r.enclosingDeclaration)?e.createTypeReferenceNode(e.getGeneratedNameForNode(t.symbol.declarations[0].name,24),void 0):t.symbol?g(t.symbol,r,67901928):e.createTypeReferenceNode(e.createIdentifier("?"),void 0);if(!l&&t.aliasSymbol&&(16384&r.flags||An(t.aliasSymbol,r.enclosingDeclaration))){var y=i(t.aliasTypeArguments,r);return!xn(t.aliasSymbol.escapedName)||32&t.aliasSymbol.flags?g(t.aliasSymbol,r,67901928,y):e.createTypeReferenceNode(e.createIdentifier(""),y)}if(393216&t.flags){var b=131072&t.flags?function(e){for(var t=[],r=0,n=0;n<e.length;n++){var i=e[n];if(r|=i.flags,!(12288&i.flags)){if(384&i.flags){var a=128&i.flags?le:zi(i);if(131072&a.flags){var o=a.types.length;if(n+o<=e.length&&e[n+o-1]===a.types[o-1]){t.push(a),n+=o-1;continue}}}t.push(i)}}return 8192&r&&t.push(ie),4096&r&&t.push(re),t||e}(t.types):t.types,x=i(b,r);if(x&&x.length>0){var S=e.createUnionOrIntersectionTypeNode(131072&t.flags?168:169,x);return S}r.encounteredError||262144&r.flags||(r.encounteredError=!0)}else{if(48&v)return e.Debug.assert(!!(65536&t.flags)),P(t);if(524288&t.flags){var k=t.type,C=n(k,r);return e.createTypeOperatorNode(C)}if(1048576&t.flags){var E=n(t.objectType,r),C=n(t.indexType,r);return e.createIndexedAccessTypeNode(E,C)}if(2097152&t.flags){var T=n(t.checkType,r),w=r.inferTypeParameters;r.inferTypeParameters=t.root.inferTypeParameters;var D=n(t.extendsType,r);r.inferTypeParameters=w;var A=n(rc(t),r),N=n(nc(t),r);return e.createConditionalTypeNode(T,D,A,N)}if(4194304&t.flags)return n(t.typeVariable,r);e.Debug.fail("Should be unreachable.")}}else r.encounteredError=!0;function P(t){var n,i=t.symbol;if(i){var a=16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags;if(n=(a?"+":"")+u(i),kp(i.valueDeclaration)){var o=t===Tp(i)?67901928:67216319;return g(i,r,o)}if(32&i.flags&&!vi(i)&&!(204===i.valueDeclaration.kind&&2048&r.flags)||896&i.flags||function(){var t=!!(8192&i.flags)&&e.some(i.declarations,function(t){return e.hasModifier(t,32)}),a=!!(16&i.flags)&&(i.parent||e.forEach(i.declarations,function(e){return 273===e.parent.kind||239===e.parent.kind}));if(t||a)return(!!(4096&r.flags)||r.visitedSymbols&&r.visitedSymbols.has(n))&&(!(8&r.flags)||Nn(i,r.enclosingDeclaration))}())return g(i,r,67216319);if(r.visitedSymbols&&r.visitedSymbols.has(n)){var s=function(t){if(t.symbol&&2048&t.symbol.flags){var r=e.findAnce
1stor(t.symbol.declarations[0].parent,function(e){return 172!==e.kind});if(236===r.kind)return dn(r)}}(t);return s?g(s,r,67901928):e.createKeywordTypeNode(119)}r.visitedSymbols||(r.visitedSymbols=e.createMap()),r.visitedSymbols.set(n,!0);var c=O(t);return r.visitedSymbols.delete(n),c}return O(t)}function O(t){if(Na(t))return function(t){e.Debug.assert(!!(65536&t.flags));var i,a=t.declaration.readonlyToken?e.createToken(t.declaration.readonlyToken.kind):void 0,o=t.declaration.questionToken?e.createToken(t.declaration.questionToken.kind):void 0;i=Ea(t)?e.createTypeOperatorNode(n(Ta(t),r)):n(Sa(t),r);var s=c(xa(t),r,i),u=n(ka(t),r),l=e.createMappedTypeNode(a,s,o,u);return e.setEmitFlags(l,1)}(t);var i=Pa(t);if(!i.properties.length&&!i.stringIndexInfo&&!i.numberIndexInfo){if(!i.callSignatures.length&&!i.constructSignatures.length)return e.setEmitFlags(e.createTypeLiteralNode(void 0),1);if(1===i.callSignatures.length&&!i.constructSignatures.length){var s=i.callSignatures[0],u=o(s,162,r);return u}if(1===i.constructSignatures.length&&!i.callSignatures.length){var s=i.constructSignatures[0],u=o(s,163,r);return u}}var l=r.flags;r.flags|=4194304;var d=function(t){for(var i=[],s=0,c=t.callSignatures;s<c.length;s++){var u=c[s];i.push(o(u,157,r))}for(var l=0,d=t.constructSignatures;l<d.length;l++){var u=d[l];i.push(o(u,158,r))}if(t.stringIndexInfo){var f=2048&t.objectFlags?Fo(Q,t.stringIndexInfo.isReadonly,t.stringIndexInfo.declaration):t.stringIndexInfo;i.push(a(f,0,r))}t.numberIndexInfo&&i.push(a(t.numberIndexInfo,1,r));var p=t.properties;if(!p)return i;for(var _=0,m=p;_<m.length;_++){var g=m[_];if(2048&r.flags){if(4194304&g.flags)continue;24&e.getDeclarationModifierFlagsFromSymbol(g)&&r.tracker.reportPrivateInBaseOfClassExpression&&r.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(g.escapedName))}var v=2048&e.getCheckFlags(g)&&33554432&r.flags?Q:xi(g),y=r.enclosingDeclaration;if(r.enclosingDeclaration=void 0,1024&e.getCheckFlags(g)){var b=e.firstOrUndefined(g.declarations);if(r.tracker.trackSymbol&&ta(b)){var x=$m(b.name.expression),S=wr(x,x.escapedText,68264895,void 0,void 0,!0);S&&r.tracker.trackSymbol(S,y,67216319)}}var k=h(g,r,67216319,!0);r.enclosingDeclaration=y;var C=16777216&g.flags?e.createToken(55):void 0;if(8208&g.flags&&!Oa(v).length)for(var E=Za(v,0),T=0,w=E;T<w.length;T++){var u=w[T],D=o(u,152,r);D.name=k,D.questionToken=C,g.valueDeclaration&&e.setCommentRange(D,g.valueDeclaration),i.push(D)}else{var A=r.flags;r.flags|=2048&e.getCheckFlags(g)?33554432:0;var N=v?n(v,r):e.createKeywordTypeNode(119);r.flags=A;var P=Yp(g)?[e.createToken(132)]:void 0,O=e.createPropertySignature(P,k,C,N,void 0);g.valueDeclaration&&e.setCommentRange(O,g.valueDeclaration),i.push(O)}}return i.length?i:void 0}(i);r.flags=l;var f=e.createTypeLiteralNode(d);return e.setEmitFlags(f,1024&r.flags?0:1)}function F(t,r){if(e.isImportTypeNode(t)){var n=t.typeArguments;t.qualifier&&((e.isIdentifier(t.qualifier)?t.qualifier:t.qualifier.right).typeArguments=n),t.typeArguments=r.typeArguments;for(var i=M(r),a=0,o=i;a<o.length;a++){var s=o[a];t.qualifier=t.qualifier?e.createQualifiedName(t.qualifier,s):s}return t}var n=t.typeArguments;(e.isIdentifier(t.typeName)?t.typeName:t.typeName.right).typeArguments=n,t.typeArguments=r.typeArguments;for(var i=M(r),c=0,u=i;c<u.length;c++){var s=u[c];t.typeName=e.createQualifiedName(t.typeName,s)}return t}function M(t){for(var r=t.typeName,n=[];!e.isIdentifier(r);)n.unshift(r.right),r=r.left;return n.unshift(r),n}}function i(t,r){if(e.some(t)){for(var i=[],a=0,o=t;a<o.length;a++){var s=o[a],c=n(s,r);c&&i.push(c)}return i}}function a(t,r,i){var a=e.getNameFromIndexInfo(t)||"x",o=e.createKeywordTypeNode(0===r?137:134),s=e.createParameter(void 0,void 0,void 0,a,void 0,o,void 0),c=t.type?n(t.type,i):n(Q,i);return t.type||2097152&i.flags||(i.encounteredError=!0),e.createIndexSignature(void 0,t.isReadonly?[e.createToken(132)]:void 0,[s],c)}function o(t,r,i){var a,o;32&i.flags&&t.target&&t.mapper&&t.target.typeParameters?o=t.target.typeParameters.map(function(e){return n(jc(e,t.mapper),i)}):a=t.typeParameters&&t.typeParameters.map(function(e){return l(e,i)});var s,c=t.parameters.map(function(e){return d(e,i,154===r)});if(t.thisParameter){var u=d(t.thisParameter,i);c.unshift(u)}var f=xo(t);if(f){var p=1===f.kind?e.setEmitFlags(e.createIdentifier(f.parameterName),16777216):e.createThisTypeNode(),_=n(f.type,i);s=e.createTypePredicateNode(p,_)}else{var m=So(t);s=m&&n(m,i)}return 256&i.flags?s&&119===s.kind&&(s=void 0):s||(s=e.createKeywordTypeNode(119)),e.createSignatureDeclaration(r,a,c,s,o)}function s(e,t){return!!wr(t.enclosingDeclaration,e.symbol.escapedName,67901928,void 0,e.symbol.escapedName,!1)}function c(t,r,i){var a=r.flags;r.flags&=-513;var o=4&r.flags&&t.symbol.declarations[0]&&e.isTypeParameterDeclaration(t.symbol.declarations[0])&&s(t,r),c=o?e.getGeneratedNameForNode(t.symbol.declarations[0].name,24):h(t.symbol,r,67901928,!0),u=Wa(t),l=u&&n(u,r);return r.flags=a,e.createTypeParameterDeclaration(c,i,l)}function l(e,t,r){void 0===r&&(r=Io(e));var i=r&&n(r,t);return c(e,t,i)}function d(t,r,i){var a=e.getDeclarationOfKind(t,148);a||mr(t)||(a=e.getDeclarationOfKind(t,292));var o=xi(t);a&&Lg(a)&&(o=qu(o));var s=n(o,r),c=!(8192&r.flags)&&i&&a&&a.modifiers&&a.modifiers.map(e.getSynthesizedClone),u=a?e.isRestParameter(a):t.isRestParameter,l=u?e.createToken(24):void 0,d=a&&a.name?71===a.name.kind?e.setEmitFlags(e.getSynthesizedClone(a.name),16777216):145===a.name.kind?e.setEmitFlags(e.getSynthesizedClone(a.name.right),16777216):function t(r){var n=e.visitEachChild(r,t,e.nullTransformationContext,void 0,t),i=e.nodeIsSynthesized(n)?n:e.getSynthesizedClone(n);return 181===i.kind&&(i.initializer=void 0),e.setEmitFlags(i,16777217)}(a.name):e.symbolName(t),f=a&&uo(a)?e.createToken(55):void 0,p=e.createParameter(void 0,c,l,d,f,s,void 0);return p}function f(t,r,n,i){var a;r.tracker.trackSymbol(t,r.enclosingDeclaration,n);var o=262144&t.flags;return!o&&(r.enclosingDeclaration||64&r.flags)?(a=function t(n,a,o){var s,c=wn(n,r.enclosingDeclaration,a,!!(128&r.flags));if(!c||Dn(c[0],r.enclosingDeclaration,1===c.length?a:Tn(a))){var u=pn(c?c[0]:n);
1if(u){var l=t(u,Tn(a),!1);l&&(s=u,c=l.concat(c||[_n(u,n)||n]))}}return c||(!o&&(!i&&!s&&e.forEach(n.declarations,Fn)||6144&n.flags)?void 0:[n])}(t,n,!0),e.Debug.assert(a&&a.length>0)):a=[t],a}function _(t,r){var n,i=Vm(t);return 524384&i.flags&&(n=e.createNodeArray(e.map(Di(t),function(e){return l(e,r)}))),n}function m(t,r,n){e.Debug.assert(t&&0<=r&&r<t.length);var a,o=t[r];if(512&n.flags&&r<t.length-1){var s=o,c=t[r+1];if(1&e.getCheckFlags(c)){var u=function(t){return e.concatenate(wi(t),Di(t))}(2097152&s.flags?Jr(s):s);a=i(e.map(u,c.mapper),n)}else a=_(o,n)}return a}function g(t,n,i,a){var o=f(t,n,i,!(16384&n.flags));n.flags|=16777216;var s=Jn(o[0],n);n.flags^=16777216;var c=67216319===i;if(r.test(s)){var u=o.length>1?y(o,o.length-1,1):void 0,l=a||m(o,0,n),d=e.createLiteralTypeNode(e.createLiteral(s.substring(1,s.length-1)));if(!u||e.isEntityName(u)){if(u){var p=e.isIdentifier(u)?u:u.right;p.typeArguments=void 0}return e.createImportTypeNode(d,u,l,c)}var _=function t(r){return e.isIndexedAccessTypeNode(r.objectType)?t(r.objectType):r}(u),g=_.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(d,g,l,c),_.indexType)}var h=y(o,o.length-1,0);if(e.isIndexedAccessTypeNode(h))return h;if(c)return e.createTypeQueryNode(h);var p=e.isIdentifier(h)?h:h.right,v=p.typeArguments;return p.typeArguments=void 0,e.createTypeReferenceNode(h,v);function y(t,r,i){var o=r===t.length-1?a:m(t,r,n),s=t[r];0===r&&(n.flags|=16777216);var c=Jn(s,n);0===r&&(n.flags^=16777216);var u=t[r-1];if(!(16&n.flags)&&u&&oa(u)&&oa(u).get(s.escapedName)===s){var l=y(t,r-1,i);return e.isIndexedAccessTypeNode(l)?e.createIndexedAccessTypeNode(l,e.createLiteralTypeNode(e.createLiteral(c))):e.createIndexedAccessTypeNode(e.createTypeReferenceNode(l,o),e.createLiteralTypeNode(e.createLiteral(c)))}var d=e.setEmitFlags(e.createIdentifier(c,o),16777216);if(d.symbol=s,r>i){var l=y(t,r-1,i);return e.isEntityName(l)?e.createQualifiedName(l,d):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return d}}function h(t,r,n,i){var a=f(t,r,n);return!i||1===a.length||r.encounteredError||65536&r.flags||(r.encounteredError=!0),function t(n,i){var a=m(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=Jn(o,r);0===i&&(r.flags^=16777216);var c=e.setEmitFlags(e.createIdentifier(s,a),16777216);return c.symbol=o,i>0?e.createQualifiedName(t(n,i-1),c):c}(a,a.length-1)}}(),R=_r(4,"undefined");R.declarations=[];var j,B=_r(4,"arguments"),z=_r(4,"require"),q=_r(4,"module"),U={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+b},getTypeCount:function(){return y},isUndefinedSymbol:function(e){return e===R},isArgumentsSymbol:function(e){return e===B},isUnknownSymbol:function(e){return e===Y},getMergedSymbol:ln,getDiagnostics:dg,getGlobalDiagnostics:function(){return fg(),Ut.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(t,r){return(r=e.getParseTreeNode(r))?function(t,r){if(t=t.exportSymbol||t,71===r.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),e.isExpressionNode(r)&&!e.isAssignmentTarget(r))){var n=b_(r);if(mn(kr(r).resolvedSymbol)===t)return n}return xi(t)}(t,r):te},getSymbolsOfParameterPropertyDeclaration:function(t,r){return t=e.getParseTreeNode(t,e.isParameter),e.Debug.assert(void 0!==t,"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."),function(t,r){var n=t.parent,i=t.parent.parent,a=Er(n.locals,r,67216319),o=Er(oa(i.symbol),r,67216319);if(a&&o)return[a,o];e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(t,e.escapeLeadingUnderscores(r))},getDeclaredTypeOfSymbol:Ji,getPropertiesOfType:Ia,getPropertyOfType:function(t,r){return $a(t,e.escapeLeadingUnderscores(r))},getIndexInfoOfType:ro,getSignaturesOfType:Za,getIndexTypeOfType:no,getBaseTypes:Ii,getBaseTypeOfLiteralType:Pu,getWidenedType:Yu,getTypeFromTypeNode:function(t){return(t=e.getParseTreeNode(t,e.isTypeNode))?xc(t):te},getParameterType:Lp,getReturnTypeOfSignature:So,getNullableType:zu,getNonNullableType:Uu,typeToTypeNode:L.typeToTypeNode,indexInfoToIndexSignatureDeclaration:L.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:L.signatureToSignatureDeclaration,symbolToEntityName:L.symbolToEntityName,symbolToExpression:L.symbolToExpression,symbolToTypeParameterDeclarations:L.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:L.symbolToParameterDeclaration,t
1ypeParameterToDeclaration:L.typeParameterToDeclaration,getSymbolsInScope:function(t,r){return(t=e.getParseTreeNode(t))?function(t,r){if(8388608&t.flags)return[];var n=e.createSymbolTable(),i=!1;return function(){for(;t;){switch(t.locals&&!Cr(t)&&o(t.locals,r),t.kind){case 238:o(dn(t).exports,2623475&r);break;case 237:o(dn(t).exports,8&r);break;case 204:var n=t.name;n&&a(t.symbol,r);case 234:case 235:i||o(oa(dn(t)),67901928&r);break;case 191:var s=t.name;s&&a(t.symbol,r)}e.introducesArgumentsExoticObject(t)&&a(B,r),i=e.hasModifier(t,32),t=t.parent}o(gt,r)}(),oo(n);function a(t,r){if(e.getCombinedLocalAndExportSymbolFlags(t)&r){var i=t.escapedName;n.has(i)||n.set(i,t)}}function o(e,t){t&&e.forEach(function(e){a(e,t)})}}(t,r):[]},getSymbolAtLocation:function(t){return(t=e.getParseTreeNode(t))?yg(t):void 0},getShorthandAssignmentValueSymbol:function(t){return(t=e.getParseTreeNode(t))?function(e){if(e&&270===e.kind)return Xr(e.name,69313471)}(t):void 0},getExportSpecifierLocalTargetSymbol:function(t){return(t=e.getParseTreeNode(t,e.isExportSpecifier))?function(e){return e.parent.parent.moduleSpecifier?Br(e.parent.parent,e):Xr(e.propertyName||e.name,70107135)}(t):void 0},getExportSymbolOfSymbol:function(e){return ln(e.exportSymbol||e)},getTypeAtLocation:function(t){return(t=e.getParseTreeNode(t))?bg(t):te},getPropertySymbolOfDestructuringAssignment:function(t){return(t=e.getParseTreeNode(t,e.isIdentifier))?function(t){var r=function t(r){if(e.Debug.assert(183===r.kind||182===r.kind),221===r.parent.kind){var n=Em(r.parent.expression,r.parent.awaitModifier);return s_(r,n||te)}if(199===r.parent.kind){var n=b_(r.parent.right);return s_(r,n||te)}if(269===r.parent.kind){var i=t(r.parent.parent);return a_(i||te,r.parent)}e.Debug.assert(182===r.parent.kind);var a=t(r.parent),o=Tm(a||te,r.parent,!1,!1)||te;return o_(r.parent,a,r.parent.elements.indexOf(r),o||te)}(t.parent.parent);return r&&$a(r,t.escapedText)}(t):void 0},signatureToString:function(t,r,n,i){return Rn(t,e.getParseTreeNode(r),n,i)},typeToString:function(t,r,n){return jn(t,e.getParseTreeNode(r),n)},symbolToString:function(t,r,n,i){return Ln(t,e.getParseTreeNode(r),n,i)},typePredicateToString:function(t,r,n){return zn(t,e.getParseTreeNode(r),n)},writeSignature:function(t,r,n,i,a){return Rn(t,e.getParseTreeNode(r),n,i,a)},writeType:function(t,r,n,i){return jn(t,e.getParseTreeNode(r),n,i)},writeSymbol:function(t,r,n,i,a){return Ln(t,e.getParseTreeNode(r),n,i,a)},writeTypePredicate:function(t,r,n,i){return zn(t,e.getParseTreeNode(r),n,i)},getSymbolDisplayBuilder:function(){return{buildTypeDisplay:function(e,r,n,i){jn(e,n,i,t(r))},buildSymbolDisplay:function(e,r,n,i,a){Ln(e,n,i,4|a,t(r))},buildSignatureDisplay:function(e,r,n,i,a){Rn(e,n,i,a,t(r))},buildIndexSignatureDisplay:function(r,n,i,a,o){var s=L.indexInfoToIndexSignatureDeclaration(r,i,a,3112960|Bn(o),n),c=e.createPrinter({removeComments:!0});c.writeNode(4,s,e.getSourceFileOfNode(e.getParseTreeNode(a)),t(n))},buildParameterDisplay:function(r,n,i,a){var o=L.symbolToParameterDeclaration(r,i,3112960|Bn(a),n),s=e.createPrinter({removeComments:!0});s.writeNode(4,o,e.getSourceFileOfNode(e.getParseTreeNode(i)),t(n))},buildTypeParameterDisplay:function(r,n,i,a){var o=L.typeParameterToDeclaration(r,i,3121152|Bn(a),n),s=e.createPrinter({removeComments:!0});s.writeNode(4,o,e.getSourceFileOfNode(e.getParseTreeNode(i)),t(n))},buildTypePredicateDisplay:function(e,r,n,i){zn(e,n,i,t(r))},buildTypeParameterDisplayFromSymbol:function(r,n,i,a){var o=L.symbolToTypeParameterDeclarations(r,i,3112960|Bn(a),n),s=e.createPrinter({removeComments:!0});s.writeList(26896,o,e.getSourceFileOfNode(e.getParseTreeNode(i)),t(n))},buildDisplayForParametersAndDelimiters:function(r,n,i,a,o){var s=e.createPrinter({removeComments:!0}),c=3121152|Bn(o),u=r?[L.symbolToParameterDeclaration(r,a,c)]:[],l=e.createNodeArray(u.concat(e.map(n,function(e){return L.symbolToParameterDeclaration(e,a,c)})));s.writeList(1296,l,e.getSourceFileOfNode(e.getParseTreeNode(a)),t(i))},buildDisplayForTypeParametersAndDelimiters:function(r,n,i,a){var o=e.createPrinter({removeComments:!0}),s=e.createNodeArray(e.map(r,function(e){return L.typeParameterToDeclaration(e,i,Bn(a))}));o.writeList(26896,s,e.getSourceFileOfNode(e.getParseTreeNode(i)),t(n))},buildReturnTypeDisplay:function(r,n,i,a){n.writePunctuation(":"),n.writeSpace(" ");var o=xo(r);if(o)return zn(o,i,a,t(n));var s=L.typeToTypeNode(So(r),i,3112960|Bn(a),n),c=e.createPrinter({removeComments:!0});c.writeNode(4,s,e.getSourceFileOfNode(e.getParseTreeNode(i)),t(n))}};function t(t){return{write:e.noop,writeTextOfNode:e.noop,writeLine:e.noop,increaseIndent:function(){return t.increaseIndent()},decreaseIndent:function(){return t.decreaseIndent()},getText:function(){return""}
1,rawWrite:e.noop,writeLiteral:function(e){return t.writeStringLiteral(e)},getTextPos:function(){return 0},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},clear:function(){return t.clear()},writeKeyword:function(e){return t.writeKeyword(e)},writeOperator:function(e){return t.writeOperator(e)},writePunctuation:function(e){return t.writePunctuation(e)},writeSpace:function(e){return t.writeSpace(e)},writeStringLiteral:function(e){return t.writeStringLiteral(e)},writeParameter:function(e){return t.writeParameter(e)},writeProperty:function(e){return t.writeProperty(e)},writeSymbol:function(e,r){return t.writeSymbol(e,r)},trackSymbol:function(e,r,n){return t.trackSymbol&&t.trackSymbol(e,r,n)},reportInaccessibleThisError:function(){return t.reportInaccessibleThisError&&t.reportInaccessibleThisError()},reportPrivateInBaseOfClassExpression:function(e){return t.reportPrivateInBaseOfClassExpression&&t.reportPrivateInBaseOfClassExpression(e)},reportInaccessibleUniqueSymbolError:function(){return t.reportInaccessibleUniqueSymbolError&&t.reportInaccessibleUniqueSymbolError()}}}},getAugmentedPropertiesOfType:Sg,getRootSymbols:function t(r){var n=function(t){if(6&e.getCheckFlags(t))return e.mapDefined(Sr(t).containingType.types,function(e){return $a(e,t.escapedName)});if(33554432&t.flags){var r=t,n=r.leftSpread,i=r.rightSpread,a=r.syntheticOrigin;return n?[n,i]:a?[a]:e.singleElementArray(function(e){for(var t,r=e;r=Sr(r).target;)t=r;return t}(t))}}(r);return n?e.flatMap(n,t):[r]},getContextualType:function(t){return(t=e.getParseTreeNode(t,e.isExpression))?qd(t):void 0},getContextualTypeForArgumentAtIndex:function(t,r){return(t=e.getParseTreeNode(t,e.isCallLikeExpression))&&Pd(t,r)},getContextualTypeForJsxAttribute:function(t){return(t=e.getParseTreeNode(t,e.isJsxAttributeLike))&&jd(t)},isContextSensitive:qc,getFullyQualifiedName:Gr,getResolvedSignature:function(t,r,n){t=e.getParseTreeNode(t,e.isCallLikeExpression),j=n;var i=t?Sp(t,r):void 0;return j=void 0,i},getConstantValue:function(t){return(t=e.getParseTreeNode(t,zg))?qg(t):void 0},isValidPropertyAccess:function(t,r){return!!(t=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedNameOrImportTypeNode))&&function(e,t){switch(e.kind){case 184:return Uf(e,e.expression,t,Yu(S_(e.expression)));case 145:return Uf(e,e.left,t,Yu(S_(e.left)));case 178:return Uf(e,e,t,xc(e))}}(t,e.escapeLeadingUnderscores(r))},isValidPropertyAccessForCompletions:function(t,r,n){return!!(t=e.getParseTreeNode(t,e.isPropertyAccessExpression))&&function(t,r,n){return Uf(t,178===t.kind?t:t.expression,n.escapedName,r)&&(!(8192&n.flags)||function(t,r){var n=Za(Uu(yi(t)),0);return e.Debug.assert(0!==n.length),n.some(function(e){var t=yo(e);return!t||Xc(r,function(e,t,r){if(!e.typeParameters)return t;var n=tl(e.typeParameters,e,0);return ll(n.inferences,r,t),jc(t,To(e,vl(n)))}(e,t,r))})}(n,r))}(t,r,n)},getSignatureFromDeclaration:function(t){return(t=e.getParseTreeNode(t,e.isFunctionLike))?go(t):void 0},isImplementationOfOverload:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?Ig(r):void 0},getImmediateAliasedSymbol:function(t){e.Debug.assert(0!==(2097152&t.flags),"Should only get Alias here.");var r=Sr(t);if(!r.immediateTarget){var n=Ir(t);e.Debug.assert(!!n),r.immediateTarget=qr(n,!0)}return r.immediateTarget},getAliasedSymbol:Jr,getEmitResolver:function(e,t){return dg(e,t),I},getExportsOfModule:nn,getExportsAndPropertiesOfModule:function(t){var r=nn(t),n=en(t);return n!==t&&e.addRange(r,Ia(xi(n))),r},getSymbolWalker:e.createGetSymbolWalker(ko,xo,So,Ii,Pa,xi,yl,to,Io,$m),getAmbientModules:function(){return Ae||(Ae=[],gt.forEach(function(e,t){r.test(t)&&Ae.push(e)})),Ae},getAllAttributesTypeFromJsxOpeningLikeElement:function(t){return(t=e.getParseTreeNode(t,e.isJsxOpeningLikeElement))?function(e){return af(e.tagName)?yf(e):bf(e,!0)}(t):void 0},getJsxIntrinsicTagNamesAt:function(r){var n=uf(t.IntrinsicElements,r);return n?Ia(n):e.emptyArray},isOptionalParameter:function(t){return!!(t=e.getParseTreeNode(t,e.isParameter))&&uo(t)},tryGetMemberInModuleExports:function(t,r){return an(e.escapeLeadingUnderscores(t),r)},tryGetMemberInModuleExportsAndProperties:function(t,r){return function(e,t){var r=an(e,t);if(r)return r;var n=en(t);if(n!==t){var i=xi(n);return 16382&i.flags?void 0:$a(i,e)}}(e.escapeLeadingUnderscores(t),r)},tryFindAmbientModuleWithoutAugmentations:function(e){return co(e,!1)},getApparentType:Ka,getUnionType:Fs,createAnonymousType:Cn,createSignature:la,createSymbol:_r,createIndexInfo:Fo,getAnyType:function(){return Q},getStringType:function(){return oe},getNumberType:function(){return se},createPromiseType:zp,createArrayType:ks,getBooleanType:function(){return le},getVoidType:function(){return fe},getUndefinedType:function(){return re},getNullType:function(){return ie},getESSymbolType:function(){return de},getNeverType:function(){return pe}
1,isSymbolAccessible:Pn,isArrayLikeType:Eu,getAllPossiblePropertiesOfTypes:function(t){var r=Fs(t);if(!(131072&r.flags))return Sg(r);for(var n=e.createSymbolTable(),i=0,a=t;i<a.length;i++)for(var o=a[i],s=0,c=Sg(o);s<c.length;s++){var u=c[s].escapedName;if(!n.has(u)){var l=Ga(r,u);l&&n.set(u,l)}}return e.arrayFrom(n.values())},getSuggestionForNonexistentProperty:function(e,t){return Lf(e,t)},getSuggestionForNonexistentSymbol:function(t,r,n){return Rf(t,e.escapeLeadingUnderscores(r),n)},getSuggestionForNonexistentModule:function(e,t){return jf(e,t)},getBaseConstraintOfType:qa,getDefaultFromTypeParameter:function(e){return e&&32768&e.flags?Wa(e):void 0},resolveName:function(t,r,n,i){return wr(r,e.escapeLeadingUnderscores(t),n,void 0,void 0,!1,i)},getJsxNamespace:function(t){return e.unescapeLeadingUnderscores(dr(t))},getAccessibleSymbolChain:wn,getTypePredicateOfSignature:xo,resolveExternalModuleSymbol:en,tryGetThisTypeAt:function(t){return(t=e.getParseTreeNode(t))&&xd(t)},getTypeArgumentConstraint:function(t){return(t=e.getParseTreeNode(t,e.isTypeNode))&&function(t){var r=e.tryCast(t.parent,e.isTypeReferenceType);if(r){var n=I_(r),i=Ra(n[r.typeArguments.indexOf(t)]);return i&&jc(i,Tc(n,F_(r,n)))}}(t)},getSuggestionDiagnostics:function(t){return(Vt.get(t.fileName)||e.emptyArray).concat(function(){if(t.isDeclarationFile)return e.emptyArray;cg(t);var r=[];return e.Debug.assert(!!(1&kr(t).flags)),rm(lg(t),function(t,n){ug(t)||r.push(o({},n,{category:e.DiagnosticCategory.Suggestion}))}),r}())},runWithCancellationToken:function(e,t){try{return p=e,t(U)}finally{p=void 0}}},V=[],J=e.createMap(),H=e.createMap(),W=e.createMap(),K=e.createMap(),G=[],X=e.createMap(),Y=_r(4,"unknown"),$=_r(0,"__resolving__"),Q=yn(1,"any"),Z=yn(1,"any"),ee=yn(1,"any"),te=yn(1,"unknown"),re=yn(4096,"undefined"),ne=A?re:yn(16781312,"undefined"),ie=yn(8192,"null"),ae=A?ie:yn(16785408,"null"),oe=yn(2,"string"),se=yn(4,"number"),ce=yn(128,"true"),ue=yn(128,"false"),le=function(e){var t=Fs(e);return t.flags|=8,t.intrinsicName="boolean",t}([ce,ue]),de=yn(512,"symbol"),fe=yn(2048,"void"),pe=yn(16384,"never"),_e=yn(16384,"never"),me=yn(16384,"never"),ge=yn(134217728,"object"),he=Fs([oe,se,de]),ve=M?oe:he,ye=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0),be=_r(2048,"__type");be.members=e.createSymbolTable();var xe=Cn(be,k,e.emptyArray,e.emptyArray,void 0,void 0),Se=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0);Se.instantiations=e.createMap();var ke=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0);ke.flags|=67108864;var Ce=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0),Ee=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0),Te=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0),we=vn(32768),De=vn(32768);De.constraint=we;var Ae,Ne,Pe,Oe,Fe,Me,Ie,Le,Re,je,Be,ze,qe,Ue,Ve,Je,He,We,Ke,Ge,Xe,Ye,$e,Qe,Ze,et,tt,rt,nt,it,at,ot,st=vn(32768),ct=fo("<<unresolved>>",0,Q),ut=la(void 0,void 0,void 0,e.emptyArray,Q,void 0,0,!1,!1),lt=la(void 0,void 0,void 0,e.emptyArray,te,void 0,0,!1,!1),dt=la(void 0,void 0,void 0,e.emptyArray,Q,void 0,0,!1,!1),ft=la(void 0,void 0,void 0,e.emptyArray,_e,void 0,0,!1,!1),pt=[dt],_t=Fo(oe,!0),mt=Fo(Q,!1),gt=e.createSymbolTable(),ht=e.createMap(),vt=e.createMap(),yt=0,bt=0,xt=0,St=!1,kt=vc(""),Ct=vc(0),Et=[],Tt=[],wt=[],Dt=0,At=10,Nt=[],Pt=[],Ot=[],Ft=[],Mt=[],It=[],Lt=[],Rt=[],jt=[],Bt=[],zt=[],qt=[],Ut=e.createDiagnosticCollection(),Vt=e.createMultiMap();!function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBoolean=4]="TypeofEQBoolean",e[e.TypeofEQSymbol=8]="TypeofEQSymbol",e[e.TypeofEQObject=16]="TypeofEQObject",e[e.TypeofEQFunction=32]="TypeofEQFunction",e[e.TypeofEQHostObject=64]="TypeofEQHostObject",e[e.TypeofNEString=128]="TypeofNEString",e[e.TypeofNENumber=256]="TypeofNENumber",e[e.TypeofNEBoolean=512]="TypeofNEBoolean",e[e.TypeofNESymbol=1024]="TypeofNESymbol",e[e.TypeofNEObject=2048]="TypeofNEObject",e[e.TypeofNEFunction=4096]="TypeofNEFunction",e[e.TypeofNEHostObject=8192]="TypeofNEHostObject",e[e.EQUndefined=16384]="EQUndefined",e[e.EQNull=32768]="EQNull",e[e.EQUndefinedOrNull=65536]="EQUndefinedOrNull",e[e.NEUndefined=131072]="NEUndefined",e[e.NENull=262144]="NENull",e[e.NEUndefinedOrNull=524288]="NEUndefinedOrNull",e[e.Truthy=1048576]="Truthy",e[e.Falsy=2097152]="Falsy",e[e.All=4194303]="All",e[e.BaseStringStrictFacts=933633]="BaseStringStrictFacts",e[e.BaseStringFacts=3145473]="BaseStringFacts",e[e.StringStrictFacts=4079361]="StringStrictFacts",e[e.StringFacts=4194049]="StringFacts",e[e.EmptyStringStrictFacts=3030785]="EmptyStringStrictFacts",e[e.EmptyStringFacts=3145473]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=1982209]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=4194049]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=933506]="BaseNumberStrictFacts",e[e.BaseNumberFacts=3145346]="BaseNumberFacts",e[e.NumberStrictFacts=4079234]="NumberStrictFacts",e[e.NumberFacts=4193922]="NumberFacts",e[e.ZeroStrictFacts=3030658]="ZeroStrictFacts",e[e.ZeroFacts=3145346]="ZeroFacts",e[e.NonZeroStrictFacts=1982082]="NonZeroStrictFacts",e[e.NonZeroFacts=4193922]="NonZeroFacts",e[e.BaseBooleanStrictFacts=933252]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=3145092]="BaseBooleanFacts",e[e.BooleanStrictFacts=4078980]="BooleanStrictFacts",e[e.BooleanFacts=4193
1668]="BooleanFacts",e[e.FalseStrictFacts=3030404]="FalseStrictFacts",e[e.FalseFacts=3145092]="FalseFacts",e[e.TrueStrictFacts=1981828]="TrueStrictFacts",e[e.TrueFacts=4193668]="TrueFacts",e[e.SymbolStrictFacts=1981320]="SymbolStrictFacts",e[e.SymbolFacts=4193160]="SymbolFacts",e[e.ObjectStrictFacts=1972176]="ObjectStrictFacts",e[e.ObjectFacts=4184016]="ObjectFacts",e[e.FunctionStrictFacts=1970144]="FunctionStrictFacts",e[e.FunctionFacts=4181984]="FunctionFacts",e[e.UndefinedFacts=2457472]="UndefinedFacts",e[e.NullFacts=2340752]="NullFacts"}(ot||(ot={}));var Jt,Ht,Wt,Kt,Gt,Xt,Yt,$t,Qt,Zt=e.createMapFromTemplate({string:1,number:2,boolean:4,symbol:8,undefined:16384,object:16,function:32}),er=e.createMapFromTemplate({string:128,number:256,boolean:512,symbol:1024,undefined:131072,object:2048,function:4096}),tr=e.createMapFromTemplate({string:oe,number:se,boolean:le,symbol:de,undefined:re}),rr=Fs(e.arrayFrom(Zt.keys(),vc)),nr=e.createMap(),ir=e.createMap(),ar=e.createMap(),or=e.createMap(),sr=e.createMap(),cr=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType",e[e.ResolvedBaseConstraint=4]="ResolvedBaseConstraint"}(Wt||(Wt={})),function(e){e[e.Normal=0]="Normal",e[e.SkipContextSensitive=1]="SkipContextSensitive",e[e.Inferential=2]="Inferential",e[e.Contextual=3]="Contextual"}(Kt||(Kt={})),function(e){e[e.None=0]="None",e[e.Bivariant=1]="Bivariant",e[e.Strict=2]="Strict"}(Gt||(Gt={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(Xt||(Xt={})),function(e){e[e.None=0]="None",e[e.Source=1]="Source",e[e.Target=2]="Target",e[e.Both=3]="Both"}(Yt||(Yt={})),function(e){e.resolvedExports="resolvedExports",e.resolvedMembers="resolvedMembers"}($t||($t={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(Qt||(Qt={}));var ur=e.createSymbolTable();ur.set(R.escapedName,R);var lr=e.and(ig,function(t){return!e.isAccessor(t)});return function(){for(var t=0,r=n.getSourceFiles();t<r.length;t++){var i=r[t];e.bindSourceFile(i,E)}for(var a,o=0,s=n.getSourceFiles();o<s.length;o++){var c=s[o];if(e.isExternalOrCommonJsModule(c)||br(gt,c.locals),c.patternAmbientModules&&c.patternAmbientModules.length&&(Ne=e.concatenate(Ne,c.patternAmbientModules)),c.moduleAugmentations.length&&(a||(a=[])).push(c.moduleAugmentations),c.symbol&&c.symbol.globalExports){var u=c.symbol.globalExports;u.forEach(function(e,t){gt.has(t)||gt.set(t,e)})}}if(a)for(var l=0,d=a;l<d.length;l++)for(var f=d[l],p=0,_=f;p<_.length;p++){var m=_[p];e.isGlobalScopeAugmentation(m.parent)&&xr(m)}if(function(t,r,n){r.forEach(function(r,i){var a=t.get(i);a?e.forEach(a.declarations,function(t,r){return function(n){return Ut.add(e.createDiagnosticForNode(n,r,t))}}(e.unescapeLeadingUnderscores(i),n)):t.set(i,r)})}(gt,ur,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),Sr(R).type=ne,Sr(B).type=os("IArguments",0,!0),Sr(Y).type=te,Fe=os("Array",1,!0),Pe=os("Object",0,!0),Oe=os("Function",0,!0),Ie=os("String",0,!0),Le=os("Number",0,!0),Re=os("Boolean",0,!0),je=os("RegExp",0,!0),ze=ks(Q),(qe=ks(Z))===ye&&(qe=Cn(void 0,k,e.emptyArray,e.emptyArray,void 0,void 0)),Me=hs("ReadonlyArray",1),Ue=Me?vs(Me,[Q]):ze,Be=hs("ThisType",1),a)for(var g=0,h=a;g<h.length;g++)for(var f=h[g],v=0,y=f;v<y.length;v++){var m=y[v];e.isGlobalScopeAugmentation(m.parent)||xr(m)}}(),U;function dr(t){if(t){var r=e.getSourceFileOfNode(t);if(r){if(r.localJsxNamespace)return r.localJsxNamespace;var n=r.pragmas.get("jsx");if(n){var i=e.isArray(n)?n[0]:n;if(r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,T),r.localJsxFactory)return r.localJsxNamespace=$m(r.localJsxFactory).escapedText}}}return Jt||(Jt="React",E.jsxFactory?(Ht=e.parseIsolatedEntityName(E.jsxFactory,T))&&(Jt=$m(Ht).escapedText):E.reactNamespace&&(Jt=e.escapeLeadingUnderscores(E.reactNamespace))),Jt}function fr(t,r,n,i,a,o){var s=t?e.createDiagnosticForNode(t,r,n,i,a,o):e.createCompilerDiagnostic(r,n,i,a,o);Ut.add(s)}
1function pr(t,r,n,i,a,s,c){!function(t,r){t?Ut.add(r):Vt.add(r.file.fileName,o({},r,{category:e.DiagnosticCategory.Suggestion}))}(t,"message"in n?e.createDiagnosticForNode(r,n,i,a,s,c):e.createDiagnosticForNodeFromMessageChain(r,n))}function _r(e,t,r){b++;var n=new g(33554432|e,t);return n.checkFlags=r||0,n}function mr(e){return 0!==(33554432&e.flags)}function gr(e){var t=0;return 2&e&&(t|=67216319),1&e&&(t|=67216318),4&e&&(t|=0),8&e&&(t|=68008959),16&e&&(t|=67215791),32&e&&(t|=68008383),64&e&&(t|=67901832),256&e&&(t|=68008191),128&e&&(t|=68008831),512&e&&(t|=67215503),8192&e&&(t|=67208127),32768&e&&(t|=67150783),65536&e&&(t|=67183551),262144&e&&(t|=67639784),524288&e&&(t|=67901928),2097152&e&&(t|=2097152),t}function hr(e,t){t.mergeId||(t.mergeId=a,a++),Nt[t.mergeId]=e}function vr(t){var r=_r(t.flags,t.escapedName);return r.declarations=t.declarations?t.declarations.slice():[],r.parent=t.parent,t.valueDeclaration&&(r.valueDeclaration=t.valueDeclaration),t.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),t.members&&(r.members=e.cloneMap(t.members)),t.exports&&(r.exports=e.cloneMap(t.exports)),hr(r,t),r}function yr(t,r){if(!(t.flags&gr(r.flags))||67108864&(r.flags|t.flags)){var n=t.valueDeclaration;if(e.Debug.assert(!!(33554432&t.flags)),512&r.flags&&512&t.flags&&t.constEnumOnlyModule&&!r.constEnumOnlyModule&&(t.constEnumOnlyModule=!1),t.flags|=r.flags,r.valueDeclaration&&(!t.valueDeclaration||238===t.valueDeclaration.kind&&238!==r.valueDeclaration.kind)&&(t.valueDeclaration=r.valueDeclaration),e.addRange(t.declarations,r.declarations),r.members&&(t.members||(t.members=e.createSymbolTable()),br(t.members,r.members)),r.exports&&(t.exports||(t.exports=e.createSymbolTable()),br(t.exports,r.exports)),67108864&(r.flags|t.flags)){var i=e.getJSInitializerSymbol(r),a=e.getDeclaredJavascriptInitializer(n)||e.getAssignedJavascriptInitializer(n),o=a&&a.symbol?a.symbol:t;if(!(33554432&o.flags)){var s=ln(o);o=s===o?vr(o):s}i===r&&o===t||yr(o,i)}hr(t,r)}else if(1024&t.flags)fr(e.getNameOfDeclaration(r.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Ln(t));else{var c=384&t.flags||384&r.flags?e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:2&t.flags||2&r.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;e.forEach(r.declarations,function(t){fr((e.getJavascriptInitializer(t,!1)?e.getOuterNameOfJsInitializer(t):e.getNameOfDeclaration(t))||t,c,Ln(r))}),e.forEach(t.declarations,function(t){fr((e.getJavascriptInitializer(t,!1)?e.getOuterNameOfJsInitializer(t):e.getNameOfDeclaration(t))||t,c,Ln(r))})}}function br(e,t){t.forEach(function(t,r){var n=e.get(r);n?(33554432&n.flags||(n=vr(n),e.set(r,n)),yr(n,t)):e.set(r,t)})}function xr(t){var r=t.parent;if(r.symbol.declarations[0]===r)if(e.isGlobalScopeAugmentation(r))br(gt,r.symbol.exports);else{var n=$r(t,t,4194304&t.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!n)return;1920&(n=en(n)).flags?yr(n=33554432&n.flags?n:vr(n),r.symbol):fr(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}else e.Debug.assert(r.symbol.declarations.length>1)}function Sr(e){if(33554432&e.flags)return e;var t=u(e);return Pt[t]||(Pt[t]={})}function kr(e){var t=c(e);return Ot[t]||(Ot[t]={flags:0})}function Cr(t){return 273===t.kind&&!e.isExternalOrCommonJsModule(t)}function Er(t,r,n){if(n){var i=t.get(r);if(i){if(e.Debug.assert(0===(1&e.getCheckFlags(i)),"Should never get an instantiated symbol here."),i.flags&n)return i;if(2097152&i.flags){var a=Jr(i);if(a===Y||a.flags&n)return i}}}}function Tr(t,r){var i=e.getSourceFileOfNode(t),a=e.getSourceFileOfNode(r);if(i!==a){if(w&&(i.externalModuleIndicator||a.externalModuleIndicator)||!E.outFile&&!E.out||bl(r)||4194304&t.flags)return!0;if(u(r,t))return!0;var o=n.getSourceFiles();return o.indexOf(i)<=o.indexOf(a)}if(t.pos<=r.pos){if(181===t.kind){var s=e.getAncestor(r,181);
1return s?e.findAncestor(s,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos<s.pos:Tr(e.getAncestor(t,231),r)}return 231===t.kind?!function(t,r){var n=e.getEnclosingBlockScopeContainer(t);switch(t.parent.parent.kind){case 213:case 219:case 221:if(Fr(r,t,n))return!0}return e.isForInOrOfStatement(t.parent.parent)&&Fr(r,t.parent.parent.expression,n)}(t,r):!e.isClassDeclaration(t)||!e.findAncestor(r,function(r){return e.isComputedPropertyName(r)&&r.parent.parent===t})}if(251===r.parent.kind||248===r.parent.kind&&r.parent.isExportEquals)return!0;if(248===r.kind&&r.isExportEquals)return!0;var c=e.getEnclosingBlockScopeContainer(t);return bl(r)||u(r,t,c);function u(t,r,n){return!!e.findAncestor(t,function(i){if(i===n)return"quit";if(e.isFunctionLike(i))return!0;if(i.parent&&151===i.parent.kind&&i.parent.initializer===i)if(e.hasModifier(i.parent,32)){if(153===r.kind)return!0}else if(151!==r.kind||e.hasModifier(r,32)||e.getContainingClass(t)!==e.getContainingClass(r))return!0})}}function wr(e,t,r,n,i,a,o,s){return void 0===o&&(o=!1),Dr(e,t,r,n,i,a,o,Er,s)}function Dr(t,r,n,i,a,o,s,c,u){var l,d,f,p,_,m=t,g=t,h=!1;e:for(;t;){if(t.locals&&!Cr(t)&&(l=c(t.locals,r,n))){var v=!0;if(e.isFunctionLike(t)&&d&&d!==t.body?(n&l.flags&67901928&&285!==d.kind&&(v=!!(262144&l.flags)&&(d===t.type||148===d.kind||147===d.kind)),67216319&n&&1&l.flags&&(v=148===d.kind||d===t.type&&!!e.findAncestor(l.valueDeclaration,e.isParameter))):170===t.kind&&(v=d===t.trueType),v)break e;l=void 0}switch(t.kind){case 273:if(!e.isExternalOrCommonJsModule(t))break;h=!0;case 238:var y=dn(t).exports;if(273===t.kind||e.isAmbientModule(t)){if(l=y.get("default")){var b=e.getLocalSymbolForExportDefault(l);if(b&&l.flags&n&&b.escapedName===r)break e;l=void 0}var x=y.get(r);if(x&&2097152===x.flags&&e.getDeclarationOfKind(x,251))break}if("default"!==r&&(l=c(y,r,2623475&n))){if(!e.isSourceFile(t)||!t.commonJsModuleIndicator||l.declarations.some(e.isJSDocTypeAlias))break e;l=void 0}break;case 237:if(l=c(dn(t).exports,r,8&n))break e;break;case 151:case 150:if(e.isClassLike(t.parent)&&!e.hasModifier(t,32)){var S=hn(t.parent);S&&S.locals&&c(S.locals,r,67216319&n)&&(p=t)}break;case 234:case 204:case 235:if(l=c(oa(dn(t)),r,67901928&n)){if(!Pr(l,t)){l=void 0;break}if(d&&e.hasModifier(d,32))return void fr(g,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(204===t.kind&&32&n){var k=t.name;if(k&&r===k.escapedText){l=t.symbol;break e}}break;case 206:if(d===t.expression&&85===t.parent.token){var C=t.parent.parent;if(e.isClassLike(C)&&(l=c(dn(C).members,r,67901928&n)))return void(i&&fr(g,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 146:if(_=t.parent.parent,(e.isClassLike(_)||235===_.kind)&&(l=c(dn(_).members,r,67901928&n)))return void fr(g,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 153:case 152:case 154:case 155:case 156:case 233:case 192:if(3&n&&"arguments"===r){l=B;break e}break;case 191:if(3&n&&"arguments"===r){l=B;break e}if(16&n){var E=t.name;if(E&&r===E.escapedText){l=t.symbol;break e}}break;case 149:t.parent&&148===t.parent.kind&&(t=t.parent),t.parent&&e.isClassElement(t.parent)&&(t=t.parent);break;case 296:case 291:t=e.getJSDocHost(t)}Ar(t)&&(f=t),d=t,t=t.parent}if(!o||!l||f&&l===f.symbol||(l.isReferenced|=n),!l){if(d&&(e.Debug.assert(273===d.kind),d.commonJsModuleIndicator&&"exports"===r))return d.symbol;s||(l=c(gt,r,n))}if(!l&&m&&e.isInJavaScriptFile(m)&&m.parent){if(e.isRequireCall(m.parent,!1))return z;if(e.isIdentifier(m)&&e.isPropertyAccessExpression(m.parent)&&"module"===m.escapedText&&"exports"===m.parent.name.escapedText)return q}if(l){if(i){if(p){var T=p.name;return void fr(g,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(T),Nr(a))}if(g&&(2&n||(32&n||384&n)&&67216319===(67216319&n))){var w=mn(l);(2&w.flags||32&w.flags||384&w.flags)&&function(t,r){e.Debug.assert(!!(2&t.flags||32&t.flags||384&t.flags));var n=e.forEach(t.declarations,function(t){return e.isBlockOrCatchScoped(t)||e.isClassLike(t)||237===t.kind?t:void 0});e.Debug.assert(void 0!==n,"Declaration to checkResolvedBlockScopedVariable is undefined"),4194304&n.flags||Tr(n,r)||(2&t.flags?fr(r,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,e.declarationNameToString(e.getNameOfDeclaration(n))):32&t.flags?fr(r,e.Diagnostics.Class_0_used_before_its_declaration,e.declarationNameToString(e.getNameOfDeclaration(n))):256&t.flags&&fr(r,e.Diagnostics.Enum_0_used_before_its_declaration,e.declarationNameToString(e.getNameOfDeclaration(n))))}(w,g)}if(l&&h&&67216319===(67216319&n)&&!(2097152&m.flags)){var D=l.declarations;D&&1===D.length&&241===D[0].kind&&fr(g,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(r))}}return l}if(i&&(!g||!function(t,r,n){if(!e.isIdentifier(t)||t.escapedText!==r||_g(t)||bl(t))return!1;for(var i=e.getThisContainer(t,!1),a=i;a;){if(e.isClassLike(a.parent)){var o=dn(a.parent);if(!o)break;var s=xi(o);if($a(s,r))return fr(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Nr(n),Ln(o)),!0;if(a===i&&!e.hasModifier(a,32)){var c=Ji(o).thisType;if($a(c,r))return fr(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Nr(n)),!0}}a=a.parent}return!1}(g,r,a)&&!Or(g)&&!function(t,r,n){var i=1920|(e.isInJavaScriptFile(t)?67216319:0);if(n===i){var a=Vr(wr(t,r,67901928&~i,void 0,void 0,!1)),o=t.parent;if(a){if(e.isQualifiedName(o)){e.Debug.assert(o.left===t,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText,c=$a(Ji(a),s);if(c)return fr(o,e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,e.unescapeLeadingUnderscores(r),e.unescapeLeadingUnderscores(s)),!0}return fr(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(r)),!0}}return!1}
1(g,r,n)&&!function(t,r,n){if(67216319&n){if("any"===r||"string"===r||"number"===r||"boolean"===r||"never"===r)return fr(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(r)),!0;var i=Vr(wr(t,r,792640,void 0,void 0,!1));if(i&&!(1024&i.flags))return fr(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(r)),!0}return!1}(g,r,n)&&!function(t,r,n){if(107031&n){var i=Vr(wr(t,r,1024,void 0,void 0,!1));if(i)return fr(t,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(r)),!0}else if(792640&n){var i=Vr(wr(t,r,1536,void 0,void 0,!1));if(i)return fr(t,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(r)),!0}return!1}(g,r,n))){var A=void 0;u&&Dt<At&&(A=Rf(m,r,n))&&fr(g,u,Nr(a),A),A||fr(g,i,Nr(a)),Dt++}}function Ar(e){switch(e.kind){case 233:case 234:case 235:case 237:case 236:case 238:return!0;default:return!1}}function Nr(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function Pr(t,r){for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(147===a.kind&&(e.isJSDocTemplateTag(a.parent)?e.getJSDocHost(a.parent):a.parent)===r)return!(e.isJSDocTemplateTag(a.parent)&&e.find(a.parent.parent.tags,e.isJSDocTypeAlias))}return!1}function Or(t){var r=function t(r){switch(r.kind){case 71:case 184:return r.parent?t(r.parent):void 0;case 206:if(e.isEntityNameExpression(r.expression))return r.expression;default:return}}(t),n=!(!r||!Xr(r,64,!0));return n&&fr(t,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(r)),n}function Fr(t,r,n){return r&&!!e.findAncestor(t,function(t){return t===n||e.isFunctionLike(t)?"quit":t===r})}function Mr(e){switch(e.kind){case 242:return e;case 244:return e.parent;case 245:return e.parent.parent;case 247:return e.parent.parent.parent;default:return}}function Ir(t){return e.find(t.declarations,e.isAliasSymbolDeclaration)}function Lr(e,t,r){var n=e.exports.get("export=");return n?$a(xi(n),t):Vr(e.exports.get(t),r)}function Rr(t){return e.isExportAssignment(t)&&!t.isExportEquals||e.hasModifier(t,512)||e.isExportSpecifier(t)}function jr(t,r,n){if(!D)return!1;if(!t||t.isDeclarationFile){var i=Lr(r,"default",!0);return(!i||!e.some(i.declarations,Rr))&&!Lr(r,e.escapeLeadingUnderscores("__esModule"),n)}return e.isSourceFileJavaScript(t)?!t.externalModuleIndicator&&!Lr(r,e.escapeLeadingUnderscores("__esModule"),n):rn(r)}function Br(t,r,n){var i=Yr(t,t.moduleSpecifier),a=tn(i,t.moduleSpecifier,n);if(a){var o=r.propertyName||r.name;if(o.escapedText){if(e.isShorthandAmbientModuleSymbol(i))return i;var s=void 0;s=i&&i.exports&&i.exports.get("export=")?$a(xi(a),o.escapedText):function(e,t){if(3&e.flags){var r=e.valueDeclaration.type;if(r)return Vr($a(xc(r),t))}}(a,o.escapedText),s=Vr(s,n);var c=function(e,t,r){if(1536&e.flags)return Vr(on(e).get(t),r)}(a,o.escapedText,n);!c&&D&&"default"===o.escapedText&&(c=en(i,n)||Vr(i,n));var u=c&&s&&c!==s?function(t,r){if(t===Y&&r===Y)return Y;if(67903464&t.flags)return t;var n=_r(t.flags|r.flags,t.escapedName);return n.declarations=e.deduplicate(e.concatenate(t.declarations,r.declarations),e.equateValues),n.parent=t.parent||r.parent,t.valueDeclaration&&(n.valueDeclaration=t.valueDeclaration),r.members&&(n.members=r.members),t.exports&&(n.exports=t.exports),n}(s,c):c||s;if(!u){var l=Gr(i),d=e.declarationNameToString(o),f=jf(o,a);void 0!==f?fr(o,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2,l,d,f):fr(o,e.Diagnostics.Module_0_has_no_exported_member_1,l,d)}return u}}}function zr(e,t,r){return e.parent.parent.moduleSpecifier?Br(e.parent.parent,e,r):Xr(e.propertyName||e.name,t,!1,r)}function qr(t,r){switch(t.kind){case 242:return function(t,r){return 253===t.moduleReference.kind?en(Yr(t,e.getExternalModuleImportEqualsDeclarationExpression(t))):Kr(t.moduleReference,r)}(t,r);case 244:return function(t,r){var n=Yr(t,t.parent.moduleSpecifier);if(n){var i=void 0;i=e.isShorthandAmbientModuleSymbol(n)?n:Lr(n,"default",r);var a=jr(e.find(n.declarations,e.isSourceFile),n,r);if(i||a){if(a)return en(n,r)||Vr(n,r)}else fr(t.name,e.Diagnostics.Module_0_has_no_default_export,Ln(n));return i}}(t,r);case 245:return function(e,t){var r=e.parent.parent.moduleSpecifier;return tn(Yr(e,r),r,t)}(t,r);case 247:return function(e,t){return Br(e.parent.parent.parent,e,t)}(t,r);case 251:return zr(t,68009983,r);case 248:case 199:return function(t,r){var n=e.isExportAssignment(t)?t.expression:t.right;if(e.isClassExpression(n))return S_(n).symbol;var i=Xr(n,68009983,!0,r);
1return i||(S_(n),kr(n).resolvedSymbol)}(t,r);case 241:return function(e,t){return en(e.parent.symbol,t)}(t,r)}}function Ur(e,t){return void 0===t&&(t=68009983),!!e&&(2097152===(e.flags&(2097152|t))||2097152&e.flags&&67108864&e.flags)}function Vr(e,t){return!t&&Ur(e)?Jr(e):e}function Jr(t){e.Debug.assert(0!==(2097152&t.flags),"Should only get Alias here.");var r=Sr(t);if(r.target)r.target===$&&(r.target=Y);else{r.target=$;var n=Ir(t);e.Debug.assert(!!n);var i=qr(n);r.target===$?r.target=i||Y:fr(n,e.Diagnostics.Circular_definition_of_import_alias_0,Ln(t))}return r.target}function Hr(e){var t=dn(e),r=Jr(t);r&&(r===Y||67216319&r.flags&&!Mg(r))&&Wr(t)}function Wr(t){var r=Sr(t);if(!r.referenced){r.referenced=!0;var n=Ir(t);e.Debug.assert(!!n),248===n.kind?p_(n.expression):251===n.kind?p_(n.propertyName||n.name):e.isInternalModuleImportEqualsDeclaration(n)&&p_(n.moduleReference)}}function Kr(t,r){return 71===t.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),71===t.kind||145===t.parent.kind?Xr(t,1920,!1,r):(e.Debug.assert(242===t.parent.kind),Xr(t,68009983,!1,r))}function Gr(e){return e.parent?Gr(e.parent)+"."+Ln(e):Ln(e)}function Xr(t,r,n,i,a){if(!e.nodeIsMissing(t)){var o,s=1920|(e.isInJavaScriptFile(t)?67216319&r:0);if(71===t.kind){var c=r===s?e.Diagnostics.Cannot_find_namespace_0:e.Diagnostics.Cannot_find_name_0,u=e.isInJavaScriptFile(t)?function(t,r){if(Qo(t.parent)){var n=function(t){if(!e.findAncestor(t,function(t){return e.isJSDocNode(t)||2097152&t.flags?e.isJSDocTypeAlias(t):"quit"})){var r=e.getJSDocHost(t);if(e.isExpressionStatement(r)&&e.isBinaryExpression(r.expression)&&3===e.getSpecialPropertyAssignmentKind(r.expression)){var n=dn(r.expression.left);return n&&n.parent.valueDeclaration}var i=e.getHostSignatureFromJSDocHost(r);if(i){var n=dn(i);return n&&n.valueDeclaration}}}(t.parent);if(n)return wr(n,t.escapedText,r,void 0,t,!0)}}(t,r):void 0;if(!(o=wr(a||t,t.escapedText,r,n||u?void 0:c,t,!0)))return u}else if(145===t.kind||184===t.kind){var l=145===t.kind?t.left:t.expression,d=145===t.kind?t.right:t.name,f=Xr(l,s,n,!1,a);if(!f||e.nodeIsMissing(d))return;if(f===Y)return f;if(e.isInJavaScriptFile(t)){var p=e.getDeclaredJavascriptInitializer(f.valueDeclaration)||e.getAssignedJavascriptInitializer(f.valueDeclaration);if(p&&(f=dn(p)),!f)return;if(f.valueDeclaration&&e.isVariableDeclaration(f.valueDeclaration)&&f.valueDeclaration.initializer&&Op(f.valueDeclaration.initializer)){var _=f.valueDeclaration.initializer.arguments[0],m=Yr(_,_);if(m){var g=en(m);g&&(f=g)}}}if(!(o=Er(on(f),d.escapedText,r)))return void(n||fr(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,Gr(f),e.declarationNameToString(d)))}else e.Debug.assertNever(t,"Unknown entity name kind.");return e.Debug.assert(0===(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),o.flags&r||i?o:Jr(o)}}function Yr(t,r){return $r(t,r,e.Diagnostics.Cannot_find_module_0)}function $r(t,r,n,i){return void 0===i&&(i=!1),e.isStringLiteralLike(r)?Qr(t,r.text,n,r,i):void 0}function Qr(t,r,i,a,o){if(void 0===o&&(o=!1),void 0!==r){e.startsWith(r,"@types/")&&fr(a,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(r,"@types/"),r);var s=co(r,!0);if(s)return s;var c=e.getSourceFileOfNode(t),u=e.getResolvedModule(c,r),l=u&&e.getResolutionDiagnostic(E,u),d=u&&!l&&n.getSourceFile(u.resolvedFileName);if(d)return d.symbol?(u.isExternalLibraryImport&&!e.extensionIsTypeScript(u.extension)&&Zr(!1,a,u,r),ln(d.symbol)):void(i&&fr(a,e.Diagnostics.File_0_is_not_a_module,d.fileName));if(Ne){var f=e.findBestPatternMatch(Ne,function(e){return e.pattern},r);if(f)return ln(f.symbol)}if(u&&!e.resolutionExtensionIsTypeScriptOrJson(u.extension)&&void 0===l||l===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?fr(a,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,r,u.resolvedFileName):Zr(O&&!!i,a,u,r);else if(i){if(e.pathIsRelative(r)){var p=e.getSourceFileOfNode(t),_=p.redirectedReferences;if(_)for(var m=e.getNormalizedAbsolutePath(r,e.getDirectoryPath(p.fileName)),g=0,h=[".ts",".tsx"];g<h.length;g++){var v=m+h[g];if(_.indexOf(v)>=0)return void fr(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,r,v)}}if(l)fr(a,l,r,u.resolvedFileName);else{var y=e.tryExtractTypeScriptExtension(r);y?fr(a,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,y,e.removeExtension(r,y)):fr(a,i,r)}}}}function Zr(t,r,n,i){var a=n.packageId,o=n.resolvedFileName,s=a&&e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,e.getMangledNameForScopedPackage(a.name));pr(t,r,e.chainDiagnosticMessages(s,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,o))}function en(t,r){return t&&ln(function(t,r){if(!t||1===r.exports.size)return t;var n=vr(t);return void 0===n.exports&&(n.flags=512|n.flags,n.exports=e.createSymbolTable()),r.exports.forEac
1h(function(e,t){if("export="!==t)if(n.exports.has(t)){var r=vr(n.exports.get(t));yr(r,e),n.exports.set(t,r)}else n.exports.set(t,e)}),n}(Vr(t.exports.get("export="),r),t))||t}function tn(t,r,n){var i=en(t,n);if(!n&&i){if(!(1539&i.flags))return fr(r,e.Diagnostics.Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct,Ln(t)),i;if(E.esModuleInterop){var a=r.parent;if(e.isImportDeclaration(a)&&e.getNamespaceDeclarationNode(a)||e.isImportCall(a)){var o=xi(i),s=Qa(o,0);if(s&&s.length||(s=Qa(o,1)),s&&s.length){var c=Pp(o,i,t),u=_r(i.flags,i.escapedName);u.declarations=i.declarations?i.declarations.slice():[],u.parent=i.parent,u.target=i,u.originatingImport=a,i.valueDeclaration&&(u.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(u.constEnumOnlyModule=!0),i.members&&(u.members=e.cloneMap(i.members)),i.exports&&(u.exports=e.cloneMap(i.exports));var l=Pa(c);return u.type=Cn(u,l.members,e.emptyArray,e.emptyArray,l.stringIndexInfo,l.numberIndexInfo),u}}}}return i}function rn(e){return void 0!==e.exports.get("export=")}function nn(e){return oo(sn(e))}function an(e,t){var r=sn(t);if(r)return r.get(e)}function on(e){return 32&e.flags?aa(e,"resolvedExports"):1536&e.flags?sn(e):e.exports||k}function sn(e){var t=Sr(e);return t.resolvedExports||(t.resolvedExports=un(e))}function cn(t,r,n,i){r&&r.forEach(function(r,a){if("default"!==a){var o=t.get(a);if(o){if(n&&i&&o&&Vr(o)!==Vr(r)){var s=n.get(a);s.exportsWithDuplicate?s.exportsWithDuplicate.push(i):s.exportsWithDuplicate=[i]}}else t.set(a,r),n&&i&&n.set(a,{specifierText:e.getTextOfNode(i.moduleSpecifier)})}})}function un(t){var r=[];return function t(n){if(n&&1952&n.flags&&e.pushIfUnique(r,n)){var i=e.cloneMap(n.exports),a=n.exports.get("__export");if(a){for(var o=e.createSymbolTable(),s=e.createMap(),c=0,u=a.declarations;c<u.length;c++){var l=u[c],d=Yr(l,l.moduleSpecifier),f=t(d);cn(o,f,s,l)}s.forEach(function(t,r){var n=t.exportsWithDuplicate;if("export="!==r&&n&&n.length&&!i.has(r))for(var a=0,o=n;a<o.length;a++){var c=o[a];Ut.add(e.createDiagnosticForNode(c,e.Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,s.get(r).specifierText,e.unescapeLeadingUnderscores(r)))}}),cn(i,o)}return i}}(t=en(t))||k}function ln(e){var t;return e&&e.mergeId&&(t=Nt[e.mergeId])?t:e}function dn(e){return ln(e.symbol&&sa(e.symbol))}function fn(e){return ln(e.parent&&sa(e.parent))}function pn(t){var r=fn(t);if(r)return r;var n=e.forEach(t.declarations,function(t){return!e.isAmbientModule(t)&&t.parent&&Fn(t.parent)?dn(t.parent):void 0});return n&&_n(n,t)?n:void 0}function _n(t,r){if(t===fn(r))return r;var n=on(t),i=n.get(r.escapedName);return i&&a(i)?i:e.forEachEntry(n,function(e){if(a(e))return e});function a(e){if(e===r||Vr(e)===r||Vr(e)===Vr(r))return e}}function mn(e){return e&&0!==(1048576&e.flags)?ln(e.exportSymbol):e}function gn(e){return!!(67216319&e.flags||2097152&e.flags&&67216319&Jr(e).flags)}function hn(t){for(var r=0,n=t.members;r<n.length;r++){var i=n[r];if(154===i.kind&&e.nodeIsPresent(i.body))return i}}function vn(e){var t=new h(U,e);return y++,t.id=y,t}function yn(e,t){var r=vn(e);return r.intrinsicName=t,r}function bn(e,t){var r=vn(65536);return r.objectFlags=e,r.symbol=t,r}function xn(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)}function Sn(t){var r;return t.forEach(function(e,t){xn(t)||(r||(r=[]),gn(e)&&r.push(e))}),r||e.emptyArray}function kn(e,t,r,n,i,a){return e.members=t,e.properties=Sn(t),e.callSignatures=r,e.constructSignatures=n,i&&(e.stringIndexInfo=i),a&&(e.numberIndexInfo=a),e}function Cn(e,t,r,n,i,a){return kn(bn(16,e),t,r,n,i,a)}function En(t,r){for(var n,i=t;i;i=i.parent){if(i.locals&&!Cr(i)&&(n=r(i.locals)))return n;switch(i.kind){case 273:if(!e.isExternalOrCommonJsModule(i))break;case 238:if(n=r(dn(i).exports))return n}}return r(gt)}function Tn(e){return 67216319===e?67216319:1920}function wn(t,r,n,i,a){if(void 0===a&&(a=e.createMap()),t&&!function(e){if(e.declarations&&e.declarations.length){for(var t=0,r=e.declarations;t<r.length;t++){var n=r[t];switch(n.kind){case 151:case 153:case 155:case 156:continue;default:return!1}}return!0}return!1}(t)){var o=""+u(t),s=a.get(o);return s||a.set(o,s=[]),En(r,c)}function c(a,o){if(e.pushIfUnique(s,a)){var u=function(a,o){return d(a.get(t.escapedName),void 0,o)?[t]:e.forEachEntry(a,function(a){if
1(2097152&a.flags&&"export="!==a.escapedName&&"default"!==a.escapedName&&!(e.isUMDExportSymbol(a)&&r&&e.isExternalModule(e.getSourceFileOfNode(r)))&&(!i||e.some(a.declarations,e.isExternalModuleImportEqualsDeclaration))){var s=Jr(a);if(d(a,s,o))return[a];var u=on(s),f=u&&c(u,!0);if(f&&l(a,Tn(n)))return[a].concat(f)}if(a.escapedName===t.escapedName&&a.exportSymbol&&d(ln(a.exportSymbol),void 0,o))return[t]})}(a,o);return s.pop(),u}}function l(e,t){return!Dn(e,r,t)||!!wn(e.parent,r,Tn(t),i,a)}function d(r,i,a){return t===(i||r)&&!e.some(r.declarations,Fn)&&(a||l(r,n))}}function Dn(t,r,n){var i=!1;return En(r,function(r){var a=ln(r.get(t.escapedName));return!!a&&(a===t||!!((a=2097152&a.flags&&!e.getDeclarationOfKind(a,251)?Jr(a):a).flags&n)&&(i=!0,!0))}),i}function An(e,t){return 0===Pn(e,t,67901928,!1).accessibility}function Nn(e,t){return 0===Pn(e,t,67216319,!1).accessibility}function Pn(t,r,n,i){if(t&&r){for(var a=t,o=n;t;){var s=wn(t,r,o,!1);if(s){var c=Mn(s[0],i);return c||{accessibility:1,errorSymbolName:Ln(a,r,n),errorModuleName:t!==a?Ln(t,r,1920):void 0}}if(e.some(t.declarations,Fn))return{accessibility:0};o=Tn(n),t=pn(t)}var u=e.forEach(a.declarations,l);return u&&u!==l(r)?{accessibility:2,errorSymbolName:Ln(a,r,n),errorModuleName:Ln(u)}:{accessibility:1,errorSymbolName:Ln(a,r,n)}}return{accessibility:0};function l(t){var r=e.findAncestor(t,On);return r&&dn(r)}}function On(t){return e.isAmbientModule(t)||273===t.kind&&e.isExternalOrCommonJsModule(t)}function Fn(t){return e.isModuleWithStringLiteralName(t)||273===t.kind&&e.isExternalOrCommonJsModule(t)}function Mn(t,r){var n;if(!e.forEach(t.declarations,function(t){return!function(t){if(!Hn(t)){var r=Mr(t);return r&&!e.hasModifier(r,1)&&Hn(r.parent)?i(t,r):e.isVariableDeclaration(t)&&e.isVariableStatement(t.parent.parent)&&!e.hasModifier(t.parent.parent,1)&&Hn(t.parent.parent.parent)?i(t,t.parent.parent):!(!e.isLateVisibilityPaintedStatement(t)||e.hasModifier(t,1)||!Hn(t.parent))&&i(t,t)}return!0}(t)}))return{accessibility:0,aliasesToMakeVisible:n};function i(t,i){return r&&(kr(t).isVisible=!0,n=e.appendIfUnique(n,i)),!0}}function In(t,r){var n;n=164===t.parent.kind||e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)||146===t.parent.kind?68264895:145===t.kind||184===t.kind||242===t.parent.kind?1920:67901928;var i=$m(t),a=wr(r,i.escapedText,n,void 0,void 0,!1);return a&&Mn(a,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(i),errorNode:i}}function Ln(t,r,n,i,a){void 0===i&&(i=4);var o=3112960;2&i&&(o|=128),1&i&&(o|=512),8&i&&(o|=16384);var s=4&i?L.symbolToExpression:L.symbolToEntityName;return a?c(a).getText():e.usingSingleLineStringWriter(c);function c(i){var a=s(t,n,r,o),c=e.createPrinter({removeComments:!0}),u=r&&e.getSourceFileOfNode(r);return c.writeNode(4,a,u,i),i}}function Rn(t,r,n,i,a){return a?o(a).getText():e.usingSingleLineStringWriter(o);function o(a){var o;o=262144&n?1===i?163:162:1===i?158:157;var s=L.signatureToSignatureDeclaration(t,o,r,3113472|Bn(n)),c=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),u=r&&e.getSourceFileOfNode(r);return c.writeNode(4,s,u,a),a}}function jn(t,r,n,i){void 0===n&&(n=1064960),void 0===i&&(i=e.createTextWriter(""));var a=L.typeToTypeNode(t,r,3112960|Bn(n),i);e.Debug.assert(void 0!==a,"should always get typenode");var o=e.createPrinter({removeComments:!0}),s=r&&e.getSourceFileOfNode(r);o.writeNode(4,a,s,i);var c=i.getText(),u=E.noErrorTruncation||1&n?void 0:100;return u&&c&&c.length>=u?c.substr(0,u-"...".length)+"...":c}function Bn(e){return 9469291&e}function zn(t,r,n,i){return void 0===n&&(n=16384),i?a(i).getText():e.usingSingleLineStringWriter(a);function a(i){var a=e.createTypePredicateNode(1===t.kind?e.createIdentifier(t.parameterName):e.createThisTypeNode(),L.typeToTypeNode(t.type,r,3113472|Bn(n))),o=e.createPrinter({removeComments:!0}),s=r&&e.getSourceFileOfNode(r);return o.writeNode(4,a,s,i),i}}function qn(e){return 8===e?"private":16===e?"protected":"public"}function Un(t){return t&&t.parent&&239===t.parent.kind&&e.isExternalModuleAugmentation(t.parent.parent)}function Vn(t){return 273===t.kind||e.isAmbientModule(t)}function Jn(t,r){if(r&&"default"===t.escapedName&&!(16384&r.flags)&&(!(16777216&r.flags)||!t.declarations||r.enclosingDeclaration&&e.findAnce
1stor(t.declarations[0],Vn)!==e.findAncestor(r.enclosingDeclaration,Vn)))return"default";if(t.declarations&&t.declarations.length){if(e.some(t.declarations,On)&&r.enclosingDeclaration){var n=e.getDeclarationOfKind(t,273);if(n&&r.tracker.moduleResolverHost){var i=e.getSourceFileOfNode(e.getOriginalNode(r.enclosingDeclaration));return'"'+(n.moduleName||e.moduleSpecifiers.getModuleSpecifiers(t,E,i,r.tracker.moduleResolverHost,r.tracker.moduleResolverHost.getSourceFiles(),{importModuleSpecifierPreference:"non-relative"})[0])+'"'}if(r.tracker.trackReferencedAmbientModule){var a=e.filter(t.declarations,e.isAmbientModule);if(e.length(a))for(var o=0,s=a;o<s.length;o++){var c=s[o];r.tracker.trackReferencedAmbientModule(c)}}}var u=t.declarations[0],l=e.getNameOfDeclaration(u);if(l)return e.declarationNameToString(l);if(u.parent&&231===u.parent.kind)return e.declarationNameToString(u.parent.name);switch(!r||r.encounteredError||131072&r.flags||(r.encounteredError=!0),u.kind){case 204:return"(Anonymous class)";case 191:case 192:return"(Anonymous function)"}}var d=t.nameType;if(d){if(32&d.flags&&!e.isIdentifierText(d.value,E.target))return'"'+e.escapeString(d.value,34)+'"';if(d&&1024&d.flags)return"["+Jn(d.symbol,r)+"]"}return e.symbolName(t)}function Hn(t){if(t){var r=kr(t);return void 0===r.isVisible&&(r.isVisible=!!function(){switch(t.kind){case 291:case 296:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&e.isSourceFile(t.parent.parent.parent));case 181:return Hn(t.parent.parent);case 231:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 238:case 234:case 235:case 236:case 233:case 237:case 242:if(e.isExternalModuleAugmentation(t))return!0;var r=$n(t);return 1&e.getCombinedModifierFlags(t)||242!==t.kind&&273!==r.kind&&4194304&r.flags?Hn(r):Cr(r);case 151:case 150:case 155:case 156:case 153:case 152:if(e.hasModifier(t,24))return!1;case 154:case 158:case 157:case 159:case 148:case 239:case 162:case 163:case 165:case 161:case 166:case 167:case 168:case 169:case 172:return Hn(t.parent);case 244:case 245:case 247:return!1;case 147:case 273:case 241:return!0;case 248:default:return!1}}()),r.isVisible}return!1}function Wn(t,r){var n,i;return t.parent&&248===t.parent.kind?n=wr(t,t.escapedText,70107135,void 0,t,!1):251===t.parent.kind&&(n=zr(t.parent,70107135)),n&&function t(n){e.forEach(n,function(n){var a=Mr(n)||n;if(r?kr(n).isVisible=!0:(i=i||[],e.pushIfUnique(i,a)),e.isInternalModuleImportEqualsDeclaration(n)){var o=n.moduleReference,s=$m(o),c=wr(n,s.escapedText,68009983,void 0,void 0,!1);c&&t(c.declarations)}})}(n.declarations),i}function Kn(e,t){var r=Gn(e,t);if(r>=0){for(var n=Et.length,i=r;i<n;i++)Tt[i]=!1;return!1}return Et.push(e),Tt.push(!0),wt.push(t),!0}function Gn(e,t){for(var r=Et.length-1;r>=0;r--){if(Xn(Et[r],wt[r]))return-1;if(Et[r]===e&&wt[r]===t)return r}return-1}function Xn(t,r){if(0===r)return Sr(t).type;if(2===r)return Sr(t).declaredType;if(1===r)return t.resolvedBaseConstructorType;if(3===r)return t.resolvedReturnType;if(4===r){var n=t.resolvedBaseConstraint;return n&&n!==Ee}e.Debug.fail("Unhandled TypeSystemPropertyName "+r)}function Yn(){return Et.pop(),wt.pop(),Tt.pop()}function $n(t){return(t=e.findAncestor(e.getRootDeclaration(t),function(e){switch(e.kind){case 231:case 232:case 247:case 246:case 245:case 244:return!1;default:return!0}}))&&t.parent}function Qn(e,t){var r=$a(e,t);return r?xi(r):void 0}function Zn(e){return e&&0!==(1&e.flags)}function ei(e){var t=dn(e);return t&&Sr(t).type||si(e,!1)}function ti(t){return 146===t.kind&&!e.isStringOrNumericLiteral(t.expression)}function ri(t,r,n){if(16384&(t=Hl(t,function(e){return!(12288&e.flags)})).flags)return ye;if(131072&t.flags)return Wl(t,function(e){return ri(e,r,n)});for(var i=e.createSymbolTable(),a=e.createUnderscoreEscapedMap(),o=0,s=r;o<s.length;o++){var c=s[o];a.set(e.getTextOfPropertyName(c),!0)}for(var u=0,l=Ia(t);u<l.length;u++){var d=l[u],f=a.has(d.escapedName),p=24&e.getDeclarationModifierFlagsFromSymbol(d),_=65536&d.flags&&!(32768&d.flags);f||p||_c(d)||_||i.set(d.escapedName,fc(d))}var m=ro(t,0),g=ro(t,1);return Cn(n,i,e.emptyArray,e.emptyArray,m,g)}function ni(t){var r,n=t.parent,i=ei(n.parent);if(i===te)return te;if(!i)return t.initializer?m_(t):i;if(Zn(i))return i;if(179===n.kind)if(t.dotDotDotToken){if(!rf(i))return fr(t,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),te;for(var a=[],o=0,s=n.elements;o<s.length;o++){var c=s[o];c.dotDotDotToken||a.push(c.propertyName||c.name)}r=ri(i,a,t.symbol)}else{var u=t.propertyName||t.name,l=ea(u),d=e.isComputedPropertyName(u)&&e.isWellKnownSymbolSyntactically(u.expression);if(!l&&!d&&ti(u)){var f=S_(u.expression);if(t_(f,1536))return O&&fr(t,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,jn(f),jn(i)),Q;var p=t_(f,84)&&no(i,1)||no(i,0);return p||!O||E.suppressImplicitAnyIndexErrors||(no(i,1)?fr(t,e.Diagnostics.Element_implicitly_has_an_any_type_be
1cause_index_expression_is_not_of_type_number):fr(t,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,jn(i))),p||Q}var _=l&&Zd(u),m=l?na(_):d?e.getPropertyNameForKnownSymbolName(e.idText(u.expression.name)):e.getTextOfPropertyName(u);if(A&&4194304&t.flags&&e.isParameterDeclaration(t)&&(i=Uu(i)),l&&_&&!$a(i,m)&&t_(_,1536))return O&&fr(t,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,jn(_),jn(i)),Q;var g=pd(Qn(i,m),t.name);if(!(r=g&&od(t,g)||Qd(m)&&no(i,1)||no(i,0)))return fr(u,e.Diagnostics.Type_0_has_no_property_1_and_no_string_index_signature,jn(i),e.declarationNameToString(u)),te}else{var h=Tm(i,n,!1,!1);if(t.dotDotDotToken)r=ks(h);else{var v=""+n.elements.indexOf(t);if(!(r=wu(i)?Qn(i,v):h))return Iu(i)?fr(t,e.Diagnostics.Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2,jn(i),qo(i),n.elements.length):fr(t,e.Diagnostics.Type_0_has_no_property_1,jn(i),v),te}}return!A||!t.initializer||4096&Ru(p_(t.initializer))||(r=Al(r,131072)),t.initializer?Fs([r,p_(t.initializer)],2):r}function ii(t){var r=e.getJSDocType(t);if(r)return xc(r)}function ai(t){var r=e.skipParentheses(t);return 182===r.kind&&0===r.elements.length}function oi(e,t){return void 0===t&&(t=!0),A&&t?qu(e):e}function si(t,r){if(e.isVariableDeclaration(t)&&220===t.parent.parent.kind){var n=Us(Nf(t.parent.parent.expression));return 557056&n.flags?Vs(n):oe}if(e.isVariableDeclaration(t)&&221===t.parent.parent.kind){var i=t.parent.parent;return Em(i.expression,i.awaitModifier)||Q}if(e.isBindingPattern(t.parent))return ni(t);var a=r&&(e.isParameter(t)&&so(t)||!e.isBindingElement(t)&&!e.isVariableDeclaration(t)&&!!t.questionToken),o=pi(t);if(o)return oi(o,a);if((O||e.isInJavaScriptFile(t))&&231===t.kind&&!e.isBindingPattern(t.name)&&!(1&e.getCombinedModifierFlags(t))&&!(4194304&t.flags)){if(!(2&e.getCombinedNodeFlags(t))&&(!t.initializer||function(t){var r=e.skipParentheses(t);return 95===r.kind||71===r.kind&&yl(r)===R}(t.initializer)))return Z;if(t.initializer&&ai(t.initializer))return qe}if(148===t.kind){var s=t.parent;if(156===s.kind&&!ra(s)){var c=e.getDeclarationOfKind(dn(t.parent),155);if(c){var u=go(c),l=ph(s);return l&&t===l?(e.Debug.assert(!l.type),xi(u.thisParameter)):So(u)}}var d=void 0;if(d="this"===t.symbol.escapedName?Td(s):wd(t))return oi(d,a)}return t.initializer?oi(d=m_(t),a):e.isJsxAttribute(t)?ce:e.isBindingPattern(t.name)?li(t.name,!1,!0):void 0}function ci(t){var r=e.getAssignedJavascriptInitializer(t.valueDeclaration);if(r)return Ou(p_(r));for(var n,i,a=[],o=!1,s=!1,c=function(r){var c=!1,u=199===r.kind?r:184===r.kind?e.cast(r.parent,e.isBinaryExpression):void 0;if(!u)return{value:te};var l=e.getSpecialPropertyAssignmentKind(u);if(4===l){var d=e.getThisContainer(u,!1);(c=154===d.kind||233===d.kind||191===d.kind&&!e.isPrototypePropertyAssignment(d.parent))?o=!0:s=!0}var f=ii(u.parent);if(f){var p=Yu(f);i?i===te||p===te||Hc(i,p)||67108864&t.flags||ym(i,r,p):i=p}else if(!i){var _=Ou(p_(u.right));if(16&e.getObjectFlags(_)&&2===l&&"export="===t.escapedName){var m=Pa(_),g=e.createSymbolTable();e.copyEntries(m.members,g),t.exports.forEach(function(e,t){if(g.has(t)){var r=m.members.get(t),n=_r(e.flags|r.flags,t);n.type=Fs([xi(e),xi(r)]),g.set(t,n)}else g.set(t,e)}),_=Cn(m.symbol,g,m.callSignatures,m.constructSignatures,m.stringIndexInfo,m.numberIndexInfo)}var h=_;Tu(_)&&(h=ze,O&&Qu(u,ze)),a.push(h),c&&(n||(n=[])).push(h)}},u=0,l=t.declarations;u<l.length;u++){var d=c(l[u]);if("object"===typeof d)return d.value}var f=i;if(!f){if(s){var p=function(t){var r=e.forEach(t.declarations,function(t){var r=e.getThisContainer(t,!1).parent;return e.isClassLike(r)&&r});if(r){var n=Ji(dn(r)),i=n&&Ii(n)[0];if(i)return Qn(i,t.escapedName)}}(t);p&&((n||(n=[])).push(p),o=!0)}f=Fs(e.some(n,function(e){return!!(-16789505&e.flags)})?n:a,2)}var _=Yu(oi(f,s&&!o));return Hl(_,function(e){return!!(-12289&e.flags)})===pe?(O&&Qu(t.valueDeclaration,Q),Q):_}function ui(t,r,n){return t.initializer?m_(t):e.isBindingPattern(t.name)?li(t.name,r,n):(n&&O&&!fi(t)&&Qu(t,Q),Q)}function li(t,r,n){return 179===t.kind?function(t,r,n){var i,a=e.createSymbolTable(),o=128;e.forEach(t.elements,function(t){var s=t.propertyName||t.name;if(ti(s))o|=512;else if(t.dotDotDotToken)i=Fo(Q,!1);else{var c=e.getTextOfPropertyName(s),u=_r(4|(t.initializer?16777216:0),c);u.type=ui(t,r,n),u.bindingElement=t,a.set(u.escapedName,u)}});var s=Cn(void 0,a,e.emptyArray,e.emptyArray,i,void 0);return s.flags|=33554432,s.objectFlags|=o,r&&(s.pattern=t),s}(t,r,n):function(t,r,n){var i=t.elements,a=e.lastOrUndefined(i);if(0===i.length||!e.isOmittedExpression(a)&&a.dotDotDotToken)return T>=2?xs(Q):ze;var o=Es(e.map(i,function(t){return e.isOmittedExpression(t)?Q:ui(t,r,n)}));return r&&((o=zo(o)).pattern=t),o}(t,r,n)}function di(t,r){var n=si(t,!0);return n?(r&&Zu(t,n),1024&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==dn(t)&&(n=de),Yu(n)):(n=e.isParameter(t)&&t.dotDotDotToken?ze:Q,r&&O&&(fi(t)||Qu(t,n)),n)}function fi(t){var r=e.getRootDeclaration(t);return B_(148===r.kind?r.parent:r)}function pi(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return xc(r)}function _i(t){var r=Sr(t);if(!r.type){if(4194304&t.flags)return r.type=function(t){var r=Ji(fn(t));return r.typeParameters?Bo(r,e.map(r.typeParameters,function(e){return Q})):r}(t);if(t===z||t===q)return r.type=Q;var n=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(n))return r.type=Q;if(e.isSourceFile(n)){var i=e.cast(n,e.isJsonSourceFile);return r.type=i.statements.length?S_(i.statements[0].expression):ye}if(248===n.kind)return r.type=S_(n.expression);if(e.isInJavaScriptFile(n)&&e.isJSDocPropertyLikeTag(n)&&n.typeExpression)return r.type=xc(n.typeExpression.type);if(!Kn(t,0))return te;var a=void 0;if(199===n.kind||184===n.kind&&199===n.parent.kind)a=ci(t);else if(e.isJSDocPropertyLikeTag(n)||e.isPropertyAccessExpression(n)||e.isIdentifier(n)||e.isMethodDeclaration(n)&&!e.isObjectLiteralMethod(n)||e.isMethodSignature(n)){if
1(9136&t.flags)return yi(t);a=pi(n)||Q}else e.isPropertyAssignment(n)?a=pi(n)||h_(n):e.isJsxAttribute(n)?a=pi(n)||of(n):e.isShorthandPropertyAssignment(n)?a=pi(n)||g_(n.name,0):e.isObjectLiteralMethod(n)?a=pi(n)||v_(n,0):e.isParameter(n)||e.isPropertyDeclaration(n)||e.isPropertySignature(n)||e.isVariableDeclaration(n)||e.isBindingElement(n)?a=di(n,!0):e.Debug.fail("Unhandled declaration kind! "+e.Debug.showSyntaxKind(n));Yn()||(a=bi(t)),r.type=a}return r.type}function mi(t){if(t){if(155===t.kind){var r=e.getEffectiveReturnTypeNode(t);return r&&xc(r)}var n=e.getEffectiveSetAccessorTypeAnnotationNode(t);return n&&xc(n)}}function gi(e){return yo(go(e))}function hi(t){var r=Sr(t);if(!r.type){var n=e.getDeclarationOfKind(t,155),i=e.getDeclarationOfKind(t,156);if(n&&e.isInJavaScriptFile(n)){var a=ii(n);if(a)return r.type=a}if(!Kn(t,0))return te;var o=void 0,s=mi(n);if(s)o=s;else{var c=mi(i);c?o=c:n&&n.body?o=Up(n):(O&&(i?fr(i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Ln(t)):(e.Debug.assert(!!n,"there must existed getter as we are current checking either setter or getter in this function"),fr(n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Ln(t)))),o=Q)}Yn()||(o=Q,O&&fr(e.getDeclarationOfKind(t,155),e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Ln(t))),r.type=o}return r.type}function vi(e){var t=Mi(Ri(e));return 1081344&t.flags?t:void 0}function yi(t){var r=Sr(t);if(!r.type)if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))r.type=Q;else if(199===t.valueDeclaration.kind||184===t.valueDeclaration.kind&&199===t.valueDeclaration.parent.kind)r.type=ci(t);else{var n=bn(16,t);if(32&t.flags){var i=vi(t);r.type=i?js([n,i]):n}else r.type=A&&16777216&t.flags?qu(n):n}return r.type}function bi(t){return e.getEffectiveTypeAnnotationNode(t.valueDeclaration)?(fr(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Ln(t)),te):(O&&fr(t.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Ln(t)),Q)}function xi(t){return 1&e.getCheckFlags(t)?function(t){var r=Sr(t);if(!r.type)if(100===S)fr(t.valueDeclaration,e.Diagnostics.Generic_type_instantiation_is_excessively_deep_and_possibly_infinite),r.type=te;else{if(!Kn(t,0))return te;S++;var n=jc(xi(r.target),r.mapper);S--,Yn()||(n=bi(t)),r.type=n}return r.type}(t):2048&e.getCheckFlags(t)?function(e){return sl(e.propertyType,e.mappedType)}(t):7&t.flags?_i(t):9136&t.flags?yi(t):8&t.flags?function(e){var t=Sr(e);return t.type||(t.type=Ui(e)),t.type}(t):98304&t.flags?hi(t):2097152&t.flags?function(e){var t=Sr(e);if(!t.type){var r=Jr(e);t.type=67216319&r.flags?xi(r):te}return t.type}(t):te}function Si(t,r){return void 0!==t&&void 0!==r&&0!==(4&e.getObjectFlags(t))&&t.target===r}function ki(t){return 4&e.getObjectFlags(t)?t.target:t}function Ci(t,r){return function t(n){if(7&e.getObjectFlags(n)){var i=ki(n);return i===r||e.forEach(Ii(i),t)}if(262144&n.flags)return e.forEach(n.types,t)}(t)}function Ei(t,r){for(var n=0,i=r;n<i.length;n++){var a=i[n];t=e.appendIfUnique(t,Vi(dn(a)))}return t}function Ti(t,r){for(;;){if(!(t=t.parent))return;switch(t.kind){case 234:case 204:case 235:case 157:case 158:case 152:case 162:case 163:case 283:case 233:case 153:case 191:case 192:case 236:case 295:case 296:case 291:case 176:case 170:var n=Ti(t,r);if(176===t.kind)return e.append(n,Vi(dn(t.typeParameter)));if(170===t.kind)return e.concatenate(n,ic(t));var i=Ei(n,e.getEffectiveTypeParameterDeclarations(t)),a=r&&(234===t.kind||204===t.kind||235===t.kind)&&Ri(dn(t)).thisType;return a?e.append(i,a):i}}}function wi(t){return Ti(32&t.flags?t.valueDeclaration:e.getDeclarationOfKind(t,235))}function Di(t){for(var r,n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(235===a.kind||234===a.kind||204===a.kind||e.isTypeAlias(a)){var o=a;r=Ei(r,e.getEffectiveTypeParameterDeclarations(o))}}return r}function Ai(e){var t=Za(e,1);if(1===t.length){var r=t[0];return!r.typeParameters&&1===r.parameters.length&&r.hasRestParameter&&Ip(r.parameters[0])===ze}return!1}function Ni(e){if(Li(e)&&Za(e,1).length>0)return!0;
1if(1081344&e.flags){var t=qa(e);return t&&Li(t)&&Ai(t)}return!1}function Pi(t){var r=t.symbol.valueDeclaration;if(e.isInJavaScriptFile(r)){var n=e.getJSDocAugmentsTag(r);if(n)return n.class}return e.getClassExtendsHeritageClauseElement(r)}function Oi(t,r,n){var i=e.length(r),a=e.isInJavaScriptFile(n);return e.filter(Za(t,1),function(t){return(a||i>=_o(t.typeParameters))&&i<=e.length(t.typeParameters)})}function Fi(t,r,n){var i=Oi(t,r,n),a=e.map(r,xc);return e.sameMap(i,function(t){return e.some(t.typeParameters)?Co(t,a,e.isInJavaScriptFile(n)):t})}function Mi(t){if(!t.resolvedBaseConstructorType){var r=t.symbol.valueDeclaration,n=e.getClassExtendsHeritageClauseElement(r),i=Pi(t);if(!i)return t.resolvedBaseConstructorType=re;if(!Kn(t,1))return te;var a=S_(i.expression);if(n&&i!==n&&(e.Debug.assert(!n.typeArguments),S_(n.expression)),327680&a.flags&&Pa(a),!Yn())return fr(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Ln(t.symbol)),t.resolvedBaseConstructorType=te;if(!(1&a.flags)&&a!==ae&&!Ni(a))return fr(i.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,jn(a)),t.resolvedBaseConstructorType=te;t.resolvedBaseConstructorType=a}return t.resolvedBaseConstructorType}function Ii(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[ks(Fs(t.typeParameters))]:96&t.symbol.flags?(32&t.symbol.flags&&function(t){t.resolvedBaseTypes=e.resolvingEmptyArray;var r=Ka(Mi(t));if(!(327681&r.flags))return t.resolvedBaseTypes=e.emptyArray;var n,i=Pi(t),a=ts(i),o=r&&r.symbol?Ji(r.symbol):void 0;if(r.symbol&&32&r.symbol.flags&&function(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,n=e.typeArguments;return t[r].symbol!==n[r].symbol}return!0}(o))n=Uo(i,r.symbol,a);else if(1&r.flags)n=r;else{var s=Fi(r,i.typeArguments,i);if(!s.length)return fr(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),t.resolvedBaseTypes=e.emptyArray;n=So(s[0])}n===te?t.resolvedBaseTypes=e.emptyArray:Li(n)?t===n||Ci(n,t)?(fr(t.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,jn(t,void 0,2)),t.resolvedBaseTypes=e.emptyArray):(t.resolvedBaseTypes===e.resolvingEmptyArray&&(t.members=void 0),t.resolvedBaseTypes=[n]):(fr(i.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_a_class_or_interface_type,jn(n)),t.resolvedBaseTypes=e.emptyArray)}(t),64&t.symbol.flags&&function(t){t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray;for(var r=0,n=t.symbol.declarations;r<n.length;r++){var i=n[r];if(235===i.kind&&e.getInterfaceBaseTypeNodes(i))for(var a=0,o=e.getInterfaceBaseTypeNodes(i);a<o.length;a++){var s=o[a],c=xc(s);c!==te&&(Li(c)?t===c||Ci(c,t)?fr(i,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,jn(t,void 0,2)):t.resolvedBaseTypes===e.emptyArray?t.resolvedBaseTypes=[c]:t.resolvedBaseTypes.push(c):fr(s,e.Diagnostics.An_interface_may_only_extend_a_class_or_another_interface))}}}(t)):e.Debug.fail("type must be class or interface")),t.resolvedBaseTypes}function Li(t){return 134283265&t.flags&&!Na(t)||262144&t.flags&&!e.forEach(t.types,function(e){return!Li(e)})}function Ri(t){var r=Sr(t);if(!r.declaredType){var n=32&t.flags?1:2,i=r.declaredType=bn(n,t),a=wi(t),o=Di(t);(a||o||1===n||!function(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if(235===i.kind){if(64&i.flags)return!1;var a=e.getInterfaceBaseTypeNodes(i);if(a)for(var o=0,s=a;o<s.length;o++){var c=s[o];if(e.isEntityNameExpression(c.expression)){var u=Xr(c.expression,67901928,!0);if(!u||!(64&u.flags)||Ri(u).thisType)return!1}}}}return!0}(t))&&(i.objectFlags|=4,i.typeParameters=e.concatenate(a,o),i.outerTypeParameters=a,i.localTypeParameters=o,i.instantiations=e.createMap(),i.instantiations.set(Ro(i.typeParameters),i),i.target=i,i.typeArguments=i.typeParameters,i.thisType=vn(32768),i.thisType.isThisType=!0,i.thisType.symbol=t,i.thisType.constraint=i)}return r.declaredType}function ji(t){var r=t.initializer;if(!r)return!(4194304&t.flags);switch(r.kind){case 9:case 8:return!0;case 197:return 38===r.operator&&8===r.operand.kind;
1case 71:return e.nodeIsMissing(r)||!!dn(t.parent).exports.get(r.escapedText);case 199:return function e(t){return 9===t.kind||199===t.kind&&e(t.left)&&e(t.right)}(r);default:return!1}}function Bi(e){var t=Sr(e);if(void 0!==t.enumKind)return t.enumKind;for(var r=!1,n=0,i=e.declarations;n<i.length;n++){var a=i[n];if(237===a.kind)for(var o=0,s=a.members;o<s.length;o++){var c=s[o];if(c.initializer&&9===c.initializer.kind)return t.enumKind=1;ji(c)||(r=!0)}}return t.enumKind=r?0:1}function zi(e){return 256&e.flags&&!(131072&e.flags)?Ji(fn(e.symbol)):e}function qi(e){var t=Sr(e);if(t.declaredType)return t.declaredType;if(1===Bi(e)){x++;for(var r=[],n=0,i=e.declarations;n<i.length;n++){var a=i[n];if(237===a.kind)for(var o=0,s=a.members;o<s.length;o++){var c=s[o],u=vc(Bg(c),x,dn(c));Sr(dn(c)).declaredType=u,r.push(u)}}if(r.length){var l=Fs(r,1,e,void 0);return 131072&l.flags&&(l.flags|=256,l.symbol=e),t.declaredType=l}}var d=vn(16);return d.symbol=e,t.declaredType=d}function Ui(e){var t=Sr(e);if(!t.declaredType){var r=qi(fn(e));t.declaredType||(t.declaredType=r)}return t.declaredType}function Vi(e){var t=Sr(e);if(!t.declaredType){var r=vn(32768);r.symbol=e,t.declaredType=r}return t.declaredType}function Ji(e){return Hi(e)||te}function Hi(t){return 96&t.flags?Ri(t):524288&t.flags?function(t){var r=Sr(t);if(!r.declaredType){if(!Kn(t,2))return te;var n=e.find(t.declarations,function(t){return e.isJSDocTypeAlias(t)||236===t.kind}),i=e.isJSDocTypeAlias(n)?n.typeExpression:n.type,a=i?xc(i):te;if(Yn()){var o=Di(t);o&&(r.typeParameters=o,r.instantiations=e.createMap(),r.instantiations.set(Ro(o),a))}else a=te,fr(n.name,e.Diagnostics.Type_alias_0_circularly_references_itself,Ln(t));r.declaredType=a}return r.declaredType}(t):262144&t.flags?Vi(t):384&t.flags?qi(t):8&t.flags?Ui(t):2097152&t.flags?function(e){var t=Sr(e);return t.declaredType||(t.declaredType=Ji(Jr(e))),t.declaredType}(t):void 0}function Wi(e){switch(e.kind){case 119:case 137:case 134:case 122:case 138:case 135:case 105:case 140:case 95:case 131:case 177:return!0;case 166:return Wi(e.elementType);case 161:return!e.typeArguments||e.typeArguments.every(Wi)}return!1}function Ki(e){return!e.constraint||Wi(e.constraint)}function Gi(t){var r=e.getEffectiveTypeAnnotationNode(t);return r?Wi(r):!e.hasInitializer(t)}function Xi(t){if(t.declarations&&1===t.declarations.length){var r=t.declarations[0];if(r)switch(r.kind){case 151:case 150:return Gi(r);case 153:case 152:case 154:return function(t){var r=e.getEffectiveReturnTypeNode(t),n=e.getEffectiveTypeParameterDeclarations(t);return(154===t.kind||r&&Wi(r))&&t.parameters.every(Gi)&&n.every(Ki)}(r)}}return!1}function Yi(t,r,n){for(var i=e.createSymbolTable(),a=0,o=t;a<o.length;a++){var s=o[a];i.set(s.escapedName,n&&Xi(s)?s:Fc(s,r))}return i}function $i(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];e.has(i.escapedName)||e.set(i.escapedName,i)}}function Qi(t){if(!t.declaredProperties){var r=t.symbol,n=oa(r);t.declaredProperties=Sn(n),t.declaredCallSignatures=e.emptyArray,t.declaredConstructSignatures=e.emptyArray,t.declaredCallSignatures=vo(n.get("__call")),t.declaredConstructSignatures=vo(n.get("__new")),t.declaredStringIndexInfo=Mo(r,0),t.declaredNumberIndexInfo=Mo(r,1)}return t}function Zi(e){return!!(1120&e.flags)}function ea(t){return e.isComputedPropertyName(t)&&e.isEntityNameExpression(t.expression)&&Zi(Zd(t))}function ta(t){var r=e.getNameOfDeclaration(t);return r&&ea(r)}function ra(t){return e.hasDynamicName(t)&&!ta(t)}function na(t){return 1024&t.flags?"__@"+t.symbol.escapedName+"@"+u(t.symbol):96&t.flags?e.escapeLeadingUnderscores(""+t.value):void 0}function ia(t,r,n,i){e.Debug.assert(!!i.symbol,"The member is expected to have a symbol.");var a=kr(i);if(!a.resolvedSymbol){a.resolvedSymbol=i.symbol;var o=Zd(i.name);if(Zi(o)){var s=na(o),c=i.symbol.flags,u=n.get(s);u||n.set(s,u=_r(0,s,1024));var l=r&&r.get(s);if(u.flags&gr(c)||l){var d=l?e.concatenate(l.declarations,u.declarations):u.declarations,f=e.declarationNameToString(i.name);e.forEach(d,function(t){return fr(e.getNameOfDeclaration(t)||t,e.Diagnostics.Duplicate_declaration_0,f)}),fr(i.name||i,e.Diagnostics.Duplicate_declaration_0,f),u=_r(0,s,1024)}return u.nameType=o,function(t,r,n){if(e.Debug.assert(!!(1024&e.getCheckFlags(t)),"Expected a late-bound symbol."),t.flags|=n,Sr(r.symbol).lateSymbol=t,t.declarations?t.declarations.push(r):t.declarations=[r],67216319&n){var i=t.valueDeclaration;i&&i.kind===r.kind||(t.valueDeclaration=r)}}(u,i,c),u.parent?e.Debug.assert(u.parent===t,"Existing symbol parent should match new one"):u.parent=t,a.resolvedSymbol
1=u}}return a.resolvedSymbol}function aa(t,r){var n=Sr(t);if(!n[r]){var i="resolvedExports"===r,a=i?1536&t.flags?un(t):t.exports:t.members;n[r]=a||k;for(var o=e.createSymbolTable(),s=0,c=t.declarations;s<c.length;s++){var u=c[s],l=e.getMembersOfDeclaration(u);if(l)for(var d=0,f=l;d<f.length;d++){var p=f[d];i===e.hasStaticModifier(p)&&ta(p)&&ia(t,a,o,p)}}n[r]=function(t,r){if(!t||0===t.size)return r;if(!r||0===r.size)return t;var n=e.createSymbolTable();return br(n,t),br(n,r),n}(a,o)||k}return n[r]}function oa(e){return 6240&e.flags?aa(e,"resolvedMembers"):e.members||k}function sa(t){if(106500&t.flags&&"__computed"===t.escapedName){var r=Sr(t);return!r.lateSymbol&&e.some(t.declarations,ta)&&(e.some(t.declarations,e.hasStaticModifier)?on(t.parent):oa(t.parent)),r.lateSymbol||(r.lateSymbol=t)}return t}function ca(t,r,n){if(4&e.getObjectFlags(t)){var i=t.target,a=t.typeArguments;if(e.length(i.typeParameters)===e.length(a)){var o=Bo(i,e.concatenate(a,[r||i.thisType]));return n?Ka(o):o}}else if(262144&t.flags)return js(e.map(t.types,function(e){return ca(e,r,n)}));return n?Ka(t):t}function ua(t,r,n,i){var a,o,s,c,u,l;e.rangeEquals(n,i,0,n.length)?(a=C,o=r.symbol?oa(r.symbol):e.createSymbolTable(r.declaredProperties),s=r.declaredCallSignatures,c=r.declaredConstructSignatures,u=r.declaredStringIndexInfo,l=r.declaredNumberIndexInfo):(a=Tc(n,i),o=Yi(r.declaredProperties,a,1===n.length),s=Cc(r.declaredCallSignatures,a),c=Cc(r.declaredConstructSignatures,a),u=zc(r.declaredStringIndexInfo,a),l=zc(r.declaredNumberIndexInfo,a));var d=Ii(r);if(d.length){r.symbol&&o===oa(r.symbol)&&(o=e.createSymbolTable(r.declaredProperties)),kn(t,o,s,c,u,l);for(var f=e.lastOrUndefined(i),p=0,_=d;p<_.length;p++){var m=_[p],g=f?ca(jc(m,a),f):m;$i(o,Ia(g)),s=e.concatenate(s,Za(g,0)),c=e.concatenate(c,Za(g,1)),u||(u=g===Q?Fo(Q,!1):ro(g,0)),l=l||ro(g,1)}}kn(t,o,s,c,u,l)}function la(e,t,r,n,i,a,o,s,c){var u=new v(U);return u.declaration=e,u.typeParameters=t,u.parameters=n,u.thisParameter=r,u.resolvedReturnType=i,u.resolvedTypePredicate=a,u.minArgumentCount=o,u.hasRestParameter=s,u.hasLiteralTypes=c,u.target=void 0,u.mapper=void 0,u}function da(e){return la(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,e.hasRestParameter,e.hasLiteralTypes)}function fa(e,t,r,n,i){for(var a=0,o=e;a<o.length;a++){var s=o[a];if(xu(s,t,r,n,i,Wc))return s}}function pa(t,r,n){if(r.typeParameters){if(n>0)return;for(var i=1;i<t.length;i++)if(!fa(t[i],r,!1,!1,!1))return;return[r]}var a;for(i=0;i<t.length;i++){var o=i===n?r:fa(t[i],r,!0,!0,!0);if(!o)return;a=e.appendIfUnique(a,o)}return a}function _a(t,r){for(var n,i=e.map(t,function(e){return Za(e,r)}),a=0;a<i.length;a++)for(var o=0,s=i[a];o<s.length;o++){var c=s[o];if(!n||!fa(n,c,!1,!0,!0)){var u=pa(i,c,a);if(u){var l=c;if(u.length>1){var d=c.thisParameter;if(e.forEach(u,function(e){return e.thisParameter})){var f=Fs(e.map(u,function(e){return e.thisParameter?xi(e.thisParameter):Q}),2);d=Ju(c.thisParameter,f)}(l=da(c)).thisParameter=d,l.unionSignatures=u}(n||(n=[])).push(l)}}}return n||e.emptyArray}function ma(e,t){for(var r=[],n=!1,i=0,a=e;i<a.length;i++){var o=ro(a[i],t);if(!o)return;r.push(o.type),n=n||o.isReadonly}return Fo(Fs(r,2),n)}function ga(e,t){return e?t?js([e,t]):e:t}function ha(e,t){return e?t?Fo(js([e.type,t.type]),e.isReadonly&&t.isReadonly):e:t}function va(e,t){return e&&t&&Fo(Fs([e.type,t.type]),e.isReadonly||t.isReadonly)}function ya(t){for(var r,n,i=e.emptyArray,a=e.emptyArray,o=t.types,s=e.countWhere(o,Ai),c=function(c){var u=t.types[c];if(0===s||s===o.length&&0===c||!Ai(u)){var l=Za(u,1);l.length&&s>0&&(l=e.map(l,function(e){var t=da(e);return t.resolvedReturnType=function(e,t,r){for(var n=[],i=0;i<t.length;i++)i===r?n.push(e):Ai(t[i])&&n.push(So(Za(t[i],1)[0]));return js(n)}(So(e),o,c),t})),a=e.concatenate(a,l)}i=e.concatenate(i,Za(u,0)),r=ha(r,ro(u,0)),n=ha(n,ro(u,1))},u=0;u<o.length;u++)c(u);kn(t,k,i,a,r,n)}function ba(t){var r=t.symbol;if(t.target)kn(t,a=Yi(Oa(t.target),t.mapper,!1),n=Cc(Za(t.target,0),t.mapper),i=Cc(Za(t.target,1),t.mapper),o=zc(ro(t.target,0),t.mapper),c=zc(ro(t.target,1),t.mapper));else if(2048&r.flags){var n=vo((a=oa(r)).get("__call")),i=vo(a.get("__new"));kn(t,a,n,i,o=Mo(r,0),c=Mo(r,1))}else{var a=k,o=void 0;if(r.exports&&(a=on(r)),kn(t,a,e.emptyArray,e.emptyArray,void 0,void 0),32&r.flags){var s=Mi(u=Ri(r));1409024&s.flags?$i(a=e.createSymbolTable(Sn(a)),Ia(s)):s===Q&&(o=Fo(Q,!1))}var c=384&r.flags?_t:void 0;if(kn(t,a,e.emptyArray,e.emptyArray,o,c),8208&r.flags&&(t.callSignatures=vo(r)),32&r.flags){var u=Ri(r);(i=vo(r.members.get("__constructor"))).length||(i=function(t){var r=Za(Mi(t),
11);if(0===r.length)return[la(void 0,t.localTypeParameters,void 0,e.emptyArray,t,void 0,0,!1,!1)];for(var n=Pi(t),i=e.isInJavaScriptFile(n),a=ts(n),o=e.length(a),s=[],c=0,u=r;c<u.length;c++){var l=u[c],d=_o(l.typeParameters),f=e.length(l.typeParameters);if(i||o>=d&&o<=f){var p=f?Eo(l,mo(a,l.typeParameters,d,i)):da(l);p.typeParameters=t.localTypeParameters,p.resolvedReturnType=t,s.push(p)}}return s}(u)),t.constructSignatures=i}}}function xa(e){return e.typeParameter||(e.typeParameter=Vi(dn(e.declaration.typeParameter)))}function Sa(e){return e.constraintType||(e.constraintType=jc(Ra(xa(e)),e.mapper||C)||te)}function ka(e){return e.templateType||(e.templateType=e.declaration.type?jc(oi(xc(e.declaration.type),!!(4&wa(e))),e.mapper||C):te)}function Ca(e){return e.declaration.typeParameter.constraint}function Ea(e){var t=Ca(e);return 174===t.kind&&128===t.operator}function Ta(e){if(!e.modifiersType)if(Ea(e))e.modifiersType=jc(xc(Ca(e).type),e.mapper||C);else{var t=Sa(Zs(e.declaration)),r=t&&32768&t.flags?Ra(t):t;e.modifiersType=r&&524288&r.flags?jc(r.type,e.mapper||C):ye}return e.modifiersType}function wa(e){var t=e.declaration;return(t.readonlyToken?38===t.readonlyToken.kind?2:1:0)|(t.questionToken?38===t.questionToken.kind?8:4:0)}function Da(e){var t=wa(e);return 8&t?-1:4&t?1:0}function Aa(e){var t=Da(e),r=Ta(e);return t||(Na(r)?Da(r):0)}function Na(t){return 32&e.getObjectFlags(t)&&Ws(Sa(t))}function Pa(t){return t.members||(65536&t.flags?4&t.objectFlags?function(t){var r=Qi(t.target),n=e.concatenate(r.typeParameters,[r.thisType]);ua(t,r,n,t.typeArguments&&t.typeArguments.length===n.length?t.typeArguments:e.concatenate(t.typeArguments,[t]))}(t):3&t.objectFlags?function(t){ua(t,Qi(t),e.emptyArray,e.emptyArray)}(t):2048&t.objectFlags?function(t){for(var r=ro(t.source,0),n=wa(t.mappedType),i=!(1&n),a=4&n?0:16777216,o=r&&Fo(sl(r.type,t.mappedType),i&&r.isReadonly),s=e.createSymbolTable(),c=0,u=Ia(t.source);c<u.length;c++){var l=u[c],d=2048|(i&&Yp(l)?8:0),f=_r(4|l.flags&a,l.escapedName,d);f.declarations=l.declarations,f.nameType=l.nameType,f.propertyType=xi(l),f.mappedType=t.mappedType,s.set(l.escapedName,f)}kn(t,s,e.emptyArray,e.emptyArray,o,void 0)}(t):16&t.objectFlags?ba(t):32&t.objectFlags&&function(t){var r,n,i=e.createSymbolTable();kn(t,k,e.emptyArray,e.emptyArray,void 0,void 0);var a=xa(t),o=Sa(t),s=ka(t.target||t),c=Ka(Ta(t)),u=wa(t),l=M?32:1120;if(Ea(t)){for(var d=0,f=Ia(c);d<f.length;d++){var p=f[d];m(zs(p,l),0,p)}(1&c.flags||ro(c,0))&&m(oe),!M&&ro(c,1)&&m(se)}else{var _=7372800&o.flags?Ka(o):o;Jl(524288&_.flags?Us(Ka(_.type)):_,m)}function m(e,o,l){var d=Dc(t.mapper,Tc([a],[e])),f=jc(s,d);if(1120&e.flags){var p=na(e),_=$a(c,p),m=!!(4&u||!(8&u)&&_&&16777216&_.flags),g=_r(4|(m?16777216:0),p,1&u||!(2&u)&&_&&Yp(_)?8:0);g.type=A&&m&&!Xc(re,f)?qu(f):A&&!m&&_&&16777216&_.flags?Al(f,131072):f,l&&(g.syntheticOrigin=l,g.declarations=l.declarations),g.nameType=e,i.set(p,g)}else 3&e.flags?r=Fo(f,!!(1&u)):4&e.flags&&(n=Fo(f,!!(1&u)))}kn(t,i,e.emptyArray,e.emptyArray,r,n)}(t):131072&t.flags?function(e){var t=_a(e.types,0),r=_a(e.types,1),n=ma(e.types,0),i=ma(e.types,1);kn(e,k,t,r,n,i)}(t):262144&t.flags&&ya(t)),t}function Oa(t){return 65536&t.flags?Pa(t).properties:e.emptyArray}function Fa(e,t){if(65536&e.flags){var r=Pa(e).members.get(t);if(r&&gn(r))return r}}function Ma(t){if(!t.resolvedProperties){for(var r=e.createSymbolTable(),n=0,i=t.types;n<i.length;n++){for(var a=0,o=Ia(i[n]);a<o.length;a++){var s=o[a];if(!r.has(s.escapedName)){var c=Ya(t,s.escapedName);c&&r.set(s.escapedName,c)}}if(131072&t.flags)break}t.resolvedProperties=Sn(r)}return t.resolvedProperties}function Ia(e){return 393216&(e=Ka(e)).flags?Ma(e):Oa(e)}function La(e){return 32768&e.flags?Ra(e):1048576&e.flags?function(e){var t=qa(e.objectType)||e.objectType,r=qa(e.indexType)||e.indexType,n=Hs(t)||Ws(r)?void 0:$s(t,r);return n&&n!==te?n:void 0}(e):2097152&e.flags?za(e):qa(e)}function Ra(e){return Va(e)?Io(e):void 0}function ja(e){if(!e.resolvedDefaultConstraint){var t=e.root.trueType,r=4194304&t.flags?t.substitute:t;e.resolvedDefaultConstraint=Fs([jc(r,e.combinedMapper||e.mapper),nc(e)])}return e.resolvedDefaultConstraint}function Ba(e){if(e.root.isDistributive){var t=La(Xs(e.checkType));if(t){var r=Rc(e,Dc(Ec(e.root.checkType,t),e.mapper));if(!(16384&r.flags))return r}}}function za(e){return Ba(e)||ja(e)}function qa(e){var t=function(e){if(7766016&e.flags){var t=Ja(e);if(t!==Ce&&t!==Ee)return t}}(e);return!t&&524288&e.flags?ve:t}function Ua(e){return qa(e)||e}function Va(e){return Ja(e)!==Ee}function Ja(e){var t;if(!e.resolvedBaseConstraint){var r=n(e);e.resolvedBaseConstraint=t?Ee:ca(r||Ce,e)}return e.resolvedBaseConstraint;function n(e){if(Kn(e,4)){var r=function(e){if(32768&e.flags){var t=Io(e);return e.isThisType||!t?t:n(t)}if(393216&e.flags){for(var r=e.types,i=[],a=0,o=r;a<o.length;a++){var s=o[a],c=n(s);c&&i.push(c)}return 131072&e.flags&&i.length===r.length?Fs(i):262144&e.flags&&i.length?js(i):void 0}if(524288&e.flags)return ve;if(1048576&e.flags){var u=n(e.objectType),l=n(e.indexType),d=u&&l?$s(u,l):void 0;return d&&d!==te?n(d):void 0}if(2097152&e.flags){var t=za(e);return t&&n(t)}return 4194304&e.flags?n(e.substitute):Na(e)?ye:e}(Xs(e));if(Yn())return r;t=!0}else t=!0}}function Ha(t){if(t.default)t.default===Te&&(t.default=Ee);else if(t.target){var r=Ha(t.target);t.default=r?jc(r,t.mapper):Ce}else{t.default=Te;var n=t.symbol&&e.forEach(t.symbol.declarations,function(t){return e.isTypeParameterDeclaration(t)&&t.default}),i=n?xc(n):Ce;t.default===Te&&(t.default=i)}return t.default}function Wa(e){var t=Ha(e);return t!==Ce&&t!==Ee?t:void 0}function Ka(e){var t=7897088&e.flags?qa(e)||ye:e;return 262144&t.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=ca(e,e,!0))}(t):34&t.flags?Ie:84&t.flags?Le:136&t.flags?Re:1536&t.flags?cs(T>=2):134217728&t.flags?ye:524288&t.flags?ve:t}function Ga(t,r){for(var n,i=131072&t.flags,a=i?24:0,o=i?0:16777216,s=4,c=0,u=0,l=t.types;u<l.length;u++)if((S=Ka(l[u]))!==te){var d=(x=$a(S,r))?e.getDeclarationModifierFlagsFromSymbol(x):0;!x||d&a?i&&(c|=16):(o&=x.flags,n=e.appendIfUnique(n,x),c|=(Yp(x)?8:0)|(24&d?0:64)|(16&d?128:0)|(8&d?256:0)|(32&d?512:0),wf(x)||(s=2))}if(n){if(1===n.length&&!(16&c))return n[0];for(var f,p,_,m,g=[],h=!0,v=!1,y=0,b=n;y<b.length;y++){var x=b[y];m?x.valueDeclaration!==m&&(v=!0):m=x.valueDeclaration,f=e.addRange(f,x.declarations);var S=xi(x);h?(p=S,_=x.nameType,h=!1):S!==p&&(c|=32),g.push(S)}var k=_r(4|o,r,s|c);return k.containingType=t,!v&&m&&(k.valueDeclaration=m),k.declarations=f,k.nameType=_,k.type=i?Fs(g):js(g),k}}function Xa(t,r){var n=t.propertyCache||(t.propertyCache=e.createSymbolTable()),i=n.get(r);
1return i||(i=Ga(t,r))&&n.set(r,i),i}function Ya(t,r){var n=Xa(t,r);return!n||16&e.getCheckFlags(n)?void 0:n}function $a(e,t){if(65536&(e=Ka(e)).flags){var r=Pa(e),n=r.members.get(t);if(n&&gn(n))return n;if(r===ke||r.callSignatures.length||r.constructSignatures.length){var i=Fa(Oe,t);if(i)return i}return Fa(Pe,t)}if(393216&e.flags)return Ya(e,t)}function Qa(t,r){if(458752&t.flags){var n=Pa(t);return 0===r?n.callSignatures:n.constructSignatures}return e.emptyArray}function Za(e,t){return Qa(Ka(e),t)}function eo(e,t){if(458752&e.flags){var r=Pa(e);return 0===t?r.stringIndexInfo:r.numberIndexInfo}}function to(e,t){var r=eo(e,t);return r&&r.type}function ro(e,t){return eo(Ka(e),t)}function no(e,t){return to(Ka(e),t)}function io(e,t){if(Vu(e)){for(var r=[],n=0,i=Ia(e);n<i.length;n++){var a=i[n];(0===t||Qd(a.escapedName))&&r.push(xi(a))}if(r.length)return Fs(r,2)}}function ao(t){for(var r,n=0,i=e.getEffectiveTypeParameterDeclarations(t);n<i.length;n++){var a=i[n];r=e.appendIfUnique(r,Vi(a.symbol))}return r}function oo(e){var t=[];return e.forEach(function(e,r){xn(r)||t.push(e)}),t}function so(t){return e.isInJavaScriptFile(t)&&(t.type&&282===t.type.kind||e.getJSDocParameterTags(t).some(function(e){var t=e.isBracketed,r=e.typeExpression;return t||!!r&&282===r.type.kind}))}function co(t,r){if(!e.isExternalModuleNameRelative(t)){var n=Er(gt,'"'+t+'"',512);return n&&r?ln(n):n}}function uo(t){if(e.hasQuestionToken(t)||lo(t)||so(t))return!0;if(t.initializer){var r=go(t.parent),n=t.parent.parameters.indexOf(t);return e.Debug.assert(n>=0),n>=r.minArgumentCount}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!i&&!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=i.arguments.length}function lo(t){if(!e.isJSDocParameterTag(t))return!1;var r=t.isBracketed,n=t.typeExpression;return r||!!n&&282===n.type.kind}function fo(e,t,r){return{kind:1,parameterName:e,parameterIndex:t,type:r}}function po(e){return{kind:0,type:e}}function _o(t){var r,n=0;if(t)for(var i=0;i<t.length;i++)(r=t[i]).symbol&&e.forEach(r.symbol.declarations,function(t){return e.isTypeParameterDeclaration(t)&&t.default})||(n=i+1);return n}function mo(t,r,n,i){var a=e.length(r);if(a){var o=e.length(t);if(i||o>=n&&o<=a){t||(t=[]);for(var s=o;s<a;s++)t[s]=hl(i);for(s=o;s<a;s++){var c=Tc(r,t),u=Wa(r[s]);i&&u&&Hc(u,ye)&&(u=Q),t[s]=u?jc(u,c):hl(i)}t.length=r.length}}return t}function go(t){var r=kr(t);if(!r.resolvedSignature){for(var n=[],i=!1,a=0,o=void 0,s=void 0,c=e.getImmediatelyInvokedFunctionExpression(t),u=e.isJSDocConstructSignature(t),l=!c&&e.isInJavaScriptFile(t)&&e.isValueSignatureDeclaration(t)&&!e.hasJSDocParameterTags(t)&&!e.getJSDocType(t),d=u?1:0;d<t.parameters.length;d++){var f=t.parameters[d],p=f.symbol,_=e.isJSDocParameterTag(f)?f.typeExpression&&f.typeExpression.type:f.type;p&&4&p.flags&&!e.isBindingPattern(f.name)&&(p=wr(f,p.escapedName,67216319,void 0,void 0,!1)),0===d&&"this"===p.escapedName?(s=!0,o=f.symbol):n.push(p),_&&177===_.kind&&(i=!0),lo(f)||f.initializer||f.questionToken||f.dotDotDotToken||c&&n.length>c.arguments.length&&!_||l||so(f)||(a=n.length)}if((155===t.kind||156===t.kind)&&!ra(t)&&(!s||!o)){var m=155===t.kind?156:155,g=e.getDeclarationOfKind(dn(t),m);g&&(o=function(e){var t=ph(e);return t&&t.symbol}(g))}var h=154===t.kind?Ri(ln(t.parent.symbol)):void 0,v=h?h.localTypeParameters:ao(t),y=function(t,r,n){if(r)return xc(t.parameters[0].type);if(n)return n;var i=e.getEffectiveReturnTypeNode(t);if(i)return xc(i);if(155===t.kind&&!ra(t)){var a=e.getDeclarationOfKind(dn(t),156);return mi(a)}return e.nodeIsMissing(t.body)?Q:void 0}(t,u,h),b=e.hasRestParameter(t)||e.isInJavaScriptFile(t)&&function(t,r){if(e.isJSDocSignature(t)||!ho(t))return!1;var n=e.lastOrUndefined(t.parameters),i=n?e.getJSDocParameterTags(n):e.getJSDocTags(t).filter(e.isJSDocParameterTag),a=e.firstDefined(i,function(t){return t.typeExpression&&e.isJSDocVariadicType(t.typeExpression.type)?t.typeExpression.type:void 0}),o=_r(3,"args");return o.type=a?ks(xc(a.type)):ze,o.isRestParameter=!0,a&&r.pop(),r.push(o),!0}(t,n);r.resolvedSignature=la(t,v,o,n,y,void 0,a,b,i)}return r.resolvedSignature}function ho(t){var r=kr(t);return void 0===r.containsArgumentsReference&&(8192&r.flags?r.containsArgumentsReference=!0:r.containsArgumentsReference=function t(r){if(!r)return!1;switch(r.kind){case 71:return"arguments"===r.escapedText&&e.isExpressionNode(r);case 151:case 153:case 155:case 156:return 146===r.name.kind&&t(r.name);default:return!e.nodeStartsNewLexicalEnvironment(r)&&!e.isPartOfTypeNode(r)&&e.forEachChild(r,t)}}(t.body)),r.containsArgumentsReference}function vo(t){if(!t)return e.emptyArray;for(var r=[],n=0;n<t.declarations.length;n++){var i=t.declarations[n],a=e.isPropertyAccessExpression(i)?e.getAssignedJavascriptInitializer(i):i;if(e.isFunctionLike(a)){if(n>0&&a.body){var o=t.declarations[n-1];if(a.parent===o.parent&&a.kind===o.kind&&a.pos===o.end)continue}r.push(go(a))}}return r}function yo(e){if(e.thisParameter)return xi(e.thisParameter)}function bo(e){return void 0!==xo(e)}function xo(t){if(!t.resolvedTypePredicate){if(t.target){var r=xo(t.target);t.resolvedTypePredicate=r?(i=r,a=t.mapper,e.isIdentifierTypePredicate(i)?{kind:1,parameterName:i.parameterName,parameterIndex:i.parameterIndex,type:jc(i.type,a)}:{kind:0,type:jc(i.type,a)}):ct}else if(t.unionSignatures)t.resolvedTypePredicate=function(t){for(var r,n=[],i=0,a=t;i<a.length;i++){var o=a[i],s=xo(o);if(s){if(r){if(!Ms(r,s))return}else r=s;n.push(s.type)}}if(r){var c=Fs(n);return e.isIdentifierTypePredicate(r)?fo(r.parameterName,r.parameterIndex,c):po(c)}}(t.unionSignatures)||ct;else{var n=t.declaration;
1t.resolvedTypePredicate=n&&n.type&&160===n.type.kind?function(e){var t=e.parameterName,r=xc(e.type);return 71===t.kind?fo(t&&t.escapedText,t&&function(e,t){if(e)for(var r=0;r<e.length;r++){var n=e[r];if(71===n.name.kind&&n.name.escapedText===t.escapedText)return r}return-1}(e.parent.parameters,t),r):po(r)}(n.type):ct}e.Debug.assert(!!t.resolvedTypePredicate)}var i,a;return t.resolvedTypePredicate===ct?void 0:t.resolvedTypePredicate}function So(t){if(!t.resolvedReturnType){if(!Kn(t,3))return te;var r=void 0;if(r=t.target?jc(So(t.target),t.mapper):t.unionSignatures?Fs(e.map(t.unionSignatures,So),2):Up(t.declaration),!Yn()&&(r=Q,O)){var n=t.declaration,i=e.getNameOfDeclaration(n);i?fr(i,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(i)):fr(n,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}t.resolvedReturnType=r}return t.resolvedReturnType}function ko(t){if(t.hasRestParameter){var r=xi(e.lastOrUndefined(t.parameters));if(4&e.getObjectFlags(r)&&r.target===Fe)return r.typeArguments[0]}return Q}function Co(t,r,n){r=mo(r,t.typeParameters,_o(t.typeParameters),n);var i=t.instantiations||(t.instantiations=e.createMap()),a=Ro(r),o=i.get(a);return o||i.set(a,o=Eo(t,r)),o}function Eo(e,t){return Oc(e,To(e,t),!0)}function To(e,t){return Tc(e.typeParameters,t)}function wo(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return Oc(e,wc(e.typeParameters),!0)}(e)):e}function Do(t){return t.typeParameters?t.canonicalSignatureCache||(t.canonicalSignatureCache=function(t){return Co(t,e.map(t.typeParameters,function(e){return e.target&&!Ra(e.target)?e.target:e}),e.isInJavaScriptFile(t.declaration))}(t)):t}function Ao(t){var r=t.typeParameters;if(r){var n=wc(r);return Oc(t,Tc(r,e.map(r,function(e){return jc(qa(e),n)||ye})),!0)}return t}function No(t){if(!t.isolatedSignatureType){var r=154===t.declaration.kind||158===t.declaration.kind,n=bn(16);n.members=k,n.properties=e.emptyArray,n.callSignatures=r?e.emptyArray:[t],n.constructSignatures=r?[t]:e.emptyArray,t.isolatedSignatureType=n}return t.isolatedSignatureType}function Po(e){return e.members.get("__index")}function Oo(t,r){var n=1===r?134:137,i=Po(t);if(i)for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a],c=e.cast(s,e.isIndexSignatureDeclaration);if(1===c.parameters.length){var u=c.parameters[0];if(u.type&&u.type.kind===n)return c}}}function Fo(e,t,r){return{type:e,isReadonly:t,declaration:r}}function Mo(t,r){var n=Oo(t,r);if(n)return Fo(n.type?xc(n.type):Q,e.hasModifier(n,64),n)}function Io(t){if(!t.constraint)if(t.target){var r=Ra(t.target);t.constraint=r?jc(r,t.mapper):Ce}else{var n=function(t){var r=t.symbol&&e.getDeclarationOfKind(t.symbol,147);return r&&r.constraint}(t);t.constraint=n?xc(n):function(t){var r;if(t.symbol)for(var n=0,i=t.symbol.declarations;n<i.length;n++){var a=i[n];if(171===a.parent.kind&&161===a.parent.parent.kind){var o=a.parent.parent,s=I_(o);if(s){var c=o.typeArguments.indexOf(a.parent);if(c<s.length){var u=Ra(s[c]);if(u){var l=jc(u,Tc(s,F_(o,s)));l!==t&&(r=e.append(r,l))}}}}}return r&&js(r)}(t)||Ce}return t.constraint===Ce?void 0:t.constraint}function Lo(t){return dn(e.getDeclarationOfKind(t.symbol,147).parent)}function Ro(e){var t="";if(e)for(var r=e.length,n=0;n<r;){for(var i=e[n].id,a=1;n+a<r&&e[n+a].id===i+a;)a++;t.length&&(t+=","),t+=i,a>1&&(t+=":"+a),n+=a}return t}function jo(e,t){for(var r=0,n=0,i=e;n<i.length;n++){var a=i[n];a.flags&t||(r|=a.flags)}return 117440512&r}function Bo(e,t){var r=Ro(t),n=e.instantiations.get(r);return n||(n=bn(4,e.symbol),e.instantiations.set(r,n),n.flags|=t?jo(t,0):0,n.target=e,n.typeArguments=t),n}function zo(e){var t=vn(e.flags);return t.symbol=e.symbol,t.objectFlags=e.objectFlags,t.target=e.target,t.typeArguments=e.typeArguments,t}function qo(t){return e.length(t.target.typeParameters)}function Uo(t,r,n){var i=Ji(ln(r)),a=i.localTypeParameters;if(a){var o=e.length(t.typeArguments),s=_o(a),c=e.isInJavaScriptFile(t);if((O||!c)&&(o<s||o>a.length)){var u=c&&289!==t.parent.kind;if(fr(t,s===a.length?u?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:u?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,jn(i,void 0,2),s,a.length),!c)return te}return Bo(i,e.concatenate(i.outerTypeParameters,mo(n,a,s,c)))}return Zo(t,r)?i:te}function Vo(t,r){var n=Ji(t),i=Sr(t),a=i.typeParameters,o=Ro(r),s=i.instantiations.get(o);return s||i.instantiations.set(o,s=jc(n,Tc(a,mo(r,a,_o(a),e.isInJavaScriptFile(t.valueDeclaration))))),s}function Jo(t){switch(t.kind){case 161:return t.typeName;case 206:var r=t.expression;if(e.isEntityNameExpression(r))return r}}function Ho(e,t){return e&&Xr(e,t)||Y}function Wo(e,t){var r=ts(e);if(t===Y)return te;var n=Go(e,t,r);if(n)return n;var i=Hi(t);if(i)return Zo(e,t)?32768&i.flags?$o(i,e):i:te;if(!(67216319&t.flags&&Qo(e)))return te;var a=Ko(e,t,r);return a||(Ho(Jo(e),67901928),xi(t))}function Ko(e,t,r){var n=Cp(t),i=xi(t),a=i.symbol&&i.symbol!==t&&!wp(i)&&Go(e,i.symbol,r);if(a||n)return a&&n?js([n,a]):a||n}function Go(t,r,n){if(96&r.flags){if(r.valueDeclaration&&e.isBinaryExpression(r.valueDeclaration.parent)){var i=Ko(t,r,n);if(i)return i}return Uo(t,r,n)}return 524288&r.flags?function(t,r,n){var i=Ji(r),a=Sr(r).typeParameters;if(a){var o=e.length(t.typeArguments),s=_o(a);return o<s||o>a.length?(fr(t,s===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ln(r),s,a.length),te):Vo(r,n)}return Zo(t,r)?i:te}(t,r,n):16&r.flags&&Qo(t)&&(r.members||e.getJSDocClassTag(r.valueDeclaration))?Tp(r):void 0}function Xo(e){return 167===e.kind&&1===e.elementTypes.length}function Yo(e,t,r){return Xo(t)&&Xo(r)?Yo(e,t.elementTypes[0],r.elementTypes[0]):ec(xc(t))===e?xc(r):void 0}function $o(t,r){for(var n;
1r&&!e.isStatement(r)&&285!==r.kind;){var i=r.parent;if(170===i.kind&&r===i.trueType){var a=Yo(t,i.checkType,i.extendsType);a&&(n=e.append(n,a))}r=i}return n?function(e,t){var r=vn(4194304);return r.typeVariable=e,r.substitute=t,r}(t,js(e.append(n,t))):t}function Qo(e){return 2097152&e.flags&&161===e.kind}function Zo(t,r){return!t.typeArguments||(fr(t,e.Diagnostics.Type_0_is_not_generic,r?Ln(r):t.typeName?e.declarationNameToString(t.typeName):"(anonymous)"),!1)}function es(t){var r=kr(t);if(!r.resolvedType){var n=void 0,i=void 0,a=67901928;Qo(t)&&(i=function(t){if(e.isIdentifier(t.typeName)){var r=t.typeArguments;switch(t.typeName.escapedText){case"String":return Zo(t),oe;case"Number":return Zo(t),se;case"Boolean":return Zo(t),le;case"Void":return Zo(t),fe;case"Undefined":return Zo(t),re;case"Null":return Zo(t),ie;case"Function":case"function":return Zo(t),Oe;case"Array":case"array":return r&&r.length?void 0:ze;case"Promise":case"promise":return r&&r.length?void 0:zp(Q);case"Object":if(r&&2===r.length){if(e.isJSDocIndexSignature(t)){var n=xc(r[0]),i=Fo(xc(r[1]),!1);return Cn(void 0,k,e.emptyArray,e.emptyArray,n===oe&&i,n===se&&i)}return Q}return Zo(t),Q}}}(t),a|=67216319),i||(i=Wo(t,n=Ho(Jo(t),a))),r.resolvedSymbol=n,r.resolvedType=i}return r.resolvedType}function ts(t){return e.map(t.typeArguments,xc)}function rs(e){var t=kr(e);return t.resolvedType||(t.resolvedType=Yu(S_(e.exprName))),t.resolvedType}function ns(t,r){function n(e){for(var t=0,r=e.declarations;t<r.length;t++){var n=r[t];switch(n.kind){case 234:case 235:case 237:return n}}}if(!t)return r?Se:ye;var i=Ji(t);return 65536&i.flags?e.length(i.typeParameters)!==r?(fr(n(t),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(t),r),r?Se:ye):i:(fr(n(t),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(t)),r?Se:ye)}function is(t,r){return as(t,67216319,r?e.Diagnostics.Cannot_find_global_value_0:void 0)}function as(e,t,r){return wr(void 0,e,t,r,e,!1)}function os(t,r,n){var i=function(t,r){return as(t,67901928,r?e.Diagnostics.Cannot_find_global_type_0:void 0)}(t,n);return i||n?ns(i,r):void 0}function ss(e){return Je||(Je=is("Symbol",e))}function cs(e){return He||(He=os("Symbol",0,e))||ye}function us(e){return Ke||(Ke=os("Promise",1,e))||Se}function ls(e){return Ge||(Ge=is("Promise",e))}function ds(e){return Ze||(Ze=os("AsyncIterable",1,e))||Se}function fs(e){return et||(et=os("AsyncIterator",1,e))||Se}function ps(e){return tt||(tt=os("AsyncIterableIterator",1,e))||Se}function _s(e){return Ye||(Ye=os("Iterable",1,e))||Se}function ms(e){return $e||($e=os("Iterator",1,e))||Se}function gs(e){return Qe||(Qe=os("IterableIterator",1,e))||Se}function hs(e,t){void 0===t&&(t=0);var r=as(e,67901928,void 0);return r&&ns(r,t)}function vs(e,t){return e!==Se?Bo(e,t):ye}function ys(e){return vs(We||(We=os("TypedPropertyDescriptor",1,!0))||Se,[e])}function bs(e){return vs(ps(!0),[e])}function xs(e){return vs(_s(!0),[e])}function Ss(e){return vs(gs(!0),[e])}function ks(e){return vs(Fe,[e])}function Cs(t){return V[t]||(V[t]=function(t){for(var r=[],n=[],i=0;i<t;i++){var a=vn(32768);r.push(a);var o=_r(4,""+i);o.type=a,n.push(o)}var s=_r(4,"length");s.type=vc(t),n.push(s);var c=bn(12);return c.typeParameters=r,c.outerTypeParameters=void 0,c.localTypeParameters=r,c.instantiations=e.createMap(),c.instantiations.set(Ro(c.typeParameters),c),c.target=c,c.typeArguments=c.typeParameters,c.thisType=vn(32768),c.thisType.isThisType=!0,c.thisType.constraint=c,c.declaredProperties=n,c.declaredCallSignatures=e.emptyArray,c.declaredConstructSignatures=e.emptyArray,c.declaredStringIndexInfo=void 0,c.declaredNumberIndexInfo=void 0,c}(t))}function Es(e){return Bo(Cs(e.length),e)}function Ts(e){return e.id}function ws(t,r){return e.binarySearch(t,r,Ts,e.compareValues)>=0}function Ds(t,r,n){var i=n.flags;if(131072&i)return As(t,r,n.types);if(!(16384&i||262144&i&&function(e){for(var t=0,r=0,n=e.types;r<n.length;r++){var i=n[r];if(13536&i.flags&&13536&t)return!0;if(12288&(t|=i.flags)&&134283264&t||134217728&t&&16126&t||34&t&&134233820&t||84&t&&134233770&t||1536&t&&134232318&t||6144&t&&134227710&t)return!0}return!1}(n)))if(r|=-117440513&i,1&i)n===ee&&(r|=33554432);else if(!A&&12288&i)16777216&i||(r|=16777216);else{var a=t.length,o=a&&n.id>t[a-1].id?~a:e.binarySearch(t,n,Ts,e.compareValues);o<0&&(65536&i&&16&n.objectFlags&&n.symbol&&8208&n.symbol.flags&&Ns(t,n)||t.splice(~o,0,n))}return r}function As(e,t,r){for(var n=0,i=r;n<i.length;n++)t=Ds(e,t,i[n]);return t}function Ns(e,t){for(var r=0,n=e;r<n.length;r++)if(Hc(n[r],t))return!0;return!1}function Ps(t,r){for(var n=0,i=r;n<i.length;n++){var a=i[n];if(t!==a&&Gc(t,a)&&(!(1&e.getObjectFlags(ki(t)))||!(1&e.getObjectFlags(ki(a)))||Yc(t,a)))return!0}return!1}function Os(t){if(0!==t.length&&!function(e){var t=e[0];if(256&t.flags){for(var r=fn(t.symbol),n=1;n<e.length;n++){var i=e[n];if(!(256&i.flags)||r!==fn(i.symbol))return!1}return!0}return!1}(t))for(var r=t.length;r>0;)Ps(t[--r],t)&&e.orderedRemoveItemAt(t,r)}function Fs(t,r,n,i){if(void 0===r&&(r=1),0===t.length)return pe;if(1===t.length)return t[0];var a=[],o=As(a,0,t);if(1&o)return 33554432&o?ee:Q;switch(r){case 1:1120&o&&function(t,r){for(var n=t.length;n>0;){var i=t[--n];(32&i.flags&&2&r||64&i.flags&&4&r||1024&i.flags&&512&r||96&i.flags&&8388608&i.flags&&ws(t,i.regularType))&&e.orderedRemoveItemAt(t,n)}}(a,o);break;case 2:Os(a)}return 0===a.length?8192&o?16777216&o?ie:ae:4096&o?16777216&o?re:ne:pe:Is(a,8374815&o?0:268435456,n,i)}function Ms(t,r){return e.isIdentifierTypePredicate(t)?e.isIdentifierTypePredicate(r)&&t.parameterIndex===r.parameterIndex:!e.isIdentifierTypePredicate(r)}function Is(e,t,r,n){if(0===e.length)return pe;if(1===e.length)return e[0];var i=Ro(e),a=J.get(i);return a||(a=vn(131072|jo(e,12288)|t),J.set(i,a),a.types=e,a.aliasSymbol
1=r,a.aliasTypeArguments=n),a}function Ls(t,r,n){var i=n.flags;return 262144&i?Rs(t,r,n.types):(16&e.getObjectFlags(n)&&iu(n)?r|=67108864:(r|=-117440513&i,1&i?n===ee&&(r|=33554432):!A&&12288&i||e.contains(t,n)||65536&i&&16&n.objectFlags&&n.symbol&&8208&n.symbol.flags&&Ns(t,n)||t.push(n)),r)}function Rs(e,t,r){for(var n=0,i=r;n<i.length;n++)t=Ls(e,t,hc(i[n]));return t}function js(t,r,n){if(0===t.length)return ye;var i=[],a=Rs(i,0,t);if(16384&a)return pe;if(1&a)return 33554432&a?ee:Q;if((2&a&&32&a||4&a&&64&a||512&a&&1024&a)&&function(t,r){for(var n=t.length;n>0;){var i=t[--n];(2&i.flags&&32&r||4&i.flags&&64&r||512&i.flags&&1024&r)&&e.orderedRemoveItemAt(t,n)}}(i,a),67108864&a&&!(65536&a)&&i.push(ye),1===i.length)return i[0];if(131072&a){if(268435456&a&&function(t){for(var r=e.findIndex(t,function(e){return 0!==(268435456&e.flags)}),n=t[r],i=n.types,a=t.length-1,o=function(){var r=t[a];268435456&r.flags&&(i=e.filter(i,function(e){return ws(r.types,e)}),e.orderedRemoveItemAt(t,a)),a--};a>r;)o();return i!==n.types&&(t[r]=Is(i,268435456&n.flags),!0)}(i))return js(i,r,n);var o=e.findIndex(i,function(e){return 0!==(131072&e.flags)}),s=i[o];return Fs(e.map(s.types,function(t){return js(e.replaceElement(i,o,t))}),1,r,n)}var c=Ro(i),u=H.get(c);return u||(u=vn(262144|jo(i,12288)),H.set(c,u),u.types=i,u.aliasSymbol=r,u.aliasTypeArguments=n),u}function Bs(e,t){var r=vn(524288);return r.type=e,r.stringsOnly=t,r}function zs(t,r){if(!(24&e.getDeclarationModifierFlagsFromSymbol(t))){var n=sa(t).nameType;if(!n&&!e.isKnownSymbol(t)){var i=e.getNameOfDeclaration(t.valueDeclaration);n=i&&e.isNumericLiteral(i)?vc(+i.text):i&&146===i.kind&&e.isNumericLiteral(i.expression)?vc(+i.expression.text):vc(e.symbolName(t))}if(n&&n.flags&r)return n}return pe}function qs(t,r){return Fs(e.map(Ia(t),function(e){return zs(e,r)}))}function Us(t,r){return void 0===r&&(r=M),131072&t.flags?js(e.map(t.types,function(e){return Us(e,r)})):262144&t.flags?Fs(e.map(t.types,function(e){return Us(e,r)})):e_(t,7372800)?function(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=Bs(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=Bs(e,!1))}(t,r):32&e.getObjectFlags(t)?Sa(t):t===ee?ee:1&t.flags?ve:r?ro(t,0)?oe:qs(t,32):ro(t,0)?Fs([oe,se,qs(t,1024)]):function(e){var t=ro(e,1);return t!==_t?t:void 0}(t)?Fs([se,qs(t,1056)]):qs(t,1120)}function Vs(t){if(M)return t;var r=it||(it=as("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return r?Vo(r,[t,oe]):oe}function Js(t,r,n,i){var a=n&&185===n.kind?n:void 0,o=Zi(r)?na(r):a&&Hf(a.argumentExpression,r,!1)?e.getPropertyNameForKnownSymbolName(e.idText(a.argumentExpression.name)):void 0;if(void 0!==o){var s=$a(t,o);if(s){if(a){if(qf(s,a,99===a.expression.kind),e.isAssignmentTarget(a)&&($p(a,s)||Qp(a)))return fr(a.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property,Ln(s)),te;i&&(kr(n).resolvedSymbol=s)}return xi(s)}}if(!(12288&r.flags)&&t_(r,1654)){if(Zn(t))return t;var c=t_(r,84)&&ro(t,1)||ro(t,0)||void 0;if(c)return n&&!t_(r,6)?fr(u=185===n.kind?n.argumentExpression:n.indexType,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,jn(r)):a&&c.isReadonly&&(e.isAssignmentTarget(a)||e.isDeleteTarget(a))&&fr(a,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,jn(t)),c.type;if(16384&r.flags)return pe;if(a&&!n_(t))return O&&!E.suppressImplicitAnyIndexErrors&&(no(t,1)?fr(a.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number):fr(a,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,jn(t))),Q}if(n){var u=185===n.kind?n.argumentExpression:n.indexType;96&r.flags?fr(u,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,jn(t)):6&r.flags?fr(u,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,jn(t),jn(r)):fr(u,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,jn(r))}return te}function Hs(e){return e_(e,544243712)}function Ws(e){return e_(e,7897088)}function Ks(e){if(65536&e.flags&&!Na(e)){var t=Pa(e);return 0===t.properties.length&&0===t.callSignatures.length&&0===t.constructSignatures.length&&t.stringIndexInfo&&!t.numberIndexInfo}return!1}function Gs(t){return 32&e.getObjectFlags(t)&&ka(t)===pe}function Xs(t){return 1048576&t.flags?function(t){if(t.simplified)return t.simplified===Ee?t:t.simplified;t.simplified=Ee;var r=t.objectType;if(262144&r.flags&&Hs(r)){if(e.some(r.types,Ks)){for(var n=[],i=[],a=0,o=r.types;a<o.length;a++){var s=o[a];Ks(s)?i.push(no(s,0)):n.push(s)}return t.simplified=Fs([Xs($s(js(n),t.indexType)),js(i)])}if(e.some(r.types,Gs)){var c=e.filter(r.types,function(e){return!Gs(e)});return t.simplified=Xs($s(js(c),t.indexType))}}if(Na(r))return t.simplified=Ys(r,t);if(32768&r.flags){var u=Io(r);if(u&&Na(u))return t.simplified=Ys(u,t)}return t.simplified=t}(t):t}function Ys(e,t){var r=Tc([xa(e)],[t.indexType]),n=Dc(e.mapper,r);return jc(ka(e),n)}function $s(e,t,r){if(e===ee||t===ee)return ee;if(Ws(t)||(!r||185!==r.kind)&&Hs(e)){if(1&e.flags)return e;var n=e.id+","+t.id,i=K.get(n);return i||K.set(n,i=function(e,t){var r=vn(1048576);return r.objectType=e,r.indexType=t,r}(e,t)),i}var a=Ka(e);if(131072&t.flags&&!(8&t.flags)){for(var o=[],s=0,c=t.types;s<c.length;s++){var u=Js(a,c[s],r,!1);if(u===te)return te;o.push(u)}return Fs(o)}return Js(a,t,r,!0)}function Qs(e){var t=kr(e);
1if(!t.resolvedType){var r=xc(e.objectType),n=xc(e.indexType),i=$s(r,n,e);t.resolvedType=1048576&i.flags&&i.objectType===r&&i.indexType===n?$o(i,e):i}return t.resolvedType}function Zs(e){var t=kr(e);if(!t.resolvedType){var r=bn(32,e.symbol);r.declaration=e,r.aliasSymbol=uc(e),r.aliasTypeArguments=lc(r.aliasSymbol),t.resolvedType=r,Sa(r)}return t.resolvedType}function ec(e){return 4194304&e.flags?e.typeVariable:e}function tc(e,t){var r=jc(e.checkType,t),n=jc(e.extendsType,t);if(r===ee||n===ee)return ee;var i,a=e.isDistributive&&e_(r,7897088);if(e.inferTypeParameters){var o=tl(e.inferTypeParameters,void 0,0);a||ll(o.inferences,r,n,96),i=Dc(t,o)}if(!a){if(1&r.flags)return Fs([jc(e.trueType,i||t),jc(e.falseType,t)]);var s=i?jc(e.extendsType,i):n;if(!Xc(Bc(r),Bc(s)))return jc(e.falseType,t);if(uu(r,s,ar,void 0))return jc(e.trueType,i||t)}var c=ec(r),u=vn(2097152);return u.root=e,u.checkType=c,u.extendsType=n,u.mapper=t,u.combinedMapper=i,u.aliasSymbol=e.aliasSymbol,u.aliasTypeArguments=kc(e.aliasTypeArguments,t),u}function rc(e){return e.resolvedTrueType||(e.resolvedTrueType=jc(e.root.trueType,e.mapper))}function nc(e){return e.resolvedFalseType||(e.resolvedFalseType=jc(e.root.falseType,e.mapper))}function ic(t){var r;return t.locals&&t.locals.forEach(function(t){262144&t.flags&&(r=e.append(r,Ji(t)))}),r}function ac(t){var r=kr(t);if(!r.resolvedType){var n=xc(t.checkType),i=uc(t),a=lc(i),o=Ti(t,!0),s=a?o:e.filter(o,function(e){return function(e,t){if(Ic(e,t))return!0;for(;t;){if(170===t.kind&&Ic(e,t.extendsType))return!0;t=t.parent}return!1}(e,t)}),c={node:t,checkType:n,extendsType:xc(t.extendsType),trueType:xc(t.trueType),falseType:xc(t.falseType),isDistributive:!!(32768&n.flags),inferTypeParameters:ic(t),outerTypeParameters:s,instantiations:void 0,aliasSymbol:i,aliasTypeArguments:a};r.resolvedType=tc(c,void 0),s&&(c.instantiations=e.createMap(),c.instantiations.set(Ro(s),r.resolvedType))}return r.resolvedType}function oc(t){var r=kr(t);if(!r.resolvedType){if(t.isTypeOf&&t.typeArguments)return fr(t,e.Diagnostics.Type_arguments_cannot_be_used_here),r.resolvedSymbol=Y,r.resolvedType=te;if(!e.isLiteralImportTypeNode(t))return fr(t.argument,e.Diagnostics.String_literal_expected),r.resolvedSymbol=Y,r.resolvedType=te;var n=xc(t.argument),i=t.isTypeOf?67216319:67901928,a=n.value,o=Qr(t,a,e.Diagnostics.Cannot_find_module_0,t,!1);if(!o)return r.resolvedSymbol=Y,r.resolvedType=te;var s=en(o,!1);if(e.nodeIsMissing(t.qualifier))s.flags&i?sc(t,r,s,i):(fr(t,67216319===i?e.Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here,a),r.resolvedSymbol=Y,r.resolvedType=te);else{for(var c=function t(r){return e.isIdentifier(r)?[r]:e.append(t(r.left),r.right)}(t.qualifier),u=s,l=void 0;l=c.shift();){var d=c.length?1920:i,f=Er(on(ln(Vr(u))),l.escapedText,d);if(!f)return fr(l,e.Diagnostics.Namespace_0_has_no_exported_member_1,Gr(u),e.declarationNameToString(l)),r.resolvedType=te;kr(l).resolvedSymbol=f,kr(l.parent).resolvedSymbol=f,u=f}sc(t,r,u,i)}}return r.resolvedType}function sc(e,t,r,n){var i=Vr(r);return t.resolvedSymbol=i,t.resolvedType=67216319===n?xi(r):Wo(e,i)}function cc(t){var r=kr(t);if(!r.resolvedType){var n=uc(t);if(0!==oa(t.symbol).size||n){var i=bn(16,t.symbol);i.aliasSymbol=n,i.aliasTypeArguments=lc(n),e.isJSDocTypeLiteral(t)&&t.isArrayType&&(i=ks(i)),r.resolvedType=i}else r.resolvedType=xe}return r.resolvedType}function uc(t){return e.isTypeAlias(t.parent)?dn(t.parent):void 0}function lc(e){return e?Di(e):void 0}function dc(t,r,n,i,a){if(1&t.flags||1&r.flags)return Q;if(16384&t.flags)return r;if(16384&r.flags)return t;if(131072&t.flags)return Wl(t,function(e){return dc(e,r,n,i,a)});if(131072&r.flags)return Wl(r,function(e){return dc(t,e,n,i,a)});if(134742526&r.flags)return t;var o,s,c=e.createSymbolTable(),u=e.createUnderscoreEscapedMap();t===ye?(o=ro(r,0),s=ro(r,1)):(o=va(ro(t,0),ro(r,0)),s=va(ro(t,1),ro(r,1)));for(var l=0,d=Ia(r);l<d.length;l++){var f=65536&(g=d[l]).flags&&!(32768&g.flags);24&e.getDeclarationModifierFlagsFromSymbol(g)?u.set(g.escapedName,!0):_c(g)||f||c.set(g.escapedName,fc(g))}for(var p=0,_=Ia(t);p<_.length;p++){var m=_[p];if(!(65536&m.flags&&!(32768&m.flags)||u.has(m.escapedName)||_c(m)))if(c.has(m.escapedName)){var g,h=xi(g=c.get(m.escapedName));if(16777216&g.flags){var v=e.concatenate(m.declarations,g.declarations),y=_r(4|16777216&m.flags,m.escapedName);y.type=Fs([xi(m),Al(h,131072)]),y.leftSpread=m,y.rightSpread=g,y.declarations=v,y.nameType=m.nameType,c.set(m.escapedName,y)}}else c.set(m.escapedName,fc(m))}var b=Cn(n,c,e.emptyArray,e.emptyArray,pc(o),pc(s));return b.flags|=33554432|i,b.objectFlags|=1152|a,b}function fc(e){if(!Yp(e))return e;var t=_r(4|16777216&e.flags,e.escapedName);return t.type=xi(e),t.declarations=e.declarations,t.nameType=e.nameType,t.syntheticOrigin=e,t}function pc(e){return e&&e.isReadonly?Fo(e.type,!1,e.declaration):e}function _c(t){return 8192&t.flags&&e.find(t.declarations,function(t){return e.isClassLike(t.parent)})}function mc(e,t,r){var n=vn(e);
1return n.symbol=r,n.value=t,n}function gc(e){if(96&e.flags&&!(8388608&e.flags)){if(!e.freshType){var t=mc(8388608|e.flags,e.value,e.symbol);t.regularType=e,e.freshType=t}return e.freshType}return e}function hc(t){return 96&t.flags&&8388608&t.flags?t.regularType:131072&t.flags?Fs(e.sameMap(t.types,hc)):t}function vc(e,t,r){var n="number"===typeof e?"#":"@",i=t?t+n+e:n+e,a=W.get(i);if(!a){var o=("number"===typeof e?64:32)|(t?256:0);W.set(i,a=mc(o,e,r))}return a}function yc(t){if(e.isValidESSymbolDeclaration(t)){var r=dn(t),n=Sr(r);return n.uniqueESSymbolType||(n.uniqueESSymbolType=function(e){var t=vn(1024);return t.symbol=e,t}(r))}return de}function bc(t){var r=kr(t);return r.resolvedType||(r.resolvedType=function(t){var r=e.getThisContainer(t,!1),n=r&&r.parent;return!n||!e.isClassLike(n)&&235!==n.kind||e.hasModifier(r,32)||154===r.kind&&!e.isNodeDescendantOf(t,r.body)?(fr(t,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),te):Ri(dn(n)).thisType}(t)),r.resolvedType}function xc(t){switch(t.kind){case 119:case 278:case 279:return Q;case 137:return oe;case 134:return se;case 122:return le;case 138:return de;case 105:return fe;case 140:return re;case 95:return ie;case 131:return pe;case 135:return 65536&t.flags?Q:ge;case 173:case 99:return bc(t);case 177:return function(e){var t=kr(e);return t.resolvedType||(t.resolvedType=hc(S_(e.literal))),t.resolvedType}(t);case 161:return es(t);case 160:return le;case 206:return es(t);case 164:return rs(t);case 166:return function(e){var t=kr(e);return t.resolvedType||(t.resolvedType=ks(xc(e.elementType))),t.resolvedType}(t);case 167:return function(t){var r=kr(t);return r.resolvedType||(r.resolvedType=Es(e.map(t.elementTypes,xc))),r.resolvedType}(t);case 168:return function(t){var r=kr(t);if(!r.resolvedType){var n=uc(t);r.resolvedType=Fs(e.map(t.types,xc),1,n,lc(n))}return r.resolvedType}(t);case 169:return function(t){var r=kr(t);if(!r.resolvedType){var n=uc(t);r.resolvedType=js(e.map(t.types,xc),n,lc(n))}return r.resolvedType}(t);case 280:return function(e){var t=xc(e.type);return A?zu(t,8192):t}(t);case 282:return oi(xc(t.type));case 172:case 281:case 277:return xc(t.type);case 284:return function(t){var r=xc(t.type),n=t.parent,i=n.parent;if(e.isJSDocTypeExpression(n)&&e.isJSDocParameterTag(i)){var a=e.getHostSignatureFromJSDoc(i);if(a){var o=e.lastOrUndefined(a.parameters),s=e.getParameterSymbolFromJSDoc(i);if(!o||s&&o.symbol===s&&e.isRestParameter(o))return ks(r)}}return e.isParameter(n)&&e.isJSDocFunctionType(n.parent)?ks(r):oi(r)}(t);case 162:case 163:case 165:case 286:case 283:case 287:return cc(t);case 174:return function(t){var r=kr(t);if(!r.resolvedType)switch(t.operator){case 128:r.resolvedType=Us(xc(t.type));break;case 141:r.resolvedType=138===t.type.kind?yc(e.walkUpParenthesizedTypes(t.parent)):te}return r.resolvedType}(t);case 175:return Qs(t);case 176:return Zs(t);case 170:return ac(t);case 171:return function(e){var t=kr(e);return t.resolvedType||(t.resolvedType=Vi(dn(e.typeParameter))),t.resolvedType}(t);case 178:return oc(t);case 71:case 145:var r=yg(t);return r&&Ji(r);default:return te}}function Sc(e,t,r){if(e&&e.length)for(var n=0;n<e.length;n++){var i=e[n],a=r(i,t);if(i!==a){var o=0===n?[]:e.slice(0,n);for(o.push(a),n++;n<e.length;n++)o.push(r(e[n],t));return o}}return e}function kc(e,t){return Sc(e,t,jc)}function Cc(e,t){return Sc(e,t,Oc)}function Ec(e,t){return function(r){return r===e?t:r}}function Tc(t,r){return e.Debug.assert(void 0===r||t.length===r.length),1===t.length?Ec(t[0],r?r[0]:Q):2===t.length?(n=t[0],i=r?r[0]:Q,a=t[1],o=r?r[1]:Q,function(e){return e===n?i:e===a?o:e}):function(e,t){return function(r){for(var n=0;n<e.length;n++)if(r===e[n])return t?t[n]:Q;return r}}(t,r);var n,i,a,o}function wc(e){return Tc(e,void 0)}function Dc(e,t){return e?t?function(r){return jc(e(r),t)}:e:t}function Ac(e,t,r){return function(n){return n===e?t:r(n)}}function Nc(e){return 32768&e.flags?ee:e}function Pc(e){var t=vn(32768);return t.symbol=e.symbol,t.target=e,t}function Oc(t,r,n){var i;if(t.typeParameters&&!n){i=e.map(t.typeParameters,Pc),r=Dc(Tc(t.typeParameters,i),r);for(var a=0,o=i;a<o.length;a++)o[a].mapper=r}var s=la(t.declaration,i,t.thisParameter&&Fc(t.thisParameter,r),Sc(t.parameters,r,Fc),void 0,void 0,t.minArgumentCount,t.hasRestParameter,t.hasLiteralTypes);return s.target=t,s.mapper=r,s}function Fc(t,r){var n=Sr(t);if(n.type&&!e_(n.type,7962624))return t;1&e.getCheckFlags(t)&&(t=n.target,r=Dc(n.mapper,r));var i=_r(t.flags,t.escapedName,1|1024&e.getCheckFlags(t));return i.declarations=t.declarations,i.parent=t.parent,i.target=t,i.mapper=r,t.valueDeclaration&&(i.valueDeclaration=t.valueDeclaration),t.nameType&&(i.nameType=t.nameType),mr(t)&&t.isRestParameter&&(i.isRestParameter=t.isRestParameter),i}function Mc(t,r){var n=64&t.objectFlags?t.target:t,i=n.symbol,a=Sr(i),o=a.outerTypeParameters;if(!o){var s=i.declarations[0];
1if(e.isInJavaScriptFile(s)){var c=e.findAncestor(s,e.isJSDocParameterTag);if(c){var u=e.getParameterSymbolFromJSDoc(c);u&&(s=u.valueDeclaration)}}var l=Ti(s,!0);if(kp(s)){var d=ao(s);l=e.addRange(l,d)}o=l||e.emptyArray,o=2048&i.flags&&!n.aliasTypeArguments?e.filter(o,function(e){return Ic(e,s)}):o,a.outerTypeParameters=o,o.length&&(a.instantiations=e.createMap(),a.instantiations.set(Ro(o),n))}if(o.length){var f=64&t.objectFlags?Dc(t.mapper,r):r,p=e.map(o,f),_=Ro(p),m=a.instantiations.get(_);if(!m){var g=Tc(o,p);m=32&n.objectFlags?function(e,t){var r=Sa(e);if(524288&r.flags){var n=r.type;if(32768&n.flags){var i=jc(n,t);if(n!==i)return Wl(i,function(r){return function(e){return 7700481&e.flags}(r)?Lc(e,Ac(n,r,t)):r})}}return Lc(e,t)}(n,g):Lc(n,g),a.instantiations.set(_,m)}return m}return t}function Ic(t,r){if(t.symbol&&t.symbol.declarations&&1===t.symbol.declarations.length){var n=t.symbol.declarations[0].parent;if(e.findAncestor(r,function(e){return 212===e.kind?"quit":e===n}))return e.forEachChild(r,function r(n){switch(n.kind){case 173:return t.isThisType;case 71:return!t.isThisType&&e.isPartOfTypeNode(n)&&function(e){return!(145===e.kind||161===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName)}(n)&&xc(n)===t;case 164:return!0}return e.forEachChild(n,r)})}return!0}function Lc(e,t){var r=bn(64|e.objectFlags,e.symbol);return 32&e.objectFlags&&(r.declaration=e.declaration),r.target=e,r.mapper=t,r.aliasSymbol=e.aliasSymbol,r.aliasTypeArguments=kc(e.aliasTypeArguments,t),r}function Rc(t,r){var n=t.root;if(n.outerTypeParameters){var i=e.map(n.outerTypeParameters,r),a=Ro(i),o=n.instantiations.get(a);return o||(o=function(e,t){if(e.isDistributive){var r=e.checkType,n=t(r);if(r!==n&&147456&n.flags)return Wl(n,function(n){return tc(e,Ac(r,n,t))})}return tc(e,t)}(n,Tc(n.outerTypeParameters,i)),n.instantiations.set(a,o)),o}return t}function jc(e,t){if(e&&t&&t!==C){if(32768&e.flags)return t(e);if(65536&e.flags){if(16&e.objectFlags)return e.symbol&&14384&e.symbol.flags&&e.symbol.declarations?Mc(e,t):e;if(32&e.objectFlags)return Mc(e,t);if(4&e.objectFlags){var r=e.typeArguments,n=kc(r,t);return n!==r?Bo(e.target,n):e}}var i,a;if(131072&e.flags&&!(16382&e.flags))return(a=kc(i=e.types,t))!==i?Fs(a,1,e.aliasSymbol,kc(e.aliasTypeArguments,t)):e;if(262144&e.flags)return(a=kc(i=e.types,t))!==i?js(a,e.aliasSymbol,kc(e.aliasTypeArguments,t)):e;if(524288&e.flags)return Us(jc(e.type,t));if(1048576&e.flags)return $s(jc(e.objectType,t),jc(e.indexType,t));if(2097152&e.flags)return Rc(e,Dc(e.mapper,t));if(4194304&e.flags)return jc(e.typeVariable,t)}return e}function Bc(e){return 32767&e.flags?e:e.wildcardInstantiation||(e.wildcardInstantiation=jc(e,Nc))}function zc(e,t){return e&&Fo(jc(e.type,t),e.isReadonly,e.declaration)}function qc(t){switch(e.Debug.assert(153!==t.kind||e.isObjectLiteralMethod(t)),t.kind){case 191:case 192:case 153:return Uc(t);case 183:return e.forEach(t.properties,qc);case 182:return e.forEach(t.elements,qc);case 200:return qc(t.whenTrue)||qc(t.whenFalse);case 199:return 54===t.operatorToken.kind&&(qc(t.left)||qc(t.right));case 269:return qc(t.initializer);case 190:return qc(t.expression);case 262:return e.forEach(t.properties,qc);case 261:return t.initializer&&qc(t.initializer);case 264:return t.expression&&qc(t.expression)}return!1}function Uc(t){if(t.typeParameters)return!1;if(e.forEach(t.parameters,function(t){return!e.getEffectiveTypeAnnotationNode(t)}))return!0;if(192!==t.kind){var r=e.firstOrUndefined(t.parameters);if(!r||!e.parameterIsThisKeyword(r))return!0}return 212!==t.body.kind&&qc(t.body)}function Vc(t){return(e.isInJavaScriptFile(t)&&e.isFunctionDeclaration(t)||Hd(t)||e.isObjectLiteralMethod(t))&&Uc(t)}function Jc(t){if(65536&t.flags){var r=Pa(t);if(r.constructSignatures.length){var n=bn(16,t.symbol);return n.members=r.members,n.properties=r.properties,n.callSignatures=e.emptyArray,n.constructSignatures=e.emptyArray,n}}else if(262144&t.flags)return js(e.map(t.types,Jc));return t}function Hc(e,t){return su(e,t,sr)}function Wc(e,t){return su(e,t,sr)?-1:0}function Kc(e,t){return su(e,t,ir)?-1:0}function Gc(e,t){return su(e,t,nr)}function Xc(e,t){return su(e,t,ir)}function Yc(t,r){return 131072&t.flags?e.every(t.types,function(e){return Yc(e,r)}):131072&r.flags?e.some(r.types,function(e){return Yc(t,e)}):7372800&t.flags?Yc(qa(t)||ye,r):r===Pe||r===Oe?Gc(t,r):Ci(t,ki(r))}function $c(e,t){return su(e,t,or)}function Qc(e,t){return $c(e,t)||$c(t,e)}function Zc(e,t,r,n,i){return uu(e,t,ir,r,n,i)}function eu(e,t,r,n,i){return uu(e,t,or,r,n,i)}
1function tu(t,r,n,i,a,o,s){if(t===r)return-1;if(!r.hasRestParameter&&t.minArgumentCount>r.parameters.length)return 0;t.typeParameters&&t.typeParameters!==r.typeParameters&&(t=Zf(t,r=Do(r),void 0,s));var c=r.declaration?r.declaration.kind:0,u=!n&&N&&153!==c&&152!==c&&154!==c,l=-1,d=yo(t);if(d&&d!==fe){var f=yo(r);if(f){if(!(y=!u&&s(d,f,!1)||s(f,d,a)))return a&&o(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;l&=y}}for(var p=nu(t),_=nu(r),m=function(e,t,r,n){return e.hasRestParameter===r.hasRestParameter?e.hasRestParameter?Math.max(t,n)+1:Math.min(t,n):e.hasRestParameter?n:t}(t,p,r,_),g=t.parameters,h=r.parameters,v=0;v<m;v++){var y,b=v<p?Ip(g[v]):ko(t),x=v<_?Ip(h[v]):ko(r),S=n?void 0:Qf(Uu(b)),k=n?void 0:Qf(Uu(x));if(!(y=S&&k&&!bo(S)&&!bo(k)&&(12288&Ru(b))===(12288&Ru(x))?tu(k,S,u?2:1,!1,a,o,s):!n&&!u&&s(b,x,!1)||s(x,b,a)))return a&&o(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.symbolName(g[v<p?v:p]),e.symbolName(h[v<_?v:_])),0;l&=y}if(!i){var C=So(r);if(C===fe)return l;var E=So(t),T=xo(r);if(T){var w=xo(t);if(w)l&=function(t,r,n,i,a,o,s){if(t.kind!==r.kind)return a&&(o(e.Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,zn(t),zn(r))),0;if(1===t.kind){var c=r,u=t.parameterIndex-(e.getThisParameter(n)?1:0),l=c.parameterIndex-(e.getThisParameter(i)?1:0);if(u!==l)return a&&(o(e.Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1,t.parameterName,c.parameterName),o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,zn(t),zn(r))),0}var d=s(t.type,r.type,a);return 0===d&&a&&o(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,zn(t),zn(r)),d}(w,T,t.declaration,r.declaration,a,o,s);else if(e.isIdentifierTypePredicate(T))return a&&o(e.Diagnostics.Signature_0_must_be_a_type_predicate,Rn(t)),0}else l&=1===n&&s(C,E,!1)||s(E,C,a)}return l}function ru(e,t){var r=wo(e),n=wo(t),i=So(r),a=So(n);return!(a!==fe&&!su(a,i,ir)&&!su(i,a,ir))&&0!==tu(r,n,0,!0,!1,void 0,Kc)}function nu(e){var t=e.parameters.length;return e.hasRestParameter?t-1:t}function iu(t){return 65536&t.flags?0===(r=Pa(t)).properties.length&&0===r.callSignatures.length&&0===r.constructSignatures.length&&!r.stringIndexInfo&&!r.numberIndexInfo:!!(134217728&t.flags)||(131072&t.flags?e.forEach(t.types,iu):!!(262144&t.flags)&&!e.forEach(t.types,function(e){return!iu(e)}));var r}function au(t,r,n){if(t===r)return!0;var i=u(t)+","+u(r),a=cr.get(i);if(void 0!==a)return a;if(t.escapedName!==r.escapedName||!(256&t.flags)||!(256&r.flags))return cr.set(i,!1),!1;for(var o=xi(r),s=0,c=Ia(xi(t));s<c.length;s++){var l=c[s];if(8&l.flags){var d=$a(o,l.escapedName);if(!d||!(8&d.flags))return n&&n(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(l),jn(Ji(r),void 0,64)),cr.set(i,!1),!1}}return cr.set(i,!0),!0}function ou(e,t,r,n){var i=e.flags,a=t.flags;if(1&a||16384&i||e===ee)return!0;if(16384&a)return!1;if(34&i&&2&a)return!0;if(32&i&&256&i&&32&a&&!(256&a)&&e.value===t.value)return!0;if(84&i&&4&a)return!0;if(64&i&&256&i&&64&a&&!(256&a)&&e.value===t.value)return!0;if(136&i&&8&a)return!0;if(1536&i&&512&a)return!0;if(16&i&&16&a&&au(e.symbol,t.symbol,n))return!0;if(256&i&&256&a){if(131072&i&&131072&a&&au(e.symbol,t.symbol,n))return!0;if(224&i&&224&a&&e.value===t.value&&au(fn(e.symbol),fn(t.symbol),n))return!0}if(4096&i&&(!A||6144&a))return!0;if(8192&i&&(!A||8192&a))return!0;if(65536&i&&134217728&a)return!0;if(1024&i||1024&a)return!1;if(r===ir||r===ar||r===or){if(1&i)return!0;if(68&i&&!(256&i)&&(16&a||64&a&&256&a))return!0}return!1}function su(e,t,r){if(96&e.flags&&8388608&e.flags&&(e=e.regularType),96&t.flags&&8388608&t.flags&&(t=t.regularType),e===t||r===or&&!(16384&t.flags)&&ou(t,e,r)||r!==sr&&ou(e,t,r))return!0;if(65536&e.flags&&65536&t.flags){var n=r.get(mu(e,t,r));if(void 0!==n)return 1===n}return!!(8355840&e.flags||8355840&t.flags)&&uu(e,t,r,void 0)}function cu(t,r,n){return 4096&e.getObjectFlags(t)&&!(nf(r.escapedName)||n)}function uu(t,r,n,i,a,o){var s,c,u,l,d=0,f=0,p=0,_=!1,m=!1;e.Debug.assert(n!==sr||!i,"no error reporting in identity checking");var g=x(t,r,!!i,a);if(_)fr(i,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,jn(t),jn(r));else if(s){if(o){var h=o();h&&(s=e.concatenateDiagnosticMessageChains(h,s))}Ut.add(e.createDiagnosticForNodeFromMessageChain(i,s))}if(a&&i&&!g&&t.symbol){var v=Sr(t.symbol);v.originatingImport&&!e.isImportCall(v.originatingImport)&&uu(xi(v.target),r,n,void 0)&&Ut.add(e.createDiagnosticForNode(v.originatingImport,e.Diagnostics.A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime))}return 0!==g;function y(t,r,n,a){e.Debug.assert(!!i),s=e.chainDiagnosticMessages(s,t,r,n,a)}function b(t,r,i){var a=jn(r),o=jn(i);a===o&&(a=jn(r,void 0,64),o=jn(i,void 0,64)),t||(t=n===or?e.Diagnostics.Type_0_is_not_comparable_to_type_1:a===o?e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:e.Diagnostics.Type_0_is_not_assignable_to_type_1),y(t,a,o)}function x(t,r,a,o){if(96&t.flags&&8388608&t.flags&&(t=t.regularType),96&r.flags&&8388608&r.flags&&(r=r.regularType),4194304&t.flags&&(t=n===ar?t.typeVariable:t.substitute),4194304&r.flags&&(r=r.typeVariable),1048576&t.flags&&(t=Xs(t)),1048576&r.flags&&(r=Xs(r)),t===r)return-1;if(n===sr)return function(e,t){var r,n=e.flags&t.flags;
1return 65536&n?w(e,t,!1):393216&n&&(r=S(e,t))&&(r&=S(t,e))?r:524288&n?x(e.type,t.type,!1):1048576&n&&(r=x(e.objectType,t.objectType,!1))&&(r&=x(e.indexType,t.indexType,!1))?r:2097152&n&&e.root.isDistributive===t.root.isDistributive&&(r=x(e.checkType,t.checkType,!1))&&(r&=x(e.extendsType,t.extendsType,!1))&&(r&=x(rc(e),rc(t),!1))&&(r&=x(nc(e),nc(t),!1))?r:4194304&n?x(e.substitute,t.substitute,!1):0}(t,r);if(n===or&&!(16384&r.flags)&&ou(r,t,n)||ou(t,r,n,a?y:void 0))return-1;if(pl(t)&&8388608&t.flags){var c=131072&r.flags?C(t,r):void 0;if(function t(r,a,o,s){if(e_(a,65536)&&!(512&e.getObjectFlags(a))){var c=!!(4096&e.getObjectFlags(r));if((n===ir||n===ar||n===or)&&(Vl(Pe,a)||!c&&iu(a)))return!1;if(o)return t(r,o,void 0,s);for(var u=function(t){if(!Ef(a,t.escapedName,c)){if(s)if(e.Debug.assert(!!i),e.isJsxAttributes(i)||e.isJsxOpeningLikeElement(i))y(e.Diagnostics.Property_0_does_not_exist_on_type_1,Ln(t),jn(a));else{var n=r.symbol&&e.firstOrUndefined(r.symbol.declarations),o=void 0;if(t.valueDeclaration&&e.findAncestor(t.valueDeclaration,function(e){return e===n})){var u=t.valueDeclaration;e.Debug.assertNode(u,e.isObjectLiteralElementLike),i=u,e.isIdentifier(u.name)&&(o=Lf(u.name,a))}void 0!==o?y(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Ln(t),jn(a),o):y(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Ln(t),jn(a))}return{value:!0}}},l=0,d=Oa(r);l<d.length;l++){var f=d[l],p=u(f);if("object"===typeof p)return p.value}}return!1}(t,r,c,a))return a&&b(o,t,r),0;(function(e){if(!(393216&e.flags))return!1;for(var t=!1,r=0,n=e.types;r<n.length;r++)if(!(12288&n[r].flags)){if(t)return!0;t=!0}return!1})(r)&&!c&&(t=Hu(t))}if(n!==or&&!(393216&t.flags)&&!(131072&r.flags)&&!m&&t!==Pe&&(Ia(t).length>0||kg(t))&&A(r)&&!function(t,r){for(var n=!!(4096&e.getObjectFlags(t)),i=0,a=Ia(t);i<a.length;i++){var o=a[i];if(Ef(r,o.escapedName,n))return!0}return!1}(t,r)){if(a){var u=Za(t,0),l=Za(t,1);u.length>0&&x(So(u[0]),r,!1)||l.length>0&&x(So(l[0]),r,!1)?y(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,jn(t),jn(r)):y(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,jn(t),jn(r))}return 0}var d=0,f=s,p=m;if(m=!1,131072&t.flags?d=n===or?T(t,r,a&&!(16382&t.flags)):function(e,t,r){for(var n=-1,i=e.types,a=0,o=i;a<o.length;a++){var s=o[a],c=x(s,t,r);if(!c)return 0;n&=c}return n}(t,r,a&&!(16382&t.flags)):(131072&r.flags?d=k(t,r,a&&!(16382&t.flags)&&!(16382&r.flags)):262144&r.flags?(m=!0,d=function(e,t,r){for(var n=-1,i=t.types,a=0,o=i;a<o.length;a++){var s=o[a],c=x(e,s,r);if(!c)return 0;n&=c}return n}(t,r,a)):262144&t.flags&&(d=T(t,r,!1)),!d&&(8355840&t.flags||8355840&r.flags)&&(d=w(t,r,a))&&(s=f)),!d&&262144&t.flags){var _=function(t,r){for(var n,i=!1,a=0,o=t.types;a<o.length;a++)if(7897088&(l=o[a]).flags){for(var s=La(l);s&&2654208&s.flags;)s=La(s);if(s){if(!(131072&s.flags))return;n=e.append(n,s)}}else 134233854&l.flags&&(i=!0);if(n&&(r||i)){if(i)for(var c=0,u=t.types;c<u.length;c++){var l;134233854&(l=u[c]).flags&&(n=e.append(n,l))}return js(n)}}(t,!!(131072&r.flags));_&&(d=x(_,r,a))&&(s=f)}return m=p,!d&&a&&(65536&t.flags&&16382&r.flags?function(t,r){var n=jn(t),i=jn(r);(Ie===t&&oe===r||Le===t&&se===r||Re===t&&le===r||cs(!1)===t&&de===r)&&y(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,i,n)}(t,r):t.symbol&&65536&t.flags&&Pe===t&&y(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead),b(o,t,r)),d}function S(e,t){for(var r=-1,n=0,i=e.types;n<i.length;n++){var a=k(i[n],t,!1);if(!a)return 0;r&=a}return r}function k(e,t,r){var n=t.types;if(131072&t.flags&&ws(n,e))return-1;for(var i=0,a=n;i<a.length;i++){var o=x(e,a[i],!1);if(o)return o}return r&&x(e,C(e,t)||n[n.length-1],!0),0}function C(e,t){var r,n=Oa(e);if(n){var i=function(e,t){for(var r,n=0,i=e;n<i.length;n++){var a=i[n];if(El(t,a.escapedName)){if(r){r.push(a);continue}r=[a]}}return r}(n,t);if(i)for(var a=0,o=i;a<o.length;a++)for(var s=o[a],c=xi(s),u=0,l=t.types;u<l.length;u++){var d=l[u],f=Qn(d,s.escapedName);if(f&&x(c,f)){if(d===r)continue;if(r)return;r=d}}}return r}function T(e,t,r){var n=e.types;if(131072&e.flags&&ws(n,t))return-1;for(var i=n.length,a=0;a<i;a++){var o=x(n[a],t,r&&a===i-1);if(o)return o}return 0}function w(t,r,i){if(_)return 0;var a=mu(t,r,n),o=n.get(a);if(void 0!==o){if(!i||2!==o)return 1===o?-1:0;n.set(a,3)}if(c){for(var m=0;m<d;m++)if(a===c[m])return 1;if(100===f)return _=!0,0}else c=[],u=[],l=[];var g=d;c[d]=a,d++,u[f]=t,l[f]=r,f++;var h=p;1&p||!yu(t,u,f)||(p|=1),2&p||!yu(r,l,f)||(p|=2);var v=3!==p?function(t,r,i){var a,o,c,u=s;if(32768&r.flags){if(32&e.getObjectFlags(t)&&Sa(t)===Us(r)&&!(4&wa(t))){var l=ka(t),d=$s(r,xa(t));if(a=x(l,d,i))return a}}else if(524288&r.flags){if(524288&t.flags&&(a=x(r.type,t.type,!1))
1)return a;if(n!==ar){var f=Xs(r.type),p=f!==r.type?f:La(r.type);if(p&&(a=x(t,Us(p,r.stringsOnly),i)))return a}}else if(1048576&r.flags){var p=D(r);if(p&&(a=x(t,p,i)))return s=u,a}else if(Na(r)){var _=ka(r),m=wa(r);if(!(8&m)){if(1048576&_.flags&&_.objectType===t&&_.indexType===xa(r))return-1;if(!Na(t)&&Sa(r)===Us(t)){var d=$s(t,xa(r)),l=ka(r);if(a=x(d,l,i))return s=u,a}}}if(1081344&t.flags){if(1048576&t.flags&&1048576&r.flags&&((a=x(t.objectType,r.objectType,i))&&(a&=x(t.indexType,r.indexType,i)),a))return s=u,a;var p=D(t);if(!p||32768&t.flags&&1&p.flags){if(a=x(ye,Kl(r,-134217729)))return s=u,a}else{var g=ca(p,t);if(a=x(g,r,i))return s=u,a}}else if(524288&t.flags){if(a=x(ve,r,i))return s=u,a}else if(2097152&t.flags){if(2097152&r.flags){if(Hc(t.extendsType,r.extendsType)&&(x(t.checkType,r.checkType)||x(r.checkType,t.checkType))&&((a=x(rc(t),rc(r),i))&&(a&=x(nc(t),nc(r),i)),a))return s=u,a}else if(n!==ar){var h=Ba(t);if(h&&(a=x(h,r,i)))return s=u,a;var v=ja(t);if(v&&(a=x(v,r,i)))return s=u,a}}else{if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&t.target===r.target&&!(8192&e.getObjectFlags(t)||8192&e.getObjectFlags(r))){var b=du(t.target);if(a=function(t,r,i,a){var o=t.typeArguments||e.emptyArray,s=r.typeArguments||e.emptyArray;if(o.length!==s.length&&n===sr)return 0;for(var c=o.length<=s.length?o.length:s.length,u=-1,l=0;l<c;l++){var d=l<i.length?i[l]:1;if(4!==d){var f=o[l],p=s[l],_=-1;if(1===d?_=x(f,p,a):2===d?_=x(p,f,a):3===d?(_=x(p,f,!1))||(_=x(f,p,a)):(_=x(f,p,a))&&(_&=x(p,f,a)),!_)return 0;u&=_}}return u}(t,r,b,i))return a;if(b!==e.emptyArray&&!function(e,t){for(var r=0;r<t.length;r++)if(1===t[r]&&2048&e.typeArguments[r].flags)return!0;return!1}(r,b)){if(!i||!e.some(b,function(e){return 0===e}))return 0;o=s,s=u}}var S=!!(16382&t.flags);if(n!==sr&&(t=Ka(t)),327680&t.flags&&65536&r.flags){var k=i&&s===u&&!S;if(c=r,32&e.getObjectFlags(c)&&4&wa(c)&&!Na(t)&&iu(t)?a=-1:Na(r)?a=Na(t)?function(e,t,r){var i;if((n===or||(n===sr?wa(e)===wa(t):Aa(e)<=Aa(t)))&&(i=x(Sa(t),Sa(e),r))){var a=Tc([xa(e)],[xa(t)]);return i&x(jc(ka(e),a),ka(t),r)}return 0}(t,r,k):0:(a=function(t,r,i){if(n===sr)return function(e,t){if(!(65536&e.flags&&65536&t.flags))return 0;var r=Oa(e),n=Oa(t);if(r.length!==n.length)return 0;for(var i=-1,a=0,o=r;a<o.length;a++){var s=o[a],c=Fa(t,s.escapedName);if(!c)return 0;var u=bu(s,c,x);if(!u)return 0;i&=u}return i}(t,r);var a=n===nr&&!pl(t)&&!Tu(t),o=cl(t,r,a);if(o)return i&&y(e.Diagnostics.Property_0_is_missing_in_type_1,Ln(o),jn(t)),0;if(pl(r))for(var s=0,c=Ia(t);s<c.length;s++){var u=c[s];if(!Fa(r,u.escapedName)){var l=xi(u);if(l!==re&&l!==ne)return i&&y(e.Diagnostics.Property_0_does_not_exist_on_type_1,Ln(u),jn(r)),0}}for(var d=-1,f=Oa(r),p=0,_=f;p<_.length;p++){var m=_[p];if(!(4194304&m.flags)){var u=$a(t,m.escapedName);if(u&&u!==m){if(cu(t,u,xi(m)))continue;var g=e.getDeclarationModifierFlagsFromSymbol(u),h=e.getDeclarationModifierFlagsFromSymbol(m);if(8&g||8&h){var v=u.valueDeclaration!==m.valueDeclaration;if(256&e.getCheckFlags(u)&&v)return i&&y(e.Diagnostics.Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1,Ln(u),jn(t)),0;if(v)return i&&(8&g&&8&h?y(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,Ln(m)):y(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,Ln(m),jn(8&g?t:r),jn(8&g?r:t))),0}else if(16&h){if(!vu(u,m))return i&&y(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Ln(m),jn(hu(u)||t),jn(hu(m)||r)),0}else if(16&g)return i&&y(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,Ln(m),jn(t),jn(r)),0;var b=x(xi(u),xi(m),i);if(!b)return i&&y(e.Diagnostics.Types_of_property_0_are_incompatible,Ln(m)),0;if(d&=b,n!==or&&16777216&u.flags&&!(16777216&m.flags))return i&&y(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,Ln(m),jn(t),jn(r)),0}}}return d}(t,r,k))&&(a&=N(t,r,0,k))&&(a&=N(t,r,1,k))&&(a&=F(t,r,0,S,k))&&(a&=F(t,r,1,S,k)),a){if(!o)return s=u,a;s=o}}}return 0}(t,r,i):1;if(p=h,f--,v){if(-1===v||0===f){for(m=g;m<d;m++)n.set(c[m],1);d=g}}else n.set(a,i?3:2),d=g;return v}function D(e){return n===ar?void 0:La(e)}function A(t){if(65536&t.flags){var r=Pa(t);return 0===r.callSignatures.length&&0===r.constructSignatures.length&&!r.stringIndexInfo&&!r.numberIndexInfo&&r.properties.length>0&&e.every(r.properties,function(e){return!!(16777216&e.flags)})}return!!(262144&t.flags)&&e.every(t.types,A)}function N(t,r,i,a){if(n===sr)return function(e,t,r){var n=Za(e,r),i=Za(t,r);if(n.length!==i.length)return 0;for(var a=-1,o=0;o<n.length;
1o++){var s=xu(n[o],i[o],!1,!1,!1,x);if(!s)return 0;a&=s}return a}(t,r,i);if(r===ke||t===ke)return-1;var o=Za(t,i),c=Za(r,i);if(1===i&&o.length&&c.length){if(e.isAbstractConstructorType(t)&&!e.isAbstractConstructorType(r))return a&&y(e.Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(t,r,n){if(!t.declaration||!r.declaration)return!0;var i=e.getSelectedModifierFlags(t.declaration,24),a=e.getSelectedModifierFlags(r.declaration,24);return 8===a||(16===a&&8!==i||(16!==a&&!i||(n&&y(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,qn(i),qn(a)),!1)))}(o[0],c[0],a))return 0}var u=-1,l=s;if(64&e.getObjectFlags(t)&&64&e.getObjectFlags(r)&&t.symbol===r.symbol)for(var d=0;d<c.length;d++){if(!(b=P(o[d],c[d],!0,a)))return 0;u&=b}else if(1===o.length&&1===c.length){var f=n===or||E.noStrictGenericChecks;u=P(o[0],c[0],f,a)}else e:for(var p=0,_=c;p<_.length;p++){for(var m=_[p],g=a,h=0,v=o;h<v.length;h++){var b;if(b=P(v[h],m,!0,g)){u&=b,s=l;continue e}g=!1}return g&&y(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,jn(t),Rn(m,void 0,void 0,i)),0}return u}function P(e,t,r,n){return tu(r?wo(e):e,r?wo(t):t,0,!1,n,y,x)}function O(t,r,n){var i=x(t.type,r.type,n);return!i&&n&&y(e.Diagnostics.Index_signatures_are_incompatible),i}function F(t,r,i,a,o){if(n===sr)return function(e,t,r){var n=ro(t,r),i=ro(e,r);return i||n?i&&n&&i.isReadonly===n.isReadonly?x(i.type,n.type):0:-1}(t,r,i);var s=ro(r,i);if(!s||1&s.type.flags&&!a)return-1;var c=ro(t,i)||1===i&&ro(t,0);if(c)return O(c,s,o);if(Na(t))return 0===i&&x(ka(t),s.type,o);if(Vu(t)){var u=-1;if(0===i){var l=ro(t,1);l&&(u=O(l,s,o))}return u&&(u&=function(t,r,n,i){for(var a=-1,o=0,s=Oa(t);o<s.length;o++){var c=s[o];if(!cu(t,c,void 0)&&!(c.nameType&&1024&c.nameType.flags)&&(0===n||Qd(c.escapedName))){var u=x(xi(c),r,i);if(!u)return i&&y(e.Diagnostics.Property_0_is_incompatible_with_index_signature,Ln(c)),0;a&=u}}return a}(t,s.type,i,o)),u}return o&&y(e.Diagnostics.Index_signature_is_missing_in_type_0,jn(t)),0}}function lu(t,r,n){var i=Bo(t,e.map(t.typeParameters,function(e){return e===r?n:e}));return i.objectFlags|=8192,i}function du(t){if(!N)return e.emptyArray;var r=t.typeParameters||e.emptyArray,n=t.variances;if(!n){if(t===Fe||t===Me)n=[1];else{t.variances=e.emptyArray,n=[];for(var i=0,a=r;i<a.length;i++){var o=a[i],s=lu(t,o,we),c=lu(t,o,De),u=(Xc(c,s)?1:0)|(Xc(s,c)?2:0);3===u&&Xc(lu(t,o,st),s)&&(u=4),n.push(u)}}t.variances=n}return n}function fu(e){return 32768&e.flags&&!Io(e)}function pu(t){return 4&e.getObjectFlags(t)&&e.some(t.typeArguments,function(e){return fu(e)||pu(e)})}function _u(e,t,r){void 0===r&&(r=0);for(var n=""+e.target.id,i=0,a=e.typeArguments;i<a.length;i++){var o=a[i];if(fu(o)){var s=t.indexOf(o);s<0&&(s=t.length,t.push(o)),n+="="+s}else r<4&&pu(o)?n+="<"+_u(o,t,r+1)+">":n+="-"+o.id}return n}
1function mu(e,t,r){if(r===sr&&e.id>t.id){var n=e;e=t,t=n}if(pu(e)&&pu(t)){var i=[];return _u(e,i)+","+_u(t,i)}return e.id+","+t.id}function gu(t,r){if(!(6&e.getCheckFlags(t)))return r(t);for(var n=0,i=t.containingType.types;n<i.length;n++){var a=$a(i[n],t.escapedName),o=a&&gu(a,r);if(o)return o}}function hu(e){return e.parent&&32&e.parent.flags?Ji(fn(e)):void 0}function vu(t,r){return!gu(r,function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r))&&(n=t,i=hu(r),!gu(n,function(e){var t=hu(e);return!!t&&Ci(t,i)}));var n,i})}function yu(e,t,r){if(r>=5&&65536&e.flags){var n=e.symbol;if(n)for(var i=0,a=0;a<r;a++){var o=t[a];if(65536&o.flags&&o.symbol===n&&++i>=5)return!0}}return!1}function bu(t,r,n){if(t===r)return-1;var i=24&e.getDeclarationModifierFlagsFromSymbol(t);if(i!==(24&e.getDeclarationModifierFlagsFromSymbol(r)))return 0;if(i){if(Vm(t)!==Vm(r))return 0}else if((16777216&t.flags)!==(16777216&r.flags))return 0;return Yp(t)!==Yp(r)?0:n(xi(t),xi(r))}function xu(t,r,n,i,a,o){if(t===r)return-1;if(!function(e,t,r){if(e.parameters.length===t.parameters.length&&e.minArgumentCount===t.minArgumentCount&&e.hasRestParameter===t.hasRestParameter)return!0;var n=e.hasRestParameter?1:0,i=t.hasRestParameter?1:0;return!!(r&&e.minArgumentCount<=t.minArgumentCount&&(n>i||n===i&&e.parameters.length>=t.parameters.length))}(t,r,n))return 0;if(e.length(t.typeParameters)!==e.length(r.typeParameters))return 0;t=wo(t),r=wo(r);var s=-1;if(!i){var c=yo(t);if(c){var u=yo(r);if(u){if(!(f=o(c,u)))return 0;s&=f}}}for(var l=r.parameters.length,d=0;d<l;d++){var f;if(!(f=o(Su(t,d)?ko(t):Ip(t.parameters[d]),Su(r,d)?ko(r):Ip(r.parameters[d]))))return 0;s&=f}if(!a){var p=xo(t),_=xo(r);s&=void 0!==p||void 0!==_?function(e,t,r){return void 0!==e&&void 0!==t&&Ms(e,t)?r(e.type,t.type):0}(p,_,o):o(So(t),So(r))}return s}function Su(e,t){return e.hasRestParameter&&t>=e.parameters.length-1}function ku(t){return function(e){for(var t,r=0,n=e;r<n.length;r++){var i=n[r],a=Pu(i);if(t||(t=a),a===i||a!==t)return!1}return!0}(t)?Fs(t):e.reduceLeft(t,function(e,t){return Gc(e,t)?t:e})}function Cu(t){return 4&e.getObjectFlags(t)&&t.target===Fe}function Eu(t){return 4&e.getObjectFlags(t)&&(t.target===Fe||t.target===Me)||!(12288&t.flags)&&Xc(t,Ue)}function Tu(e){var t=Cu(e)?e.typeArguments[0]:void 0;return t===ne||t===me}function wu(e){return!!$a(e,"0")}function Du(e){return!(29920&e.flags)}function Au(e){return!!(13536&e.flags)}function Nu(t){return!!(8&t.flags)||(131072&t.flags?!!(256&t.flags)||!e.forEach(t.types,function(e){return!Au(e)}):Au(t))}function Pu(t){return 256&t.flags?zi(t):32&t.flags?oe:64&t.flags?se:128&t.flags?le:131072&t.flags?Fs(e.sameMap(t.types,Pu)):t}function Ou(t){return 256&t.flags?zi(t):32&t.flags&&8388608&t.flags?oe:64&t.flags&&8388608&t.flags?se:128&t.flags?le:131072&t.flags?Fs(e.sameMap(t.types,Ou)):t}function Fu(t){return 1024&t.flags?de:131072&t.flags?Fs(e.sameMap(t.types,Fu)):t}function Mu(t,r){return function t(r,n){if(n){if(393216&n.flags){var i=n.types;return e.some(i,function(e){return t(r,e)})}if(7372800&n.flags){var a=qa(n)||ye;return e_(a,2)&&e_(r,32)||e_(a,4)&&e_(r,64)||e_(a,512)&&e_(r,1024)||t(r,a)}return 524320&n.flags&&e_(r,32)||64&n.flags&&e_(r,64)||128&n.flags&&e_(r,128)||1024&n.flags&&e_(r,1024)}return!1}(t,r)||(t=Fu(Ou(t))),t}function Iu(t){return!!(4&e.getObjectFlags(t)&&8&t.target.objectFlags)}function Lu(e){for(var t=0,r=0,n=e;r<n.length;r++)t|=Ru(n[r]);return t}function Ru(e){return 131072&e.flags?Lu(e.types):32&e.flags?""===e.value?32:0:64&e.flags?0===e.value?64:0:128&e.flags?e===ue?128:0:14574&e.flags}function ju(e){return 14560&Ru(e)?Hl(e,function(e){return!(14560&Ru(e))}):e}function Bu(e){return 2&e.flags?kt:4&e.flags?Ct:8&e.flags||e===ue?ue:14336&e.flags||32&e.flags&&""===e.value||64&e.flags&&0===e.value?e:pe}function zu(e,t){var r=t&~e.flags&12288;return 0===r?e:Fs(4096===r?[e,re]:8192===r?[e,ie]:[e,re,ie])}function qu(t){return e.Debug.assert(A),4096&t.flags?t:Fs([t,re])}function Uu(e){return A?function(e){return Ve||(Ve=as("NonNullable",524288,void 0)||Y),Ve!==Y?Vo(Ve,[e]):Al(e,524288)}(e):e}function Vu(e){return e.symbol&&0!==(6656&e.symbol.flags)&&!kg(e)}function Ju(e,t){var r=_r(e.flags,e.escapedName);return r.declarations=e.declarations,r.parent=e.parent,r.type=t,r.target=e,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),e.nameType&&(r.nameType=e.nameType),r}function Hu(t){if(!(pl(t)&&8388608&t.flags))return t;var r=t.regularType;if(r)return r;var n=t,i=function(t,r){for(var n=e.createSymbolTable(),i=0,a=Oa(t);
1i<a.length;i++){var o=a[i],s=xi(o),c=r(s);n.set(o.escapedName,c===s?o:Ju(o,c))}return n}(t,Hu),a=Cn(n.symbol,i,n.callSignatures,n.constructSignatures,n.stringIndexInfo,n.numberIndexInfo);return a.flags=-8388609&n.flags,a.objectFlags|=128,t.regularType=a,a}function Wu(e,t,r){return{parent:e,propertyName:t,siblings:r,resolvedProperties:void 0}}function Ku(t){if(!t.resolvedProperties){for(var r=e.createMap(),n=0,i=function e(t){if(!t.siblings){for(var r=[],n=0,i=e(t.parent);n<i.length;n++){var a=i[n];if(pl(a)){var o=Fa(a,t.propertyName);o&&Jl(xi(o),function(e){r.push(e)})}}t.siblings=r}return t.siblings}(t);n<i.length;n++){var a=i[n];if(pl(a)&&!(1024&e.getObjectFlags(a)))for(var o=0,s=Ia(a);o<s.length;o++){var c=s[o];r.set(c.escapedName,c)}}t.resolvedProperties=e.arrayFrom(r.values())}return t.resolvedProperties}function Gu(e,t){var r=xi(e),n=$u(r,t&&Wu(t,e.escapedName,void 0));return n===r?e:Ju(e,n)}function Xu(e){var t=X.get(e.escapedName);if(t)return t;var r=Ju(e,re);return r.flags|=16777216,X.set(e.escapedName,r),r}function Yu(e){return $u(e,void 0)}function $u(t,r){if(50331648&t.flags){if(12288&t.flags)return Q;if(pl(t))return function(t,r){for(var n=e.createSymbolTable(),i=0,a=Oa(t);i<a.length;i++){var o=a[i];n.set(o.escapedName,4&o.flags?Gu(o,r):o)}if(r)for(var s=0,c=Ku(r);s<c.length;s++)o=c[s],n.has(o.escapedName)||n.set(o.escapedName,Xu(o));var u=ro(t,0),l=ro(t,1);return Cn(t.symbol,n,e.emptyArray,e.emptyArray,u&&Fo(Yu(u.type),u.isReadonly),l&&Fo(Yu(l.type),l.isReadonly))}(t,r);if(131072&t.flags){var n=r||Wu(void 0,void 0,t.types),i=e.sameMap(t.types,function(e){return 12288&e.flags?e:$u(e,n)});return Fs(i,e.some(i,iu)?2:1)}if(Cu(t)||Iu(t))return Bo(t.target,e.sameMap(t.typeArguments,Yu))}return t}function Qu(t,r){var n,i=jn(Yu(r));switch(t.kind){case 199:case 151:case 150:n=e.Diagnostics.Member_0_implicitly_has_an_1_type;break;case 148:n=t.dotDotDotToken?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type;break;case 181:n=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type;break;case 233:case 153:case 152:case 155:case 156:case 191:case 192:if(!t.name)return void fr(t,e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);n=e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 176:return void fr(t,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);default:n=e.Diagnostics.Variable_0_implicitly_has_an_1_type}fr(t,n,e.declarationNameToString(e.getNameOfDeclaration(t)),i)}function Zu(t,r){i&&O&&16777216&r.flags&&(function t(r){var n=!1;if(16777216&r.flags){if(131072&r.flags)if(e.some(r.types,iu))n=!0;else for(var i=0,a=r.types;i<a.length;i++)t(l=a[i])&&(n=!0);if(Cu(r)||Iu(r))for(var o=0,s=r.typeArguments;o<s.length;o++)t(l=s[o])&&(n=!0);if(pl(r))for(var c=0,u=Oa(r);c<u.length;c++){var l,d=u[c];16777216&(l=xi(d)).flags&&(t(l)||fr(d.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,Ln(d),jn(Yu(l))),n=!0)}}return n}(r)||Qu(t,r))}function el(e,t,r){var n,i=e.parameters.length,a=t.parameters.length;n=e.hasRestParameter&&t.hasRestParameter?Math.max(i,a):e.hasRestParameter?a:t.hasRestParameter?i:Math.min(i,a);for(var o=0;o<n;o++)r(Lp(e,o),Lp(t,o))}function tl(e,t,r,n,i){var a=i?i.map(nl):e.map(rl),o=function(e){for(var t=0;t<a.length;t++)if(e===a[t].typeParameter)return a[t].isFixed=!0,gl(o,t);return e};return o.typeParameters=e,o.signature=t,o.inferences=a,o.flags=r,o.compareTypes=n||Kc,o}function rl(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1}}function nl(e){return{typeParameter:e.typeParameter,candidates:e.candidates&&e.candidates.slice(),contraCandidates:e.contraCandidates&&e.contraCandidates.slice(),inferredType:e.inferredType,priority:e.priority,topLevel:e.topLevel,isFixed:e.isFixed}}function il(t){var r=e.getObjectFlags(t);return!!(7897088&t.flags||4&r&&e.forEach(t.typeArguments,il)||16&r&&t.symbol&&10288&t.symbol.flags||32&r||393216&t.flags&&function(t){return void 0===t.couldContainTypeVariables&&(t.couldContainTypeVariables=e.forEach(t.types,il)),t.couldContainTypeVariables}(t))}function al(t,r){return t===r||393216&t.flags&&e.forEach(t.types,function(e){return al(e,r)})}function ol(e,t){var r=e.id+","+t.id;if(ht.has(r))return ht.get(r);ht.set(r,void 0);var n=function(e,t){var r=Ia(e);if(0!==r.length||ro(e,0)){for(var n=0,i=r;n<i.length;n++){var a=i[n];if(67108864&xi(a).flags)return}var o=bn(2064,void 0);return o.source=e,o.mappedType=t,o}}(e,t);return ht.set(r,n),n}function sl(e,t){var r=$s(Sa(t).type,xa(t)),n=ka(t),i=rl(r);return ll([i],e,n),ul(i)}function cl(e,t,r){for(var n=0,i=262144&t.flags?Ma(t):Oa(t);n<i.length;n++){var a=i[n];if((r||!(16777216&a.flags))&&!$a(e,a.escapedName))return a}}function ul(e){return e.candidates?Fs(e.candidates,2):e.contraCandidates?js(e.contraCandidates):ye}function ll(t,r,n,i){var a,o;void 0===i&&(i=0);var s,c=!1;function u(t,r){if(il(r)){if(t===ee){var p=s;return s=t,u(r,r),void(s=p)}
1if(t.aliasSymbol&&t.aliasTypeArguments&&t.aliasSymbol===r.aliasSymbol)for(var _=t.aliasTypeArguments,m=r.aliasTypeArguments,g=0;g<_.length;g++)u(_[g],m[g]);else{if(131072&t.flags&&131072&r.flags&&!(256&t.flags&&256&r.flags)||262144&t.flags&&262144&r.flags){if(t===r){for(var h=0,v=t.types;h<v.length;h++)u(F=v[h],F);return}for(var y=void 0,b=0,x=t.types;b<x.length;b++)if(dl(F=x[b],r.types))(y||(y=[])).push(F),u(F,F);else if(96&F.flags){var S=Pu(F);dl(S,r.types)&&(y||(y=[])).push(F,S)}y&&(t=fl(t,y),r=fl(r,y))}if(1081344&r.flags){if(67108864&t.flags||t===_e)return;var k=d(r);if(k){if(!k.isFixed){if((void 0===k.priority||i<k.priority)&&(k.candidates=void 0,k.contraCandidates=void 0,k.priority=i),i===k.priority){var C=s||t;c?k.contraCandidates=e.append(k.contraCandidates,C):k.candidates=e.append(k.candidates,C)}8&i||!(32768&r.flags)||al(n,r)||(k.topLevel=!1)}return}}if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&t.target===r.target){_=t.typeArguments||e.emptyArray,m=r.typeArguments||e.emptyArray;var E=_.length<m.length?_.length:m.length,T=du(t.target);for(g=0;g<E;g++)g<T.length&&2===T[g]?l(_[g],m[g]):u(_[g],m[g])}else if(524288&t.flags&&524288&r.flags)c=!c,u(t.type,r.type),c=!c;else if((Nu(t)||2&t.flags)&&524288&r.flags){var w=function(t){var r=e.createSymbolTable();Jl(t,function(t){if(32&t.flags){var n=e.escapeLeadingUnderscores(t.value),i=_r(4,n);i.type=Q,t.symbol&&(i.declarations=t.symbol.declarations,i.valueDeclaration=t.symbol.valueDeclaration),r.set(n,i)}});var n=2&t.flags?Fo(ye,!1):void 0;return Cn(void 0,r,e.emptyArray,e.emptyArray,n,void 0)}(t);c=!c;var D=i;i|=16,u(w,r.type),i=D,c=!c}else if(1048576&t.flags&&1048576&r.flags)u(t.objectType,r.objectType),u(t.indexType,r.indexType);else if(2097152&t.flags&&2097152&r.flags)u(t.checkType,r.checkType),u(t.extendsType,r.extendsType),u(rc(t),rc(r)),u(nc(t),nc(r));else if(393216&r.flags){for(var A=0,N=void 0,P=0,O=m=r.types;P<O.length;P++){var F;d(F=O[P])?(N=F,A++):u(t,F)}1===A&&(D=i,i|=1,u(t,N),i=D)}else if(131072&t.flags)for(var M=0,I=_=t.types;M<I.length;M++)u(I[M],r);else if(32&i&&8159232&t.flags||(t=Ka(t)),327680&t.flags){var L=t.id+","+r.id;if(o&&o.get(L))return;(o||(o=e.createMap())).set(L,!0);var R=65536&r.flags&&!(16&e.getObjectFlags(r)&&r.symbol&&32&r.symbol.flags)?r.symbol:void 0;if(R){if(e.contains(a,R))return;(a||(a=[])).push(R),f(t,r),a.pop()}else f(t,r)}}}}function l(e,t){N||64&i?(c=!c,u(e,t),c=!c):u(e,t)}function d(e){if(1081344&e.flags)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(e===i.typeParameter)return i}}function f(t,r){if(Na(t)&&Na(r)&&(u(Sa(t),Sa(r)),u(ka(t),ka(r))),32&e.getObjectFlags(r)){var n=Sa(r);if(524288&n.flags){var a=d(n.type);if(a&&!a.isFixed){var o=ol(t,r);if(o){var s=i;i|=2,u(o,a.typeParameter),i=s}}return}if(32768&n.flags)return s=i,i|=4,u(Us(t),n),i=s,void u(Fs(e.map(Ia(t),xi)),ka(r))}(function(e,t){return Iu(e)&&Iu(t)&&qo(e)!==qo(t)||!!cl(e,t,!1)&&!!cl(t,e,!1)})(t,r)||(function(e,t){for(var r=Oa(t),n=0,i=r;n<i.length;n++){var a=i[n],o=$a(e,a.escapedName);o&&u(xi(o),xi(a))}}(t,r),p(t,r,0),p(t,r,1),function(e,t){var r=no(t,0);if(r){var n=no(e,0)||io(e,0);n&&u(n,r)}var i=no(t,1);if(i){var n=no(e,1)||no(e,0)||io(e,1);n&&u(n,i)}}(t,r))}function p(e,t,r){for(var n=Za(e,r),i=Za(t,r),a=n.length,o=i.length,s=a<o?a:o,c=0;c<s;c++)_(Ao(n[a-s+c]),Ao(i[o-s+c]))}function _(e,t){el(e,t,l);var r=xo(e),n=xo(t);r&&n&&r.kind===n.kind?u(r.type,n.type):u(So(e),So(t))}u(r,n)}function dl(e,t){for(var r=0,n=t;r<n.length;r++)if(Hc(n[r],e))return!0;return!1}function fl(e,t){for(var r=[],n=0,i=e.types;n<i.length;n++){var a=i[n];dl(a,t)||r.push(a)}return 131072&e.flags?Fs(r):js(r)}function pl(t){return!!(128&e.getObjectFlags(t))}function _l(t){return 28&t.priority?js(t.contraCandidates):(r=t.contraCandidates,e.reduceLeft(r,function(e,t){return Gc(t,e)?t:e}));var r}function ml(t,r,n){var i=function(t){if(t.length>1){var r=e.filter(t,pl);if(r.length){var n=Yu(Fs(r,2));return e.concatenate(e.filter(t,function(e){return!pl(e)}),[n])}}return t}(t.candidates),a=function(e){var t=Ra(e);return t&&e_(t,540670)}(t.typeParameter),o=!a&&t.topLevel&&(t.isFixed||!al(So(n),t.typeParameter)),s=a?e.sameMap(i,hc):o?e.sameMap(i,Ou):i;return Yu(1&r.flags||28&t.priority?Fs(s,2):function(t){if(!A)return ku(t);var r=e.filter(t,function(e){return!(12288&e.flags)});return r.length?zu(ku(r),12288&Lu(t)):Fs(t,2)}(s))}function gl(e,t){var r=e.inferences[t],n=r.inferredType;if(!n){var i=e.signature;if(i)if(r.candidates)16384&(n=ml(r,e,i)).flags&&r.contraCandidates&&(n=_l(r));else if(r.contraCandidates)n=_l(r);else if(2&e.flags)n=_e;else{var a=Wa(r.typeParameter);n=a?jc(a,Dc(function(e,t){return function(r){return e.indexOf(r)>=t?ye:r}}(e.signature.typeParameters,t),e)):hl(!!(4&e.flags))}else n=ul(r);r.inferredType=n;var o=Ra(r.typeParameter);if(o){var s=jc(o,e);e.compareTypes(n,ca(s,n))||(r.inferredType=n=s)}}return n}function hl(e){return e?Q:ye}function vl(e){for(var t=[],r=0;r<e.inferences.length;r++)t.push(gl(e,r));return t}function yl(t){var r=kr(t);
1return r.resolvedSymbol||(r.resolvedSymbol=!e.nodeIsMissing(t)&&wr(t,t.escapedText,68264895,e.Diagnostics.Cannot_find_name_0,t,!e.isWriteOnlyAccess(t),!1,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1)||Y),r.resolvedSymbol}function bl(t){return!!e.findAncestor(t,function(e){return 164===e.kind||71!==e.kind&&145!==e.kind&&"quit"})}function xl(t){if(179!==t.parent.kind)return""+t.parent.elements.indexOf(t);var r=t.propertyName||t.name;switch(r.kind){case 71:return e.idText(r);case 146:return e.isStringOrNumericLiteral(r.expression)?r.expression.text:void 0;case 9:case 8:return r.text;default:e.Debug.fail("Unexpected name kind for binding element name")}}function Sl(e,t){switch(e.kind){case 71:return 71===t.kind&&yl(e)===yl(t)||(231===t.kind||181===t.kind)&&mn(yl(e))===dn(t);case 99:return 99===t.kind;case 97:return 97===t.kind;case 184:return 184===t.kind&&e.name.escapedText===t.name.escapedText&&Sl(e.expression,t.expression);case 181:if(184!==t.kind)return!1;var r=t;if(r.name.escapedText!==xl(e))return!1;if(181===e.parent.parent.kind&&Sl(e.parent.parent,r.expression))return!0;if(231===e.parent.parent.kind){var n=e.parent.parent.initializer;return n&&Sl(n,r.expression)}}return!1}function kl(e,t){for(;184===e.kind;)if(Sl(e=e.expression,t))return!0;return!1}function Cl(e,t){return 184===t.kind&&kl(e,t.expression)&&El(function e(t){if(71===t.kind)return xi(yl(t));if(184===t.kind){var r=e(t.expression);return r&&Qn(r,t.name.escapedText)}}(t.expression),t.name.escapedText)}function El(t,r){if(t&&131072&t.flags){var n=Xa(t,r);if(n&&2&e.getCheckFlags(n))return void 0===n.isDiscriminantProperty&&(n.isDiscriminantProperty=32&n.checkFlags&&Nu(xi(n))),n.isDiscriminantProperty}return!1}function Tl(e,t){return Sl(e,t)||kl(e,t)}function wl(e,t){if(e!==t){if(16384&t.flags)return t;var r=Hl(e,function(e){return function(e,t){if(!(131072&e.flags))return Xc(e,t);for(var r=0,n=e.types;r<n.length;r++)if(Xc(n[r],t))return!0;return!1}(t,e)});if(!(16384&r.flags))return r}return e}function Dl(e){var t=e.flags;if(2&t)return A?4079361:4194049;if(32&t){var r=""===e.value;return A?r?3030785:1982209:r?3145473:4194049}if(20&t)return A?4079234:4193922;if(64&t){var n=0===e.value;return A?n?3030658:1982082:n?3145346:4193922}return 8&t?A?4078980:4193668:136&t?A?e===ue?3030404:1981828:e===ue?3145092:4193668:65536&t?function(e){var t=Pa(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&Gc(e,Oe))}(e)?A?1970144:4181984:A?1972176:4184016:6144&t?2457472:8192&t?2340752:1536&t?A?1981320:4193160:134217728&t?A?1972176:4184016:7897088&t?Dl(qa(e)||ye):393216&t?function(e){for(var t=0,r=0,n=e;r<n.length;r++)t|=Dl(n[r]);return t}(e.types):4194303}function Al(e,t){return Hl(e,function(e){return 0!==(Dl(e)&t)})}function Nl(e,t){if(t){var r=b_(t);return Fs([Al(e,131072),r])}return e}function Pl(t,r){var n=e.getTextOfPropertyName(r);return pd(Qn(t,n),r)||Qd(n)&&no(t,1)||no(t,0)||te}function Ol(e,t){return wu(e)&&Qn(e,""+t)||Tm(e,void 0,!1,!1)||te}function Fl(e){return ks(Tm(e,void 0,!1,!1)||te)}function Ml(e){return 199===e.parent.kind&&e.parent.left===e||221===e.parent.kind&&e.parent.initializer===e}function Il(e){return Pl(Ll(e.parent),e.name)}function Ll(e){var t=e.parent;switch(t.kind){case 220:return oe;case 221:return Em(t.expression,t.awaitModifier)||te;case 199:return function(e){return 182===e.parent.kind&&Ml(e.parent)||269===e.parent.kind&&Ml(e.parent.parent)?Nl(Ll(e),e.right):b_(e.right)}(t);case 193:return re;case 182:return function(e,t){return Ol(Ll(e),e.elements.indexOf(t))}(t,e);case 203:return function(e){return Fl(Ll(e.parent))}(t);case 269:return Il(t);case 270:return function(e){return Nl(Il(e),e.objectAssignmentInitializer)}(t)}return te}function Rl(e){return e.initializer?function(e){return kr(e).resolvedType||b_(e)}(e.initializer):220===e.parent.parent.kind?oe:221===e.parent.parent.kind&&Em(e.parent.parent.expression,e.parent.parent.awaitModifier)||te}function jl(e){return 231===e.kind?Rl(e):function(e){var t=e.parent,r=jl(t.parent);return Nl(179===t.kind?Pl(r,e.propertyName||e.name):e.dotDotDotToken?Fl(r):Ol(r,t.elements.indexOf(e)),e.initializer)}(e)}function Bl(e){return 231===e.kind||181===e.kind?jl(e):Ll(e)}function zl(e){switch(e.kind){case 190:return zl(e.expression);case 199:switch(e.operatorToken.kind){case 58:return zl(e.left);case 26:return zl(e.right)}}return e}function ql(e){return 265===e.kind?hc(b_(e.expression)):pe}function Ul(e){var t=kr(e);
1if(!t.switchTypes){t.switchTypes=[];for(var r=0,n=e.caseBlock.clauses;r<n.length;r++){var i=n[r];t.switchTypes.push(ql(i))}}return t.switchTypes}function Vl(e,t){return e===t||131072&t.flags&&function(e,t){if(131072&e.flags){for(var r=0,n=e.types;r<n.length;r++){var i=n[r];if(!ws(t.types,i))return!1}return!0}return!!(256&e.flags&&zi(e)===t)||ws(t.types,e)}(e,t)}function Jl(t,r){return 131072&t.flags?e.forEach(t.types,r):r(t)}function Hl(t,r){if(131072&t.flags){var n=t.types,i=e.filter(n,r);return i===n?t:Is(i,268435456&t.flags)}return r(t)?t:pe}function Wl(e,t,r){if(16384&e.flags)return e;if(!(131072&e.flags))return t(e);for(var n,i,a=0,o=e.types;a<o.length;a++){var s=t(o[a]);s&&(n?i?i.push(s):i=[n,s]:n=s)}return i?Fs(i,r?0:1):n}function Kl(e,t){return Hl(e,function(e){return 0!==(e.flags&t)})}function Gl(e,t){return Vl(oe,e)&&e_(t,32)||Vl(se,e)&&e_(t,64)?Wl(e,function(e){return 2&e.flags?Kl(t,34):4&e.flags?Kl(t,68):e}):e}function Xl(e){return 0===e.flags}function Yl(e){return 0===e.flags?e.type:e}function $l(e,t){return t?{flags:0,type:e}:e}function Ql(e){return G[e.id]||(G[e.id]=function(e){var t=bn(256);return t.elementType=e,t}(e))}function Zl(e,t){var r=Pu(function(e){var t=e.contextualType;e.contextualType=Q;var r=b_(e);return e.contextualType=t,r}(t));return Vl(r,e.elementType)?e:Ql(Fs([e.elementType,r]))}function ed(e){return e.finalArrayType||(e.finalArrayType=16384&(t=e.elementType).flags?qe:ks(131072&t.flags?Fs(t.types,2):t));var t}function td(t){return 256&e.getObjectFlags(t)?ed(t):t}function rd(t){return 256&e.getObjectFlags(t)?t.elementType:pe}function nd(t,r){return function(t){for(var r=!1,n=0,i=t;n<i.length;n++){var a=i[n];if(!(16384&a.flags)){if(!(256&e.getObjectFlags(a)))return!1;r=!0}}return r}(t)?Ql(Fs(e.map(t,rd))):Fs(e.sameMap(t,td),r)}function id(t){var r=function e(t){var r=t.parent;return 190===r.kind||199===r.kind&&58===r.operatorToken.kind&&r.left===t||199===r.kind&&26===r.operatorToken.kind&&r.right===t?e(r):t}(t),n=r.parent,i=184===n.kind&&("length"===n.name.escapedText||186===n.parent.kind&&e.isPushOrUnshiftIdentifier(n.name)),a=185===n.kind&&n.expression===r&&199===n.parent.kind&&58===n.parent.operatorToken.kind&&n.parent.left===n&&!e.isAssignmentTarget(n.parent)&&t_(b_(n.argumentExpression),84);return i||a}function ad(t){var r=kr(t);return void 0===r.maybeTypePredicate&&(r.maybeTypePredicate=function(t){if(97!==t.expression.kind){var r=Nf(t.expression);if(r!==_e){var n=Ka(r);return n!==te&&e.some(Za(n,0),bo)}}return!1}(t)),r.maybeTypePredicate}function od(t,r,n,i,a){var o;void 0===n&&(n=r);var c=0;if(St)return te;if(!t.flowNode||!a&&!(142575359&r.flags))return r;var l=xt,d=Yl(p(t.flowNode));xt=l;var f=256&e.getObjectFlags(d)&&id(t)?ze:td(d);return t.parent&&208===t.parent.kind&&16384&Al(f,524288).flags?r:f;
1function p(a){if(2500===c)return St=!0,function(t){var r=e.findAncestor(t,e.isFunctionOrModuleBlock),n=e.getSourceFileOfNode(t),i=e.getSpanOfTokenAtPosition(n,r.statements.pos);Ut.add(e.createFileDiagnostic(n,i.start,i.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}(t),te;for(c++;;){var o=a.flags;if(1024&o)for(var s=l;s<xt;s++)if(Rt[s]===a)return c--,jt[s];var u=void 0;if(4096&o)a.locked=!0,u=p(a.antecedent),a.locked=!1;else{if(2048&o){a=a.antecedent;continue}if(16&o){if(!(u=_(a))){a=a.antecedent;continue}}else if(96&o)u=g(a);else if(128&o)u=h(a);else if(12&o){if(1===a.antecedents.length){a=a.antecedents[0];continue}u=4&o?v(a):y(a)}else if(256&o){if(!(u=m(a))){a=a.antecedent;continue}}else if(2&o){var d=a.container;if(d&&d!==i&&184!==t.kind&&99!==t.kind){a=d.flowNode;continue}u=n}else u=hm(r)}return 1024&o&&(Rt[xt]=a,jt[xt]=u,xt++),c--,u}}function _(n){var i=n.node;if(Sl(t,i)){if(2===e.getAssignmentTargetKind(i)){var a=p(n.antecedent);return $l(Pu(Yl(a)),Xl(a))}if(r===Z||r===qe){if(function(e){return 231===e.kind&&e.initializer&&ai(e.initializer)||181!==e.kind&&199===e.parent.kind&&ai(e.parent.right)}(i))return Ql(pe);var o=Pu(Bl(i));return Xc(o,r)?o:ze}return 131072&r.flags?wl(r,Bl(i)):r}if(kl(t,i))return r}function m(n){if(r===Z||r===qe){var i=n.node,a=186===i.kind?i.expression.expression:i.left.expression;if(Sl(t,zl(a))){var o=p(n.antecedent),s=Yl(o);if(256&e.getObjectFlags(s)){var c=s;if(186===i.kind)for(var u=0,l=i.arguments;u<l.length;u++)c=Zl(c,l[u]);else t_(b_(i.left.argumentExpression),84)&&(c=Zl(c,i.right));return c===s?o:$l(c,Xl(o))}return o}}}function g(e){var t=p(e.antecedent),r=Yl(t);if(16384&r.flags)return t;var n=0!==(32&e.flags),i=td(r),a=P(i,e.expression,n);if(a===i)return t;var o=Xl(t);
1return $l(o&&16384&a.flags?_e:a,o)}function h(e){var r=p(e.antecedent),n=Yl(r),i=e.switchStatement.expression;return Sl(t,i)?n=w(n,e.switchStatement,e.clauseStart,e.clauseEnd):b(i,n)&&(n=x(n,i,function(t){return w(t,e.switchStatement,e.clauseStart,e.clauseEnd)})),$l(n,Xl(r))}function v(t){for(var i=[],a=!1,o=!1,s=0,c=t.antecedents;s<c.length;s++){var u=c[s];if(!(2048&u.flags&&u.lock.locked)){var l=p(u),d=Yl(l);if(d===r&&r===n)return d;e.pushIfUnique(i,d),Vl(d,r)||(a=!0),Xl(l)&&(o=!0)}}return $l(nd(i,a?2:1),o)}function y(n){var i=function(e){return e.id||(e.id=s,s++),e.id}(n),a=Ft[i]||(Ft[i]=e.createMap());if(!o&&!(o=function t(r){if(71===r.kind){var n=yl(r);return n!==Y?(dd(r)?"@":"")+u(n):void 0}if(99===r.kind)return"0";if(184===r.kind)return(a=t(r.expression))&&a+"."+e.idText(r.name);if(181===r.kind){var i=r.parent.parent,a=181===i.kind?t(i):i.initializer&&t(i.initializer),o=xl(r);return a&&o&&a+"."+o}}(t)))return r;var c=a.get(o);if(c)return c;for(var l=yt;l<bt;l++)if(Mt[l]===n&&It[l]===o&&Lt[l].length)return $l(nd(Lt[l],1),!0);var d,f=[],_=!1;Mt[bt]=n,It[bt]=o,Lt[bt]=f;for(var m=0,g=n.antecedents;m<g.length;m++){var h=g[m];bt++;var v=p(h);bt--,d||(d=v);var y=Yl(v),b=a.get(o);if(b)return b;if(e.pushIfUnique(f,y),Vl(y,r)||(_=!0),y===r)break}var x=nd(f,_?2:1);return Xl(d)?$l(x,!0):(a.set(o,x),x)}function b(e,r){return 184===e.kind&&131072&r.flags&&Sl(t,e.expression)&&El(r,e.name.escapedText)}function x(e,t,r){var n=t.name.escapedText,i=Qn(e,n),a=i&&r(i);return i===a?e:Hl(e,function(e){return $c(Qn(e,n),a)})}function S(e,n,i){return Sl(t,n)?Al(e,i?1048576:2097152):b(n,r)?x(e,n,function(e){return Al(e,i?1048576:2097152)}):Cl(t,n)?r:e}function k(t,r,n){if(196608&t.flags||32768&t.flags&&t.isThisType){var i=e.escapeLeadingUnderscores(r.text);return Hl(t,function(e){return function(e,t,r){if(ro(e,0))return!0;var n=$a(e,t);return n?!!(16777216&n.flags)||r:!r}(e,i,n)})}return t}function C(n,i,a){switch(i.operatorToken.kind){case 58:return S(n,i.left,a);case 32:case 33:case 34:case 35:var o=i.operatorToken.kind,s=zl(i.left),c=zl(i.right);if(194===s.kind&&e.isStringLiteralLike(c))return T(n,s,o,c,a);if(194===c.kind&&e.isStringLiteralLike(s))return T(n,c,o,s,a);if(Sl(t,s))return E(n,o,c,a);if(Sl(t,c))return E(n,o,s,a);if(b(s,r))return x(n,s,function(e){return E(e,o,c,a)});if(b(c,r))return x(n,c,function(e){return E(e,o,s,a)});if(Cl(t,s)||Cl(t,c))return r;break;case 93:return function(n,i,a){var o=zl(i.left);if(!Sl(t,o))return kl(t,o)?r:n;var s,c=b_(i.right);if(!Gc(c,Oe))return n;var u=$a(c,"prototype");if(u){var l=xi(u);Zn(l)||(s=l)}if(Zn(n)&&(s===Pe||s===Oe))return n;if(!s){var d=void 0;2&e.getObjectFlags(c)?d=Qi(c).declaredConstructSignatures:16&e.getObjectFlags(c)&&(d=Za(c,1)),d&&d.length&&(s=Fs(e.map(d,function(e){return So(wo(e))})))}return s?D(n,s,a,Yc):n}(n,i,a);case 92:var u=zl(i.right);if(e.isStringLiteralLike(i.left)&&Sl(t,u))return k(n,i.left,a);break;case 26:return P(n,i.right,a)}return n}function E(e,t,r,n){if(1&e.flags)return e;33!==t&&35!==t||(n=!n);var i=b_(r);if(12288&i.flags)return A?Al(e,32===t||33===t?n?65536:524288:8192&i.flags?n?32768:262144:n?16384:131072):e;if(134283777&e.flags)return e;if(n){var a=Hl(e,function(e){return Qc(e,i)});return 16384&a.flags?e:Gl(a,i)}if(Au(i)){var o=hc(i);return Hl(e,function(e){return hc(e)!==o})}return e}function T(e,n,i,a,o){var s=zl(n.expression);if(!Sl(t,s))return kl(t,s)?r:e;if(33!==i&&35!==i||(o=!o),o&&!(131072&e.flags)){var c=tr.get(a.text);if(c){if(Gc(c,e))return c;if(7897088&e.flags&&Gc(c,qa(e)||Q))return js([e,c])}}return Al(e,o?Zt.get(a.text)||64:er.get(a.text)||8192)}function w(t,r,n,i){var a=Ul(r);if(!a.length)return t;var o=a.slice(n,i),s=n===i||e.contains(o,pe),c=Fs(o),u=16384&c.flags?pe:Gl(Hl(t,function(e){return Qc(c,e)}),c);if(!s)return u;var l=Hl(t,function(t){return!(Au(t)&&e.contains(a,hc(t)))});return 16384&u.flags?l:Fs([u,l])}function D(e,t,r,n){if(!r)return Hl(e,function(e){return!n(e,t)});if(131072&e.flags){var i=Hl(e,function(e){return n(e,t)});if(!(16384&i.flags))return i}return Gc(t,e)?t:Xc(e,t)?e:Xc(t,e)?t:js([e,t])}function N(n,i,a){if(!function(e,t){if(e.arguments)for(var r=0,n=e.arguments;r<n.length;r++)if(Tl(t,n[r]))return!0;return!(184!==e.expression.kind||!Tl(t,e.expression.expression))}(i,t)||!ad(i))return n;var o=Sp(i),s=xo(o);if(!s)return n;if(Zn(n)&&(s.type===Pe||s.type===Oe))return n;if(e.isIdentifierTypePredicate(s)){var c=i.arguments[s.parameterIndex-(o.thisParameter?1:0)];if(c){if(Sl(t,c))return D(n,s.type,a,Gc);if(kl(t,c))return r}}else{var u=e.skipParentheses(i.expression);if(185===u.kind||184===u.kind){var l=u,d=e.skipParentheses(l.expression);if(Sl(t,d))return D(n,s.type,a,Gc);if(kl(t,d))return r}}return n}function P(e,t,r){switch(t.kind){case 71:case 99:case 97:case 184:return S(e,t,r);case 186:return N(e,t,r);case 190:return P(e,t.expression,r);case 199:return C(e,t,r);case 197:if(51===t.operator)return P(e,t.operand,!r)}return e}}
1function sd(t){return e.findAncestor(t.parent,function(t){return e.isFunctionLike(t)&&!e.getImmediatelyInvokedFunctionExpression(t)||239===t.kind||273===t.kind||151===t.kind})}function cd(t){var r,n=e.getRootDeclaration(t.valueDeclaration).parent,i=kr(n);return 4194304&i.flags||(i.flags|=4194304,r=n,e.findAncestor(r.parent,function(t){return e.isFunctionLike(t)&&!!(4194304&kr(t).flags)})||ud(n)),t.isAssigned||!1}function ud(t){if(71===t.kind){if(e.isAssignmentTarget(t)){var r=yl(t);r.valueDeclaration&&148===e.getRootDeclaration(r.valueDeclaration).kind&&(r.isAssigned=!0)}}else e.forEachChild(t,ud)}function ld(e){return 3&e.flags&&0!==(2&Tf(e))&&xi(e)!==qe}function dd(e){var t=e.parent;return 184===t.kind||186===t.kind&&t.expression===e||185===t.kind&&t.expression===e||181===t.kind&&t.name===e&&!!t.initializer}function fd(e){return 7372800&e.flags&&e_(qa(e)||ye,12288)}function pd(e,t){return e&&dd(t)&&Jl(e,fd)?Wl(Yu(e),Ua):e}function _d(e,t){!Ur(e,67216319)||bl(t)||Mg(Jr(e))||Wr(e)}function md(t){var r=yl(t);if(r===Y)return te;if(r===B){var n=e.getContainingFunction(t);return T<2&&(192===n.kind?fr(t,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):e.hasModifier(n,256)&&fr(t,e.Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),kr(n).flags|=8192,xi(r)}t.parent&&e.isPropertyAccessExpression(t.parent)&&t.parent.expression===t||_d(r,t);var i=mn(r),a=i.valueDeclaration;if(32&i.flags)if(234===a.kind&&e.nodeIsDecorated(a))for(n=e.getContainingClass(t);void 0!==n;){if(n===a&&n.name!==t){kr(a).flags|=8388608,kr(t).flags|=16777216;break}n=e.getContainingClass(n)}else if(204===a.kind)for(n=e.getThisContainer(t,!1);void 0!==n;){if(n.parent===a){151===n.kind&&e.hasModifier(n,32)&&(kr(a).flags|=8388608,kr(t).flags|=16777216);break}n=e.getThisContainer(n,!1)}!function(t,r){if(!(T>=2||0===(34&r.flags)||268===r.valueDeclaration.parent.kind)){for(var n=e.getEnclosingBlockScopeContainer(r.valueDeclaration),i=function(t,r){return!!e.findAncestor(t,function(t){return t===r?"quit":e.isFunctionLike(t)})}(t.parent,n),a=n,o=!1;a&&!e.nodeStartsNewLexicalEnvironment(a);){if(e.isIterationStatement(a,!1)){o=!0;break}a=a.parent}o&&(i&&(kr(a).flags|=65536),219===n.kind&&e.getAncestor(r.valueDeclaration,232).parent===n&&function(t,r){for(var n=t;190===n.parent.kind;)n=n.parent;var i=!1;if(e.isAssignmentTarget(n))i=!0;else if(197===n.parent.kind||198===n.parent.kind){var a=n.parent;i=43===a.operator||44===a.operator}return!!i&&!!e.findAncestor(n,function(e){return e===r?"quit":e===r.statement})}(t,n)&&(kr(r.valueDeclaration).flags|=2097152),kr(r.valueDeclaration).flags|=262144),i&&(kr(r.valueDeclaration).flags|=131072)}}(t,r);var o=pd(xi(i),t),s=e.getAssignmentTargetKind(t);if(s){if(!(3&i.flags)&&!(e.isInJavaScriptFile(t)&&512&i.flags))return fr(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Ln(r)),te;if(Yp(i))return fr(t,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property,Ln(r)),te}var c=2097152&i.flags;if(3&i.flags){if(1===s)return o}else{if(!c)return o;a=e.find(r.declarations,f)}if(!a)return o;for(var u=148===e.getRootDeclaration(a).kind,l=sd(a),d=sd(t),p=d!==l,_=t.parent&&t.parent.parent&&e.isSpreadAssignment(t.parent)&&Ml(t.parent.parent);d!==l&&(191===d.kind||192===d.kind||e.isObjectLiteralOrClassExpressionMethod(d))&&(ld(i)||u&&!cd(i));)d=sd(d);var m=u||c||p||_||o!==Z&&o!==qe&&(!A||0!==(1&o.flags)||bl(t)||251===t.parent.kind)||208===t.parent.kind||231===a.kind&&a.exclamationToken||4194304&a.flags,g=od(t,o,m?u?function(e,t){return A&&148===t.kind&&t.initializer&&4096&Ru(e)&&!(4096&Ru(S_(t.initializer)))?Al(e,131072):e}(o,a):o:o===Z||o===qe?re:qu(o),d,!m);if(o===Z||o===qe){if(g===Z||g===qe)return O&&(fr(e.getNameOfDeclaration(a),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Ln(r),jn(g)),fr(t,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Ln(r),jn(g))),hm(g)}else if(!m&&!(4096&Ru(o))&&4096&Ru(g))return fr(t,e.Diagnostics.Variable_0_is_used_before_being_assigned,Ln(r)),o;return s?Pu(g):g}function gd(e,t){kr(e).flags|=2,151===t.kind||154===t.kind?kr(t.parent).flags|=4:kr(t).flags|=4}function hd(t){return e.isSuperCall(t)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,hd)}function vd(e){var t=kr(e);return void 0===t.hasSuperCall&&(t.superCall=hd(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function yd(e){return Mi(Ji(dn(e)))===ae}function bd(t,r,n){var i=r.parent;if(e.getClassExtendsHeritageClauseElement(i)&&!yd(i)){var a=vd(r);(!a||a.end>t.pos)&&fr(t,n)}}
1function xd(t,r){if(void 0===r&&(r=e.getThisContainer(t,!1)),e.isFunctionLike(r)&&(!Dd(t)||e.getThisParameter(r))){if(191===r.kind&&199===r.parent.kind&&3===e.getSpecialPropertyAssignmentKind(r.parent)){var n=S_(r.parent.left.expression.expression).symbol;if(n&&n.members&&16&n.flags)return od(t,Tp(n))}var i=gi(r)||Td(r);if(i)return od(t,i)}if(e.isClassLike(r.parent)){var a=dn(r.parent);return od(t,o=e.hasModifier(r,32)?xi(a):Ji(a).thisType)}var o;if(e.isInJavaScriptFile(t)&&(o=function(t){var r=e.getJSDocType(t);if(r&&283===r.kind){var n=r;if(n.parameters.length>0&&n.parameters[0].name&&"this"===n.parameters[0].name.escapedText)return xc(n.parameters[0].type)}}(r))&&o!==te)return od(t,o)}function Sd(t,r){return!!e.findAncestor(t,function(e){return e===r?"quit":148===e.kind})}function kd(t){var r=186===t.parent.kind&&t.parent.expression===t,n=e.getSuperContainer(t,!0),i=!1;if(!r)for(;n&&192===n.kind;)n=e.getSuperContainer(n,!0),i=T<2;var a=0;if(!function(t){return!!t&&(r?154===t.kind:!(!e.isClassLike(t.parent)&&183!==t.parent.kind)&&(e.hasModifier(t,32)?153===t.kind||152===t.kind||155===t.kind||156===t.kind:153===t.kind||152===t.kind||155===t.kind||156===t.kind||151===t.kind||150===t.kind||154===t.kind))}(n)){var o=e.findAncestor(t,function(e){return e===n?"quit":146===e.kind});return o&&146===o.kind?fr(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?fr(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):n&&n.parent&&(e.isClassLike(n.parent)||183===n.parent.kind)?fr(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):fr(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),te}if(r||154!==n.kind||bd(t,n,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),a=e.hasModifier(n,32)||r?512:256,kr(t).flags|=a,153===n.kind&&e.hasModifier(n,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?kr(n).flags|=4096:kr(n).flags|=2048),i&&gd(t.parent,n),183===n.parent.kind)return T<2?(fr(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),te):Q;var s=n.parent;if(!e.getClassExtendsHeritageClauseElement(s))return fr(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),te;var c=Ji(dn(s)),u=c&&Ii(c)[0];return u?154===n.kind&&Sd(t,n)?(fr(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),te):512===a?Mi(c):ca(u,c.thisType):te}function Cd(t){return 4&e.getObjectFlags(t)&&t.target===Be?t.typeArguments[0]:void 0}function Ed(t){return Wl(t,function(t){return 262144&t.flags?e.forEach(t.types,Cd):Cd(t)})}function Td(t){if(192!==t.kind){if(Vc(t)){var r=Gd(t);if(r){var n=r.thisParameter;if(n)return xi(n)}}var i=e.isInJavaScriptFile(t);if(F||i){var a=function(e){return 153!==e.kind&&155!==e.kind&&156!==e.kind||183!==e.parent.kind?191===e.kind&&269===e.parent.kind?e.parent.parent:void 0:e.parent}(t);if(a){for(var o=zd(a),s=a,c=o;c;){var u=Ed(c);if(u)return jc(u,Ud(a));if(269!==s.parent.kind)break;c=zd(s=s.parent.parent)}return o?Uu(o):p_(a)}var l=t.parent;if(199===l.kind&&58===l.operatorToken.kind){var d=l.left;if(184===d.kind||185===d.kind){var f=d.expression;if(i&&e.isIdentifier(f)){var p=e.getSourceFileOfNode(l);if(p.commonJsModuleIndicator&&yl(f)===p.symbol)return}return p_(f)}}}}}function wd(t){var r=t.parent;if(Vc(r)){var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=r.parameters.indexOf(t);if(t.dotDotDotToken){for(var a=[],o=i;o<n.arguments.length;o++)a.push(Ou(S_(n.arguments[o])));return a.length?ks(Fs(a)):void 0}var s=kr(n),c=s.resolvedSignature;s.resolvedSignature=ut;var u=i<n.arguments.length?Ou(S_(n.arguments[i])):t.initializer?void 0:ne;return s.resolvedSignature=c,u}var l=Gd(r);if(l){var d=e.hasRestParameter(r),f=r.parameters.length-(d?1:0);if(i=r.parameters.indexOf(t),void 0===e.getThisParameter(r)||l.thisParameter||(e.Debug.assert(0!==i),i-=1),i<f)return Lp(l,i);if(d&&i===r.parameters.length-1&&Su(l,r.parameters.length-1))return xi(e.lastOrUndefined(l.parameters))}}}function Dd(t){for(var r=!1;t.parent&&!e.isFunctionLike(t.parent);){if(e.isParameter(t.parent)&&(r||t.parent.initializer===t))return!0;e.isBindingElement(t.parent)&&t.parent.initializer===t&&(r=!0),t=t.parent}return!1}function Ad(t){if(154===t.kind||e.getEffectiveReturnTypeNode(t)||Fm(t))return So(go(t));var r=Wd(t);return r&&!function(e){return!e.resolvedReturnType&&Gn(e,3)>=0}(r)?So(r):void 0}function Nd(e,t){var r=ap(e).indexOf(t);return-1===r?void 0:Pd(e,r)}function Pd(e,t){return Lp(kr(e).resolvedSignature===dt?dt:Sp(e),t)}function Od(t){var r=t.parent,n=r.left,i=r.operatorToken,a=r.right;switch(i.kind){case 58:return t===a&&function(t){var r=e.getSpecialPropertyAssignmentKind(t);switch(r){case 0:return!0;case 5:return!t.left.symbol;case 1:case 2:case 3:case 4:case 6:return!1;default:e.Debug.assertNever(r)}}(r)?b_(n):void 0;case 54:var o=qd(r);return o||t!==a||e.getDeclaredJavascriptInitializer(r.parent)||e.getAssignedJavascriptInitializer(r)?o:b_(n);case 53:case 26:return t===a?qd(r):void 0;default:return}}function Fd(e,t){return Wl(e,function(e){var r=458752&e.flags?$a(e,t):void 0;return r?xi(r):void 0},!0)}function Md(e,t){return Wl(e,function(e){return to(e,t)},!0)}function Id(e){var t=zd(e.parent);if(t){if(!ra(e)){var r=Fd(t,dn(e).escapedName);if(r)return r}return $d(e.name)&&Md(t,1)||Md(t,0)}}function Ld(e,t){return e&&(Fd(e,""+t)||Md(e,1)||wm(e,void 0,!1,!1,
1!1))}function Rd(t){var r=t.parent;return e.isJsxAttributeLike(r)?qd(t):e.isJsxElement(r)?function(e){var t=zd(e.openingElement.tagName),r=mf(pf(e));return t&&!Zn(t)&&r&&""!==r?Fd(t,r):void 0}(r):void 0}function jd(t){if(e.isJsxAttribute(t)){var r=zd(t.parent);if(!r||Zn(r))return;return Fd(r,t.name.escapedText)}return qd(t.parent)}function Bd(e){switch(e.kind){case 9:case 8:case 13:case 101:case 86:case 95:case 71:return!0;case 184:case 190:return Bd(e.expression)}return!1}function zd(t){var r,n=qd(t);if(!((n=n&&Wl(n,Ka))&&131072&n.flags&&e.isObjectLiteralExpression(t)))return n;e:for(var i=0,a=t.properties;i<a.length;i++){var o=a[i];if(o.symbol&&269===o.kind&&Bd(o.initializer)&&El(n,o.symbol.escapedName))for(var s=S_(o.initializer),c=0,u=n.types;c<u.length;c++){var l=u[c],d=Qn(l,o.symbol.escapedName);if(d&&Zc(s,d,void 0)){if(r){if(l===r)continue;r=void 0;break e}r=l}}}return r||n}function qd(r){if(!(8388608&r.flags)){if(r.contextualType)return r.contextualType;var n=r.parent;switch(n.kind){case 231:case 148:case 151:case 150:case 181:return function(t){var r=t.parent;if(e.hasInitializer(r)&&t===r.initializer){var n=e.getEffectiveTypeAnnotationNode(r);if(n)return xc(n);if(148===r.kind){var i=wd(r);if(i)return i}if(e.isBindingPattern(r.name))return li(r.name,!0,!1);if(e.isBindingPattern(r.parent)){var a=r.parent.parent,o=r.propertyName||r.name;if(181!==a.kind){var s=e.getEffectiveTypeAnnotationNode(a);if(s&&!e.isBindingPattern(o)){var c=e.getTextOfPropertyName(o);if(c)return Qn(xc(s),c)}}}}}(r);case 192:case 224:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r);if(1&n)return;var i=Ad(r);return 2&n?i&&V_(i):i}}(r);case 202:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r),i=Ad(r);if(i)return t.asteriskToken?i:Pm(i,0!==(2&n))}}(n);case 186:case 187:return Nd(n,r);case 189:case 207:return xc(n.type);case 199:return Od(r);case 269:case 270:return Id(n);case 271:return zd(n.parent);case 182:var i=n;return Ld(zd(i),e.indexOfNode(i.elements,r));case 200:return function(e){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?qd(t):void 0}(r);case 210:return e.Debug.assert(201===n.parent.kind),function(e,t){if(188===e.parent.kind)return Nd(e.parent,t)}(n.parent,r);case 190:var a=e.isInJavaScriptFile(n)?e.getJSDocTypeTag(n):void 0;return a?xc(a.typeExpression.type):qd(n);case 264:return Rd(n);case 261:case 263:return jd(n);case 256:case 255:return function(r){if(af(r.tagName))return yf(r);var n=S_(r.tagName);if(Zn(n))return Q;var i=e.isInJavaScriptFile(r);return Wl(n,function(n){return function(r,n,i){if(2&r.flags)return Q;if(32&r.flags){var a=uf(t.IntrinsicElements,i);if(a!==te){var o=r.value,s=$a(a,e.escapeLeadingUnderscores(o));if(s)return xi(s);var c=no(a,0);if(c)return c}return Q}var u=Za(r,1),l=!0;if(0===u.length&&(u=Za(r,0),l=!1,0===u.length))return te;var d=kr(i);d.resolvedSignatures||(d.resolvedSignatures=e.createMap());var f=""+Ts(r),p=d.resolvedSignatures.get(f);return p&&p!==pt?u=p:p||(d.resolvedSignatures.set(f,pt),d.resolvedSignatures.set(f,u=df(i,u))),Fs(e.map(u,l?function(e){return Vd(e,n,i,!1)}:function(e){return function(e,r){var n=jp(e,ye),i=uf(t.IntrinsicAttributes,r);return i!==te&&(n=ga(i,n)),n}(e,i)}),0)}(n,i,r)})}(n)}}}function Ud(t){return(t=e.findAncestor(t,function(e){return!!e.contextualMapper}))?t.contextualMapper:C}function Vd(r,n,i,a){var o,s=(o=pf(i),_f(t.ElementAttributesPropertyNameContainer,o)),c=void 0===s?jp(r,ye):""===s?So(r):function(e,t){var r=So(e);return Zn(r)?r:Qn(r,t)}(r,s);if(c){if(Zn(c))return c;var u=c,l=uf(t.IntrinsicClassAttributes,i);if(l!==te){var d=Di(l.symbol),f=So(r);u=ga(d?Bo(l,mo([f],d,_o(d),n)):l,u)}var p=uf(t.IntrinsicAttributes,i);return p!==te&&(u=ga(p,u)),u}return a&&s&&e.length(i.attributes.properties)&&fr(i,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(s)),ye}function Jd(t,r){var n=Za(t,0);if(1===n.length){var i=n[0];if(!function(t,r){for(var n=0;n<r.parameters.length;n++){var i=r.parameters[n];if(i.initializer||i.questionToken||i.dotDotDotToken||so(i))break}return r.parameters.length&&e.parameterIsThisKeyword(r.parameters[0])&&n--,(t.hasRestParameter?Number.MAX_VALUE:t.parameters.length)<n}(i,r))return i}}function Hd(e){return 191===e.kind||192===e.kind}function Wd(t){return Hd(t)||e.isObjectLiteralMethod(t)?Gd(t):void 0}function Kd(t){return e.isObjectLiteralMethod(t)?function(t){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!(8388608&t.flags))return Id(t)}(t):zd(t)}function Gd(t){var r;if(e.Debug.assert(153!==t.kind||e.isObjectLiteralMethod(t)),e.isInJavaScriptFile(t)){var n=e.getJSDocType(t);n&&(r=xc(n))}if(r||(r=Kd(t)),r){if(!(131072&r.flags))return Jd(r,t);for(var i,a,o=0,s=r.types;o<s.length;o++){var c=Jd(s[o],t);if(c)if(i){if(!xu(i[0],c,!1,!0,!0,Wc))return;i.push(c)}else i=[c]}return i&&((a=da(i[0])).unionSignatures=i),a}}function Xd(e){return 181===e.kind&&!!e.initializer||199===e.kind&&58===e.operatorToken.kind}function Yd(t,r){for(var n=t.elements,i=!1,a=[],o=e.isAssignmentTarget(t),s=zd(t),c=0;c<n.length;c++){var u=n[c];if(o&&203===u.kind){var l=S_(u.expression,r),d=no(l,1)||wm(l,void 0,!1,!1,
1!1);d&&a.push(d)}else{var f=g_(u,r,Ld(s,c));a.push(f)}i=i||203===u.kind}if(!i){if(o&&a.length)return(f=zo(Es(a))).pattern=t,f;if(s&&function(t){return!!(131072&t.flags?e.forEach(t.types,wu):wu(t))}(s)){var p=s.pattern;if(p&&(180===p.kind||182===p.kind))for(var _=p.elements,m=a.length;m<_.length;m++){var g=_[m];Xd(g)?a.push(s.typeArguments[m]):(205!==g.kind&&fr(g,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),a.push(A?me:ne))}if(a.length)return Es(a)}}return ks(a.length?Fs(a,2):A?me:ne)}function $d(e){switch(e.kind){case 146:return function(e){return t_(Zd(e),84)}(e);case 71:return Qd(e.escapedText);case 8:case 9:return Qd(e.text);default:return!1}}function Qd(e){return(+e).toString()===e}function Zd(t){var r=kr(t.expression);return r.resolvedType||(r.resolvedType=S_(t.expression),12288&r.resolvedType.flags||!t_(r.resolvedType,1654)&&!Xc(r.resolvedType,he)?fr(t,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Hf(t.expression,r.resolvedType,!0)),r.resolvedType}function ef(e,t,r,n){for(var i=[],a=0;a<r.length;a++)(0===n||$d(e[a+t].name))&&i.push(xi(r[a]));return Fo(i.length?Fs(i,2):re,!1)}function tf(t,r){var n,i=e.isAssignmentTarget(t);!function(t,r){var n;!function(e){e[e.Property=1]="Property",e[e.GetAccessor=2]="GetAccessor",e[e.SetAccessor=4]="SetAccessor",e[e.GetOrSetAccessor=6]="GetOrSetAccessor"}(n||(n={}));for(var i=e.createUnderscoreEscapedMap(),a=0,o=t.properties;a<o.length;a++){var s=o[a];if(271!==s.kind){var c=s.name;if(146===c.kind&&uh(c),270===s.kind&&!r&&s.objectAssignmentInitializer)return xh(s.equalsToken,e.Diagnostics.can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment);if(s.modifiers)for(var u=0,l=s.modifiers;u<l.length;u++){var d=l[u];120===d.kind&&153===s.kind||xh(d,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(d))}var f=void 0;switch(s.kind){case 269:case 270:dh(s.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),8===c.kind&&kh(c);case 153:f=1;break;case 155:f=2;break;case 156:f=4;break;default:e.Debug.assertNever(s,"Unexpected syntax kind:"+s.kind)}var p=e.getPropertyNameForPropertyNameNode(c);if(void 0!==p){var _=i.get(p);if(_)if(1===f&&1===_)xh(c,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(c));else{if(!(6&f&&6&_))return xh(c,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(6===_||f===_)return xh(c,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);i.set(p,f|_)}else i.set(p,f)}}}}(t,i);var a=[],o=ye,s=8388608,c=zd(t),u=c&&c.pattern&&(179===c.pattern.kind||183===c.pattern.kind),l=e.isInJavaScriptFile(t)&&!e.isInJsonFile(t),d=!c&&l,f=0,p=!1,_=!1,m=!1;if(l&&0===t.properties.length){var g=dn(t);if(g.exports)return n=g.exports,g.exports.forEach(function(e){return a.push(ln(e))}),P()}n=e.createSymbolTable();for(var h=0,v=0;v<t.properties.length;v++){var y=t.properties[v],b=dn(y),x=y.name&&146===y.name.kind&&!e.isWellKnownSymbolSyntactically(y.name.expression)?Zd(y.name):void 0;if(269===y.kind||270===y.kind||e.isObjectLiteralMethod(y)){var S=269===y.kind?h_(y,r):270===y.kind?g_(y.name,r):v_(y,r);if(l){var k=ii(y);k&&(Zc(S,k,y),S=k)}f|=S.flags;var C=x&&1120&x.flags?x:void 0,w=C?_r(4|b.flags,na(C),1024):_r(4|b.flags,b.escapedName);if(C&&(w.nameType=C),i)(269===y.kind&&Xd(y.initializer)||270===y.kind&&y.objectAssignmentInitializer)&&(w.flags|=16777216);else if(u&&!(512&e.getObjectFlags(c))){var D=$a(c,b.escapedName);D?w.flags|=16777216&D.flags:E.suppressExcessPropertyErrors||ro(c,0)||fr(y.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Ln(b),jn(c))}w.declarations=b.declarations,w.parent=b.parent,b.valueDeclaration&&(w.valueDeclaration=b.valueDeclaration),w.type=S,w.target=b,b=w}else{if(271===y.kind){if(T<2&&Qg(y,2),a.length>0&&(o=dc(o,P(),t.symbol,s,0),a=[],n=e.createSymbolTable(),_=!1,m=!1,f=0),!rf(S=S_(y.expression)))return fr(y,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),te;o=dc(o,S,t.symbol,s,0),h=v+1;continue}e.Debug.assert(155===y.kind||156===y.kind),sg(y)}!x||1120&x.flags?n.set(b.escapedName,b):Xc(x,he)&&(Xc(x,se)?m=!0:_=!0,i&&(p=!0)),a.push(b)}if(u)for(var A=0,N=Ia(c);A<N.length;A++)w=N[A],n.get(w.escapedName)||o&&$a(o,w.escapedName)||(16777216&w.flags||fr(w.valueDeclaration||w.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),n.set(w.escapedName,w),a.push(w));return o!==ye?(a.length>0&&(o=dc(o,P(),t.symbol,s,0)),o):P();function P(){var r=d?mt:_?ef(t.properties,h,a,0):void 0,o=m&&!d?ef(t.properties,h,a,1):void 0,c=Cn(t.symbol,n,e.emptyArray,e.emptyArray,r,o),u=E.suppressExcessPropertyErrors?0:8388608;return c.flags|=33554432|u|117440512&f,c.objectFlags|=128,p&&(c.objectFlags|=512),i&&(c.pattern=t),12288&c.flags||(s|=117440512&c.flags),c}}function rf(t){return!!(134217729&t.flags||14560&Ru(t)&&rf(ju(t))||65536&t.flags&&!Na(t)||393216&t.flags&&!e.forEach(t.types,function(e){return!rf(e)}))}function nf(t){return!e.stringContains(t,"-")}function af(t){switch(t.kind){case 184:case 99:return!1;case 71:return e.isIntrinsicJsxName(t.escapedText);default:e.Debug.fail()}}function of(e,t){return e.initializer?g_(e.initializer,t):ce}function sf(t,r){for(var n,i=t.attributes,a=e.createSymbolTable(),o=ye,s=!1,c=!1,u=mf(pf(t)),l=0,d=i.properties;l<d.length;l++){var f=d[l],p=f.symbol;if(e.isJsxAttribute(f)){var _=of(f,r),m=_r(33554436|p.flags,p.escapedName);m.declarations=p.declarations,m.parent=p.parent,p.valueDeclaration&&(m.valueDeclaration=p.valueDeclaration),m.type=_,m.target=p,a.set(m.escapedName,m),f.name.escapedText===u&&(c=!0)}else e.Debug.assert(263===f.kind),a.size>0&&(o=dc(o,b(),i.symbol,0,4096),a=e.createSymbolTable()),Zn(_=p_(f.expression,r))&&(s=!0),rf(_)?o=dc(o,_,t.symbol,0,4096):n=n?js([n,_]):_}s||a.size>0&&(o=dc(o,b(),i.symbol,0,4096));var g=254===t.parent.kind?t.parent:void 0;if(g&&g.openingElement===t&&g.children.length>0){var h=cf(g,r);
1if(!s&&u&&""!==u){c&&fr(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(u));var v=_r(33554436,u);v.type=1===h.length?h[0]:ks(Fs(h));var y=e.createSymbolTable();y.set(u,v),o=dc(o,Cn(i.symbol,y,e.emptyArray,e.emptyArray,void 0,void 0),i.symbol,0,4096)}}return s?Q:n&&o!==ye?js([n,o]):n||(o===ye?b():o);function b(){var t=Cn(i.symbol,a,e.emptyArray,e.emptyArray,void 0,void 0);return t.flags|=33554432,t.objectFlags|=4224,t}}function cf(e,t){for(var r=[],n=0,i=e.children;n<i.length;n++){var a=i[n];10===a.kind?a.containsOnlyWhiteSpaces||r.push(oe):r.push(g_(a,t))}return r}function uf(e,t){var r=pf(t),n=r&&on(r),i=n&&Er(n,e,67901928);return i?Ji(i):te}function lf(r){var n=kr(r);if(!n.resolvedSymbol){var i=uf(t.IntrinsicElements,r);if(i!==te){if(!e.isIdentifier(r.tagName))return e.Debug.fail();var a=$a(i,r.tagName.escapedText);return a?(n.jsxFlags|=1,n.resolvedSymbol=a):no(i,0)?(n.jsxFlags|=2,n.resolvedSymbol=i.symbol):(fr(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(r.tagName),"JSX."+t.IntrinsicElements),n.resolvedSymbol=Y)}return O&&fr(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(t.IntrinsicElements)),n.resolvedSymbol=Y}return n.resolvedSymbol}function df(t,r){for(var n,i=[],a=!!t.typeArguments,o=0,s=r;o<s.length;o++){var c=s[o];if(c.typeParameters){var u=e.isInJavaScriptFile(t),l=ff(c,t,u,!1);if(l)a=!1,i.push(l);else{t.typeArguments&&$f(c,t.typeArguments)&&(n=c);var d=ep(c,t,tl(c.typeParameters,c,u?4:0));i.push(Co(c,d,u))}}else i.push(c)}return t.typeArguments&&a&&(n?rp(n,t.typeArguments,!0):0!==t.typeArguments.length&&Ut.add(fp(t,r,t.typeArguments))),i}function ff(e,t,r,n){if(t.typeArguments&&$f(e,t.typeArguments)){var i=rp(e,t.typeArguments,n);if(i)return Co(e,i,r)}}function pf(e){var r=dr(e),n=wr(e,r,1920,void 0,r,!1);if(n){var i=Er(on(Vr(n)),t.JSX,1920);if(i)return i}return as(t.JSX,1920,void 0)}function _f(t,r){var n=r&&Er(r.exports,t,67901928),i=n&&Ji(n),a=i&&Ia(i);if(a){if(0===a.length)return"";if(1===a.length)return a[0].escapedName;a.length>1&&fr(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function mf(e){return _f(t.ElementChildrenAttributeNameContainer,e)}function gf(e){if(e){if(262144&e.flags){for(var t=[],r=0,n=e.types;r<n.length;r++){var i=n[r];t.push(Ka(i))}return js(t)}return Ka(e)}}function hf(t,r,n){var i=kr(t);i.resolvedSignatures||(i.resolvedSignatures=e.createMap());var a=""+Ts(r);if(!i.resolvedSignatures.get(a)||i.resolvedSignatures.get(a)!==pt){if(i.resolvedSignatures.get(a))return i.resolvedSignatures.get(a);i.resolvedSignatures.set(a,pt);var o=Za(r,1);if(0!==o.length||0!==(o=Za(r,0)).length){var s=df(t,o);return i.resolvedSignatures.set(a,s),s}n&&fr(t.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(t.tagName))}}function vf(r,n,i,a){if(131072&i.flags)return Fs(i.types.map(function(e){return vf(r,n,e,a)}),2);if(Zn(i))return i;if(2&i.flags)return Q;if(32&i.flags){var o=uf(t.IntrinsicElements,r);if(o!==te){var s=i.value,c=$a(o,e.escapeLeadingUnderscores(s));if(c)return xi(c);var u=no(o,0);if(u)return u;fr(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,s,"JSX."+t.IntrinsicElements)}return Q}var l=hf(r,i,!0);if(!e.length(l))return te;var d=Fs(e.map(l,So),2),f=n?function(r,n,i,a){if(e.Debug.assert(!(131072&n.flags)),!a||!Xc(i,a)){var o=kf(r);if(o){var s=[];bp(r,n,s);for(var c=void 0,u=void 0,l=0,d=s;l<d.length;l++){var f=d[l],p=So(f),_=p&&(0===f.parameters.length?ye:xi(f.parameters[0]));if(_=gf(_),p&&Xc(p,o)){for(var m=!0,g=0,h=r.attributes.properties;g<h.length;g++){var v=h[g];if(e.isJsxAttribute(v)&&nf(v.name.escapedText)&&!$a(_,v.name.escapedText)){m=!1;break}}m&&(c=ga(c,_)),u=ga(u,_)}}c||(c=u);var y=uf(t.IntrinsicAttributes,r);return y!==te&&(c=ga(y,c)),c}}}(r,i,d,a):function(r,n,i,a){if(e.Debug.assert(!(131072&n.flags)),!a||!Xc(i,a)){var o=kf(r);if(o){var s=bp(r,n,void 0);if(s!==lt){var c=s&&So(s),u=c&&(0===s.parameters.length?ye:xi(s.parameters[0]));if(u=gf(u),c&&Xc(c,o)){var l=uf(t.IntrinsicAttributes,r);return l!==te&&(u=ga(l,u)),u}}}}}(r,i,d,a);if(f)return f;a&&uu(d,a,ir,r,e.Diagnostics.JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements);var p=e.isInJavaScriptFile(r);return Fs(e.map(l,function(e){return Vd(e,p,r,!0)}))}function yf(t){e.Debug.assert(af(t.tagName));var r=kr(t);if(!r.resolvedJsxElementAttributesType){var n=lf(t);return 1&r.jsxFlags?r.resolvedJsxElementAttributesType=xi(n):2&r.jsxFlags?r.resolvedJsxElementAttributesType=Mo(n,0).type:r.resolvedJsxElementAttributesType=te}return r.resolvedJsxElementAttributesType}function bf(e,r){return vf(e,r,S_(e.tagName),function(e){var r=uf(t.ElementClass,e);return r===te?void 0:r}(e))}function xf(e){var t;return $a(af((t=e.parent.parent).tagName)?yf(t):bf(t,!1),e.name.escapedText)||Y}function Sf(e){return uf(t.Element,e)}function kf(e){var t=Sf(e);if(t)return Fs([t,ie])}function Cf(t,r){var n,i=e.isJsxOpeningLikeElement(t);i&&function(t){ah(t,t.typeArguments);for(var r=e.createUnderscoreEscapedMap(),n=0,i=t.attributes.properties;n<i.length;n++){var a=i[n];if(263!==a.kind){var o=a.name,s=a.initializer;if(r.get(o.escapedText))return xh(o,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(r.set(o.escapedText,!0),s&&264===s.kind&&!s.expression)return xh(s,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}(t),n=t,0===(E.jsx||0)&&fr(n,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===Sf(n)&&O&&fr(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);var a=Ut&&2===E.jsx?e.Diagnostics.Cannot_find_name_0:void 0,o=dr(t),s=wr(i?t.tagName:t,o,67216319,a,o,!0);s&&(s.isReferenced=67108863,2097152&s.flags&&!Mg(Jr(s))&&Wr(s)),i?function(t,r){var n=af(t.tagName)?yf(t):bf(t,!1),i=sf(t,r),a=Xc(i,n);if(!a||Zn(i)||Zn(n)){if(!a){if(e.length(t.attributes.properties)){for(var o=!1,s=function(t){if(e.isJsxSpreadAttribute(t))return"continue";var r=e.idText(t.name),a=$s(i,vc(r)),s=$s(n,vc(r));Zc(a,s,t,void 0,function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Types_of_property_0_are_incompatible,r)})||(o=!0)},c=0,u=t.attributes.properties;c<u.length;c++){var l=u[c];s(l)}if(o)return}Zc(i,n,t.tagName)}}else for(var d=0,f=t.attributes.properties;d<f.length;d++){var p=f[d];
1if(e.isJsxAttribute(p)){var _=p.name,m=nf(e.idText(_))||!!$a(n,_.escapedText);if(m&&!Ef(n,_.escapedText,!0)){fr(p,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(_),jn(n));break}}}}(t,r):cf(t.parent)}function Ef(e,t,r){if(65536&e.flags){var n=Pa(e);if(n.stringIndexInfo||n.numberIndexInfo&&Qd(t)||Fa(e,t)||r&&!nf(t))return!0}else if(393216&e.flags)for(var i=0,a=e.types;i<a.length;i++)if(Ef(a[i],t,r))return!0;return!1}function Tf(t){return t.valueDeclaration?e.getCombinedNodeFlags(t.valueDeclaration):0}function wf(t){if(8192&t.flags||4&e.getCheckFlags(t))return!0;if(e.isInJavaScriptFile(t.valueDeclaration)){var r=t.valueDeclaration.parent;return r&&e.isBinaryExpression(r)&&3===e.getSpecialPropertyAssignmentKind(r)}}function Df(t,r,n,i){var a,o=e.getDeclarationModifierFlagsFromSymbol(i),s=184===t.kind||231===t.kind?t.name:178===t.kind?t:t.right;if(256&e.getCheckFlags(i))return fr(s,e.Diagnostics.Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1,Ln(i),jn(n)),!1;if(97===r.kind){if(T<2&&Af(i))return fr(s,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&o)return fr(s,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Ln(i),jn(hu(i))),!1}if(128&o&&e.isThisProperty(t)&&Af(i)&&(a=e.getClassLikeDeclarationOfSymbol(fn(i)))&&function(t,r){return e.findAncestor(t,function(t){return!(!e.isConstructorDeclaration(t)||!e.nodeIsPresent(t.body)||t.parent!==r)||!(t!==r&&!e.isFunctionLikeDeclaration(t))&&"quit"})}(t,a))return fr(s,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Ln(i),e.getTextOfIdentifierOrLiteral(a.name)),!1;if(!(24&o))return!0;if(8&o)return!!gg(t,a=e.getClassLikeDeclarationOfSymbol(fn(i)))||(fr(s,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,Ln(i),jn(hu(i))),!1);if(97===r.kind)return!0;var c=mg(t,function(t){var r=Ji(dn(t));return function(t,r){return gu(r,function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r))&&!Ci(t,hu(r))})?void 0:t}(r,i)?r:void 0});return c?!!(32&o)||(32768&n.flags&&(n=n.isThisType?Ra(n):qa(n)),!(!n||!Ci(n,c))||(fr(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1,Ln(i),jn(c)),!1)):(fr(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Ln(i),jn(hu(i)||n)),!1)}function Af(e){return gu(e,function(e){var t,r=(t=e).valueDeclaration?t.valueDeclaration.kind:151;return 153!==r&&152!==r})}function Nf(e,t,r,n){return Pf(S_(e),e,t,r,n)}function Pf(t,r,n,i,a){var o=12288&(A?Ru(t):t.flags);if(o){fr(r,4096&o?8192&o?a||e.Diagnostics.Object_is_possibly_null_or_undefined:i||e.Diagnostics.Object_is_possibly_undefined:n||e.Diagnostics.Object_is_possibly_null);var s=Uu(t);return 28672&s.flags?te:s}return t}function Of(e){return Mf(e,e.expression,e.name)}function Ff(e){return Mf(e,e.left,e.right)}function Mf(t,r,n){var i,a=Nf(r),o=kr(r).resolvedSymbol,s=Ka(Yu(a));if(Zn(s)||s===_e)return e.isIdentifier(r)&&o&&_d(o,t),s;var c=e.getAssignmentTargetKind(t),u=$a(s,n.escapedText);if(!e.isIdentifier(r)||!o||u&&Mg(u)||_d(o,t),u){if(function(t,r,n){var i=t.valueDeclaration;i&&(!function(t){return!!e.findAncestor(t,function(t){switch(t.kind){case 151:return!0;case 269:return!1;default:return!e.isExpressionNode(t)&&"quit"}})}(r)||Tr(i,n)||function(e){if(!(32&e.parent.flags))return!1;for(var t=xi(e.parent);;){if(!(t=t.symbol&&If(t)))return!1;var r=$a(t,e.escapedName);if(r&&r.valueDeclaration)return!0}}(t)?234!==i.kind||161===r.parent.kind||4194304&i.flags||Tr(i,n)||fr(n,e.Diagnostics.Class_0_used_before_its_declaration,e.idText(n)):fr(n,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,e.idText(n)))}(u,t,n),qf(u,t,99===r.kind),kr(t).resolvedSymbol=u,Df(t,r,s,u),c&&($p(t,u)||Qp(t)))return fr(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property,e.idText(n)),te;i=pd(xi(u),t)}else{var l=ro(s,0);if(!l||!l.type)return n.escapedText&&!Or(t)&&function(t,r){var n;if(131072&r.flags&&!(16382&r.flags))for(var i=0,a=r.types;i<a.length;i++){var o=a[i];if(!$a(o,t.escapedText)){n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),jn(o));break}}var s=J_(r);if(s&&$a(s,t.escapedText))n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_forget_to_use_await,e.declarationNameToString(t),jn(r));else{var c=Lf(t,r);n=void 0!==c?e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e.declarationNameToString(t),jn(r),c):e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),jn(r))}Ut.add(e.createDiagnosticForNodeFromMessageChain(t,n))}(n,32768&a.flags&&a.isThisType?s:a),te;l.isReadonly&&(e.isAssignmentTarget(t)||e.isDeleteTarget(t))&&fr(t,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,jn(s)),i=l.type}if(184!==t.kind||1===c||u&&!(98311&u.flags)&&!(8192&u.flags&&131072&i.flags))return i;var d=!1;if(A&&P&&99===r.kind){var f=u&&u.valueDeclaration;if(f&&Jm(f)){var p=sd(t);154===p.kind&&p.parent===f.parent&&(d=!0)}}var _=od(t,i,d?qu(i):i);return d&&!(4096&Ru(i))&&4096&Ru(_)?(fr(n,e.Diagnostics.Property_0_is_used_before_being_assigned,Ln(u)),i):c?Pu(_):_}function If(e){var t=Ii(e);if(0!==t.length)return js(t)}function Lf(t,r){var n=Bf(e.idText(t),Ia(r),67216319);return n&&e.symbolName(n)}function Rf(t,r,n){e.Debug.assert(void 0!==r,"outername should always be defined");var i=Dr(t,r,n,void 0,r,!1,!1,function(t,n,i){return e.Debug.assertEqual(r,n,"name should equal outerName"),Er(t,n,i)||Bf(e.unescapeLeadingUnderscores(n),e.arrayFrom(t.values()),i)});return i&&e.symbolName(i)}function jf(t,r){var n=r.exports&&Bf(e.idText(t),nn(r),2623475);return n&&e.symbolName(n)}function Bf(t,r,n){for(var i,a=Math.min(2,Math.floor(.34*t.length)),o=Math.floor(.4*t.length)+1,s=!1,c=t.toLowerCase(),u=0,l=r;u<l.length;u++){var d=l[u],f=e.symbolName(d);if(34!==f.charCodeAt(0)&&d.flags&n&&Math.abs(f.length-c.length)<=a){var p=f.toLowerCase();if(p===c)return d;if(!s&&!(f.length<3)){var _=zf(c,p,o-1);void 0!==_&&(_<3?(s=!0,i=d):(e.Debug.assert(_<o),o=_,i=d))}}}return i}function zf(e,t,r){for(var n=new Array(t.length+1),i=new Array(t.length+1),a=r+1,o=0;o<=t.length;o++)n[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),c=o>r?o-r:1,u=t.length>r+o?r+o:t.length;i[0]=o;for(var l=o,d=1;d<c;d++)i[d]=a;for(d=c;d<=u;d++){var f=s===t.charCodeAt(d-1)?n[d-1]:Math.min(n[d]+1,i[d-1]+1,n[d-1]+2);i[d]=f,l=Math.min(l,f)}for(d=u+1;d<=t.length;d++)i[d]=a;if(l>r)return;var p=n;n=i,i=p}var _=n[t.length];return _>r?void 0:_}function qf(t,r,n){if(t&&106500&t.flags&&t.valueDeclaration&&e.hasModifier(t.valueDeclaration,8)&&(!r||!e.isWriteOnlyAccess(r)||65536&t.flags&&!(32768&t.flags))){if(n){var i=e.findAnce
1stor(r,e.isFunctionLikeDeclaration);if(i&&i.symbol===t)return}(1&e.getCheckFlags(t)?Sr(t).target:t).isReferenced=67108863}}function Uf(t,r,n,i){if(i===te||Zn(i))return!0;var a=$a(i,n);return a?Df(t,r,i,a):e.isInJavaScriptFile(t)&&131072&i.flags&&i.types.some(function(e){return Uf(t,r,n,e)})}function Vf(t){var r=t.initializer;if(232===r.kind){var n=r.declarations[0];if(n&&!e.isBindingPattern(n.name))return dn(n)}else if(71===r.kind)return yl(r)}function Jf(t){var r=Nf(t.expression),n=t.argumentExpression;if(!n){var i,a=e.getSourceFileOfNode(t);return 187===t.parent.kind&&t.parent.expression===t?bh(a,i=e.skipTrivia(a.text,t.expression.end),t.end-i,e.Diagnostics.new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead):bh(a,i=t.end-"]".length,t.end-i,e.Diagnostics.Expression_expected),te}var o=function(t){var r,n=e.skipParentheses(t);if(71===n.kind){var i=yl(n);if(3&i.flags)for(var a=t,o=t.parent;o;){if(220===o.kind&&a===o.statement&&Vf(o)===i&&no(r=b_(o.expression),1)&&!no(r,0))return!0;a=o,o=o.parent}}return!1}(n)?se:S_(n);return r===te||r===_e?r:n_(r)&&9!==n.kind?(fr(n,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),te):R_($s(r,o,t),t)}function Hf(t,r,n){if(r===te)return!1;if(!e.isWellKnownSymbolSyntactically(t))return!1;if(0===(1536&r.flags))return n&&fr(t,e.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,e.getTextOfNode(t)),!1;var i=t.expression,a=yl(i);if(!a)return!1;var o=ss(!0);return!!o&&(a===o||(n&&fr(i,e.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object),!1))}function Wf(t){return e.isCallOrNewExpression(t)}function Kf(t){return Wf(t)&&e.forEach(t.typeArguments,ag),188===t.kind?S_(t.template):149!==t.kind&&e.forEach(t.arguments,function(e){S_(e)}),ut}function Gf(e){return Kf(e),lt}function Xf(e){for(var t=0;t<e.length;t++){var r=e[t];if(r&&203===r.kind)return t}return-1}function Yf(t,r,n,i){var a,o,s;void 0===i&&(i=!1);var c=-1;if(e.isJsxOpeningLikeElement(t))return!0;if(188===t.kind)if(a=r.length,o=t.typeArguments,201===t.template.kind){var u=e.lastOrUndefined(t.template.templateSpans);e.Debug.assert(void 0!==u),s=e.nodeIsMissing(u.literal)||!!u.literal.isUnterminated}else{var l=t.template;e.Debug.assert(13===l.kind),s=!!l.isUnterminated}else if(149===t.kind)o=void 0,a=op(t,void 0,n);else{if(!t.arguments)return e.Debug.assert(187===t.kind),0===n.minArgumentCount;a=i?r.length+1:r.length,s=t.arguments.end===t.end,o=t.typeArguments,c=Xf(r)}if(!$f(n,o))return!1;if(c>=0)return Su(n,c)||n.minArgumentCount<=c&&c<n.parameters.length;if(!n.hasRestParameter&&a>n.parameters.length)return!1;var d=a>=n.minArgumentCount;return s||d}function $f(t,r){var n=e.length(t.typeParameters),i=_o(t.typeParameters);return!r||r.length>=i&&r.length<=n}function Qf(e){if(65536&e.flags){var t=Pa(e);if(1===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.properties.length&&!t.stringIndexInfo&&!t.numberIndexInfo)return t.callSignatures[0]}}function Zf(t,r,n,i){var a=tl(t.typeParameters,t,1,i);return el(r,t,function(e,t){ll(a.inferences,jc(e,n||C),t)}),n||ll(a.inferences,So(r),So(t),8),Co(t,vl(a),e.isInJavaScriptFile(r.declaration))}function ep(e,t,r){var n=Lp(e,0),i=f_(t.attributes,n,C);ll(r.inferences,i,n);var a=Lp(e,0),o=f_(t.attributes,a,r);return ll(r.inferences,o,a),vl(r)}function tp(t,r,n,i,a){for(var o=0,s=a.inferences;o<s.length;o++){var c=s[o];c.isFixed||(c.inferredType=void 0)}if(149!==t.kind){var u=qd(t);if(u){var l=jc(u,function(e){return e&&function(e){return!!e.typeParameters}(e)?tl(e.typeParameters,e.signature,2|e.flags,e.compareTypes,e.inferences):e}(Ud(t))),d=Qf(l),f=d&&d.typeParameters?No(Co(d,d.typeParameters,e.isInJavaScriptFile(t))):l,p=So(r);ll(a.inferences,f,p,8)}}var _=yo(r);if(_){var m=ip(t),g=m?S_(m):fe;ll(a.inferences,g,_)}for(var h=op(t,n,r),v=0;v<h;v++)if(void 0===(x=lp(t,n,v))||205!==x.kind){var y=Lp(r,v),b=up(t,v);void 0===b&&(b=f_(x,y,i&&void 0!==i[v]?C:a)),ll(a.inferences,b,y)}if(i)for(v=0;v<h;v++)if(!1===i[v]){var x=n[v];y=Lp(r,v),ll(a.inferences,f_(x,y,a),y)}return vl(a)}function rp(t,r,n,i){for(var a,o=e.isInJavaScriptFile(t.declaration),s=t.typeParameters,c=mo(e.map(r,xc),s,_o(s),o),u=0;u<r.length;u++){e.Debug.assert(void 0!==s[u],"Should not call checkTypeArguments with too many type arguments");var l=Ra(s[u]);if(l){var d=n&&i&&function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)},f=i||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;a||(a=Tc(s,c));var p=c[u];
1if(!Zc(p,ca(jc(l,a),p),n?r[u]:void 0,f,d))return!1}}return c}function np(t,r,n,i,a,o){if(e.isJsxOpeningLikeElement(t))return function(t,r,n){if(t.attributes.end===t.end)return!0;for(var i=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,a=Lp(r,0),o=f_(t.attributes,a,void 0),s=0,c=Ia(o);s<c.length;s++){var u=c[s];if(!$a(a,u.escapedName)&&nf(u.escapedName))return!1}return uu(o,a,n,void 0,i)}(t,n,i);var s=yo(n);if(s&&s!==fe&&187!==t.kind){var c=ip(t),u=c?S_(c):fe,l=o?c||t:void 0,d=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!uu(u,yo(n),i,l,d))return!1}for(var f=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,p=op(t,r,n),_=0;_<p;_++){var m=lp(t,r,_);if(void 0===m||205!==m.kind){var g=Lp(n,_),h=up(t,_)||f_(m,g,a&&a[_]?C:void 0);if(!uu(a?Hu(h):h,g,i,l=o?dp(t,_,m):void 0,f))return!1}}return!0}function ip(t){if(186===t.kind){var r=e.skipOuterExpressions(t.expression);if(184===r.kind||185===r.kind)return r.expression}}function ap(t){if(188===t.kind){var r=t.template,n=[void 0];return 201===r.kind&&e.forEach(r.templateSpans,function(e){n.push(e.expression)}),n}return 149===t.kind?void 0:e.isJsxOpeningLikeElement(t)?t.attributes.properties.length>0?[t.attributes]:e.emptyArray:t.arguments||e.emptyArray}function op(e,t,r){if(149!==e.kind)return t.length;switch(e.parent.kind){case 234:case 204:return 1;case 151:return 2;case 153:case 155:case 156:return 0===T?2:r.parameters.length>=3?3:2;case 148:return 3}}function sp(t){return 234===t.kind?xi(dn(t)):148===t.kind&&154===(t=t.parent).kind?xi(dn(t)):151===t.kind||153===t.kind||155===t.kind||156===t.kind?function(t){var r=dn(t.parent);return e.hasModifier(t,32)?xi(r):Ji(r)}(t):(e.Debug.fail("Unsupported decorator target."),te)}function cp(t,r){return 0===r?sp(t.parent):1===r?function(t){if(234===t.kind)return e.Debug.fail("Class decorators should not have a second synthetic argument."),te;if(148===t.kind&&154===(t=t.parent).kind)return Q;if(151===t.kind||153===t.kind||155===t.kind||156===t.kind){var r=t;switch(r.name.kind){case 71:return vc(e.idText(r.name));case 8:case 9:return vc(r.name.text);case 146:var n=Zd(r.name);return t_(n,1536)?n:oe;default:return e.Debug.fail("Unsupported property name."),te}}return e.Debug.fail("Unsupported decorator target."),te}(t.parent):2===r?function(t){return 234===t.kind?(e.Debug.fail("Class decorators should not have a third synthetic argument."),te):148===t.kind?se:151===t.kind?(e.Debug.fail("Property decorators should not have a third synthetic argument."),te):153===t.kind||155===t.kind||156===t.kind?ys(bg(t)):(e.Debug.fail("Unsupported decorator target."),te)}(t.parent):(e.Debug.fail("Decorators should not have a fourth synthetic argument."),te)}function up(e,t){return 149===e.kind?cp(e,t):0===t&&188===e.kind?rt||(rt=os("TemplateStringsArray",0,!0))||ye:void 0}function lp(e,t,r){if(149!==e.kind&&(0!==r||188!==e.kind))return t[r]}function dp(e,t,r){return 149===e.kind?e.expression:0===t&&188===e.kind?e.template:r}function fp(t,r,n){for(var i=1/0,a=-1/0,o=0,s=r;o<s.length;o++){var c=s[o];i=Math.min(i,_o(c.typeParameters)),a=Math.max(a,e.length(c.typeParameters))}var u=i===a?i:i+"-"+a;return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),n,e.Diagnostics.Expected_0_type_arguments_but_got_1,u,n.length)}function pp(t,r,n,a){var o,s=188===t.kind,c=149===t.kind,u=e.isJsxOpeningLikeElement(t);c||(o=t.typeArguments,(s||u||97!==t.expression.kind)&&e.forEach(o,ag));var l=n||[];if(function(t,r){var n,i,a,o,s=0,c=-1;e.Debug.assert(!r.length);for(var u=0,l=t;u<l.length;u++){var d=l[u],f=d.declaration&&dn(d.declaration),p=d.declaration&&d.declaration.parent;i&&f!==i?(a=s=r.length,n=p):n&&p===n?a++:(n=p,a=s),i=f,d.hasLiteralTypes?(o=++c,s++):o=a,r.splice(o,0,d)}}(r,l),!l.length)return Ut.add(e.createDiagnosticForNode(t,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Gf(t);var d,f,p,_,m=ap(t),g=1===l.length&&!l[0].typeParameters,h=0;if(!c&&!g)for(var v=s?1:0;v<m.length;v++)qc(m[v])&&(d||(d=new Array(m.length)),d[v]=!0,h++);var y=n&&186===t.kind&&t.arguments.hasTrailingComma;if(l.length>1&&(_=I(l,nr,y)),_||(_=I(l,ir,y)),_)return _;if(f){if(u)return f;np(t,m,f,ir,void 0,!0)}else if(p)rp(p,t.typeArguments,!0,a);else if(o&&e.every(r,function(t){return e.length(t.typeParameters)!==o.length}))Ut.add(fp(t,r,o));else if(m){for(var b=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY,S=0,k=r;S<k.length;S++){var C=k[S];b=Math.min(b,C.minArgumentCount),x=Math.max(x,C.parameters.length)}var E=e.some(r,function(e){return e.hasRestParameter}),T=Xf(m)>-1,w=E?b:b<x?b+"-"+x:b,D=m.length;D<=x&&T&&D--;var A=E&&T?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:E?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:T?e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;Ut.add(e.createDiagnosticForNode(t,A,w,D))}else a&&Ut.add(e.createDiagnosticForNode(t,a));if(!i){e.Debug.assert(l.length>0);var N=function(e,t){for(var r=-1,n=-1,i=0;i<e.length;i++){var a=e[i];if(a.hasRestParameter||a.parameters.length>=t)return i;a.parameters.length>n&&(n=a.parameters.length,r=i)}return r}(l,void 0===j?m.length:j),P=l[N],O=P.typeParameters;if(O&&Wf(t)&&t.typeArguments){for(var F=t.typeArguments.map(bg);F.length>O.length;)F.pop();for(;F.length<O.length;)F.push(hl(e.isInJavaScriptFile(t)));var M=Eo(P,F);return l[N]=M,M}return P}return Gf(t);function I(r,n,i){if(void 0===i&&(i=!1),f=void 0,p=void 0,g){var a=r[0];if(!Yf(t,m,a,i))return;return np(t,m,a,n,d,!1)?a:void(f=a)}for(var s=0;s<r.length;s++){var c=r[s];if(Yf(t,m,c,i)){a=void 0;for(var u=c.typeParameters?tl(c.typeParameters,c,e.isInJavaScriptFile(t)?4:0):void 0;;){if((a=c).typeParameters){var l=void 0;if(o){var _=rp(a,o,!1);if(!_){p=c;break}l=_}else l=tp(t,a,m,d,u);a=Co(a,l,e.isInJavaScriptFile(a.declaration))}if(!np(t,m,a,n,d,!1)){f=a;break}if(0===h)return r[s]=a,a;--h>0?d[d.indexOf(!0)]=!1:d=void 0}}}}}function _p(e,t,r,n){return Zn(e)||Zn(t)&&32768&e.flags||!r&&!n&&!(147456&t.flags)&&Xc(e,Oe)}function mp(t,r){if(t.arguments&&T<1){var n=Xf(t.arguments);n>=0&&fr(t.arguments[n],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=Nf(t.expression);if(i===_e)return ft;if((i=Ka(i))===te)return Gf(t);if(Zn(i))return t.typeArguments&&fr(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Kf(t);var a=Za(i,1);if(a.length){if(!function(t,r){if(!r||!r.declaration)return!0;var n=r.declaration,i=e.getSelectedModifierFlags(n,24);
1if(!i)return!0;var a=e.getClassLikeDeclarationOfSymbol(n.parent.symbol),o=Ji(n.parent.symbol);if(!gg(t,a)){var s=e.getContainingClass(t);if(s)for(var c=bg(s),u=Ii(c);u.length;){var l=u[0];if(16&i&&l.symbol===n.parent.symbol)return!0;u=Ii(l)}return 8&i&&fr(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,jn(o)),16&i&&fr(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,jn(o)),!1}return!0}(t,a[0]))return Gf(t);var o=i.symbol&&e.getClassLikeDeclarationOfSymbol(i.symbol);return o&&e.hasModifier(o,128)?(fr(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Gf(t)):pp(t,a,r)}var s=Za(i,0);if(s.length){var c=pp(t,s,r);return kp(c.declaration)||So(c)===fe||fr(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),yo(c)===fe&&fr(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void),c}return gp(t,i,1),Gf(t)}function gp(t,r,n){fr(t,0===n?e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature,jn(r)),hp(r,n)}function hp(t,r){if(t.symbol){var n=Sr(t.symbol).originatingImport;if(n&&!e.isImportCall(n)){var i=Za(xi(Sr(t.symbol).target),r);if(!i||!i.length)return;fr(n,e.Diagnostics.A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime)}}}function vp(t){switch(t.parent.kind){case 234:case 204:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 148:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 151:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 153:case 155:case 156:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression}}function yp(t,r){var n=S_(t.expression),i=Ka(n);if(i===te)return Gf(t);var a,o,s=Za(i,0),c=Za(i,1);if(_p(n,i,s.length,c.length))return Kf(t);if(a=t,(o=s).length&&e.every(o,function(e){return 0===e.minArgumentCount&&!e.hasRestParameter&&e.parameters.length<op(a,void 0,e)})){var u=e.getTextOfNode(t.expression,!1);return fr(t,e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,u),Gf(t)}var l=vp(t);if(!s.length){var d=void 0;return d=e.chainDiagnosticMessages(d,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,jn(i)),d=e.chainDiagnosticMessages(d,l),Ut.add(e.createDiagnosticForNodeFromMessageChain(t,d)),hp(i,0),Gf(t)}return pp(t,s,r,l)}function bp(t,r,n){e.Debug.assert(!(131072&r.flags));var i=r&&Za(r,0);if(i&&i.length>0)return pp(t,i,n)}function xp(t,r){switch(t.kind){case 186:return function(t,r){if(97===t.expression.kind){var n=kd(t.expression);if(Zn(n))return e.forEach(t.arguments,x_),ut;if(n!==te){var i=e.getClassExtendsHeritageClauseElement(e.getContainingClass(t));if(i)return pp(t,Fi(n,i.typeArguments,i),r)}return Kf(t)}var a=Nf(t.expression,e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null,e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined,e.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined);if(a===_e)return ft;var o=Ka(a);if(o===te)return Gf(t);var s=Za(o,0),c=Za(o,1);return _p(a,o,s.length,c.length)?(a!==te&&t.typeArguments&&fr(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Kf(t)):s.length?pp(t,s,r):(c.length?fr(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,jn(a)):gp(t,o,0),Gf(t))}(t,r);case 187:return mp(t,r);case 188:return function(e,t){var r=S_(e.tag),n=Ka(r);if(n===te)return Gf(e);var i=Za(n,0),a=Za(n,1);return _p(r,n,i.length,a.length)?Kf(e):i.length?pp(e,i,t):(gp(e,n,0),Gf(e))}(t,r);case 149:return yp(t,r);case 256:case 255:return Jl(S_(t.tagName),function(n){var i=bp(t,n,r);if(i&&i!==lt)return i;var a=hf(t,n);return r&&e.length(a)&&r.push.apply(r,a),e.length(a)?a[0]:lt})||lt}e.Debug.assertNever(t,"Branch in 'resolveSignature' should be unreachable.")}function Sp(e,t){var r=kr(e),n=r.resolvedSignature;if(n&&n!==dt&&!t)return n;r.resolvedSignature=dt;var i=xp(e,t);return r.resolvedSignature=yt===bt?i:n,i}function kp(t){if(t&&e.isInJavaScriptFile(t)){if(e.getJSDocClassTag(t))return!0;var r=e.isFunctionDeclaration(t)||e.isFunctionExpression(t)?dn(t):e.isVariableDeclaration(t)&&t.initializer&&e.isFunctionExpression(t.initializer)?dn(t.initializer):void 0;return r&&void 0!==r.members}return!1}function Cp(t){var r=t.valueDeclaration,n=r&&r.parent&&(e.isBinaryExpression(r.parent)&&dn(r.parent.left)||e.isVariableDeclaration(r.parent)&&dn(r.parent));if(n){var i=e.forEach(n.declarations,Ep);if(i)return S_(i)}}function Ep(t){if(!t.parent)return!1;for(var r=t.parent;r&&184===r.kind;)r=r.parent;if(r&&e.isBinaryExpression(r)&&e.isPrototypeAccess(r.left)&&58===r.operatorToken.kind){var n=e.getInitializerOfBinaryExpression(r);return e.isObjectLiteralExpression(n)&&n}}function Tp(t){var r=Sr(t);return r.inferredClassType||(r.inferredClassType=Cn(t,oa(t)||k,e.emptyArray,e.emptyArray,void 0,void 0)),r.inferredClassType}function wp(t){return t.symbol&&16&e.getObjectFlags(t)&&Sr(t.symbol).inferredClassType===t}function Dp(t){ah(t,t.typeArguments)||oh(t.arguments);var r=Sp(t);if(97===t.expression.kind)return fe;if(187===t.kind){var n=r.declaration;
1if(n&&154!==n.kind&&158!==n.kind&&163!==n.kind&&!e.isJSDocConstructSignature(n)){var i=S_(t.expression).symbol;i||71!==t.expression.kind||(i=yl(t.expression));var a=i&&function(t){var r,n=e.getDeclaredJavascriptInitializer(t.valueDeclaration);n&&(t=dn(n)),kp(t.valueDeclaration)&&(r=Tp(t));var i=Cp(t),a=xi(t);return a.symbol&&!wp(a)&&kp(a.symbol.valueDeclaration)&&(r=Tp(a.symbol)),i&&r?js([r,i]):i||r}(i);return a?r.target?jc(a,r.mapper):a:(O&&fr(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Q)}}if(e.isInJavaScriptFile(t)&&Op(t))return function(e){var t=Yr(e,e);if(t){var r=en(t);if(r)return xi(r)}return Q}(t.arguments[0]);var o=So(r);return 1536&o.flags&&Ap(t)?yc(e.walkUpParenthesizedExpressions(t.parent)):o}function Ap(t){if(!e.isCallExpression(t))return!1;var r=t.expression;if(e.isPropertyAccessExpression(r)&&"for"===r.name.escapedText&&(r=r.expression),!e.isIdentifier(r)||"Symbol"!==r.escapedText)return!1;var n=ss(!1);return!!n&&n===wr(r,"Symbol",67216319,void 0,void 0,!1)}function Np(t){if(oh(t.arguments)||function(t){if(w===e.ModuleKind.ES2015)return xh(t,e.Diagnostics.Dynamic_import_is_only_supported_when_module_flag_is_commonjs_or_esNext);if(t.typeArguments)return xh(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var r=t.arguments;if(1!==r.length)return xh(t,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument);e.isSpreadElement(r[0])&&xh(r[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}(t),0===t.arguments.length)return qp(t,Q);for(var r=t.arguments[0],n=p_(r),i=1;i<t.arguments.length;++i)p_(t.arguments[i]);(4096&n.flags||8192&n.flags||!Xc(n,oe))&&fr(r,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,jn(n));var a=Yr(t,r);if(a){var o=tn(a,r,!0);if(o)return qp(t,Pp(xi(o),o,a))}return qp(t,Q)}function Pp(t,r,n){if(D&&t&&t!==te){var i=t;if(!i.syntheticType)if(jr(e.find(n.declarations,e.isSourceFile),n,!1)){var a=e.createSymbolTable(),o=_r(2097152,"default");o.target=Vr(r),a.set("default",o);var s=_r(2048,"__type"),c=Cn(s,a,e.emptyArray,e.emptyArray,void 0,void 0);s.type=c,i.syntheticType=rf(t)?dc(t,c,s,0,0):c}else i.syntheticType=t;return i.syntheticType}return t}function Op(t){if(!e.isRequireCall(t,!0))return!1;if(!e.isIdentifier(t.expression))return e.Debug.fail();var r=wr(t.expression,t.expression.escapedText,67216319,void 0,void 0,!0);if(r===z)return!0;if(2097152&r.flags)return!1;var n=16&r.flags?233:3&r.flags?231:0;if(0!==n){var i=e.getDeclarationOfKind(r,n);return!!i&&!!(4194304&i.flags)}return!1}function Fp(t,r,n,a){var o=Hu(Pu(S_(n,a)));ag(r);var s=xc(r);return i&&s!==te&&($c(s,Yu(o))||eu(o,s,t,e.Diagnostics.Type_0_cannot_be_converted_to_type_1)),s}function Mp(t){return function(t){var r=t.name.escapedText;switch(t.keywordToken){case 94:if("target"!==r)return xh(t.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,t.name.escapedText,e.tokenToString(t.keywordToken),"target");break;case 91:"meta"!==r&&xh(t.name,e.Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,t.name.escapedText,e.tokenToString(t.keywordToken),"meta")}}(t),94===t.keywordToken?function(t){var r=e.getNewTargetContainer(t);if(r){if(154===r.kind){var n=dn(r.parent);return xi(n)}var n=dn(r);return xi(n)}return fr(t,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),te}(t):91===t.keywordToken?function(t){(T<6||w<e.ModuleKind.ESNext)&&fr(t,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_using_ESNext_for_the_target_and_module_compiler_options);var r=e.getSourceFileOfNode(t);return e.Debug.assert(!!(1048576&r.flags),"Containing file is missing import meta node flag."),e.Debug.assert(!!r.externalModuleIndicator,"Containing file should be a module."),"meta"===t.name.escapedText?nt||(nt=os("ImportMeta",0,!0))||ye:te}(t):void 0}function Ip(t){var r=xi(t);if(A){var n=t.valueDeclaration;if(n&&e.hasInitializer(n))return qu(r)}return r}function Lp(e,t){return e.hasRestParameter?t<e.parameters.length-1?Ip(e.parameters[t]):ko(e):t<e.parameters.length?Ip(e.parameters[t]):Q}function Rp(e){return jp(e,pe)}function jp(e,t){return e.parameters.length>0?Lp(e,0):t}function Bp(t,r){var n=Sr(t);
1if(!n.type){n.type=r;var i=t.valueDeclaration;71!==i.name.kind&&(n.type===ye&&(n.type=li(i.name)),function t(r){for(var n=0,i=r.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||(71===a.name.kind?Sr(dn(a)).type=ni(a):t(a.name))}}(i.name))}}function zp(e){var t=us(!0);return t!==Se?Bo(t,[e=W_(e)||ye]):ye}function qp(t,r){var n=zp(r);return n===ye?(fr(t,e.isImportCall(t)?e.Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),te):(ls(!0)||fr(t,e.isImportCall(t)?e.Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),n)}function Up(t,r){if(!t.body)return te;var n,i=e.getFunctionFlags(t);if(212!==t.body.kind)n=p_(t.body,r),2&i&&(n=H_(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));else{var a=function(t,r){var n=e.getFunctionFlags(t),i=[],a=Hp(t),o=!1;
1if(e.forEachReturnStatement(t.body,function(s){var c=s.expression;if(c){var u=p_(c,r);2&n&&(u=H_(u,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)),16384&u.flags&&(o=!0),e.pushIfUnique(i,u)}else a=!0}),0!==i.length||a||!o&&!function(e){switch(e.kind){case 191:case 192:return!0;case 153:return 183===e.parent.kind;default:return!1}}(t))return!(A&&i.length&&a)||kp(t)&&i.some(function(e){return e.symbol===t.symbol})||e.pushIfUnique(i,re),i}(t,r);if(1&i){if(!(a=e.concatenate(function(t,r){var n=[],i=0!==(2&e.getFunctionFlags(t));return e.forEachYieldExpression(t.body,function(t){e.pushIfUnique(n,Vp(t,i,r))}),n}(t,r),a))||0===a.length){var o=2&i?bs(Q):Ss(Q);return O&&fr(t.asteriskToken,e.Diagnostics.Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type,jn(o)),o}}else{if(!a)return 2&i?qp(t,pe):pe;if(0===a.length)return 2&i?qp(t,fe):fe}n=Fs(a,2)}var s=Wd(t);if(s||Zu(t,n),Au(n)){var c=s?s===go(t)?n:So(s):void 0;if(c)switch(3&i){case 3:c=Pm(c,!0);break;case 1:c=Pm(c,!1);break;case 2:c=J_(c)}n=Mu(n,c)}var u=Yu(n);switch(3&i){case 3:return bs(u);case 1:return Ss(u);case 2:return zp(u);default:return u}}function Vp(t,r,n){var i=t.expression||t,a=t.expression?p_(t.expression,n):ne,o=t.asteriskToken?Tm(a,i,!1,r):a;return r?W_(o,i,t.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function Jp(t){if(!t.possiblyExhaustive)return!1;var r=b_(t.expression);if(!Nu(r))return!1;var n,i,a=Ul(t);return!(!a.length||e.some(a,Du))&&(n=Wl(r,hc),i=a,131072&n.flags?!e.forEach(n.types,function(t){return!e.contains(i,t)}):e.contains(i,n))}function Hp(t){return!!(128&t.flags)&&!e.some(t.body.statements,function(e){return 226===e.kind&&Jp(e)})}function Wp(t,r){if(i&&(!r||!e_(r,2049))&&152!==t.kind&&!e.nodeIsMissing(t.body)&&212===t.body.kind&&Hp(t)){var n=256&t.flags;if(r&&16384&r.flags)fr(e.getEffectiveReturnTypeNode(t),e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(r&&!n)fr(e.getEffectiveReturnTypeNode(t),e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(r&&A&&!Xc(re,r))fr(e.getEffectiveReturnTypeNode(t),e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(E.noImplicitReturns){if(!r){if(!n)return;if(Mm(t,So(go(t))))return}fr(e.getEffectiveReturnTypeNode(t)||t,e.Diagnostics.Not_all_code_paths_return_a_value)}}}function Kp(t,r){if(e.Debug.assert(153!==t.kind||e.isObjectLiteralMethod(t)),1===r&&qc(t))return ke;ih(t)||191!==t.kind||lh(t);var n=kr(t),i=xi(ln(t.symbol));if(Zn(i))return i;if(!(1024&n.flags)){var a=Gd(t);if(!(1024&n.flags)){if(n.flags|=1024,a){var o=Za(i,0)[0];if(qc(t)){var s=Ud(t);2===r&&function(t,r,n){for(var i=t.parameters.length-(t.hasRestParameter?1:0),a=0;a<i;a++){var o=t.parameters[a].valueDeclaration;if(o.type){var s=e.getEffectiveTypeAnnotationNode(o);s&&ll(n.inferences,xc(s),Lp(r,a))}}}(o,a,s),function(t,r){t.typeParameters=r.typeParameters,r.thisParameter&&(!(a=t.thisParameter)||a.valueDeclaration&&!a.valueDeclaration.type)&&(a||(t.thisParameter=Ju(r.thisParameter,void 0)),Bp(t.thisParameter,xi(r.thisParameter)));for(var n=t.parameters.length-(t.hasRestParameter?1:0),i=0;i<n;i++){var a=t.parameters[i];e.getEffectiveTypeAnnotationNode(a.valueDeclaration)||Bp(a,Lp(r,i))}t.hasRestParameter&&Su(r,t.parameters.length-1)&&(!mr(a=e.lastOrUndefined(t.parameters))&&e.getEffectiveTypeAnnotationNode(a.valueDeclaration)||Bp(a,xi(e.lastOrUndefined(r.parameters))))}(o,s===C?a:Oc(a,s))}if(!e.getEffectiveReturnTypeNode(t)&&!o.resolvedReturnType){var c=Up(t,r);o.resolvedReturnType||(o.resolvedReturnType=c)}}T_(t),sg(t)}}return i}function Gp(t){e.Debug.assert(153!==t.kind||e.isObjectLiteralMethod(t));var r=e.getFunctionFlags(t),n=e.getEffectiveReturnTypeNode(t),i=n&&(2===(3&r)?K_(t):xc(n));if(0===(1&r)&&Wp(t,i),t.body)if(n||So(go(t)),212===t.body.kind)ag(t.body);else{var a=S_(t.body);i&&Zc(2===(3&r)?H_(a,t.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a,i,t.body)}}function Xp(e,t,r){return!!t_(t,84)||(fr(e,r),!1)}function Yp(t){return!!(8&e.getCheckFlags(t)||4&t.flags&&64&e.getDeclarationModifierFlagsFromSymbol(t)||3&t.flags&&2&Tf(t)||98304&t.flags&&!(65536&t.flags)||8&t.flags)}function $p(t,r){if(Yp(r)){if(4&r.flags&&(184===t.kind||185===t.kind)&&99===t.expression.kind){var n=e.getContainingFunction(t);return!n||154!==n.kind||!(n.parent===r.valueDeclaration.parent||n===r.valueDeclaration.parent)}return!0}return!1}function Qp(t){if(184===t.kind||185===t.kind){var r=e.skipParentheses(t.expression);if(71===r.kind){var n=kr(r).resolvedSymbol;if(2097152&n.flags){var i=Ir(n);return i&&245===i.kind}}}return!1}function Zp(t,r){var n=e.skipOuterExpressions(t,3);return 71===n.kind||184===n.kind||185===n.kind||(fr(t,r),!1)}function e_(e,t){if(e.flags&t||536870912&t&&Na(e))return!0;
1if(393216&e.flags)for(var r=0,n=e.types;r<n.length;r++)if(e_(n[r],t))return!0;return!1}function t_(e,t,r){return!!(e.flags&t)||!(r&&14337&e.flags)&&(84&t&&Xc(e,se)||34&t&&Xc(e,oe)||136&t&&Xc(e,le)||2048&t&&Xc(e,fe)||16384&t&&Xc(e,pe)||8192&t&&Xc(e,ie)||4096&t&&Xc(e,re)||512&t&&Xc(e,de)||134217728&t&&Xc(e,ge))}function r_(t,r,n){return 131072&t.flags?e.every(t.types,function(e){return r_(e,r,n)}):t_(t,r,n)}function n_(t){return 16&e.getObjectFlags(t)&&t.symbol&&i_(t.symbol)}function i_(e){return 0!==(128&e.flags)}function a_(t,r,n){if(269===r.kind||270===r.kind){var i=r.name;if(146===i.kind&&Zd(i),ti(i))return;var a=e.getTextOfPropertyName(i);if(c=Zn(t)?t:Qn(t,a)||Qd(a)&&no(t,1)||no(t,0))return 270===r.kind?s_(r,c):s_(r.initializer,c);fr(i,e.Diagnostics.Type_0_has_no_property_1_and_no_string_index_signature,jn(t),e.declarationNameToString(i))}else{if(271===r.kind){T<6&&Qg(r,4);var o=[];if(n)for(var s=0;s<n.length-1;s++)o.push(n[s].name);var c=ri(t,o,t.symbol);return s_(r.expression,c)}fr(r,e.Diagnostics.Property_assignment_expected)}}function o_(t,r,n,i,a){var o=t.elements,s=o[n];if(205!==s.kind)if(203!==s.kind){var c=""+n,u=Zn(r)?r:wu(r)?Qn(r,c):i;if(u)return s_(s,u,a);S_(s),Iu(r)?fr(s,e.Diagnostics.Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2,jn(r),qo(r),o.length):fr(s,e.Diagnostics.Type_0_has_no_property_1,jn(r),c)}else if(n<o.length-1)fr(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var l=s.expression;if(199!==l.kind||58!==l.operatorToken.kind)return s_(l,ks(i),a);fr(l.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function s_(t,r,n){var i;if(270===t.kind){var a=t;a.objectAssignmentInitializer&&(!A||4096&Ru(S_(a.objectAssignmentInitializer))||(r=Al(r,131072)),l_(a.name,a.equalsToken,a.objectAssignmentInitializer,n)),i=t.name}else i=t;return 199===i.kind&&58===i.operatorToken.kind&&(u_(i,n),i=i.left),183===i.kind?function(t,r){var n=t.properties;if(rh(n,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),A&&0===n.length)return Pf(r,t);for(var i=0,a=n;i<a.length;i++)a_(r,a[i],n);return r}(i,r):182===i.kind?function(t,r,n){var i=t.elements;rh(i,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),T<2&&E.downlevelIteration&&Qg(t,512);for(var a=Tm(r,t,!1,!1)||te,o=0;o<i.length;o++)o_(t,r,o,a,n);return r}(i,r,n):function(t,r,n){var i=S_(t,n),a=271===t.parent.kind?e.Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access;return Zp(t,a)&&Zc(r,i,t,void 0),r}(i,r,n)}function c_(e,t){return 0!==(12288&t.flags)||$c(e,t)}function u_(t,r){return e.isInJavaScriptFile(t)&&e.getAssignedJavascriptInitializer(t)?S_(t.right,r):l_(t.left,t.operatorToken,t.right,r,t)}function l_(t,r,n,a,o){var s=r.kind;if(58===s&&(183===t.kind||182===t.kind))return s_(t,S_(n,a),a);var c,u,l=S_(t,a),d=S_(n,a);switch(s){case 39:case 40:case 61:case 62:case 41:case 63:case 42:case 64:case 38:case 60:case 45:case 65:case 46:case 66:case 47:case 67:case 49:case 69:case 50:case 70:case 48:case 68:if(l===_e||d===_e)return _e;l=Pf(l,t),d=Pf(d,n);var f=void 0;if(136&l.flags&&136&d.flags&&void 0!==(f=function(e){switch(e){case 49:case 69:return 54;case 50:case 70:return 35;case 48:case 68:return 53;default:return}}(r.kind)))fr(o||r,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(r.kind),e.tokenToString(f));else{var p=Xp(t,l,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type),_=Xp(n,d,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type);p&&_&&y(se)}return se;case 37:case 59:if(l===_e||d===_e)return _e;t_(l,34)||t_(d,34)||(l=Pf(l,t),d=Pf(d,n));var m=void 0;return t_(l,84,!0)&&t_(d,84,!0)?m=se:t_(l,34,!0)||t_(d,34,!0)?m=oe:(Zn(l)||Zn(d))&&(m=l===te||d===te?te:Q),m&&!v(s)?m:m?(59===s&&y(m),m):(b(),Q);case 27:case 29:case 30:case 31:return v(s)&&(l=Pu(Pf(l,t)),d=Pu(Pf(d,n)),$c(l,d)||$c(d,l)||b()),le;case 32:case 33:case 34:case 35:var g=Nu(l),h=Nu(d);return g&&h||(l=g?Pu(l):l,d=h?Pu(d):d),c_(l,d)||c_(d,l)||b(),le;case 93:return function(t,r,n,i){return n===_e||i===_e?_e:(!Zn(n)&&r_(n,16382)&&fr(t,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Zn(i)||kg(i)||Gc(i,Oe)||fr(r,e.Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),le)}(t,n,l,d);case 92:return function(t,r,n,i){return n===_e||i===_e?_e:(n=Pf(n,t),i=Pf(i,r),$c(n,oe)||t_(n,1620)||fr(t,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol),t_(i,141590528)||fr(r,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),le)}(t,n,l,d);case 53:return 1048576&Dl(l)?Fs([(u=A?l:Pu(d),Wl(u,Bu)),d]):l;case 54:return 2097152&Dl(l)?Fs([ju(l),d],2):l;case 58:return function(t,r){if(2===e.getSpecialPropertyAssignmentKind(t.parent))for(var n=S_(r,a),i=0,o=Oa(n);i<o.length;i++){var s=o[i],c=xi(s);if(c.symbol&&32&c.symbol.flags){var u=s.escapedName,l=wr(s.valueDeclaration,u,67901928,void 0,u,!1);if(l)return xh(l.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(u)),xh(s.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(u))}}}(t,n),y(d),Hu(d);case 26:return!E.allowUnreachableCode&&function t(r){switch((r=e.skipParentheses(r)).kind){case 71:case 9:case 12:case 188:case 201:case 13:case 8:case 101:case 86:case 95:case 140:case 191:case 204:case 192:case 182:case 183:case 194:case 208:case 255:case 254:return!0;case 200:return t(r.whenTrue)&&t(r.whenFalse);case 199:return!e.isAssignmentOperator(r.operatorToken.kind)&&t(r.left)&&t(r.right);case 197:case 198:switch(r.operator){case 51:case 37:case 38:case 52:return!0}return!1;case 195:case 189:case 207:default:return!1}}(t)&&(71!==(c=n).kind||"eval"!==c.escapedText)&&fr(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects),d}function v(r){var i=e_(l,1536)?t:e_(d,1536)?n:void 0;return!i||(fr(i,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(r)),!1)}function y(r){i&&e.isAssignmentOperator(s)&&(!Zp(t,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access)||e.isIdentifier(t)&&"exp
1orts"===e.unescapeLeadingUnderscores(t.escapedText)||Zc(r,l,t,void 0))}function b(){fr(o||r,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(r.kind),jn(l),jn(d))}}function d_(t){i&&(4096&t.flags&&!function(t){for(var r=t,n=t.parent;n;){if(e.isFunctionLike(n)&&r===n.body)return!1;if(e.isClassLike(r))return!0;r=n,n=n.parent}return!1}(t)||yh(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),Dd(t)&&fr(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var r=e.getContainingFunction(t),n=r?e.getFunctionFlags(r):0;if(!(1&n))return Q;t.asteriskToken&&(3===(3&n)&&T<6&&Qg(t,26624),1===(3&n)&&T<2&&E.downlevelIteration&&Qg(t,256));var a=0!==(2&n),o=Vp(t,a),s=e.getEffectiveReturnTypeNode(r);return s&&Zc(o,Pm(xc(s),a)||Q,t.expression||t,void 0),Q}function f_(e,t,r){var n=function(e){return 262===e.kind?e.parent.parent:e}(e),i=n.contextualType,a=n.contextualMapper;n.contextualType=t,n.contextualMapper=r;var o=S_(e,r===C?1:r?2:3);return n.contextualType=i,n.contextualMapper=a,o}function p_(e,t){var r=kr(e);if(!r.resolvedType){if(t)return S_(e,t);var n=yt;yt=bt,r.resolvedType=S_(e,t),yt=n}return r.resolvedType}function __(t){return 189===(t=e.skipParentheses(t)).kind||207===t.kind}function m_(t){var r=e.isInJavaScriptFile(t),n=r&&e.getDeclaredJavascriptInitializer(t)||t.initializer,i=b_(n,!0),a=2&e.getCombinedNodeFlags(t)||64&e.getCombinedModifierFlags(t)&&!e.isParameterPropertyDeclaration(t)||__(n)?i:Ou(i);if(r){if(12288&a.flags)return O&&Qu(t,Q),Q;if(Tu(a))return O&&Qu(t,ze),ze}return a}function g_(e,t,r){2===arguments.length&&(r=qd(e));var n=S_(e,t);return __(e)?n:Mu(n,r)}function h_(e,t){return 146===e.name.kind&&Zd(e.name),g_(e.initializer,t)}function v_(e,t){return mh(e),146===e.name.kind&&Zd(e.name),y_(e,Kp(e,t),t)}function y_(e,t,r){if(2===r){var n=Qf(t);if(n&&n.typeParameters){var i=zd(e);if(i){var a=Qf(Uu(i));if(a&&!a.typeParameters)return No(Zf(n,a,Ud(e)))}}}return t}function b_(t,r){if(186===t.kind&&97!==t.expression.kind&&!e.isRequireCall(t,!0)&&!Ap(t)){var n=Qf(Nf(t.expression));if(n&&!n.typeParameters)return So(n)}return r?p_(t):S_(t)}function x_(e){S_(e)}function S_(t,r){var n;return n_(n=145===t.kind?Ff(t):y_(t,function(t,r){switch(t.kind){case 71:return md(t);case 99:return function(t){var r=e.getThisContainer(t,!0),n=!1;switch(154===r.kind&&bd(t,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),192===r.kind&&(r=e.getThisContainer(r,!1),n=T<2),r.kind){case 238:fr(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 237:fr(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 154:Sd(t,r)&&fr(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 151:case 150:e.hasModifier(r,32)&&fr(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 146:fr(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}
1n&&gd(t,r);var i=xd(t,r);return!i&&F&&fr(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),i||Q}(t);case 97:return kd(t);case 95:return ae;case 13:case 9:return gc(vc(t.text));case 8:return kh(t),gc(vc(+t.text));case 101:return ce;case 86:return ue;case 201:return function(t){return e.forEach(t.templateSpans,function(t){e_(S_(t.expression),1536)&&fr(t.expression,e.Diagnostics.Type_0_cannot_be_converted_to_type_1,jn(de),jn(oe))}),oe}(t);case 12:return je;case 182:return Yd(t,r);case 183:return tf(t,r);case 184:return Of(t);case 185:return Jf(t);case 186:if(91===t.expression.kind)return Np(t);case 187:return Dp(t);case 188:return function(e){return ah(e,e.typeArguments),T<2&&Qg(e,65536),So(Sp(e))}(t);case 190:return function(t,r){var n=e.isInJavaScriptFile(t)?e.getJSDocTypeTag(t):void 0;return n?Fp(n,n.typeExpression.type,t.expression,r):S_(t.expression,r)}(t,r);case 204:return function(e){return qm(e),sg(e),xi(dn(e))}(t);case 191:case 192:return Kp(t,r);case 194:return function(e){return S_(e.expression),rr}(t);case 189:case 207:return function(e){return Fp(e,e.type,e.expression)}(t);case 208:return function(e){return Uu(S_(e.expression))}(t);case 209:return Mp(t);case 193:return function(t){S_(t.expression);var r=e.skipParentheses(t.expression);if(184!==r.kind&&185!==r.kind)return fr(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),le;var n=mn(kr(r).resolvedSymbol);return n&&Yp(n)&&fr(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),le}(t);case 195:return function(e){return S_(e.expression),ne}(t);case 196:return function(t){return i&&(16384&t.flags||yh(t,e.Diagnostics.await_expression_is_only_allowed_within_an_async_function),Dd(t)&&fr(t,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)),H_(S_(t.expression),t,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(t);case 197:return function(t){var r=S_(t.operand);if(r===_e)return _e;if(8===t.operand.kind){if(38===t.operator)return gc(vc(-t.operand.text));if(37===t.operator)return gc(vc(+t.operand.text))}switch(t.operator){case 37:case 38:case 52:return Pf(r,t.operand),e_(r,1536)&&fr(t.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t.operator)),se;case 51:var n=3145728&Dl(r);return 1048576===n?ue:2097152===n?ce:le;case 43:case 44:return Xp(t.operand,Pf(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type)&&Zp(t.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access),se}return te}(t);case 198:return function(t){var r=S_(t.operand);return r===_e?_e:(Xp(t.operand,Pf(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type)&&Zp(t.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access),se)}(t);case 199:return u_(t,r);case 200:return function(e,t){return S_(e.condition),Fs([S_(e.whenTrue,t),S_(e.whenFalse,t)],2)}(t,r);case 203:return function(e,t){return T<2&&E.downlevelIteration&&Qg(e,1536),Tm(S_(e.expression,t),e.expression,!1,!1)}(t,r);case 205:return ne;case 202:return d_(t);case 264:return function(t,r){if(t.expression){var n=S_(t.expression,r);return t.dotDotDotToken&&n!==Q&&!Cu(n)&&fr(t,e.Diagnostics.JSX_spread_child_must_be_an_array_type),n}return te}(t,r);case 254:return function(e,t){return Cf(e.openingElement,t),af(e.closingElement.tagName)?lf(e.closingElement):S_(e.closingElement.tagName),Sf(e)||Q}(t,r);case 255:return function(e,t){return Cf(e,t),Sf(e)||Q}(t,r);case 258:return function(t,r){return Cf(t.openingFragment,r),2===E.jsx&&(E.jsxFactory||e.getSourceFileOfNode(t).pragmas.has("jsx"))&&fr(t,E.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma),Sf(t)||Q}(t,r);case 262:return function(e,t){return sf(e.parent,t)}(t,r);case 256:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return te}(t,r),r))&&(184===t.parent.kind&&t.parent.expression===t||185===t.parent.kind&&t.parent.expression===t||(71===t.kind||145===t.kind)&&hg(t)||164===t.parent.kind&&t.parent.exprName===t||fr(t,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)),n}function k_(t){t.expression&&yh(t.expression,e.Diagnostics.Type_expected),ag(t.constraint),ag(t.default);var r=Vi(dn(t));Va(r)||fr(t.constraint,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,jn(r)),function(e){return Ha(e)!==Ee}(r)||fr(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,jn(r));var n=Ra(r),a=Wa(r);n&&a&&Zc(a,ca(n,a),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),i&&Rm(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function C_(t){eh(t),vm(t);var r=e.getContainingFunction(t);e.hasModifier(t,92)&&(154===r.kind&&e.nodeIsPresent(r.body)||fr(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),t.questionToken&&e.isBindingPattern(t.name)&&r.body&&fr(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),t.name&&e.isIdentifier(t.name)&&("this"===t.name.escapedText||"new"===t.name.escapedText)&&(0!==r.parameters.indexOf(t)&&fr(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText),154!==r.kind&&158!==r.kind&&163!==r.kind||fr(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter)),!t.dotDotDotToken||e.isBindingPattern(t.name)||Cu(xi(t.symbol))||fr(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function E_(t,r,n){for(var i=0,a=t.elements;i<a.length;i++){var o=a[i];if(!e.isOmittedExpression(o)){var s=o.name;if(71===s.kind&&s.escapedText===n)return fr(r,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,n),!0;if((180===s.kind||179===s.kind)&&E_(s,r,n))return!0}}}function T_(t){159===t.kind?function(t){eh(t)||function(t){var r=t.parameters[0];if(1!==t.parameters.length)return xh(r?r.name:t,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(r.dotDotDotToken)return xh(r.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasModifiers(r))return xh(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(r.questionToken)return xh(r.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(r.initializer)return xh(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!r.type)return xh(r.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);if(137!==r.type.kind&&134!==r.type.kind){var n=xc(r.type);return 2&n.flags||4&n.flags?xh(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(r.name),jn(n),jn(xc(t.type))):131072&n.flags&&r_(n,32,!0)?xh(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead):xh(r.
1name,e.Diagnostics.An_index_signature_parameter_type_must_be_string_or_number)}t.type||xh(t,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}(t)}(t):162!==t.kind&&233!==t.kind&&163!==t.kind&&157!==t.kind&&154!==t.kind&&158!==t.kind||ih(t);var r=e.getFunctionFlags(t);if(4&r||(3===(3&r)&&T<6&&Qg(t,6144),2===(3&r)&&T<4&&Qg(t,64),0!==(3&r)&&T<2&&Qg(t,128)),jm(t.typeParameters),e.forEach(t.parameters,C_),t.type&&ag(t.type),i){!function(t){T>=2||E.noEmit||!e.hasRestParameter(t)||4194304&t.flags||e.nodeIsMissing(t.body)||e.forEach(t.parameters,function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===B.escapedName&&fr(t,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}(t);var n=e.getEffectiveReturnTypeNode(t);if(O&&!n)switch(t.kind){case 158:fr(t,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 157:fr(t,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(n){var a=e.getFunctionFlags(t);if(1===(5&a)){var o=xc(n);if(o===fe)fr(n,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=Pm(o,0!==(2&a))||Q;Zc(2&a?bs(s):Ss(s),o,n)}}else 2===(3&a)&&K_(t)}159!==t.kind&&283!==t.kind&&tm(t)}}function w_(t){for(var r=e.createMap(),n=0,i=t.members;n<i.length;n++){var a=i[n];if(150===a.kind){var o=void 0;switch(a.name.kind){case 9:case 8:o=a.name.text;break;case 71:o=e.idText(a.name);break;default:continue}r.get(o)?(fr(e.getNameOfDeclaration(a.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,o),fr(a.name,e.Diagnostics.Duplicate_identifier_0,o)):r.set(o,!0)}}}function D_(t){if(235===t.kind){var r=dn(t);if(r.declarations.length>0&&r.declarations[0]!==t)return}var n=Po(dn(t));if(n)for(var i=!1,a=!1,o=0,s=n.declarations;o<s.length;o++){var c=s[o];if(1===c.parameters.length&&c.parameters[0].type)switch(c.parameters[0].type.kind){case 137:a?fr(c,e.Diagnostics.Duplicate_string_index_signature):a=!0;break;case 134:i?fr(c,e.Diagnostics.Duplicate_number_index_signature):i=!0}}}function A_(t){eh(t)||function(t){if(e.isClassLike(t.parent)){if(_h(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0}else if(235===t.parent.kind){if(_h(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(t.initializer)return xh(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(165===t.parent.kind){if(_h(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(t.initializer)return xh(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}return 4194304&t.flags&&t.initializer?yh(t.initializer,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts):e.isPropertyDeclaration(t)&&t.exclamationToken&&(!e.isClassLike(t.parent)||!t.type||t.initializer||4194304&t.flags||e.hasModifier(t,160))?xh(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context):void 0}(t)||uh(t.name),vm(t)}function N_(t){T_(t),function(t){var r=e.getEffectiveTypeParameterDeclarations(t);if(e.isNodeArray(r)){var n=r.pos,i=r.end;return bh(t,n,i-n,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(t)||function(t){var r=e.getEffectiveReturnTypeNode(t);r&&xh(r,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}(t),ag(t.body);var r=dn(t);if(t===e.getDeclarationOfKind(r,t.kind)&&q_(r),!e.nodeIsMissing(t.body)&&i){var n=t.parent;if(e.getClassExtendsHeritageClauseElement(n)){gd(t.parent,n);var a=yd(n),o=vd(t);if(o){if(a&&fr(o,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),e.some(t.parent.members,function(t){return 151===t.kind&&!e.hasModifier(t,32)&&!!t.initializer})||e.some(t.parameters,function(t){return e.hasModifier(t,92)})){for(var s=void 0,c=0,u=t.body.statements;c<u.length;c++){var l=u[c];if(215===l.kind&&e.isSuperCall(l.expression)){s=l;break}if(!e.isPrologueDirective(l))break}s||fr(t,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties)}}else a||fr(t,e.Diagnostics.Constructors_for_derived_classes_must_c
1ontain_a_super_call)}}}function P_(t){if(i){if(ih(t)||function(t){var r=t.kind;if(T<1)return xh(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(4194304&t.flags)return xh(t.name,e.Diagnostics.An_accessor_cannot_be_declared_in_an_ambient_context);if(void 0===t.body&&!e.hasModifier(t,128))return bh(t,t.end-1,";".length,e.Diagnostics._0_expected,"{");if(t.body&&e.hasModifier(t,128))return xh(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return xh(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!function(e){return ph(e)||e.parameters.length===(155===e.kind?0:1)}(t))return xh(t.name,155===r?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(156===r){if(t.type)return xh(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var n=t.parameters[0];if(n.dotDotDotToken)return xh(n.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return xh(n.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return xh(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}(t)||uh(t.name),Q_(t),T_(t),155===t.kind&&!(4194304&t.flags)&&e.nodeIsPresent(t.body)&&128&t.flags&&(256&t.flags||fr(t.name,e.Diagnostics.A_get_accessor_must_return_a_value)),146===t.name.kind&&Zd(t.name),!ra(t)){var r=155===t.kind?156:155,n=e.getDeclarationOfKind(dn(t),r);if(n){var a=e.getModifierFlags(t),o=e.getModifierFlags(n);(28&a)!==(28&o)&&fr(t.name,e.Diagnostics.Getter_and_setter_accessors_do_not_agree_in_visibility),(128&a)!==(128&o)&&fr(t.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),O_(t,n,mi,e.Diagnostics.get_and_set_accessor_must_have_the_same_type),O_(t,n,gi,e.Diagnostics.get_and_set_accessor_must_have_the_same_this_type)}}var s=hi(dn(t));155===t.kind&&Wp(t,s)}ag(t.body)}function O_(e,t,r,n){var i=r(e),a=r(t);i&&a&&!Hc(i,a)&&fr(e,n)}function F_(t,r){return mo(e.map(t.typeArguments,xc),r,_o(r),e.isInJavaScriptFile(t))}function M_(t,r){for(var n,i,a=!0,o=0;o<r.length;o++){var s=Ra(r[o]);s&&(n||(i=Tc(r,n=F_(t,r))),a=a&&Zc(n[o],jc(s,i),t.typeArguments[o],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return a}function I_(t){var r=es(t);if(r!==te){var n=kr(t).resolvedSymbol;if(n)return 524288&n.flags&&Sr(n).typeParameters||(4&e.getObjectFlags(r)?r.target.localTypeParameters:void 0)}}function L_(t){ah(t,t.typeArguments),161!==t.kind||void 0===t.typeName.jsdocDotPos||e.isInJavaScriptFile(t)||e.isInJSDoc(t)||bh(t,t.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments);var r=es(t);if(r!==te){if(t.typeArguments&&(e.forEach(t.typeArguments,ag),i)){var n=I_(t);n&&M_(t,n)}16&r.flags&&8&kr(t).resolvedSymbol.flags&&fr(t,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,jn(r))}}function R_(t,r){if(!(1048576&t.flags))return t;var n=t.objectType,i=t.indexType;return Xc(i,Us(n,!1))?(185===r.kind&&e.isAssignmentTarget(r)&&32&e.getObjectFlags(n)&&1&wa(n)&&fr(r,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,jn(n)),t):ro(Ka(n),1)&&t_(i,84)?t:(fr(r,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,jn(i),jn(n)),t)}function j_(t){!function(t){if(141===t.operator){if(138!==t.type.kind)return xh(t.type,e.Diagnostics._0_expected,e.tokenToString(138));var r=e.walkUpParenthesizedTypes(t.parent);switch(r.kind){case 231:var n=r;if(71!==n.name.kind)return xh(t,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(n))return xh(t,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return xh(r.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 151:if(!e.hasModifier(r,32)||!e.hasModifier(r,64))return xh(r.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 150:if(!e.hasModifier(r,64))return xh(r.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:xh(t,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}}(t),ag(t.type)}function B_(t){return e.hasModifier(t,8)&&!!(4194304&t.flags)}function z_(t,r){var n=e.getCombinedModifierFlags(t);return 235!==t.parent.kind&&234!==t.parent.kind&&204!==t.parent.kind&&4194304&t.flags&&(2&n||e.isModuleBlock(t.parent)&&e.isModuleDeclaration(t.parent.parent)&&e.isGlobalScopeAugmentation(t.parent.parent)||(n|=1),n|=2),n&r}function q_(t){if(i){for(var r,n,a,o=0,s=155,c=!1,u=!0,l=!1,d=t.declarations,f=0!==(16384&t.flags),p=!1,_=!1,m=0,g=d;m<g.length;m++){var h=g[m],v=4194304&h.flags,y=235===h.parent.kind||165===h.parent.kind||v;if(y&&(a=void 0),233===h.kind||153===h.kind||152===h.kind||154===h.kind){var b=z_(h,155);o|=b,s&=b,c=c||e.hasQuestionToken(h),u=u&&e.hasQuestionToken(h),e.nodeIsPresent(h.body)&&r?f?_=!0:p=!0:a&&a.parent===h.parent&&a.end!==h.pos&&w(a),e.nodeIsPresent(h.body)?r||(r=h):l=!0,a=h,y||(n=h)}}if(_&&e.forEach(d,function(t){fr(t,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)}),p&&e.forEach(d,function(t){fr(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_function_implementation)}),!n||n.body||e.hasModifier(n,128)||n.questionToken||w(n),l&&(function(t,r,n,i,a){if(0!==(i^a)){var o=z_(T(t,r),n);e.forEach(t,function(t){var r=z_(t,n)^o;1&r?fr(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&r?fr(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&r?fr(e.getNameOfDeclaration(t)||t,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&r&&fr(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}(d,r,155,o,s),function(t,r,n,i){if(n!==i){var a=e.hasQuestionToken(T(t,r));e.forEach(t,function(t){e.hasQuestionToken(t)!==a&&fr(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)})}}(d,r,c,u),r))for(var x=vo(t),S=go(r),k=0,C=x;k<C.length;k++){var E=C[k];if(!ru(S,E)){fr(E.declaration,e.Diagnostics.Overload_signature_is_not_compatible_with_function_implementation);break}}}function T(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}function w(t){if(!t.name||!e.nodeIsMissing(t.name)){var r=!1,n=e.forEachChild(t.parent,function(e){if(r)return e;r=e===t});if(n&&n.pos===t.end&&n.kind===t.kind){var i=n.name||n,a=n.name;if(t.name&&a&&(e.isComputedPropertyName(t.name)&&e.isComputedPropertyName(a)||!e.isComputedPropertyName(t.name)&&!e.isComputedPropertyName(a)&&e.getEscapedTextOfIdentifierOrLiteral(t.name)===e.getEscapedTextOfIdentifierOrLiteral(a)))return void(153!==t.kind&&152!==t.kind||e.hasModifier(t,32)===e.hasModifier(n,32)||fr(i,e.hasModifier(t,32)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static));if(e.nodeIsPresent(n.body))return void fr(i,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(t.name))}var o=t.name||t;f?fr(o,e.Diagnostics.Constructor_implementation_is_missing):e.hasModifier(t,128)?fr(o,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):fr(o,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function U_(t){if(i){var r=t.localSymbol;if((r||(r=dn(t)).exportSymbol)&&e.getDeclarationOfKind(r,t.kind)===t){for(var n=0,a=0,o=0,s=0,c=r.declarations;s<c.length;s++){var u=v(g=c[s]),l=z_(g,513);1&l?512&l?o|=u:n|=u:a|=u}var d,f=n&a,p=o&(n|a);if(f||p)for(var _=0,m=r.declarations;_<m.length;_++){u=v(g=m[_]);var g,h=e.getNameOfDeclaration(g);u&p?fr(h,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(h)):u&f&&fr(h,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(h))}!function(e){e[e.None=0]="None",e[e.ExportValue=1]="ExportValue",e[e.ExportType=2]="ExportType",e[e.ExportNamespace=4]="ExportNamespace"}(d||(d={}))}}function v(t){var r=t;switch(r.kind){case 235:case 236:case 296:case 291:return 2;case 238:return e.isAmbientModule(r)||0!==e.getModuleInstanceState(r)?5:4;case 234:case 237:return 3;case 273:return 7;case 248:if(!e.isEntityNameExpression(r.expression))return 1;r=r.expression;case 242:case 245:case 244:var n=0,i=Jr(dn(r));return e.forEach(i.declarations,function(e){n|=v(e)}),n;case 231:case 181:case 233:case 247:return 1;default:e.Debug.fail(e.Debug.showSyntaxKind(r))}}}function V_(e,t,r){var n=J_(e,t);return n&&W_(n,t,r)}function J_(t,r){if(!Zn(t)){var n=t;if(n.promisedTypeOfPromise)return n.promisedTypeOfPromise;if(Si(t,us(!1)))return n.promisedTypeOfPromise=t.typeArguments[0];var i=Qn(t,"then");if(!Zn(i)){var a=i?Za(i,0):e.emptyArray;if(0!==a.length){var o=Al(Fs(e.map(a,Rp)),524288);if(!Zn(o)){var s=Za(o,0);if(0!==s.length)return n.promisedTypeOfPromise=Fs(e.map(s,Rp),2);r&&fr(r,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}else r&&fr(r,e.Diagnostics.A_promise_must_have_a_then_method)}}}function H_(e,t,r){return W_(e,t,r)||te}function W_(t,r,n){var i=t;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;if(Zn(t))return i.awaitedTypeOfType=t;if(131072&t.flags){for(var a=void 0,o=0,s=t.types;o<s.length;o++){var c=s[o];a=e.append(a,W_(c,r,n))}if(!a)return;return i.awaitedTypeOfType=Fs(a)}var u=J_(t);if(u){if(t.id===u.id||qt.indexOf(u.id)>=0)return void(r&&fr(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));qt.push(t.id);var l=W_(u,r,n);if(qt.pop(),!l)return;return i.awaitedTypeOfType=l}var d=Qn(t,"then");if(!(d&&Za(d,0).length>0))return i.awaitedTypeOfType=t;r&&(e.Debug.assert(!!n),fr(r,n))}function K_(t){var r,n=e.getEffectiveReturnTypeNode(t),i=xc(n);if(T>=2){if(i===te)return te;var a=us(!0);if(a!==Se&&!Si(i,a))return fr(n,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),te}else{if(function(t){X_(t&&e.getEntityNameFromTypeNode(t))}(n),i===te)return te;var o=e.getEntityNameFromTypeNode(n);if(void 0===o)return fr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,jn(i)),te;var s=Xr(o,67216319,!0),c=s?xi(s):te;if(c===te)return 71===o.kind&&"Promise"===o.escapedText&&ki(i)===us(!1)?fr(n,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):fr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(o)),te;
1var u=(r=!0,Xe||(Xe=os("PromiseConstructorLike",0,r))||ye);if(u===ye)return fr(n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(o)),te;if(!Zc(c,u,n,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return te;var l=o&&$m(o),d=Er(t.locals,l.escapedText,67216319);if(d)return fr(d.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(o)),te}return H_(i,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function G_(t){var r=So(Sp(t));if(!(1&r.flags)){var n,i,a=vp(t);switch(t.parent.kind){case 234:n=Fs([xi(dn(t.parent)),fe]);break;case 148:n=fe,i=e.chainDiagnosticMessages(i,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 151:n=fe,i=e.chainDiagnosticMessages(i,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 153:case 155:case 156:n=Fs([ys(bg(t.parent)),fe])}Zc(r,n,t,a,function(){return i})}}function X_(e){if(e){var t=$m(e),r=2097152|(71===e.kind?67901928:1920),n=wr(t,t.escapedText,r,void 0,void 0,!0);n&&2097152&n.flags&&gn(n)&&!Mg(Jr(n))&&Wr(n)}}function Y_(t){var r=function t(r){if(r)switch(r.kind){case 169:case 168:for(var n=void 0,i=0,a=r.types;i<a.length;i++){for(var o=a[i];172===o.kind;)o=o.type;if(131!==o.kind&&(A||95!==o.kind&&140!==o.kind)){var s=t(o);if(!s)return;if(n){if(!e.isIdentifier(n)||!e.isIdentifier(s)||n.escapedText!==s.escapedText)return}else n=s}}return n;case 172:return t(r.type);case 161:return r.typeName}}(t);r&&e.isEntityName(r)&&X_(r)}function $_(t){var r=e.getEffectiveTypeAnnotationNode(t);return e.isRestParameter(t)?e.getRestParameterElementType(r):r}function Q_(t){if(t.decorators&&e.nodeCanBeDecorated(t,t.parent,t.parent.parent)){E.experimentalDecorators||fr(t,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning);var r=t.decorators[0];if(Qg(r,8),148===t.kind&&Qg(r,32),E.emitDecoratorMetadata)switch(Qg(r,16),t.kind){case 234:var n=e.getFirstConstructorWithBody(t);if(n)for(var i=0,a=n.parameters;i<a.length;i++)Y_($_(a[i]));break;case 153:case 155:case 156:for(var o=0,s=t.parameters;o<s.length;o++)Y_($_(s[o]));Y_(e.getEffectiveReturnTypeNode(t));break;case 151:Y_(e.getEffectiveTypeAnnotationNode(t));break;case 148:Y_($_(t));for(var c=0,u=t.parent.parameters;c<u.length;c++)Y_($_(u[c]))}e.forEach(t.decorators,G_)}}function Z_(e){switch(e.kind){case 71:return e;case 184:return e.name;default:return}}function em(t){Q_(t),T_(t);var r=e.getFunctionFlags(t);if(t.name&&146===t.name.kind&&Zd(t.name),!ra(t)){var n=dn(t),a=t.localSymbol||n,o=e.find(a.declarations,function(e){return e.kind===t.kind&&!(65536&e.flags)});t===o&&q_(a),n.parent&&e.getDeclarationOfKind(n,t.kind)===t&&q_(n)}var s=152===t.kind?void 0:t.body;ag(s);var c=e.getEffectiveReturnTypeNode(t);if(0===(1&r)){var u=c&&(2&r?K_(t):xc(c));Wp(t,u)}i&&!c&&(O&&e.nodeIsMissing(s)&&!B_(t)&&Qu(t,Q),1&r&&e.nodeIsPresent(s)&&So(go(t)))}function tm(t){if(i){var r=e.getSourceFileOfNode(t),n=vt.get(r.path);n||(n=[],vt.set(r.path,n)),n.push(t)}}function rm(t,r){for(var n=0,i=t;n<i.length;n++){var a=i[n];switch(a.kind){case 234:case 204:am(a,r),om(a,r);break;case 235:om(a,r);break;case 273:case 238:case 212:case 240:case 219:case 220:case 221:um(a,r);break;case 154:case 191:case 233:case 192:case 153:case 155:case 156:a.body&&um(a,r),om(a,r);break;case 152:case 157:case 158:case 162:case 163:case 236:om(a,r);break;default:e.Debug.assertNever(a,"Node should not have been registered for unused identifiers check")}}}function nm(t,r,n){var i=e.getNameOfDeclaration(t)||t,a=pg(t)?e.Diagnostics._0_is_declared_but_never_used:e.Diagnostics._0_is_declared_but_its_value_is_never_read;n(0,e.createDiagnosticForNode(i,a,r))}function im(t){return e.isIdentifier(t)&&95===e.idText(t).charCodeAt(0)}function am(t,r){if(!(4194304&t.flags))for(var n=0,i=t.members;n<i.length;n++){var a=i[n];switch(a.kind){case 153:case 151:case 155:case 156:if(156===a.kind&&32768&a.symbol.flags)break;var o=dn(a);!o.isReferenced&&e.hasModifier(a,8)&&r(0,e.createDiagnosticForNode(a.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,Ln(o)));break;case 154:for(var s=0,c=a.parameters;s<c.length;s++){var u=c[s];!u.symbol.isReferenced&&e.hasModifier(u,8)&&r(0,e.createDiagnosticForNode(u.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(u.symbol)))}break;case 159:case 211:break;default:e.Debug.fail()}}}function om(t,r){var n=e.getEffectiveTypeParameterDeclarations(t);if(!(4194304&t.flags)&&e.last(dn(t).declarations)===t)for(var i=0,a=n;i<a.length;i++){var o=a[i];262144&ln(o.symbol).isReferenced||im(o.name)||r(1,e.createDiagnosticForNode(o.name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(o.symbol)))}}function sm(e,t,r,n){var i=String(n(t)),a=e.get(i);a?a[1].push(r):e.set(i,[t,[r]])}function cm(t){return e.tryCast(e.getRootDeclaration(t),e.isParameter)}function um(t,r){if(!(4194304&t.flags)){var n=e.createMap(),i=e.createMap(),a=e.createMap();
1t.locals.forEach(function(t){var o,s,u;if(262144&t.flags?3&t.flags&&!(3&t.isReferenced):!t.isReferenced&&!t.exportSymbol)for(var l=0,d=t.declarations;l<d.length;l++){var f=d[l];if(!e.isAmbientModule(f))if(244===(u=f).kind||247===u.kind||245===u.kind)sm(n,244===(s=f).kind?s:245===s.kind?s.parent:s.parent.parent,f,c);else if(e.isBindingElement(f)&&e.isObjectBindingPattern(f.parent))f!==e.last(f.parent.elements)&&e.last(f.parent.elements).dotDotDotToken||sm(i,f.parent,f,c);else if(e.isVariableDeclaration(f))im(f.name)&&e.isForInOrOfStatement(f.parent.parent)||sm(a,f.parent,f,c);else{var p=t.valueDeclaration&&cm(t.valueDeclaration);if(p){var _=e.getNameOfDeclaration(t.valueDeclaration);e.isParameterPropertyDeclaration(p)||e.parameterIsThisKeyword(p)||(o=_)&&im(o)||r(1,e.createDiagnosticForNode(_,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(t)))}else nm(f,e.symbolName(t),r)}}}),n.forEach(function(t){var n=t[0],i=t[1],a=n.parent;if((n.name?1:0)+(n.namedBindings?245===n.namedBindings.kind?1:n.namedBindings.elements.length:0)===i.length)r(0,1===i.length?e.createDiagnosticForNode(a,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.first(i).name)):e.createDiagnosticForNode(a,e.Diagnostics.All_imports_in_import_declaration_are_unused));else for(var o=0,s=i;o<s.length;o++){var c=s[o];nm(c,e.idText(c.name),r)}}
1),i.forEach(function(t){var n=t[0],i=t[1],o=cm(n.parent)?1:0;if(n.elements.length===i.length)1===i.length&&231===n.parent.kind&&232===n.parent.parent.kind?sm(a,n.parent.parent,n.parent,c):r(o,1===i.length?e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.cast(e.first(i).name,e.isIdentifier))):e.createDiagnosticForNode(n,e.Diagnostics.All_destructured_elements_are_unused));else for(var s=0,u=i;s<u.length;s++){var l=u[s];r(o,e.createDiagnosticForNode(l,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.cast(l.name,e.isIdentifier))))}}),a.forEach(function(t){var n=t[0],i=t[1];if(n.declarations.length===i.length)r(0,1===i.length?e.createDiagnosticForNode(e.first(i).name,e.Diagnostics._0_is_declared_but_its_value_is_never_read,function t(r){switch(r.kind){case 71:return e.idText(r);case 180:case 179:return t(e.cast(e.first(r.elements),e.isBindingElement).name);default:return e.Debug.assertNever(r)}}(e.first(i).name)):e.createDiagnosticForNode(213===n.parent.kind?n.parent:n,e.Diagnostics.All_variables_are_unused));else for(var a=0,o=i;a<o.length;a++){var s=o[a];r(0,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(e.cast(s.name,e.isIdentifier))))}})}}function lm(t){if(212===t.kind&&Sh(t),e.isFunctionOrModuleBlock(t)){var r=St;e.forEach(t.statements,ag),St=r}else e.forEach(t.statements,ag);t.locals&&tm(t)}function dm(t,r,n){if(!r||r.escapedText!==n)return!1;if(151===t.kind||150===t.kind||153===t.kind||152===t.kind||155===t.kind||156===t.kind)return!1;if(4194304&t.flags)return!1;var i=e.getRootDeclaration(t);return 148!==i.kind||!e.nodeIsMissing(i.parent.body)}function fm(t){e.findAncestor(t,function(r){if(4&jg(r))return 71!==t.kind?fr(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):fr(t,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0})}function pm(t){e.findAncestor(t,function(r){if(8&jg(r))return 71!==t.kind?fr(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):fr(t,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0})}function _m(t,r){if(!(w>=e.ModuleKind.ES2015||E.noEmit)&&(dm(t,r,"require")||dm(t,r,"exports"))&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=$n(t);273===n.kind&&e.isExternalOrCommonJsModule(n)&&fr(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function mm(t,r){if(!(T>=4||E.noEmit)&&dm(t,r,"Promise")&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=$n(t);273===n.kind&&e.isExternalOrCommonJsModule(n)&&1024&n.flags&&fr(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}function gm(t){if(148===e.getRootDeclaration(t).kind){var r=e.getContainingFunction(t);!function n(i){if(!e.isTypeNode(i)&&!e.isDeclarationName(i)){if(184===i.kind)return n(i.expression);if(71!==i.kind)return e.forEachChild(i,n);var a=wr(i,i.escapedText,69313471,void 0,void 0,!1);if(a&&a!==Y&&a.valueDeclaration)if(a.valueDeclaration!==t){var o=e.getEnclosingBlockScopeContainer(a.valueDeclaration);if(o===r){if(148===a.valueDeclaration.kind||181===a.valueDeclaration.kind){if(a.valueDeclaration.pos<t.pos)return;if(e.findAncestor(i,function(r){return r===t.initializer?"quit":e.isFunctionLike(r.parent)||151===r.parent.kind&&!e.hasModifier(r.parent,32)&&e.isClassLike(r.parent.parent)}))return}fr(i,e.Diagnostics.Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(t.name),e.declarationNameToString(i))}}else fr(i,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(t.name))}}(t.initializer)}}function hm(e){return e===Z?Q:e===qe?ze:e}function vm(t){if(Q_(t),e.isBindingElement(t)||ag(t.type),t.name){if(146===t.name.kind&&(Zd(t.name),t.initializer&&p_(t.initializer)),181===t.kind){179===t.parent.kind&&T<6&&Qg(t,4),t.propertyName&&146===t.propertyName.kind&&Zd(t.propertyName);var r=t.parent.parent,n=ei(r),i=t.propertyName||t.name;if(!e.isBindingPattern(i)){var a=$a(n,e.getTextOfPropertyName(i));qf(a,void 0,!1),r.initializer&&a&&Df(r,r.initializer,n,a)}}if(e.isBindingPattern(t.name)&&(180===t.name.kind&&T<2&&E.downlevelIteration&&Qg(t,512),e.forEach(t.name.elements,ag)),t.initializer&&148===e.getRootDeclaration(t).kind&&e.nodeIsMissing(e.getContainingFunction(t).body))fr(t,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(t.name)){if(t.initializer&&220!==t.parent.parent.kind){var o=p_(t.initializer);A&&0===t.name.elements.length?Pf(o,t):Zc(o,di(t),t,void 0),gm(t)}}else{var s=dn(t),c=hm(xi(s));if(t===s.valueDeclaration)t.initializer&&220!==t.parent.parent.kind&&(Zc(p_(e.isInJavaScriptFile(t)&&e.getDeclaredJavascriptInitializer(t)||t.initializer),c,t,void 0),gm(t));else{var u=hm(di(t));c===te||u===te||Hc(c,u)||67108864&s.flags||ym(c,t,u),t.initializer&&Zc(p_(t.initializer),u,t,void 0),l=t,d=s.valueDeclaration,148===l.kind&&231===d.kind||231===l.kind&&148===d.kind||e.hasQuestionToken(l)===e.hasQuestionToken(d)&&e.getSelectedModifierFlags(l,504)===e.getSelectedModifierFlags(d,504)||(fr(e.getNameOfDeclaration(s.valueDeclaration),e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name)),fr(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name)))}151!==t.kind&&150!==t.kind&&(U_(t),231!==t.kind&&181!==t.kind||function(t){if(0===(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(231!==t.kind||t.initializer)){var r=dn(t);if(1&r.flags){if(!e.isIdentifier(t.name))return e.Debug.fail();var n=wr(t,t.name.escapedText,3,void 0,void 0,!1);if(n&&n!==r&&2&n.flags&&3&Tf(n)){var i=e.getAncestor(n.valueDeclaration,232),a=213===i.parent.kind&&i.parent.parent?i.parent.parent:void 0;if(!a||!(212===a.kind&&e.isFunctionLike(a.parent)||239===a.kind||238===a.kind||273===a.kind)){var o=Ln(n);fr(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(t),_m(t,t.name),mm(t,t.name))}}var l,d}function ym(t,r,n){var i=e.getNameOfDeclaration(r);fr(i,151===r.kind||150===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,e.declarationNameToString(i),jn(t),jn(n))}function bm(t){return function(t){if(220!==t.parent.parent.kind&&221!==t.parent.parent.kind)if(4194304&t.flags){if(t.initializer){if(!e.isConst(t)||t.type){var r="=".length;
1return bh(t,t.initializer.pos-r,r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!gh(t.initializer))return xh(t.initializer,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal)}if(t.initializer&&(!e.isConst(t)||!gh(t.initializer))){var r="=".length;return bh(t,t.initializer.pos-r,r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return xh(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isConst(t))return xh(t,e.Diagnostics.const_declarations_must_be_initialized)}if(t.exclamationToken&&(213!==t.parent.parent.kind||!t.type||t.initializer||4194304&t.flags))return xh(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);E.module===e.ModuleKind.ES2015||E.module===e.ModuleKind.ESNext||E.module===e.ModuleKind.System||E.noEmit||4194304&t.parent.parent.flags||!e.hasModifier(t.parent.parent,1)||function t(r){if(71===r.kind){if("__esModule"===e.idText(r))return xh(r,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var n=r.elements,i=0,a=n;i<a.length;i++){var o=a[i];if(!e.isOmittedExpression(o))return t(o.name)}}(t.name),(e.isLet(t)||e.isConst(t))&&function t(r){if(71===r.kind){if(110===r.originalKeywordKind)return xh(r,e.Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else for(var n=r.elements,i=0,a=n;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||t(o.name)}}(t.name)}(t),vm(t)}function xm(t){return function(t){if(t.dotDotDotToken){var r=t.parent.elements;if(t!==e.last(r))return xh(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(rh(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),180===t.name.kind||179===t.name.kind)return xh(t.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(t.propertyName)return xh(t.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name);t.initializer&&bh(t,t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}(t),vm(t)}function Sm(t){eh(t)||hh(t.declarationList)||function(t){if(!function e(t){switch(t.kind){case 216:case 217:case 218:case 225:case 219:case 220:case 221:return!1;case 227:return e(t.parent)}return!0}(t.parent)){if(e.isLet(t.declarationList))return xh(t,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);e.isConst(t.declarationList)&&xh(t,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}(t),e.forEach(t.declarationList.declarations,ag)}function km(t){fh(t);var r=Nf(t.expression);if(232===t.initializer.kind){var n=t.initializer.declarations[0];n&&e.isBindingPattern(n.name)&&fr(n.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),Cm(t)}else{var i=t.initializer,a=S_(i);182===i.kind||183===i.kind?fr(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):Xc(function(e){var t=Vs(Us(e));return 16384&t.flags?oe:t}(r),a)?Zp(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access):fr(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}r!==pe&&t_(r,141590528)||fr(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,jn(r)),ag(t.statement),t.locals&&tm(t)}function Cm(e){var t=e.initializer;t.declarations.length>=1&&bm(t.declarations[0])}function Em(e,t){return Tm(Nf(e),e,!0,void 0!==t)}function Tm(e,t,r,n){return Zn(e)?e:wm(e,t,r,n,!0)||Q}function wm(t,r,n,i,a){if(t!==pe){var o=T>=2,s=!o&&E.downlevelIteration;if(o||s||i){var c=Dm(t,o?r:void 0,i,!0,a);if(c||o)return c}var u=t,l=!1,d=!1;if(n){if(131072&u.flags){var f=t.types,p=e.filter(f,function(e){return!(34&e.flags)});p!==f&&(u=Fs(p,2))}else 34&u.flags&&(u=pe);if((d=u!==t)&&(T<1&&r&&(fr(r,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),l=!0),16384&u.flags))return oe}if(!Eu(u)){if(r&&!l){var _=!!Dm(t,void 0,i,!0,a);fr(r,!n||d?s?e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:_?e.Diagnostics.Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:e.Diagnostics.Type_0_is_not_an_array_type:s?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:_?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,jn(u))}return d?oe:void 0}var m=no(u,1);return d&&m?34&m.flags?oe:Fs([m,oe],2):m}Am(r,t,i)}function Dm(t,r,n,i,a){if(!Zn(t))return Wl(t,function(t){var o=t;if(n){if(o.iteratedTypeOfAsyncIterable)return o.iteratedTypeOfAsyncIterable;if(Si(t,ds(!1))||Si(t,ps(!1)))return o.iteratedTypeOfAsyncIterable=t.typeArguments[0]}if(i){if(o.iteratedTypeOfIterable)return o.iteratedTypeOfIterable;if(Si(t,_s(!1))||Si(t,gs(!1)))return o.iteratedTypeOfIterable=t.typeArguments[0]}var s=n&&Qn(t,e.getPropertyNameForKnownSymbolName("asyncIterator")),c=s||i&&Qn(t,e.getPropertyNameForKnownSymbolName("iterator"));if(!Zn(c)){var u=c&&Za(c,0);if(e.some(u)){var l=Nm(Fs(e.map(u,So),2),r,!!s);return a&&r&&l&&Zc(t,s?function(e){return vs(ds(!0),[e])}(l):xs(l),r),s?o.iteratedTypeOfAsyncIterable=l:o.iteratedTypeOfIterable=l}r&&(Am(r,t,n),r=void 0)}})}function Am(t,r,n){fr(t,n?e.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,jn(r))}
1function Nm(t,r,n){if(!Zn(t)){var i=t;if(n?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator)return n?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator;if(Si(t,(n?fs:ms)(!1)))return n?i.iteratedTypeOfAsyncIterator=t.typeArguments[0]:i.iteratedTypeOfIterator=t.typeArguments[0];var a=Qn(t,"next");if(!Zn(a)){var o=a?Za(a,0):e.emptyArray;if(0!==o.length){var s=Fs(e.map(o,So),2);if(!Zn(s)&&(!n||!Zn(s=V_(s,r,e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property)))){var c=s&&Qn(s,"value");if(c)return n?i.iteratedTypeOfAsyncIterator=c:i.iteratedTypeOfIterator=c;r&&fr(r,n?e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property)}}else r&&fr(r,n?e.Diagnostics.An_async_iterator_must_have_a_next_method:e.Diagnostics.An_iterator_must_have_a_next_method)}}}function Pm(e,t){if(!Zn(e))return Dm(e,void 0,t,!t,!1)||Nm(e,void 0,t)}function Om(t){Sh(t)||function(t){for(var r=t;r;){if(e.isFunctionLike(r))return xh(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(r.kind){case 227:if(t.label&&r.label.escapedText===t.label.escapedText){var n=222===t.kind&&!e.isIterationStatement(r.statement,!0);return!!n&&xh(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}break;case 226:if(223===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(r,!1)&&!t.label)return!1}r=r.parent}if(t.label){var i=223===t.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return xh(t,i)}var i=223===t.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;xh(t,i)}(t)}function Fm(t){return 155===t.kind&&void 0!==e.getEffectiveSetAccessorTypeAnnotationNode(e.getDeclarationOfKind(t.symbol,156))}function Mm(t,r){var n=2===(3&e.getFunctionFlags(t))?J_(r):r;return n&&e_(n,2049)}function Im(t){Sh(t)||void 0===t.expression&&function(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!vh(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);Ut.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,r,n,i,a))}}(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&S_(t.expression)}function Lm(t){var r,n=Oo(t.symbol,1),i=Oo(t.symbol,0),a=no(t,0),o=no(t,1);if((a||o)&&(e.forEach(Oa(t),function(e){var r=xi(e);f(e,r,t,i,a,0),f(e,r,t,n,o,1)}),1&e.getObjectFlags(t)&&e.isClassLike(t.symbol.valueDeclaration)))for(var s=0,c=t.symbol.valueDeclaration.members;s<c.length;s++){var u=c[s];if(!e.hasModifier(u,32)&&ra(u)){var l=dn(u),d=xi(l);f(l,d,t,i,a,0),f(l,d,t,n,o,1)}}function f(t,r,n,i,a,o){if(a&&!e.isKnownSymbol(t)){var s,c=t.valueDeclaration;if(1!==o||(c?$d(e.getNameOfDeclaration(c)):Qd(t.escapedName)))!c||199!==c.kind&&146!==e.getNameOfDeclaration(c).kind&&t.parent!==n.symbol?i?s=i:2&e.getObjectFlags(n)&&(s=e.forEach(Ii(n),function(e){return Fa(e,t.escapedName)&&no(e,o)})?void 0:n.symbol.declarations[0]):s=c,s&&!Xc(r,a)&&fr(s,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,Ln(t),jn(r),jn(a))}}a&&o&&!(r=n||i)&&2&e.getObjectFlags(t)&&(r=e.forEach(Ii(t),function(e){return no(e,0)&&no(e,1)})?void 0:t.symbol.declarations[0]),r&&!Xc(o,a)&&fr(r,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1,jn(o),jn(a))}function Rm(e,t){switch(e.escapedText){case"any":case"number":case"boolean":case"string":case"symbol":case"void":case"object":fr(e,t,e.escapedText)}}function jm(t){if(t)for(var r=!1,n=0;n<t.length;n++){var a=t[n];if(k_(a),i){a.default?r=!0:r&&fr(a,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var o=0;o<n;o++)t[o].symbol===a.symbol&&fr(a.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(a.name))}}}function Bm(t){if(1!==t.declarations.length){var r=Sr(t);if(!r.typeParametersChecked){r.typeParametersChecked=!0;var n=function(t){return e.filter(t.declarations,function(e){return 234===e.kind||235===e.kind})}(t);if(n.length<=1)return;if(!function(t,r){for(var n=e.length(r),i=_o(r),a=0,o=t;a<o.length;a++){var s=o[a],c=e.getEffectiveTypeParameterDeclarations(s),u=c.length;if(u<i||u>n)return!1;for(var l=0;l<u;l++){var d=c[l],f=r[l];if(d.name.escapedText!==f.symbol.escapedName)return!1;var p=d.constraint&&xc(d.constraint),_=Io(f);if(p&&(!_||!Hc(p,_)))return!1;var m=d.default&&xc(d.default),g=Wa(f);if(m&&g&&!Hc(m,g))return!1}}return!0}(n,Ji(t).localTypeParameters))for(var i=Ln(t),a=0,o=n;a<o.length;a++)fr(o[a].name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,i)}}}function zm(t){e.forEach(t.members,ag),tm(t)}function qm(t){!function(t){var r=e.getSourceFileOfNode(t);(function(t){var r=!1,n=!1;if(!eh(t)&&t.heritageClauses)for(var i=0,a=t.heritageClauses;i<a.length;i++){var o=a[i];if(85===o.token){if(r)return yh(o,e.Diagnostics.extends_clause_already_seen);if(n)return yh(o,e.Diagnostics.extends_clause_must_precede_implements_clause);
1if(o.types.length>1)return yh(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(108===o.token),n)return yh(o,e.Diagnostics.implements_clause_already_seen);n=!0}sh(o)}})(t)||nh(t.typeParameters,r)}(t),Q_(t),t.name&&(Rm(t.name,e.Diagnostics.Class_name_cannot_be_0),_m(t,t.name),mm(t,t.name)),jm(e.getEffectiveTypeParameterDeclarations(t)),U_(t);var r=dn(t),n=Ji(r),a=ca(n),o=xi(r);Bm(r),function(t){var r;!function(e){e[e.Getter=1]="Getter",e[e.Setter=2]="Setter",e[e.Method=4]="Method",e[e.Property=3]="Property"}(r||(r={}));for(var n=e.createUnderscoreEscapedMap(),i=e.createUnderscoreEscapedMap(),a=0,o=t.members;a<o.length;a++){var s=o[a];if(154===s.kind)for(var c=0,u=s.parameters;c<u.length;c++){var l=u[c];e.isParameterPropertyDeclaration(l)&&!e.isBindingPattern(l.name)&&p(n,l.name,l.name.escapedText,3)}else{var d=e.hasModifier(s,32)?i:n,f=s.name&&e.getPropertyNameForPropertyNameNode(s.name);if(f)switch(s.kind){case 155:p(d,s.name,f,1);break;case 156:p(d,s.name,f,2);break;case 151:p(d,s.name,f,3);break;case 153:p(d,s.name,f,4)}}}function p(t,r,n,i){var a=t.get(n);a?4&a?4!==i&&fr(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):a&i?fr(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):t.set(n,a|i):t.set(n,i)}}(t),4194304&t.flags||function(t){for(var r=0,n=t.members;r<n.length;r++){var i=n[r],a=i.name;if(e.hasModifier(i,32)&&a){var o=e.getPropertyNameForPropertyNameNode(a);switch(o){case"name":case"length":case"caller":case"arguments":case"prototype":fr(a,e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,o,Jn(dn(t)))}}}}(t);var s=e.getClassExtendsHeritageClauseElement(t);if(s){T<2&&Qg(s.parent,1);var c=Ii(n);if(c.length&&i){var u=c[0],l=Mi(n),d=Ka(l);if(function(t,r){var n=Za(t,1);if(n.length){var i=n[0].declaration;if(i&&e.hasModifier(i,8)){var a=e.getClassLikeDeclarationOfSymbol(t.symbol);gg(r,a)||fr(r,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,Gr(t.symbol))}}}(d,s),ag(s.expression),e.some(s.typeArguments)){e.forEach(s.typeArguments,ag);for(var f=0,p=Oi(d,s.typeArguments,s);f<p.length&&M_(s,p[f].typeParameters);f++);}if(Zc(a,b=ca(u,n.thisType),void 0)||Um(t,a,b,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),Zc(o,Jc(d),t.name||t,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1),1081344&l.flags&&!Ai(o)&&fr(t.name||t,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any),!(d.symbol&&32&d.symbol.flags)&&!(1081344&l.flags)){var _=Fi(d,s.typeArguments,s);e.forEach(_,function(e){return So(e)!==u})&&fr(s.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}!function(t,r){for(var n=Ia(r),i=0,a=n;i<a.length;i++){var o=a[i],s=Vm(o);if(!(4194304&s.flags)){var c=Vm(Fa(t,s.escapedName)),u=e.getDeclarationModifierFlagsFromSymbol(s);if(e.Debug.assert(!!c,"derived should point to something, even if it is the base class' declaration."),c)if(c===s){var l=e.getClassLikeDeclarationOfSymbol(t.symbol);!(128&u)||l&&e.hasModifier(l,128)||(204===l.kind?fr(l,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Ln(o),jn(r)):fr(l,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,jn(t),Ln(o),jn(r)))}else{var d=e.getDeclarationModifierFlagsFromSymbol(c);if(8&u||8&d)continue;if(wf(s)&&wf(c)||98308&s.flags&&98308&c.flags)continue;var f=void 0;f=wf(s)?98304&c.flags?e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:98304&s.flags?e.Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:e.Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function,fr(e.getNameOfDeclaration(c.valueDeclaration)||c.valueDeclaration,f,jn(r),Ln(s),jn(t))}}}}(n,u)}}var m=e.getClassImplementsHeritageClauseElements(t);if(m)for(var g=0,h=m;g<h.length;g++){var v=h[g];if(e.isEntityNameExpression(v.expression)||fr(v.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),L_(v),i){var y=xc(v);if(y!==te)if(Li(y)){var b,x=y.symbol&&32&y.symbol.flags?e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:e.Diagnostics.Class_0_incorrectly_implements_interface_1;Zc(a,b=ca(y,n.thisType),void 0)||Um(t,a,b,x)}else fr(v,e.Diagnostics.A_class_may_only_implement_another_class_or_interface)}}
1i&&(Lm(n),D_(t),function(t){if(A&&P&&!(4194304&t.flags))for(var r=hn(t),n=0,i=t.members;n<i.length;n++){var a=i[n];if(Jm(a)){var o=a.name;if(e.isIdentifier(o)){var s=xi(dn(a));1&s.flags||4096&Ru(s)||r&&Hm(o,s,r)||fr(a.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(o))}}}}(t))}function Um(t,r,n,i){for(var a=!1,o=function(t){if(e.hasStaticModifier(t))return"continue";var i=t.name&&yg(t.name)||yg(t);if(i){var o=$a(r,i.escapedName),s=$a(n,i.escapedName);o&&s&&(Zc(xi(o),xi(s),t.name||t,void 0,function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Ln(i),jn(r),jn(n))})||(a=!0))}},s=0,c=t.members;s<c.length;s++)o(c[s]);a||Zc(r,n,t.name||t,i)}function Vm(t){return 1&e.getCheckFlags(t)?t.target:t}function Jm(t){return 151===t.kind&&!e.hasModifier(t,160)&&!t.exclamationToken&&!t.initializer}function Hm(t,r,n){var i=e.createPropertyAccess(e.createThis(),t);return i.flowNode=n.returnFlowNode,!(4096&Ru(od(i,r,qu(r))))}function Wm(t){if(eh(t)||function(t){var r=!1;if(t.heritageClauses)for(var n=0,i=t.heritageClauses;n<i.length;n++){var a=i[n];if(85!==a.token)return e.Debug.assert(108===a.token),yh(a,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(r)return yh(a,e.Diagnostics.extends_clause_already_seen);r=!0,sh(a)}}(t),jm(t.typeParameters),i){Rm(t.name,e.Diagnostics.Interface_name_cannot_be_0),U_(t);var r=dn(t);if(Bm(r),t===e.getDeclarationOfKind(r,235)){var n=Ji(r),a=ca(n);if(function(t,r){var n=Ii(t);if(n.length<2)return!0;var i=e.createUnderscoreEscapedMap();e.forEach(Qi(t).declaredProperties,function(e){i.set(e.escapedName,{prop:e,containingType:t})});for(var a=!0,o=0,s=n;o<s.length;o++)for(var c=s[o],u=0,l=Ia(ca(c,t.thisType));u<l.length;u++){var d=l[u],f=i.get(d.escapedName);if(f){if(f.containingType!==t&&0===bu(f.prop,d,Wc)){a=!1;var p=jn(f.containingType),_=jn(c),m=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,Ln(d),p,_);m=e.chainDiagnosticMessages(m,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,jn(t),p,_),Ut.add(e.createDiagnosticForNodeFromMessageChain(r,m))}}else i.set(d.escapedName,{prop:d,containingType:c})}return a}(n,t.name)){for(var o=0,s=Ii(n);o<s.length;o++)Zc(a,ca(s[o],n.thisType),t.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1);Lm(n)}}w_(t)}e.forEach(e.getInterfaceBaseTypeNodes(t),function(t){e.isEntityNameExpression(t.expression)||fr(t.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),L_(t)}),e.forEach(t.members,ag),i&&(D_(t),tm(t))}function Km(e){var t=kr(e);if(!(16384&t.flags)){t.flags|=16384;for(var r=0,n=0,i=e.members;n<i.length;n++){var a=i[n],o=Gm(a,r);kr(a).enumMemberValue=o,r="number"===typeof o?o+1:void 0}}}function Gm(t,r){if(ti(t.name))fr(t.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var n=e.getTextOfPropertyName(t.name);Qd(n)&&"Infinity"!==(i=n)&&"-Infinity"!==i&&"NaN"!==i&&fr(t.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}var i;return t.initializer?function(t){var r=Bi(dn(t.parent)),n=e.isConst(t.parent),i=t.initializer,a=1!==r||ji(t)?function r(n){switch(n.kind){case 197:var i=r(n.operand);if("number"===typeof i)switch(n.operator){case 37:return i;case 38:return-i;case 52:return~i}break;case 199:var a=r(n.left),s=r(n.right);if("number"===typeof a&&"number"===typeof s)switch(n.operatorToken.kind){case 49:return a|s;case 48:return a&s;case 46:return a>>s;case 47:return a>>>s;case 45:return a<<s;case 50:return a^s;case 39:return a*s;case 41:return a/s;case 37:return a+s;case 38:return a-s;case 42:return a%s;case 40:return Math.pow(a,s)}else if("string"===typeof a&&"string"===typeof s&&37===n.operatorToken.kind)return a+s;break;case 9:return n.text;case 8:return kh(n),+n.text;case 190:return r(n.expression);case 71:return e.nodeIsMissing(n)?0:o(n,dn(t.parent),n.escapedText);case 185:case 184:var c=n;if(function e(t){return 71===t.kind||184===t.kind&&e(t.expression)||185===t.kind&&e(t.expression)&&9===t.argumentExpression.kind}(c)){var u=b_(c.expression);if(u.symbol&&384&u.symbol.flags){var l=void 0;if(184===c.kind)l=c.name.escapedText;else{var d=c.argumentExpression;e.Debug.assert(e.isLiteralExpression(d)),l=e.escapeLeadingUnderscores(d.text)}return o(n,u.symbol,l)}}}}(i):void 0;if(void 0!==a)n&&"number"===typeof a&&!isFinite(a)&&fr(i,isNaN(a)?e.Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:e.Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);else{if(1===r)return fr(i,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;n?fr(i,e.Diagnostics.In_const_enum_declarations_member_initializer_must_be_constant_expression):4194304&t.parent.flags?fr(i,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Zc(S_(i),Ji(dn(t.parent)),i,void 0)}return a;function o(r,n,i){var a=n.exports.get(i);if(a){var o=a.valueDeclaration;if(o!==t)return Tr(o,t)?Bg(o):(fr(r,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0)}}}(t):4194304&t.parent.flags&&!e.isConst(t.parent)?void 0:void 0!==r?r:void fr(t.name,e.Diagnostics.Enum_member_must_have_initializer)}function Xm(t){if(i){var r=e.isGlobalScopeAugmentation(t),n=4194304&t.flags;r&&!n&&fr(t.name,e.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);var a=e.isAmbientModule(t);if(tg(t,a?e.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:e.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module))return;eh(t)||n||9!==t.name.kind||xh(t.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(t.name)&&(_m(t,t.name),mm(t,t.name)),U_(t);var o=dn(t);if(512&o.flags&&o.declarations.length>1&&!n&&l(t,E.preserveConstEnums||E.isolatedModules)){var s=function(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if((234===i.kind||233===i.kind&&e.nodeIsPresent(i.body))&&!(4194304&i.flags))return i}}(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?fr(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos<s.pos&&fr(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));var c=e.getDeclarationOfKind(o,234);c&&function(t,r){var n=e.getEnclosingBlockScopeContainer(t),i=e.getEnclosingBlockScopeContainer(r);return Cr(n)?Cr(i):!Cr(i)&&n===i}(t,c)&&(kr(t).flags|=32768)}if(a)if(e.isExternalModuleAugmentation(t)){if((r||33554432&dn(t).flags)&&t.body)for(var u=0,d=t.body.statements;u<d.length;u++)Ym(d[u],r)}else Cr(t.parent)?r?fr(t.name,e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(t.name))&&fr(t.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):fr(t.name,r?e.Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:e.Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}t.body&&(ag(t.body),e.isGlobalScopeAugmentation(t)||tm(t))}function Ym(t,r){switch(t.kind){case 213:for(var n=0,i=t.declarationList.declarations;n<i.length;n++)Ym(i[n],r);break;case 248:case 249:yh(t,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 242:case 243:yh(t,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 181:case 231:var a=t.name;if(e.isBindingPattern(a)){for(var o=0,s=a.elements;o<s.length;o++)Ym(s[o],r);break}case 234:case 237:case 233:case 235:case 238:case 236:if(r)return;var c=dn(t);if(c){var u=!(33554432&c.flags);u||(u=e.isExternalModuleAugmentation(c.parent.declarations[0]))}}}function $m(e){switch(e.kind){case 71:return e;case 145:do{e=e.left}while(71!==e.kind);return e;case 184:do{e=e.expression}while(71!==e.kind);return e}}function Qm(t){var r=e.getExternalModuleName(t);if(e.nodeIsMissing(r))return!1;
1if(!e.isStringLiteral(r))return fr(r,e.Diagnostics.String_literal_expected),!1;var n=239===t.parent.kind&&e.isAmbientModule(t.parent.parent);return 273===t.parent.kind||n?!(n&&e.isExternalModuleNameRelative(r.text)&&!Un(t))||(fr(t,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1):(fr(r,249===t.kind?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1)}function Zm(t){var r=dn(t),n=Jr(r);if(n!==Y){var i=(68264895&r.flags?67216319:0)|(67901928&r.flags?67901928:0)|(1920&r.flags?1920:0);n.flags&i&&fr(t,251===t.kind?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,Ln(r)),!E.isolatedModules||251!==t.kind||67216319&n.flags||4194304&t.flags||fr(t,e.Diagnostics.Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided)}}function eg(e){_m(e,e.name),mm(e,e.name),Zm(e)}function tg(e,t){var r=273===e.parent.kind||239===e.parent.kind||238===e.parent.kind;return r||yh(e,t),!r}function rg(t){if(Zm(t),E.declaration&&Wn(t.propertyName||t.name,!0),!t.parent.parent.moduleSpecifier){var r=t.propertyName||t.name,n=wr(r,r.escapedText,70107135,void 0,void 0,!0);n&&(n===R||Cr($n(n.declarations[0])))?fr(r,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(r)):Hr(t)}}function ng(t){var r=dn(t),n=Sr(r);if(!n.exportsChecked){var i=r.exports.get("export=");if(i&&function(t){return e.forEachEntry(t.exports,function(e,t){return"export="!==t})}(r)){var a=Ir(i)||i.valueDeclaration;Un(a)||e.isInJavaScriptFile(a)||fr(a,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=sn(r);o&&o.forEach(function(t,r){var n=t.declarations,i=t.flags;if("__export"!==r&&!(1984&i)){var a=e.countWhere(n,lr);if(!(524288&i&&a<=2)&&a>1)for(var o=0,s=n;o<s.length;o++){var c=s[o];ig(c)&&Ut.add(e.createDiagnosticForNode(c,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(r)))}}}),n.exportsChecked=!0}}function ig(e){return 233!==e.kind&&153!==e.kind||!!e.body}function ag(t){if(t){if(e.isInJavaScriptFile(t)&&t.jsDoc)for(var r=0,n=t.jsDoc;r<n.length;r++){var a=n[r].tags;e.forEach(a,ag)}var o=t.kind;if(p)switch(o){case 238:case 234:case 235:case 233:p.throwIfCancellationRequested()}switch(o){case 147:return k_(t);case 148:return C_(t);case 151:case 150:return A_(t);case 162:case 163:case 157:case 158:case 159:return T_(t);case 153:case 152:return function(t){mh(t)||uh(t.name),em(t),e.hasModifier(t,128)&&153===t.kind&&t.body&&fr(t,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(t.name))}(t);case 154:return N_(t);case 155:case 156:return P_(t);case 161:return L_(t);case 160:return function(t){var r=function(e){switch(e.parent.kind){case 192:case 157:case 233:case 191:case 162:case 153:case 152:var t=e.parent;if(e===t.type)return t}}(t);if(r){var n=xo(go(r));if(n){ag(t.type);var i=t.parameterName;if(e.isThisTypePredicate(n))bc(i);else if(n.parameterIndex>=0)r.parameters[n.parameterIndex].dotDotDotToken?fr(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter):Zc(n.type,bg(r.parameters[n.parameterIndex]),t.type,void 0,function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)});else if(i){for(var a=!1,o=0,s=r.parameters;o<s.length;o++){var c=s[o].name;if(e.isBindingPattern(c)&&E_(c,i,n.parameterName)){a=!0;break}}a||fr(t.parameterName,e.Diagnostics.Cannot_find_parameter_0,n.parameterName)}}}else fr(t,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}(t);case 164:return function(e){rs(e)}(t);case 165:return function(t){e.forEach(t.members,ag),i&&(Lm(cc(t)),D_(t),w_(t))}(t);case 166:return function(e){ag(e.elementType)}(t);case 167:return function(t){rh(t.elementTypes)||0!==t.elementTypes.length||xh(t,e.Diagnostics.A_tuple_type_element_list_cannot_be_empty),e.forEach(t.elementTypes,ag)}(t);case 168:case 169:return function(t){e.forEach(t.types,ag)}(t);case 172:return ag(t.type);case 174:return j_(t);case 170:return function(t){e.forEachChild(t,ag)}(t);
1case 171:return function(t){e.findAncestor(t,function(e){return e.parent&&170===e.parent.kind&&e.parent.extendsType===e})||xh(t,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),ag(t.typeParameter)}(t);case 178:return function(e){ag(e.argument),xc(e)}(t);case 289:return function(t){var r=e.getJSDocHost(t);if(e.isClassDeclaration(r)||e.isClassExpression(r)){var n=e.getJSDocTags(r).filter(e.isJSDocAugmentsTag);e.Debug.assert(n.length>0),n.length>1&&fr(n[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var i=Z_(t.class.expression),a=e.getClassExtendsHeritageClauseElement(r);if(a){var o=Z_(a.expression);o&&i.escapedText!==o.escapedText&&fr(i,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(i),e.idText(o))}}else fr(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 296:case 291:return function(t){t.typeExpression||fr(t.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),t.name&&Rm(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),ag(t.typeExpression)}(t);case 292:return function(t){if(ag(t.typeExpression),!e.getParameterSymbolFromJSDoc(t)){var r=e.getHostSignatureFromJSDoc(t);if(r){var n=e.getJSDocTags(r).filter(e.isJSDocParameterTag).indexOf(t);if(n>-1&&n<r.parameters.length&&e.isBindingPattern(r.parameters[n].name))return;ho(r)?e.findLast(e.getJSDocTags(r),e.isJSDocParameterTag)===t&&t.typeExpression&&t.typeExpression.type&&!Cu(xc(t.typeExpression.type))&&fr(t.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,e.idText(145===t.name.kind?t.name.right:t.name)):fr(t.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(145===t.name.kind?t.name.right:t.name))}}}(t);case 283:T_(t);case 281:case 280:case 278:case 279:case 286:return og(t),void e.forEachChild(t,ag);case 284:return void function(t){og(t),ag(t.type);var r=t.parent;if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent))e.last(r.parent.parameters)!==r&&fr(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);else{e.isJSDocTypeExpression(r)||fr(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var n=r.parent;if(e.isJSDocParameterTag(n)){var i=e.getParameterSymbolFromJSDoc(n);if(i){var a=e.getHostSignatureFromJSDoc(n);a&&e.last(a.parameters).symbol===i||fr(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}else fr(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}}(t);case 277:return ag(t.type);case 175:return function(e){ag(e.objectType),ag(e.indexType),R_(Qs(e),e)}(t);case 176:return function(e){ag(e.typeParameter),ag(e.type),O&&!e.type&&Qu(e,Q),Zc(Sa(Zs(e)),ve,e.typeParameter.constraint)}(t);case 233:return function(e){i&&(em(e),lh(e),_m(e,e.name),mm(e,e.name))}(t);case 212:case 239:return lm(t);case 213:return Sm(t);case 215:return function(e){Sh(e),S_(e.expression)}(t);case 216:return function(t){Sh(t),S_(t.expression),ag(t.thenStatement),214===t.thenStatement.kind&&fr(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),ag(t.elseStatement)}(t);case 217:return function(e){Sh(e),ag(e.statement),S_(e.expression)}(t);case 218:return function(e){Sh(e),S_(e.expression),ag(e.statement)}(t);case 219:return function(t){Sh(t)||t.initializer&&232===t.initializer.kind&&hh(t.initializer),t.initializer&&(232===t.initializer.kind?e.forEach(t.initializer.declarations,bm):S_(t.initializer)),t.condition&&S_(t.condition),t.incrementor&&S_(t.incrementor),ag(t.statement),t.locals&&tm(t)}(t);case 220:return km(t);case 221:return function(t){if(fh(t),t.awaitModifier?2===(6&e.getFunctionFlags(e.getContainingFunction(t)))&&T<6&&Qg(t,16384):E.downlevelIteration&&T<2&&Qg(t,256),232===t.initializer.kind)Cm(t);else{var r=t.initializer,n=Em(t.expression,t.awaitModifier);if(182===r.kind||183===r.kind)s_(r,n||te);else{var i=S_(r);Zp(r,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access),n&&Zc(n,i,r,void 0)}}ag(t.statement),t.locals&&tm(t)}(t);case 222:case 223:return Om(t);case 224:return function(t){if(!Sh(t)){var r=e.getContainingFunction(t);
1if(r){var n=So(go(r)),i=e.getFunctionFlags(r),a=1&i;if(A||t.expression||16384&n.flags){var o=t.expression?p_(t.expression):re;if(a)return;if(156===r.kind)t.expression&&fr(t,e.Diagnostics.Setters_cannot_return_a_value);else if(154===r.kind)t.expression&&!Zc(o,n,t)&&fr(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(e.getEffectiveReturnTypeNode(r)||Fm(r))if(2&i){var s=J_(n),c=H_(o,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);s&&Zc(c,s,t)}else Zc(o,n,t)}else 154===r.kind||!E.noImplicitReturns||Mm(r,n)||a||fr(t,e.Diagnostics.Not_all_code_paths_return_a_value)}else yh(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}}(t);case 225:return function(t){Sh(t)||16384&t.flags&&yh(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),S_(t.expression);var r=e.getSourceFileOfNode(t);if(!vh(r)){var n=e.getSpanOfTokenAtPosition(r,t.pos).start;bh(r,n,t.statement.pos-n,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}(t);case 226:return function(t){var r;Sh(t);var n=!1,a=S_(t.expression),o=Nu(a);e.forEach(t.caseBlock.clauses,function(s){if(266===s.kind&&!n)if(void 0===r)r=s;else{var c=e.getSourceFileOfNode(t),u=e.skipTrivia(c.text,s.pos);bh(c,u,(s.statements.length>0?s.statements[0].pos:s.end)-u,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),n=!0}if(i&&265===s.kind){var l=S_(s.expression),d=Nu(l),f=a;d&&o||(l=d?Pu(l):l,f=Pu(a)),c_(f,l)||eu(l,f,s.expression,void 0)}e.forEach(s.statements,ag)}),t.caseBlock.locals&&tm(t.caseBlock)}(t);case 227:return function(t){Sh(t)||e.findAncestor(t.parent,function(r){return e.isFunctionLike(r)?"quit":227===r.kind&&r.label.escapedText===t.label.escapedText?(xh(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(t.label)),!0):void 0}),ag(t.statement)}(t);case 228:return Im(t);case 229:return function(t){Sh(t),lm(t.tryBlock);var r=t.catchClause;if(r){if(r.variableDeclaration)if(r.variableDeclaration.type)yh(r.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(r.variableDeclaration.initializer)yh(r.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var n=r.block.locals;n&&e.forEachKey(r.locals,function(t){var r=n.get(t);r&&0!==(2&r.flags)&&xh(r.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t)})}lm(r.block)}t.finallyBlock&&lm(t.finallyBlock)}(t);case 231:return bm(t);case 181:return xm(t);case 234:return function(t){t.name||e.hasModifier(t,512)||yh(t,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),qm(t),e.forEach(t.members,ag),tm(t)}(t);case 235:return Wm(t);case 236:return function(t){eh(t),Rm(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),jm(t.typeParameters),ag(t.type),tm(t)}(t);case 237:return function(t){if(i){eh(t),Rm(t.name,e.Diagnostics.Enum_name_cannot_be_0),_m(t,t.name),mm(t,t.name),U_(t),Km(t);var r=e.isConst(t);E.isolatedModules&&r&&4194304&t.flags&&fr(t.name,e.Diagnostics.Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided);var n=dn(t);if(t===e.getDeclarationOfKind(n,t.kind)){n.declarations.length>1&&e.forEach(n.declarations,function(t){e.isConstEnumDeclaration(t)!==r&&fr(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)});var a=!1;e.forEach(n.declarations,function(t){if(237!==t.kind)return!1;var r=t;if(!r.members.length)return!1;var n=r.members[0];n.initializer||(a?fr(n.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):a=!0)})}}}(t);case 238:return Xm(t);case 243:return function(t){if(!tg(t,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!eh(t)&&e.hasModifiers(t)&&yh(t,e.Diagnostics.An_import_declaration_cannot_have_modifiers),Qm(t))){var r=t.importClause;r&&(r.name&&eg(r),r.namedBindings&&(245===r.namedBindings.kind?eg(r.namedBindings):Yr(t,t.moduleSpecifier)&&e.forEach(r.namedBindings.elements,eg)))}}(t);case 242:return function(t){if(!tg(t,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(eh(t),e.isInternalModuleImportEqualsDeclaration(t)||Qm(t)))if(eg(t),e.hasModifier(t,1)&&Hr(t),253!==t.moduleReference.kind){var r=Jr(dn(t));if(r!==Y){if(67216319&r.flags){var n=$m(t.moduleReference);1920&Xr(n,67217343).flags||fr(n,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(n))}67901928&r.flags&&Rm(t.name,e.Diagnostics.Import_name_cannot_be_0)}}else w>=e.ModuleKind.ES2015&&!(4194304&t.flags)&&xh(t,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(t);case 249:return function(t){if(!tg(t,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!eh(t)&&e.hasModifiers(t)&&yh(t,e.Diagnostics.An_export_declaration_cannot_have_modifiers),!t.moduleSpecifier||Qm(t)))if(t.exportClause){e.forEach(t.exportClause.elements,rg);var r=239===t.parent.kind&&e.isAmbientModule(t.parent.parent),n=!r&&239===t.parent.kind&&!t.moduleSpecifier&&4194304&t.flags;273===t.parent.kind||r||n||fr(t,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var i=Yr(t,t.moduleSpecifier);i&&rn(i)&&fr(t.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Ln(i)),w!==e.ModuleKind.System&&w!==e.ModuleKind.ES2015&&w!==e.ModuleKind.ESNext&&Qg(t,32768)}}(t);case 248:return function(t){if(!tg(t,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var r=273===t.parent.kind?t.parent:t.parent.parent;238!==r.kind||e.isAmbientModule(r)?(!eh(t)&&e.hasModifiers(t)&&yh(t,e.Diagnostics.An_export_assignment_cannot_have_modifiers),71===t.expression.kind?(Hr(t),E.declaration&&Wn(t.expression,!0)):p_(t.expression),ng(r),4194304&t.flags&&!e.isEntityNameExpression(t.expression)&&xh(t.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!t.isExportEquals||4194304&t.flags||(w>=e.ModuleKind.ES2015?xh(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):w===e.ModuleKind.System&&xh(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))):t.isExportEquals?fr(t,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):fr(t,e.Diagnostics.A_default_export_
1can_only_be_used_in_an_ECMAScript_style_module)}}(t);case 214:case 230:return void Sh(t);case 252:return function(e){Q_(e)}(t)}}}function og(t){e.isInJavaScriptFile(t)||xh(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function sg(e){at&&at.push(e)}function cg(t){e.performance.mark("beforeCheck"),function(t){var r=kr(t);if(!(1&r.flags)){if(E.skipLibCheck&&t.isDeclarationFile||E.skipDefaultLibCheck&&t.hasNoDefaultLib)return;!function(t){4194304&t.flags&&function(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];if((e.isDeclaration(i)||213===i.kind)&&(235!==(a=i).kind&&236!==a.kind&&243!==a.kind&&242!==a.kind&&249!==a.kind&&248!==a.kind&&241!==a.kind&&!e.hasModifier(a,515)&&yh(a,e.Diagnostics.A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file)))return!0}var a}(t)}(t),e.clear(Bt),e.clear(zt),at=[],e.forEach(t.statements,ag),function(){for(var e=0,t=at;e<t.length;e++){var r=t[e];switch(r.kind){case 191:case 192:case 153:case 152:Gp(r);break;case 155:case 156:P_(r);break;case 204:zm(r)}}}(),e.isExternalOrCommonJsModule(t)&&tm(t),t.isDeclarationFile||!E.noUnusedLocals&&!E.noUnusedParameters||rm(lg(t),function(e,t){ug(e)&&Ut.add(t)}),at=void 0,e.isExternalOrCommonJsModule(t)&&ng(t),Bt.length&&(e.forEach(Bt,fm),e.clear(Bt)),zt.length&&(e.forEach(zt,pm),e.clear(zt)),r.flags|=1}}(t),e.performance.mark("afterCheck"),e.performance.measure("Check","beforeCheck","afterCheck")}function ug(t){switch(t){case 0:return E.noUnusedLocals;case 1:return E.noUnusedParameters;default:return e.Debug.assertNever(t)}}function lg(t){return vt.get(t.path)||e.emptyArray}function dg(t,r){try{return p=r,function(t){if(fg(),t){var r=Ut.getGlobalDiagnostics(),i=r.length;cg(t);var a=Ut.getDiagnostics(t.fileName),o=Ut.getGlobalDiagnostics();if(o!==r){var s=e.relativeComplement(r,o,e.compareDiagnostics);return e.concatenate(s,a)}return 0===i&&o.length>0?e.concatenate(o,a):a}return e.forEach(n.getSourceFiles(),cg),Ut.getDiagnostics()}(t)}finally{p=void 0}}function fg(){if(!i)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function pg(e){switch(e.kind){case 147:case 234:case 235:case 236:case 237:return!0}}function _g(e){for(var t=e;t.parent&&145===t.parent.kind;)t=t.parent;return t.parent&&161===t.parent.kind}function mg(t,r){for(var n;(t=e.getContainingClass(t))&&!(n=r(t)););return n}function gg(e,t){return!!mg(e,function(e){return e===t})}function hg(e){return void 0!==function(e){for(;145===e.parent.kind;)e=e.parent;return 242===e.parent.kind?e.parent.moduleReference===e&&e.parent:248===e.parent.kind?e.parent.expression===e&&e.parent:void 0}(e)}function vg(t){if(e.isDeclarationName(t))return dn(t.parent);if(e.isInJavaScriptFile(t)&&184===t.parent.kind&&t.parent===t.parent.parent.left){var r=function(t){switch(e.getSpecialPropertyAssignmentKind(t.parent.parent)){case 1:case 3:return dn(t.parent);case 4:case 2:case 5:return dn(t.parent.parent)}}(t);if(r)return r}if(248===t.parent.kind&&e.isEntityNameExpression(t)){var n=Xr(t,70107135,!0);if(n&&n!==Y)return n}else if(!e.isPropertyAccessExpression(t)&&hg(t)){var i=e.getAncestor(t,242);return e.Debug.assert(void 0!==i),Kr(t,!0)}if(!e.isPropertyAccessExpression(t)){var a=function(t){for(var r=t.parent;e.isQualifiedName(r);)t=r,r=r.parent;if(r&&178===r.kind&&r.qualifier===t)return r}(t);
1if(a){xc(a);var o=kr(t).resolvedSymbol;return o===Y?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;if(function(e){for(var t=e;t.parent&&184===t.parent.kind;)t=t.parent;return t.parent&&206===t.parent.kind}(t)){var s=0;206===t.parent.kind?(s=67901928,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(s|=67216319)):s=1920,s|=2097152;var c=e.isEntityNameExpression(t)?Xr(t,s):void 0;if(c)return c}if(292===t.parent.kind)return e.getParameterSymbolFromJSDoc(t.parent);if(147===t.parent.kind&&295===t.parent.parent.kind){e.Debug.assert(!e.isInJavaScriptFile(t));var u=e.getTypeParameterFromJsDoc(t.parent);return u&&u.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t))return;if(71===t.kind){if(e.isJSXTagName(t)&&af(t)){var l=lf(t.parent);return l===Y?void 0:l}return Xr(t,67216319,!1,!0)}if(184===t.kind||145===t.kind){var d=kr(t);return d.resolvedSymbol?d.resolvedSymbol:(184===t.kind?Of(t):Ff(t),d.resolvedSymbol)}}else{if(_g(t))return Xr(t,s=161===t.parent.kind?67901928:1920,!1,!0);if(261===t.parent.kind)return xf(t.parent)}return 160===t.parent.kind?Xr(t,1):void 0}function yg(t){if(273===t.kind)return e.isExternalModule(t)?ln(t.symbol):void 0;if(!(8388608&t.flags)){if(d(t))return dn(t.parent);if(e.isLiteralComputedPropertyDeclarationName(t))return dn(t.parent.parent);if(71===t.kind){if(hg(t))return vg(t);if(181===t.parent.kind&&179===t.parent.parent.kind&&t===t.parent.propertyName){var r=bg(t.parent.parent),n=r&&$a(r,t.escapedText);if(n)return n}}switch(t.kind){case 71:case 184:case 145:return vg(t);case 99:var i=e.getThisContainer(t,!1);if(e.isFunctionLike(i)){var a=go(i);if(a.thisParameter)return a.thisParameter}if(e.isInExpressionContext(t))return S_(t).symbol;case 173:return bc(t).symbol;case 97:return S_(t).symbol;case 123:var o=t.parent;return o&&154===o.kind?o.parent.symbol:void 0;case 9:case 13:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(243===t.parent.kind||249===t.parent.kind)&&t.parent.moduleSpecifier===t||e.isInJavaScriptFile(t)&&e.isRequireCall(t.parent,!1)||e.isImportCall(t.parent)||e.isLiteralTypeNode(t.parent)&&e.isLiteralImportTypeNode(t.parent.parent)&&t.parent.parent.argument===t.parent)return Yr(t,t);case 8:var s=e.isElementAccessExpression(t.parent)?t.parent.argumentExpression===t?b_(t.parent.expression):void 0:e.isLiteralTypeNode(t.parent)&&e.isIndexedAccessTypeNode(t.parent.parent)?xc(t.parent.parent.objectType):void 0;return s&&$a(s,e.escapeLeadingUnderscores(t.text));case 79:case 89:case 36:return dn(t.parent);case 178:return e.isLiteralImportTypeNode(t)?yg(t.argument.literal):void 0;default:return}}}function bg(t){if(8388608&t.flags)return te;if(e.isPartOfTypeNode(t)){var r=xc(t);return r&&e.isExpressionWithTypeArgumentsInClassImplementsClause(t)&&(r=ca(r,(n=bg(e.getContainingClass(t))).thisType)),r}if(e.isExpressionNode(t))return xg(t);if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t)){var n,i=Ii(n=Ji(dn(e.getContainingClass(t))))[0];return i&&ca(i,n.thisType)}var a,o;if(pg(t))return Ji(o=dn(t));if(71===(a=t).kind&&pg(a.parent)&&a.parent.name===a)return(o=yg(t))&&Ji(o);if(e.isDeclaration(t))return xi(o=dn(t));if(d(t))return(o=yg(t))&&xi(o);if(e.isBindingPattern(t))return si(t.parent,!0);if(hg(t)&&(o=yg(t))){var s=Ji(o);return s!==te?s:xi(o)}return te}function xg(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),hc(b_(t))}function Sg(t){t=Ka(t);var r=e.createSymbolTable(Ia(t));return kg(t)&&e.forEach(Ia(Oe),function(e){r.has(e.escapedName)||r.set(e.escapedName,e)}),Sn(r)}function kg(t){return e.typeHasCallOrConstructSignatures(t,U)}function Cg(t){return!(e.isGeneratedIdentifier(t)||!(t=e.getParseTreeNode(t,e.isIdentifier)))&&(!(184===t.parent.kind&&t.parent.name===t)&&Kg(t)===B)}function Eg(t){var r=Yr(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var n=rn(r),i=Sr(r=en(r));return void 0===i.exportsSomeValue&&(i.exportsSomeValue=n?!!(67216319&r.flags):e.forEachEntry(sn(r),function(e){return(e=Vr(e))&&!!(67216319&e.flags)})),i.exportsSomeValue}function Tg(t,r){if(t=e.getParseTreeNode(t,e.isIdentifier)){var n=Kg(t,function(t){var r=t.parent;return r&&e.isModuleOrEnumDeclaration(r)&&t===r.name}(t));if(n){if(1048576&n.flags){var i=ln(n.exportSymbol);if(!r&&944&i.flags&&!(3&i.flags))return;n=i}var a=fn(n);if(a){if(512&a.flags&&273===a.valueDeclaration.kind){var o=a.valueDeclaration;return o!==e.getSourceFileOfNode(t)?void 0:o}
1return e.findAncestor(t.parent,function(t){return e.isModuleOrEnumDeclaration(t)&&dn(t)===a})}}}}function wg(t){if(t=e.getParseTreeNode(t,e.isIdentifier)){var r=Kg(t);if(Ur(r,67216319))return Ir(r)}}function Dg(t){if(418&t.flags){var r=Sr(t);if(void 0===r.isDeclarationWithCollidingName){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)){var i=kr(t.valueDeclaration);if(wr(n.parent,t.escapedName,67216319,void 0,void 0,!1))r.isDeclarationWithCollidingName=!0;else if(131072&i.flags){var a=262144&i.flags,o=e.isIterationStatement(n,!1),s=212===n.kind&&e.isIterationStatement(n.parent,!1);r.isDeclarationWithCollidingName=!e.isBlockScopedContainerTopLevel(n)&&(!a||!o&&!s)}else r.isDeclarationWithCollidingName=!1}}return r.isDeclarationWithCollidingName}return!1}function Ag(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var r=Kg(t);if(r&&Dg(r))return r.valueDeclaration}}function Ng(t){if(t=e.getParseTreeNode(t,e.isDeclaration)){var r=dn(t);if(r)return Dg(r)}return!1}function Pg(t){switch(t.kind){case 242:case 244:case 245:case 247:case 251:return Fg(dn(t)||Y);case 249:var r=t.exportClause;return r&&e.forEach(r.elements,Pg);case 248:return!t.expression||71!==t.expression.kind||Fg(dn(t)||Y)}return!1}function Og(t){return!(void 0===(t=e.getParseTreeNode(t,e.isImportEqualsDeclaration))||273!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&Fg(dn(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference)}function Fg(e){var t=Jr(e);return t===Y||67216319&t.flags&&(E.preserveConstEnums||!Mg(t))}function Mg(e){return i_(e)||e.constEnumOnlyModule}function Ig(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return!1;var r=vo(dn(t));return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function Lg(t){return A&&!uo(t)&&!e.isJSDocParameterTag(t)&&t.initializer&&!e.hasModifier(t,92)}function Rg(t){return A&&uo(t)&&!t.initializer&&e.hasModifier(t,92)}function jg(e){return kr(e).flags}function Bg(e){return Km(e.parent),kr(e).enumMemberValue}function zg(e){switch(e.kind){case 272:case 184:case 185:return!0}return!1}function qg(t){if(272===t.kind)return Bg(t);var r=kr(t).resolvedSymbol;return r&&8&r.flags&&e.isConstEnumDeclaration(r.valueDeclaration.parent)?Bg(r.valueDeclaration):void 0}function Ug(t,r){if(!(t=e.getParseTreeNode(t,e.isEntityName)))return e.TypeReferenceSerializationKind.Unknown;if(r&&!(r=e.getParseTreeNode(r)))return e.TypeReferenceSerializationKind.Unknown;var n=Xr(t,67216319,!0,!1,r),i=Xr(t,67901928,!0,!1,r);if(n&&n===i){var a=ls(!1);if(a&&n===a)return e.TypeReferenceSerializationKind.Promise;var o=xi(n);if(o&&Ni(o))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.Unknown;var s=Ji(i);return s===te?e.TypeReferenceSerializationKind.Unknown:1&s.flags?e.TypeReferenceSerializationKind.ObjectType:t_(s,30720)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:t_(s,136)?e.TypeReferenceSerializationKind.BooleanType:t_(s,84)?e.TypeReferenceSerializationKind.NumberLikeType:t_(s,34)?e.TypeReferenceSerializationKind.StringLikeType:Iu(s)?e.TypeReferenceSerializationKind.ArrayLikeType:t_(s,1536)?e.TypeReferenceSerializationKind.ESSymbolType:function(e){return 65536&e.flags&&Za(e,0).length>0}(s)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Cu(s)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function Vg(t,r,n,i,a){if(!(t=e.getParseTreeNode(t,e.isVariableLikeOrAccessor)))return e.createToken(119);var o=dn(t),s=!o||133120&o.flags?te:Ou(xi(o));return 1024&s.flags&&s.symbol===o&&(n|=1048576),a&&(s=qu(s)),L.typeToTypeNode(s,r,1024|n,i)}function Jg(t,r,n,i){if(!(t=e.getParseTreeNode(t,e.isFunctionLike)))return e.createToken(119);var a=go(t);return L.typeToTypeNode(So(a),r,1024|n,i)}function Hg(t,r,n,i){if(!(t=e.getParseTreeNode(t,e.isExpression)))return e.createToken(119);var a=Yu(xg(t));return L.typeToTypeNode(a,r,1024|n,i)}function Wg(t){return gt.has(e.escapeLeadingUnderscores(t))}function Kg(t,r){var n=kr(t).resolvedSymbol;if(n)return n;var i=t;if(r){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=$n(a))}return wr(i,t.escapedText,70362047,void 0,void 0,!0)}function Gg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var r=Kg(t);if(r)return mn(r).valueDeclaration}}function Xg(t){if(e.isConst(t)){var r=xi(dn(t));return!!(96&r.flags&&8388608&r.flags)}return!1}function Yg(t){return function(t){return e.createLiteral(t.value)}(xi(dn(t)))}function $g(t){var r=238===t.kind?e.tryCast(t.name,e.isStringLiteral):e.getExternalModuleName(t),n=$r(r,r,void 0);if(n)return e.getDeclarationOfKind(n,273)}function Qg(t,r){if((_&r)!==r&&E.importHelpers){var n=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(n,E)&&!(4194304&t.flags)){var i=(c=n,u=t,m||(m=Qr(c,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,u)||Y),m);if(i!==Y)for(var a=r&~_,o=1;o<=65536;o<<=1)if(a&o){var s=Zg(o);Er(i.exports,e.escapeLeadingUnderscores(s),67216319)||fr(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s)}_|=r}}var c,u}function Zg(t){switch(t){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";
1case 65536:return"__makeTemplateObject";default:e.Debug.fail("Unrecognized helper")}}function eh(t){return function(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t,t.parent,t.parent.parent))return 153!==t.kind||e.nodeIsPresent(t.body)?yh(t,e.Diagnostics.Decorators_are_not_valid_here):yh(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(155===t.kind||156===t.kind){var r=e.getAllAccessorDeclarations(t.parent.members,t);if(r.firstAccessor.decorators&&t===r.secondAccessor)return yh(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(t)||function(t){var r,n,i,a,o=function(t){return!!t.modifiers&&(function(t){switch(t.kind){case 155:case 156:case 154:case 151:case 150:case 153:case 152:case 159:case 238:case 243:case 242:case 249:case 248:case 191:case 192:case 148:return!1;default:if(239===t.parent.kind||273===t.parent.kind)return!1;switch(t.kind){case 233:return th(t,120);case 234:return th(t,117);case 235:case 213:case 236:return!0;case 237:return th(t,76);default:return e.Debug.fail(),!1}}}(t)?yh(t,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(t);if(void 0!==o)return o;for(var s=0,c=0,u=t.modifiers;c<u.length;c++){var l=u[c];if(132!==l.kind){if(150===t.kind||152===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(l.kind));if(159===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(l.kind))}switch(l.kind){case 76:if(237!==t.kind&&234===t.parent.kind)return xh(t,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(76));break;case 114:case 113:case 112:var d=qn(e.modifierToFlag(l.kind));if(28&s)return xh(l,e.Diagnostics.Accessibility_modifier_already_seen);if(32&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"static");if(64&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"readonly");if(256&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"async");if(239===t.parent.kind||273===t.parent.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(128&s)return 112===l.kind?xh(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"abstract");s|=e.modifierToFlag(l.kind);break;case 115:if(32&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"static");if(64&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(239===t.parent.kind||273===t.parent.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(148===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return xh(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");s|=32,r=l;break;case 132:if(64&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"readonly");if(151!==t.kind&&150!==t.kind&&159!==t.kind&&148!==t.kind)return xh(l,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,a=l;break;case 84:if(1&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"export");if(2&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return xh(l,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(234===t.parent.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"export");if(148===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 79:var f=273===t.parent.kind?t.parent:t.parent.parent;if(238===f.kind&&!e.isAmbientModule(f))return xh(l,e.Diagnostics.A_default_export_
1can_only_be_used_in_an_ECMAScript_style_module);s|=512;break;case 124:if(2&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return xh(l,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(234===t.parent.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_class_element,"declare");if(148===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(4194304&t.parent.flags&&239===t.parent.kind)return xh(l,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);s|=2,n=l;break;case 117:if(128&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"abstract");if(234!==t.kind){if(153!==t.kind&&151!==t.kind&&155!==t.kind&&156!==t.kind)return xh(l,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(234!==t.parent.kind||!e.hasModifier(t.parent,128))return xh(l,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return xh(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return xh(l,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract")}s|=128;break;case 120:if(256&s)return xh(l,e.Diagnostics._0_modifier_already_seen,"async");if(2&s||4194304&t.parent.flags)return xh(l,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(148===t.kind)return xh(l,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");s|=256,i=l}}return 154===t.kind?32&s?xh(r,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):128&s?xh(r,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract"):256&s?xh(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):64&s?xh(a,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly"):void 0:(243===t.kind||242===t.kind)&&2&s?xh(n,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):148===t.kind&&92&s&&e.isBindingPattern(t.name)?xh(t,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern):148===t.kind&&92&s&&t.dotDotDotToken?xh(t,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter):256&s?function(t,r){switch(t.kind){case 153:case 233:case 191:case 192:return!1}return xh(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}(t,i):void 0}(t)}function th(e,t){return e.modifiers.length>1||e.modifiers[0].kind!==t}function rh(t,r){if(void 0===r&&(r=e.Diagnostics.Trailing_comma_not_allowed),t&&t.hasTrailingComma)return bh(t[0],t.end-",".length,",".length,r)}function nh(t,r){if(t&&0===t.length){var n=t.pos-"<".length;return bh(r,n,e.skipTrivia(r.text,t.end)+">".length-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}}function ih(t){var r=e.getSourceFileOfNode(t);return eh(t)||nh(t.typeParameters,r)||function(t){for(var r=!1,n=t.length,i=0;i<n;i++){var a=t[i];if(a.dotDotDotToken){if(i!==n-1)return xh(a.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(4194304&a.flags||rh(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.isBindingPattern(a.name))return xh(a.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(a.questionToken)return xh(a.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(a.initializer)return xh(a.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(a.questionToken){if(r=!0,a.initializer)return xh(a.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(r&&!a.initializer)return xh(a.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}(t.parameters)||function(t,r){if(!e.isArrowFunction(t))return!1;var n=t.equalsGreaterThanToken,i=e.getLineAndCharacterOfPosition(r,n.pos).line,a=e.getLineAndCharacterOfPosition(r,n.end).line;return i!==a&&xh(n,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(t,r)}function ah(t,r){return rh(r)||function(t,r){if(r&&0===r.length){var n=e.getSourceFileOfNode(t),i=r.pos-"<".length;return bh(n,i,e.skipTrivia(n.text,r.end)+">".length-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}}(t,r)}function oh(t){return function(t){if(t)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(205===i.kind)return bh(i,i.pos,0,e.Diagnostics.Argument_expression_expected)}}(t)}function sh(t){var r=t.types;if(rh(r))return!0;
1if(r&&0===r.length){var n=e.tokenToString(t.token);return bh(t,r.pos,0,e.Diagnostics._0_list_cannot_be_empty,n)}return e.forEach(r,ch)}function ch(e){return ah(e,e.typeArguments)}function uh(t){if(146!==t.kind)return!1;var r=t;return 199===r.expression.kind&&26===r.expression.operatorToken.kind?xh(r.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name):void 0}function lh(t){if(t.asteriskToken){if(e.Debug.assert(233===t.kind||191===t.kind||153===t.kind),4194304&t.flags)return xh(t.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!t.body)return xh(t.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function dh(e,t){if(e)return xh(e,t)}function fh(t){if(Sh(t))return!0;if(221===t.kind&&t.awaitModifier&&0===(16384&t.flags))return xh(t.awaitModifier,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator);if(232===t.initializer.kind){var r=t.initializer;if(!hh(r)){var n=r.declarations;if(!n.length)return!1;if(n.length>1){var i=220===t.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return yh(r.declarations[1],i)}var a=n[0];if(a.initializer){var i=220===t.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return xh(a.name,i)}if(a.type)return xh(a,i=220===t.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function ph(t){if(t.parameters.length===(155===t.kind?1:2))return e.getThisParameter(t)}function _h(t,r){if(function(t){return e.isDynamicName(t)&&!ea(t)}(t))return xh(t,r)}function mh(t){if(ih(t))return!0;if(153===t.kind){if(183===t.parent.kind){if(t.modifiers&&(1!==t.modifiers.length||120!==e.first(t.modifiers).kind))return yh(t,e.Diagnostics.Modifiers_cannot_appear_here);if(dh(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(void 0===t.body)return bh(t,t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(lh(t))return!0}if(e.isClassLike(t.parent)){if(4194304&t.flags)return _h(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(153===t.kind&&!t.body)return _h(t.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(235===t.parent.kind)return _h(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(165===t.parent.kind)return _h(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function gh(e){return 9===e.kind||8===e.kind||197===e.kind&&38===e.operator&&8===e.operand.kind}function hh(t){var r=t.declarations;return!!rh(t.declarations)||(t.declarations.length?void 0:bh(t,r.pos,r.end-r.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty))}function vh(e){return e.parseDiagnostics.length>0}function yh(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!vh(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Ut.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a)),!0}}function bh(t,r,n,i,a,o,s){var c=e.getSourceFileOfNode(t);if(!vh(c))return Ut.add(e.createFileDiagnostic(c,r,n,i,a,o,s)),!0}function xh(t,r,n,i,a){if(!vh(e.getSourceFileOfNode(t)))return Ut.add(e.createDiagnosticForNode(t,r,n,i,a)),!0}function Sh(t){if(4194304&t.flags){if(e.isAccessor(t.parent))return kr(t).hasReportedStatementInAmbientContext=!0;if(!kr(t).hasReportedStatementInAmbientContext&&e.isFunctionLike(t.parent))return kr(t).hasReportedStatementInAmbientContext=yh(t,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(212===t.parent.kind||239===t.parent.kind||273===t.parent.kind){var r=kr(t.parent);if(!r.hasReportedStatementInAmbientContext)return r.hasReportedStatementInAmbientContext=yh(t,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}}function kh(t){if(32&t.numericLiteralFlags){var r=void 0;if(T>=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,177)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,272)&&(r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),r){var n=e.isPrefixUnaryExpression(t.parent)&&38===t.parent.operator,i=(n?"-":"")+"0o"+t.text;return xh(n?t.parent:t,r,i)}}}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes"}(t||(t={}))}(u||(u={})),function(e){function t(t){var r=e.createNode(t,-1,-1);return r.flags|=8,r}function r(t,r){return t!==r&&(zt(t,r),Mt(t,r),e.aggregateTransformFlags(t)),t}function n(t,r){if(t&&t!==e.emptyArray){if(e.isNodeArray(t))return t}else t=[];var n=t;return n.pos=-1,n.end=-1,n.hasTrailingComma=r,n}function i(e){if(void 0!==e){var r=t(e.kind);for(var n in r.flags|=e.flags,zt(r,e),e)!r.hasOwnProperty(n)&&e.hasOwnProperty(n)&&(r[n]=e[n]);return r}}function a(t,r){if("number"===typeof t)return o(t+"");
1if("boolean"===typeof t)return t?p():_();if(e.isString(t)){var n=s(t);return r&&(n.singleQuote=!0),n}return function(t){var r=s(e.getTextOfIdentifierOrLiteral(t));return r.textSourceNode=t,r}(t)}function o(e){var r=t(8);return r.text=e,r.numericLiteralFlags=0,r}function s(e){var r=t(9);return r.text=e,r}function c(r,i){var a=t(71);return a.escapedText=e.escapeLeadingUnderscores(r),a.originalKeywordKind=r?e.stringToToken(r):0,a.autoGenerateFlags=0,a.autoGenerateId=0,i&&(a.typeArguments=n(i)),a}e.updateNode=r,e.createNodeArray=n,e.getSynthesizedClone=i,e.createLiteral=a,e.createNumericLiteral=o,e.createStringLiteral=s,e.createRegularExpressionLiteral=function(e){var r=t(12);return r.text=e,r},e.createIdentifier=c,e.updateIdentifier=function(t,n){return t.typeArguments!==n?r(c(e.idText(t),n),t):t};var u,l=0;function d(e){var t=c(e);return t.autoGenerateFlags=19,t.autoGenerateId=l,l++,t}function f(e){return t(e)}function p(){return t(101)}function _(){return t(86)}function m(e){return f(e)}function g(e,r){var n=t(145);return n.left=e,n.right=Pt(r),n}function h(r){var n=t(146);return n.expression=function(t){return e.isBinaryExpression(t)&&26===t.operatorToken.kind||301===t.kind?ie(t):t}(r),n}function v(e,r,n){var i=t(147);return i.name=Pt(e),i.constraint=r,i.default=n,i}function y(r,n,i,a,o,s,c){var u=t(148);return u.decorators=Ot(r),u.modifiers=Ot(n),u.dotDotDotToken=i,u.name=Pt(a),u.questionToken=o,u.type=s,u.initializer=c?e.parenthesizeExpressionForList(c):void 0,u}function b(r){var n=t(149);return n.expression=e.parenthesizeForAccess(r),n}function x(e,r,n,i,a){var o=t(150);return o.modifiers=Ot(e),o.name=Pt(r),o.questionToken=n,o.type=i,o.initializer=a,o}function S(e,r,n,i,a,o){var s=t(151);return s.decorators=Ot(e),s.modifiers=Ot(r),s.name=Pt(n),s.questionToken=void 0!==i&&55===i.kind?i:void 0,s.exclamationToken=void 0!==i&&51===i.kind?i:void 0,s.type=a,s.initializer=o,s}function k(e,t,r,n,i){var a=A(152,e,t,r);return a.name=Pt(n),a.questionToken=i,a}function C(e,r,i,a,o,s,c,u,l){var d=t(153);return d.decorators=Ot(e),d.modifiers=Ot(r),d.asteriskToken=i,d.name=Pt(a),d.questionToken=o,d.typeParameters=Ot(s),d.parameters=n(c),d.type=u,d.body=l,d}function E(e,r,i,a){var o=t(154);return o.decorators=Ot(e),o.modifiers=Ot(r),o.typeParameters=void 0,o.parameters=n(i),o.type=void 0,o.body=a,o}function T(e,r,i,a,o,s){var c=t(155);return c.decorators=Ot(e),c.modifiers=Ot(r),c.name=Pt(i),c.typeParameters=void 0,c.parameters=n(a),c.type=o,c.body=s,c}function w(e,r,i,a,o){var s=t(156);return s.decorators=Ot(e),s.modifiers=Ot(r),s.name=Pt(i),s.typeParameters=void 0,s.parameters=n(a),s.body=o,s}function D(e,r,i,a){var o=t(159);return o.decorators=Ot(e),o.modifiers=Ot(r),o.parameters=n(i),o.type=a,o}function A(e,r,n,i,a){var o=t(e);return o.typeParameters=Ot(r),o.parameters=Ot(n),o.type=i,o.typeArguments=Ot(a),o}function N(e,t,n,i){return e.typeParameters!==t||e.parameters!==n||e.type!==i?r(A(e.kind,t,n,i),e):e}function P(e,r){var n=t(160);return n.parameterName=Pt(e),n.type=r,n}function O(r,n){var i=t(161);return i.typeName=Pt(r),i.typeArguments=n&&e.parenthesizeTypeParameters(n),i}function F(e){var r=t(164);return r.exprName=e,r}function M(e){var r=t(165);return r.members=n(e),r}function I(r){var n=t(166);return n.elementType=e.parenthesizeArrayTypeMember(r),n}function L(e){var r=t(167);return r.elementTypes=n(e),r}function R(r,n){var i=t(r);return i.types=e.parenthesizeElementTypeMembers(n),i}function j(e,t){return e.types!==t?r(R(e.kind,t),e):e}function B(r,n,i,a){var o=t(170);return o.checkType=e.parenthesizeConditionalTypeMember(r),o.extendsType=e.parenthesizeConditionalTypeMember(n),o.trueType=i,o.falseType=a,o}function z(e){var r=t(171);return r.typeParameter=e,r}function q(e,r,n,i){var a=t(178);return a.argument=e,a.qualifier=r,a.typeArguments=Ot(n),a.isTypeOf=i,a}function U(e){var r=t(172);return r.type=e,r}function V(r,n){var i=t(174);return i.operator="number"===typeof r?r:128,i.type=e.parenthesizeElementTypeMember("number"===typeof r?n:r),i}function J(r,n){var i=t(175);return i.objectType=e.parenthesizeElementTypeMember(r),i.indexType=n,i}
1function H(e,r,n,i){var a=t(176);return a.readonlyToken=e,a.typeParameter=r,a.questionToken=n,a.type=i,a}function W(e){var r=t(177);return r.literal=e,r}function K(e){var r=t(179);return r.elements=n(e),r}function G(e){var r=t(180);return r.elements=n(e),r}function X(e,r,n,i){var a=t(181);return a.dotDotDotToken=e,a.propertyName=Pt(r),a.name=Pt(n),a.initializer=i,a}function Y(r,i){var a=t(182);return a.elements=e.parenthesizeListElements(n(r)),i&&(a.multiLine=!0),a}function $(e,r){var i=t(183);return i.properties=n(e),r&&(i.multiLine=!0),i}function Q(r,n){var i=t(184);return i.expression=e.parenthesizeForAccess(r),i.name=Pt(n),It(i,131072),i}function Z(r,n){var i,o=t(185);return o.expression=e.parenthesizeForAccess(r),o.argumentExpression=(i=n,e.isString(i)||"number"===typeof i?a(i):i),o}function ee(r,i,a){var o=t(186);return o.expression=e.parenthesizeForAccess(r),o.typeArguments=Ot(i),o.arguments=e.parenthesizeListElements(n(a)),o}function te(r,i,a){var o=t(187);return o.expression=e.parenthesizeForNew(r),o.typeArguments=Ot(i),o.arguments=a?e.parenthesizeListElements(n(a)):void 0,o}function re(r,n,i){var a=t(188);return a.tag=e.parenthesizeForAccess(r),i?(a.typeArguments=Ot(n),a.template=i):(a.typeArguments=void 0,a.template=n),a}function ne(r,n){var i=t(189);return i.type=r,i.expression=e.parenthesizePrefixOperand(n),i}function ie(e){var r=t(190);return r.expression=e,r}function ae(e,r,i,a,o,s,c){var u=t(191);return u.modifiers=Ot(e),u.asteriskToken=r,u.name=Pt(i),u.typeParameters=Ot(a),u.parameters=n(o),u.type=s,u.body=c,u}function oe(r,i,a,o,s,c){var u=t(192);return u.modifiers=Ot(r),u.typeParameters=Ot(i),u.parameters=n(a),u.type=o,u.equalsGreaterThanToken=s||f(36),u.body=e.parenthesizeConciseBody(c),u}function se(r){var n=t(193);return n.expression=e.parenthesizePrefixOperand(r),n}function ce(r){var n=t(194);return n.expression=e.parenthesizePrefixOperand(r),n}function ue(r){var n=t(195);return n.expression=e.parenthesizePrefixOperand(r),n}function le(r){var n=t(196);return n.expression=e.parenthesizePrefixOperand(r),n}function de(r,n){var i=t(197);return i.operator=r,i.operand=e.parenthesizePrefixOperand(n),i}function fe(r,n){var i=t(198);return i.operand=e.parenthesizePostfixOperand(r),i.operator=n,i}function pe(r,n,i){var a,o=t(199),s="number"===typeof(a=n)?f(a):a,c=s.kind;return o.left=e.parenthesizeBinaryOperand(c,r,!0,void 0),o.operatorToken=s,o.right=e.parenthesizeBinaryOperand(c,i,!1,o.left),o}function _e(r,n,i,a,o){var s=t(200);return s.condition=e.parenthesizeForConditionalHead(r),s.questionToken=o?n:f(55),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?i:n),s.colonToken=o?a:f(56),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||i),s}function me(e,r){var i=t(201);return i.head=e,i.templateSpans=n(r),i}function ge(e,r){var n=t(202);return n.asteriskToken=e&&39===e.kind?e:void 0,n.expression=e&&39!==e.kind?e:r,n}function he(r){var n=t(203);return n.expression=e.parenthesizeExpressionForList(r),n}function ve(e,r,i,a,o){var s=t(204);return s.decorators=void 0,s.modifiers=Ot(e),s.name=Pt(r),s.typeParameters=Ot(i),s.heritageClauses=Ot(a),s.members=n(o),s}function ye(r,n){var i=t(206);return i.expression=e.parenthesizeForAccess(n),i.typeArguments=Ot(r),i}function be(e,r){var n=t(207);return n.expression=e,n.type=r,n}function xe(r){var n=t(208);return n.expression=e.parenthesizeForAccess(r),n}function Se(e,r){var n=t(209);return n.keywordToken=e,n.name=r,n}function ke(e,r){var n=t(210);return n.expression=e,n.literal=r,n}function Ce(e,r){var i=t(212);return i.statements=n(e),r&&(i.multiLine=r),i}function Ee(e){var r=t(215);return r.expression=e,r}function Te(r,n){var i=t(213);return i.decorators=void 0,i.modifiers=Ot(r),i.declarationList=e.isArray(n)?Ve(n):n,i}function we(t){return Ee(e.parenthesizeExpressionForExpressionStatement(t))}function De(e,r,n){var i=t(216);return i.expression=e,i.thenStatement=r,i.elseStatement=n,i}function Ae(e,r){var n=t(217);return n.statement=e,n.expression=r,n}function Ne(e,r){var n=t(218);return n.expression=e,n.statement=r,n}function Pe(e,r,n,i){var a=t(219);return a.initializer=e,a.condition=r,a.incrementor=n,a.statement=i,a}function Oe(e,r,n){var i=t(220);return i.initializer=e,i.expression=r,i.statement=n,i}function Fe(e,r,n,i){var a=t(221);return a.awaitModifier=e,a.initializer=r,a.expression=n,a.statement=i,a}function Me(e){var r=t(222);return r.label=Pt(e),r}function Ie(e){var r=t(223);return r.label=Pt(e),r}function Le(e){var r=t(224);return r.expression=e,r}function Re(e,r){var n=t(225);return n.expression=e,n.statement=r,n}function je(r,n){var i=t(226);return i.expression=e.parenthesizeExpressionForList(r),i.caseBlock=n,i}function Be(e,r){var n=t(227);return n.label=Pt(e),n.statement=r,n}function ze(e){var r=t(228);return r.expression=e,r}function qe(e,r,n){var i=t(229);return i.tryBlock=e,i.catchClause=r,i.finallyBlock=n,i}function Ue(r,n,i){var a=t(231);return a.name=Pt(r),a.type=n,a.initializer=void 0!==i?e.parenthesizeExpressionForList(i):void 0,a}function Ve(e,r){var i=t(232);return i.flags|=3&r,i.declarations=n(e),i}
1function Je(e,r,i,a,o,s,c,u){var l=t(233);return l.decorators=Ot(e),l.modifiers=Ot(r),l.asteriskToken=i,l.name=Pt(a),l.typeParameters=Ot(o),l.parameters=n(s),l.type=c,l.body=u,l}function He(e,r,i,a,o,s){var c=t(234);return c.decorators=Ot(e),c.modifiers=Ot(r),c.name=Pt(i),c.typeParameters=Ot(a),c.heritageClauses=Ot(o),c.members=n(s),c}function We(e,r,i,a,o,s){var c=t(235);return c.decorators=Ot(e),c.modifiers=Ot(r),c.name=Pt(i),c.typeParameters=Ot(a),c.heritageClauses=Ot(o),c.members=n(s),c}function Ke(e,r,n,i,a){var o=t(236);return o.decorators=Ot(e),o.modifiers=Ot(r),o.name=Pt(n),o.typeParameters=Ot(i),o.type=a,o}function Ge(e,r,i,a){var o=t(237);return o.decorators=Ot(e),o.modifiers=Ot(r),o.name=Pt(i),o.members=n(a),o}function Xe(e,r,n,i,a){var o=t(238);return o.flags|=532&a,o.decorators=Ot(e),o.modifiers=Ot(r),o.name=n,o.body=i,o}function Ye(e){var r=t(239);return r.statements=n(e),r}function $e(e){var r=t(240);return r.clauses=n(e),r}function Qe(e){var r=t(241);return r.name=Pt(e),r}function Ze(e,r,n,i){var a=t(242);return a.decorators=Ot(e),a.modifiers=Ot(r),a.name=Pt(n),a.moduleReference=i,a}function et(e,r,n,i){var a=t(243);return a.decorators=Ot(e),a.modifiers=Ot(r),a.importClause=n,a.moduleSpecifier=i,a}function tt(e,r){var n=t(244);return n.name=e,n.namedBindings=r,n}function rt(e){var r=t(245);return r.name=e,r}function nt(e){var r=t(246);return r.elements=n(e),r}function it(e,r){var n=t(247);return n.propertyName=e,n.name=r,n}function at(r,n,i,a){var o=t(248);return o.decorators=Ot(r),o.modifiers=Ot(n),o.isExportEquals=i,o.expression=i?e.parenthesizeBinaryOperand(58,a,!1,void 0):e.parenthesizeDefaultExpression(a),o}function ot(e,r,n,i){var a=t(249);return a.decorators=Ot(e),a.modifiers=Ot(r),a.exportClause=n,a.moduleSpecifier=i,a}function st(e){var r=t(250);return r.elements=n(e),r}function ct(e,r){var n=t(251);return n.propertyName=Pt(e),n.name=Pt(r),n}function ut(e){var r=t(253);return r.expression=e,r}function lt(e,r,i){var a=t(254);return a.openingElement=e,a.children=n(r),a.closingElement=i,a}function dt(e,r,i){var a=t(255);return a.tagName=e,a.typeArguments=r&&n(r),a.attributes=i,a}function ft(e,r,i){var a=t(256);return a.tagName=e,a.typeArguments=r&&n(r),a.attributes=i,a}function pt(e){var r=t(257);return r.tagName=e,r}function _t(e,r,i){var a=t(258);return a.openingFragment=e,a.children=n(r),a.closingFragment=i,a}function mt(e,r){var n=t(261);
1return n.name=e,n.initializer=r,n}function gt(e){var r=t(262);return r.properties=n(e),r}function ht(e){var r=t(263);return r.expression=e,r}function vt(e,r){var n=t(264);return n.dotDotDotToken=e,n.expression=r,n}function yt(r,i){var a=t(265);return a.expression=e.parenthesizeExpressionForList(r),a.statements=n(i),a}function bt(e){var r=t(266);return r.statements=n(e),r}function xt(e,r){var i=t(267);return i.token=e,i.types=n(r),i}function St(r,n){var i=t(268);return i.variableDeclaration=e.isString(r)?Ue(r):r,i.block=n,i}function kt(r,n){var i=t(269);return i.name=Pt(r),i.questionToken=void 0,i.initializer=e.parenthesizeExpressionForList(n),i}function Ct(r,n){var i=t(270);return i.name=Pt(r),i.objectAssignmentInitializer=void 0!==n?e.parenthesizeExpressionForList(n):void 0,i}function Et(r){var n=t(271);return n.expression=void 0!==r?e.parenthesizeExpressionForList(r):void 0,n}function Tt(r,n){var i=t(272);return i.name=Pt(r),i.initializer=n&&e.parenthesizeExpressionForList(n),i}function wt(e,r){var n=t(300);return n.expression=e,n.original=r,Mt(n,r),n}function Dt(t){if(e.nodeIsSynthesized(t)&&!e.isParseTreeNode(t)&&!t.original&&!t.emitNode&&!t.id){if(301===t.kind)return t.elements;if(e.isBinaryExpression(t)&&26===t.operatorToken.kind)return[t.left,t.right]}return t}function At(r){var i=t(301);return i.elements=n(e.sameFlatMap(r,Dt)),i}function Nt(t,r){void 0===r&&(r=e.emptyArray);var n=e.createNode(274);return n.prepends=r,n.sourceFiles=t,n}function Pt(t){return e.isString(t)?c(t):t}function Ot(e){return e?n(e):void 0}function Ft(t){if(!t.emitNode){if(e.isParseTreeNode(t)){if(273===t.kind)return t.emitNode={annotatedNodes:[t]};Ft(e.getSourceFileOfNode(t)).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function Mt(e,t){return t&&(e.pos=t.pos,e.end=t.end),e}function It(e,t){return Ft(e).flags=t,e}function Lt(e){var t=e.emitNode;return t&&t.leadingComments}function Rt(e,t){return Ft(e).leadingComments=t,e}function jt(e){var t=e.emitNode;return t&&t.trailingComments}function Bt(e,t){return Ft(e).trailingComments=t,e}function zt(t,r){if(t.original=r,r){var n=r.emitNode;n&&(t.emitNode=function(t,r){var n=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers,d=t.startsOnNewLine;r||(r={});i&&(r.leadingComments=e.addRange(i.slice(),r.leadingComments));a&&(r.trailingComments=e.addRange(a.slice(),r.trailingComments));n&&(r.flags=n);o&&(r.commentRange=o);s&&(r.sourceMapRange=s);c&&(r.tokenSourceMapRanges=function(e,t){t||(t=[]);for(var r in e)t[r]=e[r];return t}(c,r.tokenSourceMapRanges));void 0!==u&&(r.constantValue=u);l&&(r.helpers=e.addRange(r.helpers,l));void 0!==d&&(r.startsOnNewLine=d);return r}(n,t.emitNode))}return t}e.createTempVariable=function(e,t){var r=c("");return r.autoGenerateFlags=1,r.autoGenerateId=l,l++,e&&e(r),t&&(r.autoGenerateFlags|=8),r},e.createLoopVariable=function(){var e=c("");return e.autoGenerateFlags=2,e.autoGenerateId=l,l++,e},e.createUniqueName=function(e){var t=c(e);return t.autoGenerateFlags=3,t.autoGenerateId=l,l++,t},e.createOptimisticUniqueName=d,e.createFileLevelUniqueName=function(e){var t=d(e);return t.autoGenerateFlags|=32,t},e.getGeneratedNameForNode=function(t,r){var n=c(e.isIdentifier(t)?e.idText(t):"");return n.autoGenerateFlags=4|r,n.autoGenerateId=l,n.original=t,l++,n},e.createToken=f,e.createSuper=function(){return t(97)},e.createThis=function(){return t(99)},e.createNull=function(){return t(95)},e.createTrue=p,e.createFalse=_,e.createModifier=m,e.createModifiersFromModifierFlags=function(e){var t=[];return 1&e&&t.push(m(84)),2&e&&t.push(m(124)),512&e&&t.push(m(79)),2048&e&&t.push(m(76)),4&e&&t.push(m(114)),8&e&&t.push(m(112)),16&e&&t.push(m(113)),128&e&&t.push(m(117)),32&e&&t.push(m(115)),64&e&&t.push(m(132)),256&e&&t.push(m(120)),t},e.createQualifiedName=g,e.updateQualifiedName=function(e,t,n){return e.left!==t||e.right!==n?r(g(t,n),e):e},e.createComputedPropertyName=h,e.updateComputedPropertyName=function(e,t){return e.expression!==t?r(h(t),e):e},e.createTypeParameterDeclaration=v,e.updateTypeParameterDeclaration=function(e,t,n,i){return e.name!==t||e.constraint!==n||e.default!==i?r(v(t,n,i),e):e},e.createParameter=y,e.updateParameter=function(e,t,n,i,a,o,s,c){return e.decorators!==t||e.modifiers!==n||e.dotDotDotToken!==i||e.name!==a||e.questionToken!==o||e.type!==s||e.initializer!==c?r(y(t,n,i,a,o,s,c),e):e},e.createDecorator=b,e.updateDecorator=function(e,t){return e.expression!==t?r(b(t),e):e},e.createPropertySignature=x,e.updatePropertySignature=function(e,t,n,i,a,o){return e.modifiers!==t||e.name!==n||e.questionToken!==i||e.type!==a||e.initializer!==o?r(x(t,n,i,a,o),e):e},e.createProperty=S,e.updateProperty=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.questionToken!==(void 0!==a&&55===a.kind?a:void 0)||e.exclamationToken!==(void 0!==a&&51===a.kind?a:void 0)||e.type!==o||e.initializer!==s?r(S(t,n,i,a,o,s),e):e},e.createMethodSignature=k,e.updateMethodSignature=function(e,t,n,i,a,o){return e.typeParameters!==t||e.parameters!==n||e.type!==i||e.name!==a||e.questionToken!==o?r(k(t,n,i,a,o),e):e},e.createMethod=C,e.updateMethod=function(e,t,n,i,a,o,s,c,u,l){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.questionToken!==o||e.typeParameters!==s||e.parameters!==c||e.type!==u||e.body!==l?r(C(t,n,i,a,o,s,c,u,l),e):e},e.createConstructor=E,e.updateConstructor=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.parameters!==i||e.body!==a?r(E(t,n,i,a),e):e},e.createGetAccessor=T,e.updateGetAccessor=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.type!==o||e.body!==s?r(T(t,n,i,a,o,s),e):e},e.createSetAccessor=w,e.updateSetAccessor=function(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.body!==o?r(w(t,n,i,a,o),e):e},e.createCallSignature=function(e,t,r){return A(157,e,t,r)},e.updateCallSignature=function(e,t,r,n){return N(e,t,r,n)},e.createConstructSignature=function(e,t,r){return A(158,e,t,r)},e.updateConstructSignature=function(e,t,r,n){return N(e,t,r,n)},e.createIndexSignature=D,e.updateIndexSignature=function(e,t,n,i,a){return e.parameters!==i||e.type!==a||e.decorators!==t||e.modifiers!==n?r(D(t,n,i,a),e):e},e.createSignatureDeclaration=A,e.createKeywordTypeNode=function(e){return t(e)},e.createTypePredicateNode=P,e.updateTypePredicateNode=function(e,t,n){return e.parameterName!==t||e.type!==n?r(P(t,n),e):e},e.createTypeReferenceNode=O,e.updateTypeReferenceNode=function(e,t,n){return e.typeName!==t||e.typeArguments!==n?r(O(t,n),e):e},e.createFunctionTypeNode=function(e,t,r){return A(162,e,t,r)},e.updateFunctionTypeNode=function(e,t,r,n){return N(e,t,r,n)},e.createConstructorTypeNode=function(e,t,r){return A(163,e,t,r)},e.updateConstructorTypeNode=function(e,t,r,n){return N(e,t,r,n)},e.createTypeQueryNode=F,e.updateTypeQueryNode=function(e,t){return e.exprName!==t?r(F(t),e):e},e.createTypeLiteralNode=M,e.updateTypeLiteralNode=function(e,t){return e.members!==t?r(M(t),e):e},e.createArrayTypeNode=I,e.updateArrayTypeNode=function(e,t){return e.elementType!==t?r(I(t),e):e},e.createTupleTypeNode=L,e.updateTypleTypeNode=function(e,t){return e.elementTypes!==t?r(L(t),e):e},e.createUnionTypeNode=function(e){return R(168,e)},e.updateUnionTypeNode=function(e,t){return j(e,t)},e.createIntersectionTypeNode=function(e){return R(169,e)},e.updateIntersectionTypeNode=function(e,t){return j(e,t)},e.createUnionOrIntersectionTypeNode=R,e.createConditionalTypeNode=B,e.updateConditionalTypeNode=function(e,t,n,i,a){return e.checkType!==t||e.extendsType!==n||e.trueType!==i||e.falseType!==a?r(B(t,n,i,a),e):e},e.createInferTypeNode=z,e.updateInferTypeNode=function(e,t){return e.typeParameter!==t?r(z(t),e):e},e.createImportTypeNode=q,e.updateImportTypeNode=function(e,t,n,i,a){return e.argument!==t||e.qualifier!==n||e.typeArguments!==i||e.isTypeOf!==a?r(q(t,n,i,a),e):e},e.createParenthesizedType=U,e.updateParenthesizedType=function(e,t){return e.type!==t?r(U(t),e):e},e.createThisTypeNode=function(){return t(173)},e.createTypeOperatorNode=V,e.updateTypeOperatorNode=function(e,t){return e.type!==t?r(V(e.operator,t),e):e},e.createIndexedAccessTypeNode=J,e.updateIndexedAccessTypeNode=function(e,t,n){return e.objectType!==t||e.indexType!==n?r(J(t,n),e):e},e.createMappedTypeNode=H,e.updateMappedTypeNode=function(e,t,n,i,a){return e.readonlyToken!==t||e.typeParameter!==n||e.questionToken!==i||e.type!==a?r(H(t,n,i,a),e):e},e.createLiteralTypeNode=W,e.updateLiteralTypeNode=function(e,t){return e.literal!==t?r(W(t),e):e},e.createObjectBindingPattern=K,e.updateObjectBindingPattern=function(e,t){return e.elements!==t?r(K(t),e):e},e.createArrayBindingPattern=G,e.updateArrayBindingPattern=function(e,t){return e.elements!==t?r(G(t),e):e},e.createBindingElement=X,e.updateBindingElement=function(e,t,n,i,a){return e.propertyName!==n||e.dotDotDotToken!==t||e.name!==i||e.initializer!==a?r(X(t,n,i,a),e):e},e.createArrayLiteral=Y,e.updateArrayLiteral=function(e,t){return e.elements!==t?r(Y(t,e.multiLine),e):e},e.createObjectLiteral=$,e.updateObjectLiteral=function(e,t){return e.properties!==t?r($(t,e.multiLine),e):e},e.createPropertyAccess=Q,e.updatePropertyAccess=function(t,n,i){return t.expression!==n||t.name!==i?r(It(Q(n,i),e.getEmitFlags(t)),t):t},e.createElementAccess=Z,e.updateElementAccess=function(e,t,n){return e.expression!==t||e.argumentExpression!==n?r(Z(t,n),e):e},e.createCall=ee,e.updateCall=function(e,t,n,i){return e.expression!==t||e.typeArguments!==n||e.arguments!==i?r(ee(t,n,i),e):e},e.createNew=te,e.updateNew=function(e,t,n,i){return e.expression!==t||e.typeArguments!==n||e.arguments!==i?r(te(t,n,i),e):e},e.createTaggedTemplate=re,e.updateTaggedTemplate=function(e,t,n,i){return e.tag!==t||(i?e.typeArguments!==n||e.template!==i:void 0!==e.typeArguments||e.template!==n)?r(re(t,n,i),e):e},e.createTypeAssertion=ne,e.updateTypeAssertion=function(e,t,n){return e.type!==t||e.expression!==n?r(ne(t,n),e):e},e.createParen=ie,e.updateParen=function(e,t){return e.expression!==t?r(ie(t),e):e},e.createFunctionExpression=ae,e.updateFunctionExpression=function(e,t,n,i,a,o,s,c){return e.name!==i||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==a||e.parameters!==o||e.type!==s||e.body!==c?r(ae(t,n,i,a,o,s,c),e):e},e.createArrowFunction=oe,e.updateArrowFunction=function(t,n,i,a,o,s,c){var u,l;return void 0===c?(u=t.equalsGreaterThanToken,l=e.cast(s,e.isConciseBody)):(u=e.cast(s,function(e){return 36===e.kind}),l=c),t.modifiers!==n||t.typeParameters!==i||t.parameters!==a||t.type!==o||t.equalsGreaterThanToken!==u||t.body!==l?r(oe(n,i,a,o,u,l),t):t},e.createDelete=se,e.updateDelete=function(e,t){return e.expression!==t?r(se(t),e):e},e.createTypeOf=ce,e.updateTypeOf=function(e,t){return e.expression!==t?r(ce(t),e):e},e.createVoid=ue,e.updateVoid=function(e,t){return e.expression!==t?r(ue(t),e):e},e.createAwait=le,e.updateAwait=function(e,t){return e.expression!==t?r(le(t),e):e},e.createPrefix=de,e.updatePrefix=function(e,t){return e.operand!==t?r(de(e.operator,t),e):e},e.createPostfix=fe,e.updatePostfix=function(e,t){return e.operand!==t?r(fe(t,e.operator),e):e},e.createBinary=pe,e.updateBinary=function(e,t,n,i){return e.left!==t||e.right!==n?r(pe(t,i||e.operatorToken,n),e):e},e.createConditional=_e,e.updateConditional=function t(n,i){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];if(2===a.length){var s=a[0],c=a[1];return t(n,i,n.questionToken,s,n.colonToken,c)}e.Debug.assert(4===a.length);var u=a[0],l=a[1],d=a[2],f=a[3];return n.condition!==i||n.questionToken!==u||n.whenTrue!==l||n.colonToken!==d||n.whenFalse!==f?r(_e(i,u,l,d,f),n):n},e.createTemplateExpression=me,e.updateTemplateExpression=function(e,t,n){return e.head!==t||e.templateSpans!==n?r(me(t,n),e):e},e.createTemplateHead=function(e){var r=t(14);return r.text=e,r},e.createTemplateMiddle=function(e){var r=t(15);return r.text=e,r},e.createTemplateTail=function(e){var r=t(16);return r.text=e,r},e.createNoSubstitutionTemplateLiteral=function(e){var r=t(13);return r.text=e,r},e.createYield=ge,e.updateYield=function(e,t,n){return e.expression!==n||e.asteriskToken!==t?r(ge(t,n),e):e},e.createSpread=he,e.updateSpread=function(e,t){return e.expression!==t?r(he(t),e):e},e.createClassExpression=ve,e.updateClassExpression=function(e,t,n,i,a,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?r(ve(t,n,i,a,o),e):e},e.createOmittedExpression=function(){return t(205)},e.createExpressionWithTypeArguments=ye,e.updateExpressionWithTypeArguments=function(e,t,n){return e.typeArguments!==t||e.expression!==n?r(ye(t,n),e):e},e.createAsExpression=be,e.updateAsExpression=function(e,t,n){return e.expression!==t||e.type!==n?r(be(t,n),e):e},e.createNonNullExpression=xe,e.updateNonNullExpression=function(e,t){return e.expression!==t?r(xe(t),e):e},e.createMetaProperty=Se,e.updateMetaProperty=function(e,t){return e.name!==t?r(Se(e.keywordToken,t),e):e},e.createTemplateSpan=ke,e.updateTemplateSpan=function(e,t,n){return e.expression!==t||e.literal!==n?r(ke(t,n),e):e},e.createSemicolonClassElement=function(){return t(211)},e.createBlock=Ce,e.createExpressionStatement=Ee,e.updateBlock=function(e,t){return e.statements!==t?r(Ce(t,e.multiLine),e):e},e.createVariableStatement=Te,e.updateVariableStatement=function(e,t,n){return e.modifiers!==t||e.declarationList!==n?r(Te(t,n),e):e},e.createEmptyStatement=function(){return t(214)},e.createStatement=we,e.updateStatement=function(e,t){return e.expression!==t?r(we(t),e):e},e.createIf=De,e.updateIf=function(e,t,n,i){return e.expression!==t||e.thenStatement!==n||e.elseStatement!==i?r(De(t,n,i),e):e},e.createDo=Ae,e.updateDo=function(e,t,n){return e.statement!==t||e.expression!==n?r(Ae(t,n),e):e},e.createWhile=Ne,e.updateWhile=function(e,t,n){return e.expression!==t||e.statement!==n?r(Ne(t,n),e):e},e.createFor=Pe,e.updateFor=function(e,t,n,i,a){return e.initializer!==t||e.condition!==n||e.incrementor!==i||e.statement!==a?r(Pe(t,n,i,a),e):e},e.createForIn=Oe,e.updateForIn=function(e,t,n,i){return e.initializer!==t||e.expression!==n||e.statement!==i?r(Oe(t,n,i),e):e},e.createForOf=Fe,e.updateForOf=function(e,t,n,i,a){return e.awaitModifier!==t||e.initializer!==n||e.expression!==i||e.statement!==a?r(Fe(t,n,i,a),e):e},e.createContinue=Me,e.updateContinue=function(e,t){return e.label!==t?r(Me(t),e):e},e.createBreak=Ie,e.updateBreak=function(e,t){return e.label!==t?r(Ie(t),e):e},e.createReturn=Le,e.updateReturn=function(e,t){return e.expression!==t?r(Le(t),e):e},e.createWith=Re,e.updateWith=function(e,t,n){return e.expression!==t||e.statement!==n?r(Re(t,n),e):e},e.createSwitch=je,e.updateSwitch=function(e,t,n){return e.expression!==t||e.caseBlock!==n?r(je(t,n),e):e},e.createLabel=Be,e.updateLabel=function(e,t,n){return e.label!==t||e.statement!==n?r(Be(t,n),e):e},e.createThrow=ze,e.updateThrow=function(e,t){return e.expression!==t?r(ze(t),e):e},e.createTry=qe,e.updateTry=function(e,t,n,i){return e.tryBlock!==t||e.catchClause!==n||e.finallyBlock!==i?r(qe(t,n,i),e):e},e.createDebuggerStatement=function(){return t(230)},e.createVariableDeclaration=Ue,e.updateVariableDeclaration=function(e,t,n,i){return e.name!==t||e.type!==n||e.initializer!==i?r(Ue(t,n,i),e):e},e.createVariableDeclarationList=Ve,e.updateVariableDeclarationList=function(e,t){return e.declarations!==t?r(Ve(t,e.flags),e):e},e.createFunctionDeclaration=Je,e.updateFunctionDeclaration=function(e,t,n,i,a,o,s,c,u){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==u?r(Je(t,n,i,a,o,s,c,u),e):e},e.createClassDeclaration=He,e.updateClassDeclaration=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.heritageClauses!==o||e.members!==s?r(He(t,n,i,a,o,s),e):e},e.createInterfaceDeclaration=We,e.updateInterfaceDeclaration=function(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.heritageClauses!==o||e.members!==s?r(We(t,n,i,a,o,s),e):e},e.createTypeAliasDeclaration=Ke,e.updateTypeAliasDeclaration=function(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.type!==o?r(Ke(t,n,i,a,o),e):e},e.createEnumDeclaration=Ge,e.updateEnumDeclaration=function(
1e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.members!==a?r(Ge(t,n,i,a),e):e},e.createModuleDeclaration=Xe,e.updateModuleDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.body!==a?r(Xe(t,n,i,a,e.flags),e):e},e.createModuleBlock=Ye,e.updateModuleBlock=function(e,t){return e.statements!==t?r(Ye(t),e):e},e.createCaseBlock=$e,e.updateCaseBlock=function(e,t){return e.clauses!==t?r($e(t),e):e},e.createNamespaceExportDeclaration=Qe,e.updateNamespaceExportDeclaration=function(e,t){return e.name!==t?r(Qe(t),e):e},e.createImportEqualsDeclaration=Ze,e.updateImportEqualsDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.moduleReference!==a?r(Ze(t,n,i,a),e):e},e.createImportDeclaration=et,e.updateImportDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.importClause!==i||e.moduleSpecifier!==a?r(et(t,n,i,a),e):e},e.createImportClause=tt,e.updateImportClause=function(e,t,n){return e.name!==t||e.namedBindings!==n?r(tt(t,n),e):e},e.createNamespaceImport=rt,e.updateNamespaceImport=function(e,t){return e.name!==t?r(rt(t),e):e},e.createNamedImports=nt,e.updateNamedImports=function(e,t){return e.elements!==t?r(nt(t),e):e},e.createImportSpecifier=it,e.updateImportSpecifier=function(e,t,n){return e.propertyName!==t||e.name!==n?r(it(t,n),e):e},e.createExportAssignment=at,e.updateExportAssignment=function(e,t,n,i){return e.decorators!==t||e.modifiers!==n||e.expression!==i?r(at(t,n,e.isExportEquals,i),e):e},e.createExportDeclaration=ot,e.updateExportDeclaration=function(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.exportClause!==i||e.moduleSpecifier!==a?r(ot(t,n,i,a),e):e},e.createNamedExports=st,e.updateNamedExports=function(e,t){return e.elements!==t?r(st(t),e):e},e.createExportSpecifier=ct,e.updateExportSpecifier=function(e,t,n){return e.propertyName!==t||e.name!==n?r(ct(t,n),e):e},e.createExternalModuleReference=ut,e.updateExternalModuleReference=function(e,t){return e.expression!==t?r(ut(t),e):e},e.createJsxElement=lt,e.updateJsxElement=function(e,t,n,i){return e.openingElement!==t||e.children!==n||e.closingElement!==i?r(lt(t,n,i),e):e},e.createJsxSelfClosingElement=dt,e.updateJsxSelfClosingElement=function(e,t,n,i){return e.tagName!==t||e.typeArguments!==n||e.attributes!==i?r(dt(t,n,i),e):e},e.createJsxOpeningElement=ft,e.updateJsxOpeningElement=function(e,t,n,i){return e.tagName!==t||e.typeArguments!==n||e.attributes!==i?r(ft(t,n,i),e):e},e.createJsxClosingElement=pt,e.updateJsxClosingElement=function(e,t){return e.tagName!==t?r(pt(t),e):e},e.createJsxFragment=_t,e.updateJsxFragment=function(e,t,n,i){return e.openingFragment!==t||e.children!==n||e.closingFragment!==i?r(_t(t,n,i),e):e},e.createJsxAttribute=mt,e.updateJsxAttribute=function(e,t,n){return e.name!==t||e.initializer!==n?r(mt(t,n),e):e},e.createJsxAttributes=gt,e.updateJsxAttributes=function(e,t){return e.properties!==t?r(gt(t),e):e},e.createJsxSpreadAttribute=ht,e.updateJsxSpreadAttribute=function(e,t){return e.expression!==t?r(ht(t),e):e},e.createJsxExpression=vt,e.updateJsxExpression=function(e,t){return e.expression!==t?r(vt(e.dotDotDotToken,t),e):e},e.createCaseClause=yt,e.updateCaseClause=function(e,t,n){return e.expression!==t||e.statements!==n?r(yt(t,n),e):e},e.createDefaultClause=bt,e.updateDefaultClause=function(e,t){return e.statements!==t?r(bt(t),e):e},e.createHeritageClause=xt,e.updateHeritageClause=function(e,t){return e.types!==t?r(xt(e.token,t),e):e},e.createCatchClause=St,e.updateCatchClause=function(e,t,n){return e.variableDeclaration!==t||e.block!==n?r(St(t,n),e):e},e.createPropertyAssignment=kt,e.updatePropertyAssignment=function(e,t,n){return e.name!==t||e.initializer!==n?r(kt(t,n),e):e},e.createShorthandPropertyAssignment=Ct,e.updateShorthandPropertyAssignment=function(e,t,n){return e.name!==t||e.objectAssignmentInitializer!==n?r(Ct(t,n),e):e},e.createSpreadAssignment=Et,e.updateSpreadAssignment=function(e,t){return e.expression!==t?r(Et(t),e):e},e.createEnumMember=Tt,e.updateEnumMember=function(e,t,n){return e.name!==t||e.initializer!==n?r(Tt(t,n),e):e},e.updateSourceFileNode=function(e,i,a,o,s,c){if(e.statements!==i||void 0!==a&&e.isDeclarationFile!==a||void 0!==o&&e.referencedFiles!==o||void 0!==s&&e.typeReferenceDirectives!==s||void 0!==c&&e.hasNoDefaultLib!==c){var u=t(273);return u.flags|=e.flags,u.statements=n(i),u.endOfFileToken=e.endOfFileToken,u.fileName=e.fileName,u.path=e.path,u.text=e.text,u.isDeclarationFile=void 0===a?e.isDeclarationFile:a,u.referencedFiles=void 0===o?e.referencedFiles:o,u.typeReferenceDirectives=void 0===s?e.typeReferenceDirectives:s,u.hasNoDefaultLib=void 0===c?e.hasNoDefaultLib:c,void 0!==e.amdDependencies&&(u.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(u.moduleName=e.moduleName),void 0!==e.languageVariant&&(u.languageVariant=e.languageVariant),void 0!==e.renamedDependencies&&(u.renamedDependencies=e.renamedDependencies),void 0!==e.languageVersion&&(u.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(u.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(u.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(u.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(u.identifiers=e.identifiers),void 0!==e.nodeCount&&(u.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(u.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(u.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(u.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(u.bindDiagnostics=e.bindDiagnostics),void 0!==e.bindSuggestionDiagnostics&&(u.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics),void 0!==e.lineMap&&(u.lineMap=e.lineMap),void 0!==e.classifiableNames&&(u.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(u.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(u.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(u.imports=e.imports),void 0!==e.moduleAugmentations&&(u.moduleAugmentations=e.moduleAugmentations),void 0!==e.pragmas&&(u.pragmas=e.pragmas),void 0!==e.localJsxFactory&&(u.localJsxFactory=e.localJsxFactory),void 0!==e.localJsxNamespace&&(u.localJsxNamespace=e.localJsxNamespace),r(u,e)}return e},e.getMutableClone=function(e){var t=i(e);return t.pos=e.pos,t.end=e.end,t.parent=e.parent,t},e.createNotEmittedStatement=function(e){var r=t(299);return r.original=e,Mt(r,e),r},e.createEndOfDeclarationMarker=function(e){var r=t(303);return r.emitNode={},r.original=e,r},e.createMergeDeclarationMarker=function(e){var r=t(302);return r.emitNode={},r.original=e,r}
1,e.createPartiallyEmittedExpression=wt,e.updatePartiallyEmittedExpression=function(e,t){return e.expression!==t?r(wt(t,e.original),e):e},e.createCommaList=At,e.updateCommaList=function(e,t){return e.elements!==t?r(At(t),e):e},e.createBundle=Nt,e.createUnparsedSourceFile=function(t){var r=e.createNode(275);return r.text=t,r},e.createInputFiles=function(t,r){var n=e.createNode(276);return n.javascriptText=t,n.declarationText=r,n},e.updateBundle=function(t,r,n){return void 0===n&&(n=e.emptyArray),t.sourceFiles!==r||t.prepends!==n?Nt(r,n):t},e.createImmediatelyInvokedFunctionExpression=function(e,t,r){return ee(ae(void 0,void 0,void 0,void 0,t?[t]:[],void 0,Ce(e,!0)),void 0,r?[r]:[])},e.createImmediatelyInvokedArrowFunction=function(e,t,r){return ee(oe(void 0,void 0,t?[t]:[],void 0,void 0,Ce(e,!0)),void 0,r?[r]:[])},e.createComma=function(e,t){return pe(e,26,t)},e.createLessThan=function(e,t){return pe(e,27,t)},e.createAssignment=function(e,t){return pe(e,58,t)},e.createStrictEquality=function(e,t){return pe(e,34,t)},e.createStrictInequality=function(e,t){return pe(e,35,t)},e.createAdd=function(e,t){return pe(e,37,t)},e.createSubtract=function(e,t){return pe(e,38,t)},e.createPostfixIncrement=function(e){return fe(e,43)},e.createLogicalAnd=function(e,t){return pe(e,53,t)},e.createLogicalOr=function(e,t){return pe(e,54,t)},e.createLogicalNot=function(e){return de(51,e)},e.createVoidZero=function(){return ue(a(0))},e.createExportDefault=function(e){return at(void 0,void 0,!1,e)},e.createExternalModuleExport=function(e){return ot(void 0,void 0,st([ct(void 0,e)]))},e.disposeEmitNodes=function(t){var r=(t=e.getSourceFileOfNode(e.getParseTreeNode(t)))&&t.emitNode,n=r&&r.annotatedNodes;if(n)for(var i=0,a=n;i<a.length;i++)a[i].emitNode=void 0},e.getOrCreateEmitNode=Ft,e.setTextRange=Mt,e.setEmitFlags=It,e.addEmitFlags=function(e,t){var r=Ft(e);return r.flags=r.flags|t,e},e.getSourceMapRange=function(e){var t=e.emitNode;return t&&t.sourceMapRange||e},e.setSourceMapRange=function(e,t){return Ft(e).sourceMapRange=t,e},e.createSourceMapSource=function(t,r,n){return new(u||(u=e.objectAllocator.getSourceMapSourceConstructor()))(t,r,n)},e.getTokenSourceMapRange=function(e,t){var r=e.emitNode,n=r&&r.tokenSourceMapRanges;return n&&n[t]},e.setTokenSourceMapRange=function(e,t,r){var n=Ft(e);return(n.tokenSourceMapRanges||(n.tokenSourceMapRanges=[]))[t]=r,e},e.getStartsOnNewLine=function(e){var t=e.emitNode;return t&&t.startsOnNewLine},e.setStartsOnNewLine=function(e,t){return Ft(e).startsOnNewLine=t,e},e.getCommentRange=function(e){var t=e.emitNode;return t&&t.commentRange||e},e.setCommentRange=function(e,t){return Ft(e).commentRange=t,e},e.getSyntheticLeadingComments=Lt,e.setSyntheticLeadingComments=Rt,e.addSyntheticLeadingComment=function(t,r,n,i){return Rt(t,e.append(Lt(t),{kind:r,pos:-1,end:-1,hasTrailingNewLine:i,text:n}))},e.getSyntheticTrailingComments=jt,e.setSyntheticTrailingComments=Bt,e.addSyntheticTrailingComment=function(t,r,n,i){return Bt(t,e.append(jt(t),{kind:r,pos:-1,end:-1,hasTrailingNewLine:i,text:n}))},e.moveSyntheticComments=function(e,t){Rt(e,Lt(t)),Bt(e,jt(t));var r=Ft(t);return r.leadingComments=void 0,r.trailingComments=void 0,e},e.getConstantValue=function(e){var t=e.emitNode;return t&&t.constantValue},e.setConstantValue=function(e,t){return Ft(e).constantValue=t,e},e.addEmitHelper=function(t,r){var n=Ft(t);return n.helpers=e.append(n.helpers,r),t},e.addEmitHelpers=function(t,r){if(e.some(r))for(var n=Ft(t),i=0,a=r;i<a.length;i++){var o=a[i];n.helpers=e.appendIfUnique(n.helpers,o)}return t},e.removeEmitHelper=function(t,r){var n=t.emitNode;if(n){var i=n.helpers;if(i)return e.orderedRemoveItem(i,r)}return!1},e.getEmitHelpers=function(e){var t=e.emitNode;return t&&t.helpers},e.moveEmitHelpers=function(t,r,n){var i=t.emitNode,a=i&&i.helpers;if(e.some(a)){for(var o=Ft(r),s=0,c=0;c<a.length;c++){var u=a[c];n(u)?(s++,o.helpers=e.appendIfUnique(o.helpers,u)):s>0&&(a[c-s]=u)}s>0&&(a.length-=s)}},e.compareEmitHelpers=function(t,r){return t===r?0:t.priority===r.priority?0:void 0===t.priority?1:void 0===r.priority?-1:e.compareValues(t.priority,r.priority)},e.setOriginalNode=zt}(u||(u={})),function(e){function t(t,r,n){if(e.isComputedPropertyName(r))return e.setTextRange(e.createElementAccess(t,r.expression),n);var i=e.setTextRange(e.isIdentifier(r)?e.createPropertyAccess(t,r):e.createElementAccess(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function r(t,r){var n=e.createIdentifier(t||"React");return n.flags&=-9,n.parent=e.getParseTreeNode(r),n}function n(t,n,i){return t?function t(n,i){if(e.isQualifiedName(n)){var a=t(n.left,i),o=e.createIdentifier(e.idText(n.right));return o.escapedText=n.right.escapedText,e.createPropertyAccess(a,o)}return r(e.idText(n),i)}(t,i):e.createPropertyAccess(r(n,i),"createElement")}function i(t){return e.setEmitFlags(e.createIdentifier(t),4098)}e.nullTransformationContext={enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:function(){},getCompilerOptions:e.notImplemented,getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,hoistFunctionDeclaration:e.noop,hoistV
1ariableDeclaration:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop},e.createTypeCheck=function(t,r){return"undefined"===r?e.createStrictEquality(t,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(t),e.createLiteral(r))},e.createMemberAccessForPropertyName=t,e.createFunctionCall=function(t,r,n,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"call"),void 0,[r].concat(n)),i)},e.createFunctionApply=function(t,r,n,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"apply"),void 0,[r,n]),i)},e.createArraySlice=function(t,r){var n=[];return void 0!==r&&n.push("number"===typeof r?e.createLiteral(r):r),e.createCall(e.createPropertyAccess(t,"slice"),void 0,n)},e.createArrayConcat=function(t,r){return e.createCall(e.createPropertyAccess(t,"concat"),void 0,r)},e.createMathPow=function(t,r,n){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[t,r]),n)},e.createExpressionForJsxElement=function(t,r,i,a,o,s,c){var u=[i];if(a&&u.push(a),o&&o.length>0)if(a||u.push(e.createNull()),o.length>1)for(var l=0,d=o;l<d.length;l++){var f=d[l];T(f),u.push(f)}else u.push(o[0]);return e.setTextRange(e.createCall(n(t,r,s),void 0,u),c)},e.createExpressionForJsxFragment=function(t,i,a,o,s){var c=[e.createPropertyAccess(r(i,o),"Fragment")];if(c.push(e.createNull()),a&&a.length>0)if(a.length>1)for(var u=0,l=a;u<l.length;u++){var d=l[u];T(d),c.push(d)}else c.push(a[0]);return e.setTextRange(e.createCall(n(t,i,o),void 0,c),s)},e.getHelperName=i;var a={name:"typescript:values",scoped:!1,text:'\n var __values = (this && this.__values) || function (o) {\n var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;\n if (m) return m.call(o);\n return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n };'};e.createValuesHelper=function(t,r,n){return t.requestEmitHelper(a),e.setTextRange(e.createCall(i("__values"),void 0,[r]),n)};var o={name:"typescript:read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};e.createReadHelper=function(t,r,n,a){return t.requestEmitHelper(o),e.setTextRange(e.createCall(i("__read"),void 0,void 0!==n?[r,e.createLiteral(n)]:[r]),a)};var s={name:"typescript:spread",scoped:!1,text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"};function c(t,r){var n=e.skipParentheses(t);switch(n.kind){case 71:return r;case 99:case 8:case 9:return!1;case 182:return 0!==n.elements.length;case 183:return n.properties.length>0;default:return!0}}function u(t){return e.isIdentifier(t)?e.createLiteral(t):e.isComputedPropertyName(t)?e.getMutableClone(t.expression):e.getMutableClone(t)}function l(e,t,r){return d(e,t,r,8192)}function d(t,r,n,i){var a=e.getNameOfDeclaration(t);if(a&&e.isIdentifier(a)&&!e.isGeneratedIdentifier(a)){var o=e.getMutableClone(a);return i|=e.getEmitFlags(a),n||(i|=48),r||(i|=1536),i&&e.setEmitFlags(o,i),o}return e.getGeneratedNameForNode(t)}
1function f(t,r,n,i){var a,o=e.createPropertyAccess(t,e.nodeIsSynthesized(r)?r:e.getSynthesizedClone(r));return e.setTextRange(o,r),i||(a|=48),n||(a|=1536),a&&e.setEmitFlags(o,a),o}function p(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function _(t,r,n){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var i=!1,a=0,o=r.length;a<o;){var s=r[a];if(!e.isPrologueDirective(s))break;p(s)&&(i=!0),t.push(s),a++}return n&&!i&&t.push(T(e.createStatement(e.createLiteral("use strict")))),a}function m(t,r,n,i){for(var a=r.length;n<a;){var o=r[n];if(!(1048576&e.getEmitFlags(o)))break;e.append(t,i?e.visitNode(o,i,e.isStatement):o),n++}return n}function g(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isLiteralKind(t.kind))return t.kind;if(199===t.kind&&37===t.operatorToken.kind){if(void 0!==t.cachedLiteralKind)return t.cachedLiteralKind;var r=g(t.left),n=e.isLiteralKind(r)&&r===g(t.right)?r:0;return t.cachedLiteralKind=n,n}return 0}function h(t){var r=e.skipPartiallyEmittedExpressions(t);return e.isLeftHandSideExpression(r)&&(187!==r.kind||r.arguments)?t:e.setTextRange(e.createParen(t),t)}function v(t){var r=e.skipPartiallyEmittedExpressions(t);return e.getExpressionPrecedence(r)>e.getOperatorPrecedence(199,26)?t:e.setTextRange(e.createParen(t),t)}function y(t){return 170===t.kind?e.createParenthesizedType(t):t}function b(t){switch(t.kind){case 168:case 169:case 162:case 163:return e.createParenthesizedType(t)}return y(t)}function x(e,t){for(;;){switch(e.kind){case 198:e=e.operand;continue;case 199:e=e.left;continue;case 200:e=e.condition;continue;case 186:if(t)return e;case 185:case 184:case 300:e=e.expression;continue}return e}}function S(e,t){switch(void 0===t&&(t=7),e.kind){case 190:return 0!==(1&t);case 189:case 207:case 208:return 0!==(2&t);case 300:return 0!==(4&t)}return!1}function k(t,r){var n;void 0===r&&(r=7);do{n=t,1&r&&(t=e.skipParentheses(t)),2&r&&(t=C(t)),4&r&&(t=e.skipPartiallyEmittedExpressions(t))}while(n!==t);return t}function C(t){for(;e.isAssertionExpression(t)||208===t.kind;)t=t.expression;return t}function E(t,r,n){return void 0===n&&(n=7),t&&S(t,n)&&(!(190===(i=t).kind&&e.nodeIsSynthesized(i)&&e.nodeIsSynthesized(e.getSourceMapRange(i))&&e.nodeIsSynthesized(e.getCommentRange(i)))||e.some(e.getSyntheticLeadingComments(i))||e.some(e.getSyntheticTrailingComments(i)))?function(t,r){switch(t.kind){case 190:return e.updateParen(t,r);case 189:return e.updateTypeAssertion(t,t.type,r);case 207:return e.updateAsExpression(t,r,t.type);case 208:return e.updateNonNullExpression(t,r);case 300:return e.updatePartiallyEmittedExpression(t,r)}}(t,E(t.expression,r)):r;var i}function T(t){return e.setStartsOnNewLine(t,!0)}function w(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return n&&n.externalHelpersModuleName}function D(t,r,n){if(t)return t.moduleName?e.createLiteral(t.moduleName):t.isDeclarationFile||!n.out&&!n.outFile?void 0:e.createLiteral(e.getExternalModuleNameFromPath(r,t.fileName))}function A(t){if(e.isDeclarationBindingElement(t))return t.name;if(!e.isObjectLiteralElementLike(t))return e.isAssignmentExpression(t,!0)?A(t.left):e.isSpreadElement(t)?A(t.expression):t;switch(t.kind){case 269:return A(t.initializer);case 270:return t.name;case 271:return A(t.expression)}}function N(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createSpread(t.name),t),t);var r=I(t.name);return t.initializer?e.setOriginalNode(e.setTextRange(e.createAssignment(r,t.initializer),t),t):r}return e.Debug.assertNode(t,e.isExpression),t}function P(t){if(e.isBindingElement(t)){if(t.dotDotDotToken)return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createSpreadAssignment(t.name),t),t);if(t.propertyName){var r=I(t.name);return e.setOriginalNode(e.setTextRange(e.createPropertyAssignment(t.propertyName,t.initializer?e.createAssignment(r,t.initializer):r),t),t)}return e.Debug.assertNode(t.name,e.isIdentifier),e.setOriginalNode(e.setTextRange(e.createShorthandPropertyAssignment(t.name,t.initializer),t),t)}return e.Debug.assertNode(t,e.isObjectLiteralElementLike),t}function O(e){switch(e.kind){case 180:case 182:return M(e);case 179:case 183:return F(e)}}function F(t){return e.isObjectBindingPattern(t)?e.setOriginalNode(e.setTextRange(e.createObjectLiteral(e.map(t.elements,P)),t),t):(e.Debug.assertNode(t,e.isObjectLiteralExpression),t)}function M(t){return e.isArrayBindingPattern(t)?e.setOriginalNode(e.setTextRange(e.createArrayLiteral(e.map(t.elements,N)),t),t):(e.Debug.assertNode(t,e.isArrayLiteralExpression),t)}function I(t){return e.isBindingPattern(t)?O(t):(e.Debug.assertNode(t,e.isExpression),t)}e.createSpreadHelper=function(t,r,n){return t.requestEmitHelper(o),t.requestEmitHelper(s),e.setTextRange(e.createCall(i("__spread"),void 0,r),n)},e.createForOfBindingStatement=function(t,r){if(e.isVariableDeclarationList(t)){var n=e.firstOrUndefined(t.declarations),i=e.updateVariableDeclaration(n,n.name,void 0,r);
1return e.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[i])),t)}var a=e.setTextRange(e.createAssignment(t,r),t);return e.setTextRange(e.createStatement(a),t)},e.insertLeadingStatement=function(t,r){return e.isBlock(t)?e.updateBlock(t,e.setTextRange(e.createNodeArray([r].concat(t.statements)),t.statements)):e.createBlock(e.createNodeArray([t,r]),!0)},e.restoreEnclosingLabel=function t(r,n,i){if(!n)return r;var a=e.updateLabel(n,n.label,227===n.statement.kind?t(r,n.statement):r);return i&&i(n),a},e.createCallBinding=function(t,r,n,i){var a,o,s=k(t,7);if(e.isSuperProperty(s))a=e.createThis(),o=s;else if(97===s.kind)a=e.createThis(),o=n<2?e.setTextRange(e.createIdentifier("_super"),s):s;else if(4096&e.getEmitFlags(s))a=e.createVoidZero(),o=h(s);else switch(s.kind){case 184:c(s.expression,i)?(a=e.createTempVariable(r),o=e.createPropertyAccess(e.setTextRange(e.createAssignment(a,s.expression),s.expression),s.name),e.setTextRange(o,s)):(a=s.expression,o=s);break;case 185:c(s.expression,i)?(a=e.createTempVariable(r),o=e.createElementAccess(e.setTextRange(e.createAssignment(a,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(a=s.expression,o=s);break;default:a=e.createVoidZero(),o=h(t)}return{target:o,thisArg:a}},e.inlineExpressions=function(t){return t.length>10?e.createCommaList(t):e.reduceLeft(t,e.createComma)},e.createExpressionFromEntityName=function t(r){if(e.isQualifiedName(r)){var n=t(r.left),i=e.getMutableClone(r.right);return e.setTextRange(e.createPropertyAccess(n,i),r)}return e.getMutableClone(r)},e.createExpressionForPropertyName=u,e.createExpressionForObjectLiteralElementLike=function(r,n,i){switch(n.kind){case 155:case 156:return function(t,r,n,i){var a=e.getAllAccessorDeclarations(t,r),o=a.firstAccessor,s=a.getAccessor,c=a.setAccessor;if(r===o){var l=[];if(s){var d=e.createFunctionExpression(s.modifiers,void 0,void 0,void 0,s.parameters,void 0,s.body);e.setTextRange(d,s),e.setOriginalNode(d,s);var f=e.createPropertyAssignment("get",d);l.push(f)}if(c){var p=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(p,c),e.setOriginalNode(p,c);var _=e.createPropertyAssignment("set",p);l.push(_)}l.push(e.createPropertyAssignment("enumerable",e.createTrue())),l.push(e.createPropertyAssignment("configurable",e.createTrue()));var m=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[n,u(r.name),e.createObjectLiteral(l,i)]),o);return e.aggregateTransformFlags(m)}}(r.properties,n,i,r.multiLine);case 269:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),r.initializer),r),r))}(n,i);case 270:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),e.getSynthesizedClone(r.name)),r),r))}(n,i);case 153:return function(r,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(t(n,r.name,r.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(r.modifiers,r.asteriskToken,void 0,void 0,r.parameters,void 0,r.body),r),r)),r),r))}(n,i)}},e.getInternalName=function(e,t,r){return d(e,t,r,49152)},e.isInternalName=function(t){return 0!==(32768&e.getEmitFlags(t))},e.getLocalName=function(e,t,r){return d(e,t,r,16384)},e.isLocalName=function(t){return 0!==(16384&e.getEmitFlags(t))},e.getExportName=l,e.isExportName=function(t){return 0!==(8192&e.getEmitFlags(t))},e.getDeclarationName=function(e,t,r){return d(e,t,r)},e.getExternalModuleOrNamespaceExportName=function(t,r,n,i){return t&&e.hasModifier(r,1)?f(t,d(r),n,i):l(r,n,i)},e.getNamespaceMemberName=f,e.convertToFunctionBody=function(t,r){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],r),t)},e.convertFunctionDeclarationToExpression=function(t){e.Debug.assert(!!t.body);var r=e.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);return e.setOriginalNode(r,t),e.setTextRange(r,t),e.getStartsOnNewLine(t)&&e.setStartsOnNewLine(r,!0),e.aggregateTransformFlags(r),r},e.addPrologue=function(e,t,r,n){return m(e,t,_(e,t,r),n)},e.addStandardPrologue=_,e.addCustomPrologue=m,e.startsWithUseStrict=function(t){var r=e.firstOrUndefined(t);
1return void 0!==r&&e.isPrologueDirective(r)&&p(r)},e.ensureUseStrict=function(t){for(var r=!1,n=0,i=t;n<i.length;n++){var a=i[n];if(!e.isPrologueDirective(a))break;if(p(a)){r=!0;break}}return r?t:e.setTextRange(e.createNodeArray([T(e.createStatement(e.createLiteral("use strict")))].concat(t)),t)},e.parenthesizeBinaryOperand=function(t,r,n,i){return 190===e.skipPartiallyEmittedExpressions(r).kind?r:function(t,r,n,i){var a=e.getOperatorPrecedence(199,t),o=e.getOperatorAssociativity(199,t),s=e.skipPartiallyEmittedExpressions(r),c=e.getExpressionPrecedence(s);switch(e.compareValues(c,a)){case-1:return!(!n&&1===o&&202===r.kind);case 1:return!1;case 0:if(n)return 1===o;if(e.isBinaryExpression(s)&&s.operatorToken.kind===t){if(function(e){return 39===e||49===e||48===e||50===e}(t))return!1;if(37===t){var u=i?g(i):0;if(e.isLiteralKind(u)&&u===g(s))return!1}}var l=e.getExpressionAssociativity(s);return 0===l}}(t,r,n,i)?e.createParen(r):r},e.parenthesizeForConditionalHead=function(t){var r=e.getOperatorPrecedence(200,55),n=e.skipPartiallyEmittedExpressions(t),i=e.getExpressionPrecedence(n);return-1===e.compareValues(i,r)?e.createParen(t):t},e.parenthesizeSubexpressionOfConditionalExpression=function(t){var r=e.skipPartiallyEmittedExpressions(t);return 199===r.kind&&26===r.operatorToken.kind||301===r.kind?e.createParen(t):t},e.parenthesizeDefaultExpression=function(t){var r=e.skipPartiallyEmittedExpressions(t);return 204===r.kind||191===r.kind||301===r.kind||e.isBinaryExpression(r)&&26===r.operatorToken.kind?e.createParen(t):t},e.parenthesizeForNew=function(t){var r=x(t,!0);switch(r.kind){case 186:return e.createParen(t);case 187:return r.arguments?t:e.createParen(t)}return h(t)},e.parenthesizeForAccess=h,e.parenthesizePostfixOperand=function(t){return e.isLeftHandSideExpression(t)?t:e.setTextRange(e.createParen(t),t)},e.parenthesizePrefixOperand=function(t){return e.isUnaryExpression(t)?t:e.setTextRange(e.createParen(t),t)},e.parenthesizeListElements=function(t){for(var r,n=0;n<t.length;n++){var i=v(t[n]);void 0===r&&i===t[n]||(void 0===r&&(r=t.slice(0,n)),r.push(i))}return void 0!==r?e.setTextRange(e.createNodeArray(r,t.hasTrailingComma),t):t},e.parenthesizeExpressionForList=v,e.parenthesizeExpressionForExpressionStatement=function(t){var r=e.skipPartiallyEmittedExpressions(t);if(e.isCallExpression(r)){var n=r.expression,i=e.skipPartiallyEmittedExpressions(n).kind;if(191===i||192===i){var a=e.getMutableClone(r);return a.expression=e.setTextRange(e.createParen(n),n),E(t,a,4)}}var o=x(r,!1).kind;return 183===o||191===o?e.setTextRange(e.createParen(t),t):t},e.parenthesizeConditionalTypeMember=y,e.parenthesizeElementTypeMember=b,e.parenthesizeArrayTypeMember=function(t){switch(t.kind){case 164:case 174:case 171:return e.createParenthesizedType(t)}return b(t)},e.parenthesizeElementTypeMembers=function(t){return e.createNodeArray(e.sameMap(t,b))},e.parenthesizeTypeParameters=function(t){if(e.some(t)){for(var r=[],n=0;n<t.length;++n){var i=t[n];
1r.push(0===n&&e.isFunctionOrConstructorTypeNode(i)&&i.typeParameters?e.createParenthesizedType(i):i)}return e.createNodeArray(r)}},e.parenthesizeConciseBody=function(t){return e.isBlock(t)||183!==x(t,!1).kind?t:e.setTextRange(e.createParen(t),t)},function(e){e[e.Parentheses=1]="Parentheses",e[e.Assertions=2]="Assertions",e[e.PartiallyEmittedExpressions=4]="PartiallyEmittedExpressions",e[e.All=7]="All"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),e.isOuterExpression=S,e.skipOuterExpressions=k,e.skipAssertions=C,e.recreateOuterExpressions=E,e.startOnNewLine=T,e.getExternalHelpersModuleName=w,e.getOrCreateExternalHelpersModuleNameIfNeeded=function(t,r,n,i){if(r.importHelpers&&e.isEffectiveExternalModule(t,r)){var a=w(t);if(a)return a;var o=e.getEmitModuleKind(r),s=(n||r.esModuleInterop&&i)&&o!==e.ModuleKind.System&&o!==e.ModuleKind.ES2015&&o!==e.ModuleKind.ESNext;if(!s){var c=e.getEmitHelpers(t);if(c)for(var u=0,l=c;u<l.length;u++)if(!l[u].scoped){s=!0;break}}if(s){var d=e.getOriginalNode(t,e.isSourceFile),f=e.getOrCreateEmitNode(d);return f.externalHelpersModuleName||(f.externalHelpersModuleName=e.createUniqueName(e.externalHelpersModuleNameText))}}},e.getLocalNameForExternalImport=function(t,r){var n=e.getNamespaceDeclarationNode(t);if(n&&!e.isDefaultImport(t)){var i=n.name;return e.isGeneratedIdentifier(i)?i:e.createIdentifier(e.getSourceTextOfNodeFromSourceFile(r,i)||e.idText(i))}return 243===t.kind&&t.importClause?e.getGeneratedNameForNode(t):249===t.kind&&t.moduleSpecifier?e.getGeneratedNameForNode(t):void 0},e.getExternalModuleNameLiteral=function(t,r,n,i,a){var o=e.getExternalModuleName(t);if(9===o.kind)return function(e,t,r,n){return D(r.getExternalModuleFileFromDeclaration(e),t,n)}(t,n,i,a)||function(t,r){var n=r.renamedDependencies&&r.renamedDependencies.get(t.text);return n&&e.createLiteral(n)}(o,r)||e.getSynthesizedClone(o)},e.tryGetModuleNameFromFile=D,e.getInitializerOfBindingOrAssignmentElement=function t(r){return e.isDeclarationBindingElement(r)?r.initializer:e.isPropertyAssignment(r)?e.isAssignmentExpression(r.initializer,!0)?r.initializer.right:void 0:e.isShorthandPropertyAssignment(r)?r.objectAssignmentInitializer:e.isAssignmentExpression(r,!0)?r.right:e.isSpreadElement(r)?t(r.expression):void 0},e.getTargetOfBindingOrAssignmentElement=A,e.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 148:case 181:return e.dotDotDotToken;case 203:case 271:return e}},e.getPropertyNameOfBindingOrAssignmentElement=function(t){switch(t.kind){case 181:if(t.propertyName){var r=t.propertyName;return e.isComputedPropertyName(r)&&e.isStringOrNumericLiteral(r.expression)?r.expression:r}break;case 269:if(t.name)return r=t.name,e.isComputedPropertyName(r)&&e.isStringOrNumericLiteral(r.expression)?r.expression:r;break;case 271:return t.name}var n=A(t);if(n&&e.isPropertyName(n))return e.isComputedPropertyName(n)&&e.isStringOrNumericLiteral(n.expression)?n.expression:n;e.Debug.fail("Invalid property name for binding element.")},e.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 179:case 180:case 182:return e.elements;case 183:return e.properties}},e.convertToArrayAssignmentElement=N,e.convertToObjectAssignmentElement=P,e.convertToAssignmentPattern=O,e.convertToObjectAssignmentPattern=F,e.convertToArrayAssignmentPattern=M,e.convertToAssignmentElementTarget=I}(u||(u={})),function(e){var t=e.or(e.isTypeNode,e.isTypeParameterDeclaration);function r(t,r,n,i){if(void 0===t||void 0===r)return t;e.aggregateTransformFlags(t);var a,o=r(t);return o===t?t:void 0!==o?(a=e.isArray(o)?(i||function(t){return e.Debug.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)})(o):o,e.Debug.assertNode(a,n),e.aggregateTransformFlags(a),a):void 0}function n(t,r,n,i,a){if(void 0===t||void 0===r)return t;var o,s=t.length;(void 0===i||i<0)&&(i=0),(void 0===a||a>s-i)&&(a=s-i),(i>0||a<s)&&(o=e.createNodeArray([],t.hasTrailingComma&&i+a===s));for(var c=0;c<a;c++){var u=t[c+i];e.aggregateTransformFlags(u);var l=void 0!==u?r(u):void 0;if((void 0!==o||void 0===l||l!==u)&&(void 0===o&&(o=e.createNodeArray(t.slice(0,c),t.hasTrailingComma),e.setTextRange(o,t)),l))if(e.isArray(l))for(var d=0,f=l;d<f.length;d++){var p=f[d];e.Debug.assertNode(p,n),e.aggregateTransformFlags(p),o.push(p)}else e.Debug.assertNode(l,n),e.aggregateTransformFlags(l),o.push(l)}return o||t}function i(t,r,i,a,o){i.startLexicalEnvironment(),t=n(t,r,e.isStatement,a),o&&!e.startsWithUseStrict(t)&&(t=e.setTextRange(e.createNodeArray([e.createStatement
1(e.createLiteral("use strict"))].concat(t)),t));var s=i.endLexicalEnvironment();return e.setTextRange(e.createNodeArray(e.concatenate(s,t)),t)}function a(t,r,i,a){void 0===a&&(a=n),i.startLexicalEnvironment();var o=a(t,r,e.isParameterDeclaration);return i.suspendLexicalEnvironment(),o}function o(t,n,i){i.resumeLexicalEnvironment();var a=r(t,n,e.isConciseBody),o=i.endLexicalEnvironment();if(e.some(o)){var s=e.convertToFunctionBody(a),c=e.mergeLexicalEnvironment(s.statements,o);return e.updateBlock(s,c)}return a}e.visitNode=r,e.visitNodes=n,e.visitLexicalEnvironment=i,e.visitParameterList=a,e.visitFunctionBody=o,e.visitEachChild=function(s,c,u,l,d){if(void 0===l&&(l=n),void 0!==s){var f=s.kind;if(f>0&&f<=144||173===f)return s;switch(f){case 71:return e.updateIdentifier(s,l(s.typeArguments,c,t));case 145:return e.updateQualifiedName(s,r(s.left,c,e.isEntityName),r(s.right,c,e.isIdentifier));case 146:return e.updateComputedPropertyName(s,r(s.expression,c,e.isExpression));case 147:return e.updateTypeParameterDeclaration(s,r(s.name,c,e.isIdentifier),r(s.constraint,c,e.isTypeNode),r(s.default,c,e.isTypeNode));case 148:return e.updateParameter(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.dotDotDotToken,d,e.isToken),r(s.name,c,e.isBindingName),r(s.questionToken,d,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 149:return e.updateDecorator(s,r(s.expression,c,e.isExpression));case 150:return e.updatePropertySignature(s,l(s.modifiers,c,e.isToken),r(s.name,c,e.isPropertyName),r(s.questionToken,d,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 151:return e.updateProperty(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),r(s.questionToken,d,e.isToken),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 152:return e.updateMethodSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode),r(s.name,c,e.isPropertyName),r(s.questionToken,d,e.isToken));case 153:return e.updateMethod(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.asteriskToken,d,e.isToken),r(s.name,c,e.isPropertyName),r(s.questionToken,d,e.isToken),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 154:return e.updateConstructor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),a(s.parameters,c,u,l),o(s.body,c,u));case 155:return e.updateGetAccessor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 156:return e.updateSetAccessor(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isPropertyName),a(s.parameters,c,u,l),o(s.body,c,u));case 157:return e.updateCallSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 158:return e.updateConstructSignature(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 159:return e.updateIndexSignature(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 160:return e.updateTypePredicateNode(s,r(s.parameterName,c),r(s.type,c,e.isTypeNode));case 161:return e.updateTypeReferenceNode(s,r(s.typeName,c,e.isEntityName),l(s.typeArguments,c,e.isTypeNode));case 162:return e.updateFunctionTypeNode(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 163:return e.updateConstructorTypeNode(s,l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.parameters,c,e.isParameterDeclaration),r(s.type,c,e.isTypeNode));case 164:return e.updateTypeQueryNode(s,r(s.exprName,c,e.isEntityName));case 165:return e.updateTypeLiteralNode(s,l(s.members,c,e.isTypeElement));case 166:return e.updateArrayTypeNode(s,r(s.elementType,c,e.isTypeNode));case 167:return e.updateTypleTypeNode(s,l(s.elementTypes,c,e.isTypeNode));case 168:return e.updateUnionTypeNode(s,l(s.types,c,e.isTypeNode));case 169:return e.updateIntersectionTypeNode(s,l(s.types,c,e.isTypeNode));case 170:return e.updateConditionalTypeNode(s,r(s.checkType,c,e.isTypeNode),r(s.extendsType,c,e.isTypeNode),r(s.trueType,c,e.isTypeNode),r(s.falseType,c,e.isTypeNode));case 171:return e.updateInferTypeNode(s,r(s.typeParameter,c,e.isTypeParameterDeclaration));case 178:return e.updateImportTypeNode(s,r(s.argument,c,e.isTypeNode),r(s.qualifier,c,e.isEntityName),n(s.typeArguments,c,e.
1isTypeNode),s.isTypeOf);case 172:return e.updateParenthesizedType(s,r(s.type,c,e.isTypeNode));case 174:return e.updateTypeOperatorNode(s,r(s.type,c,e.isTypeNode));case 175:return e.updateIndexedAccessTypeNode(s,r(s.objectType,c,e.isTypeNode),r(s.indexType,c,e.isTypeNode));case 176:return e.updateMappedTypeNode(s,r(s.readonlyToken,d,e.isToken),r(s.typeParameter,c,e.isTypeParameterDeclaration),r(s.questionToken,d,e.isToken),r(s.type,c,e.isTypeNode));case 177:return e.updateLiteralTypeNode(s,r(s.literal,c,e.isExpression));case 179:return e.updateObjectBindingPattern(s,l(s.elements,c,e.isBindingElement));case 180:return e.updateArrayBindingPattern(s,l(s.elements,c,e.isArrayBindingElement));case 181:return e.updateBindingElement(s,r(s.dotDotDotToken,d,e.isToken),r(s.propertyName,c,e.isPropertyName),r(s.name,c,e.isBindingName),r(s.initializer,c,e.isExpression));case 182:return e.updateArrayLiteral(s,l(s.elements,c,e.isExpression));case 183:return e.updateObjectLiteral(s,l(s.properties,c,e.isObjectLiteralElementLike));case 184:return e.updatePropertyAccess(s,r(s.expression,c,e.isExpression),r(s.name,c,e.isIdentifier));case 185:return e.updateElementAccess(s,r(s.expression,c,e.isExpression),r(s.argumentExpression,c,e.isExpression));case 186:return e.updateCall(s,r(s.expression,c,e.isExpression),l(s.typeArguments,c,e.isTypeNode),l(s.arguments,c,e.isExpression));case 187:return e.updateNew(s,r(s.expression,c,e.isExpression),l(s.typeArguments,c,e.isTypeNode),l(s.arguments,c,e.isExpression));case 188:return e.updateTaggedTemplate(s,r(s.tag,c,e.isExpression),n(s.typeArguments,c,e.isExpression),r(s.template,c,e.isTemplateLiteral));case 189:return e.updateTypeAssertion(s,r(s.type,c,e.isTypeNode),r(s.expression,c,e.isExpression));case 190:return e.updateParen(s,r(s.expression,c,e.isExpression));case 191:return e.updateFunctionExpression(s,l(s.modifiers,c,e.isModifier),r(s.asteriskToken,d,e.isToken),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 192:return e.updateArrowFunction(s,l(s.modifiers,c,e.isModifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),r(s.equalsGreaterThanToken,c,e.isToken),o(s.body,c,u));case 193:return e.updateDelete(s,r(s.expression,c,e.isExpression));case 194:return e.updateTypeOf(s,r(s.expression,c,e.isExpression));case 195:return e.updateVoid(s,r(s.expression,c,e.isExpression));case 196:return e.updateAwait(s,r(s.expression,c,e.isExpression));case 197:return e.updatePrefix(s,r(s.operand,c,e.isExpression));case 198:return e.updatePostfix(s,r(s.operand,c,e.isExpression));case 199:return e.updateBinary(s,r(s.left,c,e.isExpression),r(s.right,c,e.isExpression),r(s.operatorToken,c,e.isToken));case 200:return e.updateConditional(s,r(s.condition,c,e.isExpression),r(s.questionToken,c,e.isToken),r(s.whenTrue,c,e.isExpression),r(s.colonToken,c,e.isToken),r(s.whenFalse,c,e.isExpression));case 201:return e.updateTemplateExpression(s,r(s.head,c,e.isTemplateHead),l(s.templateSpans,c,e.isTemplateSpan));case 202:return e.updateYield(s,r(s.asteriskToken,d,e.isToken),r(s.expression,c,e.isExpression));case 203:return e.updateSpread(s,r(s.expression,c,e.isExpression));case 204:return e.updateClassExpression(s,l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isClassElement));case 206:return e.updateExpressionWithTypeArguments(s,l(s.typeArguments,c,e.isTypeNode),r(s.expression,c,e.isExpression));case 207:return e.updateAsExpression(s,r(s.expression,c,e.isExpression),r(s.type,c,e.isTypeNode));case 208:return e.updateNonNullExpression(s,r(s.expression,c,e.isExpression));case 209:return e.updateMetaProperty(s,r(s.name,c,e.isIdentifier));case 210:return e.updateTemplateSpan(s,r(s.expression,c,e.isExpression),r(s.literal,c,e.isTemplateMiddleOrTemplateTail));case 212:return e.updateBlock(s,l(s.statements,c,e.isStatement));case 213:return e.updateVariableStatement(s,l(s.modifiers,c,e.isModifier),r(s.declarationList,c,e.isVariableDeclarationList));
1case 215:return e.updateStatement(s,r(s.expression,c,e.isExpression));case 216:return e.updateIf(s,r(s.expression,c,e.isExpression),r(s.thenStatement,c,e.isStatement,e.liftToBlock),r(s.elseStatement,c,e.isStatement,e.liftToBlock));case 217:return e.updateDo(s,r(s.statement,c,e.isStatement,e.liftToBlock),r(s.expression,c,e.isExpression));case 218:return e.updateWhile(s,r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 219:return e.updateFor(s,r(s.initializer,c,e.isForInitializer),r(s.condition,c,e.isExpression),r(s.incrementor,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 220:return e.updateForIn(s,r(s.initializer,c,e.isForInitializer),r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 221:return e.updateForOf(s,r(s.awaitModifier,c,e.isToken),r(s.initializer,c,e.isForInitializer),r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 222:return e.updateContinue(s,r(s.label,c,e.isIdentifier));case 223:return e.updateBreak(s,r(s.label,c,e.isIdentifier));case 224:return e.updateReturn(s,r(s.expression,c,e.isExpression));case 225:return e.updateWith(s,r(s.expression,c,e.isExpression),r(s.statement,c,e.isStatement,e.liftToBlock));case 226:return e.updateSwitch(s,r(s.expression,c,e.isExpression),r(s.caseBlock,c,e.isCaseBlock));case 227:return e.updateLabel(s,r(s.label,c,e.isIdentifier),r(s.statement,c,e.isStatement,e.liftToBlock));case 228:return e.updateThrow(s,r(s.expression,c,e.isExpression));case 229:return e.updateTry(s,r(s.tryBlock,c,e.isBlock),r(s.catchClause,c,e.isCatchClause),r(s.finallyBlock,c,e.isBlock));case 231:return e.updateVariableDeclaration(s,r(s.name,c,e.isBindingName),r(s.type,c,e.isTypeNode),r(s.initializer,c,e.isExpression));case 232:return e.updateVariableDeclarationList(s,l(s.declarations,c,e.isVariableDeclaration));case 233:return e.updateFunctionDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.asteriskToken,d,e.isToken),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),a(s.parameters,c,u,l),r(s.type,c,e.isTypeNode),o(s.body,c,u));case 234:return e.updateClassDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isClassElement));case 235:return e.updateInterfaceDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),l(s.heritageClauses,c,e.isHeritageClause),l(s.members,c,e.isTypeElement));case 236:return e.updateTypeAliasDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.typeParameters,c,e.isTypeParameterDeclaration),r(s.type,c,e.isTypeNode));case 237:return e.updateEnumDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),l(s.members,c,e.isEnumMember));case 238:return e.updateModuleDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),r(s.body,c,e.isModuleBody));case 239:return e.updateModuleBlock(s,l(s.statements,c,e.isStatement));case 240:return e.updateCaseBlock(s,l(s.clauses,c,e.isCaseOrDefaultClause));case 241:return e.updateNamespaceExportDeclaration(s,r(s.name,c,e.isIdentifier));case 242:return e.updateImportEqualsDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.name,c,e.isIdentifier),r(s.moduleReference,c,e.isModuleReference));case 243:return e.updateImportDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.importClause,c,e.isImportClause),r(s.moduleSpecifier,c,e.isExpression));case 244:return e.updateImportClause(s,r(s.name,c,e.isIdentifier),r(s.namedBindings,c,e.isNamedImportBindings));case 245:return e.updateNamespaceImport(s,r(s.name,c,e.isIdentifier));case 246:return e.updateNamedImports(s,l(s.elements,c,e.isImportSpecifier));case 247:return e.updateImportSpecifier(s,r(s.propertyName,c,e.isIdentifier),r(s.name,c,e.isIdentifier));
1case 248:return e.updateExportAssignment(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.expression,c,e.isExpression));case 249:return e.updateExportDeclaration(s,l(s.decorators,c,e.isDecorator),l(s.modifiers,c,e.isModifier),r(s.exportClause,c,e.isNamedExports),r(s.moduleSpecifier,c,e.isExpression));case 250:return e.updateNamedExports(s,l(s.elements,c,e.isExportSpecifier));case 251:return e.updateExportSpecifier(s,r(s.propertyName,c,e.isIdentifier),r(s.name,c,e.isIdentifier));case 253:return e.updateExternalModuleReference(s,r(s.expression,c,e.isExpression));case 254:return e.updateJsxElement(s,r(s.openingElement,c,e.isJsxOpeningElement),l(s.children,c,e.isJsxChild),r(s.closingElement,c,e.isJsxClosingElement));case 255:return e.updateJsxSelfClosingElement(s,r(s.tagName,c,e.isJsxTagNameExpression),l(s.typeArguments,c,e.isTypeNode),r(s.attributes,c,e.isJsxAttributes));case 256:return e.updateJsxOpeningElement(s,r(s.tagName,c,e.isJsxTagNameExpression),l(s.typeArguments,c,e.isTypeNode),r(s.attributes,c,e.isJsxAttributes));case 257:return e.updateJsxClosingElement(s,r(s.tagName,c,e.isJsxTagNameExpression));case 258:return e.updateJsxFragment(s,r(s.openingFragment,c,e.isJsxOpeningFragment),l(s.children,c,e.isJsxChild),r(s.closingFragment,c,e.isJsxClosingFragment));case 261:return e.updateJsxAttribute(s,r(s.name,c,e.isIdentifier),r(s.initializer,c,e.isStringLiteralOrJsxExpression));case 262:return e.updateJsxAttributes(s,l(s.properties,c,e.isJsxAttributeLike));case 263:return e.updateJsxSpreadAttribute(s,r(s.expression,c,e.isExpression));case 264:return e.updateJsxExpression(s,r(s.expression,c,e.isExpression));case 265:return e.updateCaseClause(s,r(s.expression,c,e.isExpression),l(s.statements,c,e.isStatement));case 266:return e.updateDefaultClause(s,l(s.statements,c,e.isStatement));case 267:return e.updateHeritageClause(s,l(s.types,c,e.isExpressionWithTypeArguments));case 268:return e.updateCatchClause(s,r(s.variableDeclaration,c,e.isVariableDeclaration),r(s.block,c,e.isBlock));case 269:return e.updatePropertyAssignment(s,r(s.name,c,e.isPropertyName),r(s.initializer,c,e.isExpression));case 270:return e.updateShorthandPropertyAssignment(s,r(s.name,c,e.isIdentifier),r(s.objectAssignmentInitializer,c,e.isExpression));case 271:return e.updateSpreadAssignment(s,r(s.expression,c,e.isExpression));case 272:return e.updateEnumMember(s,r(s.name,c,e.isPropertyName),r(s.initializer,c,e.isExpression));case 273:return e.updateSourceFileNode(s,i(s.statements,c,u));case 300:return e.updatePartiallyEmittedExpression(s,r(s.expression,c,e.isExpression));case 301:return e.updateCommaList(s,l(s.elements,c,e.isExpression));default:return s}}}}(u||(u={})),function(e){function t(e,t,r){return e?t(r,e):r}function r(e,t,r){return e?t(r,e):r}function n(n,i,a,o){if(void 0===n)return i;var s=o?r:e.reduceLeft,c=o||a,u=n.kind;if(u>0&&u<=144)return i;if(u>=160&&u<=177)return i;var l=i;switch(n.kind){case 211:case 214:case 205:case 230:case 299:break;case 145:l=t(n.left,a,l),l=t(n.right,a,l);break;case 146:l=t(n.expression,a,l);break;case 148:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 149:l=t(n.expression,a,l);break;case 150:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.questionToken,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 151:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 153:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 154:l=s(n.modifiers,c,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 155:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 156:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 179:case 180:l=s(n.elements,c,l);break;case 181:l=t(n.propertyName,a,l),l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 182:l=s(n.elements,c,l);break;case 183:l=s(n.properties,c,l);break;case 184:l=t(n.expression,a,l),l=t(n.name,a,l);break;case 185:l=t(n.expression,a,l),l=t(n.argumentExpression,a,l);break;case 186:case 187:l=t(n.expression,a,l),l=s(n.typeArguments,c,l),l=s(n.arguments,c,l);break;case 188:l=t(n.tag,a,l),l=t(n.template,a,l);break;case 189:l=t(n.type,a,l),l=t(n.expression,a,l);break;case 191:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 192:l=s(n.modifiers,c,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 190:case 193:case 194:case 195:case 196:case 202:case 203:case 208:l=t(n.expression,a,l);break;case 197:case 198:l=t(n.operand,a,l);break;case 199:l=t(n.left,a,l),l=t(n.right,a,l);break;case 200:l=t(n.condition,a,l),l=t(n.whenTrue,a,l),l=t(n.whenFalse,a,l);break;
1case 201:l=t(n.head,a,l),l=s(n.templateSpans,c,l);break;case 204:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 206:l=t(n.expression,a,l),l=s(n.typeArguments,c,l);break;case 207:l=t(n.expression,a,l),l=t(n.type,a,l);break;case 210:l=t(n.expression,a,l),l=t(n.literal,a,l);break;case 212:l=s(n.statements,c,l);break;case 213:l=s(n.modifiers,c,l),l=t(n.declarationList,a,l);break;case 215:l=t(n.expression,a,l);break;case 216:l=t(n.expression,a,l),l=t(n.thenStatement,a,l),l=t(n.elseStatement,a,l);break;case 217:l=t(n.statement,a,l),l=t(n.expression,a,l);break;case 218:case 225:l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 219:l=t(n.initializer,a,l),l=t(n.condition,a,l),l=t(n.incrementor,a,l),l=t(n.statement,a,l);break;case 220:case 221:l=t(n.initializer,a,l),l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 224:case 228:l=t(n.expression,a,l);break;case 226:l=t(n.expression,a,l),l=t(n.caseBlock,a,l);break;case 227:l=t(n.label,a,l),l=t(n.statement,a,l);break;case 229:l=t(n.tryBlock,a,l),l=t(n.catchClause,a,l),l=t(n.finallyBlock,a,l);break;case 231:l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 232:l=s(n.declarations,c,l);break;case 233:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 234:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 237:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.members,c,l);break;case 238:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.body,a,l);break;case 239:l=s(n.statements,c,l);break;case 240:l=s(n.clauses,c,l);break;case 242:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.moduleReference,a,l);break;case 243:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.importClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 244:l=t(n.name,a,l),l=t(n.namedBindings,a,l);break;case 245:l=t(n.name,a,l);break;case 246:case 250:l=s(n.elements,c,l);break;case 247:case 251:l=t(n.propertyName,a,l),l=t(n.name,a,l);break;case 248:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.expression,a,l);break;case 249:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.exportClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 253:l=t(n.expression,a,l);break;case 254:l=t(n.openingElement,a,l),l=e.reduceLeft(n.children,a,l),l=t(n.closingElement,a,l);break;case 258:l=t(n.openingFragment,a,l),l=e.reduceLeft(n.children,a,l),l=t(n.closingFragment,a,l);break;case 255:case 256:l=t(n.tagName,a,l),l=t(n.attributes,a,l);break;case 262:l=s(n.properties,c,l);break;case 257:l=t(n.tagName,a,l);break;case 261:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 263:case 264:l=t(n.expression,a,l);break;case 265:l=t(n.expression,a,l);case 266:l=s(n.statements,c,l);break;case 267:l=s(n.types,c,l);break;case 268:l=t(n.variableDeclaration,a,l),l=t(n.block,a,l);break;case 269:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 270:l=t(n.name,a,l),l=t(n.objectAssignmentInitializer,a,l);break;case 271:l=t(n.expression,a,l);break;case 272:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 273:l=s(n.statements,c,l);break;case 300:l=t(n.expression,a,l);break;case 301:l=s(n.elements,c,l)}return l}function i(t){if(void 0===t)return 0;if(536870912&t.transformFlags)return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind);var r=function(t){if(e.hasModifier(t,2)||e.isTypeNode(t)&&206!==t.kind)return 0;return n(t,0,a,o)}(t);return e.computeTransformFlagsForNode(t,r)}function a(e,t){return e|i(t)}function o(e,t){return e|function(e){if(void 0===e)return 0;for(var t=0,r=0,n=0,a=e;n<a.length;n++){var o=a[n];t|=i(o),r|=-536870913&o.transformFlags}return e.transformFlags=536870912|r,t}(t)}var s;e.reduceEachChild=n,e.mergeLexicalEnvironment=function(t,r){return e.some(r)?e.isNodeArray(t)?e.setTextRange(e.createNodeArray(e.prependStatements(t.slice(),r)),t):e.prependStatements(t,r):t},e.liftToBlock=function(t){return s.assert(e.every(t,e.isStatement),"Cannot lift nodes to a Block."),e.singleOrUndefined(t)||e.createBlock(t)},e.aggregateTransformFlags=function(e){return i(e),e},function(t){var r=!1;t.failBadSyntaxKind=function r(n,i){return t.fail((i||"Unexpected node.")+"\r\nNode "+e.formatSyntaxKind(n.kind)+" was unexpected.",r)},t.assertEachNode=t.shouldAssert(1)?function(r,n,i){return t.assert(void 0===n||e.every(r,n),i||"Unexpected node.",function(){return"Node array did not pass test '"+t.getFunctionName(n)+"'."},t.assertEachNode)}:e.noop,t.assertNode=t.shouldAssert(1)?function(r,n,i){return t.assert(void 0===n||n(r),i||"Unexpected node.",function(){return"Node "+e.formatSyntaxKind(r.kind)+" did n
1ot pass test '"+t.getFunctionName(n)+"'."},t.assertNode)}:e.noop,t.assertOptionalNode=t.shouldAssert(1)?function(r,n,i){return t.assert(void 0===n||void 0===r||n(r),i||"Unexpected node.",function(){return"Node "+e.formatSyntaxKind(r.kind)+" did not pass test '"+t.getFunctionName(n)+"'."},t.assertOptionalNode)}:e.noop,t.assertOptionalToken=t.shouldAssert(1)?function(r,n,i){return t.assert(void 0===n||void 0===r||r.kind===n,i||"Unexpected node.",function(){return"Node "+e.formatSyntaxKind(r.kind)+" was not a '"+e.formatSyntaxKind(n)+"' token."},t.assertOptionalToken)}:e.noop,t.assertMissingNode=t.shouldAssert(1)?function(r,n){return t.assert(void 0===r,n||"Unexpected node.",function(){return"Node "+e.formatSyntaxKind(r.kind)+" was unexpected'."},t.assertMissingNode)}:e.noop,t.enableDebugInfo=function(){if(!r){Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__debugFlags:{get:function(){return e.formatSymbolFlags(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__debugFlags:{get:function(){return e.formatTypeFlags(this.flags)}},__debugObjectFlags:{get:function(){return 65536&this.flags?e.formatObjectFlags(this.objectFlags):""}},__debugTypeToString:{value:function(){return this.checker.typeToString(this)}}});for(var t=0,n=[e.objectAllocator.getNodeConstructor(),e.objectAllocator.getIdentifierConstructor(),e.objectAllocator.getTokenConstructor(),e.objectAllocator.getSourceFileConstructor()];t<n.length;t++){var i=n[t];i.prototype.hasOwnProperty("__debugKind")||Object.defineProperties(i.prototype,{__debugKind:{get:function(){return e.formatSyntaxKind(this.kind)}},__debugModifierFlags:{get:function(){return e.formatModifierFlags(e.getModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return e.formatTransformFlags(this.transformFlags)}},__debugEmitFlags:{get:function(){return e.formatEmitFlags(e.getEmitFlags(this))}},__debugGetText:{value:function(t){if(e.nodeIsSynthesized(this))return"";var r=e.getParseTreeNode(this),n=r&&e.getSourceFileOfNode(r);return n?e.getSourceTextOfNodeFromSourceFile(n,r,t):""}}})}r=!0}}}(s=e.Debug||(e.Debug={}))}(u||(u={})),function(e){function t(t){return(t=e.getOriginalNode(t))?e.getNodeId(t):0}function r(e){return e.propertyName&&"default"===e.propertyName.escapedText}function n(t){if(e.getNamespaceDeclarationNode(t))return!0;var n=t.importClause&&t.importClause.namedBindings;if(!n)return!1;if(!e.isNamedImports(n))return!1;for(var i=0,a=0,o=n.elements;a<o.length;a++){r(o[a])&&i++}return i>0&&i!==n.elements.length||!!(n.elements.length-i)&&e.isDefaultImport(t)}function i(t){return!n(t)&&(e.isDefaultImport(t)||t.importClause&&e.isNamedImports(t.importClause.namedBindings)&&function(t){return!!t&&!!e.isNamedImports(t)&&e.some(t.elements,r)}(t.importClause.namedBindings))}function a(t,r,n){if(e.isBindingPattern(t.name))for(var i=0,o=t.name.elements;i<o.length;i++){var s=o[i];e.isOmittedExpression(s)||(n=a(s,r,n))}else if(!e.isGeneratedIdentifier(t.name)){var c=e.idText(t.name);r.get(c)||(r.set(c,!0),n=e.append(n,t.name))}return n}function o(e,t,r){var n=e[t];return n?n.push(r):e[t]=n=[r],n}e.getOriginalNodeId=t,e.chainBundle=function(t){return function(r){return 273===r.kind?t(r):function(r){return e.createBundle(e.map(r.sourceFiles,t),r.prepends)}(r)}},e.getImportNeedsImportStarHelper=n,e.getImportNeedsImportDefaultHelper=i,e.collectExternalModuleInfo=function(r,s,c){for(var u,l,d=[],f=e.createMultiMap(),p=[],_=e.createMap(),m=!1,g=!1,h=!1,v=0,y=r.statements;v<y.length;v++){var b=y[v];switch(b.kind){case 243:d.push(b),h=h||n(b)||i(b);break;
1case 242:253===b.moduleReference.kind&&d.push(b);break;case 249:if(b.moduleSpecifier)b.exportClause?d.push(b):(d.push(b),g=!0);else for(var x=0,S=b.exportClause.elements;x<S.length;x++){var k=S[x];if(!_.get(e.idText(k.name))){var C=k.propertyName||k.name;f.add(e.idText(C),k),(w=s.getReferencedImportDeclaration(C)||s.getReferencedValueDeclaration(C))&&o(p,t(w),k.name),_.set(e.idText(k.name),!0),u=e.append(u,k.name)}}break;case 248:b.isExportEquals&&!l&&(l=b);break;case 213:if(e.hasModifier(b,1))for(var E=0,T=b.declarationList.declarations;E<T.length;E++){var w;u=a(w=T[E],_,u)}break;case 233:e.hasModifier(b,1)&&(e.hasModifier(b,512)?m||(o(p,t(b),e.getDeclarationName(b)),m=!0):(C=b.name,_.get(e.idText(C))||(o(p,t(b),C),_.set(e.idText(C),!0),u=e.append(u,C))));break;case 234:e.hasModifier(b,1)&&(e.hasModifier(b,512)?m||(o(p,t(b),e.getDeclarationName(b)),m=!0):(C=b.name)&&!_.get(e.idText(C))&&(o(p,t(b),C),_.set(e.idText(C),!0),u=e.append(u,C)))}}var D=e.getOrCreateExternalHelpersModuleNameIfNeeded(r,c,g,h),A=D&&e.createImportDeclaration(void 0,void 0,e.createImportClause(void 0,e.createNamespaceImport(D)),e.createLiteral(e.externalHelpersModuleNameText));return A&&(e.addEmitFlags(A,67108864),d.unshift(A)),{externalImports:d,exportSpecifiers:f,exportEquals:l,hasExportStarsToExportValues:g,exportedBindings:p,exportedNames:u,externalHelpersImportDeclaration:A}},e.isSimpleCopiableExpression=function(t){return e.isStringLiteralLike(t)||8===t.kind||e.isKeyword(t.kind)||e.isIdentifier(t)},e.helperString=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(r){for(var n="",i=0;i<t.length;i++)n+=e[i],n+=r(t[i]);return n+=e[e.length-1]}}}(u||(u={})),function(e){function t(r,n){var i=e.getTargetOfBindingOrAssignmentElement(r);return e.isBindingOrAssignmentPattern(i)?function(r,n){for(var i=e.getElementsOfBindingOrAssignmentPattern(r),a=0,o=i;a<o.length;a++){var s=o[a];if(t(s,n))return!0}return!1}(i,n):!!e.isIdentifier(i)&&i.escapedText===n}function r(t,a,o,s,c){if(!c){var u=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(a),t.visitor,e.isExpression);u?o=o?function(t,r,n,a){return r=i(t,r,!0,a),e.createConditional(e.createTypeCheck(r,"undefined"),n,r)}(t,o,u,s):u:o||(o=e.createVoidZero())}var l=e.getTargetOfBindingOrAssignmentElement(a);e.isObjectBindingOrAssignmentPattern(l)?function(t,a,o,s,c){var u,l,d=e.getElementsOfBindingOrAssignmentPattern(o),p=d.length;if(1!==p){var _=!e.isDeclarationBindingElement(a)||0!==p;s=i(t,s,_,c)}for(var m=0;m<p;m++){var g=d[m];if(e.getRestIndicatorOfBindingOrAssignmentElement(g)){if(m===p-1){u&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(u),s,c,o),u=void 0);var h=f(t.context,s,d,l,o);r(t,g,h,g)}}else{var v=e.getPropertyNameOfBindingOrAssignmentElement(g);if(!(t.level>=1)||1572864&g.transformFlags||1572864&e.getTargetOfBindingOrAssignmentElement(g).transformFlags||e.isComputedPropertyName(v)){u&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(u),s,c,o),u=void 0);var h=n(t,s,v);e.isComputedPropertyName(v)&&(l=e.append(l,h.argumentExpression)),r(t,g,h,g)}else u=e.append(u,g)}}u&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(u),s,c,o)}(t,a,l,o,s):e.isArrayBindingOrAssignmentPattern(l)?function(t,n,a,o,s){var c,u,l=e.getElementsOfBindingOrAssignmentPattern(a),d=l.length;if(t.level<1&&t.downlevelIteration)o=i(t,e.createReadHelper(t.context,o,d>0&&e.getRestIndicatorOfBindingOrAssignmentElement(l[d-1])?void 0:d,s),!1,s);else if(1!==d&&(t.level<1||0===d)||e.every(l,e.isOmittedExpression)){var f=!e.isDeclarationBindingElement(n)||0!==d;o=i(t,o,f,s)}for(var p=0;p<d;p++){var _=l[p];if(t.level>=1)if(1048576&_.transformFlags){var m=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(m),u=e.append(u,[m,_]),c=e.append(c,t.createArrayBindingOrAssignmentElement(m))}else c=e.append(c,_);else{if(e.isOmittedExpression(_))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(_)){if(p===d-1){var g=e.createArraySlice(o,p);r(t,_,g,_)}}else{var g=e.createElementAccess(o,p);r(t,_,g,_)}}}c&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(c),o,s,a);if(u)for(var h=0,v=u;h<v.length;h++){var y=v[h],b=y[0],_=y[1];r(t,_,b,_)}}(t,a,l,o,s):t.emitBindingOrAssignment(l,o,s,a)}function n(t,r,n){if(e.isComputedPropertyName(n)){var a=i(t,e.visitNode(n.expression,t.visitor),!1,n);return e.createElementAccess(r,a)}if(e.isStringOrNumericLiteral(n))return(a=e.getSynthesizedClone(n)).text=a.text,e.createElementAccess(r,a);var o=e.createIdentifier(e.idText(n));return e.createPropertyAccess(r,o)}function i(t,r,n,i){if(e.isIdentifier(r)&&n)return r;var a=e.createTempVariable(void 0);return t.hoistTempVariables?(t.context.hoistVariableDeclaration(a),t.emitExpression(e.setTextRange(e.createAssignment(a,r),i))):t.emitBindingOrAssignment(a,r,i,void 0),a}function a(t){return e.Debug.assertEachNode(t,e.isArrayBindingElement),e.createArrayBindingPattern(t)}function o(t){return e.createArrayLiteral(e.map(t,e.convertToArrayAssignmentElement))}function s(t){return e.Debug.assertEachNode(t,e.isBindingElement),e.createObjectBindingPattern(t)}function c(t){return e.createObjectLiteral(e.map(t,e.convertToObjectAssignmentElement))}function u(t){return e.createBindingElement(void 0,void 0,t)}function l(e){return e}!function(e){e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest"}(e.FlattenLevel||(e.FlattenLevel={}
1)),e.flattenDestructuringAssignment=function(n,a,s,u,d,f){var p,_,m=n;if(e.isDestructuringAssignment(n))for(p=n.right;e.isEmptyArrayLiteral(n.left)||e.isEmptyObjectLiteral(n.left);){if(!e.isDestructuringAssignment(p))return e.visitNode(p,a,e.isExpression);m=n=p,p=n.right}var g={context:s,level:u,downlevelIteration:s.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:h,emitBindingOrAssignment:function(t,r,n,i){e.Debug.assertNode(t,f?e.isIdentifier:e.isExpression);var o=f?f(t,r,n):e.setTextRange(e.createAssignment(e.visitNode(t,a,e.isExpression),r),n);o.original=i,h(o)},createArrayBindingOrAssignmentPattern:o,createObjectBindingOrAssignmentPattern:c,createArrayBindingOrAssignmentElement:l,visitor:a};if(p&&(p=e.visitNode(p,a,e.isExpression),e.isIdentifier(p)&&t(n,p.escapedText)?p=i(g,p,!1,m):d?p=i(g,p,!0,m):e.nodeIsSynthesized(n)&&(m=p)),r(g,n,p,m,e.isDestructuringAssignment(n)),p&&d){if(!e.some(_))return p;_.push(p)}return e.aggregateTransformFlags(e.inlineExpressions(_))||e.createOmittedExpression();function h(t){e.setEmitFlags(t,64),e.aggregateTransformFlags(t),_=e.append(_,t)}},e.flattenDestructuringBinding=function(n,o,c,l,d,f,p){var _,m=[],g=[],h={context:c,level:l,downlevelIteration:c.getCompilerOptions().downlevelIteration,hoistTempVariables:f,emitExpression:function(t){_=e.append(_,t)},emitBindingOrAssignment:N,createArrayBindingOrAssignmentPattern:a,createObjectBindingOrAssignmentPattern:s,createArrayBindingOrAssignmentElement:u,visitor:o};if(e.isVariableDeclaration(n)){var v=e.getInitializerOfBindingOrAssignmentElement(n);v&&e.isIdentifier(v)&&t(n,v.escapedText)&&(v=i(h,v,!1,v),n=e.updateVariableDeclaration(n,n.name,n.type,v))}if(r(h,n,d,n,p),_){var y=e.createTempVariable(void 0);if(f){var b=e.inlineExpressions(_);_=void 0,N(y,b,void 0,void 0)}else{c.hoistVariableDeclaration(y);var x=e.lastOrUndefined(m);x.pendingExpressions=e.append(x.pendingExpressions,e.createAssignment(y,x.value)),e.addRange(x.pendingExpressions,_),x.value=y}}for(var S=0,k=m;S<k.length;S++){var C=k[S],E=C.pendingExpressions,T=C.name,w=(b=C.value,C.location),D=C.original,A=e.createVariableDeclaration(T,void 0,E?e.inlineExpressions(e.append(E,b)):b);A.original=D,e.setTextRange(A,w),e.isIdentifier(T)&&e.setEmitFlags(A,64),e.aggregateTransformFlags(A),g.push(A)}return g;function N(t,r,n,i){e.Debug.assertNode(t,e.isBindingName),_&&(r=e.inlineExpressions(e.append(_,r)),_=void 0),m.push({pendingExpressions:_,name:t,value:r,location:n,original:i})}};var d={name:"typescript:rest",scoped:!1,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\n t[p[i]] = s[p[i]];\n return t;\n };'};function f(t,r,n,i,a){t.requestEmitHelper(d);for(var o=[],s=0,c=0;c<n.length-1;c++){var u=e.getPropertyNameOfBindingOrAssignmentElement(n[c]);if(u)if(e.isComputedPropertyName(u)){var l=i[s];s++,o.push(e.createConditional(e.createTypeCheck(l,"symbol"),l,e.createAdd(l,e.createLiteral(""))))}else o.push(e.createLiteral(u))}return e.createCall(e.getHelperName("__rest"),void 0,[r,e.setTextRange(e.createArrayLiteral(o),a)])}}(u||(u={})),function(e){var t,r,n=!1;function i(t,r,n,i,o,s){var c=[];return c.push(e.createArrayLiteral(r,!0)),c.push(n),i&&(c.push(i),o&&c.push(o)),t.requestEmitHelper(a),e.setTextRange(e.createCall(e.getHelperName("__decorate"),void 0,c),s)}!function(e){e[e.ClassAliases=1]="ClassAliases",e[e.NamespaceExports=2]="NamespaceExports",e[e.NonQualifiedEnumMembers=8]="NonQualifiedEnumMembers"}(t||(t={})),function(e){e[e.None=0]="None",e[e.HasStaticInitializedProperties=1]="HasStaticInitializedProperties",e[e.HasConstructorDecorators=2]="HasConstructorDecorators",e[e.HasMemberDecorators=4]="HasMemberDecorators",e[e.IsExportOfNamespace=8]="IsExportOfNamespace",e[e.IsNamedExternalExport=16]="IsNamedExternalExport",e[e.IsDefaultExternalExport=32]="IsDefaultExternalExport",e[e.IsDerivedClass=64]="IsDerivedClass",e[e.UseImmediatelyInvokedFunctionExpression=128]="UseImmediatelyInvokedFunctionExpression",e[e.HasAnyDecorators=6]="HasAnyDecorators",e[e.NeedsName=5]="NeedsName",e[e.MayNeedImmediatelyInvokedFunctionExpression=7]="MayNeedImmediatelyInvokedFunctionExpression",e[e.IsExported=56]="IsExported"}(r||(r={})),e.transformTypeScript=function(t){var r,a,s,u,l,d,f,p,_,m=t.startLexicalEnvironment,g=t.resumeLexicalEnvironment,h=t.endLexicalEnvironment,v=t.hoistVariableDeclaration,y=t.getEmitResolver(),b=t.getCompilerOptions(),x=e.getStrictOptionValue(b,"strictNullChecks"),S=e.getEmitScriptTarget(b),k=e.getEmitModuleKind(b),C=t.onEmitNode,E=t.onSubstituteNode;
1return t.onEmitNode=function(t,n,i){var a=p,o=r;e.isSourceFile(n)&&(r=n),2&d&&function(t){return 238===e.getOriginalNode(t).kind}(n)&&(p|=2),8&d&&function(t){return 237===e.getOriginalNode(t).kind}(n)&&(p|=8),C(t,n,i),p=a,r=o},t.onSubstituteNode=function(t,r){return r=E(t,r),1===t?function(t){switch(t.kind){case 71:return function(t){return function(t){if(1&d&&16777216&y.getNodeCheckFlags(t)){var r=y.getReferencedValueDeclaration(t);if(r){var n=f[r.id];if(n){var i=e.getSynthesizedClone(n);return e.setSourceMapRange(i,t),e.setCommentRange(i,t),i}}}}(t)||Ue(t)||t}(t);case 184:case 185:return function(e){return Ve(e)}(t)}return t}(r):e.isShorthandPropertyAssignment(r)?function(t){if(2&d){var r=t.name,n=Ue(r);if(n){if(t.objectAssignmentInitializer){var i=e.createAssignment(n,t.objectAssignmentInitializer);return e.setTextRange(e.createPropertyAssignment(r,i),t)}return e.setTextRange(e.createPropertyAssignment(r,n),t)}}return t}(r):r},t.enableSubstitution(184),t.enableSubstitution(185),function(t){return 274===t.kind?function(t){return e.createBundle(t.sourceFiles.map(T),e.mapDefined(t.prepends,function(t){return 276===t.kind?e.createUnparsedSourceFile(t.javascriptText):t}))}(t):T(t)};function T(n){if(n.isDeclarationFile)return n;r=n;var i=w(n,j);return e.addEmitHelpers(i,t.readEmitHelpers()),r=void 0,i}function w(t,r){var n=u,i=l;!function(t){switch(t.kind){case 273:case 240:case 239:case 212:u=t,l=void 0;break;case 234:case 233:if(e.hasModifier(t,2))break;t.name?Se(t):e.Debug.assert(234===t.kind||e.hasModifier(t,512))}}(t);var a=r(t);return u!==n&&(l=i),u=n,a}function D(e){return w(e,A)}function A(r){return 1&r.transformFlags?R(r):2&r.transformFlags?e.visitEachChild(r,D,t):r}function N(e){return w(e,P)}function P(r){switch(r.kind){case 243:case 242:case 248:case 249:return function(r){if(e.getParseTreeNode(r)!==r)return 2&r.transformFlags?e.visitEachChild(r,D,t):r;switch(r.kind){case 243:return function(t){if(!t.importClause)return t;var r=e.visitNode(t.importClause,Te,e.isImportClause);return r?e.updateImportDeclaration(t,void 0,void 0,r,t.moduleSpecifier):void 0}(r);case 242:return Pe(r);case 248:return function(r){return y.isValueAliasDeclaration(r)?e.visitEachChild(r,D,t):void 0}(r);case 249:return function(t){if(!t.exportClause)return b.isolatedModules||y.moduleExportsSomeValue(t.moduleSpecifier)?t:void 0;if(y.isValueAliasDeclaration(t)){var r=e.visitNode(t.exportClause,Ae,e.isNamedExports);return r?e.updateExportDeclaration(t,void 0,void 0,r,t.moduleSpecifier):void 0}}(r);default:e.Debug.fail("Unhandled ellided statement")}}(r);default:return A(r)}}function O(e){return w(e,F)}function F(r){if(249!==r.kind&&243!==r.kind&&244!==r.kind&&(242!==r.kind||253!==r.moduleReference.kind))return 1&r.transformFlags||e.hasModifier(r,1)?R(r):2&r.transformFlags?e.visitEachChild(r,D,t):r}function M(e){return w(e,I)}function I(t){switch(t.kind){case 154:return;case 151:case 159:case 155:case 156:case 153:return A(t);case 211:return t;default:return e.Debug.failBadSyntaxKind(t)}}function L(t){if(!(2270&e.modifierToFlag(t.kind))&&(!a||84!==t.kind))return t}function R(n){if(e.hasModifier(n,2)&&e.isStatement(n))return e.createNotEmittedStatement(n);switch(n.kind){case 84:case 79:return a?void 0:n;case 114:case 112:case 113:case 117:case 76:case 124:case 132:case 166:case 167:case 165:case 160:case 147:case 119:case 122:case 137:case 134:case 131:case 105:case 138:case 163:case 162:case 164:case 161:case 168:case 169:case 170:case 172:case 173:case 174:case 175:case 176:case 177:case 159:case 149:case 236:return;case 151:return function(t){var r=me(t.name,e.some(t.decorators)||!!t.initializer,!0);r&&!pe(r)&&(_||(_=[])).push(r)}(n);case 241:return;case 154:return function(r){if(he(r))return e.updateConstructor(r,e.visitNodes(r.decorators,D,e.isDecorator),e.visitNodes(r.modifiers,D,e.isModifier),e.visitParameterList(r.parameters,D,t),e.visitFunctionBody(r.body,D,t))}(n);case 235:return e.createNotEmittedStatement(n);case 234:return function(n){var a=_;_=void 0;var o=V(n,!0),s=function(t,r){var n=0;e.some(r)&&(n|=1);var i=e.getClassExtendsHeritageClauseElement(t);return i&&95!==e.skipOuterExpressions(i.expression).kind&&(n|=64),function(t){if(t.decorators&&t.decorators.length>0)return!0;var r=e.getFirstConstructorWithBody(t);return!!r&&e.forEach(r.parameters,B)}(t)&&(n|=2),e.childIsDecorated(t)&&(n|=4),Oe(t)?n|=8:function(t){return Fe(t)&&e.hasModifier(t,512)}(t)?n|=32:Me(t)&&(n|=16),S<=1&&7&n&&(n|=128),n}(n,o);128&s&&t.startLexicalEnvironment();var c=n.name||(5&s?e.getGeneratedNameForNode(n):void 0),u=2&s?function(t,r,n){var i=e.moveRangePastDecorators(t),a=function(t){if(8388608&y.getNodeCheckFlags(t)){qe();var r=e.createUniqueName(t.name&&!e.isGeneratedIdentifier(t.name)?e.idText(t.name):"default");return f[e.getOriginalNodeId(t)]=r,v(r),r}}(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),c=z(t,0!==(64&n)
1),u=e.createClassExpression(void 0,r,void 0,s,c);e.setOriginalNode(u,t),e.setTextRange(u,i);var l=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,a?e.createAssignment(a,u):u)],1));return e.setOriginalNode(l,t),e.setTextRange(l,i),e.setCommentRange(l,t),l}(n,c,s):function(t,r,n){var i=128&n?void 0:e.visitNodes(t.modifiers,L,e.isModifier),a=e.createClassDeclaration(void 0,i,r,void 0,e.visitNodes(t.heritageClauses,D,e.isHeritageClause),z(t,0!==(64&n))),o=e.getEmitFlags(t);return 1&n&&(o|=32),e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}(n,c,s),l=[u];if(e.some(_)&&l.push(e.createStatement(e.inlineExpressions(_))),_=a,1&s&&K(l,o,128&s?e.getInternalName(n):e.getLocalName(n)),ee(l,n,!1),ee(l,n,!0),function(r,n){var a=function(r){var n=function(t){var r=t.decorators,n=$(e.getFirstConstructorWithBody(t));if(r||n)return{decorators:r,parameters:n}}(r),a=Z(r,r,n);if(a){var o=f&&f[e.getOriginalNodeId(r)],s=e.getLocalName(r,!1,!0),c=i(t,a,s),u=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(u,1536),e.setSourceMapRange(u,e.moveRangePastDecorators(r)),u}}(n);a&&r.push(e.setOriginalNode(e.createStatement(a),n))}(l,n),128&s){var d=e.createTokenRange(e.skipTrivia(r.text,n.members.end),18),p=e.getInternalName(n),m=e.createPartiallyEmittedExpression(p);m.end=d.end,e.setEmitFlags(m,1536);var g=e.createReturn(m);g.pos=d.pos,e.setEmitFlags(g,1920),l.push(g),e.prependStatements(l,t.endLexicalEnvironment());var h=e.createImmediatelyInvokedArrowFunction(l);e.setEmitFlags(h,33554432);var b=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(n,!1,!1),void 0,h)]));e.setOriginalNode(b,n),e.setCommentRange(b,n),e.setSourceMapRange(b,e.moveRangePastDecorators(n)),e.startOnNewLine(b),l=[b]}return 8&s?Le(l,n):(128&s||2&s)&&(32&s?l.push(e.createExportDefault(e.getLocalName(n,!1,!0))):16&s&&l.push(e.createExternalModuleExport(e.getLocalName(n,!1,!0)))),l.length>1&&(l.push(e.createEndOfDeclarationMarker(n)),e.setEmitFlags(u,4194304|e.getEmitFlags(u))),e.singleOrMany(l)}(n);case 204:return function(t){var r=_;_=void 0;var n=V(t,!0),i=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),a=z(t,e.some(i,function(e){return 85===e.token})),o=e.createClassExpression(void 0,t.name,void 0,i,a);if(e.setOriginalNode(o,t),e.setTextRange(o,t),e.some(n)||e.some(_)){var s=[],c=8388608&y.getNodeCheckFlags(t),u=e.createTempVariable(v,!!c);if(c){qe();var l=e.getSynthesizedClone(u);l.autoGenerateFlags&=-9,f[e.getOriginalNodeId(t)]=l}return e.setEmitFlags(o,65536|e.getEmitFlags(o)),s.push(e.startOnNewLine(e.createAssignment(u,o))),e.addRange(s,e.map(_,e.startOnNewLine)),_=r,e.addRange(s,function(t,r){for(var n=[],i=0,a=t;i<a.length;i++){var o=a[i],s=G(o,r);e.startOnNewLine(s),e.setSourceMapRange(s,e.moveRangePastModifiers(o)),e.setCommentRange(s,o),n.push(s)}return n}(n,u)),s.push(e.startOnNewLine(u)),e.inlineExpressions(s)}return _=r,o}(n);case 267:return function(t){if(85===t.token){var r=e.visitNodes(t.types,D,e.isExpressionWithTypeArguments,0,1);return e.setTextRange(e.createHeritageClause(85,r),t)}}(n);case 206:return function(t){return e.updateExpressionWithTypeArguments(t,void 0,e.visitNode(t.expression,D,e.isLeftHandSideExpression))}(n);case 153:return function(r){if(he(r)){var n=e.updateMethod(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,ge(r),void 0,void 0,e.visitParameterList(r.parameters,D,t),void 0,e.visitFunctionBody(r.body,D,t));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(n);case 155:return function(r){if(ve(r)){var n=e.updateGetAccessor(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),ge(r),e.visitParameterList(r.parameters,D,t),void 0,e.visitFunctionBody(r.body,D,t)||e.createBlock([]));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(n);case 156:return function(r){if(ve(r)){var n=e.updateSetAccessor(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),ge(r),e.visitParameterList(r.parameters,D,t),e.visitFunctionBody(r.body,D,t)||e.createBlock([]));return n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r))),n}}(n);case 233:return function(r){if(!he(r))return e.createNotEmittedStatement
1(r);var n=e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,D,t),void 0,e.visitFunctionBody(r.body,D,t)||e.createBlock([]));if(Oe(r)){var i=[n];return Le(i,r),i}return n}(n);case 191:return function(r){return he(r)?e.updateFunctionExpression(r,e.visitNodes(r.modifiers,L,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,D,t),void 0,e.visitFunctionBody(r.body,D,t)||e.createBlock([])):e.createOmittedExpression()}(n);case 192:return function(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,L,e.isModifier),void 0,e.visitParameterList(r.parameters,D,t),void 0,r.equalsGreaterThanToken,e.visitFunctionBody(r.body,D,t))}(n);case 148:return function(t){if(!e.parameterIsThisKeyword(t)){var r=e.createParameter(void 0,void 0,t.dotDotDotToken,e.visitNode(t.name,D,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,D,e.isExpression));return e.setOriginalNode(r,t),e.setTextRange(r,e.moveRangePastModifiers(t)),e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastModifiers(t)),e.setEmitFlags(r.name,32),r}}(n);case 190:return function(n){var i=e.skipOuterExpressions(n.expression,-3);if(e.isAssertionExpression(i)){var a=e.visitNode(n.expression,D,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(a,r))?e.updateParen(n,a):e.createPartiallyEmittedExpression(a,n)}return e.visitEachChild(n,D,t)}(n);case 189:case 207:return function(t){var r=e.visitNode(t.expression,D,e.isExpression);return e.createPartiallyEmittedExpression(r,t)}(n);case 186:return function(t){return e.updateCall(t,e.visitNode(t.expression,D,e.isExpression),void 0,e.visitNodes(t.arguments,D,e.isExpression))}(n);case 187:return function(t){return e.updateNew(t,e.visitNode(t.expression,D,e.isExpression),void 0,e.visitNodes(t.arguments,D,e.isExpression))}(n);case 188:return function(t){return e.updateTaggedTemplate(t,e.visitNode(t.tag,D,e.isExpression),void 0,e.visitNode(t.template,D,e.isExpression))}(n);case 208:return function(t){var r=e.visitNode(t.expression,D,e.isLeftHandSideExpression);return e.createPartiallyEmittedExpression(r,t)}(n);case 237:return function(t){if(function(t){return!e.isConst(t)||b.preserveConstEnums||b.isolatedModules}(t)){var n=[],i=2;Ce(n,t)&&(k===e.ModuleKind.System&&u===r||(i|=512));var a=Be(t),o=ze(t),c=e.hasModifier(t,1)?e.getExternalModuleOrNamespaceExportName(s,t,!1,!0):e.getLocalName(t,!1,!0),l=e.createLogicalOr(c,e.createAssignment(c,e.createObjectLiteral()));if(xe(t)){var d=e.getLocalName(t,!1,!0);l=e.createAssignment(d,l)}var f=e.createStatement(e.createCall(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,a)],void 0,function(t,r){var n=s;s=r;var i=[];m();var a=e.map(t.members,be);
1return e.prependStatements(i,h()),e.addRange(i,a),s=n,e.createBlock(e.setTextRange(e.createNodeArray(i),t.members),!0)}(t,o)),void 0,[l]));return e.setOriginalNode(f,t),e.setTextRange(f,t),e.setEmitFlags(f,i),n.push(f),n.push(e.createEndOfDeclarationMarker(t)),n}}(n);case 213:return function(r){if(Oe(r)){var n=e.getInitializedVariables(r.declarationList);if(0===n.length)return;return e.setTextRange(e.createStatement(e.inlineExpressions(e.map(n,ye))),r)}return e.visitEachChild(r,D,t)}(n);case 231:return function(t){return e.updateVariableDeclaration(t,e.visitNode(t.name,D,e.isBindingName),void 0,e.visitNode(t.initializer,D,e.isExpression))}(n);case 238:return Ee(n);case 242:return Pe(n);default:return e.Debug.failBadSyntaxKind(n)}}function j(r){var n=e.getStrictOptionValue(b,"alwaysStrict")&&!(e.isExternalModule(r)&&k>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(r);return e.updateSourceFileNode(r,e.visitLexicalEnvironment(r.statements,N,t,0,n))}function B(e){return void 0!==e.decorators&&e.decorators.length>0}function z(r,n){var i=[],a=function(r,n){var i=e.forEach(r.members,H),a=262144&r.transformFlags,o=e.getFirstConstructorWithBody(r);if(!i&&!a)return e.visitEachChild(o,D,t);var s=function(r){return e.visitParameterList(r&&r.parameters,D,t)||[]}(o),c=function(t,r,n){var i=[],a=0;if(g(),r){a=function(t,r){if(t.body){var n=t.body.statements,i=e.addPrologue(r,n,!1,D);if(i===n.length)return i;var a=n[i];return 215===a.kind&&e.isSuperCall(a.expression)?(r.push(e.visitNode(a,D,e.isStatement)),i+1):i}return 0}(r,i);var o=function(t){return e.filter(t.parameters,q)}(r);e.addRange(i,e.map(o,U))}else n&&i.push(e.createStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));var s=V(t,!1);return K(i,s,e.createThis()),r&&e.addRange(i,e.visitNodes(r.body.statements,D,e.isStatement,a)),i=e.mergeLexicalEnvironment(i,h()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(i),r?r.body.statements:t.members),!0),r?r.body:void 0)}(r,o,n);return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,s,c),o||r),o))}(r,n);return a&&i.push(a),e.addRange(i,e.visitNodes(r.members,M,e.isClassElement)),e.setTextRange(e.createNodeArray(i),r.members)}function q(t){return e.hasModifier(t,92)&&e.isIdentifier(t.name)}function U(t){e.Debug.assert(e.isIdentifier(t.name));var r=t.name,n=e.getMutableClone(r);e.setEmitFlags(n,1584);var i=e.getMutableClone(r);return e.setEmitFlags(i,1536),e.startOnNewLine(e.setEmitFlags(e.setTextRange(e.createStatement(e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createThis(),n),t.name),i)),e.moveRangePos(t,-1)),1536))}function V(t,r){return e.filter(t.members,r?J:H)}function J(e){return W(e,!0)}function H(e){return W(e,!1)}function W(t,r){return 151===t.kind&&r===e.hasModifier(t,32)&&void 0!==t.initializer}function K(t,r,n){for(var i=0,a=r;i<a.length;i++){var o=a[i],s=e.createStatement(G(o,n));e.setSourceMapRange(s,e.moveRangePastModifiers(o)),e.setCommentRange(s,o),t.push(s)}}function G(t,r){var n=e.isComputedPropertyName(t.name)&&!pe(t.name.expression)?e.updateComputedPropertyName(t.name,e.getGeneratedNameForNode(t.name)):t.name,i=e.visitNode(t.initializer,D,e.isExpression),a=e.createMemberAccessForPropertyName(r,n,n);return e.createAssignment(a,i)}function X(t,r){return e.filter(t.members,r?function(e){return Y(e,!0,t)}:function(e){return Y(e,!1,t)})}function Y(t,r,n){return e.nodeOrChildIsDecorated(t,n)&&r===e.hasModifier(t,32)}function $(e){var t;if(e)for(var r=e.parameters,n=0;n<r.length;n++){var i=r[n];(t||i.decorators)&&(t||(t=new Array(r.length)),t[n]=i.decorators)}return t}function Q(t,r){switch(r.kind){case 155:case 156:return function(t,r){if(r.body){var n=e.getAllAccessorDeclarations(t.members,r),i=n.firstAccessor,a=n.secondAccessor,o=n.setAccessor,s=i.decorators?i:a&&a.decorators?a:void 0;if(s&&r===s){var c=s.decorators,u=$(o);if(c||u)return{decorators:c,parameters:u}}}}(t,r);case 153:return function(e){if(e.body){var t=e.decorators,r=$(e);if(t||r)return{decorators:t,parameters:r}}}(r);case 151:return function(e){var t=e.decorators;if(t)return{decorators:t}}(r);default:return}}function Z(r,i,a){if(a){var s=[];return e.addRange(s,e.map(a.decorators,re)),e.addRange(s,e.flatMap(a.parameters,ne)),function(r,i,a){n?function(r,n,i){if(b.emitDecoratorMetadata){var a=void 0;ie(r)&&(a||(a=[])).push(e.createPropertyAssignment("type",e.createArrowFunction(void 0,void 0,[],void 0,e.createToken(36),se(r)))),oe(r)&&(a||(a=[])).push(e.createPropertyAssignment("paramTypes",e.createArrowFunction(void 0,void 0,[],void 0,e.createToken(36),ce(r,n)))),ae(r)&&(a||(a=[])).push(e.createPropertyAssignment("returnType",e.createArrowFunction(void 0,void 0,[],void 0,e.createToken(36),ue(r)))),a&&i.push(o(t,"design:typeinfo",e.createObjectLiteral(a,!0)))}}(r,i,a):function(e,r,n){b.emitDecoratorMetadata&&(ie(e)&&n.push(o(t,"design:type",se(e))),oe(e)&&n.push(o(t,"design:paramtypes",ce(e,r))),ae(e)&&n.push(o(t,"design:returntype",ue(e)))
1)}(r,i,a)}(r,i,s),s}}function ee(t,r,n){e.addRange(t,e.map(function(e,t){for(var r,n=X(e,t),i=0,a=n;i<a.length;i++){var o=a[i],s=te(e,o);s&&(r?r.push(s):r=[s])}return r}(r,n),Ie))}function te(r,n){var a=Z(n,r,Q(r,n));if(a){var o=function(t,r){return e.hasModifier(r,32)?e.getDeclarationName(t):function(t){return e.createPropertyAccess(e.getDeclarationName(t),"prototype")}(t)}(r,n),s=_e(n,!0),c=S>0?151===n.kind?e.createVoidZero():e.createNull():void 0,u=i(t,a,o,s,c,e.moveRangePastDecorators(n));return e.setEmitFlags(u,1536),u}}function re(t){return e.visitNode(t.expression,D,e.isExpression)}function ne(r,n){var i;if(r){i=[];for(var a=0,o=r;a<o.length;a++){var s=o[a],u=c(t,re(s),n,s.expression);e.setEmitFlags(u,1536),i.push(u)}}return i}function ie(e){var t=e.kind;return 153===t||155===t||156===t||151===t}function ae(e){return 153===e.kind}function oe(t){switch(t.kind){case 234:case 204:return void 0!==e.getFirstConstructorWithBody(t);case 153:case 155:case 156:return!0}return!1}function se(t){switch(t.kind){case 151:case 148:case 155:return le(t.type);case 156:return le(e.getSetAccessorTypeAnnotationNode(t));case 234:case 204:case 153:return e.createIdentifier("Function");default:return e.createVoidZero()}}function ce(t,r){var n=e.isClassLike(t)?e.getFirstConstructorWithBody(t):e.isFunctionLike(t)&&e.nodeIsPresent(t.body)?t:void 0,i=[];if(n)for(var a=function(t,r){if(r&&155===t.kind){var n=e.getAllAccessorDeclarations(r.members,t).setAccessor;if(n)return n.parameters}return t.parameters}(n,r),o=a.length,s=0;s<o;s++){var c=a[s];0===s&&e.isIdentifier(c.name)&&"this"===c.name.escapedText||(c.dotDotDotToken?i.push(le(e.getRestParameterElementType(c.type))):i.push(se(c)))}return e.createArrayLiteral(i)}function ue(t){return e.isFunctionLike(t)&&t.type?le(t.type):e.isAsyncFunction(t)?e.createIdentifier("Promise"):e.createVoidZero()}function le(t){if(void 0===t)return e.createIdentifier("Object");switch(t.kind){case 105:case 140:case 95:case 131:return e.createVoidZero();case 172:return le(t.type);case 162:case 163:return e.createIdentifier("Function");case 166:case 167:return e.createIdentifier("Array");case 160:case 122:return e.createIdentifier("Boolean");case 137:return e.createIdentifier("String");case 135:return e.createIdentifier("Object");case 177:switch(t.literal.kind){case 9:return e.createIdentifier("String");case 8:return e.createIdentifier("Number");case 101:case 86:return e.createIdentifier("Boolean");default:return e.Debug.failBadSyntaxKind(t.literal)}case 134:return e.createIdentifier("Number");case 138:return S<2?fe():e.createIdentifier("Symbol");case 161:return function(t){var r=y.getTypeReferenceSerializationKind(t.typeName,u);switch(r){case e.TypeReferenceSerializationKind.Unknown:var n=de(t.typeName,!0),i=e.createTempVariable(v);return e.createLogicalOr(e.createLogicalAnd(e.createTypeCheck(e.createAssignment(i,n),"function"),i),e.createIdentifier("Object"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return de(t.typeName,!1);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return e.createVoidZero();case e.TypeReferenceSerializationKind.BooleanType:return e.createIdentifier("Boolean");case e.TypeReferenceSerializationKind.NumberLikeType:return e.createIdentifier("Number");case e.TypeReferenceSerializationKind.StringLikeType:return e.createIdentifier("String");case e.TypeReferenceSerializationKind.ArrayLikeType:return e.createIdentifier("Array");case e.TypeReferenceSerializationKind.ESSymbolType:return S<2?fe():e.createIdentifier("Symbol");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return e.createIdentifier("Function");case e.TypeReferenceSerializationKind.Promise:return e.createIdentifier("Promise");case e.TypeReferenceSerializationKind.ObjectType:return e.createIdentifier("Object");default:return e.Debug.assertNever(r)}}(t);case 169:case 168:return function(t){for(var r,n=0,i=t.types;n<i.length;n++){for(var a=i[n];172===a.kind;)a=a.type;if(131!==a.kind&&(x||95!==a.kind&&140!==a.kind)){var o=le(a);if(e.isIdentifier(o)&&"Object"===o.escapedText)return o;if(r){if(!e.isIdentifier(r)||!e.isIdentifier(o)||r.escapedText!==o.escapedText)return e.createIdentifier("Object")}else r=o}}return r||e.createVoidZero()}(t);case 164:case 174:case 175:case 176:case 165:case 119:case 173:case 178:break;default:return e.Debug.failBadSyntaxKind(t)}return e.createIdentifier("Object")}function de(t,r){switch(t.kind){case 71:var n=e.getMutableClone(t);return n.flags&=-9,n.original=void 0,n.parent=e.getParseTreeNode(u),r?e.createLogicalAnd(e.createStrictInequality(e.createTypeOf(n),e.createLiteral("undefined")),n):n;case 145:return function(t,r){var n;if(71===t.left.kind)n=de(t.left,r);else if(r){var i=e.createTempVariable(v);n=e.createLogicalAnd(e.createAssignment(i,de(t.left,!0)),i)}else n=de(t.left,!1);return e.createPropertyAccess(n,t.right)}(t,r)}}function fe(){return e.createConditional(e.createTypeCheck(e.createIdentifier("Symbol"),"function"),e.createIdentifier("Symbol"),e.createIdentifier("Object"))}function pe(t){return!e.isIdentifier(t)&&e.isSimpleCopiableExpression(t)||e.isWellKnownSymbolSyntactically(t)}function _e(t,r){var n=t.name;return e.isComputedPropertyName(n)?r&&!pe(n.expression)?e.getGeneratedNameForNode(n):n.expression:e.isIdentifier(n)?e.createLiteral(e.idText(n)):e.getSynthesizedClone(n)}function me(t,r,n){if(e.isComputedPropertyName(t)){var i=e.visitNode(t.expression,D,e.isExpression),a=e.skipPartiallyEmittedExpressions(i),o=pe(a);if(!o&&r){var s=e.getGeneratedNameForNode(t);return v(s),e.createAssignment(s,i)}return n&&(o||e.isIdentifier(a))?void 0:i}}function ge(t){var r=t.name,n=me(r,e.some(t.decorators),!1);return n?(e.some(_)&&(n=e.inlineExpressions(_.concat([n])),_.length=0),e.updateComputedPropertyName(r,n)):r}function he(t){return!e.nodeIsMissing(t.body)}function ve(t){return!(e.nodeIsMissing(t.body)&&e.hasModifier(t,128))}function ye(r){var n=r.name;
1return e.isBindingPattern(n)?e.flattenDestructuringAssignment(r,D,t,0,!1,Re):e.setTextRange(e.createAssignment(je(n),e.visitNode(r.initializer,D,e.isExpression)),r)}function be(r){var n=_e(r,!1),i=function(r){var n=y.getConstantValue(r);return void 0!==n?e.createLiteral(n):(0===(8&d)&&(d|=8,t.enableSubstitution(71)),r.initializer?e.visitNode(r.initializer,D,e.isExpression):e.createVoidZero())}(r),a=e.createAssignment(e.createElementAccess(s,n),i),o=9===i.kind?a:e.createAssignment(e.createElementAccess(s,a),n);return e.setTextRange(e.createStatement(e.setTextRange(o,r)),r)}function xe(t){return Oe(t)||Fe(t)&&k!==e.ModuleKind.ES2015&&k!==e.ModuleKind.ESNext&&k!==e.ModuleKind.System}function Se(t){l||(l=e.createUnderscoreEscapedMap());var r=ke(t);l.has(r)||l.set(r,t)}function ke(t){return e.Debug.assertNode(t.name,e.isIdentifier),t.name.escapedText}function Ce(t,r){var n=e.createVariableStatement(e.visitNodes(r.modifiers,L,e.isModifier),e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(r,!1,!0))],273===u.kind?0:1));if(e.setOriginalNode(n,r),Se(r),function(e){if(l){var t=ke(e);return l.get(t)===e}return!0}(r))return 237===r.kind?e.setSourceMapRange(n.declarationList,r):e.setSourceMapRange(n,r),e.setCommentRange(n,r),e.setEmitFlags(n,4195328),t.push(n),!0;var i=e.createMergeDeclarationMarker(n);return e.setEmitFlags(i,4195840),t.push(i),!1}function Ee(n){if(!function(t){return e.isInstantiatedModule(t,b.preserveConstEnums||b.isolatedModules)}(n))return e.createNotEmittedStatement(n);e.Debug.assertNode(n.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),0===(2&d)&&(d|=2,t.enableSubstitution(71),t.enableSubstitution(270),t.enableEmitNotification(238));var i=[],o=2;Ce(i,n)&&(k===e.ModuleKind.System&&u===r||(o|=512));var c=Be(n),f=ze(n),p=e.hasModifier(n,1)?e.getExternalModuleOrNamespaceExportName(s,n,!1,!0):e.getLocalName(n,!1,!0),_=e.createLogicalOr(p,e.createAssignment(p,e.createObjectLiteral()));if(xe(n)){var g=e.getLocalName(n,!1,!0);_=e.createAssignment(g,_)}var v=e.createStatement(e.createCall(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,c)],void 0,function(t,r){var n=s,i=a,o=l;s=r,a=t,l=void 0;var c,u,d=[];m();var f=t.body;if(239===f.kind)w(f,function(t){return e.addRange(d,e.visitNodes(t.statements,O,e.isStatement))}),c=f.statements,u=f;else{var p=Ee(f);p&&(e.isArray(p)?e.addRange(d,p):d.push(p));var _=function e(t){if(238===t.body.kind){var r=e(t.body);return r||t.body}}(t).body;c=e.moveRangePos(_.statements,-1)}e.prependStatements(d,h()),s=n,a=i,l=o;var g=e.createBlock(e.setTextRange(e.createNodeArray(d),c),!0);return e.setTextRange(g,u),239!==f.kind&&e.setEmitFlags(g,1536|e.getEmitFlags(g)),g}(n,f)),void 0,[_]));return e.setOriginalNode(v,n),e.setTextRange(v,n),e.setEmitFlags(v,o),i.push(v),i.push(e.createEndOfDeclarationMarker(n)),i}function Te(t){var r=y.isReferencedAliasDeclaration(t)?t.name:void 0,n=e.visitNode(t.namedBindings,we,e.isNamedImportBindings);return r||n?e.updateImportClause(t,r,n):void 0}function we(t){if(245===t.kind)return y.isReferencedAliasDeclaration(t)?t:void 0;var r=e.visitNodes(t.elements,De,e.isImportSpecifier);return e.some(r)?e.updateNamedImports(t,r):void 0}function De(e){return y.isReferencedAliasDeclaration(e)?e:void 0}function Ae(t){var r=e.visitNodes(t.elements,Ne,e.isExportSpecifier);return e.some(r)?e.updateNamedExports(t,r):void 0}function Ne(e){return y.isValueAliasDeclaration(e)?e:void 0}function Pe(n){if(e.isExternalModuleImportEqualsDeclaration(n))return y.isReferencedAliasDeclaration(n)?e.visitEachChild(n,D,t):void 0;if(function(t){return y.isReferencedAliasDeclaration(t)||!e.isExternalModule(r)&&y.isTopLevelValueImportEqualsWithEntityName(t)}(n)){var i,a,o,c=e.createExpressionFromEntityName(n.moduleReference);return e.setEmitFlags(c,3584),Me(n)||!Oe(n)?e.setOriginalNode(e.setTextRange(e.createVariableStatement(e.visitNodes(n.modifiers,L,e.isModifier),e.createVariableDeclarationList([e.setOriginalNode(e.createVariableDeclaration(n.name,void 0,c),n)])),n),n):e.setOriginalNode((i=n.name,a=c,o=n,e.setTextRange(e.createStatement
1(e.createAssignment(e.getNamespaceMemberName(s,i,!1,!0),a)),o)),n)}}function Oe(t){return void 0!==a&&e.hasModifier(t,1)}function Fe(t){return void 0===a&&e.hasModifier(t,1)}function Me(t){return Fe(t)&&!e.hasModifier(t,512)}function Ie(t){return e.createStatement(t)}function Le(t,r){var n=e.createAssignment(e.getExternalModuleOrNamespaceExportName(s,r,!1,!0),e.getLocalName(r));e.setSourceMapRange(n,e.createRange(r.name?r.name.pos:r.pos,r.end));var i=e.createStatement(n);e.setSourceMapRange(i,e.createRange(-1,r.end)),t.push(i)}function Re(t,r,n){return e.setTextRange(e.createAssignment(je(t),r),n)}function je(t){return e.getNamespaceMemberName(s,t,!1,!0)}function Be(t){var r=e.getGeneratedNameForNode(t);return e.setSourceMapRange(r,t.name),r}function ze(t){return e.getGeneratedNameForNode(t)}function qe(){0===(1&d)&&(d|=1,t.enableSubstitution(71),f=[])}function Ue(t){if(d&p&&!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var r=y.getReferencedExportContainer(t,!1);if(r&&273!==r.kind&&(2&p&&238===r.kind||8&p&&237===r.kind))return e.setTextRange(e.createPropertyAccess(e.getGeneratedNameForNode(r),t),t)}}function Ve(t){var r=function(t){if(!b.isolatedModules)return e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)?y.getConstantValue(t):void 0}(t);if(void 0!==r){e.setConstantValue(t,r);var n=e.createLiteral(r);if(!b.removeComments){var i=e.isPropertyAccessExpression(t)?e.declarationNameToString(t.name):e.getTextOfNode(t.argumentExpression);e.addSyntheticTrailingComment(n,3," "+i+" ")}return n}return t}};var a={name:"typescript:decorate",scoped:!1,priority:2,text:'\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};function o(t,r,n){return t.requestEmitHelper(s),e.createCall(e.getHelperName("__metadata"),void 0,[e.createLiteral(r),n])}var s={name:"typescript:metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};function c(t,r,n,i){return t.requestEmitHelper(u),e.setTextRange(e.createCall(e.getHelperName("__param"),void 0,[e.createLiteral(n),r]),i)}var u={name:"typescript:param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}}(u||(u={})),function(e){var t;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),e.transformES2017=function(t){var r,i,a=t.resumeLexicalEnvironment,o=t.endLexicalEnvironment,s=t.hoistVariableDeclaration,c=t.getEmitResolver(),u=t.getCompilerOptions(),l=e.getEmitScriptTarget(u),d=0,f=t.onEmitNode,p=t.onSubstituteNode;return t.onEmitNode=function(e,t,n){if(1&r&&function(e){var t=e.kind;return 234===t||154===t||153===t||155===t||156===t}(t)){var i=6144&c.getNodeCheckFlags(t);if(i!==d){var a=d;return d=i,f(e,t,n),void(d=a)}}f(e,t,n)},t.onSubstituteNode=function(t,r){return r=p(t,r),1===t&&d?function(t){switch(t.kind){case 184:return E(t);case 185:return T(t);case 186:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?E(r):T(r);return e.createCall(e.createPropertyAccess(n,"call"),void 0,[e.createThis()].concat(t.arguments))}return t}(t)}return t}(r):r},e.chainBundle(function(r){if(r.isDeclarationFile)return r;var n=e.visitEachChild(r,_,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n});function _(r){if(0===(16&r.transformFlags))return r;switch(r.kind){case 120:return;case 196:return function(t){return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.visitNode(t.expression,_,e.isExpression)),t),t)}(r);case 153:return function(r){return e.updateMethod(r,void 0,e.visitNodes(r.modifiers,_,e.isModifier),r.asteriskToken,r.name,void 0,void 0,e.visitParameterList(r.parameters,_,t),void 0,2&e.getFunctionFlags(r)?S(r):e.visitFunctionBody(r.body,_,t))}(r);case 233:return function(r){return e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,_,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,_,t),void 0,2&e.getFunctionFlags(r)?S(r):e.visitFunctionBody(r.body,_,t))}(r);case 191:return function(r){return e.updateFunctionExpression(r,e.visitNodes(r.modifiers,_,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,_,t),void 0,2&e.getFunctionFlags(r)?S(r):e.visitFunctionBody(r.body,_,t))}(r);case 192:return function(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,_,e.isModifier),void 0,e.visitParameterList(r.parameters,_,t),void 0,r.equalsGreaterThanToken,2&e.getFunctionFlags(r)?S(r):e.visitFunctionBody(r.body,_,t))}(r);default:return e.visitEachChild(r,_,t)}}function m(r){if(e.isNodeWithPossibleHoistedDeclaration(r))switch(r.kind){case 213:return function(r){if(h(r.declarationList)){var n=v(r.declarationList,!1);
1return n?e.createStatement(n):void 0}return e.visitEachChild(r,_,t)}(r);case 219:return function(t){return e.updateFor(t,h(t.initializer)?v(t.initializer,!1):e.visitNode(t.initializer,_,e.isForInitializer),e.visitNode(t.condition,_,e.isExpression),e.visitNode(t.incrementor,_,e.isExpression),e.visitNode(t.statement,m,e.isStatement,e.liftToBlock))}(r);case 220:return function(t){return e.updateForIn(t,h(t.initializer)?v(t.initializer,!0):e.visitNode(t.initializer,_,e.isForInitializer),e.visitNode(t.expression,_,e.isExpression),e.visitNode(t.statement,m,e.isStatement,e.liftToBlock))}(r);case 221:return function(t){return e.updateForOf(t,e.visitNode(t.awaitModifier,_,e.isToken),h(t.initializer)?v(t.initializer,!0):e.visitNode(t.initializer,_,e.isForInitializer),e.visitNode(t.expression,_,e.isExpression),e.visitNode(t.statement,m,e.isStatement,e.liftToBlock))}(r);case 268:return function(r){var n,a=e.createUnderscoreEscapedMap();if(g(r.variableDeclaration,a),a.forEach(function(t,r){i.has(r)&&(n||(n=e.cloneMap(i)),n.delete(r))}),n){var o=i;i=n;var s=e.visitEachChild(r,m,t);return i=o,s}return e.visitEachChild(r,m,t)}(r);case 212:case 226:case 240:case 265:case 266:case 229:case 217:case 218:case 216:case 225:case 227:return e.visitEachChild(r,m,t);default:return e.Debug.assertNever(r,"Unhandled node.")}return _(r)}function g(t,r){var n=t.name;if(e.isIdentifier(n))r.set(n.escapedText,!0);else for(var i=0,a=n.elements;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||g(o,r)}}function h(t){return t&&e.isVariableDeclarationList(t)&&!(3&t.flags)&&e.forEach(t.declarations,x)}function v(t,r){!function(t){e.forEach(t.declarations,y)}(t);var n=e.getInitializedVariables(t);return 0===n.length?r?e.visitNode(e.convertToAssignmentElementTarget(t.declarations[0].name),_,e.isExpression):void 0:e.inlineExpressions(e.map(n,b))}function y(t){var r=t.name;if(e.isIdentifier(r))s(r);else for(var n=0,i=r.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||y(a)}}function b(t){var r=e.setSourceMapRange(e.createAssignment(e.convertToAssignmentElementTarget(t.name),t.initializer),t);return e.visitNode(r,_,e.isExpression)}function x(t){var r=t.name;if(e.isIdentifier(r))return i.has(r.escapedText);for(var n=0,a=r.elements;n<a.length;n++){var o=a[n];if(!e.isOmittedExpression(o)&&x(o))return!0}return!1}function S(r){a();var s,u=e.getOriginalNode(r,e.isFunctionLike).type,d=l<2?function(t){var r=t&&e.getEntityNameFromTypeNode(t);if(r&&e.isEntityName(r)){var n=c.getTypeReferenceSerializationKind(r);if(n===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===e.TypeReferenceSerializationKind.Unknown)return r}}(u):void 0,f=192===r.kind,p=0!==(8192&c.getNodeCheckFlags(r)),m=i;i=e.createUnderscoreEscapedMap();for(var h=0,v=r.parameters;h<v.length;h++)g(v[h],i);if(f){var y=n(t,p,d,k(r.body)),b=o();e.some(b)?(E=e.convertToFunctionBody(y),s=e.updateBlock(E,e.setTextRange(e.createNodeArray(e.concatenate(b,E.statements)),E.statements))):s=y}else{var x=[],S=e.addPrologue(x,r.body.statements,!1,_);x.push(e.createReturn(n(t,p,d,k(r.body,S)))),e.prependStatements(x,o());var E=e.createBlock(x,!0);e.setTextRange(E,r.body),l>=2&&(4096&c.getNodeCheckFlags(r)?(C(),e.addEmitHelper(E,e.advancedAsyncSuperHelper)):2048&c.getNodeCheckFlags(r)&&(C(),e.addEmitHelper(E,e.asyncSuperHelper))),s=E}return i=m,s}function k(t,r){return e.isBlock(t)?e.updateBlock(t,e.visitNodes(t.statements,m,e.isStatement,r)):e.convertToFunctionBody(e.visitNode(t,m,e.isConciseBody))}function C(){0===(1&r)&&(r|=1,t.enableSubstitution(186),t.enableSubstitution(184),t.enableSubstitution(185),t.enableEmitNotification(234),t.enableEmitNotification(153),t.enableEmitNotification(155),t.enableEmitNotification(156),t.enableEmitNotification(154))}function E(t){return 97===t.expression.kind?w(e.createLiteral(e.idText(t.name)),t):t}function T(e){return 97===e.expression.kind?w(e.argumentExpression,e):e}function w(t,r){return 4096&d?e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_super"),void 0,[t]),"value"),r):e.setTextRange(e.createCall(e.createFileLevelUniqueName("_super"),void 0,[t]),r)}};
1var r={name:"typescript:awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};function n(t,n,i,a){t.requestEmitHelper(r);var o=e.createFunctionExpression(void 0,e.createToken(39),void 0,void 0,[],void 0,a);return(o.emitNode||(o.emitNode={})).flags|=786432,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),n?e.createIdentifier("arguments"):e.createVoidZero(),i?e.createExpressionFromEntityName(i):e.createVoidZero(),o])}e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e.helperString(s(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_super")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e.helperString(s(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_super")}}(u||(u={})),function(e){var t;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),e.transformESNext=function(t){var r=t.resumeLexicalEnvironment,c=t.endLexicalEnvironment,l=t.hoistVariableDeclaration,d=t.getEmitResolver(),f=t.getCompilerOptions(),p=e.getEmitScriptTarget(f),_=t.onEmitNode;t.onEmitNode=function(e,t,r){if(1&m&&function(e){var t=e.kind;return 234===t||154===t||153===t||155===t||156===t}(t)){var n=6144&d.getNodeCheckFlags(t);if(n!==v){var i=v;return v=n,_(e,t,r),void(v=i)}}_(e,t,r)};var m,g,h=t.onSubstituteNode;t.onSubstituteNode=function(t,r){return r=h(t,r),1===t&&v?function(t){switch(t.kind){case 184:return A(t);case 185:return N(t);case 186:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?A(r):N(r);return e.createCall(e.createPropertyAccess(n,"call"),void 0,[e.createThis()].concat(t.arguments))}return t}(t)}return t}(r):r};var v=0;return e.chainBundle(function(r){if(r.isDeclarationFile)return r;var n=e.visitEachChild(r,y,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n});function y(e){return S(e,!1)}function b(e){return S(e,!0)}function x(e){if(120!==e.kind)return e}function S(r,o){if(0===(8&r.transformFlags))return r;switch(r.kind){case 196:return function(r){return 2&g&&1&g?e.setOriginalNode(e.setTextRange(e.createYield(a(t,e.visitNode(r.expression,y,e.isExpression))),r),r):e.visitEachChild(r,y,t)}(r);case 202:return function(r){if(2&g&&1&g){if(r.asteriskToken){var n=e.visitNode(r.expression,y,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(a(t,e.updateYield(r,r.asteriskToken,function(t,r,n){return t.requestEmitHelper(i),t.requestEmitHelper(s),e.setTextRange(e.createCall(e.getHelperName("__asyncDelegator"),void 0,[r]),n)}(t,u(t,n,n),n)))),r),r)}return e.setOriginalNode(e.setTextRange(e.createYield(C(r.expression?e.visitNode(r.expression,y,e.isExpression):e.createVoidZero())),r),r)}return e.visitEachChild(r,y,t)}(r);case 224:return function(r){return 2&g&&1&g?e.updateReturn(r,C(r.expression?e.visitNode(r.expression,y,e.isExpression):e.createVoidZero())):e.visitEachChild(r,y,t)}(r);case 227:return function(r){if(2&g){var n=e.unwrapInnermostStatementOfLabel(r);return 221===n.kind&&n.awaitModifier?k(n,r):e.restoreEnclosingLabel(e.visitEachChild(n,y,t),r)}return e.visitEachChild(r,y,t)}(r);case 183:return function(r){if(1048576&r.transformFlags){var i=function(t){for(var r,n=[],i=0,a=t;i<a.length;i++){var o=a[i];if(271===o.kind){r&&(n.push(e.createObjectLiteral(r)),r=void 0);var s=o.expression;n.push(e.visitNode(s,y,e.isExpression))}else r=e.append(r,269===o.kind?e.createPropertyAssignment(o.name,e.visitNode(o.initializer,y,e.isExpression)):e.visitNode(o,y,e.isObjectLiteralElementLike))}return r&&n.push(e.createObjectLiteral(r)),n}(r.properties);return i.length&&183!==i[0].kind&&i.unshift(e.createObjectLiteral()),n(t,i)}return e.visitEachChild(r,y,t)}(r);case 199:return function(r,n){return e.isDestructuringAssignment(r)&&1048576&r.left.transformFlags?e.flatten
1DestructuringAssignment(r,y,t,1,!n):26===r.operatorToken.kind?e.updateBinary(r,e.visitNode(r.left,b,e.isExpression),e.visitNode(r.right,n?b:y,e.isExpression)):e.visitEachChild(r,y,t)}(r,o);case 231:return function(r){return e.isBindingPattern(r.name)&&1048576&r.name.transformFlags?e.flattenDestructuringBinding(r,y,t,1):e.visitEachChild(r,y,t)}(r);case 221:return k(r,void 0);case 219:return function(t){return e.updateFor(t,e.visitNode(t.initializer,b,e.isForInitializer),e.visitNode(t.condition,y,e.isExpression),e.visitNode(t.incrementor,y,e.isExpression),e.visitNode(t.statement,y,e.isStatement))}(r);case 195:return function(r){return e.visitEachChild(r,b,t)}(r);case 154:return function(r){var n=g;g=0;var i=e.updateConstructor(r,void 0,r.modifiers,e.visitParameterList(r.parameters,y,t),T(r));return g=n,i}(r);case 153:return function(r){var n=g;g=e.getFunctionFlags(r);var i=e.updateMethod(r,void 0,1&g?e.visitNodes(r.modifiers,x,e.isModifier):r.modifiers,2&g?void 0:r.asteriskToken,e.visitNode(r.name,y,e.isPropertyName),e.visitNode(void 0,y,e.isToken),void 0,e.visitParameterList(r.parameters,y,t),void 0,2&g&&1&g?E(r):T(r));return g=n,i}(r);case 155:return function(r){var n=g;g=0;var i=e.updateGetAccessor(r,void 0,r.modifiers,e.visitNode(r.name,y,e.isPropertyName),e.visitParameterList(r.parameters,y,t),void 0,T(r));return g=n,i}(r);case 156:return function(r){var n=g;g=0;var i=e.updateSetAccessor(r,void 0,r.modifiers,e.visitNode(r.name,y,e.isPropertyName),e.visitParameterList(r.parameters,y,t),T(r));return g=n,i}(r);case 233:return function(r){var n=g;g=e.getFunctionFlags(r);var i=e.updateFunctionDeclaration(r,void 0,1&g?e.visitNodes(r.modifiers,x,e.isModifier):r.modifiers,2&g?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,y,t),void 0,2&g&&1&g?E(r):T(r));return g=n,i}(r);case 191:return function(r){var n=g;g=e.getFunctionFlags(r);var i=e.updateFunctionExpression(r,1&g?e.visitNodes(r.modifiers,x,e.isModifier):r.modifiers,2&g?void 0:r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,y,t),void 0,2&g&&1&g?E(r):T(r));return g=n,i}(r);case 192:return function(r){var n=g;g=e.getFunctionFlags(r);var i=e.updateArrowFunction(r,r.modifiers,void 0,e.visitParameterList(r.parameters,y,t),void 0,r.equalsGreaterThanToken,T(r));return g=n,i}(r);case 148:return function(r){return 1048576&r.transformFlags?e.updateParameter(r,void 0,void 0,r.dotDotDotToken,e.getGeneratedNameForNode(r),void 0,void 0,e.visitNode(r.initializer,y,e.isExpression)):e.visitEachChild(r,y,t)}(r);case 215:return function(r){return e.visitEachChild(r,b,t)}(r);case 190:return function(r,n){return e.visitEachChild(r,n?b:y,t)}(r,o);case 268:return function(r){return r.variableDeclaration?e.visitEachChild(r,y,t):e.updateCatchClause(r,e.createVariableDeclaration(e.createTempVariable(void 0)),e.visitNode(r.block,y,e.isBlock))}(r);default:return e.visitEachChild(r,y,t)}}function k(r,n){return 1048576&r.initializer.transformFlags&&(r=function(t){var r=e.skipParentheses(t.initializer);if(e.isVariableDeclarationList(r)||e.isAssignmentPattern(r)){var n=void 0,i=void 0,a=e.createTempVariable(void 0),o=[e.createForOfBindingStatement(r,a)];return e.isBlock(t.statement)?(e.addRange(o,t.statement.statements),n=t.statement,i=t.statement.statements):t.statement&&(e.append(o,t.statement),n=t.statement,i=t.statement),e.updateForOf(t,t.awaitModifier,e.setTextRange(e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(a),t.initializer)],1),t.initializer),t.expression,e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(o),i),!0),n))}return t}(r)),r.awaitModifier?function(r,n){var i=e.visitNode(r.expression,y,e.isExpression),a=e.isIdentifier(i)?e.getGeneratedNameForNode(i):e.createTempVariable(void 0),o=e.isIdentifier(i)?e.getGeneratedNameForNode(a):e.createTempVariable(void 0),s=e.createUniqueName("e"),c=e.getGeneratedNameForNode(s),d=e.createTempVariable(void 0),f=u(t,i,r.expression),p=e.createCall(e.createPropertyAccess(a,"next"),void 0,[]),_=e.createPropertyAccess(o,"done"),m=e.createPropertyAccess(o,"value"),g=e.createFunctionCall(d,a,[]);l(s),l(d);var h=e.setEmitFlags(e.setTextRange(e.createFor(e.setEmitFlags(e.setTextRange(e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(a,void 0,f),r.expression),e.createVariableDeclaration(o)]),r.expression),2097152),e.createComma(e.createAssignment(o,C(p)),e.createLogicalNot(_)),void 0,function(t,r){var n,i,a=e.createForOfBindingStatement
1(t.initializer,r),o=[e.visitNode(a,y,e.isStatement)],s=e.visitNode(t.statement,y,e.isStatement);return e.isBlock(s)?(e.addRange(o,s.statements),n=s,i=s.statements):o.push(s),e.setEmitFlags(e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(o),i),!0),n),432)}(r,m)),r),256);return e.createTry(e.createBlock([e.restoreEnclosingLabel(h,n)]),e.createCatchClause(e.createVariableDeclaration(c),e.setEmitFlags(e.createBlock([e.createStatement(e.createAssignment(s,e.createObjectLiteral([e.createPropertyAssignment("error",c)])))]),1)),e.createBlock([e.createTry(e.createBlock([e.setEmitFlags(e.createIf(e.createLogicalAnd(e.createLogicalAnd(o,e.createLogicalNot(_)),e.createAssignment(d,e.createPropertyAccess(a,"return"))),e.createStatement(C(g))),1)]),void 0,e.setEmitFlags(e.createBlock([e.setEmitFlags(e.createIf(s,e.createThrow(e.createPropertyAccess(s,"error"))),1)]),1))]))}(r,n):e.restoreEnclosingLabel(e.visitEachChild(r,y,t),n)}function C(r){return 1&g?e.createYield(void 0,a(t,r)):e.createAwait(r)}function E(n){r();var a=[],s=e.addPrologue(a,n.body.statements,!1,y);w(a,n),a.push(e.createReturn(function(t,r){return t.requestEmitHelper(i),t.requestEmitHelper(o),(r.emitNode||(r.emitNode={})).flags|=262144,e.createCall(e.getHelperName("__asyncGenerator"),void 0,[e.createThis(),e.createIdentifier("arguments"),r])}(t,e.createFunctionExpression(void 0,e.createToken(39),n.name&&e.getGeneratedNameForNode(n.name),void 0,[],void 0,e.updateBlock(n.body,e.visitLexicalEnvironment(n.body.statements,y,t,s)))))),e.prependStatements(a,c());var u=e.updateBlock(n.body,a);return p>=2&&(4096&d.getNodeCheckFlags(n)?(D(),e.addEmitHelper(u,e.advancedAsyncSuperHelper)):2048&d.getNodeCheckFlags(n)&&(D(),e.addEmitHelper(u,e.asyncSuperHelper))),u}function T(t){r();var n=0,i=[],a=e.visitNode(t.body,y,e.isConciseBody);e.isBlock(a)&&(n=e.addPrologue(i,a.statements,!1,y)),e.addRange(i,w(void 0,t));var o=c();if(n>0||e.some(i)||e.some(o)){var s=e.convertToFunctionBody(a,!0);
1return e.prependStatements(i,o),e.addRange(i,s.statements.slice(n)),e.updateBlock(s,e.setTextRange(e.createNodeArray(i),s.statements))}return a}function w(r,n){for(var i=0,a=n.parameters;i<a.length;i++){var o=a[i];if(1048576&o.transformFlags){var s=e.getGeneratedNameForNode(o),c=e.flattenDestructuringBinding(o,y,t,1,s,!1,!0);if(e.some(c)){var u=e.createVariableStatement(void 0,e.createVariableDeclarationList(c));e.setEmitFlags(u,1048576),r=e.append(r,u)}}}return r}function D(){0===(1&m)&&(m|=1,t.enableSubstitution(186),t.enableSubstitution(184),t.enableSubstitution(185),t.enableEmitNotification(234),t.enableEmitNotification(153),t.enableEmitNotification(155),t.enableEmitNotification(156),t.enableEmitNotification(154))}function A(t){return 97===t.expression.kind?P(e.createLiteral(e.idText(t.name)),t):t}function N(e){return 97===e.expression.kind?P(e.argumentExpression,e):e}function P(t,r){return 4096&v?e.setTextRange(e.createPropertyAccess(e.createCall(e.createIdentifier("_super"),void 0,[t]),"value"),r):e.setTextRange(e.createCall(e.createIdentifier("_super"),void 0,[t]),r)}};var r={name:"typescript:assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };"};function n(t,n){return t.getCompilerOptions().target>=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,n):(t.requestEmitHelper(r),e.createCall(e.getHelperName("__assign"),void 0,n))}e.createAssignHelper=n;var i={name:"typescript:await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};function a(t,r){return t.requestEmitHelper(i),e.createCall(e.getHelperName("__await"),void 0,[r])}var o={name:"typescript:asyncGenerator",scoped:!1,text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};var s={name:"typescript:asyncDelegator",scoped:!1,text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'};var c={name:"typescript:asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};function u(t,r,n){return t.requestEmitHelper(c),e.setTextRange(e.createCall(e.getHelperName("__asyncValues"),void 0,[r]),n)}}(u||(u={})),function(e){e.transformJsx=function(r){var n,i=r.getCompilerOptions();return e.chainBundle(function(t){if(t.isDeclarationFile)return t;n=t;var i=e.visitEachChild(t,a,r);return e.addEmitHelpers(i,r.readEmitHelpers()),i});function a(t){return 4&t.transformFlags?function(t){switch(t.kind){case 254:return s(t,!1);case 255:return c(t,!1);case 258:return u(t,!1);case 264:return m(t);default:return e.visitEachChild(t,a,r)}}(t):t}function o(t){switch(t.kind){case 10:return function(t){var r=function(t){for(var r,n=0,i=-1,a=0;a<t.length;a++){var o=t.charCodeAt(a);e.isLineBreak(o)?(-1!==n&&-1!==i&&(r=p(r,t.substr(n,i-n+1))),n=-1):e.isWhiteSpaceSingleLine(o)||(i=a,-1===n&&(n=a))}return-1!==n?p(r,t.substr(n)):r}(e.getTextOfNode(t,!0));return void 0===r?void 0:e.createLiteral(r)}(t);case 264:return m(t);case 254:return s(t,!0);case 255:return c(t,!0);case 258:return u(t,!0);default:return e.Debug.failBadSyntaxKind(t)}}function s(e,t){return l(e.openingElement,e.children,t,e)}function c(e,t){return l(e,void 0,t,e)}function u(t,a){return function(t,a,s,c){var u=e.createExpressionForJsxFragment(r.getEmitResolver().getJsxFactoryEntity(n),i.reactNamespace,e.mapDefined(a,o),t,c);return s&&e.startOnNewLine(u),u}(t.openingFragment,t.children,a,t)}function l(t,a,s,c){var u,l=function t(r){if(254===r.kind)return t(r.openingElement);var n=r.tagName;return e.isIdentifier(n)&&e.isIntrinsicJsxName(n.escapedText)?e.createLiteral(e.idText(n)):e.createExpressionFromEntityName(n)}(t),p=t.attributes.properties;if(0===p.length)u=e.createNull();else{var _=e.flatten(e.spanMap(p,e.isJsxSpreadAttribute,function(t,r){return r?e.map(t,d):e.createObjectLiteral(e.map(t,f))}));e.isJsxSpreadAttribute(p[0])&&_.unshift(e.createObjectLiteral()),(u=e.singleOrUndefined(_))||(u=e.createAssignHelper(r,_))}var m=e.createExpressionForJsxElement(r.getEmitResolver().getJsxFactoryEntity(n),i.reactNamespace,l,u,e.mapDefined(a,o),t,c);return s&&e.startOnNewLine(m),m}function d(t){return e.visitNode(t.expression,a,e.isExpression)}function f(t){var r=function(t){var r=t.name,n=e.idText(r);return/^[A-Za-z_]\w*$/.test(n)?r:e.createLiteral(n)}(t),i=function(t){if(void 0===t)return e.createTrue();if(9===t.kind){var r=e.createLiteral(function(e){var t=_(e);return t===e?void 0:t}(t.text)||t.text);return r.singleQuote=void 0!==t.singleQuote?t.singleQuote:!e.isStringDoubleQuoted(t,n),e.setTextRange(r,t)}return 264===t.kind?void 0===t.expression?e.createTrue():m(t):e.Debug.failBadSyntaxKind(t)}(t.initializer);return e.createPropertyAssignment(r,i)}function p(e,t){var r=_(t);return void 0===e?r:e+" "+r}function _(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));
1/g,function(e,r,n,i,a,o,s){if(a)return String.fromCharCode(parseInt(a,10));if(o)return String.fromCharCode(parseInt(o,16));var c=t.get(s);return c?String.fromCharCode(c):e})}function m(t){return e.visitNode(t.expression,a,e.isExpression)}};var t=e.createMapFromTemplate({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830})}(u||(u={})),function(e){e.transformES2016=function(t){var r=t.hoistVariableDeclaration;return e.chainBundle(function(r){return r.isDeclarationFile?r:e.visitEachChild(r,n,t)});function n(i){if(0===(32&i.transformFlags))return i;switch(i.kind){case 199:return function(i){switch(i.operatorToken.kind){case 62:return function(t){var i,a,o=e.visitNode(t.left,n,e.isExpression),s=e.visitNode(t.right,n,e.isExpression);if(e.isElementAccessExpression(o)){var c=e.createTempVariable(r),u=e.createTempVariable(r);i=e.setTextRange(e.createElementAccess(e.setTextRange(e.createAssignment(c,o.expression),o.expression),e.setTextRange(e.createAssignment(u,o.argumentExpression),o.argumentExpression)),o),a=e.setTextRange(e.createElementAccess(c,u),o)}else if(e.isPropertyAccessExpression(o)){var c=e.createTempVariable(r);i=e.setTextRange(e.createPropertyAccess(e.setTextRange(e.createAssignment(c,o.expression),o.expression),o.name),o),a=e.setTextRange(e.createPropertyAccess(c,o.name),o)}else i=o,a=o;return e.setTextRange(e.createAssignment(i,e.createMathPow(a,s,t)),t)}(i);case 40:return function(t){var r=e.visitNode(t.left,n,e.isExpression),i=e.visitNode(t.right,n,e.isExpression);return e.createMathPow(r,i,t)}(i);default:return e.visitEachChild(i,n,t)}}(i);default:return e.visitEachChild(i,n,t)}}}}(u||(u={})),function(e){var t,r,n,i,a;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings"}(t||(t={})),function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(r||(r={})),function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(n||(n={})),function(e){e[e.NoReplacement=0]="NoReplacement",e[e.ReplaceSuperCapture=1]="ReplaceSuperCapture",e[e.ReplaceWithReturn=2]="ReplaceWithReturn"}(i||(i={}
1)),function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.ForStatement=1024]="ForStatement",e[e.ForInOrForOfStatement=2048]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=4096]="ConstructorWithCapturedSuper",e[e.ComputedPropertyName=8192]="ComputedPropertyName",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=4032]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=3968]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=16256]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=256]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=1280]="ForStatementIncludes",e[e.ForStatementExcludes=3008]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=2304]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=1984]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=3904]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=4032]="IterationStatementBlockExcludes",e[e.ComputedPropertyNameIncludes=8192]="ComputedPropertyNameIncludes",e[e.ComputedPropertyNameExcludes=0]="ComputedPropertyNameExcludes",e[e.NewTarget=16384]="NewTarget",e[e.NewTargetInComputedPropertyName=32768]="NewTargetInComputedPropertyName",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.PropagateNewTargetMask=49152]="PropagateNewTargetMask"}(a||(a={})),e.transformES2015=function(t){var r,n,i,a,c,u,l=t.startLexicalEnvironment,d=t.resumeLexicalEnvironment,f=t.endLexicalEnvironment,p=t.hoistVariableDeclaration,_=t.getCompilerOptions(),m=t.getEmitResolver(),g=t.onSubstituteNode,h=t.onEmitNode;return t.onEmitNode=function(t,r,n){if(1&u&&e.isFunctionLike(r)){var i=v(16286,8&e.getEmitFlags(r)?81:65);return h(t,r,n),void y(i,0,0)}h(t,r,n)},t.onSubstituteNode=function(t,r){return r=g(t,r),1===t?function(t){switch(t.kind){case 71:return function(t){if(2&u&&!e.isInternalName(t)){var r=m.getReferencedDeclarationWithCollidingName(t);if(r&&(!e.isClassLike(r)||!function(t,r){var n=e.getParseTreeNode(r);if(!n||n===t||n.end<=t.pos||n.pos>=t.end)return!1;for(var i=e.getEnclosingBlockScopeContainer(t);n;){if(n===i||n===t)return!1;if(e.isClassElement(n)&&n.parent===t)return!0;n=n.parent}return!1}(r,t)))return e.setTextRange(e.getGeneratedNameForNode(e.getNameOfDeclaration(r)),t)}return t}(t);case 99:return function(t){return 1&u&&16&i?e.setTextRange(e.createFileLevelUniqueName("_this"),t):t}(t)}return t}(r):e.isIdentifier(r)?function(t){if(2&u&&!e.isInternalName(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r&&function(e){var t=e.parent;switch(t.kind){case 181:case 234:case 237:case 231:return t.name===e&&m.isDeclarationWithCollidingName(t)}return!1}(r))return e.setTextRange(e.getGeneratedNameForNode(r),t)}return t}(r):r},e.chainBundle(function(o){if(o.isDeclarationFile)return o;r=o,n=o.text;var s=function(t){var r=v(3968,64),n=[];l();var i=e.addStandardPrologue(n,t.statements,!1);return F(n,t),i=e.addCustomPrologue(n,t.statements,i,S),e.addRange(n,e.visitNodes(t.statements,S,e.isStatement,i)),a&&n.push(e.createVariableStatement(void 0,e.createVariableDeclarationList(a))),e.prependStatements(n,f()),y(r,0,0),e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray(n),t.statements))}(o);return e.addEmitHelpers(s,t.readEmitHelpers()),r=void 0,n=void 0,a=void 0,i=0,s});function v(e,t){var r=i;return i=16383&(i&~e|t),r}function y(e,t,r){i=-16384&(i&~t|r)|e}function b(e){return 4096&i&&224===e.kind&&!e.expression}function x(t){return 0!==(128&t.transformFlags)||void 0!==c||4096&i&&(e.isStatement
1(t)||212===t.kind)||e.isIterationStatement(t,!1)&&ae(t)||0!==(33554432&e.getEmitFlags(t))}function S(n){return x(n)?function(n){switch(n.kind){case 115:return;case 234:return function(t){var r=e.createVariableDeclaration(e.getLocalName(t,!0),void 0,T(t));e.setOriginalNode(r,t);var n=[],i=e.createVariableStatement(void 0,e.createVariableDeclarationList([r]));if(e.setOriginalNode(i,t),e.setTextRange(i,t),e.startOnNewLine(i),n.push(i),e.hasModifier(t,1)){var a=e.hasModifier(t,512)?e.createExportDefault(e.getLocalName(t)):e.createExternalModuleExport(e.getLocalName(t));e.setOriginalNode(a,i),n.push(a)}var o=e.getEmitFlags(t);return 0===(4194304&o)&&(n.push(e.createEndOfDeclarationMarker(t)),e.setEmitFlags(i,4194304|o)),e.singleOrMany(n)}(n);case 204:return function(e){return T(e)}(n);case 148:return function(t){return t.dotDotDotToken?void 0:e.isBindingPattern(t.name)?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,e.getGeneratedNameForNode(t),void 0,void 0,void 0),t),t):t.initializer?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,t.name,void 0,void 0,void 0),t),t):t}(n);case 233:return function(r){var n=c;c=void 0;var a=v(16286,65),o=e.visitParameterList(r.parameters,S,t),s=64&r.transformFlags?q(r):U(r),u=16384&i?e.getLocalName(r):r.name;return y(a,49152,0),c=n,e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,S,e.isModifier),r.asteriskToken,u,void 0,o,void 0,s)}(n);case 192:return function(r){16384&r.transformFlags&&Ce();var n=c;c=void 0;var i=v(16256,66),a=e.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(r.parameters,S,t),void 0,q(r));return e.setTextRange(a,r),e.setOriginalNode(a,r),e.setEmitFlags(a,8),y(i,0,0),c=n,a}(n);case 191:return function(r){var n=262144&e.getEmitFlags(r)?v(16278,69):v(16286,65),a=c;c=void 0;var o=e.visitParameterList(r.parameters,S,t),s=64&r.transformFlags?q(r):U(r),u=16384&i?e.getLocalName(r):r.name;return y(n,49152,0),c=a,e.updateFunctionExpression(r,void 0,r.asteriskToken,u,void 0,o,void 0,s)}(n);case 231:return K(n);case 71:return function(t){return c?e.isGeneratedIdentifier(t)?t:"arguments"===t.escapedText&&m.isArgumentsLocalBinding(t)?c.argumentsName||(c.argumentsName=e.createUniqueName("arguments")):t:t}(n);case 232:return function(r){if(64&r.transformFlags){3&r.flags&&ke();var n=e.flatMap(r.declarations,1&r.flags?W:K),i=e.createVariableDeclarationList(n);if(e.setOriginalNode(i,r),e.setTextRange(i,r),e.setCommentRange(i,r),8388608&r.transformFlags&&(e.isBindingPattern(r.declarations[0].name)||e.isBindingPattern(e.lastOrUndefined(r.declarations).name))){var a=e.firstOrUndefined(n);if(a){var o=e.lastOrUndefined(n);e.setSourceMapRange(i,e.createRange(a.pos,o.end))}}return i}return e.visitEachChild(r,S,t)}(n);case 226:return function(r){if(void 0!==c){var n=c.allowedNonLabeledJumps;c.allowedNonLabeledJumps|=2;var i=e.visitEachChild(r,S,t);return c.allowedNonLabeledJumps=n,i}return e.visitEachChild(r,S,t)}(n);case 240:return function(r){var n=v(4032,0),i=e.visitEachChild(r,S,t);return y(n,0,0),i}(n);case 212:return V(n,!1);case 223:case 222:return function(r){if(c){var n=223===r.kind?2:4,i=r.label&&c.labels&&c.labels.get(e.idText(r.label))||!r.label&&c.allowedNonLabeledJumps&n;if(!i){var a=void 0;r.label?223===r.kind?(a="break-"+r.label.escapedText,ue(c,!0,e.idText(r.label),a)):(a="continue-"+r.label.escapedText,ue(c,!1,e.idText(r.label),a)):223===r.kind?(c.nonLocalJumps|=2,a="break"):(c.nonLocalJumps|=4,a="continue");var o=e.createLiteral(a);if(c.loopOutParameters.length){for(var s=c.loopOutParameters,u=void 0,l=0;l<s.length;l++){var d=se(s[l],1);u=0===l?d:e.createBinary(u,26,d)}o=e.createBinary(u,26,o)}return e.createReturn(o)}}return e.visitEachChild(r,S,t)}(n);case 227:return function(t){c&&!c.labels&&(c.labels=e.createMap());var r=e.unwrapInnermostStatementOfLabel(t,c&&G);return e.isIterationStatement(r,!1)?function(e,t){switch(e.kind){case 217:case 218:return $(e,t);case 219:return Q(e,t);case 220:return Z(e,t);case 221:return ee(e,t)}}(r,t):e.restoreEnclosingLabel(e.visitNode(r,S,e.isStatement),t,c&&X)}(n);case 217:case 218:return $(n,void 0);case 219:return Q(n,void 0);case 220:return Z(n,void 0);case 221:return ee(n,void 0);case 215:return function(r){switch(r.expression.kind){case 190:return e.updateStatement
1(r,J(r.expression,!1));case 199:return e.updateStatement(r,H(r.expression,!1))}return e.visitEachChild(r,S,t)}(n);case 183:return function(r){for(var n=r.properties,a=n.length,o=a,s=a,c=0;c<a;c++){var u=n[c];if(16777216&u.transformFlags&&4&i&&c<s&&(s=c),146===u.name.kind){o=c;break}}if(o!==a){s<o&&(o=s);var l=e.createTempVariable(p),d=[],f=e.createAssignment(l,e.setEmitFlags(e.createObjectLiteral(e.visitNodes(n,S,e.isObjectLiteralElementLike,0,o),r.multiLine),65536));return r.multiLine&&e.startOnNewLine(f),d.push(f),function(t,r,n,i){for(var a=r.properties,o=a.length,s=i;s<o;s++){var c=a[s];switch(c.kind){case 155:case 156:var u=e.getAllAccessorDeclarations(r.properties,c);c===u.firstAccessor&&t.push(B(n,u,r,r.multiLine));break;case 153:t.push(_e(c,n,r,r.multiLine));break;case 269:t.push(fe(c,n,r.multiLine));break;case 270:t.push(pe(c,n,r.multiLine));break;default:e.Debug.failBadSyntaxKind(r)}}}(d,r,l,o),d.push(r.multiLine?e.startOnNewLine(e.getMutableClone(l)):l),e.inlineExpressions(d)}return e.visitEachChild(r,S,t)}(n);case 268:return function(r){var n,i=v(4032,0);if(e.Debug.assert(!!r.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),e.isBindingPattern(r.variableDeclaration.name)){var a=e.createTempVariable(void 0),o=e.createVariableDeclaration(a);e.setTextRange(o,r.variableDeclaration);var s=e.flattenDestructuringBinding(r.variableDeclaration,S,t,0,a),c=e.createVariableDeclarationList(s);e.setTextRange(c,r.variableDeclaration);var u=e.createVariableStatement(void 0,c);n=e.updateCatchClause(r,o,function(t,r){var n=e.visitNodes(t.statements,S,e.isStatement);return e.updateBlock(t,[r].concat(n))}(r.block,u))}else n=e.visitEachChild(r,S,t);return y(i,0,0),n}(n);case 270:return function(t){return e.setTextRange(e.createPropertyAssignment(t.name,e.getSynthesizedClone(t.name)),t)}(n);case 146:return function(r){var n=v(0,8192),a=e.visitEachChild(r,S,t);return y(n,49152,49152&i?32768:0),a}(n);case 182:return function(r){return 64&r.transformFlags?ge(r.elements,!0,r.multiLine,r.elements.hasTrailingComma):e.visitEachChild(r,S,t)}(n);case 186:return function(t){return 33554432&e.getEmitFlags(t)?function(t){var r=e.cast(e.cast(e.skipOuterExpressions(t.expression),e.isArrowFunction).body,e.isBlock),n=function(t){return e.isVariableStatement(t)&&!!e.firstOrUndefined(t.declarationList.declarations).initializer},i=e.visitNodes(r.statements,S,e.isStatement),a=e.filter(i,n),o=e.filter(i,function(e){return!n(e)}),s=e.cast(e.firstOrUndefined(a),e.isVariableStatement).declarationList.declarations[0],c=e.skipOuterExpressions(s.initializer),u=e.tryCast(c,e.isAssignmentExpression),l=e.cast(u?e.skipOuterExpressions(u.right):c,e.isCallExpression),d=e.cast(e.skipOuterExpressions(l.expression),e.isFunctionExpression),f=d.body.statements,p=0,_=-1,m=[];if(u){var g=e.tryCast(f[p],e.isExpressionStatement);
1g&&(m.push(g),p++),m.push(f[p]),p++,m.push(e.createStatement(e.createAssignment(u.left,e.cast(s.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(f,_));)_--;return e.addRange(m,f,p,_),_<-1&&e.addRange(m,f,_+1),e.addRange(m,o),e.addRange(m,a,1),e.recreateOuterExpressions(t.expression,e.recreateOuterExpressions(s.initializer,e.recreateOuterExpressions(u&&u.right,e.updateCall(l,e.recreateOuterExpressions(l.expression,e.updateFunctionExpression(d,void 0,void 0,void 0,void 0,d.parameters,void 0,e.updateBlock(d.body,m))),void 0,l.arguments))))}(t):64&t.transformFlags?me(t,!0):e.updateCall(t,e.visitNode(t.expression,C,e.isExpression),void 0,e.visitNodes(t.arguments,S,e.isExpression))}(n);case 187:return function(r){if(524288&r.transformFlags){var n=e.createCallBinding(e.createPropertyAccess(r.expression,"bind"),p),i=n.target,a=n.thisArg;return e.createNew(e.createFunctionApply(e.visitNode(i,S,e.isExpression),a,ge(e.createNodeArray([e.createVoidZero()].concat(r.arguments)),!1,!1,!1)),void 0,[])}return e.visitEachChild(r,S,t)}(n);case 190:return J(n,!0);case 199:return H(n,!0);case 13:case 14:case 15:case 16:return function(t){return e.setTextRange(e.createLiteral(t.text),t)}(n);case 9:return function(t){return t.hasExtendedUnicodeEscape?e.setTextRange(e.createLiteral(t.text),t):t}(n);case 8:return function(t){return 384&t.numericLiteralFlags?e.setTextRange(e.createNumericLiteral(t.text),t):t}(n);case 188:return function(n){var i=e.visitNode(n.tag,S,e.isExpression),o=[void 0],c=[],u=[],l=n.template;if(e.isNoSubstitutionTemplateLiteral(l))c.push(e.createLiteral(l.text)),u.push(xe(l));else{c.push(e.createLiteral(l.head.text)),u.push(xe(l.head));for(var d=0,f=l.templateSpans;d<f.length;d++){var p=f[d];c.push(e.createLiteral(p.literal.text)),u.push(xe(p.literal)),o.push(e.visitNode(p.expression,S,e.isExpression))}}var _,m=function(t,r,n){return t.requestEmitHelper(s),e.createCall(e.getHelperName("__makeTemplateOb
1ject"),void 0,[r,n])}(t,e.createArrayLiteral(c),e.createArrayLiteral(u));if(e.isExternalModule(r)){var g=e.createUniqueName("templateObject");_=g,a=e.append(a,e.createVariableDeclaration(_)),o[0]=e.createLogicalOr(g,e.createAssignment(g,m))}else o[0]=m;return e.createCall(i,void 0,o)}(n);case 201:return function(t){var r=[];(function(t,r){(function(t){return e.Debug.assert(0!==t.templateSpans.length),0!==t.head.text.length||0===t.templateSpans[0].literal.text.length})(r)&&t.push(e.createLiteral(r.head.text))})(r,t),function(t,r){for(var n=0,i=r.templateSpans;n<i.length;n++){var a=i[n];t.push(e.visitNode(a.expression,S,e.isExpression)),0!==a.literal.text.length&&t.push(e.createLiteral(a.literal.text))}}(r,t);var n=e.reduceLeft(r,e.createAdd);return e.nodeIsSynthesized(n)&&(n.pos=t.pos,n.end=t.end),n}(n);case 202:return function(r){return e.visitEachChild(r,S,t)}(n);case 203:return function(t){return e.visitNode(t.expression,S,e.isExpression)}(n);case 97:return Se(!1);case 99:return function(t){return c?2&i?(c.containsLexicalThis=!0,t):c.thisName||(c.thisName=e.createUniqueName("this")):t}(n);case 209:return function(t){return 94===t.keywordToken&&"target"===t.name.escapedText?(i|=8192&i?32768:16384,e.createFileLevelUniqueName("_newTarget")):t}(n);case 153:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=z(t,e.moveRangePos(t,-1),void 0,void 0);return e.setEmitFlags(r,512|e.getEmitFlags(r)),e.setTextRange(e.createPropertyAssignment(t.name,r),t)}(n);case 155:case 156:return function(r){e.Debug.assert(!e.isComputedPropertyName(r.name));var n=c;c=void 0;var i,a=v(16286,65),o=e.visitParameterList(r.parameters,S,t),s=32896&r.transformFlags?q(r):U(r);return i=155===r.kind?e.updateGetAccessor(r,r.decorators,r.modifiers,r.name,o,r.type,s):e.updateSetAccessor(r,r.decorators,r.modifiers,r.name,o,s),y(a,49152,0),c=n,i}(n);case 213:return function(r){var n,i=v(0,e.hasModifier(r,1)?32:0);if(c&&0===(3&r.declarationList.flags)){for(var a=void 0,o=0,s=r.declarationList.declarations;o<s.length;o++){var u=s[o];if(oe(c,u),u.initializer){var l=void 0;e.isBindingPattern(u.name)?l=e.flattenDestructuringAssignment(u,S,t,0):(l=e.createBinary(u.name,58,e.visitNode(u.initializer,S,e.isExpression)),e.setTextRange(l,u)),a=e.append(a,l)}}n=a?e.setTextRange(e.createStatement(e.inlineExpressions(a)),r):void 0}else n=e.visitEachChild(r,S,t);return y(i,0,0),n}(n);case 224:return function(r){return c?(c.nonLocalJumps|=8,b(r)&&(r=E(r)),e.createReturn(e.createObjectLiteral([e.createPropertyAssignment(e.createIdentifier("value"),r.expression?e.visitNode(r.expression,S,e.isExpression):e.createVoidZero())]))):b(r)?E(r):e.visitEachChild(r,S,t)}(n);default:return e.visitEachChild(n,S,t)}}(n):n}function k(e){return x(e)?V(e,!0):e}function C(e){return 97===e.kind?Se(!0):S(e)}function E(t){return e.setOriginalNode(e.createReturn(e.createFileLevelUniqueName("_this")),t)}function T(r){r.name&&ke();var a=e.getClassExtendsHeritageClauseElement(r),s=e.createFunctionExpression(void 0,void 0,void 0,void 0,a?[e.createParameter(void 0,void 0,void 0,e.createFileLevelUniqueName("_super"))]:[],void 0,function(r,a){var s=[];l(),function(r,n,i){i&&r.push(e.setTextRange(e.createStatement(function(t,r){return t.requestEmitHelper(o),e.createCall(e.getHelperName("__extends"),void 0,[r,e.createFileLevelUniqueName("_super")])}(t,e.getInternalName(n))),i))}(s,r,a),function(r,n,a){var o=c;c=void 0;var s=v(16278,73),u=e.getFirstConstructorWithBody(n),l=function(t,r){if(!t||!r)return!1;if(e.some(t.parameters))return!1;var n=e.firstOrUndefined(t.body.statements);if(!n||!e.nodeIsSynthesized(n)||215!==n.kind)return!1;var i=n.expression;if(!e.nodeIsSynthesized(i)||186!==i.kind)return!1;var a=i.expression;if(!e.nodeIsSynthesized(a)||97!==a.kind)return!1;var o=e.singleOrUndefined(i.arguments);if(!o||!e.nodeIsSynthesized(o)||203!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}(u,void 0!==a),p=e.createFunctionDeclaration(void 0,void 0,void 0,e.getInternalName(n),void 0,function(r,n){return e.visitParameterList(r&&!n&&r.parameters,S,t)||[]}(u,l),void 0,function(t,r,n,a){var o=[];d();var s=-1;a?s=0:t&&(s=e.addStandardPrologue(o,t.body.statements,!1)),t&&(A(o,t),O(o,t,a),a||(s=e.addCustomPrologue(o,t.body.statements,s,S)),e.Debug.assert(s>=0,"statementOffset not initialized correctly!"));var c=n&&95!==e.skipOuterExpressions(n.expression).kind,u=function(t,r,n,i,a){if(!n)return r&&F(t,r),0;if(!r)return t.push(e.createReturn(D())),2;if(i)return M(t,r,D()),Ce(),1;var o,s,c,u=r.body.statements;if(a<u.length&&215===(o=u[a]).kind&&e.isSuperCall(o.expression)&&(c=o.expression,s=me(c,!1)),s&&a===u.length-1&&!(49152&r.transformFlags)){var l=e.createReturn(s);return 199===s.kind&&186===s.left.kind||e.Debug.fail("Assumed generated super call would have form 'super.call(...) || this'."),e.setCommentRange(l,e.getCommentRange(e.setEmitFlags(s.left,1536))),t.push(l),2}return M(t,r,s||w(),o),s?1:0}(o,t,c,a,s);1!==u&&2!==u||s++,t&&(1===u&&(i|=4096),e.addRange(o,e.visitNodes(t.body.statements,S,e.isStatement,s))),!c||2===u||t&&function t(r){if(224===r.kind)return!0;
1if(216===r.kind){var n=r;if(n.elseStatement)return t(n.thenStatement)&&t(n.elseStatement)}else if(212===r.kind){var i=e.lastOrUndefined(r.statements);if(i&&t(i))return!0}return!1}(t.body)||o.push(e.createReturn(e.createFileLevelUniqueName("_this"))),e.prependStatements(o,f()),t&&I(o,t,!1);var l=e.createBlock(e.setTextRange(e.createNodeArray(o),t?t.body.statements:r.members),!0);return e.setTextRange(l,t?t.body:r),t||e.setEmitFlags(l,1536),l}(u,n,a,l));e.setTextRange(p,u||n),a&&e.setEmitFlags(p,8),r.push(p),y(s,49152,0),c=o}(s,r,a),function(t,r){for(var n=0,i=r.members;n<i.length;n++){var a=i[n];switch(a.kind){case 211:t.push(L(a));break;case 153:t.push(R(Ee(r,a),a,r));break;case 155:case 156:var o=e.getAllAccessorDeclarations(r.members,a);a===o.firstAccessor&&t.push(j(Ee(r,a),o,r));break;case 154:break;default:e.Debug.failBadSyntaxKind(r)}}}(s,r);var u=e.createTokenRange(e.skipTrivia(n,r.members.end),18),p=e.getInternalName(r),_=e.createPartiallyEmittedExpression(p);_.end=u.end,e.setEmitFlags(_,1536);var m=e.createReturn(_);m.pos=u.pos,e.setEmitFlags(m,1920),s.push(m),e.prependStatements(s,f());var g=e.createBlock(e.setTextRange(e.createNodeArray(s),r.members),!0);return e.setEmitFlags(g,1536),g}(r,a));e.setEmitFlags(s,65536&e.getEmitFlags(r)|524288);var u=e.createPartiallyEmittedExpression(s);u.end=r.end,e.setEmitFlags(u,1536);var p=e.createPartiallyEmittedExpression(u);p.end=e.skipTrivia(n,r.pos),e.setEmitFlags(p,1536);var _=e.createParen(e.createCall(p,void 0,a?[e.visitNode(a.expression,S,e.isExpression)]:[]));return e.addSyntheticLeadingComment(_,3,"* @class "),_}function w(){return e.setEmitFlags(e.createThis(),4)}function D(){return e.createLogicalOr(e.createLogicalAnd(e.createStrictInequality(e.createFileLevelUniqueName("_super"),e.createNull()),e.createFunctionApply(e.createFileLevelUniqueName("_super"),w(),e.createIdentifier("arguments"))),w())}function A(t,r){if(function(e){return 0!==(131072&e.transformFlags)}(r))for(var n=0,i=r.parameters;n<i.length;n++){var a=i[n],o=a.name,s=a.initializer;a.dotDotDotToken||(e.isBindingPattern(o)?N(t,a,o,s):s&&P(t,a,o,s))}}function N(r,n,i,a){var o=e.getGeneratedNameForNode(n);i.elements.length>0?r.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(n,S,t,0,o))),1048576)):a&&r.push(e.setEmitFlags(e.createStatement(e.createAssignment(o,e.visitNode(a,S,e.isExpression))),1048576))}function P(t,r,n,i){i=e.visitNode(i,S,e.isExpression);var a=e.createIf(e.createTypeCheck(e.getSynthesizedClone(n),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(n),48),e.setEmitFlags(i,1584|e.getEmitFlags(i))),r),1536))]),r),1953));e.startOnNewLine(a),e.setTextRange(a,r),e.setEmitFlags(a,1050528),t.push(a)}function O(t,r,n){var i=e.lastOrUndefined(r.parameters);if(function(e,t){return e&&e.dotDotDotToken&&71===e.name.kind&&!t}(i,n)){var a=e.getMutableClone(i.name);e.setEmitFlags(a,48);var o=e.getSynthesizedClone(i.name),s=r.parameters.length-1,c=e.createLoopVariable();t.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(a,void 0,e.createArrayLiteral([]))])),i),1048576));var u=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(c,void 0,e.createLiteral(s))]),i),e.setTextRange(e.createLessThan(c,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),i),e.setTextRange(e.createPostfixIncrement(c),i),e.createBlock([e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.createElementAccess(o,0===s?c:e.createSubtract(c,e.createLiteral(s))),e.createElementAccess(e.createIdentifier("arguments"),c))),i))]));e.setEmitFlags(u,1048576),e.startOnNewLine(u),t.push(u)}}function F(t,r){32768&r.transformFlags&&192!==r.kind&&M(t,r,e.createThis())}function M(t,r,n,i){Ce();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),void 0,n)]));e.setEmitFlags(a,1050112),e.setTextRange(a,i),e.setSourceMapRange(a,r),t.push(a)}function I(t,r,n){if(16384&i){var a=void 0;switch(r.kind){case 192:return t;case 153:case 155:case 156:a=e.createVoidZero();break;case 154:a=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 233:case 191:a=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),93,e.getLocalName(r))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(r)}
1var o=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),void 0,a)]));if(n)return[o].concat(t);t.unshift(o)}return t}function L(t){return e.setTextRange(e.createEmptyStatement(),t)}function R(t,r,n){var a=v(0,0),o=e.getCommentRange(r),s=e.getSourceMapRange(r),c=e.createMemberAccessForPropertyName(t,e.visitNode(r.name,S,e.isPropertyName),r.name),u=z(r,r,void 0,n);e.setEmitFlags(u,1536),e.setSourceMapRange(u,s);var l=e.setTextRange(e.createStatement(e.createAssignment(c,u)),r);return e.setOriginalNode(l,r),e.setCommentRange(l,o),e.setEmitFlags(l,48),y(a,49152,49152&i?16384:0),l}function j(t,r,n){var i=e.createStatement(B(t,r,n,!1));return e.setEmitFlags(i,1536),e.setSourceMapRange(i,e.getSourceMapRange(r.firstAccessor)),i}function B(t,r,n,a){var o=r.firstAccessor,s=r.getAccessor,c=r.setAccessor,u=v(0,0),l=e.getMutableClone(t);e.setEmitFlags(l,1568),e.setSourceMapRange(l,o.name);var d=e.createExpressionForPropertyName(e.visitNode(o.name,S,e.isPropertyName));e.setEmitFlags(d,1552),e.setSourceMapRange(d,o.name);var f=[];if(s){var p=z(s,void 0,void 0,n);e.setSourceMapRange(p,e.getSourceMapRange(s)),e.setEmitFlags(p,512);var _=e.createPropertyAssignment("get",p);e.setCommentRange(_,e.getCommentRange(s)),f.push(_)}if(c){var m=z(c,void 0,void 0,n);e.setSourceMapRange(m,e.getSourceMapRange(c)),e.setEmitFlags(m,512);var g=e.createPropertyAssignment("set",m);e.setCommentRange(g,e.getCommentRange(c)),f.push(g)}f.push(e.createPropertyAssignment("enumerable",e.createTrue()),e.createPropertyAssignment("configurable",e.createTrue()));var h=e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[l,d,e.createObjectLiteral(f,!0)]);return a&&e.startOnNewLine(h),y(u,49152,49152&i?16384:0),h}function z(r,n,a,o){var s=c;c=void 0;var u=o&&e.isClassLike(o)&&!e.hasModifier(r,32)?v(16286,73):v(16286,65),l=e.visitParameterList(r.parameters,S,t),d=q(r);return 16384&i&&!a&&(233===r.kind||191===r.kind)&&(a=e.getGeneratedNameForNode(r)),y(u,49152,0),c=s,e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,r.asteriskToken,a,void 0,l,void 0,d),n),r)}function q(n){var i,a,o,s=!1,c=!1,u=[],l=[],f=n.body;if(d(),e.isBlock(f)&&(o=e.addStandardPrologue(u,f.statements,!1)),F(u,n),A(u,n),O(u,n,!1),e.isBlock(f))o=e.addCustomPrologue(u,f.statements,o,S),i=f.statements,e.addRange(l,e.visitNodes(f.statements,S,e.isStatement,o)),!s&&f.multiLine&&(s=!0);else{e.Debug.assert(192===n.kind),i=e.moveRangeEnd(f,-1);var p=n.equalsGreaterThanToken;e.nodeIsSynthesized(p)||e.nodeIsSynthesized(f)||(e.rangeEndIsOnSameLineAsRangeStart(p,f,r)?c=!0:s=!0);var _=e.visitNode(f,S,e.isExpression),m=e.createReturn(_);e.setTextRange(m,f),e.moveSyntheticComments(m,f),e.setEmitFlags(m,1440),l.push(m),a=f}var g=t.endLexicalEnvironment();
1e.prependStatements(l,g),I(l,n,!1),(e.some(u)||e.some(g))&&(s=!0);var h=e.createBlock(e.setTextRange(e.createNodeArray(u.concat(l)),i),s);return e.setTextRange(h,n.body),!s&&c&&e.setEmitFlags(h,1),a&&e.setTokenSourceMapRange(h,18,a),e.setOriginalNode(h,n.body),h}function U(r){var n=e.visitFunctionBody(r.body,k,t);return e.updateBlock(n,e.setTextRange(e.createNodeArray(I(n.statements,r,!0)),n.statements))}function V(r,n){if(n)return e.visitEachChild(r,S,t);var a=256&i?v(4032,512):v(3904,128),o=e.visitEachChild(r,S,t);return y(a,0,0),o}function J(r,n){if(!n)switch(r.expression.kind){case 190:return e.updateParen(r,J(r.expression,!1));case 199:return e.updateParen(r,H(r.expression,!1))}return e.visitEachChild(r,S,t)}function H(r,n){return e.isDestructuringAssignment(r)?e.flattenDestructuringAssignment(r,S,t,0,n):e.visitEachChild(r,S,t)}function W(r){var n=r.name;if(e.isBindingPattern(n))return K(r);if(!r.initializer&&function(e){var t=m.getNodeCheckFlags(e),r=131072&t,n=262144&t;return!(0!==(64&i)||r&&n&&0!==(512&i))&&0===(2048&i)&&(!m.isDeclarationWithCollidingName(e)||n&&!r&&0===(3072&i))}(r)){var a=e.getMutableClone(r);return a.initializer=e.createVoidZero(),a}return e.visitEachChild(r,S,t)}function K(r){var n,i=v(32,0);return n=e.isBindingPattern(r.name)?e.flattenDestructuringBinding(r,S,t,0,void 0,0!==(32&i)):e.visitEachChild(r,S,t),y(i,0,0),n}function G(t){c.labels.set(e.idText(t.label),!0)}function X(t){c.labels.set(e.idText(t.label),!1)}function Y(r,n,a,o,s){var u=v(r,n),d=function(r,n,a){if(!ae(r)){var o=void 0;c&&(o=c.allowedNonLabeledJumps,c.allowedNonLabeledJumps=6);var s=a?a(r,n,void 0):e.restoreEnclosingLabel(e.visitEachChild(r,S,t),n,c&&X);return c&&(c.allowedNonLabeledJumps=o),s}var u,d=e.createUniqueName("_loop");switch(r.kind){case 219:case 220:case 221:var p=r.initializer;p&&232===p.kind&&(u=p)}var _=[],m=[];if(u&&3&e.getCombinedNodeFlags(u))for(var g=0,h=u.declarations;g<h.length;g++){var v=h[g];de(v,_,m)}var y=c;c={loopOutParameters:m},y&&(y.argumentsName&&(c.argumentsName=y.argumentsName),y.thisName&&(c.thisName=y.thisName),y.hoistedLocalVariables&&(c.hoistedLocalVariables=y.hoistedLocalVariables)),l();var b=e.visitNode(r.statement,S,e.isStatement,e.liftToBlock),x=f(),k=c;if(c=y,m.length||x){var C=e.isBlock(b)?b.statements.slice():[b];m.length&&ce(m,1,C),e.prependStatements(C,x),b=e.createBlock(C,!0)}e.isBlock(b)?b.multiLine=!0:b=e.createBlock([b],!0);var E=0!==(16777216&r.statement.transformFlags),T=E&&0!==(4&i),w=0;k.containsLexicalThis&&(w|=8),T&&(w|=262144);var D,A=[e.createVariableStatement(void 0,e.setEmitFlags(e.createVariableDeclarationList([e.createVariableDeclaration(d,void 0,e.setEmitFlags(e.createFunctionExpression(void 0,E?e.createToken(39):void 0,void 0,void 0,_,void 0,b),w))]),2097152))];if(k.argumentsName&&(y?y.argumentsName=k.argumentsName:(D||(D=[])).push(e.createVariableDeclaration(k.argumentsName,void 0,e.createIdentifier("arguments")))),k.thisName&&(y?y.thisName=k.thisName:(D||(D=[])).push(e.createVariableDeclaration(k.thisName,void 0,e.createIdentifier("this")))),k.hoistedLocalVariables)if(y)y.hoistedLocalVariables=k.hoistedLocalVariables;else{D||(D=[]);for(var N=0,P=k.hoistedLocalVariables;N<P.length;N++){var O=P[N];D.push(e.createVariableDeclaration(O))}}if(m.length){D||(D=[]);for(var F=0,M=m;F<M.length;F++){var I=M[F];D.push(e.createVariableDeclaration(I.outParamName))}}D&&A.push(e.createVariableStatement(void 0,e.createVariableDeclarationList(D)));var L,R=function(t,r,n,i){var a=c,o=[],s=!(-5&n.nonLocalJumps)&&!n.labeledNonLocalBreaks&&!n.labeledNonLocalContinues,u=e.createCall(t,void 0,e.map(r,function(e){return e.name})),l=i?e.createYield(e.createToken(39),e.setEmitFlags(u,8388608)):u;if(s)o.push(e.createStatement(l)),ce(n.loopOutParameters,0,o);else{var d=e.createUniqueName("state"),f=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(d,void 0,l)]));if(o.push(f),ce(n.loopOutParameters,0,o),8&n.nonLocalJumps){var p=void 0;a?(a.nonLocalJumps|=8,p=e.createReturn(d)):p=e.createReturn(e.createPropertyAccess(d,"value")),o.push(e.createIf(e.createBinary(e.createTypeOf(d),34,e.createLiteral("object")),p))}if(2&n.nonLocalJumps&&o.push(e.createIf(e.createBinary(d,34,e.createLiteral("break")),e.createBreak())),n.labeledNonLocalBreaks||n.labeledNonLocalContinues){var _=[];le(n.labeledNonLocalBreaks,!0,d,a,_),le(n.labeledNonLocalContinues,!1,d,a,_),o.push(e.createSwitch(d,e.createCaseBlock(_)))}}return o}(d,_,k,E);if(a)L=a(r,n,R);else{var j=e.getMutableClone(r);j.statement=void 0,(j=e.visitEachChild(j,S,t)).statement=e.createBlock(R,!0),j.transformFlags=0,e.aggregateTransformFlags(j),L=e.restoreEnclosingLabel(j,n,c&&X)}return A.push(L),A}(a,o,s);return y(u,0,0),d}function $(e,t){return Y(0,256,e,t)}function Q(e,t){return Y(3008,1280,e,t)}function Z(e,t){return Y(1984,2304,e,t)}function ee(e,t){return Y(1984,2304,e,t,_.downlevelIteration?ie:ne)}function te(r,n,i){var a=[];if(e.isVariableDeclarationList(r.initializer)){3&r.initializer.flags&&ke();var o=e.firstOrUndefined(r.initializer.declarations);
1if(o&&e.isBindingPattern(o.name)){var s=e.flattenDestructuringBinding(o,S,t,0,n),c=e.setTextRange(e.createVariableDeclarationList(s),r.initializer);e.setOriginalNode(c,r.initializer);var u=s[0],l=e.lastOrUndefined(s);e.setSourceMapRange(c,e.createRange(u.pos,l.end)),a.push(e.createVariableStatement(void 0,c))}else a.push(e.setTextRange(e.createVariableStatement(void 0,e.setOriginalNode(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(o?o.name:e.createTempVariable(void 0),void 0,n)]),e.moveRangePos(r.initializer,-1)),r.initializer)),e.moveRangeEnd(r.initializer,-1)))}else{var d=e.createAssignment(r.initializer,n);e.isDestructuringAssignment(d)?(e.aggregateTransformFlags(d),a.push(e.createStatement(H(d,!1)))):(d.end=r.initializer.end,a.push(e.setTextRange(e.createStatement(e.visitNode(d,S,e.isExpression)),e.moveRangeEnd(r.initializer,-1))))}if(i)return re(e.addRange(a,i));var f=e.visitNode(r.statement,S,e.isStatement,e.liftToBlock);return e.isBlock(f)?e.updateBlock(f,e.setTextRange(e.createNodeArray(e.concatenate(a,f.statements)),f.statements)):(a.push(f),re(a))}function re(t){return e.setEmitFlags(e.createBlock(e.createNodeArray(t),!0),432)}function ne(t,r,n){var i=e.visitNode(t.expression,S,e.isExpression),a=e.createLoopVariable(),o=e.isIdentifier(i)?e.getGeneratedNameForNode(i):e.createTempVariable(void 0);e.setEmitFlags(i,48|e.getEmitFlags(i));var s=e.setTextRange(e.createFor(e.setEmitFlags(e.setTextRange(e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(a,void 0,e.createLiteral(0)),e.moveRangePos(t.expression,-1)),e.setTextRange(e.createVariableDeclaration(o,void 0,i),t.expression)]),t.expression),2097152),e.setTextRange(e.createLessThan(a,e.createPropertyAccess(o,"length")),t.expression),e.setTextRange(e.createPostfixIncrement(a),t.expression),te(t,e.createElementAccess(o,a),n)),t);return e.setEmitFlags(s,256),e.setTextRange(s,t),e.restoreEnclosingLabel(s,r,c&&X)}function ie(r,n,i){var a=e.visitNode(r.expression,S,e.isExpression),o=e.isIdentifier(a)?e.getGeneratedNameForNode(a):e.createTempVariable(void 0),s=e.isIdentifier(a)?e.getGeneratedNameForNode(o):e.createTempVariable(void 0),u=e.createUniqueName("e"),l=e.getGeneratedNameForNode(u),d=e.createTempVariable(void 0),f=e.createValuesHelper(t,a,r.expression),_=e.createCall(e.createPropertyAccess(o,"next"),void 0,[]);p(u),p(d);var m=e.setEmitFlags(e.setTextRange(e.createFor(e.setEmitFlags(e.setTextRange(e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(o,void 0,f),r.expression),e.createVariableDeclaration(s,void 0,_)]),r.expression),2097152),e.createLogicalNot(e.createPropertyAccess(s,"done")),e.createAssignment(s,_),te(r,e.createPropertyAccess(s,"value"),i)),r),256);return e.createTry(e.createBlock([e.restoreEnclosingLabel(m,n,c&&X)]),e.createCatchClause(e.createVariableDeclaration(l),e.setEmitFlags(e.createBlock([e.createStatement(e.createAssignment(u,e.createObjectLiteral([e.createPropertyAssignment("error",l)])))]),1)),e.createBlock([e.createTry(e.createBlock([e.setEmitFlags(e.createIf(e.createLogicalAnd(e.createLogicalAnd(s,e.createLogicalNot(e.createPropertyAccess(s,"done"))),e.createAssignment(d,e.createPropertyAccess(o,"return"))),e.createStatement(e.createFunctionCall(d,o,[]))),1)]),void 0,e.setEmitFlags(e.createBlock([e.setEmitFlags(e.createIf(u,e.createThrow(e.createPropertyAccess(u,"error"))),1)]),1))]))}function ae(e){return 0!==(65536&m.getNodeCheckFlags(e))}function oe(t,r){t.hoistedLocalVariables||(t.hoistedLocalVariables=[]),function r(n){if(71===n.kind)t.hoistedLocalVariables.push(n);else for(var i=0,a=n.elements;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||r(o.name)}}(r.name)}function se(t,r){var n=0===r?t.outParamName:t.originalName,i=0===r?t.originalName:t.outParamName;return e.createBinary(i,58,n)}function ce(t,r,n){for(var i=0,a=t;i<a.length;i++){var o=a[i];n.push(e.createStatement(se(o,r)))}}function ue(t,r,n,i){r?(t.labeledNonLocalBreaks||(t.labeledNonLocalBreaks=e.createMap()),t.labeledNonLocalBreaks.set(n,i)):(t.labeledNonLocalContinues||(t.labeledNonLocalContinues=e.createMap()),t.labeledNonLocalContinues.set(n,i))}function le(t,r,n,i,a){t&&t.forEach(function(t,o){var s=[];if(!i||i.labels&&i.labels.get(o)){var c=e.createIdentifier(o);s.push(r?e.createBreak(c):e.createContinue(c))}else ue(i,r,o,t),s.push(e.createReturn(n));a.push(e.createCaseClause(e.createLiteral(t),s))})}function de(t,r,n){var i=t.name;if(e.isBindingPattern(i))for(var a=0,o=i.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||de(s,r,n)}else if(r.push(e.createParameter(void 0,void 0,void 0,i)),2097152&m.getNodeCheckFlags(t)){var c=e.createUniqueName("out_"+e.idText(i));n.push({originalName:i,outParamName:c}
1)}}function fe(t,r,n){var i=e.createAssignment(e.createMemberAccessForPropertyName(r,e.visitNode(t.name,S,e.isPropertyName)),e.visitNode(t.initializer,S,e.isExpression));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function pe(t,r,n){var i=e.createAssignment(e.createMemberAccessForPropertyName(r,e.visitNode(t.name,S,e.isPropertyName)),e.getSynthesizedClone(t.name));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function _e(t,r,n,a){var o=v(0,0),s=e.createAssignment(e.createMemberAccessForPropertyName(r,e.visitNode(t.name,S,e.isPropertyName)),z(t,t,void 0,n));return e.setTextRange(s,t),a&&e.startOnNewLine(s),y(o,49152,49152&i?16384:0),s}function me(r,n){if(524288&r.transformFlags||97===r.expression.kind||e.isSuperProperty(e.skipOuterExpressions(r.expression))){var i=e.createCallBinding(r.expression,p),a=i.target,o=i.thisArg;97===r.expression.kind&&e.setEmitFlags(o,4);var s=void 0;if(s=524288&r.transformFlags?e.createFunctionApply(e.visitNode(a,C,e.isExpression),e.visitNode(o,S,e.isExpression),ge(r.arguments,!1,!1,!1)):e.createFunctionCall(e.visitNode(a,C,e.isExpression),e.visitNode(o,S,e.isExpression),e.visitNodes(r.arguments,S,e.isExpression),r),97===r.expression.kind){var c=e.createThis();e.setEmitFlags(c,4);var u=e.createLogicalOr(s,c);s=n?e.createAssignment(e.createFileLevelUniqueName("_this"),u):u}return e.setOriginalNode(s,r)}return e.visitEachChild(r,S,t)}function ge(r,n,i,a){var o=r.length,s=e.flatten(e.spanMap(r,he,function(e,t,r,n){return t(e,i,a&&n===o)}));if(_.downlevelIteration){if(1===s.length){var c=s[0];if(e.isCallExpression(c)&&e.isIdentifier(c.expression)&&4096&e.getEmitFlags(c.expression)&&"___spread"===c.expression.escapedText)return s[0]}return e.createSpreadHelper(t,s)}if(1===s.length){var u=r[0];return n&&e.isSpreadElement(u)&&182!==u.expression.kind?e.createArraySlice(s[0]):s[0]}return e.createArrayConcat(s.shift(),s)}function he(t){return e.isSpreadElement(t)?ve:ye}function ve(t){return e.map(t,be)}function ye(t,r,n){return e.createArrayLiteral(e.visitNodes(e.createNodeArray(t,n),S,e.isExpression),r)}function be(t){return e.visitNode(t.expression,S,e.isExpression)}function xe(t){var n=e.getSourceTextOfNodeFromSourceFile(r,t),i=13===t.kind||16===t.kind;return n=(n=n.substring(1,n.length-(i?1:2))).replace(/\r\n?/g,"\n"),e.setTextRange(e.createLiteral(n),t)}function Se(t){return 8&i&&!t?e.createPropertyAccess(e.createFileLevelUniqueName("_super"),"prototype"):e.createFileLevelUniqueName("_super")}function ke(){0===(2&u)&&(u|=2,t.enableSubstitution(71))}function Ce(){0===(1&u)&&(u|=1,t.enableSubstitution(99),t.enableEmitNotification(154),t.enableEmitNotification(153),t.enableEmitNotification(155),t.enableEmitNotification(156),t.enableEmitNotification(192),t.enableEmitNotification(191),t.enableEmitNotification(233))}function Ee(t,r){return e.hasModifier(r,32)?e.getInternalName(t):e.createPropertyAccess(e.getInternalName(t),"prototype")}};var o={name:"typescript:extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"}
1,s={name:"typescript:makeTemplateObject",scoped:!1,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'}}(u||(u={})),function(e){e.transformES5=function(t){var r,n,i=t.getCompilerOptions();1!==i.jsx&&3!==i.jsx||(r=t.onEmitNode,t.onEmitNode=function(t,i,a){switch(i.kind){case 256:case 257:case 255:var o=i.tagName;n[e.getOriginalNodeId(o)]=!0}r(t,i,a)},t.enableEmitNotification(256),t.enableEmitNotification(257),t.enableEmitNotification(255),n=[]);var a=t.onSubstituteNode;return t.onSubstituteNode=function(t,r){return r.id&&n&&n[r.id]?a(t,r):(r=a(t,r),e.isPropertyAccessExpression(r)?function(t){var r=o(t.name);return r?e.setTextRange(e.createElementAccess(t.expression,r),t):t}(r):e.isPropertyAssignment(r)?function(t){var r=e.isIdentifier(t.name)&&o(t.name);return r?e.updatePropertyAssignment(t,r,t.initializer):t}(r):r)},t.enableSubstitution(184),t.enableSubstitution(269),e.chainBundle(function(e){return e});function o(t){var r=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(e.idText(t)):void 0);if(r>=72&&r<=107)return e.setTextRange(e.createLiteral(t),t)}}}(u||(u={})),function(e){var t,r,n,i,a;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(t||(t={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(r||(r={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(n||(n={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(i||(i={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(a||(a={})),e.transformGenerators=function(t){var r,n,i,a,s,c,u,l,d,f,p=t.resumeLexicalEnvironment,_=t.endLexicalEnvironment,m=t.hoistFunctionDeclaration,g=t.hoistVariableDeclaration,h=t.getCompilerOptions(),v=e.getEmitScriptTarget(h),y=t.getEmitResolver(),b=t.onSubstituteNode;t.onSubstituteNode=function(t,i){return i=b(t,i),1===t?function(t){return e.isIdentifier(t)?function(t){if(!e.isGeneratedIdentifier(t)&&r&&r.has(e.idText(t))){var i=e.getOriginalNode(t);if(e.isIdentifier(i)&&i.parent){var a=y.getReferencedValueDeclaration(i);if(a){var o=n[e.getOriginalNodeId(a)];if(o){var s=e.getMutableClone(o);return e.setSourceMapRange(s,t),e.setCommentRange(s,t),s}}}}return t}(t):t}(i):i};var x,S,k,C,E,T,w,D,A,N,P,O,F=1,M=0,I=0;return e.chainBundle(function(r){if(r.isDeclarationFile||0===(512&r.transformFlags))return r;var n=e.visitEachChild(r,L,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n});function L(r){var n=r.transformFlags;return a?function(r){switch(r.kind){case 217:case 218:return function(r){return a?(ne(),r=e.visitEachChild(r,L,t),ae(),r):e.visitEachChild(r,L,t)}(r);case 226:return function(r){return a&&Z({kind:2,isScript:!0,breakLabel:-1}),r=e.visitEachChild(r,L,t),a&&oe(),r}(r);case 227:return function(r){return a&&Z({kind:4,isScript:!0,labelText:e.idText(r.label),breakLabel:-1}),r=e.visitEachChild(r,L,t),a&&se(),r}(r);default:return R(r)}}(r):i?R(r):256&n?function(t){switch(t.kind){case 233:return j(t);case 191:return B(t);default:return e.Debug.failBadSyntaxKind(t)}}(r):512&n?e.visitEachChild(r,L,t):r}function R(r){switch(r.kind){case 233:return j(r);case 191:return B(r);case 155:case 156:return function(r){var n=i,o=a;return i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o,r}(r);case 213:return function(t){if(16777216&t.transformFlags)H(t.declarationList);else{if(1048576&e.getEmitFlags(t))return t;for(var r=0,n=t.declarationList.declarations;r<n.length;r++){var i=n[r];g(i.name)}var a=e.getInitializedVariables(t.declarationList);
1if(0!==a.length)return e.setSourceMapRange(e.createStatement(e.inlineExpressions(e.map(a,W))),t)}}(r);case 219:return function(r){a&&ne();var n=r.initializer;if(n&&e.isVariableDeclarationList(n)){for(var i=0,o=n.declarations;i<o.length;i++){var s=o[i];g(s.name)}var c=e.getInitializedVariables(n);r=e.updateFor(r,c.length>0?e.inlineExpressions(e.map(c,W)):void 0,e.visitNode(r.condition,L,e.isExpression),e.visitNode(r.incrementor,L,e.isExpression),e.visitNode(r.statement,L,e.isStatement,e.liftToBlock))}else r=e.visitEachChild(r,L,t);return a&&ae(),r}(r);case 220:return function(r){a&&ne();var n=r.initializer;if(e.isVariableDeclarationList(n)){for(var i=0,o=n.declarations;i<o.length;i++){var s=o[i];g(s.name)}r=e.updateForIn(r,n.declarations[0].name,e.visitNode(r.expression,L,e.isExpression),e.visitNode(r.statement,L,e.isStatement,e.liftToBlock))}else r=e.visitEachChild(r,L,t);return a&&ae(),r}(r);case 223:return function(r){if(a){var n=fe(r.label&&e.idText(r.label));if(n>0)return ge(n,r)}return e.visitEachChild(r,L,t)}(r);case 222:return function(r){if(a){var n=pe(r.label&&e.idText(r.label));if(n>0)return ge(n,r)}return e.visitEachChild(r,L,t)}(r);case 224:return function(t){return r=e.visitNode(t.expression,L,e.isExpression),n=t,e.setTextRange(e.createReturn(e.createArrayLiteral(r?[me(2),r]:[me(2)])),n);var r,n}(r);default:return 16777216&r.transformFlags?function(r){switch(r.kind){case 199:return function(r){switch(e.getExpressionAssociativity(r)){case 0:return function(r){if(K(r.right)){if(e.isLogicalOperator(r.operatorToken.kind))return function(t){var r=$(),n=Y();return ye(n,e.visitNode(t.left,L,e.isExpression),t.left),53===t.operatorToken.kind?Se(r,n,t.left):xe(r,n,t.left),ye(n,e.visitNode(t.right,L,e.isExpression),t.right),Q(r),n}(r);if(26===r.operatorToken.kind)return function(t){var r=[];return n(t.left),n(t.right),e.inlineExpressions(r);function n(t){e.isBinaryExpression(t)&&26===t.operatorToken.kind?(n(t.left),n(t.right)):(K(t)&&r.length>0&&(ke(1,[e.createStatement(e.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,L,e.isExpression)))}}(r);var n=e.getMutableClone(r);return n.left=X(e.visitNode(r.left,L,e.isExpression)),n.right=e.visitNode(r.right,L,e.isExpression),n}return e.visitEachChild(r,L,t)}(r);case 1:return function(r){var n,i=r.left,a=r.right;if(K(a)){var o=void 0;switch(i.kind){case 184:o=e.updatePropertyAccess(i,X(e.visitNode(i.expression,L,e.isLeftHandSideExpression)),i.name);break;case 185:o=e.updateElementAccess(i,X(e.visitNode(i.expression,L,e.isLeftHandSideExpression)),X(e.visitNode(i.argumentExpression,L,e.isExpression)));break;default:o=e.visitNode(i,L,e.isExpression)}var s=r.operatorToken.kind;return(n=s)>=59&&n<=70?e.setTextRange(e.createAssignment(o,e.setTextRange(e.createBinary(X(o),function(e){switch(e){case 59:return 37;case 60:return 38;case 61:return 39;case 62:return 40;case 63:return 41;case 64:return 42;case 65:return 45;case 66:return 46;case 67:return 47;case 68:return 48;case 69:return 49;case 70:return 50}}(s),e.visitNode(a,L,e.isExpression)),r)),r):e.updateBinary(r,o,e.visitNode(a,L,e.isExpression))}return e.visitEachChild(r,L,t)}(r);default:e.Debug.fail("Unknown associativity.")}}(r);case 200:return function(r){if(K(r.whenTrue)||K(r.whenFalse)){var n=$(),i=$(),a=Y();return Se(n,e.visitNode(r.condition,L,e.isExpression),r.condition),ye(a,e.visitNode(r.whenTrue,L,e.isExpression),r.whenTrue),be(i),Q(n),ye(a,e.visitNode(r.whenFalse,L,e.isExpression),r.whenFalse),Q(i),a}return e.visitEachChild(r,L,t)}(r);case 202:return function(r){var n,i=$(),a=e.visitNode(r.expression,L,e.isExpression);if(r.asteriskToken){var o=0===(8388608&e.getEmitFlags(r.expression))?e.createValuesHelper(t,a,r):a;!function(e,t){ke(7,[e],t)}(o,r)}else!function(e,t){ke(6,[e],t)}(a,r);return Q(i),n=r,e.setTextRange(e.createCall(e.createPropertyAccess(C,"sent"),void 0,[]),n)}(r);case 182:return function(e){return q(e.elements,void 0,void 0,e.multiLine)}(r);case 183:return function(t){var r=t.properties,n=t.multiLine,i=G(r),a=Y();ye(a,e.createObjectLiteral(e.visitNodes(r,L,e.isObjectLiteralElementLike,0,i),n));var o=e.reduceLeft(r,function(r,i){K(i)&&r.length>
10&&(ve(e.createStatement(e.inlineExpressions(r))),r=[]);var o=e.createExpressionForObjectLiteralElementLike(t,i,a),s=e.visitNode(o,L,e.isExpression);return s&&(n&&e.startOnNewLine(s),r.push(s)),r},[],i);return o.push(n?e.startOnNewLine(e.getMutableClone(a)):a),e.inlineExpressions(o)}(r);case 185:return function(r){if(K(r.argumentExpression)){var n=e.getMutableClone(r);return n.expression=X(e.visitNode(r.expression,L,e.isLeftHandSideExpression)),n.argumentExpression=e.visitNode(r.argumentExpression,L,e.isExpression),n}return e.visitEachChild(r,L,t)}(r);case 186:return function(r){if(!e.isImportCall(r)&&e.forEach(r.arguments,K)){var n=e.createCallBinding(r.expression,g,v,!0),i=n.target,a=n.thisArg;return e.setOriginalNode(e.createFunctionApply(X(e.visitNode(i,L,e.isLeftHandSideExpression)),a,q(r.arguments),r),r)}return e.visitEachChild(r,L,t)}(r);case 187:return function(r){if(e.forEach(r.arguments,K)){var n=e.createCallBinding(e.createPropertyAccess(r.expression,"bind"),g),i=n.target,a=n.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(X(e.visitNode(i,L,e.isExpression)),a,q(r.arguments,e.createVoidZero())),void 0,[]),r),r)}return e.visitEachChild(r,L,t)}(r);default:return e.visitEachChild(r,L,t)}}(r):33554944&r.transformFlags?e.visitEachChild(r,L,t):r}}function j(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,r.modifiers,void 0,r.name,void 0,e.visitParameterList(r.parameters,L,t),void 0,z(r.body)),r),r);else{var n=i,o=a;i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o}return i?void m(r):r}function B(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,r.name,void 0,e.visitParameterList(r.parameters,L,t),void 0,z(r.body)),r),r);else{var n=i,o=a;i=!1,a=!1,r=e.visitEachChild(r,L,t),i=n,a=o}return r}function z(t){var r=[],n=i,o=a,m=s,g=c,h=u,v=l,y=d,b=f,E=F,T=x,w=S,D=k,A=C;i=!0,a=!1,s=void 0,c=void 0,u=void 0,l=void 0,d=void 0,f=void 0,F=1,x=void 0,S=void 0,k=void 0,C=e.createTempVariable(void 0),p();var N=e.addPrologue(r,t.statements,!1,L);U(t.statements,N);var P=Ce();
1return e.prependStatements(r,_()),r.push(e.createReturn(P)),i=n,a=o,s=m,c=g,u=h,l=v,d=y,f=b,F=E,x=T,S=w,k=D,C=A,e.setTextRange(e.createBlock(r,t.multiLine),t)}function q(t,r,n,i){var a,o=G(t);if(o>0){a=Y();var s=e.visitNodes(t,L,e.isExpression,0,o);ye(a,e.createArrayLiteral(r?[r].concat(s):s)),r=void 0}var c=e.reduceLeft(t,function(t,n){if(K(n)&&t.length>0){var o=void 0!==a;a||(a=Y()),ye(a,o?e.createArrayConcat(a,[e.createArrayLiteral(t,i)]):e.createArrayLiteral(r?[r].concat(t):t,i)),r=void 0,t=[]}return t.push(e.visitNode(n,L,e.isExpression)),t},[],o);return a?e.createArrayConcat(a,[e.createArrayLiteral(c,i)]):e.setTextRange(e.createArrayLiteral(r?[r].concat(c):c,i),n)}function U(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n<r;n++)J(e[n])}function V(t){e.isBlock(t)?U(t.statements):J(t)}function J(i){var o=a;a||(a=K(i)),function(i){switch(i.kind){case 212:return function(t){K(t)?U(t.statements):ve(e.visitNode(t,L,e.isStatement))}(i);case 215:return function(t){ve(e.visitNode(t,L,e.isStatement))}(i);case 216:return function(t){if(K(t))if(K(t.thenStatement)||K(t.elseStatement)){var r=$(),n=t.elseStatement?$():void 0;Se(t.elseStatement?n:r,e.visitNode(t.expression,L,e.isExpression),t.expression),V(t.thenStatement),t.elseStatement&&(be(r),Q(n),V(t.elseStatement)),Q(r)}else ve(e.visitNode(t,L,e.isStatement));else ve(e.visitNode(t,L,e.isStatement))}(i);case 217:return function(t){if(K(t)){var r=$(),n=$();ie(r),Q(n),V(t.statement),Q(r),xe(n,e.visitNode(t.expression,L,e.isExpression)),ae()}else ve(e.visitNode(t,L,e.isStatement))}(i);case 218:return function(t){if(K(t)){var r=$(),n=ie(r);Q(r),Se(n,e.visitNode(t.expression,L,e.isExpression)),V(t.statement),be(r),ae()}else ve(e.visitNode(t,L,e.isStatement))}(i);case 219:return function(t){if(K(t)){var r=$(),n=$(),i=ie(n);if(t.initializer){var a=t.initializer;e.isVariableDeclarationList(a)?H(a):ve(e.setTextRange(e.createStatement(e.visitNode(a,L,e.isExpression)),a))}Q(r),t.condition&&Se(i,e.visitNode(t.condition,L,e.isExpression)),V(t.statement),Q(n),t.incrementor&&ve(e.setTextRange(e.createStatement(e.visitNode(t.incrementor,L,e.isExpression)),t.incrementor)),be(r),ae()}else ve(e.visitNode(t,L,e.isStatement))}(i);case 220:return function(t){if(K(t)){var r=Y(),n=Y(),i=e.createLoopVariable(),a=t.initializer;g(i),ye(r,e.createArrayLiteral()),ve(e.createForIn(n,e.visitNode(t.expression,L,e.isExpression),e.createStatement(e.createCall(e.createPropertyAccess(r,"push"),void 0,[n])))),ye(i,e.createLiteral(0));var o=$(),s=$(),c=ie(s);Q(o),Se(c,e.createLessThan(i,e.createPropertyAccess(r,"length")));var u=void 0;if(e.isVariableDeclarationList(a)){for(var l=0,d=a.declarations;l<d.length;l++){var f=d[l];g(f.name)}u=e.getSynthesizedClone(a.declarations[0].name)}else u=e.visitNode(a,L,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(u));ye(u,e.createElementAccess(r,i)),V(t.statement),Q(s),ve(e.createStatement(e.createPostfixIncrement(i))),be(o),ae()}else ve(e.visitNode(t,L,e.isStatement))}(i);case 222:return function(t){var r=pe(t.label?e.idText(t.label):void 0);r>0?be(r,t):ve(t)}(i);case 223:return function(t){var r=fe(t.label?e.idText(t.label):void 0);r>0?be(r,t):ve(t)}(i);case 224:return function(t){ke(8,[e.visitNode(t.expression,L,e.isExpression)],t)}(i);case 225:return function(t){K(t)?(function(e){var t=$(),r=$();Q(t),Z({kind:1,expression:e,startLabel:t,endLabel:r})}(X(e.visitNode(t.expression,L,e.isExpression))),V(t.statement),e.Debug.assert(1===re()),Q(ee().endLabel)):ve(e.visitNode(t,L,e.isStatement))}(i);case 226:return function(t){if(K(t.caseBlock)){for(var r=t.caseBlock,n=r.clauses.length,i=function(){var e=$
1();return Z({kind:2,isScript:!1,breakLabel:e}),e}(),a=X(e.visitNode(t.expression,L,e.isExpression)),o=[],s=-1,c=0;c<n;c++){var u=r.clauses[c];o.push($()),266===u.kind&&-1===s&&(s=c)}for(var l=0,d=[];l<n;){for(var f=0,c=l;c<n;c++){var u=r.clauses[c];if(265===u.kind){if(K(u.expression)&&d.length>0)break;d.push(e.createCaseClause(e.visitNode(u.expression,L,e.isExpression),[ge(o[c],u.expression)]))}else f++}d.length&&(ve(e.createSwitch(a,e.createCaseBlock(d))),l+=d.length,d=[]),f>0&&(l+=f,f=0)}be(s>=0?o[s]:i);for(var c=0;c<n;c++)Q(o[c]),U(r.clauses[c].statements);oe()}else ve(e.visitNode(t,L,e.isStatement))}(i);case 227:return function(t){K(t)?(function(e){var t=$();Z({kind:4,isScript:!1,labelText:e,breakLabel:t})}(e.idText(t.label)),V(t.statement),se()):ve(e.visitNode(t,L,e.isStatement))}(i);case 228:return function(t){ke(9,[e.visitNode(t.expression,L,e.isExpression)],t)}(i);case 229:return function(i){K(i)?(function(){var e=$(),t=$();Q(e),Z({kind:0,state:0,startLabel:e,endLabel:t}),he()}(),V(i.tryBlock),i.catchClause&&(function(i){var a;if(e.Debug.assert(0===re()),e.isGeneratedIdentifier(i.name))a=i.name,g(i.name);else{var o=e.idText(i.name);a=Y(o),r||(r=e.createMap(),n=[],t.enableSubstitution(71)),r.set(o,!0),n[e.getOriginalNodeId(i)]=a}var s=te();e.Debug.assert(s.state<1),be(s.endLabel);var c=$();Q(c),s.state=1,s.catchVariable=a,s.catchLabel=c,ye(a,e.createCall(e.createPropertyAccess(C,"sent"),void 0,[])),he()}(i.catchClause.variableDeclaration),V(i.catchClause.block)),i.finallyBlock&&(function(){e.Debug.assert(0===re());var t=te();e.Debug.assert(t.state<2),be(t.endLabel);var r=$();Q(r),t.state=2,t.finallyLabel=r}(),V(i.finallyBlock)),function(){e.Debug.assert(0===re());var t=ee();t.state<2?be(t.endLabel):ke(10),Q(t.endLabel),he(),t.state=3}()):ve(e.visitEachChild(i,L,t))}(i);default:ve(e.visitNode(i,L,e.isStatement))}}(i),a=o}function H(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r],a=e.getSynthesizedClone(i.name);e.setCommentRange(a,i.name),g(a)}for(var o=e.getInitializedVariables(t),s=o.length,c=0,u=[];c<s;){for(var l=c;l<s&&!(K((i=o[l]).initializer)&&u.length>0);l++)u.push(W(i));u.length&&(ve(e.createStatement(e.inlineExpressions(u))),c+=u.length,u=[])}}function W(t){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(t.name),t.name),e.visitNode(t.initializer,L,e.isExpression)),t)}function K(e){return e&&0!==(16777216&e.transformFlags)}function G(e){for(var t=e.length,r=0;r<t;r++)if(K(e[r]))return r;return-1}function X(t){var r;return e.isGeneratedIdentifier(t)||4096&e.getEmitFlags(t)?t:(ye(r=e.createTempVariable(g),t,t),r)}function Y(t){var r=t?e.createUniqueName(t):e.createTempVariable(void 0);return g(r),r}function $(){d||(d=[]);var e=F;return F++,d[e]=-1,e}function Q(t){e.Debug.assert(void 0!==d,"No labels were defined."),d[t]=x?x.length:0}function Z(e){s||(s=[],u=[],c=[],l=[]);var t=u.length;return u[t]=0,c[t]=x?x.length:0,s[t]=e,l.push(e),t}function ee(){var t=te();e.Debug.assert(void 0!==t,"beginBlock was never called.");var r=u.length;return u[r]=1,c[r]=x?x.length:0,s[r]=t,l.pop(),t}function te(){return e.lastOrUndefined(l)}function re(){var e=te();return e&&e.kind}function ne(){Z({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function ie(e){var t=$();return Z({kind:3,isScript:!1,breakLabel:t,continueLabel:e}),t}function ae(){e.Debug.assert(3===re());var t=ee(),r=t.breakLabel;t.isScript||Q(r)}function oe(){e.Debug.assert(2===re());var t=ee(),r=t.breakLabel;t.isScript||Q(r)}function se(){e.Debug.assert(4===re());var t=ee();t.isScript||Q(t.breakLabel)}function ce(e){return 2===e.kind||3===e.kind}function ue(e){return 4===e.kind}function le(e){return 3===e.kind}function de(e,t){for(var r=t;r>=0;r--){var n=l[r];if(!ue(n))break;if(n.labelText===e)return!0}return!1}function fe(e){if(l)if(e)for(var t=l.length-1;t>=0;t--){if(ue(r=l[t])&&r.labelText===e)return r.breakLabel;if(ce(r)&&de(e,t-1))return r.breakLabel}else for(t=l.length-1;t>=0;t--){var r;if(ce(r=l[t]))return r.breakLabel}return 0}function pe(e){if(l)if(e){for(var t=l.length-1;t>=0;t--)if(le(r=l[t])&&de(e,t-1))return r.continueLabel}else for(t=l.length-1;t>=0;t--){var r;if(le(r=l[t]))return r.continueLabel}return 0}function _e(t){if(t>0){void 0===f&&(f=[]);var r=e.createLiteral(-1);return void 0===f[t]?f[t]=[r]:f[t].push(r),r}return e.createOmittedExpression()}function me(t){var r=e.createLiteral(t);return e.addSyntheticTrailingComment(r,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally"}}(t)),r}function ge(t,r){return e.Debug.assertLessThan(0,t,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([me(3),_e(t)])),r)}function he(){ke(0)}function ve(e){e?ke(1,[e]):he()}function ye(e,t,r){ke(2,[e,t],r)}function be(e,t){ke(3,[e],t)}function xe(e,t,r){ke(4,[e,t],r)}function Se(e,t,r){ke(5,[e,t],r)}function ke(e,t,r){void 0===x&&(x=[],S=[],k=[]),void 0===d&&Q($());var n=x.length;x[n]=e,S[n]=t,k[n]=r}function Ce(){M=0,I=0,E=void 0,T=!1,w=!1,D=void 0,A=void 0,N=void 0,P=void 0,O=void 0;var r=function(){if(x){for(var t=0;t<x.length;t++)De(t);Ee(x.length)}else Ee(0);if(D){var r=e.createPropertyAccess(C,"label"),n=e.createSwitch(r,e.createCaseBlock(D));return[e.startOnNewLine(n)]}return A||[]}();return function(t,r){return t.requestEmitHelper(o),e.createCall(e.getHelperName("__generator"),void 0,[e.createThis(),r])}(t,e.setEmitFlags(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,C)],void 0,e.createBlock(r,r.length>0)),524288))}function Ee(e){(function(e){if(!w)return!0;
1if(!d||!f)return!1;for(var t=0;t<d.length;t++)if(d[t]===e&&f[t])return!0;return!1})(e)&&(we(e),O=void 0,Ne(void 0,void 0)),A&&D&&Te(!1),function(){if(void 0!==f&&void 0!==E)for(var e=0;e<E.length;e++){var t=E[e];if(void 0!==t)for(var r=0,n=t;r<n.length;r++){var i=n[r],a=f[i];if(void 0!==a)for(var o=0,s=a;o<s.length;o++){var c=s[o];c.text=String(e)}}}}()}function Te(t){if(D||(D=[]),A){if(O)for(var r=O.length-1;r>=0;r--){var n=O[r];A=[e.createWith(n.expression,e.createBlock(A))]}if(P){var i=P.startLabel,a=P.catchLabel,o=P.finallyLabel,s=P.endLabel;A.unshift(e.createStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(C,"trys"),"push"),void 0,[e.createArrayLiteral([_e(i),_e(a),_e(o),_e(s)])]))),P=void 0}t&&A.push(e.createStatement(e.createAssignment(e.createPropertyAccess(C,"label"),e.createLiteral(I+1))))}D.push(e.createCaseClause(e.createLiteral(I),A||[])),A=void 0}function we(e){if(d)for(var t=0;t<d.length;t++)d[t]===e&&(A&&(Te(!T),T=!1,w=!1,I++),void 0===E&&(E=[]),void 0===E[I]?E[I]=[t]:E[I].push(t))}function De(t){if(we(t),function(e){if(s)for(;M<u.length&&c[M]<=e;M++){var t=s[M],r=u[M];switch(t.kind){case 0:0===r?(N||(N=[]),A||(A=[]),N.push(P),P=t):1===r&&(P=N.pop());break;case 1:0===r?(O||(O=[]),O.push(t)):1===r&&O.pop()}}}(t),!T){T=!1,w=!1;var r=x[t];if(0!==r){if(10===r)return T=!0,void Ae(e.createReturn(e.createArrayLiteral([me(7)])));var n=S[t];if(1===r)return Ae(n[0]);var i,a,o,l=k[t];switch(r){case 2:return i=n[0],a=n[1],o=l,void Ae(e.setTextRange(e.createStatement(e.createAssignment(i,a)),o));case 3:return function(t,r){T=!0,Ae(e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral([me(3),_e(t)])),r),384))}(n[0],l);case 4:return function(t,r,n){Ae(e.setEmitFlags(e.createIf(r,e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral([me(3),_e(t)])),n),384)),1))}(n[0],n[1],l);case 5:return function(t,r,n){Ae(e.setEmitFlags(e.createIf(e.createLogicalNot(r),e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral([me(3),_e(t)])),n),384)),1))}(n[0],n[1],l);case 6:return function(t,r){T=!0,Ae(e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral(t?[me(4),t]:[me(4)])),r),384))}(n[0],l);case 7:return function(t,r){T=!0,Ae(e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral([me(5),t])),r),384))}(n[0],l);case 8:return Ne(n[0],l);case 9:return function(t,r){T=!0,w=!0,Ae(e.setTextRange(e.createThrow(t),r))}(n[0],l)}}}}function Ae(e){e&&(A?A.push(e):A=[e])}function Ne(t,r){T=!0,w=!0,Ae(e.setEmitFlags(e.setTextRange(e.createReturn(e.createArrayLiteral(t?[me(2),t]:[me(2)])),r),384))}};var o={name:"typescript:generator",scoped:!1,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1];
1 return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}}(u||(u={})),function(e){e.transformModule=function(a){var o=a.startLexicalEnvironment,s=a.endLexicalEnvironment,c=a.hoistVariableDeclaration,u=a.getCompilerOptions(),l=a.getEmitResolver(),d=a.getEmitHost(),f=e.getEmitScriptTarget(u),p=e.getEmitModuleKind(u),_=a.onSubstituteNode,m=a.onEmitNode;a.onSubstituteNode=function(t,r){return(r=_(t,r)).id&&v[r.id]?r:1===t?function(t){switch(t.kind){case 71:return X(t);case 199:return function(t){if(e.isAssignmentOperator(t.operatorToken.kind)&&e.isIdentifier(t.left)&&!e.isGeneratedIdentifier(t.left)&&!e.isLocalName(t.left)&&!e.isDeclarationNameOfEnumOrNamespace(t.left)){var r=Y(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++){var o=a[i];v[e.getNodeId(n)]=!0,n=K(o,n,t)}return n}}return t}(t);case 198:case 197:return function(t){if((43===t.operator||44===t.operator)&&e.isIdentifier(t.operand)&&!e.isGeneratedIdentifier(t.operand)&&!e.isLocalName(t.operand)&&!e.isDeclarationNameOfEnumOrNamespace(t.operand)){var r=Y(t.operand);if(r){for(var n=198===t.kind?e.setTextRange(e.createBinary(t.operand,e.createToken(43===t.operator?59:60),e.createLiteral(1)),t):t,i=0,a=r;i<a.length;i++){var o=a[i];v[e.getNodeId(n)]=!0,n=K(o,n)}return n}}return t}(t)}return t}(r):e.isShorthandPropertyAssignment(r)?function(t){var r=t.name,n=X(r);if(n!==r){if(t.objectAssignmentInitializer){var i=e.createAssignment(n,t.objectAssignmentInitializer);return e.setTextRange(e.createPropertyAssignment(r,i),t)}return e.setTextRange(e.createPropertyAssignment(r,n),t)}return t}(r):r},a.onEmitNode=function(t,r,n){273===r.kind?(g=r,h=b[e.getOriginalNodeId(g)],v=[],m(t,r,n),g=void 0,h=void 0,v=void 0):m(t,r,n)},a.enableSubstitution(71),a.enableSubstitution(199),a.enableSubstitution(197),a.enableSubstitution(198),a.enableSubstitution(270),a.enableEmitNotification(273);var g,h,v,y,b=[],x=[];return e.chainBundle(function(t){if(t.isDeclarationFile||!(e.isEffectiveExternalModule(t,u)||67108864&t.transformFlags))return t;g=t,h=e.collectExternalModuleInfo(t,l,u),b[e.getOriginalNodeId(t)]=h;var r=function(t){switch(t){case e.ModuleKind.AMD:return C;case e.ModuleKind.UMD:return E;default:return k}}(p)(t);return g=void 0,h=void 0,y=!1,e.aggregateTransformFlags(r)});function S(){return!(h.exportEquals||!e.isExternalModule(g))}function k(r){o();var n=[],i=e.getStrictOptionValue(u,"alwaysStrict")||!u.noImplicitUseStrict&&e.isExternalModule(g),c=e.addPrologue(n,r.statements,i,N);S()&&e.append(n,W()),e.append(n,e.visitNode(h.externalHelpersImportDeclaration,N,e.isStatement)),e.addRange(n,e.visitNodes(r.statements,N,e.isStatement,c)),A(n,!1),e.prependStatements(n,s());var l=e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray(n),r.statements));return h.hasExportStarsToExportValues&&!u.importHelpers&&e.addEmitHelper(l,t),e.addEmitHelpers(l,a.readEmitHelpers()),l}function C(t){var r=e.createIdentifier("define"),n=e.tryGetModuleNameFromFile(t,d,u),i=T(t,!0),o=i.aliasedModuleNames,s=i.unaliasedModuleNames,c=i.importAliasNames,l=e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(r,void 0,(n?[n]:[]).concat([e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(o,s)),e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(c),void 0,D(t))])))]),t.statements));return e.addEmitHelpers(l,a.readEmitHelpers()),l}function E(t){var r=T(t,!1),n=r.aliasedModuleNames,i=r.unaliasedModuleNames,o=r.importAliasNames,s=e.tryGetModuleNameFromFile(t,d,u),c=e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(e.createBlock([e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("module"),"object"),e.createTypeCheck(e.createPropertyAccess(e.createIdentifier("module"),"exports"),"object")),e.createBlock([e.createVariableStatement(void 0,[e.createVariableDeclaration("v",void 0,e.createCall(e.createIdentifier("factory"),void 0,[e.createIdentifier("require"),e.createIdentifier("exports")]))]),e.setEmitFlags(e.createIf(e.createStrictInequality(e.createIdentifier("v"),e.createIdentifier("undefined")),e.createStatement
1(e.createAssignment(e.createPropertyAccess(e.createIdentifier("module"),"exports"),e.createIdentifier("v")))),1)]),e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("define"),"function"),e.createPropertyAccess(e.createIdentifier("define"),"amd")),e.createBlock([e.createStatement(e.createCall(e.createIdentifier("define"),void 0,(s?[s]:[]).concat([e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(n,i)),e.createIdentifier("factory")])))])))],!0),void 0)),l=e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(c,void 0,[e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(o),void 0,D(t))]))]),t.statements));return e.addEmitHelpers(l,a.readEmitHelpers()),l}function T(t,r){for(var n=[],i=[],a=[],o=0,s=t.amdDependencies;o<s.length;o++){var c=s[o];c.name?(n.push(e.createLiteral(c.path)),a.push(e.createParameter(void 0,void 0,void 0,c.name))):i.push(e.createLiteral(c.path))}for(var f=0,p=h.externalImports;f<p.length;f++){var _=p[f],m=e.getExternalModuleNameLiteral(_,g,d,l,u),v=e.getLocalNameForExternalImport(_,g);m&&(r&&v?(e.setEmitFlags(v,4),n.push(m),a.push(e.createParameter(void 0,void 0,void 0,v))):i.push(m))}return{aliasedModuleNames:n,unaliasedModuleNames:i,importAliasNames:a}}function w(t){if(!e.isImportEqualsDeclaration(t)&&!e.isExportDeclaration(t)&&e.getExternalModuleNameLiteral(t,g,d,l,u)){var r=e.getLocalNameForExternalImport(t,g),n=M(t,r);if(n!==r)return e.createStatement(e.createAssignment(r,n))}}function D(n){o();var i=[],a=e.addPrologue(i,n.statements,!u.noImplicitUseStrict,N);S()&&e.append(i,W()),e.append(i,e.visitNode(h.externalHelpersImportDeclaration,N,e.isStatement)),p===e.ModuleKind.AMD&&e.addRange(i,e.mapDefined(h.externalImports,w)),e.addRange(i,e.visitNodes(n.statements,N,e.isStatement,a)),A(i,!0),e.prependStatements(i,s());var c=e.createBlock(i,!0);return h.hasExportStarsToExportValues&&!u.importHelpers&&e.addEmitHelper(c,t),y&&e.addEmitHelper(c,r),c}function A(t,r){if(h.exportEquals){var n=e.visitNode(h.exportEquals.expression,P);if(n)if(r){var i=e.createReturn(n);e.setTextRange(i,h.exportEquals),e.setEmitFlags(i,1920),t.push(i)}else i=e.createStatement(e.createAssignment(e.createPropertyAccess(e.createIdentifier("module"),"exports"),n)),e.setTextRange(i,h.exportEquals),e.setEmitFlags(i,1536),t.push(i)}}function N(t){switch(t.kind){case 243:return function(t){var r,n=e.getNamespaceDeclarationNode(t);if(p!==e.ModuleKind.AMD){if(!t.importClause)return e.setTextRange(e.createStatement(I(t)),t);var i=[];n&&!e.isDefaultImport(t)?i.push(e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,M(t,I(t)))):(i.push(e.createVariableDeclaration(e.getGeneratedNameForNode(t),void 0,M(t,I(t)))),n&&e.isDefaultImport(t)&&i.push(e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,e.getGeneratedNameForNode(t)))),r=e.append(r,e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(i,f>=2?2:0)),t))}else n&&e.isDefaultImport(t)&&(r=e.append(r,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,e.getGeneratedNameForNode(t)),t)],f>=2?2:0))));if(j(t)){var a=e.getOriginalNodeId(t);x[a]=B(x[a],t)}else r=B(r,t);return e.singleOrMany(r)}(t);case 242:return function(t){var r;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),p!==e.ModuleKind.AMD?r=e.hasModifier(t,1)?e.append(r,e.setTextRange(e.createStatement(K(t.name,I(t))),t)):e.append(r,e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),void 0,I(t))],f>=2?2:0)),t)):e.hasModifier(t,1)&&(r=e.append(r,e.setTextRange(e.createStatement(K(e.getExportName(t),e.getLocalName(t))),t))),j(t)){var n=e.getOriginalNodeId(t);x[n]=z(x[n],t)}else r=z(r,t);return e.singleOrMany(r)}(t);case 249:return function(t){if(t.moduleSpecifier){var r=e.getGeneratedNameForNode(t);if(t.exportClause){var n=[];p!==e.ModuleKind.AMD&&n.push(e.setTextRange(e.createVariableStatement
1(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(r,void 0,I(t))])),t));for(var i=0,o=t.exportClause.elements;i<o.length;i++){var s=o[i],c=e.createPropertyAccess(r,s.propertyName||s.name);n.push(e.setTextRange(e.createStatement(K(e.getExportName(s),c)),s))}return e.singleOrMany(n)}return e.setTextRange(e.createStatement(function(t,r){return t.getCompilerOptions().importHelpers?e.createCall(e.getHelperName("__exportStar"),void 0,[r,e.createIdentifier("exports")]):e.createCall(e.createIdentifier("__export"),void 0,[r])}(a,p!==e.ModuleKind.AMD?I(t):r)),t)}}(t);case 248:return function(t){if(!t.isExportEquals){var r,n=t.original;if(n&&j(n)){var i=e.getOriginalNodeId(t);x[i]=H(x[i],e.createIdentifier("default"),e.visitNode(t.expression,P),t,!0)}else r=H(r,e.createIdentifier("default"),e.visitNode(t.expression,P),t,!0);return e.singleOrMany(r)}}(t);case 213:return function(t){var r,n,i;if(e.hasModifier(t,1)){for(var o=void 0,s=0,c=t.declarationList.declarations;s<c.length;s++){var u=c[s];e.isIdentifier(u.name)&&e.isLocalName(u.name)?(o||(o=e.visitNodes(t.modifiers,G,e.isModifier)),n=e.append(n,u)):u.initializer&&(i=e.append(i,R(u)))}n&&(r=e.append(r,e.updateVariableStatement(t,o,e.updateVariableDeclarationList(t.declarationList,n)))),i&&(r=e.append(r,e.setTextRange(e.createStatement(e.inlineExpressions(i)),t)))}else r=e.append(r,e.visitEachChild(t,P,a));if(j(t)){var l=e.getOriginalNodeId(t);x[l]=q(x[l],t)}else r=q(r,t);return e.singleOrMany(r)}(t);case 233:return function(t){var r;if(r=e.hasModifier(t,1)?e.append(r,e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,e.visitNodes(t.modifiers,G,e.isModifier),t.asteriskToken,e.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.parameters,P),void 0,e.visitEachChild(t.body,P,a)),t),t)):e.append(r,e.visitEachChild(t,P,a)),j(t)){var n=e.getOriginalNodeId(t);x[n]=V(x[n],t)}else r=V(r,t);return e.singleOrMany(r)}(t);case 234:return function(t){var r;if(r=e.hasModifier(t,1)?e.append(r,e.setOriginalNode(e.setTextRange(e.createClassDeclaration(void 0,e.visitNodes(t.modifiers,G,e.isModifier),e.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.heritageClauses,P),e.visitNodes(t.members,P)),t),t)):e.append(r,e.visitEachChild(t,P,a)),j(t)){var n=e.getOriginalNodeId(t);x[n]=V(x[n],t)}else r=V(r,t);return e.singleOrMany(r)}(t);case 302:return function(t){if(j(t)&&213===t.original.kind){var r=e.getOriginalNodeId(t);x[r]=q(x[r],t.original)}return t}(t);case 303:return function(t){var r=e.getOriginalNodeId(t),n=x[r];return n?(delete x[r],e.append(n,t)):t}(t);default:return e.visitEachChild(t,P,a)}}function P(t){return 67108864&t.transformFlags||2048&t.transformFlags?e.isImportCall(t)?function(t){var r=e.visitNode(e.firstOrUndefined(t.arguments),P),n=!!(16384&t.transformFlags);switch(u.module){case e.ModuleKind.AMD:return O(r,n);case e.ModuleKind.UMD:return function(t,r){if(y=!0,e.isSimpleCopiableExpression(t)){var n=e.isGeneratedIdentifier(t)?t:e.isStringLiteral(t)?e.createLiteral(t):e.setEmitFlags(e.setTextRange(e.getSynthesizedClone(t),t),1536);return e.createConditional(e.createIdentifier("__syncRequire"),F(t,r),O(n,r))}var i=e.createTempVariable(c);return e.createComma(e.createAssignment(i,t),e.createConditional(e.createIdentifier("__syncRequire"),F(i,r),O(i,r)))}(r,n);case e.ModuleKind.CommonJS:default:return F(r,n)}}(t):1024&t.transformFlags&&e.isBinaryExpression(t)?function(t){return function t(r){if(e.isObjectLiteralExpression(r))for(var n=0,i=r.properties;n<i.length;n++){var a=i[n];switch(a.kind){case 269:if(t(a.initializer))return!0;break;case 270:if(t(a.name))return!0;break;case 271:if(t(a.expression))return!0;break;case 153:case 155:case 156:return!1;default:e.Debug.assertNever(a,"Unhandled object member kind")}}else if(e.isArrayLiteralExpression(r))for(var o=0,s=r.elements;o<s.length;o++){var a=s[o];if(e.isSpreadElement(a)){if(t(a.expression))return!0}else if(t(a))return!0}else if(e.isIdentifier(r))return e.length(Y(r))>(e.isExportName(r)?1:0);return!1}(t.left)?e.flattenDestructuringAssignment(t,P,a,0,!1,L):e.visitEachChild(t,P,a)}(t):e.visitEachChild(t,P,a):t}function O(t,r){var i,o=e.createUniqueName("resolve"),s=e.createUniqueName("reject"),c=[e.createParameter(void 0,void 0,void 0,o),e.createParameter(void 0,void 0,void 0,s)],l=e.createBlock([e.createStatement
1(e.createCall(e.createIdentifier("require"),void 0,[e.createArrayLiteral([t||e.createOmittedExpression()]),o,s]))]);f>=2?i=e.createArrowFunction(void 0,void 0,c,void 0,void 0,l):(i=e.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,l),r&&e.setEmitFlags(i,8));var d=e.createNew(e.createIdentifier("Promise"),void 0,[i]);return u.esModuleInterop?(a.requestEmitHelper(n),e.createCall(e.createPropertyAccess(d,e.createIdentifier("then")),void 0,[e.getHelperName("__importStar")])):d}function F(t,r){var i,o=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),void 0,[]),s=e.createCall(e.createIdentifier("require"),void 0,t?[t]:[]);return u.esModuleInterop&&(a.requestEmitHelper(n),s=e.createCall(e.getHelperName("__importStar"),void 0,[s])),f>=2?i=e.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(i=e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock([e.createReturn(s)])),r&&e.setEmitFlags(i,8)),e.createCall(e.createPropertyAccess(o,"then"),void 0,[i])}function M(t,r){return!u.esModuleInterop||67108864&e.getEmitFlags(t)?r:e.getImportNeedsImportStarHelper(t)?(a.requestEmitHelper(n),e.createCall(e.getHelperName("__importStar"),void 0,[r])):e.getImportNeedsImportDefaultHelper(t)?(a.requestEmitHelper(i),e.createCall(e.getHelperName("__importDefault"),void 0,[r])):r}function I(t){var r=e.getExternalModuleNameLiteral(t,g,d,l,u),n=[];return r&&n.push(r),e.createCall(e.createIdentifier("require"),void 0,n)}function L(t,r,n){var i=Y(t);if(i){for(var a=e.isExportName(t)?r:e.createAssignment(t,r),o=0,s=i;o<s.length;o++){var c=s[o];e.setEmitFlags(a,4),a=K(c,a,n)}return a}return e.createAssignment(t,r)}function R(t){return e.isBindingPattern(t.name)?e.flattenDestructuringAssignment(e.visitNode(t,P),void 0,a,0,!1,L):e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createIdentifier("exports"),t.name),t.name),e.visitNode(t.initializer,P))}function j(t){return 0!==(4194304&e.getEmitFlags(t))}function B(e,t){if(h.exportEquals)return e;var r=t.importClause;if(!r)return e;r.name&&(e=J(e,r));var n=r.namedBindings;if(n)switch(n.kind){case 245:e=J(e,n);break;case 246:for(var i=0,a=n.elements;i<a.length;i++)e=J(e,a[i])}return e}function z(e,t){return h.exportEquals?e:J(e,t)}function q(e,t){if(h.exportEquals)return e;for(var r=0,n=t.declarationList.declarations;r<n.length;r++)e=U(e,n[r]);return e}function U(t,r){if(h.exportEquals)return t;if(e.isBindingPattern(r.name))for(var n=0,i=r.name.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||(t=U(t,a))}else e.isGeneratedIdentifier(r.name)||(t=J(t,r));return t}function V(t,r){return h.exportEquals?t:(e.hasModifier(r,1)&&(t=H(t,e.hasModifier(r,512)?e.createIdentifier("default"):e.getDeclarationName(r),e.getLocalName(r),r)),r.name&&(t=J(t,r)),t)}function J(t,r){var n=e.getDeclarationName(r),i=h.exportSpecifiers.get(e.idText(n));if(i)for(var a=0,o=i;a<o.length;a++){var s=o[a];t=H(t,s.name,n,s.name)}return t}function H(t,r,n,i,a){return t=e.append(t,function(t,r,n,i){var a=e.setTextRange(e.createStatement(K(t,r)),n);return e.startOnNewLine(a),i||e.setEmitFlags(a,1536),a}(r,n,i,a))}function W(){var t;return t=0===f?e.createStatement(K(e.createIdentifier("__esModule"),e.createLiteral(!0))):e.createStatement(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[e.createIdentifier("exports"),e.createLiteral("__esModule"),e.createObjectLiteral([e.createPropertyAssignment("value",e.createLiteral(!0))])])),e.setEmitFlags(t,1048576),t}function K(t,r,n){return e.setTextRange(e.createAssignment(e.createPropertyAccess(e.createIdentifier("exports"),e.getSynthesizedClone(t)),r),n)}function G(e){switch(e.kind){case 84:case 79:return}return e}function X(t){if(4096&e.getEmitFlags(t)){var r=e.getExternalHelpersModuleName(g);return r?e.createPropertyAccess(r,t):t}if(!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var n=l.getReferencedExportContainer(t,e.isExportName(t));if(n&&273===n.kind)return e.setTextRange(e.createPropertyAccess(e.createIdentifier("exports"),e.getSynthesizedClone(t)),t);var i=l.getReferencedImportDeclaration(t);
1if(i){if(e.isImportClause(i))return e.setTextRange(e.createPropertyAccess(e.getGeneratedNameForNode(i.parent),e.createIdentifier("default")),t);if(e.isImportSpecifier(i)){var a=i.propertyName||i.name;return e.setTextRange(e.createPropertyAccess(e.getGeneratedNameForNode(i.parent.parent.parent),e.getSynthesizedClone(a)),t)}}}return t}function Y(t){if(!e.isGeneratedIdentifier(t)){var r=l.getReferencedImportDeclaration(t)||l.getReferencedValueDeclaration(t);if(r)return h&&h.exportedBindings[e.getOriginalNodeId(r)]}}};var t={name:"typescript:export-star",scoped:!0,text:"\n function __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n }"};var r={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'},n={name:"typescript:commonjsimportstar",scoped:!1,text:'\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n result["default"] = mod;\n return result;\n};'},i={name:"typescript:commonjsimportdefault",scoped:!1,text:'\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n};'}}(u||(u={})),function(e){e.transformSystemModule=function(t){var r=t.startLexicalEnvironment,n=t.endLexicalEnvironment,i=t.hoistVariableDeclaration,a=t.getCompilerOptions(),o=t.getEmitResolver(),s=t.getEmitHost(),c=t.onSubstituteNode,u=t.onEmitNode;t.onSubstituteNode=function(t,r){return function(e){return g&&e.id&&g[e.id]}(r=c(t,r))?r:1===t?function(t){switch(t.kind){case 71:return function(t){if(4096&e.getEmitFlags(t)){var r=e.getExternalHelpersModuleName(l);return r?e.createPropertyAccess(r,t):t}if(!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var n=o.getReferencedImportDeclaration(t);if(n){if(e.isImportClause(n))return e.setTextRange(e.createPropertyAccess(e.getGeneratedNameForNode(n.parent),e.createIdentifier("default")),t);if(e.isImportSpecifier(n))return e.setTextRange(e.createPropertyAccess(e.getGeneratedNameForNode(n.parent.parent.parent),e.getSynthesizedClone(n.propertyName||n.name)),t)}}return t}(t);case 199:return function(t){if(e.isAssignmentOperator(t.operatorToken.kind)&&e.isIdentifier(t.left)&&!e.isGeneratedIdentifier(t.left)&&!e.isLocalName(t.left)&&!e.isDeclarationNameOfEnumOrNamespace(t.left)){var r=H(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++){var o=a[i];n=B(o,W(n))}return n}}return t}(t);case 197:case 198:return function(t){if((43===t.operator||44===t.operator)&&e.isIdentifier(t.operand)&&!e.isGeneratedIdentifier(t.operand)&&!e.isLocalName(t.operand)&&!e.isDeclarationNameOfEnumOrNamespace(t.operand)){var r=H(t.operand);if(r){for(var n=198===t.kind?e.setTextRange(e.createPrefix(t.operator,t.operand),t):t,i=0,a=r;i<a.length;i++){var o=a[i];n=B(o,W(n))}return 198===t.kind&&(n=43===t.operator?e.createSubtract(W(n),e.createLiteral(1)):e.createAdd(W(n),e.createLiteral(1))),n}}return t}(t)}return t}(r):4===t?function(t){switch(t.kind){case 270:return function(t){var r=t.name;if(!e.isGeneratedIdentifier(r)&&!e.isLocalName(r)){var n=o.getReferencedImportDeclaration(r);if(n){if(e.isImportClause(n))return e.setTextRange(e.createPropertyAssignment(e.getSynthesizedClone(r),e.createPropertyAccess(e.getGeneratedNameForNode(n.parent),e.createIdentifier("default"))),t);if(e.isImportSpecifier(n))return e.setTextRange(e.createPropertyAssignment(e.getSynthesizedClone(r),e.createPropertyAccess(e.getGeneratedNameForNode(n.parent.parent.parent),e.getSynthesizedClone(n.propertyName||n.name))),t)}}return t}(t)}return t}(r):r},t.onEmitNode=function(t,r,n){if(273===r.kind){var i=e.getOriginalNodeId(r);l=r,d=h[i],f=y[i],(g=b[i])&&delete b[i],u(t,r,n),l=void 0,d=void 0,f=void 0,g=void 0}else u(t,r,n)},t.enableSubstitution(71),t.enableSubstitution(270),t.enableSubstitution(199),t.enableSubstitution(197),t.enableSubstitution(198),t.enableEmitNotification(273);var l,d,f,p,_,m,g,h=[],v=[],y=[],b=[];return e.chainBundle(function(t){if(t.isDeclarationFile||!(e.isEffectiveExternalModule(t,a)||67108864&t.transformFlags))return t;var i=e.getOriginalNodeId(t);l=t,m=t,d=h[i]=e.collectExternalModuleInfo(t,o,a),f=e.createUniqueName("exports"),y[i]=f,p=e.createUniqueName("context");var c=function(t){for(var r=e.createMap(),n=[],i=0,c=t;i<c.length;i++){var u=c[i],d=e.getExternalModuleNameLiteral(u,l,s,o,a);if(d){var f=d.text,p=r.get(f);void 0!==p?n[p].externalImports.push(u):(r.set(f,n.length),n.push({name:d,externalImports:[u]}))}}return n}(d.externalImports),u=function(t,i){var o=[];r();var s=e.getStrictOptionValue(a,"alwaysStrict")||!a.noImplicitUseStrict&&e.isExternalModule(l),c=e.addPrologue(o,t.statements,s,k);
1o.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("__moduleName",void 0,e.createLogicalAnd(p,e.createPropertyAccess(p,"id")))]))),e.visitNode(d.externalHelpersImportDeclaration,k,e.isStatement);var u=e.visitNodes(t.statements,k,e.isStatement,c);e.addRange(o,_),e.prependStatements(o,n());var f=function(t){if(d.hasExportStarsToExportValues){if(!d.exportedNames&&0===d.exportSpecifiers.size){for(var r=!1,n=0,i=d.externalImports;n<i.length;n++){var a=i[n];if(249===a.kind&&a.exportClause){r=!0;break}}if(!r){var o=x(void 0);return t.push(o),o.name}}var s=[];if(d.exportedNames)for(var c=0,u=d.exportedNames;c<u.length;c++){var l=u[c];"default"!==l.escapedText&&s.push(e.createPropertyAssignment(e.createLiteral(l),e.createTrue()))}for(var f=0,p=d.externalImports;f<p.length;f++){var a=p[f];if(249===a.kind&&a.exportClause)for(var _=0,m=a.exportClause.elements;_<m.length;_++){var g=m[_];s.push(e.createPropertyAssignment(e.createLiteral(e.idText(g.name||g.propertyName)),e.createTrue()))}}var h=e.createUniqueName("exportedNames");t.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(h,void 0,e.createObjectLiteral(s,!0))])));var v=x(h);return t.push(v),v.name}}(o),m=e.createObjectLiteral([e.createPropertyAssignment("setters",S(f,i)),e.createPropertyAssignment("execute",e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock(u,!0)))]);return m.multiLine=!0,o.push(e.createReturn(m)),e.createBlock(o,!0)}(t,c),v=e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,f),e.createParameter(void 0,void 0,void 0,p)],void 0,u),C=e.tryGetModuleNameFromFile(t,s,a),E=e.createArrayLiteral(e.map(c,function(e){return e.name})),T=e.setEmitFlags(e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(e.createPropertyAccess(e.createIdentifier("System"),"register"),void 0,C?[C,E,v]:[E,v]))]),t.statements)),1024);return a.outFile||a.out||e.moveEmitHelpers(T,u,function(e){return!e.scoped}),g&&(b[i]=g,g=void 0),l=void 0,d=void 0,f=void 0,p=void 0,_=void 0,m=void 0,e.aggregateTransformFlags(T)});function x(t){var r=e.createUniqueName("exportStar"),n=e.createIdentifier("m"),i=e.createIdentifier("n"),a=e.createIdentifier("exports"),o=e.createStrictInequality(i,e.createLiteral("default"));return t&&(o=e.createLogicalAnd(o,e.createLogicalNot(e.createCall(e.createPropertyAccess(t,"hasOwnProperty"),void 0,[i])))),e.createFunctionDeclaration(void 0,void 0,void 0,r,void 0,[e.createParameter(void 0,void 0,void 0,n)],void 0,e.createBlock([e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(a,void 0,e.createObjectLiteral([]))])),e.createForIn(e.createVariableDeclarationList([e.createVariableDeclaration(i,void 0)]),n,e.createBlock([e.setEmitFlags(e.createIf(o,e.createStatement(e.createAssignment(e.createElementAccess(a,i),e.createElementAccess(n,i)))),1)])),e.createStatement(e.createCall(f,void 0,[a]))],!0))}function S(t,r){for(var n=[],i=0,a=r;i<a.length;i++){for(var o=a[i],s=e.forEach(o.externalImports,function(t){return e.getLocalNameForExternalImport(t,l)}),c=s?e.getGeneratedNameForNode(s):e.createUniqueName(""),u=[],d=0,p=o.externalImports;d<p.length;d++){var _=p[d],m=e.getLocalNameForExternalImport(_,l);switch(_.kind){case 243:if(!_.importClause)break;case 242:e.Debug.assert(void 0!==m),u.push(e.createStatement(e.createAssignment(m,c)));break;case 249:if(e.Debug.assert(void 0!==m),_.exportClause){for(var g=[],h=0,v=_.exportClause.elements;h<v.length;h++){var y=v[h];g.push(e.createPropertyAssignment(e.createLiteral(e.idText(y.name)),e.createElementAccess(c,e.createLiteral(e.idText(y.propertyName||y.name)))))}u.push(e.createStatement(e.createCall(f,void 0,[e.createObjectLiteral(g,!0)])))}else u.push(e.createStatement(e.createCall(t,void 0,[c])))}}n.push(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,c)],void 0,e.createBlock(u,!0)))}return e.createArrayLiteral(n,!0)}function k(t){switch(t.kind){case 243:return function(t){var r;if(t.importClause&&i(e.getLocalNameForExternalImport(t,l)),N(t)){var n=e.getOriginalNodeId(t);v[n]=P(v[n],t)}else r=P(r,t);return e.singleOrMany(r)}(t);case 242:return function(t){var r;if(e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer."),i(e.getLocalNameForExternalImport(t,l)),N(t)){var n=e.getOriginalNodeId(t);v[n]=O(v[n],t)}else r=O(r,t);return e.singleOrMany(r)}(t);case 249:return;case 248:return function(t){if(!t.isExportEquals){var r=e.visitNode(t.expression,U,e.isExpression),n=t.original;if(!n||!N(n))return j(e.createIdentifier("default"),r,!0);var i=e.getOriginalNodeId(t);v[i]=R(v[i],e.createIdentifier("default"),r,!0)}}(t);default:return z(t)}}function C(t){if(e.isBindingPattern(t.name))for(var r=0,n=t.name.elements;r<n.length;r++){var a=n[r];e.isOmittedExpression(a)||C(a)}else i(e.getSynthesizedClone(t.name))}function E(t){return 0===(2097152&e.getEmitFlags(t))&&(273===m.kind||0===(3&e.getOriginalNode(t).flags))}function T(r,n){var i=n?w:D;
1return e.isBindingPattern(r.name)?e.flattenDestructuringAssignment(r,U,t,0,!1,i):r.initializer?i(r.name,e.visitNode(r.initializer,U,e.isExpression)):r.name}function w(e,t,r){return A(e,t,r,!0)}function D(e,t,r){return A(e,t,r,!1)}function A(t,r,n,a){return i(e.getSynthesizedClone(t)),a?B(t,W(e.setTextRange(e.createAssignment(t,r),n))):W(e.setTextRange(e.createAssignment(t,r),n))}function N(t){return 0!==(4194304&e.getEmitFlags(t))}function P(e,t){if(d.exportEquals)return e;var r=t.importClause;if(!r)return e;r.name&&(e=L(e,r));var n=r.namedBindings;if(n)switch(n.kind){case 245:e=L(e,n);break;case 246:for(var i=0,a=n.elements;i<a.length;i++)e=L(e,a[i])}return e}function O(e,t){return d.exportEquals?e:L(e,t)}function F(e,t,r){if(d.exportEquals)return e;for(var n=0,i=t.declarationList.declarations;n<i.length;n++){var a=i[n];(a.initializer||r)&&(e=M(e,a,r))}return e}function M(t,r,n){if(d.exportEquals)return t;if(e.isBindingPattern(r.name))for(var i=0,a=r.name.elements;i<a.length;i++){var o=a[i];e.isOmittedExpression(o)||(t=M(t,o,n))}else if(!e.isGeneratedIdentifier(r.name)){var s=void 0;n&&(t=R(t,r.name,e.getLocalName(r)),s=e.idText(r.name)),t=L(t,r,s)}return t}function I(t,r){if(d.exportEquals)return t;var n;if(e.hasModifier(r,1)){var i=e.hasModifier(r,512)?e.createLiteral("default"):r.name;t=R(t,i,e.getLocalName(r)),n=e.getTextOfIdentifierOrLiteral(i)}return r.name&&(t=L(t,r,n)),t}function L(t,r,n){if(d.exportEquals)return t;var i=e.getDeclarationName(r),a=d.exportSpecifiers.get(e.idText(i));if(a)for(var o=0,s=a;o<s.length;o++){var c=s[o];c.name.escapedText!==n&&(t=R(t,c.name,i))}return t}function R(t,r,n,i){return t=e.append(t,j(r,n,i))}function j(t,r,n){var i=e.createStatement(B(t,r));return e.startOnNewLine(i),n||e.setEmitFlags(i,1536),i}function B(t,r){var n=e.isIdentifier(t)?e.createLiteral(t):t;return e.setEmitFlags(r,1536|e.getEmitFlags(r)),e.setCommentRange(e.createCall(f,void 0,[n,r]),r)}function z(r){switch(r.kind){case 213:return function(t){if(!E(t.declarationList))return e.visitNode(t,U,e.isStatement);for(var r,n,i=e.hasModifier(t,1),a=N(t),o=0,s=t.declarationList.declarations;o<s.length;o++){var c=s[o];c.initializer?r=e.append(r,T(c,i&&!a)):C(c)}if(r&&(n=e.append(n,e.setTextRange(e.createStatement(e.inlineExpressions(r)),t))),a){var u=e.getOriginalNodeId(t);v[u]=F(v[u],t,i)}else n=F(n,t,!1);return e.singleOrMany(n)}(r);case 233:return function(r){if(_=e.hasModifier(r,1)?e.append(_,e.updateFunctionDeclaration(r,r.decorators,e.visitNodes(r.modifiers,J,e.isModifier),r.asteriskToken,e.getDeclarationName(r,!0,!0),void 0,e.visitNodes(r.parameters,U,e.isParameterDeclaration),void 0,e.visitNode(r.body,U,e.isBlock))):e.append(_,e.visitEachChild(r,U,t)),N(r)){var n=e.getOriginalNodeId(r);v[n]=I(v[n],r)}else _=I(_,r)}(r);case 234:return function(t){var r,n=e.getLocalName(t);if(i(n),r=e.append(r,e.setTextRange(e.createStatement(e.createAssignment(n,e.setTextRange(e.createClassExpression(void 0,t.name,void 0,e.visitNodes(t.heritageClauses,U,e.isHeritageClause),e.visitNodes(t.members,U,e.isClassElement)),t))),t)),N(t)){var a=e.getOriginalNodeId(t);v[a]=I(v[a],t)}else r=I(r,t);return e.singleOrMany(r)}(r);case 219:return function(t){var r=m;return m=t,t=e.updateFor(t,q(t.initializer),e.visitNode(t.condition,U,e.isExpression),e.visitNode(t.incrementor,U,e.isExpression),e.visitNode(t.statement,z,e.isStatement)),m=r,t}(r);case 220:return function(t){var r=m;return m=t,t=e.updateForIn(t,q(t.initializer),e.visitNode(t.expression,U,e.isExpression),e.visitNode(t.statement,z,e.isStatement,e.liftToBlock)),m=r,t}(r);case 221:return function(t){var r=m;return m=t,t=e.updateForOf(t,t.awaitModifier,q(t.initializer),e.visitNode(t.expression,U,e.isExpression),e.visitNode(t.statement,z,e.isStatement,e.liftToBlock)),m=r,t}(r);case 217:return function(t){return e.updateDo(t,e.visitNode(t.statement,z,e.isStatement,e.liftToBlock),e.visitNode(t.expression,U,e.isExpression))}(r);case 218:return function(t){return e.updateWhile(t,e.visitNode(t.expression,U,e.isExpression),e.visitNode(t.statement,z,e.isStatement,e.liftToBlock))}(r);case 227:return function(t){return e.updateLabel(t,t.label,e.visitNode(t.statement,z,e.isStatement,e.liftToBlock))}(r);case 225:return function(t){return e.updateWith(t,e.visitNode(t.expression,U,e.isExpression),e.visitNode(t.statement,z,e.isStatement,e.liftToBlock))}(r);case 226:return function(t){return e.updateSwitch(t,e.visitNode(t.expression,U,e.isExpression),e.visitNode(t.caseBlock,z,e.isCaseBlock))}(r);case 240:return function(t){var r=m;return m=t,t=e.updateCaseBlock(t,e.visitNodes(t.clauses,z,e.isCaseOrDefaultClause)),m=r,t}(r);case 265:return function(t){return e.updateCaseClause(t,e.visitNode(t.expression,U,e.isExpression),e.visitNodes(t.statements,z,e.isStatement))}(r);case 266:case 229:return function(r){return e.visitEachChild(r,z,t)}(r);case 268:return function(t){var r=m;return m=t,t=e.updateCatchClause(t,t.variableDeclaration,e.visitNode(t.block,z,e.isBlock)),m=r,t}(r);case 212:return function(r){var n=m;return m=r,r=e.visitEachChild(r,z,t),m=n,r}(r);case 302:return function(t){if(N(t)&&213===t.original.kind){var r=e.getOriginalNodeId(t),n=e.hasModifier(t.original,1);v[r]=F(v[r],t.original,n)}return t}(r);case 303:return function(t){var r=e.getOriginalNodeId(t),n=v[r];if(n)return delete v[r],e.append(n,t);var i=e.getOriginalNode(t);return e.isModuleOrEnumDeclaration(i)?e.append(L(n,i),t):t}(r);default:return U(r)}}function q(r){if(!r)return r;if(function(t){return e.isVariableDeclarationList(t)&&E(t)}(r)){for(var n=void 0,i=0,a=r.declarations;i<a.length;i++){var o=a[i];n=e.append(n,T(o,!1)),o.initializer||C(o)}
1return n?e.inlineExpressions(n):e.createOmittedExpression()}return e.visitEachChild(r,z,t)}function U(r){return 1024&r.transformFlags&&199===r.kind?function(r){return V(r.left)?e.flattenDestructuringAssignment(r,U,t,0,!0):e.visitEachChild(r,U,t)}(r):e.isImportCall(r)?function(t){return e.createCall(e.createPropertyAccess(p,e.createIdentifier("import")),void 0,e.some(t.arguments)?[e.visitNode(t.arguments[0],U)]:[])}(r):2048&r.transformFlags||67108864&r.transformFlags?e.visitEachChild(r,U,t):r}function V(t){if(e.isAssignmentExpression(t,!0))return V(t.left);if(e.isSpreadElement(t))return V(t.expression);if(e.isObjectLiteralExpression(t))return e.some(t.properties,V);if(e.isArrayLiteralExpression(t))return e.some(t.elements,V);if(e.isShorthandPropertyAssignment(t))return V(t.name);if(e.isPropertyAssignment(t))return V(t.initializer);if(e.isIdentifier(t)){var r=o.getReferencedExportContainer(t);return void 0!==r&&273===r.kind}return!1}function J(e){switch(e.kind){case 84:case 79:return}return e}function H(t){var r;if(!e.isGeneratedIdentifier(t)){var n=o.getReferencedImportDeclaration(t)||o.getReferencedValueDeclaration(t);if(n){var i=o.getReferencedExportContainer(t,!1);i&&273===i.kind&&(r=e.append(r,e.getDeclarationName(n))),r=e.addRange(r,d&&d.exportedBindings[e.getOriginalNodeId(n)])}}return r}function W(t){return void 0===g&&(g=[]),g[e.getNodeId(t)]=!0,t}}}(u||(u={})),function(e){e.transformES2015Module=function(t){var r,n=t.getCompilerOptions(),i=t.onEmitNode,a=t.onSubstituteNode;return t.onEmitNode=function(t,n,a){e.isSourceFile(n)?(r=n,i(t,n,a),r=void 0):i(t,n,a)},t.onSubstituteNode=function(t,n){return n=a(t,n),e.isIdentifier(n)&&1===t?function(t){if(4096&e.getEmitFlags(t)){var n=e.getExternalHelpersModuleName(r);if(n)return e.createPropertyAccess(n,t)}return t}(n):n},t.enableEmitNotification(273),t.enableSubstitution(71),e.chainBundle(function(r){if(r.isDeclarationFile)return r;if(e.isExternalModule(r)||n.isolatedModules){var i=e.getOrCreateExternalHelpersModuleNameIfNeeded(r,n);if(i){var a=[],s=e.addPrologue(a,r.statements),c=e.createImportDeclaration(void 0,void 0,e.createImportClause(void 0,e.createNamespaceImport(i)),e.createLiteral(e.externalHelpersModuleNameText));return e.addEmitFlags(c,67108864),e.append(a,c),e.addRange(a,e.visitNodes(r.statements,o,e.isStatement,s)),e.updateSourceFileNode(r,e.setTextRange(e.createNodeArray(a),r.statements))}return e.visitEachChild(r,o,t)}return r});function o(e){switch(e.kind){case 242:return;case 248:return function(e){return e.isExportEquals?void 0:e}(e)}return e}}}(u||(u={})),function(e){function t(t){if(e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isBindingElement(t)||e.isConstructorDeclaration(t))return r;if(e.isSetAccessor(t)||e.isGetAccessor(t))return function(r){var n;n=156===t.kind?e.hasModifier(t,32)?r.errorModuleName?e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:e.hasModifier(t,32)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:n,errorNode:t.name,typeName:t.name}};if(e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isIndexSignatureDeclaration(t))return function(r){var n;switch(t.kind){case 158:n=r.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 157:n=r.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 159:n=r.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 153:case 152:n=e.hasModifier(t,32)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:234===t.parent.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:r.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 233:n=r.errorModuleName?2===r.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:e.Debug.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:n,errorNode:t.name||t}};if(e.isParameter(t))return e.isParameterPropertyDeclaration(t)&&e.hasModifier(t.parent,8)?r:function(r){var n=function(r){switch(t.parent.kind){case 154:return r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 158:case 163:return r.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 157:return r.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 159:return r.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 153:case 152:return e.hasModifier(t.parent,32)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:234===t.parent.parent.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 233:case 162:return r.errorModuleName?2===r.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;default:e.Debug.fail("Unknown parent for parameter: "+e.SyntaxKind[t.parent.kind])}}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0};if(e.isTypeParameterDeclaration(t))return function(){var r;switch(t.parent.kind){case 234:r=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 235:r=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 158:r=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 157:r=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 153:case 152:r=e.hasModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:234===t.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 233:r=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 236:r=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:r,errorNode:t,typeName:t.name}};if(e.isExpressionWithTypeArguments(t))return function(){var r;r=234===t.parent.parent.kind?108===t.parent.token?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:r,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}};if(e.isImportEqualsDeclaration(t))return function(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}};if(e.isTypeAliasDeclaration(t))return function(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}};function r(r){var n=function(r){return 231===t.kind||181===t.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:151===t.kind||150===t.kind||148===t.kind&&e.hasModifier(t.parent,8)?e.hasModifier(t,32)?r.errorModuleName?2===r.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:234===t.parent.kind||148===t.kind?r.errorModuleName?2===r.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:r.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(r);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}e.Debug.assertNever(t,"Attempted to set a declaration diagnostic context for unhandled node kind: "+e.SyntaxKind[t.kind])}e.canProduceDiagnostics=function(t){return e.isVariableDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertySignature(t)||e.isBindingElement(t)||e.isSetAccessor(t)||e.isGetAccessor(t)||e.isConstructSignatureDeclaration(t)||e.isCallSignatureDeclaration(t)||e.isMethodDeclaration(t)||e.isMethodSignature(t)||e.isFunctionDeclaration(t)||e.isParameter(t)||e.isTypeParameterDeclaration(t)||e.isExpressionWithTypeArguments(t)||e.isImportEqualsDeclaration(t)||e.isTypeAliasDeclaration(t)||e.isConstructorDeclaration(t)||e.isIndexSignatureDeclaration(t)},e.createGetSymbolAccessibilityDiagnosticForNodeName=function(r){return e.isSetAccessor(r)||e.isGetAccessor(r)?function(t){var n=function(t){return e.hasModifier(r,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:234===r.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:e.isMethodSignature(r)||e.isMethodDeclaration(r)?function(t){var n=function(t){return e.hasModifier(r,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:234===r.parent.kind?t.errorModuleName?2===t.accessibility?e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}(t);return void 0!==n?{diagnosticMessage:n,errorNode:r,typeName:r.name}:void 0}:t(r)},e.createGetSymbolAccessibilityDiagnosticForNode=t}(u||(u={})),function(e){e.getDeclarationDiagnostics=function(t,n,i){if(i&&e.isSourceFileJavaScript(i))return[];var a=t.getCompilerOptions();return e.transformNodes(n,t,a,i?[i]:e.filter(t.getSourceFiles(),e.isSourceFileNotJavaScript),[r],!1).diagnostics};var t=531468;function r(r){var o,s,c,u,l,d,f,p,_=function(){return e.Debug.fail("Diagnostic emitted without context")},m=_,g=!0,h=!1,v=!1,y=!1,b=!1,x=r.getEmitHost(),S={trackSymbol:function(e,t,r){if(262144&e.flags)return;
1A(k.isSymbolAccessible(e,t,r,!0)),D(k.getTypeReferenceDirectivesForSymbol(e,r))},reportInaccessibleThisError:function(){d&&r.addDiagnostic(e.createDiagnosticForNode(d,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(d),"this"))},reportInaccessibleUniqueSymbolError:function(){d&&r.addDiagnostic(e.createDiagnosticForNode(d,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(d),"unique symbol"))},reportPrivateInBaseOfClassExpression:function(t){d&&r.addDiagnostic(e.createDiagnosticForNode(d,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},moduleResolverHost:x,trackReferencedAmbientModule:function(t){var r=e.getSourceFileOfNode(t);p.set(""+e.getOriginalNodeId(r),r)}},k=r.getEmitResolver(),C=r.getCompilerOptions(),E=e.getNewLineCharacter(C),T=C.noResolve,w=C.stripInternal;return function(t){if(273===t.kind&&(t.isDeclarationFile||e.isSourceFileJavaScript(t)))return t;if(274===t.kind){h=!0;var n=e.createMap(),i=!1,a=e.createBundle(e.map(t.sourceFiles,function(t){if(!t.isDeclarationFile&&!e.isSourceFileJavaScript(t)){if(i=i||t.hasNoDefaultLib,f=t,o=t,c=void 0,l=!1,u=e.createMap(),m=_,y=!1,b=!1,N(t,n),e.isExternalModule(t)){v=!1,g=!1;var a=e.visitNodes(t.statements,K),s=e.updateSourceFileNode(t,[e.createModuleDeclaration([],[e.createModifier(124)],e.createLiteral(e.getResolvedExternalModuleName(r.getEmitHost(),t)),e.createModuleBlock(e.setTextRange(e.createNodeArray(V(a)),t.statements)))],!0,[],[],!1);return s}g=!0;var d=e.visitNodes(t.statements,K);return e.updateSourceFileNode(t,V(d),!0,[],[],!1)}}),e.mapDefined(t.prepends,function(t){if(276===t.kind)return e.createUnparsedSourceFile(t.declarationText)}));a.syntheticFileReferences=[],a.syntheticTypeReferences=A(),a.hasNoDefaultLib=i;var d=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,x,!0).declarationFilePath)),S=O(a.syntheticFileReferences,d);return n.forEach(S),a}g=!0,y=!1,b=!1,o=t,f=t,m=_,h=!1,v=!1,l=!1,c=void 0,u=e.createMap(),s=void 0,p=N(f,e.createMap());var k=[],C=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,x,!0).declarationFilePath)),E=O(k,C),T=e.visitNodes(t.statements,K),w=e.setTextRange(e.createNodeArray(V(T)),t.statements);p.forEach(E);var D=e.filter(w,e.isAnyImportSyntax);e.isExternalModule(t)&&(!v||y&&!b)&&(w=e.setTextRange(e.createNodeArray(w.concat([e.createExportDeclaration(void 0,void 0,e.createNamedExports([]),void 0)])),w));return e.updateSourceFileNode(t,w,!0,k,A(),t.hasNoDefaultLib);function A(){return s?e.mapDefined(e.arrayFrom(s.keys()),P):[]}function P(t){if(D)for(var r=0,n=D;r<n.length;r++){var i=n[r];if(e.isImportEqualsDeclaration(i)&&e.isExternalModuleReference(i.moduleReference)){var a=i.moduleReference.expression;if(e.isStringLiteralLike(a)&&a.text===t)return}else if(e.isImportDeclaration(i)&&e.isStringLiteral(i.moduleSpecifier)&&i.moduleSpecifier.text===t)return}return{fileName:t,pos:-1,end:-1}}function O(r,n){return function(i){var a;if(i.isDeclarationFile)a=i.fileName;else{if(h&&e.contains(t.sourceFiles,i))return;var o=e.getOutputPathsFor(i,x,!0);a=o.declarationFilePath||o.jsFilePath}if(a){var s=e.getRelativePathToDirectoryOrUrl(n,a,x.getCurrentDirectory(),x.getCanonicalFileName,!1);e.startsWith(s,"./")&&e.hasExtension(s)&&(s=s.substring(2)),r.push({pos:-1,end:-1,fileName:s})}}}};function D(t){if(t){s=s||e.createMap();for(var r=0,n=t;r<n.length;r++){var i=n[r];s.set(i,!0)}}}function A(t){if(0===t.accessibility){if(t&&t.aliasesToMakeVisible)if(c)for(var n=0,i=t.aliasesToMakeVisible;n<i.length;n++){var a=i[n];e.pushIfUnique(c,a)}else c=t.aliasesToMakeVisible}else{var o=m(t);o&&(o.typeName?r.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,e.getTextOfNode(o.typeName),t.errorSymbolName,t.errorModuleName)):r.addDiagnostic(e.createDiagnosticForNode(t.errorNode||o.errorNode,o.diagnosticMessage,t.errorSymbolName,t.errorModuleName)))}}function N(t,r){return T||e.isSourceFileJavaScript(t)?r:(e.forEach(t.referencedFiles,function(n){var i=e.tryResolveScriptReference(x,t,n);i&&r.set(""+e.getOriginalNodeId(i),i)}),r)}function P(t,r){var i;l||(i=m,m=e.createGetSymbolAccessibilityDiagnosticForNode(t));var a=e.updateParameter(t,void 0,n(t,r),t.dotDotDotToken,function t(r){return 71===r.kind?r:180===r.kind?e.updateArrayBindingPattern(r,e.visitNodes(r.elements,n)):e.updateObjectBindingPattern(r,e.visitNodes(r.elements,n));function n(r){return 205===r.kind?r:e.updateBindingElement(r,r.dotDotDotToken,r.propertyName,t(r.name),O(r)?r.initializer:void 0)}}(t.name),k.isOptionalParameter(t)?t.questionToken||e.createToken(55):void 0,M(t,t.type,!0),F(t));return l||(m=i),a}function O(t){return function(e){switch(e.kind){case 231:case 151:case 150:case 148:return!0}return!1}(t)&&k.isLiteralConstDeclaration(e.getParseTreeNode(t))}function F(t){if(O(t))return k.createLiteralConstValue(e.getParseTreeNode(t))}
1function M(r,n,i){if((i||!e.hasModifier(r,8))&&!O(r)){var a,s=148===r.kind&&(k.isRequiredInitializedParameter(r)||k.isOptionalUninitializedParameterProperty(r));return n&&!s?e.visitNode(n,W):e.getParseTreeNode(r)?156===r.kind?e.createKeywordTypeNode(119):(d=r.name,l||(a=m,m=e.createGetSymbolAccessibilityDiagnosticForNode(r)),231===r.kind||181===r.kind?c(k.createTypeOfDeclaration(r,o,t,S)):148===r.kind||151===r.kind||150===r.kind?r.initializer?c(k.createTypeOfDeclaration(r,o,t,S,s)||k.createTypeOfExpression(r.initializer,o,t,S)):c(k.createTypeOfDeclaration(r,o,t,S,s)):c(k.createReturnTypeOfSignatureDeclaration(r,o,t,S))):n?e.visitNode(n,W):e.createKeywordTypeNode(119)}function c(t){return d=void 0,l||(m=a),t||e.createKeywordTypeNode(119)}}function I(t){switch((t=e.getParseTreeNode(t)).kind){case 233:case 238:case 235:case 234:case 236:case 237:return!k.isDeclarationVisible(t);case 231:return!L(t);case 242:case 243:case 249:case 248:return!1}return!1}function L(t){return!e.isOmittedExpression(t)&&(e.isBindingPattern(t.name)?e.forEach(t.name.elements,L):k.isDeclarationVisible(t))}function R(t,r,n){if(!e.hasModifier(t,8)){var i=e.map(r,function(e){return P(e,n)});if(i)return e.createNodeArray(i,r.hasTrailingComma)}}function j(t,r){return e.hasModifier(t,8)?void 0:e.visitNodes(r,W)}function B(t){return e.isSourceFile(t)||e.isTypeAliasDeclaration(t)||e.isModuleDeclaration(t)||e.isClassDeclaration(t)||e.isInterfaceDeclaration(t)||e.isFunctionLike(t)||e.isIndexSignatureDeclaration(t)||e.isMappedTypeNode(t)}function z(e,t){A(k.isEntityNameVisible(e,t)),D(k.getTypeReferenceDirectivesForEntityName(e))}function q(t,r){return e.hasJSDocNodes(t)&&e.hasJSDocNodes(r)&&(t.jsDoc=r.jsDoc),e.setCommentRange(t,e.getCommentRange(r))}function U(t,n){if(n){if(v=v||238!==t.kind&&178!==t.kind,9===n.kind&&h){var i=e.getExternalModuleNameFromDeclaration(r.getEmitHost(),k,t);if(i)return e.createLiteral(i)}return n}}function V(t){for(;e.length(c);){var r=c.shift();if(!e.isLateVisibilityPaintedStatement(r))return e.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: "+(e.SyntaxKind?e.SyntaxKind[r.kind]:r.kind));var n=G(r,!0);u.set(""+e.getOriginalNodeId(r),n)}return e.visitNodes(t,function(t){if(e.isLateVisibilityPaintedStatement(t)){var r=""+e.getOriginalNodeId(t);if(u.has(r)){var n=u.get(r);return u.delete(r),n&&e.isSourceFile(t.parent)&&((e.isArray(n)?e.some(n,H):H(n))&&(y=!0),(e.isArray(n)?e.some(n,J):J(n))&&(v=!0)),n}}return t})}function J(t){return e.isAnyImportOrReExport(t)||e.isExportAssignment(t)||e.hasModifier(t,1)}function H(t){return!e.isAnyImportOrReExport(t)&&!e.isExportAssignment(t)&&!e.hasModifier(t,1)&&!e.isAmbientModule(t)}function W(t){if(!$(t)){if(e.isDeclaration(t)){if(I(t))return;if(e.hasDynamicName(t)&&!k.isLateBound(e.getParseTreeNode(t)))return}if((!e.isFunctionLike(t)||!k.isImplementationOfOverload(t))&&!e.isSemicolonClassElement(t)){var n;B(t)&&(n=o,o=t);var i=m;if((e.isMethodDeclaration(t)||e.isMethodSignature(t))&&e.hasModifier(t,8)){if(t.symbol&&t.symbol.declarations&&t.symbol.declarations[0]!==t)return;return x(e.createProperty(void 0,Q(t),t.name,void 0,void 0,void 0))}var a=e.canProduceDiagnostics(t);a&&!l&&(m=e.createGetSymbolAccessibilityDiagnosticForNode(t)),e.isTypeQueryNode(t)&&z(t.exprName,o);var s=l,c=(165===t.kind||176===t.kind)&&236!==t.parent.kind;if(c&&(l=!0),function(e){switch(e.kind){case 158:case 154:case 153:case 155:case 156:case 151:case 150:case 152:case 157:case 159:case 231:case 147:case 206:case 161:case 170:case 162:case 163:case 178:return!0}return!1}(t))switch(t.kind){case 206:(e.isEntityName(t.expression)||e.isEntityNameExpression(t.expression))&&z(t.expression,o);var u=e.visitEachChild(t,W,r);return x(e.updateExpressionWithTypeArguments(u,e.parenthesizeTypeParameters(u.typeArguments),u.expression));case 161:z(t.typeName,o);u=e.visitEachChild(t,W,r);return x(e.updateTypeReferenceNode(u,u.typeName,e.parenthesizeTypeParameters(u.typeArguments)));case 158:return x(e.updateConstructSignature(t,j(t,t.typeParameters),R(t,t.parameters),M(t,t.type)));case 154:var f=e.hasModifier(t,8),p=e.createSignatureDeclaration(154,f?void 0:j(t,t.typeParameters),f?void 0:R(t,t.parameters,0),void 0);return p.modifiers=e.createNodeArray(Q(t)),x(p);case 153:var _=e.createSignatureDeclaration(152,j(t,t.typeParameters),R(t,t.parameters),M(t,t.type));return _.name=t.name,_.modifiers=e.createNodeArray(Q(t)),_.questionToken=t.questionToken,x(_);case 155:case 156:return x(Z(t));case 151:return x(e.updateProperty(t,void 0,Q(t),t.name,t.questionToken,e.hasModifier(t,8)?void 0:M(t,t.type),F(t)));case 150:return x(e.updatePropertySignature(t,Q(t),t.name,t.questionToken,e.hasModifier(t,8)?void 0:M(t,t.type),F(t)));case 152:return x(e.updateMethodSignature(t,j(t,t.typeParameters),R(t,t.parameters),M(t,t.type),t.name,t.questionToken));case 157:return x(e.updateCallSignature(t,j(t,t.typeParameters),R(t,t.parameters),M(t,t.type)));case 159:return x(e.updateIndexSignature(t,void 0,Q(t),R(t,t.parameters),e.visitNode(t.type,W)||e.createKeywordTypeNode(119)));case 231:return e.isBindingPattern(t.name)?X(t.name):(c=!0,l=!0,x(e.updateVariableDeclaration(t,t.name,M(t,t.type),F(t))));case 147:return function(t){return 153===t.parent.kind&&e.hasModifier(t.parent,8)}(t)&&(t.default||t.constraint)?x(e.updateTypeParameterDeclaration(t,t.name,void 0,void 0)):x(e.visitEachChild(t,W,r));case 170:var g=e.visitNode(t.checkType,W),h=e.visitNode(t.extendsType,W),v=o;o=t.trueType;var y=e.visitNode(t.trueType,W);o=v;var b=e.visitNode(t.falseType,W);return x(e.updateConditionalTypeNode(t,g,h,y,b));case 162:return x(e.updateFunctionTypeNode(t,e.visitNodes(t.typeParameters,W),R(t,t.parameters),e.visitNode(t.type,W)));case 163:return x(e.updateConstructorTypeNode(t,e.visitNodes(t.typeParameters,W),R(t,t.parameters),e.visitNode(t.type,W)));case 178:return e.isLiteralImportTypeNode(t)?x(e.updateImportTypeNode(t,e.updateLiteralTypeNode(t.argument,U(t,t.argument.literal)),t.qualifier,e.visitNodes(t.typeArguments,W,e.isTypeNode),t.isTypeOf)):x(t);default:e.Debug.assertNever(t,"Attempted to process unhandled node kind: "+e.SyntaxKind[t.kind])}return x(e.visitEachChild(t,W,r))}}function x(r){return r&&a&&e.hasDynamicName(t)&&function(t){var r;l||(r=m,m=e.createGetSymbolAccessibilityDiagnosticForNodeName(t));d=t.name,e.Debug.assert(k.isLateBound(e.getParseTreeNode(t))),z(t.name.expression,o),l||(m=r);d=void 0}(t),B(t)&&(o=n),a&&!l&&(m=i),c&&(l=s),r===t?r:r&&e.setOriginalNode(q(r,t),t)}}function K(r){if(function(e){switch(e.kind){case 233:case 238:case 242:case 235:case 234:case 236:case 237:case 213:case 243:case 249:case 248:return!0}return!1}(r)&&!$(r)){switch(r.kind){case 249:return e.isSourceFile(r.parent)&&(v=!0,b=!0),e.updateExportDeclaration(r,void 0,r.modifiers,r.exportClause,U(r,r.moduleSpecifier));case 248:if(e.isSourceFile(r.parent)&&(v=!0,b=!0),71===r.expression.kind)return r;var n=e.createOptimisticUniqueName("_default");m=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:r}};var i=e.createVariableDeclaration(n,k.createTypeOfExpression(r.expression,r,t,S),void 0);
1return[e.createVariableStatement(g?[e.createModifier(124)]:[],e.createVariableDeclarationList([i],2)),e.updateExportAssignment(r,r.decorators,r.modifiers,n)]}var a=G(r);return u.set(""+e.getOriginalNodeId(r),a),r}}function G(r,n){if(!$(r)){switch(r.kind){case 242:return function(t){if(k.isDeclarationVisible(t)){if(253===t.moduleReference.kind){var r=e.getExternalModuleImportEqualsDeclarationExpression(t);return e.updateImportEqualsDeclaration(t,void 0,t.modifiers,t.name,e.updateExternalModuleReference(t.moduleReference,U(t,r)))}var n=m;return m=e.createGetSymbolAccessibilityDiagnosticForNode(t),z(t.moduleReference,o),m=n,t}}(r);case 243:return function(t){if(!t.importClause)return e.updateImportDeclaration(t,void 0,t.modifiers,t.importClause,U(t,t.moduleSpecifier));var r=t.importClause&&t.importClause.name&&k.isDeclarationVisible(t.importClause)?t.importClause.name:void 0;if(!t.importClause.namedBindings)return r&&e.updateImportDeclaration(t,void 0,t.modifiers,e.updateImportClause(t.importClause,r,void 0),U(t,t.moduleSpecifier));if(245===t.importClause.namedBindings.kind){var n=k.isDeclarationVisible(t.importClause.namedBindings)?t.importClause.namedBindings:void 0;return r||n?e.updateImportDeclaration(t,void 0,t.modifiers,e.updateImportClause(t.importClause,r,n),U(t,t.moduleSpecifier)):void 0}var i=e.mapDefined(t.importClause.namedBindings.elements,function(e){return k.isDeclarationVisible(e)?e:void 0});return i&&i.length||r?e.updateImportDeclaration(t,void 0,t.modifiers,e.updateImportClause(t.importClause,r,i&&i.length?e.updateNamedImports(t.importClause.namedBindings,i):void 0),U(t,t.moduleSpecifier)):void 0}(r)}if((!e.isDeclaration(r)||!I(r))&&(!e.isFunctionLike(r)||!k.isImplementationOfOverload(r))){var i;B(r)&&(i=o,o=r);var a=e.canProduceDiagnostics(r),s=m;a&&(m=e.createGetSymbolAccessibilityDiagnosticForNode(r));var c=g;switch(r.kind){case 236:return N(e.updateTypeAliasDeclaration(r,void 0,Q(r,n),r.name,e.visitNodes(r.typeParameters,W,e.isTypeParameterDeclaration),e.visitNode(r.type,W,e.isTypeNode)));case 235:return N(e.updateInterfaceDeclaration(r,void 0,Q(r,n),r.name,j(r,r.typeParameters),ee(r.heritageClauses),e.visitNodes(r.members,W)));case 233:return N(e.updateFunctionDeclaration(r,void 0,Q(r,n),void 0,r.name,j(r,r.typeParameters),R(r,r.parameters),M(r,r.type),void 0));case 238:g=!1;var l=r.body;if(l&&239===l.kind){var d=e.visitNodes(l.statements,K),f=e.updateModuleBlock(l,V(d));g=c;var p=Q(r,n);return N(e.updateModuleDeclaration(r,void 0,p,e.isExternalModuleAugmentation(r)?U(r,r.name):r.name,f))}g=c;p=Q(r,n);g=!1,e.visitNode(l,K);var _=""+e.getOriginalNodeId(l);f=u.get(_);return u.delete(_),N(e.updateModuleDeclaration(r,void 0,p,r.name,f));case 234:var h=e.createNodeArray(Q(r,n)),v=j(r,r.typeParameters),y=e.getFirstConstructorWithBody(r),b=void 0;if(y){var x=m;b=e.compact(e.flatMap(y.parameters,function(t){if(e.hasModifier(t,92))return m=e.createGetSymbolAccessibilityDiagnosticForNode(t),71===t.name.kind?q(e.createProperty(void 0,Q(t),t.name,t.questionToken,M(t,t.type),F(t)),t):function r(n){var i;for(var a=0,o=n.elements;a<o.length;a++){var s=o[a];e.isOmittedExpression(s)||(e.isBindingPattern(s.name)&&(i=e.concatenate(i,r(s.name))),(i=i||[]).push(e.createProperty(void 0,Q(t),s.name,void 0,M(s,void 0),void 0)))}return i}(t.name)})),m=x}var C=e.createNodeArray(e.concatenate(b,e.visitNodes(r.members,W))),E=e.getClassExtendsHeritageClauseElement(r);if(E&&!e.isEntityNameExpression(E.expression)&&95!==E.expression.kind){var T=e.createOptimisticUniqueName(e.unescapeLeadingUnderscores(r.name.escapedText)+"_base");m=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:E,typeName:r.name}};var w=e.createVariableDeclaration(T,k.createTypeOfExpression(E.expression,r,t,S),void 0),D=e.createVariableStatement(g?[e.createModifier(124)]:[],e.createVariableDeclarationList([w],2)),A=e.createNodeArray(e.map(r.heritageClauses,function(t){if(85===t.token){var r=m;m=e.createGetSymbolAccessibilityDiagnosticForNode(t.types[0]);var n=e.updateHeritageClause(t,e.map(t.types,function(t){return e.updateExpressionWithTypeArguments(t,e.visitNodes(t.typeArguments,W),T)}));return m=r,n}return e.updateHeritageClause(t,e.visitNodes(e.createNodeArray(e.filter(t.types,function(t){return e.isEntityNameExpression(t.expression)||95===t.expression.kind})),W))}));return[D,N(e.updateClassDeclaration(r,void 0,h,r.name,v,A,C))]}A=ee(r.heritageClauses);return N(e.updateClassDeclaration(r,void 0,h,r.name,v,A,C));case 213:return N(function(t,r){if(!e.forEach(t.declarationList.declarations,L))return;var n=e.visitNodes(t.declarationList.declarations,W);
1if(!e.length(n))return;return e.updateVariableStatement(t,e.createNodeArray(Q(t,r)),e.updateVariableDeclarationList(t.declarationList,n))}(r,n));case 237:return N(e.updateEnumDeclaration(r,void 0,e.createNodeArray(Q(r,n)),r.name,e.createNodeArray(e.mapDefined(r.members,function(t){if(!$(t)){var r=k.getConstantValue(t);return q(e.updateEnumMember(t,t.name,void 0!==r?e.createLiteral(r):void 0),t)}}))))}return e.Debug.assertNever(r,"Unhandled top-level node in declaration emit: "+e.SyntaxKind[r.kind])}}function N(t){return B(r)&&(o=i),a&&(m=s),238===r.kind&&(g=c),t===r?t:t&&e.setOriginalNode(q(t,r),r)}}function X(t){return e.flatten(e.mapDefined(t.elements,function(t){return function(t){if(205===t.kind)return;if(t.name){if(!L(t))return;return e.isBindingPattern(t.name)?X(t.name):e.createVariableDeclaration(t.name,M(t,void 0),void 0)}}(t)}))}function Y(t){var r=f.text.substring(t.pos,t.end);return e.stringContains(r,"@internal")}function $(t){if(w&&t){var r=e.getLeadingCommentRangesOfNode(e.getParseTreeNode(t),f);if(e.forEach(r,Y))return!0}return!1}function Q(t,r){var n=e.getModifierFlags(t),a=function(t,r){var n=2811,a=g&&!function(e){if(235===e.kind)return!0;return!1}(t)?2:0,o=273===t.parent.kind;(!o||h&&o&&e.isExternalModule(t.parent))&&(n^=514|(r||h&&o?0:1),a=0);return i(t,n,a)}(t,r);return n===a?t.modifiers:e.createModifiersFromModifierFlags(a)}function Z(t){var r=k.getAllAccessorDeclarations(t);if(t.kind===r.firstAccessor.kind){var i=a(t);!i&&r.secondAccessor&&(i=a(r.secondAccessor),m=e.createGetSymbolAccessibilityDiagnosticForNode(r.secondAccessor));var o=e.createProperty(void 0,n(t,void 0,r.setAccessor?0:64),t.name,t.questionToken,M(t,i),void 0),s=r.secondAccessor&&e.getLeadingCommentRangesOfNode(r.secondAccessor,f);if(s)for(var c=function(t){if(3===t.kind){var r=f.text.slice(t.pos+2,t.end-2),n=r.split(/\r\n?|\n/g);if(n.length>1){var i=n.slice(1),a=e.guessIndentation(i);r=[n[0]].concat(e.map(i,function(e){return e.slice(a)})).join(E)}e.addSyntheticLeadingComment(o,t.kind,r,t.hasTrailingNewLine)}},u=0,l=s;u<l.length;u++){c(l[u])}return o}}function ee(t){return e.createNodeArray(e.filter(e.map(t,function(t){return e.updateHeritageClause(t,e.visitNodes(e.createNodeArray(e.filter(t.types,function(r){return e.isEntityNameExpression(r.expression)||85===t.token&&95===r.expression.kind})),W))}),function(e){return e.types&&!!e.types.length}))}}function n(t,r,n){return e.createModifiersFromModifierFlags(i(t,r,n))}function i(t,r,n){void 0===r&&(r=3067),void 0===n&&(n=0);var i=e.getModifierFlags(t)&r|n;return 512&i&&2&i&&(i^=2),i}function a(e){if(e)return 155===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}e.transformDeclarations=r}(u||(u={})),function(e){var t,r;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(t||(t={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(r||(r={})),e.getTransformers=function(t,r){var n=t.jsx,i=e.getEmitScriptTarget(t),a=e.getEmitModuleKind(t),o=[];return e.addRange(o,r&&r.before),o.push(e.transformTypeScript),2===n&&o.push(e.transformJsx),i<6&&o.push(e.transformESNext),i<4&&o.push(e.transformES2017),i<3&&o.push(e.transformES2016),i<2&&(o.push(e.transformES2015),o.push(e.transformGenerators)),o.push(function(t){switch(t){case e.ModuleKind.ESNext:case e.ModuleKind.ES2015:return e.transformES2015Module;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(a)),i<1&&o.push(e.transformES5),e.addRange(o,r&&r.after),o},e.transformNodes=function(t,r,n,i,a,o){for(var s,c,u,l=new Array(304),d=[],f=[],p=0,_=!1,m=function(e,t){return t},g=function(e,t,r){return r(e,t)},h=0,v=[],y={getCompilerOptions:function(){return n},getEmitResolver:function(){return t},getEmitHost:function(){return r},startLexicalEnvironment:function(){e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is suspended."),d[p]=s,f[p]=c,p++,s=void 0,c=void 0},suspendLexicalEnvironment:function(){e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is already suspended."),_=!0},resumeLexicalEnvironment:function(){e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(_,"Lexical environment is not suspended."),_=!1},endLexicalEnvironment:function(){var t;if(e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!_,"Lexical environment is suspended."),(s||c)&&
1(c&&(t=c.slice()),s)){var r=e.createVariableStatement(void 0,e.createVariableDeclarationList(s));t?t.push(r):t=[r]}return s=d[--p],c=f[p],0===p&&(d=[],f=[]),t},hoistVariableDeclaration:function(t){e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed.");var r=e.setEmitFlags(e.createVariableDeclaration(t),64);s?s.push(r):s=[r]},hoistFunctionDeclaration:function(t){e.Debug.assert(h>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(h<2,"Cannot modify the lexical environment after transformation has completed."),c?c.push(t):c=[t]},requestEmitHelper:function(t){e.Debug.assert(h>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(h<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),u=e.append(u,t)},readEmitHelpers:function(){e.Debug.assert(h>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(h<2,"Cannot modify the transformation context after transformation has completed.");var t=u;return u=void 0,t},enableSubstitution:function(t){e.Debug.assert(h<2,"Cannot modify the transformation context after transformation has completed."),l[t]|=1},enableEmitNotification:function(t){e.Debug.assert(h<2,"Cannot modify the transformation context after transformation has completed."),l[t]|=2},isSubstitutionEnabled:E,isEmitNotificationEnabled:T,get onSubstituteNode(){return m},set onSubstituteNode(t){e.Debug.assert(h<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),m=t},get onEmitNode(){return g},set onEmitNode(t){e.Debug.assert(h<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),g=t},addDiagnostic:function(e){v.push(e)}},b=0,x=i;b<x.length;b++){var S=x[b];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(S)))}e.performance.mark("beforeTransform");var k=e.chain.apply(void 0,a)(y);h=1;var C=e.map(i,o?k:function(t){return!t||e.isSourceFile(t)&&t.isDeclarationFile?t:k(t)});return h=2,e.performance.mark("afterTransform"),e.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:C,substituteNode:function(t,r){return e.Debug.assert(h<3,"Cannot substitute a node after the result is disposed."),r&&E(r)&&m(t,r)||r},emitNodeWithNotification:function(t,r,n){e.Debug.assert(h<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),r&&(T(r)?g(t,r,n):n(t,r))},dispose:function(){if(h<3){for(var t=0,r=i;t<r.length;t++){var n=r[t];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(n)))}s=void 0,d=void 0,c=void 0,f=void 0,m=void 0,g=void 0,u=void 0,h=3}},diagnostics:v};function E(t){return 0!==(1&l[t.kind])&&0===(4&e.getEmitFlags(t))}function T(t){return 0!==(2&l[t.kind])||0!==(2&e.getEmitFlags(t))}}}(u||(u={})),function(e){var t={emittedLine:1,emittedColumn:1,sourceLine:1,sourceColumn:1,sourceIndex:0};e.createSourceMapWriter=function(r,n,a){void 0===a&&(a=r.getCompilerOptions());var o,s,c,u,l,d,f,p,_,m=a.extendedDiagnostics,g=!(a.sourceMap||a.inlineSourceMap);return{initialize:function(n,i,m,h){g||e.fileExtensionIs(n,".json")||(p&&v(),_=h,o=void 0,s=void 0,u=-1,l=void 0,d=t,f=0,(p={sourceMapFilePath:i,jsSourceMappingURL:a.inlineSourceMap?void 0:e.getBaseFileName(e.normalizeSlashes(i)),sourceMapFile:e.getBaseFileName(e.normalizeSlashes(n)),sourceMapSourceRoot:a.sourceRoot||"",sourceMapSources:[],inputSourceFileNames:[],sourceMapNames:[],sourceMapMappings:"",sourceMapSourcesContent:a.inlineSources?[]:void 0,sourceMapDecodedMappings:[]}).sourceMapSourceRoot=e.normalizeSlashes(p.sourceMapSourceRoot),p.sourceMapSourceRoot.length&&47!==p.sourceMapSourceRoot.charCodeAt(p.sourceMapSourceRoot.length-1)&&(p.sourceMapSourceRoot+=e.directorySeparator),a.mapRoot?(c=e.normalizeSlashes(a.mapRoot),273===m.kind&&(c=e.getDirectoryPath(e.getSourceFilePathInNewDir(m,r,c))),e.isRootedDiskPath(c)||e.isUrl(c)?p.jsSourceMappingURL=e.combinePaths(c,p.jsSourceMappingURL):(c=e.combinePaths(r.getCommonSourceDirectory(),c),p.jsSourceMappingURL=e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizePath(n)),e.combinePaths(c,p.jsSourceMappingURL),r.getCurrentDirectory(),r.getCanonicalFileName,!0))):c=e.getDirectoryPath(e.normalizePath(n)))},reset:v,setSourceFile:S,emitPos:b,emitNodeWithSourceMap:function(t,r,n){if(g||e.isInJsonFile(r))return n(t,r);if(r){var i=r.emitNode,a=i&&i.flags,s=i&&i.sourceMapRange,c=s||r,u=c.pos,l=c.end,d=s&&s.source,f=o;d===f&&(d=void 0),d&&S(d),299!==r.kind&&0===(16&a)&&u>=0&&b(h(u)),d&&S(f),64&a?(g=!0,n(t,r),g=!1):n(t,r),d&&S(d),299!==r.kind&&0===(32&a)&&l>=0&&b(l),d&&S(f)}},emitTokenWithSourceMap:function(t,r,n,i,a){if(g||e.isInJsonFile(t))return a(r,n,i);var o=t&&t.emitNode,s=o&&o.flags,c=o&&o.tokenSourceMapRanges&&o.tokenSourceMapRanges[r];return i=h(c?c.pos:i),0===(128&s)&&i>=0&&b(i),i=a(r,n,i),c&&(i=c.end),0===(256&s)&&i>=0&&b(i),i},getText:k,getSourceMappingURL:function(){if(!g&&!x(o)){if(a.inlineSourceMap){var t=e.base64encode(e.sys,k());return p.jsSourceMappingURL="data:application/json;base64,"+t}return p.jsSourceMappingURL}}};function h(t){return o.skipTrivia?o.skipTrivia(t):e.skipTrivia(s,t)}function v(){g||(_&&_.push(p),o=void 0,c=void 0,u=void 0,l=void 0,d=void 0,f=void 0,p=void 0,_=void 0)}function y(){if(l&&l!==d){var t=d.emittedColumn;if(d.emittedLine===l.emittedLine)p.sourceMapMappings&&(p.sourceMapMappings+=",");else{for(var r=d.emittedLine;r<l.emittedLine;r++)p.sourceMapMappings+=";";t=1}p.sourceMapMappings+=i(l.emittedColumn-t),p.sourceMapMappings+=i(l.sourceIndex-d.sourceIndex),p.sourceMapMappings+=i(l.sourceLine-d.sourceLine),p.sourceMapMappings+=i(l.sourceColumn-d.sourceColumn),l.nameIndex>=0&&(e.Debug.assert(!1,"We do not support name index right now, Make sure to update updateLastEncodedAndRecordedSpans when we start using this"),p.sourceMapMappings+=i(l.nameIndex-f),f=l.nameIndex),d=l,p.sourceMapDecodedMappings.push(d)}}function b(t){if(!(g||e.positionIsSynthesized(t)||x(o))){m&&e.performance.mark("beforeSourcemap");var r=e.getLineAndCharacterOfPosition(o,t);r.line++,r.character++;var i=n.getLine(),a=n.getColumn();!l||l.emittedLine!==i||l.emittedColumn!==a||l.sourceIndex===u&&(l.sourceLine>r.line||l.sourceLine===r.line&&l.sourceColumn>r.character)?(y(),l={emittedLine:i,emittedColumn:a,sourceLine:r.line,sourceColumn:r.character,sourceIndex:u}):(l.sourceLine=r.line,l.sourceColumn=r.character,l.sourceIndex=u),m&&(e.performance.mark("afterSourcemap"),e.performance.measure("Source Map","beforeSourcemap","afterSourcemap"))}}function x(t){return e.fileExtensionIs(t.fileName,".json")}function S(t){if(!g&&(s=(o=t).text,!x(t))){var n=a.sourceRoot?r.getCommonSourceDirectory():c,i=e.getRelativePathToDirectoryOrUrl(n,o.fileName,r.getCurrentDirectory(),r.getCanonicalFileName,!0);-1===(u=p.sourceMapSources.indexOf(i))&&(u=p.sourceMapSources.length,p.sourceMapSources.push(i),p.inputSourceFileNames.push(o.fileName),a.inlineSources&&p.sourceMapSourcesContent.push(o.text))}}function k(){if(!g&&!x(o))return y(),JSON.stringify({version:3,file:p.sourceMapFile,sourceRoot:p.sourceMapSourceRoot,sources:p.sourceMapSources,names:p.sourceMapNames,mappings:p.sourceMapMappings,sourcesContent:p.sourceMapSourcesContent})}};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/";function n(e){if(e<64)return r.charAt(e);throw TypeError(e+": not a 64 based value")}function i(e){e<0?e=1+(-e<<1):e<<=1;var t="";do{var r=31&e;(e>>=5)>0&&(r|=32),t+=n(r)}while(e>0);return t}}(u||(u={})),function(e){e.createCommentWriter=function(t,r){var n,i,a,o,s,c=t.extendedDiagnostics,u=e.getNewLineCharacter(t),l=-1,d=-1,f=-1,p=!1,_=t.removeComments;return{reset:function(){i=void 0,a=void 0,o=void 0,s=void 0},setWriter:function(e){n=e},setSourceFile:function(t){a=(i=t).text,o=e.getLineStarts(i),s=void 0},emitNodeWithComments:function(t,r,n){if(_)n(t,r);else if(r){p=!1;var i=r.emitNode,a=i&&i.flags,o=i&&i.commentRange||r,s=o.pos,u=o.end;if(s<0&&u<0||s===u)m(t,r,i,a,n);else{c&&e.performance.mark("preEmitNodeWithComment");var g=299!==r.kind,h=s<0||0!==(512&a)||10===r.kind,v=u<0||0!==(1024&a)||10===r.kind;h||y(s,g);var b=l,x=d,S=f;h||(l=s),v||(d=u,232===r.kind&&(f=u)),c&&e.performance.measure("commentTime","preEmitNodeWithComment"),m(t,r,i,a,n),c&&e.performance.mark("postEmitNodeWithComment"),l=b,d=x,f=S,!v&&g&&function(e){T(e,k)}(u),c&&e.performance.measure("commentTime","postEmitNodeWithComment")}}},emitBodyWithDetachedComments:function(t,r,i){c&&e.performance.mark("preEmitBodyWithDetachedComments");var l=r.pos,d=r.end,f=e.getEmitFlags(t),m=_||d<0||0!==(1024&f);l<0||0!==(512&f)||function(t){var r=e.emitDetachedComments(a,o,n,w,t,u,_);r&&(s?s.push(r):s=[r])}(r),c&&e.performance.measure("commentTime","preEmitBodyWithDetachedComments"),2048&f&&!_?(_=!0,i(t),_=!1):i(t),c&&e.performance.mark("beginEmitBodyWithDetachedCommetns"),m||(y(r.end,!0),p&&!n.isAtStartOfLine()&&n.writeLine()),c&&e.performance.measure("commentTime","beginEmitBodyWithDetachedCommetns")},emitTrailingCommentsOfPosition:function(t,r){_||(c&&e.performance.mark("beforeEmitTrailingCommentsOfPosition"),T(t,r?k:C),c&&e.performance.measure("commentTime","beforeEmitTrailingCommentsOfPosition"))},emitLeadingCommentsOfPosition:function(e){_||-1===e||y(e,!0)}};function m(t,r,n,i,a){var o=n&&n.leadingComments;e.some(o)&&(c&&e.performance.mark("preEmitNodeWithSynthesizedComments"),e.forEach(o,g),c&&e.performance.measure("commentTime","preEmitNodeWithSynthesizedComments")),function(e,t,r,n){2048&r?(_=!0,n(e,t),_=!1):n(e,t)}(t,r,i,a);var s=n&&n.trailingComments;e.some(s)&&(c&&e.performance.mark("postEmitNodeWithSynthesizedComments"),e.forEach(s,h),c&&e.performance.measure("commentTime","postEmitNodeWithSynthesizedComments"))}function g(e){2===e.kind&&n.writeLine(),v(e),e.hasTrailingNewLine||2===e.kind?n.writeLine():n.write(" ")}function h(e){n.isAtStartOfLine()||n.write(" "),v(e),e.hasTrailingNewLine&&n.writeLine()}function v(t){var r=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(t),i=3===t.kind?e.computeLineStarts(r):void 0;e.writeCommentRange(r,i,n,0,r.length,u)}function y(e,t){p=!1,t?E(e,S):0===e&&E(e,b)}function b(t,r,n,i,o){(function(t,r){return e.isRecognizedTripleSlashComment(a,t,r)})(t,r)&&S(t,r,n,i,o)}function x(r,n){return!t.onlyPrintJsDocStyle||e.isJSDocLikeText(r,n)||e.isPinnedComment(r,n)}function S(t,i,s,c,l){x(a,t)&&(p||(e.emitNewLineBeforeLeadingCommentOfPosition(o,n,l,t),p=!0),r&&r(t),e.writeCommentRange(a,o,n,t,i,u),r&&r(i),c?n.writeLine():3===s&&n.write(" "))}function k(t,i,s,c){x(a,t)&&(n.isAtStartOfLine()||n.write(" "),r&&r(t),e.writeCommentRange(a,o,n,t,i,u),r&&r(i),c&&n.writeLine())}function C(t,i,s,c){r&&r(t),e.writeCommentRange(a,o,n,t,i,u),r&&r(i),c?n.writeLine():n.write(" ")}function E(t,r){-1!==l&&t===l||(function(t){return void 0!==s&&e.lastOrUndefined(s).nodePos===t}(t)?function(t){var r=e.lastOrUndefined(s).detachedCommentEndPos;s.length-1?s.pop():s=void 0,e.forEachLeadingCommentRange(a,r,t,r)}(r):e.forEachLeadingCommentRange(a,t,r,t))}function T(t,r){(-1===d||t!==d&&t!==f)&&e.forEachTrailingCommentRange(a,t,r)}function w(t,n,i,o,s,c){x(a,o)&&(r&&r(o),e.writeCommentRange(t,n,i,o,s,c),r&&r(s))}}}(u||(u={})),function(e){var t,r,n=".tsbundleinfo",i=function(){var e=[];return e[512]=["{","}"],e[1024]=["(",")"],e[2048]=["<",">"],e[4096]=["[","]"],e}();function a(t,r,n,i){var a=e.isArray(n)?n:e.getSourceFilesToEmit(t,n),o=t.getCompilerOptions();if(o.outFile||o.out){if(a.length){var c=e.createBundle(a,t.getPrependNodes());if(d=r(s(c,t,i),c))return d}}else for(var u=0,l=a;u<l.length;u++){var d,f=l[u];if(d=r(s(f,t,i),f))return d}}function s(t,r,i){var a=r.getCompilerOptions();if(274===t.kind)return{jsFilePath:s=a.outFile||a.out,sourceMapFilePath:l=c(s,a),declarationFilePath:o=i||a.declaration?e.removeFileExtension(s)+".d.ts":void 0,declarationMapPath:e.getAreDeclarationMapsEnabled(a)?o+".map":void 0,bundleInfoPath:a.references&&s&&e.removeFileExtension(s)+n};var o,s=e.getOwnEmitOutputFilePath(t,r,u(t,a)),l=e.isJsonSourceFile(t)?void 0:c(s,a),d=e.isSourceFileJavaScript(t);return{jsFilePath:s,sourceMapFilePath:l,declarationFilePath:o=!i&&!a.declaration||d?void 0:e.getDeclarationEmitOutputFilePath(t,r),declarationMapPath:e.getAreDeclarationMapsEnabled(a)?o+".map":void 0,bundleInfoPath:void 0}}function c(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function u(t,r){if(e.isJsonSourceFile(t))return".json";if(1===r.jsx)if(e.isSourceFileJavaScript(t)){if(e.fileExtensionIs(t.fileName,".jsx"))return".jsx"}else if(1===t.languageVariant)return".jsx";return".js"}function l(t,r){void 0===t&&(t={}),void 0===r&&(r={});var n,a,o,s,c,u,l,d,f,p,_=r.hasGlobalName,m=r.onEmitSourceMapOfNode,g=r.onEmitSourceMapOfToken,h=r.onEmitSourceMapOfPosition,v=r.onEmitNode,y=r.onSetSourceFile,b=r.substituteNode,x=r.onBeforeEmitNodeArray,S=r.onAfterEmitNodeArray,k=r.onBeforeEmitToken,C=r.onAfterEmitToken,E=e.getNewLineCharacter(t),T=e.createCommentWriter(t,h),w=T.emitNodeWithComments,D=T.emitBodyWithDetachedComments,A=T.emitTrailingCommentsOfPosition,N=T.emitLeadingCommentsOfPosition,P=function(e){O(),f.write(e)},O=e.noop,F=$e,M=!1;t.omitTrailingSemicolon&&(O=function(){M&&($e(),M=!1)},F=function(){M=!0});var I,L={pos:-1,end:-1},R=e.getEmitModuleKind(t),j=e.createMap();return Y(),{printNode:function(t,r,n){switch(t){case 0:e.Debug.assert(e.isSourceFile(r),"Expected a SourceFile node.");break;case 2:e.Debug.assert(e.isIdentifier(r),"Expected an Identifier node.");break;case 1:e.Debug.assert(e.isExpression(r),"Expected an Expression node.")}switch(r.kind){case 273:return z(r);case 274:return B(r);
1case 275:return function(e,t){var r=f;X(t),K(4,e,void 0),Y(),f=r}(r,H()),W()}return q(t,r,n,H()),W()},printList:function(e,t,r){return U(e,t,r,H()),W()},printFile:z,printBundle:B,writeNode:q,writeList:U,writeFile:J,writeBundle:V};function B(e){return V(e,H()),W()}function z(e){return J(e,H()),W()}function q(e,t,r,n){var i=f;X(n),K(e,t,r),Y(),f=i}function U(e,t,r,n){var i=f;X(n),r&&G(r),He(L,t,e),Y(),f=i}function V(e,t,r){I=!1;var n,i=f;X(t),Oe(e),Pe(e),ce(e),De((n=e).hasNoDefaultLib,n.syntheticFileReferences||[],n.syntheticTypeReferences||[]);for(var a=0,o=e.prepends;a<o.length;a++){K(4,o[a],void 0),nt()}r&&(r.originalOffset=f.getTextPos());for(var s=0,c=e.sourceFiles;s<c.length;s++){var u=c[s];K(0,u,u)}Y(),f=i}function J(e,t){I=!0;var r=f;X(t),Oe(e),Pe(e),K(0,e,e),Y(),f=r}function H(){return p||(p=e.createTextWriter(E))}function W(){var e=p.getText();return p.clear(),e}function K(e,t,r){r&&G(r),ee(0,e)(e,t)}function G(e){n=e,T.setSourceFile(e),y&&y(e)}function X(e){f=e,T.setWriter(e)}function Y(){a=[],o=[],s=e.createMap(),c=[],u=0,l=[],T.reset(),X(void 0)}function $(e){e&&ee(0,4)(4,e)}function Q(e){e&&ee(0,2)(2,e)}function Z(e){e&&ee(0,1)(1,e)}function ee(t,r){switch(t){case 0:if(v)return re;case 1:return w&&0!==r?ne:ie;case 2:if(m&&0!==r&&2!==r)return ae;case 3:return oe;default:return e.Debug.assertNever(t,"Unexpected value for PipelinePhase: "+t)}}function te(e,t){return ee(e+1,t)}function re(t,r){e.Debug.assertDefined(v),v(t,r,te(0,t))}function ne(t,r){e.Debug.assertDefined(w),e.Debug.assert(0!==t),w(t,se(t,r),te(1,t))}function ie(e,t){te(1,e)(e,se(e,t))}function ae(t,r){e.Debug.assertDefined(m),e.Debug.assert(0!==t&&2!==t),m(t,r,oe)}function oe(r,i){if(0===r)return function(t){nt();var r=t.statements;if(D){var n=0===r.length||!e.isPrologueDirective(r[0])||e.nodeIsSynthesized(r[0]);if(n)return void D(t,r,Ae)}Ae(t)}(e.cast(i,e.isSourceFile));if(2===r)return le(e.cast(i,e.isIdentifier));if(3===r)return function(e){$(e.name),tt(),Qe("in"),tt(),$(e.constraint)}(e.cast(i,e.isTypeParameterDeclaration));if(4===r){if(e.isKeyword(i.kind))return st(i,Qe);switch(i.kind){case 14:case 15:case 16:return ue(i);case 275:return void P(i.text);case 71:return le(i);case 145:return function(e){(function(e){71===e.kind?Z(e):$(e)})(e.left),Ye("."),$(e.right)}(i);case 146:return function(e){Ye("["),Z(e.expression),Ye("]")}(i);case 147:return function(e){$(e.name),e.constraint&&(tt(),Qe("extends"),tt(),$(e.constraint));e.default&&(tt(),Ze("="),tt(),$(e.default))}(i);case 148:return function(e){ze(e,e.decorators),Me(e,e.modifiers),$(e.dotDotDotToken),Fe(e.name,et),$(e.questionToken),e.parent&&283===e.parent.kind&&!e.name?$(e.type):Ie(e.type);Le(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.decorators?e.decorators.end:e.pos,e)}(i);case 149:return a=i,Ye("@"),void Z(a.expression);case 150:return function(e){ze(e,e.decorators),Me(e,e.modifiers),Fe(e.name,rt),$(e.questionToken),Ie(e.type),F()}(i);case 151:return function(e){ze(e,e.decorators),Me(e,e.modifiers),$(e.name),$(e.questionToken),$(e.exclamationToken),Ie(e.type),Le(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),F()}(i);case 152:return function(e){St(e),ze(e,e.decorators),Me(e,e.modifiers),$(e.name),$(e.questionToken),Ue(e,e.typeParameters),Ve(e,e.parameters),Ie(e.type),F(),kt(e)}(i);case 153:return function(e){ze(e,e.decorators),Me(e,e.modifiers),$(e.asteriskToken),$(e.name),$(e.questionToken),ve(e,ye)}(i);case 154:return function(e){Me(e,e.modifiers),Qe("constructor"),ve(e,ye)}(i);case 155:case 156:return function(e){ze(e,e.decorators),Me(e,e.modifiers),Qe(155===e.kind?"get":"set"),tt(),$(e.name),ve(e,ye)}(i);case 157:return function(e){St(e),ze(e,e.decorators),Me(e,e.modifiers),Ue(e,e.typeParameters),Ve(e,e.parameters),Ie(e.type),F(),kt(e)}(i);case 158:return function(e){St(e),ze(e,e.decorators),Me(e,e.modifiers),Qe("new"),tt(),Ue(e,e.typeParameters),Ve(e,e.parameters),Ie(e.type),F(),kt(e)}(i);case 159:return function(e){ze(e,e.decorators),Me(e,e.modifiers),t=e,r=e.parameters,He(t,r,4432),Ie(e.type),F();var t,r}(i);case 160:return function(e){$(e.parameterName),tt(),Qe("is"),tt(),$(e.type)}(i);case 161:return function(e){$(e.typeName),qe(e,e.typeArguments)}(i);
1case 162:return function(e){St(e),Ue(e,e.typeParameters),Je(e,e.parameters),tt(),Ye("=>"),tt(),$(e.type),kt(e)}(i);case 283:return function(e){P("function"),Ve(e,e.parameters),P(":"),$(e.type)}(i);case 163:return function(e){St(e),Qe("new"),tt(),Ue(e,e.typeParameters),Ve(e,e.parameters),tt(),Ye("=>"),tt(),$(e.type),kt(e)}(i);case 164:return function(e){Qe("typeof"),tt(),$(e.exprName)}(i);case 165:return function(t){Ye("{");var r=1&e.getEmitFlags(t)?384:16449;He(t,t.members,262144|r),Ye("}")}(i);case 166:return function(e){$(e.elementType),Ye("["),Ye("]")}(i);case 167:return function(e){Ye("["),He(e,e.elementTypes,272),Ye("]")}(i);case 168:return function(e){He(e,e.types,260)}(i);case 169:return function(e){He(e,e.types,264)}(i);case 170:return function(e){$(e.checkType),tt(),Qe("extends"),tt(),$(e.extendsType),tt(),Ye("?"),tt(),$(e.trueType),tt(),Ye(":"),tt(),$(e.falseType)}(i);case 171:return function(e){Qe("infer"),tt(),$(e.typeParameter)}(i);case 172:return function(e){Ye("("),$(e.type),Ye(")")}(i);case 206:return function(e){Z(e.expression),qe(e,e.typeArguments)}(i);case 173:return void Qe("this");case 174:return function(e){ct(e.operator,Qe),tt(),$(e.type)}(i);case 175:return function(e){$(e.objectType),Ye("["),$(e.indexType),Ye("]")}(i);case 176:return function(t){var r=e.getEmitFlags(t);Ye("{"),1&r?tt():(nt(),it());t.readonlyToken&&($(t.readonlyToken),132!==t.readonlyToken.kind&&Qe("readonly"),tt());Ye("["),ee(0,3)(3,t.typeParameter),Ye("]"),t.questionToken&&($(t.questionToken),55!==t.questionToken.kind&&Ye("?"));Ye(":"),tt(),$(t.type),F(),1&r?tt():(nt(),at());Ye("}")}(i);case 177:return function(e){Z(e.literal)}(i);case 178:return function(e){e.isTypeOf&&(Qe("typeof"),tt());Qe("import"),Ye("("),$(e.argument),Ye(")"),e.qualifier&&(Ye("."),$(e.qualifier));qe(e,e.typeArguments)}(i);case 278:return void P("*");case 279:return void P("?");case 280:return function(e){P("?"),$(e.type)}(i);case 281:return function(e){P("!"),$(e.type)}(i);case 282:return function(e){$(e.type),P("=")}(i);case 284:return function(e){P("..."),$(e.type)}(i);case 179:return function(e){Ye("{"),He(e,e.elements,262576),Ye("}")}(i);case 180:return function(e){Ye("["),He(e,e.elements,262448),Ye("]")}(i);case 181:return function(e){$(e.dotDotDotToken),e.propertyName&&($(e.propertyName),Ye(":"),tt());$(e.name),Le(e.initializer,e.name.end,e)}(i);case 210:return function(e){Z(e.expression),$(e.literal)}(i);case 211:return void F();case 212:return function(e){fe(e,!e.multiLine&&vt(e))}(i);case 213:return function(e){Me(e,e.modifiers),$(e.declarationList),F()}(i);case 214:return void F();case 215:return function(t){Z(t.expression),e.isJsonSourceFile(n)||F()}(i);case 216:return function(e){var t=me(90,e.pos,Qe,e);tt(),me(19,t,Ye,e),Z(e.expression),me(20,e.expression.end,Ye,e),Be(e,e.thenStatement),e.elseStatement&&(ut(e),me(82,e.thenStatement.end,Qe,e),216===e.elseStatement.kind?(tt(),$(e.elseStatement)):Be(e,e.elseStatement))}(i);case 217:return function(t){me(81,t.pos,Qe,t),Be(t,t.statement),e.isBlock(t.statement)?tt():ut(t);pe(t,t.statement.end),Ye(";")}(i);case 218:return function(e){pe(e,e.pos),Be(e,e.statement)}(i);case 219:return function(e){var t=me(88,e.pos,Qe,e);tt();var r=me(19,t,Ye,e);_e(e.initializer),r=me(25,e.initializer?e.initializer.end:r,F,e),je(e.condition),r=me(25,e.condition?e.condition.end:r,F,e),je(e.incrementor),me(20,e.incrementor?e.incrementor.end:r,Ye,e),Be(e,e.statement)}(i);case 220:return function(e){var t=me(88,e.pos,Qe,e);tt(),me(19,t,Ye,e),_e(e.initializer),tt(),me(92,e.initializer.end,Qe,e),tt(),Z(e.expression),me(20,e.expression.end,Ye,e),Be(e,e.statement)}(i);case 221:return function(e){var t=me(88,e.pos,Qe,e);tt(),function(e){e&&($(e),tt())}(e.awaitModifier),me(19,t,Ye,e),_e(e.initializer),tt(),me(144,e.initializer.end,Qe,e),tt(),Z(e.expression),me(20,e.expression.end,Ye,e),Be(e,e.statement)}(i);case 222:return function(e){me(77,e.pos,Qe,e),Re(e.label),F()}(i);case 223:return function(e){me(72,e.pos,Qe,e),Re(e.label),F()}(i);case 224:return function(e){me(96,e.pos,Qe,e),je(e.expression),F()}(i);case 225:return function(e){var t=me(107,e.pos,Qe,e);tt(),me(19,t,Ye,e),Z(e.expression),me(20,e.expression.end,Ye,e),Be(e,e.statement)}(i);case 226:return function(e){var t=me(98,e.pos,Qe,e);tt(),me(19,t,Ye,e),Z(e.expression),me(20,e.expression.end,Ye,e),tt(),$(e.caseBlock)}(i);case 227:return function(e){$(e.label),me(56,e.label.end,Ye,e),tt(),$(e.statement)}(i);case 228:return function(e){me(100,e.pos,Qe,e),je(e.expression),F()}(i);case 229:return function(e){me(102,e.pos,Qe,e),tt(),$(e.tryBlock),e.catchClause&&(ut(e),$(e.catchClause));e.finallyBlock&&(ut(e),me(87,(e.catchClause||e.tryBlock).end,Qe,e),tt(),$(e.finallyBlock))}(i);case 230:return function(e){ot(78,e.pos,Qe),F()}(i);case 231:return function(e){$(e.name),Ie(e.type),Le(e.initializer,e.type?e.type.end:e.name.end,e)}(i);case 232:return function(t){Qe(e.isLet(t)?"let":e.isConst(t)?"const":"var"),tt(),He(t,t.declarations,272)}(i);case 233:return function(e){ge(e)}(i);case 234:return function(e){ke(e)}(i);case 235:return function(e){ze(e,e.decorators),Me(e,e.modifiers),Qe("interface"),tt(),$(e.name),Ue(e,e.typeParameters),He(e,e.heritageClauses,256),tt(),Ye("{"),He(e,e.members,65),Ye("}")}(i);case 236:return function(e){ze(e,e.decorators),Me(e,e.modifiers),Qe("type"),tt(),$(e.name),Ue(e,e.typeParameters),tt(),Ye("="),tt(),$(e.type),F()}(i);case 237:return function(e){Me(e,e.modifiers),Qe("enum"),tt(),$(e.name),tt(),Ye("{"),He(e,e.members,81),Ye("}")}(i);case 238:return function(e){Me(e,e.modifiers),512&~e.flags&&(Qe(16&e.flags?"namespace":"module"),tt());$(e.name);var t=e.body;if(!t)return F();for(;238===t.kind;)Ye("."),$(t.name),t=t.body;tt(),$(t)}(i);case 239:return function(t){St(t),e.forEach(t.statements,Et),fe(t,vt(t)),kt(t)}(i);case 240:return function(e){me(17,e.pos,Ye,e),He(e,e.clauses,65),me(18,e.clauses.end,Ye,e,!0)}(i);case 241:return function(e){var t=me(84,e.pos,Qe,e);tt(),t=me(118,t,Qe,e),tt(),t=me(130,t,Qe,e),tt(),$(e.name),F()}(i);case 242:return function(e){Me(e,e.modifiers),me(91,e.modifiers?e.modifiers.end:e.pos,Qe,e),tt(),$(e.name),tt(),me(58,e.name.end,Ye,e),tt(),function(e){71===e.kind?Z(e):$(e)}(e.moduleReference),F()}(i);case 243:return function(e){Me(e,e.modifiers),me(91,e.modifiers?e.modifiers.end:e.pos,Qe,e),tt(),e.
1importClause&&($(e.importClause),tt(),me(142,e.importClause.end,Qe,e),tt());Z(e.moduleSpecifier),F()}(i);case 244:return function(e){$(e.name),e.name&&e.namedBindings&&(me(26,e.name.end,Ye,e),tt());$(e.namedBindings)}(i);case 245:return function(e){var t=me(39,e.pos,Ye,e);tt(),me(118,t,Qe,e),tt(),$(e.name)}(i);case 246:return function(e){Ce(e)}(i);case 247:return function(e){Ee(e)}(i);case 248:return function(e){var t=me(84,e.pos,Qe,e);tt(),e.isExportEquals?me(58,t,Ze,e):me(79,t,Qe,e);tt(),Z(e.expression),F()}(i);case 249:return function(e){var t=me(84,e.pos,Qe,e);tt(),e.exportClause?$(e.exportClause):t=me(39,t,Ye,e);if(e.moduleSpecifier){tt();var r=e.exportClause?e.exportClause.end:t;me(142,r,Qe,e),tt(),Z(e.moduleSpecifier)}F()}(i);case 250:return function(e){Ce(e)}(i);case 251:return function(e){Ee(e)}(i);case 252:return;case 253:return function(e){Qe("require"),Ye("("),Z(e.expression),Ye(")")}(i);case 10:return function(e){O(),f.writeLiteral(bt(e,!0))}(i);case 256:case 259:return function(t){Ye("<"),e.isJsxOpeningElement(t)&&(Te(t.tagName),t.attributes.properties&&t.attributes.properties.length>0&&tt(),$(t.attributes));Ye(">")}(i);case 257:case 260:return function(t){Ye("</"),e.isJsxClosingElement(t)&&Te(t.tagName);Ye(">")}(i);case 261:return function(e){$(e.name),function(e,t,r,n){r&&(t(e),n(r))}("=",Ye,e.initializer,$)}(i);case 262:return function(e){He(e,e.properties,131328)}(i);case 263:return function(e){Ye("{..."),Z(e.expression),Ye("}")}(i);case 264:return function(e){e.expression&&(Ye("{"),$(e.dotDotDotToken),Z(e.expression),Ye("}"))}(i);case 265:return function(e){me(73,e.pos,Qe,e),tt(),Z(e.expression),we(e,e.statements,e.expression.end)}(i);case 266:return function(e){var t=me(79,e.pos,Qe,e);we(e,e.statements,t)}(i);case 267:return function(e){tt(),ct(e.token,Qe),tt(),He(e,e.types,272)}(i);case 268:return function(e){var t=me(74,e.pos,Qe,e);tt(),e.variableDeclaration&&(me(19,t,Ye,e),$(e.variableDeclaration),me(20,e.variableDeclaration.end,Ye,e),tt());$(e.block)}(i);case 269:return function(t){$(t.name),Ye(":"),tt();var r=t.initializer;if(A&&0===(512&e.getEmitFlags(r))){var n=e.getCommentRange(r);A(n.pos)}Z(r)}(i);case 270:return function(e){$(e.name),e.objectAssignmentInitializer&&(tt(),Ye("="),tt(),Z(e.objectAssignmentInitializer))}(i);case 271:return function(e){e.expression&&(Ye("..."),Z(e.expression))}(i);case 272:return function(e){$(e.name),Le(e.initializer,e.name.end,e)}(i)}if(e.isExpression(i))r=1,i=se(1,i);else if(e.isToken(i))return st(i,Ye)}var a;if(1===r)switch(i.kind){case 8:return function(e){ue(e)}(i);case 9:case 12:case 13:return ue(i);case 71:return le(i);case 86:case 95:case 97:case 101:case 99:case 91:return void st(i,Qe);case 182:return function(e){var t=e.elements,r=e.multiLine?32768:0;We(e,t,4466|r)}(i);case 183:return function(t){e.forEach(t.properties,Tt);var r=65536&e.getEmitFlags(t);r&&it();var i=t.multiLine?32768:0,a=n.languageVersion>=1&&!e.isJsonSourceFile(n)?32:0;He(t,t.properties,263122|a|i),r&&at()}(i);case 184:return function(r){var i=!1,a=!1;if(!(131072&e.getEmitFlags(r))){var o=r.expression.end,s=e.skipTrivia(n.text,r.expression.end)+1,c=e.createToken(23);c.pos=o,c.end=s,i=ht(r,r.expression,c),a=ht(r,c,r.name)}Z(r.expression),dt(i),!i&&function(r){if(r=e.skipPartiallyEmittedExpressions(r),e.isNumericLiteral(r)){var n=xt(r);return!r.numericLiteralFlags&&!e.stringContains(n,e.tokenToString(23))}if(e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)){var i=e.getConstantValue(r);return"number"===typeof i&&isFinite(i)&&Math.floor(i)===i&&t.removeComments}}(r.expression)&&Ye(".");me(23,r.expression.end,Ye,r),dt(a),$(r.name),ft(i,a)}(i);case 185:return function(e){Z(e.expression),me(21,e.expression.end,Ye,e),Z(e.argumentExpression),me(22,e.argumentExpression.end,Ye,e)}(i);case 186:return function(e){Z(e.expression),qe(e,e.typeArguments),We(e,e.arguments,1296)}(i);case 187:return function(e){me(94,e.pos,Qe,e),tt(),Z(e.expression),qe(e,e.typeArguments),We(e,e.arguments,9488)}(i);case 188:return function(e){Z(e.tag),qe(e,e.typeArguments),tt(),Z(e.template)}(i);case 189:return function(e){Ye("<"),$(e.type),Ye(">"),Z(e.expression)}(i);case 190:return function(e){var t=me(19,e.pos,Ye,e);Z(e.expression),me(20,e.expression?e.expression.end:t,Ye,e)}(i);case 191:return function(e){wt(e.name),ge(e)}(i);case 192:return function(e){ze(e,e.decorators),Me(e,e.modifiers),ve(e,de)}(i);case 193:return function(e){me(80,e.pos,Qe,e),tt(),Z(e.expression)}(i);case 194:return function(e){me(103,e.pos,Qe,e),tt(),Z(e.expression)}(i);case 195:return function(e){me(105,e.pos,Qe,e),tt(),Z(e.expression)}(i);case 196:return function(e){me(121,e.pos,Qe,e),tt(),Z(e.expression)}(i);case 197:return function(e){ct(e.operator,Ze),function(e){var t=e.operand;return 197===t.kind&&(37===e.operator&&(37===t.operator||43===t.operator)||38===e.operator&&(38===t.operator||44===t.operator))}(e)&&tt();Z(e.operand)}(i);case 198:return function(e){Z(e.operand),ct(e.operator,Ze)}(i);case 199:return function(e){var t=26!==e.operatorToken.kind,r=ht(e,e.left,e.operatorToken),n=ht(e,e.operatorToken,e.right);Z(e.left),dt(r,t?" ":void 0),N(e.operatorToken.pos),st(e.operatorToken,Ze),A(e.operatorToken.end,!0),dt(n," "),Z(e.right),ft(r,n)}(i);case 200:return function(e){var t=ht(e,e.condition,e.questionToken),r=ht(e,e.questionToken,e.whenTrue),n=ht(e,e.whenTrue,e.colonToken),i=ht(e,e.colonToken,e.whenFalse);Z(e.condition),dt(t," "),$(e.questionToken),dt(r," "),Z(e.whenTrue),ft(t,r),dt(n," "),$(e.colonToken),dt(i," "),Z(e.whenFalse),ft(n,i)}(i);case 201:return function(e){$(e.head),He(e,e.templateSpans,131072)}(i);case 202:return function(e){me(116,e.pos,Qe,e),$(e.asteriskToken),je(e.expression)}(i);case 203:return function(e){Ye("..."),Z(e.expression)}(i);case 204:return function(e){wt(e.name),ke(e)}(i);case 205:return;case 207:return function(e){Z(e.expression),e.type&&(tt(),Qe("as"),tt(),$(e.type))}(i);case 208:return function(e){Z(e.expression),Ze("!")}(i);case 209:return function(e){ot(e.keywordToken,e.pos,Ye),Ye("."),$(e.n
1ame)}(i);case 254:return function(e){$(e.openingElement),He(e,e.children,131072),$(e.closingElement)}(i);case 255:return function(e){Ye("<"),Te(e.tagName),tt(),$(e.attributes),Ye("/>")}(i);case 258:return function(e){$(e.openingFragment),He(e,e.children,131072),$(e.closingFragment)}(i);case 300:return function(e){Z(e.expression)}(i);case 301:return function(e){We(e,e.elements,272)}(i)}}function se(e,t){return t&&b&&b(e,t)||t}function ce(r){var i=!1,a=274===r.kind?r:void 0;if(!a||R!==e.ModuleKind.None){for(var o=a?a.sourceFiles.length:1,s=0;s<o;s++){var c=a?a.sourceFiles[s]:r,u=e.isSourceFile(c)?c:n,l=t.noEmitHelpers||void 0!==e.getExternalHelpersModuleName(u),d=e.isSourceFile(c)&&!I,f=e.getEmitHelpers(c);if(f)for(var p=0,_=e.stableSort(f,e.compareEmitHelpers);p<_.length;p++){var m=_[p];if(m.scoped){if(a)continue}else{if(l)continue;if(d){if(j.get(m.name))continue;j.set(m.name,!0)}}"string"===typeof m.text?lt(m.text):lt(m.text(Mt)),i=!0}}return i}}function ue(r){var n,i=xt(r);!t.sourceMap&&!t.inlineSourceMap||9!==r.kind&&!e.isTemplateLiteralKind(r.kind)?function(e){O(),f.writeStringLiteral(e)}(i):(n=i,O(),f.writeLiteral(n))}function le(e){(e.symbol?Xe:P)(bt(e,!1),e.symbol),He(e,e.typeArguments,26896)}function de(e){Ue(e,e.typeParameters),Je(e,e.parameters),Ie(e.type),tt(),$(e.equalsGreaterThanToken)}function fe(t,r){me(17,t.pos,Ye,t);var n=r||1&e.getEmitFlags(t)?384:65;He(t,t.statements,n),me(18,t.statements.end,Ye,t,!!(1&n))}function pe(e,t){var r=me(106,t,Qe,e);tt(),me(19,r,Ye,e),Z(e.expression),me(20,e.expression.end,Ye,e)}function _e(e){void 0!==e&&(232===e.kind?$(e):Z(e))}function me(t,r,i,a,o){var s=e.getParseTreeNode(a),c=s&&s.kind===a.kind,u=r;if(c&&(r=e.skipTrivia(n.text,r)),N&&c&&a.pos!==u){var l=o&&!e.positionsAreOnSameLine(u,r,n);l&&it(),N(u),l&&at()}return r=ct(t,i,r),A&&c&&a.end!==r&&A(r,!0),r}function ge(e){ze(e,e.decorators),Me(e,e.modifiers),Qe("function"),$(e.asteriskToken),tt(),Q(e.name),ve(e,ye)}function he(e,t){be(t)}function ve(t,r){var n=t.body;if(n)if(e.isBlock(n)){var i=65536&e.getEmitFlags(t);i&&it(),St(t),e.forEach(t.parameters,Et),Et(t.body),r(t),v?v(4,n,he):be(n),kt(t),i&&at()}else r(t),tt(),Z(n);else r(t),F()}function ye(e){Ue(e,e.typeParameters),Ve(e,e.parameters),Ie(e.type)}function be(t){tt(),Ye("{"),it();var r=function(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine)return!1;if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,n))return!1;if(pt(t,t.statements,2)||mt(t,t.statements,2))return!1;for(var r,i=0,a=t.statements;i<a.length;i++){var o=a[i];if(_t(r,o,2))return!1;r=o}return!0}(t)?xe:Se;D?D(t,t.statements,r):r(t),at(),ot(18,t.statements.end,Ye,t)}function xe(e){Se(e,!0)}function Se(e,t){var r=Ne(e.statements,!0),n=f.getTextPos();ce(e),0===r&&n===f.getTextPos()&&t?(at(),He(e,e.statements,384),it()):He(e,e.statements,1,r)}function ke(t){e.forEach(t.members,Tt),ze(t,t.decorators),Me(t,t.modifiers),Qe("class"),t.name&&(tt(),Q(t.name));var r=65536&e.getEmitFlags(t);r&&it(),Ue(t,t.typeParameters),He(t,t.heritageClauses,0),tt(),Ye("{"),He(t,t.members,65),Ye("}"),r&&at()}function Ce(e){Ye("{"),He(e,e.elements,262576),Ye("}")}function Ee(e){e.propertyName&&($(e.propertyName),tt(),me(118,e.propertyName.end,Qe,e),tt()),$(e.name)}function Te(e){71===e.kind?Z(e):$(e)}function we(t,r,i){var a=81985;1===r.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r[0])||e.rangeStartPositionsAreOnSameLine(t,r[0],n))?(ot(56,i,Ye,t),tt(),a&=-66):me(56,i,Ye,t),He(t,r,a)}function De(e,t,r){if(e&&(P('/// <reference no-default-lib="true"/>'),nt()),n&&n.moduleName&&(P('/// <amd-module name="'+n.moduleName+'" />'),nt()),n&&n.amdDependencies)for(var i=0,a=n.amdDependencies;i<a.length;i++){var o=a[i];o.name?P('/// <amd-dependency name="'+o.name+'" path="'+o.path+'" />'):P('/// <amd-dependency path="'+o.path+'" />'),nt()}for(var s=0,c=t;s<c.length;s++){var u=c[s];P('/// <reference path="'+u.fileName+'" />'),nt()}for(var l=0,d=r;l<d.length;l++){u=d[l];P('/// <reference types="'+u.fileName+'" />'),nt()}}function Ae(t){var r=t.statements;St(t),e.forEach(t.statements,Et),ce(t);var n=e.findIndex(r,function(t){return!e.isPrologueDirective(t)});!function(e){e.isDeclarationFile&&De(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives)}(t),He(t,r,1,-1===n?r.length:n),kt(t)}function Ne(t,r,n){for(var i=0;i<t.length;i++){var a=t[i];if(!e.isPrologueDirective(a))return i;(!n||!n.has(a.expression.text))&&((r||i>0)&&nt(),$(a),n&&n.set(a.expression.text,!0))}return t.length}function Pe(t){if(e.isSourceFile(t))G(t),Ne(t.statements);else for(var r=e.createMap(),n=0,i=t.sourceFiles;n<i.length;n++){var a=i[n];G(a),Ne(a.statements,!0,r)}}function Oe(t){if(e.isSourceFile(t)){var r=e.getShebang(t.text);if(r)return P(r),nt(),!0}else for(var n=0,i=t.sourceFiles;n<i.length;n++){if(Oe(i[n]))break}}function Fe(e,t){if(e){var r=P;P=t,$(e),P=r}}function Me(e,t){t&&t.length&&(He(e,t,131328),tt())}function Ie(e){e&&(Ye(":"),tt(),$(e))}function Le(e,t,r){e&&(tt(),me(58,t,Ze,r),tt(),Z(e))}function Re(e){e&&(tt(),$(e))}function je(e){e&&(tt(),Z(e))}function Be(t,r){e.isBlock(r)||1&e.getEmitFlags(t)?(tt(),$(r)):(nt(),it(),$(r),at())}function ze(e,t){He(e,t,24577)}function qe(e,t){He(e,t,26896)}function Ue(t,r){if(e.isFunctionLike(t)&&t.typeArguments)return qe(t,t.typeArguments);He(t,r,26896)}function Ve(e,t){He(e,t,1296)}function Je(t,r){!function(t,r){var n=e.singleOrUndefined(r);return n&&n.pos===t.pos&&!(e.isArrowFunction(t)&&t.type)&&!e.some(t.decorators)&&!e.some(t.modifiers)&&!e.some(t.typeParameters)&&!e.some(n.decorators)&&!e.some(n.modifiers)&&!n.dotDotDotToken&&!n.questionToken&&!n.type&&!n.initializer&&e.isIdentifier(n.name)}(t,r)?Ve(t,r):He(t,r,272)}function He(e,t,r,n,i){Ge($,e,t,r,n,i)}function We(e,t,r,n,i){Ge(Z,e,t,r,n,i)}function Ke(e){switch(28&e){case 0:break;case 16:Ye(",");break;case 4:tt(),Ye("|");break;case 8:tt(),Ye("&")}}function Ge(t,r,n,a,o,s){void 0===o&&(o=0),void 0===s&&(s=n?n.length-o:0);var c=void 0===n;if(!(c&&8192&a)){var u=c||o>=n.length||0===s;if(u&&16384&a)return x&&x(n),void(S&&S(n));if(7680&a&&(Ye(function(e){return i[7680&e][0]}(a)),u&&!c&&A(n.pos,!0)),x&&x(n),u)1&a?nt():128&a&&!(262144&a)&&tt();else{var l=0===(131072&a),d=l;pt(r,n,a)?(nt(),d=!1):128&a&&tt(),64&a&&it();for(var f=void 0,p=void 0,_=0;_<s;_++){var m=n[o+_];if(f&&(28&a&&f.end!==r.end&&N(f.end),Ke(a),_t(f,m,a)?(0===(67&a)&&(it(),p=!0),nt(),d=!1):f&&256&a&&tt()),d){if(A){var g=e.getCommentRange(m);A(g.pos)}}else d=l;t(m),p&&(at(),p=!1),f=m}var h=32&a&&n.hasTrailingComma;16&a&&h&&Ye(","),f&&28&a&&f.end!==r.end&&!(1024&e.getEmitFlags(f))&&N(f.end),64&a&&at(),mt(r,n,a)?nt():128&a&&tt()}S&&S(n),7680&a&&(u&&!c&&N(n.end),Ye(function(e){return i[7680&e][1]}(a)))}}function Xe(e,t){O(),f.writeSymbol(e,t)}function Ye(e){O(),f.writePunctuation(e)}function $e(){f.writePunctuation(";")}function Qe(e){O(),f.writeKeyword(e)}function Ze(e){O(),f.writeOperator(e)}function et(e){O(),f.writeParameter(e)}function tt(){O(),f.writeSpace(" ")}function rt(e){O(),f.writeProperty(e)}function nt(){O(),f.writeLine()}function it(){O(),f.increaseIndent()}function at(){O(),f.decreaseIndent()}function ot(e,t,r,n){return g?g(n,e,r,t,ct):ct(e,r,t)}function st(t,r){k&&k(t),r(e.tokenToString(t.kind)),C&&C(t)}function ct(t,r,n){var i=e.tokenToString(t);return r(i),n<0?n:n+i.length}function ut(t){1&e.getEmitFlags(t)?tt():nt()}function lt(t){for(var r=t.split(/\r\n?|\n/g),n=e.guessIndentation(r),i=0,a=r;i<a.length;i++){var o=a[i],s=n?o.slice(n):o;s.length&&(nt(),P(s),nt())}}function dt(e,t){e?(it(),nt()):t&&P(t)}function ft(e,t){e&&at(),t&&at()}function pt(t,r,i){if(1&i)return!0;
1if(2&i){if(32768&i)return!0;var a=r[0];return void 0===a?!e.rangeIsOnSingleLine(t,n):e.positionIsSynthesized(t.pos)||e.nodeIsSynthesized(a)?gt(a,i):!e.rangeStartPositionsAreOnSameLine(t,a,n)}return!1}function _t(t,r,i){return!!(1&i)||(2&i?void 0!==t&&void 0!==r&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r)?gt(t,i)||gt(r,i):!e.rangeEndIsOnSameLineAsRangeStart(t,r,n)):e.getStartsOnNewLine(r))}function mt(t,r,i){if(1&i)return 0===(65536&i);if(2&i){if(32768&i)return!0;var a=e.lastOrUndefined(r);return void 0===a?!e.rangeIsOnSingleLine(t,n):e.positionIsSynthesized(t.pos)||e.nodeIsSynthesized(a)?gt(a,i):!e.rangeEndPositionsAreOnSameLine(t,a,n)}return!1}function gt(t,r){if(e.nodeIsSynthesized(t)){var n=e.getStartsOnNewLine(t);return void 0===n?0!==(32768&r):n}return 0!==(32768&r)}function ht(t,r,i){return t=yt(t),r=yt(r),i=yt(i),!!e.getStartsOnNewLine(i)||!e.nodeIsSynthesized(t)&&!e.nodeIsSynthesized(r)&&!e.nodeIsSynthesized(i)&&!e.rangeEndIsOnSameLineAsRangeStart(r,i,n)}function vt(t){return 0===t.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(t,t,n)}function yt(t){for(;190===t.kind&&e.nodeIsSynthesized(t);)t=t.expression;return t}function bt(t,r){return e.isGeneratedIdentifier(t)?Dt(t):e.isIdentifier(t)&&(e.nodeIsSynthesized(t)||!t.parent||!n||t.parent&&n&&e.getSourceFileOfNode(t)!==e.getOriginalNode(n))?e.idText(t):9===t.kind&&t.textSourceNode?bt(t.textSourceNode,r):!e.isLiteralExpression(t)||!e.nodeIsSynthesized(t)&&t.parent?e.getSourceTextOfNodeFromSourceFile(n,t,r):t.text}function xt(t){if(9===t.kind&&t.textSourceNode){var r=t.textSourceNode;return e.isIdentifier(r)?16777216&e.getEmitFlags(t)?'"'+e.escapeString(bt(r))+'"':'"'+e.escapeNonAsciiString(bt(r))+'"':xt(r)}return e.getLiteralText(t,n)}function St(t){t&&524288&e.getEmitFlags(t)||(c.push(u),u=0,l.push(d))}function kt(t){t&&524288&e.getEmitFlags(t)||(u=c.pop(),d=l.pop())}function Ct(t){d&&d!==e.lastOrUndefined(l)||(d=e.createMap()),d.set(t,!0)}function Et(t){if(t)switch(t.kind){case 212:e.forEach(t.statements,Et);break;case 227:case 225:case 217:case 218:Et(t.statement);break;case 216:Et(t.thenStatement),Et(t.elseStatement);break;case 219:case 221:case 220:Et(t.initializer),Et(t.statement);break;case 226:Et(t.caseBlock);break;case 240:e.forEach(t.clauses,Et);break;case 265:case 266:e.forEach(t.statements,Et);break;case 229:Et(t.tryBlock),Et(t.catchClause),Et(t.finallyBlock);break;case 268:Et(t.variableDeclaration),Et(t.block);break;case 213:Et(t.declarationList);break;case 232:e.forEach(t.declarations,Et);break;case 231:case 148:case 181:case 234:wt(t.name);break;case 233:wt(t.name),524288&e.getEmitFlags(t)&&(e.forEach(t.parameters,Et),Et(t.body));break;case 179:case 180:e.forEach(t.elements,Et);break;case 243:Et(t.importClause);break;case 244:wt(t.name),Et(t.namedBindings);break;case 245:wt(t.name);break;case 246:e.forEach(t.elements,Et);break;case 247:wt(t.propertyName||t.name)}}function Tt(e){if(e)switch(e.kind){case 269:case 270:case 151:case 153:case 155:case 156:wt(e.name)}}function wt(t){t&&(e.isGeneratedIdentifier(t)?Dt(t):e.isBindingPattern(t)&&Et(t))}function Dt(t){if(4===(7&t.autoGenerateFlags))return At(function(t){var r=t.autoGenerateId,n=t,i=n.original;for(;i&&(n=i,!(e.isIdentifier(n)&&4&n.autoGenerateFlags&&n.autoGenerateId!==r));)i=n.original;return n}(t),t.autoGenerateFlags);var r=t.autoGenerateId;return o[r]||(o[r]=function(t){switch(7&t.autoGenerateFlags){case 1:return Ot(0,!!(8&t.autoGenerateFlags));case 2:return Ot(268435456,!!(8&t.autoGenerateFlags));case 3:return Ft(e.idText(t),32&t.autoGenerateFlags?Pt:Nt,!!(16&t.autoGenerateFlags),!!(8&t.autoGenerateFlags))}e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(t))}function At(t,r){var n=e.getNodeId(t);return a[n]||(a[n]=function(t,r){switch(t.kind){case 71:return Ft(bt(t),Nt,!!(16&r),!!(8&r));case 238:case 237:return function(t){var r=bt(t.name);return function(t,r){for(var n=r;e.isNodeDescendantOf(n,r);n=n.nextContainer)if(n.locals){var i=n.locals.get(e.escapeLeadingUnderscores(t));if(i&&70362047&i.flags)return!1}return!0}(r,t)?r:Ft(r)}(t);case 243:case 249:return function(t){var r=e.getExternalModuleName(t);return Ft(e.isStringLiteral(r)?e.makeIdentifierFromModuleName(r.text):"module")}(t);case 233:case 234:case 248:return Ft("default");case 204:return Ft("class");case 153:case 155:case 156:return function(t){if(e.isIdentifier(t.name))return At(t.name);return Ot(0)}(t);default:return Ot(0)}}(t,r))}function Nt(e){return Pt(e)&&!s.has(e)&&!(d&&d.has(e))}function Pt(t){return!n||e.isFileLevelUniqueName(n,t,_)}function Ot(e,t){if(e&&!(u&e)&&Nt(r=268435456===e?"_i":"_n"))return u|=e,t&&Ct(r),r;for(;;){var r,n=268435455&u;if(u++,8!==n&&13!==n)if(Nt(r=n<26?"_"+String.fromCharCode(97+n):"_"+(n-26)))return t&&Ct(r),r}}function Ft(e,t,r,n){if(void 0===t&&(t=Nt),r&&t(e))return n?Ct(e):s.set(e,!0),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var i=1;;){var a=e+i;if(t(a))return n?Ct(a):s.set(a,!0),a;i++}}function Mt(e){return Ft(e,Pt,!0)}}e.forEachEmittedFile=a,e.getOutputPathsFor=s,e.getOutputExtension=u,e.emitFiles=function(t,r,n,i,s,c){var u=r.getCompilerOptions(),d=u.sourceMap||u.inlineSourceMap||e.getAreDeclarationMapsEnabled(u)?[]:void 0,f=u.listEmittedFiles?[]:void 0,p=e.createDiagnosticCollection(),_=r.getNewLine(),m=e.createTextWriter(_),g=e.createSourceMapWriter(r,m),h=e.createSourceMapWriter(r,m,{sourceMap:u.declarationMap,sourceRoot:u.sourceRoot,mapRoot:u.mapRoot,extendedDiagnostics:u.extendedDiagnostics}),v={originalOffset:-1,totalLength:-1},y=!1;return e.performance.mark("beforePrint"),a(r,function(n,a){var d=n.jsFilePath,_=n.sourceMapFilePath,m=n.declarationFilePath,v=n.declarationMapPath,k=n.bundleInfoPath;(function(n,a,c,d){if(r.isEmitBlocked(a)||u.noEmit||u.emitDeclarationOnly)y=!0;else if(!i){var f=e.transformNodes(t,r,u,[n],s,!1),p=l(o({},u,{noEmitHelpers:u.noEmitHelpers}),{hasGlobalName:t.hasGlobalName,onEmitNode:f.emitNodeWithNotification,substituteNode:f.substituteNode,onEm
1itSourceMapOfNode:g.emitNodeWithSourceMap,onEmitSourceMapOfToken:g.emitTokenWithSourceMap,onEmitSourceMapOfPosition:g.emitPos,onSetSourceFile:x});e.Debug.assert(1===f.transformed.length,"Should only see one output from the transform"),b(a,c,f.transformed[0],d,p,g),f.dispose()}})(a,d,_,k),function(n,a,s){if(a&&!e.isInJavaScriptFile(n)){var d=e.isSourceFile(n)?[n]:n.sourceFiles,f=e.filter(d,e.isSourceFileNotJavaScript),_=u.outFile||u.out?[e.createBundle(f,e.isSourceFile(n)?void 0:n.prepends)]:f,m=e.transformNodes(t,r,u,_,e.concatenate([e.transformDeclarations],c),!1);if(e.length(m.diagnostics))for(var g=0,v=m.diagnostics;g<v.length;g++){var x=v[g];p.add(x)}var k=l(o({},u,{onlyPrintJsDocStyle:!0,noEmitHelpers:!0}),{hasGlobalName:t.hasGlobalName,onEmitSourceMapOfNode:h.emitNodeWithSourceMap,onEmitSourceMapOfToken:h.emitTokenWithSourceMap,onEmitSourceMapOfPosition:h.emitPos,onSetSourceFile:S,onEmitNode:m.emitNodeWithNotification,substituteNode:m.substituteNode}),C=!!m.diagnostics&&!!m.diagnostics.length||!!r.isEmitBlocked(a)||!!u.noEmit;y=y||C,(!C||i)&&(e.Debug.assert(1===m.transformed.length,"Should only see one output from the decl transform"),b(a,s,m.transformed[0],void 0,k,h)),m.dispose()}}(a,m,v),!y&&f&&(i||f.push(d),_&&f.push(_),m&&f.push(m),k&&f.push(k))},e.getSourceFilesToEmit(r,n),i),e.performance.measure("printTime","beforePrint"),{emitSkipped:y,diagnostics:p.getDiagnostics(),emittedFiles:f,sourceMaps:d};function b(t,n,i,a,o,s){var c=274===i.kind?i:void 0,l=273===i.kind?i:void 0,f=c?c.sourceFiles:[l];s.initialize(t,n||"",i,d),c?o.writeBundle(c,m,v):o.writeFile(l,m),m.writeLine();var _=s.getSourceMappingURL();_&&m.write("//# sourceMappingURL="+_),n&&e.writeFile(r,p,n,s.getText(),!1,f),e.writeFile(r,p,t,m.getText(),u.emitBOM,f),a&&(v.totalLength=m.getTextPos(),e.writeFile(r,p,a,JSON.stringify(v,void 0,2),!1)),s.reset(),m.clear(),v={originalOffset:-1,totalLength:-1}}function x(e){g.setSourceFile(e)}function S(e){h.setSourceFile(e)}},function(e){e[e.Notification=0]="Notification",e[e.Comments=1]="Comments",e[e.SourceMaps=2]="SourceMaps",e[e.Emit=3]="Emit"}(t||(t={})),e.createPrinter=l,function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(r||(r={}))}(u||(u={})),function(e){var t;function r(e,t,r,n){return e.watchFile(t,r,n)}function n(e,t,r,n){return e.watchDirectory(t,r,0!==(1&n))}function i(e,r){switch(e){case t.None:return r;case t.TriggerOnly:return o;case t.Verbose:return a}}function a(e,t,r,n,i,a,c,u,l,d,f){l(d+":: Added:: "+s(t,n,a,c,f));var p=o(e,t,r,n,i,a,c,u,l,d,f);return{close:function(){l(d+":: Close:: "+s(t,n,a,c,f)),p.close()}}}function o(t,r,n,i,a,o,c,u,l,d,f){return u(t,r,function(t,u){var p=d+":: Triggered with "+t+(void 0!==u?u:"")+":: "+s(r,i,o,c,f);l(p);var _=e.timestamp();n(t,u,a);var m=e.timestamp()-_;l("Elapsed:: "+m+"ms "+p)},i)}function s(e,t,r,n,i){return"WatchInfo: "+e+" "+t+" "+(i?i(r,n):r)}function c(e){e.watcher.close()}e.createCachedDirectoryStructureHost=function(t,r,n){if(t.getDirectories&&t.readDirectory){var i=e.createMap(),a=e.createGetCanonicalFileName(n);return{useCaseSensitiveFileNames:n,fileExists:function(e){var r=c(o(e));return r&&f(r.files,u(e))||t.fileExists(e)},readFile:function(e,r){return t.readFile(e,r)},directoryExists:t.directoryExists&&function(r){var n=o(r);return i.has(e.ensureTrailingDirectorySeparator(n))||t.directoryExists(r)},getDirectories:function(e){var r=o(e),n=l(e,r);return n?n.directories.slice():t.getDirectories(e)},readDirectory:function(i,a,s,c,u){var d=o(i),f=l(i,d);return f?e.matchFiles(i,a,s,c,n,r,u,function(t){var r=o(t);return r===d?f:l(t,r)||e.emptyFileSystemEntries}):t.readDirectory(i,a,s,c,u)},createDirectory:t.createDirectory&&function(e){var r=c(o(e)),n=u(e);r&&p(r.directories,n,!0),t.createDirectory(e)},writeFile:t.writeFile&&function(e,r,n){var i=c(o(e));return i&&_(i,u(e),!0),t.writeFile(e,r,n)},addOrDeleteFileOrDirectory:function(e,r){if(s(r))m();else{var n=c(r);if(n){if(t.directoryExists){var i=u(e),a={fileExists:t.fileExists(r),directoryExists:t.directoryExists(r)};return a.directoryExists||f(n.directories,i)?m():_(n,i,a.fileExists),a}m()}}},addOrDeleteFile:function(t,r,n){if(n!==e.FileWatcherEventKind.Changed){var i=c(r);i&&_(i,u(t),n===e.FileWatcherEventKind.Created)}},clearCache:m}}function o(t){return e.toPath(t,r,a)}function s(t){return i.get(e.ensureTrailingDirectorySeparator(t))}function c(t){return s(e.getDirectoryPath(t))}function u(t){return e.getBaseFileName(e.normalizePath(t))}function l(r,n){var a=s(n=e.ensureTrailingDirectorySeparator(n));if(a)return a;try{return function(r,n){var a={files:e.map(t.readDirectory(r,void 0,void 0,["*.*"]),u)||[],directories:t.getDirectories(r)||[]};return i.set(e.ensureTrailingDirectorySeparator(n),a),a}(r,n)}catch(o){return void e.Debug.assert(!i.has(e.ensureTrailingDirectorySeparator(n)))}}function d(e,t){return a(e)===a(t)}function f(t,r){return e.some(t,function(e){return d(e,r)})}function p(t,r,n){if(f(t,r)){if(!n)return e.filterMutate(t,function(e){return!d(e,r)})}else if(n)return t.push(r)}function _(e,t,r){p(e.files,t,r)}function m(){i.clear()}},function(e){e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={})),e.updateMissingFilePathsWatch=function(t,r,n){var i=t.getMissingFilePaths(),a=e.arrayToSet(i);e.mutateMap(r,a,{createNewValue:n,onDeleteValue:e.closeFileWatcher})},e.updateWatchingWildcardDirectories=function(t,r,n){function i(e,t){return{wat
1cher:n(e,t),flags:t}}e.mutateMap(t,r,{createNewValue:i,onDeleteValue:c,onExistingValue:function(e,r,n){e.flags!==r&&(e.watcher.close(),t.set(n,i(n,r)))}})},e.isEmittedFileOfProgram=function(e,t){return!!e&&e.isEmittedFile(t)},function(e){e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose"}(t=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=function(e,a,o){return function(e,r,n,a,o){var s=i(e,a),c=e===t.None?function(e,t,r,n,i){return a(e,t,function(e,t){return r(e,t,i)},n)}:s,u=i(e,o);return{watchFile:function(e,t,i,o,c,u){return s(e,t,i,o,void 0,c,u,a,r,"FileWatcher",n)},watchFilePath:function(e,t,i,o,s,u,l){return c(e,t,i,o,s,u,l,a,r,"FileWatcher",n)},watchDirectory:function(e,t,i,a,s,c){return u(e,t,i,a,void 0,s,c,o,r,"DirectoryWatcher",n)}}}(e,a,o,r,n)},e.closeFileWatcherOf=c}(u||(u={})),function(e){var t,r=/(^\s*$)|(^\s*\/\/\/?\s*(@ts-ignore)?)/;function n(t,r){var n=e.getDirectoryPath(r),i=e.isRootedDiskPath(t)?t:e.combinePaths(n,t);return e.normalizePath(i)}function i(t,r,n){var i;return e.forEach(t,function(t){var a=e.getNormalizedPathComponents(t,r);if(a.pop(),i){for(var o=Math.min(i.length,a.length),s=0;s<o;s++)if(n(i[s])!==n(a[s])){if(0===s)return!0;i.length=s;break}a.length<i.length&&(i.length=a.length)}else i=a})?"":i?e.getPathFromPathComponents(i):r}function a(t,r){var n,i=e.createMap();function a(t){t.length>e.getRootLength(t)&&!function(t){return!!i.has(t)||!!e.sys.directoryExists(t)&&(i.set(t,!0),!0)}(t)&&(a(e.getDirectoryPath(t)),e.sys.createDirectory(t))}function o(){return e.getDirectoryPath(e.normalizePath(e.sys.getExecutingFilePath()))}var s=e.getNewLineCharacter(t),c=e.sys.realpath&&function(t){return e.sys.realpath(t)};return{getSourceFile:function(n,i,a){var o;try{e.performance.mark("beforeIORead"),o=e.sys.readFile(n,t.charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(s){a&&a(s.message),o=""}return void 0!==o?e.createSourceFile(n,o,i,r):void 0},getDefaultLibLocation:o,getDefaultLibFileName:function(t){return e.combinePaths(o(),e.getDefaultLibFileName(t))},writeFile:function(r,i,o,s){try{e.performance.mark("beforeIOWrite"),a(e.getDirectoryPath(e.normalizePath(r))),e.isWatchSet(t)&&e.sys.createHash&&e.sys.getModifiedTime?function(t,r,i){n||(n=e.createMap());var a=e.sys.createHash(r),o=e.sys.getModifiedTime(t);if(o){var s=n.get(t);if(s&&s.byteOrderMark===i&&s.hash===a&&s.mtime.getTime()===o.getTime())return}e.sys.writeFile(t,r,i);var c=e.sys.getModifiedTime(t);n.set(t,{hash:a,byteOrderMark:i,mtime:c})}(r,i,o):e.sys.writeFile(r,i,o),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(c){s&&s(c.message)}},getCurrentDirectory:e.memoize(function(){return e.sys.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return e.sys.useCaseSensitiveFileNames},getCanonicalFileName:function(t){return e.sys.useCaseSensitiveFileNames?t:t.toLowerCase()},getNewLine:function(){return s},fileExists:function(t){return e.sys.fileExists(t)},readFile:function(t){return e.sys.readFile(t)},trace:function(t){return e.sys.write(t+s)},directoryExists:function(t){return e.sys.directoryExists(t)},getEnvironmentVariable:function(t){return e.sys.getEnvironmentVariable?e.sys.getEnvironmentVariable(t):""},getDirectories:function(t){return e.sys.getDirectories(t)},realpath:c,readDirectory:function(t,r,n,i,a){return e.sys.readDirectory(t,r,n,i,a)}}}function s(t,r){var n=e.diagnosticCategoryName(t)+" TS"+t.code+": "+m(t.messageText,r.getNewLine())+r.getNewLine();if(t.file){var i=e.getLineAndCharacterOfPosition(t.file,t.start),a=i.line,o=i.character,s=t.file.fileName;return e.convertToRelativePath(s,r.getCurrentDirectory(),function(e){return r.getCanonicalFileName(e)})+"("+(a+1)+","+(o+1)+"): "+n}return n}e.findConfigFile=function(t,r,n){return void 0===n&&(n="tsconfig.json"),e.forEachAncestorDirectory(t,function(t){var i=e.combinePaths(t,n);return r(i)?i:void 0})},e.resolveTripleslashReference=n,e.computeCommonSourceDirectoryOfFilenames=i,e.createCompilerHost=a,e.getPreEmitDiagnostics=function(t,r,n){var i=t.getConfigFileParsingDiagnostics().concat(t.getOptionsDiagnostics(n),t.getSyntacticDiagnostics(r,n),t.getGlobalDiagnostics(n),t.getSemanticDiagnostics(r,n));return t.getCompilerOptions().declaration&&e.addRange(i,t.getDeclarationDiagnostics(r,n)),e.sortAndDeduplicateDiagnostics(i)},e.formatDiagnostics=function(e,t){for(var r="",n=0,i=e;n<i.length;n++)r+=s(i[n],t);return r},e.formatDiagnostic=s,function(e){e.Grey="\x1b[90m",e.Red="\x1b[91m",e.Yellow="\x1b[93m",e.Blue="\x1b[94m",e.Cyan="\x1b[96m"}(t=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={}));var c="\x1b[30;47m",u=" ",l="\x1b[0m",d="...";function f(r){switch(r){case e.DiagnosticCategory.Error:return t.Red;case e.DiagnosticCategory.Warning:return t.Yellow;case e.DiagnosticCategory.Suggestion:return e.Debug.fail("Should never get an Info diagnostic on the command line.");case e.DiagnosticCategory.Message:return t.Blue}}function p(e,t){return t+e+l}function _(e,t){for(;e.length<t;)e=" "+e;return e}function m(t,r){if(e.isString(t))return t;for(var n=t,i="",a=0;n;){if(a){i+=r;for(var o=0;o<a;o++)i+=" "}i+=n.messageText,a++,n=n.next}return i}function g(t,r,n){if(0===t.length)return[];for(var i=[],a=e.createMap(),o=0,s=t;o<s.length;o++){var c=s[o],u=void 0;a.has(c)?u=a.get(c):a.set(c,u=n(c,r)),i.push(u)}return i}function h(e){return{fileExists:function(t){return e.fileExists(t)},readDirectory:function(t,r,n,i){return e.readDirectory?e.readDirectory(t,r,n,i):[]},readFile:function(t){return e.readFile(t)},useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:function(){return e.getCurrentDirectory()},onUnRecoverableConfigFileDiagnostic:function(){}}}function v(t,r){switch(r.extension){case".ts":case".d.ts":case".json":return;case".tsx":return n();case".jsx":return n()||i();case".js":return i()}function n(){return t.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return t.allowJs||!e.getStrictOptionValue(t,"noImplicitAny")?void 0:e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function y(e){for(var t=e.imports,r=e.moduleAugmentations,n=t.map(function(e){return e.text}),i=0,a=r;i<a.length;i++){var o=a[i];9===o.kind&&n.push(o.text)}return n}e.formatColorAndReset=p,e.formatDiagnosticsWithColorAndContext=function(r,n){for(var i="",a=0,o=r;a<o.length;a++){var s=o[a],g="";if(s.file){var h=s.start,v=s.length,y=s.file,b=e.getLineAndCharacterOfPosition(y,h),x=b.line,S=b.character,k=e.getLineAndCharacterOfPosition(y,h+v),C=k.line,E=k.character,T=e.getLineAndCharacterOfPosition(y,y.text.length).line,w=n?e.convertToRelativePath(y.fileName,n.getCurrentDirectory(),function(e){return n.getCanonicalFileName(e)}):y.fileName,D=C-x>=4,A=(C+1+"").length;D&&(A=Math.max(d.length,A));for(var N=x;N<=C;N++){g+=n.getNewLine(),D&&x+1<N&&N<C-1&&(g+=p(_(d,A),c)+u+n.getNewLine(),N=C-1);var P=e.getPositionOfLineAndCharacter(y,N,0),O=N<T?e.getPositionOfLineAndCharacter(y,N+1,0):y.text.length,F=y.text.slice(P,O);if(F=(F=F.replace(/\s+$/g,"")).replace("\t"," "),g+=p(_(N+1+"",A),c)+u,g+=F+n.getNewLine(),g+=p(_("",A),c)+u,g+=t.Red,N===x){var M=N===C?E:void 0;g+=F.slice(0,S).replace(/\S/g," "),g+=F.slice(S,M).replace(/./g,"~")}else g+=N===C?F.slice(0,E).replace(/./g,"~"):F.replace(/./g,"~");g+=l}i+=p(w,t.Cyan),i+=":",i+=p(""+(x+1),t.Yellow),i+=":",i+=p(""+(S+1),t.Yellow),i+=" - "}i+=p(e.diagnosticCategoryName(s),f(s.category)),i+=p(" TS"+s.code+": ",t.Grey),i+=m(s.messageText,n.getNewLine()),s.file&&(i+=n.getNewLine(),i+=g),i+=n.getNewLine()}return i+n.getNewLine()}
1,e.flattenDiagnosticMessageText=m,e.isProgramUptoDate=function(t,r,n,i,a,o,s){if(!t||s)return!1;if(t.getRootFileNames().length!==r.length)return!1;if(t.getSourceFiles().some(function(e){return e.version!==i(e.path)||o(e.path)}))return!1;if(t.getMissingFilePaths().some(a))return!1;var c=t.getCompilerOptions();return!!e.compareDataObjects(c,n)&&(!c.configFile||!n.configFile||c.configFile.text===n.configFile.text)},e.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?e.options.configFile.parseDiagnostics.concat(e.errors):e.errors},e.createProgram=function(t,s,c,u,l){var d,f,p,_,m,b,x=e.isArray(t)?function(e,t,r,n,i){return{rootNames:e,options:t,host:r,oldProgram:n,configFileParsingDiagnostics:i}}(t,s,c,u,l):t,S=x.rootNames,k=x.options,C=x.configFileParsingDiagnostics,E=x.projectReferences,T=x.host,w=x.oldProgram,D=[],A={},N={},P=e.createMap(),O=e.createDiagnosticCollection(),F="number"===typeof k.maxNodeModuleJsDepth?k.maxNodeModuleJsDepth:0,M=0,I=e.createMap(),L=e.createMap();e.performance.mark("beforeProgram");var R,j,B,z,q,U=h(T=T||a(k)),V=k.noLib,J=e.memoize(function(){return T.getDefaultLibFileName(k)}),H=T.getDefaultLibLocation?T.getDefaultLibLocation():e.getDirectoryPath(J()),W=e.createDiagnosticCollection(),K=T.getCurrentDirectory(),G=e.getSupportedExtensions(k),X=e.createMap(),Y=T.hasInvalidatedResolution||e.returnFalse;if(T.resolveModuleNames)z=function(t,r,n){return T.resolveModuleNames(e.Debug.assertEachDefined(t),r,n).map(function(t){if(!t||void 0!==t.extension)return t;var r=e.clone(t);return r.extension=e.extensionFromPath(t.resolvedFileName),r})};else{B=e.createModuleResolutionCache(K,function(e){return T.getCanonicalFileName(e)});var $=function(t,r){return e.resolveModuleName(t,r,k,T,B).resolvedModule};z=function(t,r){return g(e.Debug.assertEachDefined(t),r,$)}}if(T.resolveTypeReferenceDirectives)q=function(t,r){return T.resolveTypeReferenceDirectives(e.Debug.assertEachDefined(t),r)};else{var Q=function(t,r){return e.resolveTypeReferenceDirective(t,r,k,T).resolvedTypeReferenceDirective};q=function(t,r){return g(e.Debug.assertEachDefined(t),r,Q)}}var Z,ee=e.createMap(),te=e.createMap(),re=e.createMap(),ne=e.createMap(),ie=T.useCaseSensitiveFileNames()?e.createMap():void 0,ae=E?[]:void 0,oe=e.createMap();if(E)for(var se=0,ce=E;se<ce.length;se++){var ue=it(ce[se]);ae.push(ue),ue&&(ue.commandLine.options.outFile&&Ke(e.changeExtension(ue.commandLine.options.outFile,".d.ts"),!1,void 0),at(ue.commandLine,oe))}var le=function(t,r){var n=t&&t.getCompilerOptions();return n&&(n.target!==r.target||n.module!==r.module||n.moduleResolution!==r.moduleResolution||n.noResolve!==r.noResolve||n.jsx!==r.jsx||n.allowJs!==r.allowJs||n.disableSizeLimit!==r.disableSizeLimit||n.baseUrl!==r.baseUrl||!e.equalOwnProperties(n.paths,r.paths))}(w,k),de=function(){if(!w)return 0;var t=w.getCompilerOptions();if(e.changesAffectModuleResolution(t,k))return w.structureIsReused=0;e.Debug.assert(!(3&w.structureIsReused));var r=w.getRootFileNames();if(!e.arrayIsEqualTo(r,S))return w.structureIsReused=0;if(!e.arrayIsEqualTo(k.types,t.types))return w.structureIsReused=0;var n=w.getProjectReferences();if(E){if(!n)return w.structureIsReused=0;for(var i=0;i<E.length;i++){var a=n[i];if(a){var o=it(E[i]);if(!o||o.sourceFile!==a.sourceFile)return w.structureIsReused=0}else if(void 0!==it(E[i]))return w.structureIsReused=0}}else if(n)return w.structureIsReused=0;var s=[],c=[],u=[];if(w.structureIsReused=2,w.getMissingFilePaths().some(function(e){return T.fileExists(e)}))return w.structureIsReused=0;var l,d=w.getSourceFiles();!function(e){e[e.Exists=0]="Exists",e[e.Modified=1]="Modified"}(l||(l={}));for(var f=e.createMap(),p=0,_=d;p<_.length;p++){var m=_[p],g=T.getSourceFileByPath?T.getSourceFileByPath(m.fileName,m.path,k.target,void 0,le):T.getSourceFile(m.fileName,k.target,void 0,le);if(!g)return w.structureIsReused=0;e.Debug.assert(!g.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var h=void 0;if(m.redirectInfo){if(g!==m.redirectInfo.unredirected)return w.structureIsReused=0;h=!1,g=m}else if(w.redirectTargetsSet.has(m.path)){if(g!==m)return w.structureIsReused=0;h=!1}else h=g!==m;g.path=m.path,c.push(g.path);var v=w.sourceFileToPackageName.get(m.path);if(void 0!==v){var x=f.get(v),C=h?1:0;if(void 0!==x&&1===C||1===x)return w.structureIsReused=0;f.set(v,C)}h?(m.hasNoDefaultLib!==g.hasNoDefaultLib&&(w.structureIsReused=1),e.arrayIsEqualTo(m.referencedFiles,g.referencedFiles,Ve)||(w.structureIsReused=1),He(g),e.arrayIsEqualTo(m.imports,g.imports,Je)||(w.structureIsReused=1),e.arrayIsEqualTo(m.moduleAugmentations,g.moduleAugmentations,Je)||(w.structureIsReused=1),(1572864&m.flags)!==(1572864&g.flags)&&(w.structureIsReused=1),e.arrayIsEqualTo(m.typeReferenceDirectives,g.typeReferenceDirectives,Ve)||(w.structureIsReused=1),u.push({oldFile:m,newFile:g})):Y(m.path)&&(w.structureIsReused=1,u.push({oldFile:m,newFile:g})),s.push(g)}if(2!==w.structureIsReused)return w.structureIsReused;b=u.map(function(e){return e.newFile.path});for(var A=0,N=u;A<N.length;A++){var F=N[A],m=F.oldFile,g=F.newFile,M=e.getNormalizedAbsolutePath(g.fileName,K);if(z){var I=y(g),R={program:w,oldSourceFile:m,modifiedFilePaths:b},j=ke(I,M,g,R),B=e.hasChangesInResolutions(I,j,m.resolvedModules,e.moduleResolutionIsEqualTo);B?(w.structureIsReused=1,g.resolvedModules=e.zipToMap(I,j)):g.resolvedModules=m.resolvedModules}if(q){var U=e.map(g.typeReferenceDirectives,function(e){return e.fileName}),j=q(U,M),B=e.hasChangesInResolutions(U,j,m.resolvedTypeReferenceDirectiveNames,e.typeDirectiveIsEqualTo);B?(w.structureIsReused=1,g.resolvedTypeReferenceDirectiveNames=e.zipToMap(U,j)):g.resolvedTypeReferenceDirectiveNames=m.resolvedTypeReferenceDirectiveNames}}if(2!==w.structureIsReused)return w.structureIsReused;
1if(T.hasChangedAutomaticTypeDirectiveNames)return w.structureIsReused=1;Z=w.getMissingFilePaths();for(var i=0;i<s.length;i++)ne.set(c[i],s[i]),w.isSourceFileFromExternalLibrary(w.getSourceFileByPath(c[i]))&&L.set(c[i],!0);D=s,O=w.getFileProcessingDiagnostics();for(var V=0,J=u;V<J.length;V++){var H=J[V];O.reattachFileDiagnostics(H.newFile)}return P=w.getResolvedTypeReferenceDirectives(),te=w.sourceFileToPackageName,re=w.redirectTargetsSet,w.structureIsReused=2}();if(2!==de){e.forEach(S,function(e){return Ue(e,!1)});var fe=e.getAutomaticTypeDirectiveNames(k,T);if(fe.length)for(var pe=k.configFilePath?e.getDirectoryPath(k.configFilePath):T.getCurrentDirectory(),_e=e.combinePaths(pe,"__inferred type names__.ts"),me=q(fe,_e),ge=0;ge<fe.length;ge++)Ze(fe[ge],me[ge]);if(!V){var he=J();!k.lib&&he?Ue(he,!0):e.forEach(k.lib,function(t){Ue(e.combinePaths(H,t),!0)})}Z=e.arrayFrom(ne.keys(),function(e){return e}).filter(function(e){return!ne.get(e)})}if(e.Debug.assert(!!Z),w&&T.onReleaseOldSourceFile)for(var ve=0,ye=w.getSourceFiles();ve<ye.length;ve++){var be=ye[ve];Ne(be.path)&&!le||T.onReleaseOldSourceFile(be,w.getCompilerOptions())}return w=void 0,d={getRootFileNames:function(){return S},getSourceFile:Ne,getSourceFileByPath:Pe,getSourceFiles:function(){return D},getMissingFilePaths:function(){return Z},getCompilerOptions:function(){return k},getSyntacticDiagnostics:function(e,t){return Oe(e,Fe,t)},getOptionsDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(e.concatenate(O.getGlobalDiagnostics(),e.concatenate(W.getGlobalDiagnostics(),k.configFile?W.getDiagnostics(k.configFile.fileName):[])))},getGlobalDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(we().getGlobalDiagnostics().slice())},getSemanticDiagnostics:function(e,t){return Oe(e,Ie,t)},getDeclarationDiagnostics:function(e,t){var r=d.getCompilerOptions();return!e||r.out||r.outFile?je(e,t):Oe(e,qe,t)},getTypeChecker:De,getClassifiableNames:function(){if(!m){De(),m=e.createUnderscoreEscapedMap();for(var t=0,r=D;t<r.length;t++){var n=r[t];e.copyEntries(n.classifiableNames,m)}}return m},getDiagnosticsProducingTypeChecker:we,getCommonSourceDirectory:Se,emit:function(t,r,n,i,a){return Me(function(){return function(t,r,n,i,a,o){var s=[];if(!a){if(k.noEmit)return{diagnostics:s,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0};if(k.noEmitOnError){var c=t.getOptionsDiagnostics(i).concat(t.getSyntacticDiagnostics(r,i),t.getGlobalDiagnostics(i),t.getSemanticDiagnostics(r,i));if(0===c.length&&t.getCompilerOptions().declaration&&(s=t.getDeclarationDiagnostics(void 0,i)),c.length>0||s.length>0)return{diagnostics:e.concatenate(c,s),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}var u=we().getEmitResolver(k.outFile||k.out?void 0:r,i);e.performance.mark("beforeEmit");var l=a?[]:e.getTransformers(k,o),d=e.emitFiles(u,Ce(n),r,a,l,o&&o.afterDeclarations);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),d}(d,t,r,n,i,a)})},getCurrentDirectory:function(){return K},getNodeCount:function(){return we().getNodeCount()},getIdentifierCount:function(){return we().getIdentifierCount()},getSymbolCount:function(){return we().getSymbolCount()},getTypeCount:function(){return we().getTypeCount()},getFileProcessingDiagnostics:function(){return O},getResolvedTypeReferenceDirectives:function(){return P},isSourceFileFromExternalLibrary:Te,isSourceFileDefaultLibrary:function(t){if(t.hasNoDefaultLib)return!0;if(!k.noLib)return!1;var r=T.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return k.lib?e.forEach(k.lib,function(n){return r(t.fileName,e.combinePaths(H,n))}):r(t.fileName,J())},dropDiagnosticsProducingTypeChecker:function(){p=void 0},getSourceFileFromReference:function(e,t){return We(n(t.fileName,e.fileName),function(e){return ne.get(xe(e))})},sourceFileToPackageName:te,redirectTargetsSet:re,isEmittedFile:function(t){if(k.noEmit)return!1;var r=xe(t);if(Pe(r))return!1;var n=k.outFile||k.out;if(n)return gt(r,n)||gt(r,e.removeFileExtension(n)+".d.ts");if(k.outDir)return e.containsPath(k.outDir,r,K,!T.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(r,e.supportedJavascriptExtensions)||e.fileExtensionIs(r,".d.ts")){var i=e.removeFileExtension(r);return!!Pe(e.combinePaths(i,".ts"))||!!Pe(e.combinePaths(i,".tsx"))}return!1},getConfigFileParsingDiagnostics:function(){return C||e.emptyArray}
1,getResolvedModuleWithFailedLookupLocationsFromCache:function(t,r){return B&&e.resolveModuleNameFromCache(t,r,B)},getProjectReferences:function(){if(ae)return ae}},function(){if(k.strictPropertyInitialization&&!k.strictNullChecks&&ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),k.isolatedModules&&(k.declaration&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declaration","isolatedModules"),k.noEmitOnError&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noEmitOnError","isolatedModules"),k.out&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),k.outFile&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules")),k.inlineSourceMap&&(k.sourceMap&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),k.mapRoot&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),k.paths&&void 0===k.baseUrl&&ut(e.Diagnostics.Option_paths_cannot_be_used_without_specifying_baseUrl_option,"paths"),k.composite&&!1===k.declaration&&ut(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),E)for(var t=0;t<E.length;t++){var r=E[t],n=ae[t]&&ae[t].commandLine.options;void 0!==n?(n.composite||dt(t,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,r.path),r.prepend&&(n.outFile?T.fileExists(n.outFile)||dt(t,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,n.outFile,r.path):dt(t,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,r.path))):dt(t,e.Diagnostics.File_0_does_not_exist,r.path)}if(k.composite&&S.length<D.length)for(var i=S.map(function(t){return e.normalizePath(t).toLowerCase()}),a=D.filter(function(e){return!e.isDeclarationFile}).map(function(t){return e.normalizePath(t.path).toLowerCase()}),o=function(t){i.every(function(e){return e!==t})&&W.add(e.createCompilerDiagnostic(e.Diagnostics.File_0_is_not_in_project_file_list_Projects_must_list_all_files_or_use_an_include_pattern,t))},s=0,c=a;s<c.length;s++){var u=c[s];o(u)}if(k.paths)for(var l in k.paths)if(e.hasProperty(k.paths,l))if(e.hasZeroOrOneAsteriskCharacter(l)||st(!0,l,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,l),e.isArray(k.paths[l])){var d=k.paths[l].length;0===d&&st(!1,l,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,l);for(var t=0;t<d;t++){var f=k.paths[l][t],p=typeof f;"string"===p?e.hasZeroOrOneAsteriskCharacter(f)||ot(l,t,e.Diagnostics.Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character,f,l):ot(l,t,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,f,l,p)}}else st(!1,l,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,l);k.sourceMap||k.inlineSourceMap||(k.inlineSources&&ut(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),k.sourceRoot&&ut(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),k.out&&k.outFile&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile"),!k.mapRoot||k.sourceMap||k.declarationMap||ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),k.declarationDir&&(k.declaration||ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"declarationDir","declaration"),(k.out||k.outFile)&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",k.out?"out":"outFile")),k.declarationMap&&!k.declaration&&ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"declarationMap","declaration"),k.lib&&k.noLib&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),k.noImplicitUseStrict&&e.getStrictOptionValue(k,"alwaysStrict")&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var _=k.target||0,m=k.outFile||k.out,g=e.forEach(D,function(t){return e.isExternalModule(t)&&!t.isDeclarationFile?t:void 0});if(k.isolatedModules){k.module===e.ModuleKind.None&&_<2&&ut(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"
1isolatedModules","target");var h=e.forEach(D,function(t){return e.isExternalModule(t)||t.isDeclarationFile?void 0:t});if(h){var v=e.getErrorSpanForNode(h,h);W.add(e.createFileDiagnostic(h,v.start,v.length,e.Diagnostics.Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided))}}else if(g&&_<2&&k.module===e.ModuleKind.None){var v=e.getErrorSpanForNode(g,g.externalModuleIndicator);W.add(e.createFileDiagnostic(g,v.start,v.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(m)if(k.module&&k.module!==e.ModuleKind.AMD&&k.module!==e.ModuleKind.System)ut(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,k.out?"out":"outFile","module");else if(void 0===k.module&&g){var v=e.getErrorSpanForNode(g,g.externalModuleIndicator);W.add(e.createFileDiagnostic(g,v.start,v.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,k.out?"out":"outFile"))}if(k.resolveJsonModule&&e.getEmitModuleResolutionKind(k)!==e.ModuleResolutionKind.NodeJs&&ut(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"),k.outDir||k.sourceRoot||k.mapRoot){var y=Se();k.outDir&&""===y&&e.forEach(D,function(t){return e.getRootLength(t.fileName)>1})&&ut(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(!k.noEmit&&k.allowJs&&k.declaration&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"allowJs","declaration"),k.checkJs&&!k.allowJs&&W.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),k.emitDeclarationOnly&&(k.declaration||ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDeclarationOnly","declaration"),k.noEmit&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),k.emitDecoratorMetadata&&!k.experimentalDecorators&&ut(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),k.jsxFactory?(k.reactNamespace&&ut(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(k.jsxFactory,_)||lt("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,k.jsxFactory)):k.reactNamespace&&!e.isIdentifierText(k.reactNamespace,_)&<("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,k.reactNamespace),!k.noEmit&&!k.suppressOutputPathCheck){var b=Ce(),x=e.createMap();e.forEachEmittedFile(b,function(e){k.emitDeclarationOnly||C(e.jsFilePath,x),C(e.declarationFilePath,x)})}function C(t,r){if(t){var n,i=xe(t);ne.has(i)&&(k.configFilePath||(n=e.chainDiagnosticMessages(void 0,e.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),n=e.chainDiagnosticMessages(n,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,t),mt(t,e.createCompilerDiagnosticFromMessageChain(n)));var a=T.useCaseSensitiveFileNames()?i:i.toLocaleLowerCase();r.has(a)?mt(t,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,t)):r.set(a,!0)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),d;function xe(t){return e.toPath(t,K,tt)}function Se(){if(void 0===f){var t=e.filter(D,function(t){return e.sourceFileMayBeEmitted(t,k,Te)});k.rootDir&&nt(t,k.rootDir)?f=e.getNormalizedAbsolutePath(k.rootDir,K):k.composite?nt(t,f=e.getDirectoryPath(e.normalizeSlashes(k.configFilePath))):f=function(e){for(var t=[],r=0,n=e;r<n.length;r++){var a=n[r];a.isDeclarationFile||t.push(a.fileName)}return i(t,K,tt)}(t),f&&f[f.length-1]!==e.directorySeparator&&(f+=e.directorySeparator)}return f}function ke(t,r,n,i){if(0===de&&!n.ambientModuleNames.length)return z(t,r);var a,o,s,c=i.program&&i.program.getSourceFile(r);if(c!==n&&n.resolvedModules){for(var u=[],l=0,d=t;l<d.length;l++){var f=d[l],p=n.resolvedModules.get(f);u.push(p)}return u}for(var _={},m=0;m<t.length;m++){if(f=t[m],n===c&&!Y(c.path)){var g=c&&c.resolvedModules.get(f);if(g){e.isTraceEnabled(k,T)&&e.trace(T,e.Diagnostics.Reusing_resolution_of_module_0_to_file_1_from_old_program,f,r),(o||(o=new Array(t.length)))[m]=g,(s||(s=[])).push(f);continue}}var h=!1;e.contains(n.ambientModuleNames,f)?(h=!0,e.isTraceEnabled(k,T)&&e.trace(T,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,f,r)):h=b(f,i),h?(o||(o=new Array(t.length)))[m]=_:(a||(a=[])).push(f)}
1var v=a&&a.length?z(a,r,s):e.emptyArray;if(!o)return e.Debug.assert(v.length===t.length),v;var y=0;for(m=0;m<o.length;m++)o[m]?o[m]===_&&(o[m]=void 0):(o[m]=v[y],y++);return e.Debug.assert(y===v.length),o;function b(t,r){var n=e.getResolvedModule(r.oldSourceFile,t),i=n&&r.program&&r.program.getSourceFile(n.resolvedFileName);if(n&&i&&!i.externalModuleIndicator)return!1;var a=r.program&&r.program.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t);if(!a||!a.declarations)return!1;var o=e.forEach(a.declarations,function(t){var n=e.getSourceFileOfNode(t);return!e.contains(r.modifiedFilePaths,n.path)&&n});return!!o&&(e.isTraceEnabled(k,T)&&e.trace(T,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,t,o.fileName),!0)}}function Ce(e){return o({getPrependNodes:Ee,getCanonicalFileName:tt,getCommonSourceDirectory:d.getCommonSourceDirectory,getCompilerOptions:d.getCompilerOptions,getCurrentDirectory:function(){return K},getNewLine:function(){return T.getNewLine()},getSourceFile:d.getSourceFile,getSourceFileByPath:d.getSourceFileByPath,getSourceFiles:d.getSourceFiles,isSourceFileFromExternalLibrary:Te,writeFile:e||function(e,t,r,n,i){return T.writeFile(e,t,r,n,i)},isEmitBlocked:Ae,readFile:function(e){return T.readFile(e)},fileExists:function(e){return T.fileExists(e)}},T.directoryExists?{directoryExists:function(e){return T.directoryExists(e)}}:{})}function Ee(){if(!E)return e.emptyArray;for(var t=[],r=0;r<E.length;r++){var n=E[r],i=ae[r].commandLine;if(n.prepend&&i&&i.options){if(!i.options.outFile)continue;var a=e.changeExtension(i.options.outFile,".d.ts"),o=T.readFile(i.options.outFile)||"/* Input file "+i.options.outFile+" was missing */\r\n",s=T.readFile(a)||"/* Input file "+a+" was missing */\r\n",c=e.createInputFiles(o,s);t.push(c)}}return t}function Te(e){return L.get(e.path)}function we(){return p||(p=e.createTypeChecker(d,!0))}function De(){return _||(_=e.createTypeChecker(d,!1))}function Ae(e){return X.has(xe(e))}function Ne(e){return Pe(xe(e))}function Pe(e){return ne.get(e)}function Oe(t,r,n){return t?r(t,n):e.sortAndDeduplicateDiagnostics(e.flatMap(d.getSourceFiles(),function(e){return n&&n.throwIfCancellationRequested(),r(e,n)}))}function Fe(t){return e.isSourceFileJavaScript(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=function(t){return Me(function(){var r=[],n=t;return i(t),r;function i(t){switch(n.kind){case 148:case 151:if(n.questionToken===t)return void r.push(s(t,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?"));case 153:case 152:case 154:case 155:case 156:case 191:case 233:case 192:case 231:if(n.type===t)return void r.push(s(t,e.Diagnostics.types_can_only_be_used_in_a_ts_file))}switch(t.kind){case 242:return void r.push(s(t,e.Diagnostics.import_can_only_be_used_in_a_ts_file));case 248:if(t.isExportEquals)return void r.push(s(t,e.Diagnostics.export_can_only_be_used_in_a_ts_file));break;case 267:var o=t;if(108===o.token)return void r.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_a_ts_file));break;case 235:return void r.push(s(t,e.Diagnostics.interface_declarations_can_only_be_used_in_a_ts_file));case 238:return void r.push(s(t,e.Diagnostics.module_declarations_can_only_be_used_in_a_ts_file));case 236:return void r.push(s(t,e.Diagnostics.type_aliases_can_only_be_used_in_a_ts_file));case 237:return void r.push(s(t,e.Diagnostics.enum_declarations_can_only_be_used_in_a_ts_file));case 208:return void r.push(s(t,e.Diagnostics.non_null_assertions_can_only_be_used_in_a_ts_file));case 207:return void r.push(s(t.type,e.Diagnostics.type_assertion_expressions_can_only_be_used_in_a_ts_file));case 189:e.Debug.fail()}var c=n;n=t,e.forEachChild(t,i,a),n=c}function a(t){switch(n.decorators!==t||k.experimentalDecorators||r.push(s(n,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning)),n.kind){case 234:case 153:case 152:case 154:case 155:case 156:case 191:case 233:case 192:if(t===n.typeParameters)return void r.push(o(t,e.Diagnostics.type_parameter_declarations_can_only_be_used_in_a_ts_file));case 213:if(t===n.modifiers)return function(t,n){for(var i=0,a=t;i<a.length;i++){var o=a[i];switch(o.kind){case 76:if(n)continue;case 114:case 112:case 113:case 132:case 124:case 117:r.push(s(o,e.Diagnostics._0_can_only_be_used_in_a_ts_file,e.tokenToString(o.kind)))}}}(t,213===n.kind);break;case 151:if(t===n.modifiers){for(var a=0,c=t;a<c.length;a++){var u=c[a];115!==u.kind&&r.push(s(u,e.Diagnostics._0_can_only_be_used_in_a_ts_file,e.tokenToString(u.kind)))}return}break;case 148:if(t===n.modifiers)return void r.push(o(t,e.Diagnostics.parameter_modifiers_can_only_be_used_in_a_ts_file));break;case 186:case 187:case 206:case 255:case 256:if(t===n.typeArguments)return void r.push(o(t,e.Diagnostics.type_arguments_can_only_be_used_in_a_ts_file))}for(var l=0,d=t;l<d.length;l++){var f=d[l];i(f)}}function o(r,n,i,a,o){var s=r.pos;return e.createFileDiagnostic(t,s,r.end-s,n,i,a,o)}function s(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(t,r,n,i,a,o)}})}(t)),e.concatenate(t.additionalSyntacticDiagnostics,t.parseDiagnostics)):t.parseDiagnostics}function Me(t){try{return t()}catch(r){throw r instanceof e.OperationCanceledException&&(_=void 0,p=void 0),r}}function Ie(e,t){return ze(e,t,A,Le)}function Le(t,r){return Me(function(){if(k.skipLibCheck&&t.isDeclarationFile||k.skipDefaultLibCheck&&t.hasNoDefaultLib)return e.emptyArray;var n=we();e.Debug.assert(!!t.bindDiagnostics);for(var i,a=e.isCheckJsEnabledForFile(t,k),o=3===t.scriptKind||4===t.scriptKind||5===t.scriptKind||a||7===t.scriptKind,s=0,c=[o?t.bindDiagnostics:e.emptyArray,o?n.getDiagnostics(t,r):e.emptyArray,O.getDiagnostics(t.fileName),W.getDiagnostics(t.fileName),a?t.jsDocDiagnostics:void 0];s<c.length;s++){var u=c[s];if(u)for(var l=0,d=u;l<d.length;l++){var f=d[l];Re(f)&&(i=e.append(i,f))}}return i})}function Re(t){var n=t.file,i=t.start;if(n)for(var a=e.getLineStarts(n),o=e.computeLineAndCharacterOfPosition(a,i).line;o>0;){var s=n.text.slice(a[o-1],a[o]),c=r.exec(s);if(!c)return!0;
1if(c[3])return!1;o--}return!0}function je(e,t){return ze(e,t,N,Be)}function Be(t,r){return Me(function(){var n=we().getEmitResolver(t,r);return e.getDeclarationDiagnostics(Ce(e.noop),n,t)})}function ze(t,r,n,i){var a=t?n.perFile&&n.perFile.get(t.path):n.allDiagnostics;if(a)return a;var o=i(t,r)||e.emptyArray;return t?(n.perFile||(n.perFile=e.createMap()),n.perFile.set(t.path,o)):n.allDiagnostics=o,o}function qe(e,t){return e.isDeclarationFile?[]:je(e,t)}function Ue(t,r){Ke(e.normalizePath(t),r,void 0)}function Ve(e,t){return e.fileName===t.fileName}function Je(e,t){return 71===e.kind?71===t.kind&&e.escapedText===t.escapedText:9===t.kind&&e.text===t.text}function He(t){if(!t.imports){var r,n,i,a=e.isSourceFileJavaScript(t),o=e.isExternalModule(t);if(k.importHelpers&&(k.isolatedModules||o)&&!t.isDeclarationFile){var s=e.createLiteral(e.externalHelpersModuleNameText),c=e.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(c,67108864),s.parent=c,c.parent=t,r=[s]}for(var u=0,l=t.statements;u<l.length;u++){var d=l[u];f(d,!1),(524288&t.flags||a)&&p(d)}return(524288&t.flags||a)&&p(t.endOfFileToken),t.imports=r||e.emptyArray,t.moduleAugmentations=n||e.emptyArray,void(t.ambientModuleNames=i||e.emptyArray)}function f(a,s){if(e.isAnyImportOrReExport(a)){var c=e.getExternalModuleName(a);!(c&&e.isStringLiteral(c)&&c.text)||s&&e.isExternalModuleNameRelative(c.text)||(r=e.append(r,c))}else if(e.isModuleDeclaration(a)&&e.isAmbientModule(a)&&(s||e.hasModifier(a,2)||t.isDeclarationFile)){var u=e.getTextOfIdentifierOrLiteral(a.name);if(o||s&&!e.isExternalModuleNameRelative(u))(n||(n=[])).push(a.name);else if(!s){t.isDeclarationFile&&(i||(i=[])).push(u);var l=a.body;if(l)for(var d=0,p=l.statements;d<p.length;d++)f(p[d],!0)}}}function p(t){e.isRequireCall(t,!0)?r=e.append(r,t.arguments[0]):e.isImportCall(t)&&1===t.arguments.length&&e.isStringLiteralLike(t.arguments[0])?r=e.append(r,t.arguments[0]):e.isLiteralImportTypeNode(t)&&(r=e.append(r,t.argument.literal)),_(t),e.hasJSDocNodes(t)&&e.forEach(t.jsDoc,_)}function _(t){e.forEachChild(t,p)}}function We(t,r,n,i){if(e.hasExtension(t)){if(!k.allowNonTsExtensions&&!e.forEach(G,function(r){return e.fileExtensionIs(T.getCanonicalFileName(t),r)}))return void(n&&n(e.Diagnostics.File_0_has_unsupported_extension_The_only_supported_extensions_are_1,t,"'"+G.join("', '")+"'"));var a=r(t);if(n)if(a)i&&T.getCanonicalFileName(t)===T.getCanonicalFileName(i.fileName)&&n(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var o=Ye(t);o?n(e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,o,t):n(e.Diagnostics.File_0_not_found,t)}return a}var s=k.allowNonTsExtensions&&r(t);if(s)return s;if(!n||!k.allowNonTsExtensions){var c=e.forEach(G,function(e){return r(t+e)});return n&&!c&&n(e.Diagnostics.File_0_not_found,t+".ts"),c}n(e.Diagnostics.File_0_not_found,t)}function Ke(t,r,n,i,a,o){We(t,function(e){return Xe(e,xe(e),r,i,a,o,n)},function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];O.add(void 0!==i&&void 0!==o&&void 0!==a?e.createFileDiagnostic.apply(void 0,[i,a,o-a,t].concat(r)):e.createCompilerDiagnostic.apply(void 0,[t].concat(r)))},i)}function Ge(t,r,n,i,a){void 0!==n&&void 0!==i&&void 0!==a?O.add(e.createFileDiagnostic(n,i,a-i,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,t,r)):O.add(e.createCompilerDiagnostic(e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,t,r))}function Xe(t,r,n,i,a,o,s){if(ne.has(r)){var c=ne.get(r);return c&&k.forceConsistentCasingInFileNames&&e.getNormalizedAbsolutePath(c.fileName,K)!==e.getNormalizedAbsolutePath(t,K)&&Ge(t,c.fileName,i,a,o),c&&L.get(c.path)&&0===M?(L.set(c.path,!1),k.noResolve||($e(c,n),Qe(c)),I.set(c.path,!1),rt(c)):c&&I.get(c.path)&&M<F&&(I.set(c.path,!1),rt(c)),c}var u;if(i){var l=Ye(t);l&&((i.redirectedReferences||(i.redirectedReferences=[])).push(t),t=l,u=xe(l))}var d=T.getSourceFile(t,k.target,function(r){void 0!==i&&void 0!==a&&void 0!==o?O.add(e.createFileDiagnostic(i,a,o-a,e.Diagnostics.Cannot_read_file_0_Colon_1,t,r)):O.add(e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,r))},le);if(s){var f=e.packageIdToString(s),p=ee.get(f);if(p){var _=function(e,t,r,n){var i=Object.create(e);return i.fileName=r,i.path=n,i.redirectInfo={redirectTarget:e,unredirected:t},Object.defineProperties(i,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),i}(p,d,t,r);return re.set(p.path,!0),ne.set(r,_),te.set(r,s.name),D.push(_),_}d&&(ee.set(f,d),te.set(r,s.name))}if(ne.set(r,d),u&&ne.set(u,d),d){if(L.set(r,M>0),d.path=r,T.useCaseSensitiveFileNames()){var m=r.toLowerCase(),g=ie.get(m);g?Ge(t,g.fileName,i,a,o):ie.set(m,d)}V=V||d.hasNoDefaultLib,k.noResolve||($e(d,n),Qe(d)),rt(d),n?D.unshift(d):D.push(d)}return d}function Ye(t){var r,n=xe(t),i=e.getNormalizedAbsolutePath(t,n);return oe.forEach(function(n,a){void 0===r&&0===i.indexOf(a)&&(r=e.changeExtension(t.replace(a,n),".d.ts"))}),r}function $e(t,r){e.forEach(t.referencedFiles,function(e){Ke(n(e.f
1ileName,t.fileName),r,void 0,t,e.pos,e.end)})}function Qe(t){var r=e.map(t.typeReferenceDirectives,function(e){return e.fileName.toLocaleLowerCase()});if(r)for(var n=q(r,t.fileName),i=0;i<r.length;i++){var a=t.typeReferenceDirectives[i],o=n[i],s=a.fileName.toLocaleLowerCase();e.setResolvedTypeReferenceDirective(t,s,o),Ze(s,o,t,a.pos,a.end)}}function Ze(t,r,n,i,a){var o=P.get(t);if(!o||!o.primary){var s=!0;r?r.primary?Ke(r.resolvedFileName,!1,r.packageId,n,i,a):o?(r.resolvedFileName!==o.resolvedFileName&&T.readFile(r.resolvedFileName)!==Ne(o.resolvedFileName).text&&O.add(et(n,i,a,e.Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,t,r.resolvedFileName,o.resolvedFileName)),s=!1):Ke(r.resolvedFileName,!1,r.packageId,n,i,a):O.add(et(n,i,a,e.Diagnostics.Cannot_find_type_definition_file_for_0,t)),s&&P.set(t,r)}}function et(t,r,n,i){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];return void 0===t||void 0===r||void 0===n?e.createCompilerDiagnostic.apply(void 0,[i].concat(a)):e.createFileDiagnostic.apply(void 0,[t,r,n-r,i].concat(a))}function tt(e){return T.getCanonicalFileName(e)}function rt(t){if(He(t),t.imports.length||t.moduleAugmentations.length){var r=y(t),n={program:w,oldSourceFile:w&&w.getSourceFile(t.fileName),modifiedFilePaths:b},i=ke(r,e.getNormalizedAbsolutePath(t.fileName,K),t,n);e.Debug.assert(i.length===r.length);for(var a=0;a<r.length;a++){var o=i[a];if(e.setResolvedModule(t,r[a],o),o){var s=o.isExternalLibraryImport,c=!e.resolutionExtensionIsTypeScriptOrJson(o.extension),u=s&&c,l=o.resolvedFileName;s&&M++;var d=u&&M>F,f=l&&!v(k,o)&&!k.noResolve&&a<t.imports.length&&!d&&!(c&&!k.allowJs)&&(e.isInJavaScriptFile(t.imports[a])||!(2097152&t.imports[a].flags));d?I.set(t.path,!0):f&&Xe(l,xe(l),!1,t,e.skipTrivia(t.text,t.imports[a].pos),t.imports[a].end,o.packageId),s&&M--}}}else t.resolvedModules=void 0}function nt(t,r){var n=!0;if(t)for(var i=T.getCanonicalFileName(e.getNormalizedAbsolutePath(r,K)),a=0,o=t;a<o.length;a++){var s=o[a];s.isDeclarationFile||0!==T.getCanonicalFileName(e.getNormalizedAbsolutePath(s.fileName,K)).indexOf(i)&&(W.add(e.createCompilerDiagnostic(e.Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,s.fileName,k.rootDir)),n=!1)}return n}function it(t){var r=function(t,r){return t.fileExists(r.path)?r.path:e.combinePaths(r.path,"tsconfig.json")}(T,t),n=e.getNormalizedAbsolutePath(e.getDirectoryPath(r),T.getCurrentDirectory()),i=T.getSourceFile(r,100);if(void 0!==i)return{commandLine:e.parseJsonSourceFileConfigFileContent(i,U,n,void 0,r),sourceFile:i}}function at(t,r){var n,i=e.normalizePath(t.options.rootDir||e.getDirectoryPath(t.options.configFilePath));r.set(i,(n=t).options.declarationDir||n.options.outDir||e.getDirectoryPath(n.options.configFilePath))}function ot(t,r,n,i,a,o){for(var s=!0,c=0,u=ct();c<u.length;c++){var l=u[c];if(e.isObjectLiteralExpression(l.initializer))for(var d=0,f=e.getPropertyAssignment(l.initializer,t);d<f.length;d++){var p=f[d];e.isArrayLiteralExpression(p.initializer)&&p.initializer.elements.length>r&&(W.add(e.createDiagnosticForNodeInSourceFile(k.configFile,p.initializer.elements[r],n,i,a,o)),s=!1)}}s&&W.add(e.createCompilerDiagnostic(n,i,a,o))}function st(t,r,n,i){for(var a=!0,o=0,s=ct();o<s.length;o++){var c=s[o];e.isObjectLiteralExpression(c.initializer)&&_t(c.initializer,t,r,void 0,n,i)&&(a=!1)}a&&W.add(e.createCompilerDiagnostic(n,i))}function ct(){return function(t){var r=pt();if(r)return e.getPropertyAssignment(r,t)}("paths")||e.emptyArray}function ut(e,t,r,n){ft(!0,t,r,e,t,r,n)}function lt(e,t,r){ft(!1,e,void 0,t,r)}function dt(t,r,n,i){var a=function(){if(void 0===j&&(j=null,k.configFile))for(var t=e.getTsConfigObjectLiteralExpression(k.configFile),r=0,n=e.getPropertyAssignment(t,"references");r<n.length;r++){var i=n[r];if(e.isArrayLiteralExpression(i.initializer)){j=i.initializer;break}}return j}();a&&function(t,r,n,i,a,o){if(t.elements.length<=r)return!1;W.add(e.createDiagnosticForNodeInSourceFile(k.configFile,t.elements[r],n,i,a,o))}(a,t,r,n,i)||W.add(e.createCompilerDiagnostic(r,n,i))}function ft(t,r,n,i,a,o,s){var c=pt();(!c||!_t(c,t,r,n,i,a,o,s))&&W.add(e.createCompilerDiagnostic(i,a,o,s))}function pt(){if(void 0===R){R=null;var t=e.getTsConfigObjectLiteralExpression(k.configFile);if(t)for(var r=0,n=e.getPropertyAssignment(t,"compilerOptions");r<n.length;r++){var i=n[r];if(e.isObjectLiteralExpression(i.initializer)){R=i.initializer;break}}}return R}function _t(t,r,n,i,a,o,s,c){for(var u=e.getPropertyAssignment(t,n,i),l=0,d=u;l<d.length;l++){var f=d[l];W.add(e.createDiagnosticForNodeInSourceFile(k.configFile,r?f.name:f.initializer,a,o,s,c))}return!!u.length}function mt(e,t){X.set(xe(e),!0),W.add(t)}function gt(t,r){return 0===e.comparePaths(t,r,K,!T.useCaseSensitiveFileNames())}},e.parseConfigHostFromCompilerHost=h,e.getResolutionDiagnostic=v}(u||(u={})),function(e){e.getFileEmitOutput=function(e,t,r,n,i){var a=[],o=e.emit(t,function(e,t,r){a.push({name:e,writeByteOrderMark:r,text:t})},n,r,i);return{outputFiles:a,emitSkipped:o.emitSkipped}}}(u||(u={})),function(e){!function(t){function r(t,r,n){var i;if(r.imports&&r.imports.length>0)for(var a=t.getTypeChecker(),o=0,s=r.imports;o<s.length;o++){var c=s[o],u=a.getSymbolAtLocation(c);if(u&&u.declarations&&u.declarations[0]){var l=e.getSourceFileOfNode(u.declarations[0]);l&&m(l.path)}}var d=e.getDirectoryPath(r.path);if(r.referencedFiles&&r.referencedFiles.length>0)for(var f=0,p=r.referencedFiles;f<p.length;f++){var _=p[f];m(e.toPath(_.fileName,d,n))}return r.resolvedTypeReferenceDirectiveNames&&r.resolvedTypeReferenceDirectiveNames.forEac
1h(function(t){if(t){var r=t.resolvedFileName;m(e.toPath(r,d,n))}}),i;function m(t){i||(i=e.createMap()),i.set(t,!0)}}function n(e,t){return t&&!t.referencedMap===!e}function i(e,t){t.forEach(function(t,r){e.fileInfos.get(r).signature=t,e.hasCalledUpdateShapeSignature.set(r,!0)})}function a(t,r,n,i,a,o){if(e.Debug.assert(!!n),t.hasCalledUpdateShapeSignature.has(n.path)||i.has(n.path))return!1;var s=t.fileInfos.get(n.path);e.Debug.assert(!!s);var c,u=s.signature;if(n.isDeclarationFile)c=n.version;else{var l=e.getFileEmitOutput(r,n,!0,a);c=l.outputFiles&&l.outputFiles.length>0?o(l.outputFiles[0].text):u}return i.set(n.path,c),!u||c!==u}function o(t,r){if(!t.allFileNames){var n=r.getSourceFiles();t.allFileNames=n===e.emptyArray?e.emptyArray:n.map(function(e){return e.fileName})}return t.allFileNames}function s(t,r){return e.arrayFrom(e.mapDefinedIterator(t.referencedMap.entries(),function(e){var t=e[0];return e[1].has(r)?t:void 0}))}function c(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];if(!e.isModuleWithStringLiteralName(i))return!1}return!0}function u(t,r,n){if(t.allFilesExcludingDefaultLibraryFile)return t.allFilesExcludingDefaultLibraryFile;var i;c(n);for(var a=0,o=r.getSourceFiles();a<o.length;a++){var s=o[a];s!==n&&c(s)}return t.allFilesExcludingDefaultLibraryFile=i||e.emptyArray,t.allFilesExcludingDefaultLibraryFile;function c(e){r.isSourceFileDefaultLibrary(e)||(i||(i=[])).push(e)}}t.canReuseOldState=n,t.create=function(t,i,a){for(var o=e.createMap(),s=t.getCompilerOptions().module!==e.ModuleKind.None?e.createMap():void 0,c=e.createMap(),u=n(s,a),l=0,d=t.getSourceFiles();l<d.length;l++){var f=d[l],p=f.version,_=u&&a.fileInfos.get(f.path);if(s){var m=r(t,f,i);m&&s.set(f.path,m)}o.set(f.path,{version:p,signature:_&&_.signature})}return{fileInfos:o,referencedMap:s,hasCalledUpdateShapeSignature:c,allFilesExcludingDefaultLibraryFile:void 0,allFileNames:void 0}},t.getFilesAffectedBy=function(t,r,n,o,l,d){var f=d||e.createMap(),p=r.getSourceFileByPath(n);if(!p)return e.emptyArray;if(!a(t,r,p,f,o,l))return[p];var _=(t.referencedMap?function(t,r,n,i,o,l){if(!e.isExternalModule(n)&&!c(n))return u(t,r,n);var d=r.getCompilerOptions();if(d&&(d.isolatedModules||d.out||d.outFile))return[n];var f=e.createMap();f.set(n.path,n);for(var p=s(t,n.path);p.length>0;){var _=p.pop();if(!f.has(_)){var m=r.getSourceFileByPath(_);f.set(_,m),m&&a(t,r,m,i,o,l)&&p.push.apply(p,s(t,_))}}return e.arrayFrom(e.mapDefinedIterator(f.values(),function(e){return e}))}:function(e,t,r){var n=t.getCompilerOptions();return n&&(n.out||n.outFile)?[r]:u(e,t,r)})(t,r,p,f,o,l);return d||i(t,f),_},t.updateSignaturesFromCache=i,t.getAllDependencies=function(t,r,n){var i,a=r.getCompilerOptions();if(a.outFile||a.out)return o(t,r);if(!t.referencedMap||!e.isExternalModule(n)&&!c(n))return o(t,r);for(var s=e.createMap(),u=[n.path];u.length;){var l=u.pop();if(!s.has(l)){s.set(l,!0);var d=t.referencedMap.get(l);if(d)for(var f=d.keys(),p=f.next(),_=p.value,m=p.done;!m;_=(i=f.next()).value,m=i.done,i)u.push(_)}}return e.arrayFrom(e.mapDefinedIterator(s.keys(),function(e){var t=r.getSourceFileByPath(e);return t?t.fileName:e}))}}(e.BuilderState||(e.BuilderState={}))}(u||(u={})),function(e){function t(t,r,n){var i=e.BuilderState.create(t,r,n);i.program=t;var a=t.getCompilerOptions();a.outFile||a.out||(i.semanticDiagnosticsPerFile=e.createMap()),i.changedFilesSet=e.createMap();var o=e.BuilderState.canReuseOldState(i.referencedMap,n),s=o&&n.semanticDiagnosticsPerFile&&!!i.semanticDiagnosticsPerFile;o&&(n.currentChangedFilePath||e.Debug.assert(!n.affectedFiles&&(!n.currentAffectedFilesSignatures||!n.currentAffectedFilesSignatures.size),"Cannot reuse if only few affected files of currentChangedFile were iterated"),s&&e.Debug.assert(!e.forEachKey(n.changedFilesSet,function(e){return n.semanticDiagnosticsPerFile.has(e)}),"Semantic diagnostics shouldnt be available for changed files"),e.copyEntries(n.changedFilesSet,i.changedFilesSet));var c=i.referencedMap,u=o&&n.referencedMap;return i.fileInfos.forEach(function(t,r){var a,l,d,f;if(o&&(a=n.fileInfos.get(r))&&a.version===t.version&&(d=l=c&&c.get(r),f=u&&u.get(r),d===f||d&&f&&d.size===f.size&&!e.forEachKey(d,function(e){return!f.has(e)}))&&(!l||!e.forEachKey(l,function(e){return!i.fileInfos.has(e)&&n.fileInfos.has(e)}))){if(s){var p=n.semanticDiagnosticsPerFile.get(r);p&&i.semanticDiagnosticsPerFile.set(r,p)}}else i.changedFilesSet.set(r,!0)}),i}function r(t,r){e.Debug.assert(!r||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==r||!t.semanticDiagnosticsPerFile.has(r.path))}function n(t,r,n){for(;;){var i=t.affectedFiles;if(i){for(var a=t.seenAffectedFiles,o=t.semanticDiagnosticsPerFile,s=t.affectedFilesIndex;s<i.length;){var c=i[s];if(!a.has(c.path))return t.affectedFilesIndex=s,o.delete(c.path),c;a.set(c.path,!0),s++}t.changedFilesSet.delete(t.currentChangedFilePath),t.currentChangedFilePath=void 0,e.BuilderState.updateSignaturesFromCache(t,t.currentAffectedFilesSignatures),t.currentAffectedFilesSignatures.clear(),t.affectedFiles=void 0}var u=t.changedFilesSet.keys().next();if(u.done)return;var l=t.program.getCompilerOptions();if(l.outFile||l.out)return e.Debug.assert(!t.semanticDiagnosticsPerFile),t.program;t.currentAffectedFilesSignatures=t.currentAffectedFilesSignatures||e.createMap(),t.affectedFiles=e.BuilderState.getFilesAffectedBy(t,t.program,u.value,r,n,t.currentAffectedFilesSignatures),t.currentChangedFilePath=u.value,t.semanticDiagnosticsPerFile.delete(u.value),t.affectedFilesIndex=0,t.seenAffectedFiles=t.seenAffectedFiles||e.createMap()}}
1function i(e,t){t===e.program?e.changedFilesSet.clear():(e.seenAffectedFiles.set(t.path,!0),e.affectedFilesIndex++)}function a(e,t,r){return i(e,r),{result:t,affected:r}}function o(e,t,r){var n=t.path,i=e.semanticDiagnosticsPerFile.get(n);if(i)return i;var a=e.program.getSemanticDiagnostics(t,r);return e.semanticDiagnosticsPerFile.set(n,a),a}var s;!function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(s=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(t,r,n,i,a){var o,s,c;return void 0===t?(e.Debug.assert(void 0===r),o=n,c=i,e.Debug.assert(!!c),s=c.getProgram()):e.isArray(t)?(c=i,s=e.createProgram(t,r,n,c&&c.getProgram(),a),o=n):(s=t,o=r,c=n,a=i),{host:o,newProgram:s,oldProgram:c,configFileParsingDiagnostics:a||e.emptyArray}},e.createBuilderProgram=function(c,u){var l=u.newProgram,d=u.host,f=u.oldProgram,p=u.configFileParsingDiagnostics,_=f&&f.getState();if(_&&l===_.program&&p===l.getConfigFileParsingDiagnostics())return l=void 0,_=void 0,f;var m=e.createGetCanonicalFileName(d.useCaseSensitiveFileNames()),g=d.createHash||e.identity,h=t(l,m,_);l=void 0,f=void 0,_=void 0;var v={getState:function(){return h},getProgram:function(){return h.program},getCompilerOptions:function(){return h.program.getCompilerOptions()},getSourceFile:function(e){return h.program.getSourceFile(e)},getSourceFiles:function(){return h.program.getSourceFiles()},getOptionsDiagnostics:function(e){return h.program.getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return h.program.getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return p||h.program.getConfigFileParsingDiagnostics()},getSyntacticDiagnostics:function(e,t){return h.program.getSyntacticDiagnostics(e,t)},getSemanticDiagnostics:function(t,a){r(h,t);var u,l=h.program.getCompilerOptions();if(l.outFile||l.out)return e.Debug.assert(!h.semanticDiagnosticsPerFile),h.program.getSemanticDiagnostics(t,a);if(t)return o(h,t,a);if(c===s.SemanticDiagnosticsBuilderProgram)for(var d=void 0;d=n(h,a,g);)i(h,d);for(var f=0,p=h.program.getSourceFiles();f<p.length;f++){var _=p[f];u=e.addRange(u,o(h,_,a))}return u||e.emptyArray},emit:function(t,n,i,a,o){if(c===s.EmitAndSemanticDiagnosticsBuilderProgram&&(r(h,t),!t)){for(var u=[],l=void 0,f=void 0,p=[],_=void 0;_=y(n,i,a,o);)l=l||_.result.emitSkipped,f=e.addRange(f,_.result.diagnostics),p=e.addRange(p,_.result.emittedFiles),u=e.addRange(u,_.result.sourceMaps);return{emitSkipped:l,diagnostics:f||e.emptyArray,emittedFiles:p,sourceMaps:u}}return h.program.emit(t,n||d.writeFile,i,a,o)},getAllDependencies:function(t){return e.BuilderState.getAllDependencies(h,h.program,t)},getCurrentDirectory:function(){return h.program.getCurrentDirectory()}};return c===s.SemanticDiagnosticsBuilderProgram?v.getSemanticDiagnosticsOfNextAffectedFile=function(e,t){for(;;){var r=n(h,e,g);if(!r)return;if(r===h.program)return a(h,h.program.getSemanticDiagnostics(void 0,e),r);if(!t||!t(r))return a(h,o(h,r,e),r);i(h,r)}}:c===s.EmitAndSemanticDiagnosticsBuilderProgram?v.emitNextAffectedFile=y:e.notImplemented(),v;function y(e,t,r,i){var o=n(h,t,g);if(o)return a(h,h.program.emit(o===h.program?void 0:o,e||d.writeFile,t,r,i),o)}}}(u||(u={})),function(e){e.createSemanticDiagnosticsBuilderProgram=function(t,r,n,i,a){return e.createBuilderProgram(e.BuilderProgramKind.SemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(t,r,n,i,a))},e.createEmitAndSemanticDiagnosticsBuilderProgram=function(t,r,n,i,a){return e.createBuilderProgram(e.BuilderProgramKind.EmitAndSemanticDiagnosticsBuilderProgram,e.getBuilderCreationParameters(t,r,n,i,a))},e.createAbstractBuilder=function(t,r,n,i,a){var o=e.getBuilderCreationParameters(t,r,n,i,a).newProgram;return{getProgram:function(){return o},getState:e.notImplemented,getCompilerOptions:e.notImplemented,getSourceFile:e.notImplemented,getSourceFiles:e.notImplemented,getOptionsDiagnostics:e.notImplemented,getGlobalDiagnostics:e.notImplemented,getConfigFileParsingDiagnostics:e.notImplemented,getSyntacticDiagnostics:e.notImplemented,getSemanticDiagnostics:e.notImplemented,emit:e.notImplemented,getAllDependencies:e.notImplemented,getCurrentDirectory:e.notImplemented}}}(u||(u={})),function(e){e.maxNumberOfFilesToIterateForInvalidation=256,e.createResolutionCache=function(t,r,n){var i,a,o,s=!1,c=e.memoize(function(){return t.getCurrentDirectory()}),u=t.getCachedDirectoryStructureHost(),l=e.createMap(),d=e.createMap(),f=e.createMap(),p=e.createModuleResolutionCacheWithMaps(d,f,c(),t.getCanonicalFileName),_=e.createMap(),m=e.createMap(),g=[".ts",".tsx",".js",".jsx",".json"],h=e.createMap(),v=e.createMap(),y=r&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(r,c())),b=y&&t.toPath(y),x=e.createMap();return{startRecordingFilesWithChangedResolutions:function(){i=[]},finishRecordingFilesWithChangedResolutions:function(){var e=i;return i=void 0,e},startCachingPerDirectoryResolution:T,finishCachingPerDirectoryResolution:function(){s=!1,o=void 0,v.forEach(function(e,t){0===e.refCount&&(v.delete(t),e.watcher.close())}
1),T()},resolveModuleNames:function(e,t,r){return D(e,t,l,d,w,S,r,n)},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,r){var n=l.get(t.toPath(r));return n&&n.get(e)},resolveTypeReferenceDirectives:function(t,r){return D(t,r,_,m,e.resolveTypeReferenceDirective,k,void 0,!1)},removeResolutionsOfFile:U,invalidateResolutionOfFile:function(e){U(e),J(function(r,n){var i=n(r);return i&&t.toPath(i.resolvedFileName)===e})},setFilesWithInvalidatedNonRelativeUnresolvedImports:function(t){e.Debug.assert(o===t||void 0===o),o=t},createHasInvalidatedResolution:function(t){if(s||t)return a=void 0,e.returnTrue;var r=a;return a=void 0,function(e){return r&&r.has(e)||E(e)}},updateTypeRootsWatch:function(){var r=t.getCompilationSettings();if(r.types)W();else{var n=e.getEffectiveTypeRoots(r,{directoryExists:G,getCurrentDirectory:c});n?e.mutateMap(x,e.arrayToMap(n,function(e){return t.toPath(e)}),{createNewValue:K,onDeleteValue:e.closeFileWatcher}):W()}},closeTypeRootsWatch:W,clear:function(){e.clearMap(v,e.closeFileWatcherOf),h.clear(),W(),l.clear(),_.clear(),s=!1,T()}};function S(e){return e.resolvedModule}function k(e){return e.resolvedTypeReferenceDirective}function C(t,r){return!(void 0===t||r.length<=t.length)&&e.startsWith(r,t)&&r[t.length]===e.directorySeparator}function E(e){if(!o)return!1;var t=o.get(e);return t&&!!t.length}function T(){d.clear(),f.clear(),m.clear()}function w(r,n,i,a){var o=e.resolveModuleName(r,n,i,a,p);if(!t.getGlobalCache)return o;var s=t.getGlobalCache();if(void 0!==s&&!e.isExternalModuleNameRelative(r)&&(!o.resolvedModule||!e.extensionIsTypeScript(o.resolvedModule.extension))){var c=e.loadModuleFromGlobalCache(r,t.projectName,i,a,s),u=c.resolvedModule,l=c.failedLookupLocations;if(u)return{resolvedModule:u,failedLookupLocations:e.addRange(o.failedLookupLocations,l)}}return o}function D(r,n,a,o,c,u,l,d){var f=t.toPath(n),p=a.get(f)||a.set(f,e.createMap()).get(f),_=e.getDirectoryPath(f),m=o.get(_);m||(m=e.createMap(),o.set(_,m));for(var g=[],h=t.getCompilationSettings(),v=d&&E(f),y=e.createMap(),b=0,x=r;b<x.length;b++){var S=x[b],k=p.get(S);if(!y.has(S)&&s||!k||k.isInvalidated||v&&!e.isExternalModuleNameRelative(S)&&!u(k)){var C=k,T=m.get(S);T?k=T:(k=c(S,n,h,t),m.set(S,k)),p.set(S,k),L(k),C&&j(C),d&&i&&!w(C,k)&&(i.push(f),d=!1)}e.Debug.assert(void 0!==k&&!k.isInvalidated),y.set(S,!0),g.push(u(k))}return p.forEach(function(t,r){y.has(r)||e.contains(l,r)||(j(t),p.delete(r))}),g;function w(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=u(e),n=u(t);return r===n||!(!r||!n)&&r.resolvedFileName===n.resolvedFileName}}function A(t){return e.endsWith(t,"/node_modules")}function N(t){return e.endsWith(t,"/node_modules/@types")}function P(t){var r=e.getRootLength(t);if(t.length===r)return!1;var n=t.indexOf(e.directorySeparator,r);if(-1===n)return!1;if(47!==t.charCodeAt(0)&&-1===t.substr(r,n).search(/users/i))return!0;for(var i=n+1,a=2;a>0;a--)if(0===(i=t.indexOf(e.directorySeparator,i)+1))return!1;return!0}function O(e,t){return P(t)||(e.ignore=!0),e}function F(t,r){return C(b,r)?{dir:y,dirPath:b}:M(e.getDirectoryPath(e.getNormalizedAbsolutePath(t,c())),e.getDirectoryPath(r))}function M(t,r){for(;e.stringContains(r,"/node_modules/");)t=e.getDirectoryPath(t),r=e.getDirectoryPath(r);if(A(r))return O({dir:t,dirPath:r},e.getDirectoryPath(r));var n;if(void 0!==b)for(;!C(r,b);){var i=e.getDirectoryPath(r);if(i===r)break;n=r.slice(i.length+e.directorySeparator.length),r=i,t=e.getDirectoryPath(t)}return O({dir:t,dirPath:r,subDirectory:n},r)}function I(t){return e.fileExtensionIsOneOf(t,g)}function L(e){if(e.failedLookupLocations&&e.failedLookupLocations.length)if(void 0===e.refCount){e.refCount=1;for(var r=!1,n=0,i=e.failedLookupLocations;n<i.length;n++){var a=i[n],o=t.toPath(a),s=F(a,o),c=s.dir,u=s.dirPath,l=s.ignore,d=s.subDirectory;if(!l){if(!I(o)){var f=h.get(o)||0;h.set(o,f+1)}u===b?r=!0:R(c,u,d)}}r&&R(y,b)}else e.refCount++}function R(t,r,n){var i=v.get(r);if(i?i.refCount++:(i={watcher:z(t,r),refCount:1},v.set(r,i)),n){var a=i.subDirectoryMap||(i.subDirectoryMap=e.createMap()),o=a.get(n)||0;a.set(n,o+1)}}function j(r){if(r.failedLookupLocations&&r.failedLookupLocations.length&&(r.refCount--,!r.refCount)){for(var n=!1,i=0,a=r.failedLookupLocations;i<a.length;i++){var o=a[i],s=t.toPath(o),c=F(o,s),u=c.dirPath,l=c.ignore,d=c.subDirectory;if(!l){var f=h.get(s);f&&(1===f?h.delete(s):(e.Debug.assert(f>1),h.set(s,f-1))),u===b?n=!0:B(u,d)}}n&&B(b)}}function B(e,t){var r=v.get(e);if(t){var n=r.subDirectoryMap.get(t);1===n?r.subDirectoryMap.delete(t):r.subDirectoryMap.set(t,n-1)}r.refCount--}function z(r,n){return t.watchDirectoryOfFailedLookupLocation(r,function(r){var i=t.toPath(r);u&&u.addOrDeleteFileOrDirectory(r,i),s||n!==b&&!A(n)&&e.getDirectoryPath(i)!==n&&!function(t,r){var n=v.get(t);return!(!n||!n.subDirectoryMap)&&e.forEachKey(n.subDirectoryMap,function(e){var n=t+"/"+e;return n===r||C(n,r)})}(n,i)||H(i,n===i)&&t.onInvalidatedResolution()},1)}function q(e,t){var r=e.get(t);r&&(r.forEach(j),e.delete(t))}function U(e){q(l,e),q(_,e)}function V(t,r,n){var i=e.createMap();t.forEach(function(t,o){var s=e.getDirectoryPath(o),c=i.get(s);c||(c=e.createMap(),i.set(s,c)),t.forEach(function(t,i){c.has(i)||(c.set(i,!0),!t.isInvalidated&&r(t,n)&&(t.isInvalidated=!0,(a||(a=e.createMap())
1).set(o,!0)))})})}function J(r){!function(){var r=t.maxNumberOfFilesToIterateForInvalidation||e.maxNumberOfFilesToIterateForInvalidation;return l.size>r||_.size>r}()?(V(l,r,S),V(_,r,k)):s=!0}function H(r,n){var i;if(n)i=function(e){return C(r,t.toPath(e))};else{var o=e.getDirectoryPath(r);if(N(r)||A(r)||N(o)||A(o))i=function(n){return t.toPath(n)===r||e.startsWith(t.toPath(n),r)};else{if(!I(r)&&!h.has(r))return!1;if(e.isEmittedFileOfProgram(t.getCurrentProgram(),r))return!1;i=function(e){return t.toPath(e)===r}}}var c=a&&a.size;return J(function(t){return e.some(t.failedLookupLocations,i)}),s||a&&a.size!==c}function W(){e.clearMap(x,e.closeFileWatcher)}function K(e,r){return t.watchTypeRootsDirectory(r,function(n){var i=t.toPath(n);u&&u.addOrDeleteFileOrDirectory(n,i),t.onChangedAutomaticTypeDirectiveNames();var a=function(e,t){if(!s){if(C(b,t))return b;var r=M(e,t),n=r.dirPath;return!r.ignore&&v.has(n)&&n}}(r,e);a&&H(i,a===i)&&t.onInvalidatedResolution()},1)}function G(r){var n=e.getDirectoryPath(e.getDirectoryPath(r)),i=t.toPath(n);return i===b||P(i)}}}(u||(u={})),function(e){!function(t){function r(t,r,n,i){return{moduleResolutionKind:e.getEmitModuleResolutionKind(t),addJsExtension:function(t){var r=t.imports;return e.firstDefined(r,function(t){var r=t.text;return e.pathIsRelative(r)?e.fileExtensionIs(r,".js"):void 0})||!1}(r),getCanonicalFileName:e.createGetCanonicalFileName(!i.useCaseSensitiveFileNames||i.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(n)}}function n(t,r,n,i){var a=r.addJsExtension,c=r.getCanonicalFileName,u=r.sourceDirectory;return function(t,r,n,i,a){var o=e.getEffectiveTypeRoots(t,r);return e.firstDefined(o,function(t){var r=e.toPath(t,void 0,n);if(e.startsWith(i,r))return s(i.substring(r.length+1),e.ModuleResolutionKind.NodeJs,a)})}(i,n,c,t,a)||function(t,r,n,i,a){if(e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs)return;var o=function(e){var t,r=0,n=0,i=0,a=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(t||(t={}));var o=0,s=0,c=0;for(;s>=0;)switch(o=s,s=e.indexOf("/",o+1),c){case 0:e.indexOf("/node_modules/",o)===o&&(r=o,n=s,c=1);break;case 1:case 2:1===c&&"@"===e.charAt(o+1)?c=2:(i=s,c=3);break;case 3:c=e.indexOf("/node_modules/",o)===o?1:3}return a=o,c>1?{topLevelNodeModulesIndex:r,topLevelPackageNameIndex:n,packageRootIndex:i,fileNameIndex:a}:void 0}(r);if(!o)return;var s=function(t){var r=t.substring(0,o.packageRootIndex),a=e.combinePaths(r,"package.json");if(n.fileExists(a)){var s=JSON.parse(n.readFile(a));if(s){var c=s.typings||s.types||s.main;if(c){var u=e.toPath(c,r,i);if(u===i(t))return r}}}var l=e.removeFileExtension(t);if("/index"===i(l.substring(o.fileNameIndex))&&!function(t,r){for(var n=e.getSupp
1ortedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),i=0,a=n;i<a.length;i++){var o=a[i],s=r+o;if(t.fileExists(s))return s}}(n,l.substring(0,o.fileNameIndex)))return l.substring(0,o.fileNameIndex);return l}(r);return s=function(t){var r=t.substring(0,o.topLevelNodeModulesIndex);return 0===a.indexOf(r)?t.substring(o.topLevelPackageNameIndex+1):e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(a,t,i))}(s),e.getPackageNameFromAtTypesDirectory(s)}(i,t,n,c,u)||i.rootDirs&&function(t,r,n,i){var a=o(r,t,i);if(void 0===a)return;var s=o(n,t,i),c=void 0!==s?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(s,a,i)):a;return e.removeFileExtension(c)}(i.rootDirs,t,u,c)}function i(t,r,n,i){var o=r.moduleResolutionKind,l=r.addJsExtension,d=r.getCanonicalFileName,f=r.sourceDirectory,p=n.baseUrl,_=n.paths,m=s(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(f,t,d)),o,l);if(!p||"relative"===i.importModuleSpecifierPreference)return[m];var g=c(t,p,d);if(!g)return[m];var h=s(g,o,l);if(_){var v=function(t,r,n){for(var i in n)for(var a=0,o=n[i];a<o.length;a++){var s=o[a],c=e.removeFileExtension(e.normalizePath(s)),u=c.indexOf("*");if(0!==u||1!==c.length)if(-1!==u){var l=c.substr(0,u),d=c.substr(u+1);if(r.length>=l.length+d.length&&e.startsWith(r,l)&&e.endsWith(r,d)){var f=r.substr(l.length,r.length-d.length);return i.replace("*",f)}}else if(c===r||c===t)return i}}(e.removeFileExtension(g),h,_);if(v)return[v]}if("non-relative"===i.importModuleSpecifierPreference)return[h];if(void 0!==i.importModuleSpecifierPreference&&e.Debug.assertNever(i.importModuleSpecifierPreference),u(g))return[m];var y=e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(f,p,d));return a(m)<a(y)?[m,h]:[h,m]}function a(t){var r=e.getPathComponents(t);if(r[0]||1===r.length)return 0;for(var n=1;n<r.length;n++)if(".."!==r[n])return n-1;return r.length-1}function o(t,r,n){return e.firstDefined(r,function(e){var r=c(t,e,n);return u(r)?void 0:r})}function s(t,r,n){var i=e.removeFileExtension(t);return n?i+".js":r===e.ModuleResolutionKind.NodeJs?e.removeSuffix(i,"/index"):i}function c(t,r,n){var i=e.getRelativePathToDirectoryOrUrl(r,t,r,n,!1);return e.isRootedDiskPath(i)?void 0:i}function u(t){return e.startsWith(t,"..")}t.getModuleSpecifier=function(t,a,o,s,c,u){void 0===u&&(u={});var l=r(t,a,o,c);return n(s,l,c,t)||e.first(i(s,l,t,u))},t.getModuleSpecifiers=function(t,a,o,s,c,u){var l=function(t){var r=t.valueDeclaration;if(e.isModuleDeclaration(r)&&e.isStringLiteral(r.name))return r.name.text}(t);if(l)return[[l]];var d=r(a,o,o.path,s);if(!c)return e.Debug.fail("Files list must be present to resolve symlinks in specifier resolution");var f=function(t,r,n,i){var a=r.fileName,o=e.mapDefined(t,function(t){return t.resolvedModules&&e.firstDefinedIterator(t.resolvedModules.values(),function(e){return e&&e.resolvedFileName===a?e.originalPath:void 0})});return 0===o.length?function(t,r,n,i){for(var a,o=function(t){var r=e.mapDefined(t,function(t){return t.resolvedModules&&e.firstDefinedIterator(t.resolvedModules.values(),function(e){return e&&e.originalPath&&e.resolvedFileName!==e.originalPath?[e.resolvedFileName,e.originalPath]:void 0})}),n=e.createMap();if(r)for(var i=0,a=r;i<a.length;i++){for(var o=a[i],s=o[0],c=o[1],u=e.getPathComponents(s),l=e.getPathComponents(c);u[u.length-1]===l[l.length-1];)u.pop(),l.pop();n.set(e.getPathFromPathComponents(l),e.getPathFromPathComponents(u))}return n}(t),s=e.arrayFrom(o.keys()),c=0,u=s;c<u.length;c++){var l=u[c],d=o.get(l);if(e.startsWith(r,d+"/")){var f=e.getRelativePathFromDirectory(d,r,n),p=e.resolvePath(l,f);i.fileExists&&!i.fileExists(p)||(a||(a=[]),a.push(p))}}var _=i.getCurrentDirectory?e.resolvePath(i.getCurrentDirectory(),r):r;return a?(a.push(_),a):[_]}(t,a,n,i):o}(c,e.getSourceFileOfNode(t.valueDeclaration),d.getCanonicalFileName,s),p=e.mapDefined(f,function(e){return n(e,d,s,a)});return p.length?p.map(function(e){return[e]}):f.map(function(e){return i(e,d,a,u)})}}(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(u||(u={})),function(e){var t=e.sys?{getCurrentDirectory:function(){return e.sys.getCurrentDirectory()},getNewLine:function(){return e.sys.newLine},getCanonicalFileName:e.createGetCanonicalFileName(e.sys.useCaseSensitiveFileNames)}:void 0;function r(r,n){var i=r===e.sys?t:{getCurrentDirectory:function(){return r.getCurrentDirectory()},getNewLine:function(){return r.newLine},getCanonicalFileName:e.createGetCanonicalFileName(r.useCaseSensitiveFileNames)};if(!n)return function(t){return r.write(e.formatDiagnostic(t,i))};var a=new Array(1);return function(t){a[0]=t,r.write(e.formatDiagnosticsWithColorAndContext(a,i)+i.getNewLine()),a[0]=void 0}}function n(t,r,n){return!(!t.clearScreen||n.preserveWatchOutput||n.extendedDiagnostics||n.diagnostics||e.contains(e.nonClearingMessageCodes,r.code))&&(t.clearScreen(),!0)}function i(t,r){return r?function(r,i,a){n(t,r,a);var o="["+e.formatColorAndReset((new Date).toLocaleTimeString(),e.ForegroundColorEscapeSequences.Grey)+"] ";
1o+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+(i+i),t.write(o)}:function(r,i,a){var o="";n(t,r,a)||(o+=i),o+=(new Date).toLocaleTimeString()+" - ",o+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+function(t,r){return e.contains(e.screenStartingMessageCodes,t.code)?r+r:r}(r,i),t.write(o)}}function a(t,r,n,i){var a=t.getConfigFileParsingDiagnostics().slice(),o=a.length;e.addRange(a,t.getSyntacticDiagnostics());var s=!1;a.length===o&&(e.addRange(a,t.getOptionsDiagnostics()),e.addRange(a,t.getGlobalDiagnostics()),a.length===o&&(s=!0));var c=t.emit(),u=c.emittedFiles,l=c.emitSkipped,d=c.diagnostics;if(e.addRange(a,d),s&&e.addRange(a,t.getSemanticDiagnostics()),e.sortAndDeduplicateDiagnostics(a).forEach(r),n){var f=t.getCurrentDirectory();e.forEach(u,function(t){var r=e.getNormalizedAbsolutePath(t,f);n("TSFILE: "+r)}),t.getCompilerOptions().listFiles&&e.forEach(t.getSourceFiles(),function(e){n(e.fileName)})}return i&&i(a.filter(function(t){return t.category===e.DiagnosticCategory.Error}).length),l&&a.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:a.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}e.createDiagnosticReporter=r,e.nonClearingMessageCodes=[e.Diagnostics.Found_1_error_Watching_for_file_changes.code,e.Diagnostics.Found_0_errors_Watching_for_file_changes.code],e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.createWatchStatusReporter=i,e.parseConfigFileWithSystem=function(t,r,n,i){var a=n;a.onUnRecoverableConfigFileDiagnostic=function(t){return c(e.sys,i,t)};var o=e.getParsedCommandLineOfConfigFile(t,r,a);return a.onUnRecoverableConfigFileDiagnostic=void 0,o},e.emitFilesAndReportErrors=a;var o={close:e.noop};function s(t,r,n,s){void 0===t&&(t=e.sys),r||(r=e.createEmitAndSemanticDiagnosticsBuilderProgram);var c=function(e){return t.write(e+t.newLine)},u=s||i(t);return{useCaseSensitiveFileNames:function(){return t.useCaseSensitiveFileNames},getNewLine:function(){return t.newLine},getCurrentDirectory:function(){return t.getCurrentDirectory()},getDefaultLibLocation:l,getDefaultLibFileName:function(t){return e.combinePaths(l(),e.getDefaultLibFileName(t))},fileExists:function(e){return t.fileExists(e)},readFile:function(e,r){return t.readFile(e,r)},directoryExists:function(e){return t.directoryExists(e)},getDirectories:function(e){return t.getDirectories(e)},readDirectory:function(e,r,n,i,a){return t.readDirectory(e,r,n,i,a)},realpath:t.realpath&&function(e){return t.realpath(e)},getEnvironmentVariable:t.getEnvironmentVariable&&function(e){return t.getEnvironmentVariable(e)},watchFile:t.watchFile?function(e,r,n){return t.watchFile(e,r,n)}:function(){return o},watchDirectory:t.watchDirectory?function(e,r,n){return t.watchDirectory(e,r,n)}:function(){return o},setTimeout:t.setTimeout?function(e,r){for(var n,i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];return(n=t.setTimeout).call.apply(n,[t,e,r].concat(i))}:e.noop,clearTimeout:t.clearTimeout?function(e){return t.clearTimeout(e)}:e.noop,trace:function(e){return t.write(e)},onWatchStatusChange:u,createDirectory:function(e){return t.createDirectory(e)},writeFile:function(e,r,n){return t.writeFile(e,r,n)},onCachedDirectoryStructureHostCreate:function(e){return e||t},createHash:t.createHash&&function(e){return t.createHash(e)},createProgram:r,afterProgramCreate:function(r){var i=r.getCompilerOptions(),o=e.getNewLineCharacter(i,function(){return t.newLine});a(r,n,c,function(t){u(1===t?e.createCompilerDiagnostic(e.Diagnostics.Found_1_error_Watching_for_file_changes,t):e.createCompilerDiagnostic(e.Diagnostics.Found_0_errors_Watching_for_file_changes,t,t),o,i)})}};function l(){return e.getDirectoryPath(e.normalizePath(t.getExecutingFilePath()))}}function c(t,r,n){r(n),t.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createWatchCompilerHostOfConfigFile=function(e,t,n,i,a,o){a=a||r(n);var u=s(n,i,a,o);return u.onUnRecoverableConfigFileDiagnostic=function(e){return c(n,a,e)},u.configFileName=e,u.optionsToExtend=t,u},e.createWatchCompilerHostOfFilesAndCompilerOptions=function(e,t,n,i,a,o){var c=s(n,i,a||r(n),o);return c.rootFiles=e,c.options=t,c}}(u||(u={})),function(e){e.createWatchCompilerHost=function(t,r,n,i,a,o){return e.isArray(t)?e.createWatchCompilerHostOfFilesAndCompilerOptions(t,r,n,i,a,o):e.createWatchCompilerHostOfConfigFile(t,r,n,i,a,o)};var t=1;e.createWatchProgram=function(r){var n,i,a,o,s,c,u,l,d=e.createMap(),f=!1,p=!1,_=r.useCaseSensitiveFileNames(),m=r.getCurrentDirectory(),g=function(){return m},h=function(e,t){return r.readFile(e,t)},v=r.configFileName,y=r.optionsToExtend,b=void 0===y?{}:y,x=r.createProgram,S=r.rootFiles,k=r.options,C=!1,E=v&&e.createCachedDirectoryStructureHost(r,m,_);E&&r.onCachedDirectoryStructureHostCreate&&r.onCachedDirectoryStructureHostCreate(E);var T=E||r,w={useCaseSensitiveFileNames:_,readDirectory:function(e,t,r,n,i){return T.readDirectory(e,t,r,n,i)},fileExists:function(e){return r.fileExists(e)},readFile:h,getCurrentDirectory:g,onUnRecoverableConfigFileDiagnostic:r.onUnRecoverableConfigFileDiagnostic},D=V();$(e.Diagnostics.Starting_compilation_in_watch_mode),v&&(D=e.getNewLineCharacter(b,function(){return r.getNewLine()}),r.configFileParsingResult?te(r.configFileParsingResult):(e.Debug.assert(!S),ee()),D=V());var A=r.trace&&function(e){r.trace(e+D)},N=A?k.extendedDiagnostics?e.WatchLogLevel.Verbose:k.diagnostis?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,P=N!==e.WatchLogLevel.None?A:e.noop,O=e.getWatchFactory(N,P),F=O.watchFile,M=O.watchFilePath,I=O.wat
1chDirectory,L=e.createGetCanonicalFileName(_);P("Current directory: "+m+" CaseSensitiveFileNames: "+_),v&&F(r,v,function(){e.Debug.assert(!!v),i=e.ConfigFileProgramReloadLevel.Full,Q()},e.PollingInterval.High,"Config file");var R={getSourceFile:function(e,t,r,n){return G(e,J(e),t,r,n)},getSourceFileByPath:G,getDefaultLibLocation:r.getDefaultLibLocation&&function(){return r.getDefaultLibLocation()},getDefaultLibFileName:function(e){return r.getDefaultLibFileName(e)},writeFile:function(t,n,i,a){try{e.performance.mark("beforeIOWrite"),function t(n){if(n.length>e.getRootLength(n)&&!r.directoryExists(n)){var i=e.getDirectoryPath(n);t(i),r.createDirectory(n)}}(e.getDirectoryPath(e.normalizePath(t))),r.writeFile(t,n,i),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(o){a&&a(o.message)}},getCurrentDirectory:g,useCaseSensitiveFileNames:function(){return _},getCanonicalFileName:L,getNewLine:function(){return D},fileExists:K,readFile:h,trace:A,directoryExists:T.directoryExists&&function(e){return T.directoryExists(e)},getDirectories:T.getDirectories&&function(e){return T.getDirectories(e)},realpath:r.realpath&&function(e){return r.realpath(e)},getEnvironmentVariable:r.getEnvironmentVariable?function(e){return r.getEnvironmentVariable(e)}:function(){return""},onReleaseOldSourceFile:function(e,t){var r=d.get(e.path);r&&(H(r)?(c||(c=[])).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),d.delete(e.path),j.removeResolutionsOfFile(e.path)))},createHash:r.createHash&&function(e){return r.createHash(e)},toPath:J,getCompilationSettings:function(){return k},watchDirectoryOfFailedLookupLocation:function(e,t,n){return I(r,e,t,n,"Failed Lookup Locations")},watchTypeRootsDirectory:function(e,t,n){return I(r,e,t,n,"Type roots")},getCachedDirectoryStructureHost:function(){return E},onInvalidatedResolution:Q,onChangedAutomaticTypeDirectiveNames:function(){p=!0,Q()},maxNumberOfFilesToIterateForInvalidation:r.maxNumberOfFilesToIterateForInvalidation,getCurrentProgram:q,writeLog:P},j=e.createResolutionCache(R,v?e.getDirectoryPath(e.getNormalizedAbsolutePath(v,m)):m,!1);R.resolveModuleNames=r.resolveModuleNames?function(e,t,n){return r.resolveModuleNames(e,t,n)}:function(e,t,r){return j.resolveModuleNames(e,t,r)},R.resolveTypeReferenceDirectives=r.resolveTypeReferenceDirectives?function(e,t){return r.resolveTypeReferenceDirectives(e,t)}:function(e,t){return j.resolveTypeReferenceDirectives(e,t)};var B=!!r.resolveModuleNames||!!r.resolveTypeReferenceDirectives;return U(),oe(),v?{getCurrentProgram:z,getProgram:U}:{getCurrentProgram:z,getProgram:U,updateRootFileNames:function(t){e.Debug.assert(!v,"Cannot update root file names with config file watch mode"),S=t,Q()}};function z(){return n}function q(){return n&&n.getProgram()}function U(){P("Synchronizing program");var t=q();f&&(D=V(),t&&e.changesAffectModuleResolution(t.getCompilerOptions(),k)&&j.clear());var i=j.createHasInvalidatedResolution(B);return e.isProgramUptoDate(q(),S,k,Y,K,i,p)?C&&(n=x(void 0,void 0,R,n,l),C=!1):function(t,r){N!==e.WatchLogLevel.None&&(P("CreatingProgramWith::"),P(" roots: "+JSON.stringify(S)),P(" options: "+JSON.stringify(k)));var i=f||!t;if(f=!1,C=!1,j.startCachingPerDirectoryResolution(),R.hasInvalidatedResolution=r,R.hasChangedAutomaticTypeDirectiveNames=p,n=x(S,k,R,n,l),j.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(n.getProgram(),a||(a=e.createMap()),ie),i&&j.updateTypeRootsWatch(),c){for(var o=0,s=c;o<s.length;o++){var u=s[o];a.has(u)||d.delete(u)}c=void 0}}(t,i),r.afterProgramCreate&&r.afterProgramCreate(n),n}function V(){return e.getNewLineCharacter(k||b,function(){return r.getNewLine()})}function J(t){return e.toPath(t,m,L)}function H(e){return"number"===typeof e}function W(e){return!!e.sourceFile}function K(e){var t=J(e);return!!H(d.get(t))||T.fileExists(e)}function G(n,i,a,o,s){var c=d.get(i);if(!H(c)){if(!c||s||!W(c)||c.version.toString()!==c.sourceFile.version){var u=function(){var t;try{e.performance.mark("beforeIORead"),t=r.readFile(n,k.charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(i){o&&o(i.message)}return void 0!==t?e.createSourceFile(n,t,a):void 0}();if(c)s&&c.version++,u?(c.sourceFile=u,u.version=c.version.toString(),c.fileWatcher||(c.fileWatcher=M(r,n,re,e.PollingInterval.Low,i,"Source file"))):(W(c)&&c.fileWatcher.close(),d.set(i,c.version));else if(u){u.version=t.toString();var l=M(r,n,re,e.PollingInterval.Low,i,"Source file");d.set(i,{sourceFile:u,version:t,fileWatcher:l})}else d.set(i,t);return u}return c.sourceFile}}function X(e){var t=d.get(e);void 0!==t&&(H(t)?d.set(e,{version:Number(t)+1}):t.version++)}function Y(e){var t=d.get(e);
1return!t||H(t)?void 0:t.version.toString()}function $(t){r.onWatchStatusChange&&r.onWatchStatusChange(e.createCompilerDiagnostic(t),D,k||b)}function Q(){r.setTimeout&&r.clearTimeout&&(s&&r.clearTimeout(s),P("Scheduling update"),s=r.setTimeout(Z,250))}function Z(){switch(s=void 0,$(e.Diagnostics.File_change_detected_Starting_incremental_compilation),i){case e.ConfigFileProgramReloadLevel.Partial:return function(){P("Reloading new file names and options");var t=e.getFileNamesFromConfigSpecs(u,e.getDirectoryPath(v),k,w);t.fileNames.length?(l=e.filter(l,function(t){return!e.isErrorNoInputFiles(t)}),C=!0):u.filesSpecs||e.some(l,e.isErrorNoInputFiles)||(l=l.concat(e.getErrorForNoInputFiles(u,v)),C=!0),S=t.fileNames,U()}();case e.ConfigFileProgramReloadLevel.Full:return P("Reloading config file: "+v),i=e.ConfigFileProgramReloadLevel.None,E&&E.clearCache(),ee(),f=!0,U(),void oe();default:return void U()}}function ee(){te(e.getParsedCommandLineOfConfigFile(v,b,w))}function te(t){S=t.fileNames,k=t.options,u=t.configFileSpecs,l=e.getConfigFileParsingDiagnostics(t),C=!0}function re(t,r,n){ne(t,n,r),r===e.FileWatcherEventKind.Deleted&&d.get(n)&&j.invalidateResolutionOfFile(n),X(n),Q()}function ne(e,t,r){E&&E.addOrDeleteFile(e,t,r)}function ie(t){return M(r,t,ae,e.PollingInterval.Medium,t,"Missing file")}function ae(t,r,n){ne(t,n,r),r===e.FileWatcherEventKind.Created&&a.has(n)&&(a.get(n).close(),a.delete(n),X(n),Q())}function oe(){u?e.updateWatchingWildcardDirectories(o||(o=e.createMap()),e.createMapFromTemplate(u.wildcardDirectories),se):o&&e.clearMap(o,e.closeFileWatcherOf)}function se(t,n){return I(r,t,function(r){e.Debug.assert(!!v);var n=J(r);E&&E.addOrDeleteFileOrDirectory(r,n),X(n),n===t||!e.hasExtension(n)||e.isSupportedSourceFileName(r,k)?i!==e.ConfigFileProgramReloadLevel.Full&&(i=e.ConfigFileProgramReloadLevel.Partial,Q()):P("Project: "+v+" Detected file add/remove of non supported extension: "+r)},n,"Wild card directories")}}}(u||(u={})),function(e){var t,r;function n(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function i(){if(t)return t;var r=e.createMap(),n=e.createMap();return e.forEach(e.optionDeclarations,function(e){r.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)}),t={optionNameMap:r,shortOptionNames:n}}function a(t){return s(t,e.createCompilerDiagnostic)}function s(t,r){var n=e.arrayFrom(t.type.keys()).map(function(e){return"'"+e+"'"}).join(", ");return r(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+t.name,n)}function c(e,t,r){return I(e,L(t||""),r)}function u(t,r,n){if(void 0===r&&(r=""),r=L(r),!e.startsWith(r,"-")){if(""===r)return[];var i=r.split(",");switch(t.element.type){case"number":return e.map(i,parseInt);case"string":return e.map(i,function(e){return e||""});default:return e.filter(e.map(i,function(e){return c(t.element,e,n)}),function(e){return!!e})}}}function l(e,t){void 0===t&&(t=!1),e=e.toLowerCase();var r=i(),n=r.optionNameMap,a=r.shortOptionNames;if(t){var o=a.get(e);void 0!==o&&(e=o)}return n.get(e)}function d(t,r){var n=e.parseJsonText(t,r);return{config:m(n,n.parseDiagnostics),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function f(t,r){var n=p(t,r);return e.isString(n)?e.parseJsonText(t,n):{parseDiagnostics:[n]}}function p(t,r){var n;try{n=r(t)}catch(i){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,i.message)}return void 0===n?e.createCompilerDiagnostic(e.Diagnostics.The_specified_path_does_not_exist_Colon_0,t):n}function _(t){return e.arrayToMap(t,function(e){return e.name})}function m(e,t){return g(e,t,!0,void 0,void 0)}function g(t,r,n,i,a){return t.statements.length?u(t.statements[0].expression,i):n?{}:void 0;function o(e){return i&&i.elementOptions===e}function c(i,s,c,d){for(var f=n?{}:void 0,p=0,_=i.properties;p<_.length;p++){var m=_[p];if(269===m.kind){m.questionToken&&r.push(e.createDiagnosticForNodeInSourceFile(t,m.questionToken,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?")),l(m.name)||r.push(e.createDiagnosticForNodeInSourceFile(t,m.name,e.Diagnostics.Str
1ing_literal_with_double_quotes_expected));var g=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(m.name)),h=s?s.get(g):void 0;c&&!h&&r.push(e.createDiagnosticForNodeInSourceFile(t,m.name,c,g));var y=u(m.initializer,h);if("undefined"!==typeof g&&(n&&(f[g]=y),a&&(d||o(s)))){var b=v(h,y);d?b&&a.onSetValidOptionKeyValueInParent(d,h,y):o(s)&&(b?a.onSetValidOptionKeyValueInRoot(g,m.name,y,m.initializer):h||a.onSetUnknownOptionKeyValueInRoot(g,m.name,y,m.initializer))}}else r.push(e.createDiagnosticForNodeInSourceFile(t,m,e.Diagnostics.Property_assignment_expected))}return f}function u(i,a){switch(i.kind){case 101:return g(a&&"boolean"!==a.type),!0;case 86:return g(a&&"boolean"!==a.type),!1;case 95:return g(a&&"extends"===a.name),null;case 9:l(i)||r.push(e.createDiagnosticForNodeInSourceFile(t,i,e.Diagnostics.String_literal_with_double_quotes_expected)),g(a&&e.isString(a.type)&&"string"!==a.type);var o=i.text;if(a&&!e.isString(a.type)){var d=a;d.type.has(o.toLowerCase())||r.push(s(d,function(r,n,a){return e.createDiagnosticForNodeInSourceFile(t,i,r,n,a)}))}return o;case 8:return g(a&&"number"!==a.type),Number(i.text);case 197:if(38!==i.operator||8!==i.operand.kind)break;return g(a&&"number"!==a.type),-Number(i.operand.text);case 183:g(a&&"object"!==a.type);var f=i;if(a){var p=a;return c(f,p.elementOptions,p.extraKeyDiagnosticMessage,p.name)}return c(f,void 0,void 0,void 0);case 182:return g(a&&"list"!==a.type),_=i.elements,m=a&&a.element,(n?_.map:_.forEach).call(_,function(e){return u(e,m)})}var _,m;return void(a?g(!0):r.push(e.createDiagnosticForNodeInSourceFile(t,i,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function g(n){n&&r.push(e.createDiagnosticForNodeInSourceFile(t,i,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,a.name,h(a)))}}function l(r){return e.isStringLiteral(r)&&e.isStringDoubleQuoted(r,t)}}function h(t){return"list"===t.type?"Array":e.isString(t.type)?t.type:"string"}function v(t,r){if(t)return!!x(r)||("list"===t.type?e.isArray(r):typeof r===(e.isString(t.type)?t.type:"string"))}function y(e,t,r,n,i,a,o){return k(void 0,e,t,r,n,i,a,o)}function b(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function x(e){return void 0===e||null===e}function S(t,r){return e.getDirectoryPath(e.getNormalizedAbsolutePath(t,r))}function k(t,r,n,i,a,o,s,c){void 0===a&&(a={}),void 0===s&&(s=[]),void 0===c&&(c=[]),e.Debug.assert(void 0===t&&void 0!==r||void 0!==t&&void 0===r);var u=[],l=T(t,r,n,i,o,s,u),d=l.raw,f=e.extend(a,l.options||{});f.configFilePath=o&&e.normalizeSlashes(o),b(f,r);var p=function(){var t,a,l;e.hasProperty(d,"files")&&!x(d.files)&&(e.isArray(d.files)?0===(t=d.files).length&&v(e.Diagnostics.The_files_list_in_config_file_0_is_empty,o||"tsconfig.json"):v(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"files","Array"));e.hasProperty(d,"include")&&!x(d.include)&&(e.isArray(d.include)?a=d.include:v(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"include","Array"));if(e.hasProperty(d,"exclude")&&!x(d.exclude))e.isArray(d.exclude)?l=d.exclude:v(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"exclude","Array");else if(d.compilerOptions){var p=d.compilerOptions.outDir,_=d.compilerOptions.declarationDir;(p||_)&&(l=[p,_].filter(function(e){return!!e}))}void 0===t&&void 0===a&&(a=["**/*"]);var m=function(t,r,n,i,a,o,s,c,u){var l,d;i=e.normalizePath(i),r&&(l=U(r,s,!1,u,"include"));n&&(d=U(n,s,!0,u,"exclude"));var f=function(t,r,n,i){var a=e.getRegularExpressionForWildcard(r,n,"exclude"),o=a&&new RegExp(a,i?"":"i"),s={};if(void 0!==t){for(var c=[],u=0,l=t;u<l.length;u++){var d=l[u],f=e.normalizePath(e.combinePaths(n,d));if(!o||!o.test(f)){var p=V(f,i);if(p){var _=p.key,m=p.flags,g=s[_];(void 0===g||g<m)&&(s[_]=m,1===m&&c.push(_))}}}for(var _ in s)if(e.hasProperty(s,_))for(var h=0,v=c;h<v.length;h++){var y=v[h];_!==y&&e.containsPath(y,_,n,!i)&&delete s[_]}}return s}(l,d,i,o.useCaseSensitiveFileNames);return q({filesSpecs:t,referencesSpecs:void 0,includeSpecs:r,excludeSpecs:n,validatedIncludeSpecs:l,validatedExcludeSpecs:d,wildcardDirectories:f},i,a,o,c)}(t,a,l,o?S(o,i):i,f,n,u,c,r);0!==m.fileNames.length||e.hasProperty(d,"files")||0!==s.length||e.hasProperty(d,"references")||u.push(C(m.spec,o));if(e.hasProperty(d,"references")&&!x(d.references))if(e.isArray(d.references)){for(var g=[],h=0,y=d.references;h<y.length;h++){var b=y[h];"string"!==typeof b.path?v(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):g.push({path:e.getNormalizedAbsolutePath(b.path,i),originalPath:b.path,prepend:b.prepend,circular:b.circular})}m.projectReferences=g}else v(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"references","Array");return m}(),_=p.fileNames,m=p.wildcardDirectories,g=p.spec,h=p.projectReferences;return{options:f,fileNames:_,projectReferences:h,typeAcquisition:l.typeAcquisition||N(),raw:d,errors:u,wildcardDirectories:m,compileOnSave:!!d.compileOnSave,configFileSpecs:g};function v(t,n,i){r||u.push(e.createCompilerDiagnostic(t,n,i))}}function C(t,r){var n=t.includeSpecs,i=t.excludeSpecs;
1return e.createCompilerDiagnostic(e.Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,r||"tsconfig.json",JSON.stringify(n||[]),JSON.stringify(i||[]))}function E(e){return!!e.options}function T(t,n,i,a,o,s,c){a=e.normalizeSlashes(a);var u=e.getNormalizedAbsolutePath(o||"",a);if(s.indexOf(u)>=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,s.concat([u]).join(" -> "))),{raw:t||m(n,c)};var l=t?function(t,r,n,i,a){e.hasProperty(t,"excludes")&&a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=A(t.compilerOptions,n,a,i),c=P(t.typeAcquisition||t.typingOptions,n,a,i);if(t.compileOnSave=function(t,r,n){if(e.hasProperty(t,e.compileOnSaveCommandLineOption.name)){var i=F(e.compileOnSaveCommandLineOption,t.compileOnSave,r,n);return!("boolean"!==typeof i||!i)&&i}}(t,n,a),t.extends)if(e.isString(t.extends)){var u=i?S(i,n):n;o=w(t.extends,r,u,a,e.createCompilerDiagnostic)}else a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:t,options:s,typeAcquisition:c,extendedConfigPath:o}}(t,i,a,o,c):function(t,n,i,a,o){var s,c,u,l=D(a),d={onSetValidOptionKeyValueInParent:function(t,r,n){e.Debug.assert("compilerOptions"===t||"typeAcquisition"===t||"typingOptions"===t);var o="compilerOptions"===t?l:"typeAcquisition"===t?s||(s=N(a)):c||(c=N(a));o[r.name]=function t(r,n,i){if(x(i))return;if("list"===r.type){var a=r;
1return a.element.isFilePath||!e.isString(a.element.type)?e.filter(e.map(i,function(e){return t(a.element,n,e)}),function(e){return!!e}):i}if(!e.isString(r.type))return r.type.get(e.isString(i)?i.toLowerCase():i);return M(r,n,i)}(r,i,n)},onSetValidOptionKeyValueInRoot:function(r,s,c,l){switch(r){case"extends":var d=a?S(a,i):i;return void(u=w(c,n,d,o,function(r,n){return e.createDiagnosticForNodeInSourceFile(t,l,r,n)}));case"files":return void(0===c.length&&o.push(e.createDiagnosticForNodeInSourceFile(t,l,e.Diagnostics.The_files_list_in_config_file_0_is_empty,a||"tsconfig.json")))}},onSetUnknownOptionKeyValueInRoot:function(r,n,i,a){"excludes"===r&&o.push(e.createDiagnosticForNodeInSourceFile(t,n,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},f=g(t,o,!0,(void 0===r&&(r={name:void 0,type:"object",elementOptions:_([{name:"compilerOptions",type:"object",elementOptions:_(e.optionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_compiler_option_0},{name:"typingOptions",type:"object",elementOptions:_(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"typeAcquisition",type:"object",elementOptions:_(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),r),d);s||(s=c?void 0!==c.enableAutoDiscovery?{enable:c.enableAutoDiscovery,include:c.include,exclude:c.exclude}:c:N(a));return{raw:f,options:l,typeAcquisition:s,extendedConfigPath:u}}(n,i,a,o,c);if(l.extendedConfigPath){s=s.concat([u]);var d=function(t,r,n,i,a,o){var s,c=f(r,function(e){return n.readFile(e)});t&&(t.extendedSourceFiles||(t.extendedSourceFiles=[])).push(c.fileName);if(c.parseDiagnostics.length)return void o.push.apply(o,c.parseDiagnostics);var u=e.getDirectoryPath(r),l=T(void 0,c,n,u,e.getBaseFileName(r),a,o);t&&(s=t.extendedSourceFiles).push.apply(s,c.extendedSourceFiles);if(E(l)){var d=e.convertToRelativePath(u,i,e.identity),p=function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(d,t)},_=function(t){m[t]&&(m[t]=e.map(m[t],p))},m=l.raw;_("include"),_("exclude"),_("files")}return l}(n,l.extendedConfigPath,i,a,s,c);if(d&&E(d)){var p=d.raw,h=l.raw,v=function(e){var t=h[e]||p[e];t&&(h[e]=t)};v("include"),v("exclude"),v("files"),void 0===h.compileOnSave&&(h.compileOnSave=p.compileOnSave),l.options=e.assign({},d.options,l.options)}}return l}function w(t,r,n,i,a){if(t=e.normalizeSlashes(t),e.isRootedDiskPath(t)||e.startsWith(t,"./")||e.startsWith(t,"../")){var o=e.getNormalizedAbsolutePath(t,n);if(r.fileExists(o)||e.endsWith(o,".json")||(o+=".json",r.fileExists(o)))return o;i.push(a(e.Diagnostics.File_0_does_not_exist,t))}else i.push(a(e.Diagnostics.A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not,t))}function D(t){return t&&"jsconfig.json"===e.getBaseFileName(t)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function A(t,r,n,i){var a=D(i);return O(e.optionDeclarations,t,r,a,e.Diagnostics.Unknown_compiler_option_0,n),i&&(a.configFilePath=e.normalizeSlashes(i)),a}function N(t){return{enable:t&&"jsconfig.json"===e.getBaseFileName(t),include:[],exclude:[]}}function P(t,r,i,a){var o=N(a),s=n(t);return O(e.typeAcquisitionDeclarations,s,r,o,e.Diagnostics.Unknown_type_acquisition_option_0,i),o}function O(t,r,n,i,a,o){if(r){var s=_(t);for(var c in r){var u=s.get(c);u?i[u.name]=F(u,r[c],n,o):o.push(e.createCompilerDiagnostic(a,c))}}}function F(t,r,n,i){if(v(t,r)){var a=t.type;return"list"===a&&e.isArray(r)?function(t,r,n,i){return e.filter(e.map(r,function(e){return F(t.element,e,n,i)}),function(e){return!!e})}(t,r,n,i):e.isString(a)?M(t,n,r):I(t,r,i)}i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,h(t)))}function M(t,r,n){return t.isFilePath&&""===(n=e.normalizePath(e.comb
1inePaths(r,n)))&&(n="."),n}function I(e,t,r){if(!x(t)){var n=t.toLowerCase(),i=e.type.get(n);if(void 0!==i)return i;r.push(a(e))}}function L(e){return"function"===typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"},e.optionDeclarations=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"target",shortName:"t",type:e.createMapFromTemplate({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,esnext:6}),paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_or_ESNEXT},{name:"module",shortName:"m",type:e.createMapFromTemplate({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,esnext:e.ModuleKind.ESNext}),paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.createMapFromTemplate({es5:"lib.es5.d.ts",es6:"lib.es2015.d.ts",es2015:"lib.es2015.d.ts",es7:"lib.es2016.d.ts",es2016:"lib.es2016.d.ts",es2017:"lib.es2017.d.ts",es2018:"lib.es2018.d.ts",esnext:"lib.esnext.d.ts",dom:"lib.dom.d.ts","dom.iterable":"lib.dom.iterable.d.ts",webworker:"lib.webworker.d.ts",scripthost:"lib.scripthost.d.ts","es2015.core":"lib.es2015.core.d.ts","es2015.collection":"lib.es2015.collection.d.ts","es2015.generator":"lib.es2015.generator.d.ts","es2015.iterable":"lib.es2015.iterable.d.ts","es2015.promise":"lib.es2015.promise.d.ts","es2015.proxy":"lib.es2015.proxy.d.ts","es2015.reflect":"lib.es2015.reflect.d.ts","es2015.symbol":"lib.es2015.symbol.d.ts","es2015.symbol.wellknown":"lib.es2015.symbol.wellknown.d.ts","es2016.array.include":"lib.es2016.array.include.d.ts","es2017.object":"lib.es2017.object.d.ts","es2017.sharedmemory":"lib.es2017.sharedmemory.d.ts","es2017.string":"lib.es2017.string.d.ts","es2017.intl":"lib.es2017.intl.d.ts","es2017.typedarrays":"lib.es2017.typedarrays.d.ts","es2018.intl":"lib.es2018.intl.d.ts","es2018.promise":"lib.es2018.promise.d.ts","es2018.regexp":"lib.es2018.regexp.d.ts","esnext.array":"lib.esnext.array.d.ts","esnext.asynciterable":"lib.esnext.asynciterable.d.ts"})},showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation},{name:"allowJs",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_c
1ompiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:e.createMapFromTemplate({preserve:1,"react-native":3,react:2}),paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file},{name:"declarationMap",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file},{name:"emitDeclarationOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files},{name:"sourceMap",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file},{name:"outDir",type:"string",isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation},{name:"removeComments",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs},{name:"importHelpers",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"downlevelIteration",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictPropertyInitialization",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:e.createMapFromTemplate({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic}),paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entr
1ies_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation},{name:"allowSyntheticDefaultImports",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"sourceRoot",type:"string",isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"resolveJsonModule",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"out",type:"string",isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file},{name:"reactNamespace",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us},{name:"newLine",type:e.createMapFromTemplate({crlf:0,lf:1}),paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts},{name:"noResolve",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files},{name:"stripInternal",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"noImplicitUseStrict",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported},{name:"preserveConstEnums",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_
1search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}],e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0},e.convertEnableAutoDiscoveryToEnable=n,e.createCompilerDiagnosticForInvalidCustomType=a,e.parseCustomTypeOption=c,e.parseListTypeOption=u,e.parseCommandLine=function(t,r){var n={},i=[],a=[];return o(t),{options:n,fileNames:i,projectReferences:void 0,errors:a};function o(t){for(var r=0;r<t.length;){var o=t[r];if(r++,64===o.charCodeAt(0))s(o.slice(1));else if(45===o.charCodeAt(0)){var d=l(o.slice(45===o.charCodeAt(1)?2:1),!0);if(d)if(d.isTSConfigOnly)a.push(e.createCompilerDiagnostic(e.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file,d.name));else switch(t[r]||"boolean"===d.type||a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_expects_an_argument,d.name)),d.type){case"number":n[d.name]=parseInt(t[r]),r++;break;case"boolean":var f=t[r];n[d.name]="false"!==f,"false"!==f&&"true"!==f||r++;break;case"string":n[d.name]=t[r]||"",r++;break;case"list":var p=u(d,t[r],a);n[d.name]=p||[],p&&r++;break;default:n[d.name]=c(d,t[r],a),r++}else a.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_compiler_option_0,o))}else i.push(o)}}function s(t){var n=r?r(t):e.sys.readFile(t);if(n){for(var i=[],s=0;;){for(;s<n.length&&n.charCodeAt(s)<=32;)s++;if(s>=n.length)break;var c=s;if(34===n.charCodeAt(c)){for(s++;s<n.length&&34!==n.charCodeAt(s);)s++;s<n.length?(i.push(n.substring(c+1,s)),s++):a.push(e.createCompilerDiagnostic(e.Diagnostics.Unterminated_quoted_string_in_response_file_0,t))}else{for(;n.charCodeAt(s)>32;)s++;i.push(n.substring(c,s))}}o(i)}else a.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t))}},e.getOptionFromName=l,e.getParsedCommandLineOfConfigFile=function(t,r,n){var i;try{i=n.readFile(t)}catch(c){var a=e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,c.message);return void n.onUnRecoverableConfigFileDiagnostic(a)}if(i){var o=e.parseJsonText(t,i),s=n.getCurrentDirectory();return y(o,n,e.getNormalizedAbsolutePath(e.getDirectoryPath(t),s),r,e.getNormalizedAbsolutePath(t,s))}a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t),n.onUnRecoverableConfigFileDiagnostic(a)},e.readConfigFile=function(t,r){var n=p(t,r);return e.isString(n)?d(t,n):{config:{},error:n}},e.parseConfigFileTextToJson=d,e.readJsonConfigFile=f,e.convertToObject=m,e.convertToObjectWorker=g,e.generateTSConfig=function(t,r,n){var a=function(t){var r=e.createMap(),n=i().optionNameMap,a=function(i){if(e.hasProperty(t,i)){if(n.has(i)&&n.get(i).category===e.Diagnostics.Command_line_Options)return"continue";var a=t[i],s=n.get(i.toLowerCase());if(s){var c=function e(t){return"string"===t.type||"number"===t.type||"boolean"===t.type?void 0:"list"===t.type?e(t.element):t.type}(s);c?"list"===s.type?r.set(i,a.map(function(e){return o(e,c)})):r.set(i,o(a,c)):r.set(i,a)}}};for(var s in t)a(s);return r}(e.extend(t,e.defaultInitCompilerOptions));return function(){for(var t=e.createMultiMap(),i=0,o=e.optionDeclarations;i<o.length;i++){var l=o[i],d=l.category;u(l)&&t.add(e.getLocaleSpecificMessage(d),l)}var f=0,p=0,_=[],m=[];t.forEach(function(t,r){0!==_.length&&(_.push(""),m.push("")),_.push("/* "+r+" */"),m.push("");for(var n=0,i=t;n<i.length;n++){var o=i[n],c=void 0;c=a.has(o.name)?'"'+o.name+'": '+JSON.stringify(a.get(o.name))+((p+=1)===a.size?"":","):'// "'+o.name+'": '+JSON.stringify(s(o))+",",_.push(c),m.push("/* "+(o.description&&e.getLocaleSpecificMessage(o.description)||o.name)+" */"),f=Math.max(c.length,f)}});var g=c(2),h=[];h.push("{"),h.push(g+'"compilerOptions": {');for(var v=0;v<_.length;v++){var y=_[v],b=m[v];h.push(y&&""+g+g+y+(b&&c(f-y.length+2)+b))}if(r.length){h.push(g+"},"),h.push(g+'"files": [');for(var v=0;v<r.length;v++)h.push(""+g+g+JSON.stringify(r[v])+(v===r.length-1?"":","));h.push(g+"]")}else h.push(g+"}");return h.push("}"),h.join(n)}();function o(t,r){return e.forEachEntry(r,function(e,r){if(e===t)return r})}function s(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":return e.isFilePath?"./":"";case"list":return[];case"object":return{};default:return e.type.keys().next().value}}function c(e){return Array(e+1).join(" ")}function u(t){var r=t.category,n=t.name;return void 0!==r&&r!==e.Diagnostics.Command_line_Options&&(r!==e.Diagnostics.Advanced_Options||a.has(n))}},e.parseJsonConfigFileContent=function(e,t,r,n,i,a,o){return k(e,void 0,t,r,n,i,a,o)},e.parseJsonSourceFileConfigFileContent=y,e.setConfigFileInOptions=b,e.isErrorNoInputFiles=function(t){return t.code===e.Diagnostics.No_input
1s_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code},e.getErrorForNoInputFiles=C,e.convertCompilerOptionsFromJson=function(e,t,r){var n=[];return{options:A(e,t,n,r),errors:n}},e.convertTypeAcquisitionFromJson=function(e,t,r){var n=[];return{options:P(e,t,n,r),errors:n}};var R=/(^|\/)\*\*\/?$/,j=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/,B=/\/[^/]*?[*?][^/]*\//,z=/^[^*?]*(?=\/[^/]*[*?])/;function q(t,r,n,i,a){void 0===a&&(a=[]),r=e.normalizePath(r);var s=i.useCaseSensitiveFileNames?e.identity:e.toLowerCase,c=e.createMap(),u=e.createMap(),l=t.filesSpecs,d=t.validatedIncludeSpecs,f=t.validatedExcludeSpecs,p=t.wildcardDirectories,_=e.getSupportedExtensions(n,a);if(l)for(var m=0,g=l;m<g.length;m++){var h=g[m],v=e.getNormalizedAbsolutePath(h,r);c.set(s(v),v)}if(d&&d.length>0)for(var y=0,b=i.readDirectory(r,_,f,d,void 0);y<b.length;y++){var x=b[y];if(!J(x,c,u,_,s)){H(x,u,_,s);var S=s(x);c.has(S)||u.has(S)||u.set(S,x)}}var k=e.arrayFrom(c.values()),C=e.arrayFrom(u.values()),E=t.referencesSpecs&&t.referencesSpecs.map(function(t){return o({},t,{path:e.getNormalizedAbsolutePath(t.path,r)})});return{fileNames:k.concat(C),projectReferences:E,wildcardDirectories:p,spec:t}}function U(t,r,n,i,a){return t.filter(function(t){var o=function(t,r){if(!r&&R.test(t))return e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0;if(j.test(t))return e.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0}(t,n);return void 0!==o&&r.push(function(t,r){var n=e.getTsConfigPropArrayElementValue(i,a,r);return n?e.createDiagnosticForNodeInSourceFile(i,n,t,r):e.createCompilerDiagnostic(t,r)}(o,t)),void 0===o})}function V(t,r){var n=z.exec(t);return n?{key:r?n[0]:n[0].toLowerCase(),flags:B.test(t)?1:0}:e.isImplicitGlob(t)?{key:t,flags:1}:void 0}function J(t,r,n,i,a){for(var o=e.getExtensionPriority(t,i),s=e.adjustExtensionPriority(o,i),c=0;c<s;c++){var u=i[c],l=a(e.changeExtension(t,u));if(r.has(l)||n.has(l))return!0}return!1}function H(t,r,n,i){for(var a=e.getExtensionPriority(t,n),o=e.getNextLowestExtensionPriority(a,n);o<n.length;o++){var s=n[o],c=i(e.changeExtension(t,s));r.delete(c)}}function W(t,r){switch(r.type){case"object":case"string":return"";case"number":return"number"===typeof t?t:"";case"boolean":return"boolean"===typeof t?t:"";case"list":var n=r.element;return e.isArray(t)?t.map(function(e){return W(e,n)}):"";default:return e.forEachEntry(r.type,function(e,r){if(e===t)return r})}}e.getFileNamesFromConfigSpecs=q,e.convertCompilerOptionsForTelemetry=function(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=l(r);void 0!==n&&(t[r]=W(e[r],n))}return t}}(u||(u={})),function(e){!function(e){var t=function(){function e(e){this.text=e}return e.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new t(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),e.defaultPreferences={};var t=function(){return function(){}}();e.TextChange=t,function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(e.IndentStyle||(e.IndentStyle={})),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.StringLiteral=7]="StringLiteral",e[e.RegExpLiteral=8]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="al
1ias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue"}(e.ClassificationType||(e.ClassificationType={}))}(u||(u={})),function(e){function t(t){switch(t.kind){case 148:case 231:case 181:case 151:case 150:case 269:case 270:case 153:case 152:case 154:case 155:case 156:case 233:case 191:case 192:case 268:case 261:return 1;case 147:case 235:case 236:case 165:return 2;case 296:return void 0===t.name?3:2;case 272:case 234:return 3;case 238:return e.isAmbientModule(t)?5:1===e.getModuleInstanceState(t)?5:4;case 237:case 246:case 247:case 242:case 243:case 248:case 249:return 7;case 273:return 5}return 7}function r(t){for(;145===t.parent.kind;)t=t.parent;return e.isInternalModuleImportEqualsDeclaration(t.parent)&&t.parent.moduleReference===t}function n(e,t){var r=i(e);return r&&r.parent&&r.parent.kind===t&&r.parent.expression===r}function i(e){return s(e)?e.parent:e}function a(t){return 71===t.kind&&e.isBreakOrContinueStatement(t.parent)&&t.parent.label===t}function o(t){return 71===t.kind&&e.isLabeledStatement(t.parent)&&t.parent.label===t}function s(e){return e&&e.parent&&184===e.parent.kind&&e.parent.name===e}e.scanner=e.createScanner(6,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=t,e.getMeaningFromLocation=function(n){return 273===n.kind?1:248===n.parent.kind?7:r(n)?function(t){var r=145===t.kind?t:e.isQualifiedName(t.parent)&&t.parent.right===t?t.parent:void 0;return r&&242===r.parent.kind?7:4}(n):e.isDeclarationName(n)?t(n.parent):function(t){switch(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),t.kind){case 99:return!e.isExpressionNode(t);case 173:return!0}switch(t.parent.kind){case 161:return!0;case 178:return!t.parent.isTypeOf;case 206:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)}return!1}(n)?2:function(e){return function(e){var t=e,r=!0;if(145===t.parent.kind){for(;t.parent&&145===t.parent.kind;)t=t.parent;
1r=t.right===e}return 161===t.parent.kind&&!r}(e)||function(e){var t=e,r=!0;if(184===t.parent.kind){for(;t.parent&&184===t.parent.kind;)t=t.parent;r=t.name===e}if(!r&&206===t.parent.kind&&267===t.parent.parent.kind){var n=t.parent.parent.parent;return 234===n.kind&&108===t.parent.parent.token||235===n.kind&&85===t.parent.parent.token}return!1}(e)}(n)?4:e.isTypeParameterDeclaration(n.parent)?(e.Debug.assert(e.isJSDocTemplateTag(n.parent.parent)),2):e.isLiteralTypeNode(n.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=r,e.isCallExpressionTarget=function(e){return n(e,186)},e.isNewExpressionTarget=function(e){return n(e,187)},e.climbPastPropertyAccess=i,e.getTargetLabel=function(e,t){for(;e;){if(227===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}},e.isJumpStatementTarget=a,e.isLabelOfLabeledStatement=o,e.isLabelName=function(e){return o(e)||a(e)},e.isRightSideOfQualifiedName=function(e){return 145===e.parent.kind&&e.parent.right===e},e.isRightSideOfPropertyAccess=s,e.isNameOfModuleDeclaration=function(e){return 238===e.parent.kind&&e.parent.name===e},e.isNameOfFunctionDeclaration=function(t){return 71===t.kind&&e.isFunctionLike(t.parent)&&t.parent.name===t},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(t){switch(t.parent.kind){case 151:case 150:case 269:case 272:case 153:case 152:case 155:case 156:case 238:return e.getNameOfDeclaration(t.parent)===t;case 185:return t.parent.argumentExpression===t;case 146:return!0;case 177:return 175===t.parent.parent.kind}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(t){return e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t},e.getContainerNode=function(t){for(e.isJSDocTypeAlias(t)&&(t=t.parent.parent);;){if(!(t=t.parent))return;switch(t.kind){case 273:case 153:case 152:case 233:case 191:case 155:case 156:case 234:case 235:case 237:case 238:return t}}},e.getNodeKind=function t(r){switch(r.kind){case 273:return e.isExternalModule(r)?"module":"script";case 238:return"module";case 234:case 204:return"class";case 235:return"interface";case 236:case 291:case 296:return"type";case 237:return"enum";case 231:return o(r);case 181:return o(e.getRootDeclaration(r));case 192:case 233:case 191:return"function";case 155:return"getter";case 156:return"setter";case 153:case 152:return"method";case 151:case 150:return"property";case 159:return"index";case 158:return"construct";case 157:return"call";case 154:return"constructor";case 147:return"type parameter";case 272:return"enum member";case 148:return e.hasModifier(r,92)?"property":"parameter";case 242:case 247:case 244:case 251:case 245:return"alias";case 199:var n=e.getSpecialPropertyAssignmentKind(r),i=r.right;switch(n){case 0:return"";case 1:case 2:var a=t(i);return""===a?"const":a;case 3:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:return e.assertTypeIsNever(n),""}default:return""}function o(t){return e.isConst(t)?"const":e.isLet(t)?"let":"var"}},e.isThis=function(t){switch(t.kind){case 99:return!0;case 71:return e.identifierIsThisKeyword(t)&&148===t.parent.kind;default:return!1}};var c=/^\/\/\/\s*</;function u(e,t){return l(e.pos,e.end,t)}function l(e,t,r){return e<=r.pos&&t>=r.end}function d(e,t,r,n){return Math.max(e,r)<Math.min(t,n)}function f(t,r,n){var i=t.getChildren(n);if(i.length){var a=e.lastOrUndefined(i);if(a.kind===r)return!0;if(25===a.kind&&1!==i.length)return i[i.length-2].kind===r}return!1}function p(e,t,r){return!!_(e,t,r)}function _(t,r,n){return e.find(t.getChildren(n),function(e){return e.kind===r})}function m(t){var r=e.find(t.parent.getChildren(),function(r){return e.isSyntaxList(r)&&u(r,t)});return e.Debug.assert(!r||e.contains(r.getChildren(),t)),r}function g(e,t,r,n){return v(e,t,!1,n,!1,r)}function h(e,t,r,n){return v(e,t,!0,void 0,n,r)}function v(t,r,n,i,a,o){var s=t;e:for(;;){if(e.isToken(s))return s;for(var c=0,u=s.getChildren();c<u.length;c++){var l=u[c];if(o||!e.isJSDocNode(l)){if((n?l.getFullStart():l.getStart(t,o))>r)break;var d=l.getEnd();if(r<d||r===d&&(1===l.kind||a)){s=l;continue e}if(i&&d===r){var f=y(r,t,l);if(f&&i(f))return f}}}return s}}function y(t,r,n,i){var a=function a(o){if(b(o))return o;var s=o.getChildren(r);for(var c=0;c<s.length;c++){var u=s[c];if(t<u.end){var l=u.getStart(r,i),d=l>=t||!T(u,r)||k(u);if(d){var f=S(s,c,r);return f&&x(f,r)}return a(u)}}e.Debug.assert(void 0!==n||273===o.kind||e.isJSDocCommentContainingNode(o));if(s.length){var f=S(s,s.length,r);return f&&x(f,r)}}(n||r);return e.Debug.assert(!(a&&k(a))),a}function b(t){return e.isToken(t)&&!k(t)}function x(e,t){if(b(e))return e;var r=e.getChildren(t),n=S(r,r.length,t);return n&&x(n,t)}function S(t,r,n){for(var i=r-1;i>=0;i--){if(k(t[i]))e.Debug.assert(i>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(T(t[i],n))return t[i]}}function k(t){return e.isJsxText(t)&&t.containsOnlyWhiteSpaces}function C(e,t,r){for(var n=e.kind,i=0;;){if(!(e=y(e.getFullStart(),r)))return;if(e.kind===t){if(0===i)return e;i--}else e.kind===n&&i++}}function E(t,r,n,i){return!!e.formatting.getRangeOfEnclosingComment(t,r,!1,void 0,n,i)}function T(e,t){return 0!==e.getWidth(t)}function w(e,t){return{span:e,newText:t}}function D(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function A(t,r,n,i){return e.createImportDeclaration(void 0,void 0,t||r?e.createImportClause(t,r&&r.length?e.createNamedImports(r):void 0):void 0,"string"===typeof n?N(n,i):n)}function N(t,r){return e.createLiteral(t,0===r)}function P(t){return"default"!==t.escapedName?t.escapedName:e.firstDefined(t.declarations,function(t){var r=e.getNameOfDeclaration(t);return r&&71===r.kind?r.escapedText:void 0})}e.getLineStartPositionForPosition=function(t,r){return e.getLineStarts(r)[r.getLineAndCharacterOfPosition(t).line]},e.rangeContainsRange=u,e.rangeContainsPosition=function(e,t){return e.pos<=t&&t<=e.end},e.startEndContainsRange=l,e.rangeContainsStartEnd=function(e,t,r){return e.pos<=t&&e.end>=r},e.rangeOverlapsWithStartEnd=function(e,t,r){return d(e.pos,e.end,t,r)},e.startEndOverlapsWithStartEnd=d,e.positionBelongsToNode=function(t,r,n){return e.Debug.assert(t.pos<=r),r<t.end||!function t(r,n){if(e.nodeIsMissing(r))return!1;switch(r.kind){case 234:case 235:case 237:case 183:case 179:case 165:case 212:case 239:case 240:case 246:case 250:return f(r,18,n);case 268:return t(r.block,n);case 187:if(!r.arguments)return!0;case 186:case 190:case 172:return f(r,20,n);case 162:case 163:return t(r.type,n);case 154:case 155:case 156:case 233:case 191:case 153:case 152:case 158:case 157:case 192:return r.body?t(r.body,n):r.type?t(r.type,n):p(r,20,n);case 238:return r.body&&t(r.body,n);case 216:return r.elseStatement?t(r.elseStatement,n):t(r.thenStatement,n);case 215:return t(r.expression,n)||p(r,25,n);case 182:case 180:case 185:case 146:case 167:return f(r,22,n);case 159:return r.type?t(r.type,n):p(r,22,n);case 265:case 266:return!1;case 219:case 220:case 221:case 218:return t(r.statement,n);case 217:return p(r,106,n)?f(r,20,n):t(r.statement,n);case 164:return t(r.exprName,n);case 194:case 193:case 195:case 202:case 203:var i=r;return t(i.expression,n);case 188:return t(r.template,n);case 201:var a=e.lastOrUndefined(r.templateSpans);return t(a,n);
1case 210:return e.nodeIsPresent(r.literal);case 249:case 243:return e.nodeIsPresent(r.moduleSpecifier);case 197:return t(r.operand,n);case 199:return t(r.right,n);case 200:return t(r.whenFalse,n);default:return!0}}(t,n)},e.findListItemInfo=function(t){var r=m(t);if(r){var n=r.getChildren();return{listItemIndex:e.indexOfNode(n,t),list:r}}},e.hasChildOfKind=p,e.findChildOfKind=_,e.findContainingList=m,e.getTouchingPropertyName=function(t,r,n){return g(t,r,n,function(t){return e.isPropertyNameLiteral(t)||e.isKeyword(t.kind)})},e.getTouchingToken=g,e.getTokenAtPosition=h,e.findTokenOnLeftOfPosition=function(t,r){var n=h(t,r,!1);return e.isToken(n)&&r>n.getStart(t)&&r<n.getEnd()?n:y(r,t)},e.findNextToken=function(t,r,n){return function r(i){if(e.isToken(i)&&i.pos===t.end)return i;for(var a=i.getChildren(),o=0,s=a;o<s.length;o++){var c=s[o],u=c.pos<=t.pos&&c.end>t.end||c.pos===t.end;if(u&&T(c,n))return r(c)}}(r)},e.findPrecedingToken=y,e.isInString=function(t,r,n){if(void 0===n&&(n=y(r,t)),n&&e.isStringTextContainingNode(n)){var i=n.getStart(),a=n.getEnd();if(i<r&&r<a)return!0;if(r===a)return!!n.isUnterminated}return!1},e.isInsideJsxElementOrAttribute=function(e,t){var r=h(e,t,!1);return!!r&&(10===r.kind||27===r.kind&&10===r.parent.kind||27===r.kind&&264===r.parent.kind||!(!r||18!==r.kind||264!==r.parent.kind)||27===r.kind&&257===r.parent.kind)},e.isInTemplateString=function(t,r){var n=h(t,r,!1);return e.isTemplateLiteralKind(n.kind)&&r>n.getStart(t)},e.findPrecedingMatchingToken=C,e.isPossiblyTypeArgumentPosition=function(t,r){for(var n=0;t;){switch(t.kind){case 27:var i=(t=y(t.getFullStart(),r))&&e.isIdentifier(t);if(!n||!i)return i;n--;break;case 47:n=3;break;case 46:n=2;break;case 29:n++;break;case 18:if(!(t=C(t,17,r)))return!1;break;case 20:if(!(t=C(t,19,r)))return!1;break;case 22:if(!(t=C(t,21,r)))return!1;break;case 26:case 36:case 71:case 9:case 8:case 101:case 86:case 103:case 85:case 128:case 23:case 49:case 55:case 56:break;default:if(e.isTypeNode(t))break;return!1}t=y(t.getFullStart(),r)}return!1},e.isInComment=E,e.hasDocComment=function(t,r){var n=h(t,r,!1),i=e.getLeadingCommentRanges(t.text,n.pos);return e.forEach(i,function(e){var r=t.text;return r.length>=e.pos+3&&"/"===r[e.pos]&&"*"===r[e.pos+1]&&"*"===r[e.pos+2]})},e.getNodeModifiers=function(t){var r=e.getCombinedModifierFlags(t),n=[];return 8&r&&n.push("private"),16&r&&n.push("protected"),4&r&&n.push("public"),32&r&&n.push("static"),128&r&&n.push("abstract"),1&r&&n.push("export"),4194304&t.flags&&n.push("declare"),n.length>0?n.join(","):""},e.getTypeArgumentOrTypeParameterList=function(t){return 161===t.kind||186===t.kind?t.typeArguments:e.isFunctionLike(t)||234===t.kind||235===t.kind?t.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(t){return!(9!==t&&12!==t&&!e.isTemplateLiteralKind(t))},e.isPunctuation=function(e){return 17<=e&&e<=70},e.isInsideTemplateLiteral=function(t,r){return e.isTemplateLiteralKind(t.kind)&&t.getStart()<r&&r<t.getEnd()||!!t.isUnterminated&&r===t.getEnd()},e.isAccessibilityModifier=function(e){switch(e){case 114:case 112:case 113:return!0}return!1},e.cloneCompilerOptions=function(t){var r=e.clone(t);return e.setConfigFileInOptions(r,t&&t.configFile),r},e.isArrayLiteralOrObjectLiteralDestructuringPattern=function e(t){if(182===t.kind||183===t.kind){if(199===t.parent.kind&&t.parent.left===t&&58===t.parent.operatorToken.kind)return!0;if(221===t.parent.kind&&t.parent.initializer===t)return!0;if(e(269===t.parent.kind?t.parent.parent:t.parent))return!0}return!1},e.isInReferenceComment=function(e,t){return E(e,t,void 0,function(t){var r=e.text.substring(t.pos,t.end);return c.test(r)})},e.isInNonReferenceComment=function(e,t){return E(e,t,void 0,function(t){var r=e.text.substring(t.pos,t.end);return!c.test(r)})},e.createTextSpanFromNode=function(t,r){return e.createTextSpanFromBounds(t.getStart(r),t.getEnd())},e.createTextSpanFromRange=function(t){return e.createTextSpanFromBounds(t.pos,t.end)},e.createTextRangeFromSpan=function(t){return e.createTextRange(t.start,t.start+t.length)},e.createTextChangeFromStartLength=function(t,r,n){return w(e.createTextSpan(t,r),n)},e.createTextChange=w,e.typeKeywords=[119,122,128,131,95,134,135,137,
1138,105,140,141],e.isTypeKeyword=function(t){return e.contains(e.typeKeywords,t)},e.isExternalModuleSymbol=function(t){return e.Debug.assert(!!(1536&t.flags)),34===t.name.charCodeAt(0)},e.nodeSeenTracker=function(){var t=[];return function(r){var n=e.getNodeId(r);return!t[n]&&(t[n]=!0)}},e.getSnapshotText=function(e){return e.getText(0,e.getLength())},e.repeatString=function(e,t){for(var r="",n=0;n<t;n++)r+=e;return r},e.skipConstraint=function(e){return e.isTypeParameter()?e.getConstraint():e},e.getNameFromPropertyName=function(t){return 146===t.kind?e.isStringOrNumericLiteral(t.expression)?t.expression.text:void 0:e.getTextOfIdentifierOrLiteral(t)},e.programContainsEs6Modules=function(e){return e.getSourceFiles().some(function(t){return!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator})},e.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||e.target>=2||!!e.noEmit},e.hostUsesCaseSensitiveFileNames=D,e.hostGetCanonicalFileName=function(t){return e.createGetCanonicalFileName(D(t))},e.makeImportIfNecessary=function(e,t,r,n){return e||t&&t.length?A(e,t,r,n):void 0},e.makeImport=A,e.makeStringLiteral=N,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.getQuotePreference=function(t,r){if(r.quotePreference)return"single"===r.quotePreference?0:1;var n=e.firstOrUndefined(t.imports);return n&&!e.isStringDoubleQuoted(n,t)?0:1},e.symbolNameNoDefault=function(t){var r=P(t);return void 0===r?void 0:e.unescapeLeadingUnderscores(r)},e.symbolEscapedNameNoDefault=P,e.getPropertySymbolFromBindingElement=function(t,r){var n=t.getTypeAtLocation(r.parent),i=n&&t.getPropertyOfType(n,r.name.text);return i&&98304&i.flags?(e.Debug.assert(!!(33554432&i.flags)),i.target):i};var O=function(){function t(){this.map=e.createMap()}return t.prototype.add=function(t){this.map.set(String(e.getNodeId(t)),t)},t.prototype.has=function(t){return this.map.has(String(e.getNodeId(t)))},t.prototype.forEach=function(e){this.map.forEach(e)},t.prototype.some=function(t){return e.forEachEntry(this.map,t)||!1},t}();e.NodeSet=O}(u||(u={})),function(e){function t(e){return e.declarations&&e.declarations.length>0&&148===e.declarations[0].kind}e.isFirstDeclarationOfSymbolParameter=t;var r=function(){var t,r,a;l();var o=function(t){return u(t,e.SymbolDisplayPartKind.text)};return{displayParts:function(){return t},writeKeyword:function(t){return u(t,e.SymbolDisplayPartKind.keyword)},writeOperator:function(t){return u(t,e.SymbolDisplayPartKind.operator)},writePunctuation:function(t){return u(t,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(t){return u(t,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(t){return u(t,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(t){return u(t,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(t){return u(t,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(t){return u(t,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,r){s(),t.push(n(e,r))},writeLine:function(){t.push(c()),r=!0},write:o,writeTextOfNode:o,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return a},increaseIndent:function(){a++},decreaseIndent:function(){a--},clear:l,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};
1function s(){if(r){var n=e.getIndentString(a);n&&t.push(i(n,e.SymbolDisplayPartKind.space)),r=!1}}function u(e,r){s(),t.push(i(e,r))}function l(){t=[],r=!0,a=0}}();function n(r,n){return i(r,function(r){var n=r.flags;if(3&n)return t(r)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&n)return e.SymbolDisplayPartKind.propertyName;if(32768&n)return e.SymbolDisplayPartKind.propertyName;if(65536&n)return e.SymbolDisplayPartKind.propertyName;if(8&n)return e.SymbolDisplayPartKind.enumMemberName;if(16&n)return e.SymbolDisplayPartKind.functionName;if(32&n)return e.SymbolDisplayPartKind.className;if(64&n)return e.SymbolDisplayPartKind.interfaceName;if(384&n)return e.SymbolDisplayPartKind.enumName;if(1536&n)return e.SymbolDisplayPartKind.moduleName;if(8192&n)return e.SymbolDisplayPartKind.methodName;if(262144&n)return e.SymbolDisplayPartKind.typeParameterName;if(524288&n)return e.SymbolDisplayPartKind.aliasName;if(2097152&n)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(n))}function i(t,r){return{text:t,kind:e.SymbolDisplayPartKind[r]}}function a(t){return i(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function o(t){return i(t,e.SymbolDisplayPartKind.text)}e.symbolPart=n,e.displayPart=i,e.spacePart=function(){return i(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=a,e.punctuationPart=function(t){return i(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(t){return i(e.tokenToString(t),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(t){var r=e.stringToToken(t);return void 0===r?o(t):a(r)},e.textPart=o;var s="\r\n";function c(){return i("\n",e.SymbolDisplayPartKind.lineBreak)}function u(e){try{return e(r),r.displayParts()}finally{r.clear()}}function l(t){return e.isSingleOrDoubleQuote(t.charCodeAt(0))}function d(t,r){return e.ensureScriptKind(t,r&&r.getScriptKind&&r.getScriptKind(t))}function f(t,r){void 0===r&&(r=!0);var n=t&&function(t){var r=e.visitEachChild(t,f,e.nullTransformationContext);if(r===t){var n=e.getSynthesizedClone(t);return e.isStringLiteral(n)?n.textSourceNode=t:e.isNumericLiteral(n)&&(n.numericLiteralFlags=t.numericLiteralFlags),e.setTextRange(n,t)}return r.parent=void 0,r}(t);return n&&!r&&p(n),n}function p(e){_(e),m(e)}function _(e){g(e,512,h)}function m(t){g(t,1024,e.getLastChild)}function g(t,r,n){e.addEmitFlags(t,r);var i=n(t);i&&g(i,r,n)}function h(e){return e.forEachChild(function(e){return e})}function v(t,r){if(e.startsWith(t,r))return 0;var n=t.indexOf(" "+r);return-1===n&&(n=t.indexOf("."+r)),-1===n&&(n=t.indexOf('"'+r)),-1===n?-1:n+1}e.getNewLineOrDefaultFromHost=function(e,t){return t&&t.newLineCharacter||e.getNewLine&&e.getNewLine()||s},e.lineBreakPart=c,e.mapToDisplayParts=u,e.typeToDisplayParts=function(e,t,r,n){return u(function(i){e.writeType(t,r,17408|n,i)})},e.symbolToDisplayParts=function(e,t,r,n,i){return u(function(a){e.writeSymbol(t,r,n,8|i,a)})},e.signatureToDisplayParts=function(e,t,r,n){return n|=25632,u(function(i){e.writeSignature(t,r,n,void 0,i)})},e.isImportOrExportSpecifierName=function(e){return e.parent&&(247===e.parent.kind||251===e.parent.kind)&&e.parent.propertyName===e},e.stripQuotes=function(e){var t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&l(e)?e.substring(1,t-1):e},e.startsWithQuote=l,e.scriptKindIs=function(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=d(t,r);return e.forEach(n,function(e){return e===a})},e.getScriptKind=d,e.getUniqueSymbolId=function(t,r){return e.getSymbolId(e.skipAlias(t,r))},e.getFirstNonSpaceCharacterPosition=function(t,r){for(;
1e.isWhiteSpaceLike(t.charCodeAt(r));)r+=1;return r},e.getSynthesizedDeepClone=f,e.getSynthesizedDeepClones=function(t,r){return void 0===r&&(r=!0),t&&e.createNodeArray(t.map(function(e){return f(e,r)}),t.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=p,e.suppressLeadingTrivia=_,e.suppressTrailingTrivia=m,e.getUniqueName=function(t,r){for(var n=t,i=1;!e.isFileLevelUniqueName(r,n);i++)n=t+"_"+i;return n},e.getRenameLocation=function(t,r,n,i){for(var a=0,o=-1,s=0,c=t;s<c.length;s++){var u=c[s],l=u.fileName,d=u.textChanges;e.Debug.assert(l===r);for(var f=0,p=d;f<p.length;f++){var _=p[f],m=_.span,g=_.newText,h=v(g,n);if(-1!==h&&(o=m.start+a+h,!i))return o;a+=g.length-m.length}}return e.Debug.assert(i),e.Debug.assert(o>=0),o}}(u||(u={})),function(e){e.createClassifier=function(){var o=e.createScanner(6,!1);function s(i,s,c){var u=0,l=0,d=[],f=function(t){switch(t){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(t)}}(s),p=f.prefix,_=f.pushTemplate;i=p+i;var m=p.length;_&&d.push(14),o.setText(i);var g=0,h=[],v=0;do{u=o.scan(),e.isTrivia(u)||(x(),l=u);var y=o.getTextPos();if(n(o.getTokenPos(),y,m,a(u),h),y>=i.length){var b=r(o,u,e.lastOrUndefined(d));void 0!==b&&(g=b)}}while(1!==u);function x(){switch(u){case 41:case 63:t[l]||12!==o.reScanSlashToken()||(u=12);break;case 27:71===l&&v++;break;case 29:v>0&&v--;break;case 119:case 137:case 134:case 122:case 138:v>0&&!c&&(u=71);break;case 14:d.push(u);break;case 17:d.length>0&&d.push(u);break;case 18:if(d.length>0){var r=e.lastOrUndefined(d);14===r?16===(u=o.reScanTemplateToken())?d.pop():e.Debug.assertEqual(u,15,"Should have been a template middle."):(e.Debug.assertEqual(r,17,"Should have been an open brace"),d.pop())}break;default:if(!e.isKeyword(u))break;23===l?u=71:e.isKeyword(l)&&e.isKeyword(u)&&!function(t,r){if(!e.isAccessibilityModifier(t))return!0;switch(r){case 125:case 136:case 123:case 115:return!0;default:return!1}}(l,u)&&(u=71)}}return{endOfLineState:g,spans:h}}return{getClassificationsForLine:function(t,r,n){return function(t,r){for(var n=[],a=t.spans,o=0,s=0;s<a.length;s+=3){var c=a[s],u=a[s+1],l=a[s+2];if(o>=0){var d=c-o;d>0&&n.push({length:d,classification:e.TokenClass.Whitespace})}n.push({length:u,classification:i(l)}),o=c+u}var f=r.length-o;return f>0&&n.push({length:f,classification:e.TokenClass.Whitespace}),{entries:n,finalLexState:t.endOfLineState}}(s(t,r,n),t)},getEncodedLexicalClassifications:s}};var t=e.arrayToNumericMap([71,9,8,12,99,43,44,20,22,18,101,86],function(e){return e},function(){return!0});function r(t,r,n){switch(r){case 9:if(!t.isUnterminated())return;for(var i=t.getTokenText(),a=i.length-1,o=0;92===i.charCodeAt(a-o);)o++;if(0===(1&o))return;return 34===i.charCodeAt(0)?3:2;case 3:return t.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(r)){if(!t.isUnterminated())return;switch(r){case 16:return 5;case 13:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+r)}}return 14===n?6:void 0}}function n(e,t,r,n,i){if(8!==n){0===e&&r>0&&(e+=r);var a=t-e;a>0&&i.push(e-r,a,n)}}function i(t){switch(t){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return e.TokenClass.Identifier}}function a(t){if(e.isKeyword(t))return 3;if(function(e){switch(e){case 39:case 41:case 42:case 37:case 38:case 45:case 46:case 47:case 27:case 29:case 30:case 31:case 93:case 92:case 118:case 32:case 33:case 34:case 35:case 48:case 50:case 49:case 53:case 54:case 69:case 68:case 70:case 65:case 66:case
167:case 59:case 60:case 61:case 63:case 64:case 58:case 26:return!0;default:return!1}}(t)||function(e){switch(e){case 37:case 38:case 52:case 51:case 43:case 44:return!0;default:return!1}}(t))return 5;if(t>=17&&t<=70)return 10;switch(t){case 8:return 4;case 9:return 6;case 12:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 71:default:return e.isTemplateLiteralKind(t)?6:2}}function o(e,t){switch(t){case 238:case 234:case 235:case 233:e.throwIfCancellationRequested()}}function s(t,r,n,i,a){var s=[];return n.forEachChild(function c(u){if(u&&e.textSpanIntersectsWith(a,u.pos,u.getFullWidth())){if(o(r,u.kind),e.isIdentifier(u)&&!e.nodeIsMissing(u)&&i.has(u.escapedText)){var l=t.getSymbolAtLocation(u),d=l&&function t(r,n,i){var a=r.getFlags();return 0===(2885600&a)?void 0:32&a?11:384&a?12:524288&a?16:1536&a?4&n||1&n&&function(t){return e.some(t.declarations,function(t){return e.isModuleDeclaration(t)&&1===e.getModuleInstanceState(t)})}(r)?14:void 0:2097152&a?t(i.getAliasedSymbol(r),n,i):2&n?64&a?13:262144&a?15:void 0:void 0}(l,e.getMeaningFromLocation(u),t);d&&function(e,t,r){s.push(e),s.push(t-e),s.push(r)}(u.getStart(n),u.getEnd(),d)}u.forEachChild(c)}}),{spans:s,endOfLineState:0}}function c(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value"}}function u(t){e.Debug.assert(t.spans.length%3===0);for(var r=t.spans,n=[],i=0;i<r.length;i+=3)n.push({textSpan:e.createTextSpan(r[i],r[i+1]),classificationType:c(r[i+2])});return n}function l(t,r,n){var i=n.start,a=n.length,s=e.createScanner(6,!1,r.languageVariant,r.text),c=e.createScanner(6,!1,r.languageVariant,r.text),u=[];return v(r),{spans:u,endOfLineState:0};function l(e,t,r){u.push(e),u.push(t),u.push(r)}function d(t,n,i,a){if(3===n){var o=e.parseIsolatedJSDocComment(r.text,i,a);if(o&&o.jsDoc)return o.jsDoc.parent=t,void function(e){var t=e.pos;if(e.tags)for(var r=0,n=e.tags;r<n.length;r++){var i=n[r];switch(i.pos!==t&&f(t,i.pos-t),l(i.atToken.pos,i.atToken.end-i.atToken.pos,10),l(i.tagName.pos,i.tagName.end-i.tagName.pos,18),t=i.tagName.end,i.kind){case 292:a(i);break;case 295:p(i),t=i.end;break;case 294:case 293:v(i.typeExpression),t=i.end}}t!==e.end&&f(t,e.end-t);return;function a(e){e.isNameFirst&&(f(t,e.name.pos-t),l(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end),e.typeExpression&&(f(t,e.typeExpression.pos-t),v(e.typeExpression),t=e.typeExpression.end),e.isNameFirst||(f(t,e.name.pos-t),l(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end)}}(o.jsDoc)}f(i,a)}function f(e,t){l(e,t,1)}function p(e){for(var t=0,r=e.getChildren();t<r.length;t++){v(r[t])}}function _(t,r,n){var i;for(i=r;i<n&&!e.isLineBreak(t.charCodeAt(i));i++);for(l(r,i-r,1),c.setTextPos(i);c.getTextPos()<n;)m()}function m(){var e=c.getTextPos(),t=c.scan(),r=c.getTextPos(),n=h(t);n&&l(e,r-e,n)}function g(t){if(e.isJSDoc(t))return!0;if(e.nodeIsMissing(t))return!0;var n=function(e){switch(e.parent&&e.parent.kind){case 256:if(e.parent.tagName===e)return 19;break;case 257:if(e.parent.tagName===e)return 20;break;case 255:if(e.parent.tagName===e)return 21;break;case 261:if(e.parent.name===e)return 22}return}(t);if(!e.isToken(t)&&10!==t.kind&&void 0===n)return!1;var i=10===t.kind?t.pos:function(t){for(s.setTextPos(t.pos);;){var n=s.getTextPos();if(!e.couldStartTrivia(r.text,n))return n;var i=s.scan(),a=s.getTextPos(),o=a-n;if(!e.isTrivia(i))return n;switch(i){case 4:case 5:continue;case 2:case 3:d(t,i,n,o),s.setTextPos(a);continue;case 7:var c=r.text,u=c.charCodeAt(n);if(60===u||62===u){l(n,o,1);continue}e.Debug.assert(124===u||61===u),_(c,n,a);break;case 6:break;default:e.Debug.assertNever(i)}}}(t),a=t.end-i;if(e.Debug.assert(a>=0),a>0){var o=n||h(t.kind,t);o&&l(i,a,o)}return!0}function h(t,r){if(e.isKeyword(t))return 3;if((27===t||29===t)&&r&&e.getTypeArgumentOrTypeParameterList(r.parent))return 10;
1if(e.isPunctuation(t)){if(r){if(58===t&&(231===r.parent.kind||151===r.parent.kind||148===r.parent.kind||261===r.parent.kind))return 5;if(199===r.parent.kind||197===r.parent.kind||198===r.parent.kind||200===r.parent.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 261===r.parent.kind?24:6;if(12===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(10===t)return 23;if(71===t){if(r)switch(r.parent.kind){case 234:return r.parent.name===r?11:void 0;case 147:return r.parent.name===r?15:void 0;case 235:return r.parent.name===r?13:void 0;case 237:return r.parent.name===r?12:void 0;case 238:return r.parent.name===r?14:void 0;case 148:return r.parent.name===r?e.isThisIdentifier(r)?3:17:void 0}return 2}}function v(n){if(n&&e.decodedTextSpanIntersectsWith(i,a,n.pos,n.getFullWidth())){o(t,n.kind);for(var s=0,c=n.getChildren(r);s<c.length;s++){var u=c[s];g(u)||v(u)}}}}e.getSemanticClassifications=function(e,t,r,n,i){return u(s(e,t,r,n,i))},e.getEncodedSemanticClassifications=s,e.getSyntacticClassifications=function(e,t,r){return u(l(e,t,r))},e.getEncodedSyntacticClassifications=l}(u||(u={})),function(e){!function(t){!function(t){function r(e,t){return{name:e,kind:t}}function n(t,r,n){var i=function(t,r){var n=Math.max(t.lastIndexOf(e.directorySeparator),t.lastIndexOf("\\")),i=-1!==n?n+1:0,a=t.length-i;return 0===a||e.isIdentifierText(t.substr(i,a),6)?void 0:e.createTextSpan(r+i,a)}(t,r);return n.map(function(e){return{name:e.name,kind:e.kind,span:i}})}function i(t){var r=e.getSupportedExtensions(t);return t.resolveJsonModule&&e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeJs?r.concat(".json"):r}function a(t,n,i,a,o,s,c){void 0===c&&(c=[]),void 0===t&&(t=""),t=e.normalizeSlashes(t),e.hasTrailingDirectorySeparator(t)||(t=e.getDirectoryPath(t)),""===t&&(t="."+e.directorySeparator),t=e.ensureTrailingDirectorySeparator(t);var u=e.resolvePath(n,t),l=e.hasTrailingDirectorySeparator(u)?u:e.getDirectoryPath(u),_=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames());if(p(o,l)){var m=f(o,l,i,void 0,["./*"]);if(m){for(var g=e.createMap(),h=0,v=m;h<v.length;h++){var y=v[h];if(y=e.normalizePath(y),!s||0!==e.comparePaths(y,s,n,_)){var b=a||e.fileExtensionIs(y,".json")?e.getBaseFileName(y):e.removeFileExtension(e.getBaseFileName(y));g.has(b)||g.set(b,!0)}}e.forEachKey(g,function(e){c.push(r(e,"script"))})}var x=d(o,l);if(x)for(var S=0,k=x;S<k.length;S++){var C=k[S],E=e.getBaseFileName(e.normalizePath(C));"@types"!==E&&c.push(r(E,"directory"))}}return c}function o(t,r,n,i,a,o){if(!e.endsWith(t,"*"))return!e.stringContains(t,"*")&&e.startsWith(t,n)?[{name:t,kind:"directory"}]:e.emptyArray;var s=t.slice(0,t.length-1);if(!e.startsWith(n,s))return[{name:s,kind:"directory"}];var c=n.slice(s.length);return e.flatMap(r,function(t){return function(t,r,n,i,a){if(!a.readDirectory)return;var o=e.hasZeroOrOneAsteriskCharacter(n)?e.tryParsePattern(n):void 0;if(!o)return;var s=e.resolvePath(o.prefix),c=e.hasTrailingDirectorySeparator(o.prefix)?s:e.getDirectoryPath(s),u=e.hasTrailingDirectorySeparator(o.prefix)?"":e.getBaseFileName(s),l=m(t),p=l?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0,_=l?e.combinePaths(c,u+p):c,g=e.normalizePath(o.suffix),h=e.normalizePath(e.combinePaths(r,_)),v=l?h:e.ensureTrailingDirectorySeparator(h)+u,y=f(a,h,i,void 0,[g?"**/*":"./*"]).map(function(e){return{name:e,kind:"script"}}),b=d(a,h).map(function(t){return e.combinePaths(h,t)}).map(function(e){return{name:e,kind:"directory"}});return e.mapDefined(e.concatenate(y,b),function(t){var r,n,i,a,o=t.name,s=t.kind,c=e.normalizePath(o),u=(r=c,n=v,i=g,e.startsWith(r,n)&&e.endsWith(r,i)?r.slice(n.length,r.length-i.length):void 0);return void 0!==u?{name:(a=e.removeFileExtension(u),a[0]===e.directorySeparator?a.slice(1):a),kind:s}:void 0})}(c,i,t,a,o)})}function s(t,n,i,a){void 0===a&&(a=[]);var o=e.createMap();if(n.types)for(var s=0,u=n.types;s<u.length;s++){var l=u[s];b(e.getUnmangledNameForScopedPackage(l))}else if(t.getDirectories){var f=void 0;try{f=e.getEffectiveTypeRoots(n,t)}catch(x){}if(f)for(var _=0,m=f;_<m.length;_++){y(m[_])}for(var g=0,h=c(i,t);g<h.length;g++){var v=h[g];y(e.combinePaths(e.getDirectoryPath(v),"node_modules/@types"))}}return a;function y(r){if(e.Debug.assert(!!t.getDirectories),p(t,r)){var n=d(t,r);if(n)for(var i=0,a=n;i<a.length;i++){var o=a[i];o=e.normalizePath(o);var s=e.getBaseFileName(o);b(e.getUnmangledNameForScopedPackage(s))}}}
1function b(e){o.has(e)||(a.push(r(e,"external module name")),o.set(e,!0))}}function c(t,r){var n=[];return e.forEachAncestorDirectory(t,function(t){var i=e.findConfigFile(t,function(e){return function(e,t){return _(e,e.fileExists,t)}(r,e)},"package.json");if(!i)return!0;n.push(i)}),n}t.getStringLiteralCompletionsFromModuleNames=function(t,u,d,f,_){return n(u.text,u.getStart(t)+1,function(t,n,u,d){var f=e.normalizeSlashes(t.text),_=t.getSourceFile().path,g=e.getDirectoryPath(_);if(function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,r=e.charCodeAt(t);return 47===r||92===r}return!1}(f)||e.isRootedDiskPath(f)){var h=i(n);return n.rootDirs?function(t,r,n,i,o,s,c,u){for(var l=s.project||c.getCurrentDirectory(),d=!(c.useCaseSensitiveFileNames&&c.useCaseSensitiveFileNames()),f=function(t,r,n,i){t=t.map(function(t){return e.normalizePath(e.isRootedDiskPath(t)?t:e.combinePaths(r,t))});var a=e.firstDefined(t,function(t){return e.containsPath(t,n,r,i)?n.substr(t.length):void 0});return e.deduplicate(t.map(function(t){return e.combinePaths(t,a)}),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(t,l,n,d),p=[],_=0,m=f;_<m.length;_++){var g=m[_];a(r,g,i,o,c,u,p)}return p}(n.rootDirs,f,g,h,!1,n,u,_):a(f,g,h,!1,u,_)}return function(t,n,u,d,f){var _=u.baseUrl,g=u.paths,h=[],v=i(u);if(_){var y=u.project||d.getCurrentDirectory(),b=e.isRootedDiskPath(_)?_:e.combinePaths(y,_);for(var x in a(t,e.normalizePath(b),v,!1,d,void 0,h),g){var S=g[x];if(g.hasOwnProperty(x)&&S)for(var k=function(e,t){h.some(function(t){return t.name===e})||h.push(r(e,t))},C=0,E=o(x,S,t,_,v,d);C<E.length;C++){var T=E[C],w=T.name,D=T.kind;k(w,D)}}}for(var A=m(t)?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0,N=0,P=function(t,r,n){var i=n.getAmbientModules().map(function(t){return e.stripQuotes(t.name)}).filter(function(r){return e.startsWith(r,t)});if(void 0!==r){var a=e.ensureTrailingDirectorySeparator(r);return i.map(function(t){return e.removePrefix(t,a)})}return i}(t,A,f);N<P.length;N++){var O=P[N];h.push(r(O,"external module name"))}if(s(d,u,n,h),e.getEmitModuleResolutionKind(u)===e.ModuleResolutionKind.NodeJs){var F=!1;if(void 0===A)for(var M=function(e){h.some(function(t){return t.name===e})||(F=!0,h.push(r(e,"external module name")))},I=0,L=function(t,r){if(!t.readFile||!t.fileExists)return e.emptyArray;for(var n=[],i=0,a=c(r,t);i<a.length;i++)for(var o=a[i],s=e.readJson(o,t),u=0,d=l;u<d.length;u++){var f=d[u],p=s[f];if(p)for(var _ in p)p.hasOwnProperty(_)&&!e.startsWith(_,"@types/")&&n.push(_)}return n}(d,n);I<L.length;I++){var R=L[I];M(R)}F||e.forEachAncestorDirectory(n,function(r){var n=e.combinePaths(r,"node_modules");p(d,n)&&a(t,n,v,!1,d,void 0,h)})}return h}(f,g,n,u,d)}(u,d,f,_))},t.getTripleSlashReferenceCompletion=function(t,r,i,o){var c=e.getTokenAtPosition(t,r,!1),l=e.getLeadingCommentRanges(t.text,c.pos),d=l&&e.find(l,function(e){return r>=e.pos&&r<=e.end});if(d){var f=t.text.slice(d.pos,r),p=u.exec(f);if(p){var _=p[1],m=p[2],g=p[3],h=e.getDirectoryPath(t.path),v="path"===m?a(g,h,e.getSupportedExtensions(i),!0,o,t.path):"types"===m?s(o,i,h):void 0;return v&&n(g,d.pos+_.length,v)}}};var u=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,l=["dependencies","devDependencies","peerDepen
1dencies","optionalDependencies"];function d(e,t){return _(e,e.getDirectories,t)||[]}function f(t,r,n,i,a){return _(t,t.readDirectory,r,n,i,a)||e.emptyArray}function p(t,r){try{return e.directoryProbablyExists(r,t)}catch(n){}}function _(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];try{return t&&t.apply(e,r)}catch(i){}}function m(t){return e.stringContains(t,e.directorySeparator)}}(t.PathCompletions||(t.PathCompletions={}))}(e.Completions||(e.Completions={}))}(u||(u={})),function(e){!function(t){var r,n,i,a,o;function s(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(function(e){return{name:e.name,kind:e.kind,kindModifiers:"",sortText:"0",replacementSpan:e.span}})}}function c(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function u(t,r,n,i,a,o,s,c,u,_,m){var g=T(t,a,s,o);if(g){var h,v,y=g.name,b=g.needsConvertPropertyAccess;if(s&&"this-type"===s.type)h=b?"this["+l(y,m)+"]":"this."+y;else if((s&&"symbol-member"===s.type||b)&&u){h=b?"["+l(y,m)+"]":"["+y+"]";var x=e.findChildOfKind(u,23,n),S=e.startsWith(y,u.name.text)?u.name.end:x.end;v=e.createTextSpanFromBounds(x.getStart(n),S)}if(_&&(void 0===h&&(h=y),h="{"+h+"}","boolean"!==typeof _&&(v=e.createTextSpanFromNode(_,n))),void 0===h||m.includeCompletionsWithInsertText)return{name:y,kind:e.SymbolDisplay.getSymbolKind(i,t,r),kindModifiers:e.SymbolDisplay.getSymbolModifiers(t),sortText:"0",source:p(s),hasAction:f(!!s&&"export"===s.type),isRecommended:f(d(t,c,i)),insertText:h,replacementSpan:v}}}function l(t,r){var n=JSON.stringify(t);switch(r.quotePreference){case void 0:case"double":return n;case"single":return"'"+e.stripQuotes(n).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r.quotePreference)}}function d(e,t,r){return e===t||!!(1048576&e.flags)&&r.getExportSymbolOfSymbol(e)===t}function f(e){return!!e||void 0}function p(t){return t&&"export"===t.type?e.stripQuotes(t.moduleSymbol.name):void 0}function _(t,r,n,i,a,o,s,c,l,d,f,p,_){for(var m=e.timestamp(),g=e.createMap(),h=0,v=t;h<v.length;h++){var y=v[h],b=_?_[e.getSymbolId(y)]:void 0,x=u(y,n,i,a,o,c,b,p,d,f,l);if(x){var S=x.name;g.has(S)||(b||void 0===y.parent&&!e.some(y.declarations,function(e){return e.getSourceFile()===n.getSourceFile()})||g.set(S,!0),r.push(x))}}return s("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(e.timestamp()-m)),g}function m(r,n,i,a,o,s){switch(n.parent.kind){case 177:switch(n.parent.parent.kind){case 161:return{kind:2,types:h(a.getTypeArgumentConstraint(n.parent),a),isNewIdentifier:!1};case 175:return g(a.getTypeFromTypeNode(n.parent.parent.objectType));case 178:return{kind:0,paths:t.PathCompletions.getStringLiteralCompletionsFromModuleNames(r,n,o,s,a)};default:return}case 269:return e.isObjectLiteralExpression(n.parent.parent)&&n.parent.name===n?g(a.getContextualType(n.parent.parent)):f();case 185:var c=n.parent,u=c.expression,l=c.argumentExpression;return n===l?g(a.getTypeAtLocation(u)):void 0;case 186:case 187:if(!e.isRequireCall(n.parent,!1)&&!e.isImportCall(n.parent)){var d=e.SignatureHelp.getImmediatelyContainingArgumentInfo(n,i,r);return d?function(t,r){var n=!1,i=e.createMap(),a=[];return r.getResolvedSignature(t.invocation,a,t.argumentCount),{kind:2,types:e.flatMap(a,function(e){if(e.hasRestParameter||!(t.argumentCount>e.parameters.length)){var a=r.getParameterType(e,t.argumentIndex);return n=n||!!(2&a.flags),h(a,r,i)}}),isNewIdentifier:n}}(d,a):f()}case 243:case 249:case 253:return{kind:0,paths:t.PathCompletions.getStringLiteralCompletionsFromModuleNames(r,n,o,s,a)};default:return f()}function f(){return{kind:2,types:h(k(n,a),a),isNewIdentifier:!1}}}function g(e){return e&&{kind:1,symbols:e.getApparentProperties(),hasIndexSignature:I(e)}}function h(t,r,n){return void 0===n&&(n=e.createMap()),t?(t=e.skipConstraint(t)).isUnion()?e.flatMap(t.types,function(e){return h(e,r,n)}):!t.isStringLiteral()||256&t.flags||!e.addToSeen(n,t.value)?e.emptyArray:[t]:e.emptyArray}function v(t,r,n,i,a){var o=E(t,r,n,i,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},a);if(!o)return{type:"none"};if(0!==o.kind)return{type:"request",request:o};var s=o.symbols,c=o.location,u=o.completionKind,l=o.symbolToOriginInfoMap,d=o.previousToken,f=o.isJsxInitializer;return e.firstDefined(s,function(r){var n=l[e.getSymbolId(r)],i=T(r,t.getCompilerOptions().target,n,u);return i&&i.name===a.name&&p(n)===a.source?{type:"symbol",symbol
1:r,location:c,symbolToOriginInfoMap:l,previousToken:d,isJsxInitializer:f}:void 0})||{type:"none"}}function y(t,r,n){return r&&"export"===r.type&&r.isDefaultExport&&"default"===t.escapedName?e.firstDefined(t.declarations,function(t){return e.isExportAssignment(t)&&e.isIdentifier(t.expression)?t.expression.text:void 0})||e.codefix.moduleSymbolToValidIdentifier(r.moduleSymbol,n):t.name}function b(t,r,n,i,a,o,s){var c=r.runWithCancellationToken(a,function(r){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,t,n,i,i,7)}),u=c.displayParts,l=c.documentation,d=c.symbolKind,f=c.tags;return x(t.name,e.SymbolDisplay.getSymbolModifiers(t),d,u,l,f,o,s)}function x(e,t,r,n,i,a,o,s){return{name:e,kindModifiers:t,kind:r,displayParts:n,documentation:i,tags:a,codeActions:o,source:s}}function S(t,r,n,i){var a=function(t,r,n,i){var a=t.parent;switch(t.kind){case 71:return k(t,i);case 58:switch(a.kind){case 231:return i.getContextualType(a.initializer);case 199:return i.getTypeAtLocation(a.left);case 261:return i.getContextualTypeForJsxAttribute(a);default:return}case 94:return i.getContextualType(a);case 73:return C(e.cast(a,e.isCaseClause),i);case 17:return e.isJsxExpression(a)&&254!==a.parent.kind?i.getContextualTypeForJsxAttribute(a.parent):void 0;default:var o=e.SignatureHelp.getImmediatelyContainingArgumentInfo(t,r,n);return o?i.getContextualTypeForArgumentAtIndex(o.invocation,o.argumentIndex+(26===t.kind?1:0)):O(t.kind)&&e.isBinaryExpression(a)&&O(a.operatorToken.kind)?i.getTypeAtLocation(a.left):i.getContextualType(t)}}(t,r,n,i),o=a&&a.symbol;return o&&(384&o.flags||32&o.flags&&!e.isAbstractConstructorSymbol(o))?function t(r,n,i){var a=i.getAccessibleSymbolChain(r,n,67108863,!1);if(a)return e.first(a);return r.parent&&(function(e){return e.declarations.some(function(e){return 273===e.kind})}(r.parent)?r:t(r.parent,n,i))}(o,t,i):void 0}function k(e,t){var r=e.parent;switch(r.kind){case 187:return t.getContextualType(r);case 199:var n=r,i=n.left,a=n.operatorToken,o=n.right;return O(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e);case 265:return r.expression===e?C(r,t):void 0;default:return t.getContextualType(e)}}function C(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function E(t,r,n,i,a,o){var s=t.getTypeChecker(),c=e.timestamp(),u=e.getTokenAtPosition(n,i,!1);r("getCompletionData: Get current token: "+(e.timestamp()-c)),c=e.timestamp();var l=e.isInComment(n,i,u);r("getCompletionData: Is inside comment: "+(e.timestamp()-c));var d=!1,f=!1;if(l){if(e.hasDocComment(n,i)){if(64===n.text.charCodeAt(i-1))return{kind:1};var p=e.getLineStartPositionForPosition(i,n);if(!n.text.substring(p,i).match(/[^\*|\s|(/\*\*)]/))return{kind:2}}var _=function(t,r){var n=function(t){if(!e.isToken(t))return t;switch(t.kind){case 104:case 110:case 76:return t.parent.parent;default:return t.parent}}(t).jsDoc;if(!n)return;for(var i=0,a=n;i<a.length;i++){var o=a[i],s=o.pos,c=o.end,u=o.tags;if(!(!u||r<s||r>c))for(var l=u.length-1;l>=0;l--){var d=u[l];if(r>=d.pos)return d}}}(u,i);if(_){if(_.tagName.pos<=i&&i<=_.tagName.end)return{kind:1};if(function(e){switch(e.kind){case 292:case 297:case 293:case 294:case 296:return!0}}(_)&&_.typeExpression&&277===_.typeExpression.kind&&((u=e.getTokenAtPosition(n,i,!0))&&(e.isDeclarationName(u)||297===u.parent.kind&&u.parent.name===u)||(d=Q(_.typeExpression))),e.isJSDocParameterTag(_)&&(e.nodeIsMissing(_.name)||_.name.pos<=i&&i<=_.name.end))return{kind:3,tag:_}}if(!d)return void r("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}c=e.timestamp();var m=e.findPrecedingToken(i,n,void 0,d);r("getCompletionData: Get previous token 1: "+(e.timestamp()-c));var g=m;if(g&&i<=g.end&&(e.isIdentifier(g)||e.isKeyword(g.kind))){var h=e.timestamp();g=e.findPrecedingToken(g.getFullStart(),n,void 0,d),r("getCompletionData: Get previous token 2: "+(e.timestamp()-h))}var v,b=u,x=!1,k=!1,C=!1,E=!1,T=e.getTouchingPropertyName(n,i,d);if(g){if(function(t){var n=e.timestamp(),a=function(t){if(9===t.kind||12===t.kind||e.isTemplateLiteralKind(t.kind)){var r=t.getStart(),n=t.getEnd();if(r<i&&i<n)return!0;
1if(i===n)return!!t.isUnterminated||12===t.kind}return!1}(t)||function(t){var r=t.parent.kind;switch(t.kind){case 26:return 231===r||232===r||213===r||237===r||$(r)||235===r||180===r||236===r||e.isClassLike(t.parent)&&t.parent.typeParameters&&t.parent.typeParameters.end>=t.pos;case 23:return 180===r;case 56:return 181===r;case 21:return 180===r;case 19:return 268===r||$(r);case 17:return 237===r;case 27:return 234===r||204===r||235===r||236===r||e.isFunctionLikeKind(r);case 115:return 151===r&&!e.isClassLike(t.parent.parent);case 24:return 148===r||t.parent&&t.parent.parent&&180===t.parent.parent.kind;case 114:case 112:case 113:return 148===r&&!e.isConstructorDeclaration(t.parent.parent);case 118:return 247===r||251===r||245===r;case 125:case 136:if(M(t))return!1;case 75:case 83:case 109:case 89:case 104:case 91:case 110:case 76:case 116:case 139:return!0}if(N(P(t))&&M(t))return!1;if(Y(t)&&(!e.isIdentifier(t)||e.isParameterPropertyModifier(P(t))||Q(t)))return!1;switch(P(t)){case 117:case 120:case 75:case 76:case 124:case 83:case 89:case 109:case 110:case 112:case 113:case 114:case 115:case 104:case 116:return!0}return e.isDeclarationName(t)&&!e.isJsxAttribute(t.parent)&&!(e.isClassLike(t.parent)&&(t!==m||i>m.end))}(t)||function(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(t)||function(e){if(10===e.kind)return!0;if(29===e.kind&&e.parent){if(256===e.parent.kind)return!0;if(257===e.parent.kind||255===e.parent.kind)return e.parent.parent&&254===e.parent.parent.kind}return!1}(t);return r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-n)),a}(g))return void r("Returning an empty list because completion was requested in an invalid position.");var w=g.parent;if(23===g.kind)switch(x=!0,w.kind){case 184:b=(v=w).expression;break;case 145:b=w.left;break;case 178:b=w;break;default:return}else if(1===n.languageVariant){if(w&&184===w.kind&&(g=w,w=w.parent),u.parent===T)switch(u.kind){case 29:254!==u.parent.kind&&256!==u.parent.kind||(T=u);break;case 41:255===u.parent.kind&&(T=u)}switch(w.kind){case 257:41===g.kind&&(C=!0,T=g);break;case 199:if(!(32768&w.left.flags))break;case 255:case 254:case 256:27===g.kind&&(k=!0,T=g);break;case 261:switch(m.kind){case 58:E=!0;break;case 71:w===m.parent||w.initializer||(E=m)}}}}var D=e.timestamp(),O=5,L=!1,R=0,j=[],B=[];if(x)!function(){O=2;var t=e.isLiteralImportTypeNode(b),r=d||t&&!b.isTypeOf||e.isPartOfTypeNode(b.parent),i=e.isInRightSideOfInternalImportEqualsDeclaration(b)||!r&&e.isPossiblyTypeArgumentPosition(g,n);if(e.isEntityName(b)||t){var a=s.getSymbolAtLocation(b);if(a&&1920&(a=e.skipAlias(a,s)).flags){for(var o=e.Debug.assertEachDefined(s.getExportsOfModule(a),"getExportsOfModule() should all be defined"),c=function(e){return s.isValidPropertyAccess(t?b:b.parent,e.name)},u=function(e){return G(e)},l=i?function(e){return u(e)||c(e)}:r?u:c,f=0,p=o;f<p.length;f++){var _=p[f];l(_)&&j.push(_)}return void(!r&&a.declarations.some(function(e){return 273!==e.kind&&238!==e.kind&&237!==e.kind})&&J(s.getTypeOfSymbolAtLocation(a,b)))}}r||J(s.getTypeAtLocation(b))}();else if(k){var z=e.Debug.assertEachDefined(s.getJsxIntrinsicTagNamesAt(T),"getJsxIntrinsicTagNames() should all be defined");W(),j=z.concat(j),O=3}else if(C){var q=g.parent.parent.openingElement.tagName,U=s.getSymbolAtLocation(q);U&&(j=[U]),O=3}else if(!W())return;r("getCompletionData: Semantic work: "+(e.timestamp()-D));var V=m&&S(m,i,n,s);return{kind:0,symbols:j,completionKind:O,isInSnippetScope:f,propertyAccessToConvert:v,isNewIdentifierLocation:L,location:T,keywordFilters:R,symbolToOriginInfoMap:B,recommendedCompletion:V,previousToken:m,isJsxInitializer:E};function J(t){if(L=I(t),e.isSourceFileJavaScript(n))j.push.apply(j,F(t,s,!0));else for(var r=0,i=t.getApparentProperties();r<i.length;r++){var a=i[r];s.isValidPropertyAccessForCompletions(178===b.kind?b:b.parent,t,a)&&H(a)}}function H(t){var r=e.firstDefined(t.declarations,function(t){var r=e.getNameOfDeclaration(t),n=146===r.kind?function t(r){return e.isIdentifier(r)?r:e.isPropertyAccessExpression(r)?t(r.expression):void 0}(r.expression):void 0;return n&&s.getSymbolAtLocation(n)});r?(j.push(r),B[e.getSymbolId(r)]={type:"symbol-member"}):j.push(t)}function W(){return 1===(function(){var t,r,n=function(t){if(t)switch(t.kind){case 17:case 26:var r=t.parent;if(e.isObjectLiteralExpression(r)||e.isObjectBindingPattern(r))return r}return}(g);if(!n)return 0;if(O=0,183===n.kind){var i=s.getContextualType(n);if(!i)return 2;L=I(i),t=F(i,s,!1),r=n.properties}else{e.Debug.assert(179===n.kind),L=!1;var a=e.getRootDeclaration(n.parent);if(!e.isVariableLike(a))return e.Debug.fail("Root declaration is not variable-like.");var o=e.hasInitializer(a)||e.hasType(a)||221===a.parent.parent.kind;if(o||148!==a.kind||(e.isExpression(a.parent)?o=!!s.getContextualType(a.parent):153!==a.parent.kind&&156!==a.parent.kind||(o=e.isExpression(a.parent.parent)&&!!s.getContextualType(a.parent.parent))),o){var i=s.getTypeAtLocation(n);if(!i)return 2;t=s.getPropertiesOfType(i).filter(function(t){return!(24&e.getDeclarationModifierFlagsFromSymbol(t))}),r=n.elements}}t&&t.length>0&&(j=function(t,r){if(0===r.length)return t;for(var n=e.createUnderscoreEscapedMap(),i=0,a=r;i<a.length;i++){var o=a[i];if((269===o.kind||270===o.kind||181===o.kind||153===o.kind||155===o.kind||156===o.kind)&&!Q(o)){var s=void 0;if(181===o.kind&&o.propertyName)71===o.propertyName.kind&&(s=o.propertyName.escapedText);else{var c=e.getNameOfDeclaration(o);s=e.isPropertyNameLiteral(c)?e.getEscapedTextOfIdentifierOrLiteral(c):void 0}n.set(s,!0)}}return t.filter(function(e){return!n.get(e.escapedName)})}(t,e.Debug.assertDefined(r)));return 1}()||function(){var t=!g||17!==g.kind&&26!==g.kind?void 0:e.tryCast(g.parent,e.isNamedImportsOrExports);if(!t)return 0;var r=(246===t.kind?t.parent.parent:t.parent).moduleSpecifier,n=s.getSymbolAtLocation(r);if(!n)return 2;O=3,L=!1;var i=s.getExportsAndPropertiesOfModule(n),a=e.arrayToSet(t.elements,function(e){return Q(e)?void 0:(e.propertyName||e.name).escapedText});return j=i.filter(function(e){return"default"!==e.escapedName&&!a.get(e.escapedName)}),1}()||(function(t){if(t)switch(t.kind){case 19:case 26:return e.isConstructorDeclaration(t.parent)&&t.parent;default:if(Y(t))return t.parent.parent}}(g)?(O=5,L=!0,R=3,1):0)||function(){var t=function(t,r,n){switch(n.kind){case 298:return e.tryCast(n.parent,e.isObjectTypeDeclaration);case 1:var i=e.tryCast(e.lastOrUndefined(e.cast(n.parent,e.isSourceFile).statements),e.isObjectTypeDeclaration);if(i&&!e.findChildOfKind(i,18,t))return i}if(!r)return;switch(r.kind){case 25:case 18:return M(n)&&n.parent.name===n?n.parent.parent:e.tryCast(n,e.isObjectTypeDeclaration);case 17:case 26:return e.tryCast(r.parent,e.isObjectTypeDeclaration);default:if(!M(r))return;var a=e.isClassLike(r.parent.parent)?N:A;return a(r.kind)||e.isIdentifier(r)&&a(e.stringToToken(r.text))?r.parent.parent:void 0}}(n,g,T);if(!t)return 0;if(O=3,L=!0,R=e.isClassLike(t)?1:2,!e.isClassLike(t))return 1;var r=g.parent,i=e.isClassElement(r)&&e.getModifierFlags(r);if(71===g.kind&&!Q(g))switch(g.getText()){case"private":i|=8;break;case"static":i|=32}if(!(8&i)){var a=e.flatMap(e.getAllSuperTypeNodes(t),function(e){var r=s.getTypeAtLocation(e);return s.getPropertiesOfType(32&i?s.getTypeOfSymbolAtLocation(r.symbol,t):r)});j=function(t,r,n){for(var i=e.createUnderscoreEscapedMap(),a=0,o=r;a<o.length;a++){var s=o[a];if((151===s.kind||153===s.kind||155===s.kind||156===s.kind)&&(!Q(s)&&!e.hasModifier(s,8)&&e.hasModifier(s,32)===!!(32&n))){var c=e.getPropertyNameForPropertyNameNode(s.name);c&&i.set(c,!0)}}return t.filter(function(t){return!i.has(t.escapedName)&&!!t.declarations&&!(8&e.getDeclarationModifierFlagsFromSymbol(t))})}(a,t.members,i)}return 1}()||function(){var t=function(e){if(e){var t=e.parent;switch(e.kind){case 28:case 41:case 71:case 184:case 262:case 261:case 263:if(t&&(255===t.kind||256===t.kind))return t;if(261===t.kind)return t.parent.parent;break;case 9:if(t&&(261===t.kind||263===t.kind))return t.parent.parent;break;case 18:if(t&&264===t.kind&&t.parent&&261===t.parent.kind)return t.parent.parent.parent;if(t&&263===t.kind)return t.parent.parent}}return}(g),r=t&&s.getAllAttributesTypeFromJsxOpeningLikeElement(t);return r?(j=function(t,r){for(var n=e.createUnderscoreEscapedMap(),i=0,a=r;i<a.length;i++){var o=a[i];Q(o)||261===o.kind&&n.set(o.name.escapedText,!0)}return t.filter(function(e){return!n.get(e.escapedName)})}(s.getPropertiesOfType(r),t.attributes.properties),O=3,L=!1,1):0}
1()||(function(){(function(t){if(t){var r,n=e.findAncestor(t.parent,function(t){return e.isClassLike(t)?"quit":!(!e.isFunctionLikeDeclaration(t)||r!==t.body)||void(r=t)});return n&&n}})(g)&&(R=4);O=1,L=function(e){if(e){var t=e.parent.kind;switch(e.kind){case 26:return 186===t||154===t||187===t||182===t||199===t||162===t;case 19:return 186===t||154===t||187===t||190===t||172===t;case 21:return 182===t||159===t||146===t;case 129:case 130:return!0;case 23:return 238===t;case 17:return 234===t;case 58:return 231===t||199===t;case 14:return 201===t;case 15:return 210===t;case 114:case 112:case 113:return 151===t}switch(P(e)){case 114:case 113:case 112:return!0}}return!1}(g),m!==g&&e.Debug.assert(!!m,"Expected 'contextToken' to be defined when different from 'previousToken'.");var r=m!==g?m.getStart():i,c=function(t,r,n){var i=t;for(;i&&!e.positionBelongsToNode(i,r,n);)i=i.parent;return i}(g,r,n)||n;f=function(t){switch(t.kind){case 273:case 201:case 264:case 212:return!0;default:return e.isStatement(t)}}(c);if(j=e.Debug.assertEachDefined(s.getSymbolsInScope(c,70107135),"getSymbolsInScope() should all be defined"),a.includeCompletionsWithInsertText&&273!==c.kind){var u=s.tryGetThisTypeAt(c);if(u)for(var l=0,p=F(u,s,!0);l<p.length;l++){var _=p[l];B[e.getSymbolId(_)]={type:"this-type"},j.push(_)}}a.includeCompletionsForModuleExports&&(n.externalModuleIndicator||!n.commonJsModuleIndicator&&(e.programContainsEs6Modules(t)||!e.isSourceFileJavaScript(n)&&e.compilerOptionsIndicateEs6Modules(t.getCompilerOptions())))&&function(r,i,a){var c=i.toLowerCase();e.codefix.forEachExternalModuleToImportFrom(s,n,t.getSourceFiles(),function(t){if(!o||!o.source||e.stripQuotes(t.name)===o.source)for(var n=0,i=s.getExportsOfModule(t);n<i.length;n++){var u=i[n];if(s.getMergedSymbol(u.parent)===s.resolveExternalModuleSymbol(t)&&!e.some(u.declarations,function(t){return e.isExportSpecifier(t)&&!!t.parent.parent.moduleSpecifier})){var l="default"===u.name;l&&(u=e.getLocalSymbolForExportDefault(u)||u);var d={type:"export",moduleSymbol:t,isDefaultExport:l};(o||X(y(u,d,a).toLowerCase(),c))&&(r.push(u),B[e.getSymbolId(u)]=d)}}})}(j,m&&e.isIdentifier(m)?m.text:"",t.getCompilerOptions().target);!function(t){var r=d||!K(g)&&(e.isPartOfTypeNode(T)||function(t){if(t){var r=t.parent.kind;switch(t.kind){case 56:return 151===r||150===r||148===r||231===r||e.isFunctionLikeKind(r);case 58:return 236===r;case 118:return 207===r}}return!1}(g)),i=r||!K(g)&&e.isPossiblyTypeArgumentPosition(g,n);r&&(R=5);e.filterMutate(t,function(t){if(!e.isSourceFile(T)){if(e.isExportAssignment(T.parent))return!0;if(t=e.skipAlias(t,s),e.isInRightSideOfInternalImportEqualsDeclaration(T))return!!(1920&t.flags);if(i){var n=G(t);if(n||r)return n}}return!!(67216319&e.getCombinedLocalAndExportSymbolFlags(t))})}(j)}(),1))}function K(t){return t&&103===t.kind&&(164===t.parent.kind||e.isTypeOfExpression(t.parent))}function G(t){return t=t.exportSymbol||t,!!(67901928&(t=e.skipAlias(t,s)).flags)||(1536&t.flags?s.getExportsOfModule(t).some(G):void 0)}function X(e,t){if(0===t.length)return!0;for(var r=0,n=0;n<e.length;n++)if(e.charCodeAt(n)===t.charCodeAt(r)&&++r===t.length)return!0;return!1}function Y(t){return!!t.parent&&e.isParameter(t.parent)&&e.isConstructorDeclaration(t.parent.parent)&&(e.isParameterPropertyModifier(t.kind)||e.isDeclarationName(t))}function $(t){return e.isFunctionLikeKind(t)&&154!==t}function Q(e){return e.getStart(n)<=i&&i<=e.getEnd()}}function T(t,r,n,i){var a=y(t,n,r);if(!(void 0===a||1536&t.flags&&e.startsWithQuote(a)||e.isKnownSymbol(t))){var o={name:a,needsConvertPropertyAccess:!1};if(e.isIdentifierText(a,r))return o;switch(i){case 3:return;case 0:return{name:JSON.stringify(a),needsConvertPropertyAccess:!1};case 2:case 1:return 32===a.charCodeAt(0)?void 0:{name:a,needsConvertPropertyAccess:!0};case 5:case 4:return o;default:e.Debug.assertNever(i)}}}!function(e){e[e.None=0]="None",e[e.ClassElementKeywords=1]="ClassElementKeywords",e[e.InterfaceElementKeywords=2]="InterfaceElementKeywords",e[e.ConstructorParameterKeywords=3]="ConstructorParameterKeywords",e[e.FunctionLikeBodyKeywords=4]="FunctionLikeBodyKeywords",e[e.TypeKeywords=5]="TypeKeywords"}(r||(r={})),function(e){e[e.Continue=0]="Continue",e[e.Success=1]="Success",e[e.Fail=2]="Fail"}(n||(n={})),t.getCompletionsAtPosition=function(r,n,i,a,o,u,l){var d=n.getTypeChecker(),f=n.getCompilerOptions();if(e.isInReferenceComment(a,o)){var p=t.PathCompletions.getTripleSlashReferenceCompletion(a,o,f,r);return p&&s(p)}var g=e.findPrecedingToken(o,a);if(!l||function(t,r,n,i){switch(r){case".":case"@":return!0;case'"':case"'":case"`":return function(e){switch(e.kind){case 9:case 13:case 201:case 188:return!0;default:return!1}}(n)&&i===n.getStart(t)+1;case"<":return 27===n.kind&&199!==n.parent.kind;case"/":return e.isStringLiteralLike(n)?!!e.tryGetImportFromModuleSpecifier(n):41===n.kind&&e.isJsxClosingElement(n.parent);default:return e.Debug.assertNever(r)}}(a,l,g,o)){if(e.isInString(a,o,g))return g&&e.isStringLiteralLike(g)?function(t,r,n,i,a){if(void 0!==t)switch(t.kind){case 0:return s(t.paths);case 1:var o=[];return _(t.symbols,o,r,r,n,6,i,4,a),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,entries:o};case 2:var o=t.types.map(function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:"0"}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,entries:o};default:return e.Debug.assertNever(t)}}(m(a,g,o,d,f,r),a,d,i,u):void 0;
1if(g&&e.isBreakOrContinueStatement(g.parent)&&(72===g.kind||77===g.kind||71===g.kind))return function(t){var r=function(t){for(var r=[],n=e.createMap(),i=t;i&&!e.isFunctionLike(i);){if(e.isLabeledStatement(i)){var a=i.label.text;n.has(a)||(n.set(a,!0),r.push({name:a,kindModifiers:"",kind:"label",sortText:"0"}))}i=i.parent}return r}(t);if(r.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:r}}(g.parent);var h=E(n,i,a,o,u,void 0);if(h)switch(h.kind){case 0:return function(t,r,n,i,a,o){var s=a.symbols,c=a.completionKind,u=a.isInSnippetScope,l=a.isNewIdentifierLocation,d=a.location,f=a.propertyAccessToConvert,p=a.keywordFilters,m=a.symbolToOriginInfoMap,g=a.recommendedCompletion,h=a.isJsxInitializer;if(1===t.languageVariant&&d&&d.parent&&e.isJsxClosingElement(d.parent)){var v=d.parent.parent.openingElement.tagName;return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,entries:[{name:v.getFullText(),kind:"class",kindModifiers:void 0,sortText:"0"}]}}var y=[];if(e.isSourceFileJavaScript(t)){var b=_(s,y,d,t,r,n.target,i,c,o,f,h,g,m);!function(t,r,n,i,a){e.getNameTable(t).forEach(function(t,o){if(t!==r){var s=e.unescapeLeadingUnderscores(o);e.addToSeen(n,s)&&e.isIdentifierText(s,i)&&!e.isStringANonContextualKeyword(s)&&a.push({name:s,kind:"warning",kindModifiers:"",sortText:"1"})}})}(t,d.pos,b,n.target,y)}else{if((!s||0===s.length)&&0===p)return;_(s,y,d,t,r,n.target,i,c,o,f,h,g,m)}var x,S=function(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}(c);return 0===p&&S||e.addRange(y,w[x=p]||(w[x]=D().filter(function(t){var r=e.stringToToken(t.name);switch(x){case 0:return 140!==r;case 1:return N(r);case 2:return A(r);case 3:return e.isParameterPropertyModifier(r);case 4:return!N(r);case 5:return e.isTypeKeyword(r);default:return e.Debug.assertNever(x)}}))),{isGlobalCompletion:u,isMemberCompletion:S,isNewIdentifierLocation:l,entries:y}}(a,d,f,i,h,u);case 1:return c(e.JsDoc.getJSDocTagNameCompletions());case 2:return c(e.JsDoc.getJSDocTagCompletions());case 3:return c(e.JsDoc.getJSDocParameterNameCompletions(h.tag));default:return e.Debug.assertNever(h)}}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(i||(i={})),t.getCompletionEntryDetails=function(t,r,n,i,a,o,s,c,u,l){var d=t.getTypeChecker(),f=t.getCompilerOptions(),p=a.name,_=e.findPrecedingToken(i,n);if(e.isInString(n,i,_)){var g=_&&e.isStringLiteralLike(_)?m(n,_,i,d,f,o):void 0;return g&&function(t,r,n,i,a,o){switch(n.kind){case 0:var s=e.find(n.paths,function(e){return e.name===t});return s&&x(t,"",s.kind,[e.textPart(t)]);case 1:var s=e.find(n.symbols,function(e){return e.name===t});return s&&b(s,a,i,r,o);case 2:return e.find(n.types,function(e){return e.value===t})?x(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(n)}}(p,_,g,n,d,l)}var h=v(t,r,n,i,a);switch(h.type){case"request":var S=h.request;switch(S.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(p);case 2:return e.JsDoc.getJSDocTagCompletionDetails(p);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(p);default:return e.Debug.assertNever(S)}case"symbol":var k=h.symbol,C=h.location,E=function(t,r,n,i,a,o,s,c,u,l,d,f){var p=t[e.getSymbolId(r)];if(!p||"export"!==p.type)return{codeActions:void 0,sourceDisplay:void 0};var _=p.moduleSymbol,m=i.getMergedSymbol(e.skipAlias(r.exportSymbol||r,i)),g=e.codefix.getImportCompletionAction(m,_,s,y(r,p,o.target),a,n,i,o,d,u,l,c,f),h=g.moduleSpecifier,v=g.codeAction;return{sourceDisplay:[e.textPart(h)],codeActions:[v]}}(h.symbolToOriginInfoMap,k,t,d,o,f,n,h.previousToken,s,c,t.getSourceFiles(),u);return b(k,d,n,C,l,E.codeActions,E.sourceDisplay);case"none":return D().some(function(e){return e.name===p})?x(p,"","keyword",[e.displayPart(p,e.SymbolDisplayPartKind.keyword)]):void 0}},t.getCompletionEntrySymbol=function(e,t,r,n,i){var a=v(e,t,r,n,i);return"symbol"===a.type?a.symbol:void 0},function(e){e[e.Data=0]="Data",e[e.JsDocTagName=1]="JsDocTagName",e[e.JsDocTag=2]="JsDocTag",e[e.JsDocParameterName=3]="JsDocParameterName"}(a||(a={})),function(e){e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None"}(o||(o={}));var w=[],D=e.memoize(function(){for(var t=[],r=72;r<=144;r++)t.push({name:e.tokenToString(r),kind:"keyword",kindModifiers:"",sortText:"0"});return t});function A(e){return 132===e}function N(t){switch(t){case 117:case 123:case 125:case 136:case 120:return!0;default:return e.isClassMemberModifier(t)}}function P(t){return e.isIdentifier(t)?t.originalKeywordKind||0:t.kind}function O(e){switch(e){case 34:case 32:case 35:case 33:return!0;default:return!1}}function F(t,r,n){if(!t.isUnion())return e.Debug.assertEachDefined(t.getApparentProperties(),"getApparentProperties() should all be defined");var i=n?t.types:t.types.filter(function(t){return!(16382&t.flags||r.isArrayLikeType(t)||e.typeHasCallOrConstructSignatures(t,r))});return e.Debug.assertEachDefined(r.getAllPossiblePropertiesOfTypes(i),"getAllPossiblePropertiesOfTypes() should all be defined")}function M(t){return t.parent&&e.isClassOrTypeElement(t.parent)&&e.isObjectTypeDeclaration(t.parent.parent)}function I(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}}(e.Completions||(e.Completions={}))}(u||(u={})),function(e){!function(t){function r(t,r){return{fileName:r.fileName,textSpan:e.createTextSpanFromNode(t,r),kind:"none"}}
1function n(t){return e.isThrowStatement(t)?[t]:e.isTryStatement(t)?e.concatenate(t.catchClause?n(t.catchClause):t.tryBlock&&n(t.tryBlock),n(t.finallyBlock)):e.isFunctionLike(t)?void 0:a(t,n)}function i(t){return e.isBreakOrContinueStatement(t)?[t]:e.isFunctionLike(t)?void 0:a(t,i)}function a(t,r){var n=[];return t.forEachChild(function(t){var i=r(t);void 0!==i&&n.push.apply(n,e.toArray(i))}),n}function o(e,t){var r=s(t);return r&&r===e}function s(t){return e.findAncestor(t,function(r){switch(r.kind){case 226:if(222===t.kind)return!1;case 219:case 220:case 221:case 218:case 217:return!t.label||function(t,r){return!!e.findAncestor(t.parent,function(t){return e.isLabeledStatement(t)?t.label.escapedText===r:"quit"})}(r,t.label.escapedText);default:return e.isFunctionLike(r)&&"quit"}})}function c(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return!(!r||!e.contains(n,r.kind))&&(t.push(r),!0)}function u(t){var r=[];if(c(r,t.getFirstToken(),88,106,81)&&217===t.kind)for(var n=t.getChildren(),a=n.length-1;a>=0&&!c(r,n[a],106);a--);return e.forEach(i(t.statement),function(e){o(t,e)&&c(r,e.getFirstToken(),72,77)}),r}function l(e){var t=s(e);if(t)switch(t.kind){case 219:case 220:case 221:case 217:case 218:return u(t);case 226:return d(t)}}function d(t){var r=[];return c(r,t.getFirstToken(),98),e.forEach(t.caseBlock.clauses,function(n){c(r,n.getFirstToken(),73,79),e.forEach(i(n),function(e){o(t,e)&&c(r,e.getFirstToken(),72)})}),r}function f(t,r){var n=[];(c(n,t.getFirstToken(),102),t.catchClause&&c(n,t.catchClause.getFirstToken(),74),t.finallyBlock)&&c(n,e.findChildOfKind(t,87,r),87);return n}function p(t,r){var i=function(t){for(var r=t;r.parent;){var n=r.parent;if(e.isFunctionBlock(n)||273===n.kind)return n;
1if(e.isTryStatement(n)&&n.tryBlock===r&&n.catchClause)return r;r=n}}(t);if(i){var a=[];return e.forEach(n(i),function(t){a.push(e.findChildOfKind(t,100,r))}),e.isFunctionBlock(i)&&e.forEachReturnStatement(i,function(t){a.push(e.findChildOfKind(t,96,r))}),a}}function _(t,r){var i=e.getContainingFunction(t);if(i){var a=[];return e.forEachReturnStatement(e.cast(i.body,e.isBlock),function(t){a.push(e.findChildOfKind(t,96,r))}),e.forEach(n(i.body),function(t){a.push(e.findChildOfKind(t,100,r))}),a}}function m(t){var r=e.getContainingFunction(t);if(r){var n=[];return r.modifiers&&r.modifiers.forEach(function(e){c(n,e,120)}),e.forEachChild(r,function t(r){e.isAwaitExpression(r)&&c(n,r.getFirstToken(),121);e.isFunctionLike(r)||e.isClassLike(r)||e.isInterfaceDeclaration(r)||e.isModuleDeclaration(r)||e.isTypeAliasDeclaration(r)||e.isTypeNode(r)||e.forEachChild(r,t)}),n}}t.getDocumentHighlights=function(t,n,i,a,o){var s=e.getTouchingPropertyName(i,a,!0);if(s.parent&&(e.isJsxOpeningElement(s.parent)&&s.parent.tagName===s||e.isJsxClosingElement(s.parent))){var g=s.parent.parent,h=[g.openingElement,g.closingElement].map(function(e){return r(e.tagName,i)});return[{fileName:i.fileName,highlightSpans:h}]}return function(t,r,n,i,a){var o=e.arrayToSet(a,function(e){return e.fileName}),s=e.FindAllReferences.getReferenceEntriesForNode(t,r,n,a,i,void 0,o);if(s){var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),function(e){return e.fileName},function(e){return e.span});return e.arrayFrom(c.entries(),function(t){var r=t[0],i=t[1];if(!o.has(r)){e.Debug.assert(n.redirectTargetsSet.has(r));var s=n.getSourceFile(r),c=e.find(a,function(e){return e.redirectInfo&&e.redirectInfo.redirectTarget===s});r=c.fileName,e.Debug.assert(o.has(r))}return{fileName:r,highlightSpans:i}})}}(a,s,t,n,o)||function(t,n){var i=function(t,n){switch(t.kind){case 90:case 82:return e.isIfStatement(t.parent)?function(t,n){for(var i=function(t,r){for(var n=[];e.isIfStatement(t.parent)&&t.parent.elseStatement===t;)t=t.parent;for(;;){var i=t.getChildren(r);c(n,i[0],90);for(var a=i.length-1;a>=0&&!c(n,i[a],82);a--);if(!t.elseStatement||!e.isIfStatement(t.elseStatement))break;t=t.elseStatement}return n}(t,n),a=[],o=0;o<i.length;o++){if(82===i[o].kind&&o<i.length-1){for(var s=i[o],u=i[o+1],l=!0,d=u.getStart(n)-1;d>=s.end;d--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(d))){l=!1;break}if(l){a.push({fileName:n.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),u.end),kind:"reference"}),o++;continue}}a.push(r(i[o],n))}return a}(t.parent,n):void 0;case 96:return o(t.parent,e.isReturnStatement,_);case 100:return o(t.parent,e.isThrowStatement,p);case 102:case 74:case 87:var i=74===t.kind?t.parent.parent:t.parent;return o(i,e.isTryStatement,f);case 98:return o(t.parent,e.isSwitchStatement,d);case 73:case 79:return o(t.parent.parent.parent,e.isSwitchStatement,d);case 72:case 77:return o(t.parent,e.isBreakOrContinueStatement,l);case 88:case 106:case 81:return o(t.parent,function(t){return e.isIterationStatement(t,!0)},u);case 123:return a(e.isConstructorDeclaration,[123]);case 125:case 136:return a(e.isAccessor,[125,136]);case 121:return o(t.parent,e.isAwaitExpression,m);case 120:return s(m(t));default:return e.isModifierKind(t.kind)&&(e.isDeclaration(t.parent)||e.isVariableStatement(t.parent))?s(function(t,r){var n=e.modifierToFlag(t);return e.mapDefined(function(t,r){var n=t.parent;switch(n.kind){case 239:case 273:case 212:case 265:case 266:return 128&r&&e.isClassDeclaration(t)?t.members.concat([t]):n.statements;case 154:case 153:case 233:return n.parameters.concat(e.isClassLike(n.parent)?n.parent.members:[]);case 234:case 204:var i=n.members;if(28&r){var a=e.find(n.members,e.isConstructorDeclaration);if(a)return i.concat(a.parameters)}else if(128&r)return i.concat([n]);return i;default:e.Debug.assertNever(n,"Invalid container kind.")}}(r,n),function(r){if(e.getModifierFlags(r)&n){var i=e.find(r.modifiers,function(e){return e.kind===t});return e.Debug.assert(!!i),i}})}(t.kind,t.parent)):void 0}function a(r,i){return o(t.parent,r,function(t){return e.mapDefined(t.symbol.declarations,function(t){return r(t)?e.find(t.getChildren(n),function(t){return e.contains(i,t.kind)}):void 0})})}function o(e,t,r){return t(e)?s(r(e,n)):void 0}function s(e){return e&&e.map(function(e){return r(e,n)})}}(t,n);return i&&[{fileName:n.fileName,highlightSpans:i}]}(s,i)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(u||(u={})),function(e){function t(t,r,n){void 0===r&&(r="");var i=e.createMap(),a=e.createGetCanonicalFileName(!!t);function o(e){return"_"+e.target+"|"+e.module+"|"+e.noResolve+"|"+e.jsx+"|"+e.allowJs+"|"+e.baseUrl+"|"+JSON.stringify(e.typeRoots)+"|"+JSON.stringify(e.rootDirs)+"|"+JSON.stringify(e.paths)}function s(t,r){var n=i.get(t);return!n&&r&&i.set(t,n=e.createMap()),n}function c(e,t,r,n,i,a,o){return l(e,t,r,n,i,a,!0,o)}function u(e,t,r,n,i,a,o){return l(e,t,r,n,i,a,!1,o)}function l(t,r,i,a,o,c,u,l){var d=s(a,!0),f=d.get(r),p=6===l?100:i.target;!f&&n&&((_=n.getDocument(a,r))&&(e.Debug.assert(u),f={sourceFile:_,languageServiceRefCount:0},d.set(r,f)));if(f)f.sourceFile.version!==c&&(f.sourceFile=e.updateLanguageServiceSourceFile(f.sourceFile,o,c,o.getChangeRange(f.sourceFile.scriptSnapshot)),n&&n.setDocument(a,r,f.sourceFile)),u&&f.languageServiceRefCount++;else{var _=e.createLanguageServiceSourceFile(t,o,p,c,!1,l);n&&n.setDocument(a,r,_),f={sourceFile:_,languageServiceRefCount:1},d.set(r,f)}return e.Debug.assert(0!==f.languageServiceRefCount),f.sourceFile}function d(t,r){var n=s(r,!1);e.Debug.assert(void 0!==n);var i=n.get(t);i.languageServiceRefCount--,e.Debug.assert(i.languageServiceRefCount>=0),0===i.languageServiceRefCount&&n.delete(t)}return{acquireDocument:function(t,n,i,s,u){return c(t,e.toPath(t,r,a),n,o(n),i,s,u)},acquireDocumentWithKey:c,updateDocument:function(t,n,i,s,c){return u(t,e.toPath(t,r,a),n,o(n),i,s,c)},updateDocumentWithKey:u,releaseDocument:function(t,n){return d(e.toPath(t,r,a),o(n))},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(t){return e.arrayFrom(i.entries(),function(e){var r=e[0],n=e[1].get(t);return[r,n&&n.languageServiceRefCount]})},reportStats:function(){var t=e.arrayFrom(i.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=i.get(e),r=[];return t.forEach(function(e,t){r.push({name:t,refCount:e.languageServiceRefCount})}
1),r.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:r}});return JSON.stringify(t,void 0,2)},getKeyForCompilationSettings:o}}e.createDocumentRegistry=function(e,r){return t(e,r)},e.createDocumentRegistryInternal=t}(u||(u={})),function(e){!function(t){function r(t,r){return e.forEach(273===t.kind?t.statements:t.body.statements,function(t){return r(t)||c(t)&&e.forEach(t.body&&t.body.statements,r)})}function n(t,n){if(t.externalModuleIndicator||void 0!==t.imports)for(var i=0,a=t.imports;i<a.length;i++){var o=a[i];n(e.importFromModuleSpecifier(o),o)}else r(t,function(t){switch(t.kind){case 249:case 243:(r=t).moduleSpecifier&&e.isStringLiteral(r.moduleSpecifier)&&n(r,r.moduleSpecifier);break;case 242:var r;u(r=t)&&n(r,r.moduleReference.expression)}})}function i(t,r,n){var i=t.parent;if(i){var a=n.getMergedSymbol(i);return e.isExternalModuleSymbol(a)?{exportingModuleSymbol:a,exportKind:r}:void 0}}function a(e,t){return t.getMergedSymbol(s(e).symbol)}function s(t){if(186===t.kind)return t.getSourceFile();var r=t.parent;return 273===r.kind?r:(e.Debug.assert(239===r.kind),e.cast(r.parent,c))}function c(e){return 238===e.kind&&9===e.name.kind}function u(e){return 253===e.moduleReference.kind&&9===e.moduleReference.expression.kind}t.createImportTracker=function(t,i,c,l){var d=function(t,r,i){for(var a=e.createMap(),o=0,s=t;o<s.length;o++){var c=s[o];i.throwIfCancellationRequested(),n(c,function(t,n){var i=r.getSymbolAtLocation(n);if(i){var o=e.getSymbolId(i).toString(),s=a.get(o);s||a.set(o,s=[]),s.push(t)}})}return a}(t,c,l);return function(n,f,p){var _=function(t,n,i,o,c,u){var l=o.exportingModuleSymbol,d=o.exportKind,f=e.nodeSeenTracker(),p=e.nodeSeenTracker(),_=[],m=!!l.globalExports,g=m?void 0:[];return function t(r){var n=y(r);if(n)for(var i=0,o=n;i<o.length;i++){var l=o[i];if(f(l))switch(u.throwIfCancellationRequested(),l.kind){case 186:if(!m){var p=l.parent;if(2===d&&231===p.kind){var g=p.name;if(71===g.kind){_.push(g);break}}v(l.getSourceFile())}break;case 71:break;case 242:h(l,l.name,e.hasModifier(l,1));break;case 243:var b=l.importClause&&l.importClause.namedBindings;if(b&&245===b.kind)h(l,b.name);else if(e.isDefaultImport(l)){var x=s(l);m||v(x),_.push(l)}else _.push(l);break;case 249:l.exportClause?_.push(l):t(a(l,c));break;case 178:_.push(l);break;default:e.Debug.assertNever(l,"Unexpected import kind: "+e.Debug.showSyntaxKind(l))}}}(l),{directImports:_,indirectUsers:function(){if(m)return t;for(var r=0,i=l.declarations;r<i.length;r++){var a=i[r];e.isExternalModuleAugmentation(a)&&n.has(a.getSourceFile().fileName)&&v(a)}return g.map(e.getSourceFileOfNode)}()};function h(t,n,i){if(2===d)_.push(t);else if(!m){var a=s(t);e.Debug.assert(273===a.kind||238===a.kind),i||function(t,n,i){var a=i.getSymbolAtLocation(n);return r(t,function(t){if(e.isExportDeclaration(t)){var r=t.exportClause,n=t.moduleSpecifier;return!n&&r&&r.elements.some(function(e){return i.getExportSpecifierLocalTargetSymbol(e)===a})}})}(a,n,c)?function t(r){if(v(r)){var n=c.getMergedSymbol(r.symbol);e.Debug.assert(!!(1536&n.flags));var i=y(n);if(i)for(var a=0,o=i;a<o.length;a++){var u=o[a];t(s(u))}}}(a):v(a)}}function v(t){e.Debug.assert(!m);var r=p(t);return r&&g.push(t),r}function y(t){return i.get(e.getSymbolId(t).toString())}}(t,i,d,f,c,l),m=_.directImports,g=_.indirectUsers;return o({indirectUsers:g},function(t,r,n,i,a){var o=[],s=[];function c(e,t){o.push([e,t])}if(t)for(var l=0,d=t;l<d.length;l++){var f=d[l];p(f)}return{importSearches:o,singleReferences:s};function p(t){if(242!==t.kind)if(71!==t.kind)if(178!==t.kind){if(9===t.moduleSpecifier.kind)if(249!==t.kind){var o=t.importClause;if(o){var l=o.namedBindings;if(l&&245===l.kind)_(l.name);else if(0===n)m(l);else{var d=o.name;if(d&&(!a||d.escapedText===e.symbolEscapedNameNoDefault(r))){var f=i.getSymbolAtLocation(d);c(d,f)}1===n&&m(l)}}}else m(t.exportClause)}else t.qualifier?e.isIdentifier(t.qualifier)&&t.qualifier.escapedText===e.symbolName(r)&&s.push(t.qualifier):2===n&&s.push(t.argument.literal);else _(t);else u(t)&&_(t.name)}function _(e){2!==n||a&&!g(e.escapedText)||c(e,i.getSymbolAtLocation(e))}function m(e){if(e)for(var t=0,n=e.elements;t<n.length;t++){var o=n[t],u=o.name,l=o.propertyName;if(g((l||u).escapedText))if(l)s.push(l),a&&u.escapedText!==r.escapedName||c(u,i.getSymbolAtLocation(u));else{var d=251===o.kind&&o.propertyName?i.getExportSpecifierLocalTargetSymbol(o):i.getSymbolAtLocation(u);c(u,d)}}}function g(e){return e===r.escapedName||0!==n&&"default"===e}}(m,n,f.exportKind,c,p))}},function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals"}(t.ExportKind||(t.ExportKind={}
1)),function(e){e[e.Import=0]="Import",e[e.Export=1]="Export"}(t.ImportExport||(t.ImportExport={})),t.findModuleReferences=function(e,t,r){for(var i=[],a=e.getTypeChecker(),o=0,s=t;o<s.length;o++){var c=s[o],u=r.valueDeclaration;if(273===u.kind){for(var l=0,d=c.referencedFiles;l<d.length;l++){var f=d[l];e.getSourceFileFromReference(c,f)===u&&i.push({kind:"reference",referencingFile:c,ref:f})}for(var p=0,_=c.typeReferenceDirectives;p<_.length;p++){f=_[p];var m=e.getResolvedTypeReferenceDirectives().get(f.fileName);void 0!==m&&m.resolvedFileName===u.fileName&&i.push({kind:"reference",referencingFile:c,ref:f})}}n(c,function(e,t){a.getSymbolAtLocation(t)===r&&i.push({kind:"import",literal:t})})}return i},t.getImportOrExportSymbol=function(t,r,n,a){return a?s():s()||function(){var i=function(t){var r=t.parent;switch(r.kind){case 242:return r.name===t&&u(r)?{isNamedImport:!1}:void 0;case 247:return r.propertyName?void 0:{isNamedImport:!0};case 244:case 245:return e.Debug.assert(r.name===t),{isNamedImport:!1};default:return}}(t);if(i){var a=n.getImmediateAliasedSymbol(r);if(a){"export="===(a=function(t,r){if(t.declarations)for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(e.isExportSpecifier(a)&&!a.propertyName&&!a.parent.parent.moduleSpecifier)return r.getExportSpecifierLocalTargetSymbol(a)}return t}(a,n)).escapedName&&(a=function(t,r){if(2097152&t.flags)return e.Debug.assertDefined(r.getImmediateAliasedSymbol(t));var n=t.valueDeclaration;return e.isExportAssignment(n)?e.Debug.assertDefined(n.expression.symbol):e.isBinaryExpression(n)?e.Debug.assertDefined(n.right.symbol):e.isSourceFile(n)?e.Debug.assertDefined(n.symbol):e.Debug.fail()}(a,n));var s=e.symbolEscapedNameNoDefault(a);return void 0===s||"default"===s||s===r.escapedName?o({kind:0,symbol:a},i):void 0}}}();function s(){var i=t.parent;if(r.exportSymbol)return 184===i.kind?r.declarations.some(function(e){return e===i})&&e.isBinaryExpression(i.parent)?u(i.parent,!1):void 0:c(r.exportSymbol,l(i));var o=function(e,t){if(231===e.kind){var r=e;return r.name!==t?void 0:268===r.parent.kind?void 0:213===r.parent.parent.kind?r.parent.parent:void 0}return e}(i,t);if(o&&e.hasModifier(o,1)){if(e.isImportEqualsDeclaration(o)&&o.moduleReference===t){if(a)return;return{kind:0,symbol:n.getSymbolAtLocation(o.name),isNamedImport:!1}}return c(r,l(o))}if(e.isExportAssignment(i))return s(i);if(e.isExportAssignment(i.parent))return s(i.parent);if(e.isBinaryExpression(i))return u(i,!0);if(e.isBinaryExpression(i.parent))return u(i.parent,!0);if(e.isJSDocTypedefTag(i))return c(r,0);function s(t){var n=e.Debug.assertDefined(t.symbol.parent,"Expected export symbol to have a parent"),i=t.isExportEquals?2:1;return{kind:1,symbol:r,exportInfo:{exportingModuleSymbol:n,exportKind:i}}}function u(t,i){var a;switch(e.getSpecialPropertyAssignmentKind(t)){case 1:a=0;break;case 2:a=2;break;default:return}var o=i?n.getSymbolAtLocation(e.cast(t.left,e.isPropertyAccessExpression).name):r;return!o||1536&n.getMergedSymbol(o.parent).flags||e.Debug.fail("Special property assignment kind does not have a module as its parent. Assignment is "+e.Debug.showSymbol(o)+", parent is "+e.Debug.showSymbol(o.parent)),o&&c(o,a)}}function c(e,t){var r=i(e,t,n);return r&&{kind:1,symbol:e,exportInfo:r}}function l(t){return e.hasModifier(t,512)?1:0}},t.getExportInfo=i}(e.FindAllReferences||(e.FindAllReferences={}))}(u||(u={})),function(e){!function(t){function r(e,t){return{type:"node",node:e,isInString:t}}function n(r,n,a,o,s,c,u){return void 0===c&&(c={}),void 0===u&&(u=e.arrayToSet(o,function(e){return e.fileName})),i(t.Core.getReferencedSymbolsForNode(r,n,a,o,s,c,u))}function i(t){return t&&e.flatMap(t,function(e){return e.references})}function a(r,n,i){var a=t.Core.getIntersectingMeaningFromDeclarations(i,r),o=e.firstOrUndefined(r.declarations)||i,s=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,r,o.getSourceFile(),o,o,a);return{displayParts:s.displayParts,kind:s.symbolKind}}function s(t){if("span"===t.type)return{textSpan:t.textSpan,fileName:t.fileName,isWriteAccess:!1,isDefinition:!1};var r=t.node,n=t.isInString,i=r.getSourceFile();return{fileName:i.fileName,textSpan:c(r,i),isWriteAccess:u(r),isDefinition:79===r.kind||e.isAnyDeclarationName(r)||e.isLiteralComputedPropertyDeclarationName(r),isInString:n}}function c(t,r){var n=t.getStart(r),i=t.getEnd();return 9===t.kind&&(n+=1,i-=1),e.createTextSpanFromBounds(n,i)}function u(t){return 79===t.kind||e.isAnyDeclarationName(t)||e.isWriteAccess(t)}
1t.nodeEntry=r,t.findReferencedSymbols=function(r,n,i,o,u){var l=e.getTouchingPropertyName(o,u,!0),d=t.Core.getReferencedSymbolsForNode(u,l,r,i,n),f=r.getTypeChecker();return d&&d.length?e.mapDefined(d,function(t){var r=t.definition,i=t.references;return r&&{definition:f.runWithCancellationToken(n,function(t){return function(t,r,n){var i=function(){switch(t.type){case"symbol":var i=t.symbol,o=a(i,r,n),s=o.displayParts,c=o.kind,u=s.map(function(e){return e.text}).join("");return{node:i.declarations?e.getNameOfDeclaration(e.first(i.declarations))||e.first(i.declarations):n,name:u,kind:c,displayParts:s};case"label":var l=t.node;return{node:l,name:l.text,kind:"label",displayParts:[e.displayPart(l.text,e.SymbolDisplayPartKind.text)]};case"keyword":var d=t.node,f=e.tokenToString(d.kind);return{node:d,name:f,kind:"keyword",displayParts:[{text:f,kind:"keyword"}]};case"this":var p=t.node,i=r.getSymbolAtLocation(p),_=i&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,i,p.getSourceFile(),e.getContainerNode(p),p).displayParts||[e.textPart("this")];return{node:p,name:"this",kind:"var",displayParts:_};case"string":var m=t.node;return{node:m,name:m.text,kind:"var",displayParts:[e.displayPart(e.getTextOfNode(m),e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(t)}}(),o=i.node,s=i.name,u=i.kind,l=i.displayParts,d=o.getSourceFile();return{containerKind:"",containerName:"",fileName:d.fileName,kind:u,name:s,textSpan:c(e.isComputedPropertyName(o)?o.expression:o,d),displayParts:l}}(r,t,l)}),references:i.map(s)}}):void 0},t.getImplementationsAtPosition=function(i,s,u,l,d){var f=function(i,a,o,s,c){if(273!==s.kind){var u=i.getTypeChecker();if(270===s.parent.kind){var l=[];return t.Core.getReferenceEntriesForShorthandPropertyAssignment(s,u,function(e){return l.push(r(e))}),l}if(97===s.kind||e.isSuperProperty(s.parent)){var d=u.getSymbolAtLocation(s);return d.valueDeclaration&&[r(d.valueDeclaration)]}return n(c,s,i,o,a,{implementations:!0})}}(i,s,u,e.getTouchingPropertyName(l,d,!1),d),p=i.getTypeChecker();return e.map(f,function(t){return function(t,r){if("node"===t.type){var n=t.node,i=n.getSourceFile();return o({textSpan:c(n,i),fileName:i.fileName},function(t,r){var n=r.getSymbolAtLocation(e.isDeclaration(t)&&t.name?t.name:t);return n?a(n,r,t):183===t.kind?{kind:"interface",displayParts:[e.punctuationPart(19),e.textPart("object literal"),e.punctuationPart(20)]}:204===t.kind?{kind:"local class",displayParts:[e.punctuationPart(19),e.textPart("anonymous local class"),e.punctuationPart(20)]}:{kind:e.getNodeKind(t),displayParts:[]}}(n,r))}var s=t.textSpan,u=t.fileName;return{textSpan:s,fileName:u,kind:"",displayParts:[]}}(t,p)})},t.findReferencedEntries=function(r,n,a,o,c,u){var l=e.getTouchingPropertyName(o,c,!0);return e.map(i(t.Core.getReferencedSymbolsForNode(c,l,r,a,n,u)),s)},t.getReferenceEntriesForNode=n,t.toHighlightSpan=function(e){if("span"===e.type)return{fileName:e.fileName,span:{textSpan:e.textSpan,kind:"reference"}};var t=e.node,r=e.isInString,n=t.getSourceFile(),i=u(t),a={textSpan:c(t,n),kind:i?"writtenReference":"reference",isInString:r};return{fileName:n.fileName,span:a}}}(e.FindAllReferences||(e.FindAllReferences={}))}(u||(u={})),function(e){!function(t){!function(r){function n(r,n,i,a,o){e.Debug.assert(!!n.valueDeclaration);for(var s=e.mapDefined(t.findModuleReferences(r,a,n),function(t){if("import"===t.kind){var r=t.literal.parent;if(e.isLiteralTypeNode(r)){var n=e.cast(r.parent,e.isImportTypeNode);if(i&&!n.qualifier)return}return{type:"node",node:t.literal}}return{type:"span",fileName:t.referencingFile.fileName,textSpan:e.createTextSpanFromRange(t.ref)}}),c=0,u=n.declarations;c<u.length;c++){var l=u[c];switch(l.kind){case 273:break;case 238:o.has(l.getSourceFile().fileName)&&s.push({type:"node",node:l.name});break;default:e.Debug.fail("Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}return s.length?[{definition:{type:"symbol",symbol:n},references:s}]:e.emptyArray}var i;r.getReferencedSymbolsForNode=function(r,i,s,c,d,p,m){if(void 0===p&&(p={}),void 0===m&&(m=e.arrayToSet(c,function(e){return e.fileName})),e.isSourceFile(i)){var h=e.GoToDefinition.getReferenceAtPosition(i,r,s);return h&&n(s,s.getTypeChecker().getMergedSymbol(h.file.symbol),!1,c,m)}if(!p.implementations){var v=function(r,n,i){if(e.isTypeKeyword(r.kind))return function(r,n,i){var a=e.flatMap(r,function(r){return i.throwIfCancellationRequested(),e.mapDefined(f(r,e.tokenToString(n),r),function(e){return e.kind===n?t.nodeEntry(e):void 0})});return a.length?[{definition:{type:"keyword",node:a[0].node},references:a}]:void 0}(n,r.kind,i);if(e.isJumpStatementTarget(r)){var a=e.getTargetLabel(r.parent,r.text);return a&&_(a.parent,a)}
1return e.isLabelOfLabeledStatement(r)?_(r.parent,r):e.isThis(r)?function(r,n,i){var a=e.getThisContainer(r,!1),o=32;switch(a.kind){case 153:case 152:if(e.isObjectLiteralMethod(a))break;case 151:case 150:case 154:case 155:case 156:o&=e.getModifierFlags(a),a=a.parent;break;case 273:if(e.isExternalModule(a))return;case 233:case 191:break;default:return}var s=e.flatMap(273===a.kind?n:[a.getSourceFile()],function(t){return i.throwIfCancellationRequested(),f(t,"this",e.isSourceFile(a)?t:a).filter(function(t){if(!e.isThis(t))return!1;var r=e.getThisContainer(t,!1);switch(a.kind){case 191:case 233:return a.symbol===r.symbol;case 153:case 152:return e.isObjectLiteralMethod(a)&&a.symbol===r.symbol;case 204:case 234:return r.parent&&a.symbol===r.parent.symbol&&(32&e.getModifierFlags(r))===o;case 273:return 273===r.kind&&!e.isExternalModule(r)}})}).map(function(e){return t.nodeEntry(e)});return[{definition:{type:"this",node:r},references:s}]}(r,n,i):97===r.kind?function(r){var n=e.getSuperContainer(r,!1);if(n){var i=32;switch(n.kind){case 151:case 150:case 153:case 152:case 154:case 155:case 156:i&=e.getModifierFlags(n),n=n.parent;break;default:return}var a=n.getSourceFile(),o=e.mapDefined(f(a,"super",n),function(r){if(97===r.kind){var a=e.getSuperContainer(r,!1);return a&&(32&e.getModifierFlags(a))===i&&a.parent.symbol===n.symbol?t.nodeEntry(r):void 0}});return[{definition:{type:"symbol",symbol:n.symbol},references:o}]}}(r):void 0}(i,c,d);if(v)return v}var S=s.getTypeChecker(),C=S.getSymbolAtLocation(i);if(!C)return!p.implementations&&e.isStringLiteral(i)?function(r,n,i){var a=e.flatMap(n,function(n){return i.throwIfCancellationRequested(),e.mapDefined(f(n,r.text),function(n){return e.isStringLiteral(n)&&n.text===r.text?t.nodeEntry(n,!0):void 0})});return[{definition:{type:"string",node:r},references:a}]}(i,c,d):void 0;var E=e.emptyArray,T=function(t){return 1536&t.flags&&e.find(t.declarations,e.isSourceFile)}(C);if(T){var w=C.exports.get("export=");if(E=n(s,C,!!w,c,m),!w||!m.has(T.fileName))return E;C=e.skipAlias(w,S),i=void 0}return e.concatenate(E,function(t,r,n,i,s,c,d){t=r&&function(t,r,n){var i=r.parent;return e.isExportSpecifier(i)?y(r,t,i,n):e.isImportSpecifier(i)&&i.propertyName===r?n.getImmediateAliasedSymbol(t):e.firstDefined(t.declarations,function(i){return i.parent||e.Debug.fail("Unexpected symbol at "+e.Debug.showSyntaxKind(r)+": "+e.Debug.showSymbol(t)),e.isTypeLiteralNode(i.parent)&&e.isUnionTypeNode(i.parent.parent)?n.getPropertyOfType(n.getTypeFromTypeNode(i.parent.parent),t.name):void 0})}(t,r,s)||t;var f=r?k(r,t):7,p=[],_=new a(n,i,r?function(t){switch(t.kind){case 123:return 1;case 71:if(e.isClassLike(t.parent))return e.Debug.assert(t.parent.name===t),2;default:return 0}}(r):0,s,c,f,d,p);if(r&&79===r.kind)b(r,t,_),o(r,t,{exportingModuleSymbol:e.Debug.assertDefined(t.parent,"Expected export symbol to have a parent"),exportKind:1},_);else{var m=_.createSearch(r,t,void 0,{allSearchSymbols:r?x(t,r,s,d.implementations):[t]}),h=function(t){var r=t.declarations,n=t.flags,i=t.parent,a=t.valueDeclaration;if(a&&(191===a.kind||204===a.kind))return a;if(r){if(8196&n){var o=e.find(r,function(t){return e.hasModifier(t,8)});return o?e.getAncestor(o,234):void 0}if(!l(t)){var s,c=i&&!(262144&t.flags);if(!c||1536&i.flags&&e.isExternalModuleSymbol(i)&&!i.globalExports){for(var u=0,d=r;u<d.length;u++){var f=d[u],p=e.getContainerNode(f);if(s&&s!==p)return;if(!p||273===p.kind&&!e.isExternalOrCommonJsModule(p))return;s=p}return c?s.getSourceFile():s}}}}(t);if(h)g(h,h.getSourceFile(),m,_,!(e.isSourceFile(h)&&!e.contains(n,h)));else for(var v=0,S=_.sourceFiles;v<S.length;v++){var C=S[v];_.cancellationToken.throwIfCancellationRequested(),u(C,m,_)}}return p}(C,i,c,m,S,d,p))},function(e){e[e.None=0]="None",e[e.Constructor=1]="Constructor",e[e.Class=2]="Class"}(i||(i={}));var a=function(){function r(t,r,n,i,a,o,s,c){this.sourceFiles=t,this.sourceFilesSet=r,this.specialSearchKind=n,this.checker=i,this.cancellationToken=a,this.searchMeaning=o,this.options=s,this.result=c,this.inheritsFromCache=e.createMap(),this.markSeenContainingTypeReference=e.nodeSeenTracker(),this.markSeenReExportRHS=e.nodeSeenTracker(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}return r.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.f
1ileName)},r.prototype.getImportSearches=function(e,r){return this.importTracker||(this.importTracker=t.createImportTracker(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,r,this.options.isForRename)},r.prototype.createSearch=function(t,r,n,i){void 0===i&&(i={});var a=i.text,o=void 0===a?e.stripQuotes(e.unescapeLeadingUnderscores((e.getLocalSymbolForExportDefault(r)||r).escapedName)):a,s=i.allSearchSymbols,c=void 0===s?[r]:s;return{symbol:r,comingFrom:n,text:o,escapedText:e.escapeLeadingUnderscores(o),parents:this.options.implementations&&t&&function(t,r,n){var i=e.isRightSideOfPropertyAccess(t)?t.parent:void 0,a=i&&n.getTypeAtLocation(i.expression),o=e.mapDefined(a&&(a.isUnionOrIntersection()?a.types:a.symbol===r.parent?void 0:[a]),function(e){return e.symbol&&96&e.symbol.flags?e.symbol:void 0});return 0===o.length?void 0:o}(t,r,this.checker),allSearchSymbols:c,includes:function(t){return e.contains(c,t)}}},r.prototype.referenceAdder=function(r){var n=e.getSymbolId(r),i=this.symbolIdToReferences[n];return i||(i=this.symbolIdToReferences[n]=[],this.result.push({definition:{type:"symbol",symbol:r},references:i})),function(e){return i.push(t.nodeEntry(e))}},r.prototype.addStringOrCommentReference=function(e,t){this.result.push({definition:void 0,references:[{type:"span",fileName:e,textSpan:t}]})},r.prototype.markSearchedSymbols=function(t,r){for(var n=e.getNodeId(t),i=this.sourceFileToSeenSymbols[n]||(this.sourceFileToSeenSymbols[n]=e.createMap()),a=!1,o=0,s=r;o<s.length;o++){var c=s[o];a=e.addToSeen(i,e.getSymbolId(c))||a}return a},r}();function o(e,t,r,n){var i=n.getImportSearches(t,r),a=i.importSearches,o=i.singleReferences,c=i.indirectUsers;if(o.length)for(var l=n.referenceAdder(t),d=0,f=o;d<f.length;d++){var p=f[d];s(p,n)&&l(p)}for(var _=0,g=a;_<g.length;_++){var h=g[_],v=h[0],y=h[1];m(v.getSourceFile(),n.createSearch(v,y,1),n)}if(c.length){var b=void 0;switch(r.exportKind){case 0:b=n.createSearch(e,t,1);break;case 1:b=n.options.isForRename?void 0:n.createSearch(e,t,1,{text:"default"})}if(b)for(var x=0,S=c;x<S.length;x++){u(S[x],b,n)}}}function s(t,r){return!!h(t,r)&&(!r.options.isForRename||!!e.isIdentifier(t)&&!((e.isExportSpecifier(t.parent)||e.isImportSpecifier(t.parent))&&"default"===t.escapedText))}function c(e,t){for(var r=0,n=e.declarations;r<n.length;r++){var i=n[r],a=i.getSourceFile();m(a,t.createSearch(i,e,0),t,t.includesSourceFile(a))}}function u(t,r,n){void 0!==e.getNameTable(t).get(r.escapedText)&&m(t,r,n)}function l(t){var r=e.getDeclarationOfKind(t,181);if(r&&179===r.parent.kind&&e.isIdentifier(r.name)&&!r.propertyName)return r}function d(t,r,n,i){var a=r.getSymbolAtLocation(t);if(a)for(var o=0,s=f(n,a.name);o<s.length;o++){var c=s[o];if(e.isIdentifier(c)&&c!==t&&c.escapedText===t.escapedText){var u=r.getSymbolAtLocation(c);if(u===a||r.getShorthandAssignmentValueSymbol(c.parent)===a||e.isExportSpecifier(c.parent)&&y(c,u,c.parent,r)===a){var l=i(c);if(l)return l}}}}function f(t,r,n){return void 0===n&&(n=t),p(t,r,n).map(function(r){return e.getTouchingPropertyName(t,r,!0)})}function p(t,r,n){void 0===n&&(n=t);var i=[];if(!r||!r.length)return i;for(var a=t.text,o=a.length,s=r.length,c=a.indexOf(r,n.pos);c>=0&&!(c>n.end);){var u=c+s;0!==c&&e.isIdentifierPart(a.charCodeAt(c-1),6)||u!==o&&e.isIdentifierPart(a.charCodeAt(u),6)||i.push(c),c=a.indexOf(r,c+s+1)}return i}function _(r,n){var i=r.getSourceFile(),a=n.text,o=e.mapDefined(f(i,a,r),function(r){return r===n||e.isJumpStatementTarget(r)&&e.getTargetLabel(r,a)===n?t.nodeEntry(r):void 0});return[{definition:{type:"label",node:n},references:o}]}function m(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),g(e,e,t,r,n)}function g(e,t,r,n,i){if(n.markSearchedSymbols(t,r.allSearchSymbols))for(var a=0,o=p(t,r.text,e);a<o.length;a++){v(t,o[a],r,n,i)}}function h(t,r){return!!(e.getMeaningFromLocation(t)&r.searchMeaning)}function v(r,n,i,a,s){var u=e.getTouchingPropertyName(r,n,!0);if(function(t,r){switch(t.kind){case 71:return t.text.length===r.length;case 9:var n=t;return(e.isLiteralNameOfPropertyDeclarationOrIndexAccess(n)||e.isNameOfModuleDeclaration(t)||e.isExpressionOfExternalModuleImportEqualsDeclaration(t))&&n.text.length===r.length;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)&&t.text.length===r.length;case 79:return"default".length===r.length;default:return!1}}(u,i.text)){if(h(u,a)){var l=a.checker.getSymbolAtLocation(u);if(l){var d=u.parent;if(!e.isImportSpecifier(d)||d.propertyName!==u){if(e.isExportSpecifier(d))return e.Debug.assert(71===u.kind),void function(r,n,i,a,s,u){var l=i.parent,d=i.propertyName,f=i.name,p=l.parent,_=y(r,n,i,s.checker);if(!a.includes(_))return;d?r===d?(p.moduleSpecifier||v(),u&&!s.options.isForRename&&s.markSeenReExportRHS(f)&&b(f,n,s)):s.markSeenReExportRHS(r)&&v():s.options.isForRename&&"default"===f.escapedText||v();if(r!==d||!s.options.isForRename){var m=79===r.originalKeywordKind?1:0,g=t.getExportInfo(n,m,s.checker);e.Debug.assert(!!g),o(r,n,g,s)}if(1!==a.comingFrom&&p.moduleSpecifier&&!d){var h=s.checker.getExportSpecifierLocalTargetSymbol(i);h&&c(h,s)}function v(){u&&b(r,_,s)}}(u,l,d,i,a,s);var f=function(t,r,n,i){var a=i.checker;return S(r,n,a,function(r,n,i){return t.includes(i||n||r)?!n||6&e.getCheckFlags(r)?r:n:void 0},function(r){return!(t.parents&&!t.parents.some(function(t){return function t(r,n,i,a){if(r===n)return!0;var o=e.getSymbolId(r)+","+e.getSymbolId(n);var s=i.get(o);if(void 0!==s)return s;i.set(o,!1);var c=r.declarations.some(function(r){return e.getAllSuperTypeNodes(r).some(function(e){var r=a.getTypeAtLocation(e);return!!r&&!!r.symbol&&t(r.symbol,n,i,a)})});i.set(o,c);return c}(r.parent,t,i.inheritsFromCache,a)}))})}(i,l,u,a);if(f){switch(a.specialSearchKind){case 0:s&&b(u,f,a);break;case 1:!function(t,r,n,i){e.isNewExpressionTarget(t)&&b(t,n.symbol,i);var a=function(){return i.referenceAdder(n.symbol)};if(e.isClassLike(t.parent))e.Debug.assert(79===t.kind||t.parent.name===t),function(t,r,n){for(var i=0,a=t.members.get("__constructor").declarations;i<a.length;i++){var o=a[i],s=e.findChildOfKind(o,123,r);e.Debug.assert(154===o.kind&&!!s),n(s)}
1t.exports.forEach(function(t){var r=t.valueDeclaration;if(r&&153===r.kind){var i=r.body;i&&E(i,99,function(t){e.isNewExpressionTarget(t)&&n(t)})}})}(n.symbol,r,a());else{var o=(s=t,e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(s).parent));o&&function(t,r){var n=t.symbol.members.get("__constructor");if(!n)return;for(var i=0,a=n.declarations;i<a.length;i++){var o=a[i];e.Debug.assert(154===o.kind);var s=o.body;s&&E(s,97,function(t){e.isCallExpressionTarget(t)&&r(t)})}}(o,a())}var s}(u,r,i,a);break;case 2:!function(t,r,n){b(t,r.symbol,n);var i=t.parent;if(n.options.isForRename||!e.isClassLike(i))return;e.Debug.assert(i.name===t);for(var a=n.referenceAdder(r.symbol),o=0,s=i.members;o<s.length;o++){var c=s[o];e.isMethodOrAccessor(c)&&e.hasModifier(c,32)&&c.body.forEachChild(function t(r){99===r.kind?a(r):e.isFunctionLike(r)||r.forEachChild(t)})}}(u,i,a);break;default:e.Debug.assertNever(a.specialSearchKind)}!function(e,r,n,i){var a=t.getImportOrExportSymbol(e,r,i.checker,1===n.comingFrom);if(!a)return;var s=a.symbol;
10===a.kind?i.options.isForRename&&!a.isNamedImport||c(s,i):o(e,s,a.exportInfo,i)}(u,l,i,a)}else!function(t,r,n){var i=t.flags,a=t.valueDeclaration,o=n.checker.getShorthandAssignmentValueSymbol(a);33554432&i||!r.includes(o)||b(e.getNameOfDeclaration(a),o,n)}(l,i,a)}}}}else!a.options.implementations&&(a.options.findInStrings&&e.isInString(r,n)||a.options.findInComments&&e.isInNonReferenceComment(r,n))&&a.addStringOrCommentReference(r.fileName,e.createTextSpan(n,i.text.length))}function y(t,r,n,i){return function(t,r){var n=r.parent,i=r.propertyName,a=r.name;return e.Debug.assert(i===t||a===t),i?i===t:!n.parent.moduleSpecifier}(t,n)&&i.getExportSpecifierLocalTargetSymbol(n)||r}function b(t,r,n){var i=n.referenceAdder(r);n.options.implementations?function(t,r,n){if(e.isDeclarationName(t)&&(i=t.parent,4194304&i.flags||(e.isVariableLike(i)?e.hasInitializer(i):e.isFunctionLikeDeclaration(i)?i.body:e.isClassLike(i)||e.isModuleOrEnumDeclaration(i))))return void r(t.parent);var i;if(71!==t.kind)return;270===t.parent.kind&&C(t,n.checker,r);var a=function t(r){return e.isIdentifier(r)||e.isPropertyAccessExpression(r)?t(r.parent):e.isExpressionWithTypeArguments(r)?e.tryCast(r.parent.parent,e.isClassLike):void 0}(t);if(a)return void r(a);var o=e.findAncestor(t,function(t){return!e.isQualifiedName(t.parent)&&!e.isTypeNode(t.parent)&&!e.isTypeElement(t.parent)}),s=o.parent;if(e.hasType(s)&&s.type===o&&n.markSeenContainingTypeReference(s))if(e.hasInitializer(s))u(s.initializer);else if(e.isFunctionLike(s)&&s.body){var c=s.body;
1212===c.kind?e.forEachReturnStatement(c,function(e){e.expression&&u(e.expression)}):u(c)}else e.isAssertionExpression(s)&&u(s.expression);function u(e){(function e(t){switch(t.kind){case 190:return e(t.expression);case 192:case 191:case 183:case 204:case 182:return!0;default:return!1}})(e)&&r(e)}}(t,i,n):i(t)}function x(e,t,r,n){var i=[];return S(e,t,r,function(e,t,r){i.push(r||t||e)},function(){return!n}),i}function S(t,r,n,i,a){var o=e.getContainingObjectLiteralElement(r);if(o){var s=e.firstDefined(function(t,r){var n=r.getContextualType(t.parent),i=e.getNameFromPropertyName(t.name),a=n&&i&&n.getProperty(i);return a?[a]:n&&n.isUnion()?e.mapDefined(n.types,function(e){return e.getProperty(i)}):e.emptyArray}(o,n),g);if(s)return s;var c=function(t,r){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent)&&r.getPropertySymbolOfDestructuringAssignment(t)}(r,n),u=c&&i(c);if(u)return u;var d=n.getShorthandAssignmentValueSymbol(r.parent),f=d&&i(d);if(f)return f}var p=g(t);if(p)return p;if(t.valueDeclaration&&e.isParameterPropertyDeclaration(t.valueDeclaration)){var _=n.getSymbolsOfParameterPropertyDeclaration(e.cast(t.valueDeclaration,e.isParameter),t.name);return e.Debug.assert(2===_.length&&!!(1&_[0].flags)&&!!(4&_[1].flags)),g(1&t.flags?_[1]:_[0])}var m=function(t,r){var n=l(t);return n&&e.getPropertySymbolFromBindingElement(r,n)}(t,n);return m&&g(m);function g(t){return e.firstDefined(n.getRootSymbols(t),function(r){return i(t,r)||(r.parent&&96&r.parent.flags&&a(r)?function(t,r,n,i){var a=e.createMap();return function t(o){if(!(96&o.flags)||!e.addToSeen(a,e.getSymbolId(o)))return;return e.firstDefined(o.declarations,function(a){return e.firstDefined(e.getAllSuperTypeNodes(a),function(a){var o=n.getTypeAtLocation(a),s=o&&o.symbol&&n.getPropertyOfType(o,r);return s&&(e.firstDefined(n.getRootSymbols(s),i)||t(o.symbol))})})}(t)}(r.parent,r.name,n,function(e){return i(t,r,e)}):void 0)})}}function k(t,r){var n=e.getMeaningFromLocation(t),i=r.declarations;if(i){var a=void 0;do{a=n;for(var o=0,s=i;o<s.length;o++){var c=s[o],u=e.getMeaningFromDeclaration(c);u&n&&(n|=u)}}while(n!==a)}return n}function C(t,r,n){var i=r.getSymbolAtLocation(t),a=r.getShorthandAssignmentValueSymbol(i.valueDeclaration);if(a)for(var o=0,s=a.getDeclarations();o<s.length;o++){var c=s[o];1&e.getMeaningFromDeclaration(c)&&n(c)}}function E(t,r,n){e.forEachChild(t,function(e){e.kind===r&&n(e),E(e,r,n)})}r.isSymbolReferencedInFile=function(e,t,r){return d(e,t,r,function(){return!0})||!1},r.eachSymbolReferenceInFile=d,r.getIntersectingMeaningFromDeclarations=k,r.getReferenceEntriesForShorthandPropertyAssignment=C}(t.Core||(t.Core={}))}(e.FindAllReferences||(e.FindAllReferences={}))}(u||(u={})),function(e){function t(t,r,n){var i=n(t);return function(t){var a=n(t);if(a===i)return r;var o=e.tryRemoveDirectoryPrefix(a,i);return void 0===o?void 0:r+"/"+o}}function r(t,r){return e.ensurePathIsNonModuleName(function(t,r){return e.normalizePath(e.combinePaths(t,r))}(t,r))}function n(t,r,n){return t&&(t.resolvedModule&&i(t.resolvedModule.resolvedFileName)||e.firstDefined(t.failedLookupLocations,i));function i(e){var t=r(e);return n.getSourceFile(e)||void 0!==t&&n.getSourceFile(t)?t||e:void 0}}function i(t,r){return e.createTextRange(t.getStart(r)+1,t.end-1)}function a(t,r){if(e.isObjectLiteralExpression(t))for(var n=0,i=t.properties;n<i.length;n++){var a=i[n];e.isPropertyAssignment(a)&&e.isStringLiteral(a.name)&&r(a,a.name.text)}}e.getEditsForFileRename=function(o,s,c,u,l,d){var f=e.hostUsesCaseSensitiveFileNames(u),p=e.createGetCanonicalFileName(f),_=t(s,c,p),m=t(c,s,p);return e.textChanges.ChangeTracker.with({host:u,formatContext:l},function(t){!function(t,n,o,s,c,u){var l=t.getCompilerOptions().configFile;if(l){var d=e.getDirectoryPath(l.fileName),f=e.getTsConfigObjectLiteralExpression(l);f&&a(f,function(t,r){switch(r){case"files":case"include":case"exclude":var i=p(t);if(!i&&"include"===r&&e.isArrayLiteralExpression(t.initializer)){var o=e.mapDefined(t.initializer.elements,function(t){return e.isStringLiteral(t)?t.text:void 0}),f=e.getFileMatcherPatterns(d,[],o,u,c);e.getRegexFromPattern(e.Debug.assertDefined(f.includeFilePattern),u).test(s)||n.insertNodeAfter(l,e.last(t.initializer.elements),e.createStringLiteral(m(s)))}break;case"compilerOptions":a(t.initializer,function(t,r){var n=e.getOptionFromName(r);
1n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?p(t):"paths"===r&&a(t.initializer,function(t){if(e.isArrayLiteralExpression(t.initializer))for(var r=0,n=t.initializer.elements;r<n.length;r++){var i=n[r];_(i)}})})}})}function p(t){for(var r=e.isArrayLiteralExpression(t.initializer)?t.initializer.elements:[t.initializer],n=!1,i=0,a=r;i<a.length;i++){var o=a[i];n=_(o)||n}return n}function _(t){if(!e.isStringLiteral(t))return!1;var a=r(d,t.text),s=o(a);return void 0!==s&&(n.replaceRangeWithText(l,i(t,l),m(s)),!0)}function m(t){return e.getRelativePathFromDirectory(d,t,!u)}}(o,t,_,c,u.getCurrentDirectory(),f),function(t,a,o,s,c,u,l){for(var d=function(d){var f=o(d.fileName)||d.fileName,p=e.getDirectoryPath(f),_=s(d.fileName),m=_||d.fileName,g=e.getDirectoryPath(m);!function(e,t,r,n){for(var a=0,o=e.referencedFiles;a<o.length;a++){var s=o[a],c=r(s.fileName);void 0!==c&&c!==e.text.slice(s.pos,s.end)&&t.replaceRangeWithText(e,s,c)}for(var u=0,l=e.imports;u<l.length;u++){var d=l[u],c=n(d);void 0!==c&&c!==d.text&&t.replaceRangeWithText(e,i(d,e),c)}}(d,a,function(t){if(e.pathIsRelative(t)){var n=r(g,t),i=o(n);return void 0===i?void 0:e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(p,i,u))}},function(r){var i=void 0!==_?n(e.resolveModuleName(r.text,m,t.getCompilerOptions(),c),o,t):function(t,r,i,a,o){var s=i.getTypeChecker().getSymbolAtLocation(t);if(s){if(s.declarations.some(function(t){return e.isAmbientModule(t)}))return;var c=e.find(s.declarations,e.isSourceFile).fileName;return o(c)||c}var u=a.resolveModuleNames?a.getResolvedModuleWithFailedLookupLocationsFromCache&&a.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,r.fileName):i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,r.fileName);return n(u,o,i)}(r,d,t,c,o);return void 0===i?void 0:e.moduleSpecifiers.getModuleSpecifier(t.getCompilerOptions(),d,f,i,c,l)})},f=0,p=t.getSourceFiles();f<p.length;f++){var _=p[f];d(_)}}(o,t,_,m,u,p,d)})}}(u||(u={})),function(e){!function(t){function r(t,r,c){var u,l,d=n(r,c,t);if(d)return[(u=d.fileName,l=d.file.fileName,{fileName:l,textSpan:e.createTextSpanFromBounds(0,0),kind:"script",name:u,containerName:void 0,containerKind:void 0})];var f=e.getTouchingPropertyName(r,c,!0);if(f!==r){if(e.isJumpStatementTarget(f)){var p=e.getTargetLabel(f.parent,f.text);return p?[o(p,"label",f.text,void 0)]:void 0}var _=t.getTypeChecker(),m=function(e,t){var r=t.getSymbolAtLocation(e);if(r&&2097152&r.flags&&function(e,t){if(71!==e.kind)return!1;if(e.parent===t)return!0;switch(t.kind){case 244:case 242:return!0;case 247:return 246===t.parent.kind;default:return!1}}(e,r.declarations[0])){var n=t.getAliasedSymbol(r);if(n.declarations)return n}return r}(f,_);if(!m)return function(t,r){if(!e.isPropertyAccessExpression(t.parent)||t.parent.name!==t)return;var n=r.getTypeAtLocation(t.parent.expression);return e.mapDefined(n.isUnionOrIntersection()?n.types:[n],function(e){var t=r.getIndexInfoOfType(e,0);return t&&t.declaration&&s(r,t.declaration)})}(f,_);var g=function(t,r){var n=function(t){var r=function t(r){return e.isRightSideOfPropertyAccess(r)?t(r.parent):r}(t),n=r.parent;return n&&e.isCallLikeExpression(n)&&e.getInvokedExpression(n)===r&&n}(r),i=n&&t.getResolvedSignature(n);return e.tryCast(i&&i.declaration,function(t){return e.isFunctionLike(t)&&!e.isFunctionTypeNode(t)})}(_,f);if(g){var h=s(_,g);return _.getRootSymbols(m).some(function(e){return g.symbol===e||g.symbol.parent===e})||m.declarations.some(function(t){return e.isVariableDeclaration(t)&&t.initializer&&e.isRequireCall(t.initializer,!1)})?[h]:[h].concat(i(_,m,f))}if(270===f.parent.kind){var v=_.getShorthandAssignmentValueSymbol(m.valueDeclaration);return v?v.declarations.map(function(e){return a(e,_,v,f)}):[]}if(e.isPropertyName(f)&&e.isBindingElement(f.parent)&&e.isObjectBindingPattern(f.parent.parent)&&f===(f.parent.propertyName||f.parent.name)){var y=_.getTypeAtLocation(f.parent.parent);if(y){var b=e.getPropertySymbolsFromType(y,f);if(b)return e.flatMap(b,function(e){return i(_,e,f)})}}var x=e.getContainingObjectLiteralElement(f);return x&&_.getContextualType(x.parent)?e.flatMap(e.getPropertySymbolsFromContextualType(_,x),function(e){return i(_,e,f)}):i(_,m,f)}}function n(t,r,n){var i=c(t.referencedFiles,r);if(i){var a=e.tryResolveScriptReference(n,t,i);return a&&{fileName:i.fileName,file:a}}var o=c(t.typeReferenceDirectives,r);if(o){var s=n.getResolvedTypeReferenceDirectives().get(o.fileName),u=s&&n.getSourceFile(s.resolvedFileName);return u&&{fileName:o.fileName,file:u}}}function i(t,r,n){return function(){if(32&r.flags&&(e.isNewExpressionTarget(n)||123===n.kind)){var t=e.find(r.declarations,e.isClassLike)||e.Debug.fail("Expected declaration to have at least one class-like declaration");return i(t.members,!0)}}()||(e.isCallExpressionTarget(n)||e.isNewExpressionTarget(n)||e.isNameOfFunctionDeclaration(n)?i(r.declarations,!1):void 0)||e.map(r.declarations,function(e){return a(e,t,r,n)});function i(i,o){if(i){var s=i.filter(o?e.isConstructorDeclaration:e.isFunctionLike);return s.length?[a(e.find(s,function(e){return!!e.body})||e.last(s),t,r,n)]:void 0}}}function a(t,r,n,i){var a=r.symbolToString(n);return o(t,e.SymbolDisplay.getSymbolKind(r,n,i),a,n.parent?r.symbolToString(n.parent,i):"")}function o(t,r,n,i){var a=e.getNameOfDeclaration(t)||t,o=a.getSourceFile();return{fileName:o.fileName,textSpan:e.createTextSpanFromNode(a,o),kind:r,name:n,containerKind:void 0,containerName:i}}function s(e,t){return a(t,e,t.symbol,t)}function c(t,r){return e.find(t,function(e){return e.pos<=r&&r<=e.end})}t.getDefinitionAtPosition=r,t.getReferenceAtPosition=n,t.getTypeDefinitionAtPosition=function(t,r,n){var a=e.getTouchingPropertyName(r,n,!0);if(a!==r){var o=t.getSymbolAtLocation(a),s=o&&t.getTypeOfSymbolAtLocation(o,a);if(s)return!s.isUnion()||16&s.flags?s.symbol&&i(t,s.symbol,a):e.flatMap(s.types,function(e){return e.symbol&&i(t,e.symbol,a)})}},t.getDefinitionAndBoundSpan=function(t,n,i){var a=r(t,n,i);
1if(a&&0!==a.length){var o=c(n.referencedFiles,i)||c(n.typeReferenceDirectives,i);if(o)return{definitions:a,textSpan:e.createTextSpanFromRange(o)};var s=e.getTouchingPropertyName(n,i,!0);return{definitions:a,textSpan:e.createTextSpan(s.getStart(),s.getWidth())}}},t.findReferenceInPosition=c}(e.GoToDefinition||(e.GoToDefinition={}))}(u||(u={})),function(e){!function(t){var r,n,i=["augments","author","argument","borrows","callback","class","constant","constructor","constructs","default","deprecated","description","event","example","extends","field","fileOverview","function","ignore","inheritDoc","inner","lends","link","memberOf","method","name","namespace","param","private","prop","property","public","requires","returns","see","since","static","template","throws","type","typedef","version"];function a(e){var t=e.comment;switch(e.kind){case 289:return n(e.class);case 295:return i(e.typeParameters.map(function(e){return e.getText()}).join(", "));case 294:return n(e.typeExpression);case 296:case 291:case 297:case 292:var r=e.name;return r?n(r):t;default:return t}function n(e){return i(e.getText())}function i(e){return void 0===t?e:e+" "+t}}function o(e,t){if(e)for(var r=0;r<e.length;r++)if(e.indexOf(e[r])===r){var n=t(e[r],r);if(n)return n}}function s(t){return{name:t,kind:"",kindModifiers:"",displayParts:[e.textPart(t)],documentation:e.emptyArray,tags:e.emptyArray,codeActions:void 0}}function c(t){for(;190===t.kind;)t=t.expression;switch(t.kind){case 191:case 192:return t.parameters;case 204:var r=e.find(t.members,e.isConstructorDeclaration);return r&&r.parameters}return e.emptyArray}t.getJsDocCommentsFromDeclarations=function(t){var r=[];return o(t,function(t){for(var n=0,i=function(t){switch(t.kind){case 292:case 297:return[t];case 291:case 296:return[t,t.parent];default:return e.getJSDocCommentsAndTags(t)}}(t);n<i.length;n++){var a=i[n].comment;void 0!==a&&(r.length&&r.push(e.lineBreakPart()),r.push(e.textPart(a)))}}),r},t.getJsDocTagsFromDeclarations=function(t){var r=[];return o(t,function(t){for(var n=0,i=e.getJSDocTags(t);n<i.length;n++){var o=i[n];r.push({name:o.tagName.text,text:a(o)})}}),r},t.getJSDocTagNameCompletions=function(){return r||(r=e.map(i,function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:"0"}}))},t.getJSDocTagNameCompletionDetails=s,t.getJSDocTagCompletions=function(){return n||(n=e.map(i,function(e){return{name:"@"+e,kind:"keyword",kindModifiers:"",sortText:"0"}}))},t.getJSDocTagCompletionDetails=s,t.getJSDocParameterNameCompletions=function(t){if(!e.isIdentifier(t.name))return e.emptyArray;var r=t.name.text,n=t.parent,i=n.parent;return e.isFunctionLike(i)?e.mapDefined(i.parameters,function(i){if(e.isIdentifier(i.name)){var a=i.name.text;if(!n.tags.some(function(r){return r!==t&&e.isJSDocParameterTag(r)&&e.isIdentifier(r.name)&&r.name.escapedText===a})&&(void 0===r||e.startsWith(a,r)))return{name:a,kind:"parameter",kindModifiers:"",sortText:"0"}}}):[]},t.getJSDocParameterNameCompletionDetails=function(t){return{name:t,kind:"parameter",kindModifiers:"",displayParts:[e.textPart(t)],documentation:e.emptyArray,tags:e.emptyArray,codeActions:void 0}},t.getDocCommentTemplateAtPosition=function(t,r,n){if(!(e.isInString(r,n)||e.isInComment(r,n)||e.hasDocComment(r,n))){var i=e.getTokenAtPosition(r,n,!1),a=i.getStart();if(i&&!(a<n)){var o=function(t){for(var r=t;r;r=r.parent)switch(r.kind){case 233:case 153:case 154:case 152:var n=r.parameters;return{commentOwner:r,parameters:n};case 234:case 235:case 150:case 237:case 272:case 236:return{commentOwner:r};case 213:var i=r,a=i.declarationList.declarations,o=1===a.length&&a[0].initializer?c(a[0].initializer):void 0;return{commentOwner:r,parameters:o};case 273:return;case 238:return 238===r.parent.kind?void 0:{commentOwner:r};case 199:var s=r;if(0===e.getSpecialPropertyAssignmentKind(s))return;var u=e.isFunctionLike(s.right)?s.right.parameters:e.emptyArray;return{commentOwner:r,parameters:u}}}(i);if(o){var s=o.commentOwner,u=o.parameters;if(!(s.getStart()<n)){if(!u||0===u.length)return{newText:"/** */",caretOffset:3};for(var l=r.getLineAndCharacterOfPosition(n),d=r.getLineStarts()[l.line],f=r.text.substr(d,l.character).replace(/\S/i,function(){return" "}),p=e.hasJavaScriptFileExtension(r.fileName),_="",m=0;m<u.length;m++){var g=u[m].name,h=71===g.kind?g.escapedText:"param"+m;_+=p?f+" * @param {any} "+h+t:f+" * @param "+h+t}var v="/**"+t+f+" * ";return{newText:v+t+_+f+" */"+(a===n?t+f:""),caretOffset:v.length}}}}}}}(e.JsDoc||(e.JsDoc={}))}(u||(u={})),function(e){function t(e){var t=parseInt(e,10);if(isNaN(t))throw new Error("Error in parseInt("+JSON.stringify(e)+")");return t}var r=/^(.*)-next.\d+/,n=/^(\d+)\.(\d+)\.0-next.(\d+)$/,i=/^(\d+)\.(\d+)\.(\d+)$/,a=function(){function e(e,t,r,n){this.major=e,this.minor=t,this.patch=r,this.isPrerelease=n}return e.parse=function(t){var n=r.test(t),i=e.tryParse(t,n);if(!i)throw new Error("Unexpected semver: "+t+" (isPrerelease: "+n+")");return i},e.fromRaw=function(t){return new e(t.major,t.minor,t.patch,t.isPrerelease)},e.tryParse=function(r,a){var o=(a?n:i).exec(r);return o?new e(t(o[1]),t(o[2]),t(o[3]),a):void 0}
1,Object.defineProperty(e.prototype,"versionString",{get:function(){return this.isPrerelease?this.major+"."+this.minor+".0-next."+this.patch:this.major+"."+this.minor+"."+this.patch},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return this.major===e.major&&this.minor===e.minor&&this.patch===e.patch&&this.isPrerelease===e.isPrerelease},e.prototype.greaterThan=function(e){return this.major>e.major||this.major===e.major&&(this.minor>e.minor||this.minor===e.minor&&(!this.isPrerelease&&e.isPrerelease||this.isPrerelease===e.isPrerelease&&this.patch>e.patch))},e}();e.Semver=a}(u||(u={})),function(e){!function(t){function r(t,r){return!e.Semver.parse(e.getProperty(r,"ts"+e.versionMajorMinor)||e.getProperty(r,"latest")).greaterThan(t.version)}t.isTypingUpToDate=r,t.nodeCoreModuleList=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","http2","inspector","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"],t.nodeCoreModules=e.arrayToSet(t.nodeCoreModuleList),t.loadSafeList=function(t,r){var n=e.readConfigFile(r,function(e){return t.readFile(e)});return e.createMapFromTemplate(n.config)},t.loadTypesMap=function(t,r){var n=e.readConfigFile(r,function(e){return t.readFile(e)});if(n.config)return e.createMapFromTemplate(n.config.simpleMap)},t.discoverTypings=function(n,i,a,o,s,c,u,l,d){if(!u||!u.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var f=e.createMap();a=e.mapDefined(a,function(t){var r=e.normalizePath(t);if(e.hasJavaScriptFileExtension(r))return r});var p=[];u.include&&k(u.include,"Explicitly included types");var _=u.exclude||[],m=e.arrayToSet(a,e.getDirectoryPath);m.set(o,!0),m.forEach(function(t,r){C(e.combinePaths(r,"package.json"),p),C(e.combinePaths(r,"bower.json"),p),E(e.combinePaths(r,"bower_components"),p),E(e.combinePaths(r,"node_modules"),p)}),function(t){var r=e.mapDefined(t,function(t){if(e.hasJavaScriptFileExtension(t)){var r=e.removeFileExtension(e.getBaseFileName(t.toLowerCase())),n=e.removeMinAndVersionNumbers(r);return s.get(n)}});r.length&&k(r,"Inferred typings from file names"),e.some(t,function(t){return e.fileExtensionIs(t,".jsx")})&&(i&&i("Inferred 'react' typings due to presence of '.jsx' extension"),S("react"))}(a),l&&k(e.deduplicate(l.map(function(e){return t.nodeCoreModules.has(e)?"node":e}),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),c.forEach(function(e,t){var n=d.get(t);f.has(t)&&void 0===f.get(t)&&void 0!==n&&r(e,n)&&f.set(t,e.typingLocation)});for(var g=0,h=_;g<h.length;g++){var v=h[g];f.delete(v)&&i&&i("Typing for "+v+" is in exclude list, will be ignored.")}var y=[],b=[];f.forEach(function(e,t){void 0!==e?b.push(e):y.push(t)});var x={cachedTypingPaths:b,newTypingNames:y,filesToWatch:p};return i&&i("Result: "+JSON.stringify(x)),x;function S(e){f.has(e)||f.set(e,void 0)}function k(t,r){i&&i(r+": "+JSON.stringify(t)),e.forEach(t,S)}function C(t,r){if(n.fileExists(t)){r.push(t);var i=e.readConfigFile(t,function(e){return n.readFile(e)}).config;k(e.flatMap([i.dependencies,i.devDependencies,i.optionalDependencies,i.peerDependencies],e.getOwnKeys),"Typing names in '"+t+"' dependencies")}}function E(t,r){if(r.push(t),n.directoryExists(t)){var a=n.readDirectory(t,[".json"],void 0,void 0,2);i&&i("Searching for typing names in "+t+"; all files: "+JSON.stringify(a));for(var o=[],s=0,c=a;s<c.length;s++){var u=c[s],l=e.normalizePath(u),d=e.getBaseFileName(l);if("package.json"===d||"bower.json"===d){var p=e.readConfigFile(l,function(e){return n.readFile(e)}).config;if(("package.json"!==d||!p._requiredBy||0!==e.filter(p._requiredBy,function(e){return"#"===e[0]||"/"===e}).length)&&p.name){var _=p.types||p.typings;if(_){var m=e.getNormalizedAbsolutePath(_,e.getDirectoryPath(l));i&&i(" Package '"+p.name+"' provides its own types."),f.set(p.name,m)}else o.push(p.name)}}}k(o," Found package names")}}},function(e){e[e.Ok=0]="Ok",e[e.ScopedPackagesNotSupported=1]="ScopedPackagesNotSupported",e[e.EmptyName=2]="EmptyName",e[e.NameTooLong=3]="NameTooLong",e[e.NameStartsWithDot=4]="NameStartsWithDot",e[e.NameStartsWithUnderscore=5]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=6]="NameContainsNonURISafeCharacters"}(t.PackageNameValidationResult||(t.PackageNameValidationResult={}));var n=214;t.validatePackageName=function(e){return e?e.length>n?3:46===e.charCodeAt(0)?4:95===e.charCodeAt(0)?5:/^@[^/]+\/[^/]+$/.test(e)?1:encodeURIComponent(e)!==e?6:0:2},t.renderPackageNameValidationFailure=function(t,r){switch(t){case 2:return"Package name '"+r+"' cannot be empty";case 3:return"Package name '"+r+"' should be less than "+n+" characters";case 4:return"Package name '"+r+"' cannot start with '.'";case 5:return"Package name '"+r+"' cannot start with '_'";case 1:return"Package '"+r+"' is scoped and currently is not supported";
1case 6:return"Package name '"+r+"' contains non URI safe characters";case 0:return e.Debug.fail();default:e.Debug.assertNever(t)}}}(e.JsTyping||(e.JsTyping={}))}(u||(u={})),function(e){!function(t){function r(e,t){switch(e.kind){case 244:case 247:case 242:var r=t.getSymbolAtLocation(e.name),n=t.getAliasedSymbol(r);return r.escapedName!==n.escapedName;default:return!0}}function n(t,r){var n=e.getNameOfDeclaration(t);return n&&e.isPropertyNameLiteral(n)?(r.unshift(e.getTextOfIdentifierOrLiteral(n)),!0):!(!n||146!==n.kind)&&i(n.expression,r,!0)}function i(t,r,n){if(e.isPropertyNameLiteral(t)){var a=e.getTextOfIdentifierOrLiteral(t);return n&&r.unshift(a),!0}return!!e.isPropertyAccessExpression(t)&&(n&&r.unshift(t.name.text),i(t.expression,r,!0))}function a(t){var r=[],a=e.getNameOfDeclaration(t);if(146!==a.kind||i(a.expression,r,!1)){for(t=e.getContainerNode(t);t;){if(!n(t,r))return;t=e.getContainerNode(t)}return r}}function o(t,r){return e.compareValues(t.matchKind,r.matchKind)||e.compareStringsCaseSensitiveUI(t.name,r.name)}function s(t){var r=t.declaration,n=e.getContainerNode(r),i=n&&e.getNameOfDeclaration(n);return{name:t.name,kind:e.getNodeKind(r),kindModifiers:e.getNodeModifiers(r),matchKind:e.PatternMatchKind[t.matchKind],isCaseSensitive:t.isCaseSensitive,fileName:t.fileName,textSpan:e.createTextSpanFromNode(r),containerName:i?i.text:"",containerKind:i?e.getNodeKind(n):""}}t.getNavigateToItems=function(t,n,i,c,u,l){var d=e.createPatternMatcher(c);if(!d)return e.emptyArray;for(var f=[],p=function(t){if(i.throwIfCancellationRequested(),l&&e.fileExtensionIs(t.fileName,".d.ts"))return"continue";t.getNamedDeclarations().forEach(function(e,i){!function(e,t,n,i,o,s){var c=e.getMatchForLastSegmentOfPattern(t);if(c)for(var u=0,l=n;u<l.length;u++){var d=l[u];if(r(d,i))if(e.patternContainsDots){var f=e.getFullMatch(a(d),t);f&&s.push({name:t,fileName:o,matchKind:f.kind,isCaseSensitive:f.isCaseSensitive,declaration:d})}else s.push({name:t,fileName:o,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:d})}}(d,i,e,n,t.fileName,f)})},_=0,m=t;_<m.length;_++)p(m[_]);return f.sort(o),void 0!==u&&(f=f.slice(0,u)),f.map(s)}}(e.NavigateTo||(e.NavigateTo={}))}(u||(u={})),function(e){!function(t){var r,n,i,a=/\s+/g,o=[],s=[];function c(){n=void 0,r=void 0,o=[],i=void 0,s=[]}function u(e){return e.getText(n)}function l(e){return e.node.kind}function d(e,t){e.children?e.children.push(t):e.children=[t]}function f(t){e.Debug.assert(!o.length);var r={node:t,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};i=r;for(var n=0,a=t.statements;n<a.length;n++){v(a[n])}return g(),e.Debug.assert(!i&&!o.length),r}function p(e){d(i,_(e))}function _(e){return{node:e,additionalNodes:void 0,parent:i,children:void 0,indent:i.indent+1}}function m(e){var t=_(e);d(i,t),o.push(i),i=t}function g(){i.children&&(y(i.children),x(i.children)),i=o.pop()}function h(e,t){m(e),v(t),g()}function v(t){if(r.throwIfCancellationRequested(),t&&!e.isToken(t))switch(t.kind){case 154:var n=t;h(n,n.body);for(var i=0,a=n.parameters;i<a.length;i++){var o=a[i];e.isParameterPropertyDeclaration(o)&&p(o)}break;case 153:case 155:case 156:case 152:e.hasDynamicName(t)||h(t,t.body);break;case 151:case 150:e.hasDynamicName(t)||p(t);break;case 244:var s=t;s.name&&p(s);var c=s.namedBindings;if(c)if(245===c.kind)p(c);else for(var u=0,l=c.elements;u<l.length;u++){p(l[u])}break;case 181:case 231:var d=t,f=d.name,_=d.initializer;e.isBindingPattern(f)?v(f):_&&function(e){switch(e.kind){case 192:case 191:case 204:return!0;default:return!1}}(_)?_.name?v(_):(m(t),e.forEachChild(_,v),g()):h(t,_);break;case 192:case 233:case 191:h(t,t.body);break;case 237:m(t);for(var y=0,b=t.members;y<b.length;y++){A(k=b[y])||p(k)}g();break;case 234:case 204:case 235:m(t);for(var x=0,S=t.members;x<S.length;x++){var k;v(k=S[x])}g();break;case 238:h(t,function e(t){return 238===t.body.kind?e(t.body):t}(t).body);break;case 251:case 242:case 159:case 157:case 158:case 236:p(t);break;case 199:var C=e.getSpecialPropertyAssignmentKind(t);switch(C){case 1:case 2:case 3:case 6:h(t,t.right);break;case 4:case 5:case 0:break;default:e.Debug.assertNever(C)}default:e.hasJSDocNodes(t)&&e.forEach(t.jsDoc,function(t){e.forEach(t.tags,function(t){e.isJSDocTypeAlias(t)&&p(t)})}),e.forEachChild(t,v)}}function y(t){var r=e.createMap();e.filterMutate(t,function(t){var n=e.getNameOfDeclaration(t.node),i=n&&u(n);if(!i)return!0;var a=r.get(i);if(!a)return r.set(i,t),!0;if(a instanceof Array){for(var o=0,s=a;o<s.length;o++){var c;if(b(c=s[o],t))return!1}return a.push(t),!0}return!b(c=a,t)&&(r.set(i,[c,t]),!0)})}function b(t,r){return!!function(t,r){if(t.kind!==r.kind)return!1;switch(t.kind){case 151:case 153:case 155:case 156:return e.hasModifier(t,32)===e.hasModifier(r,32);case 238:return function e(t,r){return t.body.kind===r.body.kind&&(238!==t.body.kind||e(t.body,r.body))}(t,r);default:return!0}}(t.node,r.node)&&(function(t,r){var n;t.additionalNodes=t.additionalNodes||[],t.additionalNodes.push(r.node),r.additionalNodes&&(n=t.additionalNodes).push.apply(n,r.additionalNodes);t.children=e.concatenate(t.children,r.children),t.children&&(y(t.children),x(t.children))}(t,r),!0)}function x(e){e.sort(S)}function S(t,r){return e.compareStringsCaseSensitiveUI(k(t.node),k(r.node))||e.compareValues(l(t),l(r))}function k(t){if(238===t.kind)return D(t);var r=e.getNameOfDeclaration(t);
1if(r)return e.unescapeLeadingUnderscores(e.getPropertyNameForPropertyNameNode(r));switch(t.kind){case 191:case 192:case 204:return O(t);default:return}}function C(t){if(238===t.kind)return D(t);var r=e.getNameOfDeclaration(t);if(r){var n=u(r);if(n.length>0)return n}switch(t.kind){case 273:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"<global>";case 192:case 233:case 191:case 234:case 204:return 512&e.getModifierFlags(t)?"default":O(t);case 154:return"constructor";case 158:return"new()";case 157:return"()";case 159:return"[]";default:return"<unknown>"}}function E(t){return{text:C(t.node),kind:e.getNodeKind(t.node),kindModifiers:P(t.node),spans:w(t),childItems:e.map(t.children,E)}}function T(t){return{text:C(t.node),kind:e.getNodeKind(t.node),kindModifiers:P(t.node),spans:w(t),childItems:e.map(t.children,function(t){return{text:C(t.node),kind:e.getNodeKind(t.node),kindModifiers:e.getNodeModifiers(t.node),spans:w(t),childItems:s,indent:0,bolded:!1,grayed:!1}})||s,indent:t.indent,bolded:!1,grayed:!1}}function w(e){var t=[N(e.node)];if(e.additionalNodes)for(var r=0,n=e.additionalNodes;r<n.length;r++){var i=n[r];t.push(N(i))}return t}function D(t){if(e.isAmbientModule(t))return e.getTextOfNode(t.name);var r=[];for(r.push(e.getTextOfIdentifierOrLiteral(t.name));t.body&&238===t.body.kind;)t=t.body,r.push(e.getTextOfIdentifierOrLiteral(t.name));return r.join(".")}function A(e){return!e.name||146===e.name.kind}function N(t){return 273===t.kind?e.createTextSpanFromRange(t):e.createTextSpanFromNode(t,n)}function P(t){return t.parent&&231===t.parent.kind&&(t=t.parent),e.getNodeModifiers(t)}function O(t){return t.name&&e.getFullWidth(t.name)>0?e.declarationNameToString(t.name):231===t.parent.kind?e.declarationNameToString(t.parent.name):199===t.parent.kind&&58===t.parent.operatorToken.kind?u(t.parent.left).replace(a,""):269===t.parent.kind&&t.parent.name?u(t.parent.name):512&e.getModifierFlags(t)?"default":e.isClassLike(t)?"<class>":"<function>"}t.getNavigationBarItems=function(t,i){r=i,n=t;try{return e.map(function(t){var r=[];return function t(n){if(function(t){switch(l(t)){case 234:case 204:case 237:case 235:case 238:case 273:case 236:case 296:case 291:return!0;case 154:case 153:case 155:case 156:case 231:return r(t);case 192:case 233:case 191:return function(e){if(!e.node.body)return!1;switch(l(e.parent)){case 239:case 273:case 153:case 154:return!0;default:return r(e)}}(t);default:return!1}function r(t){return e.forEach(t.children,function(e){var t=l(e);return 231!==t&&181!==t})}}(n)&&(r.push(n),n.children))for(var i=0,a=n.children;i<a.length;i++){var o=a[i];t(o)}}(t),r}(f(t)),T)}finally{c()}},t.getNavigationTree=function(e,t){r=t,n=e;try{return E(f(e))}finally{c()}}}(e.NavigationBar||(e.NavigationBar={}))}(u||(u={})),function(e){!function(t){function r(t){var n=t.body;return n&&!e.isIdentifier(n)&&(e.isModuleBlock(n)?n:r(n))}function n(t){return void 0!==t&&e.isStringLiteralLike(t)?t.text:void 0}function i(t){if(0===t.length)return t;var r=function(t){for(var r,n=[],i=[],a=[],o=0,s=t;o<s.length;o++){var c=s[o];if(void 0!==c.importClause){var u=c.importClause,l=u.name,d=u.namedBindings;l&&n.push(c),d&&(e.isNamespaceImport(d)?i.push(c):a.push(c))}else r=r||c}return{importWithoutClause:r,defaultImports:n,namespaceImports:i,namedImports:a}}(t),n=r.importWithoutClause,i=r.defaultImports,a=r.namespaceImports,c=r.namedImports,l=[];if(n&&l.push(n),1===i.length&&1===a.length&&0===c.length){var d=i[0];return l.push(o(d,d.importClause.name,a[0].importClause.namedBindings)),l}for(var f,p=0,_=e.stableSort(a,function(e,t){return u(e.importClause.namedBindings.name,t.importClause.namedBindings.name)});p<_.length;p++){var m=_[p];l.push(o(m,void 0,m.importClause.namedBindings))}if(0===i.length&&0===c.length)return l;var g=[];if(1===i.length)f=i[0].importClause.name;else for(var h=0,v=i;h<v.length;h++){d=v[h];g.push(e.createImportSpecifier(e.createIdentifier("default"),d.importClause.name))}g.push.apply(g,e.flatMap(c,function(e){return e.importClause.namedBindings.elements}));var y=s(g),b=i.length>0?i[0]:c[0],x=0===y.length?f?void 0:e.createNamedImports(e.emptyArray):0===c.length?e.createNamedImports(y):e.updateNamedImports(c[0].importClause.namedBindings,y);return l.push(o(b,f,x)),l}function a(t){if(0===t.length)return t;var r=function(e){for(var t,r=[],n=0,i=e;n<i.length;n++){var a=i[n];void 0===a.exportClause?t=t||a:r.push(a)}return{exportWithoutClause:t,namedExports:r}}(t),n=r.exportWithoutClause,i=r.namedExports,a=[];if(n&&a.push(n),0===i.length)return a;var o=[];o.push.apply(o,e.flatMap(i,function(e){return e.exportClause.elements}));var c=s(o),u=i[0];return a.push(e.updateExportDeclaration(u,u.decorators,u.modifiers,e.updateNamedExports(u.exportClause,c),u.moduleSpecifier)),a}function o(t,r,n){return e.updateImportDeclaration(t,t.decorators,t.modifiers,e.updateImportClause(t.importClause,r,n),t.moduleSpecifier)}function s(t){return e.stableSort(t,function(e,t){return u(e.propertyName||e.name,t.propertyName||t.name)||u(e.name,t.name)})}function c(t,r){var i=n(t),a=n(r);return e.compareBooleans(void 0===i,void 0===a)||e.compareBooleans(e.isExternalModuleNameRelative(i),e.isExternalModuleNameRelative(a))||e.compareStringsCaseInsensitive(i,a)}function u(t,r){return e.compareStringsCaseInsensitive(t.text,r.text)}t.organizeImports=function(t,s,u,l,d){var f=e.textChanges.ChangeTracker.fromContext({host:u,formatContext:s}),p=function(r){return i(function(t,r,n){for(var i=n.getTypeChecker(),a=i.getJsxNamespace(),s=!!(4&r.transformFlags),c=[],u=0,l=t;u<l.length;u++){var d=l[u],f=d.importClause;if(f){var p=f.name,_=f.namedBindings;if(p&&!g(p)&&(p=void 0),_)if(e.isNamespaceImport(_))g(_.name)||(_=void 0);else{var m=_.elements.filter(function(e){return g(e.name)}
1);m.length<_.elements.length&&(_=m.length?e.updateNamedImports(_,m):void 0)}(p||_)&&c.push(o(d,p,_))}else c.push(d)}return c;function g(t){return s&&t.text===a||e.FindAllReferences.Core.isSymbolReferencedInFile(t,i,r)}}(r,t,l))};h(t.statements.filter(e.isImportDeclaration),p),h(t.statements.filter(e.isExportDeclaration),a);for(var _=0,m=t.statements.filter(e.isAmbientModule);_<m.length;_++){var g=r(m[_]);h(g.statements.filter(e.isImportDeclaration),p),h(g.statements.filter(e.isExportDeclaration),a)}return f.getChanges();function h(r,i){if(0!==e.length(r)){e.suppressLeadingTrivia(r[0]);var a=e.group(r,function(e){return n(e.moduleSpecifier)}),o=e.stableSort(a,function(e,t){return c(e[0].moduleSpecifier,t[0].moduleSpecifier)}),l=e.flatMap(o,function(e){return n(e[0].moduleSpecifier)?i(e):e});0===l.length?f.deleteNode(t,r[0],{useNonAdjustedStartPosition:!0,useNonAdjustedEndPosition:!1}):f.replaceNodeWithNodes(t,r[0],l,{useNonAdjustedStartPosition:!0,useNonAdjustedEndPosition:!1,suffix:e.getNewLineOrDefaultFromHost(u,s.options)});for(var d=1;d<r.length;d++)f.deleteNode(t,r[d])}}},t.coalesceImports=i,t.coalesceExports=a,t.compareModuleSpecifiers=c}(e.OrganizeImports||(e.OrganizeImports={}))}(u||(u={})),function(e){!function(t){function r(t,r,i,a){var o=e.getLeadingCommentRangesOfNode(t,r);if(o){for(var s=-1,c=-1,u=0,l=0,d=o;l<d.length;l++){var f=d[l],p=f.kind,_=f.pos,m=f.end;switch(i.throwIfCancellationRequested(),p){case 2:0===u&&(s=_),c=m,u++;break;case 3:g(),a.push(n(_,m,"comment")),u=0;break;default:e.Debug.assertNever(p)}}g()}function g(){u>1&&a.push(n(s,c,"comment"))}}function n(t,r,n){return i(e.createTextSpanFromBounds(t,r),n)}function i(e,t,r,n,i){return void 0===r&&(r=e),void 0===n&&(n=!1),void 0===i&&(i="..."),{textSpan:e,kind:t,hintSpan:r,bannerText:i,autoCollapse:n}}t.collectElements=function(t,a){var o=[];return function(t,a,o){for(var s=40,c=0,u=t.statements,l=u.length;c<l;){for(;c<l&&!e.isAnyImportSyntax(u[c]);)p(u[c]),c++;if(c===l)break;for(var d=c;c<l&&e.isAnyImportSyntax(u[c]);)r(u[c],t,a,o),c++;var f=c-1;f!==d&&o.push(n(e.findChildOfKind(u[d],91,t).getStart(t),u[f].getEnd(),"imports"))}function p(n){if(0!==s){a.throwIfCancellationRequested(),e.isDeclaration(n)&&r(n,t,a,o);var c=function(t,r){switch(t.kind){case 212:if(e.isFunctionBlock(t))return o(t.parent,192!==t.parent.kind);switch(t.parent.kind){case 217:case 220:case 221:case 219:case 216:case 218:case 225:case 268:return o(t.parent);case 229:var n=t.parent;if(n.tryBlock===t)return o(t.parent);if(n.finallyBlock===t)return o(e.findChildOfKind(n,87,r));default:return i(e.createTextSpanFromNode(t,r),"code")}case 239:return o(t.parent);case 234:case 235:case 237:case 240:return o(t);case 183:return a(t);case 182:return a(t,21)}function a(t,r){return void 0===r&&(r=17),o(t,!1,!e.isArrayLiteralExpression(t.parent),r)}function o(n,a,o,s){void 0===a&&(a=!1),void 0===o&&(o=!0),void 0===s&&(s=17);var c=e.findChildOfKind(t,s,r),u=17===s?18:22,l=e.findChildOfKind(t,u,r);if(c&&l){var d=e.createTextSpanFromBounds(o?c.getFullStart():c.getStart(r),l.getEnd());return i(d,"code",e.createTextSpanFromNode(n,r),a)}}}(n,t);c&&o.push(c),s--,e.isIfStatement(n)&&n.elseStatement&&e.isIfStatement(n.elseStatement)?(p(n.expression),p(n.thenStatement),s++,p(n.elseStatement),s--):n.forEachChild(p),s++}}}(t,a,o),function(t,r){for(var n=[],a=t.getLineStarts(),o=0;o<a.length;o++){var s=a[o],c=o+1===a.length?t.getEnd():a[o+1]-1,u=t.text.substring(s,c),l=u.match(/^\s*\/\/\s*#(end)?region(?:\s+(.*))?(?:\r)?$/);if(l&&!e.isInComment(t,s))if(l[1]){var d=n.pop();d&&(d.textSpan.length=c-d.textSpan.start,d.hintSpan.length=c-d.textSpan.start,r.push(d))}else{var f=e.createTextSpanFromBounds(t.text.indexOf("//",s),c);n.push(i(f,"region",f,!1,l[2]||"#region"))}}}(t,o),o.sort(function(e,t){return e.textSpan.start-t.textSpan.start})}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(u||(u={})),function(e){var t;function r(e,t){return{kind:e,isCaseSensitive:t}}function n(e,t){var r=t.get(e);return r||t.set(e,r=v(e)),r}function i(i,a,o){var s=function(e,t){for(var r=e.length-t.length,n=function(r){if(E(t,function(t,n){return f(e.charCodeAt(n+r))===t}))return{value:r}},i=0;i<=r;i++){var a=n(i);if("object"===typeof a)return a.value}return-1}(i,a.textLowerCase);if(0===s)return r(a.text.length===i.length?t.exact:t.prefix,e.startsWith(i,a.text));if(a.isLowerCase){if(-1===s)return;for(var d=0,p=n(i,o);d<p.length;d++){var _=p[d];if(c(i,_,a.text,!0))return r(t.substring,c(i,_,a.text,!1))}if(a.text.length<i.length&&l(i.charCodeAt(s)))return r(t.substring,!1)}else{if(i.indexOf(a.text)>0)return r(t.substring,!0);if(a.characterSpans.length>0){var m=n(i,o),g=!!u(i,m,a,!1)||!u(i,m,a,!0)&&void 0;if(void 0!==g)return r(t.camelCase,g)}}}function a(e,t,r){if(E(t.totalTextChunk.text,function(e){return 32!==e&&42!==e})){var n=i(e,t.totalTextChunk,r);if(n)return n}for(var a,s=0,c=t.subWordTextChunks;s<c.length;s++){a=o(a,i(e,c[s],r))}return a}function o(t,r){return e.min(t,r,s)}function s(t,r){return void 0===t?1:void 0===r?-1:e.compareValues(t.kind,r.kind)||e.compareBooleans(!t.isCaseSensitive,!r.isCaseSensitive)}
1function c(e,t,r,n,i){return void 0===i&&(i={start:0,length:r.length}),i.length<=t.length&&C(0,i.length,function(a){return function(e,t,r){return r?f(e)===f(t):e===t}(r.charCodeAt(i.start+a),e.charCodeAt(t.start+a),n)})}function u(t,r,n,i){for(var a,o,s=n.characterSpans,u=0,d=0;;){if(d===s.length)return!0;if(u===r.length)return!1;for(var f=r[u],p=!1;d<s.length;d++){var _=s[d];if(p&&(!l(n.text.charCodeAt(s[d-1].start))||!l(n.text.charCodeAt(s[d].start))))break;if(!c(t,f,n.text,i,_))break;p=!0,a=void 0===a?u:a,o=void 0===o||o,f=e.createTextSpan(f.start+_.length,f.length-_.length)}p||void 0===o||(o=!1),u++}}function l(t){if(t>=65&&t<=90)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,6))return!1;var r=String.fromCharCode(t);return r===r.toUpperCase()}function d(t){if(t>=97&&t<=122)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,6))return!1;var r=String.fromCharCode(t);return r===r.toLowerCase()}function f(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function p(e){return e>=48&&e<=57}function _(e){return l(e)||d(e)||p(e)||95===e||36===e}function m(e){for(var t=[],r=0,n=0,i=0;i<e.length;i++){_(e.charCodeAt(i))?(0===n&&(r=i),n++):n>0&&(t.push(g(e.substr(r,n))),n=0)}return n>0&&t.push(g(e.substr(r,n))),t}function g(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:h(e)}}function h(e){return y(e,!1)}function v(e){return y(e,!0)}function y(t,r){for(var n=[],i=0,a=1;a<t.length;a++){var o=p(t.charCodeAt(a-1)),s=p(t.charCodeAt(a)),c=k(t,r,a),u=r&&S(t,a,i);(b(t.charCodeAt(a-1))||b(t.charCodeAt(a))||o!==s||c||u)&&(x(t,i,a)||n.push(e.createTextSpan(i,a-i)),i=a)}return x(t,i,t.length)||n.push(e.createTextSpan(i,t.length-i)),n}function b(e){switch(e){case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 44:case 45:case 46:case 47:case 58:case 59:case 63:case 64:case 91:case 92:case 93:case 95:case 123:case 125:return!0}return!1}function x(e,t,r){return E(e,function(e){return b(e)&&95!==e},t,r)}function S(e,t,r){return t!==r&&t+1<e.length&&l(e.charCodeAt(t))&&d(e.charCodeAt(t+1))&&E(e,l,r,t)}function k(e,t,r){var n=l(e.charCodeAt(r-1));return l(e.charCodeAt(r))&&(!t||!n)}function C(e,t,r){for(var n=e;n<t;n++)if(!r(n))return!1;return!0}function E(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=e.length),C(r,n,function(r){return t(e.charCodeAt(r),r)})}!function(e){e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase"}(t=e.PatternMatchKind||(e.PatternMatchKind={})),e.createPatternMatcher=function(t){var r=e.createMap(),n=t.trim().split(".").map(function(e){return{totalTextChunk:g(t=e.trim()),subWordTextChunks:m(t)};var t});if(!n.some(function(e){return!e.subWordTextChunks.length}))return{getFullMatch:function(t,i){return function(t,r,n,i){var s;if(a(r,e.lastOrUndefined(n),i)&&(t=t||[],!(n.length-1>t.length))){for(var c=n.length-2,u=t.length-1;c>=0;c-=1,u-=1)s=o(s,a(t[u],n[c],i));return s}}(t,i,n,r)},getMatchForLastSegmentOfPattern:function(t){return a(t,e.last(n),r)},patternContainsDots:n.length>1}},e.breakIntoCharacterSpans=h,e.breakIntoWordSpans=v}(u||(u={})),function(e){e.preProcessFile=function(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var i,a,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},c=[],u=0,l=!1;function d(){return a=o,17===(o=e.scanner.scan())?u++:18===o&&u--,o}function f(){var t=e.scanner.getTokenValue(),r=e.scanner.getTokenPos();return{fileName:t,pos:r,end:r+t.length}}function p(){c.push(f()),_()}function _(){0===u&&(l=!0)}function m(){var t=e.scanner.getToken();return 124===t&&(129===(t=d())&&9===(t=d())&&(i||(i=[]),i.push({ref:f(),depth:u})),!0)}function g(){if(23===a)return!1;var t=e.scanner.getToken();if(91===t){if(19===(t=d())){if(9===(t=d()))return p(),!0}else{if(9===t)return p(),!0;if(71===t||e.isKeyword(t))if(142===(t=d())){if(9===(t=d()))return p(),!0}else if(58===t){if(v(!0))return!0}else{if(26!==t)return!0;t=d()}if(17===t){for(t=d();18!==t&&1!==t;)t=d();18===t&&142===(t=d())&&9===(t=d())&&p()}else 39===t&&118===(t=d())&&(71===(t=d())||e.isKeyword(t))&&142===(t=d())&&9===(t=d())&&p()}return!0}return!1}function h(){var t=e.scanner.getToken();if(84===t){if(_(),17===(t=d())){for(t=d();18!==t&&1!==t;)t=d();18===t&&142===(t=d())&&9===(t=d())&&p()}else if(39===t)142===(t=d())&&9===(t=d())&&p();else if(91===t&&(71===(t=d())||e.isKeyword(t))&&58===(t=d())&&v(!0))return!0;return!0}return!1}function v(t){var r=t?d():e.scanner.getToken();return 133===r&&(19===(r=d())&&9===(r=d())&&p(),!0)}function y(){var t=e.scanner.getToken();if(71===t&&"define"===e.scanner.getTokenValue()){if(19!==(t=d()))return!0;
1if(9===(t=d())){if(26!==(t=d()))return!0;t=d()}if(21!==t)return!0;for(t=d();22!==t&&1!==t;)9===t&&p(),t=d();return!0}return!1}if(r&&function(){for(e.scanner.setText(t),d();1!==e.scanner.getToken();)m()||g()||h()||n&&(v(!1)||y())||d();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,t),e.processPragmasIntoFields(s,e.noop),l){if(i)for(var b=0,x=i;b<x.length;b++){var S=x[b];c.push(S.ref)}return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,importedFiles:c,isLibFile:s.hasNoDefaultLib,ambientExternalModules:void 0}}var k=void 0;if(i)for(var C=0,E=i;C<E.length;C++)0===(S=E[C]).depth?(k||(k=[]),k.push(S.ref.fileName)):c.push(S.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,importedFiles:c,isLibFile:s.hasNoDefaultLib,ambientExternalModules:k}}}(u||(u={})),function(e){!function(t){function r(e,t,r,n,a,o){return{canRename:!0,kind:r,displayName:e,localizedErrorMessage:void 0,fullDisplayName:t,kindModifiers:n,triggerSpan:i(a,o)}}function n(t){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(t),displayName:void 0,fullDisplayName:void 0,kind:void 0,kindModifiers:void 0,triggerSpan:void 0}}function i(t,r){var n=t.getStart(r),i=t.getWidth(r);return 9===t.kind&&(n+=1,i-=2),e.createTextSpan(n,i)}t.getRenameInfo=function(t,i,a,o,s){var c=e.memoize(function(){return a(e.normalizePath(i))}),u=e.getTouchingPropertyName(o,s,!0);return(u&&function(t){switch(t.kind){case 71:case 9:case 99:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t);default:return!1}}(u)?function(t,i,a,o){var s=i.getSymbolAtLocation(t);if(s){var c=s.declarations;if(c&&c.length>0){if(c.some(o))return n(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(e.isIdentifier(t)&&79===t.originalKeywordKind&&1536&s.parent.flags)return;if(e.isStringLiteralLike(t)&&e.tryGetImportFromModuleSpecifier(t))return;var u=e.SymbolDisplay.getSymbolKind(i,s,t),l=e.isImportOrExportSpecifierName(t)||e.isStringOrNumericLiteral(t)&&146===t.parent.kind?e.stripQuotes(e.getTextOfIdentifierOrLiteral(t)):void 0,d=l||i.symbolToString(s),f=l||i.getFullyQualifiedName(s);return r(d,f,u,e.SymbolDisplay.getSymbolModifiers(s),t,a)}}else if(e.isStringLiteral(t))return o(t)?n(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library):r(t.text,t.text,"var","",t,a)}(u,t,o,function(t){if(!i)return!1;var r=t.getSourceFile();return a(e.normalizePath(r.fileName))===c()}):void 0)||n(e.Diagnostics.You_cannot_rename_this_element)}}(e.Rename||(e.Rename={}))}(u||(u={})),function(e){!function(t){function r(t,r,i){if(e.isCallOrNewExpression(t.parent)){var a=t.parent,o=void 0,s=void 0;if(27===t.kind||19===t.kind)o=function(t,r,n){var i=t.getChildren(n),a=i.indexOf(r);return e.Debug.assert(a>=0&&i.length>a+1),i[a+1]}(a,t,i),e.Debug.assert(void 0!==o),s=0;else{if(!(o=e.findContainingList(t)))return;s=function(e,t){for(var r=0,n=0,i=e.getChildren();n<i.length;n++){var a=i[n];if(a===t)break;26!==a.kind&&r++}return r}(o,t)}var c=a.typeArguments&&a.typeArguments.pos===o.pos?0:1,u=function(t){var r=t.getChildren(),n=e.countWhere(r,function(e){return 26!==e.kind});r.length>0&&26===e.lastOrUndefined(r).kind&&n++;return n}(o);return 0!==s&&e.Debug.assertLessThan(s,u),{kind:c,invocation:a,argumentsSpan:function(t,r){var n=t.getFullStart(),i=e.skipTrivia(r.text,t.getEnd(),!1);return e.createTextSpan(n,i-n)}(o,i),argumentIndex:s,argumentCount:u}}if(13===t.kind&&188===t.parent.kind){if(e.isInsideTemplateLiteral(t,r))return n(t.parent,0,i)}else{if(14===t.kind&&188===t.parent.parent.kind){var l=(d=t.parent).parent;return e.Debug.assert(201===d.kind),n(l,s=e.isInsideTemplateLiteral(t,r)?0:1,i)}if(210===t.parent.kind&&188===t.parent.parent.parent.kind){var d,f=t.parent;l=(d=f.parent).parent;if(e.Debug.assert(201===d.kind),16===t.kind&&!e.isInsideTemplateLiteral(t,r))return;return n(l,s=function(t,r,n){if(e.Debug.assert(n>=r.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralKind(r.kind))return e.isInsideTemplateLiteral(r,n)?0:t+2;return t+1}(d.templateSpans.indexOf(f),t,r),i)}if(t.parent&&e.isJsxOpeningLikeElement(t.parent)){var p=t.parent.attributes.getFullStart(),_=e.skipTrivia(i.text,t.parent.attributes.getEnd(),!1);return{kind:3,invocation:t.parent,argumentsSpan:e.createTextSpan(p,_-p),argumentIndex:0,argumentCount:1}}}}
1function n(t,r,n){var a=e.isNoSubstitutionTemplateLiteral(t.template)?1:t.template.templateSpans.length+1;return 0!==r&&e.Debug.assertLessThan(r,a),{kind:2,invocation:t,argumentsSpan:i(t,n),argumentIndex:r,argumentCount:a}}function i(t,r){var n=t.template,i=n.getStart(),a=n.getEnd();201===n.kind&&(0===e.lastOrUndefined(n.templateSpans).literal.getFullWidth()&&(a=e.skipTrivia(r.text,a,!1)));return e.createTextSpan(i,a-i)}function a(t,n,i){for(var a=t;273!==a.kind;a=a.parent){if(e.isFunctionBlock(a))return;(a.pos<a.parent.pos||a.end>a.parent.end)&&e.Debug.fail("Node of kind "+a.kind+" is not a subspan of its parent of kind "+a.parent.kind);var o=r(a,n,i);if(o)return o}}!function(e){e[e.TypeArguments=0]="TypeArguments",e[e.CallArguments=1]="CallArguments",e[e.TaggedTemplateArguments=2]="TaggedTemplateArguments",e[e.JSXAttributesArguments=3]="JSXAttributesArguments"}(t.ArgumentListKind||(t.ArgumentListKind={})),t.getSignatureHelpItems=function(t,r,n,i){var o=t.getTypeChecker(),c=e.findTokenOnLeftOfPosition(r,n);if(c){var u=a(c,n,r);if(u){i.throwIfCancellationRequested();var l=u.invocation,d=[],f=o.getResolvedSignature(l,d,u.argumentCount);return i.throwIfCancellationRequested(),d.length?o.runWithCancellationToken(i,function(e){return s(d,f,u,e)}):e.isSourceFileJavaScript(r)?function(t,r,n){if(186===t.invocation.kind){var i=t.invocation.expression,a=e.isIdentifier(i)?i:e.isPropertyAccessExpression(i)?i.name:void 0;if(a&&a.escapedText)for(var o=r.getTypeChecker(),c=0,u=r.getSourceFiles();c<u.length;c++){var l=u[c],d=l.getNamedDeclarations(),f=d.get(a.text);if(f)for(var p=function(e){var r=e.symbol;if(r){var i=o.getTypeOfSymbolAtLocation(r,e);if(i){var a=i.getCallSignatures();if(a&&a.length)return{value:o.runWithCancellationToken(n,function(e){return s(a,a[0],t,e)})}}}},_=0,m=f;_<m.length;_++){var g=m[_],h=p(g);if("object"===typeof h)return h.value}}}}(u,t,i):void 0}}},t.getImmediatelyContainingArgumentInfo=r,t.getContainingArgumentInfo=a;var o=3137536;function s(t,r,n,i){var a=n.argumentCount,s=n.argumentsSpan,c=n.invocation,u=n.argumentIndex,l=0===n.kind,d=e.getInvokedExpression(c),f=i.getSymbolAtLocation(d),p=f&&e.symbolToDisplayParts(i,f,void 0,void 0),_=e.createPrinter({removeComments:!0}),m=e.map(t,function(t){var r,n,a=[],s=[];if(p&&e.addRange(a,p),l){n=!1,a.push(e.punctuationPart(27));var u=(t.target||t).typeParameters;r=u&&u.length>0?e.map(u,v):e.emptyArray,s.push(e.punctuationPart(29));var d=e.mapToDisplayParts(function(r){var n=t.thisParameter?[i.symbolToParameterDeclaration(t.thisParameter,c,o)]:[],a=e.createNodeArray(n.concat(e.map(t.parameters,function(e){return i.symbolToParameterDeclaration(e,c,o)})));_.writeList(1296,a,e.getSourceFileOfNode(e.getParseTreeNode(c)),r)});e.addRange(s,d)}else{n=t.hasRestParameter;var f=e.mapToDisplayParts(function(r){if(t.typeParameters&&t.typeParameters.length){var n=e.createNodeArray(e.map(t.typeParameters,function(e){return i.typeParameterToDeclaration(e,c)}));_.writeList(26896,n,e.getSourceFileOfNode(e.getParseTreeNode(c)),r)}});e.addRange(a,f),a.push(e.punctuationPart(19)),r=e.map(t.parameters,h),s.push(e.punctuationPart(20))}var m=e.mapToDisplayParts(function(e){e.writePunctuation(":"),e.writeSpace(" ");var r=i.getTypePredicateOfSignature(t);r?i.writeTypePredicate(r,c,void 0,e):i.writeType(i.getReturnTypeOfSignature(t),c,void 0,e)});return e.addRange(s,m),{isVariadic:n,prefixDisplayParts:a,suffixDisplayParts:s,separatorDisplayParts:[e.punctuationPart(26),e.spacePart()],parameters:r,documentation:t.getDocumentationComment(i),tags:t.getJsDocTags()}});0!==u&&e.Debug.assertLessThan(u,a);var g=t.indexOf(r);return e.Debug.assert(-1!==g),{items:m,applicableSpan:s,selectedItemIndex:g,argumentIndex:u,argumentCount:a};function h(t){var r=e.mapToDisplayParts(function(r){var n=i.symbolToParameterDeclaration(t,c,o);_.writeNode(4,n,e.getSourceFileOfNode(e.getParseTreeNode(c)),r)});return{name:t.name,documentation:t.getDocumentationComment(i),displayParts:r,isOptional:i.isOptionalParameter(t.valueDeclaration)}}function v(t){var r=e.mapToDisplayParts(function(r){var n=i.typeParameterToDeclaration(t,c);_.writeNode(4,n,e.getSourceFileOfNode(e.getParseTreeNode(c)),r)});return{name:t.symbol.name,documentation:e.emptyArray,displayParts:r,isOptional:!1}}}}(e.SignatureHelp||(e.SignatureHelp={}))}(u||(u={}
1)),function(e){function t(t){switch(t.kind){case 243:var r=t.importClause,n=t.moduleSpecifier;return r&&!r.name&&245===r.namedBindings.kind&&e.isStringLiteral(n)?r.namedBindings.name:void 0;case 242:return t.name;default:return}}e.computeSuggestionDiagnostics=function(r,n){n.getSemanticDiagnostics(r);var i,a=n.getDiagnosticsProducingTypeChecker(),o=[];r.commonJsModuleIndicator&&(e.programContainsEs6Modules(n)||e.compilerOptionsIndicateEs6Modules(n.getCompilerOptions()))&&function(t){return t.statements.some(function(t){switch(t.kind){case 213:return t.declarationList.declarations.some(function(t){return e.isRequireCall(function t(r){return e.isPropertyAccessExpression(r)?t(r.expression):r}(t.initializer),!0)});case 215:var r=t.expression;if(!e.isBinaryExpression(r))return e.isRequireCall(r,!0);var n=e.getSpecialPropertyAssignmentKind(r);return 1===n||2===n;default:return!1}})}(r)&&o.push(e.createDiagnosticForNode((i=r.commonJsModuleIndicator,e.isBinaryExpression(i)?i.left:i),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module));var s=e.isSourceFileJavaScript(r);if(function t(r){switch(r.kind){case 233:case 191:if(s){var n=r.symbol;n.members&&n.members.size>0&&o.push(e.createDiagnosticForNode(e.isVariableDeclaration(r.parent)?r.parent.name:r,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration))}}!s&&e.codefix.parameterShouldGetTypeFromJSDoc(r)&&o.push(e.createDiagnosticForNode(r.name||r,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types)),r.forEachChild(t)}(r),!s)for(var c=0,u=r.statements;c<u.length;c++){var l=u[c];if(e.isVariableStatement(l)&&2&l.declarationList.flags&&1===l.declarationList.declarations.length){var d=l.declarationList.declarations[0].initializer;d&&e.isRequireCall(d,!0)&&o.push(e.createDiagnosticForNode(d,e.Diagnostics.require_call_may_be_converted_to_an_import))}}if(e.getAllowSyntheticDefaultImports(n.getCompilerOptions()))for(var f=0,p=r.imports;f<p.length;f++){var _=p[f],m=t(e.importFromModuleSpecifier(_));if(m){var g=e.getResolvedModule(r,_.text),h=g&&n.getSourceFile(g.resolvedFileName);h&&h.externalModuleIndicator&&e.isExportAssignment(h.externalModuleIndicator)&&h.externalModuleIndicator.isExportEquals&&o.push(e.createDiagnosticForNode(m,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(o,r.bindSuggestionDiagnostics),o.concat(a.getSuggestionDiagnostics(r)).sort(function(e,t){return e.start-t.start})}}(u||(u={})),function(e){!function(t){function r(t,r,i){var a=n(t,r,i);if(""!==a)return a;var o=e.getCombinedLocalAndExportSymbolFlags(r);return 32&o?e.getDeclarationOfKind(r,204)?"local class":"class":384&o?"enum":524288&o?"type":64&o?"interface":262144&o?"type parameter":262144&o?"type parameter":8&o?"enum member":2097152&o?"alias":1536&o?"module":a}function n(t,r,n){var a=t.getRootSymbols(r);if(1===a.length&&8192&e.first(a).flags&&0!==t.getTypeOfSymbolAtLocation(r,n).getNonNullableType().getCallSignatures().length)return"method";if(t.isUndefinedSymbol(r))return"var";if(t.isArgumentsSymbol(r))return"local var";if(99===n.kind&&e.isExpression(n))return"parameter";var o=e.getCombinedLocalAndExportSymbolFlags(r);if(3&o)return e.isFirstDeclarationOfSymbolParameter(r)?"parameter":r.valueDeclaration&&e.isConst(r.valueDeclaration)?"const":e.forEach(r.declarations,e.isLet)?"let":i(r)?"local var":"var";if(16&o)return i(r)?"local function":"function";if(32768&o)return"getter";if(65536&o)return"setter";if(8192&o)return"method";if(16384&o)return"constructor";if(4&o){if(33554432&o&&6&r.checkFlags){var s=e.forEach(t.getRootSymbols(r),function(t){var r=t.getFlags();if(98311&r)return"property";e.Debug.assert(!!(8208&r))});return s||(t.getTypeOfSymbolAtLocation(r,n).getCallSignatures().length?"method":"property")}switch(n.parent&&n.parent.kind){case 256:case 254:case 255:return 71===n.kind?"property":"JSX attribute";case 261:return"JSX attribute";default:return"property"}}return""}function i(t){return!t.parent&&e.forEach(t.declarations,function(t){if(191===t.kind)return!0;if(231!==t.kind&&233!==t.kind)return!1;for(var r=t.parent;!e.isFunctionBlock(r);r=r.parent)if(273===r.kind||239===r.kind)return!1;return!0})}t.getSymbolKind=r,t.getSymbolModifiers=function(t){var r=t&&t.declarations&&t.declarations.length>0?e.getNodeModifiers(t.declarations[0]):"",n=t&&16777216&t.flags?"optional":"";return r&&n?r+","+n:r||n},t.getSymbolDisplayPartsDocumentationAndSymbolKind=function t(i,a,o,s,c,u,l){void 0===u&&(u=e.getMeaningFromLocation(c));var d,f,p,_,m,g,h,v=[],y=e.getCombinedLocalAndExportSymbolFlags(a),b=n(i,a,c),x=99===c.kind&&e.isExpression(c);if(""!==b||32&y||2097152&y){"getter"!==b&&"setter"!==b||(b="property");var S=void 0;if(_=x?i.getTypeAtLocation(c):i.getTypeOfSymbolAtLocation(a.exportSymbol||a,c),c.parent&&184===c.parent.kind){var k=c.parent.name;(k===c||k&&0===k.getFullWidth())&&(c=c.parent)}var C=void 0;if(e.isCallOrNewExpression(c)?C=c:e.isCallExpressionTarget(c)||e.isNewExpressionTarget(c)?C=c.parent:c.parent&&e.isJsxOpeningLikeElement(c.parent)&&e.isFunctionLike(a.valueDeclaration)&&(C=c.parent),C){S=i.getResolvedSignature(C,[]);var E=187===C.kind||e.isCallExpression(C)&&97===C.expression.kind,T=E?_.getConstructSignatures():_.getCallSignatures();if(e.contains(T,S.target)||e.contains(T,S)||(S=T.length?T[0]:void 0),S){switch(E&&32&y?(b="constructor",K(_.symbol,b)):2097152&y?(G(b="alias"),v.push(e.spacePart()),E&&(v.push(e.keywordPart(94)),v.push(e.spacePart())),W(a)):K(a,b),b){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":v.push(e.punctuationPart(56)),v.push(e.spacePart()),16&e.getObjectFlags(_)||!_.symbol||(e.addRange(v,e.symbolToDisplayParts(i,_.symbol,s,void 0,5)),v.push(e.lineBreakPart())),E&&(v.push(e.keywordPart(94)),v.push(e.spacePart())),X(S,T,262144);break;default:X(S,T)}p=!0}}else if(e.isNameOfFunctionDeclaration(c)&&!(98304&y)||123===c.kind&&154===c.parent.kind){var w=c.parent;e.find(a.declarations,function(e){return e===(123===c.kind?w.parent:w)})&&(T=154===w.kind?_.getNonNullableType().getConstructSignatures():_.getNonNullableType().getCallSignatures(),S=i.isImplementationOfOverload(w)?T[0]:i.getSignatureFromDeclaration(w),154===w.kind?(b="constructor",K(_.symbol,b)):K(157!==w.kind||2048&_.symbol.flags||4096&_.symbol.flags?a:_.symbol,b),X(S,T),p=!0)}}if(32&y&&!p&&!x&&(J(),e.getDeclarationOfKind(a,204)?G("local class"):v.push(e.keywordPart(75)),v.push(e.spacePart()),W(a),Y(a,o)),64&y&&2&u&&(V(),v.push(e.keywordPart(109)),v.push(e.spacePart()),W(a),Y(a,o)),524288&y&&(V(),v.push(e.keywordPart(139)),v.push(e.spacePart()),W(a),Y(a,o),v.push(e.spacePart()),v.push(e.operatorPart(58)),v.push(e.spacePart()),e.addRange(v,e.typeToDisplayParts(i,i.getDeclaredTypeOfSymbol(a),s,8388608))),384&y&&(V(),e.forEach(a.declarations,e.isConstEnumDeclaration)&&(v.push(e.keywordPart(76)),v.push(e.spacePart())),v.push(e.keywordPart(83)),v.push(e.spacePart()),W(a)),1536&y){V();var D=(z=e.getDeclarationOfKind(a,238))&&z.name&&71===z.name.kind;v.push(e.keywordPart(D?130:129)),v.push(e.spacePart()),W(a)}if(262144&y&&2&u)if(V(),v.push(e.punctuationPart(19)),v.push(e.textPart("type parameter")),v.push(e.punctuationPart(20)),v.push(e.spacePart()),W(a),a.parent)H(),W(a.parent,s),Y(a.parent,s);else{var A=e.getDeclarationOfKind(a,147);e.Debug.assert(void 0!==A),(z=A.parent)&&(e.isFunctionLikeKind(z.kind)?(H(),S=i.getSignatureFromDeclaration(z),158===z.kind?(v.pu
1sh(e.keywordPart(94)),v.push(e.spacePart())):157!==z.kind&&z.name&&W(z.symbol),e.addRange(v,e.signatureToDisplayParts(i,S,o,32))):236===z.kind&&(H(),v.push(e.keywordPart(139)),v.push(e.spacePart()),W(z.symbol),Y(z.symbol,o)))}if(8&y&&(b="enum member",K(a,"enum member"),272===(z=a.declarations[0]).kind)){var N=i.getConstantValue(z);void 0!==N&&(v.push(e.spacePart()),v.push(e.operatorPart(58)),v.push(e.spacePart()),v.push(e.displayPart(e.getTextOfConstantValue(N),"number"===typeof N?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&y){if(V(),!p){var P=i.getAliasedSymbol(a);if(P!==a&&P.declarations&&P.declarations.length>0){var O=P.declarations[0],F=e.getNameOfDeclaration(O);if(F){var M=e.isModuleWithStringLiteralName(O)&&e.hasModifier(O,2),I="default"!==a.name&&!M,L=t(i,P,e.getSourceFileOfNode(O),O,F,u,I?a:P);v.push.apply(v,L.displayParts),v.push(e.lineBreakPart()),g=L.documentation,h=L.tags}}}switch(a.declarations[0].kind){case 241:v.push(e.keywordPart(84)),v.push(e.spacePart()),v.push(e.keywordPart(130));break;case 248:v.push(e.keywordPart(84)),v.push(e.spacePart()),v.push(e.keywordPart(a.declarations[0].isExportEquals?58:79));break;case 251:v.push(e.keywordPart(84));break;default:v.push(e.keywordPart(91))}v.push(e.spacePart()),W(a),e.forEach(a.declarations,function(t){if(242===t.kind){var r=t;if(e.isExternalModuleImportEqualsDeclaration(r))v.push(e.spacePart()),v.push(e.operatorPart(58)),v.push(e.spacePart()),v.push(e.keywordPart(133)),v.push(e.punctuationPart(19)),v.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),v.push(e.punctuationPart(20));else{var n=i.getSymbolAtLocation(r.moduleReference);n&&(v.push(e.spacePart()),v.push(e.operatorPart(58)),v.push(e.spacePart()),W(n,s))}return!0}})}if(!p)if(""!==b){if(_)if(x?(V(),v.push(e.keywordPart(99))):K(a,b),"property"===b||"JSX attribute"===b||3&y||"local var"===b||x)if(v.push(e.punctuationPart(56)),v.push(e.spacePart()),_.symbol&&262144&_.symbol.flags){var R=e.mapToDisplayParts(function(t){var r=i.typeParameterToDeclaration(_,s);U().writeNode(4,r,e.getSourceFileOfNode(e.getParseTreeNode(s)),t)});e.addRange(v,R)}else e.addRange(v,e.typeToDisplayParts(i,_,s));else(16&y||8192&y||16384&y||131072&y||98304&y||"method"===b)&&(T=_.getNonNullableType().getCallSignatures()).length&&X(T[0],T)}else b=r(i,a,c);if(!d&&(d=a.getDocumentationComment(i),f=a.getJsDocTags(),0===d.length&&4&y&&a.parent&&e.forEach(a.parent.declarations,function(e){return 273===e.kind})))for(var j=0,B=a.declarations;j<B.length;j++){var z;if((z=B[j]).parent&&199===z.parent.kind){var q=i.getSymbolAtLocation(z.parent.right);if(q&&(d=q.getDocumentationComment(i),f=q.getJsDocTags(),d.length>0))break}}return 0===d.length&&g&&(d=g),0===f.length&&h&&(f=h),{displayParts:v,documentation:d,symbolKind:b,tags:f};function U(){return m||(m=e.createPrinter({removeComments:!0})),m}function V(){v.length&&v.push(e.lineBreakPart()),J()}function J(){l&&(G("alias"),v.push(e.spacePart()))}function H(){v.push(e.spacePart()),v.push(e.keywordPart(92)),v.push(e.spacePart())}function W(t,r){l&&t===a&&(t=l);var n=e.symbolToDisplayParts(i,t,r||o,void 0,7);e.addRange(v,n),16777216&a.flags&&v.push(e.punctuationPart(55))}function K(t,r){V(),r&&(G(r),t&&!e.some(t.declarations,function(t){return e.isArrowFunction(t)||(e.isFunctionExpression(t)||e.isClassExpression(t))&&!t.name})&&(v.push(e.spacePart()),W(t)))}function G(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":return void v.push(e.textOrKeywordPart(t));default:return v.push(e.punctuationPart(19)),v.push(e.textOrKeywordPart(t)),void v.push(e.punctuationPart(20))}}function X(t,r,n){e.addRange(v,e.signatureToDisplayParts(i,t,s,32|n)),r.length>1&&(v.push(e.spacePart()),v.push(e.punctuationPart(19)),v.push(e.operatorPart(37)),v.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),v.push(e.spacePart()),v.push(e.textPart(2===r.length?"overload":"overloads")),v.push(e.punctuationPart(20))),d=t.getDocumentationComment(i),f=t.getJsDocTags()}function Y(t,r){var n=e.mapToDisplayParts(function(n){var a=i.symbolToTypeParameterDeclarations(t,r);U().writeList(26896,a,e.getSourceFileOfNode(e.getParseTreeNode(r)),n)});e.addRange(v,n)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(u||(u={})),function(e){function t(t,r){var i=[],a=r.compilerOptions?n(r.compilerOptions,i):e.getDefaultCompilerOptions();a.isolatedModules=!0,a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0,a.noLib=!0,a.lib=void 0,a.types=void 0,a.noEmit=void 0,a.noEmitOnError=void 0,a.paths=void 0,a.rootDirs=void 0,a.declaration=void 0,a.declarationDir=void 0,a.out=void 0,a.outFile=void 0,a.noResolve=!0;var o=r.fileName||(a.jsx?"module.tsx":"module.ts"),s=e.createSourceFile(o,t,a.target);r.moduleName&&(s.moduleName=r.moduleName),r.renamedDependencies&&(s.renamedDependencies=e.createMapFromTemplate(r.renamedDependencies));var c,u,l=e.getNewLineCharacter(a),d={getSourceFile:function(t){return t===e.normalizePath(o)?s:void 0},writeFile:function(t,r){e.fileExtensionIs(t,".map")?(e.Debug.assertEqual(u,void 0,"Unexpected multiple source map outputs, file:",t),u=r):(e.Debug.assertEqual(c,void 0,"Unexpected multiple outputs, file:",t),c=r)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return l},fileExists:function(e){return e===o},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},f=e.createProgram([o],a,d);return r.reportDiagnostics&&(e.addRange(i,f.getSyntacticDiagnostics(s)),e.addRange(i,f.getOptionsDiagnostics())),f.emit(void 0,void 0,void 0,void 0,r.transformers),e.Debug.assert(void 0!==c,"Output generation failed"),{outputText:c,diagnostics:i,sourceMapText:u}}var r;function n(t,n){r=r||e.filter(e.optionDeclarations,function(t){return"object"===typeof t.type&&!e.forEachEntry(t.type,function(e){return"number"!==typeof e})}),t=e.cloneCompilerOptions(t);for(var i=function(r){if(!e.hasProperty(t,r.name))return"continue";var i=t[r.name];e.isString(i)?t[r.name]=e.parseCustomTypeOption(r,i,n):e.forEachEntry(r.type,function(e){return e===i})||n.push(e.createCompilerDiagnosticForInvalidCustomType(r))},a=0,o=r;a<o.length;a++){i(o[a])}return t}e.transpileModule=t,e.transpile=function(r,n,i,a,o){var s=t(r,{compilerOptions:n,fileName:i,reportDiagnostics:!!a,moduleName:o});return e.addRange(a,s.diagnostics),s.outputText},e.fixupCompilerOptions=n}(u||(u={})),function(e){!function(t){!function(e){e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace"}(t.FormattingRequestKind||(t.FormattingRequestKind={}));var r=function(){function t(e,t,r){this.sourceFile=e,this.formattingRequestKind=t,this.options=r}return t.prototype.updateContext=function(t,r,n,i,a){e.Debug.assert(void 0!==t,"currentTokenSpan is null"),e.Debug.assert(void 0!==r,"currentTokenParent is null"),e.Debug.assert(void 0!==n,"nextTokenSpan is null"),e.Debug.assert(void 0!==i,"nextTokenParent is null"),e.Debug.assert(void 0!==a,"commonParent is null"),this.currentTokenSpan=t,this.currentTokenParent=r,this.nextTokenSpan=n,this.nextTokenParent=i,this.contextNode=a,this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},t.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},t.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},t.prototype.TokensAreOnSameLine=function(){if(void 0===this.tokensAreOnSameLine){var e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine},t.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},t.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},t.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},t.prototype.BlockIsOnOneLine=function(t){var r=e.findChildOfKind(t,17,this.sourceFile),n=e.findChildOfKind(t,18,this.sourceFile);return!(!r||!n)&&this.sourceFile.getLineAndCharacterOfPosition(r.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(n.getStart(this.sourceFile)).line},t}();t.FormattingContext=r}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){var r,n=e.createScanner(6,!1,0),i=e.createScanner(6,!1,1);
1!function(e){e[e.Scan=0]="Scan",e[e.RescanGreaterThanToken=1]="RescanGreaterThanToken",e[e.RescanSlashToken=2]="RescanSlashToken",e[e.RescanTemplateToken=3]="RescanTemplateToken",e[e.RescanJsxIdentifier=4]="RescanJsxIdentifier",e[e.RescanJsxText=5]="RescanJsxText"}(r||(r={})),t.getFormattingScanner=function(t,r,a,o,s){var c=1===r?i:n;c.setText(t),c.setTextPos(a);var u,l,d,f,p,_=!0,m=s({advance:function(){p=void 0,c.getStartPos()!==a?_=l&&4===e.lastOrUndefined(l).kind:c.scan(),u=void 0,l=void 0;for(var t=c.getStartPos();t<o;){var r=c.getToken();if(!e.isTrivia(r))break;c.scan();var n={pos:t,end:c.getStartPos(),kind:r};t=c.getStartPos(),u=e.append(u,n)}d=c.getStartPos()},readTokenInfo:function(t){e.Debug.assert(g());var r=function(e){switch(e.kind){case 31:case 66:case 67:case 47:case 46:return!0}return!1}(t)?1:12===t.kind?2:function(e){return 15===e.kind||16===e.kind}(t)?3:function(t){if(t.parent)switch(t.parent.kind){case 261:case 256:case 257:case 255:return e.isKeyword(t.kind)||71===t.kind}return!1}(t)?4:10===t.kind?5:0;if(p&&r===f)return h(p,t);c.getStartPos()!==d&&(e.Debug.assert(void 0!==p),c.setTextPos(d),c.scan());var n=function(t,r){var n,i=c.getToken();switch(f=0,r){case 1:if(29===i){f=1;var a=c.reScanGreaterToken();return e.Debug.assert(t.kind===a),a}break;case 2:if(41===(n=i)||63===n){f=2;var a=c.reScanSlashToken();return e.Debug.assert(t.kind===a),a}break;case 3:if(18===i)return f=3,c.reScanTemplateToken();break;case 4:return f=4,c.scanJsxIdentifier();case 5:return f=5,c.reScanJsxToken();case 0:break;default:e.Debug.assertNever(r)}return i}(t,r),i={pos:c.getStartPos(),end:c.getTextPos(),kind:n};for(l&&(l=void 0);c.getStartPos()<o&&(n=c.scan(),e.isTrivia(n));){var a={pos:c.getStartPos(),end:c.getTextPos(),kind:n};if(l||(l=[]),l.push(a),4===n){c.scan();break}}return h(p={leadingTrivia:u,trailingTrivia:l,token:i},t)},isOnToken:g,getCurrentLeadingTrivia:function(){return u},lastTrailingTriviaWasNewLine:function(){return _},skipToEndOf:function(e){c.setTextPos(e.end),d=c.getStartPos(),f=void 0,p=void 0,_=!1,u=void 0,l=void 0}});return p=void 0,c.setText(void 0),m;function g(){var t=p?p.token.kind:c.getToken();return(p?p.token.pos:c.getStartPos())<o&&1!==t&&!e.isTrivia(t)}function h(t,r){return e.isToken(r)&&t.token.kind!==r.kind&&(t.token.kind=r.kind),t}}}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){t.anyContext=e.emptyArray,function(e){e[e.Ignore=1]="Ignore",e[e.Space=2]="Space",e[e.NewLine=4]="NewLine",e[e.Delete=8]="Delete"}(t.RuleAction||(t.RuleAction={})),function(e){e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines"}(t.RuleFlags||(t.RuleFlags={}))}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){function r(e,t,r,n,a,o){return void 0===o&&(o=0),{leftTokenRange:i(t),rightTokenRange:i(r),rule:{debugName:e,context:n,action:a,flags:o}}}function n(e){return{tokens:e,isSpecific:!0}}function i(t){return"number"===typeof t?n([t]):e.isArray(t)?n(t):t}function a(t,r,i){void 0===i&&(i=[]);for(var a=[],o=t;o<=r;o++)e.contains(i,o)||a.push(o);return n(a)}function o(e){return function(t){return t.options&&t.options.hasOwnProperty(e)&&!!t.options[e]}}function s(e){return function(t){return t.options&&t.options.hasOwnProperty(e)&&!t.options[e]}}function c(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!t.options[e]}}function u(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!t.options[e]||t.TokensAreOnSameLine()}}function l(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!!t.options[e]}}function d(e){return 219===e.contextNode.kind}function f(e){return!d(e)}function p(e){switch(e.contextNode.kind){case 199:case 200:case 170:case 207:case 251:case 247:case 160:case 168:case 169:return!0;case 181:case 236:case 242:case 231:case 148:case 272:case 151:case 150:return 58===e.currentTokenSpan.kind||58===e.nextTokenSpan.kind;case 220:case 147:return 92===e.currentTokenSpan.kind||92===e.nextTokenSpan.kind;case 221:return 144===e.currentTokenSpan.kind||144===e.nextTokenSpan.kind}return!1}function _(e){return!p(e)}function m(e){return!g(e)}function g(t){var r=t.contextNode.kind;return 151===r||150===r||148===r||231===r||e.isFunctionLikeKind(r)}function h(e){return 200===e.contextNode.kind||170===e.contextNode.kind}function v(e){return e.TokensAreOnSameLine()||k(e)}function y(e){return 179===e.contextNode.kind||176===e.contextNode.kind||function(e){return S(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function b(e){return k(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function x(e){return S(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function S(e){return C(e.contextNode)}function k(e){return C(e.nextTokenParent)}function C(e){if(A(e))return!0;switch(e.kind){case 212:case 240:case 183:case 239:return!0}return!1}function E(e){switch(e.contextNode.kind){case 233:case 153:case 152:case 155:case 156:case 157:case 191:case 154:case 192:case 235:return!0}return!1}function T(e){return!E(e)}function w(e){return 233===e.contextNode.kind||191===e.contextNode.kind}function D(e){return A(e.contextNode)}function A(e){switch(e.kind){case 234:case 204:case 235:case 237:case 165:case 238:case 249:case 250:case 243:case 246:return!0}return!1}function N(e){switch(e.currentTokenParent.kind){case 234:case 238:case 237:case 268:case 239:case 226:return!0;case 212:var t=e.currentTokenParent.parent;if(!t||192!==t.kind&&191!==t.kind)return!0}return!1}function P(e){switch(e.contextNode.kind){case 216:case 226:case 219:case 220:case 221:case 218:case 229:case 217:case 225:case 268:return!0;default:return!1}}function O(e){return 183===e.contextNode.kind}function F(e){return function(e){return 186===e.contextNode.kind}(e)||function(e){return 187===e.contextNode.kind}(e)}function M(e){return 26!==e.currentTokenSpan.kind}function I(e){return 22!==e.nextTokenSpan.kind}function L(e){return 192===e.contextNode.kind}function R(e){return 178===e.contextNode.kind}function j(e){return e.TokensAreOnSameLine()&&10!==e.contextNode.kind}function B(e){return 254!==e.contextNode.kind&&258!==e.contextNode.kind}function z(e){return 264===e.contextNode.kind||263===e.contextNode.kind}function q(e){return 261===e.nextTokenParent.kind}function U(e){return 261===e.contextNode.kind}function V(e){return 255===e.contextNode.kind}function J(e){return!E(e)&&!k(e)}function H(e){return e.TokensAreOnSameLine()&&e.contextNode.decorators&&W(e.currentTokenParent)&&!W(e.nextTokenParent)}function W(t){for(;e.isExpressionNode(t);)t=t.parent;return 149===t.kind}function K(e){return 232===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function G(e){return 2!==e.formattingRequestKind}function X(e){return 238===e.contextNode.kind}function Y(e){return 165===e.contextNode.kind}function $(e){return 158===e.contextNode.kind}function Q(e,t){if(27!==e.kind&&29!==e.kind)return!1;switch(t.kind){case 161:case 189:case 236:case 234:case 204:case 235:case 233:case 191:case 192:case 153:case 152:case 157:case 158:case 186:case 187:case 206:return!0;default:return!1}}function Z(e){return Q(e.currentTokenSpan,e.currentTokenParent)||Q(e.nextTokenSpan,e.nextTokenParent)}function ee(e){return 189===e.contextNode.kind}function te(e){return 105===e.currentTokenSpan.kind&&195===e.currentTokenParent.kind}function re(e){return 202===e.contextNode.kind&&void 0!==e.contextNode.expression}function ne(e){return 208===e.contextNode.kind}t.getAllRules=function(){for(var i=[],S=0;S<=144;S++)i.push(S);function C(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];
1return{tokens:i.filter(function(t){return!e.some(function(e){return e===t})}),isSpecific:!1}}var A={tokens:i,isSpecific:!1},W=n(i.concat([3])),Q=a(72,144),ie=a(27,70),ae=[92,93,144,118,127],oe=[71].concat(e.typeKeywords),se=W,ce=n([71,3,75,84,91]),ue=n([20,3,81,102,87,82]),le=[r("IgnoreBeforeComment",A,[2,3],t.anyContext,1),r("IgnoreAfterLineComment",2,A,t.anyContext,1),r("NotSpaceBeforeColon",A,56,[j,_,m],8),r("SpaceAfterColon",56,A,[j,_],2),r("NoSpaceBeforeQuestionMark",A,55,[j,_],8),r("SpaceAfterQuestionMarkInConditionalOperator",55,A,[j,h],2),r("NoSpaceAfterQuestionMark",55,A,[j],8),r("NoSpaceBeforeDot",A,23,[j],8),r("NoSpaceAfterDot",23,A,[j],8),r("NoSpaceBetweenImportParenInImportType",91,19,[j,R],8),r("NoSpaceAfterUnaryPrefixOperator",[43,44,52,51],[8,71,19,21,17,99,94],[j,_],8),r("NoSpaceAfterUnaryPreincrementOperator",43,[71,19,99,94],[j],8),r("NoSpaceAfterUnaryPredecrementOperator",44,[71,19,99,94],[j],8),r("NoSpaceBeforeUnaryPostincrementOperator",[71,20,22,94],43,[j],8),r("NoSpaceBeforeUnaryPostdecrementOperator",[71,20,22,94],44,[j],8),r("SpaceAfterPostincrementWhenFollowedByAdd",43,37,[j,p],2),r("SpaceAfterAddWhenFollowedByUnaryPlus",37,37,[j,p],2),r("SpaceAfterAddWhenFollowedByPreincrement",37,43,[j,p],2),r("SpaceAfterPostdecrementWhenFollowedBySubtract",44,38,[j,p],2),r("SpaceAfterSubtractWhenFollowedByUnaryMinus",38,38,[j,p],2),r("SpaceAfterSubtractWhenFollowedByPredecrement",38,44,[j,p],2),r("NoSpaceAfterCloseBrace",18,[26,25],[j],8),r("NewLineBeforeCloseBraceInBlockContext",W,18,[x],4),r("SpaceAfterCloseBrace",18,C(20),[j,N],2),r("SpaceBetweenCloseBraceAndElse",18,82,[j],2),r("SpaceBetweenCloseBraceAndWhile",18,106,[j],2),r("NoSpaceBetweenEmptyBraceBrackets",17,18,[j,O],8),r("SpaceAfterConditionalClosingParen",20,21,[P],2),r("NoSpaceBetweenFunctionKeywordAndStar",89,39,[w],8),r("SpaceAfterStarInGeneratorDeclaration",39,[71,19],[w],2),r("SpaceAfterFunctionInFuncDecl",89,A,[E],2),r("NewLineAfterOpenBraceInBlockContext",17,A,[x],4),r("SpaceAfterGetSetInMember",[125,136],71,[E],2),r("NoSpaceBetweenYieldKeywordAndStar",116,39,[j,re],8),r("SpaceBetweenYieldOrYieldStarAndOperand",[116,39],A,[j,re],2),r("NoSpaceBetweenReturnAndSemicolon",96,25,[j],8),r("SpaceAfterCertainKeywords",[104,100,94,80,96,103,121],A,[j],2),r("SpaceAfterLetConstInVariableDeclaration",[110,76],A,[j,K],2),r("NoSpaceBeforeOpenParenInFuncCall",A,19,[j,F,M],8),r("SpaceBeforeBinaryKeywordOperator",A,ae,[j,p],2),r("SpaceAfterBinaryKeywordOperator",ae,A,[j,p],2),r("SpaceAfterVoidOperator",105,A,[j,te],2),r("SpaceBetweenAsyncAndOpenParen",120,19,[
1L,j],2),r("SpaceBetweenAsyncAndFunctionKeyword",120,89,[j],2),r("NoSpaceBetweenTagAndTemplateString",[71,20],[13,14],[j],8),r("SpaceBeforeJsxAttribute",A,71,[q,j],2),r("SpaceBeforeSlashInJsxOpeningElement",A,41,[V,j],2),r("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",41,29,[V,j],8),r("NoSpaceBeforeEqualInJsxAttribute",A,58,[U,j],8),r("NoSpaceAfterEqualInJsxAttribute",58,A,[U,j],8),r("NoSpaceAfterModuleImport",[129,133],19,[j],8),r("SpaceAfterCertainTypeScriptKeywords",[117,75,124,79,83,84,85,125,108,91,109,129,130,112,114,113,132,136,115,139,142,128,126],A,[j],2),r("SpaceBeforeCertainTypeScriptKeywords",A,[85,108,142],[j],2),r("SpaceAfterModuleName",9,17,[X],2),r("SpaceBeforeArrow",A,36,[j],2),r("SpaceAfterArrow",36,A,[j],2),r("NoSpaceAfterEllipsis",24,71,[j],8),r("NoSpaceAfterOptionalParameters",55,[20,26],[j,_],8),r("NoSpaceBetweenEmptyInterfaceBraceBrackets",17,18,[j,Y],8),r("NoSpaceBeforeOpenAngularBracket",oe,27,[j,Z],8),r("NoSpaceBetweenCloseParenAndAngularBracket",20,27,[j,Z],8),r("NoSpaceAfterOpenAngularBracket",27,A,[j,Z],8),r("NoSpaceBeforeCloseAngularBracket",A,29,[j,Z],8),r("NoSpaceAfterCloseAngularBracket",29,[19,21,29,26],[j,Z,T],8),r("SpaceBeforeAt",[20,71],57,[j],2),r("NoSpaceAfterAt",57,A,[j],8),r("SpaceAfterDecorator",A,[117,71,84,79,75,115,114,112,113,125,136,21,39],[H],2),r("NoSpaceBeforeNonNullAssertionOperator",A,51,[j,ne],8),r("NoSpaceAfterNewKeywordOnConstructorSignature",94,19,[j,$],8)],de=[r("SpaceAfterConstructor",123,19,[o("insertSpaceAfterConstructor"),j],2),r("NoSpaceAfterConstructor",123,19,[c("insertSpaceAfterConstructor"),j],8),r("SpaceAfterComma",26,A,[o("insertSpaceAfterCommaDelimiter"),j,B,I],2),r("NoSpaceAfterComma",26,A,[c("insertSpaceAfterCommaDelimiter"),j,B],8),r("SpaceAfterAnonymousFunctionKeyword",89,19,[o("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),E],2),r("NoSpaceAfterAnonymousFunctionKeyword",89,19,[c("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),E],8),r("SpaceAfterKeywordInControl",Q,19,[o("insertSpaceAfterKeywordsInControlFlowStatements"),P],2),r("NoSpaceAfterKeywordInControl",Q,19,[c("insertSpaceAfterKeywordsInControlFlowStatements"),P],8),r("SpaceAfterOpenParen",19,A,[o("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),j],2),r("SpaceBeforeCloseParen",A,20,[o("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),j],2),r("SpaceBetweenOpenParens",19,19,[o("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),j],2),r("NoSpaceBetweenParens",19,20,[j],8),r("NoSpaceAfterOpenParen",19,A,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),j],8),r("NoSpaceBeforeCloseParen",A,20,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),j],8),r("SpaceAfterOpenBracket",21,A,[o("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),j],2),r("SpaceBeforeCloseBracket",A,22,[o("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),j],2),r("NoSpaceBetweenBrackets",21,22,[j],8),r("NoSpaceAfterOpenBracket",21,A,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),j],8),r("NoSpaceBeforeCloseBracket",A,22,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),j],8),r("SpaceAfterOpenBrace",17,A,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),y],2),r("SpaceBeforeCloseBrace",A,18,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),y],2),r("NoSpaceBetweenEmptyBraceBrackets",17,18,[j,O],8),r("NoSpaceAfterOpenBrace",17,A,[s("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),j],8),r("NoSpaceBeforeCloseBrace",A,18,[s("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),j],8),r("SpaceAfterTemplateHeadAndMiddle",[14,15],A,[o("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],2),r("SpaceBeforeTemplateMiddleAndTail",A,[15,16],[o("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],2),r("NoSpaceAfterTemplateHeadAndMiddle",[14,15],A,[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],8),r("NoSpaceBeforeTemplateMiddleAndTail",A,[15,16],[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),j],8),r("SpaceAfterOpenBraceInJsxExpression",17,A,[o("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),j,z],2),r("SpaceBeforeCloseBraceInJsxExpression",A,18,[o("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),j,z],2),r("NoSpaceAfterOpenBraceInJsxExpression",17,A,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),j,z],8),r("NoSpaceBeforeCloseBraceInJsxExpression",A,18,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),j,z],8),r("SpaceAfterSemicolonInFor",25,A,[o("insertSpaceAfterSemicolonInForStatements"),j,d],2),r("NoSpaceAfterSemicolonInFor",25,A,[c("insertSpaceAfterSemicolonInForStatements"),j,d],8),r("SpaceBeforeBinaryOperator",A,ie,[o("insertSpaceBeforeAndAfterBinaryOperators"),j,p],2),r("SpaceAfterBinaryOperator",ie,A,[o("insertSpaceBeforeAndAfterBinaryOperators"),j,p],2),r("NoSpaceBeforeBinaryOperator",A,ie,[c("insertSpaceBeforeAndAfterBinaryOperators"),j,p],8),r("NoSpaceAfterBinaryOperator",ie,A,[c("insertSpaceBeforeAndAfterBinaryOperators"),j,p],8),r("SpaceBeforeOpenParenInFuncDecl",A,19,[o("insertSpaceBeforeFunctionParenthesis"),j,E],2),r("NoSpaceBeforeOpenParenInFuncDecl",A,19,[c("insertSpaceBeforeFunctionParenthesis"),j,E],8),r("NewLineBeforeOpenBraceInControl",ue,17,[o("placeOpenBraceOnNewLineForControlBlocks"),P,b],4,1),r("NewLineBeforeOpenBraceInFunction",se,17,[o("placeOpenBraceOnNewLineForFunctions"),E,b],4,1),r("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",ce,17,[o("placeOpenBraceOnNewLineForFunctions"),D,b],4,1),r("SpaceAfterTypeAssertion",29,A,[o("insertSpaceAfterTypeAssertion"),j,ee],2),r("NoSpaceAfterTypeAssertion",29,A,[c("insertSpaceAfterTypeAssertion"),j,ee],8),r("SpaceBeforeTypeAnnotation",A,56,[o("insertSpaceBeforeTypeAnnotation"),j,g],2),r("NoSpaceBeforeTypeAnnotation",A,56,[c("insertSpaceBeforeTypeAnnotation"),j,g],8)],fe=[r("NoSpaceBeforeSemicolon",A,25,[j],8),r("SpaceBeforeOpenBraceInControl",ue,17,[u("placeOpenBraceOnNewLineForControlBlocks"),P,G,v],2,1),r("SpaceBeforeOpenBraceInFunction",se,17,[u("placeOpenBraceOnNewLineForFunctions"),E,k,G,v],2,1),r("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",ce,17,[u("placeOpenBraceOnNewLineForFunctions"),D,G,v],2,1),r("NoSpaceBeforeComma",A,26,[j],8),r("NoSpaceBeforeOpenBracket",C(120,73),21,[j],8),r("NoSpaceAfterCloseBracket",22,A,[j,J],8),r("SpaceAfterSemicolon",25,A,[j],2),r("SpaceBetweenForAndAwaitKeyword",88,121,[j],2),r("SpaceBetweenStatements",[20,81,82,73],A,[j,B,f],2),r("SpaceAfterTryFinally",[102,87],17,[j],2)];return le.concat(de,fe)}}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){var r;function n(){return void 0===r&&(r=function(t){var r=function(e){for(var t=new Array(c*c),r=new Array(t.length),n=0,a=e;n<a.length;n++)for(var o=a[n],s=o.leftTokenRange.isSpecific&&o.rightTokenRange.isSpecific,l=0,d=o.leftTokenRange.tokens;l<d.length;l++)for(var f=d[l],p=0,_=o.rightTokenRange.tokens;p<_.length;p++){var m=_[p],g=i(f,m),h=t[g];void 0===h&&(h=t[g]=[]),u(h,o.rule,s,r,g)}return t}(t);return function(t){var n=r[i(t.currentTokenSpan.kind,t.nextTokenSpan.kind)];return n&&e.find(n,function(r){return e.every(r.context,function(e){return e(t)})})}}(t.getAllRules())),r}function i(t,r){return e.Debug.assert(t<=144&&r<=144,"Must compute formatting context from tokens"),t*c+r}t.getFormatContext=function(e){return{options:e,getRule:n()}};var a,o=5,s=31,c=145;function u(r,n,i,c,u){var l=1===n.action?i?a.IgnoreRulesSpecific:a.IgnoreRulesAny:n.context!==t.anyContext?i?a.ContextRulesSpecific:a.ContextRulesAny:i?a.NoContextRulesSpecific:a.NoContextRulesAny,d=c[u]||0;r.splice(function(e,t){for(var r=0,n=0;n<=t;n+=o)r+=e&s,e>>=o;return r}(d,l),0,n),c[u]=function(t,r){var n=1+(t>>r&s);return e.Debug.assert((n&s)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),t&~(s<<r)|n<<r}(d,l)}!function(e){e[e.IgnoreRulesSpecific=0]="IgnoreRulesSpecific",e[e.IgnoreRulesAny=1*o]="IgnoreRulesAny",e[e.ContextRulesSpecific=2*o]="ContextRulesSpecific",e[e.ContextRulesAny=3*o]="ContextRulesAny",e[e.NoContextRulesSpecific=4*o]="NoContextRulesSpecific",e[e.NoContextRulesAny=5*o]="NoContextRulesAny"}(a||(a={}))}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){var r,n,i,a,o;function s(t,r,n){var i=e.findPrecedingToken(t,n);return i&&i.kind===r&&t===i.getEnd()?i:void 0}function c(e){for(var t=e;t&&t.parent&&t.parent.end===e.end&&!u(t.parent,t);)t=t.parent;return t}function u(t,r){switch(t.kind){case 234:case 235:return e.rangeContainsRange(t.members,r);case 238:var n=t.body;return n&&239===n.kind&&e.rangeContainsRange(n.statements,r);case 273:case 212:case 239:return e.rangeContainsRange(t.statements,r);case 268:return e.rangeContainsRange(t.block.statements,r)}return!1}function l(t,r,n,i){return t?d({pos:e.getLineStartPositionForPosition(t.getStart(r),r),end:t.end},r,n,i):[]}function d(r,n,i,a){var o=function(t,r){return function n(i){var a=e.forEachChild(i,function(n){return e.startEndContainsRange(n.getStart(r),n.end,t)&&n});if(a){var o=n(a);if(o)return o}return i}(r)}(r,n);return t.getFormattingScanner(n.text,n.languageVariant,function(t,r,n){var i=t.getStart(n);if(i===r.pos&&t.end===r.end)return i;var a=e.findPrecedingToken(r.pos,n);return a?a.end>=r.pos?t.pos:a.end:t.pos}(o,r,n),r.end,function(s){return f(r,o,t.SmartIndenter.getIndentationForNode(o,r,n,i.options),function(e,r,n){for(var i,a=-1;e;){var o=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==a&&o!==a)break;if(t.SmartIndenter.shouldIndentChildNode(r,e,i,n))return r.indentSize;a=o,i=e,e=e.parent}return 0}(o,i.options,n),s,i,a,function(t,r){if(!t.length)return a;var n=t.filter(function(t){return e.rangeOverlapsWithStartEnd(r,t.start,t.start+t.length)}).sort(function(e,t){return e.start-t.start});if(!n.length)return a;var i=0;return function(t){for(;;){if(i>=n.length)return!1;var r=n[i];
1if(t.end<=r.start)return!1;if(e.startEndOverlapsWithStartEnd(t.pos,t.end,r.start,r.start+r.length))return!0;i++}};function a(){return!1}}(n.parseDiagnostics,r),n)})}function f(r,n,i,a,o,s,c,u,l){var d,f,_,m,g,h=s.options,v=s.getRule,y=new t.FormattingContext(l,c,h),b=[];if(o.advance(),o.isOnToken()){var x=l.getLineAndCharacterOfPosition(n.getStart(l)).line,S=x;n.decorators&&(S=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,l)).line),function n(i,a,s,c,f,p){if(!e.rangeOverlapsWithStartEnd(r,i.getStart(l),i.getEnd()))return;var _=E(i,s,f,p);var v=a;e.forEachChild(i,function(e){b(e,-1,i,_,s,c,!1)},function(t){!function(t,r,n,a){e.Debug.assert(e.isNodeArray(t));var s=function(e,t){switch(e.kind){case 154:case 233:case 191:case 153:case 152:case 192:if(e.typeParameters===t)return 27;if(e.parameters===t)return 19;break;case 186:case 187:if(e.typeArguments===t)return 27;if(e.arguments===t)return 19;break;case 161:if(e.typeArguments===t)return 27}return 0}(r,t),c=function(e){switch(e){case 19:return 20;case 27:return 29}return 0}(s),u=a,d=n;if(0!==s)for(;o.isOnToken();){var f=o.readTokenInfo(r);if(f.token.end>t.pos)break;if(f.token.kind===s){d=l.getLineAndCharacterOfPosition(f.token.pos).line;var p=C(f.token,d,-1,r,a,n);u=E(r,n,p.indentation,p.delta),x(f,r,u,r)}else x(f,r,a,r)}for(var _=-1,m=0;m<t.length;m++){var g=t[m];_=b(g,_,i,u,d,d,!0,0===m)}if(0!==c&&o.isOnToken()){var f=o.readTokenInfo(r);f.token.kind===c&&e.rangeContainsRange(r,f.token)&&x(f,r,u,r)}}(t,i,s,_)});for(;o.isOnToken();){var y=o.readTokenInfo(i);if(y.token.end>i.end)break;x(y,i,_,i)}function b(a,s,c,u,d,f,p,_){var m=a.getStart(l),g=l.getLineAndCharacterOfPosition(m).line,y=g;a.decorators&&(y=l.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(a,l)).line);var b=-1;if(p&&e.rangeContainsRange(r,c)&&-1!==(b=function(r,n,i,a,o){if(e.rangeOverlapsWithStartEnd(a,r,n)||e.rangeContainsStartEnd(a,r,n)){if(-1!==o)return o}else{var s=l.getLineAndCharacterOfPosition(r).line,c=e.getLineStartPositionForPosition(r,l),u=t.SmartIndenter.findFirstNonWhitespaceColumn(c,r,l,h);if(s!==i||r===u){var d=t.SmartIndenter.getBaseIndentation(h);return d>u?d:u}}return-1}
1(m,a.end,d,r,s))&&(s=b),!e.rangeOverlapsWithStartEnd(r,a.pos,a.end))return a.end<r.pos&&o.skipToEndOf(a),s;if(0===a.getFullWidth())return s;for(;o.isOnToken();){var S=o.readTokenInfo(i);if(S.token.end>m)break;x(S,i,u,i)}if(!o.isOnToken())return s;if(e.isToken(a)&&10!==a.kind){var S=o.readTokenInfo(a);return e.Debug.assert(S.token.end===a.end,"Token end is child end"),x(S,i,u,a),s}var k=149===a.kind?g:f,E=C(a,g,b,i,u,k);if(n(a,v,g,y,E.indentation,E.delta),10===a.kind){var T={pos:a.getStart(),end:a.getEnd()};A(T,E.indentation,!0,!1)}return v=i,_&&182===c.kind&&-1===s&&(s=E.indentation),s}function x(t,n,i,a){e.Debug.assert(e.rangeContainsRange(n,t.token));var s=o.lastTrailingTriviaWasNewLine(),c=!1;t.leadingTrivia&&T(t.leadingTrivia,n,v,i);var f=0,p=e.rangeContainsRange(r,t.token),_=l.getLineAndCharacterOfPosition(t.token.pos);if(p){var h=u(t.token),y=d;if(f=w(t.token,_,n,v,i),!h)if(0===f){var b=y&&l.getLineAndCharacterOfPosition(y.end).line;c=s&&_.line!==b}else c=1===f}if(t.trailingTrivia&&T(t.trailingTrivia,n,v,i),c){var x=p&&!u(t.token)?i.getIndentationForToken(_.line,t.token.kind,a):-1,S=!0;if(t.leadingTrivia)for(var k=i.getIndentationForComment(t.token.kind,x,a),C=0,E=t.leadingTrivia;C<E.length;C++){var N=E[C],P=e.rangeContainsRange(r,N);switch(N.kind){case 3:P&&A(N,k,!S),S=!1;break;case 2:S&&P&&D(N.pos,k,!1),S=!1;break;case 4:S=!0}}-1!==x&&S&&(D(t.token.pos,x,1===f),m=_.line,g=x)}o.advance(),v=n}}(n,n,x,S,i,a)}if(!o.isOnToken()){var k=o.getCurrentLeadingTrivia();k&&(T(k,n,n,void 0),function(){var e=d?d.end:r.pos,t=l.getLineAndCharacterOfPosition(e).line,n=l.getLineAndCharacterOfPosition(r.end).line;N(t,n+1,d)}())}return b;function C(e,r,n,i,a,o){var s=t.SmartIndenter.shouldIndentChildNode(h,e)?h.indentSize:0;return o===r?{indentation:r===m?g:a.getIndentation(),delta:Math.min(h.indentSize,a.getDelta(e)+s)}:-1===n?19===e.kind&&r===m?{indentation:g,delta:a.getDelta(e)}:t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,r,l)?{indentation:a.getIndentation(),delta:s}:{indentation:a.getIndentation()+a.getDelta(e),delta:s}:{indentation:n,delta:s}}function E(r,n,i,a){return{getIndentationForComment:function(e,t,r){switch(e){case 18:case 22:case 20:return i+o(r)}return-1!==t?t:i},getIndentationForToken:function(t,a,s){return function(t,i,a){switch(i){case 17:case 18:case 19:case 20:case 82:case 106:case 57:return!1;case 41:case 29:switch(a.kind){case 256:case 257:case 255:return!1}break;case 21:case 22:if(176!==a.kind)return!1}return n!==t&&!(r.decorators&&i===function(t){if(t.modifiers&&t.modifiers.length)return t.modifiers[0].kind;switch(t.kind){case 234:return 75;case 235:return 109;case 233:return 89;case 237:return 237;case 155:return 125;case 156:return 136;case 153:if(t.asteriskToken)return 39;case 151:case 148:return e.getNameOfDeclaration(t).kind}}(r))}(t,a,s)?i+o(s):i},getIndentation:function(){return i},getDelta:o,recomputeIndentation:function(e){r.parent&&t.SmartIndenter.shouldIndentChildNode(h,r.parent,r,l)&&(i+=e?h.indentSize:-h.indentSize,a=t.SmartIndenter.shouldIndentChildNode(h,r)?h.indentSize:0)}};function o(e){return t.SmartIndenter.nodeWillIndentChild(h,r,e,l,!0)?a:0}}function T(t,n,i,a){for(var o=0,s=t;o<s.length;o++){var c=s[o];if(e.isComment(c.kind)&&e.rangeContainsRange(r,c))w(c,l.getLineAndCharacterOfPosition(c.pos),n,i,a)}}function w(t,n,i,a,o){var s=0;u(t)||(d?s=function(t,r,n,i,a,o,s,c){y.updateContext(i,o,t,n,s);var u,d=v(y),f=0;if(d){switch(f=function(e,t,r,n,i){var a=i!==r;switch(e.action){case 1:return 0;case 8:if(t.end!==n.pos)return O(t.end,n.pos-t.end),a?2:0;break;case 4:if(1!==e.flags&&r!==i)return 0;var o=i-r;if(1!==o)return F(t.end,n.pos-t.end,h.newLineCharacter),a?0:1;break;case 2:if(1!==e.flags&&r!==i)return 0;var s=n.pos-t.end;if(1!==s||32!==l.text.charCodeAt(t.end))return F(t.end,n.pos-t.end," "),a?2:0}return 0}(d,i,a,t,r)){case 2:n.getStart(l)===t.pos&&c.recomputeIndentation(!1);break;case 1:n.getStart(l)===t.pos&&c.recomputeIndentation(!0);break;default:e.Debug.assert(0===f)}u=!(8&d.action)&&1!==d.flags}else u=!0;r!==a&&u&&N(a,r,i);return f}(t,n.line,i,d,_,f,a,o):N(l.getLineAndCharacterOfPosition(r.pos).line,n.line));return d=t,f=i,_=n.line,s}function D(t,r,n){var i=p(r,h);if(n)F(t,0,i);else{var a=l.getLineAndCharacterOfPosition(t),o=e.getStartPositionOfLine(a.line,l);(r!==function(e,t){for(var r=0,n=0;n<t;n++)9===l.text.charCodeAt(e+n)?r+=h.tabSize-r%h.tabSize:r++;return r}(o,a.character)||function(e,t){return e!==l.text.substr(t,e.length)}(i,o))&&F(o,a.character,i)}}function A(r,n,i,a){void 0===a&&(a=!0);var o,s=l.getLineAndCharacterOfPosition(r.pos).line,c=l.getLineAndCharacterOfPosition(r.end).line;if(s!==c){o=[];for(var u=r.pos,d=s;d<c;d++){var f=e.getEndLinePosition(d,l);o.push({pos:u,end:f}),u=e.getStartPositionOfLine(d+1,l)}a&&o.push({pos:u,end:r.end});var _=e.getStartPositionOfLine(s,l),m=t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(_,o[0].pos,l,h);if(n!==m.column){var g=0;i&&(g=1,s++);for(var v=n-m.column,y=g;y<o.length;y++,s++){var b=e.getStartPositionOfLine(s,l),x=0===y?m:t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(o[y].pos,o[y].end,l,h),S=x.column+v;if(S>0){var k=p(S,h);F(b,x.character,k)}else O(b,x.character)}}}else i||D(r.pos,n,!1)}function N(t,r,n){for(var i=t;i<r;i++){var a=e.getStartPositionOfLine(i,l),o=e.getEndLinePosition(i,l);if(!(n&&(e.isComment(n.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(n.kind))&&n.pos<=o&&n.end>o)){var s=P(a,o);-1!==s&&(e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(l.text.charCodeAt(s-1))),O(s,o+1-s))}}}function P(t,r){for(var n=r;n>=t&&e.isWhiteSpaceSingleLine(l.text.charCodeAt(n));)n--;return n!==r?n+1:-1}function O(t,r){r&&b.push(e.createTextChangeFromStartLength(t,r,""))}function F(t,r,n){(r||n)&&b.push(e.createTextChangeFromStartLength(t,r,n))}}function p(t,r){if((!i||i.tabSize!==r.tabSize||i.indentSize!==r.indentSize)&&(i={tabSize:r.tabSize,indentSize:r.indentSize},a=o=void 0),r.convertTabsToSpaces){var n=void 0,s=Math.floor(t/r.indentSize),c=t%r.indentSize;return o||(o=[]),void 0===o[s]?(n=e.repeatString(" ",r.indentSize*s),o[s]=n):n=o[s],c?n+e.repeatString(" ",c):n}var u=Math.floor(t/r.tabSize),l=t-u*r.tabSize,d=void 0;return a||(a=[]),void 0===a[u]?a[u]=d=e.repeatString("\t",u):d=a[u],l?d+e.repeatString(" ",l):d}!function(e){e[e.Unknown=-1]="Unknown"}(r||(r={})),t.formatOnEnter=function(t,r,n){var i=r.getLineAndCharacterOfPosition(t).line;if(0===i)return[];for(var a=e.getEndLinePosition(i,r);e.isWhiteSpaceSingleLine(r.text.charCodeAt(a));)a--;return e.isLineBreak(r.text.charCodeAt(a))&&a--,d({pos:e.getStartPositionOfLine(i-1,r),end:a+1},r,n,2)},t.formatOnSemicolon=function(e,t,r){return l(c(s(e,25,t)),t,r,3)},t.formatOnOpeningCurly=function(t,r,n){var i=s(t,17,r);if(!i)return[];var a=c(i.parent);return d({pos:e.getLineStartPositionForPosition(a.getStart(r),r),end:t},r,n,4)},t.formatOnClosingCurly=function(e,t,r){return l(c(s(e,18,t)),t,r,5)},t.formatDocument=function(e,t){return d({pos:0,end:e.text.length},e,t,0)},t.formatSelection=function(t,r,n,i){return d({pos:e.getLineStartPositionForPosition(t,n),end:r},n,i,1)},t.formatNodeGivenIndentation=function(e,r,n,i,a,o){var s={pos:0,end:r.text.length};return t.getFormattingScanner(r.text,n,s.pos,s.end,function(t){return f(s,e,i,a,t,o,1,function(e){return!1},r)})},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(n||(n={})),t.getRangeOfEnclosingComment=function(t,r,n,i,a,o){if(void 0===a&&(a=e.getTokenAtPosition(t,r,!1)),!(a.getStart(t)<=r&&r<a.getEnd())){void 0===i&&(i=e.findPrecedingToken(r,t));var s=i&&e.getTrailingCommentRanges(t.text,i.end),c=e.getLeadingCommentRangesOfNode(a,t),u=s&&c?s.concat(c):s||c;if(u)for(var l=0,d=u;l<d.length;l++){var f=d[l];if(f.pos<r&&r<f.end||r===f.end&&(2===f.kind||r===t.getFullWidth()))return 3!==f.kind&&n||o&&!o(f)?void 0:f}}},t.getIndentationString=p}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){!function(r){var n,i;function a(e){return e.baseIndentSize||0}function o(e,t,r,n,i,o,u){for(var l=e.parent;l;){var p=!0;if(r){var _=e.getStart(i);p=_<r.pos||_>r.end}if(p)if(-1!==(y=m(e,i,u)))return y+n;var h=s(l,e,i),v=h.line===t.line||f(l,e,t.line,i);if(p){var y;if(-1!==(y=c(e,l,t,v,i,u)))return y+n;if(-1!==(y=g(e,i,u)))return y+n}S(u,l,e,i,o)&&!v&&(n+=u.indentSize);var b=d(l,e,t.line,i);l=(e=l).parent,t=b?i.getLineAndCharacterOfPosition(e.getStart(i)):h}return n+a(u)}function s(e,t,r){var n=_(t,r),i=n?n.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(i)}function c(t,r,n,i,a,o){return(e.isDeclaration(t)||e.isStatementButNotDeclaration(t))&&(273===r.kind||!i)?v(n,a,o):-1}function u(t,r,n,i){var a=e.findNextToken(t,r,i);return a?17===a.kind?1:18===a.kind&&n===l(a,i).line?2:0:0}function l(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function d(t,r,n,i){if(!e.isCallExpression(t)||!e.contains(t.arguments,r))return!1;var a=t.expression.getEnd();return e.getLineAndCharacterOfPosition(i,a).line===n}function f(t,r,n,i){if(216===t.kind&&t.elseStatement===r){var a=e.findChildOfKind(t,82,i);return e.Debug.assert(void 0!==a),l(a,i).line===n}return!1}function p(t,r,n){return t&&e.rangeContainsStartEnd(t,r,n)?t:void 0}function _(e,t){if(e.parent){var r=e.end;switch(e.parent.kind){case 161:return p(e.parent.typeArguments,e.getStart(t),r);case 183:return e.parent.properties;case 182:return e.parent.elements;case 233:case 191:case 192:case 153:case 152:case 157:case 154:case 163:case 158:var n=e.getStart(t);return p(e.parent.typeParameters,n,r)||p(e.parent.parameters,n,r);case 234:return p(e.parent.typeParameters,e.getStart(t),r);case 187:case 186:n=e.getStart(t);return p(e.parent.typeArguments,n,r)||p(e.parent.arguments,n,r);case 232:return p(e.parent.declarations,e.getStart(t),r);case 246:case 250:return p(e.parent.elements,e.getStart(t),r);case 179:case 180:return p(e.parent.elements,e.getStart(t),r)}}}function m(e,t,r){var n=_(e,t);if(n){var i=n.indexOf(e);if(-1!==i)return h(n,i,t,r)}return-1}function g(t,r,n){if(20===t.kind)return-1;if(t.parent&&e.isCallOrNewExpression(t.parent)&&t.parent.expression!==t){var i=t.parent.expression,a=function(e){for(;;)switch(e.kind){case 186:case 187:case 184:case 185:e=e.expression;break;default:return e}}(i);if(i===a)return-1;var o=r.getLineAndCharacterOfPosition(i.end),s=r.getLineAndCharacterOfPosition(a.end);return o.line===s.line?-1:v(o,r,n)}return-1}function h(t,r,n,i){e.Debug.assert(r>=0&&r<t.length);for(var a=l(t[r],n),o=r-1;o>=0;o--)if(26!==t[o].kind){if(n.getLineAndCharacterOfPosition(t[o].end).line!==a.line)return v(a,n,i);a=l(t[o],n)}return-1}function v(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return b(n,n+e.character,t,r)}function y(t,r,n,i){for(var a=0,o=0,s=t;s<r;s++){var c=n.text.charCodeAt(s);if(!e.isWhiteSpaceSingleLine(c))break;9===c?o+=i.tabSize+o%i.tabSize:o++,a++}return{column:o,character:a}}function b(e,t,r,n){return y(e,t,r,n).column}function x(t,r,n,i,a){var o=n?n.kind:0;switch(r.kind){case 215:case 234:case 204:case 235:case 237:case 236:case 182:case 212:case 239:case 183:case 165:case 176:case 167:case 240:case 266:case 265:case 190:case 184:case 186:case 187:case 213:case 248:case 224:case 200:case 180:case 179:case 256:case 259:case 255:case 264:case 152:case 157:case 158:case 148:case 162:case 163:case 172:case 188:case 196:case 250:case 246:case 251:case 247:case 151:return!0;case 231:case 269:return!(!t.indentMultiLineObjectLiteralBeginningOnBlankLine&&i&&183===o)||function(t,r){var n=e.skipTrivia(t.text,r.pos),i=t.getLineAndCharacterOfPosition(n).line,a=t.getLineAndCharacterOfPosition(r.end).line;return i===a}(i,n);case 217:case 218:case 220:case 221:case 219:case 216:case 233:case 191:case 153:case 192:case 154:case 155:case 156:return 212!==o;case 249:return 250!==o;case 243:return 244!==o||!!n.namedBindings&&246!==n.namedBindings.kind;case 254:return 257!==o;case 258:return 260!==o;case 169:case 168:if(165===o)return!1}return a}function S(e,t,r,n,i){return void 0===i&&(i=!1),x(e,t,r,n,!1)&&!(i&&r&&function(e,t){switch(e){case 224:case 228:if(212!==t.kind)return!0;var r=t.parent;return!(r&&191===r.kind||233===r.kind);case 222:case 223:return!0;default:return!1}}(r.kind,t))}!function(e){e[e.Unknown=-1]="Unknown"}(n||(n={})),r.getIndentation=function(r,n,i,s){if(void 0===s&&(s=!1),r>n.text.length)return a(i);if(i.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(r,n),d=t.getRangeOfEnclosingComment(n,r,!0,c||null);if(d)return function(t,r,n,i){var a=e.getLineAndCharacterOfPosition(t,r).line-1,o=e.getLineAndCharacterOfPosition(t,i.pos).line;if(e.Debug.assert(o>=0),a<=o)return b(e.getStartPositionOfLine(o,t),r,t,n);
1var s=e.getStartPositionOfLine(a,t),c=y(s,r,t,n),u=c.column,l=c.character;return 0===u?u:42===t.text.charCodeAt(s+l)?u-1:u}(n,r,i,d);if(!c)return a(i);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(n)<=r&&r<c.end)return 0;var f=n.getLineAndCharacterOfPosition(r).line;if(i.indentStyle===e.IndentStyle.Block)return function(t,r,n){for(var i=r;i>0;){var a=t.text.charCodeAt(i);if(!e.isWhiteSpaceLike(a))break;i--}return b(e.getLineStartPositionForPosition(i,t),i,t,n)}(n,r,i);if(26===c.kind&&199!==c.parent.kind){var p=function(t,r,n){var i=e.findListItemInfo(t);return i&&i.listItemIndex>0?h(i.list.getChildren(),i.listItemIndex-1,r,n):-1}(c,n,i);if(-1!==p)return p}return function(t,r,n,i,s,c){for(var d,f=n;f;){if(e.positionBelongsToNode(f,r,t)&&S(c,f,d,t,!0)){var p=l(f,t),_=u(n,f,i,t),h=0!==_?s&&2===_?c.indentSize:0:i!==p.line?c.indentSize:0;return o(f,p,void 0,h,t,!0,c)}var v=m(f,t,c);if(-1!==v)return v;if(-1!==(v=g(f,t,c)))return v+c.indentSize;d=f,f=f.parent}return a(c)}(n,r,c,f,s,i)},r.getIndentationForNode=function(e,t,r,n){var i=r.getLineAndCharacterOfPosition(e.getStart(r));return o(e,i,t,0,r,!1,n)},r.getBaseIndentation=a,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(i||(i={})),r.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,r.childStartsOnTheSameLineWithElseInIfStatement=f,r.getContainingList=_,r.findFirstNonWhitespaceCharacterAndColumn=y,r.findFirstNonWhitespaceColumn=b,r.nodeWillIndentChild=x,r.shouldIndentChildNode=S}(t.SmartIndenter||(t.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(t){function r(t){var r=t.__pos;return e.Debug.assert("number"===typeof r),r}function n(t,r){e.Debug.assert("number"===typeof r),t.__pos=r}function i(t){var r=t.__end;return e.Debug.assert("number"===typeof r),r}function a(t,r){e.Debug.assert("number"===typeof r),t.__end=r}var s,c;function u(t,r){return e.skipTrivia(t,r,!1,!0)}function l(e,t,r,n){return{pos:d(e,t,n,s.Start),end:f(e,r,n)}}function d(t,r,n,i){if(n.useNonAdjustedStartPosition)return r.getStart(t);var a=r.getFullStart(),o=r.getStart(t);if(a===o)return o;var c=e.getLineStartPositionForPosition(a,t);if(e.getLineStartPositionForPosition(o,t)===c)return i===s.Start?o:a;var l=a>0?1:0,d=e.getStartPositionOfLine(e.getLineOfLocalPosition(t,c)+l,t);return d=u(t.text,d),e.getStartPositionOfLine(e.getLineOfLocalPosition(t,d),t)}function f(t,r,n){var i=r.end;if(n.useNonAdjustedEndPosition||e.isExpression(r))return i;var a=e.skipTrivia(t.text,i,!0);return a!==i&&e.isLineBreak(t.text.charCodeAt(a-1))?a:i}function p(e,t){return t&&e.parent&&(26===t.kind||25===t.kind&&183===e.parent.kind)}!function(e){e[e.FullStart=0]="FullStart",e[e.Start=1]="Start"}(s=t.Position||(t.Position={})),t.useNonAdjustedPositions={useNonAdjustedStartPosition:!0,useNonAdjustedEndPosition:!0},function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(c||(c={}));var _,m=function(){function r(t,r){this.newLineCharacter=t,this.formatContext=r,this.changes=[],this.newFiles=[],this.deletedNodesInLists=new e.NodeSet,this.classesWithNodesInsertedAtStart=e.createMap()}return r.fromContext=function(t){return new r(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},r.with=function(e,t){var n=r.fromContext(e);return t(n),n.getChanges()},r.prototype.deleteRange=function(e,t){return this.changes.push({kind:c.Remove,sourceFile:e,range:t}),this},r.prototype.deleteNode=function(e,t,r){void 0===r&&(r={});var n=d(e,t,r,s.FullStart),i=f(e,t,r);return this.deleteRange(e,{pos:n,end:i}),this},r.prototype.deleteNodeRange=function(e,t,r,n){void 0===n&&(n={});var i=d(e,t,n,s.FullStart),a=f(e,r,n);return this.deleteRange(e,{pos:i,end:a}),this},r.prototype.deleteNodeRangeExcludingEnd=function(e,t,r,n){void 0===n&&(n={});var i=d(e,t,n,s.FullStart),a=void 0===r?e.text.length:d(e,r,n,s.FullStart);this.deleteRange(e,{pos:i,end:a})},r.prototype.deleteNodeInList=function(t,r){var n=e.formatting.SmartIndenter.getContainingList(r,t);if(!n)return e.Debug.fail("node is not a list element"),this;
1var i=e.indexOfNode(n,r);return i<0?this:1===n.length?(this.deleteNode(t,r),this):(e.Debug.assert(!this.deletedNodesInLists.has(r),"Deleting a node twice"),this.deletedNodesInLists.add(r),this.deleteRange(t,{pos:g(t,r),end:i===n.length-1?f(t,r,{}):g(t,n[i+1])}),this)},r.prototype.replaceRange=function(e,t,r,n){return void 0===n&&(n={}),this.changes.push({kind:c.ReplaceWithSingleNode,sourceFile:e,range:t,options:n,node:r}),this},r.prototype.replaceNode=function(e,r,n,i){return void 0===i&&(i=t.useNonAdjustedPositions),this.replaceRange(e,l(e,r,r,i),n,i)},r.prototype.replaceNodeRange=function(e,r,n,i,a){void 0===a&&(a=t.useNonAdjustedPositions),this.replaceRange(e,l(e,r,n,a),i,a)},r.prototype.replaceRangeWithNodes=function(e,t,r,n){return void 0===n&&(n={}),this.changes.push({kind:c.ReplaceWithMultipleNodes,sourceFile:e,range:t,options:n,nodes:r}),this},r.prototype.replaceNodeWithNodes=function(e,r,n,i){return void 0===i&&(i=t.useNonAdjustedPositions),this.replaceRangeWithNodes(e,l(e,r,r,i),n,i)},r.prototype.replaceNodeRangeWithNodes=function(e,r,n,i,a){return void 0===a&&(a=t.useNonAdjustedPositions),this.replaceRangeWithNodes(e,l(e,r,n,a),i,a)},r.prototype.nextCommaToken=function(t,r){var n=e.findNextToken(r,r.parent,t);return n&&26===n.kind?n:void 0},r.prototype.replacePropertyAssignment=function(e,t,r){var n=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;return this.replaceNode(e,t,r,{suffix:n})},r.prototype.insertNodeAt=function(t,r,n,i){void 0===i&&(i={}),this.replaceRange(t,e.createTextRange(r),n,i)},r.prototype.insertNodesAt=function(e,t,r,n){void 0===n&&(n={}),this.changes.push({kind:c.ReplaceWithMultipleNodes,sourceFile:e,options:n,nodes:r,range:{pos:t,end:t}})},r.prototype.insertNodeAtTopOfFile=function(t,r,n){var i=function(t){var r=t.text,n=e.getShebang(r),i=0;void 0!==n&&(i=n.length,u());var a=e.getLeadingCommentRanges(r,i);if(!a)return i;a.length&&3===a[0].kind&&e.isPinnedComment(r,a[0].pos)&&(i=a[0].end,u(),a=a.slice(1));for(var o=0,s=a;o<s.length;o++){var c=s[o];if(2!==c.kind||!e.isRecognizedTripleSlashComment(r,c.pos,c.end))break;i=c.end,u()}return i;function u(){if(i<r.length){var t=r.charCodeAt(i);e.isLineBreak(t)&&++i<r.length&&13===t&&10===r.charCodeAt(i)&&i++}}}(t);this.insertNodeAt(t,i,r,{prefix:0===i?void 0:this.newLineCharacter,suffix:(e.isLineBreak(t.text.charCodeAt(i))?"":this.newLineCharacter)+(n?this.newLineCharacter:"")})},r.prototype.insertNodeBefore=function(e,t,r,n){void 0===n&&(n=!1),this.insertNodeAt(e,d(e,t,{},s.Start),r,this.getOptionsForInsertNodeBefore(t,n))},r.prototype.insertModifierBefore=function(t,r,n){var i=n.getStart(t);this.replaceRange(t,{pos:i,end:i},e.createToken(r),{suffix:" "})},r.prototype.insertCommentBeforeLine=function(t,r,n,i){var a=e.getStartPositionOfLine(r,t),o=e.getFirstNonSpaceCharacterPosition(t.text,a),s=S(t,o),c=e.getTouchingToken(t,s?o:n,!1),u=t.text.slice(a,o),l=(s?"":this.newLineCharacter)+"//"+i+this.newLineCharacter+u;this.insertText(t,c.getStart(t),l)},r.prototype.replaceRangeWithText=function(e,t,r){this.changes.push({kind:c.Text,sourceFile:e,range:t,text:r})},r.prototype.insertText=function(t,r,n){this.replaceRangeWithText(t,e.createTextRange(r),n)},r.prototype.tryInsertTypeAnnotation=function(t,r,n){var i;if(e.isFunctionLike(r)){if(!(i=e.findChildOfKind(r,20,t))){if(!e.isArrowFunction(r))return;i=e.first(r.parameters)}}else i=231!==r.kind&&r.questionToken?r.questionToken:r.name;this.insertNodeAt(t,i.end,n,{prefix:": "})},r.prototype.insertTypeParameters=function(t,r,n){var i=(e.findChildOfKind(r,19,t)||e.first(r.parameters)).getStart(t);this.insertNodesAt(t,i,n,{prefix:"<",suffix:">"})},r.prototype.getOptionsForInsertNodeBefore=function(t,r){return e.isStatement(t)||e.isClassElement(t)?{suffix:r?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(t)?{suffix:", "}:e.isParameter(t)?{}:e.Debug.failBadSyntaxKind(t)},r.prototype.insertNodeAtConstructorStart=function(t,r,n){var i=e.firstOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeBefore(t,i,n):this.replaceConstructorBody(t,r,[n].concat(r.body.statements))}
1,r.prototype.insertNodeAtConstructorEnd=function(t,r,n){var i=e.lastOrUndefined(r.body.statements);i&&r.body.multiLine?this.insertNodeAfter(t,i,n):this.replaceConstructorBody(t,r,r.body.statements.concat([n]))},r.prototype.replaceConstructorBody=function(t,r,n){this.replaceNode(t,r.body,e.createBlock(n,!0))},r.prototype.insertNodeAtEndOfScope=function(t,r,n){var i=d(t,r.getLastToken(),{},s.Start);this.replaceRange(t,{pos:i,end:i},n,{prefix:e.isLineBreak(t.text.charCodeAt(r.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},r.prototype.insertNodeAtClassStart=function(t,r,n){var i=r.getStart(t),a=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(i,t),i,t,this.formatContext.options)+this.formatContext.options.indentSize;this.insertNodeAt(t,r.members.pos,n,o({indentation:a},this.getInsertNodeAtClassStartPrefixSuffix(t,r)))},r.prototype.getInsertNodeAtClassStartPrefixSuffix=function(t,r){if(0===r.members.length){if(e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(r),r)){var n=e.positionsAreOnSameLine.apply(void 0,h(r,t).concat([t]));return{prefix:this.newLineCharacter,suffix:n?this.newLineCharacter:""}}return{prefix:"",suffix:this.newLineCharacter}}return{prefix:this.newLineCharacter,suffix:""}},r.prototype.insertNodeAfterComma=function(e,t,r){var n=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},r.prototype.insertNodeAfter=function(e,t,r){var n=this.insertNodeAfterWorker(e,t,r);this.insertNodeAt(e,n,r,this.getInsertNodeAfterOptions(e,t))},r.prototype.insertNodesAfter=function(t,r,n){var i=this.insertNodeAfterWorker(t,r,e.first(n));this.insertNodesAt(t,i,n,this.getInsertNodeAfterOptions(t,r))},r.prototype.insertNodeAfterWorker=function(t,r,n){var i,a;return i=r,a=n,((e.isPropertySignature(i)||e.isPropertyDeclaration(i))&&e.isClassOrTypeElement(a)&&146===a.name.kind||e.isStatementButNotDeclaration(i)&&e.isStatementButNotDeclaration(a))&&59!==t.text.charCodeAt(r.end-1)&&this.replaceRange(t,e.createTextRange(r.end),e.createToken(25)),f(t,r,{})},r.prototype.getInsertNodeAfterOptions=function(t,r){var n=this.getInsertNodeAfterOptionsWorker(r);return o({},n,{prefix:r.end===t.end&&e.isStatement(r)?n.prefix?"\n"+n.prefix:"\n":n.prefix})},r.prototype.getInsertNodeAfterOptionsWorker=function(t){return e.isClassDeclaration(t)||e.isModuleDeclaration(t)?{prefix:this.newLineCharacter,suffix:this.newLineCharacter}:e.isStatement(t)||e.isClassOrTypeElement(t)?{suffix:this.newLineCharacter}:e.isVariableDeclaration(t)||e.isStringLiteral(t)?{prefix:", "}:e.isPropertyAssignment(t)?{suffix:","+this.newLineCharacter}:e.isParameter(t)?{}:e.Debug.failBadSyntaxKind(t)},r.prototype.insertName=function(t,r,n){if(e.Debug.assert(!r.name),192===r.kind){var i=e.findChildOfKind(r,36,t),a=e.findChildOfKind(r,19,t);a?(this.insertNodesAt(t,a.getStart(t),[e.createToken(89),e.createIdentifier(n)],{joiner:" "}),this.deleteNode(t,i)):(this.insertText(t,e.first(r.parameters).getStart(t),"function "+n+"("),this.replaceRange(t,i,e.createToken(20))),212!==r.body.kind&&(this.insertNodesAt(t,r.body.getStart(t),[e.createToken(17),e.createToken(96)],{joiner:" ",suffix:" "}),this.insertNodesAt(t,r.body.end,[e.createToken(25),e.createToken(18)],{joiner:" "}))}else{var o=e.findChildOfKind(r,191===r.kind?89:75,t).end;this.insertNodeAt(t,o,e.createIdentifier(n),{prefix:" "})}},r.prototype.insertExportModifier=function(e,t){this.insertText(e,t.getStart(e),"export ")},r.prototype.insertNodeInListAfter=function(t,r,n,i){if(void 0===i&&(i=e.formatting.SmartIndenter.getContainingList(r,t)),!i)return e.Debug.fail("node is not a list element"),this;var a=e.indexOfNode(i,r);if(a<0)return this;var o=r.getEnd();if(a!==i.length-1){var s=e.getTokenAtPosition(t,r.end,!1);if(s&&p(r,s)){var c=e.getLineAndCharacterOfPosition(t,u(t.text,i[a+1].getFullStart())),l=e.getLineAndCharacterOfPosition(t,s.end),d=void 0,f=void 0;l.line===c.line?(f=s.end,d=function(e){for(var t="",r=0;r<e;r++)t+=" ";return t}(c.character-l.character)):f=e.getStartPositionOfLine(c.line,t);var _=""+e.tokenToString(s.kind)+t.text.substring(s.end,i[a+1].getStart(t));this.replaceRange(t,e.createTextRange(f,i[a+1].getStart(t)),n,{prefix:d,suffix:_})}}else{var m=r.getStart(t),g=e.getLineStartPositionForPosition(m,t),h=void 0,v=!1;if(1===i.length)h=26;else{var y=e.findPrecedingToken(r.pos,t);h=p(r,y)?y.kind:26,v=e.getLineStartPositionForPosition(i[a-1].getStart(t),t)!==g}if(function(t,r){for(var n=r;n<t.length;){var i=t.charCodeAt(n);if(!e.isWhiteSpaceSingleLine(i))return 47===i;n++}return!1}(t.text,r.end)&&(v=!0),v){this.replaceRange(t,e.createTextRange(o),e.createToken(h));var b=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(g,m,t,this.formatContext.options),x=e.skipTrivia(t.text,o,!0,!1);x!==o&&e.isLineBreak(t.text.charCodeAt(x-1))&&x--,this.replaceRange(t,e.createTextRange(x),n,{indentation:b,prefix:this.newLineCharacter})}else this.replaceRange(t,e.createTextRange(o),n,{prefix:e.tokenToString(h)+" "})}return this},r.prototype.finishClassesWithNodesInsertedAtStart=function(){var t=this;this.classesWithNodesInsertedAtStart.forEach(function(r){var n=r.getSourceFile(),i=h(r,n),a=i[0],o=i[1];e.positionsAreOnSameLine(a,o,n)&&a!==o-1&&t.deleteRange(n,e.createTextRange(a,o-1))})},r.prototype.finishTrailingCommaAfterDeletingNodesInList=function(){var t=this;
1this.deletedNodesInLists.forEach(function(r){var n=r.getSourceFile(),i=e.formatting.SmartIndenter.getContainingList(r,n);if(r===e.last(i)){var a=e.findLastIndex(i,function(e){return!t.deletedNodesInLists.has(e)},i.length-2);-1!==a&&t.deleteRange(n,{pos:i[a].end,end:g(n,i[a+1])})}})},r.prototype.getChanges=function(e){this.finishClassesWithNodesInsertedAtStart(),this.finishTrailingCommaAfterDeletingNodesInList();for(var t=_.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e),r=0,n=this.newFiles;r<n.length;r++){var i=n[r],a=i.oldFile,o=i.fileName,s=i.statements;t.push(_.newFileChanges(a,o,s,this.newLineCharacter,this.formatContext))}return t},r.prototype.createNewFile=function(e,t,r){this.newFiles.push({oldFile:e,fileName:t,statements:r})},r}();function g(t,r){return e.skipTrivia(t.text,d(t,r,{},s.FullStart),!1,!0)}function h(t,r){return[e.findChildOfKind(t,17,r).end,e.findChildOfKind(t,18,r).end]}function v(t,r){for(var n=r.length-1;n>=0;n--){var i=r[n];t=""+t.substring(0,i.span.start)+i.newText+t.substring(e.textSpanEnd(i.span))}return t}function y(t){var n=e.visitEachChild(t,y,e.nullTransformationContext,b,y),a=e.n
1odeIsSynthesized(n)?n:Object.create(n);return a.pos=r(t),a.end=i(t),a}function b(t,n,a,o,s){var c=e.visitNodes(t,n,a,o,s);if(!c)return c;var u=c===t?e.createNodeArray(c.slice(0)):c;return u.pos=r(t),u.end=i(t),u}t.ChangeTracker=m,function(t){function r(t,r,n){var i=new x(n),a="\n"===n?1:0;return e.createPrinter({newLine:a},i).writeNode(4,t,r,i),{text:i.getText(),node:y(t)}}t.getTextChangesFromChanges=function(t,n,i,a){return e.group(t,function(e){return e.sourceFile.path}).map(function(t){for(var o=t[0].sourceFile,s=e.stableSort(t,function(e,t){return e.range.pos-t.range.pos||e.range.end-t.range.end}),u=function(t){e.Debug.assert(s[t].range.end<=s[t+1].range.pos,"Changes overlap",function(){return JSON.stringify(s[t].range)+" and "+JSON.stringify(s[t+1].range)})},l=0;l<s.length-1;l++)u(l);var d=s.map(function(t){return e.createTextChange(e.createTextSpanFromRange(t.range),function(t,n,i,a,o){if(t.kind===c.Remove)return"";if(t.kind===c.Text)return t.text;var s=t.options,u=void 0===s?{}:s,l=t.range.pos,d=function(t){return function(t,n,i,a,o,s,c){var u=a.indentation,l=a.prefix,d=a.delta,f=r(t,n,o),p=f.node,_=f.text;c&&c(p,_);var m=s.options,g=void 0!==u?u:e.formatting.SmartIndenter.getIndentation(i,n,m,l===o||e.getLineStartPositionForPosition(i,n)===i);void 0===d&&(d=e.formatting.SmartIndenter.shouldIndentChildNode(s.options,t)&&m.indentSize||0);var h={text:_,getLineAndCharacterOfPosition:function(t){return e.getLineAndCharacterOfPosition(this,t)}},y=e.formatting.formatNodeGivenIndentation(p,h,n.languageVariant,g,d,s);return v(_,y)}(t,n,l,u,i,a,o)},f=t.kind===c.ReplaceWithMultipleNodes?t.nodes.map(function(t){return e.removeSuffix(d(t),i)}).join(t.options.joiner||i):d(t.node),p=u.preserveLeadingWhitespace||void 0!==u.indentation||e.getLineStartPositionForPosition(l,n)===l?f:f.replace(/^\s+/,"");return(u.prefix||"")+p+(u.suffix||"")}(t,o,n,i,a))});return{fileName:o.fileName,textChanges:d}})},t.newFileChanges=function(t,n,i,a,o){var s=i.map(function(e){return r(e,t,a).text}).join(a),c=e.createSourceFile(n,s,6,!0),u=v(s,e.formatting.formatDocument(c,o));return{fileName:n,textChanges:[e.createTextChange(e.createTextSpan(0,0),u)],isNewFile:!0}}}(_||(_={})),t.applyChanges=v;var x=function(){function t(t){var r=this;this.lastNonTriviaPosition=0,this.writer=e.createTextWriter(t),this.onEmitNode=function(e,t,i){t&&n(t,r.lastNonTriviaPosition),i(e,t),t&&a(t,r.lastNonTriviaPosition)},this.onBeforeEmitNodeArray=function(e){e&&n(e,r.lastNonTriviaPosition)},this.onAfterEmitNodeArray=function(e){e&&a(e,r.lastNonTriviaPosition)},this.onBeforeEmitToken=function(e){e&&n(e,r.lastNonTriviaPosition)},this.onAfterEmitToken=function(e){e&&a(e,r.lastNonTriviaPosition)}}return t.prototype.setLastNonTriviaPosition=function(t,r){if(r||!function(t){return e.skipTrivia(t,0)===t.length}(t)){this.lastNonTriviaPosition=this.writer.getTextPos();for(var n=0;
1e.isWhiteSpaceLike(t.charCodeAt(t.length-n-1));)n++;this.lastNonTriviaPosition-=n}},t.prototype.write=function(e){this.writer.write(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeKeyword=function(e){this.writer.writeKeyword(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeOperator=function(e){this.writer.writeOperator(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writePunctuation=function(e){this.writer.writePunctuation(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeParameter=function(e){this.writer.writeParameter(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeProperty=function(e){this.writer.writeProperty(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeSpace=function(e){this.writer.writeSpace(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeStringLiteral=function(e){this.writer.writeStringLiteral(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeSymbol=function(e,t){this.writer.writeSymbol(e,t),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeTextOfNode=function(e,t){this.writer.writeTextOfNode(e,t)},t.prototype.writeLine=function(){this.writer.writeLine()},t.prototype.increaseIndent=function(){this.writer.increaseIndent()},t.prototype.decreaseIndent=function(){this.writer.decreaseIndent()},t.prototype.getText=function(){return this.writer.getText()},t.prototype.rawWrite=function(e){this.writer.rawWrite(e),this.setLastNonTriviaPosition(e,!1)},t.prototype.writeLiteral=function(e){this.writer.writeLiteral(e),this.setLastNonTriviaPosition(e,!0)},t.prototype.getTextPos=function(){return this.writer.getTextPos()},t.prototype.getLine=function(){return this.writer.getLine()},t.prototype.getColumn=function(){return this.writer.getColumn()},t.prototype.getIndent=function(){return this.writer.getIndent()},t.prototype.isAtStartOfLine=function(){return this.writer.isAtStartOfLine()},t.prototype.clear=function(){this.writer.clear(),this.lastNonTriviaPosition=0},t}();function S(t,r){return!e.isInComment(t,r)&&!e.isInString(t,r)&&!e.isInTemplateString(t,r)}t.isValidLocationToAddComment=S}(e.textChanges||(e.textChanges={}))}(u||(u={})),function(e){!function(t){var r=e.createMultiMap(),n=e.createMap();function i(t){return e.isArray(t)?e.formatStringFromArgs(e.getLocaleSpecificMessage(t[0]),t.slice(1)):e.getLocaleSpecificMessage(t)}function a(e,t,r,n,i,a){return{fixName:e,description:t,changes:r,fixId:n,fixAllDescription:i,commands:a?[a]:void 0}}t.createCodeFixActionNoFixId=function(e,t,r){return a(e,i(r),t,void 0,void 0)},t.createCodeFixAction=function(e,t,r,n,o,s){return a(e,i(r),t,n,i(o),s)},t.registerCodeFix=function(t){for(var i=0,a=t.errorCodes;i<a.length;i++){var o=a[i];r.add(String(o),t)}if(t.fixIds)for(var s=0,c=t.fixIds;s<c.length;s++){var u=c[s];e.Debug.assert(!n.has(u)),n.set(u,t)}},t.getSupportedErrorCodes=function(){return e.arrayFrom(r.keys())},t.getFixes=function(t){return e.flatMap(r.get(String(t.errorCode))||e.emptyArray,function(e){return e.getCodeActions(t)})},t.getAllFixes=function(t){return n.get(e.cast(t.fixId,e.isString)).getAllCodeActions(t)},t.createFileTextChanges=function(e,t){return{fileName:e,textChanges:t}},t.codeFixAll=function(t,r,n){var i=[];return function(e,t){return{changes:e,commands:t}}(e.textChanges.ChangeTracker.with(t,function(a){return function(t,r,n){for(var i=t.program,a=t.sourceFile,o=0,s=i.getSemanticDiagnostics(a).concat(e.computeSuggestionDiagnostics(a,i));o<s.length;o++){var c=s[o];e.contains(r,c.code)&&n(c)}}(t,r,function(e){return n(a,e,i)})}),0===i.length?void 0:i)}}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r=e.createMap();t.registerRefactor=function(e,t){r.set(e,t)},t.getApplicableRefactors=function(t){return e.arrayFrom(e.flatMapIterator(r.values(),function(e){return t.cancellationToken&&t.cancellationToken.isCancellationRequested()?void 0:e.getAvailableActions(t)}))},t.getEditsForRefactor=function(e,t,n){var i=r.get(t);return i&&i.getEditsForAction(e,n)}}(e.refactor||(e.refactor={})),e.getRefactorContextSpan=function(t){var r=t.startPosition,n=t.endPosition;return e.createTextSpanFromBounds(r,void 0===n?r:n)}}(u||(u={})),function(e){!function(t){var r="addMissingInvocationForDecorator",n=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n,!1),a=e.findAnce
1stor(i,e.isDecorator);e.Debug.assert(!!a,"Expected position to be owned by a decorator.");var o=e.createCall(a.expression,void 0,void 0);t.replaceNode(r,a.expression,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,function(e){return i(e,n.sourceFile,n.span.start)});return[t.createCodeFixAction(r,a,e.Diagnostics.Call_decorator_expression,r,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){return i(e,t.file,t.start)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="annotateWithTypeFromJSDoc",n=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1);return e.tryCast(e.isParameter(n.parent)?n.parent.parent:n.parent,a)}function a(t){return function(t){return e.isFunctionLikeDeclaration(t)||231===t.kind||150===t.kind||151===t.kind}(t)&&o(t)}function o(t){return e.isFunctionLikeDeclaration(t)?t.parameters.some(o)||!t.type&&!!e.getJSDocReturnType(t):!t.type&&!!e.getJSDocType(t)}function s(t,r,n){if(e.isFunctionLikeDeclaration(n)&&(e.getJSDocReturnType(n)||n.parameters.some(function(t){return!!e.getJSDocType(t)}))){if(!n.typeParameters){var i=e.getJSDocTypeParameterDeclarations(n);i.length&&t.insertTypeParameters(r,n,i)}var a=e.isArrowFunction(n)&&!e.findChildOfKind(n,19,r);a&&t.insertNodeBefore(r,e.first(n.parameters),e.createToken(19));for(var o=0,s=n.parameters;o<s.length;o++){var u=s[o];if(!u.type){var l=e.getJSDocType(u);l&&t.tryInsertTypeAnnotation(r,u,c(l))}}if(a&&t.insertNodeAfter(r,e.last(n.parameters),e.createToken(20)),!n.type){var d=e.getJSDocReturnType(n);d&&t.tryInsertTypeAnnotation(r,n,c(d))}}else{var f=e.Debug.assertDefined(e.getJSDocType(n));e.Debug.assert(!n.type),t.tryInsertTypeAnnotation(r,n,c(f))}}function c(t){switch(t.kind){case 278:case 279:return e.createTypeReferenceNode("any",e.emptyArray);case 282:return function(t){return e.createUnionTypeNode([e.visitNode(t.type,c),e.createTypeReferenceNode("undefined",e.emptyArray)])}(t);case 281:return c(t.type);case 280:return function(t){return e.createUnionTypeNode([e.visitNode(t.type,c),e.createTypeReferenceNode("null",e.emptyArray)])}(t);case 284:return function(t){return e.createArrayTypeNode(e.visitNode(t.type,c))}(t);case 283:return function(t){return e.createFunctionTypeNode(e.emptyArray,t.parameters.map(u),t.type)}(t);case 161:return function(t){var r=t.typeName,n=t.typeArguments;if(e.isIdentifier(t.typeName)){if(e.isJSDocIndexSignature(t))return function(t){var r=e.createParameter(void 0,void 0,void 0,134===t.typeArguments[0].kind?"n":"s",void 0,e.createTypeReferenceNode(134===t.typeArguments[0].kind?"number":"string",[]),void 0),n=e.createTypeLiteralNode([e.createIndexSignature(void 0,void 0,[r],t.typeArguments[1])]);return e.setEmitFlags(n,1),n}(t);var i=t.typeName.text;switch(t.typeName.text){case"String":case"Boolean":case"Object":case"Number":i=i.toLowerCase();break;case"array":case"date":case"promise":i=i[0].toUpperCase()+i.slice(1)}r=e.createIdentifier(i),n="Array"!==i&&"Promise"!==i||t.typeArguments?e.visitNodes(t.typeArguments,c):e.createNodeArray([e.createTypeReferenceNode("any",e.emptyArray)])}return e.createTypeReferenceNode(r,n)}(t);default:var r=e.visitEachChild(t,c,void 0);return e.setEmitFlags(r,1),r}}function u(t){var r=t.parent.parameters.indexOf(t),n=284===t.type.kind&&r===t.parent.parameters.length-1,i=t.name||(n?"rest":"arg"+r),a=n?e.createToken(24):t.dotDotDotToken;return e.createParameter(t.decorators,t.modifiers,a,i,t.questionToken,e.visitNode(t.type,c),t.initializer)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=i(n.sourceFile,n.span.start);if(a){var o=e.textChanges.ChangeTracker.with(n,function(e){return s(e,n.sourceFile,a)});return[t.createCodeFixAction(r,o,e.Diagnostics.Annotate_with_type_from_JSDoc,r,e.Diagnostics.Annotate_everything_with_types_from_JSDoc)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){var r=i(t.file,t.start);r&&s(e,t.file,r)})}}),t.parameterShouldGetTypeFromJSDoc=a}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="convertFunctionToEs6Class",n=[e.Diagnostics.This_constructor_function_may_be_c
1onverted_to_a_class_declaration.code];function i(t,r,n,i){var s=[],c=i.getSymbolAtLocation(e.getTokenAtPosition(r,n,!1));if(c&&19&c.flags){var u,l,d=c.valueDeclaration;switch(d.kind){case 233:u=d,g(d),l=function(t){var r=h(c);t.body&&r.unshift(e.createConstructor(void 0,void 0,t.parameters,t.body));var n=o(t,84);return e.createClassDeclaration(void 0,n,t.name,void 0,void 0,r)}(d);break;case 231:u=d.parent.parent,l=function(t){var r=t.initializer;if(!r||191!==r.kind)return;if(71!==t.name.kind)return;var n=h(r.symbol);r.body&&n.unshift(e.createConstructor(void 0,void 0,r.parameters,r.body));var i=o(u,84);return e.createClassDeclaration(void 0,i,t.name,void 0,void 0,n)}(d),1===d.parent.declarations.length?(a(u,l,r),g(u)):g(d,!0)}if(l){a(d,l,r),t.insertNodeAfter(r,u,l);for(var f=0,p=s;f<p.length;f++){var _=p[f],m=_.node;_.inList?t.deleteNodeInList(r,m):t.deleteNode(r,m)}}}function g(t,r){void 0===r&&(r=!1),s.some(function(r){return e.isNodeDescendantOf(t,r.node)})||s.push({node:t,inList:r})}function h(t){var n=[];return t.members&&t.members.forEach(function(e){var t=i(e,void 0);t&&n.push(t)}),t.exports&&t.exports.forEach(function(t){var r=i(t,[e.createToken(115)]);r&&n.push(r)}),n;function i(t,n){if(8192&t.flags){var i=t.valueDeclaration,s=i.parent;if(c=s.right,e.isFunctionLike(c)){var c;if(g(s.parent&&215===s.parent.kind?s.parent:s),!s.right)return e.createProperty([],n,t.name,void 0,void 0,void 0);switch(s.right.kind){case 191:var u=s.right,l=e.concatenate(n,o(u,120));return a(s,_=e.createMethod(void 0,l,void 0,i.name,void 0,void 0,u.parameters,void 0,u.body),r),_;case 192:var d=s.right,f=d.body,p=void 0;p=212===f.kind?f:e.createBlock([e.createReturn(f)]);var _;l=e.concatenate(n,o(d,120));return a(s,_=e.createMethod(void 0,l,void 0,i.name,void 0,void 0,d.parameters,void 0,p),r),_;default:if(e.isSourceFileJavaScript(r))return;var m=e.createProperty(void 0,n,i.name,void 0,void 0,s.right);return a(s.parent,m,r),m}}}}}}function a(t,r,n){e.forEachLeadingCommentRange(n.text,t.pos,function(t,i,a,o){3===a?(t+=2,i-=2):t+=2,e.addSyntheticLeadingComment(r,a,n.text.slice(t,i),o)})}function o(t,r){return e.filter(t.modifiers,function(e){return e.kind===r})}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,function(e){return i(e,n.sourceFile,n.span.start,n.program.getTypeChecker())});return[t.createCodeFixAction(r,a,e.Diagnostics.Convert_function_to_an_ES2015_class,r,e.Diagnostics.Convert_all_constructor_functions_to_classes)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){return i(t,r.file,r.start,e.program.getTypeChecker())})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){function r(t,r,n,i){for(var a=0,o=t.imports;a<o.length;a++){var s=o[a],c=e.getResolvedModule(t,s.text);if(c&&c.resolvedFileName===r.fileName){var u=e.importFromModuleSpecifier(s);switch(u.kind){case 242:n.replaceNode(t,u,e.makeImport(u.name,void 0,s,i));break;case 186:e.isRequireCall(u,!1)&&n.replaceNode(t,u,e.createPropertyAccess(e.getSynthesizedDeepClone(u),"default"))}}}}function n(t,r){t.forEachChild(function n(i){if(e.isPropertyAccessExpression(i)&&e.isExportsOrModuleExportsOrAlias(t,i.expression)){var a=i.parent;
1r(i,e.isBinaryExpression(a)&&a.left===i&&58===a.operatorToken.kind)}i.forEachChild(n)})}function i(r,n,i,c,_,m,g,h){switch(n.kind){case 213:return function(r,n,i,a,o,c,u){var p=n.declarationList,_=!1,m=e.flatMap(p.declarations,function(n){var m=n.name,g=n.initializer;if(g){if(e.isExportsOrModuleExportsOrAlias(r,g))return _=!0,[];if(e.isRequireCall(g,!0))return _=!0,function(r,n,i,a,o,c,u,l){switch(n.kind){case 179:var p=e.mapAllOrFail(n.elements,function(t){return t.dotDotDotToken||t.initializer||t.propertyName&&!e.isIdentifier(t.propertyName)||!e.isIdentifier(t.name)?void 0:d(t.propertyName&&t.propertyName.text,t.name.text)});if(p)return[e.makeImport(void 0,p,i,l)];case 180:var _=s(t.moduleSpecifierToValidIdentifier(i.text,u),c);return[e.makeImport(e.createIdentifier(_),void 0,i,l),f(void 0,e.getSynthesizedDeepClone(n),e.createIdentifier(_))];case 71:return function(t,r,n,i,a,o,c){for(var u=a.getSymbolAtLocation(r),l=e.createMap(),d=!1,f=0,p=o.original.get(r.text);f<p.length;f++){var _=p[f];if(a.getSymbolAtLocation(_)===u&&_!==r){var m=_.parent;if(e.isPropertyAccessExpression(m)){var g=m.expression,h=m.name.text;e.Debug.assert(g===_);var v=l.get(h);void 0===v&&(v=s(h,o),l.set(h,v)),i.replaceNode(t,m,e.createIdentifier(v))}else d=!0}}var y=0===l.size?void 0:e.arrayFrom(e.mapIterator(l.entries(),function(t){var r=t[0],n=t[1];return e.createImportSpecifier(r===n?void 0:e.createIdentifier(r),e.createIdentifier(n))}));y||(d=!0);return[e.makeImport(d?e.getSynthesizedDeepClone(r):void 0,y,n,c)]}(r,n,i,a,o,c,l);default:e.Debug.assertNever(n)}}(r,m,g.arguments[0],i,a,o,c,u);if(e.isPropertyAccessExpression(g)&&e.isRequireCall(g.expression,!0))return _=!0,function(t,r,n,i,a){switch(t.kind){case 179:case 180:var o=s(r,i);return[l(o,r,n,a),f(void 0,t,e.createIdentifier(o))];case 71:return[l(t.text,r,n,a)];default:e.Debug.assertNever(t)}}(m,g.name.text,g.expression.arguments[0],o,u)}return e.createVariableStatement(void 0,e.createVariableDeclarationList([n],p.flags))});_&&i.replaceNodeWithNodes(r,n,m)}(r,n,c,i,_,m,h),!1;case 215:var v=n.expression;switch(v.kind){case 186:return e.isRequireCall(v,!0)&&c.replaceNode(r,n,e.makeImport(void 0,void 0,v.arguments[0],h)),!1;case 199:return 58===v.operatorToken.kind&&function(t,r,n,i,s){var c=n.left,l=n.right;if(!e.isPropertyAccessExpression(c))return!1;if(e.isExportsOrModuleExportsOrAlias(t,c)){if(!e.isExportsOrModuleExportsOrAlias(t,l)){var d=e.isObjectLiteralExpression(l)?function(t){var r=e.mapAllOrFail(t.properties,function(t){switch(t.kind){case 155:case 156:case 270:case 271:return;case 269:return e.isIdentifier(t.name)?function(t,r){var n=[e.createToken(84)];switch(r.kind){case 191:var i=r.name;if(i&&i.text!==t)return a();case 192:return u(t,n,r);case 204:return function(t,r,n){return e.createClassDeclaration(e.getSynthesizedDeepClones(n.decorators),e.concatenate(r,e.getSynthesizedDeepClones(n.modifiers)),t,e.getSynthesizedDeepClones(n.typeParameters),e.getSynthesizedDeepClones(n.heritageClauses),e.getSynthesizedDeepClones(n.members))}(t,n,r);default:return a()}function a(){return f(n,e.createIdentifier(t),r)}}(t.name.text,t.initializer):void 0;case 153:return e.isIdentifier(t.name)?u(t.name.text,[e.createToken(84)],t):void 0;default:e.Debug.assertNever(t)}});return r&&[r,!1]}(l):e.isRequireCall(l,!0)?function(t,r){var n=t.text,i=r.getSymbolAtLocation(t),s=i?i.exports:e.emptyUnderscoreEscapedMap;return s.has("export=")?[[o(n)],!0]:s.has("default")?s.size>1?[[a(n),o(n)],!0]:[[o(n)],!0]:[[a(n)],!1]}(l.arguments[0],r):void 0;return d?(i.replaceNodeWithNodes(t,n.parent,d[0]),d[1]):(i.replaceRangeWithText(t,e.createTextRange(c.getStart(t),l.pos),"export default"),!0)}i.deleteNode(t,n.parent)}else e.isExportsOrModuleExportsOrAlias(t,c.expression)&&function(t,r,n,i){var a=r.left.name.text,o=i.get(a);if(void 0!==o){var s=[f(void 0,o,r.right),p([e.createExportSpecifier(o,a)])];n.replaceNodeWithNodes(t,r.parent,s)}else!function(t,r,n){var i=t.left,a=t.right,o=t.parent,s=i.name.text;if(!(e.isFunctionExpression(a)||e.isArrowFunction(a)||e.isClassExpression(a))||a.name&&a.name.text!==s)n.replaceNodeRangeWithNodes(r,i.expression,e.findChildOfKind(i,23,r),[e.createToken(84),e.createToken(76)],{joiner:" ",suffix:" "});else{n.replaceRange(r,{pos:i.getStart(r),end:a.getStart(r)},e.createToken(84),{suffix:" "}),a.name||n.insertName(r,a,s);var c=e.findChildOfKind(o,25,r);c&&n.deleteNode(r,c,{useNonAdjustedEndPosition:!0})}}(r,t,n)}(t,n,i,s);return!1}(r,i,v,c,g)}default:return!1}}function a(e){return p(void 0,e)}function o(t){return p([e.createExportSpecifier(void 0,"default")],t)}function s(e,t){for(;t.original.has(e)||t.additional.has(e);)e="_"+e;return t.additional.set(e,!0),e}function c(t){var r=e.createMultiMap();return t.forEachChild(function t(n){e.isIdentifier(n)&&function(e){var t=e.parent;switch(t.kind){case 184:return t.name!==e;case 181:return t.propertyName!==e;default:return!0}}
1(n)&&r.add(n.text,n),n.forEachChild(t)}),r}function u(t,r,n){return e.createFunctionDeclaration(e.getSynthesizedDeepClones(n.decorators),e.concatenate(r,e.getSynthesizedDeepClones(n.modifiers)),e.getSynthesizedDeepClone(n.asteriskToken),t,e.getSynthesizedDeepClones(n.typeParameters),e.getSynthesizedDeepClones(n.parameters),e.getSynthesizedDeepClone(n.type),e.convertToFunctionBody(e.getSynthesizedDeepClone(n.body)))}function l(t,r,n,i){return"default"===r?e.makeImport(e.createIdentifier(t),void 0,n,i):e.makeImport(void 0,[d(r,t)],n,i)}function d(t,r){return e.createImportSpecifier(void 0!==t&&t!==r?e.createIdentifier(t):void 0,e.createIdentifier(r))}function f(t,r,n){return e.createVariableStatement(t,e.createVariableDeclarationList([e.createVariableDeclaration(r,void 0,n)],2))}function p(t,r){return e.createExportDeclaration(void 0,void 0,t&&e.createNamedExports(t),void 0===r?void 0:e.createLiteral(r))}t.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(a){var o=a.sourceFile,u=a.program,l=a.preferences,d=e.textChanges.ChangeTracker.with(a,function(t){if(function(t,r,a,o,u){var l={original:c(t),additional:e.createMap()},d=function(t,r,i){var a=e.createMap();return n(t,function(t){var n=t.name,o=n.text,c=n.originalKeywordKind;!a.has(o)&&(void 0!==c&&e.isNonContextualKeyword(c)||r.resolveName(t.name.text,t,67216319,!0))&&a.set(o,s("_"+o,i))}),a}(t,r,l);!function(t,r,i){n(t,function(n,a){if(!a){var o=n.name.text;i.replaceNode(t,n,e.createIdentifier(r.get(o)||o))}})}(t,d,a);for(var f=!1,p=0,_=t.statements;p<_.length;p++){var m=_[p],g=i(t,m,r,a,l,o,d,u);f=f||g}return f}(o,u.getTypeChecker(),t,u.getCompilerOptions().target,e.getQuotePreference(o,l)))for(var a=0,d=u.getSourceFiles();a<d.length;a++){var f=d[a];r(f,o,t,e.getQuotePreference(f,l))}});return[t.createCodeFixActionNoFixId("convertToEs6Module",d,e.Diagnostics.Convert_to_ES6_module)]}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="correctQualifiedNameToIndexedAccessType",n=[e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];function i(t,r){var n=e.findAncestor(e.getTokenAtPosition(t,r,!0),e.isQualifiedName);return e.Debug.assert(!!n,"Expected position to be owned by a qualified name."),e.isIdentifier(n.left)?n:void 0}function a(t,r,n){var i=n.right.text,a=e.createIndexedAccessTypeNode(e.createTypeReferenceNode(n.left,void 0),e.createLiteralTypeNode(e.createLiteral(i)));t.replaceNode(r,n,a)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=i(n.sourceFile,n.span.start);if(o){var s=e.textChanges.ChangeTracker.with(n,function(e){return a(e,n.sourceFile,o)}),c=o.left.text+'["'+o.right.text+'"]';return[t.createCodeFixAction(r,s,[e.Diagnostics.Rewrite_as_the_indexed_access_type_0,c],r,e.Diagnostics.Rewrite_all_as_indexed_access_types)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r=[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code,e.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],n="fixClassIncorrectlyImplementsInterface";function i(t,r){return e.Debug.assertDefined(e.getContainingClass(e.getTokenAtPosition(t,r,!1)))}function a(r,n,i,a,o,s){var c=r.getTypeAtLocation(n),u=r.getPropertiesOfType(c).filter(function(t){return!(8&e.getModifierFlags(t.valueDeclaration))}),l=r.getTypeAtLocation(a);function d(e,t){var n=r.getIndexInfoOfType(e,t);n&&o.insertNodeAtClassStart(i,a,r.indexInfoToIndexSignatureDeclaration(n,t,a))}l.getNumberIndexType()||d(c,1),l.getStringIndexType()||d(c,0),t.createMissingMemberNodes(a,u,r,s,function(e){return o.insertNodeAtClassStart(i,a,e)})}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.program,s=r.sourceFile,c=r.span,u=i(s,c.start),l=o.getTypeChecker();return e.mapDefined(e.getClassImplementsHeritageClauseElements(u),function(i){var o=e.textChanges.ChangeTracker.with(r,function(e){return a(l,i,s,u,e,r.preferences)});return 0===o.length?void 0:t.createCodeFixAction(n,o,[e.Diagnostics.Implement_interface_0,i.getText(s)],n,e.Diagnostics.Implement_all_unimplemented_interfaces)})},fixIds:[n],getAllCodeActions:function(n){var o=e.createMap();return t.codeFixAll(n,r,function(t,r){var s=i(r.file,r.start);if(e.addToSeen(o,e.getNodeId(s)))for(var c=0,u=e.getClassImplementsHeritageClauseElements(s);c<u.length;c++){var l=u[c];a(n.program.getTypeChecker(),l,r.file,s,t,n.preferences)}})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r,n=e.textChanges.ChangeTracker;function i(e,r,n){return t.createCodeFixActionNoFixId("import",n,[e].concat(r))}function a(t,r,n){var i=t.program,a=i.getTypeChecker();return{host:t.host,formatContext:t.formatContext,sourceFile:t.sourceFile,program:i,checker:a,compilerOptions:i.getCompilerOptions(),cachedImportDeclarations:[],getCanonicalFileName:e.createGetCanonicalFileName(e.hostUsesCaseSensitiveFileNames(t.host)),symbolName:n,symbolToken:r,preferences:t.preferences}}function o(e,t){var r=[];return s(e,t,r,r),r}function s(t,r,a,o){var s=e.flatMap(t,function(t){return function(t,r,n,i){var a=t.moduleSymbol,o=t.importKind,s=n.imports;void 0===i&&(i=[]);var c=e.getUniqueSymbolId(a,r),u=i[c];u||(u=i[c]=e.mapDefined(s,function(t){var n=e.importFromModuleSpecifier(t);return 243!==n.kind&&242!==n.kind||r.getSymbolAtLocation(t)!==a?void 0:{declaration:n,importKind:o}}));return u}
1(t,r.checker,r.sourceFile,r.cachedImportDeclarations)});if(r.symbolToken&&e.isIdentifier(r.symbolToken))for(var p=0,_=s;p<_.length;p++){var m=c(_[p].declaration);if(m){var g=r.checker.getAliasedSymbol(r.checker.getSymbolAtLocation(m));g&&g.exports.has(e.escapeLeadingUnderscores(r.symbolName))&&a.push(f(m.text,r,r.symbolToken))}}!function(t,r,a,o,s){var c=e.firstDefined(a,function(t){var a=t.declaration,o=t.importKind;if(243===a.kind&&a.importClause){var s=function(t,r,i){var a=t.symbolName,o=t.sourceFile,s=r.name,c=(242!==r.kind&&r).namedBindings;switch(i){case 1:return s?void 0:n.with(t,function(t){return t.replaceNode(o,r,e.createImportClause(e.createIdentifier(a),c))});case 0:var u=e.createImportSpecifier(void 0,e.createIdentifier(a));return c&&246===c.kind&&0!==c.elements.length?n.with(t,function(e){return e.insertNodeInListAfter(o,c.elements[c.elements.length-1],u)}):!c||246===c.kind&&0===c.elements.length?n.with(t,function(t){return t.replaceNode(o,r,e.createImportClause(s,e.createNamedImports([u])))}):void 0;case 2:return c?void 0:n.with(t,function(t){return t.replaceNode(o,r,e.createImportClause(s,e.createNamespaceImport(e.createIdentifier(a))))});case 3:return;default:e.Debug.assertNever(i)}}(r,e.isImportClause(a.importClause)&&a.importClause||void 0,o);if(s){var c=e.stripQuotes(a.moduleSpecifier.getText());return i(e.Diagnostics.Add_0_to_existing_import_declaration_from_1,[r.symbolName,c],s)}}});if(c)return void o.push(c);for(var f=e.firstDefined(a,d),p=f?[f]:l(r.program,r.sourceFile,t,r.host,r.preferences),_=0,m=p;_<m.length;_++){var g=m[_];s.push(u(r,g))}}(t,r,s,a,o)}function c(t){if(243===t.kind){var r=t.importClause&&e.isImportClause(t.importClause)&&t.importClause.namedBindings;return r&&245===r.kind?r.name:void 0}return t.name}function u(t,r){var a=r.moduleSpecifier,o=r.importKind,s=t.sourceFile,c=t.symbolName,u=t.preferences,l=e.findLast(s.statements,e.isAnyImportSyntax),d=e.stripQuotes(a),f=e.makeStringLiteral(d,e.getQuotePreference(s,u)),p=3!==o?e.createImportDeclaration(void 0,void 0,function(t,r){var n=e.createIdentifier(r);switch(t){case 1:return e.createImportClause(n,void 0);case 2:return e.createImportClause(void 0,e.createNamespaceImport(n));case 0:return e.createImportClause(void 0,e.createNamedImports([e.createImportSpecifier(void 0,n)]));default:e.Debug.assertNever(t)}}(o,c),f):e.createImportEqualsDeclaration(void 0,void 0,e.createIdentifier(c),e.createExternalModuleReference(f)),_=n.with(t,function(e){l?e.insertNodeAfter(s,l,p):e.insertNodeAtTopOfFile(s,p,!0)});return i(e.Diagnostics.Import_0_from_module_1,[c,d],_)}function l(t,r,n,i,a){var o=e.flatMap(n,function(n){var o=n.moduleSymbol,s=n.importKind;return e.moduleSpecifiers.getModuleSpecifiers(o,t.getCompilerOptions(),r,i,t.getSourceFiles(),a).map(function(e){return e.map(function(e){return{moduleSpecifier:e,importKind:s}})})});return e.flatten(o.sort(function(t,r){return e.first(t).moduleSpecifier.length-e.first(r).moduleSpecifier.length}))}function d(t){var r=t.declaration,n=t.importKind,i=243===r.kind?r.moduleSpecifier:253===r.moduleReference.kind?r.moduleReference.expression:void 0;return i&&e.isStringLiteral(i)?{moduleSpecifier:i.text,importKind:n}:void 0}function f(t,r,a){var o=r.symbolName,s=r.sourceFile,c=n.with(r,function(r){return r.replaceNode(s,a,e.createPropertyAccess(e.createIdentifier(t),a))});return i(e.Diagnostics.Change_0_to_1,[o,t+"."+o],c)}function p(t){if(e.getAllowSyntheticDefaultImports(t))return 1;var r=e.getEmitModuleKind(t);switch(r){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return 3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;default:return e.Debug.assertNever(r)}}function _(t,r){var n=t.declarations;return e.some(n,function(t){return!!(e.getMeaningFromDeclaration(t)&r)})}function m(t,r,n,i){g(t,n,function(t,n){(void 0===n||n!==r&&function(t,r){var n=e.forEachAncestorDirectory(r,function(t){return"node_modules"===e.getBaseFileName(t)?t:void 0});return void 0===n||e.startsWith(t,e.getDirectoryPath(n))}(r.fileName,n.fileName))&&i(t)})}function g(t,r,n){for(var i=0,a=t.getAmbientModules();i<a.length;i++){n(a[i],void 0)}for(var o=0,s=r;o<s.length;o++){var c=s[o];e.isExternalOrCommonJsModule(c)&&n(t.getMergedSymbol(c.symbol),c)}}function h(t,r){return v(e.removeFileExtension(e.stripQuotes(t.name)),r)}function v(t,r){var n=e.getBaseFileName(e.removeSuffix(t,"/index")),i="",a=!0,o=n.charCodeAt(0);e.isIdentifierStart(o,r)?i+=String.fromCharCode(o):a=!1;for(var s=1;s<n.length;s++){var c=n.charCodeAt(s),u=e.isIdentifierPart(c,r);if(u){var l=String.fromCharCode(c);a||(l=l.toUpperCase()),i+=l}a=u}return e.isStringANonContextualKeyword(i)?"_"+i:i||"_"}t.registerCodeFix({errorCodes:[e.Diagnostics.Cannot_find_name_0.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Cannot_find_namespace_0.code,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code],getCodeActions:function(t){return t.errorCode===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?function(t){var r,n=e.getTokenAtPosition(t.sourceFile,t.span.start,!1),i=t.program.getTypeChecker();e.isIdentifier(n)&&(r=i.getSymbolAtLocation(n));if(!e.isUMDExportSymbol(r)){var s=n.parent,c=e.isJsxOpeningLikeElement(s);
1(e.isJsxOpeningLikeElement&&s.tagName===n||259===s.kind)&&(r=i.resolveName(i.getJsxNamespace(s),c?s.tagName:s,67216319,!1))}if(e.isUMDExportSymbol(r)){var u=i.getAliasedSymbol(r);if(u)return o([{moduleSymbol:u,importKind:p(t.program.getCompilerOptions())}],a(t,n,r.name))}return}(t):function(t){var r=t.sourceFile,n=t.span,i=t.program,o=t.cancellationToken,c=i.getTypeChecker(),u=e.getTokenAtPosition(r,n.start,!1),l=e.isJsxOpeningLikeElement(u.parent)&&u.parent.tagName===u&&(!e.isIdentifier(u)||e.isIntrinsicJsxName(u.text)||c.resolveName(u.text,u,67108863,!1))?c.getJsxNamespace():e.isIdentifier(u)?u.text:void 0;if(!l)return;e.Debug.assert("default"!==l);var d=e.getMeaningFromLocation(u),f=e.createMultiMap();function p(t,r,n){f.add(e.getUniqueSymbolId(r,c).toString(),{moduleSymbol:t,importKind:n})}m(c,r,i.getSourceFiles(),function(t){o.throwIfCancellationRequested();var r,n=c.tryGetMemberInModuleExports("default",t);if(n){var a=e.getLocalSymbolForExportDefault(n);(a&&a.escapedName===l||(r=n,e.firstDefined(r.declarations,function(t){if(e.isExportAssignment(t)){if(e.isIdentifier(t.expression))return t.expression.escapedText}else if(e.isExportSpecifier(t)&&(e.Debug.assert("default"===t.name.escapedText),t.propertyName))return t.propertyName.escapedText})===l)||h(t,i.getCompilerOptions().target)===l)&&_(a||n,d)&&p(t,a||n,1)}var s=c.tryGetMemberInModuleExportsAndProperties(l,t);s&&_(s,d)&&p(t,s,0)});var g=[],v=[];return f.forEach(function(e){s(e,a(t,u,l),g,v)}),g.concat(v)}(t)},fixIds:[],getAllCodeActions:e.notImplemented}),function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.Equals=3]="Equals"}(r||(r={})),t.getImportCompletionAction=function(t,r,n,i,a,s,c,u,d,f,p,_,m){var h=function(t,r,n,i,a,o){var s=[];return g(a,o,function(o,c){if(!c||o===r||!e.startsWith(i.fileName,e.getDirectoryPath(c.fileName)))for(var u=0,l=a.getExportsOfModule(o);u<l.length;u++){var d=l[u];if(("default"===d.escapedName||d.name===n)&&e.skipAlias(d,a)===t){var f=a.tryGetMemberInModuleExports("default",o)===d;s.push({moduleSymbol:o,importKind:f?1:0})}}}),s}(t,r,i,n,c,d);e.Debug.assert(h.some(function(e){return e.moduleSymbol===r}));var v={host:a,program:s,checker:c,compilerOptions:u,sourceFile:n,formatContext:f,symbolName:i,getCanonicalFileName:p,symbolToken:_,preferences:m};return{moduleSpecifier:e.first(l(s,n,h,a,m)).moduleSpecifier,codeAction:e.first(o(h,v))}},t.forEachExternalModuleToImportFrom=m,t.moduleSymbolToValidIdentifier=h,t.moduleSpecifierToValidIdentifier=v}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r=[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_2.code];function n(t,r,n){var i,a=e.getTokenAtPosition(t,r,!1),o=n.program.getTypeChecker();if(e.isPropertyAccessExpression(a.parent)&&a.parent.name===a){e.Debug.assert(71===a.kind);var s=o.getTypeAtLocation(a.parent.expression);i=o.getSuggestionForNonexistentProperty(a,s)}else if(e.isImportSpecifier(a.parent)&&a.parent.name===a){e.Debug.assert(71===a.kind);var c=function(t,r,n){if(!n||!e.isStringLiteralLike(n.moduleSpecifier))return;var i=e.getResolvedModule(t,n.moduleSpecifier.text);return i?r.program.getSourceFile(i.resolvedFileName):void 0}(t,n,e.findAncestor(a,e.isImportDeclaration));c&&c.symbol&&(i=o.getSuggestionForNonexistentModule(a,c.symbol))}else{var u=e.getMeaningFromLocation(a),l=e.getTextOfNode(a);e.Debug.assert(void 0!==l,"name should be defined"),i=o.getSuggestionForNonexistentSymbol(a,l,function(e){var t=0;4&e&&(t|=1920);2&e&&(t|=67901928);1&e&&(t|=67216319);return t}(u))}return void 0===i?void 0:{node:a,suggestion:i}}function i(t,r,n,i,a){!e.isIdentifierText(i,a)&&e.isPropertyAccessExpression(n.parent)?t.replaceNode(r,n.parent,e.createElementAccess(n.parent.expression,e.createLiteral(i))):t.replaceNode(r,n,e.createIdentifier(i))}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,o=n(a,r.span.start,r);if(o){var s=o.node,c=o.suggestion,u=r.host.getCompilationSettings().target,l=e.textChanges.ChangeTracker.with(r,function(e){return i(e,a,s,c,u)});return[t.createCodeFixAction("spelling",l,[e.Diagnostics.Change_spelling_to_0,c],"fixSpelling",e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:["fixSpelling"],getAllCodeActions:function(e){return t.codeFixAll(e,r,function(t,r){var a=n(r.file,r.start,e),o=e.host.getCompilationSettings().target;a&&i(t,e.sourceFile,a.node,a.suggestion,o)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="addMissingMember",n=[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code],i="addMissingMember";function a(t,r,n){var i=e.getTokenAtPosition(t,r,!1);if(e.isIdentifier(i)){var a=i.parent;if(e.isPropertyAccessExpression(a)){var o=e.skipConstraint(n.getTypeAtLocation(a.expression)),s=o.symbol,c=s&&s.declarations&&e.find(s.declarations,e.isClassLike);if(c){var u=o.target!==n.getDeclaredTypeOfSymbol(s),l=c.getSourceFile();return{token:i,classDeclaration:c,makeStatic:u,classDeclarationSourceFile:l,inJs:e.isSourceFileJavaScript(l),call:e.tryCast(a.parent,e.isCallExpression)}}}}}function o(t,r,n,i,a){if(a){if(204===n.kind)return;var o=n.name.getText(),c=s(e.createIdentifier(o),i);
1t.insertNodeAfter(r,n,c)}else{var u=e.getFirstConstructorWithBody(n);if(!u)return;var l=s(e.createThis(),i);t.insertNodeAtConstructorEnd(r,u,l)}}function s(t,r){return e.createStatement(e.createAssignment(e.createPropertyAccess(t,r),e.createIdentifier("undefined")))}function c(t,r,n){var i;if(199===n.parent.parent.kind){var a=n.parent.parent,o=n.parent===a.left?a.right:a.left,s=t.getWidenedType(t.getBaseTypeOfLiteralType(t.getTypeAtLocation(o)));i=t.typeToTypeNode(s,r)}return i||e.createKeywordTypeNode(119)}function u(t,r,n,i,a,o){var s=e.createProperty(void 0,o?[e.createToken(115)]:void 0,i,void 0,a,void 0),c=function(t){for(var r,n=0,i=t.members;n<i.length;n++){var a=i[n];if(!e.isPropertyDeclaration(a))break;r=a}return r}(n);c?t.insertNodeAfter(r,c,s):t.insertNodeAtClassStart(r,n,s)}function l(n,i,a,o,s){var c=e.createKeywordTypeNode(137),u=e.createParameter(void 0,void 0,void 0,"x",void 0,c,void 0),l=e.createIndexSignature(void 0,void 0,[u],s),d=e.textChanges.ChangeTracker.with(n,function(e){return e.insertNodeAtClassStart(i,a,l)});return t.createCodeFixActionNoFixId(r,d,[e.Diagnostics.Add_index_signature_for_property_0,o])}function d(e,r,n,i,a,o,s,c){var u=t.createMethodFromCallExpression(a,i.text,s,o,c);e.insertNodeAtClassStart(r,n,u)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var s=a(n.sourceFile,n.span.start,n.program.getTypeChecker());if(s){var f=s.classDeclaration,p=s.classDeclarationSourceFile,_=s.inJs,m=s.makeStatic,g=s.token,h=s.call,v=h&&function(n,a,o,s,c,u,l,f){var p=e.textChanges.ChangeTracker.with(n,function(e){return d(e,a,o,s,c,u,l,f)});return t.createCodeFixAction(r,p,[u?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,s.text],i,e.Diagnostics.Add_all_missing_members)}(n,p,f,g,h,m,_,n.preferences),y=_?e.singleElementArray(function(n,a,s,c,u){var l=e.textChanges.ChangeTracker.with(n,function(e){return o(e,a,s,c,u)});return 0===l.length?void 0:t.createCodeFixAction(r,l,[u?e.Diagnostics.Initialize_static_property_0:e.Diagnostics.Initialize_property_0_in_the_constructor,c],i,e.Diagnostics.Add_all_missing_members)}(n,p,f,g.text,m)):function(n,a,o,s,d){var f=c(n.program.getTypeChecker(),o,s),p=function(n,a,o,s,c,l){var d=e.textChanges.ChangeTracker.with(n,function(e){return u(e,a,o,c,l,s)});return t.createCodeFixAction(r,d,[s?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,c],i,e.Diagnostics.Add_all_missing_members)}(n,a,o,d,s.text,f);return d?[p]:[p,l(n,a,o,s.text,f)]}(n,p,f,g,m);return e.concatenate(e.singleElementArray(v),y)}},fixIds:[i],getAllCodeActions:function(r){var i=e.createMap();return t.codeFixAll(r,n,function(t,n){var s=r.program,l=r.preferences,f=a(n.file,n.start,s.getTypeChecker());if(f){var p=f.classDeclaration,_=f.classDeclarationSourceFile,m=f.inJs,g=f.makeStatic,h=f.token,v=f.call;if(e.addToSeen(i,h.text))if(v)d(t,_,p,h,v,g,m,l);else if(m)o(t,_,p,h.text,g);else{var y=c(s.getTypeChecker(),p,h);u(t,_,p,h.text,y,g)}}})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="fixCannotFindModule",n=e.Diagnostics.Cannot_find_module_0.code,i=[n,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code];function a(e,t){return{type:"install package",file:e,packageName:t}}function o(t,r,i,a){var o=e.cast(e.getTokenAtPosition(r,i,!1),e.isStringLiteral).text,s=e.getPackageName(o).packageName;return a===n?e.JsTyping.nodeCoreModules.has(s)?"@types/node":void 0:t.isKnownTypesPackageName(s)?e.getTypesPackageName(s):void 0}t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.host,s=n.sourceFile,c=o(i,s,n.span.start,n.errorCode);return void 0===c?[]:[t.createCodeFixAction(r,[],[e.Diagnostics.Install_0,c],r,e.Diagnostics.Install_all_missing_types_packages,a(s.fileName,c))]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,i,function(t,r,n){var i=o(e.host,r.file,r.start,r.code);i&&n.push(a(r.file.fileName,i))})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r=[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],n="fixClassDoesntImplementInheritedAbstractMember";function i(t,r){var n=e.getTokenAtPosition(t,r,!1);return e.cast(n.parent,e.isClassLike)}function a(r,n,i,a,s){var c=e.getClassExtendsHeritageClauseElement(r),u=i.getTypeAtLocation(c),l=i.getPropertiesOfType(u).filter(o);t.createMissingMemberNodes(r,l,i,s,function(e){return a.insertNodeAtClassStart(n,r,e)})}function o(t){var r=e.getModifierFlags(e.first(t.getDeclarations()));return!(8&r)&&!!(128&r)}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.program,s=r.sourceFile,c=r.span,u=e.textChanges.ChangeTracker.with(r,function(e){return a(i(s,c.start),s,o.getTypeChecker(),e,r.preferences)});return 0===u.length?void 0:[t.createCodeFixAction(n,u,e.Diagnostics.Implement_inherited_abstract_class,n,e.Diagnostics.Implement_all_inherited_abstract_classes)]},fixIds:[n],getAllCodeActions:function(n){var o=e.createMap();return t.codeFixAll(n,r,function(t,r){var s=i(r.file,r.start);e.addToSeen(o,e.getNodeId(s))&&a(s,n.sourceFile,n.program.getTypeChecker(),t,n.preferences)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="classSuperMustPrecedeThisAccess",n=[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];
1function i(e,t,r,n){e.insertNodeAtConstructorStart(t,r,n),e.deleteNode(t,n)}function a(t,r){var n=e.getTokenAtPosition(t,r,!1);if(99===n.kind){var i=e.getContainingFunction(n),a=o(i.body);return a&&!a.expression.arguments.some(function(t){return e.isPropertyAccessExpression(t)&&t.expression===n})?{constructor:i,superCall:a}:void 0}}function o(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,o)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=a(o,s.start);if(c){var u=c.constructor,l=c.superCall,d=e.textChanges.ChangeTracker.with(n,function(e){return i(e,o,u,l)});return[t.createCodeFixAction(r,d,e.Diagnostics.Make_super_call_the_first_statement_in_the_constructor,r,e.Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)]}},fixIds:[r],getAllCodeActions:function(r){var o=r.sourceFile,s=e.createMap();return t.codeFixAll(r,n,function(t,r){var n=a(r.file,r.start);if(n){var c=n.constructor,u=n.superCall;e.addToSeen(s,e.getNodeId(c.parent))&&i(t,o,c,u)}})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="constructorForDerivedNeedSuperCall",n=[e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1);return e.Debug.assert(123===n.kind),n.parent}function a(t,r,n){var i=e.createStatement(e.createCall(e.createSuper(),void 0,e.emptyArray));t.insertNodeAtConstructorStart(r,n,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start),u=e.textChanges.ChangeTracker.with(n,function(e){return a(e,o,c)});return[t.createCodeFixAction(r,u,e.Diagnostics.Add_missing_super_call,r,e.Diagnostics.Add_all_missing_super_calls)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){return a(t,e.sourceFile,i(r.file,r.start))})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="extendsInterfaceBecomesImplements",n=[e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1),i=e.getContainingClass(n).heritageClauses,a=i[0].getFirstToken();return 85===a.kind?{extendsToken:a,heritageClauses:i}:void 0}function a(t,r,n,i){if(t.replaceNode(r,n,e.createToken(108)),2===i.length&&85===i[0].token&&108===i[1].token){var a=i[1].getFirstToken(),o=a.getFullStart();t.replaceRange(r,{pos:o,end:o},e.createToken(26));for(var s=r.text,c=a.end;c<s.length&&e.isWhiteSpaceSingleLine(s.charCodeAt(c));)c++;t.deleteRange(r,{pos:a.getStart(),end:c})}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=i(o,n.span.start);if(s){var c=s.extendsToken,u=s.heritageClauses,l=e.textChanges.ChangeTracker.with(n,function(e){return a(e,o,c,u)});return[t.createCodeFixAction(r,l,e.Diagnostics.Change_extends_to_implements,r,e.Diagnostics.Change_all_extended_interfaces_to_implements)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){var r=i(t.file,t.start);r&&a(e,t.file,r.extendsToken,r.heritageClauses)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="forgottenThisPropertyAccess",n=e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,i=[e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,n];function a(t,r,i){var a=e.getTokenAtPosition(t,r,!1);if(e.isIdentifier(a))return{node:a,className:i===n?e.getContainingClass(a).name.text:void 0}}function o(t,r,n){var i=n.node,a=n.className;e.suppressLeadingAndTrailingTrivia(i),t.replaceNode(r,i,e.createPropertyAccess(a?e.createIdentifier(a):e.createThis(),i))}t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.sourceFile,s=a(i,n.span.start,n.errorCode);if(s){var c=e.textChanges.ChangeTracker.with(n,function(e){return o(e,i,s)});return[t.createCodeFixAction(r,c,[e.Diagnostics.Add_0_to_unresolved_variable,s.className||"this"],r,e.Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,i,function(t,r){o(t,e.sourceFile,a(r.file,r.start,r.code))})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="unusedIdentifier",n="unusedIdentifier_prefix",i="unusedIdentifier_delete",a=[e.Diagnostics._0_is_declared_but_its_value_is_never_read.code,e.Diagnostics._0_is_declared_but_never_used.code,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,e.Diagnostics.All_imports_in_import_declaration_are_unused.code,e.Diagnostics.All_destructured_elements_are_unused.code,e.Diagnostics.All_variables_are_unused.code];function o(t){return 91===t.kind?e.tryCast(t.parent,e.isImportDeclaration):void 0}function s(t,r,n,i){if(17!==n.kind||!e.isObjectBindingPattern(n.parent))return!1;var a=e.cast(n.parent,e.isObjectBindingPattern).parent;switch(a.kind){case 231:_(t,r,a,i);break;case 148:i&&i.add(a),t.deleteNodeInList(r,a);break;case 181:i&&i.add(a),t.deleteNode(r,a);break;default:return e.Debug.assertNever(a)}return!0}function c(t,r,n,i){var a=e.tryCast(n.parent,e.isVariableDeclarationList);return!(!a||a.getChildren(r)[0]!==n)&&(i&&i.add(a),t.deleteNode(r,213===a.parent.kind?a.parent:a),!0)}function u(t,r,n,i){r!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&e.isIdentifier(i)&&l(i)&&t.replaceNode(n,i,e.createIdentifier("_"+i.text))}function l(e){switch(e.parent.kind){case 148:return!0;case 231:switch(e.parent.parent.parent.kind){case 221:case 220:return!0}}return!1}function d(t,r,n,i){switch(n.kind){case 71:!function(t,r,n,i){var a=n.parent;switch(a.kind){case 231:_(t,r,a,i);break;case 147:var o=e.getEffectiveTypeParameterDeclarations(a.parent);if(1===o.length){var s=e.cast(o,e.isNodeArray),c=s.pos,u=s.end,l=e.getTokenAtPosition(r,c-1,!1),d=e.getTokenAtPosition(r,u,!1);e.Debug.assert(27===l.kind),e.Debug.assert(29===d.kind),t.deleteNodeRange(r,l,d)}else t.deleteNodeInList(r,a);break;case 148:var m=a.parent;if(e.isSetAccessor(m))break;if(e.isArrowFunction(m)&&1===m.parameters.length){var g=e.updateArrowFunction(m,m.modifiers,m.typeParameters,void 0,m.type,m.equalsGreaterThanToken,m.body);e.suppressLeadingAndTrailingTrivia(g),t.replaceNode(r,m,g)}else t.deleteNodeInList(r,a);break;case 181:var h=a.parent;switch(h.kind){case 180:t.deleteNode(r,a);break;case 179:t.deleteNodeInList(r,a);break;default:return e.Debug.assertNever(h)}break;case 242:var v=e.getAncestor(n,242);t.deleteNode(r,v);break;case 247:var y=a.parent;1===y.elements.length?p(t,r,y):t.deleteNodeInList(r,a);break;case 244:var b=a;if(b.namedBindings){var x=b.name.getStart(r),d=e.getTokenAtPosition(r,b.name.end,!1);if(d&&26===d.kind){var u=e.skipTrivia(r.text,d.end,!1,!0);t.deleteRange(r,{pos:x,end:u})}else t.deleteNode(r,b.name)}else t.deleteNode(r,e.getAncestor(b,243));break;case 245:p(t,r,a);break;default:f(t,r,n,i)}}(t,r,n,i);break;case 151:case 245:i&&i.add(n.parent),t.deleteNode(r,n.parent);break;default:f(t,r,n,i)}}function f(t,r,n,i){e.isDeclarationName(n)?(i&&i.add(n.parent),t.deleteNode(r,n.parent)):e.isLiteralComputedPropertyDeclarationName(n)&&(i&&i.add(n.parent.parent),t.deleteNode(r,n.parent.parent))}function p(t,r,n){if(n.parent.name){var i=e.getTokenAtPosition(r,n.pos-1,!1);i&&26===i.kind&&t.deleteRange(r,{pos:i.getStart(),end:n.end})}else{var a=e.getAncestor(n,243);t.deleteNode(r,a)}}function _(t,r,n,i){switch(n.parent.parent.kind){case 219:var a=n.parent.parent.initializer;1===a.declarations.length?(i&&i.add(a),t.deleteNode(r,a)):(i&&i.add(n),t.deleteNodeInList(r,n));break;case 221:var o=n.parent.parent;e.Debug.assert(232===o.initializer.kind);var s=o.initializer;i&&i.add(s.declarations[0]),t.replaceNode(r,s.declarations[0],e.createObjectLiteral());break;case 220:case 229:break;default:var c=n.parent.parent;1===c.declarationList.declarations.length?(i&&i.add(c),t.deleteNode(r,c)):(i&&i.add(n),t.deleteNodeInList(r,n))}}t.registerCodeFix({errorCodes:a,getCodeActions:function(a){var l=a.errorCode,f=a.sourceFile,p=e.getTokenAtPosition(f,a.span.start,!1),_=o(p);if(_){var m=e.textChanges.ChangeTracker.with(a,function(e){return e.deleteNode(f,_)});return[t.createCodeFixAction(r,m,[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(_)],i,e.Diagnostics.Delete_all_unused_declarations)]}var g=e.textChanges.ChangeTracker.with(a,function(e){return s(e,f,p,void 0)});if(g.length)return[t.createCodeFixAction(r,g,e.Diagnostics.Remove_destructuring,i,e.Diagnostics.Delete_all_unused_declarations)];if(e.textChanges.ChangeTracker.with(a,function(e){return c(e,f,p,void 0)}).length)return[t.createCodeFixAction(r,g,e.Diagnostics.Remove_variable_statement,i,e.Diagnostics.Delete_all_unused_declarations)];var h=function(t,r){var n=e.findPrecedingToken(r,t,void 0,!0);return 22===n.kind?e.findPrecedingToken(r-1,t):n}(f,e.textSpanEnd(a.span)),v=[],y=e.textChanges.ChangeTracker.with(a,function(e){return d(e,f,h,void 0)});y.length&&v.push(t.createCodeFixAction(r,y,[e.Diagnostics.Remove_declaration_for_Colon_0,h.getText(f)],i,e.Diagnostics.Delete_all_unused_declarations));var b=e.textChanges.ChangeTracker.with(a,function(e){return u(e,l,f,h)});return b.length&&v.push(t.createCodeFixAction(r,b,[e.Diagnostics.Prefix_0_with_an_underscore,h.getText(f)],n,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),v},fixIds:[n,i],getAllCodeActions:function(r){var f=new m;return t.codeFixAll(r,a,function(t,a){var p=r.sourceFile,_=e.getTokenAtPosition(p,a.start,!1),m=e.findPrecedingToken(e.textSpanEnd(a),a.file);switch(r.fixId){case n:e.isIdentifier(m)&&l(m)&&u(t,a.code,p,m);break;case i:if(f.some(function(t){return e.rangeContainsPosition(t,a.start)}))break;var g=o(_);g?t.deleteNode(p,g):s(t,p,_,f)||c(t,p,_,f)||d(t,p,m,f);break;default:e.Debug.fail(JSON.stringify(r.fixId))}})}});var m=function(){function t(){this.map=e.createMap()}return t.prototype.add=function(t){this.map.set(String(e.getNodeId(t)),t)},t.prototype.some=function(t){return e.forEachEntry(this.map,t)||!1},t}()}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="fixUnreachableCode",n=[e.Diagnostics.Unreachable_code_detected.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n,!1),o=e.findAnce
1stor(i,e.isStatement);e.Debug.assert(o.getStart(r)===i.getStart(r));var s,c,u,l=(e.isBlock(o.parent)?o.parent:o).parent;switch(l.kind){case 216:if(l.elseStatement){e.isBlock(o.parent)?t.deleteNodeRange(r,e.first(o.parent.statements),e.last(o.parent.statements)):t.replaceNode(r,o,e.createBlock(e.emptyArray));break}case 218:case 219:t.deleteNode(r,l);break;default:e.isBlock(o.parent)?(s=function(t,r){var n=t.indexOf(r);return e.Debug.assert(-1!==n),t.slice(n)}(o.parent.statements,o),c=a,u=function(e,n){return t.deleteNodeRange(r,e,n)},e.getRangesWhere(s,c,function(e,t){return u(s[e],s[t-1])})):t.deleteNode(r,o)}}function a(t){return!e.isFunctionDeclaration(t)&&!function(t){switch(t.kind){case 235:case 236:return!0;case 238:return 1!==e.getModuleInstanceState(t);case 237:return e.hasModifier(t,2048)}}(t)&&!(e.isVariableStatement(t)&&!(3&e.getCombinedNodeFlags(t))&&t.declarationList.declarations.some(function(e){return!e.initializer}))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,function(e){return i(e,n.sourceFile,n.span.start)});return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unreachable_code,r,e.Diagnostics.Remove_all_unreachable_code)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){return i(e,t.file,t.start)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="fixUnusedLabel",n=[e.Diagnostics.Unused_label.code];function i(t,r,n){var i=e.getTokenAtPosition(r,n,!1),a=e.cast(i.parent,e.isLabeledStatement),o=i.getStart(r),s=a.statement.getStart(r),c=e.positionsAreOnSameLine(o,s,r)?s:e.skipTrivia(r.text,e.findChildOfKind(a,56,r).end,!0);t.deleteRange(r,{pos:o,end:c})}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,function(e){return i(e,n.sourceFile,n.span.start)});return[t.createCodeFixAction(r,a,e.Diagnostics.Remove_unused_label,r,e.Diagnostics.Remove_all_unused_labels)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(e,t){return i(e,t.file,t.start)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r=[e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];function n(e,t,r,n,i){e.replaceNode(t,r,i.typeToTypeNode(n,r))}function i(t,r,n){var i=e.findAncestor(e.getTokenAtPosition(t,r,!1),a),o=i&&i.type;return o&&{typeNode:o,type:n.getTypeFromTypeNode(o)}}function a(e){switch(e.kind){case 207:case 157:case 158:case 233:case 155:case 159:case 176:case 153:case 152:case 148:case 151:case 150:case 156:case 236:case 189:case 231:return!0;default:return!1}}t.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,o=r.program.getTypeChecker(),s=i(a,r.span.start,o);if(s){var c=s.typeNode,u=s.type,l=c.getText(a),d=[f(u,"fixJSDocTypes_plain",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return 280===c.kind&&d.push(f(o.getNullableType(u,4096),"fixJSDocTypes_nullable",e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),d}function f(i,s,u){var d=e.textChanges.ChangeTracker.with(r,function(e){return n(e,a,c,i,o)});return t.createCodeFixAction("jdocTypes",d,[e.Diagnostics.Change_0_to_1,l,o.typeToString(i)],s,u)}},fixIds:["fixJSDocTypes_plain","fixJSDocTypes_nullable"],getAllCodeActions:function(e){var a=e.fixId,o=e.program,s=e.sourceFile,c=o.getTypeChecker();return t.codeFixAll(e,r,function(e,t){var r=i(t.file,t.start,c);if(r){var o=r.typeNode,u=r.type,l=280===o.kind&&"fixJSDocTypes_nullable"===a?c.getNullableType(u,4096):u;n(e,s,o,l,c)}})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="fixAwaitInSyncFunction",n=[e.Diagnostics.await_expression_is_only_allowed_within_an_async_function.code,e.Diagnostics.A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1),i=e.getContainingFunction(n);if(i){var a,o;switch(i.kind){case 153:a=i.name;break;case 233:case 191:a=e.findChildOfKind(i,89,t);break;case 192:a=e.findChildOfKind(i,19,t)||e.first(i.parameters);break;default:return}return{insertBefore:a,returnType:(o=i,o.type?o.type:e.isVariableDeclaration(o.parent)&&o.parent.type&&e.isFunctionTypeNode(o.parent.type)?o.parent.type.type:void 0)}}}function a(t,r,n){var i=n.insertBefore,a=n.returnType;if(a){var o=e.getEntityNameFromTypeNode(a);o&&71===o.kind&&"Promise"===o.text||t.replaceNode(r,a,e.createTypeReferenceNode("Promise",e.createNodeArray([a])))}t.insertModifierBefore(r,120,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var u=e.textChanges.ChangeTracker.with(n,function(e){return a(e,o,c)});return[t.createCodeFixAction(r,u,e.Diagnostics.Add_async_modifier_to_containing_function,r,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){var n=i(r.file,r.start);n&&a(t,e.sourceFile,n)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="disableJsDiagnostics",n=e.mapDefined(Object.keys(e.Diagnostics),function(t){var r=e.Diagnostics[t];return r.category===e.DiagnosticCategory.Error?r.code:void 0});function i(t,r,n,i){var a=e.getLineAndCharacterOfPosition(r,n).line;i&&!e.addToSeen(i,a)||t.insertCommentBeforeLine(r,a,n," @ts-ignore")}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=n.sourceFile,o=n.program,s=n.span,c=n.host,u=n.formatContext;if(e.isInJavaScriptFile(a)&&e.isCheckJsEnabledForFile(a,o.getCompilerOptions())){var l=[t.createCodeFixActionNoFixId("disableJsDiagnostics",[t.createFileTextChanges(a.fileName,[e.createTextChange(a.checkJsDirective?e.createTextSpanFromBounds(a.checkJsDirective.pos,a.checkJsDirective.end):e.createTextSpan(0,0),"// @ts-nocheck"+e.getNewLineOrDefaultFromHost(c,u.options))])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(a,s.start)&&l.unshift(t.createCodeFixAction("disableJsDiagnostics",e.textChanges.ChangeTracker.with(n,function(e){return i(e,a,s.start)}),e.Diagnostics.Ignore_this_error_message,r,e.Diagnostics.Add_ts_ignore_to_all_error_messages)),l}},fixIds:[r],getAllCodeActions:function(r){var a=e.createMap();return t.codeFixAll(r,n,function(t,r){e.textChanges.isValidLocationToAddComment(r.file,r.start)&&i(t,r.file,r.start,a)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){function r(t,r,a,o,s){var c=t.getDeclarations();if(c&&c.length){var u=c[0],l=e.getSynthesizedDeepClone(e.getNameOfDeclaration(u),!1),d=function(t){if(4&t)return e.createToken(114);if(16&t)return e.createToken(113);return}(e.getModifierFlags(u)),f=d?e.createNodeArray([d]):void 0,p=a.getWidenedType(a.getTypeOfSymbolAtLocation(t,r)),_=!!(16777216&t.flags);switch(u.kind){case 155:case 156:case 150:case 151:var m=a.typeToTypeNode(p,r);s(e.createProperty(void 0,f,l,_?e.createToken(55):void 0,m,void 0));break;case 152:case 153:var g=a.getSignaturesOfType(p,0);if(!e.some(g))break;if(1===c.length){e.Debug.assert(1===g.length),y(g[0],f,l,i(o));break}for(var h=0,v=g;h<v.length;
1h++){y(v[h],e.getSynthesizedDeepClones(f,!1),e.getSynthesizedDeepClone(l,!1))}if(c.length>g.length)y(a.getSignatureFromDeclaration(c[c.length-1]),f,l,i(o));else e.Debug.assert(c.length===g.length),s(function(t,r,a,o,s){for(var c=t[0],u=t[0].minArgumentCount,l=!1,d=0,f=t;d<f.length;d++){var p=f[d];u=Math.min(p.minArgumentCount,u),p.hasRestParameter&&(l=!0),p.parameters.length>=c.parameters.length&&(!p.hasRestParameter||c.hasRestParameter)&&(c=p)}var _=c.parameters.length-(c.hasRestParameter?1:0),m=c.parameters.map(function(e){return e.name}),g=n(_,m,u,!1);if(l){var h=e.createArrayTypeNode(e.createKeywordTypeNode(119)),v=e.createParameter(void 0,void 0,e.createToken(24),m[_]||"rest",_>=u?e.createToken(55):void 0,h,void 0);g.push(v)}return function(t,r,n,a,o,s,c){return e.createMethod(void 0,t,void 0,r,n?e.createToken(55):void 0,a,o,s,i(c))}(o,r,a,void 0,g,void 0,s)}(g,l,_,f,o))}}function y(t,n,i,o){var c=function(t,r,n,i,a,o,s){var c=t.signatureToSignatureDeclaration(r,153,n,256);if(!c)return;return c.decorators=void 0,c.modifiers=i,c.name=a,c.questionToken=o?e.createToken(55):void 0,c.body=s,c}(a,t,r,n,i,_,o);c&&s(c)}}function n(t,r,n,i){for(var a=[],o=0;o<t;o++){var s=e.createParameter(void 0,void 0,void 0,r&&r[o]||"arg"+o,void 0!==n&&o>=n?e.createToken(55):void 0,i?void 0:e.createKeywordTypeNode(119),void 0);a.push(s)}return a}function i(t){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.","single"===t.quotePreference)]))],!0)}t.createMissingMemberNodes=function(e,t,n,i,a){for(var o=e.symbol.members,s=0,c=t;s<c.length;s++){var u=c[s];o.has(u.escapedName)||r(u,e,n,i,a)}},t.createMethodFromCallExpression=function(t,r,a,o,s){var c=t.typeArguments,u=t.arguments;return e.createMethod(void 0,o?[e.createToken(115)]:void 0,void 0,r,void 0,a?void 0:e.map(c,function(t,r){return e.createTypeParameterDeclaration(84+c.length-1<=90?String.fromCharCode(84+r):"T"+r)}),n(u.length,void 0,void 0,a),a?void 0:e.createKeywordTypeNode(119),i(s))}}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r,n="inferFromUsage",i=[e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,e.Diagnostics.Variable_0_implicitly_has_an_1_type.code,e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code,e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,e.Diagnostics.Member_0_implicitly_has_an_1_type.code];function a(t,r){switch(t){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:return e.isSetAccessor(e.getContainingFunction(r))?e.Diagnostics.Infer_type_of_0_from_usage:e.Diagnostics.Infer_parameter_types_from_usage;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:return e.Diagnostics.Infer_parameter_types_from_usage;default:return e.Diagnostics.Infer_type_of_0_from_usage}}function o(t,n,i,a,o,f,p){if(e.isParameterPropertyModifier(i.kind)||71===i.kind||24===i.kind){var _=i.parent;switch(a){case e.Diagnostics.Member_0_implicitly_has_an_1_type.code:case e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:return e.isVariableDeclaration(_)&&p(_)||e.isPropertyDeclaration(_)||e.isPropertySignature(_)?(s(t,n,_,o,f),_):void 0;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var m=o.getTypeChecker().getSymbolAtLocation(i);return m&&m.valueDeclaration&&e.isVariableDeclaration(m.valueDeclaration)&&p(m.valueDeclaration)?(s(t,n,m.valueDeclaration,o,f),m.valueDeclaration):void 0}var g=e.getContainingFunction(i);if(void 0!==g)switch(a){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessor(g))return c(t,n,g,o,f),g;case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(p(g)){var h=e.cast(_,e.isParameter);
1return function(t,n,i,a,o,s){if(!e.isIdentifier(n.name)||!function(e){switch(e.kind){case 233:case 153:case 154:return!0;case 191:return!!e.name}return!1}(i))return;var c=function(t,n,i,a){switch(t.kind){case 154:case 191:case 233:case 153:var o=154===t.kind,s=o?e.findChildOfKind(t,123,n):t.name;if(s)return r.inferTypeForParametersFromReferences(l(s,i,a),t,i.getTypeChecker(),a)}}(i,a,o,s)||i.parameters.map(function(t){return e.isIdentifier(t.name)?d(t.name,o,s):void 0});if(!c||i.parameters.length!==c.length)return;e.zipWith(i.parameters,c,function(e,r){e.type||e.initializer||u(t,a,e,r,o)})}(t,h,g,n,o,f),h}return;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:return e.isGetAccessor(g)&&e.isIdentifier(g.name)?(u(t,n,g,d(g.name,o,f),o),g):void 0;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:return e.isSetAccessor(g)?(c(t,n,g,o,f),g):void 0;default:return e.Debug.fail(String(a))}}}function s(t,r,n,i,a){e.isIdentifier(n.name)&&u(t,r,n,d(n.name,i,a),i)}function c(t,r,n,i,a){var o=e.firstOrUndefined(n.parameters);o&&e.isIdentifier(n.name)&&e.isIdentifier(o.name)&&u(t,r,o,d(n.name,i,a)||d(o.name,i,a),i)}function u(e,t,r,n,i){var a=n&&function(e,t,r){var n=!0,i=function(){n=!1},a=r.typeToTypeNode(e,t,void 0,{trackSymbol:function(e,t,i){n=n&&0===r.isSymbolAccessible(e,t,i,!1).accessibility},reportInaccessibleThisError:i,reportPrivateInBaseOfClassExpression:i,reportInaccessibleUniqueSymbolError:i});return n?a:void 0}(n,r,i.getTypeChecker());a&&e.tryInsertTypeAnnotation(t,r,a)}function l(t,r,n){return e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(-1,t,r,r.getSourceFiles(),n),function(t){return"node"===t.type?e.tryCast(t.node,e.isIdentifier):void 0})}function d(e,t,n){return r.inferTypeFromReferences(l(e,t,n),t.getTypeChecker(),n)}t.registerCodeFix({errorCodes:i,getCodeActions:function(r){var i=r.sourceFile,s=r.program,c=r.span.start,u=r.errorCode,l=r.cancellationToken;if(!e.isSourceFileJavaScript(i)){var d,f=e.getTokenAtPosition(i,c,!1),p=e.textChanges.ChangeTracker.with(r,function(t){d=o(t,i,f,u,s,l,e.returnTrue)});return 0===p.length?void 0:[t.createCodeFixAction(n,p,[a(u,f),e.getNameOfDeclaration(d).getText(i)],n,e.Diagnostics.Infer_all_types_from_usage)]}},fixIds:[n],getAllCodeActions:function(r){var n=r.sourceFile,a=r.program,s=r.cancellationToken,c=e.nodeSeenTracker();return t.codeFixAll(r,i,function(t,r){o(t,n,e.getTokenAtPosition(r.file,r.start,!1),r.code,a,s,c)})}}),function(t){function r(t,i,a){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;switch(t.parent.kind){case 198:a.isNumber=!0;break;case 197:!function(e,t){switch(e.operator){case 43:case 44:case 38:case 52:t.isNumber=!0;break;case 37:t.isNumberOrString=!0}}(t.parent,a);break;case 199:!function(t,r,n,i){switch(r.operatorToken.kind){case 40:case 39:case 41:case 42:case 45:case 46:case 47:case 48:case 49:case 50:case 60:case 62:case 61:case 63:case 64:case 68:case 69:case 70:case 65:case 67:case 66:case 38:case 27:case 30:case 29:case 31:var a=n.getTypeAtLocation(r.left===t?r.right:r.left);272&a.flags?s(i,a):i.isNumber=!0;break;case 59:case 37:var o=n.getTypeAtLocation(r.left===t?r.right:r.left);272&o.flags?s(i,o):84&o.flags?i.isNumber=!0:34&o.flags?i.isString=!0:i.isNumberOrString=!0;break;case 58:case 32:case 34:case 35:case 33:s(i,n.getTypeAtLocation(r.left===t?r.right:r.left));break;case 92:t===r.left&&(i.isString=!0);break;case 54:t!==r.left||231!==t.parent.parent.kind&&!e.isAssignmentExpression(t.parent.parent,!0)||s(i,n.getTypeAtLocation(r.right))}}(t,t.parent,i,a);break;case 265:case 266:!function(e,t,r){s(r,t.getTypeAtLocation(e.parent.parent.expression))}(t.parent,i,a);break;case 186:case 187:t.parent.expression===t?function(e,t,n){var i={argumentTypes:[],returnType:{}};if(e.arguments)for(var a=0,o=e.arguments;a<o.length;a++){var s=o[a];i.argumentTypes.push(t.getTypeAtLocation(s))}r(e,t,i.returnType),186===e.kind?(n.callContexts||(n.callContexts=[])).push(i):(n.constructContexts||(n.constructContexts=[])).push(i)}(t.parent,i,a):n(t,i,a);break;case 184:!function(t,n,i){var a=e.escapeLeadingUnderscores(t.name.text);i.properties||(i.properties=e.createUnderscoreEscapedMap());var o=i.properties.get(a)||{};r(t,n,o),i.properties.set(a,o)}(t.parent,i,a);break;case 185:!function(e,t,n,i){if(t===e.argumentExpression)return void(i.isNumberOrString=!0);var a=n.getTypeAtLocation(e),o={};r(e,n,o),84&a.flags?i.numberIndexContext=o:i.stringIndexContext=o}(t.parent,t,i,a);break;case 231:var o=t.parent,c=o.name,u=o.initializer;if(t===c){u&&s(a,i.getTypeAtLocation(u));break}default:return n(t,i,a)}}function n(t,r,n){e.isExpressionNode(t)&&s(n,r.getContextualType(t))}function i(t,r){if(t.isNumberOrString&&!t.isNumber&&!t.isString)return r.getUnionType([r.getNumberType(),r.getStringType()]);if(t.isNumber)return r.getNumberType();if(t.isString)return r.getStringType();if(t.candidateTypes)return r.getWidenedType(r.getUnionType(t.candidateTypes.map(function(e){return r.getBaseTypeOfLiteralType(e)}),2));if(t.properties&&c(t.properties.get("then"))){var n=a(0,t.properties.get("then").callContexts,!1,r).getCallSignatures().map(function(e){return e.getReturnType()});return r.createPromiseType(n.length?r.getUnionType(n,2):r.getAnyType())}if(t.properties&&c(t.properties.get("push")))return r.createArrayType(a(0,t.properties.get("push").callContexts,!1,r));if(t.properties||t.callContexts||t.constructContexts||t.numberIndexContext||t.stringIndexContext){var s=e.createUnderscoreEscapedMap(),u=[],l=[],d=void 0,f=void 0;
1if(t.properties&&t.properties.forEach(function(e,t){var n=r.createSymbol(4,t);n.type=i(e,r)||r.getAnyType(),s.set(t,n)}),t.callContexts)for(var p=0,_=t.callContexts;p<_.length;p++){var m=_[p];u.push(o(m,r))}if(t.constructContexts)for(var g=0,h=t.constructContexts;g<h.length;g++){var v=h[g];l.push(o(v,r))}return t.numberIndexContext&&(f=r.createIndexInfo(i(t.numberIndexContext,r),!1)),t.stringIndexContext&&(d=r.createIndexInfo(i(t.stringIndexContext,r),!1)),r.createAnonymousType(void 0,s,u,l,d,f)}}function a(t,r,n,i){var a=[];if(r)for(var o=0,s=r;o<s.length;o++){var c=s[o];c.argumentTypes.length>t&&(n?a=e.concatenate(a,e.map(c.argumentTypes.slice(t),function(e){return i.getBaseTypeOfLiteralType(e)})):a.push(i.getBaseTypeOfLiteralType(c.argumentTypes[t])))}if(a.length){var u=i.getWidenedType(i.getUnionType(a,2));return n?i.createArrayType(u):u}}function o(t,r){for(var n=[],a=0;a<t.argumentTypes.length;a++){var o=r.createSymbol(1,e.escapeLeadingUnderscores("arg"+a));o.type=r.getWidenedType(r.getBaseTypeOfLiteralType(t.argumentTypes[a])),n.push(o)}var s=i(t.returnType,r)||r.getVoidType();return r.createSignature(void 0,void 0,void 0,n,s,void 0,t.argumentTypes.length,!1,!1)}function s(e,t){!t||1&t.flags||16384&t.flags||(e.candidateTypes||(e.candidateTypes=[])).push(t)}function c(e){return e&&e.callContexts}t.inferTypeFromReferences=function(e,t,n){for(var a={},o=0,s=e;o<s.length;o++){var c=s[o];n.throwIfCancellationRequested(),r(c,t,a)}return i(a,t)},t.inferTypeForParametersFromReferences=function(t,n,i,a){if(0!==t.length&&n.parameters){for(var o={},s=0,c=t;s<c.length;s++){var u=c[s];a.throwIfCancellationRequested(),r(u,i,o)}var l=154===n.kind?o.constructContexts:o.callContexts;return l&&n.parameters.map(function(t,r){for(var n=[],a=e.isRestParameter(t),o=0,s=l;o<s.length;o++){var c=s[o];
1if(!(c.argumentTypes.length<=r))if(a)for(var u=r;u<c.argumentTypes.length;u++)n.push(i.getBaseTypeOfLiteralType(c.argumentTypes[u]));else n.push(i.getBaseTypeOfLiteralType(c.argumentTypes[r]))}if(n.length){var d=i.getWidenedType(i.getUnionType(n,2));return a?i.createArrayType(d):d}})}}}(r||(r={}))}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="invalidImportSyntax";function n(t,r){var n=e.getSourceFileOfNode(r),a=e.getNamespaceDeclarationNode(r),o=t.program.getCompilerOptions(),s=[];return s.push(i(t,n,r,e.makeImport(a.name,void 0,r.moduleSpecifier,e.getQuotePreference(n,t.preferences)))),e.getEmitModuleKind(o)===e.ModuleKind.CommonJS&&s.push(i(t,n,r,e.createImportEqualsDeclaration(void 0,void 0,a.name,e.createExternalModuleReference(r.moduleSpecifier)))),s}function i(r,n,i,a){var o=e.textChanges.ChangeTracker.with(r,function(e){return e.replaceNode(n,i,a)});return t.createCodeFixActionNoFixId("invalidImportSyntax",o,[e.Diagnostics.Replace_import_with_0,o[0].textChanges[0].newText])}t.registerCodeFix({errorCodes:[e.Diagnostics.A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime.code],getCodeActions:function(t){var r=t.sourceFile,i=e.getTokenAtPosition(r,t.span.start,!1).parent;if(!e.isImportDeclaration(i))return[];return n(t,i)}}),t.registerCodeFix({errorCodes:[e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures.code,e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature.code],getCodeActions:function(i){var a=i.sourceFile,o=e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures.code===i.errorCode?186:187,s=e.findAncestor(e.getTokenAtPosition(a,i.span.start,!1),function(e){return e.kind===o&&e.getStart()===i.span.start&&e.getEnd()===i.span.start+i.span.length});if(!s)return[];var c=s.expression,u=i.program.getTypeChecker().getTypeAtLocation(c);if(!u.symbol||!u.symbol.originatingImport)return[];var l=[],d=u.symbol.originatingImport;e.isImportCall(d)||e.addRange(l,n(i,d));var f=e.textChanges.ChangeTracker.with(i,function(t){return t.replaceNode(a,c,e.createPropertyAccess(c,"default"),{})});return l.push(t.createCodeFixActionNoFixId(r,f,e.Diagnostics.Use_synthetic_default_member)),l}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="strictClassInitialization",n="addMissingPropertyDefiniteAssignmentAssertions",i="addMissingPropertyUndefinedType",a="addMissingPropertyInitializer",o=[e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];function s(t,r){var n=e.getTokenAtPosition(t,r,!1);return e.isIdentifier(n)?e.cast(n.parent,e.isPropertyDeclaration):void 0}function c(i,a){var o=e.textChanges.ChangeTracker.with(i,function(e){return u(e,i.sourceFile,a)});return t.createCodeFixAction(r,o,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,a.getText()],n,e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function u(t,r,n){var i=e.updateProperty(n,n.decorators,n.modifiers,n.name,e.createToken(51),n.type,n.initializer);t.replaceNode(r,n,i)}function l(n,a){var o=e.textChanges.ChangeTracker.with(n,function(e){return d(e,n.sourceFile,a)});return t.createCodeFixAction(r,o,[e.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],i,e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function d(t,r,n){var i=e.createKeywordTypeNode(140),a=e.isUnionTypeNode(n.type)?n.type.types.concat(i):[n.type,i];t.replaceNode(r,n.type,e.createUnionTypeNode(a))}function f(t,r,n,i){var a=e.updateProperty(n,n.decorators,n.modifiers,n.name,n.questionToken,n.type,i);t.replaceNode(r,n,a)}function p(t,r){return function t(r,n){if(2&n.flags)return e.createLiteral("");if(4&n.flags)return e.createNumericLiteral("0");if(8&n.flags)return e.createFalse();if(n.isLiteral())return e.createLiteral(n.value);if(n.isUnion())return e.firstDefined(n.types,function(e){return t(r,e)});if(n.isClass()){var i=e.getClassLikeDeclarationOfSymbol(n.symbol);if(!i||e.hasModifier(i,128))return;var a=e.getFirstConstructorWithBody(i);if(a&&a.parameters.length)return;return e.createNew(e.createIdentifier(n.symbol.name),void 0,void 0)}return}(t,t.getTypeFromTypeNode(r.type))}t.registerCodeFix({errorCodes:o,getCodeActions:function(n){var i=s(n.sourceFile,n.span.start);if(i){var o=[l(n,i),c(n,i)];return e.append(o,function(n,i){var o=p(n.program.getTypeChecker(),i);if(!o)return;var s=e.textChanges.ChangeTracker.with(n,function(e){return f(e,n.sourceFile,
1i,o)});return t.createCodeFixAction(r,s,[e.Diagnostics.Add_initializer_to_property_0,i.name.getText()],a,e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}(n,i)),o}},fixIds:[n,i,a],getAllCodeActions:function(r){return t.codeFixAll(r,o,function(t,o){var c=s(o.file,o.start);if(c)switch(r.fixId){case n:u(t,o.file,c);break;case i:d(t,o.file,c);break;case a:var l=p(r.program.getTypeChecker(),c);if(!l)return;f(t,o.file,c,l);break;default:e.Debug.fail(JSON.stringify(r.fixId))}})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="requireInTs",n=[e.Diagnostics.require_call_may_be_converted_to_an_import.code];function i(t,r,n,i){var a=function(t,r){var n=e.getTokenAtPosition(t,r,!1).parent;if(!e.isRequireCall(n,!0))throw e.Debug.failBadSyntaxKind(n);var i=e.cast(n.parent,e.isVariableDeclaration);return{statement:e.cast(i.parent.parent,e.isVariableStatement),name:e.cast(i.name,e.isIdentifier),required:n.arguments[0]}}(r,n),o=a.statement,s=a.name,c=a.required;t.replaceNode(r,o,e.getAllowSyntheticDefaultImports(i.getCompilerOptions())?e.createImportDeclaration(void 0,void 0,e.createImportClause(s,void 0),c):e.createImportEqualsDeclaration(void 0,void 0,s,e.createExternalModuleReference(c)))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var a=e.textChanges.ChangeTracker.with(n,function(e){return i(e,n.sourceFile,n.span.start,n.program)});return[t.createCodeFixAction(r,a,e.Diagnostics.Convert_require_to_import,r,e.Diagnostics.Convert_all_require_to_import)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){return i(t,r.file,r.start,e.program)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="useDefaultImport",n=[e.Diagnostics.Import_may_be_converted_to_a_default_import.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1);if(e.isIdentifier(n)){var i=n.parent;if(e.isImportEqualsDeclaration(i)&&e.isExternalModuleReference(i.moduleReference))return{importNode:i,name:n,moduleSpecifier:i.moduleReference.expression};if(e.isNamespaceImport(i)){var a=i.parent.parent;return{importNode:a,name:n,moduleSpecifier:a.moduleSpecifier}}}}function a(t,r,n,i){t.replaceNode(r,n.importNode,e.makeImport(n.name,void 0,n.moduleSpecifier,e.getQuotePreference(r,i)))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span.start,c=i(o,s);if(c){var u=e.textChanges.ChangeTracker.with(n,function(e){return a(e,o,c,n.preferences)});return[t.createCodeFixAction(r,u,e.Diagnostics.Convert_to_default_import,r,e.Diagnostics.Convert_all_to_default_imports)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){var n=i(r.file,r.start);n&&a(t,r.file,n,e.preferences)})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){var r="fixAddModuleReferTypeMissingTypeof",n=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here.code];function i(t,r){var n=e.getTokenAtPosition(t,r,!1);return e.Debug.assert(91===n.kind),e.Debug.assert(178===n.parent.kind),n.parent}function a(t,r,n){var i=e.updateImportTypeNode(n,n.argument,n.qualifier,n.typeArguments,!0);t.replaceNode(r,n,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start),u=e.textChanges.ChangeTracker.with(n,function(e){return a(e,o,c)});return[t.createCodeFixAction(r,u,e.Diagnostics.Add_missing_typeof,r,e.Diagnostics.Add_missing_typeof)]},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,function(t,r){return a(t,e.sourceFile,i(r.file,r.start))})}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(t){!function(r){var n,i,a,o,s="Extract Symbol";function c(t){var r=l(t.file,e.getRefactorContextSpan(t)).targetRange;if(void 0!==r){var n=function(t,r){var n=p(t,r),i=n.scopes,a=n.readsAndWrites,o=a.functionErrorsPerScope,s=a.constantErrorsPerScope;return i.map(function(t,r){var n,i,a=function(t){return e.isFunctionLikeDeclaration(t)?"inner function":e.isClassLike(t)?"method":"function"}(t),c=function(t){return e.isClassLike(t)?"readonly field":"constant"}(t),u=e.isFunctionLikeDeclaration(t)?function(t){switch(t.kind){case 154:return"constructor";case 191:case 233:return t.name?"function '"+t.name.text+"'":"anonymous function";case 192:return"arrow function";case 153:return"method '"+t.name.getText();case 155:return"'get "+t.name.getText()+"'";case 156:return"'set "+t.name.getText()+"'";default:e.Debug.assertNever(t)}}(t):e.isClassLike(t)?function(e){return 234===e.kind?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}(t):function(e){return 239===e.kind?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}(t);return 1===u?(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[a,"global"]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"global"])):0===u?(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[a,"module"]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1_scope),[c,"module"])):(n=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[a,u]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,u])),0!==r||e.isClassLike(t)||(i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_enclosing_scope),[c])
1),{functionExtraction:{description:n,errors:o[r]},constantExtraction:{description:i,errors:s[r]}}})}(r,t);if(void 0!==n){for(var i=[],a=e.createMap(),o=[],c=e.createMap(),u=0,d=0,f=n;d<f.length;d++){var _=f[d],m=_.functionExtraction,g=_.constantExtraction;if(0===m.errors.length){var h=m.description;a.has(h)||(a.set(h,!0),i.push({description:h,name:"function_scope_"+u}))}if(0===g.errors.length){h=g.description;c.has(h)||(c.set(h,!0),o.push({description:h,name:"constant_scope_"+u}))}u++}var v=[];return i.length&&v.push({name:s,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:i}),o.length&&v.push({name:s,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:o}),v.length?v:void 0}}}function u(t,r){var n=l(t.file,e.getRefactorContextSpan(t)).targetRange,a=/^function_scope_(\d+)$/.exec(r);if(a){var o=+a[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the function scope index"),function(t,r,n){var a=p(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,u=s.usagesPerScope,l=s.functionErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!l[n].length,"The extraction went missing? How?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o,s){var c,u,l=n.usages,d=n.typeParameterUsages,f=n.substitutions,p=s.program.getTypeChecker(),v=r.getSourceFile(),y=e.getUniqueName(e.isClassLike(r)?"newMethod":"newFunction",v),b=e.isInJavaScriptFile(r),x=e.createIdentifier(y),S=[],k=[];l.forEach(function(t,n){var i;if(!b){var a=p.getTypeOfSymbolAtLocation(t.symbol,t.node);a=p.getBaseTypeOfLiteralType(a),i=p.typeToTypeNode(a,r,1)}var o=e.createParameter(void 0,void 0,void 0,n,void 0,i);S.push(o),2===t.usage&&(u||(u=[])).push(t),k.push(e.createIdentifier(n))});var C=e.arrayFrom(d.values()).map(function(e){return{type:e,declaration:_(e)}}).sort(m),E=0===C.length?void 0:C.map(function(e){return e.declaration}),T=void 0!==E?E.map(function(t){return e.createTypeReferenceNode(t.name,void 0)}):void 0;if(e.isExpression(t)&&!b){var w=p.getContextualType(t);c=p.typeToTypeNode(w,r,1)}var D,A=function(t,r,n,i,a){var o,s=void 0!==n||r.length>0;if(e.isBlock(t)&&!s&&0===i.size)return{body:e.createBlock(t.statements,!0),returnValueProperty:void 0};var c=!1,u=e.createNodeArray(e.isBlock(t)?t.statements.slice(0):[e.isStatement(t)?t:e.createReturn(t)]);if(s||i.size){var l=e.visitNodes(u,function t(a){if(!c&&224===a.kind&&s){var u=g(r,n);return a.expression&&(o||(o="__return"),u.unshift(e.createPropertyAssignment(o,e.visitNode(a.expression,t)))),1===u.length?e.createReturn(u[0].name):e.createReturn(e.createObjectLiteral(u))}var l=c;c=c||e.isFunctionLikeDeclaration(a)||e.isClassLike(a);var d=i.get(e.getNodeId(a).toString()),f=d?e.getSynthesizedDeepClone(d):e.visitEachChild(a,t,e.nullTransformationContext);return c=l,f}).slice();if(s&&!a&&e.isStatement(t)){var d=g(r,n);1===d.length?l.push(e.createReturn(d[0].name)):l.push(e.createReturn(e.createObjectLiteral(d)))}return{body:e.createBlock(l,!0),returnValueProperty:o}}return{body:e.createBlock(u,!0),returnValueProperty:void 0}}(t,a,u,f,!!(o.facts&i.HasReturn)),N=A.body,P=A.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(N),e.isClassLike(r)){var O=b?[]:[e.createToken(112)];o.facts&i.InStaticRegion&&O.push(e.createToken(115)),o.facts&i.IsAsyncFunction&&O.push(e.createToken(120)),D=e.createMethod(void 0,O.length?O:void 0,o.facts&i.IsGenerator?e.createToken(39):void 0,x,void 0,E,S,c,N)}else D=e.createFunctionDeclaration(void 0,o.facts&i.IsAsyncFunction?[e.createToken(120)]:void 0,o.facts&i.IsGenerator?e.createToken(39):void 0,x,E,S,c,N);var F=e.textChanges.ChangeTracker.fromContext(s),M=function(t,r){return e.find(function(t){if(e.isFunctionLikeDeclaration(t)){var r=t.body;if(e.isBlock(r))return r.statements}else{if(e.isModuleBlock(t)||e.isSourceFile(t))return t.statements;if(e.isClassLike(t))return t.members;e.assertTypeIsNever(t)}return e.emptyArray}(r),function(r){return r.pos>=t&&e.isFunctionLikeDeclaration(r)&&!e.isConstructorDeclaration(r)})}((h(o.range)?e.last(o.range):o.range).end,r);M?F.insertNodeBefore(s.file,M,D,!0):F.insertNodeAtEndOfScope(s.file,r,D);var I=[],L=function(t,r,n){var a=e.createIdentifier(n);if(e.isClassLike(t)){var o=r.facts&i.InStaticRegion?e.createIdentifier(t.name.text):e.createThis();return e.createPropertyAccess(o,a)}return a}(r,o,y),R=e.createCall(L,T,k);if(o.facts&i.IsGenerator&&(R=e.createYield(e.createToken(39),R)),o.facts&i.IsAsyncFunction&&(
1R=e.createAwait(R)),a.length&&!u)if(e.Debug.assert(!P),e.Debug.assert(!(o.facts&i.HasReturn)),1===a.length){var j=a[0];I.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(j.name),e.getSynthesizedDeepClone(j.type),R)],j.parent.flags)))}else{for(var B=[],z=[],q=a[0].parent.flags,U=!1,V=0,J=a;V<J.length;V++){var j=J[V];B.push(e.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(j.name)));var H=p.typeToTypeNode(p.getBaseTypeOfLiteralType(p.getTypeAtLocation(j)),r,1);z.push(e.createPropertySignature(void 0,j.symbol.name,void 0,H,void 0)),U=U||void 0!==j.type,q&=j.parent.flags}var W=U?e.createTypeLiteralNode(z):void 0;W&&e.setEmitFlags(W,1),I.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createObjectBindingPattern(B),W,R)],q)))}else if(a.length||u){if(a.length)for(var K=0,G=a;K<G.length;K++){var j=G[K],X=j.parent.flags;2&X&&(X=-3&X|1),I.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(j.symbol.name,ee(j.type))],X)))}P&&I.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(P,ee(c))],1)));var Y=g(a,u);P&&Y.unshift(e.createShorthandPropertyAssignment(P)),1===Y.length?(e.Debug.assert(!P),I.push(e.createStatement(e.createAssignment(Y[0].name,R))),o.facts&i.HasReturn&&I.push(e.createReturn())):(I.push(e.createStatement(e.createAssignment(e.createObjectLiteral(Y),R))),P&&I.push(e.createReturn(e.createIdentifier(P))))}else o.facts&i.HasReturn?I.push(e.createReturn(R)):h(o.range)?I.push(e.createStatement(R)):I.push(R);h(o.range)?F.replaceNodeRangeWithNodes(s.file,e.first(o.range),e.last(o.range),I):F.replaceNodeWithNodes(s.file,o.range,I);var $=F.getChanges(),Q=(h(o.range)?e.first(o.range):o.range).getSourceFile().fileName,Z=e.getRenameLocation($,Q,y,!1);return{renameFilename:Q,renameLocation:Z,edits:$};function ee(t){if(void 0!==t){for(var r=e.getSynthesizedDeepClone(t),n=r;e.isParenthesizedTypeNode(n);)n=n.type;return e.isUnionTypeNode(n)&&e.find(n.types,function(e){return 140===e.kind})?r:e.createUnionTypeNode([r,e.createKeywordTypeNode(140)])}}}(c,o[n],u[n],d,t,r)}(n,t,o)}var s=/^constant_scope_(\d+)$/.exec(r);if(s){o=+s[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the constant scope index"),function(t,r,n){var a=p(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,u=s.usagesPerScope,l=s.constantErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!l[n].length,"The extraction went missing? How?"),e.Debug.assert(0===d.length,"Extract constant accepted a range containing a variable declaration?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o){var s=n.substitutions,c=o.program.getTypeChecker(),u=r.getSourceFile(),l=e.getUniqueName(e.isClassLike(r)?"newProperty":"newLocal",u),d=e.isInJavaScriptFile(r),p=d||!c.isContextSensitive(t)?void 0:c.typeToTypeNode(c.getContextualType(t),r,1),_=function(t,r){return r.size?function t(n){var i=r.get(e.getNodeId(n).toString());return i?e.getSynthesizedDeepClone(i):e.visitEachChild(n,t,e.nullTransformationContext)}(t):t}(t,s);e.suppressLeadingAndTrailingTrivia(_);var m=e.textChanges.ChangeTracker.fromContext(o);if(e.isClassLike(r)){e.Debug.assert(!d);var g=[];g.push(e.createToken(112)),a&i.InStaticRegion&&g.push(e.createToken(115)),g.push(e.createToken(132));var h=e.createProperty(void 0,g,l,void 0,p,_),v=e.createPropertyAccess(a&i.InStaticRegion?e.createIdentifier(r.name.getText()):e.createThis(),e.createIdentifier(l)),y=t.pos,x=function(t,r){var n,i=r.members;e.Debug.assert(i.length>0);for(var a=!0,o=0,s=i;o<s.length;o++){var c=s[o];if(c.pos>t)return n||i[0];if(a&&!e.isPropertyDeclaration(c)){if(void 0!==n)return c;a=!1}n=c}return e.Debug.assert(void 0!==n),n}(y,r);m.insertNodeBefore(o.file,x,h,!0),m.replaceNode(o.file,t,v)}else{var S=e.createVariableDeclaration(l,p,_),k=function(t,r){for(var n;void 0!==t&&t!==r;){if(e.isVariableDeclaration(t)&&t.initializer===n&&e.isVariableDeclarationList(t.parent)&&t.parent.declarations.length>1)return t;n=t,t=t.parent}}(t,r);
1if(k){m.insertNodeBefore(o.file,k,S);var v=e.createIdentifier(l);m.replaceNode(o.file,t,v)}else if(215===t.parent.kind&&r===e.findAncestor(t,f)){var C=e.createVariableStatement(void 0,e.createVariableDeclarationList([S],2));m.replaceNode(o.file,t.parent,C)}else{var C=e.createVariableStatement(void 0,e.createVariableDeclarationList([S],2)),x=function(t,r){var n;e.Debug.assert(!e.isClassLike(r));for(var i=t;i!==r;i=i.parent)f(i)&&(n=i);for(var i=(n||t).parent;;i=i.parent){if(b(i)){for(var a=void 0,o=0,s=i.statements;o<s.length;o++){var c=s[o];if(c.pos>t.pos)break;a=c}return!a&&e.isCaseClause(i)?(e.Debug.assert(e.isSwitchStatement(i.parent.parent)),i.parent.parent):(e.Debug.assert(void 0!==a),a)}if(i===r){e.Debug.fail("Didn't encounter a block-like before encountering scope");break}}}(t,r);if(0===x.pos?m.insertNodeAtTopOfFile(o.file,C,!1):m.insertNodeBefore(o.file,x,C,!1),215===t.parent.kind)m.deleteNode(o.file,t.parent,e.textChanges.useNonAdjustedPositions);else{var v=e.createIdentifier(l);m.replaceNode(o.file,t,v)}}}var E=m.getChanges(),T=t.getSourceFile().fileName,w=e.getRenameLocation(E,T,l,!0);return{renameFilename:T,renameLocation:w,edits:E}}(e.isExpression(c)?c:c.statements[0].expression,o[n],u[n],t.facts,r)}(n,t,o)}e.Debug.fail("Unrecognized action name")}function l(t,r){var a=r.length;if(0===a)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractEmpty)]};var o=v(e.getTokenAtPosition(t,r.start,!1),t,r),s=v(e.findTokenOnLeftOfPosition(t,e.textSpanEnd(r)),t,r),c=[],u=i.None;if(!o||!s)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};if(o.parent!==s.parent)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};if(o!==s){if(!b(o.parent))return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};for(var l=[],f=0,p=o.parent.statements;f<p.length;f++){var _=p[f];if(_===o||l.length){var m=y(_);if(m)return{errors:m};l.push(_)}if(_===s)break}return l.length?{targetRange:{range:l,facts:u,declarations:c}}:{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]}}
1if(e.isReturnStatement(o)&&!o.expression)return{errors:[e.createFileDiagnostic(t,r.start,a,n.cannotExtractRange)]};var g=function(t){if(e.isReturnStatement(t)){if(t.expression)return t.expression}else if(e.isVariableStatement(t)){for(var r=0,n=void 0,i=0,a=t.declarationList.declarations;i<a.length;i++){var o=a[i];o.initializer&&(r++,n=o.initializer)}if(1===r)return n}else if(e.isVariableDeclaration(t)&&t.initializer)return t.initializer;return t}(o),h=function(t){if(e.isIdentifier(e.isExpressionStatement(t)?t.expression:t))return[e.createDiagnosticForNode(t,n.cannotExtractIdentifier)];return}(g)||y(g);return h?{errors:h}:{targetRange:{range:d(g),facts:u,declarations:c}};function y(t){var a;if(function(e){e[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return"}(a||(a={})),e.Debug.assert(t.pos<=t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(!e.positionIsSynthesized(t.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),!e.isStatement(t)&&(!e.isExpressionNode(t)||!function(e){switch(e.parent.kind){case 272:return!1}switch(e.kind){case 9:return 243!==e.parent.kind&&247!==e.parent.kind;case 203:case 179:case 181:return!1;case 71:return 181!==e.parent.kind&&247!==e.parent.kind&&251!==e.parent.kind}return!0}(t)))return[e.createDiagnosticForNode(t,n.statementOrExpressionExpected)];if(4194304&t.flags)return[e.createDiagnosticForNode(t,n.cannotExtractAmbientBlock)];var o,s=e.getContainingClass(t);s&&function(t,r){for(var n=t;n!==r;){if(151===n.kind){e.hasModifier(n,32)&&(u|=i.InStaticRegion);break}if(148===n.kind){154===e.getContainingFunction(n).kind&&(u|=i.InStaticRegion);break}153===n.kind&&e.hasModifier(n,32)&&(u|=i.InStaticRegion),n=n.parent}}(t,s);var l,d=4;return function t(a){if(o)return!0;if(e.isDeclaration(a)){var s=231===a.kind?a.parent.parent:a;if(e.hasModifier(s,1))return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractExportedEntity)),!0;c.push(a.symbol)}switch(a.kind){case 243:return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractImport)),!0;case 97:if(186===a.parent.kind){var f=e.getContainingClass(a);if(f.pos<r.start||f.end>=r.start+r.length)return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractSuper)),!0}else u|=i.UsesThis}if(!a||e.isFunctionLikeDeclaration(a)||e.isClassLike(a)){switch(a.kind){case 233:case 234:e.isSourceFile(a.parent)&&void 0===a.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(a,n.functionWillNotBeVisibleInTheNewScope))}return!1}var p=d;switch(a.kind){case 216:case 229:d=0;break;case 212:a.parent&&229===a.parent.kind&&a.parent.finallyBlock===a&&(d=4);break;case 265:d|=1;break;default:e.isIterationStatement(a,!1)&&(d|=3)}switch(a.kind){case 173:case 99:u|=i.UsesThis;break;case 227:var _=a.label;(l||(l=[])).push(_.escapedText),e.forEachChild(a,t),l.pop();break;case 223:case 222:var _=a.label;_?e.contains(l,_.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):d&(223===a.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 196:u|=i.IsAsyncFunction;break;case 202:u|=i.IsGenerator;break;case 224:4&d?u|=i.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(a,t)}d=p}(t),o}}function d(t){return e.isStatement(t)?[t]:e.isExpressionNode(t)?e.isExpressionStatement(t.parent)?[t.parent]:t:void 0}function f(t){return e.isFunctionLikeDeclaration(t)||e.isSourceFile(t)||e.isModuleBlock(t)||e.isClassLike(t)}function p(t,r){var a=r.file,o=function(t){var r=h(t.range)?e.first(t.range):t.range;if(t.facts&i.UsesThis){var n=e.getContainingClass(r);if(n){var a=e.findAncestor(r,e.isFunctionLikeDeclaration);return a?[a,n]:[n]}}for(var o=[];;)if(148===(r=r.parent).kind&&(r=e.findAncestor(r,function(t){return e.isFunctionLikeDeclaration(t)}).parent),f(r)&&(o.push(r),273===r.kind))return o}(t);return{scopes:o,readsAndWrites:function(t,r,a,o,s,c){var u,l,d=e.createMap(),f=[],p=[],_=[],m=[],g=[],v=e.createMap(),y=[],b=h(t.range)?1===t.range.length&&e.isExpressionStatement
1(t.range[0])?t.range[0].expression:void 0:t.range;if(void 0===b){var x=t.range,S=e.first(x).getStart(),k=e.last(x).end;l=e.createFileDiagnostic(o,S,k-S,n.expressionExpected)}else 18432&s.getTypeAtLocation(b).flags&&(l=e.createDiagnosticForNode(b,n.uselessConstantType));for(var C=0,E=r;C<E.length;C++){var T=E[C];f.push({usages:e.createMap(),typeParameterUsages:e.createMap(),substitutions:e.createMap()}),p.push(e.createMap()),_.push(e.isFunctionLikeDeclaration(T)&&233!==T.kind?[e.createDiagnosticForNode(T,n.cannotExtractToOtherFunctionLike)]:[]);var w=[];l&&w.push(l),e.isClassLike(T)&&e.isInJavaScriptFile(T)&&w.push(e.createDiagnosticForNode(T,n.cannotExtractToJSClass)),e.isArrowFunction(T)&&!e.isBlock(T.body)&&w.push(e.createDiagnosticForNode(T,n.cannotExtractToExpressionArrowFunction)),m.push(w)}var D=e.createMap(),A=h(t.range)?e.createBlock(t.range):t.range,N=h(t.range)?e.first(t.range):t.range,P=(O=N,!!e.findAncestor(O,function(t){return e.isDeclarationWithTypeParameters(t)&&0!==e.getEffectiveTypeParameterDeclarations(t).length}));var O;if(function c(u,l){if(void 0===l&&(l=1),P){var d=s.getTypeAtLocation(u);J(d)}if(e.isDeclaration(u)&&u.symbol&&g.push(u),e.isAssignmentExpression(u))c(u.left,2),c(u.right);else if(e.isUnaryExpressionWithWrite(u))c(u.operand,2);else if(e.isPropertyAccessExpression(u)||e.isElementAccessExpression(u))e.forEachChild(u,c);else if(e.isIdentifier(u)){if(!u.parent)return;if(e.isQualifiedName(u.parent)&&u!==u.parent.left)return;if(e.isPropertyAccessExpression(u.parent)&&u!==u.parent.expression)return;!function(c,u,l){var d=function(c,u,l){var d=H(c);if(d){var g=e.getSymbolId(d).toString(),h=D.get(g);if(h&&h>=u)return g;if(D.set(g,u),h){for(var v=0,y=f;v<y.length;v++){var b=y[v],x=b.usages.get(c.text);x&&b.usages.set(c.text,{usage:u,symbol:d,node:c})}return g}var S=d.getDeclarations(),k=S&&e.find(S,function(e){return e.getSourceFile()===o});if(k&&!e.rangeContainsStartEnd(a,k.getStart(),k.end)){if(t.facts&i.IsGenerator&&2===u){for(var C=e.createDiagnosticForNode(c,n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),E=0,T=_;E<T.length;E++){var w=T[E];w.push(C)}for(var A=0,N=m;A<N.length;A++){var w=N[A];w.push(C)}}for(var P=0;P<r.length;P++){var O=r[P],F=s.resolveName(d.name,O,d.flags,!1);if(F!==d&&!p[P].has(g)){var M=W(d.exportSymbol||d,O,l);if(M)p[P].set(g,M);else if(l){if(!(262144&d.flags)){var C=e.createDiagnosticForNode(c,n.typeWillNotBeVisibleInTheNewScope);_[P].push(C),m[P].push(C)}}else f[P].usages.set(c.text,{usage:u,symbol:d,node:c})}}return g}}}(c,u,l);if(d)for(var g=0;g<r.length;g++){var h=p[g].get(d);h&&f[g].substitutions.set(e.getNodeId(c).toString(),h)}}(u,l,e.isPartOfTypeNode(u))}else e.forEachChild(u,c)}(A),P&&!h(t.range)){var F=s.getContextualType(t.range);J(F)}if(d.size>0){for(var M=e.createMap(),I=0,L=N;void 0!==L&&I<r.length;L=L.parent)if(L===r[I]&&(M.forEach(function(e,t){f[I].typeParameterUsages.set(t,e)}),I++),e.isDeclarationWithTypeParameters(L))for(var R=0,j=e.getEffectiveTypeParameterDeclarations(L);R<j.length;R++){var B=j[R],z=s.getTypeAtLocation(B);d.has(z.id.toString())&&M.set(z.id.toString(),z)}e.Debug.assert(I===r.length)}if(g.length){var q=e.isBlockScope(r[0],r[0].parent)?r[0]:e.getEnclosingBlockScopeContainer(r[0]);e.forEachChild(q,function r(n){if(n===t.range||h(t.range)&&t.range.indexOf(n)>=0)return;var i=e.isIdentifier(n)?H(n):s.getSymbolAtLocation(n);if(i){var a=e.find(g,function(e){return e.symbol===i});if(a)if(e.isVariableDeclaration(a)){var o=a.symbol.id.toString();v.has(o)||(y.push(a),v.set(o,!0))}else u=u||a}e.forEachChild(n,r)})}for(var U=function(r){var i=f[r];if(r>0&&(i.usages.size>0||i.typeParameterUsages.size>0)){var a=h(t.range)?t.range[0]:t.range;m[r].push(e.createDiagnosticForNode(a,n.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(f[r].usages.forEach(function(t){2===t.usage&&(s=!0,106500&t.symbol.flags&&t.symbol.valueDeclaration&&e.hasModifier(t.symbol.valueDeclaration,64)&&(o=t.symbol.valueDeclaration))}),e.Debug.assert(h(t.range)||0===y.length),s&&!h(t.range)){var c=e.createDiagnosticForNode(t.range,n.cannotWriteInExpression);_[r].push(c),m[r].push(c)}else if(o&&r>0){var c=e.createDiagnosticForNode(o,n.cannotExtractReadonlyPropertyInitializerOutsideConstructor);_[r].push(c),m[r].push(c)}else if(u){var c=e.createDiagnosticForNode(u,n.cannotExtractExportedEntity);_[r].push(c),m[r].push(c)}},V=0;V<r.length;V++)U(V);return{target:A,usagesPerScope:f,functionErrorsPerScope:_,constantErrorsPerScope:m,exposedVariableDeclarations:y};function J(e){for(var t=s.getSymbolWalker(function(){return c.throwIfCancellationRequested(),!0}),r=t.walkType(e).visitedTypes,n=0,i=r;n<i.length;n++){var a=i[n];a.isTypeParameter()&&d.set(a.id.toString(),a)}}function H(t){return t.parent&&e.isShorthandPropertyAssignment(t.parent)&&t.parent.name===t?s.getShorthandAssignmentValueSymbol(t.parent):s.get
1SymbolAtLocation(t)}function W(t,r,n){if(t){var i=t.getDeclarations();if(i&&i.some(function(e){return e.parent===r}))return e.createIdentifier(t.name);var a=W(t.parent,r,n);if(void 0!==a)return n?e.createQualifiedName(a,e.createIdentifier(t.name)):e.createPropertyAccess(a,t.name)}}}(t,o,function(t,r){return h(t.range)?{pos:e.first(t.range).getStart(r),end:e.last(t.range).getEnd()}:t.range}(t,a),a,r.program.getTypeChecker(),r.cancellationToken)}}function _(e){var t,r=e.symbol;if(r&&r.declarations)for(var n=0,i=r.declarations;n<i.length;n++){var a=i[n];(void 0===t||a.pos<t.pos)&&(t=a)}return t}function m(t,r){var n=t.type,i=t.declaration,a=r.type,o=r.declaration;return e.compareProperties(i,o,"pos",e.compareValues)||e.compareStringsCaseSensitive(n.symbol?n.symbol.getName():"",a.symbol?a.symbol.getName():"")||e.compareValues(n.id,a.id)}function g(t,r){var n=e.map(t,function(t){return e.createShorthandPropertyAssignment(t.symbol.name)}),i=e.map(r,function(t){return e.createShorthandPropertyAssignment(t.symbol.name)});return void 0===n?i:void 0===i?n:n.concat(i)}function h(t){return e.isArray(t)}function v(t,r,n){if(t)for(;t.parent;){if(e.isSourceFile(t.parent)||!y(n,t.parent,r))return t;t=t.parent}}function y(t,r,n){return e.textSpanContainsPosition(t,r.getStart(n))&&r.getEnd()<=e.textSpanEnd(t)}function b(e){switch(e.kind){case 212:case 273:case 239:case 265:return!0;default:return!1}}t.registerRefactor(s,{getAvailableActions:c,getEditsForAction:u}),r.getAvailableActions=c,r.getEditsForAction=u,function(t){function r(t){return{message:t,code:0,category:e.DiagnosticCategory.Message,key:t}}t.cannotExtractRange=r("Cannot extract range."),t.cannotExtractImport=r("Cannot extract import statement."),t.cannotExtractSuper=r("Cannot extract super call."),t.cannotExtractEmpty=r("Cannot extract empty range."),t.expressionExpected=r("expression expected."),t.uselessConstantType=r("No reason to extract constant of type."),t.statementOrExpressionExpected=r("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=r("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=r("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=r("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=r("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=r("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=r("Function will not visible in the new scope."),t.cannotExtractIdentifier=r("Select more than a single identifier."),t.cannotExtractExportedEntity=r("Cannot extract exported declaration"),t.cannotWriteInExpression=r("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=r("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=r("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=r("Cannot access variables from nested scopes"),t.cannotExtractToOtherFunctionLike=r("Cannot extract method to a function-like scope that is not a function"),t.cannotExtractToJSClass=r("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=r("Cannot extract constant to an arrow function without a block")}(n=r.Messages||(r.Messages={})),function(e){e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.InStaticRegion=16]="InStaticRegion"}(i||(i={})),r.getRangeToExtract=l,function(e){e[e.Module=0]="Module",e[e.Global=1]="Global"}(a||(a={})),function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(o||(o={}))}(t.extractSymbol||(t.extractSymbol={}))}(e.refactor||(e.refactor={}))}(u||(u={})),function(e){!function(t){!function(r){var n="Generate 'get' and 'set' accessors",i=e.Diagnostics.Generate_get_and_set_accessors.message;function a(t){return e.isParameterPropertyDeclaration(t)||e.isPropertyDeclaration(t)||e.isPropertyAssignment(t)}function o(t,r){return e.isIdentifier(r)?e.createIdentifier(t):e.createLiteral(t)}function s(t,r,n){var i=r?n.name:e.createThis();return e.isIdentifier(t)?e.createPropertyAccess(i,t):e.createElementAccess(i,e.createLiteral(t))}function c(t,r,n){var i=e.append(t?void 0:[e.createToken(n)],r?e.createToken(115):void 0);return i&&e.createNodeArray(i)}function u(t,r){var n=t.startPosition,i=t.endPosition,s=e.getTokenAtPosition(r,n,!1),c=e.f
1indAncestor(s.parent,a);if(c&&e.rangeOverlapsWithStartEnd(c.name,n,i)&&function(t){return e.isIdentifier(t)||e.isStringLiteral(t)}(c.name)&&124===(124|e.getModifierFlags(c))){var u=c.name.text,l=function(e){return 95===e.charCodeAt(0)}(u),d=o(l?u:e.getUniqueName("_"+u,r),c.name),f=o(l?e.getUniqueName(u.substring(1),r):u,c.name);return{isStatic:e.hasStaticModifier(c),isReadonly:e.hasReadonlyModifier(c),type:e.getTypeAnnotationNode(c),container:148===c.kind?c.parent.parent:c.parent,originalName:c.name,declaration:c,fieldName:d,accessorName:f,renameAccessor:l}}}function l(t,r,n,i,a){e.isParameterPropertyDeclaration(i)?t.insertNodeAtClassStart(r,a,n):e.isPropertyAssignment(i)?t.insertNodeAfterComma(r,i,n):t.insertNodeAfter(r,i,n)}t.registerRefactor(n,{getEditsForAction:function(t,r){var n=t.file,i=u(t,n);if(!i)return;var a=e.isSourceFileJavaScript(n),o=e.textChanges.ChangeTracker.fromContext(t),d=i.isStatic,f=i.isReadonly,p=i.fieldName,_=i.accessorName,m=i.originalName,g=i.type,h=i.container,v=i.declaration,y=i.renameAccessor;e.suppressLeadingAndTrailingTrivia(p),e.suppressLeadingAndTrailingTrivia(v),e.suppressLeadingAndTrailingTrivia(h);var b=e.isClassLike(h),x=-65&e.getModifierFlags(v),S=b?!x||8&x?c(a,d,114):e.createNodeArray(e.createModifiersFromModifierFlags(x)):void 0,k=b?c(a,d,112):void 0;!function(t,r,n,i,a){e.isPropertyDeclaration(n)?function(t,r,n,i,a){var o=e.updateProperty(n,n.decorators,a,i,n.questionToken||n.exclamationToken,n.type,n.initializer);t.replaceNode(r,n,o)}(t,r,n,i,a):e.isPropertyAssignment(n)?function(t,r,n,i){var a=e.updatePropertyAssignment(n,i,n.initializer);t.replacePropertyAssignment(r,n,a)}(t,r,n,i):t.replaceNode(r,n,e.updateParameter(n,n.decorators,a,n.dotDotDotToken,e.cast(i,e.isIdentifier),n.questionToken,n.type,n.initializer))}(o,n,v,p,k);var C=function(t,r,n,i,a,o){return e.createGetAccessor(void 0,i,r,void 0,n,e.createBlock([e.createReturn(s(t,a,o))],!0))}(p,_,g,S,d,h);if(e.suppressLeadingAndTrailingTrivia(C),l(o,n,C,v,h),f){var E=e.getFirstConstructorWithBody(h);E&&function(t,r,n,i,a){if(!n.body)return;var o=r.file,s=r.program,c=r.cancellationToken,u=e.mapDefined(e.FindAllReferences.getReferenceEntriesForNode(a.parent.pos,a,s,[o],c),function(t){return"node"===t.type&&e.rangeContainsRange(n,t.node)&&e.isIdentifier(t.node)&&e.isWriteAccess(t.node)?t.node:void 0});e.forEach(u,function(r){var n=r.parent,a=e.createIdentifier(i.text),s=e.isBinaryExpression(n)?e.updateBinary(n,a,n.right,n.operatorToken):e.isPropertyAccessExpression(n)?e.updatePropertyAccess(n,n.expression,a):e.Debug.fail("Unexpected write access token");t.replaceNode(o,n,s)})}(o,t,E,p,m)}else{var T=function(t,r,n,i,a,o){return e.createSetAccessor(void 0,i,r,[e.createParameter(void 0,void 0,void 0,e.createIdentifier("value"),void 0,n)],e.createBlock([e.createStatement(e.createAssignment(s(t,a,o),e.createIdentifier("value")))],!0))}(p,_,g,S,d,h);e.suppressLeadingAndTrailingTrivia(T),l(o,n,T,v,h)}var w=o.getChanges(),D=n.fileName,A=y?_:p,N=(e.isIdentifier(A)?0:-1)+e.getRenameLocation(w,D,A.text,e.isParameter(v));return{renameFilename:D,renameLocation:N,edits:w}},getAvailableActions:function(e){var t=e.file;return u(e,t)?[{name:n,description:i,actions:[{name:n,description:i}]}]:void 0}})}(t.generateGetAccessorAndSetAccessor||(t.generateGetAccessorAndSetAccessor={}))}(e.refactor||(e.refactor={}))}(u||(u={})),function(e){!function(t){function r(t){var r=function(t){var r=t.file,n=e.createTextRangeFromSpan(e.getRefactorContextSpan(t)),i=r.statements,a=e.findIndex(i,function(e){return e.end>n.pos});if(-1!==a){var o=i[a];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,n))return{toMove:[i[a]],afterLast:i[a+1]};if(!(n.pos>o.getStart(r))){var s=e.findIndex(i,function(e){return e.end>n.end},a);if(-1===s||!(0===s||i[s].getStart(r)<n.end))return{toMove:i.slice(a,-1===s?i.length:s),afterLast:-1===s?void 0:i[s]}}}}(t);if(void 0!==r){var n=[],i=[],a=r.toMove,o=r.afterLast;return e.getRangesWhere(a,function(t){return!function(t){switch(t.kind){case 243:return!0;case 242:return!e.hasModifier(t,1);case 213:return t.declarationList.declarations.every(function(t){return t.initializer&&e.isRequireCall(t.initializer,!0)});default:return!1}}(t)},function(e,t){for(var r=e;r<t;r++)n.push(a[r]);
1i.push({first:a[e],afterLast:o})}),0===n.length?void 0:{all:n,ranges:i}}}function n(e,t,r){for(var n=0,i=t;n<i.length;n++){var a=i[n],o=a.first,s=a.afterLast;r.deleteNodeRangeExcludingEnd(e,o,s)}}function i(e){return 243===e.kind?e.moduleSpecifier:242===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function a(t,r){if(e.isImportDeclaration(t))e.isStringLiteral(t.moduleSpecifier)&&r(t);else if(e.isImportEqualsDeclaration(t))e.isExternalModuleReference(t.moduleReference)&&e.isStringLiteralLike(t.moduleReference.expression)&&r(t);else if(e.isVariableStatement(t))for(var n=0,i=t.declarationList.declarations;n<i.length;n++){var a=i[n];a.initializer&&e.isRequireCall(a.initializer,!0)&&r(a)}}function o(t,r,n,i,a){if(n=e.ensurePathIsNonModuleName(n),i){var o=r.map(function(t){return e.createImportSpecifier(void 0,e.createIdentifier(t))});return e.makeImportIfNecessary(t,o,n,a)}e.Debug.assert(!t);var u=r.map(function(t){return e.createBindingElement(void 0,void 0,t)});return u.length?s(e.createObjectBindingPattern(u),void 0,c(e.createLiteral(n))):void 0}function s(t,r,n,i){return void 0===i&&(i=2),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(t,r,n)],i))}function c(t){return e.createCall(e.createIdentifier("require"),void 0,[t])}function u(t,r,n,i){switch(r.kind){case 243:!function(e,t,r,n){if(!t.importClause)return;var i=t.importClause,a=i.name,o=i.namedBindings,s=!a||n(a),c=!o||(245===o.kind?n(o.name):o.elements.every(function(e){return n(e.name)}));if(s&&c)r.deleteNode(e,t);else if(a&&s&&r.deleteNode(e,a),o)if(c)r.deleteNode(e,o);else if(246===o.kind)for(var u=0,l=o.elements;u<l.length;u++){var d=l[u];n(d.name)&&r.deleteNodeInList(e,d)}}(t,r,n,i);break;case 242:i(r.name)&&n.deleteNode(t,r);break;case 231:!function(t,r,n,i){var a=r.name;switch(a.kind){case 71:i(a)&&n.deleteNode(t,a);break;case 180:break;case 179:if(a.elements.every(function(t){return e.isIdentifier(t.name)&&i(t.name)}))n.deleteNode(t,e.isVariableDeclarationList(r.parent)&&1===r.parent.declarations.length?r.parent.parent:r);else for(var o=0,s=a.elements;o<s.length;o++){var c=s[o];e.isIdentifier(c.name)&&i(c.name)&&n.deleteNode(t,c.name)}}}(t,r,n,i);break;default:e.Debug.assertNever(r)}}function l(t){switch(t.kind){case 242:case 247:case 244:return!0;case 231:return d(t);case 181:return e.isVariableDeclaration(t.parent.parent)&&d(t.parent.parent);default:return!1}}function d(t){return e.isSourceFile(t.parent.parent.parent)&&t.initializer&&e.isRequireCall(t.initializer,!0)}function f(t,r,n){switch(t.kind){case 243:var i=t.importClause;if(!i)return;var a=i.name&&n(i.name)?i.name:void 0,o=i.namedBindings&&function(t,r){if(245===t.kind)return r(t.name)?t:void 0;var n=t.elements.filter(function(e){return r(e.name)});return n.length?e.createNamedImports(n):void 0}(i.namedBindings,n);return a||o?e.createImportDeclaration(void 0,void 0,e.createImportClause(a,o),r):void 0;case 242:return n(t.name)?t:void 0;case 231:var u=function(t,r){switch(t.kind){case 71:return r(t)?t:void 0;case 180:return t;case 179:var n=t.elements.filter(function(t){return t.propertyName||!e.isIdentifier(t.name)||r(t.
1name)});return n.length?e.createObjectBindingPattern(n):void 0}}(t.name,n);return u?s(u,t.type,c(r),t.parent.flags):void 0;default:return e.Debug.assertNever(t)}}function p(t,r,n){t.forEachChild(function t(i){if(e.isIdentifier(i)&&!e.isDeclarationName(i)){var a=r.getSymbolAtLocation(i);a&&n(a)}else i.forEachChild(t)})}t.registerRefactor("Move to a new file",{getAvailableActions:function(t){if(t.preferences.allowTextChangesInNewFiles&&void 0!==r(t)){var n=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file);return[{name:"Move to a new file",description:n,actions:[{name:"Move to a new file",description:n}]}]}},getEditsForAction:function(t,s){e.Debug.assert("Move to a new file"===s);var d=e.Debug.assertDefined(r(t));return{edits:e.textChanges.ChangeTracker.with(t,function(r){return function(t,r,s,d,C,E){var T=r.getTypeChecker(),w=function(t,r,n){for(var i=new _,a=new _,o=new _,s=0,c=r;s<c.length;s++){var u=c[s];h(u,function(t){i.add(e.Debug.assertDefined(e.isExpressionStatement(t)?n.getSymbolAtLocation(t.expression.left):t.symbol))})}for(var d=0,f=r;d<f.length;d++){var u=f[d];p(u,n,function(e){if(e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var n=r[t];l(n)?a.add(e):m(n)&&!i.has(e)&&o.add(e)}})}for(var g=a.clone(),v=new _,y=0,b=t.statements;y<b.length;y++){var u=b[y];e.contains(r,u)||p(u,n,function(e){i.has(e)&&v.add(e),g.delete(e)})}return{movedSymbols:i,newFileImportsFromOldFile:o,oldFileImportsFromNewFile:v,oldImportsNeededByNewFile:a,unusedImportsFromOldFile:g}}(t,s.all,T),D=e.getDirectoryPath(t.fileName),A=e.extensionFromPath(t.fileName),N=function(t,r,n,i){for(var a=t,o=1;;o++){var s=e.combinePaths(n,a+r);if(!i.fileExists(s))return a;a=t+"."+o}}((O=w.movedSymbols,O.forEachEntry(e.symbolNameNoDefault)||"newFile"),A,D,C),P=N+A;var O;d.createNewFile(t,e.combinePaths(D,P),function(t,r,s,l,d,p,_){var C=d.getTypeChecker();if(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)return n(t,l.ranges,s),l.all;var E=!!t.externalModuleIndicator,T=e.getQuotePreference(t,_),w=function(t,r,n,i){var a,s=[];return t.forEach(function(t){"default"===t.escapedName?a=e.createIdentifier(e.symbolNameNoDefault(t)):s.push(t.name)}),o(a,s,r,n,i)}(r.oldFileImportsFromNewFile,p,E,T);w&&s.insertNodeBefore(t,t.statements[0],w,!0);return function(t,r,n,i,o){for(var s=0,c=t.statements;s<c.length;s++){var l=c[s];e.contains(r,l)||a(l,function(e){return u(t,e,n,function(e){return i.has(o.getSymbolAtLocation(e))})})}}(t,l.all,s,r.unusedImportsFromOldFile,C),n(t,l.ranges,s),function(t,r,n,o,s){for(var l=r.getTypeChecker(),d=function(r){if(r===n)return"continue";for(var d=function(d){a(d,function(a){if(l.getSymbolAtLocation(i(a))===n.symbol){var p=function(t){var r=e.isBindingElement(t.parent)?e.getPropertySymbolFromBindingElement(l,t.parent):e.skipAlias(l.getSymbolAtLocation(t),l);return!!r&&o.has(r)};u(r,a,t,p);var _=e.combinePaths(e.getDirectoryPath(i(a).text),s),m=f(a,e.createLiteral(_),p);m&&t.insertNodeAfter(r,d,m);var g=function(t){switch(t.kind){case 243:return t.importClause&&t.importClause.namedBindings&&245===t.importClause.namedBindings.kind?t.importClause.namedBindings.name:void 0;case 242:return t.name;case 231:return e.tryCast(t.name,e.isIdentifier);default:return e.Debug.assertNever(t)}}(a);g&&function(t,r,n,i,a,o,s,u){var l=e.codefix.moduleSpecifierToValidIdentifier(a,6),d=!1,f=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(s,n,r,function(t){e.isPropertyAccessExpression(t.parent)&&(d=d||!!n.resolveName(l,t,67108863,!0),i.has(n.getSymbolAtLocation(t.parent.name))&&f.push(t))}),f.length){for(var p=d?e.getUniqueName(l,r):l,_=0,m=f;_<m.length;_++){var g=m[_];t.replaceNode(r,g,e.createIdentifier(p))}t.insertNodeAfter(r,u,function(t,r,n){var i=e.createIdentifier(r),a=e.createLiteral(n);switch(t.kind){case 243:return e.createImportDeclaration(void 0,void 0,e.createImportClause(void 0,e.createNamespaceImport(i)),a);case 242:return e.createImportEqualsDeclaration(void 0,void 0,i,e.createExternalModuleReference(a));case 231:return e.createVariableDeclaration(i,void 0,c(a));default:return e.Debug.assertNever(t)}}(u,a,o))}}(t,r,l,o,s,_,g,a)}})},p=0,_=r.statements;p<_.length;p++){var m=_[p];d(m)}},p=0,_=r.getSourceFiles();p<_.length;p++){var m=_[p];d(m)}}(s,d,t,r.movedSymbols,p),function(t,r,n,s,c,u,l){for(var d,p=[],_=0,g=t.statements;_<g.length;_++){var h=g[_];a(h,function(t){e.append(p,f(t,i(t),function(e){return r.has(c.getSymbolAtLocation(e))}))})}var b=[],x=e.nodeSeenTracker();
1return n.forEach(function(r){for(var n=0,i=r.declarations;n<i.length;n++){var a=i[n];if(m(a)){var o=215===(l=a).kind?l.expression.left.name:e.tryCast(l.name,e.isIdentifier);if(o){var c=v(a);x(c)&&y(t,c,s,u),e.hasModifier(a,512)?d=o:b.push(o.text)}}}var l}),e.append(p,o(d,b,e.removeFileExtension(e.getBaseFileName(t.fileName)),u,l)),p}(t,r.oldImportsNeededByNewFile,r.newFileImportsFromOldFile,s,C,E,T).concat(function(t,r,n,i){return e.flatMap(r,function(r){if(o=r,e.Debug.assert(e.isSourceFile(o.parent)),(g(o)||e.isVariableStatement(o))&&!b(t,r,i)&&h(r,function(t){return n.has(e.Debug.assertDefined(t.symbol))})){var a=function(e,t){return t?[x(e)]:function(e){return[e].concat(S(e).map(k))}(e)}(r,i);if(a)return a}var o;return r})}(t,l.all,r.oldFileImportsFromNewFile,E))}(t,w,d,s,r,N,E)),function(t,r,n,i,a){var o=t.getCompilerOptions().configFile;if(!o)return;var s=e.normalizePath(e.combinePaths(n,"..",i)),c=e.getRelativePathFromFile(o.fileName,s,a),u=o.statements[0]&&e.tryCast(o.statements[0].expression,e.isObjectLiteralExpression),l=u&&e.find(u.properties,function(t){return e.isPropertyAssignment(t)&&e.isStringLiteral(t.name)&&"files"===t.name.text});l&&e.isArrayLiteralExpression(l.initializer)&&r.insertNodeInListAfter(o,e.last(l.initializer.elements),e.createLiteral(c),l.initializer.elements)}(r,d,t.fileName,P,e.hostGetCanonicalFileName(C))}(t.file,t.program,d,r,t.host,t.preferences)}),renameFilename:void 0,renameLocation:void 0}}});var _=function(){function t(){this.map=e.createMap()}return t.prototype.add=function(t){this.map.set(String(e.getSymbolId(t)),t)},t.prototype.has=function(t){return this.map.has(String(e.getSymbolId(t)))},t.prototype.delete=function(t){this.map.delete(String(e.getSymbolId(t)))},t.prototype.forEach=function(e){this.map.forEach(e)},t.prototype.forEachEntry=function(t){return e.forEachEntry(this.map,t)},t.prototype.clone=function(){var r=new t;return e.copyEntries(this.map,r.map),r},t}();function m(t){return g(t)||e.isVariableDeclaration(t)&&e.isSourceFile(t.parent.parent.parent)}function g(e){switch(e.kind){case 233:case 234:case 238:case 237:case 236:case 235:case 242:return!0;default:return!1}}function h(t,r){switch(t.kind){case 233:case 234:case 238:case 237:case 236:case 235:case 242:return r(t);case 213:return e.forEach(t.declarationList.declarations,r);case 215:var n=t.expression;return e.isBinaryExpression(n)&&1===e.getSpecialPropertyAssignmentKind(n)?r(t):void 0}}function v(t){return e.isVariableDeclaration(t)?t.parent.parent:t}function y(t,r,n,i){if(!b(t,r,i))if(i)e.isExpressionStatement(r)||n.insertExportModifier(t,r);else{var a=S(r);0!==a.length&&n.insertNodesAfter(t,r,a.map(k))}}function b(t,r,n){return n?!e.isExpressionStatement(r)&&e.hasModifier(r,1):S(r).some(function(r){return t.symbol.exports.has(e.escapeLeadingUnderscores(r))})}function x(t){var r=e.concatenate([e.createModifier(84)],t.modifiers);switch(t.kind){case 233:return e.updateFunctionDeclaration(t,t.decorators,r,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 234:return e.updateClassDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 213:return e.updateVariableStatement(t,r,t.declarationList);case 238:return e.updateModuleDeclaration(t,t.decorators,r,t.name,t.body);case 237:return e.updateEnumDeclaration(t,t.decorators,r,t.name,t.members);case 236:return e.updateTypeAliasDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.type);case 235:return e.updateInterfaceDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 242:return e.updateImportEqualsDeclaration(t,t.decorators,r,t.name,t.moduleReference);case 215:return e.Debug.fail();default:return e.Debug.assertNever(t)}}function S(t){switch(t.kind){case 233:case 234:return[t.name.text];case 213:return e.mapDefined(t.declarationList.declarations,function(t){return e.isIdentifier(t.name)?t.name.text:void 0});case 238:case 237:case 236:case 235:case 242:return;case 215:return e.Debug.fail();default:e.Debug.assertNever(t)}}function k(t){return e.createExpressionStatement(e.createBinary(e.createPropertyAccess(e.createIdentifier("exports"),e.createIdentifier(t)),58,e.createIdentifier(t)))}}(e.refactor||(e.refactor={}))}(u||(u={})),function(e){!function(t){function r(e){return e.decodingIndex===e.encodedText.length}function n(e){for(;e.decodingIndex<e.encodedText.length;){var t=e.encodedText.charCodeAt(e.decodingIndex);if(59!==t){if(44!==t){if(e.currentEmittedColumn+=n(),r(e.currentEmittedColumn<0,"Invalid emittedColumn found"))return;if(r(i(e.encodedText,e.decodingIndex),"Unsupported Error Format: No entries after emitted column"))return;if(e.currentSourceIndex+=n(),r(e.currentSourceIndex<0,"Invalid sourceIndex found"))return;if(r(i(e.encodedText,e.decodingIndex),"Unsupported Error Format: No entries after sourceIndex"))return;if(e.currentSourceLine+=n(),r(e.currentSourceLine<0,"Invalid sourceLine found"))return;if(r(i(e.encodedText,e.decodingIndex),"Unsupported Error Format: No entries after emitted Line"))return;if(e.currentSourceColumn+=n(),r(e.currentSourceColumn<0,"Invalid sourceLine found"))return;if(i(e.encodedText,e.decodingIndex)||(void 0===e.currentNameIndex&&(e.currentNameIndex=0),e.currentNameIndex+=n()),r(!i(e.encodedText,e.decodingIndex),"Unsupported Error Format: There are more entries after "+(void 0===e.currentNameIndex?"sourceColumn":"nameIndex")))return;return void e.positions.push(e.processPosition({emittedColumn:e.currentEmittedColumn,emittedLine:e.currentEmittedLine,sourceColumn:e.currentSourceColumn,sourceIndex:e.currentSourceIndex,sourceLine:e.currentSourceLine,nameIndex:e.currentNameIndex}))}e.decodingIndex++}else e.currentEmittedLine++,e.currentEmittedColumn=0,e.decodingIndex++}return void r(!0,"No encoded entry found");function r(t,r){return!!e.error||(t&&(e.error=r),t)}function n(){for(var t,n=!0,i=0,a=0;n;e.decodingIndex++){if(r(e.decodingIndex>=e.encodedText.length,"Error in decoding base64VLQFormatDecode, past the mapping string"))return;var o=(t=e.encodedText.charAt(e.decodingIndex),"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".indexOf(t));n=0!==(32&o),a|=(31&o)<<i,i+=5}return 0===(1&a)?a>>=1:a=-(a>>=1),a}}function i(e,t){return t===e.length||44===e.charCodeAt(t)||59===e.charCodeAt(t)}t.identitySourceMapper={getOriginalPosition:e.identity,getGeneratedPosition:e.identity},t.decode=function(t,i,a,o,s){void 0===s&&(s=e.createSourceFileLikeCache(t));var c,u,l,d=e.getDirectoryPath(i),f=a.sourceRoot||d;return{getOriginalPosition:function(r){var n=u||(u=_().slice().sort(g));if(!e.length(n))return r;var i=e.binarySearch(n,{emittedPosition:r.position},e.identity,g);return i<0&&n.length>0&&(i=~i),{fileName:e.toPath(n[i].sourcePath,f,t.getCanonicalFileName),position:n[i].sourcePosition}},getGeneratedPosition:function(r){var n=l||(l=_().slice().sort(m));if(!e.length(n))return r;var i=e.binarySearch(n,{sourcePath:r.fileName,sourcePosition:r.position},e.identity,m);return i<0&&n.length>0&&(i=~i),n[i]&&0===e.comparePaths(r.fileName,n[i].sourcePath,f)?{fileName:e.toPath(a.file,f,t.getCanonicalFileName),position:n[i].emittedPosition}:r}};function p(r,n,i,a){var c=function(r,n){var i=o&&o.getSourceFile(r);if(!i){var a=e.toPath(r,n,t.getCanonicalFileName);return s.get(a)}return i}(r,n);return c?e.getPositionOfLineAndCharacter(c,i,a):-1}function _(){return c||(c=function(){for(var e={encodedText:a.mappings,currentNameIndex:void 0,sourceMapNamesLength:a.names?a.names.length:void 0,currentEmittedColumn:0,currentEmittedLine:0,currentSourceColumn:0,currentSourceLine:0,currentSourceIndex:0,positions:[],decodingIndex:0,processPosition:h};!r(e);)if(n(e),e.error)return t.log("Encountered error while decoding sourcemap found at "+i+": "+e.error),[];return e.positions}())}function m(t,r){return e.comparePaths(t.sourcePath,r.sourcePath,f)||e.compareValues(t.sourcePosition,r.sourcePosition)}function g(t,r){return e.compareValues(t.emittedPosition,r.emittedPosition)}function h(e){var t=a.sources[e.sourceIndex];return{emittedPosition:p(a.file,d,e.emittedLine,e.emittedColumn),sourcePosition:p(t,f,e.sourceLine,e.sourceColumn),sourcePath:t}}}}(e.sourcemaps||(e.sourcemaps={}))}(u||(u={})),function(e){function t(t,n,i,a){var o=e.isNodeKind(t)?new r(t,n,i):71===t?new l(71,n,i):new u(t,n,i);return o.parent=a,o.flags=12679168&a.flags,o}e.servicesVersion="0.8";var r=function(){function r(e,t,r){this.pos=t,this.end=r,this.flags=0,this.transformFlags=void 0,this.parent=void 0,this.kind=e}return r.prototype.assertHasRealPosition=function(t){e.Debug.assert(!e.positionIsSynthesized(this.pos)&&!e.positionIsSynthesized(this.end),t||"Node must have a real position for this operation")},r.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},r.prototype.getStart=function(t,r){return this.assertHasRealPosition(),e.getTokenPosOfNode(this,t,r)},r.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},r.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},r.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},r.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},r.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.get
1Start(e)-this.pos},r.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},r.prototype.getText=function(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},r.prototype.getChildCount=function(e){return this.getChildren(e).length},r.prototype.getChildAt=function(e,t){return this.getChildren(t)[e]},r.prototype.getChildren=function(r){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=function(r,i){if(!e.isNodeKind(r.kind))return e.emptyArray;var a=[];if(e.isJSDocCommentContainingNode(r))return r.forEachChild(function(e){a.push(e)}),a;e.scanner.setText((i||r.getSourceFile()).text);var o=r.pos,s=function(e){n(a,o,e.pos,r),a.push(e),o=e.end};return e.forEach(r.jsDoc,s),o=r.pos,r.forEachChild(s,function(e){n(a,o,e.pos,r),a.push(function(e,r){var i=t(298,e.pos,e.end,r);i._children=[];for(var a=e.pos,o=0,s=e;o<s.length;o++){var c=s[o];n(i._children,a,c.pos,r),i._children.push(c),a=c.end}return n(i._children,a,e.end,r),i}(e,r)),o=e.end}),n(a,o,r.end,r),e.scanner.setText(void 0),a}(this,r))},r.prototype.getFirstToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t);if(r.length){var n=e.find(r,function(e){return e.kind<277||e.kind>297});return n.kind<145?n:n.getFirstToken(t)}},r.prototype.getLastToken=function(t){this.assertHasRealPosition();var r=this.getChildren(t),n=e.lastOrUndefined(r);if(n)return n.kind<145?n:n.getLastToken(t)},r.prototype.forEachChild=function(t,r){return e.forEachChild(this,t,r)},r}();function n(r,n,i,a){for(e.scanner.setTextPos(n);n<i;){var o=e.scanner.scan(),s=e.scanner.getTextPos();if(s<=i&&(71===o&&e.Debug.fail("Did not expect "+e.Debug.showSyntaxKind(a)+" to have an Identifier in its trivia"),r.push(t(o,n,s,a))),n=s,1===o)break}}var i=function(){function t(e,t){this.pos=e,this.end=t,this.flags=0,this.parent=void 0}return t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(t,r){return e.getTokenPosOfNode(this,t,r)},t.prototype.getFullStart=function(){return this.pos},t.prototype.getEnd=function(){return this.end},t.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos}
1,t.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())},t.prototype.getChildCount=function(){return 0},t.prototype.getChildAt=function(){},t.prototype.getChildren=function(){return e.emptyArray},t.prototype.getFirstToken=function(){},t.prototype.getLastToken=function(){},t.prototype.forEachChild=function(){},t}(),s=function(){function t(e,t){this.flags=e,this.escapedName=t}return t.prototype.getFlags=function(){return this.flags},Object.defineProperty(t.prototype,"name",{get:function(){return e.symbolName(this)},enumerable:!0,configurable:!0}),t.prototype.getEscapedName=function(){return this.escapedName},t.prototype.getName=function(){return this.name},t.prototype.getDeclarations=function(){return this.declarations},t.prototype.getDocumentationComment=function(t){return this.documentationComment||(this.documentationComment=e.emptyArray,this.documentationComment=_(this.declarations,t)),this.documentationComment},t.prototype.getJsDocTags=function(){return void 0===this.tags&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations)),this.tags},t}(),u=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.kind=t,i}return c(t,e),t}(i),l=function(t){function r(e,r,n){return t.call(this,r,n)||this}return c(r,t),Object.defineProperty(r.prototype,"text",{get:function(){return e.idText(this)},enumerable:!0,configurable:!0}),r}(i);l.prototype.kind=71;var d=function(){function t(e,t){this.checker=e,this.flags=t}return t.prototype.getFlags=function(){return this.flags},t.prototype.getSymbol=function(){return this.symbol},t.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},t.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},t.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},t.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},t.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},t.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},t.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},t.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},t.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},t.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},t.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},t.prototype.isUnion=function(){return!!(131072&this.flags)},t.prototype.isIntersection=function(){return!!(262144&this.flags)},t.prototype.isUnionOrIntersection=function(){return!!(393216&this.flags)},t.prototype.isLiteral=function(){return!!(224&this.flags)},t.prototype.isStringLiteral=function(){return!!(32&this.flags)},t.prototype.isNumberLiteral=function(){return!!(64&this.flags)},t.prototype.isTypeParameter=function(){return!!(32768&this.flags)},t.prototype.isClassOrInterface=function(){return!!(3&e.getObjectFlags(this))},t.prototype.isClass=function(){return!!(1&e.getObjectFlags(this))},t}(),f=function(){function t(e){this.checker=e}return t.prototype.getDeclaration=function(){return this.declaration},t.prototype.getTypeParameters=function(){return this.typeParameters},t.prototype.getParameters=function(){return this.parameters},t.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},t.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=_(e.singleElementArray(this.declaration),this.checker))},t.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?e.JsDoc.getJsDocTagsFromDeclarations([this.declaration]):[]),this.jsDocTags},t}();function p(t){return e.getJSDocTags(t).some(function(e){return"inheritDoc"===e.tagName.text})}function _(t,r){if(!t)return e.emptyArray;var n=e.JsDoc.getJsDocCommentsFromDeclarations(t);if(0===n.length||t.some(p))for(var i=0,a=t;i<a.length;i++){var o=a[i],s=m(o,o.symbol.name,r);s&&(n=0===n.length?s.slice():s.concat(e.lineBreakPart(),n))}return n}function m(t,r,n){return e.firstDefined(t.parent?e.getAllSuperTypeNodes(t.parent):e.emptyArray,function(e){var t=n.getTypeAtLocation(e),i=t&&n.getPropertyOfType(t,r),a=i&&i.getDocumentationComment(n);return a&&a.length?a:void 0})}var g=function(t){function r(e,r,n){return t.call(this,e,r,n)||this}return c(r,t),r.prototype.update=function(t,r){return e.updateSourceFile(this,t,r)},r.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},r.prototype.getLineStarts=function(){return e.getLineStarts(this)},r.prototype.getPositionOfLineAndCharacter=function(t,r){return e.getPositionOfLineAndCharacter(this,t,r)},r.prototype.getLineEndOfPosition=function(e){var t,r=this.getLineAndCharacterOfPosition(e).line,n=this.getLineStarts();r+1>=n.length&&(t=this.getEnd()),t||(t=n[r+1]-1);var i=this.getFullText();return"\n"===i[t]&&"\r"===i[t-1]?t-1:t},r.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},r.prototype.computeNamedDeclarations=function(){var t=e.createMultiMap();return e.forEachChild(this,function i(a){switch(a.kind){case 233:case 191:case 153:case 152:var o=a,s=n(o);if(s){var c=function(e){var r=t.get(e);r||t.set(e,r=[]);return r}(s),u=e.lastOrUndefined(c);u&&o.parent===u.parent&&o.symbol===u.symbol?o.body&&!u.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(a,i);break;case 234:case 204:case 235:case 236:case 237:case 238:case 242:case 251:case 247:case 244:case 245:case 155:case 156:case 165:r(a),e.forEachChild(a,i);break;case 148:if(!e.hasModifier(a,92))break;case 231:case 181:var l=a;if(e.isBindingPattern(l.name)){e.forEachChild(l.name,i);break}l.initializer&&i(l.initializer);case 272:case 151:case 150:r(a);break;case 249:a.exportClause&&e.forEach(a.exportClause.elements,i);break;case 243:var d=a.importClause;d&&(d.name&&r(d),d.namedBindings&&(245===d.namedBindings.kind?r(d.namedBindings):e.forEach(d.namedBindings.elements,i)));break;case 199:0!==e.getSpecialPropertyAssignmentKind(a)&&r(a);default:e.forEachChild(a,i)}}),t;function r(e){var r=n(e);r&&t.add(r,e)}function n(t){var r=e.getNameOfDeclaration(t);return r&&(e.isComputedPropertyName(r)&&e.isPropertyAccessExpression(r.expression)?r.expression.name.text:e.isPropertyName(r)?e.getNameFromPropertyName(r):void 0)}},r}(r),h=function(){function t(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}return t.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},t}();function v(t){var r=!0;for(var n in t)if(e.hasProperty(t,n)&&!y(n)){r=!1;break}if(r)return t;var i={};for(var n in t){if(e.hasProperty(t,n))i[y(n)?n:n.charAt(0).toLowerCase()+n.substr(1)]=t[n]}return i}function y(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function b(){return{target:1,jsx:1}}e.toEditorSettings=v,e.displayPartsToString=function(t){return t?e.map(t,function(e){return e.text}).join(""):""}
1,e.getDefaultCompilerOptions=b,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var x=function(){function t(t,r){this.host=t,this.currentDirectory=t.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var n=0,i=t.getScriptFileNames();n<i.length;n++){var a=i[n];this.createEntry(a,e.toPath(a,this.currentDirectory,r))}this._compilationSettings=t.getCompilationSettings()||{target:1,jsx:1}}return t.prototype.compilationSettings=function(){return this._compilationSettings},t.prototype.getProjectReferences=function(){return this.host.getProjectReferences&&this.host.getProjectReferences()},t.prototype.createEntry=function(t,r){var n,i=this.host.getScriptSnapshot(t);return n=i?{hostFileName:t,version:this.host.getScriptVersion(t),scriptSnapshot:i,scriptKind:e.getScriptKind(t,this.host)}:t,this.fileNameToEntry.set(r,n),n},t.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},t.prototype.getHostFileInformation=function(t){var r=this.fileNameToEntry.get(t);return e.isString(r)?void 0:r},t.prototype.getOrCreateEntryByPath=function(t,r){var n=this.getEntryByPath(r)||this.createEntry(t,r);return e.isString(n)?void 0:n},t.prototype.getRootFileNames=function(){var t=[];return this.fileNameToEntry.forEach(function(r){e.isString(r)?t.push(r):6!==r.scriptKind&&t.push(r.hostFileName)}),t},t.prototype.getVersion=function(e){var t=this.getHostFileInformation(e);return t&&t.version},t.prototype.getScriptSnapshot=function(e){var t=this.getHostFileInformation(e);return t&&t.scriptSnapshot},t}(),S=function(){function t(e){this.host=e}return t.prototype.getCurrentSourceFile=function(t){var r=this.host.getScriptSnapshot(t);if(!r)throw new Error("Could not find file: '"+t+"'.");var n,i=e.getScriptKind(t,this.host),a=this.host.getScriptVersion(t);if(this.currentFileName!==t)n=C(t,r,6,a,!0,i);else if(this.currentFileVersion!==a){var o=r.getChangeRange(this.currentFileScriptSnapshot);n=E(this.currentSourceFile,r,a,o)}return n&&(this.currentFileVersion=a,this.currentFileName=t,this.currentFileScriptSnapshot=r,this.currentSourceFile=n),this.currentSourceFile},t}();function k(e,t,r){e.version=r,e.scriptSnapshot=t}function C(t,r,n,i,a,o){var s=e.createSourceFile(t,e.getSnapshotText(r),n,a,o);return k(s,r,i),s}function E(t,r,n,i,a){if(i&&n!==t.version&&!e.disableIncrementalParsing){var o=void 0,s=0!==i.span.start?t.text.substr(0,i.span.start):"",c=e.textSpanEnd(i.span)!==t.text.length?t.text.substr(e.textSpanEnd(i.span)):"";if(0===i.newLength)o=s&&c?s+c:s||c;else{var u=r.getText(i.span.start,i.span.start+i.newLength);o=s&&c?s+u+c:s?s+u:u+c}var l=e.updateSourceFile(t,o,i,a);return k(l,r,n),l.nameTable=void 0,t!==l&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),l}return C(t.fileName,r,t.languageVersion,n,!0,t.scriptKind)}e.createLanguageServiceSourceFile=C,e.disableIncrementalParsing=!1,e.updateLanguageServiceSourceFile=E;var T=function(){function t(e){this.cancellationToken=e}return t.prototype.isCancellationRequested=function(){return this.cancellationToken&&this.cancellationToken.isCancellationRequested()},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},t}(),w=function(){function t(e,t){void 0===t&&(t=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}return t.prototype.isCancellationRequested=function(){var t=e.timestamp();return Math.abs(t-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested())},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},t}();function D(t){var r=e.createMap();return{get:function(n){if(r.has(n))return r.get(n);if(t.fileExists&&t.readFile&&t.fileExists(n)){var i={text:t.readFile(n),lineMap:void 0,getLineAndCharacterOfPosition:function(t){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),t)}};return r.set(n,i),i}}}}function A(t,r){var n=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(r));if(n&&t){var i=[],a=t.getProperty(n);if(131072&t.flags)return e.forEach(t.types,function(e){var t=e.getProperty(n);t&&i.push(t)}),i;if(a)return i.push(a),i}}e.ThrottledCancellationToken=w,e.createSourceFileLikeCache=D,e.createLanguageService=function(t,r,n){var i;void 0===r&&(r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory())),void 0===n&&(n=!1);var a,s,c,u=new S(t),l=0,d=new T(t.getCancellationToken&&t.getCancellationToken()),f=t.getCurrentDirectory();function p(e){t.log&&t.log(e)}!e.localizedDiagnosticMessages&&t.getLocalizedDiagnosticMessages&&(e.localizedDiagnosticMessages=t.getLocalizedDiagnosticMessages());var _=e.hostUsesCaseSensitiveFileNames(t),m=e.createGetCanonicalFileName(_);function g(e){var t=a.getSourceFile(e);
1if(!t)throw new Error("Could not find file: '"+e+"'.");return t}function h(){if(e.Debug.assert(!n),t.getProjectVersion){var i=t.getProjectVersion();if(i){if(s===i&&!t.hasChangedAutomaticTypeDirectiveNames)return;s=i}}var o=t.getTypeRootsVersion?t.getTypeRootsVersion():0;l!==o&&(p("TypeRoots version has changed; provide new program"),a=void 0,l=o);var u=new x(t,m),g=u.getRootFileNames(),h=t.hasInvalidatedResolution||e.returnFalse;if(!e.isProgramUptoDate(a,g,u.compilationSettings(),function(e){return u.getVersion(e)},k,h,t.hasChangedAutomaticTypeDirectiveNames)){var v=u.compilationSettings(),y={getSourceFile:function(t,r,n,i){return C(t,e.toPath(t,f,m),0,0,i)},getSourceFileByPath:C,getCancellationToken:function(){return d},getCanonicalFileName:m,useCaseSensitiveFileNames:function(){return _},getNewLine:function(){return e.getNewLineCharacter(v,function(){return e.getNewLineOrDefaultFromHost(t)})},getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return f},fileExists:k,readFile:function(r){var n=e.toPath(r,f,m),i=u.getEntryByPath(n);return i?e.isString(i)?void 0:e.getSnapshotText(i.scriptSnapshot):t.readFile&&t.readFile(r)},realpath:t.realpath&&function(e){return t.realpath(e)},directoryExists:function(r){return e.directoryProbablyExists(r,t)},getDirectories:function(e){return t.getDirectories?t.getDirectories(e):[]},onReleaseOldSourceFile:function(e,t){var n=r.getKeyForCompilationSettings(t);r.releaseDocumentWithKey(e.path,n)},hasInvalidatedResolution:h,hasChangedAutomaticTypeDirectiveNames:t.hasChangedAutomaticTypeDirectiveNames};t.trace&&(y.trace=function(e){return t.trace(e)}),t.resolveModuleNames&&(y.resolveModuleNames=function(e,r,n){return t.resolveModuleNames(e,r,n)}),t.resolveTypeReferenceDirectives&&(y.resolveTypeReferenceDirectives=function(e,r){return t.resolveTypeReferenceDirectives(e,r)});var b=r.getKeyForCompilationSettings(v),S={rootNames:g,options:v,host:y,oldProgram:a,projectReferences:u.getProjectReferences()};return a=e.createProgram(S),u=void 0,c=D(t),void a.getTypeChecker()}function k(r){var n=e.toPath(r,f,m),i=u.getEntryByPath(n);return i?!e.isString(i):t.fileExists&&t.fileExists(r)}function C(t,n,i,o,s){e.Debug.assert(void 0!==u);var c=u.getOrCreateEntryByPath(t,n);if(c){if(!s){var l=a&&a.getSourceFileByPath(n);if(l)return e.Debug.assertEqual(c.scriptKind,l.scriptKind,"Registered script kind should match new script kind.",n),r.updateDocumentWithKey(t,n,v,b,c.scriptSnapshot,c.version,c.scriptKind)}return r.acquireDocumentWithKey(t,n,v,b,c.scriptSnapshot,c.version,c.scriptKind)}}}function y(){if(!n)return h(),a;e.Debug.assert(void 0===a)}var b=/^\/\/[@#] source[M]appingURL=(.+)$/gm,k=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function C(r,n,o){var s;try{s=JSON.parse(n)}catch(i){}return s&&s.sources&&s.file&&s.mappings?r.sourceMapper=e.sourcemaps.decode({readFile:function(e){return t.readFile(e)},fileExists:function(e){return t.fileExists(e)},getCanonicalFileName:m,log:p},o,s,a,c):r.sourceMapper=e.sourcemaps.identitySourceMapper}function E(r,n){if(!t.readFile||!t.fileExists)return n.sourceMapper=e.sourcemaps.identitySourceMapper;if(n.sourceMapper)return n.sourceMapper;var i=function(t){var r=c.get(e.toPath(t,f,m));if(r)for(var n=e.getLineStarts(r),i=n.length-1;i>=0;i--){b.lastIndex=n[i];var a=b.exec(r.text);if(a)return a[1]}}(r);if(i){var a=k.exec(i);if(a){if(a[1]){var o=a[1];return C(n,e.base64decode(e.sys,o),r)}i=void 0}}var s=[];i&&s.push(i),s.push(r+".map");for(var u=0,l=s;u<l.length;u++){var d=l[u],p=e.toPath(d,e.getDirectoryPath(r),m);if(t.fileExists(p))return C(n,t.readFile(p),p)}return n.sourceMapper=e.sourcemaps.identitySourceMapper}function w(t,r){return function n(i,o){void 0===o&&(o=i);var s=t(i);if(e.endsWith(s.fileName,".d.ts")){var u=a.getSourceFile(s.fileName);if(!u){var l=e.toPath(s.fileName,f,m);u=c.get(l)}if(!u)return i;var d=E(s.fileName,u),p=d.getOriginalPosition(s);return p===s?i:n(r(p,i,o),o)}return i}}var A=w(function(e){return{fileName:e.fileName,position:e.textSpan.start}},function(e,t,r){return{containerKind:t.containerKind,containerName:t.containerName,fileName:e.fileName,kind:t.kind,name:t.name,textSpan:{start:e.position,length:t.textSpan.length},originalFileName:r.fileName,originalTextSpan:r.textSpan}});function N(t){return e.map(t,function(e){return A(e)})}var P=w(function(e){return{fileName:e.fileName,position:e.textSpan.start}},function(e,t){return{fileName:e.fileName,kind:t.kind,displayParts:t.displayParts,textSpan:{start:e.position,length:t.textSpan.length},originalFileName:t.fileName,originalTextSpan:t.textSpan}});function O(t,r,n){e.Debug.assert(n.some(function(r){return e.normalizePath(r)===t})),h();var i=e.map(n,function(t){return e.Debug.assertDefined(a.getSourceFile(t))}),o=g(t);return e.DocumentHighlights.getDocumentHighlights(a,d,o,r,i)}function F(t,r,n){h();var i=[];if(n&&n.isForRename)for(var o=0,s=a.getSourceFiles();o<s.length;o++){var c=s[o];a.isSourceFileDefaultLibrary(c)||i.push(c)}else i=a.getSourceFiles().slice();return e.FindAllReferences.findReferencedEntries(a,d,i,g(t),r,n)}function M(e){return u.getCurrentSourceFile(e)}function I(r){var n=e.getScriptKind(r,t);return 3===n||4===n}var L=e.createMapFromTemplate(((i={})[17]=18,i[19]=20,i[21]=22,i[29]=27,i));function R(r){switch(r.type){case"install package":return t.installPackage?t.installPackage({fileName:e.toPath(r.file,f,m),packageName:r.packageName}):Promise.reject("Host does not implement `installPackage`");default:e.Debug.fail()}}function j(r,n,i,a){var o="number"===typeof n?[n,void 0]:[n.pos,n.end];return{file:r,startPosition:o[0],endPosition:o[1],program:y(),host:t,formatContext:e.formatting.getFormatContext(a),cancellationToken:d,preferences:i}}
1return L.forEach(function(e,t){return L.set(e.toString(),Number(t))}),{dispose:function(){a&&(e.forEach(a.getSourceFiles(),function(e){return r.releaseDocument(e.fileName,a.getCompilerOptions())}),a=void 0),t=void 0},cleanupSemanticCache:function(){a=void 0},getSyntacticDiagnostics:function(e){return h(),a.getSyntacticDiagnostics(g(e),d).slice()},getSemanticDiagnostics:function(e){h();var t=g(e),r=a.getSemanticDiagnostics(t,d);if(!a.getCompilerOptions().declaration)return r.slice();var n=a.getDeclarationDiagnostics(t,d);return r.concat(n)},getSuggestionDiagnostics:function(t){return h(),e.computeSuggestionDiagnostics(g(t),a)},getCompilerOptionsDiagnostics:function(){return h(),a.getOptionsDiagnostics(d).concat(a.getGlobalDiagnostics(d))},getSyntacticClassifications:function(t,r){return e.getSyntacticClassifications(d,u.getCurrentSourceFile(t),r)},getSemanticClassifications:function(t,r){return I(t)?(h(),e.getSemanticClassifications(a.getTypeChecker(),d,g(t),a.getClassifiableNames(),r)):[]},getEncodedSyntacticClassifications:function(t,r){return e.getEncodedSyntacticClassifications(d,u.getCurrentSourceFile(t),r)},getEncodedSemanticClassifications:function(t,r){return I(t)?(h(),e.getEncodedSemanticClassifications(a.getTypeChecker(),d,g(t),a.getClassifiableNames(),r)):{spans:[],endOfLineState:0}},getCompletionsAtPosition:function(r,n,i){void 0===i&&(i=e.defaultPreferences);var s=o({},e.identity(i),{includeCompletionsForModuleExports:i.includeCompletionsForModuleExports||i.includeExternalModuleExports,includeCompletionsWithInsertText:i.includeCompletionsWithInsertText||i.includeInsertTextCompletions});return h(),e.Completions.getCompletionsAtPosition(t,a,p,g(r),n,s,i.triggerCharacter)},getCompletionEntryDetails:function(r,n,i,o,s,c){return void 0===c&&(c=e.defaultPreferences),h(),e.Completions.getCompletionEntryDetails(a,p,g(r),n,{name:i,source:s},t,o&&e.formatting.getFormatContext(o),m,c,d)},getCompletionEntrySymbol:function(t,r,n,i){return h(),e.Completions.getCompletionEntrySymbol(a,p,g(t),r,{name:n,source:i})},getSignatureHelpItems:function(t,r){h();var n=g(t);return e.SignatureHelp.getSignatureHelpItems(a,n,r,d)},getQuickInfoAtPosition:function(t,r){h();var n=g(t),i=e.getTouchingPropertyName(n,r,!0);if(i!==n){var o=a.getTypeChecker(),s=function(t,r){if((e.isIdentifier(t)||e.isStringLiteral(t))&&e.isPropertyAssignment(t.parent)&&t.parent.name===t){var n=r.getContextualType(t.parent.parent),i=n&&r.getPropertyOfType(n,e.getTextOfIdentifierOrLiteral(t));if(i)return i}return r.getSymbolAtLocation(t)}(i,o);if(s&&!o.isUnknownSymbol(s)){var c=o.runWithCancellationToken(d,function(t){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,s,n,e.getContainerNode(i),i)}),u=c.symbolKind,l=c.displayParts,f=c.documentation,p=c.tags;return{kind:u,kindModifiers:e.SymbolDisplay.getSymbolModifiers(s),textSpan:e.createTextSpanFromNode(i,n),displayParts:l,documentation:f,tags:p}}switch(i.kind){case 71:if(e.isLabelName(i))return;case 184:case 145:case 99:case 173:case 97:var _=o.getTypeAtLocation(i);return _&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(i,n),displayParts:o.runWithCancellationToken(d,function(t){return e.typeToDisplayParts(t,_,e.getContainerNode(i))}),documentation:_.symbol?_.symbol.getDocumentationComment(o):void 0,tags:_.symbol?_.symbol.getJsDocTags():void 0}}}},getDefinitionAtPosition:function(t,r){return h(),N(e.GoToDefinition.getDefinitionAtPosition(a,g(t),r))},getDefinitionAndBoundSpan:function(t,r){h();var n=e.GoToDefinition.getDefinitionAndBoundSpan(a,g(t),r);if(!n)return n;var i=N(n.definitions);return i===n.definitions?n:{definitions:i,textSpan:n.textSpan}},getImplementationAtPosition:function(t,r){return h(),n=e.FindAllReferences.getImplementationsAtPosition(a,d,a.getSourceFiles(),g(t),r),e.map(n,function(e){return P(e)});var n},getTypeDefinitionAtPosition:function(t,r){return h(),N(e.GoToDefinition.getTypeDefinitionAtPosition(a.getTypeChecker(),g(t),r))},getReferencesAtPosition:function(e,t){return F(e,t)},findReferences:function(t,r){return h(),e.FindAllReferences.findReferencedSymbol
1s(a,d,a.getSourceFiles(),g(t),r)},getOccurrencesAtPosition:function(t,r){return e.flatMap(O(t,r,[t]),function(e){return e.highlightSpans.map(function(t){return{fileName:e.fileName,textSpan:t.textSpan,isWriteAccess:"writtenReference"===t.kind,isDefinition:!1,isInString:t.isInString}})})},getDocumentHighlights:O,getNameOrDottedNameSpan:function(t,r,n){var i=u.getCurrentSourceFile(t),a=e.getTouchingPropertyName(i,r,!1);if(a!==i){switch(a.kind){case 184:case 145:case 9:case 86:case 101:case 95:case 97:case 99:case 173:case 71:break;default:return}for(var o=a;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(238!==o.parent.parent.kind||o.parent.parent.body!==o.parent)break;o=o.parent.parent.name}return e.createTextSpanFromBounds(o.getStart(),a.getEnd())}},getBreakpointStatementAtPosition:function(t,r){var n=u.getCurrentSourceFile(t);return e.BreakpointResolver.spanInSourceFileAtLocation(n,r)},getNavigateToItems:function(t,r,n,i){h();var o=n?[g(n)]:a.getSourceFiles();return e.NavigateTo.getNavigateToItems(o,a.getTypeChecker(),d,t,r,i)},getRenameInfo:function(r,n){h();var i=t.getDefaultLibFileName(t.getCompilationSettings());return e.Rename.getRenameInfo(a.getTypeChecker(),i,m,g(r),n)},findRenameLocations:function(e,t,r,n){return F(e,t,{findInStrings:r,findInComments:n,isForRename:!0})},getNavigationBarItems:function(t){return e.NavigationBar.getNavigationBarItems(u.getCurrentSourceFile(t),d)},getNavigationTree:function(t){return e.NavigationBar.getNavigationTree(u.getCurrentSourceFile(t),d)},getOutliningSpans:function(t){var r=u.getCurrentSourceFile(t);return e.OutliningElementsCollector.collectElements(r,d)},getTodoComments:function(t,r){h();var n=g(t);d.throwIfCancellationRequested();var i,a,o=n.text,s=[];if(r.length>0&&(a=n.fileName,!e.stringContains(a,"/node_modules/")))for(var c=function(){var t="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",n="(?:"+e.map(r,function(e){return"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")"}).join("|")+")";return new RegExp(t+"("+n+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),u=void 0;u=c.exec(o);){d.throwIfCancellationRequested(),e.Debug.assert(u.length===r.length+3);var l=u[1],f=u.index+l.length;if(e.isInComment(n,f)){for(var p=void 0,_=0;_<r.length;_++)u[_+3]&&(p=r[_]);if(e.Debug.assert(void 0!==p),!((i=o.charCodeAt(f+p.text.length))>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57)){var m=u[2];s.push({descriptor:p,message:m,position:f})}}}return s},getBraceMatchingAtPosition:function(t,r){var n=u.getCurrentSourceFile(t),i=e.getTouchingToken(n,r,!1),a=i.getStart(n)===r?L.get(i.kind.toString()):void 0,o=a&&e.findChildOfKind(i.parent,a,n);return o?[e.createTextSpanFromNode(i,n),e.createTextSpanFromNode(o,n)].sort(function(e,t){return e.start-t.start}):e.emptyArray},getIndentationAtPosition:function(t,r,n){var i=e.timestamp(),a=v(n),o=u.getCurrentSourceFile(t);p("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-i)),i=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(r,o,a);return p("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-i)),s},getFormattingEditsForRange:function(t,r,n,i){var a=u.getCurrentSourceFile(t);return e.formatting.formatSelection(r,n,a,e.formatting.getFormatContext(v(i)))},getFormattingEditsForDocument:function(t,r){return e.formatting.formatDocument(u.getCurrentSourceFile(t),e.formatting.getFormatContext(v(r)))},getFormattingEditsAfterKeystroke:function(t,r,n,i){var a=u.getCurrentSourceFile(t),o=e.formatting.getFormatContext(v(i));if(!e.isInComment(a,r))switch(n){case"{":return e.formatting.formatOnOpeningCurly(r,a,o);case"}":return e.formatting.formatOnClosingCurly(r,a,o);case";":return e.formatting.formatOnSemicolon(r,a,o);case"\n":return e.formatting.formatOnEnter(r,a,o)}return[]},getDocCommentTemplateAtPosition:function(r,n){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(t),u.getCurrentSourceFile(r),n)},isValidBraceCompletionAtPosition:function(t,r,n){if(60===n)return!1;var i=u.getCurrentSourceFile(t);if(e.isInString(i,r))return!1;if(e.isInsideJsxElementOrAttribute(i,r))return 123===n;if(e.isInTemplateString(i,r))return!1;switch(n){case 39:case 34:case 96:return!e.isInComment(i,r)}return!0},getSpanOfEnclosingComment:function(t,r,n){var i=u.getCurrentSourceFile(t),a=e.formatting.getRangeOfEnclosingComment(i,r,n);return a&&e.createTextSpanFromRange(a)}
1,getCodeFixesAtPosition:function(r,n,i,o,s,c){void 0===c&&(c=e.defaultPreferences),h();var u=g(r),l=e.createTextSpanFromBounds(n,i),f=e.formatting.getFormatContext(s);return e.flatMap(e.deduplicate(o,e.equateValues,e.compareValues),function(r){return d.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:r,sourceFile:u,span:l,program:a,host:t,cancellationToken:d,formatContext:f,preferences:c})})},getCombinedCodeFix:function(r,n,i,o){void 0===o&&(o=e.defaultPreferences),h(),e.Debug.assert("file"===r.type);var s=g(r.fileName),c=e.formatting.getFormatContext(i);return e.codefix.getAllFixes({fixId:n,sourceFile:s,program:a,host:t,cancellationToken:d,formatContext:c,preferences:o})},applyCodeActionCommand:function(t,r){var n="string"===typeof t?r:t;return e.isArray(n)?Promise.all(n.map(R)):R(n)},organizeImports:function(r,n,i){void 0===i&&(i=e.defaultPreferences),h(),e.Debug.assert("file"===r.type);var o=g(r.fileName),s=e.formatting.getFormatContext(n);return e.OrganizeImports.organizeImports(o,s,t,a,i)},getEditsForFileRename:function(r,n,i,a){return void 0===a&&(a=e.defaultPreferences),e.getEditsForFileRename(y(),r,n,t,e.formatting.getFormatContext(i),a)},getEmitOutput:function(r,n){h();var i=g(r),o=t.getCustomTransformers&&t.getCustomTransformers();return e.getFileEmitOutput(a,i,n,d,o)},getNonBoundSourceFile:M,getSourceFile:function(e){return M(e)},getProgram:y,getApplicableRefactors:function(t,r,n){void 0===n&&(n=e.defaultPreferences),h();var i=g(t);return e.refactor.getApplicableRefactors(j(i,r,n))},getEditsForRefactor:function(t,r,n,i,a,o){void 0===o&&(o=e.defaultPreferences),h();var s=g(t);return e.refactor.getEditsForRefactor(j(s,n,o,r),i,a)},toLineColumnOffset:function(t,r){var n=e.toPath(t,f,m);return(a.getSourceFile(n)||c.get(n)).getLineAndCharacterOfPosition(r)}}},e.getNameTable=function(t){return t.nameTable||function(t){var r=t.nameTable=e.createUnderscoreEscapedMap();t.forEachChild(function t(n){if(e.isIdentifier(n)&&n.escapedText||e.isStringOrNumericLiteral(n)&&function(t){return e.isDeclarationName(t)||253===t.parent.kind||function(e){return e&&e.parent&&185===e.parent.kind&&e.parent.argumentExpression===e}(t)||e.isLiteralComputedPropertyDeclarationName(t)}(n)){var i=e.getEscapedTextOfIdentifierOrLiteral(n);r.set(i,void 0===r.get(i)?n.pos:-1)}if(e.forEachChild(n,t),e.hasJSDocNodes(n))for(var a=0,o=n.jsDoc;a<o.length;a++){var s=o[a];e.forEachChild(s,t)}})}(t),t.nameTable},e.getContainingObjectLiteralElement=function(t){switch(t.kind){case 9:case 8:if(146===t.parent.kind)return e.isObjectLiteralElement(t.parent.parent)?t.parent.parent:void 0;case 71:return!e.isObjectLiteralElement(t.parent)||183!==t.parent.parent.kind&&262!==t.parent.parent.kind||t.parent.name!==t?void 0:t.parent}},e.getPropertySymbolsFromContextualType=function(e,t){var r=t.parent;return A(e.getContextualType(r),t.name)}
1,e.getPropertySymbolsFromType=A,e.getDefaultLibFilePath=function(t){return a+e.directorySeparator+e.getDefaultLibFileName(t)},e.objectAllocator={getNodeConstructor:function(){return r},getTokenConstructor:function(){return u},getIdentifierConstructor:function(){return l},getSourceFileConstructor:function(){return g},getSymbolConstructor:function(){return s},getTypeConstructor:function(){return d},getSignatureConstructor:function(){return f},getSourceMapSourceConstructor:function(){return h}}}(u||(u={})),function(e){!function(t){t.spanInSourceFileAtLocation=function(t,r){if(!t.isDeclarationFile){var n=e.getTokenAtPosition(t,r,!1),i=t.getLineAndCharacterOfPosition(r).line;if((!(t.getLineAndCharacterOfPosition(n.getStart(t)).line>i)||(n=e.findPrecedingToken(n.pos,t))&&t.getLineAndCharacterOfPosition(n.getEnd()).line===i)&&!(4194304&n.flags))return l(n)}function a(r,n){var i=r.decorators?e.skipTrivia(t.text,r.decorators.end):r.getStart(t);return e.createTextSpanFromBounds(i,(n||r).getEnd())}function o(r,n){return a(r,e.findNextToken(n,n.parent,t))}function s(e,r){return e&&i===t.getLineAndCharacterOfPosition(e.getStart(t)).line?l(e):l(r)}function c(r){return l(e.findPrecedingToken(r.pos,t))}function u(r){return l(e.findNextToken(r,r.parent,t))}function l(r){if(r)switch(r.kind){case 213:return v(r.declarationList.declarations[0]);case 231:case 151:case 150:return v(r);case 148:return function t(r){if(e.isBindingPattern(r.name))return S(r.name);if(function(t){return!!t.initializer||void 0!==t.dotDotDotToken||e.hasModifier(t,12)}(r))return a(r);var n=r.parent,i=n.parameters.indexOf(r);return e.Debug.assert(-1!==i),0!==i?t(n.parameters[i-1]):l(n.body)}(r);case 233:case 153:case 152:case 155:case 156:case 154:case 191:case 192:return function(e){if(e.body)return y(e)?a(e):l(e.body)}(r);case 212:if(e.isFunctionBlock(r))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();return y(e.parent)?s(e.parent,t):l(t)}(r);case 239:return b(r);case 268:return b(r.block);case 215:return a(r.expression);case 224:return a(r.getChildAt(0),r.expression);case 218:return o(r,r.expression);case 217:return l(r.statement);case 230:return a(r.getChildAt(0));case 216:return o(r,r.expression);case 227:return l(r.statement);case 223:case 222:return a(r.getChildAt(0),r.label);case 219:return(m=r).initializer?x(m):m.condition?a(m.condition):m.incrementor?a(m.incrementor):void 0;case 220:return o(r,r.expression);case 221:return x(r);case 226:return o(r,r.expression);case 265:case 266:return l(r.statements[0]);case 229:return b(r.tryBlock);case 228:case 248:return a(r,r.expression);case 242:return a(r,r.moduleReference);case 243:case 249:return a(r,r.moduleSpecifier);case 238:if(1!==e.getModuleInstanceState(r))return;case 234:case 237:case 272:case 181:return a(r);case 225:return l(r.statement);case 149:return g=r.parent.decorators,e.createTextSpanFromBounds(e.skipTrivia(t.text,g.pos),g.end);case 179:case 180:return S(r);case 235:case 236:return;case 25:case 1:return s(e.findPrecedingToken(r.pos,t));case 26:return c(r);case 17:return function(r){switch(r.parent.kind){case 237:var n=r.parent;return s(e.findPrecedingToken(r.pos,t,r.parent),n.members.length?n.members[0]:n.getLastToken(t));case 234:var i=r.parent;return s(e.findPrecedingToken(r.pos,t,r.parent),i.members.length?i.members[0]:i.getLastToken(t));case 240:return s(r.parent.parent,r.parent.clauses[0])}return l(r.parent)}(r);case 18:return function(t){switch(t.parent.kind){case 239:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 237:case 234:return a(t);case 212:if(e.isFunctionBlock(t.parent))return a(t);case 268:return l(e.lastOrUndefined(t.parent.statements));case 240:var r=t.parent,n=e.lastOrUndefined(r.clauses);return n?l(e.lastOrUndefined(n.statements)):void 0;case 179:var i=t.parent;return l(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var o=t.parent;return a(e.lastOrUndefined(o.properties)||o)}return l(t.parent)}}(r);case 22:return function(t){switch(t.parent.kind){case 180:var r=t.parent;return a(e.lastOrUndefined(r.elements)||r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var n=t.parent;return a(e.lastOrUndefined(n.elements)||n)}return l(t.parent)}}(r);case 19:return function(e){return 217===e.parent.kind||186===e.parent.kind||187===e.parent.kind?c(e):190===e.parent.kind?u(e):l(e.parent)}(r);case 20:return function(e){switch(e.parent.kind){case 191:case 233:case 192:case 153:case 152:case 155:case 156:case 154:case 218:case 217:case 219:case 221:case 186:case 187:case 190:return c(e);default:return l(e.parent)}}(r);case 56:return function(t){return e.isFunctionLike(t.parent)||269===t.parent.kind||148===t.parent.kind?c(t):l(t.parent)}(r);case 29:case 27:return function(e){return 189===e.parent.kind?u(e):l(e.parent)}(r);case 106:return function(e){return 217===e.parent.kind?o(e,e.parent.expression):l(e.parent)}(r);case 82:case 74:case 87:return u(r);case 144:return function(e){return 221===e.parent.kind?u(e):l(e.parent)}(r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return k(r);if((71===r.kind||203===r.kind||269===r.kind||270===r.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent))return a(r);if(199===r.kind){var n=r,i=n.left,d=n.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return k(i);if(58===d.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent))return a(r);if(26===d.kind)return l(i)}if(e.isExpressionNode(r))switch(r.parent.kind){case 217:return c(r);case 149:return l(r.parent);case 219:case 221:return a(r);case 199:if(26===r.parent.operatorToken.kind)return a(r);break;case 192:if(r.parent.body===r)return a(r)}switch(r.parent.kind){case 269:if(r.parent.name===r&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent.parent))return l(r.parent.initializer);break;case 189:if(r.parent.type===r)return u(r.parent.type);break;case 231:case 148:var f=r.parent,p=f.initializer,_=f.type;if(p===r||_===r||e.isAssignmentOperator(r.kind))return c(r);break;case 199:if(i=r.parent.left,e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&r!==i)return c(r);break;default:if(e.isFunctionLike(r.parent)&&r.parent.type===r)return c(r)}return l(r.parent)}var m,g;function h(r){return e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]===r?a(e.findPrecedingToken(r.pos,t,r.parent),r):a(r)}function v(r){return 220===r.parent.parent.kind?l(r.parent.parent):e.isBindingPattern(r.name)?S(r.name):r.initializer||e.hasModifier(r,1)||221===r.parent.parent.kind?h(r):e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]!==r?l(e.findPrecedingToken(r.pos,t,r.parent)):void 0}function y(t){return e.hasModifier(t,1)||234===t.parent.kind&&154!==t.kind}function b(r){switch(r.parent.kind){case 238:if(1!==e.getModuleInstanceState(r.parent))return;case 218:case 216:case 220:return s(r.parent,r.statements[0]);case 219:case 221:return s(e.findPrecedingToken(r.pos,t,r.parent),r.statements[0])}return l(r.statements[0])}function x(e){if(232!==e.initializer.kind)return l(e.initializer);var t=e.initializer;return t.declarations.length>0?l(t.declarations[0]):void 0}function S(t){var r=e.forEach(t.elements,function(e){return 205!==e.kind?e:void 0});return r?l(r):181===t.parent.kind?a(t.parent):h(t.parent)}function k(t){e.Debug.assert(180!==t.kind&&179!==t.kind);var r=182===t.kind?t.elements:t.properties,n=e.forEach(r,function(e){return 205!==e.kind?e:void 0});return n?l(n):a(199===t.parent.kind?t.parent:t)}}}}
1(e.BreakpointResolver||(e.BreakpointResolver={}))}(u||(u={})),function(e){e.transform=function(t,r,n){var i=[];n=e.fixupCompilerOptions(n,i);var a=e.isArray(t)?t:[t],o=e.transformNodes(void 0,void 0,n,a,r,!0);return o.diagnostics=e.concatenate(o.diagnostics,i),o}}(u||(u={}));var u,l,d=function(){return this}();!function(t){function r(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}var n=function(){function e(e){this.scriptSnapshotShim=e}return e.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},e.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},e.prototype.getChangeRange=function(e){var r=e,n=this.scriptSnapshotShim.getChangeRange(r.scriptSnapshotShim);if(null===n)return null;var i=JSON.parse(n);return t.createTextChangeRange(t.createTextSpan(i.span.start,i.span.length),i.newLength)},e.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},e}(),i=function(){function e(e){var r=this;this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(e,n){var i=JSON.parse(r.shimHost.getModuleResolutionsForFile(n));return t.map(e,function(e){var r=t.getProperty(i,e);return r?{resolvedFileName:r,extension:t.extensionFromPath(r),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return r.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(e,n){var i=JSON.parse(r.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return t.map(e,function(e){return t.getProperty(i,e)})})}return e.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},e.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},e.prototype.error=function(e){this.shimHost.error(e)},e.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},e.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},e.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},e.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var t=JSON.parse(e);return t.allowNonTsExtensions=!0,t},e.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return this.files=JSON.parse(e)},e.prototype.getScriptSnapshot=function(e){var t=this.shimHost.getScriptSnapshot(e);return t&&new n(t)},e.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},e.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},e.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(t){return this.log(t.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},e.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new t.ThrottledCancellationToken(e)},e.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},e.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},e.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},e.prototype.readDirectory=function(e,r,n,i,a){var o=t.getFileMatcherPatterns(e,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},e.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},e.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},e}();t.LanguageServiceShimHostAdapter=i;var a=function(){function e(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"realpath"in this.shimHost&&(this.realpath=function(e){return t.shimHost.realpath(e)})}return e.prototype.readDirectory=function(e,r,n,i,a){var o=t.getFileMatcherPatterns(e,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},e.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},e.prototype.readFile=function(e){return this.shimHost.readFile(e)},e.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},e}();function o(e,t,r,n){return s(e,t,!0,r,n)}function s(e,n,i,a,o){try{var s=function(e,r,n,i){var a;i&&(e.log(r),a=t.timestamp());var o=n();if(i){var s=t.timestamp();if(e.log(r+" completed in "+(s-a)+" msec"),t.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),e.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}(e,n,a,o);return i?JSON.stringify({result:s}):s}catch(c){return c instanceof t.OperationCanceledException?JSON.stringify({canceled:!0}):(r(e,c),c.description=n,JSON.stringify({error:c}))}}t.CoreServicesShimHostAdapter=a;var u=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function l(e,r){return e.map(function(e){return function(e,r){return{message:t.flatten
1DiagnosticMessageText(e.messageText,r),start:e.start,length:e.length,category:t.diagnosticCategoryName(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary}}(e,r)})}t.realizeDiagnostics=l;var f=function(e){function r(t,r,n){var i=e.call(this,t)||this;return i.host=r,i.languageService=n,i.logPerformance=!1,i.logger=i.host,i}return c(r,e),r.prototype.forwardJSONCall=function(e,t){return o(this.logger,e,t,this.logPerformance)},r.prototype.dispose=function(t){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,d&&d.CollectGarbage&&(d.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,e.prototype.dispose.call(this,t)},r.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",function(){return null})},r.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return e.languageService.cleanupSemanticCache(),null})},r.prototype.realizeDiagnostics=function(e){return l(e,t.getNewLineOrDefaultFromHost(this.host))},r.prototype.getSyntacticClassifications=function(e,r,n){var i=this;return this.forwardJSONCall("getSyntacticClassifications('"+e+"', "+r+", "+n+")",function(){return i.languageService.getSyntacticClassifications(e,t.createTextSpan(r,n))})},r.prototype.getSemanticClassifications=function(e,r,n){var i=this;return this.forwardJSONCall("getSemanticClassifications('"+e+"', "+r+", "+n+")",function(){return i.languageService.getSemanticClassifications(e,t.createTextSpan(r,n))})},r.prototype.getEncodedSyntacticClassifications=function(e,r,n){var i=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+e+"', "+r+", "+n+")",function(){return p(i.languageService.getEncodedSyntacticClassifications(e,t.createTextSpan(r,n)))})},r.prototype.getEncodedSemanticClassifications=function(e,r,n){var i=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+e+"', "+r+", "+n+")",function(){return p(i.languageService.getEncodedSemanticClassifications(e,t.createTextSpan(r,n)))})},r.prototype.getSyntacticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",function(){var r=t.languageService.getSyntacticDiagnostics(e);return t.realizeDiagnostics(r)})},r.prototype.getSemanticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",function(){var r=t.languageService.getSemanticDiagnostics(e);return t.realizeDiagnostics(r)})},r.prototype.getSuggestionDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",function(){return t.realizeDiagnostics(t.languageService.getSuggestionDiagnostics(e))})},r.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var t=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(t)})},r.prototype.getQuickInfoAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+t+")",function(){return r.languageService.getQuickInfoAtPosition(e,t)})},r.prototype.getNameOrDottedNameSpan=function(e,t,r){var n=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+t+", "+r+")",function(){return n.languageService.getNameOrDottedNameSpan(e,t,r)})},r.prototype.getBreakpointStatementAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+t+")",function(){return r.languageService.getBreakpointStatementAtPosition(e,t)})},r.prototype.getSignatureHelpItems=function(e,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+t+")",function(){return r.languageService.getSignatureHelpItems(e,t)})},r.prototype.getDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+t+")",function(){return r.languageService.getDefinitionAtPosition(e,t)})},r.prototype.getDefinitionAndBoundSpan=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+t+")",function(){return r.languageService.getDefinitionAndBoundSpan(e,t)})},r.prototype.getTypeDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+t+")",function(){return r.languageService.getTypeDefinitionAtPosition(e,t)})},r.prototype.getImplementationAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+t+")",function(){return r.languageService.getImplementationAtPosition(e,t)})},r.prototype.getRenameInfo=function(e,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+t+")",function(){return r.languageService.getRenameInfo(e,t)})},r.prototype.findRenameLocations=function(e,t,r,n){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+t+", "+r+", "+n+")",function(){return i.languageService.findRenameLocations(e,t,r,n)})},r.prototype.getBraceMatchingAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+t+")",function(){return r.languageService.getBraceMatchingAtPosition(e,t)})},r.prototype.isValidBraceCompletionAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+t+", "+r+")",function(){return n.languageService.isValidBraceCompletionAtPosition(e,t,r)})},r.prototype.getSpanOfEnclosingComment=function(e,t,r){var n=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+t+")",function(){return n.languageService.getSpanOfEnclosingComment(e,t,r)})},r.prototype.getIndentationAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+t+")",function(){var i=JSON.parse(r);return n.languageService.getIndentationAtPosition(e,t,i)})},r.prototype.getReferencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+t+")",function(){return r.languageService.getReferencesAtPosition(e,t)})},r.prototype.findReferences=function(e,t){var r=this;return this.forwardJSONCall("findReferences('"+e+"', "+t+")",function(){return r.languageService.findReferences(e,t)})},r.prototype.getOccurrencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+t+")",function(){return r.languageService.getOccurrencesAtPosition(e,t)})},r.prototype.getDocumentHighlights=function(e,r,n){var i=this;return this.forwardJSONCall("getDocumentHighlights('"+e+"', "+r+")",function(){var a=i.languageService.getDocumentHighlights(e,r,JSON.parse(n)),o=t.normalizeSlashes(e).toLowerCase();return t.filter(a,function(e){return t.normalizeSlashes(e.fileName).toLowerCase()===o})})},r.prototype.getCompletionsAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+t+", "+r+")",function(){return n.languageService.getCompletionsAtPosition(e,t,r)})},r.prototype.getCompletionEntryDetails=function(e,t,r,n,i,a){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+t+", '"+r+"')",function(){var s=void 0===n?void 0:JSON.parse(n);return o.languageService.getCompletionEntryDetails(e,t,r,s,i,a)})},r.prototype.getFormattingEditsForRange=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+t+", "+r+")",function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsForRange(e,t,r,a)})},r.prototype.getFormattingEditsForDocument=function(e,t){var r=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",function(){var n=JSON.parse(t);return r.languageService.getFormattingEditsForDocument(e,n)})},r.prototype.getFormattingEditsAfterKeystroke=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+t+", '"+r+"')",function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsAfterKeystroke(e,t,r,a)})},r.prototype.getDocCommentTemplateAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+t+")",function(){return r.languageService.getDocCommentTemplateAtPosition(e,t)})},r.prototype.getNavigateToItems=function(e,t,r){var n=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+t+", "+r+")",function(){return n.languageService.getNavigateToItems(e,t,r)})},r.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",function(){return t.languageService.getNavigationBarItems(e)})},r.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",function(){return t.languageService.getNavigationTree(e)})},r.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",function(){return t.languageService.getOutliningSpans(e)})},r.prototype.getTodoComments=function(e,t){var r=this;return this.forwardJSONCall("getTodoComments('"+e+"')",function(){return r.languageService.getTodoComments(e,JSON.parse(t))})},r.prototype.getEmitOutput=function(e){var t=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",function(){return t.languageService.getEmitOutput(e)})},r.prototype.getEmitOutputObject=function(e){var t=this;return s(this.logger,"getEmitOutput('"+e+"')",!1,function(){return t.languageService.getEmitOutput(e)},this.logPerformance)},r}(u);function p(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var _=function(e){function r(r,n){var i=e.call(this,r)||this;return i.logger=n,i.logPerformance=!1,i.classifier=t.createClassifier(),i}return c(r,e),r.prototype.getEncodedLexicalClassifications=function(e,t,r){var n=this;return o(this.logger,"getEncodedLexicalClassifications",function(){return p(n.classifier.getEncodedLexicalClassifications(e,t,r))},this.logPerformance)},r.prototype.getClassificationsForLine=function(e,t,r){for(var n=this.classifier.getClassificationsForLine(e,t,r),i="",a=0,o=n.entries;a<o.length;a++){var s=o[a];
1i+=s.length+"\n",i+=s.classification+"\n"}return i+=n.finalLexState},r}(u),m=function(e){function r(t,r,n){var i=e.call(this,t)||this;return i.logger=r,i.host=n,i.logPerformance=!1,i}return c(r,e),r.prototype.forwardJSONCall=function(e,t){return o(this.logger,e,t,this.logPerformance)},r.prototype.resolveModuleName=function(e,r,n){var i=this;return this.forwardJSONCall("resolveModuleName('"+e+"')",function(){var a=JSON.parse(n),o=t.resolveModuleName(r,t.normalizeSlashes(e),a,i.host),s=o.resolvedModule?o.resolvedModule.resolvedFileName:void 0;return o.resolvedModule&&".ts"!==o.resolvedModule.extension&&".tsx"!==o.resolvedModule.extension&&".d.ts"!==o.resolvedModule.extension&&(s=void 0),{resolvedFileName:s,failedLookupLocations:o.failedLookupLocations}})},r.prototype.resolveTypeReferenceDirective=function(e,r,n){var i=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+e+")",function(){var a=JSON.parse(n),o=t.resolveTypeReferenceDirective(r,t.normalizeSlashes(e),a,i.host);return{resolvedFileName:o.resolvedTypeReferenceDirective?o.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!o.resolvedTypeReferenceDirective||o.resolvedTypeReferenceDirective.primary,failedLookupLocations:o.failedLookupLocations}})},r.prototype.getPreProcessedFileInfo=function(e,r){var n=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+e+"')",function(){var e=t.preProcessFile(t.getSnapshotText(r),!0,!0);return{referencedFiles:n.convertFileReferences(e.referencedFiles),importedFiles:n.convertFileReferences(e.importedFiles),ambientExternalModules:e.ambientExternalModules,isLibFile:e.isLibFile,typeReferenceDirectives:n.convertFileReferences(e.typeReferenceDirectives)}})},r.prototype.getAutomaticTypeDirectiveNames=function(e){var r=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+e+"')",function(){var n=JSON.parse(e);return t.getAutomaticTypeDirectiveNames(n,r.host)})},r.prototype.convertFileReferences=function(e){if(e){for(var r=[],n=0,i=e;n<i.length;n++){var a=i[n];r.push({path:t.normalizeSlashes(a.fileName),position:a.pos,length:a.end-a.pos})}return r}},r.prototype.getTSConfigFileInfo=function(e,r){var n=this;return this.forwardJSONCall("getTSConfigFileInfo('"+e+"')",function(){var i=t.parseJsonText(e,t.getSnapshotText(r)),a=t.normalizeSlashes(e),o=t.parseJsonSourceFileConfigFileContent(i,n.host,t.getDirectoryPath(a),{},a);return{options:o.options,typeAcquisition:o.typeAcquisition,files:o.fileNames,raw:o.raw,errors:l(i.parseDiagnostics.concat(o.errors),"\r\n")}})},r.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",function(){return t.getDefaultCompilerOptions()})},r.prototype.discoverTypings=function(e){var r=this,n=t.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",function(){var i=JSON.parse(e);return void 0===r.safeList&&(r.safeList=t.JsTyping.loadSafeList(r.host,t.toPath(i.safeListPath,i.safeListPath,n))),t.JsTyping.discoverTypings(r.host,function(e){return r.logger.log(e)},i.fileNames,t.toPath(i.projectRootPath,i.projectRootPath,n),r.safeList,i.packageNameToTypingLocation,i.typeAcquisition,i.unresolvedImports,i.typesRegistry)})},r}(u),g=function(){function e(){this._shims=[]}return e.prototype.getServicesVersion=function(){return t.servicesVersion},e.prototype.createLanguageServiceShim=function(e){try{void 0===this.documentRegistry&&(this.documentRegistry=t.createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));var n=new i(e),a=t.createLanguageService(n,this.documentRegistry,!1);return new f(this,e,a)}catch(o){throw r(e,o),o}},e.prototype.createClassifierShim=function(e){try{return new _(this,e)}catch(t){throw r(e,t),t}},e.prototype.createCoreServicesShim=function(e){try{var t=new a(e);return new m(this,e,t)}catch(n){throw r(e,n),n}},e.prototype.close=function(){t.clear(this._shims),this.documentRegistry=void 0},e.prototype.registerShim=function(e){this._shims.push(e)},e.prototype.unregisterShim=function(e){for(var t=0;t<this._shims.length;t++)if(this._shims[t]===e)return void delete this._shims[t];throw new Error("Invalid operation")},e}();t.TypeScriptServicesFactory=g,e.exports&&(e.exports=t)}(u||(u={})),function(e){!function(e){e.TypeScriptServicesFactory=u.TypeScriptServicesFactory}(e.Services||(e.Services={}))}(l||(l={}));u.versionMajorMinor}).call(this,r(151),"/index.js",r(127),"/")},,,,function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(230),t.createHash=t.Hash=r(254),t.createHmac=t.Hmac=r(392);var n=r(800),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return a};var o=r(395);
vendor: 12,873 bytes, line 1
1t.pbkdf2=o.pbkdf2,t.pbkdf2Sync=o.pbkdf2Sync;var s=r(802);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var c=r(819);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=r(825);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(859);var l=r(860);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var d=r(863);t.randomFill=d.randomFill,t.randomFillSync=d.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),o=n[0],s=n[1],c=new a(function(e,t,r){return 3*(t+r)/4-r}(0,o,s)),l=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],o=0,s=r-i;o<s;o+=16383)a.push(l(e,o,o+16383>s?s:o+16383));1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],i=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=o.length;s<c;++s)n[s]=o[s],i[o.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,a,o=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(n[(a=i)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-l)-1,p>>=-l,l+=s;l>0;a=256*a+e[t+d],d+=f,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=256*o+e[t+d],d+=f,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=u}return(p?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,c,u=8*a-i-1,l=(1<<u)-1,d=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,_=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(o++,c/=2),o+d>=l?(s=0,o=l):o+d>=1?(s=(t*c-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=_,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+p]=255&o,p+=_,o/=256,u-=8);e[r+p-_]|=128*m}},,function(e,t,r){"use strict";var n=r(40).Buffer,i=r(785);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},,function(e,t,r){(function(e){var n="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(787),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(127))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i=1,a={},o=!1,s=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick(function(){l(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?function(){var t="setImmediate$"+Math.random()+"$",r=function(r){r.source===e&&"string"===typeof r.data&&0===r.data.indexOf(t)&&l(+r.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),n=function(r){e.postMessage(t+r,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},n=function(t){e.port2.postMessage(t)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var e=s.documentElement;n=function(t){var r=s.createElement("script");r.onreadystatechange=function(){l(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r)}}():n=function(e){setTimeout(l,0,e)},c.setImmediate=function(e){"function"!==typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return a[i]=o,n(i),i++},c.clearImmediate=u}function u(e){delete a[e]}function l(e){if(o)setTimeout(l,0,e);else{var t=a[e];if(t){o=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n)}}(t)}finally{u(e),o=!1}}}}}("undefined"===typeof self?"undefined"===typeof e?this:e:self)}).call(this,r(127),r(151))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(n){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(127))},function(e,t,r){var n=r(103),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";e.exports=a;var n=r(389),i=r(255);function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(33),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){e.exports=r(310)},function(e,t,r){e.exports=r(213)},function(e,t,r){e.exports=r(309).Transform},function(e,t,r){e.exports=r(309).PassThrough},function(e,t,r){var n=r(33),i=r(231),a=r(40).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=r[d-3]^r[d-8]^r[d-14]^r[d-16];for(var f=0;f<80;++f){var p=~~(f/20),_=0|((t=n)<<5|t>>>27)+l(p,i,a,s)+c+r[f]+o[p];c=s,s=a,a=u(i),i=n,n=_}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(33),i=r(231),a=r(40).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,a=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=(t=r[f-3]^r[f-8]^r[f-14]^r[f-16])<<1|t>>>31;for(var p=0;p<80;++p){var _=~~(p/20),m=u(n)+d(_,i,a,s)+c+r[p]+o[_]|0;c=s,s=a,a=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=a+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(33),i=r(390),a=r(231),o=r(40).Buffer,s=new Array(64);function c(){this.init(),this._w=s,a.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,r){var n=r(33),i=r(391),a=r(231),o=r(40).Buffer,s=new Array(160);function c(){this.init(),this._w=s,a.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,r){"use strict";
vendor: 13,525 bytes, line 1
1var n=r(33),i=r(40).Buffer,a=r(194),o=i.alloc(128),s=64;function c(e,t){a.call(this,"digest"),"string"===typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=i.concat([t,o],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),c=0;c<s;c++)r[c]=54^t[c],n[c]=92^t[c];this._hash=[r]}n(c,a),c.prototype._update=function(e){this._hash.push(e)},c.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=c},function(e,t,r){e.exports=r(394)},function(e,t,r){(function(t,n){var i,a=r(396),o=r(397),s=r(398),c=r(40).Buffer,u=t.crypto&&t.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function f(e,t,r,n,i){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return c.from(e)})}e.exports=function(e,r,p,_,m,g){"function"===typeof m&&(g=m,m=void 0);var h=l[(m=m||"sha1").toLowerCase()];if(!h||"function"!==typeof t.Promise)return n.nextTick(function(){var t;try{t=s(e,r,p,_,m)}catch(n){return g(n)}g(null,t)});if(a(e,r,p,_),"function"!==typeof g)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,o)),c.isBuffer(r)||(r=c.from(r,o)),function(e,t){e.then(function(e){n.nextTick(function(){t(null,e)})},function(e){n.nextTick(function(){t(e)})})}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var r=f(i=i||c.alloc(8),i,10,128,e).then(function(){return!0}).catch(function(){return!1});return d[e]=r,r}(h).then(function(t){return t?f(e,r,p,_,h):s(e,r,p,_,m)}),g)}}).call(this,r(127),r(151))},function(e,t,r){var n=r(803),i=r(314),a=r(315),o=r(818),s=r(286);function c(e,t,r){if(e=e.toLowerCase(),a[e])return i.createCipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),a[e])return i.createDecipheriv(e,t,r);if(o[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),a[e])r=a[e].key,n=a[e].iv;else{if(!o[e])throw new TypeError("invalid suite type");r=8*o[e].key,n=o[e].iv}var i=s(t,!1,r,n);return u(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(o).concat(i.getCiphers())}},function(e,t,r){var n=r(194),i=r(313),a=r(33),o=r(40).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),"des-ede"!==r&&"des-ede-cbc"!==r||(a=o.concat([a,a.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=i.create({key:a,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,a(c,n),c.prototype._update=function(e){return o.from(this._des.update(e))},c.prototype._final=function(){return o.from(this._des.final())}},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[n+0]=i>>>0,r[n+1]=a>>>0},t.rip=function(e,t,r,n){for(var i=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;for(o=4;o<8;o++)for(s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.pc1=function(e,t,r,n){for(var i=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var a=0,o=0,s=n.length>>>1,c=0;c<s;c++)a<<=1,a|=e>>>n[c]&1;for(c=s;c<n.length;c++)o<<=1,o|=t>>>n[c]&1;r[i+0]=a>>>0,r[i+1]=o>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)n<<=6,n|=e>>>a&63;for(a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<a.length;r++)t<<=1,t|=e>>>a[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],a=0;a<t;a+=r)i.push(n.slice(a,a+r));return i.join(" ")}},function(e,t,r){"use strict";var n=r(152);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,r){"use strict";var n=r(152),i=r(33),a=r(313),o=a.utils,s=a.Cipher;function c(){this.tmp=new Array(2),this.keys=null}function u(e){s.call(this,e);var t=new c;this._desState=t,this.deriveKeys(t,e.key)}i(u,s),e.exports=u,u.create=function(e){return new u(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=l[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},u.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},u.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},u.prototype._encrypt=function(e,t,r,n,i){for(var a=t,s=r,c=0;c<e.keys.length;c+=2){var u=e.keys[c],l=e.keys[c+1];o.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=o.substitute(u,l),f=s;s=(a^o.permute(d))>>>0,a=f}o.rip(s,a,n,i)},u.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];o.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=o.substitute(u,l),f=a;a=(s^o.permute(d))>>>0,s=f}o.rip(a,s,n,i)}},function(e,t,r){"use strict";var n=r(152),i=r(33),a={};function o(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(a),n=0;n<r.length;n++){var o=r[n];t.prototype[o]=a[o]}return t.create=function(e){return new t(e)},t},a._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},a._update=function(e,t,r,n){var i=this._cbcState,a=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)o[s]^=e[t+s];a._update.call(this,o,0,r,n);for(s=0;s<this.blockSize;s++)o[s]=r[n+s]}else{a._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=o[s];for(s=0;s<this.blockSize;s++)o[s]=e[t+s]}}},function(e,t,r){"use strict";var n=r(152),i=r(33),a=r(313),o=a.Cipher,s=a.DES;function c(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),a=t.slice(16,24);this.ciphers="encrypt"===e?[s.create({type:"encrypt",key:r}),s.create({type:"decrypt",key:i}),s.create({type:"encrypt",key:a})]:[s.create({type:"decrypt",key:a}),s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:r})]}function u(e){o.call(this,e);var t=new c(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},u.prototype._pad=s.prototype._pad,u.prototype._unpad=s.prototype._unpad},function(e,t,r){var n=r(315),i=r(402),a=r(40).Buffer,o=r(403),s=r(194),c=r(285),u=r(286);function l(e,t,r){s.call(this),this._cache=new f,this._cipher=new c.AES(t),this._prev=a.from(r),this._mode=e,this._autopadding=!0}r(33)(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return a.concat(n)};var d=a.alloc(16,16);function f(){this.cache=a.allocUnsafe(0)}function p(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof t&&(t=a.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"===typeof r&&(r=a.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new o(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new l(s.module,t,r)}l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=a.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return a.concat([this.cache,t])},t.createCipheriv=p,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(t,!1,r.key,r.iv);
vendor: 10,494 bytes, line 1
1return p(e,i.key,i.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,r){var n=r(256);t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},function(e,t,r){var n=r(40).Buffer,i=r(256);function a(e,t,r){var a=t.length,o=i(t,e._cache);return e._cache=e._cache.slice(a),e._prev=n.concat([e._prev,r?t:o]),o}t.encrypt=function(e,t,r){for(var i,o=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){o=n.concat([o,a(e,t,r)]);break}i=e._cache.length,o=n.concat([o,a(e,t.slice(0,i),r)]),t=t.slice(i)}return o}},function(e,t,r){var n=r(40).Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:i])]),i}t.encrypt=function(e,t,r){for(var a=t.length,o=n.allocUnsafe(a),s=-1;++s<a;)o[s]=i(e,t[s],r);return o}},function(e,t,r){var n=r(40).Buffer;function i(e,t,r){for(var n,i,o=-1,s=0;++o<8;)n=t&1<<7-o?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^n))>>o%8,e._prev=a(e._prev,r?n:i);return s}function a(e,t){var r=e.length,i=-1,a=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)a[i]=e[i]<<1|e[i+1]>>7;return a}t.encrypt=function(e,t,r){for(var a=t.length,o=n.allocUnsafe(a),s=-1;++s<a;)o[s]=i(e,t[s],r);return o}},function(e,t,r){(function(e){var n=r(256);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,i(t)]);var a=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,a)}}).call(this,r(103).Buffer)},function(e,t,r){var n=r(40).Buffer,i=n.alloc(16,0);function a(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},o.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],o=-1;++o<128;){for(0!==(this.state[~~(o/8)]&1<<7-o%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=a(i)},o.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=o},function(e,t,r){var n=r(402),i=r(40).Buffer,a=r(315),o=r(403),s=r(194),c=r(285),u=r(286);function l(e,t,r){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function f(e,t,r){var s=a[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new l(s.module,t,r)}r(33)(l,s),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return f(e,n.key,n.iv)},t.createDecipheriv=f},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(404),i=r(823),a=r(824);var o={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new a(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,i,s,c){return e.isBuffer(i)||void 0===o[i]?t(r,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,c)),"number"===typeof r?new a(n(r,s),s,!0):(e.isBuffer(r)||(r=new e(r,i)),new a(r,s,!0)))}}).call(this,r(103).Buffer)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},,,function(e){e.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
107b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},function(e,t,r){(function(t){var n=r(104),i=new(r(405)),a=new n(24),o=new n(11),s=new n(10),c=new n(3),u=new n(7),l=r(404),d=r(230);function f(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function p(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=m;var _={};function m(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=f,this.setPrivateKey=p):this._primeCode=8}function g(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in _)return _[n];var d,f=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!i.test(e))return f+=1,f+="02"===r||"05"===r?8:4,_[n]=f,f;switch(i.test(e.shrn(1))||(f+=2),r){case"02":e.mod(a).cmp(o)&&(f+=8);break;case"05":(d=e.mod(s)).cmp(c)&&d.cmp(u)&&(f+=8);break;default:f+=4}return _[n]=f,f}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(d(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(r.toArray()),a=this.getPrime();if(i.length<a.length){var o=new t(a.length-i.length);o.fill(0),i=t.concat([o,i])}return i},m.prototype.getPublicKey=function(e){return g(this._pub,e)},m.prototype.getPrivateKey=function(e){return g(this._priv,e)},m.prototype.getPrime=function(e){return g(this.__prime,e)},m.prototype.getGenerator=function(e){return g(this._gen,e)},m.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r(103).Buffer)},function(e,t,r){(function(t){var n=r(254),i=r(308),a=r(33),o=r(826),s=r(858),c=r(394);function u(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");
vendor: 4,527 bytes, line 1
1this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new u(e)}function f(e){return new l(e)}Object.keys(c).forEach(function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),a(u,i.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,r){return"string"===typeof e&&(e=new t(e,r)),this._hash.update(e),this},u.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=o(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(l,i.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,r){return"string"===typeof e&&(e=new t(e,r)),this._hash.update(e),this},l.prototype.verify=function(e,r,n){"string"===typeof r&&(r=new t(r,n)),this.end();var i=this._hash.digest();return s(r,i,e,this._signType,this._tag)},e.exports={Sign:d,Verify:f,createSign:d,createVerify:f}}).call(this,r(103).Buffer)},function(e,t,r){(function(t){var n=r(392),i=r(317),a=r(318).ec,o=r(104),s=r(288),c=r(415);function u(e,r,i,a){if((e=new t(e.toArray())).length<r.byteLength()){var o=new t(r.byteLength()-e.length);o.fill(0),e=t.concat([o,e])}var s=i.length,c=function(e,r){e=(e=l(e,r)).mod(r);var n=new t(e.toArray());if(n.length<r.byteLength()){var i=new t(r.byteLength()-n.length);i.fill(0),n=t.concat([i,n])}return n}(i,r),u=new t(s);u.fill(1);var d=new t(s);return d.fill(0),d=n(a,d).update(u).update(new t([0])).update(e).update(c).digest(),u=n(a,d).update(u).digest(),{k:d=n(a,d).update(u).update(new t([1])).update(e).update(c).digest(),v:u=n(a,d).update(u).digest()}}function l(e,t){var r=new o(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function d(e,r,i){var a,o;do{for(a=new t(0);8*a.length<e.bitLength();)r.v=n(i,r.k).update(r.v).digest(),a=t.concat([a,r.v]);o=l(a,e),r.k=n(i,r.k).update(r.v).update(new t([0])).digest(),r.v=n(i,r.k).update(r.v).digest()}while(-1!==o.cmp(e));return o}function f(e,t,r,n){return e.toRed(o.mont(r)).redPow(t).fromRed().mod(n)}e.exports=function(e,r,n,p,_){var m=s(r);if(m.curve){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw new Error("wrong private key type");return function(e,r){var n=c[r.curve.join(".")];if(!n)throw new Error("unknown curve "+r.curve.join("."));var i=new a(n).keyFromPrivate(r.privateKey).sign(e);return new t(i.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==p)throw new Error("wrong private key type");return function(e,r,n){for(var i,a=r.params.priv_key,s=r.params.p,c=r.params.q,p=r.params.g,_=new o(0),m=l(e,c).mod(c),g=!1,h=u(a,c,e,n);!1===g;)i=d(c,h,n),_=f(p,i,s,c),0===(g=i.invm(c).imul(m.add(a.mul(_))).mod(c)).cmpn(0)&&(g=!1,_=new o(0));return function(e,r){e=e.toArray(),r=r.toArray(),128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r));var n=[48,e.length+r.length+4,2,e.length];return n=n.concat(e,[2,r.length],r),new t(n)}(_,g)}(e,m,n)}if("rsa"!==p&&"ecdsa/rsa"!==p)throw new Error("wrong private key type");e=t.concat([_,e]);for(var g=m.modulus.byteLength(),h=[0,1];e.length+h.length+1<g;)h.push(255);h.push(0);for(var v=-1;++v<e.length;)h.push(e[v]);return i(h,m)},e.exports.getKey=u,e.exports.makeKey=d}).call(this,r(103).Buffer)},function(e){e.exports={_args:[["[email protected]","/workspace"]],_from:"[email protected]",_id:"[email protected]",_inBundle:!1,_integrity:"sha512-xvJINNLbTeWQjrl6X+7eQCrIy/YPv5XCpKW6kB5mKvtnGILoLDcySuwomfdzt0BMdLNVnuRNTuzKNHj0bva1Cg==",_location:"/elliptic",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"[email protected]",name:"elliptic",escapedName:"elliptic",rawSpec:"6.5.1",saveSpec:null,fetchSpec:"6.5.1"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.5.1.tgz",_spec:"6.5.1",_where:"/workspace",author:{name:"Fedor Indutny",email:"[email protected]"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^3.0.4",grunt:"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.2",jscs:"^3.0.7",jshint:"^2.6.0",moch
vendor: 4,385 bytes, line 1
1a:"^6.1.4"},files:["lib"],homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",name:"elliptic",repository:{type:"git",url:"git+ssh://[email protected]/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.5.1"}},function(e,t,r){"use strict";var n=r(153),i=r(104),a=r(33),o=r(287),s=n.assert;function c(e){o.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(c,o),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?r=a[0]:(r=a[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),a=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(a).fromRed(),n.redSub(a).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,r,n,a,o,s,c,u,l,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,p=this.n.clone(),_=new i(1),m=new i(0),g=new i(0),h=new i(1),v=0;0!==f.cmpn(0);){var y=p.div(f);u=p.sub(y.mul(f)),l=g.sub(y.mul(_));var b=h.sub(y.mul(m));if(!n&&u.cmp(d)<0)t=c.neg(),r=_,n=u.neg(),a=l;else if(n&&2===++v)break;c=u,p=f,f=u,g=_,_=l,h=m,m=b}o=u.neg(),s=l;var x=n.sqr().add(a.sqr());return o.sqr().add(s.sqr()).cmp(x)>=0&&(o=t,s=r),n.negative&&(n=n.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:a},{a:o,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),c=i.mul(r.b),u=a.mul(n.b);return{k1:e.sub(o).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=n.fromRed().isOdd();return(t&&!a||!t&&a)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],c=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),n[2*a]=s,n[2*a+1]=c,i[2*a]=o.k1,i[2*a+1]=o.k2}for(var u=this._wnafMulAdd(1,n,i,2*a,r),l=0;l<2*a;l++)n[l]=null,i[l]=null;return u},a(u,o.BasePoint),c.prototype.point=function(e,t,r){return new u(this,e,t,r)},c.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.prec
vendor: 4,195 bytes, line 1
1omputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"===typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var a=t[2];return n.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[n].concat(a.doubles.points.map(i))},naf:a.naf&&{wnd:a.naf.wnd,points:[n].concat(a.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(l,o.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),d=n.redMul(u),f=c.redSqr().redIAdd(l).redISub(d).redISub(d),p=c.redMul(d.redISub(f)).redISub(a.redMul(l)),_=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,p,_)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;
vendor: 4,084 bytes, line 1
1var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),l=r.redMul(c),d=s.redSqr().redIAdd(u).redISub(l).redISub(l),f=s.redMul(l.redISub(d)).redISub(i.redMul(u)),p=this.z.redMul(o);return this.curve.jpoint(d,f,p)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}var n=this.curve.a,i=this.curve.tinv,a=this.x,o=this.y,s=this.z,c=s.redSqr().redSqr(),u=o.redAdd(o);for(r=0;r<e;r++){var l=a.redSqr(),d=u.redSqr(),f=d.redSqr(),p=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),_=a.redMul(d),m=p.redSqr().redISub(_.redAdd(_)),g=_.redISub(m),h=p.redMul(g);h=h.redIAdd(h).redISub(f);var v=u.redMul(s);r+1<e&&(c=c.redMul(f)),a=m,s=v,u=h}return this.curve.jpoint(a,u.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(o).redISub(o),u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),d=this.y.redSqr(),f=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(l).redISub(f);p=p.redIAdd(p);var _=l.redAdd(l).redIAdd(l),m=_.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(p).redISub(p),t=_.redMul(p.redISub(e)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},l.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(o).redISub(o);e=c;var u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),d=this.y.redSqr(),f=this.x.redMul(d),p=this.x.redSub(l).redMul(this.x.redAdd(l));p=p.redAdd(p).redIAdd(p);var _=f.redIAdd(f),m=(_=_.redIAdd(_)).redAdd(_);e=p.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(l);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=p.redMul(_.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},l.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),a=t.redSqr(),o=r.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(o),l=s.redSqr().redISub(u.redAdd(u)),d=u.redISub(l),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=s.redMul(d).redISub(f),_=r.redAdd(r).redMul(n);return this.curve.jpoint(l,p,_)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(c),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.x.redMul(s).redISub(l);d=(d=d.redIAdd(d)).redIAdd(d);var f=this.y.redMul(u.redMul(c.redISub(u)).redISub(o.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var p=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(d,f,p)},l.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},l.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)}
vendor: 4,196 bytes, line 1
1,l.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(104),i=r(33),a=r(287),o=r(153);function s(e){a.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,a),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(c,a.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},s.prototype.point=function(e,t){return new c(this,e,t)},s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(r),o=i.redMul(n),s=t.z.redMul(a.redAdd(o).redSqr()),c=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var a=i.length-1;a>=0;a--)0===i[a]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(153),i=r(104),a=r(33),o=r(287),s=n.assert;function c(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function u(e,t,r,n,a){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=a&&new i(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}
vendor: 9,689 bytes, line 1
1a(c,o),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),a=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=n.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),a=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=n.redMul(a.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},a(u,o.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),o=a.redSub(r),s=n.redSub(t),c=i.redMul(o),u=a.redMul(s),l=i.redMul(s),d=o.redMul(a);return this.curve.point(c,u,d,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=n.redSub(i).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(a)),r=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),c=o.redSub(s).redISub(s);e=n.redSub(i).redISub(a).redMul(c),t=o.redMul(u.redSub(a)),r=o.redMul(c)}}else{var u=i.redAdd(a);s=this.curve._mulC(this.z).redSqr(),c=u.redSub(s).redSub(s);e=this.curve._mulC(n.redISub(u)).redMul(c),t=this.curve._mulC(u).redMul(i.redISub(a)),r=u.redMul(c)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=i.redSub(n),s=i.redAdd(n),c=r.redAdd(t),u=a.redMul(o),l=s.redMul(c),d=a.redMul(c),f=o.redMul(s);return this.curve.point(u,l,f,d)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),d=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(a))),r=c.redMul(u)):(t=n.redMul(u).redMul(o.redSub(a)),r=this.curve._mulC(c).redMul(u)),this.curve.point(d,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t,r){"use strict";t.sha1=r(832),t.sha224=r(833),t.sha256=r(409),t.sha384=r(834),t.sha512=r(410)},function(e,t,r){"use strict";var n=r(167),i=r(257),a=r(408),o=n.rotl32,s=n.sum32,c=n.sum32_5,u=a.ft_1,l=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,l),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=o(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],a=this.h[1],l=this.h[2],f=this.h[3],p=this.h[4];for(n=0;n<r.length;n++){var _=~~(n/20),m=c(o(i,5),u(_,a,l,f),p,r[n],d[_]);p=f,f=l,l=o(a,30),a=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],p)},f.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(167),i=r(409);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,r){"use strict";var n=r(167),i=r(410);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,r){"use strict";var n=r(167),i=r(257),a=n.rotl32,o=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function p(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],v=r,y=n,b=i,x=u,S=l,k=0;k<80;k++){var C=o(a(c(r,d(k,n,i,u),e[_[k]+t],f(k)),g[k]),l);r=l,l=u,u=a(i,10),i=n,n=C,C=o(a(c(v,d(79-k,y,b,x),e[m[k]+t],p(k)),h[k]),S),v=S,S=x,x=a(b,10),b=y,y=C}C=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,S),this.h[2]=s(this.h[3],l,v),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,b),this.h[0]=C},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var _=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,r){"use strict";var n=r(167),i=r(152);function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e
vendor: 18,403 bytes, line 1
1.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0
vendor: 7,734 bytes, line 1
1a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 3,435 bytes, line 1
1function(e,t,r){"use strict";var n=r(104),i=r(839),a=r(153),o=r(319),s=r(316),c=a.assert,u=r(840),l=r(841);function d(e){if(!(this instanceof d))return new d(e);"string"===typeof e&&(c(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),a=this.n.sub(new n(2));;){var o=new n(t.generate(r));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},d.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,a){"object"===typeof r&&(a=r,r=null),a||(a={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),c=e.toArray("be",o),u=new i({hash:this.hash,entropy:s,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new n(1)),f=0;;f++){var p=a.k?a.k(f):new n(u.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(d)>=0)){var _=this.g.mul(p);if(!_.isInfinity()){var m=_.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var h=p.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(h=h.umod(this.n)).cmpn(0)){var v=(_.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return a.canonical&&h.cmp(this.nh)>0&&(h=this.n.sub(h),v^=1),new l({r:g,s:h,recoveryParam:v})}}}}}},d.prototype.verify=function(e,t,r,i){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,i);var a=(t=new l(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),u=c.mul(e).umod(this.n),d=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),d)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(u,r.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},d.prototype.recoverPubKey=function(e,t,r,i){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,i);var a=this.n,o=new n(e),s=t.r,u=t.s,d=1&r,f=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var p=t.r.invm(a),_=a.sub(o).mul(p).umod(a),m=u.mul(p).umod(a);return this.g.mulAdd(_,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(320),i=r(406),a=r(152);function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;
vendor: 16,218 bytes, line 1
1var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=o,o.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,n){"string"!==typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var a=[];a.length<e;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var o=a.slice(0,e);return this._update(r),this._reseed++,i.encode(o,t)}},function(e,t,r){"use strict";var n=r(104),i=r(153).assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return"string"===typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(104),i=r(153),a=i.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,a=0,o=t.place;a<n;a++,o++)i<<=8,i|=e[o];return t.place=o,i}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function l(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=o,o.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;if(c(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=c(e,r),o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var u=c(e,r);if(e.length!==u+r.place)return!1;var l=e.slice(r.place,u+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new n(o),this.s=new n(l),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var a=n.concat(r),o=[48];return l(o,a.length),o=o.concat(a),i.encode(o,e)}},function(e,t,r){"use strict";var n=r(320),i=r(319),a=r(153),o=a.assert,s=a.parseBytes,c=r(843),u=r(844);function l(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),a=this.encodePoint(i),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),c=n.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:a})},l.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(a)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},l.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},l.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},l.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},l.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!==(128&e[t]),i=a.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(e){return a.intFromLE(e)},l.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(153),i=n.assert,a=n.parseBytes,o=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),o(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},function(e,t,r){"use strict";var n=r(104),i=r(153),a=i.assert,o=i.cachedProperty,s=i.parseBytes;function c(e,t){this.eddsa=e,"object"!==typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(c,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(c,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(c,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(c,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},function(e,t,r){"use strict";var n=r(258);t.certificate=r(855);var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=i;var a=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=a;var o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});t.PublicKey=o;var s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});t.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=l,t.DSAparam=n.define("DSAparam",function(){this.int()});var d=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=d;var f=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},function(e,t,r){var n=r(258),i=r(33);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=r(847).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(n){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var a=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(a,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"===typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},function(e,t,r){var n=r(33);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof a;if(t=n?e:new a(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(e,t,r){var n=r(259).Reporter,i=r(259).EncoderBuffer,a=r(259).DecoderBuffer,o=r(152),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}
vendor: 3,321 bytes, line 1
1e.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};l.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){var e=this._baseState;c.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),o.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!==typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),s.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}}),u.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,i=r.default,o=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(o=this._peekTag(e,c,r.any),e.isError(o))return o}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),o=!0}
vendor: 10,732 bytes, line 1
1catch(_){o=!1}e.restore(u)}}if(r.obj&&o&&(n=e.enterObject()),o){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var f=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(f))return f;r.any?i=e.raw(u):e=f}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),i=r.any?i:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new a(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(p,t)}}return r.obj&&o&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==o?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},u.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(a){var o=e.save(),s=r.choice[a];try{var c=s._decode(e,t);if(e.isError(c))return!1;n={type:a,value:c},i=!0}catch(u){return e.restore(o),!1}return!0},this),i?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},u.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);var a=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var o=null,s=!1;if(i.any)a=this._createEncoderBuffer(e);else if(i.choice)a=this._encodeChoice(e,t);else if(i.contains)o=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)o=i.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!==typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},c))}else null!==i.use?a=this._getUse(i.use,r)._encode(e,t):(o=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(a=this._encodeComposite(u,s,l,o))}return null!==i.explicit&&(a=this._encodeComposite(i.explicit,!1,"context",a)),a},u.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},function(e,t,r){var n=r(412);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},function(e,t,r){var n=t;n.der=r(413),n.pem=r(852)},function(e,t,r){var n=r(33),i=r(103).Buffer,a=r(413);function o(e){a.call(this,e),this.enc="pem"}n(o,a),e.exports=o,o.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(o);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var d=r.slice(s+1,c).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new i(d,"base64");return a.prototype.decode.call(this,f,t)}},function(e,t,r){var n=t;n.der=r(414),n.pem=r(854)},function(e,t,r){var n=r(33),i=r(414);function a(e){i.call(this,e),this.enc="pem"}n(a,i),e.exports=a,a.prototype.encode=function(e,t){for(var r=i.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],a=0;a<r.length;a+=64)n.push(r.slice(a,a+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},function(e,t,r){"use strict";var n=r(258),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(a)}),u=n.define("RDNSequence",function(){this.seqof(c)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),f=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(l),this.key("validity").use(d),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())}),_=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});e.exports=_},function(e){e.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},function(e,t,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,o=r(286),s=r(314),c=r(40).Buffer;e.exports=function(e,t){var r,u=e.toString(),l=u.match(n);if(l){var d="aes"+l[1],f=c.from(l[2],"hex"),p=c.from(l[3].replace(/[\r\n]/g,""),"base64"),_=o(t,f.slice(0,8),parseInt(l[1],10)).key,m=[],g=s.createDecipheriv(d,_,f);m.push(g.update(p)),m.push(g.final()),r=c.concat(m)}else{var h=u.match(a);r=new c(h[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},function(e,t,r){(function(t){var n=r(104),i=r(318).ec,a=r(288),o=r(415);function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,r,c,u,l){var d=a(c);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=o[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var a=new i(n),s=r.data.subjectPrivateKey.data;return a.verify(t,e,s)}(e,r,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var i=r.data.p,o=r.data.q,c=r.data.g,u=r.data.pub_key,l=a.signature.decode(e,"der"),d=l.s,f=l.r;s(d,o),s(f,o);var p=n.mont(i),_=d.invm(o);return 0===c.toRed(p).redPow(new n(t).mul(_).mod(o)).fromRed().mul(u.toRed(p).redPow(f.mul(_).mod(o)).fromRed()).mod(i).mod(o).cmp(f)}(e,r,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");r=t.concat([l,r]);for(var f=d.modulus.byteLength(),p=[1],_=0;r.length+p.length+2<f;)p.push(255),_++;p.push(0);for(var m=-1;++m<r.length;)p.push(r[m]);p=new t(p);var g=n.mont(d.modulus);e=(e=new n(e).toRed(g)).redPow(new n(d.publicExponent)),e=new t(e.fromRed().toArray());var h=_<8?1:0;for(f=Math.min(e.length,p.length),e.length!==p.length&&(h=1),m=-1;++m<f;)h|=e[m]^p[m];return 0===h}}).call(this,r(103).Buffer)},function(e,t,r){(function(t){var n=r(318),i=r(104);e.exports=function(e){return new o(e)};var a={secp256k1:{name:"secp256k1",byteLength:32}
1,secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(e,r,n){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(n&&i.length<n){var a=new t(n-i.length);a.fill(0),i=t.concat([a,i])}return r?i.toString(r):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,o.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},o.prototype.computeSecret=function(e,r,n){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},o.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},o.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},o.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},o.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new i(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(103).Buffer)},function(e,t,r){t.publicEncrypt=r(861),t.privateDecrypt=r(862),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},function(e,t,r){var n=r(288),i=r(230),a=r(254),o=r(416),s=r(417),c=r(104),u=r(418),l=r(317),d=r(40).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var p,_=n(e);if(4===f)p=function(e,t){var r=e.modulus.byteLength(),n=t.length,u=a("sha1").update(d.alloc(0)).digest(),l=u.length,f=2*l;if(n>r-f-2)throw new Error("message too long");var p=d.alloc(r-n-f-2),_=r-l-1,m=i(l),g=s(d.concat([u,p,d.alloc(1,1),t],_),o(m,_)),h=s(m,o(g,l));return new c(d.concat([d.alloc(1),h,g],r))}(_,t);else if(1===f)p=function(e,t,r){var n,a=t.length,o=e.modulus.byteLength();if(a>o-11)throw new Error("message too long");n=r?d.alloc(o-a-3,255):function(e){var t,r=d.allocUnsafe(e),n=0,a=i(2*e),o=0;for(;n<e;)o===a.length&&(a=i(2*e),o=0),(t=a[o++])&&(r[n++]=t);return r}(o-a-3);return new c(d.concat([d.from([0,r?1:2]),n,d.alloc(1),t],o))}(_,t,r);else{if(3!==f)throw new Error("unknown padding");if((p=new c(t)).cmp(_.modulus)>=0)throw new Error("data too long for modulus")}return r?l(p,_):u(p,_)}},function(e,t,r){var n=r(288),i=r(416),a=r(417),o=r(104),s=r(317),c=r(254),u=r(418),l=r(40).Buffer;e.exports=function(e,t,r){var d;d=e.padding?e.padding:r?1:4;var f,p=n(e),_=p.modulus.byteLength();if(t.length>_||new o(t).cmp(p.modulus)>=0)throw new Error("decryption error");f=r?u(new o(t),p):s(t,p);var m=l.alloc(_-f.length);if(f=l.concat([m,f],_),4===d)return function(e,t){var r=e.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,o+1),u=t.slice(o+1),d=a(s,i(u,o)),f=a(u,i(d,r-o-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,f.slice(0,o)))throw new Error("decryption error");var p=o;for(;0===f[p];)p++;if(1!==f[p++])throw new Error("decryption error");return f.slice(p)}(p,f);if(1===d)return function(e,t,r){var n=t.slice(0,2),i=2,a=0;for(;0!==t[i++];)if(i>=t.length){a++;break}var o=t.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++;o.length<8&&a++;if(a)throw new Error("decryption error");return t.slice(i)}(0,f,r);if(3===d)return f;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=r(40),o=r(230),s=a.Buffer,c=a.kMaxLength,u=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function d(e,t){if("number"!==typeof e||e!==e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function f(e,t,r){if("number"!==typeof e||e!==e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>c)throw new RangeError("buffer too small")}function p(e,t,r,i){if(n.browser){var a=e.buffer,s=new Uint8Array(a,t,r);return u.getRandomValues(s),i?void n.nextTick(function(){i(null,e)}):e}if(!i)return o(r).copy(e,t),e;o(r,function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)})}u&&u.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,i){if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=t.length;else if("function"===typeof n)i=n,n=t.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return d(r,t.length),f(n,r,t.length),p(t,r,n,i)},t.randomFillSync=function(t,r,n){"undefined"===typeof r&&(r=0);if(!s.isBuffer(t)&&!(t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');d(r,t.length),void 0===n&&(n=t.length-r);return f(n,r,t.length),p(t,r,n)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,r(127),r(151))},function(e,t,r){(function(e){var n,i=r(865).SourceMapConsumer,a=r(872);try{(n=r(422)).existsSync&&n.readFileSync||(n=null)}catch(N){}var o=r(873),s=!1,c=!1,u=!1,l="auto",d={},f={},p=/^data:application\/json[^,]+base64,/,_=[],m=[];function g(){return"browser"===l||"node"!==l&&("undefined"!==typeof window&&"function"===typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type))}function h(e){return function(t){for(var r=0;r<e.length;r++){var n=e[r](t);if(n)return n}return null}}var v=h(_);function y(e,t){if(!e)return t;var r=a.dirname(e),n=/^\w+:\/\/[^\/]*/.exec(r),i=n?n[0]:"",o=r.slice(i.length);return i&&/^\/\w\:/.test(o)?(i+="/")+a.resolve(r.slice(i.length),t).replace(/\\/g,"/"):i+a.resolve(r.slice(i.length),t)}_.push(function(e){if(e=e.trim(),/^file:/.test(e)&&(e=e.replace(/file:\/\/\/(\w:)?/,function(e,t){return t?"":"/"})),e in d)return d[e];var t="";try{if(n)n.existsSync(e)&&(t=n.readFileSync(e,"utf8"));else{var r=new XMLHttpRequest;r.open("GET",e,!1),r.send(null),4===r.readyState&&200===r.status&&(t=r.responseText)}}catch(i){}return d[e]=t});var b=h(m);function x(e){var t=f[e.source];if(!t){var r=b(e.source);r?(t=f[e.source]={url:r.url,map:new i(r.map)}
1).map.sourcesContent&&t.map.sources.forEach(function(e,r){var n=t.map.sourcesContent[r];if(n){var i=y(t.url,e);d[i]=n}}):t=f[e.source]={url:null,map:null}}if(t&&t.map&&"function"===typeof t.map.originalPositionFor){var n=t.map.originalPositionFor(e);if(null!==n.source)return n.source=y(t.url,n.source),n}return e}function S(){var e,t="";if(this.isNative())t="native";else{!(e=this.getScriptNameOrSourceURL())&&this.isEval()&&(t=this.getEvalOrigin(),t+=", "),t+=e||"<anonymous>";var r=this.getLineNumber();if(null!=r){t+=":"+r;var n=this.getColumnNumber();n&&(t+=":"+n)}}var i="",a=this.getFunctionName(),o=!0,s=this.isConstructor();if(!(this.isToplevel()||s)){var c=this.getTypeName();"[object Object]"===c&&(c="null");var u=this.getMethodName();a?(c&&0!=a.indexOf(c)&&(i+=c+"."),i+=a,u&&a.indexOf("."+u)!=a.length-u.length-1&&(i+=" [as "+u+"]")):i+=c+"."+(u||"<anonymous>")}else s?i+="new "+(a||"<anonymous>"):a?i+=a:(i+=t,o=!1);return o&&(i+=" ("+t+")"),i}function k(e){var t={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(r){t[r]=/^(?:is|get)/.test(r)?function(){return e[r].call(e)}:e[r]}),t.toString=S,t}function C(e){if(e.isNative())return e;var t=e.getFileName()||e.getScriptNameOrSourceURL();if(t){var r=e.getLineNumber(),n=e.getColumnNumber()-1;1===r&&n>62&&!g()&&!e.isEval()&&(n-=62);var i=x({source:t,line:r,column:n}),a=(e=k(e)).getFunctionName;return e.getFunctionName=function(){return i.name||a()},e.getFileName=function(){return i.source},e.getLineNumber=function(){return i.line},e.getColumnNumber=function(){return i.column+1},e.getScriptNameOrSourceURL=function(){return i.source},e}var o=e.isEval()&&e.getEvalOrigin();return o?(o=function e(t){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(t);if(r){var n=x({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}return(r=/^eval at ([^(]+) \((.+)\)$/.exec(t))?"eval at "+r[1]+" ("+e(r[2])+")":t}(o),(e=k(e)).getEvalOrigin=function(){return o},e):e}function E(e,t){return u&&(d={},f={}),(e.name||"Error")+": "+(e.message||"")+t.map(function(e){return"\n at "+C(e)}).join("")}function T(e){var t=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(t){var r=t[1],i=+t[2],a=+t[3],o=d[r];if(!o&&n&&n.existsSync(r))try{o=n.readFileSync(r,"utf8")}catch(c){o=""}if(o){var s=o.split(/(?:\r\n|\r|\n)/)[i-1];if(s)return r+":"+i+"\n"+s+"\n"+new Array(a).join(" ")+"^"}}return null}function w(){var t=e.emit;e.emit=function(r){if("uncaughtException"===r){var n=arguments[1]&&arguments[1].stack,i=this.listeners(r).length>0;if(n&&!i)return function(t){var r=T(t);e.stderr._handle&&e.stderr._handle.setBlocking&&e.stderr._handle.setBlocking(!0),r&&(console.error(),console.error(r)),console.error(t.stack),e.exit(1)}(arguments[1])}return t.apply(this,arguments)}}m.push(function(e){var t,r=function(e){var t;if(g())try{var r=new XMLHttpRequest;r.open("GET",e,!1),r.send(null),t=4===r.readyState?r.responseText:null;var n=r.getResponseHeader("SourceMap")||r.getResponseHeader("X-SourceMap");if(n)return n}catch(s){}t=v(e);for(var i,a,o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;a=o.exec(t);)i=a;return i?i[1]:null}(e);if(!r)return null;if(p.test(r)){var n=r.slice(r.indexOf(",")+1);t=o(n,"base64").toString(),r=e}else r=y(e,r),t=v(r);return t?{url:r,map:t}:null});var D=_.slice(0),A=m.slice(0);t.wrapCallSite=C,t.getErrorSource=T,t.mapSourcePosition=x,t.retrieveSourceMap=b,t.install=function(t){if((t=t||{}).environment&&(l=t.environment,-1===["node","browser","auto"].indexOf(l)))throw new Error("environment "+l+" was unknown. Available options are {auto, browser, node}");if(t.retrieveFile&&(t.overrideRetrieveFile&&(_.length=0),_.unshift(t.retrieveFile)),t.retrieveSourceMap&&(t.overrideRetrieveSourceMap&&(m.length=0),m.unshift(t.retrieveSourceMap)),t.hookRequire&&!g()){var n;try{n=r(422)}catch(N){}var i=n.prototype._compile;i.__sourceMapSupport||(n.prototype._compile=function(e,t){return d[t]=e,f[t]=void 0,i.call(this,e,t)},n.prototype._compile.__sourceMapSupport=!0)}(u||(u="emptyCacheBetweenOperations"in t&&t.emptyCacheBetweenOperations),s||(s=!0,Error.prepareStackTrace=E),c)||(!("handleUncaughtExceptions"in t)||t.handleUncaughtExceptions)&&"object"===typeof e&&null!==e&&"function"===typeof e.on&&(c=!0,w())},t.resetRetrieveHandlers=function(){_.length=0,m.length=0,_=D.slice(0),m=A.slice(0),b=h(m),v=h(_)}}).call(this,r(151))},function(e,t,r){t.SourceMapGenerator=r(419).SourceMapGenerator,t.SourceMapConsumer=r(868).SourceMapConsumer,t.SourceNode=r(871).SourceNode},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t,r){var n=r(260);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){!function(e,t){var r=e.generatedLine,i=t.generatedLine,a=e.generatedColumn,o=t.generatedColumn;return i>r||i==r&&o>=a||n.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},function(e,t,r){var n=r(260),i=r(869),a=r(421).ArraySet,o=r(420),s=r(870).quickSort;function c(e,t){var r=e;return"string"===typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new d(r,t):new u(r,t)}function u(e,t){var r=e;"string"===typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sources"),s=n.getArg(r,"names",[]),c=n.getArg(r,"sourceRoot",null),u=n.getArg(r,"sourcesContent",null),l=n.getArg(r,"mappings"),d=n.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=n.normalize(c)),o=o.map(String).map(n.normalize).map(function(e){return c&&n.isAbsolute(c)&&n.isAbsolute(e)?n.relative(c,e):e}),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(e){return n.computeSourceURL(c,e,t)}),this.sourceRoot=c,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=t,this.file=d}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var r=e;"string"===typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),a=n.getArg(r,"column");if(i<s.line||i===s.line&&a<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new c(n.getArg(e,"map"),t)}})}c.fromSourceMap=function(e,t){return u.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,r){var i,a=t||null;switch(r||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;i.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=n.computeSourceURL(o,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,a)},c.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var a=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(void 0===e.column)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var u=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==u;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return a},t.SourceMapConsumer=c,u.prototype=Object.create(c.prototype),u.prototype.consumer=c,u.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=n.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},u.fromSourceMap=function(e,t){var r=Object.create(u.prototype),i=r._names=a.fromArray(e._names.toArray(),!0),o=r._sources=a.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.f
vendor: 8,609 bytes, line 1
1ile=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(e){return n.computeSourceURL(r.sourceRoot,e,t)});for(var c=e._mappings.toArray().slice(),d=r.__generatedMappings=[],f=r.__originalMappings=[],p=0,_=c.length;p<_;p++){var m=c[p],g=new l;g.generatedLine=m.generatedLine,g.generatedColumn=m.generatedColumn,m.source&&(g.source=o.indexOf(m.source),g.originalLine=m.originalLine,g.originalColumn=m.originalColumn,m.name&&(g.name=i.indexOf(m.name)),f.push(g)),d.push(g)}return s(r.__originalMappings,n.compareByOriginalPositions),r},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),u.prototype._parseMappings=function(e,t){for(var r,i,a,c,u,d=1,f=0,p=0,_=0,m=0,g=0,h=e.length,v=0,y={},b={},x=[],S=[];v<h;)if(";"===e.charAt(v))d++,v++,f=0;else if(","===e.charAt(v))v++;else{for((r=new l).generatedLine=d,c=v;c<h&&!this._charIsMappingSeparator(e,c);c++);if(a=y[i=e.slice(v,c)])v+=i.length;else{for(a=[];v<c;)o.decode(e,v,b),u=b.value,v=b.rest,a.push(u);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");y[i]=a}r.generatedColumn=f+a[0],f=r.generatedColumn,a.length>1&&(r.source=m+a[1],m+=a[1],r.originalLine=p+a[2],p=r.originalLine,r.originalLine+=1,r.originalColumn=_+a[3],_=r.originalColumn,a.length>4&&(r.name=g+a[4],g+=a[4])),S.push(r),"number"===typeof r.originalLine&&x.push(r)}s(S,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,s(x,n.compareByOriginalPositions),this.__originalMappings=x},u.prototype._findMapping=function(e,t,r,n,a,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return i.search(e,t,a,o)},u.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},u.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var a=n.getArg(i,"source",null);null!==a&&(a=this._sources.at(a),a=n.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var o=n.getArg(i,"name",null);return null!==o&&(o=this._names.at(o)),{source:a,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},u.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i,a=e;if(null!=this.sourceRoot&&(a=n.relative(this.sourceRoot,a)),null!=this.sourceRoot&&(i=n.urlParse(this.sourceRoot))){var o=a.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||"/"==i.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(t)return null;throw new Error('"'+a+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=u,d.prototype=Object.create(c.prototype),d.prototype.constructor=c,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=i.search(t,this._sections,function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn}),a=this._sections[r];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},d.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(n.getArg(e,"source"))){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,o=0;o<a.length;o++){var c=a[o],u=i.consumer._sources.at(c.source);u=n.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;c.name&&(l=i.consumer._names.at(c.name),this._names.add(l),l=this._names.indexOf(l));var d={source:u,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:l};this.__generatedMappings.push(d),"number"===typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),s(this.__originalMappings,n.compareByOriginalPositions)},t.IndexedSourceMapConsumer=d},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,n,i){if(0===r.length)return-1;var a=function e(r,n,i,a,o,s){var c=Math.floor((n-r)/2)+r,u=o(i,a[c],!0);return 0===u?c:u>0?n-c>1?e(c,n,i,a,o,s):s==t.LEAST_UPPER_BOUND?n<a.length?n:-1:c:c-r>1?e(r,c,i,a,o,s):s==t.LEAST_UPPER_BOUND?c:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===n(r[a],r[a-1],!0);)--a;return a}},function(e,t){function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,a){if(i<a){var o=i-1;r(e,(l=i,d=a,Math.round(l+Math.random()*(d-l))),a);for(var s=e[a],c=i;c<a;c++)t(e[c],s)<=0&&r(e,o+=1,c);r(e,o+1,c);var u=o+1;n(e,t,i,u-1),n(e,t,u+1,a)}var l,d}t.quickSort=function(e,t){n(e,t,0,e.length-1)}},function(e,t,r){var n=r(419).SourceMapGenerator,i=r(260),a=/(\r?\n)/,o="$$$isSourceNode$$$";function s(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==i?null:i,this[o]=!0,null!=n&&this.add(n)}s.fromStringWithSourceMap=function(e,t,r){var n=new s,o=e.split(a),c=0,u=function(){return e()+(e()||"");function e(){return c<o.length?o[c++]:void 0}},l=1,d=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(l<e.generatedLine)){var t=(r=o[c]||"").substr(0,e.generatedColumn-d);return o[c]=r.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,t),void(f=e)}p(f,u()),l++,d=0}for(;l<e.generatedLine;)n.add(u()),l++;if(d<e.generatedColumn){var r=o[c]||"";n.add(r.substr(0,e.generatedColumn)),o[c]=r.substr(e.generatedColumn),d=e.generatedColumn}f=e},this),c<o.length&&(f&&p(f,u()),n.add(o.splice(c).join(""))),t.sources.forEac
1h(function(e){var a=t.sourceContentFor(e);null!=a&&(null!=r&&(e=i.join(r,e)),n.setSourceContent(e,a))}),n;function p(e,t){if(null===e||void 0===e.source)n.add(t);else{var a=r?i.join(r,e.source):e.source;n.add(new s(e.originalLine,e.originalColumn,a,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[o]&&"string"!==typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[o]&&"string"!==typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r<n;r++)(t=this.children[r])[o]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,r,n=this.children.length;if(n>0){for(t=[],r=0;r<n-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[o]?r.replaceRight(e,t):"string"===typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][o]&&this.children[t].walkSourceContents(e);var n=Object.keys(this.sourceContents);for(t=0,r=n.length;t<r;t++)e(i.fromSetString(n[t]),this.sourceContents[n[t]])},s.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new n(e),i=!1,a=null,o=null,s=null,c=null;return this.walk(function(e,n){t.code+=e,null!==n.source&&null!==n.line&&null!==n.column?(a===n.source&&o===n.line&&s===n.column&&c===n.name||r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name}),a=n.source,o=n.line,s=n.column,c=n.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),a=null,i=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===l?(a=null,i=!1):i&&r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})):t.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:t.code,map:r}},t.SourceNode=s},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return(i?"/":"")+(t=r(n(t.split("/"),function(e){return!!e}),!i).join("/"))||"."},t.normalize=function(e){var a=t.isAbsolute(e),o="/"===i(e,-1);return(e=r(n(e.split("/"),function(e){return!!e}),!a).join("/"))||a||(e="."),e&&o&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),a=n(r.split("/")),o=Math.min(i.length,a.length),s=o,c=0;c<o;c++)if(i[c]!==a[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(a.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(t=e.charCodeAt(a))){if(!i){n=a;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,a=0,o=e.length-1;o>=0;--o){var s=e.charCodeAt(o);if(47!==s)-1===n&&(i=!1,n=o+1),46===s?-1===t?t=o:1!==a&&(a=1):-1!==t&&(a=-1);else if(!i){r=o+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(151))},function(e,t,r){(function(t){var r=Object.prototype.toString,n="function"===typeof t.alloc&&"function"===typeof t.allocUnsafe&&"function"===typeof t.from;e.exports=function(e,i,a){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return o=e,"ArrayBuffer"===r.call(o).slice(8,-1)?function(e,r,i){r>>>=0;var a=e.byteLength-r;if(a<0)throw new RangeError("'offset' is out of bounds");if(void 0===i)i=a;else if((i>>>=0)>a)throw new RangeError("'length' is out of bounds");return n?t.from(e.slice(r,r+i)):new t(new Uint8Array(e.slice(r,r+i)))}(e,i,a):"string"===typeof e?function(e,r){if("string"===typeof r&&""!==r||(r="utf8"),!t.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');return n?t.from(e,r):new t(e,r)}(e,i):n?t.from(e):new t(e);var o}}).call(this,r(103).Buffer)},,,function(e,t,r){"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,_=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case o:case c:case s:case _:return e;default:switch(e=e&&e.$$typeof){case l:case p:case h:case g:case u:return e;default:return t}}case a:return t}}}function k(e){return S(e)===f}t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=u,t.Element=i,t.ForwardRef=p,t.Fragment=o,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=_,t.isAsyncMode=function(e){return k(e)||S(e)===d},t.isConcurrentMode=k,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===o},t.isLazy=function(e){return S(e)===h},t.isMemo=function(e){return S(e)===g},t.isPortal=function(e){return S(e)===a},t.isProfiler=function(e){return S(e)===c},t.isStrictMode=function(e){return S(e)===s},t.isSuspense=function(e){return S(e)===_},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===c||e===s||e===_||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=S},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var i=r(232),a=u(r(903)),o=u(r(904)),s=u(r(910)),c=u(r(911));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(l(n={},i.ElementType.Text,a.default),l(n,i.ElementType.Tag,o.default),l(n,i.ElementType.Style,s.default),l(n,i.ElementType.Directive,c.default),l(n,i.ElementType.Comment,c.default),l(n,i.ElementType.Script,c.default),l(n,i.ElementType.CDATA,c.default),l(n,i.ElementType.Doctype,c.default),n)},function(e,t,r){var n=r(880);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"\ufffd";e in n&&(e=n[e]);var t="";e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)}},function(e){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil
1:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",
1Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil
1:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minu
1s:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u
103bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u
103f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub
1:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xod
1ot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e){e.exports={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",amp:"&",AMP:"&",Ar
1ing:"\xc5",aring:"\xe5",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",brvbar:"\xa6",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}},function(e,t,r){var n=r(427),i=e.exports=Object.create(n),a={tagName:"name"};Object.keys(a).forEach(function(e){var t=a[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,r){var n=r(426),i=r(428);function a(e,t){this.init(e,t)}function o(e,t){return i.getElementsByTagName(e,t,!0)}function s(e,t){return i.getElementsByTagName(e,t,!0,1)[0]}function c(e,t,r){return i.getText(i.getElementsByTagName(e,t,r,1)).trim()}function u(e,t,r,n,i){var a=c(r,n,i);a&&(e[t]=a)}r(33)(a,n),a.prototype.init=n;var l=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,r={},i=s(l,this.dom);i&&("feed"===i.name?(t=i.children,r.type="atom",u(r,"id","id",t),u(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),u(r,"description","subtitle",t),(e=c("updated",t))&&(r.updated=new Date(e)),u(r,"author","email",t,!0),r.items=o("entry",t).map(function(e){var t,r={};return u(r,"id","id",e=e.children),u(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=c("summary",e)||c("content",e))&&(r.description=t),(t=c("updated",e))&&(r.pubDate=new Date(t)),r})):(t=s("channel",i.children).children,r.type=i.name.substr(0,3),r.id="",u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=c("lastBuildDate",t))&&(r.updated=new Date(e)),u(r,"author","managingEditor",t,!0),r.items=o("item",i.children).map(function(e){var t,r={};return u(r,"id","guid",e=e.children),u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=c("pubDate",e))&&(r.pubDate=new Date(t)),r}))),this.dom=r,n.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},e.exports=a},function(e,t,r){var n=r(261),i=r(887),a=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map(function(e){return i(e,t)}).join(""):""},getOuterHTML:i,getText:function e(t){if(Array.isArray(t))return t.map(e).join("");if(a(t))return"br"===t.name?"\n":e(t.children);if(t.type===n.CDATA)return e(t.children);if(t.type===n.Text)return t.data;return""}}},function(e,t,r){var n=r(888),i=r(889),a=r(893);a.elementNames.__proto__=null,a.attributeNames.__proto__=null;var o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",i=0;i<e.length;i++){var a=e[i];"root"===a.type?r+=c(a.children,t):n.isTag(a)?r+=l(a,t):a.type===n.Directive?r+=d(a):a.type===n.Comment?r+=_(a):a.type===n.CDATA?r+=p(a):r+=f(a,t)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(e,t){"foreign"===t.xmlMode&&(e.name=a.elementNames[e.name]||e.name,e.parent&&u.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var o in e)r=e[o],n&&(n+=" "),"foreign"===t.xmlMode&&(o=a.attributeNames[o]||o),n+=o,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?i.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=c(e.children,t)),s[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function d(e){return"<"+e.data+">"}function f(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(r=i.encodeXML(r)),r}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function _(e){return"\x3c!--"+e.data+"--\x3e"}},function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(429),i=r(432);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var a=r(432);t.encodeXML=a.encodeXML,t.encodeHTML=a.encodeHTML,t.escape=a.escape,t.encodeHTML4=a.encodeHTML,t.encodeHTML5=a.encodeHTML;var o=r(429);t.decodeXML=o.decodeXML,t.decodeHTML=o.decodeHTML,t.decodeHTMLStrict=o.decodeHTMLStrict,t.decodeHTML4=o.decodeHTML,t.decodeHTML5=o.decodeHTML,t.decodeHTML4Strict=o.decodeHTMLStrict,t.decodeHTML5Strict=o.decodeHTMLStrict,t.decodeXMLStrict=o.decodeXML},function(e){e.exports={Aacute:"\xc1",aacute:"\xe1",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6",Agrave:"\xc0",agrave:"\xe0",amp:"&",AMP:"&",Ar
1ing:"\xc5",aring:"\xe5",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",brvbar:"\xa6",Ccedil:"\xc7",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",Eacute:"\xc9",eacute:"\xe9",Ecirc:"\xca",ecirc:"\xea",Egrave:"\xc8",egrave:"\xe8",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",Iacute:"\xcd",iacute:"\xed",Icirc:"\xce",icirc:"\xee",iexcl:"\xa1",Igrave:"\xcc",igrave:"\xec",iquest:"\xbf",Iuml:"\xcf",iuml:"\xef",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",Ntilde:"\xd1",ntilde:"\xf1",Oacute:"\xd3",oacute:"\xf3",Ocirc:"\xd4",ocirc:"\xf4",Ograve:"\xd2",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5",Ouml:"\xd6",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",THORN:"\xde",thorn:"\xfe",times:"\xd7",Uacute:"\xda",uacute:"\xfa",Ucirc:"\xdb",ucirc:"\xfb",Ugrave:"\xd9",ugrave:"\xf9",uml:"\xa8",Uuml:"\xdc",uuml:"\xfc",Yacute:"\xdd",yacute:"\xfd",yen:"\xa5",yuml:"\xff"}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(892));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"\ufffd";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},function(e){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(e){e.exports={elementNames:{altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},attributeNames:{definitionurl:"definitionURL",attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"}}},function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var a=i.children;a[a.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},function(e,t,r){var n=r(261).isTag;function i(e,t,r,n){for(var a,o=[],s=0,c=t.length;s<c&&!(e(t[s])&&(o.push(t[s]),--n<=0))&&(a=t[s].children,!(r&&a&&a.length>0&&(a=i(e,a,r,n),o=o.concat(a),(n-=a.length)<=0)));s++);return o}e.exports={filter:function(e,t,r,n){Array.isArray(t)||(t=[t]);"number"===typeof n&&isFinite(n)||(n=1/0);return i(e,t,!1!==r,n)},find:i,findOneChild:function(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){var i=null;for(var a=0,o=r.length;a<o&&!i;a++)n(r[a])&&(t(r[a])?i=r[a]:r[a].children.length>0&&(i=e(t,r[a].children)));return i},existsOne:function e(t,r){for(var i=0,a=r.length;i<a;i++)if(n(r[i])&&(t(r[i])||r[i].children.length>0&&e(t,r[i].children)))return!0;return!1},findAll:function(e,t){var r=[],i=t.slice();for(;i.length;){var a=i.shift();n(a)&&(a.children&&a.children.length>0&&i.unshift.apply(i,a.children),e(a)&&r.push(a))}return r}}},function(e,t,r){var n=r(261),i=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r)){if("tag_name"===r){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1}else;return!0};var a={tag_name:function(e){return"function"===typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"===typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"===typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function o(e,t){return"function"===typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function s(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var i=Object.keys(e).map(function(t){var r=e[t];return t in a?a[t](r):o(t,r)});return 0===i.length?[]:this.filter(i.reduce(s),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(o("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(a.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(a.tag_type(e),t,r,n)}},function(e,t){t.removeSubsets=function(e){for(var t,r,n,i=e.length;--i>-1;){for(t=r=e[i],e[i]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(i,1);break}r=r.parent}n&&(e[i]=t)}return e};var r=1,n=2,i=4,a=8,o=16,s=t.compareDocumentPosition=function(e,t){var s,c,u,l,d,f,p=[],_=[];
1if(e===t)return 0;for(s=e;s;)p.unshift(s),s=s.parent;for(s=t;s;)_.unshift(s),s=s.parent;for(f=0;p[f]===_[f];)f++;return 0===f?r:(u=(c=p[f-1]).children,l=p[f],d=_[f],u.indexOf(l)>u.indexOf(d)?c===t?i|o:i:c===e?n|a:n)};t.uniqueSort=function(e){var t,r,a=e.length;for(e=e.slice();--a>-1;)t=e[a],(r=e.indexOf(t))>-1&&r<a&&e.splice(a,1);return e.sort(function(e,t){var r=s(e,t);return r&n?-1:r&i?1:0}),e}},function(e,t,r){e.exports=i;var n=r(433);function i(e){n.call(this,new a(this),e)}function a(e){this.scope=e}r(33)(i,n),i.prototype.readable=!0;var o=r(232).EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])a.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===o[e])a.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==o[e])throw Error("wrong number of arguments!");a.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}})},,function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var i=r(232).EVENTS;Object.keys(i).forEach(function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}})},function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var i=r(232).EVENTS;
1Object.keys(i).forEach(function(e){if(0===i[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}}),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var c=e.name;if(!(0,s.default)(c))return null;var u=(0,a.default)(e.attribs,t),l=null;-1===o.default.indexOf(c)&&(l=(0,i.default)(e.children,r));return n.default.createElement(c,u,l)};var n=c(r(0)),i=c(r(321)),a=c(r(434)),o=c(r(909)),s=c(r(435));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter(function(e){return(0,a.default)(e)}).reduce(function(t,r){var n=r.toLowerCase(),a=i.default[n]||n;return t[a]=s(a,e[r]),t},{})};var n=o(r(906)),i=o(r(907)),a=o(r(435));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){return n.default.map(function(e){return e.toLowerCase()}).indexOf(e.toLowerCase())>=0&&(t=e),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",
1itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(c){i=!0,a=c}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===e)return{};return e.split(";").reduce(function(e,t){var r=t.split(/^([^:]+):/).filter(function(e,t){return t>0}).map(function(e){return e.trim().toLowerCase()}),i=n(r,2),a=i[0],o=i[1];return void 0===o?e:(a=a.replace(/^-ms-/,"ms-").replace(/-(.)/g,function(e,t){return t.toUpperCase()}),e[a]=o,e)},{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0;e.children.length>0&&(r=e.children[0].data);var a=(0,i.default)(e.attribs,t);return n.default.createElement("style",a,r)};var n=a(r(0)),i=a(r(434));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.decodeEntities,a=void 0===r||r,o=t.transform,s=t.preprocessNodes,c=(void 0===s?function(e){return e}:s)(n.default.parseDOM(e,{decodeEntities:a}));return(0,i.default)(c,o)};var n=a(r(232)),i=a(r(321));function a(e){return e&&e.__esModule?e:{default:e}}},,function(e,t,r){"use strict";var n=r(35),i=r.n(n),a=r(3),o=r(5),s=r(7),c=r(4),u=r(6),l=r(233);function d(e,t,r){return(d=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&Object(l.a)(i,r.prototype),i}).apply(null,arguments)}function f(e){var t="function"===typeof Map?new Map:void 0;return(f=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return d(e,arguments,Object(c.a)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object(l.a)(n,e)})(e)}var p=r(76),_=r(13),m=function(e,t){return new Promise(function(r){var n=t.querySelector(e);n?r(n):new MutationObserver(function(n,i){Array.from(t.querySelectorAll(e)).forEac
1h(function(e){r(e),i.disconnect()})}).observe(t,{childList:!0,subtree:!0})})},g={trailing:!0};function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:25,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r=Object(_.a)({},g,r),!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");var n,i,a,o,s=[],c=function t(n,s){return(a=function(e,t,r){return v.apply(this,arguments)}(e,n,s)).finally(function(){if(a=null,r.trailing&&o&&!i){var e=t(n,o);return o=null,e}}),a};return function(){for(var e=this,u=arguments.length,l=new Array(u),d=0;d<u;d++)l[d]=arguments[d];return a?(r.trailing&&(o=l),a):new Promise(function(a){var o=!i&&r.leading;clearTimeout(i),i=setTimeout(function(){i=null;var t=r.leading?n:c(e,l),a=!0,o=!1,u=void 0;try{for(var d,f=s[Symbol.iterator]();!(a=(d=f.next()).done);a=!0){(0,d.value)(t)}}catch(p){o=!0,u=p}finally{try{a||null==f.return||f.return()}finally{if(o)throw u}}s=[]},t),o?a(n=c(e,l)):s.push(a)})}}function v(){return(v=Object(p.a)(i.a.mark(function e(t,r,n){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(r,n);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var y="/pdfjs",b="/web/viewer.html",x="",S="",k="",C="",E="auto",T="none",w="",D="",A="AUTOMATIC",N="",P={AUTOMATIC:0,LIGHT:1,DARK:2},O=function(e){function t(){var e;Object(a.a)(this,t),(e=Object(s.a)(this,Object(c.a)(t).call(this))).onIframeReady=h(function(){var t=Object(p.a)(i.a.mark(function t(r){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m("iframe",e.shadowRoot);case 2:r();case 3:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),0,{leading:!0}),e.setViewerExtraStyles=function(t){var r,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"extra";if(t){if((null==(a=null==(i=e.iframe.contentDocument)?void 0:i.head.querySelector("style[".concat(s,"]")))?void 0:a.innerHTML)!==t){var c=document.createElement("style");c.innerHTML=t,c.setAttribute(s,""),null==(o=e.iframe.contentDocument)||o.head.appendChild(c)}}else null==(n=null==(r=e.iframe.contentDocument)?void 0:r.head.querySelector("style[".concat(s,"]")))||n.remove()},e.initialize=function(){return new Promise(function(){var t=Object(p.a)(i.a.mark(function t(r){var n;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m("iframe",e.shadowRoot);case 2:null==(n=e.iframe)||n.addEventListener("load",Object(p.a)(i.a.mark(function t(){var n,a,o;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,null==(a=null==(n=e.iframe.contentWindow)?void 0:n.PDFViewerApplication)?void 0:a.initializedPromise;case 2:r(null==(o=e.iframe.contentWindow)?void 0:o.PDFViewerApplication);case 3:case"end":return t.stop()}},t)})),{once:!0});case 3:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())};var r=e.attachShadow({mode:"open"}),n=document.createElement("template");return n.innerHTML='\n <style>:host{width:100%;display:block;overflow:hidden}:host iframe{height:100%}</style>\n <iframe frameborder="0" width="100%" loading="lazy"></iframe>\n ',r.appendChild(n.content.cloneNode(!0)),e}return Object(u.a)(t,e),Object(o.a)(t,[{key:"connectedCallback",value:function(){var e=this;this.iframe=this.shadowRoot.querySelector("iframe"),document.addEventListener("webviewerloaded",function(){var t,r,n,i,a,o,s,c;e.setCssTheme(),e.setViewerExtraStyles(e.getAttribute("viewer-extra-styles")),e.getAttribute("src")!==x&&(null==(r=null==(t=e.iframe.contentWindow)?void 0:t.PDFViewerApplicationOptions)||r.set("defaultUrl","")),null==(i=null==(n=e.iframe.contentWindow)?void 0:n.PDFViewerApplicationOptions)||i.set("disablePreferences",!0),null==(o=null==(a=e.iframe.contentWindow)?void 0:a.PDFViewerApplicationOptions)||o.set("pdfBugEnabled",!0),null==(c=null==(s=e.iframe.contentWindow)?void 0:s.PDFViewerApplicationOptions)||c.set("eventBusDispatchToDOM",!0)})}},{key:"attributeChangedCallback",value:function(){var e=this;this.onIframeReady(function(){return e.mountViewer(e.getIframeSrc())})}},{key:"getIframeSrc",value:function(){var e=this.getFullPath(this.getAttribute("src")||x),t=this.getFullPath(this.getAttribute("viewer-path")||y),r=this.getAttribute("page")||S,n=this.getAttribute("search")||k,i=this.getAttribute("phrase")||C,a=this.getAttribute("zoom")||E,o=this.getAttribute("pagemode")||T,s=this.getAttribute("locale")||w,c=this.getAttribute("text-layer")||D,u=this.getAttribute("viewer-css-theme")||A,l=!(!this.getAttribute("viewer-extra-styles")&&!N),d="".concat(t).concat(b,"?file=").concat(encodeURIComponent(e),"#page=").concat(r,"&zoom=").concat(a,"&pagemode=").concat(o,"&search=").concat(n,"&phrase=").concat(i,"&textLayer=").concat(c).concat(s?"&locale="+s:"","&viewerCssTheme=").concat(u,"&viewerExtraStyles=").concat(l);return d!==this.iframe.getAttribute("src")?d:""}},{key:"mountViewer",value:function(e){!e||!this.iframe||(this.shadowRoot.replaceChild(this.iframe.cloneNode(),this.iframe),this.iframe=this.shadowRoot.querySelector("iframe"),this.iframe.src=e)}},{key:"getFullPath",value:function(e){return e.startsWith("/")?"".concat(window.location.origin).concat(e):e}},{key:"getCssThemeOption",value:function(){var e=this.getAttribute("viewer-css-theme");return Object.keys(P).includes(e)?P[e]:P[A]}},{key:"setCssTheme",value:function(){var e,t,r;if(this.getCssThemeOption()===P.DARK){var n=null==(e=this.iframe.contentDocument)?void 0:e.styleSheets[0],i=(null==n?void 0:n.cssRules)||[],a=Object.keys(i).filter(function(e){var t;return"(prefers-color-scheme: dark)"===(null==(t=i[Number(e)])?void 0:t.conditionText)}).map(function(e){return i[Number(e)].cssText.split("@media (prefers-color-scheme: dark) {\n")[1].split("\n}")[0]});this.setViewerExtraStyles(a.join(""),"theme")}else null==(r=null==(t=this.iframe.contentDocument)?void 0:t.head.querySelector("style[theme]"))||r.remove()}}],[{key:"observedAttributes",get:function(){return["src","viewer-path","locale","page","search","phrase","zoom","pagemode","text-layer","viewer-css-theme","viewer-extra-styles"]}}]),t}(f(HTMLElement));window.customElements.get("pdfjs-viewer-element")||(window.PdfjsViewerElement=O,window.customElements.define("pdfjs-viewer-element",O))}]]); 2//# sourceMappingURL=2.165a8f36.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.