super-graph/internal/serv/web/build/static/js/2.660c567d.chunk.js
2020-04-21 21:05:14 -04:00

3 lines
2.2 MiB

/*! For license information please see 2.660c567d.chunk.js.LICENSE.txt */
(this.webpackJsonpweb=this.webpackJsonpweb||[]).push([[2],[function(e,t,n){"use strict";n.d(t,"S",(function(){return x})),n.d(t,"x",(function(){return E})),n.d(t,"R",(function(){return D})),n.d(t,"w",(function(){return C})),n.d(t,"N",(function(){return w})),n.d(t,"u",(function(){return S})),n.d(t,"H",(function(){return k})),n.d(t,"o",(function(){return A})),n.d(t,"T",(function(){return T})),n.d(t,"y",(function(){return _})),n.d(t,"E",(function(){return O})),n.d(t,"l",(function(){return F})),n.d(t,"F",(function(){return N})),n.d(t,"m",(function(){return I})),n.d(t,"J",(function(){return M})),n.d(t,"q",(function(){return j})),n.d(t,"L",(function(){return L})),n.d(t,"s",(function(){return P})),n.d(t,"G",(function(){return R})),n.d(t,"n",(function(){return B})),n.d(t,"O",(function(){return z})),n.d(t,"v",(function(){return U})),n.d(t,"I",(function(){return q})),n.d(t,"p",(function(){return V})),n.d(t,"D",(function(){return H})),n.d(t,"k",(function(){return W})),n.d(t,"C",(function(){return G})),n.d(t,"j",(function(){return K})),n.d(t,"d",(function(){return J})),n.d(t,"e",(function(){return Y})),n.d(t,"U",(function(){return Q})),n.d(t,"z",(function(){return $})),n.d(t,"M",(function(){return X})),n.d(t,"t",(function(){return Z})),n.d(t,"B",(function(){return ee})),n.d(t,"K",(function(){return te})),n.d(t,"r",(function(){return ne})),n.d(t,"A",(function(){return re})),n.d(t,"g",(function(){return ae})),n.d(t,"f",(function(){return se})),n.d(t,"i",(function(){return fe})),n.d(t,"P",(function(){return de})),n.d(t,"c",(function(){return he})),n.d(t,"h",(function(){return me})),n.d(t,"a",(function(){return ve})),n.d(t,"b",(function(){return ye})),n.d(t,"Q",(function(){return xe}));var r=n(52),i=n(2),o=n(35),a=n(59),s=n(41),u=n(7),c=n(29),l=n(55),p=n(27);function f(e){return e}var d=n(48),h=n(47),m=n(1),g=n(240);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(n,!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){return D(e)||w(e)||k(e)||T(e)||O(e)||N(e)||M(e)||L(e)}function E(e){if(!x(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL type."));return e}function D(e){return Object(l.a)(e,ae)}function C(e){if(!D(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Scalar type."));return e}function w(e){return Object(l.a)(e,se)}function S(e){if(!w(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Object type."));return e}function k(e){return Object(l.a)(e,he)}function A(e){if(!k(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Interface type."));return e}function T(e){return Object(l.a)(e,me)}function _(e){if(!T(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Union type."));return e}function O(e){return Object(l.a)(e,ve)}function F(e){if(!O(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Enum type."));return e}function N(e){return Object(l.a)(e,ye)}function I(e){if(!N(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Input Object type."));return e}function M(e){return Object(l.a)(e,J)}function j(e){if(!M(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL List type."));return e}function L(e){return Object(l.a)(e,Y)}function P(e){if(!L(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL Non-Null type."));return e}function R(e){return D(e)||O(e)||N(e)||Q(e)&&R(e.ofType)}function B(e){if(!R(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL input type."));return e}function z(e){return D(e)||w(e)||k(e)||T(e)||O(e)||Q(e)&&z(e.ofType)}function U(e){if(!z(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL output type."));return e}function q(e){return D(e)||O(e)}function V(e){if(!q(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL leaf type."));return e}function H(e){return w(e)||k(e)||T(e)}function W(e){if(!H(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL composite type."));return e}function G(e){return k(e)||T(e)}function K(e){if(!G(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL abstract type."));return e}function J(e){if(!(this instanceof J))return new J(e);this.ofType=E(e)}function Y(e){if(!(this instanceof Y))return new Y(e);this.ofType=Z(e)}function Q(e){return M(e)||L(e)}function $(e){if(!Q(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL wrapping type."));return e}function X(e){return x(e)&&!L(e)}function Z(e){if(!X(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL nullable type."));return e}function ee(e){if(e)return L(e)?e.ofType:e}function te(e){return D(e)||w(e)||k(e)||T(e)||O(e)||N(e)}function ne(e){if(!te(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL named type."));return e}function re(e){if(e){for(var t=e;Q(t);)t=t.ofType;return t}}function ie(e){return"function"===typeof e?e():e}function oe(e){return e&&e.length>0?e:void 0}J.prototype.toString=function(){return"["+String(this.ofType)+"]"},Object(h.a)(J),Object(d.a)(J),Y.prototype.toString=function(){return String(this.ofType)+"!"},Object(h.a)(Y),Object(d.a)(Y);var ae=function(){function e(e){var t=e.parseValue||f;this.name=e.name,this.description=e.description,this.serialize=e.serialize||f,this.parseValue=t,this.parseLiteral=e.parseLiteral||function(e){return t(Object(g.a)(e))},this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),"string"===typeof e.name||Object(u.a)(0,"Must provide name."),null==e.serialize||"function"===typeof e.serialize||Object(u.a)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"===typeof e.parseValue&&"function"===typeof e.parseLiteral||Object(u.a)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(h.a)(ae),Object(d.a)(ae);var se=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ce.bind(void 0,e),this._interfaces=ue.bind(void 0,e),"string"===typeof e.name||Object(u.a)(0,"Must provide name."),null==e.isTypeOf||"function"===typeof e.isTypeOf||Object(u.a)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(Object(i.a)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:pe(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ue(e){var t=ie(e.interfaces)||[];return Array.isArray(t)||Object(u.a)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function ce(e){var t=ie(e.fields)||{};return le(t)||Object(u.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(a.a)(t,(function(t,n){le(t)||Object(u.a)(0,"".concat(e.name,".").concat(n," field config must be an object")),!("isDeprecated"in t)||Object(u.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"===typeof t.resolve||Object(u.a)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(Object(i.a)(t.resolve),"."));var o=t.args||{};le(o)||Object(u.a)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var a=Object(r.a)(o).map((function(e){var t=e[0],n=e[1];return{name:t,description:void 0===n.description?null:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(s.a)(n.extensions),astNode:n.astNode}}));return y({},t,{name:n,description:t.description,type:t.type,args:a,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:Boolean(t.deprecationReason),deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode})}))}function le(e){return Object(p.a)(e)&&!Array.isArray(e)}function pe(e){return Object(a.a)(e,(function(e){return{description:e.description,type:e.type,args:fe(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function fe(e){return Object(c.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}))}function de(e){return L(e.type)&&void 0===e.defaultValue}Object(h.a)(se),Object(d.a)(se);var he=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ce.bind(void 0,e),"string"===typeof e.name||Object(u.a)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||Object(u.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(i.a)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){return{name:this.name,description:this.description,fields:pe(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(h.a)(he),Object(d.a)(he);var me=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._types=ge.bind(void 0,e),"string"===typeof e.name||Object(u.a)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||Object(u.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(i.a)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"===typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ge(e){var t=ie(e.types)||[];return Array.isArray(t)||Object(u.a)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}Object(h.a)(me),Object(d.a)(me);var ve=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._values=(t=this.name,le(n=e.values)||Object(u.a)(0,"".concat(t," values must be an object with value names as keys.")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return le(r)||Object(u.a)(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(Object(i.a)(r),".")),!("isDeprecated"in r)||Object(u.a)(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:r.description,value:"value"in r?r.value:n,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(s.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(o.a)(this._values,(function(e){return e.name})),"string"===typeof e.name||Object(u.a)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(t)return t.name},t.parseValue=function(e){if("string"===typeof e){var t=this.getValue(e);if(t)return t.value}},t.parseLiteral=function(e,t){if(e.kind===m.a.ENUM){var n=this.getValue(e.value);if(n)return n.value}},t.toConfig=function(){var e=Object(c.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(h.a)(ve),Object(d.a)(ve);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=be.bind(void 0,e),"string"===typeof e.name||Object(u.a)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e=Object(a.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function be(e){var t=ie(e.fields)||{};return le(t)||Object(u.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(a.a)(t,(function(t,n){return!("resolve"in t)||Object(u.a)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),y({},t,{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode})}))}function xe(e){return L(e.type)&&void 0===e.defaultValue}Object(h.a)(ye),Object(d.a)(ye)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(104);function i(e){return(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})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"===typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+a(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){"use strict";e.exports=n(275)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(27),i=n(105),o=n(157);function a(e,t,n,o,s,u,c){var l=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,p=n;if(!p&&l){var f=l[0];p=f&&f.loc&&f.loc.source}var d,h=o;!h&&l&&(h=l.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),h&&0===h.length&&(h=void 0),o&&n?d=o.map((function(e){return Object(i.a)(n,e)})):l&&(d=l.reduce((function(e,t){return t.loc&&e.push(Object(i.a)(t.loc.source,t.loc.start)),e}),[]));var m=c;if(null==m&&null!=u){var g=u.extensions;Object(r.a)(g)&&(m=g)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:d||void 0,enumerable:Boolean(d)},path:{value:s||void 0,enumerable:Boolean(s)},nodes:{value:l||void 0},source:{value:p||void 0},positions:{value:h||void 0},originalError:{value:u},extensions:{value:m||void 0,enumerable:Boolean(m)}}),u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function s(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+Object(o.a)(i.loc))}else if(e.source&&e.locations)for(var a=0,s=e.locations;a<s.length;a++){var u=s[a];t+="\n\n"+Object(o.b)(e.source,u)}return t}a.prototype=Object.create(Error.prototype,{constructor:{value:a},name:{value:"GraphQLError"},toString:{value:function(){return s(this)}}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return ae})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return z})),n.d(t,"h",(function(){return K})),n.d(t,"i",(function(){return I})),n.d(t,"j",(function(){return $})),n.d(t,"k",(function(){return U})),n.d(t,"l",(function(){return X})),n.d(t,"m",(function(){return ue})),n.d(t,"n",(function(){return pe})),n.d(t,"o",(function(){return oe})),n.d(t,"p",(function(){return de})),n.d(t,"q",(function(){return j})),n.d(t,"r",(function(){return F})),n.d(t,"s",(function(){return P})),n.d(t,"t",(function(){return V})),n.d(t,"u",(function(){return M})),n.d(t,"v",(function(){return ye})),n.d(t,"w",(function(){return re})),n.d(t,"x",(function(){return Y})),n.d(t,"y",(function(){return Z})),n.d(t,"z",(function(){return ee})),n.d(t,"A",(function(){return te})),n.d(t,"B",(function(){return ne})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return se})),n.d(t,"E",(function(){return ce})),n.d(t,"F",(function(){return le})),n.d(t,"G",(function(){return fe})),n.d(t,"H",(function(){return he})),n.d(t,"I",(function(){return me})),n.d(t,"J",(function(){return ge})),n.d(t,"K",(function(){return ve})),n.d(t,"L",(function(){return q})),n.d(t,"M",(function(){return l})),n.d(t,"N",(function(){return H})),n.d(t,"O",(function(){return N})),n.d(t,"P",(function(){return W})),n.d(t,"Q",(function(){return G})),n.d(t,"R",(function(){return J})),n.d(t,"S",(function(){return b})),n.d(t,"T",(function(){return k})),n.d(t,"U",(function(){return s})),n.d(t,"V",(function(){return S})),n.d(t,"W",(function(){return x})),n.d(t,"X",(function(){return O})),n.d(t,"Y",(function(){return h})),n.d(t,"Z",(function(){return p})),n.d(t,"ab",(function(){return v})),n.d(t,"bb",(function(){return d})),n.d(t,"cb",(function(){return w})),n.d(t,"db",(function(){return u})),n.d(t,"eb",(function(){return f})),n.d(t,"fb",(function(){return A})),n.d(t,"gb",(function(){return C})),n.d(t,"hb",(function(){return D}));var r=n(15),i=n(43),o=n(9),a=n(128),s=function(e){return function(){return e}}(!0),u=function(){};var c=function(e){return e};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;function l(e,t,n){if(!t(e))throw new Error(n)}var p=function(e,t){Object(i.a)(e,t),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach((function(n){e[n]=t[n]}))},f=function(e,t){var n;return(n=[]).concat.apply(n,t.map(e))};function d(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}function h(e){var t=!1;return function(){t||(t=!0,e())}}var m=function(e){throw e},g=function(e){return{value:e,done:!0}};function v(e,t,n){void 0===t&&(t=m),void 0===n&&(n="iterator");var r={meta:{name:n},next:e,throw:t,return:g,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(r[Symbol.iterator]=function(){return r}),r}function y(e,t){var n=t.sagaStack;console.error(e),console.error(n)}var b=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},x=function(e){return Array.apply(null,new Array(e))},E=function(e){return function(t){return e(Object.defineProperty(t,r.f,{value:!0}))}},D=function(e){return e===r.k},C=function(e){return e===r.j},w=function(e){return D(e)||C(e)};function S(e,t){var n=Object.keys(e),r=n.length;var i,a=0,s=Object(o.a)(e)?x(r):{},c={};return n.forEach((function(e){var n=function(n,o){i||(o||w(n)?(t.cancel(),t(n,o)):(s[e]=n,++a===r&&(i=!0,t(s))))};n.cancel=u,c[e]=n})),t.cancel=function(){i||(i=!0,n.forEach((function(e){return c[e].cancel()})))},c}function k(e){return{name:e.name||"anonymous",location:A(e)}}function A(e){return e[r.g]}var T={isEmpty:s,put:u,take:u};function _(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},u=function(){for(var e=[];r;)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){var c;if(r<e)a(s);else switch(t){case 1:throw new Error("Channel's Buffer overflow!");case 3:n[i]=s,o=i=(i+1)%e;break;case 4:c=2*e,n=u(),r=n.length,i=n.length,o=0,n.length=c,e=c,a(s)}},take:s,flush:u}}var O=function(){return T},F=function(e){return _(e,3)},N=function(e){return _(e,4)},I=Object.freeze({__proto__:null,none:O,fixed:function(e){return _(e,1)},dropping:function(e){return _(e,2)},sliding:F,expanding:N}),M="TAKE",j="PUT",L="ALL",P="RACE",R="CALL",B="CPS",z="FORK",U="JOIN",q="CANCEL",V="SELECT",H="ACTION_CHANNEL",W="CANCELLED",G="FLUSH",K="GET_CONTEXT",J="SET_CONTEXT",Y=Object.freeze({__proto__:null,TAKE:M,PUT:j,ALL:L,RACE:P,CALL:R,CPS:B,FORK:z,JOIN:U,CANCEL:q,SELECT:V,ACTION_CHANNEL:H,CANCELLED:W,FLUSH:G,GET_CONTEXT:K,SET_CONTEXT:J}),Q=function(e,t){var n;return(n={})[r.c]=!0,n.combinator=!1,n.type=e,n.payload=t,n},$=function(e){return Q(z,Object(i.a)({},e.payload,{detached:!0}))};function X(e,t){return void 0===e&&(e="*"),Object(o.i)(e)?Q(M,{pattern:e}):Object(o.f)(e)&&Object(o.g)(t)&&Object(o.i)(t)?Q(M,{channel:e,pattern:t}):Object(o.b)(e)?Q(M,{channel:e}):void 0}var Z=function(){var e=X.apply(void 0,arguments);return e.payload.maybe=!0,e};function ee(e,t){return Object(o.n)(t)&&(t=e,e=void 0),Q(j,{channel:e,action:t})}var te=function(){var e=ee.apply(void 0,arguments);return e.payload.resolve=!0,e};function ne(e){var t=Q(L,e);return t.combinator=!0,t}function re(e){var t=Q(P,e);return t.combinator=!0,t}function ie(e,t){var n,r=null;return Object(o.d)(e)?n=e:(Object(o.a)(e)?(r=e[0],n=e[1]):(r=e.context,n=e.fn),r&&Object(o.k)(n)&&Object(o.d)(r[n])&&(n=r[n])),{context:r,fn:n,args:t}}function oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Q(R,ie(e,n))}function ae(e,t,n){void 0===n&&(n=[]);return Q(R,ie([e,t],n))}function se(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Q(B,ie(e,n))}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Q(z,ie(e,n))}function ce(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return $(ue.apply(void 0,[e].concat(n)))}function le(e){return Q(U,e)}function pe(e){return void 0===e&&(e=r.h),Q(q,e)}function fe(e){void 0===e&&(e=c);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Q(V,{selector:e,args:n})}function de(e,t){return Q(H,{pattern:e,buffer:t})}function he(){return Q(W,{})}function me(e){return Q(G,e)}function ge(e){return Q(K,e)}function ve(e){return Q(J,e)}var ye=oe.bind(null,a.a)},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(108));var r=n(108);t.styled=r.default},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return c})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return s})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return i}));var r=n(15),i=function(e){return null===e||void 0===e},o=function(e){return null!==e&&void 0!==e},a=function(e){return"function"===typeof e},s=function(e){return"string"===typeof e},u=Array.isArray,c=function(e){return e&&!u(e)&&"object"===typeof e},l=function(e){return e&&a(e.then)},p=function(e){return e&&a(e.next)&&a(e.throw)},f=function e(t){return t&&(s(t)||m(t)||a(t)||u(t)&&t.every(e))},d=function(e){return e&&a(e.take)&&a(e.close)},h=function(e){return a(e)&&e.hasOwnProperty("toString")},m=function(e){return Boolean(e)&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype},g=function(e){return d(e)&&e[r.e]},v=function(e){return e&&e[r.c]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},function(e,t,n){"use strict";n.r(t),n.d(t,"__Schema",(function(){return p})),n.d(t,"__Directive",(function(){return f})),n.d(t,"__DirectiveLocation",(function(){return d})),n.d(t,"__Type",(function(){return h})),n.d(t,"__Field",(function(){return m})),n.d(t,"__InputValue",(function(){return g})),n.d(t,"__EnumValue",(function(){return v})),n.d(t,"TypeKind",(function(){return y})),n.d(t,"__TypeKind",(function(){return b})),n.d(t,"SchemaMetaFieldDef",(function(){return x})),n.d(t,"TypeMetaFieldDef",(function(){return E})),n.d(t,"TypeNameMetaFieldDef",(function(){return D})),n.d(t,"introspectionTypes",(function(){return C})),n.d(t,"isIntrospectionType",(function(){return w}));var r=n(12),i=n(2),o=n(23),a=n(19),s=n(10),u=n(82),c=n(13),l=n(0),p=new l.f({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:Object(l.e)(Object(l.d)(Object(l.e)(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(l.e)(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:Object(l.e)(Object(l.d)(Object(l.e)(f))),resolve:function(e){return e.getDirectives()}}}}}),f=new l.f({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:Object(l.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},locations:{type:Object(l.e)(Object(l.d)(Object(l.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(l.e)(Object(l.d)(Object(l.e)(g))),resolve:function(e){return e.args}}}}}),d=new l.a({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:s.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:s.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:s.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:s.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:s.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:s.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:s.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:s.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:s.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new l.f({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:Object(l.e)(b),resolve:function(e){return Object(l.R)(e)?y.SCALAR:Object(l.N)(e)?y.OBJECT:Object(l.H)(e)?y.INTERFACE:Object(l.T)(e)?y.UNION:Object(l.E)(e)?y.ENUM:Object(l.F)(e)?y.INPUT_OBJECT:Object(l.J)(e)?y.LIST:Object(l.L)(e)?y.NON_NULL:void Object(o.a)(!1,'Unexpected type: "'.concat(Object(i.a)(e),'".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(l.d)(Object(l.e)(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.N)(e)||Object(l.H)(e)){var i=Object(r.a)(e.getFields());return n||(i=i.filter((function(e){return!e.deprecationReason}))),i}return null}},interfaces:{type:Object(l.d)(Object(l.e)(h)),resolve:function(e){if(Object(l.N)(e))return e.getInterfaces()}},possibleTypes:{type:Object(l.d)(Object(l.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(l.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(l.d)(Object(l.e)(v)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.E)(e)){var r=e.getValues();return n||(r=r.filter((function(e){return!e.deprecationReason}))),r}}},inputFields:{type:Object(l.d)(Object(l.e)(g)),resolve:function(e){if(Object(l.F)(e))return Object(r.a)(e.getFields())}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new l.f({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:Object(l.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:Object(l.e)(Object(l.d)(Object(l.e)(g))),resolve:function(e){return e.args}},type:{type:Object(l.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(l.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),g=new l.f({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:Object(l.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:Object(l.e)(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=Object(u.a)(e.defaultValue,e.type);return t?Object(a.print)(t):null}}}}}),v=new l.f({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:Object(l.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(l.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),b=new l.a({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:y.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:y.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:y.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:y.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:y.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:y.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:y.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),x={name:"__schema",type:Object(l.e)(p),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema},deprecationReason:void 0,extensions:void 0,astNode:void 0},E={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:Object(l.e)(c.e),defaultValue:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},deprecationReason:void 0,extensions:void 0,astNode:void 0},D={name:"__typename",type:Object(l.e)(c.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name},deprecationReason:void 0,extensions:void 0,astNode:void 0},C=Object.freeze([p,f,d,h,m,g,v,b]);function w(e){return Object(l.K)(e)&&C.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){"use strict";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return g}));var r=Number.isFinite||function(e){return"number"===typeof e&&isFinite(e)},i=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e},o=n(2),a=n(27),s=n(1),u=n(0);var c=new u.g({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){if("boolean"===typeof e)return e?1:0;var t=e;if("string"===typeof e&&""!==e&&(t=Number(e)),!i(t))throw new TypeError("Int cannot represent non-integer value: ".concat(Object(o.a)(e)));if(t>2147483647||t<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!i(e))throw new TypeError("Int cannot represent non-integer value: ".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind===s.a.INT){var t=parseInt(e.value,10);if(t<=2147483647&&t>=-2147483648)return t}}});var l=new u.g({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){if("boolean"===typeof e)return e?1:0;var t=e;if("string"===typeof e&&""!==e&&(t=Number(e)),!r(t))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!r(e))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.FLOAT||e.kind===s.a.INT?parseFloat(e.value):void 0}});function p(e){if(Object(a.a)(e)){if("function"===typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if("function"===typeof e.toJSON)return e.toJSON()}return e}var f=new u.g({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=p(e);if("string"===typeof t)return t;if("boolean"===typeof t)return t?"true":"false";if(r(t))return t.toString();throw new TypeError("String cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"!==typeof e)throw new TypeError("String cannot represent a non string value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.STRING?e.value:void 0}});var d=new u.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){if("boolean"===typeof e)return e;if(r(e))return 0!==e;throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("boolean"!==typeof e)throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.BOOLEAN?e.value:void 0}});var h=new u.g({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=p(e);if("string"===typeof t)return t;if(i(t))return String(t);throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"===typeof e)return e;if(i(e))return e.toString();throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseLiteral:function(e){return e.kind===s.a.STRING||e.kind===s.a.INT?e.value:void 0}}),m=Object.freeze([f,c,l,d,h]);function g(e){return Object(u.R)(e)&&m.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),u=!o&&/WebKit\//.test(e),c=u&&/Qt\/\d+\.\d+/.test(e),l=!o&&/Chrome\//.test(e),p=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),E=p&&e.match(/Version\/(\d*\.\d*)/);E&&(E=Number(E[1])),E&&E>=15&&(p=!1,u=!0);var D=y&&(c||p&&(null==E||E<12.11)),C=n||a&&s>=9;function w(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,k=function(e,t){var n=e.className,r=w(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function T(e,t){return A(e).appendChild(t)}function _(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function O(e,t,n,r){var i=_(e,t,n,r);return i.setAttribute("role","presentation"),i}function F(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function N(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function I(e,t){var n=e.className;w(t).test(n)||(e.className+=(n?" ":"")+t)}function M(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!w(n[r]).test(t)&&(t+=" "+n[r]);return t}S=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var j=function(e){e.select()};function L(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function P(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function R(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?j=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(j=function(e){try{e.select()}catch(t){}});var B=function(){this.id=null,this.f=null,this.time=0,this.handler=L(this.onTimeout,this)};function z(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}B.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},B.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var U={toString:function(){return"CodeMirror.Pass"}},q={scroll:!1},V={origin:"*mouse"},H={origin:"+move"};function W(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var G=[""];function K(e){for(;G.length<=e;)G.push(J(G)+" ");return G[e]}function J(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Q(){}function $(e,t){var n;return Object.create?n=Object.create(e):(Q.prototype=e,n=new Q),t&&P(t,n),n}var X=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Z(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ae=i)}return null!=r?r:ae}var ue=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var u="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var c,l=a.length,p=[],f=0;f<l;++f)p.push((c=a.charCodeAt(f))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(c):1424<=c&&c<=1524?"R":1536<=c&&c<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(c-1536):1774<=c&&c<=2220?"r":8192<=c&&c<=8203?"w":8204==c?"b":"L");for(var d=0,h=u;d<l;++d){var m=p[d];"m"==m?p[d]=h:h=m}for(var g=0,v=u;g<l;++g){var y=p[g];"1"==y&&"r"==v?p[g]="n":n.test(y)&&(v=y,"r"==y&&(p[g]="R"))}for(var b=1,x=p[0];b<l-1;++b){var E=p[b];"+"==E&&"1"==x&&"1"==p[b+1]?p[b]="1":","!=E||x!=p[b+1]||"1"!=x&&"n"!=x||(p[b]=x),x=E}for(var D=0;D<l;++D){var C=p[D];if(","==C)p[D]="N";else if("%"==C){var w=void 0;for(w=D+1;w<l&&"%"==p[w];++w);for(var S=D&&"!"==p[D-1]||w<l&&"1"==p[w]?"1":"N",k=D;k<w;++k)p[k]=S;D=w-1}}for(var A=0,T=u;A<l;++A){var _=p[A];"L"==T&&"1"==_?p[A]="L":n.test(_)&&(T=_)}for(var O=0;O<l;++O)if(t.test(p[O])){var F=void 0;for(F=O+1;F<l&&t.test(p[F]);++F);for(var N="L"==(O?p[O-1]:u),I=N==("L"==(F<l?p[F]:u))?N?"L":"R":u,M=O;M<F;++M)p[M]=I;O=F-1}for(var j,L=[],P=0;P<l;)if(r.test(p[P])){var R=P;for(++P;P<l&&r.test(p[P]);++P);L.push(new o(0,R,P))}else{var B=P,z=L.length,U="rtl"==s?1:0;for(++P;P<l&&"L"!=p[P];++P);for(var q=B;q<P;)if(i.test(p[q])){B<q&&(L.splice(z,0,new o(1,B,q)),z+=U);var V=q;for(++q;q<P&&i.test(p[q]);++q);L.splice(z,0,new o(2,V,q)),z+=U,B=q}else++q;B<P&&L.splice(z,0,new o(1,B,P))}return"ltr"==s&&(1==L[0].level&&(j=a.match(/^\s+/))&&(L[0].from=j[0].length,L.unshift(new o(0,0,j[0].length))),1==J(L).level&&(j=a.match(/\s+$/))&&(J(L).to-=j[0].length,L.push(new o(0,l-j[0].length,l)))),"rtl"==s?L.reverse():L}}();function ce(e,t){var n=e.order;return null==n&&(n=e.order=ue(e.text,t)),n}var le=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||le).concat(n)}};function fe(e,t){return e._handlers&&e._handlers[t]||le}function de(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=z(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=fe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),he(e,n||t.type,e,t),Ee(t)||t.codemirrorIgnore}function ge(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==z(n,t[r])&&n.push(t[r])}function ve(e,t){return fe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function xe(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function De(e){be(e),xe(e)}function Ce(e){return e.target||e.srcElement}function we(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Se,ke,Ae=function(){if(a&&s<9)return!1;var e=_("div");return"draggable"in e||"dragDrop"in e}();function Te(e){if(null==Se){var t=_("span","\u200b");T(e,_("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Se=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Se?_("span","\u200b"):_("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function _e(e){if(null!=ke)return ke;var t=T(e,document.createTextNode("A\u062eA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return A(e),!(!n||n.left==n.right)&&(ke=r.right-n.right<3)}var Oe=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Fe=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ne=function(){var e=_("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Ie=null,Me={},je={};function Le(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Me[e]=t}function Pe(e){if("string"==typeof e&&je.hasOwnProperty(e))e=je[e];else if(e&&"string"==typeof e.name&&je.hasOwnProperty(e.name)){var t=je[e.name];"string"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Pe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Pe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Re(e,t){t=Pe(t);var n=Me[t.name];if(!n)return Re(e,"text/plain");var r=n(e,t);if(Be.hasOwnProperty(t.name)){var i=Be[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Be={};function ze(e,t){P(t,Be.hasOwnProperty(e)?Be[e]:Be[e]={})}function Ue(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function qe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ve(e,t,n){return!e.startState||e.startState(t,n)}var He=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function We(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Ge(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function Ke(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Je(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Ye(e){if(null==e.parent)return null;for(var t=e.parent,n=z(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function Qe(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function $e(e,t){return t>=e.first&&t<e.first+e.size}function Xe(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Ze(e,t,n){if(void 0===n&&(n=null),!(this instanceof Ze))return new Ze(e,t,n);this.line=e,this.ch=t,this.sticky=n}function et(e,t){return e.line-t.line||e.ch-t.ch}function tt(e,t){return e.sticky==t.sticky&&0==et(e,t)}function nt(e){return Ze(e.line,e.ch)}function rt(e,t){return et(e,t)<0?t:e}function it(e,t){return et(e,t)<0?e:t}function ot(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function at(e,t){if(t.line<e.first)return Ze(e.first,0);var n=e.first+e.size-1;return t.line>n?Ze(n,We(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?Ze(e.line,t):n<0?Ze(e.line,0):e}(t,We(e,t.line).text.length)}function st(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=at(e,t[r]);return n}He.prototype.eol=function(){return this.pos>=this.string.length},He.prototype.sol=function(){return this.pos==this.lineStart},He.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},He.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},He.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},He.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},He.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},He.prototype.skipToEnd=function(){this.pos=this.string.length},He.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},He.prototype.backUp=function(e){this.pos-=e},He.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},He.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},He.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},He.prototype.current=function(){return this.string.slice(this.start,this.pos)},He.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},He.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},He.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ut=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function lt(e,t,n,r){var i=[e.state.modeGen],o={};bt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],u=1,c=0;n.state=!0,bt(e,t.text,s.mode,n,(function(e,t){for(var n=u;c<e;){var r=i[u];r>e&&i.splice(u,1,e,i[u+1],r),u+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"overlay "+t),u=n+2;else for(;n<u;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},u=0;u<e.state.overlays.length;++u)s(u);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function pt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=ft(e,Ye(t)),i=t.text.length>e.options.maxHighlightLength&&Ue(e.doc.mode,r.state),o=lt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ft(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ct(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var u=We(o,s-1),c=u.stateAfter;if(c&&(!n||s+(c instanceof ut?c.lookAhead:0)<=o.modeFrontier))return s;var l=R(u.text,null,e.options.tabSize);(null==i||r>l)&&(i=s-1,r=l)}return i}(e,t,n),a=o>r.first&&We(r,o-1).stateAfter,s=a?ct.fromSaved(r,a,o):new ct(r,Ve(r.mode),o);return r.iter(o,t,(function(n){dt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function dt(e,t,n,r){var i=e.doc.mode,o=new He(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&ht(i,n.state);!o.eol();)mt(i,o,n.state),o.start=o.pos}function ht(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=qe(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function mt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=qe(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,n){return t instanceof ut?new ct(e,Ue(e.mode,t.state),n,t.lookAhead):new ct(e,Ue(e.mode,t),n)},ct.prototype.save=function(e){var t=!1!==e?Ue(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function vt(e,t,n,r){var i,o,a=e.doc,s=a.mode,u=We(a,(t=at(a,t)).line),c=ft(e,t.line,n),l=new He(u.text,e.options.tabSize,c);for(r&&(o=[]);(r||l.pos<t.ch)&&!l.eol();)l.start=l.pos,i=mt(s,l,c.state),r&&o.push(new gt(l,i,Ue(a.mode,c.state)));return r?o:new gt(l,i,c.state)}function yt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function bt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var u,c=0,l=null,p=new He(t,e.options.tabSize,r),f=e.options.addModeClass&&[null];for(""==t&&yt(ht(n,r.state),o);!p.eol();){if(p.pos>e.options.maxHighlightLength?(s=!1,a&&dt(e,t,r,p.pos),p.pos=t.length,u=null):u=yt(mt(n,p,r.state,f),o),f){var d=f[0].name;d&&(u="m-"+(u?d+" "+u:d))}if(!s||l!=u){for(;c<p.start;)i(c=Math.min(p.start,c+5e3),l);l=u}p.start=p.pos}for(;c<p.pos;){var h=Math.min(p.pos,c+5e3);i(h,l),c=h}}var xt=!1,Et=!1;function Dt(e,t,n){this.marker=e,this.from=t,this.to=n}function Ct(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function wt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function St(e,t){if(t.full)return null;var n=$e(e,t.from.line)&&We(e,t.from.line).markedSpans,r=$e(e,t.to.line)&&We(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==et(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new Dt(a,o.from,s?null:o.to))}}return r}(n,i,a),u=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new Dt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,l=J(t.text).length+(c?i:0);if(s)for(var p=0;p<s.length;++p){var f=s[p];if(null==f.to){var d=Ct(u,f.marker);d?c&&(f.to=null==d.to?null:d.to+l):f.to=i}}if(u)for(var h=0;h<u.length;++h){var m=u[h];null!=m.to&&(m.to+=l),null==m.from?Ct(s,m.marker)||(m.from=l,c&&(s||(s=[])).push(m)):(m.from+=l,c&&(s||(s=[])).push(m))}s&&(s=kt(s)),u&&u!=s&&(u=kt(u));var g=[s];if(!c){var v,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(v||(v=[])).push(new Dt(s[b].marker,null,null));for(var x=0;x<y;++x)g.push(v);g.push(u)}return g}function kt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function At(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Tt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function _t(e){return e.inclusiveLeft?-1:0}function Ot(e){return e.inclusiveRight?1:0}function Ft(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=et(r.from,i.from)||_t(e)-_t(t);if(o)return-o;var a=et(r.to,i.to)||Ot(e)-Ot(t);return a||t.id-e.id}function Nt(e,t){var n,r=Et&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Ft(n,i.marker)<0)&&(n=i.marker);return n}function It(e){return Nt(e,!0)}function Mt(e){return Nt(e,!1)}function jt(e,t){var n,r=Et&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Ft(n,o.marker)<0)&&(n=o.marker)}return n}function Lt(e,t,n,r,i){var o=We(e,t),a=Et&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var u=a[s];if(u.marker.collapsed){var c=u.marker.find(0),l=et(c.from,n)||_t(u.marker)-_t(i),p=et(c.to,r)||Ot(u.marker)-Ot(i);if(!(l>=0&&p<=0||l<=0&&p>=0)&&(l<=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?et(c.to,n)>=0:et(c.to,n)>0)||l>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?et(c.from,r)<=0:et(c.from,r)<0)))return!0}}}function Pt(e){for(var t;t=It(e);)e=t.find(-1,!0).line;return e}function Rt(e,t){var n=We(e,t),r=Pt(n);return n==r?t:Ye(r)}function Bt(e,t){if(t>e.lastLine())return t;var n,r=We(e,t);if(!zt(e,r))return t;for(;n=Mt(r);)r=n.find(1,!0).line;return Ye(r)+1}function zt(e,t){var n=Et&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Ut(e,t,r))return!0}}function Ut(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return Ut(e,r.line,Ct(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&Ut(e,t,i))return!0}function qt(e){for(var t=0,n=(e=Pt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function Vt(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=It(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Mt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Ht(e){var t=e.display,n=e.doc;t.maxLine=We(n,n.first),t.maxLineLength=Vt(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=Vt(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Wt=function(e,t,n){this.text=e,Tt(this,t),this.height=n?n(this):1};function Gt(e){e.parent=null,At(e)}Wt.prototype.lineNo=function(){return Ye(this)},ye(Wt);var Kt={},Jt={};function Yt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Jt:Kt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Qt(e,t){var n=O("span",null,null,u?"padding-right: .1px":null),r={pre:O("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Xt,_e(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=Zt(r.addToken,a)),r.map=[],tn(o,r,pt(e,o,t!=e.display.externalMeasured&&Ye(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=M(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=M(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Te(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(u){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return he(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=M(r.pre.className,r.textClass||"")),r}function $t(e){var t=_("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Xt(e,t,n,r,i,o,u){if(t){var c,l=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o="\xa0"),r+=o,n=" "==o}return r}(t,e.trailingSpace):t,p=e.cm.state.specialChars,f=!1;if(p.test(t)){c=document.createDocumentFragment();for(var d=0;;){p.lastIndex=d;var h=p.exec(t),m=h?h.index-d:t.length-d;if(m){var g=document.createTextNode(l.slice(d,d+m));a&&s<9?c.appendChild(_("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var v=void 0;if("\t"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(v=c.appendChild(_("span",K(b),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=b}else"\r"==h[0]||"\n"==h[0]?((v=c.appendChild(_("span","\r"==h[0]?"\u240d":"\u2424","cm-invalidchar"))).setAttribute("cm-text",h[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(h[0])).setAttribute("cm-text",h[0]),a&&s<9?c.appendChild(_("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==l.charCodeAt(t.length-1),n||r||i||f||o){var x=n||"";r&&(x+=r),i&&(x+=i);var E=_("span",[c],x,o);if(u)for(var D in u)u.hasOwnProperty(D)&&"style"!=D&&"class"!=D&&E.setAttribute(D,u[D]);return e.content.appendChild(E)}e.content.appendChild(c)}}function Zt(e,t){return function(n,r,i,o,a,s,u){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,l=c+r.length;;){for(var p=void 0,f=0;f<t.length&&!((p=t[f]).to>c&&p.from<=c);f++);if(p.to>=l)return e(n,r,i,o,a,s,u);e(n,r.slice(0,p.to-c),i,o,null,s,u),o=null,r=r.slice(p.to-c),c=p.to}}}function en(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function tn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,u,c,l,p,f,d=i.length,h=0,m=1,g="",v=0;;){if(v==h){u=c=l=s="",f=null,p=null,v=1/0;for(var y=[],b=void 0,x=0;x<r.length;++x){var E=r[x],D=E.marker;if("bookmark"==D.type&&E.from==h&&D.widgetNode)y.push(D);else if(E.from<=h&&(null==E.to||E.to>h||D.collapsed&&E.to==h&&E.from==h)){if(null!=E.to&&E.to!=h&&v>E.to&&(v=E.to,c=""),D.className&&(u+=" "+D.className),D.css&&(s=(s?s+";":"")+D.css),D.startStyle&&E.from==h&&(l+=" "+D.startStyle),D.endStyle&&E.to==v&&(b||(b=[])).push(D.endStyle,E.to),D.title&&((f||(f={})).title=D.title),D.attributes)for(var C in D.attributes)(f||(f={}))[C]=D.attributes[C];D.collapsed&&(!p||Ft(p.marker,D)<0)&&(p=E)}else E.from>h&&v>E.from&&(v=E.from)}if(b)for(var w=0;w<b.length;w+=2)b[w+1]==v&&(c+=" "+b[w]);if(!p||p.from==h)for(var S=0;S<y.length;++S)en(t,0,y[S]);if(p&&(p.from||0)==h){if(en(t,(null==p.to?d+1:p.to)-h,p.marker,null==p.from),null==p.to)return;p.to==h&&(p=!1)}}if(h>=d)break;for(var k=Math.min(d,v);;){if(g){var A=h+g.length;if(!p){var T=A>k?g.slice(0,k-h):g;t.addToken(t,T,a?a+u:u,l,h+T.length==v?c:"",s,f)}if(A>=k){g=g.slice(k-h),h=k;break}h=A,l=""}g=i.slice(o,o=n[m++]),a=Yt(n[m++],t.cm.options)}}else for(var _=1;_<n.length;_+=2)t.addToken(t,i.slice(o,o=n[_]),Yt(n[_+1],t.cm.options))}function nn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Mt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Ye(J(this.rest))-n+1:1,this.node=this.text=null,this.hidden=zt(e,t)}function rn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new nn(e.doc,We(e.doc,o),o);r=o+a.size,i.push(a)}return i}var on=null,an=null;function sn(e,t){var n=fe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);on?r=on.delayedCallbacks:an?r=an:(r=an=[],setTimeout(un,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function un(){var e=an;an=null;for(var t=0;t<e.length;++t)e[t]()}function cn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?fn(e,t):"gutter"==o?hn(e,t,n,r):"class"==o?dn(e,t):"widget"==o&&mn(e,t,r)}t.changes=null}function ln(e){return e.node==e.text&&(e.node=_("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function pn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Qt(e,t)}function fn(e,t){var n=t.text.className,r=pn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,dn(e,t)):n&&(t.text.className=n)}function dn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=ln(t);t.background=r.insertBefore(_("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?ln(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function hn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=ln(t);t.gutterBackground=_("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=ln(t),s=t.gutter=_("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(_("div",Xe(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var u=0;u<e.display.gutterSpecs.length;++u){var c=e.display.gutterSpecs[u].className,l=o.hasOwnProperty(c)&&o[c];l&&s.appendChild(_("div",[l],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function mn(e,t,n){t.alignable&&(t.alignable=null);for(var r=w("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);vn(e,t,n)}function gn(e,t,n,r){var i=pn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),dn(e,t),hn(e,t,n,r),vn(e,t,r),t.node}function vn(e,t,n){if(yn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)yn(e,t.rest[r],t,n,!1)}function yn(e,t,n,r,i){if(t.widgets)for(var o=ln(n),a=0,s=t.widgets;a<s.length;++a){var u=s[a],c=_("div",[u.node],"CodeMirror-linewidget"+(u.className?" "+u.className:""));u.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),bn(u,c,n,r),e.display.input.setUneditable(c),i&&u.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),sn(u,"redraw")}}function bn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function xn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!F(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),T(t.display.measure,_("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function En(e,t){for(var n=Ce(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Dn(e){return e.lineSpace.offsetTop}function Cn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function wn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=T(e.measure,_("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Sn(e){return 30-e.display.nativeBarWidth}function kn(e){return e.display.scroller.clientWidth-Sn(e)-e.display.barWidth}function An(e){return e.display.scroller.clientHeight-Sn(e)-e.display.barHeight}function Tn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Ye(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function _n(e,t,n,r){return Nn(e,Fn(e,t),n,r)}function On(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[cr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function Fn(e,t){var n=Ye(t),r=On(e,n);r&&!r.text?r=null:r&&r.changes&&(cn(e,r,n,ir(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Ye(t=Pt(t)),r=e.display.externalMeasured=new nn(e.doc,t,n);r.lineN=n;var i=r.built=Qt(e,r);return r.text=i.pre,T(e.display.lineMeasure,i.pre),r}(e,t));var i=Tn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Nn(e,t,n,r,i){t.before&&(n=-1);var o,u=n+(r||"");return t.cache.hasOwnProperty(u)?o=t.cache[u]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&kn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var u=a[s],c=a[s+1];Math.abs(u.bottom-c.bottom)>2&&o.push((u.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=jn(t.map,n,r),u=o.node,c=o.start,l=o.end,p=o.collapse;if(3==u.nodeType){for(var f=0;f<4;f++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+l<o.coverEnd&&re(t.line.text.charAt(o.coverStart+l));)++l;if((i=a&&s<9&&0==c&&l==o.coverEnd-o.coverStart?u.parentNode.getBoundingClientRect():Ln(S(u,c,l).getClientRects(),r)).left||i.right||0==c)break;l=c,c-=1,p="right"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Ie)return Ie;var t=T(e,_("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return Ie=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(p=r="right"),i=e.options.lineWrapping&&(d=u.getClientRects()).length>1?d["right"==r?d.length-1:0]:u.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=u.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+rr(e.display),top:h.top,bottom:h.bottom}:Mn}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(v<y[b]);b++);var x=b?y[b-1]:0,E=y[b],D={left:("right"==p?i.right:i.left)-t.rect.left,right:("left"==p?i.left:i.right)-t.rect.left,top:x,bottom:E};return i.left||i.right||(D.bogus=!0),e.options.singleCursorHeightPerLine||(D.rtop=m,D.rbottom=g),D}(e,t,n,r)).bogus||(t.cache[u]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var In,Mn={left:0,right:0,top:0,bottom:0};function jn(e,t,n){for(var r,i,o,a,s,u,c=0;c<e.length;c+=3)if(s=e[c],u=e[c+1],t<s?(i=0,o=1,a="left"):t<u?o=1+(i=t-s):(c==e.length-3||t==u&&e[c+3]>t)&&(i=(o=u-s)-1,t>=u&&(a="right")),null!=i){if(r=e[c+2],s==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==u-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:u}}function Ln(e,t){var n=Mn;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Pn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Rn(e){e.display.externalMeasure=null,A(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Pn(e.display.view[t])}function Bn(e){Rn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function zn(){return l&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Un(){return l&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function qn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=xn(e.widgets[n]));return t}function Vn(e,t,n,r,i){if(!i){var o=qn(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=qt(t);if("local"==r?a+=Dn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:Un());var u=s.left+("window"==r?0:zn());n.left+=u,n.right+=u}return n.top+=a,n.bottom+=a,n}function Hn(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=zn(),i-=Un();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Wn(e,t,n,r,i){return r||(r=We(e.doc,t.line)),Vn(e,r,_n(e,r,t.ch,i),n)}function Gn(e,t,n,r,i,o){function a(t,a){var s=Nn(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Vn(e,r,s,n)}r=r||We(e.doc,t.line),i||(i=Fn(e,r));var s=ce(r,e.doc.direction),u=t.ch,c=t.sticky;if(u>=r.text.length?(u=r.text.length,c="before"):u<=0&&(u=0,c="after"),!s)return a("before"==c?u-1:u,"before"==c);function l(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var p=se(s,u,c),f=ae,d=l(u,p,"before"==c);return null!=f&&(d.other=l(u,f,"before"!=c)),d}function Kn(e,t){var n=0;t=at(e.doc,t),e.options.lineWrapping||(n=rr(e.display)*t.ch);var r=We(e.doc,t.line),i=qt(r)+Dn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Jn(e,t,n,r,i){var o=Ze(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Yn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Jn(r.first,0,null,-1,-1);var i=Qe(r,n),o=r.first+r.size-1;if(i>o)return Jn(r.first+r.size-1,We(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=We(r,i);;){var s=Zn(e,a,i,t,n),u=jt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!u)return s;var c=u.find(1);if(c.line==i)return c;a=We(r,i=c.line)}}function Qn(e,t,n,r){r-=qn(t);var i=t.text.length,o=oe((function(t){return Nn(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Nn(e,n,t).top>r}),o,i)}}function $n(e,t,n,r){return n||(n=Fn(e,t)),Qn(e,t,n,Vn(e,t,Nn(e,n,r),"line").top)}function Xn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Zn(e,t,n,r,i){i-=qt(t);var o=Fn(e,t),a=qn(t),s=0,u=t.text.length,c=!0,l=ce(t,e.doc.direction);if(l){var p=(e.options.lineWrapping?tr:er)(e,t,n,o,l,r,i);s=(c=1!=p.level)?p.from:p.to-1,u=c?p.to:p.from-1}var f,d,h=null,m=null,g=oe((function(t){var n=Nn(e,o,t);return n.top+=a,n.bottom+=a,!!Xn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,u),v=!1;if(m){var y=r-m.left<m.right-r,b=y==c;g=h+(b?0:1),d=b?"after":"before",f=y?m.left:m.right}else{c||g!=u&&g!=s||g++,d=0==g?"after":g==t.text.length?"before":Nn(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var x=Gn(e,Ze(n,g,d),"line",t,o);f=x.left,v=i<x.top?-1:i>=x.bottom?1:0}return Jn(n,g=ie(t.text,g,1),d,v,r-f)}function er(e,t,n,r,i,o,a){var s=oe((function(s){var u=i[s],c=1!=u.level;return Xn(Gn(e,Ze(n,c?u.to:u.from,c?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),u=i[s];if(s>0){var c=1!=u.level,l=Gn(e,Ze(n,c?u.from:u.to,c?"after":"before"),"line",t,r);Xn(l,o,a,!0)&&l.top>a&&(u=i[s-1])}return u}function tr(e,t,n,r,i,o,a){var s=Qn(e,t,r,a),u=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var l=null,p=null,f=0;f<i.length;f++){var d=i[f];if(!(d.from>=c||d.to<=u)){var h=Nn(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(u,d.from)).right,m=h<o?o-h+1e9:h-o;(!l||p>m)&&(l=d,p=m)}}return l||(l=i[i.length-1]),l.from<u&&(l={from:u,to:l.to,level:l.level}),l.to>c&&(l={from:l.from,to:c,level:l.level}),l}function nr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==In){In=_("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)In.appendChild(document.createTextNode("x")),In.appendChild(_("br"));In.appendChild(document.createTextNode("x"))}T(e.measure,In);var n=In.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),A(e.measure),n||1}function rr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=_("span","xxxxxxxxxx"),n=_("pre",[t],"CodeMirror-line-like");T(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function ir(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:or(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function or(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ar(e){var t=nr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/rr(e.display)-3);return function(i){if(zt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function sr(e){var t=e.doc,n=ar(e);t.iter((function(e){var t=n(e);t!=e.height&&Je(e,t)}))}function ur(e,t,n,r){var i=e.display;if(!n&&"true"==Ce(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var u,c=Yn(e,o,a);if(r&&c.xRel>0&&(u=We(e.doc,c.line).text).length==c.ch){var l=R(u,u.length,e.options.tabSize)-u.length;c=Ze(c.line,Math.max(0,Math.round((o-wn(e.display).left)/rr(e.display))-l))}return c}function cr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function lr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Et&&Rt(e.doc,t)<i.viewTo&&fr(e);else if(n<=i.viewFrom)Et&&Bt(e.doc,n+r)>i.viewFrom?fr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)fr(e);else if(t<=i.viewFrom){var o=dr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):fr(e)}else if(n>=i.viewTo){var a=dr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):fr(e)}else{var s=dr(e,t,t,-1),u=dr(e,n,n+r,1);s&&u?(i.view=i.view.slice(0,s.index).concat(rn(e,s.lineN,u.lineN)).concat(i.view.slice(u.index)),i.viewTo+=r):fr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function pr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[cr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==z(a,n)&&a.push(n)}}}function fr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function dr(e,t,n,r){var i,o=cr(e,t),a=e.display.view;if(!Et||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,u=0;u<o;u++)s+=a[u].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Rt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function hr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function mr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var u=s.empty();(u||e.options.showCursorWhenSelecting)&&vr(e,s.head,i),u||br(e,s,o)}}return r}function vr(e,t,n){var r=Gn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(_("div","\xa0","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(_("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function yr(e,t){return e.top-t.top||e.left-t.left}function br(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=wn(e.display),s=a.left,u=Math.max(r.sizerWidth,kn(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function l(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(_("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?u-e:n)+"px;\n height: "+(r-t)+"px"))}function p(t,n,r){var o,a,p=We(i,t),f=p.text.length;function d(n,r){return Wn(e,Ze(t,n),"div",p,r)}function h(t,n,r){var i=$n(e,p,null,t),o="ltr"==n==("after"==r)?"left":"right";return d("after"==r?i.begin:i.end-(/\s/.test(p.text.charAt(i.end-1))?2:1),o)[o]}var m=ce(p,i.direction);return function(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(m,n||0,null==r?f:r,(function(e,t,i,p){var g="ltr"==i,v=d(e,g?"left":"right"),y=d(t-1,g?"right":"left"),b=null==n&&0==e,x=null==r&&t==f,E=0==p,D=!m||p==m.length-1;if(y.top-v.top<=3){var C=(c?x:b)&&D,w=(c?b:x)&&E?s:(g?v:y).left,S=C?u:(g?y:v).right;l(w,v.top,S-w,v.bottom)}else{var k,A,T,_;g?(k=c&&b&&E?s:v.left,A=c?u:h(e,i,"before"),T=c?s:h(t,i,"after"),_=c&&x&&D?u:y.right):(k=c?h(e,i,"before"):s,A=!c&&b&&E?u:v.right,T=!c&&x&&D?s:y.left,_=c?h(t,i,"after"):u),l(k,v.top,A-k,v.bottom),v.bottom<y.top&&l(s,v.bottom,null,y.top),l(T,y.top,_-T,y.bottom)}(!o||yr(v,o)<0)&&(o=v),yr(y,o)<0&&(o=y),(!a||yr(v,a)<0)&&(a=v),yr(y,a)<0&&(a=y)})),{start:o,end:a}}var f=t.from(),d=t.to();if(f.line==d.line)p(f.line,f.ch,d.ch);else{var h=We(i,f.line),m=We(i,d.line),g=Pt(h)==Pt(m),v=p(f.line,f.ch,g?h.text.length+1:null).end,y=p(d.line,g?0:null,d.ch).start;g&&(v.top<y.top-2?(l(v.right,v.top,null,v.bottom),l(s,y.top,y.left,y.bottom)):l(v.right,v.top,y.left-v.right,v.bottom)),v.bottom<y.top&&l(s,v.bottom,null,y.top)}n.appendChild(o)}function xr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Er(e){e.state.focused||(e.display.input.focus(),Cr(e))}function Dr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,wr(e))}),100)}function Cr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(he(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),u&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),xr(e))}function wr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,"blur",e,t),e.state.focused=!1,k(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Sr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,u=void 0,c=0;if(!i.hidden){if(a&&s<8){var l=i.node.offsetTop+i.node.offsetHeight;u=l-n,n=l}else{var p=i.node.getBoundingClientRect();u=p.bottom-p.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-p.left-1)}var f=i.line.height-u;if((f>.005||f<-.005)&&(Je(i.line,u),kr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)kr(i.rest[d]);if(c>e.display.sizerWidth){var h=Math.ceil(c/rr(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function kr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function Ar(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Dn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=Qe(t,r),a=Qe(t,i);if(n&&n.ensure){var s=n.ensure.from.line,u=n.ensure.to.line;s<o?(o=s,a=Qe(t,qt(We(t,s))+e.wrapper.clientHeight)):Math.min(u,t.lastLine())>=a&&(o=Qe(t,qt(We(t,u))-e.wrapper.clientHeight),a=u)}return{from:o,to:Math.max(a,o+1)}}function Tr(e,t){var n=e.display,r=nr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=An(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Cn(n),u=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=u?0:t.top;else if(t.bottom>i+o){var l=Math.min(t.top,(c?s:t.bottom)-o);l!=i&&(a.scrollTop=l)}var p=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,f=kn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>f;return d&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<p?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>f+p-3&&(a.scrollLeft=t.right+(d?0:10)-f),a}function _r(e,t){null!=t&&(Nr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Or(e){Nr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Fr(e,t,n){null==t&&null==n||Nr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Nr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Ir(e,Kn(e,t.from),Kn(e,t.to),t.margin))}function Ir(e,t,n,r){var i=Tr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Fr(e,i.scrollLeft,i.scrollTop)}function Mr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||si(e,{top:t}),jr(e,t,!0),n&&si(e),ni(e,100))}function jr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Lr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,li(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Cn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Sn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Rr=function(e,t,n){this.cm=n;var r=this.vert=_("div",[_("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=_("div",[_("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Rr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rr.prototype.zeroWidthHack=function(){var e=y&&!d?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new B,this.disableVert=new B},Rr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,(function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}))},Rr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Br=function(){};function zr(e,t){t||(t=Pr(e));var n=e.display.barWidth,r=e.display.barHeight;Ur(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Sr(e),Ur(e,Pr(e)),n=e.display.barWidth,r=e.display.barHeight}function Ur(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Br.prototype.update=function(){return{bottom:0,right:0}},Br.prototype.setScrollLeft=function(){},Br.prototype.setScrollTop=function(){},Br.prototype.clear=function(){};var qr={native:Rr,null:Br};function Vr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new qr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?Lr(e,t):Mr(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var Hr=0;function Wr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Hr},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Gr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{on=null,t(n)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Kr(t[n]);for(var r=0;r<t.length;r++)Jr(t[r]);for(var i=0;i<t.length;i++)Yr(t[i]);for(var o=0;o<t.length;o++)Qr(t[o]);for(var a=0;a<t.length;a++)$r(t[a])}(e)}))}function Kr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Sn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Sn(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Ht(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ii(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Jr(e){e.updatedDisplay=e.mustUpdate&&oi(e.cm,e.update)}function Yr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Sr(t),e.barMeasure=Pr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=_n(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Sn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-kn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Qr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Lr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==N();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&zr(t,e.barMeasure),e.updatedDisplay&&ci(t,e.barMeasure),e.selectionChanged&&xr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Er(e.cm)}function $r(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&ai(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&jr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Lr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=_("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Dn(e.display))+"px;\n height: "+(t.bottom-t.top+Sn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?Ze(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?Ze(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Gn(e,t),u=n&&n!=t?Gn(e,n):s,c=Tr(e,i={left:Math.min(s.left,u.left),top:Math.min(s.top,u.top)-r,right:Math.max(s.left,u.left),bottom:Math.max(s.bottom,u.bottom)+r}),l=e.doc.scrollTop,p=e.doc.scrollLeft;if(null!=c.scrollTop&&(Mr(e,c.scrollTop),Math.abs(e.doc.scrollTop-l)>1&&(a=!0)),null!=c.scrollLeft&&(Lr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-p)>1&&(a=!0)),!a)break}return i}(t,at(r,e.scrollToPos.from),at(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||he(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&he(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&he(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Xr(e,t){if(e.curOp)return t();Wr(e);try{return t()}finally{Gr(e)}}function Zr(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Wr(e);try{return t.apply(e,arguments)}finally{Gr(e)}}}function ei(e){return function(){if(this.curOp)return e.apply(this,arguments);Wr(this);try{return e.apply(this,arguments)}finally{Gr(this)}}}function ti(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Wr(t);try{return e.apply(this,arguments)}finally{Gr(t)}}}function ni(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,L(ri,e))}function ri(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=ft(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ue(t.mode,r.state):null,u=lt(e,o,r,!0);s&&(r.state=s),o.styles=u.styles;var c=o.styleClasses,l=u.classes;l?o.styleClasses=l:c&&(o.styleClasses=null);for(var p=!a||a.length!=o.styles.length||c!=l&&(!c||!l||c.bgClass!=l.bgClass||c.textClass!=l.textClass),f=0;!p&&f<a.length;++f)p=a[f]!=o.styles[f];p&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&dt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ni(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Xr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],"text")}))}}var ii=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Ar(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=kn(e),this.force=n,this.dims=ir(e),this.events=[]};function oi(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return fr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==hr(e))return!1;pi(e)&&(fr(e),t.dims=ir(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Et&&(o=Rt(e.doc,o),a=Bt(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(cr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(rn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,cr(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=qt(We(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=hr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var l=function(e){if(e.hasFocus())return null;var t=N();if(!t||!F(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&F(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return u&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,l=r.viewFrom,p=0;p<c.length;p++){var f=c[p];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;a!=f.node;)a=s(a);var d=i&&null!=t&&t<=l&&f.lineNumber;f.changes&&(z(f.changes,"gutter")>-1&&(d=!1),cn(e,f,l,n)),d&&(A(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Xe(e.options,l)))),a=f.node.nextSibling}else{var h=gn(e,f,l,n);o.insertBefore(h,a)}l+=f.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),e.anchorNode&&F(document.body,e.anchorNode)&&F(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(l),A(n.cursorDiv),A(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ni(e,400)),n.updateLineNumbers=null,!0}function ai(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=kn(e))r&&(t.visible=Ar(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Cn(e.display)-An(e),n.top)}),t.visible=Ar(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!oi(e,t))break;Sr(e);var i=Pr(e);mr(e),zr(e,i),ci(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function si(e,t){var n=new ii(e,t);if(oi(e,n)){Sr(e),ai(e,n);var r=Pr(e);mr(e),zr(e,r),ci(e,r),n.finish()}}function ui(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function ci(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Sn(e)+"px"}function li(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=or(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var u=0;u<s.length;u++)s[u].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function pi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Xe(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(_("div",[_("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",ui(e.display),!0}return!1}function fi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function di(e){var t=e.gutters,n=e.gutterSpecs;A(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(_("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",ui(e)}function hi(e){di(e.display),lr(e),li(e)}function mi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=_("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=_("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=O("div",null,"CodeMirror-code"),o.selectionDiv=_("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=_("div",null,"CodeMirror-cursors"),o.measure=_("div",null,"CodeMirror-measure"),o.lineMeasure=_("div",null,"CodeMirror-measure"),o.lineSpace=O("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=O("div",[o.lineSpace],"CodeMirror-lines");o.mover=_("div",[c],null,"position: relative"),o.sizer=_("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=_("div",null,null,"position: absolute; height: 30px; width: 1px;"),o.gutters=_("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=_("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=_("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),u||n&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=fi(i.gutters,i.lineNumbers),di(o),r.init(o)}ii.prototype.signal=function(e,t){ve(e,t)&&this.events.push(arguments)},ii.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var gi=0,vi=null;function yi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function bi(e){var t=yi(e);return t.x*=vi,t.y*=vi,t}function xi(e,t){var r=yi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,l=s.scrollHeight>s.clientHeight;if(i&&c||o&&l){if(o&&y&&u)e:for(var f=t.target,d=a.view;f!=s;f=f.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==f){e.display.currentWheelTarget=f;break e}if(i&&!n&&!p&&null!=vi)return o&&l&&Mr(e,Math.max(0,s.scrollTop+o*vi)),Lr(e,Math.max(0,s.scrollLeft+i*vi)),(!o||o&&l)&&be(t),void(a.wheelStartX=null);if(o&&null!=vi){var m=o*vi,g=e.doc.scrollTop,v=g+a.wrapper.clientHeight;m<0?g=Math.max(0,g+m-50):v=Math.min(e.doc.height,v+m+50),si(e,{top:g,bottom:v})}gi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(vi=(vi*gi+n)/(gi+1),++gi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?vi=-.53:n?vi=15:l?vi=-.7:f&&(vi=-1/3);var Ei=function(e,t){this.ranges=e,this.primIndex=t};Ei.prototype.primary=function(){return this.ranges[this.primIndex]},Ei.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!tt(n.anchor,r.anchor)||!tt(n.head,r.head))return!1}return!0},Ei.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Di(nt(this.ranges[t].anchor),nt(this.ranges[t].head));return new Ei(e,this.primIndex)},Ei.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Ei.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(et(t,r.from())>=0&&et(e,r.to())<=0)return n}return-1};var Di=function(e,t){this.anchor=e,this.head=t};function Ci(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return et(e.from(),t.from())})),n=z(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],u=et(s.to(),a.from());if(r&&!a.empty()?u>0:u>=0){var c=it(s.from(),a.from()),l=rt(s.to(),a.to()),p=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new Di(p?l:c,p?c:l))}}return new Ei(t,n)}function wi(e,t){return new Ei([new Di(e,t||e)],0)}function Si(e){return e.text?Ze(e.from.line+e.text.length-1,J(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ki(e,t){if(et(e,t.from)<0)return e;if(et(e,t.to)<=0)return Si(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Si(t).ch-t.to.ch),Ze(n,r)}function Ai(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new Di(ki(i.anchor,t),ki(i.head,t)))}return Ci(e.cm,n,e.sel.primIndex)}function Ti(e,t,n){return e.line==t.line?Ze(n.line,e.ch-t.ch+n.ch):Ze(n.line+(e.line-t.line),e.ch)}function _i(e){e.doc.mode=Re(e.options,e.doc.modeOption),Oi(e)}function Oi(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ni(e,100),e.state.modeGen++,e.curOp&&lr(e)}function Fi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==J(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Ni(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),At(e),Tt(e,n);var i=r?r(e):1;i!=e.height&&Je(e,i)}(e,n,i,r),sn(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Wt(c[o],i(o),r));return n}var s=t.from,u=t.to,c=t.text,l=We(e,s.line),p=We(e,u.line),f=J(c),d=i(c.length-1),h=u.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Fi(e,t)){var m=a(0,c.length-1);o(p,p.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(l==p)if(1==c.length)o(l,l.text.slice(0,s.ch)+f+l.text.slice(u.ch),d);else{var g=a(1,c.length-1);g.push(new Wt(f+l.text.slice(u.ch),d,r)),o(l,l.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g)}else if(1==c.length)o(l,l.text.slice(0,s.ch)+c[0]+p.text.slice(u.ch),i(0)),e.remove(s.line+1,h);else{o(l,l.text.slice(0,s.ch)+c[0],i(0)),o(p,f+p.text.slice(u.ch),d);var v=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}sn(e,"change",e,t)}function Ii(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var u=o&&s.sharedHist;n&&!u||(t(s.doc,u),e(s.doc,r,u))}}}(e,null,!0)}function Mi(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,sr(e),_i(e),ji(e),e.options.lineWrapping||Ht(e),e.options.mode=t.modeOption,lr(e)}function ji(e){("rtl"==e.doc.direction?I:k)(e.display.lineDiv,"CodeMirror-rtl")}function Li(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Pi(e,t){var n={from:nt(t.from),to:Si(t),text:Ge(e,t.from,t.to)};return qi(e,n,t.from.line,t.to.line+1),Ii(e,(function(e){return qi(e,n,t.from.line,t.to.line+1)}),!0),n}function Ri(e){for(;e.length&&J(e).ranges;)e.pop()}function Bi(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Ri(e.done),J(e.done)):e.done.length&&!J(e.done).ranges?J(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),J(e.done)):void 0}(i,i.lastOp==r)))a=J(o.changes),0==et(t.from,t.to)&&0==et(t.from,a.to)?a.to=Si(t):o.changes.push(Pi(e,t));else{var u=J(i.done);for(u&&u.ranges||Ui(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,"historyAdded")}function zi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,J(i.done),t))?i.done[i.done.length-1]=t:Ui(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Ri(i.undone)}function Ui(e,t){var n=J(t);n&&n.ranges&&n.equals(e)||t.push(e)}function qi(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Vi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Hi(e,t){var n=function(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Vi(n[i]));return r}(e,t),r=St(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var u=a[s],c=0;c<o.length;++c)if(o[c].marker==u.marker)continue e;o.push(u)}else a&&(n[i]=a)}return n}function Wi(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Ei.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var u=0;u<a.length;++u){var c=a[u],l=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var p in c)(l=p.match(/^spans_(\d+)$/))&&z(t,Number(l[1]))>-1&&(J(s)[p]=c[p],delete c[p])}}}return r}function Gi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=et(t,i)<0;o!=et(n,i)<0?(i=t,t=n):o!=et(t,n)<0&&(t=n)}return new Di(i,t)}return new Di(n||t,t)}function Ki(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Xi(e,new Ei([Gi(e.sel.primary(),t,n,i)],0),r)}function Ji(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Gi(e.sel.ranges[o],t[o],null,i);Xi(e,Ci(e.cm,r,e.sel.primIndex),n)}function Yi(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Xi(e,Ci(e.cm,i,e.sel.primIndex),r)}function Qi(e,t,n,r){Xi(e,wi(t,n),r)}function $i(e,t,n){var r=e.history.done,i=J(r);i&&i.ranges?(r[r.length-1]=t,Zi(e,t,n)):Xi(e,t,n)}function Xi(e,t,n){Zi(e,t,n),zi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Zi(e,t,n){(ve(e,"beforeSelectionChange")||e.cm&&ve(e.cm,"beforeSelectionChange"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new Di(at(e,t[n].anchor),at(e,t[n].head))},origin:n&&n.origin};return he(e,"beforeSelectionChange",e,r),e.cm&&he(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?Ci(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(et(t.primary().head,e.sel.primary().head)<0?-1:1);eo(e,no(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Or(e.cm)}function eo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ge(e.cm)),sn(e,"cursorActivity",e))}function to(e){eo(e,no(e,e.sel,null,!1))}function no(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],u=io(e,a.anchor,s&&s.anchor,n,r),c=io(e,a.head,s&&s.head,n,r);(i||u!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new Di(u,c))}return i?Ci(e.cm,i,t.primIndex):t}function ro(e,t,n,r,i){var o=We(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],u=s.marker,c="selectLeft"in u?!u.selectLeft:u.inclusiveLeft,l="selectRight"in u?!u.selectRight:u.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l?s.to>=t.ch:s.to>t.ch))){if(i&&(he(u,"beforeCursorEnter"),u.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!u.atomic)continue;if(n){var p=u.find(r<0?1:-1),f=void 0;if((r<0?l:c)&&(p=oo(e,p,-r,p&&p.line==t.line?o:null)),p&&p.line==t.line&&(f=et(p,n))&&(r<0?f<0:f>0))return ro(e,p,t,r,i)}var d=u.find(r<0?-1:1);return(r<0?c:l)&&(d=oo(e,d,r,d.line==t.line?o:null)),d?ro(e,d,t,r,i):null}}return t}function io(e,t,n,r,i){var o=r||1,a=ro(e,t,n,o,i)||!i&&ro(e,t,n,o,!0)||ro(e,t,n,-o,i)||!i&&ro(e,t,n,-o,!0);return a||(e.cantEdit=!0,Ze(e.first,0))}function oo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?at(e,Ze(t.line-1)):null:n>0&&t.ch==(r||We(e,t.line)).text.length?t.line<e.first+e.size-1?Ze(t.line+1,0):null:new Ze(t.line,t.ch+n)}function ao(e){e.setSelection(Ze(e.firstLine(),0),Ze(e.lastLine()),q)}function so(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=at(e,t)),n&&(r.to=at(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),he(e,"beforeChange",e,r),e.cm&&he(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function uo(e,t,n){if(e.cm){if(!e.cm.curOp)return Zr(e.cm,uo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ve(e,"beforeChange")||e.cm&&ve(e.cm,"beforeChange"))||(t=so(e,t,!0))){var r=xt&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=z(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),u=0;u<i.length;++u){var c=i[u];if(!(et(c.to,s.from)<0||et(c.from,s.to)>0)){var l=[u,1],p=et(c.from,s.from),f=et(c.to,s.to);(p<0||!a.inclusiveLeft&&!p)&&l.push({from:c.from,to:s.from}),(f>0||!a.inclusiveRight&&!f)&&l.push({from:s.to,to:c.to}),i.splice.apply(i,l),u+=l.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)co(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else co(e,t)}}function co(e,t){if(1!=t.text.length||""!=t.text[0]||0!=et(t.from,t.to)){var n=Ai(e,t);Bi(e,t,n,e.cm?e.cm.curOp.id:NaN),fo(e,t,n,St(e,t));var r=[];Ii(e,(function(e,n){n||-1!=z(r,e.history)||(vo(e.history,t),r.push(e.history)),fo(e,t,null,St(e,t))}))}}function lo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,u="undo"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Ui(i,u),n&&!i.equals(e.sel))return void Xi(e,i,{clearRedo:!1});a=i}var l=[];Ui(a,u),u.push({changes:l,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var p=ve(e,"beforeChange")||e.cm&&ve(e.cm,"beforeChange"),f=function(n){var r=i.changes[n];if(r.origin=t,p&&!so(e,r,!1))return s.length=0,{};l.push(Pi(e,r));var o=n?Ai(e,r):J(s);fo(e,r,o,Hi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:Si(r)});var a=[];Ii(e,(function(e,t){t||-1!=z(a,e.history)||(vo(e.history,r),a.push(e.history)),fo(e,r,null,Hi(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=f(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Ei(Y(e.sel.ranges,(function(e){return new Di(Ze(e.anchor.line+t,e.anchor.ch),Ze(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){lr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)pr(e.cm,r,"gutter")}}function fo(e,t,n,r){if(e.cm&&!e.cm.curOp)return Zr(e.cm,fo)(e,t,n,r);if(t.to.line<e.first)po(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);po(e,i),t={from:Ze(e.first,0),to:Ze(t.to.line+i,t.to.ch),text:[J(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:Ze(o,We(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ge(e,t.from,t.to),n||(n=Ai(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,u=o.line;e.options.lineWrapping||(u=Ye(Pt(We(r,o.line))),r.iter(u,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ge(e),Ni(r,t,n,ar(e)),e.options.lineWrapping||(r.iter(u,o.line+t.text.length,(function(e){var t=Vt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=We(e,r).stateAfter;if(i&&(!(i instanceof ut)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ni(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?lr(e):o.line!=a.line||1!=t.text.length||Fi(e.doc,t)?lr(e,o.line,a.line+1,c):pr(e,o.line,"text");var l=ve(e,"changes"),p=ve(e,"change");if(p||l){var f={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};p&&sn(e,"change",e,f),l&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}(e.cm,t,r):Ni(e,t,r),Zi(e,n,q),e.cantEdit&&io(e,Ze(e.firstLine(),0))&&(e.cantEdit=!1)}}function ho(e,t,n,r,i){var o;r||(r=n),et(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),uo(e,{from:n,to:r,text:t,origin:i})}function mo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function go(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)mo(o.ranges[s].anchor,t,n,r),mo(o.ranges[s].head,t,n,r)}else{for(var u=0;u<o.changes.length;++u){var c=o.changes[u];if(n<c.from.line)c.from=Ze(c.from.line+r,c.from.ch),c.to=Ze(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function vo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;go(e.done,n,r,i),go(e.undone,n,r,i)}function yo(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=We(e,ot(e,t)):i=Ye(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function bo(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function xo(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}Di.prototype.from=function(){return it(this.anchor,this.head)},Di.prototype.to=function(){return rt(this.anchor,this.head)},Di.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},bo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Gt(i),sn(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},xo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof bo))){var s=[];this.collapse(s),this.children=[new bo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var u=new bo(i.lines.slice(s,s+=25));i.height-=u.height,this.children.splice(++r,0,u),u.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new xo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=z(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new xo(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Eo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function Do(e,t,n){qt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&_r(e,n)}Eo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Ye(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=xn(this);Je(n,Math.max(0,n.height-o)),e&&(Xr(e,(function(){Do(e,n,-o),pr(e,r,"widget")})),sn(e,"lineWidgetCleared",e,this,r))}},Eo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=xn(this)-t;i&&(zt(this.doc,r)||Je(r,r.height+i),n&&Xr(n,(function(){n.curOp.forceUpdate=!0,Do(n,r,i),sn(n,"lineWidgetChanged",n,e,Ye(r))})))},ye(Eo);var Co=0,wo=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Co};function So(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=P(r)).shared=!1;var o=[So(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Ii(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(So(e,at(e,t),at(e,n),r,i));for(var u=0;u<e.linked.length;++u)if(e.linked[u].isParent)return;a=J(o)})),new ko(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Zr(e.cm,So)(e,t,n,r,i);var o=new wo(e,i),a=et(t,n);if(r&&P(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=O("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Lt(e,t.line,t,n,o)||t.line!=n.line&&Lt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Et=!0}o.addToHistory&&Bi(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,u=t.line,c=e.cm;if(e.iter(u,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Pt(e)==c.display.maxLine&&(s=!0),o.collapsed&&u!=t.line&&Je(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Dt(o,u==t.line?t.ch:null,u==n.line?n.ch:null)),++u})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){zt(e,t)&&Je(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(xt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Co,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)lr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var l=t.line;l<=n.line;l++)pr(c,l,"text");o.atomic&&to(c.doc),sn(c,"markerAdded",c,o)}return o}wo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Wr(e),ve(this,"clear")){var n=this.find();n&&sn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Ct(a.markedSpans,this);e&&!this.collapsed?pr(e,Ye(a),"text"):e&&(null!=s.to&&(i=Ye(a)),null!=s.from&&(r=Ye(a))),a.markedSpans=wt(a.markedSpans,s),null==s.from&&this.collapsed&&!zt(this.doc,a)&&e&&Je(a,nr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var c=Pt(this.lines[u]),l=Vt(c);l>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=l,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&lr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&sn(e,"markerCleared",e,this,r,i),t&&Gr(e),this.parent&&this.parent.clear()}},wo.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Ct(o.markedSpans,this);if(null!=a.from&&(n=Ze(t?o:Ye(o),a.from),-1==e))return n;if(null!=a.to&&(r=Ze(t?o:Ye(o),a.to),1==e))return r}return n&&{from:n,to:r}},wo.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Xr(r,(function(){var i=t.line,o=Ye(t.line),a=On(r,o);if(a&&(Pn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!zt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var u=xn(n)-s;u&&Je(i,i.height+u)}sn(r,"markerChanged",r,e)}))},wo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=z(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},wo.prototype.detachLine=function(e){if(this.lines.splice(z(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(wo);var ko=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function Ao(e){return e.findMarks(Ze(e.first,0),e.clipPos(Ze(e.lastLine())),(function(e){return e.parent}))}function To(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];Ii(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==z(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ko.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();sn(this,"clear")}},ko.prototype.find=function(e,t){return this.primary.find(e,t)},ye(ko);var _o=0,Oo=function e(t,n,r,i,o){if(!(this instanceof e))return new e(t,n,r,i,o);null==r&&(r=0),xo.call(this,[new bo([new Wt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var a=Ze(r,0);this.sel=wi(a),this.history=new Li(null),this.id=++_o,this.modeOption=n,this.lineSep=i,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Ni(this,{from:a,to:a,text:t}),Xi(this,wi(a),q)};(Oo.prototype=$(xo.prototype,{constructor:Oo,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ke(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ti((function(e){var t=Ze(this.first,0),n=this.first+this.size-1;uo(this,{from:t,to:Ze(n,We(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Fr(this.cm,0,0),Xi(this,wi(t),q)})),replaceRange:function(e,t,n,r){ho(this,e,t=at(this,t),n=n?at(this,n):t,r)},getRange:function(e,t,n){var r=Ge(this,at(this,e),at(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if($e(this,e))return We(this,e)},getLineNumber:function(e){return Ye(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=We(this,e)),Pt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return at(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ti((function(e,t,n){Qi(this,at(this,"number"==typeof e?Ze(e,t||0):e),null,n)})),setSelection:ti((function(e,t,n){Qi(this,at(this,e),at(this,t||e),n)})),extendSelection:ti((function(e,t,n){Ki(this,at(this,e),t&&at(this,t),n)})),extendSelections:ti((function(e,t){Ji(this,st(this,e),t)})),extendSelectionsBy:ti((function(e,t){Ji(this,st(this,Y(this.sel.ranges,e)),t)})),setSelections:ti((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new Di(at(this,e[i].anchor),at(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Xi(this,Ci(this.cm,r,t),n)}})),addSelection:ti((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new Di(at(this,e),at(this,t||e))),Xi(this,Ci(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Ge(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Ge(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:ti((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&function(e,t,n){for(var r=[],i=Ze(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],u=Ti(s.from,i,o),c=Ti(Si(s),i,o);if(i=s.to,o=c,"around"==n){var l=e.sel.ranges[a],p=et(l.head,l.anchor)<0;r[a]=new Di(p?c:u,p?u:c)}else r[a]=new Di(u,u)}return new Ei(r,e.sel.primIndex)}(this,r,t),u=r.length-1;u>=0;u--)uo(this,r[u]);s?$i(this,s):this.cm&&Or(this.cm)})),undo:ti((function(){lo(this,"undo")})),redo:ti((function(){lo(this,"redo")})),undoSelection:ti((function(){lo(this,"undo",!0)})),redoSelection:ti((function(){lo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Li(this.history.maxGeneration),Ii(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Wi(this.history.done),undone:Wi(this.history.undone)}},setHistory:function(e){var t=this.history=new Li(this.history.maxGeneration);t.done=Wi(e.done.slice(0),null,!0),t.undone=Wi(e.undone.slice(0),null,!0)},setGutterMarker:ti((function(e,t,n){return yo(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ti((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&yo(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!$e(this,e))return null;if(t=e,!(e=We(this,e)))return null}else if(null==(t=Ye(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ti((function(e,t,n){return yo(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(w(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:ti((function(e,t,n){return yo(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(w(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:ti((function(e,t,n){return function(e,t,n,r){var i=new Eo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),yo(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!zt(e,t)){var r=qt(t)<e.scrollTop;Je(t,t.height+xn(i)),r&&_r(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&sn(o,"lineWidgetAdded",o,i,"number"==typeof t?t:Ye(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return So(this,at(this,e),at(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return So(this,e=at(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=We(this,(e=at(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=at(this,e),t=at(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var u=a[s];null!=u.to&&i==e.line&&e.ch>=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),at(this,Ze(n,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new Oo(Ke(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Oo(Ke(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(et(o,a)){var s=So(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,Ao(this)),r},unlinkDoc:function(e){if(e instanceof ka&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),To(Ao(this));break}if(e.history==this.history){var n=[e.id];Ii(e,(function(e){return n.push(e.id)}),!0),e.history=new Li(null),e.history.done=Wi(this.history.done,n),e.history.undone=Wi(this.history.undone,n)}},iterLinkedDocs:function(e){Ii(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Oe(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:ti((function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Xr(t=this.cm,(function(){ji(t),lr(t)})))}))})).eachLine=Oo.prototype.iter;var Fo=0;function No(e){var t=this;if(Io(t),!me(t,e)&&!En(t.display,e)){be(e),a&&(Fo=+new Date);var n=ur(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,u=function(){++s==i&&Zr(t,(function(){var e={from:n=at(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};uo(t.doc,e),$i(t.doc,wi(at(t.doc,n),at(t.doc,Si(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==z(t.options.allowDropFileTypes,e.type))u();else{var r=new FileReader;r.onerror=function(){return u()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),u()},r.readAsText(e)}},l=0;l<r.length;l++)c(r[l],l);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var p=e.dataTransfer.getData("Text");if(p){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Zi(t.doc,wi(n,n)),f)for(var d=0;d<f.length;++d)ho(t.doc,"",f[d].anchor,f[d].head,"drag");t.replaceSelection(p,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Io(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Mo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var jo=!1;function Lo(){jo||(function(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Mo(Po)}),100))})),pe(window,"blur",(function(){return Mo(wr)}))}(),jo=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Ro={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Bo=0;Bo<10;Bo++)Ro[Bo+48]=Ro[Bo+96]=String(Bo);for(var zo=65;zo<=90;zo++)Ro[zo]=String.fromCharCode(zo);for(var Uo=1;Uo<=12;Uo++)Ro[Uo+111]=Ro[Uo+63235]="F"+Uo;var qo={};function Vo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ho(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Y(n.split(" "),Vo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var u=t[s];if(u){if(u!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Wo(e,t,n,r){var i=(t=Yo(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Wo(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Wo(e,t.fallthrough[o],n,r);if(a)return a}}}function Go(e){var t="string"==typeof e?e:Ro[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Ko(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(D?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(D?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Jo(e,t){if(p&&34==e.keyCode&&e.char)return!1;var n=Ro[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Ko(n,e,t))}function Yo(e){return"string"==typeof e?qo[e]:e}function Qo(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&et(o.from,J(r).to)<=0;){var a=r.pop();if(et(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Xr(e,(function(){for(var t=r.length-1;t>=0;t--)ho(e.doc,"",r[t].from,r[t].to,"+delete");Or(e)}))}function $o(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Xo(e,t,n){var r=$o(e,t.ch,n);return null==r?null:new Ze(t.line,r,n<0?"after":"before")}function Zo(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?J(o):o[0],u=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=Fn(t,n);a=i<0?n.text.length-1:0;var l=Nn(t,c,a).top;a=oe((function(e){return Nn(t,c,e).top==l}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=$o(n,a,1))}else a=i<0?s.to:s.from;return new Ze(r,a,u)}}return new Ze(r,i<0?n.text.length:0,i<0?"before":"after")}qo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},qo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},qo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},qo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},qo.default=y?qo.macDefault:qo.pcDefault;var ea={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(e){return Qo(e,(function(t){if(t.empty()){var n=We(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:Ze(t.head.line+1,0)}:{from:t.head,to:Ze(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Qo(e,(function(t){return{from:Ze(t.from().line,0),to:at(e.doc,Ze(t.to().line+1,0))}}))},delLineLeft:function(e){return Qo(e,(function(e){return{from:Ze(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Qo(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Qo(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(Ze(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(Ze(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return ta(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=We(e.doc,t),r=function(e){for(var t;t=Mt(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Ye(r)),Zo(!0,e,n,t,-1)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),H)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),H)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?na(e,t.head):r}),H)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=R(e.getLine(o.line),o.ch,r);t.push(K(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Xr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=We(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new Ze(i.line,i.ch-1)),i.ch>0)i=new Ze(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Ze(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=We(e.doc,i.line-1).text;a&&(i=new Ze(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Ze(i.line-1,a.length-1),i,"+transpose"))}n.push(new Di(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Xr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Or(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function ta(e,t){var n=We(e.doc,t),r=Pt(n);return r!=n&&(t=Ye(r)),Zo(!0,e,r,t,1)}function na(e,t){var n=ta(e,t.line),r=We(e.doc,n.line),i=ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Ze(n.line,a?0:o,n.sticky)}return n}function ra(e,t,n){if("string"==typeof t&&!(t=ea[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=U}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var ia=new B;function oa(e,t,n,r){var i=e.state.keySeq;if(i){if(Go(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ia.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),aa(e,i+" "+t,n,r))return!0}return aa(e,t,n,r)}function aa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Wo(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Wo(t,e.options.extraKeys,n,e)||Wo(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&sn(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(be(n),xr(e)),!!i}function sa(e,t){var n=Jo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?oa(e,"Shift-"+n,t,(function(t){return ra(e,t,!0)}))||oa(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ra(e,t)})):oa(e,n,t,(function(t){return ra(e,t)})))}var ua=null;function ca(e){var t=this;if(t.curOp.focus=N(),!me(t,e)){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=sa(t,e);p&&(ua=i?r:null,i||88!=r||Ne||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(k(t,"CodeMirror-crosshair"),de(document,"keyup",n),de(document,"mouseover",n))}I(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}(t)}}function la(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(En(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(p&&n==ua)return ua=null,void be(e);if(!p||e.which&&!(e.which<10)||!sa(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(function(e,t,n){return oa(e,"'"+n+"'",t,(function(t){return ra(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var fa,da,ha=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ma(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,En(n,e))u||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ya(t,e)){var r=ur(t,e),i=we(e),o=r?function(e,t){var n=+new Date;return da&&da.compare(n,e,t)?(fa=da=null,"triple"):fa&&fa.compare(n,e,t)?(da=new ha(n,e,t),fa=null,"double"):(fa=new ha(n,e,t),da=null,"single")}(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),oa(e,Ko(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,(function(t){if("string"==typeof t&&(t=ea[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=U}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(L(Er,e),0):e.curOp.focus=N();var i,o=function(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&Ae&&!e.isReadOnly()&&"single"==n&&(i=c.contains(t))>-1&&(et((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(et(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=Zr(e,(function(t){u&&(i.scroller.draggable=!1),e.state.draggingText=!1,de(i.wrapper.ownerDocument,"mouseup",c),de(i.wrapper.ownerDocument,"mousemove",l),de(i.scroller,"dragstart",p),de(i.scroller,"drop",c),o||(be(t),r.addNew||Ki(e.doc,n,null,null,r.extend),u||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus(),i.input.focus()}),20):i.input.focus())})),l=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},p=function(){return o=!0};u&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),pe(i.wrapper.ownerDocument,"mouseup",c),pe(i.wrapper.ownerDocument,"mousemove",l),pe(i.scroller,"dragstart",p),pe(i.scroller,"drop",c),Dr(e),setTimeout((function(){return i.input.focus()}),20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;be(t);var a,s,u=o.sel,c=u.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new Di(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new Di(n,n)),n=ur(e,t,!0,!0),s=-1;else{var l=ga(e,n,r.unit);a=r.extend?Gi(a,l.anchor,l.head,r.extend):l}r.addNew?-1==s?(s=c.length,Xi(o,Ci(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(Xi(o,Ci(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),u=o.sel):Yi(o,s,a,V):(s=0,Xi(o,new Ei([a],0),V),u=o.sel);var p=n;function f(t){if(0!=et(p,t))if(p=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,l=R(We(o,n.line).text,n.ch,c),f=R(We(o,t.line).text,t.ch,c),d=Math.min(l,f),h=Math.max(l,f),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=We(o,m).text,y=W(v,d,c);d==h?i.push(new Di(Ze(m,y),Ze(m,y))):v.length>y&&i.push(new Di(Ze(m,y),Ze(m,W(v,h,c))))}i.length||i.push(new Di(n,n)),Xi(o,Ci(e,u.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=a,E=ga(e,t,r.unit),D=x.anchor;et(E.anchor,D)>0?(b=E.head,D=it(x.from(),E.anchor)):(b=E.anchor,D=rt(x.to(),E.head));var C=u.ranges.slice(0);C[s]=function(e,t){var n=t.anchor,r=t.head,i=We(e.doc,n.line);if(0==et(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var u,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)u=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var l=se(o,r.ch,r.sticky),p=l-a||(r.ch-n.ch)*(1==s.level?-1:1);u=l==c-1||l==c?p<0:p>0}var f=o[c+(u?-1:0)],d=u==(1==f.level),h=d?f.from:f.to,m=d?"after":"before";return n.ch==h&&n.sticky==m?t:new Di(new Ze(n.line,h,m),r)}(e,new Di(at(o,D),b)),Xi(o,Ci(e,C,s),V)}}var d=i.wrapper.getBoundingClientRect(),h=0;function m(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,"mousemove",g),de(i.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null}var g=Zr(e,(function(t){0!==t.buttons&&we(t)?function t(n){var a=++h,s=ur(e,n,!0,"rectangle"==r.unit);if(s)if(0!=et(s,p)){e.curOp.focus=N(),f(s);var u=Ar(i,o);(s.line>=u.to||s.line<u.from)&&setTimeout(Zr(e,(function(){h==a&&t(n)})),150)}else{var c=n.clientY<d.top?-20:n.clientY>d.bottom?20:0;c&&setTimeout(Zr(e,(function(){h==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):m(t)})),v=Zr(e,m);e.state.selectingText=v,pe(i.wrapper.ownerDocument,"mousemove",g),pe(i.wrapper.ownerDocument,"mouseup",v)}(e,r,t,o)}(t,r,o,e):Ce(e)==n.scroller&&be(e):2==i?(r&&Ki(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(C?t.display.input.onContextMenu(e):Dr(t)))}}function ga(e,t,n){if("char"==n)return new Di(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Di(Ze(t.line,0),at(e.doc,Ze(t.line+1,0)));var r=n(e,t);return new Di(r.from,r.to)}function va(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ve(e,n))return Ee(t);o-=s.top-a.viewOffset;for(var u=0;u<e.display.gutterSpecs.length;++u){var c=a.gutters.childNodes[u];if(c&&c.getBoundingClientRect().right>=i)return he(e,n,e,Qe(e.doc,o),e.display.gutterSpecs[u].className,t),Ee(t)}}function ya(e,t){return va(e,t,"gutterClick",!0)}function ba(e,t){En(e.display,t)||function(e,t){return!!ve(e,"gutterContextMenu")&&va(e,t,"gutterContextMenu",!1)}(e,t)||me(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function xa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Bn(e)}ha.prototype.compare=function(e,t,n){return this.time+400>e&&0==et(t,this.pos)&&n==this.button};var Ea={toString:function(){return"CodeMirror.Init"}},Da={},Ca={};function wa(e,t,n){if(!t!=!(n&&n!=Ea)){var r=e.display.dragFunctions,i=t?pe:de;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Sa(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(k(e.display.wrapper,"CodeMirror-wrap"),Ht(e)),sr(e),lr(e),Bn(e),setTimeout((function(){return zr(e)}),100)}function ka(e,t){var n=this;if(!(this instanceof ka))return new ka(e,t);this.options=t=t?P(t):{},P(Da,t,!1);var r=t.value;"string"==typeof r?r=new Oo(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new ka.inputStyles[t.inputStyle](this),o=this.display=new mi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,xa(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Vr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new B,keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;pe(t.scroller,"mousedown",Zr(e,ma)),pe(t.scroller,"dblclick",a&&s<11?Zr(e,(function(t){if(!me(e,t)){var n=ur(e,t);if(n&&!ya(e,t)&&!En(e.display,t)){be(t);var r=e.findWordAt(n);Ki(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),pe(t.scroller,"contextmenu",(function(t){return ba(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||ba(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ya(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!En(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!r.prev||o(r,r.prev)?new Di(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new Di(Ze(s.line,0),at(e.doc,Ze(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Mr(e,t.scroller.scrollTop),Lr(e,t.scroller.scrollLeft,!0),he(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return xi(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return xi(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||De(t)},over:function(t){me(e,t)||(function(e,t){var n=ur(e,t);if(n){var r=document.createDocumentFragment();vr(e,n,r),e.display.dragCursor||(e.display.dragCursor=_("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),T(e.display.dragCursor,r)}}(e,t),De(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Fo<100))De(t);else if(!me(e,t)&&!En(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var n=_("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),p&&n.parentNode.removeChild(n)}}(e,t)},drop:Zr(e,No),leave:function(t){me(e,t)||Io(e)}};var u=t.input.getField();pe(u,"keyup",(function(t){return la.call(e,t)})),pe(u,"keydown",Zr(e,ca)),pe(u,"keypress",Zr(e,pa)),pe(u,"focus",(function(t){return Cr(e,t)})),pe(u,"blur",(function(t){return wr(e,t)}))}(this),Lo(),Wr(this),this.curOp.forceUpdate=!0,Mi(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(L(Cr,this),20):wr(this),Ca)Ca.hasOwnProperty(c)&&Ca[c](this,t[c],Ea);pi(this),t.finishInit&&t.finishInit(this);for(var l=0;l<Aa.length;++l)Aa[l](this);Gr(this),u&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}ka.defaults=Da,ka.optionHandlers=Ca;var Aa=[];function Ta(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=ft(e,t).state:n="prev");var a=e.options.tabSize,s=We(o,t),u=R(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,l=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(l.length),s.text))==U||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?R(We(o,t-1).text,null,a):0:"add"==n?c=u+e.options.indentUnit:"subtract"==n?c=u-e.options.indentUnit:"number"==typeof n&&(c=u+n),c=Math.max(0,c);var p="",f=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)f+=a,p+="\t";if(f<c&&(p+=K(c-f)),p!=l)return ho(o,p,Ze(t,0),Ze(t,l.length),"+input"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var m=o.sel.ranges[h];if(m.head.line==t&&m.head.ch<l.length){var g=Ze(t,l.length);Yi(o,h,new Di(g,g));break}}}ka.defineInitHook=function(e){return Aa.push(e)};var _a=null;function Oa(e){_a=e}function Fa(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,u=Oe(t),c=null;if(s&&r.ranges.length>1)if(_a&&_a.text.join("\n")==t){if(r.ranges.length%_a.text.length==0){c=[];for(var l=0;l<_a.text.length;l++)c.push(o.splitLines(_a.text[l]))}}else u.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(u,(function(e){return[e]})));for(var p=e.curOp.updateInput,f=r.ranges.length-1;f>=0;f--){var d=r.ranges[f],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=Ze(h.line,h.ch-n):e.state.overwrite&&!s?m=Ze(m.line,Math.min(We(o,m.line).text.length,m.ch+J(u).length)):s&&_a&&_a.lineWise&&_a.text.join("\n")==t&&(h=m=Ze(h.line,0)));var g={from:h,to:m,text:c?c[f%c.length]:u,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};uo(e.doc,g),sn(e,"inputRead",e,g)}t&&!s&&Ia(e,t),Or(e),e.curOp.updateInput<2&&(e.curOp.updateInput=p),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Na(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Xr(t,(function(){return Fa(t,n,0,null,"paste")})),!0}function Ia(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Ta(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(We(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Ta(e,i.head.line,"smart"));a&&sn(e,"electricInput",e,i.head.line)}}}function Ma(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:Ze(i,0),head:Ze(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function ja(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function La(){var e=_("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=_("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return u?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),ja(e),t}function Pa(e,t,n,r,i){var o=t,a=n,s=We(e,t.line),u=i&&"rtl"==e.direction?-n:n;function c(r){var o;if(null==(o=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Xo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=se(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Xo(t,n,r);var s,u=function(e,n){return $o(t,e instanceof Ze?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||Fn(e,t),$n(e,t,s,n)):{begin:0,end:t.text.length}},l=c("before"==n.sticky?u(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var p=1==a.level==r<0,f=u(n,p?1:-1);if(null!=f&&(p?f<=a.to&&f<=l.end:f>=a.from&&f>=l.begin)){var d=p?"before":"after";return new Ze(n.line,f,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new Ze(n.line,u(e,1),"before"):new Ze(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:u(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:u(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,l);if(m)return m;var g=r>0?l.end:u(l.begin,-1);return null==g||r>0&&g==t.text.length||!(m=h(r>0?0:i.length-1,r,c(g)))?null:m}(e.cm,s,t,n):Xo(s,t,n))){if(r||!function(){var n=t.line+u;return!(n<e.first||n>=e.first+e.size)&&(t=new Ze(n,t.ch,t.sticky),s=We(e,n))}())return!1;t=Zo(i,e.cm,s,t.line,u)}else t=o;return!0}if("char"==r)c();else if("column"==r)c(!0);else if("word"==r||"group"==r)for(var l=null,p="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||"\n",m=ee(h,f)?"w":p&&"\n"==h?"n":!p||/\s/.test(h)?null:"p";if(!p||d||m||(m="s"),l&&l!=m){n<0&&(n=1,c(),t.sticky="after");break}if(m&&(l=m),n>0&&!c(!d))break}var g=io(e,t,o,a,!0);return tt(o,g)&&(g.hitSide=!0),g}function Ra(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(u-.5*nr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Yn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ba=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new B,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function za(e,t){var n=On(e,t.line);if(!n||n.hidden)return null;var r=We(e.doc,t.line),i=Tn(n,r,t.line),o=ce(r,e.doc.direction),a="left";o&&(a=se(o,t.ch)%2?"right":"left");var s=jn(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Ua(e,t){return t&&(e.bad=!0),e}function qa(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ua(e.clipPos(Ze(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return Va(o,t,n)}}function Va(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!F(r,t))return Ua(Ze(Ye(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?J(e.rest):e.line;return Ua(Ze(Ye(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var u=e.measure,c=u.maps;function l(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?u.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var l=Ye(i<0?e.line:e.rest[i]),p=o[a]+r;return(r<0||s!=t)&&(p=o[a+(r?1:0)]),Ze(l,p)}}}var p=l(a,s,n);if(p)return Ua(p,i);for(var f=s.nextSibling,d=a?a.nodeValue.length-n:0;f;f=f.nextSibling){if(p=l(f,f.firstChild,0))return Ua(Ze(p.line,p.ch-d),i);d+=f.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(p=l(h,h.firstChild,-1))return Ua(Ze(p.line,p.ch+m),i);m+=h.textContent.length}}Ba.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){if(!me(r,e)){if(r.somethingSelected())Oa({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Ma(r);Oa({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var o=_a.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=La(),s=a.firstChild;r.display.lineSpace.insertBefore(a,r.display.lineSpace.firstChild),s.value=_a.text.join("\n");var u=document.activeElement;j(s),setTimeout((function(){r.display.lineSpace.removeChild(a),u.focus(),u==i&&n.showPrimarySelection()}),50)}}ja(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){me(r,e)||Na(e,r)||s<=11&&setTimeout(Zr(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",o),pe(i,"cut",o)},Ba.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ba.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ba.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ba.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ba.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=qa(t,e.anchorNode,e.anchorOffset),s=qa(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=et(it(a,s),i)||0!=et(rt(a,s),o)){var u=t.display.view,c=i.line>=t.display.viewFrom&&za(t,i)||{node:u[0].measure.map[2],offset:0},l=o.line<t.display.viewTo&&za(t,o);if(!l){var p=u[u.length-1].measure,f=p.maps?p.maps[p.maps.length-1]:p.map;l={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(c&&l){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=S(c.node,c.offset,l.offset,l.node)}catch(m){}d&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ba.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ba.prototype.showMultipleSelections=function(e){T(this.cm.display.cursorDiv,e.cursors),T(this.cm.display.selectionDiv,e.selection)},Ba.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ba.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return F(this.div,t)},Ba.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ba.prototype.blur=function(){this.div.blur()},Ba.prototype.getField=function(){return this.div},Ba.prototype.supportsTouch=function(){return!0},Ba.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Xr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ba.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ba.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(g&&l&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=qa(t,e.anchorNode,e.anchorOffset),r=qa(t,e.focusNode,e.focusOffset);n&&r&&Xr(t,(function(){Xi(t.doc,wi(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ba.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=Ze(a.line-1,We(r.doc,a.line-1).length)),s.ch==We(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=Ze(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=cr(r,a.line))?(t=Ye(i.view[0].line),n=i.view[0].node):(t=Ye(i.view[e].line),n=i.view[e-1].node.nextSibling);var u,c,l=cr(r,s.line);if(l==i.view.length-1?(u=i.viewTo-1,c=i.lineDiv.lastChild):(u=Ye(i.view[l+1].line)-1,c=i.view[l+1].node.previousSibling),!n)return!1;for(var p=r.doc.splitLines(function(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),u=!1;function c(){a&&(o+=s,u&&(o+=s),a=u=!1)}function l(e){e&&(c(),o+=e)}function p(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void l(n);var o,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(Ze(r,0),Ze(i+1,0),(g=+f,function(e){return e.id==g}));return void(d.length&&(o=d[0].find(0))&&l(Ge(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m<t.childNodes.length;m++)p(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(u=!0),h&&(a=!0)}else 3==t.nodeType&&l(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var g}for(;p(t),t!=n;)t=t.nextSibling,u=!1;return o}(r,n,c,t,u)),f=Ge(r.doc,Ze(t,0),Ze(u,We(r.doc,u).text.length));p.length>1&&f.length>1;)if(J(p)==J(f))p.pop(),f.pop(),u--;else{if(p[0]!=f[0])break;p.shift(),f.shift(),t++}for(var d=0,h=0,m=p[0],g=f[0],v=Math.min(m.length,g.length);d<v&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var y=J(p),b=J(f),x=Math.min(y.length-(1==p.length?d:0),b.length-(1==f.length?d:0));h<x&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==p.length&&1==f.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;p[p.length-1]=y.slice(0,y.length-h).replace(/^\u200b+/,""),p[0]=p[0].slice(d).replace(/\u200b+$/,"");var E=Ze(t,d),D=Ze(u,f.length?J(f).length-h:0);return p.length>1||p[0]||et(E,D)?(ho(r.doc,p,E,D,"+input"),!0):void 0},Ba.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ba.prototype.reset=function(){this.forceCompositionEnd()},Ba.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ba.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ba.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Xr(this.cm,(function(){return lr(e.cm)}))},Ba.prototype.setUneditable=function(e){e.contentEditable="false"},Ba.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Zr(this.cm,Fa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ba.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ba.prototype.onContextMenu=function(){},Ba.prototype.resetPosition=function(){},Ba.prototype.needsContentAttribute=!0;var Ha=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new B,this.hasSelection=!1,this.composing=null};Ha.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Oa({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ma(r);Oa({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput="",i.value=t.text.join("\n"),j(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){me(r,e)||Na(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!En(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){En(e,t)||be(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ha.prototype.createField=function(e){this.wrapper=La(),this.textarea=this.wrapper.firstChild},Ha.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ha.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Gn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ha.prototype.showSelection=function(e){var t=this.cm.display;T(t.cursorDiv,e.cursors),T(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ha.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&j(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ha.prototype.getField=function(){return this.textarea},Ha.prototype.supportsTouch=function(){return!1},Ha.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||N()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ha.prototype.blur=function(){this.textarea.blur()},Ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ha.prototype.receivedFocus=function(){this.slowPoll()},Ha.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ha.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ha.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Fe(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var u=0,c=Math.min(r.length,i.length);u<c&&r.charCodeAt(u)==i.charCodeAt(u);)++u;return Xr(t,(function(){Fa(t,i.slice(u),r.length-u,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ha.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ha.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=ur(n,e),c=r.scroller.scrollTop;if(o&&!p){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&Zr(n,Xi)(n.doc,wi(o),q);var l,f=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",u&&(l=window.scrollY),r.input.focus(),u&&window.scrollTo(null,l),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),C?(De(e),pe(window,"mouseup",(function e(){de(window,"mouseup",e),setTimeout(g,20)}))):setTimeout(g,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0;r.detectingSelectAll=setTimeout((function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Zr(n,ao)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())}),200)}}},Ha.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ha.prototype.setUneditable=function(){},Ha.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ea&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ea,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,_i(e)}),!0),n("indentUnit",2,_i,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){Oi(e),Bn(e),lr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Ze(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ho(e.doc,t,n[i],Ze(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ea&&e.refresh()})),n("specialCharPlaceholder",$t,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){xa(e),hi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Yo(t),i=n!=Ea&&Yo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Sa,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=fi(t,e.options.lineNumbers),hi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?or(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return zr(e)}),!0),n("scrollbarStyle","native",(function(e){Vr(e),zr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=fi(e.options.gutters,t),hi(e)}),!0),n("firstLineNumber",1,hi,!0),n("lineNumberFormatter",(function(e){return e}),hi,!0),n("showCursorWhenSelecting",!1,mr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(wr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,wa),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,mr,!0),n("singleCursorHeightPerLine",!0,mr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Oi,!0),n("addModeClass",!1,Oi,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,Oi,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}(ka),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Zr(this,t[e])(this,n,i),he(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Yo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ei((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,lr(this)})),removeOverlay:ei((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void lr(this)}})),indentLine:ei((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),$e(this.doc,e)&&Ta(this,e,t,n)})),indentSelection:ei((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Ta(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Or(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var u=s;u<n;++u)Ta(this,u,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Yi(this.doc,r,new Di(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return vt(this,e,t)},getLineTokens:function(e,t){return vt(this,Ze(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,n=pt(this,We(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var u=0;u<i._global.length;u++){var c=i._global[u];c.pred(o,this)&&-1==z(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return ft(this,(e=ot(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Gn(this,null==e?n.head:"object"==typeof e?at(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return Wn(this,at(this.doc,e),t||"page")},coordsChar:function(e,t){return Yn(this,(e=Hn(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Hn(this,{top:e,left:0},t||"page").top,Qe(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=We(this.doc,e)}else r=e;return Vn(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-qt(r):0)},defaultTextHeight:function(){return nr(this.display)},defaultCharWidth:function(){return rr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=Gn(this,at(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var u=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&function(e,t){var n=Tr(e,t);null!=n.scrollTop&&Mr(e,n.scrollTop),null!=n.scrollLeft&&Lr(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:ei(ca),triggerOnKeyPress:ei(pa),triggerOnKeyUp:la,triggerOnMouseDown:ei(ma),execCommand:function(e){if(ea.hasOwnProperty(e))return ea[e].call(null,this)},triggerElectric:ei((function(e){Ia(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=at(this.doc,e),a=0;a<t&&!(o=Pa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ei((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Pa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),H)})),deleteH:ei((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Qo(this,(function(n){var i=Pa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=at(this.doc,e),s=0;s<t;++s){var u=Gn(this,a,"div");if(null==o?o=u.left:u.left=o,(a=Ra(this,u,i,n)).hitSide)break}return a},moveV:ei((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Gn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var u=Ra(n,s,e,t);return"page"==t&&a==r.sel.primary()&&_r(n,Wn(n,u,"div").top-s.top),u}),H),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=We(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new Di(Ze(e.line,n),Ze(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):k(this.display.cursorDiv,"CodeMirror-overwrite"),he(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==N()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ei((function(e,t){Fr(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Sn(this)-this.display.barHeight,width:e.scrollWidth-Sn(this)-this.display.barWidth,clientHeight:An(this),clientWidth:kn(this)}},scrollIntoView:ei((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:Ze(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Nr(e),e.curOp.scrollToPos=t}(this,e):Ir(this,e.from,e.to,e.margin)})),setSize:ei((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Rn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,he(this,"refresh",this)})),operation:function(e){return Xr(this,e)},startOperation:function(){return Wr(this)},endOperation:function(){return Gr(this)},refresh:ei((function(){var e=this.display.cachedTextHeight;lr(this),this.curOp.forceUpdate=!0,Bn(this),Fr(this,this.doc.scrollLeft,this.doc.scrollTop),ui(this.display),(null==e||Math.abs(e-nr(this.display))>.5||this.options.lineWrapping)&&sr(this),he(this,"refresh",this)})),swapDoc:ei((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Mi(this,e),Bn(this),this.display.input.reset(),Fr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(ka);var Wa="iter insert remove copy getEditor constructor".split(" ");for(var Ga in Oo.prototype)Oo.prototype.hasOwnProperty(Ga)&&z(Wa,Ga)<0&&(ka.prototype[Ga]=function(e){return function(){return e.apply(this.doc,arguments)}}(Oo.prototype[Ga]));return ye(Oo),ka.inputStyles={textarea:Ha,contenteditable:Ba},ka.defineMode=function(e){ka.defaults.mode||"null"==e||(ka.defaults.mode=e),Le.apply(this,arguments)},ka.defineMIME=function(e,t){je[e]=t},ka.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),ka.defineMIME("text/plain","null"),ka.defineExtension=function(e,t){ka.prototype[e]=t},ka.defineDocExtension=function(e,t){Oo.prototype[e]=t},ka.fromTextArea=function(e,t){if((t=t?P(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=N();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(u){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(de(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=ka((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=pe,e.wheelEventPixels=bi,e.Doc=Oo,e.splitLines=Oe,e.countColumn=R,e.findColumn=W,e.isWordChar=Z,e.Pass=U,e.signal=he,e.Line=Wt,e.changeEnd=Si,e.scrollbarModel=qr,e.Pos=Ze,e.cmpPos=et,e.modes=Me,e.mimeModes=je,e.resolveMode=Pe,e.getMode=Re,e.modeExtensions=Be,e.extendMode=ze,e.copyState=Ue,e.startState=Ve,e.innerMode=qe,e.commands=ea,e.keyMap=qo,e.keyName=Jo,e.isModifierKey=Go,e.lookupKey=Wo,e.normalizeKeyMap=Ho,e.StringStream=He,e.SharedTextMarker=ko,e.TextMarker=wo,e.LineWidget=Eo,e.e_preventDefault=be,e.e_stopPropagation=xe,e.e_stop=De,e.addClass=I,e.contains=F,e.rmClass=k,e.keyNames=Ro}(ka),ka.version="5.53.2",ka}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return d}));var r=function(e){return"@@redux-saga/"+e},i=r("CANCEL_PROMISE"),o=r("CHANNEL_END"),a=r("IO"),s=r("MATCH"),u=r("MULTICAST"),c=r("SAGA_ACTION"),l=r("SELF_CANCELLATION"),p=r("TASK"),f=r("TASK_CANCEL"),d=r("TERMINATE"),h=r("LOCATION")},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}},function(e,t,n){"use strict";n.d(t,"g",(function(){return h})),n.d(t,"f",(function(){return m})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return x})),n.d(t,"i",(function(){return E})),n.d(t,"h",(function(){return D}));var r=n(52),i=n(2),o=n(41),a=n(7),s=n(55),u=n(48),c=n(27),l=n(47),p=n(10),f=n(13),d=n(0);function h(e){return Object(s.a)(e,g)}function m(e){if(!h(e))throw new Error("Expected ".concat(Object(i.a)(e)," to be a GraphQL directive."));return e}var g=function(){function e(e){this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=e.isRepeatable&&e.isRepeatable,this.extensions=e.extensions&&Object(o.a)(e.extensions),this.astNode=e.astNode,e.name||Object(a.a)(0,"Directive must be named."),Array.isArray(e.locations)||Object(a.a)(0,"@".concat(e.name," locations must be an Array."));var t=e.args||{};Object(c.a)(t)&&!Array.isArray(t)||Object(a.a)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Object(r.a)(t).map((function(e){var t=e[0],n=e[1];return{name:t,description:void 0===n.description?null:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(o.a)(n.extensions),astNode:n.astNode}}))}var t=e.prototype;return t.toString=function(){return"@"+this.name},t.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(d.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},e}();Object(l.a)(g),Object(u.a)(g);var v=new g({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(f.a),description:"Included when true."}}}),y=new g({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(f.a),description:"Skipped when true."}}}),b="No longer supported",x=new g({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[p.a.FIELD_DEFINITION,p.a.ENUM_VALUE],args:{reason:{type:f.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).",defaultValue:b}}}),E=Object.freeze([v,y,x]);function D(e){return h(e)&&E.some((function(t){return t.name===e.name}))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=n(191);var p=/[&<>"]/,f=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return d[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=n(117);t.lib={},t.lib.mdurl=n(118),t.lib.ucmicro=n(192),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(u,(function(e,t,n){return t||function(e,t){var n=0;return i(l,t)?l[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(f,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";n.r(t),n.d(t,"print",(function(){return o}));var r=n(20),i=n(57);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return u(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=l("(",u(e.variableDefinitions,", "),")"),i=u(e.directives," "),o=e.selectionSet;return n||i||r||"query"!==t?u([t,u([n,r]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+l(" = ",r)+l(" ",u(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return u([l("",t,": ")+n+l("(",u(r,", "),")"),u(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",u(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return u(["...",l("on ",t),u(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",u(r,", "),")")," ")+"on ".concat(n," ").concat(l("",u(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+u(e.values,", ")+"]"},ObjectValue:function(e){return"{"+u(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",u(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return u(["schema",u(t," "),c(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return u(["scalar",e.name,u(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return u(["type",t,l("implements ",u(n," & ")),u(r," "),c(i)]," ")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?l("(\n",p(u(n,"\n")),"\n)"):l("(",u(n,", "),")"))+": "+r+l(" ",u(i," "))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return u([t+": "+n,l("= ",r),u(i," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return u(["interface",t,u(n," "),c(r)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return u(["union",t,u(n," "),r&&0!==r.length?"= "+u(r," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return u(["enum",t,u(n," "),c(r)]," ")})),EnumValueDefinition:s((function(e){return u([e.name,u(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return u(["input",t,u(n," "),c(r)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(d(n)?l("(\n",p(u(n,"\n")),"\n)"):l("(",u(n,", "),")"))+(r?" repeatable":"")+" on "+u(i," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return u(["extend schema",u(t," "),c(n)]," ")},ScalarTypeExtension:function(e){return u(["extend scalar",e.name,u(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return u(["extend type",t,l("implements ",u(n," & ")),u(r," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return u(["extend interface",t,u(n," "),c(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return u(["extend union",t,u(n," "),r&&0!==r.length?"= "+u(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return u(["extend enum",t,u(n," "),c(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return u(["extend input",t,u(n," "),c(r)]," ")}};function s(e){return function(t){return u([t.description,e(t)],"\n")}}function u(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function c(e){return e&&0!==e.length?"{\n"+p(u(e,"\n"))+"\n}":""}function l(e,t,n){return t?e+t+(n||""):""}function p(e){return e&&" "+e.replace(/\n/g,"\n ")}function f(e){return-1!==e.indexOf("\n")}function d(e){return e&&e.some(f)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n(2),i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},o=Object.freeze({});function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,a=void 0,u=Array.isArray(e),c=[e],p=-1,f=[],d=void 0,h=void 0,m=void 0,g=[],v=[],y=e;do{var b=++p===c.length,x=b&&0!==f.length;if(b){if(h=0===v.length?void 0:g[g.length-1],d=m,m=v.pop(),x){if(u)d=d.slice();else{for(var E={},D=0,C=Object.keys(d);D<C.length;D++){var w=C[D];E[w]=d[w]}d=E}for(var S=0,k=0;k<f.length;k++){var A=f[k][0],T=f[k][1];u&&(A-=S),u&&null===T?(d.splice(A,1),S++):d[A]=T}}p=a.index,c=a.keys,f=a.edits,u=a.inArray,a=a.prev}else{if(h=m?u?p:c[p]:void 0,null===(d=m?m[h]:y)||void 0===d)continue;m&&g.push(h)}var _=void 0;if(!Array.isArray(d)){if(!s(d))throw new Error("Invalid AST Node: "+Object(r.a)(d));var O=l(t,d.kind,b);if(O){if((_=O.call(t,d,h,m,g,v))===o)break;if(!1===_){if(!b){g.pop();continue}}else if(void 0!==_&&(f.push([h,_]),!b)){if(!s(_)){g.pop();continue}d=_}}}void 0===_&&x&&f.push([h,d]),b?g.pop():(a={inArray:u,index:p,keys:c,edits:f,prev:a},c=(u=Array.isArray(d))?d:n[d.kind]||[],p=-1,f=[],m&&v.push(m),m=d)}while(void 0!==a);return 0!==f.length&&(y=f[f.length-1][1]),y}function s(e){return Boolean(e&&"string"===typeof e.kind)}function u(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=l(e[r],n.kind,!1);if(i){var a=i.apply(e[r],arguments);if(!1===a)t[r]=n;else if(a===o)t[r]=o;else if(void 0!==a)return a}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=l(e[r],n.kind,!0);if(i){var a=i.apply(e[r],arguments);if(a===o)t[r]=o;else if(void 0!==a&&!1!==a)return a}}}}}function c(e,t){return{enter:function(n){e.enter(n);var r=l(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),s(i)&&e.enter(i)),i}},leave:function(n){var r,i=l(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}function l(e,t,n){var r=e[t];if(r){if(!n&&"function"===typeof r)return r;var i=n?r.leave:r.enter;if("function"===typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"===typeof o)return o;var a=o[t];if("function"===typeof a)return a}}}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,l=n(219);var p=/[&<>"]/,f=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return d[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=n(117);t.lib={},t.lib.mdurl=n(118),t.lib.ucmicro=n(192),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(u,(function(e,t,n){return t||function(e,t){var n=0;return i(l,t)?l[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(f,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return r})),n.d(t,"versionInfo",(function(){return i})),n.d(t,"graphql",(function(){return pe})),n.d(t,"graphqlSync",(function(){return fe})),n.d(t,"GraphQLSchema",(function(){return he.a})),n.d(t,"GraphQLDirective",(function(){return D.c})),n.d(t,"GraphQLScalarType",(function(){return C.g})),n.d(t,"GraphQLObjectType",(function(){return C.f})),n.d(t,"GraphQLInterfaceType",(function(){return C.c})),n.d(t,"GraphQLUnionType",(function(){return C.h})),n.d(t,"GraphQLEnumType",(function(){return C.a})),n.d(t,"GraphQLInputObjectType",(function(){return C.b})),n.d(t,"GraphQLList",(function(){return C.d})),n.d(t,"GraphQLNonNull",(function(){return C.e})),n.d(t,"specifiedScalarTypes",(function(){return me.g})),n.d(t,"GraphQLInt",(function(){return me.d})),n.d(t,"GraphQLFloat",(function(){return me.b})),n.d(t,"GraphQLString",(function(){return me.e})),n.d(t,"GraphQLBoolean",(function(){return me.a})),n.d(t,"GraphQLID",(function(){return me.c})),n.d(t,"specifiedDirectives",(function(){return D.i})),n.d(t,"GraphQLIncludeDirective",(function(){return D.d})),n.d(t,"GraphQLSkipDirective",(function(){return D.e})),n.d(t,"GraphQLDeprecatedDirective",(function(){return D.b})),n.d(t,"TypeKind",(function(){return E.TypeKind})),n.d(t,"DEFAULT_DEPRECATION_REASON",(function(){return D.a})),n.d(t,"introspectionTypes",(function(){return E.introspectionTypes})),n.d(t,"__Schema",(function(){return E.__Schema})),n.d(t,"__Directive",(function(){return E.__Directive})),n.d(t,"__DirectiveLocation",(function(){return E.__DirectiveLocation})),n.d(t,"__Type",(function(){return E.__Type})),n.d(t,"__Field",(function(){return E.__Field})),n.d(t,"__InputValue",(function(){return E.__InputValue})),n.d(t,"__EnumValue",(function(){return E.__EnumValue})),n.d(t,"__TypeKind",(function(){return E.__TypeKind})),n.d(t,"SchemaMetaFieldDef",(function(){return E.SchemaMetaFieldDef})),n.d(t,"TypeMetaFieldDef",(function(){return E.TypeMetaFieldDef})),n.d(t,"TypeNameMetaFieldDef",(function(){return E.TypeNameMetaFieldDef})),n.d(t,"isSchema",(function(){return he.c})),n.d(t,"isDirective",(function(){return D.g})),n.d(t,"isType",(function(){return C.S})),n.d(t,"isScalarType",(function(){return C.R})),n.d(t,"isObjectType",(function(){return C.N})),n.d(t,"isInterfaceType",(function(){return C.H})),n.d(t,"isUnionType",(function(){return C.T})),n.d(t,"isEnumType",(function(){return C.E})),n.d(t,"isInputObjectType",(function(){return C.F})),n.d(t,"isListType",(function(){return C.J})),n.d(t,"isNonNullType",(function(){return C.L})),n.d(t,"isInputType",(function(){return C.G})),n.d(t,"isOutputType",(function(){return C.O})),n.d(t,"isLeafType",(function(){return C.I})),n.d(t,"isCompositeType",(function(){return C.D})),n.d(t,"isAbstractType",(function(){return C.C})),n.d(t,"isWrappingType",(function(){return C.U})),n.d(t,"isNullableType",(function(){return C.M})),n.d(t,"isNamedType",(function(){return C.K})),n.d(t,"isRequiredArgument",(function(){return C.P})),n.d(t,"isRequiredInputField",(function(){return C.Q})),n.d(t,"isSpecifiedScalarType",(function(){return me.f})),n.d(t,"isIntrospectionType",(function(){return E.isIntrospectionType})),n.d(t,"isSpecifiedDirective",(function(){return D.h})),n.d(t,"assertSchema",(function(){return he.b})),n.d(t,"assertDirective",(function(){return D.f})),n.d(t,"assertType",(function(){return C.x})),n.d(t,"assertScalarType",(function(){return C.w})),n.d(t,"assertObjectType",(function(){return C.u})),n.d(t,"assertInterfaceType",(function(){return C.o})),n.d(t,"assertUnionType",(function(){return C.y})),n.d(t,"assertEnumType",(function(){return C.l})),n.d(t,"assertInputObjectType",(function(){return C.m})),n.d(t,"assertListType",(function(){return C.q})),n.d(t,"assertNonNullType",(function(){return C.s})),n.d(t,"assertInputType",(function(){return C.n})),n.d(t,"assertOutputType",(function(){return C.v})),n.d(t,"assertLeafType",(function(){return C.p})),n.d(t,"assertCompositeType",(function(){return C.k})),n.d(t,"assertAbstractType",(function(){return C.j})),n.d(t,"assertWrappingType",(function(){return C.z})),n.d(t,"assertNullableType",(function(){return C.t})),n.d(t,"assertNamedType",(function(){return C.r})),n.d(t,"getNullableType",(function(){return C.B})),n.d(t,"getNamedType",(function(){return C.A})),n.d(t,"validateSchema",(function(){return u.b})),n.d(t,"assertValidSchema",(function(){return u.a})),n.d(t,"Source",(function(){return ge.a})),n.d(t,"getLocation",(function(){return ve.a})),n.d(t,"printLocation",(function(){return ye.a})),n.d(t,"printSourceLocation",(function(){return ye.b})),n.d(t,"createLexer",(function(){return be.a})),n.d(t,"TokenKind",(function(){return xe.a})),n.d(t,"parse",(function(){return a.a})),n.d(t,"parseValue",(function(){return a.c})),n.d(t,"parseType",(function(){return a.b})),n.d(t,"print",(function(){return _.print})),n.d(t,"visit",(function(){return Ee.c})),n.d(t,"visitInParallel",(function(){return Ee.d})),n.d(t,"visitWithTypeInfo",(function(){return Ee.e})),n.d(t,"getVisitFn",(function(){return Ee.b})),n.d(t,"BREAK",(function(){return Ee.a})),n.d(t,"Kind",(function(){return x.a})),n.d(t,"DirectiveLocation",(function(){return De.a})),n.d(t,"isDefinitionNode",(function(){return Ce.a})),n.d(t,"isExecutableDefinitionNode",(function(){return Ce.b})),n.d(t,"isSelectionNode",(function(){return Ce.c})),n.d(t,"isValueNode",(function(){return Ce.i})),n.d(t,"isTypeNode",(function(){return Ce.f})),n.d(t,"isTypeSystemDefinitionNode",(function(){return Ce.g})),n.d(t,"isTypeDefinitionNode",(function(){return Ce.d})),n.d(t,"isTypeSystemExtensionNode",(function(){return Ce.h})),n.d(t,"isTypeExtensionNode",(function(){return Ce.e})),n.d(t,"execute",(function(){return q})),n.d(t,"defaultFieldResolver",(function(){return ce})),n.d(t,"defaultTypeResolver",(function(){return ue})),n.d(t,"responsePathAsArray",(function(){return v})),n.d(t,"getDirectiveValues",(function(){return z})),n.d(t,"subscribe",(function(){return Ae})),n.d(t,"createSourceEventStream",(function(){return Oe})),n.d(t,"validate",(function(){return s.c})),n.d(t,"ValidationContext",(function(){return Fe.b})),n.d(t,"specifiedRules",(function(){return Ne.a})),n.d(t,"ExecutableDefinitionsRule",(function(){return Ie.ExecutableDefinitions})),n.d(t,"FieldsOnCorrectTypeRule",(function(){return Me.a})),n.d(t,"FragmentsOnCompositeTypesRule",(function(){return je.a})),n.d(t,"KnownArgumentNamesRule",(function(){return Le.a})),n.d(t,"KnownDirectivesRule",(function(){return Pe.a})),n.d(t,"KnownFragmentNamesRule",(function(){return Re.KnownFragmentNames})),n.d(t,"KnownTypeNamesRule",(function(){return Be.a})),n.d(t,"LoneAnonymousOperationRule",(function(){return ze.a})),n.d(t,"NoFragmentCyclesRule",(function(){return Ue.a})),n.d(t,"NoUndefinedVariablesRule",(function(){return qe.a})),n.d(t,"NoUnusedFragmentsRule",(function(){return Ve.NoUnusedFragments})),n.d(t,"NoUnusedVariablesRule",(function(){return He.a})),n.d(t,"OverlappingFieldsCanBeMergedRule",(function(){return We.a})),n.d(t,"PossibleFragmentSpreadsRule",(function(){return Ge.a})),n.d(t,"ProvidedRequiredArgumentsRule",(function(){return Ke.a})),n.d(t,"ScalarLeafsRule",(function(){return Je.a})),n.d(t,"SingleFieldSubscriptionsRule",(function(){return Ye.a})),n.d(t,"UniqueArgumentNamesRule",(function(){return Qe.a})),n.d(t,"UniqueDirectivesPerLocationRule",(function(){return $e.a})),n.d(t,"UniqueFragmentNamesRule",(function(){return Xe.a})),n.d(t,"UniqueInputFieldNamesRule",(function(){return Ze.a})),n.d(t,"UniqueOperationNamesRule",(function(){return et.a})),n.d(t,"UniqueVariableNamesRule",(function(){return tt.a})),n.d(t,"ValuesOfCorrectTypeRule",(function(){return nt.a})),n.d(t,"VariablesAreInputTypesRule",(function(){return rt.a})),n.d(t,"VariablesInAllowedPositionRule",(function(){return it.a})),n.d(t,"LoneSchemaDefinitionRule",(function(){return ot.a})),n.d(t,"UniqueOperationTypesRule",(function(){return at.a})),n.d(t,"UniqueTypeNamesRule",(function(){return st.a})),n.d(t,"UniqueEnumValueNamesRule",(function(){return ut.a})),n.d(t,"UniqueFieldDefinitionNamesRule",(function(){return ct.a})),n.d(t,"UniqueDirectiveNamesRule",(function(){return lt.a})),n.d(t,"PossibleTypeExtensionsRule",(function(){return pt.a})),n.d(t,"GraphQLError",(function(){return y.a})),n.d(t,"syntaxError",(function(){return ft.a})),n.d(t,"locatedError",(function(){return b})),n.d(t,"printError",(function(){return y.b})),n.d(t,"formatError",(function(){return dt})),n.d(t,"getIntrospectionQuery",(function(){return ht})),n.d(t,"introspectionQuery",(function(){return mt})),n.d(t,"getOperationAST",(function(){return gt.getOperationAST})),n.d(t,"getOperationRootType",(function(){return S})),n.d(t,"introspectionFromSchema",(function(){return vt})),n.d(t,"buildClientSchema",(function(){return bt})),n.d(t,"buildASTSchema",(function(){return Et})),n.d(t,"buildSchema",(function(){return At})),n.d(t,"getDescription",(function(){return kt})),n.d(t,"extendSchema",(function(){return It})),n.d(t,"lexicographicSortSchema",(function(){return Pt})),n.d(t,"printSchema",(function(){return qt})),n.d(t,"printType",(function(){return Kt})),n.d(t,"printIntrospectionSchema",(function(){return Vt})),n.d(t,"typeFromAST",(function(){return w.a})),n.d(t,"valueFromAST",(function(){return F})),n.d(t,"valueFromASTUntyped",(function(){return nn.a})),n.d(t,"astFromValue",(function(){return Ut.a})),n.d(t,"TypeInfo",(function(){return rn.a})),n.d(t,"coerceInputValue",(function(){return j})),n.d(t,"coerceValue",(function(){return on})),n.d(t,"isValidJSValue",(function(){return an})),n.d(t,"isValidLiteralValue",(function(){return sn})),n.d(t,"concatAST",(function(){return un})),n.d(t,"separateOperations",(function(){return cn})),n.d(t,"stripIgnoredCharacters",(function(){return fn})),n.d(t,"isEqualType",(function(){return hn.b})),n.d(t,"isTypeSubTypeOf",(function(){return hn.c})),n.d(t,"doTypesOverlap",(function(){return hn.a})),n.d(t,"assertValidName",(function(){return mn.a})),n.d(t,"isValidNameError",(function(){return mn.b})),n.d(t,"BreakingChangeType",(function(){return yn})),n.d(t,"DangerousChangeType",(function(){return bn})),n.d(t,"findBreakingChanges",(function(){return xn})),n.d(t,"findDangerousChanges",(function(){return En})),n.d(t,"findDeprecatedUsages",(function(){return Mn.a}));var r="14.6.0",i=Object.freeze({major:14,minor:6,patch:0,preReleaseTag:null});function o(e){return Boolean(e&&"function"===typeof e.then)}var a=n(74),s=n(83),u=n(88),c=n(46),l=n(2);var p=n(23),f=n(7),d=n(45),h=n(130),m=n(27);function g(e,t){return{prev:e,key:t}}function v(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var y=n(4);function b(e,t,n){return e&&Array.isArray(e.path)?e:new y.a(e&&e.message,e&&e.nodes||t,e&&e.source,e&&e.positions,n,e)}var x=n(1),E=n(11),D=n(17),C=n(0),w=n(31);function S(e,t){if("query"===t.operation){var n=e.getQueryType();if(!n)throw new y.a("Schema does not define the required query root type.",t);return n}if("mutation"===t.operation){var r=e.getMutationType();if(!r)throw new y.a("Schema is not configured for mutations.",t);return r}if("subscription"===t.operation){var i=e.getSubscriptionType();if(!i)throw new y.a("Schema is not configured for subscriptions.",t);return i}throw new y.a("Can only have query, mutation and subscription operations.",t)}var k=n(58),A=n(35);function T(e){return e.map((function(e){return"number"===typeof e?"["+e.toString()+"]":"."+e})).join("")}var _=n(19),O=n(12);function F(e,t,n){if(e){if(Object(C.L)(t)){if(e.kind===x.a.NULL)return;return F(e,t.ofType,n)}if(e.kind===x.a.NULL)return null;if(e.kind===x.a.VARIABLE){var r=e.name.value;if(!n||Object(d.a)(n[r]))return;var i=n[r];if(null===i&&Object(C.L)(t))return;return i}if(Object(C.J)(t)){var o=t.ofType;if(e.kind===x.a.LIST){for(var a=[],s=0,u=e.values;s<u.length;s++){var c=u[s];if(N(c,n)){if(Object(C.L)(o))return;a.push(null)}else{var f=F(c,o,n);if(Object(d.a)(f))return;a.push(f)}}return a}var h=F(e,o,n);if(Object(d.a)(h))return;return[h]}if(Object(C.F)(t)){if(e.kind!==x.a.OBJECT)return;for(var m=Object.create(null),g=Object(A.a)(e.fields,(function(e){return e.name.value})),v=0,y=Object(O.a)(t.getFields());v<y.length;v++){var b=y[v],E=g[b.name];if(E&&!N(E.value,n)){var D=F(E.value,b.type,n);if(Object(d.a)(D))return;m[b.name]=D}else if(void 0!==b.defaultValue)m[b.name]=b.defaultValue;else if(Object(C.L)(b.type))return}return m}if(Object(C.E)(t)){if(e.kind!==x.a.ENUM)return;var w=t.getValue(e.value);if(!w)return;return w.value}if(Object(C.R)(t)){var S;try{S=t.parseLiteral(e,n)}catch(k){return}if(Object(d.a)(S))return;return S}Object(p.a)(!1,"Unexpected input type: "+Object(l.a)(t))}}function N(e,t){return e.kind===x.a.VARIABLE&&(!t||Object(d.a)(t[e.name.value]))}var I=n(40),M=n(44);function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:L;return P(e,t,n)}function L(e,t,n){var r="Invalid value "+Object(l.a)(t);throw e.length>0&&(r+=' at "value'.concat(T(e),'": ')),n.message=r+": "+n.message,n}function P(e,t,n,r){if(Object(C.L)(t))return null!=e?P(e,t.ofType,n,r):void n(v(r),e,new y.a("Expected non-nullable type ".concat(Object(l.a)(t)," not to be null.")));if(null==e)return null;if(Object(C.J)(t)){var i=t.ofType;if(Object(c.e)(e)){var o=[];return Object(c.b)(e,(function(e,t){o.push(P(e,i,n,g(r,t)))})),o}return[P(e,i,n,r)]}if(Object(C.F)(t)){if(!Object(m.a)(e))return void n(v(r),e,new y.a("Expected type ".concat(t.name," to be an object.")));for(var a={},s=t.getFields(),u=0,f=Object(O.a)(s);u<f.length;u++){var d=f[u],h=e[d.name];if(void 0!==h)a[d.name]=P(h,d.type,n,g(r,d.name));else if(void 0!==d.defaultValue)a[d.name]=d.defaultValue;else if(Object(C.L)(d.type)){var b=Object(l.a)(d.type);n(v(r),e,new y.a("Field ".concat(d.name," of required type ").concat(b," was not provided.")))}}for(var x=0,E=Object.keys(e);x<E.length;x++){var D=E[x];if(!s[D]){var w=Object(M.a)(D,Object.keys(t.getFields()));n(v(r),e,new y.a('Field "'.concat(D,'" is not defined by type ').concat(t.name,".")+Object(I.a)(w)))}}return a}if(Object(C.R)(t)){var S;try{S=t.parseValue(e)}catch(T){return void n(v(r),e,new y.a("Expected type ".concat(t.name,". ")+T.message,void 0,void 0,void 0,void 0,T))}return void 0===S&&n(v(r),e,new y.a("Expected type ".concat(t.name,"."))),S}if(Object(C.E)(t)){if("string"===typeof e){var k=t.getValue(e);if(k)return k.value}var A=Object(M.a)(String(e),t.getValues().map((function(e){return e.name})));n(v(r),e,new y.a("Expected type ".concat(t.name,".")+Object(I.a)(A)))}else Object(p.a)(!1,"Unexpected input type: "+Object(l.a)(t))}function R(e,t,n,r){var i=r&&r.maxErrors,o=[];try{var a=function(e,t,n,r){for(var i={},o=function(o){var a=t[o],s=a.variable.name.value,u=Object(w.a)(e,a.type);if(!Object(C.G)(u)){var c=Object(_.print)(a.type);return r(new y.a('Variable "$'.concat(s,'" expected value of type "').concat(c,'" which cannot be used as an input type.'),a.type)),"continue"}if(!U(n,s)){if(a.defaultValue)i[s]=F(a.defaultValue,u);else if(Object(C.L)(u)){var p=Object(l.a)(u);r(new y.a('Variable "$'.concat(s,'" of required type "').concat(p,'" was not provided.'),a))}return"continue"}var f=n[s];if(null===f&&Object(C.L)(u)){var d=Object(l.a)(u);return r(new y.a('Variable "$'.concat(s,'" of non-null type "').concat(d,'" must not be null.'),a)),"continue"}i[s]=j(f,u,(function(e,t,n){var i='Variable "$'.concat(s,'" got invalid value ')+Object(l.a)(t);e.length>0&&(i+=' at "'.concat(s).concat(T(e),'"')),r(new y.a(i+"; "+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a<t.length;a++)o(a);return i}(e,t,n,(function(e){if(null!=i&&o.length>=i)throw new y.a("Too many errors processing variables, error limit reached. Execution aborted.");o.push(e)}));if(0===o.length)return{coerced:a}}catch(s){o.push(s)}return{errors:o}}function B(e,t,n){for(var r={},i=Object(A.a)(t.arguments||[],(function(e){return e.name.value})),o=0,a=e.args;o<a.length;o++){var s=a[o],u=s.name,c=s.type,p=i[u];if(p){var f=p.value,d=f.kind===x.a.NULL;if(f.kind===x.a.VARIABLE){var h=f.name.value;if(null==n||!U(n,h)){if(void 0!==s.defaultValue)r[u]=s.defaultValue;else if(Object(C.L)(c))throw new y.a('Argument "'.concat(u,'" of required type "').concat(Object(l.a)(c),'" ')+'was provided the variable "$'.concat(h,'" which was not provided a runtime value.'),f);continue}d=null==n[h]}if(d&&Object(C.L)(c))throw new y.a('Argument "'.concat(u,'" of non-null type "').concat(Object(l.a)(c),'" ')+"must not be null.",f);var m=F(f,c,n);if(void 0===m)throw new y.a('Argument "'.concat(u,'" has invalid value ').concat(Object(_.print)(f),"."),f);r[u]=m}else if(void 0!==s.defaultValue)r[u]=s.defaultValue;else if(Object(C.L)(c))throw new y.a('Argument "'.concat(u,'" of required type "').concat(Object(l.a)(c),'" ')+"was not provided.",t)}return r}function z(e,t,n){var r=t.directives&&Object(k.a)(t.directives,(function(t){return t.name.value===e.name}));if(r)return B(e,r,n)}function U(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function q(e,t,n,r,i,o,a,s){return 1===arguments.length?V(e):V({schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function V(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,u=e.fieldResolver,c=e.typeResolver;H(t,n,a);var l=W(t,n,r,i,a,s,u,c);if(Array.isArray(l))return{errors:l};var p=function(e,t,n){var r=S(e.schema,t),i=K(e,r,t.selectionSet,Object.create(null),Object.create(null));try{var a="mutation"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(a,s){var u=i[s],c=g(r,s),l=Q(e,t,n,u,c);return void 0===l?a:o(l)?l.then((function(e){return a[s]=e,a})):(a[s]=l,a)},u=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),u);var a,s,u}(e,r,n,void 0,i):G(e,r,n,void 0,i);return o(a)?a.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):a}catch(s){return e.errors.push(s),null}}(l,l.operation,r);return function e(t,n){if(o(n))return n.then((function(n){return e(t,n)}));return 0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(l,p)}function H(e,t,n){t||Object(f.a)(0,"Must provide document"),Object(u.a)(e),null==n||Object(m.a)(n)||Object(f.a)(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function W(e,t,n,r,i,o,a,s){for(var u,c=!1,l=Object.create(null),p=0,f=t.definitions;p<f.length;p++){var d=f[p];switch(d.kind){case x.a.OPERATION_DEFINITION:!o&&u?c=!0:(!o||d.name&&d.name.value===o)&&(u=d);break;case x.a.FRAGMENT_DEFINITION:l[d.name.value]=d}}if(!u)return o?[new y.a('Unknown operation named "'.concat(o,'".'))]:[new y.a("Must provide an operation.")];if(c)return[new y.a("Must provide operation name if query contains multiple operations.")];var h=R(e,u.variableDefinitions||[],i||{},{maxErrors:50});return h.errors?h.errors:{schema:e,fragments:l,rootValue:n,contextValue:r,operation:u,variableValues:h.coerced,fieldResolver:a||ce,typeResolver:s||ue,errors:[]}}function G(e,t,n,r,i){for(var a=Object.create(null),s=!1,u=0,c=Object.keys(i);u<c.length;u++){var l=c[u],p=Q(e,t,n,i[l],g(r,l));void 0!==p&&(a[l]=p,!s&&o(p)&&(s=!0))}return s?function(e){var t=Object.keys(e),n=t.map((function(t){return e[t]}));return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return e[t[r]]=n,e}),Object.create(null))}))}(a):a}function K(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case x.a.FIELD:if(!J(e,s))continue;var u=(p=s).alias?p.alias.value:p.name.value;r[u]||(r[u]=[]),r[u].push(s);break;case x.a.INLINE_FRAGMENT:if(!J(e,s)||!Y(e,s,t))continue;K(e,t,s.selectionSet,r,i);break;case x.a.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!J(e,s))continue;i[c]=!0;var l=e.fragments[c];if(!l||!Y(e,l,t))continue;K(e,t,l.selectionSet,r,i)}}var p;return r}function J(e,t){var n=z(D.e,t,e.variableValues);if(n&&!0===n.if)return!1;var r=z(D.d,t,e.variableValues);return!r||!1!==r.if}function Y(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=Object(w.a)(e.schema,r);return i===n||!!Object(C.C)(i)&&e.schema.isPossibleType(i,n)}function Q(e,t,n,r,i){var o=r[0].name.value,a=le(e.schema,t,o);if(a){var s=a.resolve||e.fieldResolver,u=$(e,a,r,t,i),c=X(e,a,r,s,n,u);return ee(e,a.type,r,u,i,c)}}function $(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function X(e,t,n,r,i,a){try{var s=r(i,B(t,n[0],e.variableValues),e.contextValue,a);return o(s)?s.then(void 0,Z):s}catch(u){return Z(u)}}function Z(e){return e instanceof Error?e:new Error("Unexpected error value: "+Object(l.a)(e))}function ee(e,t,n,r,i,a){try{var s;return s=o(a)?a.then((function(o){return ne(e,t,n,r,i,o)})):ne(e,t,n,r,i,a),o(s)?s.then(void 0,(function(r){return te(r,n,i,t,e)})):s}catch(u){return te(u,n,i,t,e)}}function te(e,t,n,r,i){var o=b(Z(e),t,v(n));if(Object(C.L)(r))throw o;return i.errors.push(o),null}function ne(e,t,n,r,i,a){if(a instanceof Error)throw a;if(Object(C.L)(t)){var s=ne(e,t.ofType,n,r,i,a);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return s}return Object(h.a)(a)?null:Object(C.J)(t)?function(e,t,n,r,i,a){if(!Object(c.e)(a))throw new y.a("Expected Iterable, but did not find one for field ".concat(r.parentType.name,".").concat(r.fieldName,"."));var s=t.ofType,u=!1,l=[];return Object(c.b)(a,(function(t,a){var c=g(i,a),p=ee(e,s,n,r,c,t);!u&&o(p)&&(u=!0),l.push(p)})),u?Promise.all(l):l}(e,t,n,r,i,a):Object(C.I)(t)?function(e,t){var n=e.serialize(t);if(Object(d.a)(n))throw new Error('Expected a value of type "'.concat(Object(l.a)(e),'" but ')+"received: ".concat(Object(l.a)(t)));return n}(t,a):Object(C.C)(t)?function(e,t,n,r,i,a){var s=t.resolveType||e.typeResolver,u=e.contextValue,c=s(a,u,r,t);if(o(c))return c.then((function(o){return ie(e,re(o,e,t,n,r,a),n,r,i,a)}));return ie(e,re(c,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,a):Object(C.N)(t)?ie(e,t,n,r,i,a):void Object(p.a)(!1,"Cannot complete value of unexpected output type: "+Object(l.a)(t))}function re(e,t,n,r,i,o){var a="string"===typeof e?t.schema.getType(e):e;if(!Object(C.N)(a))throw new y.a("Abstract type ".concat(n.name," must resolve to an Object type at runtime for field ").concat(i.parentType.name,".").concat(i.fieldName," with ")+"value ".concat(Object(l.a)(o),', received "').concat(Object(l.a)(a),'". ')+"Either the ".concat(n.name,' type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);if(!t.schema.isPossibleType(n,a))throw new y.a('Runtime Object type "'.concat(a.name,'" is not a possible type for "').concat(n.name,'".'),r);return a}function ie(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw oe(t,a,n);return ae(e,t,n,i,a)}));if(!s)throw oe(t,a,n)}return ae(e,t,n,i,a)}function oe(e,t,n){return new y.a('Expected value of type "'.concat(e.name,'" but got: ').concat(Object(l.a)(t),"."),n)}function ae(e,t,n,r,i){return G(e,t,i,r,se(e,t,n))}var se=function(e){var t;return function(n,r,i){t||(t=new WeakMap);var o,a=t.get(n);if(a){if(o=a.get(r)){var s=o.get(i);if(void 0!==s)return s}}else a=new WeakMap,t.set(n,a);o||(o=new WeakMap,a.set(r,o));var u=e(n,r,i);return o.set(i,u),u}}((function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=K(e,t,a.selectionSet,r,i))}return r}));var ue=function(e,t,n,r){if(Object(m.a)(e)&&"string"===typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var u=i[s];if(u.isTypeOf){var c=u.isTypeOf(e,t,n);if(o(c))a[s]=c;else if(c)return u}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t]})):void 0},ce=function(e,t,n,r){if(Object(m.a)(e)||"function"===typeof e){var i=e[r.fieldName];return"function"===typeof i?e[r.fieldName](t,n,r):i}};function le(e,t,n){return n===E.SchemaMetaFieldDef.name&&e.getQueryType()===t?E.SchemaMetaFieldDef:n===E.TypeMetaFieldDef.name&&e.getQueryType()===t?E.TypeMetaFieldDef:n===E.TypeNameMetaFieldDef.name?E.TypeNameMetaFieldDef:t.getFields()[n]}function pe(e,t,n,r,i,o,a,s){var u=arguments;return new Promise((function(c){return c(1===u.length?de(e):de({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function fe(e,t,n,r,i,a,s,u){var c=1===arguments.length?de(e):de({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:u});if(o(c))throw new Error("GraphQL execution failed to complete synchronously.");return c}function de(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,c=e.variableValues,l=e.operationName,p=e.fieldResolver,f=e.typeResolver,d=Object(u.b)(n);if(d.length>0)return{errors:d};try{t=Object(a.a)(r)}catch(ft){return{errors:[ft]}}var h=Object(s.c)(n,t);return h.length>0?{errors:h}:q({schema:n,document:t,rootValue:i,contextValue:o,variableValues:c,operationName:l,fieldResolver:p,typeResolver:f})}var he=n(51),me=n(13),ge=n(89),ve=n(105),ye=n(157),be=n(106),xe=n(5),Ee=n(20),De=n(10),Ce=n(53);function we(e,t,n){var r,i,o,a,s,u,l=Object(c.c)(e);function p(e){return e.done?e:Se(e.value,t).then(ke,i)}if("function"===typeof l.return&&(r=l.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(l).then(t,t)}),n){var f=n;o=function(e){return Se(e,f).then(ke,i)}}return a={next:function(){return l.next().then(p,o)},return:function(){return r?r.call(l).then(p,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"===typeof l.throw?l.throw(e).then(p,o):Promise.reject(e).catch(i)}},s=c.a,u=function(){return this},s in a?Object.defineProperty(a,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[s]=u,a}function Se(e,t){return new Promise((function(n){return n(t(e))}))}function ke(e){return{value:e,done:!1}}function Ae(e,t,n,r,i,o,a,s){return 1===arguments.length?_e(e):_e({schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Te(e){if(e instanceof y.a)return{errors:[e]};throw e}function _e(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,u=e.subscribeFieldResolver,l=Oe(t,n,r,i,o,a,u),p=function(e){return q(t,n,e,i,o,a,s)};return l.then((function(e){return Object(c.d)(e)?we(e,p,Te):e}))}function Oe(e,t,n,r,i,o,a){H(e,t,i);try{var s=W(e,t,n,r,i,o,a);if(Array.isArray(s))return Promise.resolve({errors:s});var u=S(e,s.operation),p=K(s,u,s.operation.selectionSet,Object.create(null),Object.create(null)),f=Object.keys(p)[0],d=p[f],h=d[0].name.value,m=le(e,u,h);if(!m)throw new y.a('The subscription field "'.concat(h,'" is not defined.'),d);var x=m.subscribe||s.fieldResolver,E=g(void 0,f),D=$(s,m,d,u,E),C=X(s,m,d,x,n,D);return Promise.resolve(C).then((function(e){if(e instanceof Error)return{errors:[b(e,d,v(E))]};if(Object(c.d)(e))return e;throw new Error("Subscription field must return Async Iterable. Received: "+Object(l.a)(e))}))}catch(w){return w instanceof y.a?Promise.resolve({errors:[w]}):Promise.reject(w)}}var Fe=n(107),Ne=n(133),Ie=n(152),Me=n(248),je=n(245),Le=n(161),Pe=n(159),Re=n(153),Be=n(158),ze=n(243),Ue=n(251),qe=n(253),Ve=n(154),He=n(254),We=n(256),Ge=n(250),Ke=n(163),Je=n(247),Ye=n(244),Qe=n(162),$e=n(160),Xe=n(249),Ze=n(164),et=n(242),tt=n(252),nt=n(131),rt=n(246),it=n(255),ot=n(257),at=n(258),st=n(259),ut=n(260),ct=n(261),lt=n(262),pt=n(263),ft=n(49);function dt(e){e||Object(f.a)(0,"Received null or undefined error.");var t=e.message||"An unknown error occurred.",n=e.locations,r=e.path,i=e.extensions;return i?{message:t,locations:n,path:r,extensions:i}:{message:t,locations:n,path:r}}function ht(e){var t=!(e&&!1===e.descriptions);return"\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ".concat(t?"description":"","\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(t?"description":"","\n fields(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(t?"description":"","\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}var mt=ht(),gt=n(284);function vt(e,t){var n=q(e,Object(a.a)(ht(t)));return!o(n)&&!n.errors&&n.data||Object(p.a)(0),n.data}var yt=n(29);function bt(e,t){Object(m.a)(e)&&Object(m.a)(e.__schema)||Object(f.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '+Object(l.a)(e));for(var n=e.__schema,r=Object(yt.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(e&&e.name&&e.kind)switch(e.kind){case E.TypeKind.SCALAR:return n=e,new C.g({name:n.name,description:n.description});case E.TypeKind.OBJECT:return function(e){if(!e.interfaces)throw new Error("Introspection result missing interfaces: "+Object(l.a)(e));return new C.f({name:e.name,description:e.description,interfaces:function(){return e.interfaces.map(y)},fields:function(){return b(e)}})}(e);case E.TypeKind.INTERFACE:return t=e,new C.c({name:t.name,description:t.description,fields:function(){return b(t)}});case E.TypeKind.UNION:return function(e){if(!e.possibleTypes)throw new Error("Introspection result missing possibleTypes: "+Object(l.a)(e));return new C.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(v)}})}(e);case E.TypeKind.ENUM:return function(e){if(!e.enumValues)throw new Error("Introspection result missing enumValues: "+Object(l.a)(e));return new C.a({name:e.name,description:e.description,values:Object(yt.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case E.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields)throw new Error("Introspection result missing inputFields: "+Object(l.a)(e));return new C.b({name:e.name,description:e.description,fields:function(){return x(e.inputFields)}})}(e)}var t;var n;throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema:"+Object(l.a)(e))}(e)})),i=0,o=[].concat(me.g,E.introspectionTypes);i<o.length;i++){var s=o[i];r[s.name]&&(r[s.name]=s)}var u=n.queryType?v(n.queryType):null,c=n.mutationType?v(n.mutationType):null,p=n.subscriptionType?v(n.subscriptionType):null,d=n.directives?n.directives.map((function(e){if(!e.args)throw new Error("Introspection result missing directive args: "+Object(l.a)(e));if(!e.locations)throw new Error("Introspection result missing directive locations: "+Object(l.a)(e));return new D.c({name:e.name,description:e.description,locations:e.locations.slice(),args:x(e.args)})})):[];return new he.a({query:u,mutation:c,subscription:p,types:Object(O.a)(r),directives:d,assumeValid:t&&t.assumeValid,allowedLegacyNames:t&&t.allowedLegacyNames});function h(e){if(e.kind===E.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return Object(C.d)(h(t))}if(e.kind===E.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error("Decorated type deeper than introspection query.");var i=h(n);return Object(C.e)(Object(C.t)(i))}if(!e.name)throw new Error("Unknown type reference: "+Object(l.a)(e));return function(e){var t=r[e];if(!t)throw new Error("Invalid or incomplete schema, unknown type: ".concat(e,". Ensure that a full introspection query is used in order to build a client schema."));return t}(e.name)}function g(e){var t=h(e);if(Object(C.O)(t))return t;throw new Error("Introspection must provide output type for fields, but received: "+Object(l.a)(t)+".")}function v(e){var t=h(e);return Object(C.u)(t)}function y(e){var t=h(e);return Object(C.o)(t)}function b(e){if(!e.fields)throw new Error("Introspection result missing fields: "+Object(l.a)(e));return Object(yt.a)(e.fields,(function(e){return e.name}),(function(e){if(!e.args)throw new Error("Introspection result missing field args: "+Object(l.a)(e));return{description:e.description,deprecationReason:e.deprecationReason,type:g(e.type),args:x(e.args)}}))}function x(e){return Object(yt.a)(e,(function(e){return e.name}),w)}function w(e){var t=function(e){var t=h(e);if(Object(C.G)(t))return t;throw new Error("Introspection must provide input type for arguments, but received: "+Object(l.a)(t)+".")}(e.type),n=e.defaultValue?F(Object(a.c)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n}}}var xt=n(57);function Et(e,t){var n;e&&e.kind===x.a.DOCUMENT||Object(f.a)(0,"Must provide valid Document AST"),t&&(t.assumeValid||t.assumeValidSDL)||Object(s.a)(e);for(var r=[],i=[],o=0,a=e.definitions;o<a.length;o++){var u=a[o];u.kind===x.a.SCHEMA_DEFINITION?n=u:Object(Ce.d)(u)?r.push(u):u.kind===x.a.DIRECTIVE_DEFINITION&&i.push(u)}var c=new Ct(t,(function(e){var t=l[e];if(void 0===t)throw new Error('Type "'.concat(e,'" not found in document.'));return t})),l=wt(r,(function(e){return c.buildType(e)})),p=n?function(e){for(var t={},n=0,r=e.operationTypes;n<r.length;n++){var i=r[n];t[i.operation]=i.type.name.value}return t}(n):{query:"Query",mutation:"Mutation",subscription:"Subscription"},d=i.map((function(e){return c.buildDirective(e)}));return d.some((function(e){return"skip"===e.name}))||d.push(D.e),d.some((function(e){return"include"===e.name}))||d.push(D.d),d.some((function(e){return"deprecated"===e.name}))||d.push(D.b),new he.a({query:p.query?l[p.query]:null,mutation:p.mutation?l[p.mutation]:null,subscription:p.subscription?l[p.subscription]:null,types:Object(O.a)(l),directives:d,astNode:n,assumeValid:t&&t.assumeValid,allowedLegacyNames:t&&t.allowedLegacyNames})}var Dt=Object(A.a)(me.g.concat(E.introspectionTypes),(function(e){return e.name})),Ct=function(){function e(e,t){this._options=e,this._resolveType=t}var t=e.prototype;return t.getNamedType=function(e){var t=e.name.value;return Dt[t]||this._resolveType(t)},t.getWrappedType=function(e){return e.kind===x.a.LIST_TYPE?new C.d(this.getWrappedType(e.type)):e.kind===x.a.NON_NULL_TYPE?new C.e(this.getWrappedType(e.type)):this.getNamedType(e)},t.buildDirective=function(e){var t=this,n=e.locations.map((function(e){return e.value}));return new D.c({name:e.name.value,description:kt(e,this._options),locations:n,isRepeatable:e.repeatable,args:wt(e.arguments||[],(function(e){return t.buildArg(e)})),astNode:e})},t.buildField=function(e){var t=this;return{type:this.getWrappedType(e.type),description:kt(e,this._options),args:wt(e.arguments||[],(function(e){return t.buildArg(e)})),deprecationReason:St(e),astNode:e}},t.buildArg=function(e){var t=this.getWrappedType(e.type);return{type:t,description:kt(e,this._options),defaultValue:F(e.defaultValue,t),astNode:e}},t.buildInputField=function(e){var t=this.getWrappedType(e.type);return{type:t,description:kt(e,this._options),defaultValue:F(e.defaultValue,t),astNode:e}},t.buildEnumValue=function(e){return{description:kt(e,this._options),deprecationReason:St(e),astNode:e}},t.buildType=function(e){var t=e.name.value;if(Dt[t])return Dt[t];switch(e.kind){case x.a.OBJECT_TYPE_DEFINITION:return this._makeTypeDef(e);case x.a.INTERFACE_TYPE_DEFINITION:return this._makeInterfaceDef(e);case x.a.ENUM_TYPE_DEFINITION:return this._makeEnumDef(e);case x.a.UNION_TYPE_DEFINITION:return this._makeUnionDef(e);case x.a.SCALAR_TYPE_DEFINITION:return this._makeScalarDef(e);case x.a.INPUT_OBJECT_TYPE_DEFINITION:return this._makeInputObjectDef(e)}Object(p.a)(!1,"Unexpected type definition node: "+Object(l.a)(e))},t._makeTypeDef=function(e){var t=this,n=e.interfaces,r=e.fields,i=n&&n.length>0?function(){return n.map((function(e){return t.getNamedType(e)}))}:[],o=r&&r.length>0?function(){return wt(r,(function(e){return t.buildField(e)}))}:Object.create(null);return new C.f({name:e.name.value,description:kt(e,this._options),interfaces:i,fields:o,astNode:e})},t._makeInterfaceDef=function(e){var t=this,n=e.fields,r=n&&n.length>0?function(){return wt(n,(function(e){return t.buildField(e)}))}:Object.create(null);return new C.c({name:e.name.value,description:kt(e,this._options),fields:r,astNode:e})},t._makeEnumDef=function(e){var t=this,n=e.values||[];return new C.a({name:e.name.value,description:kt(e,this._options),values:wt(n,(function(e){return t.buildEnumValue(e)})),astNode:e})},t._makeUnionDef=function(e){var t=this,n=e.types,r=n&&n.length>0?function(){return n.map((function(e){return t.getNamedType(e)}))}:[];return new C.h({name:e.name.value,description:kt(e,this._options),types:r,astNode:e})},t._makeScalarDef=function(e){return new C.g({name:e.name.value,description:kt(e,this._options),astNode:e})},t._makeInputObjectDef=function(e){var t=this,n=e.fields;return new C.b({name:e.name.value,description:kt(e,this._options),fields:n?function(){return wt(n,(function(e){return t.buildInputField(e)}))}:Object.create(null),astNode:e})},e}();function wt(e,t){return Object(yt.a)(e,(function(e){return e.name.value}),t)}function St(e){var t=z(D.b,e);return t&&t.reason}function kt(e,t){if(e.description)return e.description.value;if(t&&t.commentDescriptions){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;r&&r.kind===xe.a.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var i=String(r.value);n.push(i),r=r.prev}return n.reverse().join("\n")}(e);if(void 0!==n)return Object(xt.a)("\n"+n)}}function At(e,t){return Et(Object(a.a)(e,t),t)}var Tt=n(54),_t=n(59);function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(n,!0).forEach((function(t){Nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function It(e,t,n){Object(he.b)(e),t&&t.kind===x.a.DOCUMENT||Object(f.a)(0,"Must provide valid Document AST"),n&&(n.assumeValid||n.assumeValidSDL)||Object(s.b)(t,e);for(var r,i=[],o=Object.create(null),a=[],u=[],c=0,d=t.definitions;c<d.length;c++){var h=d[c];if(h.kind===x.a.SCHEMA_DEFINITION)r=h;else if(h.kind===x.a.SCHEMA_EXTENSION)u.push(h);else if(Object(Ce.d)(h))i.push(h);else if(Object(Ce.e)(h)){var m=h.name.value,g=o[m];o[m]=g?g.concat([h]):[h]}else h.kind===x.a.DIRECTIVE_DEFINITION&&a.push(h)}if(0===Object.keys(o).length&&0===i.length&&0===a.length&&0===u.length&&!r)return e;for(var v=e.toConfig(),y=new Ct(n,(function(e){var t=b[e];if(void 0===t)throw new Error('Unknown type: "'.concat(e,'".'));return t})),b=Object(yt.a)(i,(function(e){return e.name.value}),(function(e){return y.buildType(e)})),w=0,S=v.types;w<S.length;w++){var k=S[w];b[k.name]=W(k)}var A={query:v.query&&v.query.name,mutation:v.mutation&&v.mutation.name,subscription:v.subscription&&v.subscription.name};if(r)for(var T=0,_=r.operationTypes;T<_.length;T++){var F=_[T],N=F.operation,I=F.type;A[N]=I.name.value}for(var M=0;M<u.length;M++){var j=u[M];if(j.operationTypes)for(var L=0,P=j.operationTypes;L<P.length;L++){var R=P[L],B=R.operation,z=R.type;A[B]=z.name.value}}var U=v.allowedLegacyNames.concat(n&&n.allowedLegacyNames||[]);return new he.a({query:H(A.query),mutation:H(A.mutation),subscription:H(A.subscription),types:Object(O.a)(b),directives:function(){var t=e.getDirectives().map(G);return t||Object(f.a)(0,"schema must have default directives"),t.concat(a.map((function(e){return y.buildDirective(e)})))}(),astNode:r||v.astNode,extensionASTNodes:v.extensionASTNodes.concat(u),allowedLegacyNames:U});function q(e){return Object(C.J)(e)?new C.d(q(e.ofType)):Object(C.L)(e)?new C.e(q(e.ofType)):V(e)}function V(e){return b[e.name]}function H(e){return e?b[e]:null}function W(e){return Object(E.isIntrospectionType)(e)||Object(me.f)(e)?e:Object(C.R)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[];return new C.g(Ft({},t,{extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(C.N)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=Object(Tt.a)(n,(function(e){return e.interfaces||[]})),i=Object(Tt.a)(n,(function(e){return e.fields||[]}));return new C.f(Ft({},t,{interfaces:function(){return[].concat(e.getInterfaces().map(V),r.map((function(e){return y.getNamedType(e)})))},fields:function(){return Ft({},Object(_t.a)(t.fields,K),{},Object(yt.a)(i,(function(e){return e.name.value}),(function(e){return y.buildField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(C.H)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=Object(Tt.a)(n,(function(e){return e.fields||[]}));return new C.c(Ft({},t,{fields:function(){return Ft({},Object(_t.a)(t.fields,K),{},Object(yt.a)(r,(function(e){return e.name.value}),(function(e){return y.buildField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(C.T)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=Object(Tt.a)(n,(function(e){return e.types||[]}));return new C.h(Ft({},t,{types:function(){return[].concat(e.getTypes().map(V),r.map((function(e){return y.getNamedType(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(C.E)(e)?function(e){var t=e.toConfig(),n=o[e.name]||[],r=Object(Tt.a)(n,(function(e){return e.values||[]}));return new C.a(Ft({},t,{values:Ft({},t.values,{},Object(yt.a)(r,(function(e){return e.name.value}),(function(e){return y.buildEnumValue(e)}))),extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(C.F)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=Object(Tt.a)(n,(function(e){return e.fields||[]}));return new C.b(Ft({},t,{fields:function(){return Ft({},Object(_t.a)(t.fields,(function(e){return Ft({},e,{type:q(e.type)})})),{},Object(yt.a)(r,(function(e){return e.name.value}),(function(e){return y.buildInputField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):void Object(p.a)(!1,"Unexpected type: "+Object(l.a)(e))}function G(e){var t=e.toConfig();return new D.c(Ft({},t,{args:Object(_t.a)(t.args,J)}))}function K(e){return Ft({},e,{type:q(e.type),args:Object(_t.a)(e.args,J)})}function J(e){return Ft({},e,{type:q(e.type)})}}function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(n,!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e){var t=e.toConfig(),n=Object(yt.a)(Bt(t.types),(function(e){return e.name}),(function(e){if(Object(C.R)(e)||Object(E.isIntrospectionType)(e))return e;if(Object(C.N)(e)){var t=e.toConfig();return new C.f(jt({},t,{interfaces:function(){return u(t.interfaces)},fields:function(){return s(t.fields)}}))}if(Object(C.H)(e)){var n=e.toConfig();return new C.c(jt({},n,{fields:function(){return s(n.fields)}}))}if(Object(C.T)(e)){var i=e.toConfig();return new C.h(jt({},i,{types:function(){return u(i.types)}}))}if(Object(C.E)(e)){var o=e.toConfig();return new C.a(jt({},o,{values:Rt(o.values)}))}if(Object(C.F)(e)){var a=e.toConfig();return new C.b(jt({},a,{fields:function(){return Rt(a.fields,(function(e){return jt({},e,{type:r(e.type)})}))}}))}Object(p.a)(!1,"Unexpected type: "+Object(l.a)(e))}));return new he.a(jt({},t,{types:Object(O.a)(n),directives:Bt(t.directives).map((function(e){var t=e.toConfig();return new D.c(jt({},t,{locations:zt(t.locations,(function(e){return e})),args:a(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return Object(C.J)(e)?new C.d(r(e.ofType)):Object(C.L)(e)?new C.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function a(e){return Rt(e,(function(e){return jt({},e,{type:r(e.type)})}))}function s(e){return Rt(e,(function(e){return jt({},e,{type:r(e.type),args:a(e.args)})}))}function u(e){return Bt(e).map(i)}}function Rt(e,t){for(var n=Object.create(null),r=zt(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function Bt(e){return zt(e,(function(e){return e.name}))}function zt(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return r.localeCompare(i)}))}var Ut=n(82);function qt(e,t){return Wt(e,(function(e){return!Object(D.h)(e)}),Ht,t)}function Vt(e,t){return Wt(e,D.h,E.isIntrospectionType,t)}function Ht(e){return!Object(me.f)(e)&&!Object(E.isIntrospectionType)(e)}function Wt(e,t,n,r){var i=e.getDirectives().filter(t),o=e.getTypeMap(),a=Object(O.a)(o).sort((function(e,t){return e.name.localeCompare(t.name)})).filter(n);return[Gt(e)].concat(i.map((function(e){return function(e,t){return Zt(t,e)+"directive @"+e.name+Qt(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,r)})),a.map((function(e){return Kt(e,r)}))).filter(Boolean).join("\n\n")+"\n"}function Gt(e){if(!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&"Subscription"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push(" query: ".concat(n.name));var r=e.getMutationType();r&&t.push(" mutation: ".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(" subscription: ".concat(i.name)),"schema {\n".concat(t.join("\n"),"\n}")}}function Kt(e,t){return Object(C.R)(e)?function(e,t){return Zt(t,e)+"scalar ".concat(e.name)}(e,t):Object(C.N)(e)?function(e,t){var n=e.getInterfaces(),r=n.length?" implements "+n.map((function(e){return e.name})).join(" & "):"";return Zt(t,e)+"type ".concat(e.name).concat(r)+Jt(t,e)}(e,t):Object(C.H)(e)?function(e,t){return Zt(t,e)+"interface ".concat(e.name)+Jt(t,e)}(e,t):Object(C.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?" = "+n.join(" | "):"";return Zt(t,e)+"union "+e.name+r}(e,t):Object(C.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return Zt(t,e," ",!n)+" "+e.name+Xt(e)}));return Zt(t,e)+"enum ".concat(e.name)+Yt(n)}(e,t):Object(C.F)(e)?function(e,t){var n=Object(O.a)(e.getFields()).map((function(e,n){return Zt(t,e," ",!n)+" "+$t(e)}));return Zt(t,e)+"input ".concat(e.name)+Yt(n)}(e,t):void Object(p.a)(!1,"Unexpected type: "+Object(l.a)(e))}function Jt(e,t){return Yt(Object(O.a)(t.getFields()).map((function(t,n){return Zt(e,t," ",!n)+" "+t.name+Qt(e,t.args," ")+": "+String(t.type)+Xt(t)})))}function Yt(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function Qt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every((function(e){return!e.description}))?"("+t.map($t).join(", ")+")":"(\n"+t.map((function(t,r){return Zt(e,t," "+n,!r)+" "+n+$t(t)})).join("\n")+"\n"+n+")"}function $t(e){var t=Object(Ut.a)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat(Object(_.print)(t))),n}function Xt(e){if(!e.isDeprecated)return"";var t=e.deprecationReason,n=Object(Ut.a)(t,me.e);return n&&""!==t&&t!==D.a?" @deprecated(reason: "+Object(_.print)(n)+")":" @deprecated"}function Zt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t.description)return"";var i=tn(t.description,120-n.length);if(e&&e.commentDescriptions)return en(i,n,r);var o=i.join("\n"),a=o.length>70,s=Object(xt.c)(o,"",a),u=n&&!r?"\n"+n:n;return u+s.replace(/\n/g,"\n"+n)+"\n"}function en(e,t,n){for(var r=t&&!n?"\n":"",i=0;i<e.length;i++){var o=e[i];r+=""===o?t+"#\n":t+"# "+o+"\n"}return r}function tn(e,t){var n=e.split("\n");return Object(Tt.a)(n,(function(e){return e.length<t+5?e:function(e,t){var n=e.split(new RegExp("((?: |^).{15,".concat(t-40,"}(?= |$))")));if(n.length<4)return[e];for(var r=[n[0]+n[1]+n[2]],i=3;i<n.length;i+=2)r.push(n[i].slice(1)+n[i+1]);return r}(e,t)}))}var nn=n(240),rn=n(69);function on(e,t,n,r){var i=[],o=j(e,t,(function(e,t,o){var a="Invalid value "+Object(l.a)(t),s=[].concat(v(r),e);s.length>0&&(a+=' at "value'.concat(T(s),'"')),i.push(new y.a(a+": "+o.message,n,void 0,void 0,void 0,o.originalError))}));return i.length>0?{errors:i,value:void 0}:{errors:void 0,value:o}}function an(e,t){var n=on(e,t).errors;return n?n.map((function(e){return e.message})):[]}function sn(e,t){var n=new he.a({}),r={kind:x.a.DOCUMENT,definitions:[]},i=new rn.a(n,void 0,e),o=new Fe.b(n,r,i),a=Object(nt.a)(o);return Object(Ee.c)(t,Object(Ee.e)(i,a)),o.getErrors()}function un(e){return{kind:"Document",definitions:Object(Tt.a)(e,(function(e){return e.definitions}))}}function cn(e){var t,n=[],r=Object.create(null),i=new Map,o=Object.create(null),a=0;Object(Ee.c)(e,{OperationDefinition:function(e){t=ln(e),n.push(e),i.set(e,a++)},FragmentDefinition:function(e){t=e.name.value,r[t]=e,i.set(e,a++)},FragmentSpread:function(e){var n=e.name.value;(o[t]||(o[t]=Object.create(null)))[n]=!0}});for(var s=Object.create(null),u=0;u<n.length;u++){var c=n[u],l=ln(c),p=Object.create(null);pn(p,o,l);for(var f=[c],d=0,h=Object.keys(p);d<h.length;d++){var m=h[d];f.push(r[m])}f.sort((function(e,t){return(i.get(e)||0)-(i.get(t)||0)})),s[l]={kind:"Document",definitions:f}}return s}function ln(e){return e.name?e.name.value:""}function pn(e,t,n){var r=t[n];if(r)for(var i=0,o=Object.keys(r);i<o.length;i++){var a=o[i];e[a]||(e[a]=!0,pn(e,t,a))}}function fn(e){var t="string"===typeof e?new ge.a(e):e;if(!(t instanceof ge.a))throw new TypeError("Must provide string or Source. Received: ".concat(Object(l.a)(t)));for(var n=t.body,r=Object(be.a)(t),i="",o=!1;r.advance().kind!==xe.a.EOF;){var a=r.token,s=a.kind,u=!Object(be.b)(a);o&&(u||a.kind===xe.a.SPREAD)&&(i+=" ");var c=n.slice(a.start,a.end);s===xe.a.BLOCK_STRING?i+=dn(c):i+=c,o=u}return i}function dn(e){var t=e.slice(3,-3),n=Object(xt.a)(t),r=n.split(/\r\n|[\n\r]/g);Object(xt.b)(r)>0&&(n="\n"+n);var i=n[n.length-1];return('"'===i&&'\\"""'!==n.slice(-4)||"\\"===i)&&(n+="\n"),'"""'+n+'"""'}var hn=n(71),mn=n(241);function gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",INTERFACE_REMOVED_FROM_OBJECT:"INTERFACE_REMOVED_FROM_OBJECT",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),bn=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",INTERFACE_ADDED_TO_OBJECT:"INTERFACE_ADDED_TO_OBJECT",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function xn(e,t){return Dn(e,t).filter((function(e){return e.type in yn}))}function En(e,t){return Dn(e,t).filter((function(e){return e.type in bn}))}function Dn(e,t){return[].concat(function(e,t){for(var n=[],r=In(Object(O.a)(e.getTypeMap()),Object(O.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:yn.TYPE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){var c=u[s],l=c[0],p=c[1];Object(C.E)(l)&&Object(C.E)(p)?n.push.apply(n,Sn(l,p)):Object(C.T)(l)&&Object(C.T)(p)?n.push.apply(n,wn(l,p)):Object(C.F)(l)&&Object(C.F)(p)?n.push.apply(n,Cn(l,p)):Object(C.N)(l)&&Object(C.N)(p)?n.push.apply(n,kn(l,p)):Object(C.H)(l)&&Object(C.H)(p)?n.push.apply(n,An(l,p)):l.constructor!==p.constructor&&n.push({type:yn.TYPE_CHANGED_KIND,description:"".concat(l.name," changed from ")+"".concat(Fn(l)," to ").concat(Fn(p),".")})}return n}(e,t),function(e,t){for(var n=[],r=In(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:yn.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){for(var c=u[s],l=c[0],p=c[1],f=In(l.args,p.args),d=0,h=f.added;d<h.length;d++){var m=h[d];Object(C.P)(m)&&n.push({type:yn.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(l.name," was added.")})}for(var g=0,v=f.removed;g<v.length;g++){var y=v[g];n.push({type:yn.DIRECTIVE_ARG_REMOVED,description:"".concat(y.name," was removed from ").concat(l.name,".")})}for(var b=0,x=l.locations;b<x.length;b++){var E=x[b];-1===p.locations.indexOf(E)&&n.push({type:yn.DIRECTIVE_LOCATION_REMOVED,description:"".concat(E," was removed from ").concat(l.name,".")})}}return n}(e,t))}function Cn(e,t){for(var n=[],r=In(Object(O.a)(e.getFields()),Object(O.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(C.Q)(a)?n.push({type:yn.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):n.push({type:bn.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:yn.FIELD_REMOVED,description:"".concat(e.name,".").concat(c.name," was removed.")})}for(var l=0,p=r.persisted;l<p.length;l++){var f=p[l],d=f[0],h=f[1];On(d.type,h.type)||n.push({type:yn.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(d.name," changed type from ")+"".concat(String(d.type)," to ").concat(String(h.type),".")})}return n}function wn(e,t){for(var n=[],r=In(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:bn.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:yn.TYPE_REMOVED_FROM_UNION,description:"".concat(c.name," was removed from union type ").concat(e.name,".")})}return n}function Sn(e,t){for(var n=[],r=In(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:bn.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:yn.VALUE_REMOVED_FROM_ENUM,description:"".concat(c.name," was removed from enum type ").concat(e.name,".")})}return n}function kn(e,t){for(var n=An(e,t),r=In(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:bn.INTERFACE_ADDED_TO_OBJECT,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,u=r.removed;s<u.length;s++){var c=u[s];n.push({type:yn.INTERFACE_REMOVED_FROM_OBJECT,description:"".concat(e.name," no longer implements interface ").concat(c.name,".")})}return n}function An(e,t){for(var n=[],r=In(Object(O.a)(e.getFields()),Object(O.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:yn.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,u=r.persisted;s<u.length;s++){var c=u[s],l=c[0],p=c[1];n.push.apply(n,Tn(e,l,p)),_n(l.type,p.type)||n.push({type:yn.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(l.name," changed type from ")+"".concat(String(l.type)," to ").concat(String(p.type),".")})}return n}function Tn(e,t,n){for(var r=[],i=In(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:yn.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var u=0,c=i.persisted;u<c.length;u++){var l=c[u],p=l[0],f=l[1];if(On(p.type,f.type)){if(void 0!==p.defaultValue)if(void 0===f.defaultValue)r.push({type:bn.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," defaultValue was removed.")});else{var d=Nn(p.defaultValue,p.type),h=Nn(f.defaultValue,f.type);d!==h&&r.push({type:bn.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," has changed defaultValue from ").concat(d," to ").concat(h,".")})}}else r.push({type:yn.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," has changed type from ")+"".concat(String(p.type)," to ").concat(String(f.type),".")})}for(var m=0,g=i.added;m<g.length;m++){var v=g[m];Object(C.P)(v)?r.push({type:yn.REQUIRED_ARG_ADDED,description:"A required arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:bn.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(v.name," on ").concat(e.name,".").concat(t.name," was added.")})}return r}function _n(e,t){return Object(C.J)(e)?Object(C.J)(t)&&_n(e.ofType,t.ofType)||Object(C.L)(t)&&_n(e,t.ofType):Object(C.L)(e)?Object(C.L)(t)&&_n(e.ofType,t.ofType):Object(C.K)(t)&&e.name===t.name||Object(C.L)(t)&&_n(e,t.ofType)}function On(e,t){return Object(C.J)(e)?Object(C.J)(t)&&On(e.ofType,t.ofType):Object(C.L)(e)?Object(C.L)(t)&&On(e.ofType,t.ofType)||!Object(C.L)(t)&&On(e.ofType,t):Object(C.K)(t)&&e.name===t.name}function Fn(e){return Object(C.R)(e)?"a Scalar type":Object(C.N)(e)?"an Object type":Object(C.H)(e)?"an Interface type":Object(C.T)(e)?"a Union type":Object(C.E)(e)?"an Enum type":Object(C.F)(e)?"an Input type":void Object(p.a)(!1,"Unexpected type: "+Object(l.a)(e))}function Nn(e,t){var n=Object(Ut.a)(e,t);null!=n||Object(p.a)(0);var r=Object(Ee.c)(n,{ObjectValue:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gn(n,!0).forEach((function(t){vn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gn(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{fields:[].concat(e.fields).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}))})}});return Object(_.print)(r)}function In(e,t){for(var n=[],r=[],i=[],o=Object(A.a)(e,(function(e){return e.name})),a=Object(A.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var u=e[s],c=a[u.name];void 0===c?r.push(u):i.push([u,c])}for(var l=0;l<t.length;l++){var p=t[l];void 0===o[p.name]&&n.push(p)}return{added:n,persisted:i,removed:r}}var Mn=n(569)},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t||"Unexpected invariant triggered")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"Provider",(function(){return l})),n.d(t,"connectAdvanced",(function(){return w})),n.d(t,"ReactReduxContext",(function(){return o})),n.d(t,"connect",(function(){return U})),n.d(t,"batch",(function(){return $.unstable_batchedUpdates})),n.d(t,"useDispatch",(function(){return G})),n.d(t,"createDispatchHook",(function(){return W})),n.d(t,"useSelector",(function(){return Q})),n.d(t,"createSelectorHook",(function(){return J})),n.d(t,"useStore",(function(){return H})),n.d(t,"createStoreHook",(function(){return V})),n.d(t,"shallowEqual",(function(){return k}));var r=n(3),i=n.n(r),o=(n(60),i.a.createContext(null));var a=function(e){e()},s={notify:function(){}};function u(){var e=a,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=s,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=u())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},e}();var l=function(e){var t=e.store,n=e.context,a=e.children,s=Object(r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=s.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,u]);var l=n||o;return i.a.createElement(l.Provider,{value:s},a)},p=n(43),f=n(68),d=n(155),h=n.n(d),m=n(87),g="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,v=[],y=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function x(e,t,n){g((function(){return e.apply(void 0,t)}),n)}function E(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function D(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,p=null,f=function(){if(!l){var e,n,f=t.getState();try{e=r(f,i.current)}catch(d){n=d,p=d}n||(p=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var C=function(){return[null,0]};function w(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,s=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,l=void 0===u?"connectAdvanced":u,d=n.renderCountProp,g=void 0===d?void 0:d,w=n.shouldHandleStateChanges,S=void 0===w||w,k=n.storeKey,A=void 0===k?"store":k,T=(n.withRef,n.forwardRef),_=void 0!==T&&T,O=n.context,F=void 0===O?o:O,N=Object(f.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=F;return function(t){var n=t.displayName||t.name||"Component",o=s(n),a=Object(p.a)({},N,{getDisplayName:s,methodName:l,renderCountProp:g,shouldHandleStateChanges:S,storeKey:A,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=N.pure;var d=u?r.useMemo:function(e){return e()};function w(n){var o=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(f.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),s=o[0],u=o[1],l=o[2],h=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(m.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:I}),[s,I]),g=Object(r.useContext)(h),w=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(g)&&Boolean(g.store);var k=w?n.store:g.store,A=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(k)}),[k]),T=Object(r.useMemo)((function(){if(!S)return y;var e=new c(k,w?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[k,w,g]),_=T[0],O=T[1],F=Object(r.useMemo)((function(){return w?g:Object(p.a)({},g,{subscription:_})}),[w,g,_]),N=Object(r.useReducer)(b,v,C),M=N[0][0],j=N[1];if(M&&M.error)throw M.error;var L=Object(r.useRef)(),P=Object(r.useRef)(l),R=Object(r.useRef)(),B=Object(r.useRef)(!1),z=d((function(){return R.current&&l===P.current?R.current:A(k.getState(),l)}),[k,M,l]);x(E,[P,L,B,l,z,R,O]),x(D,[S,k,_,A,P,L,B,R,O,j],[k,_,A]);var U=Object(r.useMemo)((function(){return i.a.createElement(t,Object(p.a)({},z,{ref:u}))}),[u,t,z]);return Object(r.useMemo)((function(){return S?i.a.createElement(h.Provider,{value:F},U):U}),[h,U,F])}var k=u?i.a.memo(w):w;if(k.WrappedComponent=t,k.displayName=o,_){var T=i.a.forwardRef((function(e,t){return i.a.createElement(k,Object(p.a)({},e,{forwardedRef:t}))}));return T.displayName=o,T.WrappedComponent=t,h()(T,t)}return h()(k,t)}}function S(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function k(e,t){if(S(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!S(e[n[i]],t[n[i]]))return!1;return!0}var A=n(65);function T(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function _(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function O(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=_(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=_(i),i=r(t,n)),i},r}}var F=[function(e){return"function"===typeof e?O(e):void 0},function(e){return e?void 0:T((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?T((function(t){return Object(A.bindActionCreators)(e,t)})):void 0}];var N=[function(e){return"function"===typeof e?O(e):void 0},function(e){return e?void 0:T((function(){return{}}))}];function I(e,t,n){return Object(p.a)({},n,{},e,{},t)}var M=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return I}}];function j(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function L(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,p=i.areOwnPropsEqual,f=i.areStatePropsEqual,d=!1;function h(i,d){var h=!p(d,a),m=!l(i,o);return o=i,a=d,h&&m?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):h?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):m?function(){var t=e(o,a),r=!f(t,s);return s=t,r&&(c=n(s,u,a)),c}():c}return function(i,l){return d?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),d=!0,c)}}function P(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=Object(f.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?L:j)(a,s,u,e,o)}function R(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function B(e,t){return e===t}function z(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?w:n,i=t.mapStateToPropsFactories,o=void 0===i?N:i,a=t.mapDispatchToPropsFactories,s=void 0===a?F:a,u=t.mergePropsFactories,c=void 0===u?M:u,l=t.selectorFactory,d=void 0===l?P:l;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,l=void 0===u||u,h=a.areStatesEqual,m=void 0===h?B:h,g=a.areOwnPropsEqual,v=void 0===g?k:g,y=a.areStatePropsEqual,b=void 0===y?k:y,x=a.areMergedPropsEqual,E=void 0===x?k:x,D=Object(f.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=R(e,o,"mapStateToProps"),w=R(t,s,"mapDispatchToProps"),S=R(n,c,"mergeProps");return r(d,Object(p.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:w,initMergeProps:S,pure:l,areStatesEqual:m,areOwnPropsEqual:v,areStatePropsEqual:b,areMergedPropsEqual:E},D))}}var U=z();function q(){return Object(r.useContext)(o)}function V(e){void 0===e&&(e=o);var t=e===o?q:function(){return Object(r.useContext)(e)};return function(){return t().store}}var H=V();function W(e){void 0===e&&(e=o);var t=e===o?H:V(e);return function(){return t().dispatch}}var G=W(),K=function(e,t){return e===t};function J(e){void 0===e&&(e=o);var t=e===o?q:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=K);var i=t();return function(e,t,n,i){var o,a=Object(r.useReducer)((function(e){return e+1}),0)[1],s=Object(r.useMemo)((function(){return new c(n,i)}),[n,i]),u=Object(r.useRef)(),l=Object(r.useRef)(),p=Object(r.useRef)();try{o=e!==l.current||u.current?e(n.getState()):p.current}catch(f){throw u.current&&(f.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),f}return g((function(){l.current=e,p.current=o,u.current=void 0})),g((function(){function e(){try{var e=l.current(n.getState());if(t(e,p.current))return;p.current=e}catch(f){u.current=f}a({})}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(e,n,i.store,i.subscription)}}var Y,Q=J(),$=n(61);Y=$.unstable_batchedUpdates,a=Y},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(16),i=Object.setPrototypeOf,o=void 0===i?function(e,t){return e.__proto__=t,e}:i,a=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"===typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",o(r,t.prototype),r}return Object(r.b)(t,e),t}(Error);function s(e,t){if(!e)throw new a(t)}function u(e){return function(){return console[e].apply(console,arguments)}}!function(e){e.warn=u("warn"),e.error=u("error")}(s||(s={}));var c={env:{}};if("object"===typeof e)c=e;else try{Function("stub","process = stub")(c)}catch(l){}}).call(this,n(91))},function(e,t,n){"use strict";function r(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=0,s=r.pop(),u=a(r),c=e.apply(void 0,[function(){return o++,s.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return c.apply(null,e)}));return l.resultFunc=s,l.dependencies=u,l.recomputations=function(){return o},l.resetRecomputations=function(){return o=0},l}}n.r(t),n.d(t,"defaultMemoize",(function(){return o})),n.d(t,"createSelectorCreator",(function(){return s})),n.d(t,"createSelector",(function(){return u})),n.d(t,"createStructuredSelector",(function(){return c}));var u=s(o);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;if("object"!==typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}))}},function(e,t,n){"use strict";function r(e){return(r="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"object"==r(e)&&null!==e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(38);function o(e){return e.get("selectedWorkspace")}t.getSessionsState=r.createSelector([function(e){return e.getIn(["workspaces",o(e)])||i.makeWorkspace("")}],(function(e){return e.get("sessions")})),t.getSelectedSession=r.createSelector([t.getSessionsState],(function(e){var n=t.getSelectedSessionId(e);return e.getIn(["sessions",n])})),t.getSelectedSessionId=function(e){return e.selectedSessionId&&""!==e.selectedSessionId?e.selectedSessionId:e.sessions.first().id},t.getSelectedSessionIdFromRoot=r.createSelector([t.getSelectedSession],(function(e){return e.get("id")}));var a=function(e){return r.createSelector([t.getSelectedSession],(function(t){return t.get(e)}))};function s(e){return e.getIn(["settingsString"])}function u(e){try{return JSON.parse(e)}catch(t){}return{}}function c(e){var t=e.variables;try{return JSON.parse(t)}catch(n){}return{}}t.getScrollTop=a("scrollTop"),t.getEndpoint=a("endpoint"),t.getQuery=a("query"),t.getFile=a("file"),t.getVariables=a("variables"),t.getResponses=a("responses"),t.getOperationName=a("operationName"),t.getQueryRunning=a("queryRunning"),t.getSubscriptionActive=a("subscriptionActive"),t.getOperations=a("operations"),t.getVariableToType=a("variableToType"),t.getQueryTypes=a("queryTypes"),t.getDate=a("date"),t.getHasMutation=a("hasMutation"),t.getHasSubscription=a("hasSubscription"),t.getHasQuery=a("hasQuery"),t.getIsFile=a("isFile"),t.getStarred=a("starred"),t.getName=a("name"),t.getFilePath=a("filePath"),t.getSelectedUserToken=a("selectedUserToken"),t.getHeaders=a("headers"),t.getHasChanged=a("hasChanged"),t.getAbsolutePath=a("absolutePath"),t.getIsSettingsTab=a("isSettingsTab"),t.getIsConfigTab=a("isConfigTab"),t.getCurrentQueryStartTime=a("currentQueryStartTime"),t.getCurrentQueryEndTime=a("currentQueryEndTime"),t.getIsReloadingSchema=a("isReloadingSchema"),t.getIsPollingSchema=r.createSelector([t.getEndpoint,s],(function(e,t){var n=JSON.parse(t);try{return n["schema.polling.enable"]&&e.match("/"+n["schema.polling.endpointFilter"])&&!0}catch(r){return!1}})),t.getResponseExtensions=a("responseExtensions"),t.getQueryVariablesActive=a("queryVariablesActive"),t.getEndpointUnreachable=a("endpointUnreachable"),t.getEditorFlex=a("editorFlex"),t.getVariableEditorOpen=a("variableEditorOpen"),t.getVariableEditorHeight=a("variableEditorHeight"),t.getResponseTracingOpen=a("responseTracingOpen"),t.getResponseTracingHeight=a("responseTracingHeight"),t.getDocExplorerWidth=a("docExplorerWidth"),t.getNextQueryStartTime=a("nextQueryStartTime"),t.getTracingSupported=a("tracingSupported"),t.getTabWidth=r.createSelector([s],(function(e){try{return JSON.parse(e)["prettier.tabWidth"]||2}catch(t){}return 2})),t.getUseTabs=r.createSelector([s],(function(e){try{return JSON.parse(e)["prettier.useTabs"]||!1}catch(t){}return!1})),t.getHeadersCount=r.createSelector([t.getHeaders],(function(e){try{var t=JSON.parse(e);return Object.keys(t).length}catch(n){}return 0})),t.getParsedHeaders=r.createSelector([t.getSelectedSession],u),t.getParsedHeadersFromSession=u,t.getParsedVariables=r.createSelector([t.getSelectedSession],c),t.getParsedVariablesFromSession=c,t.getTracing=r.createSelector([t.getResponseExtensions],(function(e){return e&&e.tracing})),t.getSessionsArray=r.createSelector([t.getSessionsState],(function(e){return e.get("sessions").toArray().map((function(e){return e[1]}))}))},function(e,t,n){"use strict";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t);var r=n(97);n.d(t,"getASTNodeAtPosition",(function(){return r.getASTNodeAtPosition})),n.d(t,"pointToOffset",(function(){return r.pointToOffset}));var i=n(79);n.d(t,"Position",(function(){return i.Position})),n.d(t,"Range",(function(){return i.Range})),n.d(t,"locToRange",(function(){return i.locToRange})),n.d(t,"offsetToPosition",(function(){return i.offsetToPosition}));var o=n(122);n.d(t,"validateWithCustomRules",(function(){return o.validateWithCustomRules}));var a=n(98);n.d(t,"requireFile",(function(){return a.requireFile})),n.d(t,"resolveFile",(function(){return a.resolveFile}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(23),o=n(1),a=n(0);function s(e,t){var n;return t.kind===o.a.LIST_TYPE?(n=s(e,t.type))&&Object(a.d)(n):t.kind===o.a.NON_NULL_TYPE?(n=s(e,t.type))&&Object(a.e)(n):t.kind===o.a.NAMED_TYPE?e.getType(t.name.value):void Object(i.a)(!1,"Unexpected type node: "+Object(r.a)(t))}},function(e,t,n){e.exports=n(309)},function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return rr})),n.d(t,"Collection",(function(){return y})),n.d(t,"Iterable",(function(){return or})),n.d(t,"Seq",(function(){return R})),n.d(t,"Map",(function(){return xt})),n.d(t,"OrderedMap",(function(){return rn})),n.d(t,"List",(function(){return Vt})),n.d(t,"Stack",(function(){return cn})),n.d(t,"Set",(function(){return bn})),n.d(t,"OrderedSet",(function(){return qn})),n.d(t,"Record",(function(){return Kn})),n.d(t,"Range",(function(){return kn})),n.d(t,"Repeat",(function(){return er})),n.d(t,"is",(function(){return Z})),n.d(t,"fromJS",(function(){return tr})),n.d(t,"hash",(function(){return re})),n.d(t,"isImmutable",(function(){return w})),n.d(t,"isCollection",(function(){return h})),n.d(t,"isKeyed",(function(){return m})),n.d(t,"isIndexed",(function(){return g})),n.d(t,"isAssociative",(function(){return v})),n.d(t,"isOrdered",(function(){return k})),n.d(t,"isValueObject",(function(){return X})),n.d(t,"get",(function(){return We})),n.d(t,"getIn",(function(){return An})),n.d(t,"has",(function(){return He})),n.d(t,"hasIn",(function(){return _n})),n.d(t,"merge",(function(){return at})),n.d(t,"mergeDeep",(function(){return ut})),n.d(t,"mergeWith",(function(){return st})),n.d(t,"mergeDeepWith",(function(){return ct})),n.d(t,"remove",(function(){return Ke})),n.d(t,"removeIn",(function(){return Xe})),n.d(t,"set",(function(){return Je})),n.d(t,"setIn",(function(){return Qe})),n.d(t,"update",(function(){return et})),n.d(t,"updateIn",(function(){return Ye}));var r={};function i(e){e&&(e.value=!0)}function o(){}function a(e){return void 0===e.size&&(e.size=e.__iterate(u)),e.size}function s(e,t){if("number"!==typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?a(e)+t:t}function u(){return!0}function c(e,t,n){return(0===e&&!d(e)||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function l(e,t){return f(e,t,0)}function p(e,t){return f(e,t,t)}function f(e,t,n){return void 0===e?n:d(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function d(e){return e<0||0===e&&1/e===-1/0}function h(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function m(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function g(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function v(e){return m(e)||g(e)}var y=function(e){return h(e)?e:R(e)},b=function(e){function t(e){return m(e)?e:B(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(y),x=function(e){function t(e){return g(e)?e:z(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(y),E=function(e){function t(e){return h(e)&&!v(e)?e:U(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(y);y.Keyed=b,y.Indexed=x,y.Set=E;function D(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function C(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function w(e){return h(e)||C(e)}var S="@@__IMMUTABLE_ORDERED__@@";function k(e){return Boolean(e&&e[S])}var A="function"===typeof Symbol&&Symbol.iterator,T=A||"@@iterator",_=function(e){this.next=e};function O(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function F(){return{value:void 0,done:!0}}function N(e){return!!j(e)}function I(e){return e&&"function"===typeof e.next}function M(e){var t=j(e);return t&&t.call(e)}function j(e){var t=e&&(A&&e[A]||e["@@iterator"]);if("function"===typeof t)return t}_.prototype.toString=function(){return"[Iterator]"},_.KEYS=0,_.VALUES=1,_.ENTRIES=2,_.prototype.inspect=_.prototype.toSource=function(){return this.toString()},_.prototype[T]=function(){return this};var L=Object.prototype.hasOwnProperty;function P(e){return!(!Array.isArray(e)&&"string"!==typeof e)||e&&"object"===typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var R=function(e){function t(e){return null===e||void 0===e?G():w(e)?e.toSeq():function(e){var t=Y(e);if(t)return t;if("object"===typeof e)return new V(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var n=this._cache;if(n){for(var r=n.length,i=0;i!==r;){var o=n[t?r-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var n=this._cache;if(n){var r=n.length,i=0;return new _((function(){if(i===r)return{value:void 0,done:!0};var o=n[t?r-++i:i++];return O(e,o[0],o[1])}))}return this.__iteratorUncached(e,t)},t}(y),B=function(e){function t(e){return null===e||void 0===e?G().toKeyedSeq():h(e)?m(e)?e.toSeq():e.fromEntrySeq():C(e)?e.toSeq():K(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(R),z=function(e){function t(e){return null===e||void 0===e?G():h(e)?m(e)?e.entrySeq():e.toIndexedSeq():C(e)?e.toSeq().entrySeq():J(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(R),U=function(e){function t(e){return(h(e)&&!v(e)?e:z(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(R);R.isSeq=D,R.Keyed=B,R.Set=U,R.Indexed=z,R.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var q=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[s(this,e)]:t},t.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length,i=0;i!==r;){var o=t?r-++i:i++;if(!1===e(n[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var n=this._array,r=n.length,i=0;return new _((function(){if(i===r)return{value:void 0,done:!0};var o=t?r-++i:i++;return O(e,o,n[o])}))},t}(z),V=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return L.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length,o=0;o!==i;){var a=r[t?i-++o:o++];if(!1===e(n[a],a,this))break}return o},t.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length,o=0;return new _((function(){if(o===i)return{value:void 0,done:!0};var a=r[t?i-++o:o++];return O(e,a,n[a])}))},t}(B);V.prototype[S]=!0;var H,W=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=M(this._collection),r=0;if(I(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=M(this._collection);if(!I(n))return new _(F);var r=0;return new _((function(){var t=n.next();return t.done?t:O(e,r++,t.value)}))},t}(z);function G(){return H||(H=new q([]))}function K(e){var t=Array.isArray(e)?new q(e):N(e)?new W(e):void 0;if(t)return t.fromEntrySeq();if("object"===typeof e)return new V(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function J(e){var t=Y(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function Y(e){return P(e)?new q(e):N(e)?new W(e):void 0}function Q(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function $(e){return Q(e)&&k(e)}function X(e){return Boolean(e&&"function"===typeof e.equals&&"function"===typeof e.hashCode)}function Z(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"===typeof e.valueOf&&"function"===typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!!(X(e)&&X(t)&&e.equals(t))}var ee="function"===typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function te(e){return e>>>1&1073741824|3221225471&e}var ne=Object.prototype.valueOf;function re(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!==e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return te(t)}(e);case"string":return e.length>pe?function(e){var t=he[e];void 0===t&&(t=ie(e),de===fe&&(de=0,he={}),de++,he[e]=t);return t}(e):ie(e);case"object":case"function":return null===e?1108378658:"function"===typeof e.hashCode?te(e.hashCode(e)):(e.valueOf!==ne&&"function"===typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(ue&&void 0!==(t=se.get(e)))return t;if(void 0!==(t=e[le]))return t;if(!ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[le]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}t=++ce,1073741824&ce&&(ce=0);if(ue)se.set(e,t);else{if(void 0!==oe&&!1===oe(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ae)Object.defineProperty(e,le,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[le]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[le]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"===typeof e.toString)return ie(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function ie(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return te(t)}var oe=Object.isExtensible,ae=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();var se,ue="function"===typeof WeakMap;ue&&(se=new WeakMap);var ce=0,le="__immutablehash__";"function"===typeof Symbol&&(le=Symbol(le));var pe=16,fe=255,de=0,he={},me=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=Ee(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=xe(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t,r){return e(t,r,n)}),t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(B);me.prototype[S]=!0;var ge=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&a(this),this._iter.__iterate((function(i){return e(i,t?n.size-++r:r++,n)}),t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(1,t),i=0;return t&&a(this),new _((function(){var o=r.next();return o.done?o:O(e,t?n.size-++i:i++,o.value,o)}))},t}(z),ve=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _((function(){var t=n.next();return t.done?t:O(e,t.value,t.value,t)}))},t}(U),ye=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate((function(t){if(t){Ne(t);var r=h(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}}),t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(1,t);return new _((function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ne(r);var i=h(r);return O(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}}))},t}(B);function be(e){var t=Me(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=je,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new _((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function xe(e,t,n){var i=Me(e);return i.size=e.size,i.has=function(t){return e.has(t)},i.get=function(i,o){var a=e.get(i,r);return a===r?o:t.call(n,a,i,e)},i.__iterateUncached=function(r,i){var o=this;return e.__iterate((function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)}),i)},i.__iteratorUncached=function(r,i){var o=e.__iterator(2,i);return new _((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return O(r,s,t.call(n,a[1],s,e),i)}))},i}function Ee(e,t){var n=this,r=Me(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=be(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=je,r.__iterate=function(n,r){var i=this,o=0;return r&&a(e),e.__iterate((function(e,a){return n(e,t?a:r?i.size-++o:o++,i)}),!r)},r.__iterator=function(r,i){var o=0;i&&a(e);var s=e.__iterator(2,!i);return new _((function(){var e=s.next();if(e.done)return e;var a=e.value;return O(r,t?a[0]:i?n.size-++o:o++,a[1],e)}))},r}function De(e,t,n,i){var o=Me(e);return i&&(o.has=function(i){var o=e.get(i,r);return o!==r&&!!t.call(n,o,i,e)},o.get=function(i,o){var a=e.get(i,r);return a!==r&&t.call(n,a,i,e)?a:o}),o.__iterateUncached=function(r,o){var a=this,s=0;return e.__iterate((function(e,o,u){if(t.call(n,e,o,u))return s++,r(e,i?o:s-1,a)}),o),s},o.__iteratorUncached=function(r,o){var a=e.__iterator(2,o),s=0;return new _((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return O(r,i?c:s++,l,o)}}))},o}function Ce(e,t,n,r){var i=e.size;if(c(t,n,i))return e;var o=l(t,i),a=p(n,i);if(o!==o||a!==a)return Ce(e.toSeq().cacheResult(),t,n,r);var u,f=a-o;f===f&&(u=f<0?0:f);var d=Me(e);return d.size=0===u?u:e.size&&u||void 0,!r&&D(e)&&u>=0&&(d.get=function(t,n){return(t=s(this,t))>=0&&t<u?e.get(t+o,n):n}),d.__iterateUncached=function(t,n){var i=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,s=!0,c=0;return e.__iterate((function(e,n){if(!s||!(s=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==u})),c},d.__iteratorUncached=function(t,n){if(0!==u&&n)return this.cacheResult().__iterator(t,n);if(0===u)return new _(F);var i=e.__iterator(t,n),a=0,s=0;return new _((function(){for(;a++<o;)i.next();if(++s>u)return{value:void 0,done:!0};var e=i.next();return r||1===t||e.done?e:O(t,s-1,0===t?void 0:e.value[1],e)}))},d}function we(e,t,n,r){var i=Me(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate((function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(2,o),u=!0,c=0;return new _((function(){var e,o,l;do{if((e=s.next()).done)return r||1===i?e:O(i,c++,0===i?void 0:e.value[1],e);var p=e.value;o=p[0],l=p[1],u&&(u=t.call(n,l,o,a))}while(u);return 2===i?e:O(i,o,l,e)}))},i}function Se(e,t){var n=m(e),r=[e].concat(t).map((function(e){return h(e)?n&&(e=b(e)):e=n?K(e):J(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||n&&m(i)||g(e)&&g(i))return i}var o=new q(r);return n?o=o.toKeyedSeq():g(e)||(o=o.toSetSeq()),(o=o.flatten(!0)).size=r.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),o}function ke(e,t,n){var r=Me(e);return r.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var a=0,s=!1;return function e(u,c){u.__iterate((function(o,u){return(!t||c<t)&&h(o)?e(o,c+1):(a++,!1===i(o,n?u:a-1,r)&&(s=!0)),!s}),o)}(e,0),a},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var o=e.__iterator(r,i),a=[],s=0;return new _((function(){for(;o;){var e=o.next();if(!1===e.done){var u=e.value;if(2===r&&(u=u[1]),t&&!(a.length<t)||!h(u))return n?e:O(r,s++,u,e);a.push(o),o=u.__iterator(r,i)}else o=a.pop()}return{value:void 0,done:!0}}))},r}function Ae(e,t,n){t||(t=Le);var r=m(e),i=0,o=e.toSeq().map((function(t,r){return[r,t,i++,n?n(t,r,e):t]})).valueSeq().toArray();return o.sort((function(e,n){return t(e[3],n[3])||e[2]-n[2]})).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?B(o):g(e)?z(o):U(o)}function Te(e,t,n){if(t||(t=Le),n){var r=e.toSeq().map((function(t,r){return[t,n(t,r,e)]})).reduce((function(e,n){return _e(t,e[1],n[1])?n:e}));return r&&r[0]}return e.reduce((function(e,n){return _e(t,e,n)?n:e}))}function _e(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function Oe(e,t,n,r){var i=Me(e),o=new q(n).map((function(e){return e.size}));return i.size=r?o.max():o.min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=n.map((function(e){return e=y(e),M(i?e.reverse():e)})),a=0,s=!1;return new _((function(){var n;return s||(n=o.map((function(e){return e.next()})),s=r?n.every((function(e){return e.done})):n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:O(e,a++,t.apply(null,n.map((function(e){return e.value}))))}))},i}function Fe(e,t){return e===t?e:D(e)?t:e.constructor(t)}function Ne(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ie(e){return m(e)?b:g(e)?x:E}function Me(e){return Object.create((m(e)?B:g(e)?z:U).prototype)}function je(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):R.prototype.cacheResult.call(this)}function Le(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function Pe(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function Re(e,t){if(!e)throw new Error(t)}function Be(e){Re(e!==1/0,"Cannot perform this action with an infinite size.")}function ze(e){if(P(e)&&"string"!==typeof e)return e;if(k(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function Ue(e){return e&&("function"!==typeof e.constructor||"Object"===e.constructor.name)}function qe(e){return"object"===typeof e&&(w(e)||Array.isArray(e)||Ue(e))}function Ve(e){try{return"string"===typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function He(e,t){return w(e)?e.has(t):qe(e)&&L.call(e,t)}function We(e,t,n){return w(e)?e.get(t,n):He(e,t)?"function"===typeof e.get?e.get(t):e[t]:n}function Ge(e){if(Array.isArray(e))return Pe(e);var t={};for(var n in e)L.call(e,n)&&(t[n]=e[n]);return t}function Ke(e,t){if(!qe(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(w(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!L.call(e,t))return e;var n=Ge(e);return Array.isArray(n)?n.splice(t,1):delete n[t],n}function Je(e,t,n){if(!qe(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(w(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,n)}if(L.call(e,t)&&n===e[t])return e;var r=Ge(e);return r[t]=n,r}function Ye(e,t,n,i){i||(i=n,n=void 0);var o=function e(t,n,i,o,a,s){var u=n===r;if(o===i.length){var c=u?a:n,l=s(c);return l===c?n:l}if(!u&&!qe(n))throw new TypeError("Cannot update within non-data-structure value in path ["+i.slice(0,o).map(Ve)+"]: "+n);var p=i[o],f=u?r:We(n,p,r),d=e(f===r?t:w(f),f,i,o+1,a,s);return d===f?n:d===r?Ke(n,p):Je(u?t?Nt():{}:n,p,d)}(w(e),e,ze(t),0,n,i);return o===r?n:o}function Qe(e,t,n){return Ye(e,t,r,(function(){return n}))}function $e(e,t){return Qe(this,e,t)}function Xe(e,t){return Ye(e,t,(function(){return r}))}function Ze(e){return Xe(this,e)}function et(e,t,n,r){return Ye(e,[t],n,r)}function tt(e,t,n){return 1===arguments.length?e(this):et(this,e,t,n)}function nt(e,t,n){return Ye(this,e,t,n)}function rt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return ot(this,e)}function it(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"!==typeof e)throw new TypeError("Invalid merger function: "+e);return ot(this,t,e)}function ot(e,t,n){for(var i=[],o=0;o<t.length;o++){var a=b(t[o]);0!==a.size&&i.push(a)}return 0===i.length?e:0!==e.toSeq().size||e.__ownerID||1!==i.length?e.withMutations((function(e){for(var t=n?function(t,i){et(e,i,r,(function(e){return e===r?t:n(e,t,i)}))}:function(t,n){e.set(n,t)},o=0;o<i.length;o++)i[o].forEach(t)})):e.constructor(i[0])}function at(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return pt(e,t)}function st(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return pt(t,n,e)}function ut(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return lt(e,t)}function ct(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return lt(t,n,e)}function lt(e,t,n){return pt(e,t,function(e){return function t(n,r,i){return qe(n)&&qe(r)?pt(n,[r],t):e?e(n,r,i):r}}(n))}function pt(e,t,n){if(!qe(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(w(e))return"function"===typeof n&&e.mergeWith?e.mergeWith.apply(e,[n].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var r=Array.isArray(e),i=e,o=r?x:b,a=r?function(t){i===e&&(i=Ge(i)),i.push(t)}:function(t,r){var o=L.call(i,r),a=o&&n?n(i[r],t,r):t;o&&a===i[r]||(i===e&&(i=Ge(i)),i[r]=a)},s=0;s<t.length;s++)o(t[s]).forEach(a);return i}function ft(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return lt(this,e)}function dt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return lt(this,t,e)}function ht(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ye(this,e,Nt(),(function(e){return pt(e,t)}))}function mt(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ye(this,e,Nt(),(function(e){return lt(e,t)}))}function gt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function vt(){return this.__ownerID?this:this.__ensureOwner(new o)}function yt(){return this.__ensureOwner()}function bt(){return this.__altered}ge.prototype.cacheResult=me.prototype.cacheResult=ve.prototype.cacheResult=ye.prototype.cacheResult=je;var xt=function(e){function t(t){return null===t||void 0===t?Nt():Q(t)&&!k(t)?t:Nt().withMutations((function(n){var r=e(t);Be(r.size),r.forEach((function(e,t){return n.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Nt().withMutations((function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return It(this,e,t)},t.prototype.remove=function(e){return It(this,e,r)},t.prototype.deleteAll=function(e){var t=y(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Nt()},t.prototype.sort=function(e){return rn(Ae(this,e))},t.prototype.sortBy=function(e,t){return rn(Ae(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(n){n.forEach((function(r,i){n.set(i,e.call(t,r,i,n))}))}))},t.prototype.__iterator=function(e,t){return new Tt(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ft(this.size,this._root,e,this.__hash):0===this.size?Nt():(this.__ownerID=e,this.__altered=!1,this)},t}(b);xt.isMap=Q;var Et=xt.prototype;Et["@@__IMMUTABLE_MAP__@@"]=!0,Et.delete=Et.remove,Et.removeAll=Et.deleteAll,Et.setIn=$e,Et.removeIn=Et.deleteIn=Ze,Et.update=tt,Et.updateIn=nt,Et.merge=Et.concat=rt,Et.mergeWith=it,Et.mergeDeep=ft,Et.mergeDeepWith=dt,Et.mergeIn=ht,Et.mergeDeepIn=mt,Et.withMutations=gt,Et.wasAltered=bt,Et.asImmutable=yt,Et["@@transducer/init"]=Et.asMutable=vt,Et["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},Et["@@transducer/result"]=function(e){return e.asImmutable()};var Dt=function(e,t){this.ownerID=e,this.entries=t};Dt.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Z(n,i[o][0]))return i[o][1];return r},Dt.prototype.update=function(e,t,n,a,s,u,c){for(var l=s===r,p=this.entries,f=0,d=p.length;f<d&&!Z(a,p[f][0]);f++);var h=f<d;if(h?p[f][1]===s:l)return this;if(i(c),(l||!h)&&i(u),!l||1!==p.length){if(!h&&!l&&p.length>=Bt)return function(e,t,n,r){e||(e=new o);for(var i=new kt(e,re(n),[n,r]),a=0;a<t.length;a++){var s=t[a];i=i.update(e,0,void 0,s[0],s[1])}return i}(e,p,a,s);var m=e&&e===this.ownerID,g=m?p:Pe(p);return h?l?f===d-1?g.pop():g[f]=g.pop():g[f]=[a,s]:g.push([a,s]),m?(this.entries=g,this):new Dt(e,g)}};var Ct=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Ct.prototype.get=function(e,t,n,r){void 0===t&&(t=re(n));var i=1<<(31&(0===e?t:t>>>e)),o=this.bitmap;return 0===(o&i)?r:this.nodes[Pt(o&i-1)].get(e+5,t,n,r)},Ct.prototype.update=function(e,t,n,i,o,a,s){void 0===n&&(n=re(i));var u=31&(0===t?n:n>>>t),c=1<<u,l=this.bitmap,p=0!==(l&c);if(!p&&o===r)return this;var f=Pt(l&c-1),d=this.nodes,h=p?d[f]:void 0,m=Mt(h,e,t+5,n,i,o,a,s);if(m===h)return this;if(!p&&m&&d.length>=zt)return function(e,t,n,r,i){for(var o=0,a=new Array(32),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new wt(e,o+1,a)}(e,d,l,u,m);if(p&&!m&&2===d.length&&jt(d[1^f]))return d[1^f];if(p&&m&&1===d.length&&jt(m))return m;var g=e&&e===this.ownerID,v=p?m?l:l^c:l|c,y=p?m?Rt(d,f,m,g):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(d,f,g):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(d,f,m,g);return g?(this.bitmap=v,this.nodes=y,this):new Ct(e,v,y)};var wt=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};wt.prototype.get=function(e,t,n,r){void 0===t&&(t=re(n));var i=31&(0===e?t:t>>>e),o=this.nodes[i];return o?o.get(e+5,t,n,r):r},wt.prototype.update=function(e,t,n,i,o,a,s){void 0===n&&(n=re(i));var u=31&(0===t?n:n>>>t),c=o===r,l=this.nodes,p=l[u];if(c&&!p)return this;var f=Mt(p,e,t+5,n,i,o,a,s);if(f===p)return this;var d=this.count;if(p){if(!f&&--d<Ut)return function(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new Ct(e,i,a)}(e,l,d,u)}else d++;var h=e&&e===this.ownerID,m=Rt(l,u,f,h);return h?(this.count=d,this.nodes=m,this):new wt(e,d,m)};var St=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n};St.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(Z(n,i[o][0]))return i[o][1];return r},St.prototype.update=function(e,t,n,o,a,s,u){void 0===n&&(n=re(o));var c=a===r;if(n!==this.keyHash)return c?this:(i(u),i(s),Lt(this,e,t,n,[o,a]));for(var l=this.entries,p=0,f=l.length;p<f&&!Z(o,l[p][0]);p++);var d=p<f;if(d?l[p][1]===a:c)return this;if(i(u),(c||!d)&&i(s),c&&2===f)return new kt(e,this.keyHash,l[1^p]);var h=e&&e===this.ownerID,m=h?l:Pe(l);return d?c?p===f-1?m.pop():m[p]=m.pop():m[p]=[o,a]:m.push([o,a]),h?(this.entries=m,this):new St(e,this.keyHash,m)};var kt=function(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n};kt.prototype.get=function(e,t,n,r){return Z(n,this.entry[0])?this.entry[1]:r},kt.prototype.update=function(e,t,n,o,a,s,u){var c=a===r,l=Z(o,this.entry[0]);return(l?a===this.entry[1]:c)?this:(i(u),c?void i(s):l?e&&e===this.ownerID?(this.entry[1]=a,this):new kt(e,this.keyHash,[o,a]):(i(s),Lt(this,e,t,re(o),[o,a])))},Dt.prototype.iterate=St.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},Ct.prototype.iterate=wt.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},kt.prototype.iterate=function(e,t){return e(this.entry)};var At,Tt=function(e){function t(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ot(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n=t.node,r=t.index++,i=void 0;if(n.entry){if(0===r)return _t(e,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return _t(e,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var o=n.nodes[this._reverse?i-r:r];if(o){if(o.entry)return _t(e,o.entry);t=this._stack=Ot(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(_);function _t(e,t){return O(e,t[0],t[1])}function Ot(e,t){return{node:e,index:0,__prev:t}}function Ft(e,t,n,r){var i=Object.create(Et);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Nt(){return At||(At=Ft(0))}function It(e,t,n){var i,o;if(e._root){var a={value:!1},s={value:!1};if(i=Mt(e._root,e.__ownerID,0,void 0,t,n,a,s),!s.value)return e;o=e.size+(a.value?n===r?-1:1:0)}else{if(n===r)return e;o=1,i=new Dt(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=i,e.__hash=void 0,e.__altered=!0,e):i?Ft(o,i):Nt()}function Mt(e,t,n,o,a,s,u,c){return e?e.update(t,n,o,a,s,u,c):s===r?e:(i(c),i(u),new kt(t,o,[a,s]))}function jt(e){return e.constructor===kt||e.constructor===St}function Lt(e,t,n,r,i){if(e.keyHash===r)return new St(t,r,[e.entry,i]);var o,a=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n),u=a===s?[Lt(e,t,n+5,r,i)]:(o=new kt(t,r,i),a<s?[e,o]:[o,e]);return new Ct(t,1<<a|1<<s,u)}function Pt(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Rt(e,t,n,r){var i=r?e:Pe(e);return i[t]=n,i}var Bt=8,zt=16,Ut=8;function qt(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var Vt=function(e){function t(t){var n=Qt();if(null===t||void 0===t)return n;if(qt(t))return t;var r=e(t),i=r.size;return 0===i?n:(Be(i),i>0&&i<32?Yt(0,i,5,null,new Wt(r.toArray())):n.withMutations((function(e){e.setSize(i),r.forEach((function(t,n){return e.set(n,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=s(this,e))>=0&&e<this.size){var n=Zt(this,e+=this._origin);return n&&n.array[31&e]}return t},t.prototype.set=function(e,t){return function(e,t,n){if((t=s(e,t))!==t)return e;if(t>=e.size||t<0)return e.withMutations((function(e){t<0?en(e,t).set(0,n):en(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,i=e._root,o={value:!1};t>=tn(e._capacity)?r=$t(r,e.__ownerID,0,t,n,o):i=$t(i,e.__ownerID,e._level,t,n,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e;return Yt(e._origin,e._capacity,e._level,i,r)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Qt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){en(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])}))},t.prototype.pop=function(){return en(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations((function(t){en(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])}))},t.prototype.shift=function(){return en(this,1)},t.prototype.concat=function(){for(var t=arguments,n=[],r=0;r<arguments.length;r++){var i=t[r],o=e("string"!==typeof i&&N(i)?i:[i]);0!==o.size&&n.push(o)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations((function(e){n.forEach((function(t){return t.forEach((function(t){return e.push(t)}))}))})):this.constructor(n[0])},t.prototype.setSize=function(e){return en(this,0,e)},t.prototype.map=function(e,t){var n=this;return this.withMutations((function(r){for(var i=0;i<n.size;i++)r.set(i,e.call(t,r.get(i),i,r))}))},t.prototype.slice=function(e,t){var n=this.size;return c(e,t,n)?this:en(this,l(e,n),p(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=Jt(this,t);return new _((function(){var i=r();return i===Kt?{value:void 0,done:!0}:O(e,t?--n:n++,i)}))},t.prototype.__iterate=function(e,t){for(var n,r=t?this.size:0,i=Jt(this,t);(n=i())!==Kt&&!1!==e(n,t?--r:r++,this););return r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?Qt():(this.__ownerID=e,this.__altered=!1,this)},t}(x);Vt.isList=qt;var Ht=Vt.prototype;Ht["@@__IMMUTABLE_LIST__@@"]=!0,Ht.delete=Ht.remove,Ht.merge=Ht.concat,Ht.setIn=$e,Ht.deleteIn=Ht.removeIn=Ze,Ht.update=tt,Ht.updateIn=nt,Ht.mergeIn=ht,Ht.mergeDeepIn=mt,Ht.withMutations=gt,Ht.wasAltered=bt,Ht.asImmutable=yt,Ht["@@transducer/init"]=Ht.asMutable=vt,Ht["@@transducer/step"]=function(e,t){return e.push(t)},Ht["@@transducer/result"]=function(e){return e.asImmutable()};var Wt=function(e,t){this.array=e,this.ownerID=t};Wt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&31;if(r>=this.array.length)return new Wt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-5,n))===a&&o)return this}if(o&&!i)return this;var s=Xt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},Wt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&31;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-5,n))===o&&i===this.array.length-1)return this}var a=Xt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var Gt,Kt={};function Jt(e,t){var n=e._origin,r=e._capacity,i=tn(r),o=e._tail;return a(e._root,e._level,0);function a(e,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;c>32&&(c=32);return function(){if(u===c)return Kt;var e=t?--c:u++;return s&&s[e]}}(e,u):function(e,i,o){var s,u=e&&e.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==Kt)return e;s=null}if(c===l)return Kt;var n=t?--l:c++;s=a(u&&u[n],i-5,o+(n<<i))}}}(e,s,u)}}function Yt(e,t,n,r,i,o,a){var s=Object.create(Ht);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Qt(){return Gt||(Gt=Yt(0,0,5))}function $t(e,t,n,r,o,a){var s,u=r>>>n&31,c=e&&u<e.array.length;if(!c&&void 0===o)return e;if(n>0){var l=e&&e.array[u],p=$t(l,t,n-5,r,o,a);return p===l?e:((s=Xt(e,t)).array[u]=p,s)}return c&&e.array[u]===o?e:(a&&i(a),s=Xt(e,t),void 0===o&&u===s.array.length-1?s.array.pop():s.array[u]=o,s)}function Xt(e,t){return t&&e&&t===e.ownerID?e:new Wt(e?e.array.slice():[],t)}function Zt(e,t){if(t>=tn(e._capacity))return e._tail;if(t<1<<e._level+5){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&31],r-=5;return n}}function en(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new o,i=e._origin,a=e._capacity,s=i+t,u=void 0===n?a:n<0?a+n:i+n;if(s===i&&u===a)return e;if(s>=u)return e.clear();for(var c=e._level,l=e._root,p=0;s+p<0;)l=new Wt(l&&l.array.length?[void 0,l]:[],r),p+=1<<(c+=5);p&&(s+=p,i+=p,u+=p,a+=p);for(var f=tn(a),d=tn(u);d>=1<<c+5;)l=new Wt(l&&l.array.length?[l]:[],r),c+=5;var h=e._tail,m=d<f?Zt(e,u-1):d>f?new Wt([],r):h;if(h&&d>f&&s<a&&h.array.length){for(var g=l=Xt(l,r),v=c;v>5;v-=5){var y=f>>>v&31;g=g.array[y]=Xt(g.array[y],r)}g.array[f>>>5&31]=h}if(u<a&&(m=m&&m.removeAfter(r,0,u)),s>=d)s-=d,u-=d,c=5,l=null,m=m&&m.removeBefore(r,0,s);else if(s>i||d<f){for(p=0;l;){var b=s>>>c&31;if(b!==d>>>c&31)break;b&&(p+=(1<<c)*b),c-=5,l=l.array[b]}l&&s>i&&(l=l.removeBefore(r,c,s-p)),l&&d<f&&(l=l.removeAfter(r,c,d-p)),p&&(s-=p,u-=p)}return e.__ownerID?(e.size=u-s,e._origin=s,e._capacity=u,e._level=c,e._root=l,e._tail=m,e.__hash=void 0,e.__altered=!0,e):Yt(s,u,c,l,m)}function tn(e){return e<32?0:e-1>>>5<<5}var nn,rn=function(e){function t(e){return null===e||void 0===e?an():$(e)?e:an().withMutations((function(t){var n=b(e);Be(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):an()},t.prototype.set=function(e,t){return sn(this,e,t)},t.prototype.remove=function(e){return sn(this,e,r)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],n)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?on(t,n,e,this.__hash):0===this.size?an():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(xt);function on(e,t,n,r){var i=Object.create(rn.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function an(){return nn||(nn=on(Nt(),Qt()))}function sn(e,t,n){var i,o,a=e._map,s=e._list,u=a.get(t),c=void 0!==u;if(n===r){if(!c)return e;s.size>=32&&s.size>=2*a.size?(i=(o=s.filter((function(e,t){return void 0!==e&&u!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(i.__ownerID=o.__ownerID=e.__ownerID)):(i=a.remove(t),o=u===s.size-1?s.pop():s.set(u,void 0))}else if(c){if(n===s.get(u)[1])return e;i=a,o=s.set(u,[t,n])}else i=a.set(t,s.size),o=s.set(s.size,[t,n]);return e.__ownerID?(e.size=i.size,e._map=i,e._list=o,e.__hash=void 0,e):on(i,o)}rn.isOrderedMap=$,rn.prototype[S]=!0,rn.prototype.delete=rn.prototype.remove;function un(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var cn=function(e){function t(e){return null===e||void 0===e?dn():un(e)?e:dn().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=s(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):fn(t,n)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&un(t))return t;Be(t.size);var n=this.size,r=this._head;return t.__iterate((function(e){n++,r={value:e,next:r}}),!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):fn(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):dn()},t.prototype.slice=function(t,n){if(c(t,n,this.size))return this;var r=l(t,this.size);if(p(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var i=this.size-r,o=this._head;r--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):fn(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?fn(this.size,this._head,e,this.__hash):0===this.size?dn():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new q(this.toArray()).__iterate((function(t,r){return e(t,r,n)}),t);for(var r=0,i=this._head;i&&!1!==e(i.value,r++,this);)i=i.next;return r},t.prototype.__iterator=function(e,t){if(t)return new q(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new _((function(){if(r){var t=r.value;return r=r.next,O(e,n++,t)}return{value:void 0,done:!0}}))},t}(x);cn.isStack=un;var ln,pn=cn.prototype;function fn(e,t,n,r){var i=Object.create(pn);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function dn(){return ln||(ln=fn(0))}pn["@@__IMMUTABLE_STACK__@@"]=!0,pn.shift=pn.pop,pn.unshift=pn.push,pn.unshiftAll=pn.pushAll,pn.withMutations=gt,pn.wasAltered=bt,pn.asImmutable=yt,pn["@@transducer/init"]=pn.asMutable=vt,pn["@@transducer/step"]=function(e,t){return e.unshift(t)},pn["@@transducer/result"]=function(e){return e.asImmutable()};function hn(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function mn(e){return hn(e)&&k(e)}function gn(e,t){if(e===t)return!0;if(!h(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||m(e)!==m(t)||g(e)!==g(t)||k(e)!==k(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!v(e);if(k(e)){var i=e.entries();return t.every((function(e,t){var r=i.next().value;return r&&Z(r[1],e)&&(n||Z(r[0],t))}))&&i.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"===typeof e.cacheResult&&e.cacheResult();else{o=!0;var a=e;e=t,t=a}var s=!0,u=t.__iterate((function(t,i){if(n?!e.has(t):o?!Z(t,e.get(i,r)):!Z(e.get(i,r),t))return s=!1,!1}));return s&&e.size===u}function vn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function yn(e){if(!e||"object"!==typeof e)return e;if(!h(e)){if(!qe(e))return e;e=R(e)}if(m(e)){var t={};return e.__iterate((function(e,n){t[n]=yn(e)})),t}var n=[];return e.__iterate((function(e){n.push(yn(e))})),n}var bn=function(e){function t(t){return null===t||void 0===t?wn():hn(t)&&!k(t)?t:wn().withMutations((function(n){var r=e(t);Be(r.size),r.forEach((function(e){return n.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(b(e).keySeq())},t.intersect=function(e){return(e=y(e).toArray()).length?En.intersect.apply(t(e.pop()),e):wn()},t.union=function(e){return(e=y(e).toArray()).length?En.union.apply(t(e.pop()),e):wn()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return Dn(this,this._map.set(e,e))},t.prototype.remove=function(e){return Dn(this,this._map.remove(e))},t.prototype.clear=function(){return Dn(this,this._map.clear())},t.prototype.map=function(e,t){var n=this,r=[],i=[];return this.forEach((function(o){var a=e.call(t,o,o,n);a!==o&&(r.push(o),i.push(a))})),this.withMutations((function(e){r.forEach((function(t){return e.remove(t)})),i.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(n){for(var r=0;r<t.length;r++)e(t[r]).forEach((function(e){return n.add(e)}))})):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.every((function(t){return t.includes(e)}))||r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.subtract=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(0===t.length)return this;t=t.map((function(t){return e(t)}));var r=[];return this.forEach((function(e){t.some((function(t){return t.includes(e)}))&&r.push(e)})),this.withMutations((function(e){r.forEach((function(t){e.remove(t)}))}))},t.prototype.sort=function(e){return qn(Ae(this,e))},t.prototype.sortBy=function(e,t){return qn(Ae(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate((function(t){return e(t,t,n)}),t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(E);bn.isSet=hn;var xn,En=bn.prototype;function Dn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Cn(e,t){var n=Object.create(En);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function wn(){return xn||(xn=Cn(Nt()))}En["@@__IMMUTABLE_SET__@@"]=!0,En.delete=En.remove,En.merge=En.concat=En.union,En.withMutations=gt,En.asImmutable=yt,En["@@transducer/init"]=En.asMutable=vt,En["@@transducer/step"]=function(e,t){return e.add(t)},En["@@transducer/result"]=function(e){return e.asImmutable()},En.__empty=wn,En.__make=Cn;var Sn,kn=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(Re(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<e&&(r=-r),this._start=e,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-e)/r-1)+1),0===this.size){if(Sn)return Sn;Sn=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+s(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,n){return c(e,n,this.size)?this:(e=l(e,this.size),(n=p(n,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(n,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;o!==n&&!1!==e(i,t?n-++o:o++,this);)i+=t?-r:r;return o},t.prototype.__iterator=function(e,t){var n=this.size,r=this._step,i=t?this._start+(n-1)*r:this._start,o=0;return new _((function(){if(o===n)return{value:void 0,done:!0};var a=i;return i+=t?-r:r,O(e,t?n-++o:o++,a)}))},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:gn(this,e)},t}(z);function An(e,t,n){for(var i=ze(t),o=0;o!==i.length;)if((e=We(e,i[o++],r))===r)return n;return e}function Tn(e,t){return An(this,e,t)}function _n(e,t){return An(e,t,r)!==r}function On(){Be(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e}y.isIterable=h,y.isKeyed=m,y.isIndexed=g,y.isAssociative=v,y.isOrdered=k,y.Iterator=_,vn(y,{toArray:function(){Be(this.size);var e=new Array(this.size||0),t=m(this),n=0;return this.__iterate((function(r,i){e[n++]=t?[i,r]:r})),e},toIndexedSeq:function(){return new ge(this)},toJS:function(){return yn(this)},toKeyedSeq:function(){return new me(this,!0)},toMap:function(){return xt(this.toKeyedSeq())},toObject:On,toOrderedMap:function(){return rn(this.toKeyedSeq())},toOrderedSet:function(){return qn(m(this)?this.valueSeq():this)},toSet:function(){return bn(m(this)?this.valueSeq():this)},toSetSeq:function(){return new ve(this)},toSeq:function(){return g(this)?this.toIndexedSeq():m(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return cn(m(this)?this.valueSeq():this)},toList:function(){return Vt(m(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Fe(this,Se(this,e))},includes:function(e){return this.some((function(t){return Z(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Be(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1})),n},filter:function(e,t){return Fe(this,De(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Be(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Be(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Fe(this,xe(this,e,t))},reduce:function(e,t,n){return Mn(this,e,t,n,arguments.length<2,!1)},reduceRight:function(e,t,n){return Mn(this,e,t,n,arguments.length<2,!0)},reverse:function(){return Fe(this,Ee(this,!0))},slice:function(e,t){return Fe(this,Ce(this,e,t,!0))},some:function(e,t){return!this.every(Pn(e),t)},sort:function(e){return Fe(this,Ae(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return a(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=xt().asMutable();return e.__iterate((function(i,o){r.update(t.call(n,i,o,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return gn(this,e)},entrySeq:function(){var e=this;if(e._cache)return new q(e._cache);var t=e.toSeq().map(Ln).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Pn(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(u,null,e)},flatMap:function(e,t){return Fe(this,function(e,t,n){var r=Ie(e);return e.toSeq().map((function(i,o){return r(t.call(n,i,o,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Fe(this,ke(this,e,!0))},fromEntrySeq:function(){return new ye(this)},get:function(e,t){return this.find((function(t,n){return Z(n,e)}),void 0,t)},getIn:Tn,groupBy:function(e,t){return function(e,t,n){var r=m(e),i=(k(e)?rn():xt()).asMutable();e.__iterate((function(o,a){i.update(t.call(n,o,a,e),(function(e){return(e=e||[]).push(r?[a,o]:o),e}))}));var o=Ie(e);return i.map((function(t){return Fe(e,o(t))})).asImmutable()}(this,e,t)},has:function(e){return this.get(e,r)!==r},hasIn:function(e){return _n(this,e)},isSubset:function(e){return e="function"===typeof e.includes?e:y(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"===typeof e.isSubset?e:y(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return Z(t,e)}))},keySeq:function(){return this.toSeq().map(jn).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Te(this,e)},maxBy:function(e,t){return Te(this,t,e)},min:function(e){return Te(this,e?Rn(e):zn)},minBy:function(e,t){return Te(this,t?Rn(t):zn,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return Fe(this,we(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Pn(e),t)},sortBy:function(e,t){return Fe(this,Ae(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return Fe(this,function(e,t,n){var r=Me(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate((function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(2,i),s=!0;return new _((function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?2===r?e:O(r,u,c,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Pn(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=k(e),n=m(e),r=t?1:0;return function(e,t){return t=ee(t,3432918353),t=ee(t<<15|t>>>-15,461845907),t=ee(t<<13|t>>>-13,5),t=ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=te((t=ee(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Un(re(e),re(t))|0}:function(e,t){r=r+Un(re(e),re(t))|0}:t?function(e){r=31*r+re(e)|0}:function(e){r=r+re(e)|0}),r)}(this))}});var Fn=y.prototype;Fn["@@__IMMUTABLE_ITERABLE__@@"]=!0,Fn[T]=Fn.values,Fn.toJSON=Fn.toArray,Fn.__toStringMapper=Ve,Fn.inspect=Fn.toSource=function(){return this.toString()},Fn.chain=Fn.flatMap,Fn.contains=Fn.includes,vn(b,{flip:function(){return Fe(this,be(this))},mapEntries:function(e,t){var n=this,r=0;return Fe(this,this.toSeq().map((function(i,o){return e.call(t,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Fe(this,this.toSeq().flip().map((function(r,i){return e.call(t,r,i,n)})).flip())}});var Nn=b.prototype;Nn["@@__IMMUTABLE_KEYED__@@"]=!0,Nn[T]=Fn.entries,Nn.toJSON=On,Nn.__toStringMapper=function(e,t){return Ve(t)+": "+Ve(e)},vn(x,{toKeyedSeq:function(){return new me(this,!1)},filter:function(e,t){return Fe(this,De(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Fe(this,Ee(this,!1))},slice:function(e,t){return Fe(this,Ce(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(t||0,0),0===n||2===n&&!t)return this;e=l(e,e<0?this.count():this.size);var r=this.slice(0,e);return Fe(this,1===n?r:r.concat(Pe(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return Fe(this,ke(this,e,!1))},get:function(e,t){return(e=s(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=s(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Fe(this,function(e,t){var n=Me(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate((function(e){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)}),r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(1,r),a=0;return new _((function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?O(n,a++,t):O(n,a++,i.value,i)}))},n}(this,e))},interleave:function(){var e=[this].concat(Pe(arguments)),t=Oe(this.toSeq(),z.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Fe(this,n)},keySeq:function(){return kn(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return Fe(this,we(this,e,t,!1))},zip:function(){var e=[this].concat(Pe(arguments));return Fe(this,Oe(this,Bn,e))},zipAll:function(){var e=[this].concat(Pe(arguments));return Fe(this,Oe(this,Bn,e,!0))},zipWith:function(e){var t=Pe(arguments);return t[0]=this,Fe(this,Oe(this,e,t))}});var In=x.prototype;function Mn(e,t,n,r,i,o){return Be(e.size),e.__iterate((function(e,o,a){i?(i=!1,n=e):n=t.call(r,n,e,o,a)}),o),n}function jn(e,t){return t}function Ln(e,t){return[t,e]}function Pn(e){return function(){return!e.apply(this,arguments)}}function Rn(e){return function(){return-e.apply(this,arguments)}}function Bn(){return Pe(arguments)}function zn(e,t){return e<t?1:e>t?-1:0}function Un(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}In["@@__IMMUTABLE_INDEXED__@@"]=!0,In[S]=!0,vn(E,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),E.prototype.has=Fn.includes,E.prototype.contains=E.prototype.includes,vn(B,b.prototype),vn(z,x.prototype),vn(U,E.prototype);var qn=function(e){function t(e){return null===e||void 0===e?Gn():mn(e)?e:Gn().withMutations((function(t){var n=E(e);Be(n.size),n.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(b(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(bn);qn.isOrderedSet=mn;var Vn,Hn=qn.prototype;function Wn(e,t){var n=Object.create(Hn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Gn(){return Vn||(Vn=Wn(an()))}Hn[S]=!0,Hn.zip=In.zip,Hn.zipWith=In.zipWith,Hn.__empty=Gn,Hn.__make=Wn;var Kn=function(e,t){var n,r=function(o){var a=this;if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var s=Object.keys(e),u=i._indices={};i._name=t,i._keys=s,i._defaultValues=e;for(var c=0;c<s.length;c++){var l=s[c];u[l]=c,i[l]?"object"===typeof console&&console.warn&&console.warn("Cannot define "+Qn(this)+' with property "'+l+'" since that property name is part of the Record API.'):Xn(i,l)}}this.__ownerID=void 0,this._values=Vt().withMutations((function(e){e.setSize(a._keys.length),b(o).forEach((function(t,n){e.set(a._indices[n],t===a._defaultValues[n]?void 0:t)}))}))},i=r.prototype=Object.create(Jn);return i.constructor=r,t&&(r.displayName=t),r};Kn.prototype.toString=function(){for(var e,t=Qn(this)+" { ",n=this._keys,r=0,i=n.length;r!==i;r++)t+=(r?", ":"")+(e=n[r])+": "+Ve(this.get(e));return t+" }"},Kn.prototype.equals=function(e){return this===e||e&&this._keys===e._keys&&$n(this).equals($n(e))},Kn.prototype.hashCode=function(){return $n(this).hashCode()},Kn.prototype.has=function(e){return this._indices.hasOwnProperty(e)},Kn.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._indices[e],r=this._values.get(n);return void 0===r?this._defaultValues[e]:r},Kn.prototype.set=function(e,t){if(this.has(e)){var n=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(n!==this._values&&!this.__ownerID)return Yn(this,n)}return this},Kn.prototype.remove=function(e){return this.set(e)},Kn.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:Yn(this,e)},Kn.prototype.wasAltered=function(){return this._values.wasAltered()},Kn.prototype.toSeq=function(){return $n(this)},Kn.prototype.toJS=function(){return yn(this)},Kn.prototype.entries=function(){return this.__iterator(2)},Kn.prototype.__iterator=function(e,t){return $n(this).__iterator(e,t)},Kn.prototype.__iterate=function(e,t){return $n(this).__iterate(e,t)},Kn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?Yn(this,t,e):(this.__ownerID=e,this._values=t,this)},Kn.isRecord=C,Kn.getDescriptiveName=Qn;var Jn=Kn.prototype;function Yn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function Qn(e){return e.constructor.displayName||e.constructor.name||"Record"}function $n(e){return K(e._keys.map((function(t){return[t,e.get(t)]})))}function Xn(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){Re(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(n){}}Jn["@@__IMMUTABLE_RECORD__@@"]=!0,Jn.delete=Jn.remove,Jn.deleteIn=Jn.removeIn=Ze,Jn.getIn=Tn,Jn.hasIn=Fn.hasIn,Jn.merge=rt,Jn.mergeWith=it,Jn.mergeIn=ht,Jn.mergeDeep=ft,Jn.mergeDeepWith=dt,Jn.mergeDeepIn=mt,Jn.setIn=$e,Jn.update=tt,Jn.updateIn=nt,Jn.withMutations=gt,Jn.asMutable=vt,Jn.asImmutable=yt,Jn[T]=Jn.entries,Jn.toJSON=Jn.toObject=Fn.toObject,Jn.inspect=Jn.toSource=function(){return this.toString()};var Zn,er=function(e){function t(e,n){if(!(this instanceof t))return new t(e,n);if(this._value=e,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(Zn)return Zn;Zn=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},t.prototype.get=function(e,t){return this.has(e)?this._value:t},t.prototype.includes=function(e){return Z(this._value,e)},t.prototype.slice=function(e,n){var r=this.size;return c(e,n,r)?this:new t(this._value,p(n,r)-l(e,r))},t.prototype.reverse=function(){return this},t.prototype.indexOf=function(e){return Z(this._value,e)?0:-1},t.prototype.lastIndexOf=function(e){return Z(this._value,e)?this.size:-1},t.prototype.__iterate=function(e,t){for(var n=this.size,r=0;r!==n&&!1!==e(this._value,t?n-++r:r++,this););return r},t.prototype.__iterator=function(e,t){var n=this,r=this.size,i=0;return new _((function(){return i===r?{value:void 0,done:!0}:O(e,t?r-++i:i++,n._value)}))},t.prototype.equals=function(e){return e instanceof t?Z(this._value,e._value):gn(e)},t}(z);function tr(e,t){return function e(t,n,r,i,o,a){var s=Array.isArray(r)?z:Ue(r)?B:null;if(s){if(~t.indexOf(r))throw new TypeError("Cannot convert circular structure to Immutable");t.push(r),o&&""!==i&&o.push(i);var u=n.call(a,i,s(r).map((function(i,a){return e(t,n,i,a,o,r)})),o&&o.slice());return t.pop(),o&&o.pop(),u}return r}([],t||nr,e,"",t&&t.length>2?[]:void 0,{"":e})}function nr(e,t){return m(t)?t.toMap():t.toList()}var rr="4.0.0-rc.11",ir={version:rr,Collection:y,Iterable:y,Seq:R,Map:xt,OrderedMap:rn,List:Vt,Stack:cn,Set:bn,OrderedSet:qn,Record:Kn,Range:kn,Repeat:er,is:Z,fromJS:tr,hash:re,isImmutable:w,isCollection:h,isKeyed:m,isIndexed:g,isAssociative:v,isOrdered:k,isValueObject:X,isSeq:D,isList:qt,isMap:Q,isOrderedMap:$,isStack:un,isSet:hn,isOrderedSet:mn,isRecord:C,get:We,getIn:An,has:He,hasIn:_n,merge:at,mergeDeep:ut,mergeWith:st,mergeDeepWith:ct,remove:Ke,removeIn:Xe,set:Je,setIn:Qe,update:et,updateIn:Ye},or=y;t.default=ir},function(e,t,n){"use strict";var r=n(102),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===o.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);function o(e,t){return function(n){var r;return(r={})[e]=n||t,r}}t.editQuery=(r=i.createActions({EDIT_QUERY:function(e){return{query:e}},EDIT_HEADERS:o("headers"),EDIT_ENDPOINT:o("endpoint"),EDIT_VARIABLES:o("variables"),SET_OPERATION_NAME:o("operationName"),SET_VARIABLE_TO_TYPE:o("variableToType"),SET_OPERATIONS:o("operations"),SET_EDITOR_FLEX:o("editorFlex"),EDIT_NAME:o("name"),OPEN_QUERY_VARIABLES:function(){return{queryVariablesActive:!0}},CLOSE_QUERY_VARIABLES:function(){return{queryVariablesActive:!1}},SET_VARIABLE_EDITOR_HEIGHT:o("variableEditorHeight"),SET_RESPONSE_TRACING_HEIGHT:o("responceTracingHeight"),SET_TRACING_SUPPORTED:o("tracingSupported"),SET_SUBSCRIPTION_ACTIVE:o("subscriptionActive"),SET_QUERY_TYPES:o("queryTypes"),SET_RESPONSE_EXTENSIONS:o("responseExtensions"),SET_CURRENT_QUERY_START_TIME:o("currentQueryStartTime"),SET_CURRENT_QUERY_END_TIME:o("currentQueryEndTime"),UPDATE_QUERY_FACTS:o(),PRETTIFY_QUERY:o(),INJECT_HEADERS:function(e,t){return{headers:e,endpoint:t}},CLOSE_TRACING:o("responseTracingHeight"),OPEN_TRACING:o("responseTracingHeight"),TOGGLE_TRACING:o(),CLOSE_VARIABLES:o("variableEditorHeight"),OPEN_VARIABLES:o("variableEditorHeight"),TOGGLE_VARIABLES:o(),ADD_RESPONSE:function(e,t,n){return{workspaceId:e,sessionId:t,response:n}},SET_RESPONSE:function(e,t,n){return{workspaceId:e,sessionId:t,response:n}},CLEAR_RESPONSES:o(),FETCH_SCHEMA:o(),REFETCH_SCHEMA:o(),SET_ENDPOINT_UNREACHABLE:o("endpoint"),SET_SCROLL_TOP:function(e,t){return{sessionId:e,scrollTop:t}},SCHEMA_FETCHING_SUCCESS:function(e,t,n){return{endpoint:e,tracingSupported:t,isPollingSchema:n}},SCHEMA_FETCHING_ERROR:function(e,t){return{endpoint:e,error:t}},RENEW_STACKS:o(),RUN_QUERY:function(e){return{operationName:e}},QUERY_SUCCESS:o(),QUERY_ERROR:o(),RUN_QUERY_AT_POSITION:function(e){return{position:e}},START_QUERY:o("queryRunning",!0),STOP_QUERY:function(e,t){return{workspaceId:t,sessionId:e}},OPEN_SETTINGS_TAB:function(){return{}},OPEN_CONFIG_TAB:function(){return{}},NEW_SESSION:function(e,t){return{endpoint:e,reuseHeaders:t}},NEW_SESSION_FROM_QUERY:function(e){return{query:e}},NEW_FILE_TAB:function(e,t,n){return{fileName:e,filePath:t,file:n}},DUPLICATE_SESSION:o("session"),CLOSE_SELECTED_TAB:function(){return{}},SELECT_NEXT_TAB:function(){return{}},SELECT_PREV_TAB:function(){return{}},SELECT_TAB:o("sessionId"),SELECT_TAB_INDEX:o("index"),CLOSE_TAB:o("sessionId"),REORDER_TABS:function(e,t){return{src:e,dest:t}},EDIT_SETTINGS:o(),SAVE_SETTINGS:o(),EDIT_CONFIG:o(),SAVE_CONFIG:o(),EDIT_FILE:o(),SAVE_FILE:o()})).editQuery,t.editVariables=r.editVariables,t.setOperationName=r.setOperationName,t.editHeaders=r.editHeaders,t.editEndpoint=r.editEndpoint,t.setVariableToType=r.setVariableToType,t.setOperations=r.setOperations,t.startQuery=r.startQuery,t.stopQuery=r.stopQuery,t.setEditorFlex=r.setEditorFlex,t.openQueryVariables=r.openQueryVariables,t.closeQueryVariables=r.closeQueryVariables,t.setVariableEditorHeight=r.setVariableEditorHeight,t.setResponseTracingHeight=r.setResponseTracingHeight,t.setTracingSupported=r.setTracingSupported,t.closeTracing=r.closeTracing,t.openTracing=r.openTracing,t.closeVariables=r.closeVariables,t.openVariables=r.openVariables,t.addResponse=r.addResponse,t.setResponse=r.setResponse,t.clearResponses=r.clearResponses,t.openSettingsTab=r.openSettingsTab,t.schemaFetchingSuccess=r.schemaFetchingSuccess,t.schemaFetchingError=r.schemaFetchingError,t.setEndpointUnreachable=r.setEndpointUnreachable,t.renewStacks=r.renewStacks,t.runQuery=r.runQuery,t.prettifyQuery=r.prettifyQuery,t.fetchSchema=r.fetchSchema,t.updateQueryFacts=r.updateQueryFacts,t.runQueryAtPosition=r.runQueryAtPosition,t.toggleTracing=r.toggleTracing,t.toggleVariables=r.toggleVariables,t.newSession=r.newSession,t.newSessionFromQuery=r.newSessionFromQuery,t.newFileTab=r.newFileTab,t.closeTab=r.closeTab,t.closeSelectedTab=r.closeSelectedTab,t.editSettings=r.editSettings,t.saveSettings=r.saveSettings,t.editConfig=r.editConfig,t.saveConfig=r.saveConfig,t.editFile=r.editFile,t.saveFile=r.saveFile,t.selectTab=r.selectTab,t.selectTabIndex=r.selectTabIndex,t.selectNextTab=r.selectNextTab,t.selectPrevTab=r.selectPrevTab,t.duplicateSession=r.duplicateSession,t.querySuccess=r.querySuccess,t.queryError=r.queryError,t.setSubscriptionActive=r.setSubscriptionActive,t.setQueryTypes=r.setQueryTypes,t.injectHeaders=r.injectHeaders,t.openConfigTab=r.openConfigTab,t.editName=r.editName,t.setResponseExtensions=r.setResponseExtensions,t.setCurrentQueryStartTime=r.setCurrentQueryStartTime,t.setCurrentQueryEndTime=r.setCurrentQueryEndTime,t.refetchSchema=r.refetchSchema,t.setScrollTop=r.setScrollTop,t.reorderTabs=r.reorderTabs},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(288),a=n(134),s=n(109),u=n(186),c=n(331),l=n(33),p=n(187),f=n(332),d=n(26),h=n(188),m=n(136);function g(e){return e.get("selectedWorkspace")}t.getSelectedWorkspaceId=g,t.getSelectedWorkspace=function(e){return e.getIn(["workspaces",g(e)])};var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(l.Record({docs:l.Map({}),sessions:s.makeSessionState(""),sharing:new u.SharingState,history:l.OrderedMap()}));t.Workspace=v,t.defaultSettings={"editor.cursorShape":"line","editor.fontFamily":"'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace","editor.fontSize":14,"editor.reuseHeaders":!0,"editor.theme":"dark","general.betaUpdates":!1,"prettier.printWidth":80,"prettier.tabWidth":2,"prettier.useTabs":!1,"request.credentials":"omit","schema.disableComments":!0,"schema.polling.enable":!0,"schema.polling.endpointFilter":"*localhost*","schema.polling.interval":2e3,"tracing.hideTracingResponse":!0};var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(l.Record({workspaces:l.Map({"":x("")}),selectedWorkspace:"",settingsString:JSON.stringify(t.defaultSettings,null,2),stateInjected:!1,appHistory:new m.AppHistory,general:new p.GeneralState}));t.RootState=y;var b=o.combineReducers({docs:a.default,sessions:s.default,sharing:u.default,history:c.default,general:p.default,appHistory:m.default});function x(e){var t,n=s.makeSessionState(e);return new v({docs:l.Map((t={},t[n.selectedSessionId]=new a.DocsSession,t)),sessions:n,sharing:new u.SharingState,history:l.OrderedMap()})}function E(e){try{return function(e){var n=e["editor.theme"];return"dark"!==n&&"light"!==n&&(e["editor.theme"]="dark"),i(i({},t.defaultSettings),e)}(JSON.parse(e))}catch(n){return t.defaultSettings}}t.rootReducer=function(e,t){if(void 0===e&&(e=new y),"SELECT_WORKSPACE"===t.type)return e.set("selectedWorkspace",t.payload.workspace);if("SET_SETTINGS_STRING"===t.type)return e.set("settingsString",t.payload.settingsString);if("INIT_STATE"===t.type&&!e.stateInjected){var n=t.payload,r=n.workspaceId,o=n.endpoint;return e.workspaces.get(r)?e.set("selectedWorkspace",r):e.setIn(["workspaces",r],x(o)).set("selectedWorkspace",r)}if("INJECT_STATE"===t.type)return h.deserializePersistedState(t.payload.state).set("stateInjected",!0);if("INJECT_TABS"===t.type)return function(e){var t=e[0].endpoint,n=l.OrderedMap(e.map(s.sessionFromTab).reduce((function(e,t){var n;return i(i({},e),((n={})[t.id]=t,n))}),{})),r=n.first().id,o=x(t).setIn(["sessions","sessions"],n).setIn(["sessions","selectedSessionId"],r);return(new y).setIn(["workspaces",t],o).set("selectedWorkspace",t)}(t.payload.tabs);if("SELECT_APP_HISTORY_ITEM"===t.type)return e.set("appHistory",m.default(e.appHistory,t));if({OPEN_HISTORY:!0,CLOSE_HISTORY:!0,SET_ENDPOINT_DISABLED:!0,SET_CONFIG_STRING:!0}[t.type])return e.set("general",p.default(e.general,t));var a=["workspaces",t.payload&&t.payload.workspaceId?t.payload.workspaceId:g(e)];return e.setIn(a,b(e.getIn(a),t))},t.makeWorkspace=x,t.default=t.rootReducer,t.getSessionCounts=f.immutableMemoize((function(e){return e.workspaces.map((function(e){return e.sessions.sessionCount}))})),t.getSettingsString=function(e){return e.settingsString},t.getSettings=d.createSelector([t.getSettingsString],E),t.normalizeSettingsString=function(e){return JSON.stringify(E(e),null,2)},t.getTheme=function(e,n){return(n||t.getSettings(e))["editor.theme"]||"dark"}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));function r(e,t){var n="string"===typeof e?[e,t]:[void 0,e],r=n[0],i=n[1],o=" Did you mean ";switch(r&&(o+=r+" "),i.length){case 0:return"";case 1:return o+i[0]+"?";case 2:return o+i[0]+" or "+i[1]+"?"}var a=i.slice(0,5),s=a.pop();return o+a.join(", ")+", or "+s+"?"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(52);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];t[a]=s}return t}},function(e,t,n){"use strict";var r=n(267),i=n.n(r).a;t.a=i},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=Object.create(null),r=e.length/2,o=0;o<t.length;o++){var a=t[o],s=i(e,a);s<=Math.max(r,a.length/2,1)&&(n[a]=s)}return Object.keys(n).sort((function(e,t){return n[e]-n[t]}))}function i(e,t){if(e===t)return 0;var n=[],r=e.toLowerCase(),i=t.toLowerCase(),o=r.length,a=i.length;if(r===i)return 1;for(var s=0;s<=o;s++)n[s]=[s];for(var u=1;u<=a;u++)n[0][u]=u;for(var c=1;c<=o;c++)for(var l=1;l<=a;l++){var p=r[c-1]===i[l-1]?0:1;n[c][l]=Math.min(n[c-1][l]+1,n[c][l-1]+1,n[c-1][l-1]+p),c>1&&l>1&&r[c-1]===i[l-2]&&r[c-2]===i[l-1]&&(n[c][l]=Math.min(n[c][l],n[c-2][l-2]+p))}return n[o][a]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return void 0===e||e!==e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return m}));var r="function"===typeof Symbol?Symbol:void 0,i=r&&r.iterator,o=i||"@@iterator";function a(e){var t=null!=e&&e.length;return"number"===typeof t&&t>=0&&t%1===0}function s(e){return Object(e)===e&&(a(e)||function(e){return!!c(e)}(e))}function u(e){var t=c(e);if(t)return t.call(e)}function c(e){if(null!=e){var t=i&&e[i]||e["@@iterator"];if("function"===typeof t)return t}}function l(e){this._o=e,this._i=0}function p(e,t,n){if(null!=e){if("function"===typeof e.forEach)return e.forEach(t,n);var r=0,i=u(e);if(i){for(var o;!(o=i.next()).done;)if(t.call(n,o.value,r++,e),r>9999999)throw new TypeError("Near-infinite iteration.")}else if(a(e))for(;r<e.length;r++)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}}l.prototype[o]=function(){return this},l.prototype.next=function(){return void 0===this._o||this._i>=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}};var f=r&&r.asyncIterator,d=f||"@@asyncIterator";function h(e){return!!g(e)}function m(e){var t=g(e);if(t)return t.call(e)}function g(e){if(null!=e){var t=f&&e[f]||e["@@asyncIterator"];if("function"===typeof t)return t}}function v(e){this._i=e}function y(e,t,n){var r;return new Promise((function(i){i((r=e[t](n)).value)})).then((function(e){return{value:e,done:r.done}}))}v.prototype[d]=function(){return this},v.prototype.next=function(e){return y(this._i,"next",e)},v.prototype.return=function(e){return this._i.return?y(this._i,"return",e):Promise.resolve({value:e,done:!0})},v.prototype.throw=function(e){return this._i.throw?y(this._i,"throw",e):Promise.reject(e)}},function(e,t,n){"use strict";function r(e){"function"===typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(104);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e,t,n){return new r.a("Syntax Error: ".concat(n),void 0,e,[t])}},function(e,t,n){"use strict";n.r(t),n.d(t,"combineActions",(function(){return p})),n.d(t,"createAction",(function(){return h})),n.d(t,"createActions",(function(){return F})),n.d(t,"createCurriedAction",(function(){return P})),n.d(t,"handleAction",(function(){return R})),n.d(t,"handleActions",(function(){return U}));var r=n(39),i=n.n(r),o=function(e){return"function"===typeof e},a=function(e){return 0===e.length},s=function(e){return e.toString()},u=function(e){return"string"===typeof e};function c(e){return u(e)||o(e)||("symbol"===typeof(t=e)||"object"===typeof t&&"[object Symbol]"===Object.prototype.toString.call(t));var t}function l(e){return!a(e)&&e.every(c)}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i()(l(t),"Expected action types to be strings, symbols, or action creators");var r=t.map(s).join("||");return{toString:function(){return r}}}var f=function(e){return e},d=function(e){return null===e};function h(e,t,n){void 0===t&&(t=f),i()(o(t)||d(t),"Expected payloadCreator to be a function, undefined or null");var r=d(t)||t===f?f:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e instanceof Error?e:t.apply(void 0,[e].concat(r))},a=o(n),s=e.toString(),u=function(){var t=r.apply(void 0,arguments),i={type:e};return t instanceof Error&&(i.error=!0),void 0!==t&&(i.payload=t),a&&(i.meta=n.apply(void 0,arguments)),i};return u.toString=function(){return s},u}var m=function(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},g=function(e){return Array.isArray(e)},v=function(e){return null===e||void 0===e},y=function(e){return e[e.length-1]},b=n(167),x=n.n(b),E=function(e){return-1===e.indexOf("/")?x()(e):e.split("/").map(x.a).join("/")},D=function(e,t){return e.reduce((function(e,n){return t(e,n)}),{})},C=function(e){return"undefined"!==typeof Map&&e instanceof Map};function w(e){if(C(e))return Array.from(e.keys());if("undefined"!==typeof Reflect&&"function"===typeof Reflect.ownKeys)return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);return"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t}function S(e,t){return C(t)?t.get(e):t[e]}var k=function(e){return function t(n,r,i,o){var a=void 0===r?{}:r,s=a.namespace,u=void 0===s?"/":s,c=a.prefix;return void 0===i&&(i={}),void 0===o&&(o=""),w(n).forEach((function(r){var a=function(e){return o||!c||c&&new RegExp("^"+c+u).test(e)?e:""+c+u+e}(function(e){var t;if(!o)return e;var n=e.toString().split("||"),r=o.split("||");return(t=[]).concat.apply(t,r.map((function(e){return n.map((function(t){return""+e+u+t}))}))).join("||")}(r)),s=S(r,n);e(s)?t(s,{namespace:u,prefix:c},i,a):i[a]=s})),i}},A=k(m);function T(e,t){var n=void 0===t?{}:t,r=n.namespace,i=void 0===r?"/":r,o=n.prefix;var s={};return Object.getOwnPropertyNames(e).forEach((function(t){var n=o?t.replace(""+o+i,""):t;return function t(n,r,i){var o=E(i.shift());a(i)?r[o]=e[n]:(r[o]||(r[o]={}),t(n,r[o],i))}(t,s,n.split(i))})),s}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=m(y(n))?n.pop():{};return i()(n.every(u)&&(u(e)||m(e)),"Expected optional object followed by string action types"),u(e)?M([e].concat(n),o):_({},N(e,o),M(n,o))}function N(e,t){return T(I(A(e,t)),t)}function I(e,t){var n=void 0===t?{}:t,r=n.prefix,a=n.namespace,s=void 0===a?"/":a;return D(Object.keys(e),(function(t,n){var a,u=e[n];i()(function(e){if(o(e)||v(e))return!0;if(g(e)){var t=e[0],n=void 0===t?f:t,r=e[1];return o(n)&&o(r)}return!1}(u),"Expected function, undefined, null, or array with payload and meta functions for "+n);var c=r?""+r+s+n:n,l=g(u)?h.apply(void 0,[c].concat(u)):h(c,u);return _({},t,((a={})[n]=l,a))}))}function M(e,t){var n=I(D(e,(function(e,t){var n;return _({},e,((n={})[t]=f,n))})),t);return D(Object.keys(n),(function(e,t){var r;return _({},e,((r={})[E(t)]=n[t],r))}))}var j=n(266),L=n.n(j),P=function(e,t){return L()(h(e,t),t.length)};function R(e,t,n){void 0===t&&(t=f);var r=s(e).split("||");i()(!(void 0===n),"defaultState for reducer handling "+r.join(", ")+" should be defined"),i()(o(t)||m(t),"Expected reducer to be a function or object with next and throw reducers");var a=o(t)?[t,t]:[t.next,t.throw].map((function(e){return v(e)?f:e})),u=a[0],c=a[1];return function(e,t){void 0===e&&(e=n);var i=t.type;return i&&-1!==r.indexOf(s(i))?(!0===t.error?c:u)(e,t):e}}var B=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="function"!==typeof t[t.length-1]&&t.pop(),i=t;if("undefined"===typeof r)throw new TypeError("The initial state may not be undefined. If you do not want to set a value for this reducer, you can use null instead of undefined.");return function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var s="undefined"===typeof e,u="undefined"===typeof t;return s&&u&&r?r:i.reduce((function(e,n){return n.apply(void 0,[e,t].concat(o))}),s&&!u&&r?r:e)}};var z=k((function(e){return(m(e)||C(e))&&!function(e){var t=w(e),n=t.every((function(e){return"next"===e||"throw"===e}));return t.length&&t.length<=2&&n}(e)}));function U(e,t,n){void 0===n&&(n={}),i()(m(e)||C(e),"Expected handlers to be a plain object.");var r=z(e,n),o=w(r).map((function(e){return R(e,S(e,r),t)})),a=B.apply(void 0,o.concat([t]));return function(e,n){return void 0===e&&(e=t),a(e,n)}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return g}));var r=n(58),i=n(12),o=n(2),a=n(41),s=n(7),u=n(55),c=n(27),l=n(47),p=n(11),f=n(17),d=n(0);function h(e){return Object(u.a)(e,g)}function m(e){if(!h(e))throw new Error("Expected ".concat(Object(o.a)(e)," to be a GraphQL schema."));return e}var g=function(){function e(e){e&&e.assumeValid?this.__validationErrors=[]:(this.__validationErrors=void 0,Object(c.a)(e)||Object(s.a)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||Object(s.a)(0,'"types" must be Array if provided but got: '.concat(Object(o.a)(e.types),".")),!e.directives||Array.isArray(e.directives)||Object(s.a)(0,'"directives" must be Array if provided but got: '+"".concat(Object(o.a)(e.directives),".")),!e.allowedLegacyNames||Array.isArray(e.allowedLegacyNames)||Object(s.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+"".concat(Object(o.a)(e.allowedLegacyNames),"."))),this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this.__allowedLegacyNames=e.allowedLegacyNames||[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=e.directives||f.i;var t=[this._queryType,this._mutationType,this._subscriptionType,p.__Schema].concat(e.types),n=Object.create(null);n=t.reduce(v,n),n=this._directives.reduce(y,n),this._typeMap=n,this._possibleTypeMap=Object.create(null),this._implementations=Object.create(null);for(var r=0,u=Object(i.a)(this._typeMap);r<u.length;r++){var l=u[r];if(Object(d.N)(l))for(var h=0,m=l.getInterfaces();h<m.length;h++){var g=m[h];if(Object(d.H)(g)){var b=this._implementations[g.name];b?b.push(l):this._implementations[g.name]=[l]}}}}var t=e.prototype;return t.getQueryType=function(){return this._queryType},t.getMutationType=function(){return this._mutationType},t.getSubscriptionType=function(){return this._subscriptionType},t.getTypeMap=function(){return this._typeMap},t.getType=function(e){return this.getTypeMap()[e]},t.getPossibleTypes=function(e){return Object(d.T)(e)?e.getTypes():this._implementations[e.name]||[]},t.isPossibleType=function(e,t){if(null==this._possibleTypeMap[e.name]){for(var n=Object.create(null),r=0,i=this.getPossibleTypes(e);r<i.length;r++){n[i[r].name]=!0}this._possibleTypeMap[e.name]=n}return Boolean(this._possibleTypeMap[e.name][t.name])},t.getDirectives=function(){return this._directives},t.getDirective=function(e){return Object(r.a)(this.getDirectives(),(function(t){return t.name===e}))},t.toConfig=function(){return{query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object(i.a)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[],assumeValid:void 0!==this.__validationErrors,allowedLegacyNames:this.__allowedLegacyNames}},e}();function v(e,t){if(!t)return e;var n=Object(d.A)(t),r=e[n.name];if(r){if(r!==n)throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(n.name,'".'));return e}e[n.name]=n;var o=e;if(Object(d.T)(n)&&(o=n.getTypes().reduce(v,o)),Object(d.N)(n)&&(o=n.getInterfaces().reduce(v,o)),Object(d.N)(n)||Object(d.H)(n))for(var a=0,s=Object(i.a)(n.getFields());a<s.length;a++){var u=s[a];o=v(o=u.args.map((function(e){return e.type})).reduce(v,o),u.type)}if(Object(d.F)(n))for(var c=0,l=Object(i.a)(n.getFields());c<l.length;c++){o=v(o,l[c].type)}return o}function y(e,t){return Object(f.g)(t)?t.args.reduce((function(e,t){return v(e,t.type)}),e):e}Object(l.a)(g)},function(e,t,n){"use strict";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"i",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"h",(function(){return p})),n.d(t,"e",(function(){return f}));var r=n(1);function i(e){return o(e)||c(e)||p(e)}function o(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function a(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function s(e){return e.kind===r.a.VARIABLE||e.kind===r.a.INT||e.kind===r.a.FLOAT||e.kind===r.a.STRING||e.kind===r.a.BOOLEAN||e.kind===r.a.NULL||e.kind===r.a.ENUM||e.kind===r.a.LIST||e.kind===r.a.OBJECT}function u(e){return e.kind===r.a.NAMED_TYPE||e.kind===r.a.LIST_TYPE||e.kind===r.a.NON_NULL_TYPE}function c(e){return e.kind===r.a.SCHEMA_DEFINITION||l(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function l(e){return e.kind===r.a.SCALAR_TYPE_DEFINITION||e.kind===r.a.OBJECT_TYPE_DEFINITION||e.kind===r.a.INTERFACE_TYPE_DEFINITION||e.kind===r.a.UNION_TYPE_DEFINITION||e.kind===r.a.ENUM_TYPE_DEFINITION||e.kind===r.a.INPUT_OBJECT_TYPE_DEFINITION}function p(e){return e.kind===r.a.SCHEMA_EXTENSION||f(e)}function f(e){return e.kind===r.a.SCALAR_TYPE_EXTENSION||e.kind===r.a.OBJECT_TYPE_EXTENSION||e.kind===r.a.INTERFACE_TYPE_EXTENSION||e.kind===r.a.UNION_TYPE_EXTENSION||e.kind===r.a.ENUM_TYPE_EXTENSION||e.kind===r.a.INPUT_OBJECT_TYPE_EXTENSION}},function(e,t,n){"use strict";var r=Array.prototype.flatMap,i=r?function(e,t){return r.call(e,t)}:function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r]);Array.isArray(i)?n=n.concat(i):n.push(i)}return n};t.a=i},function(e,t,n){"use strict";t.a=function(e,t){return e instanceof t}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=function(e){var t=e.title,n=e.children,r=i(e,["title","children"]);return o.createElement("svg",r,t?o.createElement("title",null,t):void 0,n)};t.AddIcon=function(e){return o.createElement(a,r({},e,{viewBox:"0 0 50 50"}),o.createElement("line",{x1:"25",y1:"13.1",x2:"25",y2:"36.9"}),o.createElement("line",{x1:"36.9",y1:"25",x2:"13.1",y2:"25"}))},t.AddFullIcon=function(e){return o.createElement(a,r({x:"0px",y:"0px",viewBox:"-1 3 50 50"},e),o.createElement("line",{x1:"24",y1:"7.27",x2:"24",y2:"48.73"}),o.createElement("line",{x1:"44.73",y1:"28",x2:"3.27",y2:"28"}))},t.FullArrowRightIcon=function(e){return o.createElement(a,r({},e,{viewBox:"0 0 14 11"}),o.createElement("path",{d:"M13.32,4.97L8.99,0.64c-0.29-0.29-0.77-0.29-1.06,0s-0.29,0.77,0,1.06l2.97,2.97H1.21 C0.8,4.67,0.46,5,0.46,5.42S0.8,6.17,1.21,6.17h9.85L7.93,9.3c-0.29,0.29-0.29,0.77,0,1.06c0.15,0.15,0.34,0.22,0.53,0.22 s0.38-0.07,0.53-0.22l4.33-4.33C13.61,5.74,13.61,5.26,13.32,4.97z"}))},t.SettingsIcon=function(e){return o.createElement(a,r({},e,{viewBox:"0 0 50 50"}),o.createElement("path",{d:"M48,21h-5.71c-0.4-1.58-0.91-3.33-1.56-4.66l4.06-4.06c0.19-0.19,0.29-0.44,0.29-0.71 c0-0.27-0.11-0.52-0.29-0.71L39.14,5.2c-0.39-0.39-1.02-0.39-1.41,0l-4.06,4.06C32.33,8.62,30.58,8.11,29,7.71V2c0-0.55-0.45-1-1-1 h-6c-0.55,0-1,0.45-1,1v5.71c-1.58,0.4-3.33,0.91-4.66,1.55L12.27,5.2c-0.39-0.39-1.02-0.39-1.41,0L5.2,10.86 c-0.39,0.39-0.39,1.02,0,1.41l4.07,4.07C8.62,17.66,8.11,19.42,7.71,21H2c-0.55,0-1,0.45-1,1v6c0,0.55,0.45,1,1,1h5.71 c0.4,1.58,0.91,3.34,1.56,4.66L5.2,37.73c-0.19,0.19-0.29,0.44-0.29,0.71s0.11,0.52,0.29,0.71l5.66,5.66c0.38,0.38,1.04,0.38,1.41,0 l4.07-4.06c1.32,0.65,3.08,1.15,4.66,1.56V48c0,0.55,0.45,1,1,1h6c0.55,0,1-0.45,1-1v-5.71c1.58-0.4,3.34-0.91,4.66-1.56l4.07,4.06 c0.39,0.39,1.02,0.39,1.41,0l5.66-5.66c0.39-0.39,0.39-1.02,0-1.41l-4.06-4.07c0.65-1.33,1.16-3.08,1.56-4.66H48c0.55,0,1-0.45,1-1 v-6C49,21.45,48.55,21,48,21 M25,33c-4.41,0-8-3.59-8-8s3.59-8,8-8s8,3.59,8,8S29.41,33,25,33"}))},t.CrossIcon=function(e){return o.createElement(a,r({},e,{viewBox:"0 0 50 50"}),o.createElement("line",{x1:"4",y1:"4",x2:"46",y2:"46"}),o.createElement("line",{x1:"46",y1:"4",x2:"4",y2:"46"}))},t.ArrowRight=function(e){return o.createElement(a,r({width:14,height:11},e,{viewBox:"-1 -1 14 11"}),o.createElement("path",{d:"M5,8.79825579 L5,-1.79402089",id:"Stroke-3",stroke:"#FFFFFF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",transform:"translate(5.750000, 3.502117) rotate(-90.000000) translate(-5.750000, -3.502117) "}),o.createElement("polyline",{id:"Stroke-5",stroke:"#FFFFFF",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",transform:"translate(9.868295, 4.333992) rotate(-90.000000) translate(-9.868295, -4.333992) ",points:"14.2022868 2.16699605 9.86829475 6.50098814 5.53430265 2.16699605"}))},t.History=function(e){return o.createElement(a,r({},e,{viewBox:"0 0 50 50",fill:"none"}),o.createElement("polyline",{points:"4.33,19.64 9.7,27.69 15.95,20.54 "}),o.createElement("path",{d:"M9.71,27.69C8.36,16.81,16.68,8.38,26.06,8.03c9.37-0.35,17.25,6.97,17.6,16.35 c0.35,9.38-6.97,17.26-16.35,17.6"}),o.createElement("polyline",{points:"26.68,16.06 26.68,25.89 35.62,25.89 "}))},t.Star=function(e){var t=e.height,n=e.width,s=e.stroke,u=e.fill,c=e.strokeWidth,l=e.onClick,p=i(e,["height","width","stroke","fill","strokeWidth","onClick"]);return o.createElement(a,r({width:n,height:t,fill:u||"none",stroke:s||"none",strokeWidth:c,viewBox:"118 12 16 16",onClick:l},p),o.createElement("polygon",{points:"126 24 121.297718 26.472136 122.195774 21.236068 118.391548 17.527864 123.648859 16.763932 126 12 128.351141 16.763932 133.608452 17.527864 129.804226 21.236068 130.702282 26.472136"}))},t.Search=function(e){var t=e.height,n=e.width,s=e.strokeWidth,u=e.color,c=i(e,["height","width","strokeWidth","color"]);return o.createElement(a,r({width:n,height:t,viewBox:"0 0 50 50",strokeWidth:s,stroke:u,fill:"none"},c),o.createElement("circle",{cx:"17.82",cy:"18.11",r:"16.21"}),o.createElement("line",{x1:"29.28",y1:"29.57",x2:"48.21",y2:"48.5"}))},t.ShareIcon=function(e){var t=e.width,n=e.height,s=e.color,u=i(e,["width","height","color"]);return o.createElement(a,r({width:t,height:n,viewBox:"0 0 50 50",stroke:s},u),o.createElement("path",{d:"M16.47 15.56c-.36 0-.65.3-.65.67v20.22c0 .37.29.67.65.67h9.06c.36 0 .65-.3.65-.67s-.29-.67-.65-.67h-8.41V16.91h1.29v.67c0 .37.29.67.65.67h10.35c.36 0 .65-.3.65-.67v-.67h1.29v6.07c0 .37.29.67.65.67.36 0 .65-.3.65-.67v-6.74a.66.66 0 0 0-.65-.67h-1.94v-1.35h3.88v8.76c0 .37.29.67.65.67.36 0 .65-.3.65-.67v-9.44a.66.66 0 0 0-.65-.67h-4.53v-.67a.66.66 0 0 0-.65-.67H27.4c-.3-1.54-1.61-2.7-3.17-2.7-1.56 0-2.87 1.16-3.17 2.7h-2.01c-.36 0-.65.3-.65.67v.67h-4.53c-.36 0-.65.3-.65.67V40.5c0 .37.29.67.65.67h11.65c.36 0 .65-.3.65-.67s-.29-.67-.65-.67h-11V14.22h3.88v1.35h-1.93zm3.24-2.69h1.94c.36 0 .65-.3.65-.67 0-1.11.87-2.02 1.94-2.02 1.07 0 1.94.91 1.94 2.02 0 .37.29.67.65.67h1.94v4.04h-9.06v-4.04z"}),o.createElement("path",{d:"M28.71 20.96h-9.06c-.36 0-.65.3-.65.67 0 .37.29.67.65.67h9.06c.36 0 .65-.3.65-.67a.66.66 0 0 0-.65-.67M28.71 23.65h-9.06c-.36 0-.65.3-.65.67s.3.68.66.68h9.06c.36 0 .65-.3.65-.67s-.3-.68-.66-.68M28.71 26.35h-9.06c-.36 0-.65.3-.65.67s.29.67.65.67h9.06c.36 0 .65-.3.65-.67s-.29-.67-.65-.67M26.13 29.04h-6.47c-.36 0-.65.3-.65.67 0 .37.29.67.65.67h6.47c.36 0 .65-.3.65-.67-.01-.36-.3-.67-.65-.67M37.77 33.21h-6.13l1.43-1.38c.26-.25.28-.68.03-.95a.62.62 0 0 0-.91-.04l-2.63 2.54c-.13.13-.21.3-.21.49v.02c0 .2.09.38.23.5l2.6 2.56c.12.12.28.18.44.18.17 0 .34-.07.47-.21.25-.27.23-.7-.03-.95l-1.43-1.41h6.13c.36 0 .65-.3.65-.67s-.28-.68-.64-.68"}))},t.Triangle=function(e){return o.createElement(a,r({width:6,height:7,viewBox:"40 0 6 7"},e),o.createElement("polygon",{stroke:"none",fill:"rgba(0, 0, 0, .2)",fillRule:"evenodd",points:"40 7 40 0 46 3.5"}))}},function(e,t,n){"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=i(t);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(;t.length>0&&a(t[0]);)t.shift();for(;t.length>0&&a(t[t.length-1]);)t.pop();return t.join("\n")}function i(e){for(var t=null,n=1;n<e.length;n++){var r=e[n],i=o(r);if(i!==r.length&&((null===t||i<t)&&0===(t=i)))break}return null===t?0:t}function o(e){for(var t=0;t<e.length&&(" "===e[t]||"\t"===e[t]);)t++;return t}function a(e){return o(e)===e.length}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return!a||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s}))},function(e,t,n){"use strict";var r=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}};t.a=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(52);function i(e,t){for(var n=Object.create(null),i=0,o=Object(r.a)(e);i<o.length;i++){var a=o[i],s=a[0],u=a[1];n[s]=t(u,s)}return n}},function(e,t,n){e.exports=n(279)()},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(276)},function(e,t,n){"use strict";n.r(t),n.d(t,"CharacterStream",(function(){return o})),n.d(t,"LexRules",(function(){return d})),n.d(t,"ParseRules",(function(){return h})),n.d(t,"isIgnored",(function(){return f})),n.d(t,"butNot",(function(){return u})),n.d(t,"list",(function(){return s})),n.d(t,"opt",(function(){return a})),n.d(t,"p",(function(){return l})),n.d(t,"t",(function(){return c})),n.d(t,"onlineParser",(function(){return y}));var r=n(66),i=n(67),o=function(){function e(t){var n=this;Object(r.a)(this,e),this.getStartOfToken=function(){return n._start},this.getCurrentPosition=function(){return n._pos},this.eol=function(){return n._sourceText.length===n._pos},this.sol=function(){return 0===n._pos},this.peek=function(){return n._sourceText.charAt(n._pos)?n._sourceText.charAt(n._pos):null},this.next=function(){var e=n._sourceText.charAt(n._pos);return n._pos++,e},this.eat=function(e){if(n._testNextCharacter(e))return n._start=n._pos,n._pos++,n._sourceText.charAt(n._pos-1)},this.eatWhile=function(e){var t=n._testNextCharacter(e),r=!1;for(t&&(r=t,n._start=n._pos);t;)n._pos++,t=n._testNextCharacter(e),r=!0;return r},this.eatSpace=function(){return n.eatWhile(/[\s\u00a0]/)},this.skipToEnd=function(){n._pos=n._sourceText.length},this.skipTo=function(e){n._pos=e},this.match=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=null,o=null;if("string"===typeof e){var a=new RegExp(e,r?"i":"g");o=a.test(n._sourceText.substr(n._pos,e.length)),i=e}else e instanceof RegExp&&(i=(o=n._sourceText.slice(n._pos).match(e))&&o[0]);return!(null==o||!("string"===typeof e||o instanceof Array&&n._sourceText.startsWith(o[0],n._pos)))&&(t&&(n._start=n._pos,i&&i.length&&(n._pos+=i.length)),o)},this.backUp=function(e){n._pos-=e},this.column=function(){return n._pos},this.indentation=function(){var e=n._sourceText.match(/\s*/),t=0;if(e&&0===e.length)for(var r=e[0],i=0;r.length>i;)9===r.charCodeAt(i)?t+=2:t++,i++;return t},this.current=function(){return n._sourceText.slice(n._start,n._pos)},this._start=0,this._pos=0,this._sourceText=t}return Object(i.a)(e,[{key:"_testNextCharacter",value:function(e){var t=this._sourceText.charAt(this._pos);return"string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t)}}]),e}();function a(e){return{ofRule:e}}function s(e,t){return{ofRule:e,isList:!0,separator:t}}function u(e,t){var n=e.match;return e.match=function(e){var r=!1;return n&&(r=n(e)),r&&t.every((function(t){return t.match&&!t.match(e)}))},e}function c(e,t){return{style:t,match:function(t){return t.kind===e}}}function l(e,t){return{style:t||"punctuation",match:function(t){return"Punctuation"===t.kind&&t.value===e}}}var p,f=function(e){return" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e},d={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},h={Document:[s("Definition")],Definition:function(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition";case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[m("query"),a(g("def")),a("VariableDefinitions"),s("Directive"),"SelectionSet"],Mutation:[m("mutation"),a(g("def")),a("VariableDefinitions"),s("Directive"),"SelectionSet"],Subscription:[m("subscription"),a(g("def")),a("VariableDefinitions"),s("Directive"),"SelectionSet"],VariableDefinitions:[l("("),s("VariableDefinition"),l(")")],VariableDefinition:["Variable",l(":"),"Type",a("DefaultValue")],Variable:[l("$","variable"),g("variable")],DefaultValue:[l("="),"Value"],SelectionSet:[l("{"),s("Selection"),l("}")],Selection:function(e,t){return"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[g("property"),l(":"),g("qualifier"),a("Arguments"),s("Directive"),a("SelectionSet")],Field:[g("property"),a("Arguments"),s("Directive"),a("SelectionSet")],Arguments:[l("("),s("Argument"),l(")")],Argument:[g("attribute"),l(":"),"Value"],FragmentSpread:[l("..."),g("def"),s("Directive")],InlineFragment:[l("..."),a("TypeCondition"),s("Directive"),"SelectionSet"],FragmentDefinition:[m("fragment"),a(u(g("def"),[m("on")])),"TypeCondition",s("Directive"),"SelectionSet"],TypeCondition:[m("on"),"NamedType"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[c("Number","number")],StringValue:[c("String","string")],BooleanValue:[c("Name","builtin")],NullValue:[c("Name","keyword")],EnumValue:[g("string-2")],ListValue:[l("["),s("Value"),l("]")],ObjectValue:[l("{"),s("ObjectField"),l("}")],ObjectField:[g("attribute"),l(":"),"Value"],Type:function(e){return"["===e.value?"ListType":"NonNullType"},ListType:[l("["),"Type",l("]"),a(l("!"))],NonNullType:["NamedType",a(l("!"))],NamedType:[(p="atom",{style:p,match:function(e){return"Name"===e.kind},update:function(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[l("@","meta"),g("meta"),a("Arguments")],SchemaDef:[m("schema"),s("Directive"),l("{"),s("OperationTypeDef"),l("}")],OperationTypeDef:[g("keyword"),l(":"),g("atom")],ScalarDef:[m("scalar"),g("atom"),s("Directive")],ObjectTypeDef:[m("type"),g("atom"),a("Implements"),s("Directive"),l("{"),s("FieldDef"),l("}")],Implements:[m("implements"),s("NamedType")],FieldDef:[g("property"),a("ArgumentsDef"),l(":"),"Type",s("Directive")],ArgumentsDef:[l("("),s("InputValueDef"),l(")")],InputValueDef:[g("attribute"),l(":"),"Type",a("DefaultValue"),s("Directive")],InterfaceDef:[m("interface"),g("atom"),s("Directive"),l("{"),s("FieldDef"),l("}")],UnionDef:[m("union"),g("atom"),s("Directive"),l("="),s("UnionMember",l("|"))],UnionMember:["NamedType"],EnumDef:[m("enum"),g("atom"),s("Directive"),l("{"),s("EnumValueDef"),l("}")],EnumValueDef:[g("string-2"),s("Directive")],InputDef:[m("input"),g("atom"),s("Directive"),l("{"),s("InputValueDef"),l("}")],ExtendDef:[m("extend"),"ObjectTypeDef"],DirectiveDef:[m("directive"),l("@","meta"),g("meta"),a("ArgumentsDef"),m("on"),s("DirectiveLocation",l("|"))],DirectiveLocation:[g("string-2")]};function m(e){return{style:"keyword",match:function(t){return"Name"===t.kind&&t.value===e}}}function g(e){return{style:e,match:function(e){return"Name"===e.kind},update:function(e,t){e.name=t.value}}}var v=n(72);function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:function(e){return e.eatWhile(f)},lexRules:d,parseRules:h,editorConfig:{}};return{startState:function(){var t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return D(e.parseRules,t,"Document"),t},token:function(t,n){return b(t,n,e)}}}function b(e,t,n){var r=n.lexRules,i=n.parseRules,o=n.eatWhitespace,a=n.editorConfig;if(t.rule&&0===t.rule.length?C(t):t.needsAdvance&&(t.needsAdvance=!1,w(t,!0)),e.sol()){var s=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/s)}if(o(e))return"ws";var u=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++){var i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(r,e);if(!u)return e.match(/\S+/)||e.match(/\s/),D(E,t,"Invalid"),"invalidchar";if("Comment"===u.kind)return D(E,t,"Comment"),"comment";var c=x({},t);if("Punctuation"===u.kind)if(/^[{([]/.test(u.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(u.value)){var l=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&l.length>0&&l[l.length-1]<t.indentLevel&&(t.indentLevel=l[l.length-1])}for(;t.rule;){var p="function"===typeof t.rule?0===t.step?t.rule(u,e):null:t.rule[t.step];if(t.needsSeperator&&(p=p&&p.separator),p){if(p.ofRule&&(p=p.ofRule),"string"===typeof p){D(i,t,p);continue}if(p.match&&p.match(u))return p.update&&p.update(t,u),"Punctuation"===u.kind?w(t,!0):t.needsAdvance=!0,p.style}k(t)}return x(t,c),D(E,t,"Invalid"),"invalidchar"}function x(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}var E={Invalid:[],Comment:[]};function D(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object(v.a)({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function C(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function w(e,t){if(S(e)&&e.rule){var n=e.rule[e.step];if(n.separator){var r=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&r.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)C(e),e.rule&&(S(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function S(e){var t=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function k(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)C(e);e.rule&&w(e,!1)}},function(e,t,n){"use strict";function r(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,u,"next",e)}function u(e){r(a,i,o,s,u,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";(function(t){var r=n(90);function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(393),s=Object.prototype.hasOwnProperty,u=Array.prototype.slice,c="foo"===function(){}.name;function l(e){return Object.prototype.toString.call(e)}function p(e){return!o(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var f=e.exports=y,d=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString().match(d);return t&&t[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(c||!a.isFunction(e))return a.inspect(e);var t=h(e);return"[Function"+(t?": "+t:"")+"]"}function v(e,t,n,r,i){throw new f.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||v(e,!0,t,"==",f.ok)}function b(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(p(e)&&p(t)&&l(e)===l(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=x(e),o=x(t);if(i&&!o||!i&&o)return!1;if(i)return e=u.call(e),t=u.call(t),b(e,t,n);var s,c,l=C(e),p=C(t);if(l.length!==p.length)return!1;for(l.sort(),p.sort(),c=l.length-1;c>=0;c--)if(l[c]!==p[c])return!1;for(c=l.length-1;c>=0;c--)if(s=l[c],!b(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function x(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function D(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(n){t=n}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&v(i,n,"Missing expected exception"+r);var o="string"===typeof r,s=!e&&i&&!n;if((!e&&a.isError(i)&&o&&E(i,n)||s)&&v(i,n,"Got unwanted exception"+r),e&&i&&n&&!E(i,n)||!e&&i)throw i}f.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(f.AssertionError,Error),f.fail=v,f.ok=y,f.equal=function(e,t,n){e!=t&&v(e,t,n,"==",f.equal)},f.notEqual=function(e,t,n){e==t&&v(e,t,n,"!=",f.notEqual)},f.deepEqual=function(e,t,n){b(e,t,!1)||v(e,t,n,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,n){b(e,t,!0)||v(e,t,n,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,n){b(e,t,!1)&&v(e,t,n,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&v(t,n,r,"notDeepStrictEqual",e)},f.strictEqual=function(e,t,n){e!==t&&v(e,t,n,"===",f.strictEqual)},f.notStrictEqual=function(e,t,n){e===t&&v(e,t,n,"!==",f.notStrictEqual)},f.throws=function(e,t,n){D(!0,e,t,n)},f.doesNotThrow=function(e,t,n){D(!1,e,t,n)},f.ifError=function(e){if(e)throw e},f.strict=r((function e(t,n){t||v(t,!0,n,"==",e)}),f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var C=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}}).call(this,n(37))},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return o})),n.d(t,"applyMiddleware",(function(){return g})),n.d(t,"bindActionCreators",(function(){return p})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return s}));var r=n(129),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(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,n){var i;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"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 n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(s)(e,t)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,l=[],p=l,f=!1;function d(){p===l&&(p=l.slice())}function h(){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 c}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#subscribelistener for more details.");var t=!0;return d(),p.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#subscribelistener for more details.");t=!1,d();var n=p.indexOf(e);p.splice(n,1),l=null}}}function g(e){if(!a(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,c=u(c,e)}finally{f=!1}for(var t=l=p,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,g({type:o.REPLACE})}function y(){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 n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.default]=function(){return this},e}return g({type:o.INIT}),(i={dispatch:g,subscribe:m,getState:h,replaceReducer:v})[r.default]=y,i}function u(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"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 c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"===typeof e[i]&&(n[i]=e[i])}var a,s=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:o.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 n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+o.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.')}))}(n)}catch(c){a=c}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,i={},o=0;o<s.length;o++){var c=s[o],l=n[c],p=e[c],f=l(p,t);if("undefined"===typeof f){var d=u(c,t);throw new Error(d)}i[c]=f,r=r||f!==p}return(r=r||s.length!==Object.keys(e).length)?i:e}}function l(e,t){return function(){return t(e.apply(this,arguments))}}function p(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"?');var n={};for(var r in e){var i=e[r];"function"===typeof i&&(n[r]=l(i,t))}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];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 g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return h({},n,{dispatch:r=m.apply(void 0,o)(n.dispatch)})}}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(58),i=n(1),o=n(0),a=n(11),s=n(31),u=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=t||c,n&&(Object(o.G)(n)&&this._inputTypeStack.push(n),Object(o.D)(n)&&this._parentTypeStack.push(n),Object(o.O)(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case i.a.SELECTION_SET:var n=Object(o.A)(this.getType());this._parentTypeStack.push(Object(o.D)(n)?n:void 0);break;case i.a.FIELD:var a,u,c=this.getParentType();c&&(a=this._getFieldDef(t,c,e))&&(u=a.type),this._fieldDefStack.push(a),this._typeStack.push(Object(o.O)(u)?u:void 0);break;case i.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.a.OPERATION_DEFINITION:var l;"query"===e.operation?l=t.getQueryType():"mutation"===e.operation?l=t.getMutationType():"subscription"===e.operation&&(l=t.getSubscriptionType()),this._typeStack.push(Object(o.N)(l)?l:void 0);break;case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:var p=e.typeCondition,f=p?Object(s.a)(t,p):Object(o.A)(this.getType());this._typeStack.push(Object(o.O)(f)?f:void 0);break;case i.a.VARIABLE_DEFINITION:var d=Object(s.a)(t,e.type);this._inputTypeStack.push(Object(o.G)(d)?d:void 0);break;case i.a.ARGUMENT:var h,m,g=this.getDirective()||this.getFieldDef();g&&(h=Object(r.a)(g.args,(function(t){return t.name===e.name.value})))&&(m=h.type),this._argument=h,this._defaultValueStack.push(h?h.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(m)?m:void 0);break;case i.a.LIST:var v=Object(o.B)(this.getInputType()),y=Object(o.J)(v)?v.ofType:v;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(o.G)(y)?y:void 0);break;case i.a.OBJECT_FIELD:var b,x,E=Object(o.A)(this.getInputType());Object(o.F)(E)&&(x=E.getFields()[e.name.value])&&(b=x.type),this._defaultValueStack.push(x?x.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(b)?b:void 0);break;case i.a.ENUM:var D,C=Object(o.A)(this.getInputType());Object(o.E)(C)&&(D=C.getValue(e.value)),this._enumValue=D}},t.leave=function(e){switch(e.kind){case i.a.SELECTION_SET:this._parentTypeStack.pop();break;case i.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.a.DIRECTIVE:this._directive=null;break;case i.a.OPERATION_DEFINITION:case i.a.INLINE_FRAGMENT:case i.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.LIST:case i.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.a.ENUM:this._enumValue=null}},e}();function c(e,t,n){var r=n.name.value;return r===a.SchemaMetaFieldDef.name&&e.getQueryType()===t?a.SchemaMetaFieldDef:r===a.TypeMetaFieldDef.name&&e.getQueryType()===t?a.TypeMetaFieldDef:r===a.TypeNameMetaFieldDef.name&&Object(o.D)(t)?a.TypeNameMetaFieldDef:Object(o.N)(t)||Object(o.H)(t)?t.getFields()[r]:void 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"ApolloLink",(function(){return b})),n.d(t,"concat",(function(){return y})),n.d(t,"createOperation",(function(){return f})),n.d(t,"empty",(function(){return m})),n.d(t,"execute",(function(){return x})),n.d(t,"from",(function(){return g})),n.d(t,"fromError",(function(){return p})),n.d(t,"fromPromise",(function(){return l})),n.d(t,"makePromise",(function(){return c})),n.d(t,"split",(function(){return v})),n.d(t,"toPromise",(function(){return u}));var r=n(42);n.d(t,"Observable",(function(){return r.a}));var i=n(25),o=n(16),a=n(127);n.d(t,"getOperationName",(function(){return a.a}));!function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}Object(o.b)(t,e)}(Error);function s(e){return e.request.length<=1}function u(e){var t=!1;return new Promise((function(n,r){e.subscribe({next:function(e){t||(t=!0,n(e))},error:r})}))}var c=u;function l(e){return new r.a((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}function p(e){return new r.a((function(t){t.error(e)}))}function f(e,t){var n=Object(o.a)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"===typeof e?Object(o.a)({},n,e(n)):Object(o.a)({},n,e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return Object(o.a)({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){var t=e.query,n=e.variables,r=e.operationName;return JSON.stringify([r,t,n])}(t)}}),t}function d(e,t){return t?t(e):r.a.of()}function h(e){return"function"===typeof e?new b(e):e}function m(){return new b((function(){return r.a.of()}))}function g(e){return 0===e.length?m():e.map(h).reduce((function(e,t){return e.concat(t)}))}function v(e,t,n){var i=h(t),o=h(n||new b(d));return s(i)&&s(o)?new b((function(t){return e(t)?i.request(t)||r.a.of():o.request(t)||r.a.of()})):new b((function(t,n){return e(t)?i.request(t,n)||r.a.of():o.request(t,n)||r.a.of()}))}var y=function(e,t){var n=h(e);if(s(n))return n;var i=h(t);return s(i)?new b((function(e){return n.request(e,(function(e){return i.request(e)||r.a.of()}))||r.a.of()})):new b((function(e,t){return n.request(e,(function(e){return i.request(e,t)||r.a.of()}))||r.a.of()}))},b=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return this.concat(v(t,n,r||new e(d)))},e.prototype.concat=function(e){return y(this,e)},e.prototype.request=function(e,t){throw new i.a(1)},e.empty=m,e.from=g,e.split=v,e.execute=x,e}();function x(e,t){return e.request(f(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?Object(a.a)(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw new i.a(2)}return e}(t))))||r.a.of()}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(0);function i(e,t){return e===t||(Object(r.L)(e)&&Object(r.L)(t)||!(!Object(r.J)(e)||!Object(r.J)(t)))&&i(e.ofType,t.ofType)}function o(e,t,n){return t===n||(Object(r.L)(n)?!!Object(r.L)(t)&&o(e,t.ofType,n.ofType):Object(r.L)(t)?o(e,t.ofType,n):Object(r.J)(n)?!!Object(r.J)(t)&&o(e,t.ofType,n.ofType):!Object(r.J)(t)&&!!(Object(r.C)(n)&&Object(r.N)(t)&&e.isPossibleType(n,t)))}function a(e,t,n){return t===n||(Object(r.C)(t)?Object(r.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isPossibleType(n,t)})):e.isPossibleType(t,n):!!Object(r.C)(n)&&e.isPossibleType(n,t))}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return g}));var r=n(32),i=n.n(r),o=n(63),a=n(30),s=n(64),u=n.n(s),c="GraphQL";function l(e,t){var n=t.loc;return u()(n,"Expected ASTNode to have a location."),Object(a.locToRange)(e,n)}function p(e,t){var n=t.loc;return u()(n,"Expected ASTNode to have a location."),Object(a.offsetToPosition)(e,n.start)}function f(e,t,n){return d.apply(this,arguments)}function d(){return(d=Object(o.a)(i.a.mark((function t(n,r,o){var a,s,u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=r.name.value,0!==(s=o.filter((function(e){var t=e.definition;return t.name&&t.name.value===a}))).length){t.next=5;break}return e.stderr.write("Definition not found for GraphQL type ".concat(a)),t.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=s.map((function(e){return y(e.filePath||"",e.content,e.definition)})),t.abrupt("return",{definitions:u,queryRange:u.map((function(e){return l(n,r)}))});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(e,t,n){return m.apply(this,arguments)}function m(){return(m=Object(o.a)(i.a.mark((function t(n,r,o){var a,s,u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=r.name.value,0!==(s=o.filter((function(e){return e.definition.name.value===a}))).length){t.next=5;break}return e.stderr.write("Definition not found for GraphQL fragment ".concat(a)),t.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=s.map((function(e){return v(e.filePath||"",e.content,e.definition)})),t.abrupt("return",{definitions:u,queryRange:u.map((function(e){return l(n,r)}))});case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(e,t,n){return{definitions:[v(e,t,n)],queryRange:n.name?[l(t,n.name)]:[]}}function v(e,t,n){var r=n.name;return u()(r,"Expected ASTNode to have a Name."),{path:e,position:p(t,n),range:l(t,n),name:r.value||"",language:c,projectRoot:e}}function y(e,t,n){var r=n.name;return u()(r,"Expected ASTNode to have a Name."),{path:e,position:p(t,n),range:l(t,n),name:r.value||"",language:c,projectRoot:e}}}).call(this,n(91))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n(2),i=n(7),o=n(48),a=n(49),s=n(1),u=n(89),c=n(106),l=n(10),p=n(5);function f(e,t){return new m(e,t).parseDocument()}function d(e,t){var n=new m(e,t);n.expectToken(p.a.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(p.a.EOF),r}function h(e,t){var n=new m(e,t);n.expectToken(p.a.SOF);var r=n.parseTypeReference();return n.expectToken(p.a.EOF),r}var m=function(){function e(e,t){var n="string"===typeof e?new u.a(e):e;n instanceof u.a||Object(i.a)(0,"Must provide Source. Received: ".concat(Object(r.a)(n))),this._lexer=Object(c.a)(n),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(p.a.NAME);return{kind:s.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:s.a.DOCUMENT,definitions:this.many(p.a.SOF,this.parseDefinition,p.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(p.a.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(p.a.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(p.a.BRACE_L))return{kind:s.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(p.a.NAME)&&(t=this.parseName()),{kind:s.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(p.a.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(p.a.PAREN_L,this.parseVariableDefinition,p.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:s.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(p.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(p.a.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(p.a.DOLLAR),{kind:s.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:s.a.SELECTION_SET,selections:this.many(p.a.BRACE_L,this.parseSelection,p.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(p.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(p.a.COLON)?(e=r,t=this.parseName()):t=r,{kind:s.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(p.a.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(p.a.PAREN_L,t,p.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(p.a.COLON),{kind:s.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:s.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(p.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(p.a.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(p.a.NAME)?{kind:s.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:s.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:s.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:s.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case p.a.BRACKET_L:return this.parseList(e);case p.a.BRACE_L:return this.parseObject(e);case p.a.INT:return this._lexer.advance(),{kind:s.a.INT,value:t.value,loc:this.loc(t)};case p.a.FLOAT:return this._lexer.advance(),{kind:s.a.FLOAT,value:t.value,loc:this.loc(t)};case p.a.STRING:case p.a.BLOCK_STRING:return this.parseStringLiteral();case p.a.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:s.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:s.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:s.a.ENUM,value:t.value,loc:this.loc(t)});case p.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:s.a.STRING,value:e.value,block:e.kind===p.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:s.a.LIST,values:this.any(p.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),p.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:s.a.OBJECT,fields:this.any(p.a.BRACE_L,(function(){return t.parseObjectField(e)}),p.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(p.a.COLON),{kind:s.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(p.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(p.a.AT),{kind:s.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(p.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(p.a.BRACKET_R),e={kind:s.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(p.a.BANG)?{kind:s.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:s.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===p.a.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(p.a.STRING)||this.peek(p.a.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.many(p.a.BRACE_L,this.parseOperationTypeDefinition,p.a.BRACE_R);return{kind:s.a.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(p.a.COLON);var n=this.parseNamedType();return{kind:s.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:s.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:s.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(p.a.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(p.a.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(p.a.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(p.a.BRACE_L)&&this._lexer.lookahead().kind===p.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(p.a.BRACE_L,this.parseFieldDefinition,p.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(p.a.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:s.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(p.a.PAREN_L,this.parseInputValueDef,p.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(p.a.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(p.a.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:s.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:s.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:s.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(p.a.EQUALS)){this.expectOptionalToken(p.a.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(p.a.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:s.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(p.a.BRACE_L,this.parseEnumValueDefinition,p.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:s.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:s.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(p.a.BRACE_L,this.parseInputValueDef,p.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===p.a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(p.a.BRACE_L,this.parseOperationTypeDefinition,p.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:s.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:s.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:s.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.a.INTERFACE_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:s.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(p.a.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:s.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(p.a.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(p.a.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==l.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new g(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Object(a.a)(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(v(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==p.a.NAME||t.value!==e)throw Object(a.a)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(v(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===p.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return Object(a.a)(this._lexer.source,t.start,"Unexpected ".concat(v(t)))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function g(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function v(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}Object(o.a)(g,(function(){return{start:this.start,end:this.end}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(92),i=n(172),o=n(33);t.columnWidth=300,t.introspectionQuery="\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n description\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n",t.defaultQuery="# Write your query or mutation here\n",t.modalStyle={overlay:{zIndex:99999,backgroundColor:"rgba(15,32,46,.9)",display:"flex",alignItems:"center",justifyContent:"center"},content:{position:"relative",width:976,height:"auto",top:"initial",left:"initial",right:"initial",bottom:"initial",borderRadius:2,padding:0,border:"none",background:"none",boxShadow:"0 1px 7px rgba(0,0,0,.2)"}},t.getDefaultSession=function(e){return{id:r(),query:t.defaultQuery,variables:"",responses:o.List([]),endpoint:e,operationName:void 0,hasMutation:!1,hasSubscription:!1,hasQuery:!1,queryTypes:i.getQueryTypes(t.defaultQuery),subscriptionActive:!1,date:new Date,starred:!1,queryRunning:!1,operations:o.List([]),isReloadingSchema:!1,isSchemaPendingUpdate:!1,responseExtensions:{},queryVariablesActive:!1,endpointUnreachable:!1,editorFlex:1,variableEditorOpen:!1,variableEditorHeight:200,responseTracingOpen:!1,responseTracingHeight:300,docExplorerWidth:350,variableToType:o.Map({}),headers:"",file:void 0,isFile:!1,name:void 0,filePath:void 0,selectedUserToken:void 0,hasChanged:void 0,absolutePath:void 0,isSettingsTab:void 0,isConfigTab:void 0,currentQueryStartTime:void 0,currentQueryEndTime:void 0,nextQueryStartTime:void 0,tracingSupported:void 0,changed:void 0,scrollTop:void 0}}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o,a,s,u=n(3),c=n(8),l=c.styled.div(o||(o=r(["\n /* Comment */\n .cm-comment {\n color: ",";\n }\n\n /* Punctuation */\n .cm-punctuation {\n color: ",";\n }\n\n /* Proppery */\n .cm-property {\n color: ",";\n }\n\n /* Keyword */\n .cm-keyword {\n color: ",";\n }\n\n /* OperationName, FragmentName */\n .cm-def {\n color: ",";\n }\n\n /* FieldAlias */\n .cm-qualifier {\n color: ",";\n }\n\n /* ArgumentName and ObjectFieldName */\n .cm-attribute {\n color: ",";\n }\n\n /* Number */\n .cm-number {\n color: ",";\n }\n\n /* String */\n .cm-string {\n color: ",";\n }\n\n /* Boolean */\n .cm-builtin {\n color: ",";\n }\n\n /* EnumValue */\n .cm-string-2 {\n color: ",";\n }\n\n /* Variable */\n .cm-variable {\n color: ",";\n }\n\n /* Directive */\n .cm-meta {\n color: ",";\n }\n\n /* Type */\n .cm-atom {\n color: ",";\n }\n\n /* Comma */\n .cm-ws {\n color: ",";\n }\n position: relative;\n display: flex;\n flex: 1 1 0%;\n flex-flow: column;\n\n .CodeMirror {\n color: rgba(255, 255, 255, 0.3);\n font-family: ",";\n font-size: ",";\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n .CodeMirror-lines {\n padding: 20px 0;\n }\n\n .CodeMirror-gutters {\n border-right: none;\n }\n\n .CodeMirror span[role='presentation'] {\n color: ",";\n }\n\n /* CURSOR */\n\n .CodeMirror div.CodeMirror-cursor {\n background: ",";\n border-left: ",";\n border-bottom: ",";\n }\n /* Shown when moving in bi-directional text */\n .CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n }\n .CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n background: rgba(255, 255, 255, 0.6);\n color: white;\n border: 0;\n width: auto;\n }\n .CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n }\n\n .cm-animate-fat-cursor {\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n border: 0;\n width: auto;\n }\n @-webkit-keyframes blink {\n 0% {\n background: #7e7;\n }\n 50% {\n background: none;\n }\n 100% {\n background: #7e7;\n }\n }\n @keyframes blink {\n 0% {\n background: #7e7;\n }\n 50% {\n background: none;\n }\n 100% {\n background: #7e7;\n }\n }\n\n .CodeMirror-foldmarker {\n border-radius: 4px;\n background: #08f;\n background: linear-gradient(#43a8ff, #0f83e8);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n color: white;\n font-family: arial;\n font-size: 12px;\n line-height: 0;\n margin: 0 3px;\n padding: 0px 4px 1px;\n text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n }\n\n div.CodeMirror span.CodeMirror-matchingbracket {\n /* color: rgba(255, 255, 255, 0.4); */\n text-decoration: underline;\n }\n\n div.CodeMirror span.CodeMirror-nonmatchingbracket {\n color: rgb(242, 92, 84);\n }\n\n .toolbar-button {\n background: #fdfdfd;\n background: linear-gradient(#fbfbfb, #f8f8f8);\n border-color: #d3d3d3 #d0d0d0 #bababa;\n border-radius: 4px;\n border-style: solid;\n border-width: 0.5px;\n box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.13), inset 0 1px #fff;\n color: #444;\n cursor: pointer;\n display: inline-block;\n margin: 0 5px 0;\n padding: 2px 8px 4px;\n text-decoration: none;\n }\n .toolbar-button:active {\n background: linear-gradient(#ececec, #d8d8d8);\n border-color: #cacaca #c9c9c9 #b0b0b0;\n box-shadow: 0 1px 0 #fff, inset 0 1px rgba(255, 255, 255, 0.2),\n inset 0 1px 1px rgba(0, 0, 0, 0.08);\n }\n .toolbar-button.error {\n background: linear-gradient(#fdf3f3, #e6d6d7);\n color: #b00;\n }\n\n .autoInsertedLeaf.cm-property {\n -webkit-animation-duration: 6s;\n animation-duration: 6s;\n -webkit-animation-name: insertionFade;\n animation-name: insertionFade;\n border-bottom: 2px solid rgba(255, 255, 255, 0);\n border-radius: 2px;\n margin: -2px -4px -1px;\n padding: 2px 4px 1px;\n }\n\n @-webkit-keyframes insertionFade {\n from,\n to {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n }\n\n 15%,\n 85% {\n background: #fbffc9;\n border-color: #f0f3c0;\n }\n }\n\n @keyframes insertionFade {\n from,\n to {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n }\n\n 15%,\n 85% {\n background: #fbffc9;\n border-color: #f0f3c0;\n }\n }\n\n .CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n }\n\n .CodeMirror-scrollbar-filler,\n .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n }\n\n /* GUTTER */\n\n .CodeMirror-gutters {\n background-color: transparent;\n border: none;\n white-space: nowrap;\n }\n .CodeMirror-linenumbers {\n background: ",";\n }\n .CodeMirror-linenumber {\n font-family: Open Sans, sans-serif;\n font-weight: 600;\n font-size: ",";\n color: ",";\n min-width: 20px;\n padding: 0 3px 0 5px;\n text-align: right;\n white-space: nowrap;\n }\n\n .CodeMirror-guttermarker {\n color: black;\n }\n .CodeMirror-guttermarker-subtle {\n color: #999;\n }\n\n .cm-tab {\n display: inline-block;\n text-decoration: inherit;\n }\n\n .CodeMirror-ruler {\n border-left: 1px solid #ccc;\n position: absolute;\n }\n .cm-negative {\n color: #d44;\n }\n .cm-positive {\n color: #292;\n }\n .cm-header,\n .cm-strong {\n font-weight: bold;\n }\n .cm-em {\n font-style: italic;\n }\n .cm-link {\n text-decoration: underline;\n }\n .cm-strikethrough {\n text-decoration: line-through;\n }\n\n .cm-s-default .cm-error {\n color: #f00;\n }\n .cm-invalidchar {\n color: #f00;\n }\n\n .CodeMirror-composing {\n border-bottom: 2px solid;\n }\n .CodeMirror-matchingtag {\n background: rgba(255, 150, 0, 0.3);\n }\n .CodeMirror-activeline-background {\n background: #e8f2ff;\n }\n\n /* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n .CodeMirror {\n background: white;\n overflow: hidden;\n line-height: 1.6;\n }\n\n .CodeMirror-scroll {\n height: 100%;\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n /* margin-bottom: -30px;\n margin-right: -30px; */\n outline: none; /* Prevent dragging from highlighting the element */\n overflow: hidden;\n /* padding-bottom: 30px; */\n position: relative;\n &:hover {\n overflow: scroll !important;\n }\n }\n .CodeMirror-sizer {\n border-right: 30px solid transparent;\n position: relative;\n }\n\n /* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n .CodeMirror-vscrollbar,\n .CodeMirror-hscrollbar,\n .CodeMirror-scrollbar-filler,\n .CodeMirror-gutter-filler {\n display: none !important;\n position: absolute;\n z-index: 6;\n }\n .CodeMirror-vscrollbar {\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n top: 0;\n }\n .CodeMirror-hscrollbar {\n bottom: 0;\n left: 0;\n overflow-x: scroll;\n overflow-y: hidden;\n }\n .CodeMirror-scrollbar-filler {\n right: 0;\n bottom: 0;\n }\n .CodeMirror-gutter-filler {\n left: 0;\n bottom: 0;\n }\n\n .CodeMirror-gutters {\n min-height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n margin-left: 3px;\n }\n .CodeMirror-gutter {\n display: inline-block;\n height: 100%;\n margin-bottom: -30px;\n vertical-align: top;\n white-space: normal;\n /* Hack to make IE7 behave */\n *zoom: 1;\n *display: inline;\n }\n .CodeMirror-gutter-wrapper {\n background: none !important;\n border: none !important;\n position: absolute;\n z-index: 4;\n }\n .CodeMirror-gutter-background {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 4;\n }\n .CodeMirror-gutter-elt {\n cursor: default;\n position: absolute;\n z-index: 4;\n }\n .CodeMirror-gutter-wrapper {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n }\n .CodeMirror pre {\n -webkit-tap-highlight-color: transparent;\n /* Reset some styles that the rest of the page might have set */\n background: transparent;\n border-radius: 0;\n border-width: 0;\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n line-height: inherit;\n margin: 0;\n overflow: visible;\n position: relative;\n white-space: pre;\n word-wrap: normal;\n z-index: 2;\n }\n .CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n }\n\n .CodeMirror-linebackground {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 0;\n }\n\n .CodeMirror-linewidget {\n overflow: auto;\n position: relative;\n z-index: 2;\n }\n\n .CodeMirror-widget {\n }\n\n .CodeMirror-code {\n outline: none;\n }\n\n /* Force content-box sizing for the elements where we expect it */\n .CodeMirror-scroll,\n .CodeMirror-sizer,\n .CodeMirror-gutter,\n .CodeMirror-gutters,\n .CodeMirror-linenumber {\n box-sizing: content-box;\n }\n\n .CodeMirror-measure {\n height: 0;\n overflow: hidden;\n position: absolute;\n visibility: hidden;\n width: 100%;\n }\n\n .CodeMirror-cursor {\n position: absolute;\n }\n .CodeMirror-measure pre {\n position: static;\n }\n\n div.CodeMirror-cursors {\n position: relative;\n visibility: hidden;\n z-index: 3;\n }\n div.CodeMirror-dragcursors {\n visibility: visible;\n }\n\n .CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n }\n\n .CodeMirror-selected {\n background: ",";\n }\n .CodeMirror-focused .CodeMirror-selected {\n background: ",";\n }\n .CodeMirror-crosshair {\n cursor: crosshair;\n }\n .CodeMirror-line::-moz-selection,\n .CodeMirror-line > span::-moz-selection,\n .CodeMirror-line > span > span::-moz-selection {\n background: ",";\n }\n .CodeMirror-line::selection,\n .CodeMirror-line > span::selection,\n .CodeMirror-line > span > span::selection {\n background: ",";\n }\n .CodeMirror-line::-moz-selection,\n .CodeMirror-line > span::-moz-selection,\n .CodeMirror-line > span > span::-moz-selection {\n background: ",";\n }\n\n .cm-searching {\n background: #ffa;\n background: rgba(255, 255, 0, 0.4);\n }\n\n /* IE7 hack to prevent it from returning funny offsetTops on the spans */\n .CodeMirror span {\n *vertical-align: text-bottom;\n }\n\n /* Used to force a border model for a node */\n .cm-force-border {\n padding-right: 0.1px;\n }\n\n @media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n }\n\n /* See issue #2901 */\n .cm-tab-wrap-hack:after {\n content: '';\n }\n\n /* Help users use markselection to safely style text background */\n span.CodeMirror-selectedtext {\n background: none;\n }\n\n .CodeMirror-dialog {\n background: inherit;\n color: inherit;\n left: 0;\n right: 0;\n overflow: hidden;\n padding: 0.1em 0.8em;\n position: absolute;\n z-index: 15;\n }\n\n .CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n }\n\n .CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n }\n\n .CodeMirror-dialog input {\n background: transparent;\n border: 1px solid #d3d6db;\n color: inherit;\n font-family: monospace;\n outline: none;\n width: 20em;\n }\n\n .CodeMirror-dialog button {\n font-size: 70%;\n }\n\n .CodeMirror-foldgutter {\n width: 0.7em;\n }\n .CodeMirror-foldgutter-open,\n .CodeMirror-foldgutter-folded {\n cursor: pointer;\n }\n .CodeMirror-foldgutter-open:after {\n content: '\u25be';\n }\n .CodeMirror-foldgutter-folded:after {\n content: '\u25b8';\n }\n /* The lint marker gutter */\n .CodeMirror-lint-markers {\n width: 16px;\n }\n\n .CodeMirror-jump-token {\n cursor: pointer;\n text-decoration: underline;\n }\n"],["\n /* Comment */\n .cm-comment {\n color: ",";\n }\n\n /* Punctuation */\n .cm-punctuation {\n color: ",";\n }\n\n /* Proppery */\n .cm-property {\n color: ",";\n }\n\n /* Keyword */\n .cm-keyword {\n color: ",";\n }\n\n /* OperationName, FragmentName */\n .cm-def {\n color: ",";\n }\n\n /* FieldAlias */\n .cm-qualifier {\n color: ",";\n }\n\n /* ArgumentName and ObjectFieldName */\n .cm-attribute {\n color: ",";\n }\n\n /* Number */\n .cm-number {\n color: ",";\n }\n\n /* String */\n .cm-string {\n color: ",";\n }\n\n /* Boolean */\n .cm-builtin {\n color: ",";\n }\n\n /* EnumValue */\n .cm-string-2 {\n color: ",";\n }\n\n /* Variable */\n .cm-variable {\n color: ",";\n }\n\n /* Directive */\n .cm-meta {\n color: ",";\n }\n\n /* Type */\n .cm-atom {\n color: ",";\n }\n\n /* Comma */\n .cm-ws {\n color: ",";\n }\n position: relative;\n display: flex;\n flex: 1 1 0%;\n flex-flow: column;\n\n .CodeMirror {\n color: rgba(255, 255, 255, 0.3);\n font-family: ",";\n font-size: ",";\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n .CodeMirror-lines {\n padding: 20px 0;\n }\n\n .CodeMirror-gutters {\n border-right: none;\n }\n\n .CodeMirror span[role='presentation'] {\n color: ",";\n }\n\n /* CURSOR */\n\n .CodeMirror div.CodeMirror-cursor {\n background: ",";\n border-left: ",";\n border-bottom: ",";\n }\n /* Shown when moving in bi-directional text */\n .CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n }\n .CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n background: rgba(255, 255, 255, 0.6);\n color: white;\n border: 0;\n width: auto;\n }\n .CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n }\n\n .cm-animate-fat-cursor {\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n border: 0;\n width: auto;\n }\n @-webkit-keyframes blink {\n 0% {\n background: #7e7;\n }\n 50% {\n background: none;\n }\n 100% {\n background: #7e7;\n }\n }\n @keyframes blink {\n 0% {\n background: #7e7;\n }\n 50% {\n background: none;\n }\n 100% {\n background: #7e7;\n }\n }\n\n .CodeMirror-foldmarker {\n border-radius: 4px;\n background: #08f;\n background: linear-gradient(#43a8ff, #0f83e8);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n color: white;\n font-family: arial;\n font-size: 12px;\n line-height: 0;\n margin: 0 3px;\n padding: 0px 4px 1px;\n text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n }\n\n div.CodeMirror span.CodeMirror-matchingbracket {\n /* color: rgba(255, 255, 255, 0.4); */\n text-decoration: underline;\n }\n\n div.CodeMirror span.CodeMirror-nonmatchingbracket {\n color: rgb(242, 92, 84);\n }\n\n .toolbar-button {\n background: #fdfdfd;\n background: linear-gradient(#fbfbfb, #f8f8f8);\n border-color: #d3d3d3 #d0d0d0 #bababa;\n border-radius: 4px;\n border-style: solid;\n border-width: 0.5px;\n box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.13), inset 0 1px #fff;\n color: #444;\n cursor: pointer;\n display: inline-block;\n margin: 0 5px 0;\n padding: 2px 8px 4px;\n text-decoration: none;\n }\n .toolbar-button:active {\n background: linear-gradient(#ececec, #d8d8d8);\n border-color: #cacaca #c9c9c9 #b0b0b0;\n box-shadow: 0 1px 0 #fff, inset 0 1px rgba(255, 255, 255, 0.2),\n inset 0 1px 1px rgba(0, 0, 0, 0.08);\n }\n .toolbar-button.error {\n background: linear-gradient(#fdf3f3, #e6d6d7);\n color: #b00;\n }\n\n .autoInsertedLeaf.cm-property {\n -webkit-animation-duration: 6s;\n animation-duration: 6s;\n -webkit-animation-name: insertionFade;\n animation-name: insertionFade;\n border-bottom: 2px solid rgba(255, 255, 255, 0);\n border-radius: 2px;\n margin: -2px -4px -1px;\n padding: 2px 4px 1px;\n }\n\n @-webkit-keyframes insertionFade {\n from,\n to {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n }\n\n 15%,\n 85% {\n background: #fbffc9;\n border-color: #f0f3c0;\n }\n }\n\n @keyframes insertionFade {\n from,\n to {\n background: rgba(255, 255, 255, 0);\n border-color: rgba(255, 255, 255, 0);\n }\n\n 15%,\n 85% {\n background: #fbffc9;\n border-color: #f0f3c0;\n }\n }\n\n .CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n }\n\n .CodeMirror-scrollbar-filler,\n .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n }\n\n /* GUTTER */\n\n .CodeMirror-gutters {\n background-color: transparent;\n border: none;\n white-space: nowrap;\n }\n .CodeMirror-linenumbers {\n background: ",";\n }\n .CodeMirror-linenumber {\n font-family: Open Sans, sans-serif;\n font-weight: 600;\n font-size: ",";\n color: ",";\n min-width: 20px;\n padding: 0 3px 0 5px;\n text-align: right;\n white-space: nowrap;\n }\n\n .CodeMirror-guttermarker {\n color: black;\n }\n .CodeMirror-guttermarker-subtle {\n color: #999;\n }\n\n .cm-tab {\n display: inline-block;\n text-decoration: inherit;\n }\n\n .CodeMirror-ruler {\n border-left: 1px solid #ccc;\n position: absolute;\n }\n .cm-negative {\n color: #d44;\n }\n .cm-positive {\n color: #292;\n }\n .cm-header,\n .cm-strong {\n font-weight: bold;\n }\n .cm-em {\n font-style: italic;\n }\n .cm-link {\n text-decoration: underline;\n }\n .cm-strikethrough {\n text-decoration: line-through;\n }\n\n .cm-s-default .cm-error {\n color: #f00;\n }\n .cm-invalidchar {\n color: #f00;\n }\n\n .CodeMirror-composing {\n border-bottom: 2px solid;\n }\n .CodeMirror-matchingtag {\n background: rgba(255, 150, 0, 0.3);\n }\n .CodeMirror-activeline-background {\n background: #e8f2ff;\n }\n\n /* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n .CodeMirror {\n background: white;\n overflow: hidden;\n line-height: 1.6;\n }\n\n .CodeMirror-scroll {\n height: 100%;\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n /* margin-bottom: -30px;\n margin-right: -30px; */\n outline: none; /* Prevent dragging from highlighting the element */\n overflow: hidden;\n /* padding-bottom: 30px; */\n position: relative;\n &:hover {\n overflow: scroll !important;\n }\n }\n .CodeMirror-sizer {\n border-right: 30px solid transparent;\n position: relative;\n }\n\n /* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n .CodeMirror-vscrollbar,\n .CodeMirror-hscrollbar,\n .CodeMirror-scrollbar-filler,\n .CodeMirror-gutter-filler {\n display: none !important;\n position: absolute;\n z-index: 6;\n }\n .CodeMirror-vscrollbar {\n overflow-x: hidden;\n overflow-y: scroll;\n right: 0;\n top: 0;\n }\n .CodeMirror-hscrollbar {\n bottom: 0;\n left: 0;\n overflow-x: scroll;\n overflow-y: hidden;\n }\n .CodeMirror-scrollbar-filler {\n right: 0;\n bottom: 0;\n }\n .CodeMirror-gutter-filler {\n left: 0;\n bottom: 0;\n }\n\n .CodeMirror-gutters {\n min-height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n margin-left: 3px;\n }\n .CodeMirror-gutter {\n display: inline-block;\n height: 100%;\n margin-bottom: -30px;\n vertical-align: top;\n white-space: normal;\n /* Hack to make IE7 behave */\n *zoom: 1;\n *display: inline;\n }\n .CodeMirror-gutter-wrapper {\n background: none !important;\n border: none !important;\n position: absolute;\n z-index: 4;\n }\n .CodeMirror-gutter-background {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 4;\n }\n .CodeMirror-gutter-elt {\n cursor: default;\n position: absolute;\n z-index: 4;\n }\n .CodeMirror-gutter-wrapper {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n\n .CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n }\n .CodeMirror pre {\n -webkit-tap-highlight-color: transparent;\n /* Reset some styles that the rest of the page might have set */\n background: transparent;\n border-radius: 0;\n border-width: 0;\n color: inherit;\n font-family: inherit;\n font-size: inherit;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n line-height: inherit;\n margin: 0;\n overflow: visible;\n position: relative;\n white-space: pre;\n word-wrap: normal;\n z-index: 2;\n }\n .CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n }\n\n .CodeMirror-linebackground {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 0;\n }\n\n .CodeMirror-linewidget {\n overflow: auto;\n position: relative;\n z-index: 2;\n }\n\n .CodeMirror-widget {\n }\n\n .CodeMirror-code {\n outline: none;\n }\n\n /* Force content-box sizing for the elements where we expect it */\n .CodeMirror-scroll,\n .CodeMirror-sizer,\n .CodeMirror-gutter,\n .CodeMirror-gutters,\n .CodeMirror-linenumber {\n box-sizing: content-box;\n }\n\n .CodeMirror-measure {\n height: 0;\n overflow: hidden;\n position: absolute;\n visibility: hidden;\n width: 100%;\n }\n\n .CodeMirror-cursor {\n position: absolute;\n }\n .CodeMirror-measure pre {\n position: static;\n }\n\n div.CodeMirror-cursors {\n position: relative;\n visibility: hidden;\n z-index: 3;\n }\n div.CodeMirror-dragcursors {\n visibility: visible;\n }\n\n .CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n }\n\n .CodeMirror-selected {\n background: ",";\n }\n .CodeMirror-focused .CodeMirror-selected {\n background: ",";\n }\n .CodeMirror-crosshair {\n cursor: crosshair;\n }\n .CodeMirror-line::-moz-selection,\n .CodeMirror-line > span::-moz-selection,\n .CodeMirror-line > span > span::-moz-selection {\n background: ",";\n }\n .CodeMirror-line::selection,\n .CodeMirror-line > span::selection,\n .CodeMirror-line > span > span::selection {\n background: ",";\n }\n .CodeMirror-line::-moz-selection,\n .CodeMirror-line > span::-moz-selection,\n .CodeMirror-line > span > span::-moz-selection {\n background: ",";\n }\n\n .cm-searching {\n background: #ffa;\n background: rgba(255, 255, 0, 0.4);\n }\n\n /* IE7 hack to prevent it from returning funny offsetTops on the spans */\n .CodeMirror span {\n *vertical-align: text-bottom;\n }\n\n /* Used to force a border model for a node */\n .cm-force-border {\n padding-right: 0.1px;\n }\n\n @media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n }\n\n /* See issue #2901 */\n .cm-tab-wrap-hack:after {\n content: '';\n }\n\n /* Help users use markselection to safely style text background */\n span.CodeMirror-selectedtext {\n background: none;\n }\n\n .CodeMirror-dialog {\n background: inherit;\n color: inherit;\n left: 0;\n right: 0;\n overflow: hidden;\n padding: 0.1em 0.8em;\n position: absolute;\n z-index: 15;\n }\n\n .CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n }\n\n .CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n }\n\n .CodeMirror-dialog input {\n background: transparent;\n border: 1px solid #d3d6db;\n color: inherit;\n font-family: monospace;\n outline: none;\n width: 20em;\n }\n\n .CodeMirror-dialog button {\n font-size: 70%;\n }\n\n .CodeMirror-foldgutter {\n width: 0.7em;\n }\n .CodeMirror-foldgutter-open,\n .CodeMirror-foldgutter-folded {\n cursor: pointer;\n }\n .CodeMirror-foldgutter-open:after {\n content: '\u25be';\n }\n .CodeMirror-foldgutter-folded:after {\n content: '\u25b8';\n }\n /* The lint marker gutter */\n .CodeMirror-lint-markers {\n width: 16px;\n }\n\n .CodeMirror-jump-token {\n cursor: pointer;\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.editorColours.comment}),(function(e){return e.theme.editorColours.punctuation}),(function(e){return e.theme.editorColours.property}),(function(e){return e.theme.editorColours.keyword}),(function(e){return e.theme.editorColours.def}),(function(e){return e.theme.editorColours.def}),(function(e){return e.theme.editorColours.attribute}),(function(e){return e.theme.editorColours.number}),(function(e){return e.theme.editorColours.string}),(function(e){return e.theme.editorColours.builtin}),(function(e){return e.theme.editorColours.string2}),(function(e){return e.theme.editorColours.variable}),(function(e){return e.theme.editorColours.meta}),(function(e){return e.theme.editorColours.atom}),(function(e){return e.theme.editorColours.ws}),(function(e){return e.theme.settings["editor.fontFamily"]}),(function(e){return e.theme.settings["editor.fontSize"]+"px"}),(function(e){return e.theme.colours.text}),(function(e){return"block"===e.theme.settings["editor.cursorShape"]?e.theme.editorColours.cursorColor:"transparent"}),(function(e){return"line"===e.theme.settings["editor.cursorShape"]?"1px solid "+e.theme.editorColours.cursorColor:0}),(function(e){return"underline"===e.theme.settings["editor.cursorShape"]?"1px solid "+e.theme.editorColours.cursorColor:0}),(function(e){return e.theme.editorColours.editorBackground}),(function(e){return e.theme.settings["editor.fontSize"]-2+"px"}),(function(e){return e.theme.colours.textInactive}),(function(e){return e.theme.editorColours.selection}),(function(e){return e.theme.editorColours.selection}),(function(e){return e.theme.editorColours.selection}),(function(e){return e.theme.editorColours.selection}),(function(e){return e.theme.editorColours.selection})),p=c.createGlobalStyle(a||(a=r(['\n *::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 7px;\n height: 7px;\n }\n *::-webkit-scrollbar-track-piece {\n background-color: rgba(255, 255, 255, 0);\n }\n *::-webkit-scrollbar-track {\n background-color: inherit;\n }\n *::-webkit-scrollbar-thumb {\n max-height: 100px;\n border-radius: 3px;\n background-color: rgba(1, 1, 1, 0.23);\n }\n *::-webkit-scrollbar-thumb:hover {\n background-color: rgba(1, 1, 1, 0.35);\n }\n *::-webkit-scrollbar-thumb:active {\n background-color: rgba(1, 1, 1, 0.48);\n }\n *::-webkit-scrollbar-corner {\n background: rgba(0,0,0,0);\n }\n\n\n .CodeMirror-lint-tooltip, .CodeMirror-info {\n background-color: white;\n border-radius: 4px 4px 4px 4px;\n border: 1px solid black;\n color: #09141C;\n font-family: Open Sans, monospace;\n font-size: 14px;\n max-width: 600px;\n opacity: 0;\n overflow: hidden;\n padding: 12px 14px;\n position: fixed;\n -webkit-transition: opacity 0.4s;\n transition: opacity 0.4s;\n z-index: 100;\n }\n\n .CodeMirror-lint-message-error,\n .CodeMirror-lint-message-warning {\n padding-left: 18px;\n }\n\n .CodeMirror-lint-mark-error,\n .CodeMirror-lint-mark-warning {\n background-position: left bottom;\n background-repeat: repeat-x;\n }\n\n .CodeMirror-lint-mark-error {\n background-image: url(\'data:image/svg+xml;utf8,<svg width="5" height="4" viewBox="0 0 5 4" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M5 1.00954C4.87191 1.03474 4.75219 1.10989 4.674 1.235L3.87 2.52141C3.28249 3.46141 1.9135 3.46141 1.326 2.52141L0.521998 1.235C0.404356 1.04677 0.19271 0.971619 0 1.00954V0.00314821C0.0325855 0.00105209 0.0652291 2.68503e-06 0.0978728 5.14592e-09C0.0977892 -1.71531e-09 0.0979564 -1.71531e-09 0.0978728 5.14592e-09C0.586954 4.01563e-05 1.07627 0.235041 1.37 0.705002L2.174 1.99141C2.36983 2.30474 2.82616 2.30474 3.022 1.99141L3.826 0.705002C4.10012 0.266408 4.54438 0.0324569 5 0.00314818V1.00954Z" fill="#FF4F56"/>\n </svg>\n \');\n }\n\n .CodeMirror-lint-mark-warning {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\');\n }\n\n .CodeMirror-lint-marker-error,\n .CodeMirror-lint-marker-warning {\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: inline-block;\n height: 16px;\n position: relative;\n vertical-align: middle;\n width: 16px;\n }\n\n .CodeMirror-lint-message-error,\n .CodeMirror-lint-message-warning {\n background-position: top left;\n background-repeat: no-repeat;\n padding-left: 22px;\n }\n\n .CodeMirror-lint-marker-error,\n .CodeMirror-lint-message-error {\n background-image: url(\'data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="8" cy="8" r="8" fill="#FF4F56"/>\n <path d="M4.2929 10.2928C3.90237 10.6833 3.90237 11.3164 4.29289 11.707C4.68341 12.0975 5.31657 12.0975 5.7071 11.707L4.2929 10.2928ZM11.7071 5.70711C12.0976 5.31659 12.0976 4.68343 11.7071 4.2929C11.3166 3.90237 10.6834 3.90237 10.2929 4.29289L11.7071 5.70711ZM5.7071 4.29301C5.31657 3.90249 4.68341 3.9025 4.29289 4.29302C3.90237 4.68355 3.90237 5.31672 4.2929 5.70724L5.7071 4.29301ZM10.2929 11.7071C10.6834 12.0976 11.3166 12.0976 11.7071 11.7071C12.0976 11.3166 12.0976 10.6834 11.7071 10.2929L10.2929 11.7071ZM5.7071 11.707L11.7071 5.70711L10.2929 4.29289L4.2929 10.2928L5.7071 11.707ZM4.2929 5.70724L10.2929 11.7071L11.7071 10.2929L5.7071 4.29301L4.2929 5.70724Z" fill="white"/>\n </svg>\n \');\n background-position: 0 50%;\n }\n\n .CodeMirror-lint-marker-warning,\n .CodeMirror-lint-message-warning {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\');\n }\n\n .CodeMirror-lint-marker-multiple {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\');\n background-position: right bottom;\n background-repeat: no-repeat;\n width: 100%;\n height: 100%;\n }\n\n .CodeMirror-lint-mark-error {\n &:before {\n content: \'\';\n width: 50px;\n height: 14px;\n position: absolute;\n background: #FF4F56;\n left: -80px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 10;\n }\n }\n\n .CodeMirror-lint-message-error span {\n color: white;\n background: #FF4F56;\n font-family: \'Source Code Pro\', monospace;\n font-weight: 600;\n border-radius: 2px;\n padding: 0 4px;\n }\n\n .CodeMirror-hints {\n background: white;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n font-size: 14px;\n list-style: none;\n margin-left: -6px;\n margin: 0;\n max-height: 20em;\n overflow: hidden;\n padding: 0;\n position: absolute;\n z-index: 10;\n border-radius: 2px;\n top: 0;\n left: 0;\n &:hover {\n overflow-y: overlay;\n }\n }\n\n .CodeMirror-hints-wrapper {\n font-family: \'Open Sans\', sans-serif;\n background: white;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n margin-left: -6px;\n position: absolute;\n z-index: 10;\n }\n\n .CodeMirror-hints-wrapper .CodeMirror-hints {\n box-shadow: none;\n margin-left: 0;\n position: relative;\n z-index: 0;\n }\n\n .CodeMirror-hint {\n color: rgba(15, 32, 45, 0.6);\n cursor: pointer;\n margin: 0;\n max-width: 300px;\n overflow: hidden;\n padding: 6px 12px;\n white-space: pre;\n }\n\n li.CodeMirror-hint-active {\n background-color: #2a7ed3;\n border-top-color: white;\n color: white;\n }\n\n .CodeMirror-hint-information {\n border-top: solid 1px rgba(0, 0, 0, 0.1);\n max-width: 300px;\n padding: 10px 12px;\n position: relative;\n z-index: 1;\n background-color: rgba(15, 32, 45, 0.03);\n font-size: 14px;\n }\n\n .CodeMirror-hint-information:first-child {\n border-bottom: solid 1px #c0c0c0;\n border-top: none;\n margin-bottom: -1px;\n }\n\n .CodeMirror-hint-information .content {\n color: rgba(15, 32, 45, 0.6);\n box-orient: vertical;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n line-clamp: 3;\n line-height: 1.36;\n max-height: 59px;\n overflow: hidden;\n text-overflow: -o-ellipsis-lastline;\n }\n\n .CodeMirror-hint-information .content p:first-child {\n margin-top: 0;\n }\n\n .CodeMirror-hint-information .content p:last-child {\n margin-bottom: 0;\n }\n\n .CodeMirror-hint-information .infoType {\n color: rgb(241, 143, 1);\n cursor: pointer;\n display: inline;\n margin-right: 0.5em;\n }\n'],['\n *::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 7px;\n height: 7px;\n }\n *::-webkit-scrollbar-track-piece {\n background-color: rgba(255, 255, 255, 0);\n }\n *::-webkit-scrollbar-track {\n background-color: inherit;\n }\n *::-webkit-scrollbar-thumb {\n max-height: 100px;\n border-radius: 3px;\n background-color: rgba(1, 1, 1, 0.23);\n }\n *::-webkit-scrollbar-thumb:hover {\n background-color: rgba(1, 1, 1, 0.35);\n }\n *::-webkit-scrollbar-thumb:active {\n background-color: rgba(1, 1, 1, 0.48);\n }\n *::-webkit-scrollbar-corner {\n background: rgba(0,0,0,0);\n }\n\n\n .CodeMirror-lint-tooltip, .CodeMirror-info {\n background-color: white;\n border-radius: 4px 4px 4px 4px;\n border: 1px solid black;\n color: #09141C;\n font-family: Open Sans, monospace;\n font-size: 14px;\n max-width: 600px;\n opacity: 0;\n overflow: hidden;\n padding: 12px 14px;\n position: fixed;\n -webkit-transition: opacity 0.4s;\n transition: opacity 0.4s;\n z-index: 100;\n }\n\n .CodeMirror-lint-message-error,\n .CodeMirror-lint-message-warning {\n padding-left: 18px;\n }\n\n .CodeMirror-lint-mark-error,\n .CodeMirror-lint-mark-warning {\n background-position: left bottom;\n background-repeat: repeat-x;\n }\n\n .CodeMirror-lint-mark-error {\n background-image: url(\'data:image/svg+xml;utf8,<svg width="5" height="4" viewBox="0 0 5 4" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M5 1.00954C4.87191 1.03474 4.75219 1.10989 4.674 1.235L3.87 2.52141C3.28249 3.46141 1.9135 3.46141 1.326 2.52141L0.521998 1.235C0.404356 1.04677 0.19271 0.971619 0 1.00954V0.00314821C0.0325855 0.00105209 0.0652291 2.68503e-06 0.0978728 5.14592e-09C0.0977892 -1.71531e-09 0.0979564 -1.71531e-09 0.0978728 5.14592e-09C0.586954 4.01563e-05 1.07627 0.235041 1.37 0.705002L2.174 1.99141C2.36983 2.30474 2.82616 2.30474 3.022 1.99141L3.826 0.705002C4.10012 0.266408 4.54438 0.0324569 5 0.00314818V1.00954Z" fill="#FF4F56"/>\n </svg>\n \');\n }\n\n .CodeMirror-lint-mark-warning {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\');\n }\n\n .CodeMirror-lint-marker-error,\n .CodeMirror-lint-marker-warning {\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: inline-block;\n height: 16px;\n position: relative;\n vertical-align: middle;\n width: 16px;\n }\n\n .CodeMirror-lint-message-error,\n .CodeMirror-lint-message-warning {\n background-position: top left;\n background-repeat: no-repeat;\n padding-left: 22px;\n }\n\n .CodeMirror-lint-marker-error,\n .CodeMirror-lint-message-error {\n background-image: url(\'data:image/svg+xml;utf8,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n <circle cx="8" cy="8" r="8" fill="#FF4F56"/>\n <path d="M4.2929 10.2928C3.90237 10.6833 3.90237 11.3164 4.29289 11.707C4.68341 12.0975 5.31657 12.0975 5.7071 11.707L4.2929 10.2928ZM11.7071 5.70711C12.0976 5.31659 12.0976 4.68343 11.7071 4.2929C11.3166 3.90237 10.6834 3.90237 10.2929 4.29289L11.7071 5.70711ZM5.7071 4.29301C5.31657 3.90249 4.68341 3.9025 4.29289 4.29302C3.90237 4.68355 3.90237 5.31672 4.2929 5.70724L5.7071 4.29301ZM10.2929 11.7071C10.6834 12.0976 11.3166 12.0976 11.7071 11.7071C12.0976 11.3166 12.0976 10.6834 11.7071 10.2929L10.2929 11.7071ZM5.7071 11.707L11.7071 5.70711L10.2929 4.29289L4.2929 10.2928L5.7071 11.707ZM4.2929 5.70724L10.2929 11.7071L11.7071 10.2929L5.7071 4.29301L4.2929 5.70724Z" fill="white"/>\n </svg>\n \');\n background-position: 0 50%;\n }\n\n .CodeMirror-lint-marker-warning,\n .CodeMirror-lint-message-warning {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\');\n }\n\n .CodeMirror-lint-marker-multiple {\n background-image: url(\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\');\n background-position: right bottom;\n background-repeat: no-repeat;\n width: 100%;\n height: 100%;\n }\n\n .CodeMirror-lint-mark-error {\n &:before {\n content: \'\';\n width: 50px;\n height: 14px;\n position: absolute;\n background: #FF4F56;\n left: -80px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 10;\n }\n }\n\n .CodeMirror-lint-message-error span {\n color: white;\n background: #FF4F56;\n font-family: \'Source Code Pro\', monospace;\n font-weight: 600;\n border-radius: 2px;\n padding: 0 4px;\n }\n\n .CodeMirror-hints {\n background: white;\n box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);\n font-size: 14px;\n list-style: none;\n margin-left: -6px;\n margin: 0;\n max-height: 20em;\n overflow: hidden;\n padding: 0;\n position: absolute;\n z-index: 10;\n border-radius: 2px;\n top: 0;\n left: 0;\n &:hover {\n overflow-y: overlay;\n }\n }\n\n .CodeMirror-hints-wrapper {\n font-family: \'Open Sans\', sans-serif;\n background: white;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n margin-left: -6px;\n position: absolute;\n z-index: 10;\n }\n\n .CodeMirror-hints-wrapper .CodeMirror-hints {\n box-shadow: none;\n margin-left: 0;\n position: relative;\n z-index: 0;\n }\n\n .CodeMirror-hint {\n color: rgba(15, 32, 45, 0.6);\n cursor: pointer;\n margin: 0;\n max-width: 300px;\n overflow: hidden;\n padding: 6px 12px;\n white-space: pre;\n }\n\n li.CodeMirror-hint-active {\n background-color: #2a7ed3;\n border-top-color: white;\n color: white;\n }\n\n .CodeMirror-hint-information {\n border-top: solid 1px rgba(0, 0, 0, 0.1);\n max-width: 300px;\n padding: 10px 12px;\n position: relative;\n z-index: 1;\n background-color: rgba(15, 32, 45, 0.03);\n font-size: 14px;\n }\n\n .CodeMirror-hint-information:first-child {\n border-bottom: solid 1px #c0c0c0;\n border-top: none;\n margin-bottom: -1px;\n }\n\n .CodeMirror-hint-information .content {\n color: rgba(15, 32, 45, 0.6);\n box-orient: vertical;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n line-clamp: 3;\n line-height: 1.36;\n max-height: 59px;\n overflow: hidden;\n text-overflow: -o-ellipsis-lastline;\n }\n\n .CodeMirror-hint-information .content p:first-child {\n margin-top: 0;\n }\n\n .CodeMirror-hint-information .content p:last-child {\n margin-bottom: 0;\n }\n\n .CodeMirror-hint-information .infoType {\n color: rgb(241, 143, 1);\n cursor: pointer;\n display: inline;\n margin-right: 0.5em;\n }\n']))),f=c.styled.div(s||(s=r(["\n color: #141823;\n display: flex;\n flex-direction: row;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 14px;\n height: 100%;\n margin: 0;\n overflow: hidden;\n width: 100%;\n"],["\n color: #141823;\n display: flex;\n flex-direction: row;\n font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular',\n 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande',\n arial, sans-serif;\n font-size: 14px;\n height: 100%;\n margin: 0;\n overflow: hidden;\n width: 100%;\n"]))),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getWidth=function(){return t.graphqlContainer.offsetWidth},t.setGraphqlContainer=function(e){t.graphqlContainer=e},t}return i(t,e),t.prototype.render=function(){return u.createElement(f,{ref:this.setGraphqlContainer},this.props.children)},t}(u.PureComponent);t.Container=d,t.default=function(e){var t=e.children;return u.createElement(l,{onMouseMove:function(e){if(e.target.classList.contains("CodeMirror-lint-mark-error"))for(var t=document.getElementsByClassName("CodeMirror-lint-message-error"),n=0,r=Array.from(t);n<r.length;n++){var i=r[n];i.innerHTML=i.innerHTML.replace(/"(.*?)"/g,"<span>$1</span>")}}},t,u.createElement(p,null))}},function(e,t,n){!function(e){"use strict";var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function a(e,t,n){t=i(t,"g");for(var o=n.line,a=n.ch,s=e.lastLine();o<=s;o++,a=0){t.lastIndex=a;var u=e.getLine(o),c=t.exec(u);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,"gm");for(var s,u=1,c=n.line,l=e.lastLine();c<=l;){for(var p=0;p<u&&!(c>l);p++){var f=e.getLine(c++);s=null==s?f:s+"\n"+f}u*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split("\n"),m=d[0].split("\n"),g=n.line+h.length-1,v=h[h.length-1].length;return{from:r(g,v),to:r(g+m.length-1,1==m.length?v+m[0].length:m[m.length-1].length),match:d}}}}function u(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,"g");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),l=u(c,t,a<0?0:c.length-a);if(l)return{from:r(o,l.index),to:r(o,l.index+l[0].length),match:l}}}function l(e,t,n){if(!o(t))return c(e,t,n);t=i(t,"gm");for(var a,s=1,l=e.getLine(n.line).length-n.ch,p=n.line,f=e.firstLine();p>=f;){for(var d=0;d<s&&p>=f;d++){var h=e.getLine(p--);a=null==a?h:h+"\n"+a}s*=2;var m=u(a,t,l);if(m){var g=a.slice(0,m.index).split("\n"),v=m[0].split("\n"),y=p+g.length,b=g[g.length-1].length;return{from:r(y,b),to:r(y+v.length-1,1==v.length?b+v[0].length:v[v.length-1].length),match:m}}}}function p(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function f(e,i,o,a){if(!i.length)return null;var s=a?t:n,u=s(i).split(/\r|\n\r?/);e:for(var c=o.line,l=o.ch,f=e.lastLine()+1-u.length;c<=f;c++,l=0){var d=e.getLine(c).slice(l),h=s(d);if(1==u.length){var m=h.indexOf(u[0]);if(-1==m)continue e;return o=p(d,h,m,s)+l,{from:r(c,p(d,h,m,s)+l),to:r(c,p(d,h,m+u[0].length,s)+l)}}var g=h.length-u[0].length;if(h.slice(g)==u[0]){for(var v=1;v<u.length-1;v++)if(s(e.getLine(c+v))!=u[v])continue e;var y=e.getLine(c+u.length-1),b=s(y),x=u[u.length-1];if(b.slice(0,x.length)==x)return{from:r(c,p(d,h,g,s)+l),to:r(c+u.length-1,p(y,b,x.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,u=s(i).split(/\r|\n\r?/);e:for(var c=o.line,l=o.ch,f=e.firstLine()-1+u.length;c>=f;c--,l=-1){var d=e.getLine(c);l>-1&&(d=d.slice(0,l));var h=s(d);if(1==u.length){var m=h.lastIndexOf(u[0]);if(-1==m)continue e;return{from:r(c,p(d,h,m,s)),to:r(c,p(d,h,m+u[0].length,s))}}var g=u[u.length-1];if(h.slice(0,g.length)==g){var v=1;for(o=c-u.length+1;v<u.length-1;v++)if(s(e.getLine(o+v))!=u[v])continue e;var y=e.getLine(c+1-u.length),b=s(y);if(b.slice(b.length-u[0].length)==u[0])return{from:r(c+1-u.length,p(y,b,y.length-u[0].length,s)),to:r(c,p(d,h,g.length,s))}}}}function h(e,t,n,o){var u;this.atOccurrence=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof o?u=o.caseFold:(u=o,o=null),"string"==typeof t?(null==u&&(u=!1),this.matches=function(n,r){return(n?d:f)(e,t,r,u)}):(t=i(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:a)(e,t,r)}:this.matches=function(n,r){return(n?l:s)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",(function(e,t,n){return new h(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new h(this,e,t,n)})),e.defineExtension("selectMatches",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor("from"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(14))},function(e,t,n){!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement("div"))).className=r?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,"dialog-opened"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,u=this;function c(t){if("string"==typeof t)p.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,"dialog-opened"),a.parentNode.removeChild(a),u.focus(),o.onClose&&o.onClose(a)}}var l,p=a.getElementsByTagName("input")[0];return p?(p.focus(),o.value&&(p.value=o.value,!1!==o.selectValueOnOpen&&p.select()),o.onInput&&e.on(p,"input",(function(e){o.onInput(e,p.value,c)})),o.onKeyUp&&e.on(p,"keyup",(function(e){o.onKeyUp(e,p.value,c)})),e.on(p,"keydown",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,p.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(p.blur(),e.e_stop(t),c()),13==t.keyCode&&i(p.value,t))})),!1!==o.closeOnBlur&&e.on(a,"focusout",(function(e){null!==e.relatedTarget&&c()}))):(l=a.getElementsByTagName("button")[0])&&(e.on(l,"click",(function(){c(),u.focus()})),!1!==o.closeOnBlur&&e.on(l,"blur",c),l.focus()),c})),e.defineExtension("openConfirm",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName("button"),u=!1,c=this,l=1;function p(){u||(u=!0,e.rmClass(a.parentNode,"dialog-opened"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var f=0;f<s.length;++f){var d=s[f];!function(t){e.on(d,"click",(function(n){e.e_preventDefault(n),p(),t&&t(c)}))}(i[f]),e.on(d,"blur",(function(){--l,setTimeout((function(){l<=0&&p()}),200)})),e.on(d,"focus",(function(){++l}))}})),e.defineExtension("openNotification",(function(r,i){n(this,c);var o,a=t(this,r,i&&i.bottom),s=!1,u=i&&"undefined"!==typeof i.duration?i.duration:5e3;function c(){s||(s=!0,clearTimeout(o),e.rmClass(a.parentNode,"dialog-opened"),a.parentNode.removeChild(a))}return e.on(a,"click",(function(t){e.e_preventDefault(t),c()})),u&&(o=setTimeout(c,u)),c}))}(n(14))},function(e,t,n){"use strict";n.r(t),n.d(t,"Range",(function(){return o})),n.d(t,"Position",(function(){return a})),n.d(t,"offsetToPosition",(function(){return s})),n.d(t,"locToRange",(function(){return u}));var r=n(66),i=n(67),o=function(){function e(t,n){var i=this;Object(r.a)(this,e),this.containsPosition=function(e){return i.start.line===e.line?i.start.character<=e.character:i.end.line===e.line?i.end.character>=e.character:i.start.line<=e.line&&i.end.line>=e.line},this.start=t,this.end=n}return Object(i.a)(e,[{key:"setStart",value:function(e,t){this.start=new a(e,t)}},{key:"setEnd",value:function(e,t){this.end=new a(e,t)}}]),e}(),a=function(){function e(t,n){var i=this;Object(r.a)(this,e),this.lessThanOrEqualTo=function(e){return i.line<e.line||i.line===e.line&&i.character<=e.character},this.line=t,this.character=n}return Object(i.a)(e,[{key:"setLine",value:function(e){this.line=e}},{key:"setCharacter",value:function(e){this.character=e}}]),e}();function s(e,t){var n=e.slice(0,t),r=n.split("\n").length-1,i=n.lastIndexOf("\n");return new a(r,t-i-1)}function u(e,t){var n=s(e,t.start),r=s(e,t.end);return new o(n,r)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);t.setStacks=(r=i.createActions({SET_STACKS:function(e,t){return{sessionId:e,stacks:t}},ADD_STACK:function(e,t,n,r){return{sessionId:e,field:t,x:n,y:r}},TOGGLE_DOCS:function(e,t){return{sessionId:e,activeTabIdx:t}},SET_DOCS_VISIBLE:function(e,t,n){return{sessionId:e,open:t,activeTabIdx:n}},CHANGE_WIDTH_DOCS:function(e,t){return{sessionId:e,width:t}},CHANGE_KEY_MOVE:function(e,t){return{sessionId:e,move:t}},SHOW_DOC_FOR_REFERENCE:function(e){return{reference:e}}})).setStacks,t.addStack=r.addStack,t.toggleDocs=r.toggleDocs,t.setDocsVisible=r.setDocsVisible,t.changeWidthDocs=r.changeWidthDocs,t.changeKeyMove=r.changeKeyMove,t.showDocForReference=r.showDocForReference},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(134),o=n(38);t.getSessionDocsState=r.createSelector([o.getSelectedWorkspace],(function(e){var t=e.sessions.selectedSessionId;return e.docs.get(t)||new i.DocsSession})),t.getSessionDocs=r.createSelector([t.getSessionDocsState],(function(e){return e.toJS()})),t.getDocsOpen=r.createSelector([t.getSessionDocsState],(function(e){return e.get("docsOpen")}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(46),i=n(12),o=n(2),a=n(23),s=n(130),u=n(45),c=n(27),l=n(1),p=n(13),f=n(0);function d(e,t){if(Object(f.L)(t)){var n=d(e,t.ofType);return n&&n.kind===l.a.NULL?null:n}if(null===e)return{kind:l.a.NULL};if(Object(u.a)(e))return null;if(Object(f.J)(t)){var m=t.ofType;if(Object(r.e)(e)){var g=[];return Object(r.b)(e,(function(e){var t=d(e,m);t&&g.push(t)})),{kind:l.a.LIST,values:g}}return d(e,m)}if(Object(f.F)(t)){if(!Object(c.a)(e))return null;for(var v=[],y=0,b=Object(i.a)(t.getFields());y<b.length;y++){var x=b[y],E=d(e[x.name],x.type);E&&v.push({kind:l.a.OBJECT_FIELD,name:{kind:l.a.NAME,value:x.name},value:E})}return{kind:l.a.OBJECT,fields:v}}if(Object(f.I)(t)){var D=t.serialize(e);if(Object(s.a)(D))return null;if("boolean"===typeof D)return{kind:l.a.BOOLEAN,value:D};if("number"===typeof D){var C=String(D);return h.test(C)?{kind:l.a.INT,value:C}:{kind:l.a.FLOAT,value:C}}if("string"===typeof D)return Object(f.E)(t)?{kind:l.a.ENUM,value:D}:t===p.c&&h.test(D)?{kind:l.a.INT,value:D}:{kind:l.a.STRING,value:D};throw new TypeError("Cannot convert value to AST: ".concat(Object(o.a)(D)))}Object(a.a)(!1,"Unexpected input type: "+Object(o.a)(t))}var h=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d}));var r=n(7),i=n(4),o=n(20),a=n(88),s=n(69),u=n(133),c=n(107);Object.freeze({});function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.a,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.a(e),p=arguments.length>4?arguments[4]:void 0;t||Object(r.a)(0,"Must provide document"),Object(a.a)(e);var f=Object.freeze({}),d=[],h=p&&p.maxErrors,m=new c.b(e,t,l,(function(e){if(null!=h&&d.length>=h)throw d.push(new i.a("Too many validation errors, error limit reached. Validation aborted.")),f;d.push(e)})),g=Object(o.d)(n.map((function(e){return e(m)})));try{Object(o.c)(t,Object(o.e)(l,g))}catch(v){if(v!==f)throw v}return d}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.b,r=[],i=new c.a(e,t,(function(e){r.push(e)})),a=n.map((function(e){return e(i)}));return Object(o.c)(e,Object(o.d)(a)),r}function f(e){var t=p(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}function d(e,t){var n=p(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join("\n\n"))}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(65),s=n(24),u=n(22),c=n(432),l=n(56),p=n(190),f=n(80),d=n(81),h=n(28),m=n(26),g=n(8),v=function(e){function t(t){var n=e.call(this,t)||this;return n.onClick=function(){n.props.clickable&&n.props.addStack(n.props.sessionId,n.props.type,n.props.x,n.props.y)},n.setRef=function(e){n.ref=e},n.state={collapsed:!1},n}return r(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.props.type!==e.type||this.props.keyMove!==e.keyMove||this.props.isActive!==e.isActive||this.state.collapsed!==t.collapsed},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(){this.updateSize()},t.prototype.updateSize=function(){if(this.ref){"function"===typeof this.props.onSetWidth&&this.props.onSetWidth(this.ref.scrollWidth);this.ref.scrollHeight>31&&!this.state.collapsed&&this.props.collapsable&&this.setState({collapsed:!0})}},t.prototype.render=function(){var e=this.props,t=e.type,n=e.clickable,r=e.className,i=e.beforeNode,a=e.afterNode,s=e.showParentName,p=e.isActive,f=u.isType(t),d=s&&t.parent?o.createElement("span",null,t.parent.name,".",o.createElement("b",null,t.name)):t.name;return o.createElement(C,{active:p,clickable:n,className:"doc-category-item"+(r||""),onClick:this.onClick,ref:this.setRef},i,i&&" ",!f&&o.createElement("span",null,o.createElement("span",{className:"field-name"},d),t.args&&t.args.length>0&&["(",o.createElement("span",{key:"args"},this.state.collapsed?o.createElement(w,null,"..."):t.args.map((function(e){return o.createElement(c.default,{key:e.name,arg:e})}))),")"],": "),o.createElement("span",{className:"type-name"},function e(t){if(t instanceof u.GraphQLNonNull)return o.createElement("span",null,e(t.ofType),"!");if(t instanceof u.GraphQLList)return o.createElement("span",null,"[",e(t.ofType),"]");return o.createElement("span",null,t.name)}(t.type||t)),void 0!==t.defaultValue?o.createElement(k,null," ","= ",o.createElement("span",null,""+JSON.stringify(t.defaultValue,null,2))):void 0,n&&o.createElement(S,null,o.createElement(l.Triangle,null)),a&&" ",a)},t.defaultProps={clickable:!0,collapsable:!1},t}(o.Component);var y=m.createSelector([function(e,t){var n=t.x,r=t.y,i=d.getSessionDocsState(e),o=h.getSelectedSessionIdFromRoot(e);if(i){var a=i.navStack.get(n);if(a){var s=a.get("x")===n&&a.get("y")===r;return{isActive:s,keyMove:i.keyMove,lastActive:s&&n===i.navStack.length-1,sessionId:o}}}return{isActive:!1,keyMove:!1,lastActive:!1,sessionId:o}}],(function(e){return e}));t.default=s.connect(y,(function(e){return a.bindActionCreators({addStack:f.addStack},e)}))(p.toJS(v));var b,x,E,D,C=g.styled("div")(b||(b=i(["\n position: relative;\n padding: 6px 16px;\n overflow: auto;\n font-size: 14px;\n transition: 0.1s background-color;\n background: ",";\n\n cursor: ",";\n\n &:hover {\n color: ",";\n background: #2a7ed3;\n .field-name,\n .type-name,\n .arg-name,\n span {\n color: "," !important;\n }\n }\n b {\n font-weight: 600;\n }\n"],["\n position: relative;\n padding: 6px 16px;\n overflow: auto;\n font-size: 14px;\n transition: 0.1s background-color;\n background: ",";\n\n cursor: ",";\n\n &:hover {\n color: ",";\n background: #2a7ed3;\n .field-name,\n .type-name,\n .arg-name,\n span {\n color: "," !important;\n }\n }\n b {\n font-weight: 600;\n }\n"])),(function(e){return e.active?e.theme.colours.black07:e.theme.colours.white}),(function(e){return e.clickable?"pointer":"select"}),(function(e){return e.theme.colours.white}),(function(e){return e.theme.colours.white})),w=g.styled.span(x||(x=i(["\n font-weight: 600;\n"],["\n font-weight: 600;\n"]))),S=g.styled.div(E||(E=i(["\n position: absolute;\n right: 10px;\n top: 50%;\n transform: translateY(-50%);\n"],["\n position: absolute;\n right: 10px;\n top: 50%;\n transform: translateY(-50%);\n"]))),k=g.styled.span(D||(D=i(["\n color: ",";\n span {\n color: #1f61a9;\n }\n"],["\n color: ",";\n span {\n color: #1f61a9;\n }\n"])),(function(e){return e.theme.colours.black30}))},function(e,t,n){"use strict";function r(e){return"undefined"===typeof e||null===e}e.exports.isNothing=r,e.exports.isObject=function(e){return"object"===typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:r(e)?[]:[e]},e.exports.repeat=function(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var n,r,i,o;if(t)for(n=0,r=(o=Object.keys(t)).length;n<r;n+=1)e[i=o[n]]=t[i];return e}},function(e,t,n){"use strict";var r=n(85),i=n(102),o=n(34);function a(e,t,n){var r=[];return e.include.forEach((function(e){n=a(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function s(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new i("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=a(this,"implicit",[]),this.compiledExplicit=a(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}(this.compiledImplicit,this.compiledExplicit)}s.DEFAULT=null,s.create=function(){var e,t;switch(arguments.length){case 1:e=s.DEFAULT,t=arguments[0];break;case 2:e=arguments[0],t=arguments[1];break;default:throw new i("Wrong number of arguments for Schema.create function")}if(e=r.toArray(e),t=r.toArray(t),!e.every((function(e){return e instanceof s})))throw new i("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!t.every((function(e){return e instanceof o})))throw new i("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new s({include:e,explicit:t})},e.exports=s},function(e,t,n){"use strict";e.exports=n(281)},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return g}));var r=n(58),i=n(54),o=n(12),a=n(52),s=n(2),u=n(4),c=n(241),l=n(71),p=n(17),f=n(11),d=n(51),h=n(0);function m(e){if(Object(d.b)(e),e.__validationErrors)return e.__validationErrors;var t=new v(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(h.N)(n)||e.reportError("Query root type must be Object type, it cannot be ".concat(Object(s.a)(n),"."),y(t,n,"query")):e.reportError("Query root type must be provided.",t.astNode);var r=t.getMutationType();r&&!Object(h.N)(r)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(Object(s.a)(r),"."),y(t,r,"mutation"));var i=t.getSubscriptionType();i&&!Object(h.N)(i)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(Object(s.a)(i),"."),y(t,i,"subscription"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(Object(p.g)(r)){b(e,r);for(var i=Object.create(null),o=function(t,n){var o=n[t],a=o.name;if(b(e,o),i[a])return e.reportError("Argument @".concat(r.name,"(").concat(a,":) can only be defined once."),r.astNode&&r.args.filter((function(e){return e.name===a})).map((function(e){return e.astNode}))),"continue";i[a]=!0,Object(h.G)(o.type)||e.reportError("The type of @".concat(r.name,"(").concat(a,":) must be Input Type ")+"but got: ".concat(Object(s.a)(o.type),"."),o.astNode)},a=0,u=r.args;a<u.length;a++)o(a,u)}else e.reportError("Expected directive but got: ".concat(Object(s.a)(r),"."),r&&r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function i(a){if(t[a.name])return;t[a.name]=!0,r[a.name]=n.length;for(var s=Object(o.a)(a.getFields()),u=0;u<s.length;u++){var c=s[u];if(Object(h.L)(c.type)&&Object(h.F)(c.type.ofType)){var l=c.type.ofType,p=r[l.name];if(n.push(c),void 0===p)i(l);else{var f=n.slice(p),d=f.map((function(e){return e.name})).join(".");e.reportError('Cannot reference Input Object "'.concat(l.name,'" within itself through a series of non-null fields: "').concat(d,'".'),f.map((function(e){return e.astNode})))}n.pop()}}r[a.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,i=Object(o.a)(n);r<i.length;r++){var a=i[r];Object(h.K)(a)?(Object(f.isIntrospectionType)(a)||b(e,a),Object(h.N)(a)?(x(e,a),E(e,a)):Object(h.H)(a)?x(e,a):Object(h.T)(a)?C(e,a):Object(h.E)(a)?w(e,a):Object(h.F)(a)&&(S(e,a),t(a))):e.reportError("Expected GraphQL named type but got: ".concat(Object(s.a)(a),"."),a&&a.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function g(e){var t=m(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}var v=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new u.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function y(e,t,n){for(var r=A(e,(function(e){return e.operationTypes})),i=0;i<r.length;i++){var o=r[i];if(o.operation===n)return o.type}return t.astNode}function b(e,t){if(-1===e.schema.__allowedLegacyNames.indexOf(t.name)){var n=Object(c.b)(t.name,t.astNode||void 0);n&&e.addError(n)}}function x(e,t){var n=Object(o.a)(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),k(t));for(var r=0;r<n.length;r++){var i=n[r];b(e,i),Object(h.O)(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Output Type ")+"but got: ".concat(Object(s.a)(i.type),"."),i.astNode&&i.astNode.type);for(var a=Object.create(null),u=function(n,r){var o=r[n],u=o.name;b(e,o),a[u]&&e.reportError("Field argument ".concat(t.name,".").concat(i.name,"(").concat(u,":) can only be defined once."),i.args.filter((function(e){return e.name===u})).map((function(e){return e.astNode}))),a[u]=!0,Object(h.G)(o.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name,"(").concat(u,":) must be Input ")+"Type but got: ".concat(Object(s.a)(o.type),"."),o.astNode&&o.astNode.type)},c=0,l=i.args;c<l.length;c++)u(c,l)}}function E(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(h.H)(o)?n[o.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(o.name," once."),T(t,o)):(n[o.name]=!0,D(e,t,o)):e.reportError("Type ".concat(Object(s.a)(t)," must only implement Interface types, ")+"it cannot implement ".concat(Object(s.a)(o),"."),T(t,o))}}function D(e,t,n){for(var i=t.getFields(),o=n.getFields(),u=0,c=Object(a.a)(o);u<c.length;u++){var p=c[u],f=p[0],d=p[1],m=i[f];if(m){Object(l.c)(e.schema,m.type,d.type)||e.reportError("Interface field ".concat(n.name,".").concat(f," expects type ")+"".concat(Object(s.a)(d.type)," but ").concat(t.name,".").concat(f," ")+"is type ".concat(Object(s.a)(m.type),"."),[d.astNode&&d.astNode.type,m.astNode&&m.astNode.type]);for(var g=function(i,o){var a=o[i],u=a.name,c=Object(r.a)(m.args,(function(e){return e.name===u}));if(!c)return e.reportError("Interface field argument ".concat(n.name,".").concat(f,"(").concat(u,":) expected but ").concat(t.name,".").concat(f," does not provide it."),[a.astNode,m.astNode]),"continue";Object(l.b)(a.type,c.type)||e.reportError("Interface field argument ".concat(n.name,".").concat(f,"(").concat(u,":) ")+"expects type ".concat(Object(s.a)(a.type)," but ")+"".concat(t.name,".").concat(f,"(").concat(u,":) is type ")+"".concat(Object(s.a)(c.type),"."),[a.astNode&&a.astNode.type,c.astNode&&c.astNode.type])},v=0,y=d.args;v<y.length;v++)g(v,y);for(var b=function(i,o){var a=o[i],s=a.name;!Object(r.a)(d.args,(function(e){return e.name===s}))&&Object(h.P)(a)&&e.reportError("Object field ".concat(t.name,".").concat(f," includes required argument ").concat(s," that is missing from the Interface field ").concat(n.name,".").concat(f,"."),[a.astNode,d.astNode])},x=0,E=m.args;x<E.length;x++)b(x,E)}else e.reportError("Interface field ".concat(n.name,".").concat(f," expected but ").concat(t.name," does not provide it."),[d.astNode].concat(k(t)))}}function C(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),k(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),_(t,o.name)):(r[o.name]=!0,Object(h.N)(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat(Object(s.a)(o),"."),_(t,String(o))))}}function w(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),k(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;b(e,i),"true"!==o&&"false"!==o&&"null"!==o||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(o,"."),i.astNode)}}function S(e,t){var n=Object(o.a)(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),k(t));for(var r=0;r<n.length;r++){var i=n[r];b(e,i),Object(h.G)(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Input Type ")+"but got: ".concat(Object(s.a)(i.type),"."),i.astNode&&i.astNode.type)}}function k(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:n||[]}function A(e,t){return Object(i.a)(k(e),(function(e){return t(e)||[]}))}function T(e,t){return A(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function _(e,t){return A(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7),i=n(47),o=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||Object(r.a)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Object(r.a)(0,"column in locationOffset is 1-indexed and must be positive")};Object(i.a)(o)},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var p=0;p<s.length;p++)o.call(n,s[p])&&(u[s[p]]=n[s[p]])}}return u}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,p=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++p<t;)u&&u[p].run();p=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(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 n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||l||s(d)},h.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,n){!function(t){"use strict";var n=0,r=Math.pow(36,4),i=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},o=function(){return i((Math.random()*r<<0).toString(36),4)},a=function(){return n=n<r?n:0,++n-1},s=function(){var e=(new Date).getTime().toString(36),t=s.fingerprint(),n=o()+o();return"c"+e+i(a().toString(36),4)+t+n};s.slug=function(){var e,t=(new Date).getTime().toString(36),n=s.fingerprint().slice(0,1)+s.fingerprint().slice(-1),r=o().slice(-2);return e=a().toString(36).slice(-4),t.slice(-2)+e+n+r},s.globalCount=function(){var e=function(){var e,t=0;for(e in window)t++;return t}();return s.globalCount=function(){return e},e},s.fingerprint=function(){return i((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+s.globalCount().toString(36),4)},t.register?t.register("cuid",s):e.exports=s}(this.applitude||this)},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(310),a=n(326);t.safely=function(e){return function(){var t,n,r=[];for(t=0;t<arguments.length;t++)r[t]=arguments[t];return i(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e.apply(void 0,r)];case 1:return t.sent(),[3,3];case 2:return n=t.sent(),console.error(n),[3,3];case 3:return[2]}}))}},t.prettify=function(e,t){return o.format(e,r(r({},t),{parser:"graphql",plugins:[a]}))},t.isIframe=function(){try{return window.self!==window.top}catch(e){return!0}}},function(e,t,n){(function(e,r){var i;(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",l="[object Boolean]",p="[object Date]",f="[object Error]",d="[object Function]",h="[object GeneratorFunction]",m="[object Map]",g="[object Number]",v="[object Object]",y="[object RegExp]",b="[object Set]",x="[object String]",E="[object Symbol]",D="[object WeakMap]",C="[object ArrayBuffer]",w="[object DataView]",S="[object Float32Array]",k="[object Float64Array]",A="[object Int8Array]",T="[object Int16Array]",_="[object Int32Array]",O="[object Uint8Array]",F="[object Uint16Array]",N="[object Uint32Array]",I=/\b__p \+= '';/g,M=/\b(__p \+=) '' \+/g,j=/(__e\(.*?\)|\b__t\)) \+\n'';/g,L=/&(?:amp|lt|gt|quot|#39);/g,P=/[&<>"']/g,R=RegExp(L.source),B=RegExp(P.source),z=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,K=RegExp(G.source),J=/^\s+|\s+$/g,Y=/^\s+/,Q=/\s+$/,$=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,ee=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ie=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ae=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,pe=/['\n\r\u2028\u2029\\]/g,fe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",de="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",he="[\\ud800-\\udfff]",me="["+de+"]",ge="["+fe+"]",ve="\\d+",ye="[\\u2700-\\u27bf]",be="[a-z\\xdf-\\xf6\\xf8-\\xff]",xe="[^\\ud800-\\udfff"+de+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ee="\\ud83c[\\udffb-\\udfff]",De="[^\\ud800-\\udfff]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",we="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ke="(?:"+be+"|"+xe+")",Ae="(?:"+Se+"|"+xe+")",Te="(?:"+ge+"|"+Ee+")"+"?",_e="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[De,Ce,we].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),Oe="(?:"+[ye,Ce,we].join("|")+")"+_e,Fe="(?:"+[De+ge+"?",ge,Ce,we,he].join("|")+")",Ne=RegExp("['\u2019]","g"),Ie=RegExp(ge,"g"),Me=RegExp(Ee+"(?="+Ee+")|"+Fe+_e,"g"),je=RegExp([Se+"?"+be+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[me,Se,"$"].join("|")+")",Ae+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[me,Se+ke,"$"].join("|")+")",Se+"?"+ke+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Se+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Oe].join("|"),"g"),Le=RegExp("[\\u200d\\ud800-\\udfff"+fe+"\\ufe0e\\ufe0f]"),Pe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Re=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Be=-1,ze={};ze[S]=ze[k]=ze[A]=ze[T]=ze[_]=ze[O]=ze["[object Uint8ClampedArray]"]=ze[F]=ze[N]=!0,ze[u]=ze[c]=ze[C]=ze[l]=ze[w]=ze[p]=ze[f]=ze[d]=ze[m]=ze[g]=ze[v]=ze[y]=ze[b]=ze[x]=ze[D]=!1;var Ue={};Ue[u]=Ue[c]=Ue[C]=Ue[w]=Ue[l]=Ue[p]=Ue[S]=Ue[k]=Ue[A]=Ue[T]=Ue[_]=Ue[m]=Ue[g]=Ue[v]=Ue[y]=Ue[b]=Ue[x]=Ue[E]=Ue[O]=Ue["[object Uint8ClampedArray]"]=Ue[F]=Ue[N]=!0,Ue[f]=Ue[d]=Ue[D]=!1;var qe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,He=parseInt,We="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,Ke=We||Ge||Function("return this")(),Je=t&&!t.nodeType&&t,Ye=Je&&"object"==typeof r&&r&&!r.nodeType&&r,Qe=Ye&&Ye.exports===Je,$e=Qe&&We.process,Xe=function(){try{var e=Ye&&Ye.require&&Ye.require("util").types;return e||$e&&$e.binding&&$e.binding("util")}catch(t){}}(),Ze=Xe&&Xe.isArrayBuffer,et=Xe&&Xe.isDate,tt=Xe&&Xe.isMap,nt=Xe&&Xe.isRegExp,rt=Xe&&Xe.isSet,it=Xe&&Xe.isTypedArray;function ot(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function at(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function st(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function lt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function pt(e,t){return!!(null==e?0:e.length)&&Et(e,t,0)>-1}function ft(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function dt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function ht(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function mt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function gt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function vt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var yt=St("length");function bt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function xt(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Et(e,t,n){return t===t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):xt(e,Ct,n)}function Dt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function Ct(e){return e!==e}function wt(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function St(e){return function(t){return null==t?void 0:t[e]}}function kt(e){return function(t){return null==e?void 0:e[t]}}function At(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Tt(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}function _t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Ot(e){return function(t){return e(t)}}function Ft(e,t){return dt(t,(function(t){return e[t]}))}function Nt(e,t){return e.has(t)}function It(e,t){for(var n=-1,r=e.length;++n<r&&Et(t,e[n],0)>-1;);return n}function Mt(e,t){for(var n=e.length;n--&&Et(t,e[n],0)>-1;);return n}function jt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Lt=kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Pt=kt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Rt(e){return"\\"+qe[e]}function Bt(e){return Le.test(e)}function zt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function qt(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==a||(e[n]=a,o[i++]=n)}return o}function Vt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Ht(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return Bt(e)?function(e){var t=Me.lastIndex=0;for(;Me.test(e);)++t;return t}(e):yt(e)}function Gt(e){return Bt(e)?function(e){return e.match(Me)||[]}(e):function(e){return e.split("")}(e)}var Kt=kt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Jt=function e(t){var n=(t=null==t?Ke:Jt.defaults(Ke.Object(),t,Jt.pick(Ke,Re))).Array,r=t.Date,i=t.Error,fe=t.Function,de=t.Math,he=t.Object,me=t.RegExp,ge=t.String,ve=t.TypeError,ye=n.prototype,be=fe.prototype,xe=he.prototype,Ee=t["__core-js_shared__"],De=be.toString,Ce=xe.hasOwnProperty,we=0,Se=function(){var e=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ke=xe.toString,Ae=De.call(he),Te=Ke._,_e=me("^"+De.call(Ce).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=Qe?t.Buffer:void 0,Fe=t.Symbol,Me=t.Uint8Array,Le=Oe?Oe.allocUnsafe:void 0,qe=Ut(he.getPrototypeOf,he),We=he.create,Ge=xe.propertyIsEnumerable,Je=ye.splice,Ye=Fe?Fe.isConcatSpreadable:void 0,$e=Fe?Fe.iterator:void 0,Xe=Fe?Fe.toStringTag:void 0,yt=function(){try{var e=Xi(he,"defineProperty");return e({},"",{}),e}catch(t){}}(),kt=t.clearTimeout!==Ke.clearTimeout&&t.clearTimeout,Yt=r&&r.now!==Ke.Date.now&&r.now,Qt=t.setTimeout!==Ke.setTimeout&&t.setTimeout,$t=de.ceil,Xt=de.floor,Zt=he.getOwnPropertySymbols,en=Oe?Oe.isBuffer:void 0,tn=t.isFinite,nn=ye.join,rn=Ut(he.keys,he),on=de.max,an=de.min,sn=r.now,un=t.parseInt,cn=de.random,ln=ye.reverse,pn=Xi(t,"DataView"),fn=Xi(t,"Map"),dn=Xi(t,"Promise"),hn=Xi(t,"Set"),mn=Xi(t,"WeakMap"),gn=Xi(he,"create"),vn=mn&&new mn,yn={},bn=ko(pn),xn=ko(fn),En=ko(dn),Dn=ko(hn),Cn=ko(mn),wn=Fe?Fe.prototype:void 0,Sn=wn?wn.valueOf:void 0,kn=wn?wn.toString:void 0;function An(e){if(Va(e)&&!Na(e)&&!(e instanceof Fn)){if(e instanceof On)return e;if(Ce.call(e,"__wrapped__"))return Ao(e)}return new On(e)}var Tn=function(){function e(){}return function(t){if(!qa(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function _n(){}function On(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Fn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function In(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Mn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function jn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Mn;++t<n;)this.add(e[t])}function Ln(e){var t=this.__data__=new In(e);this.size=t.size}function Pn(e,t){var n=Na(e),r=!n&&Fa(e),i=!n&&!r&&La(e),o=!n&&!r&&!i&&$a(e),a=n||r||i||o,s=a?_t(e.length,ge):[],u=s.length;for(var c in e)!t&&!Ce.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||oo(c,u))||s.push(c);return s}function Rn(e){var t=e.length;return t?e[jr(0,t-1)]:void 0}function Bn(e,t){return Co(gi(e),Jn(t,0,e.length))}function zn(e){return Co(gi(e))}function Un(e,t,n){(void 0!==n&&!Ta(e[t],n)||void 0===n&&!(t in e))&&Gn(e,t,n)}function qn(e,t,n){var r=e[t];Ce.call(e,t)&&Ta(r,n)&&(void 0!==n||t in e)||Gn(e,t,n)}function Vn(e,t){for(var n=e.length;n--;)if(Ta(e[n][0],t))return n;return-1}function Hn(e,t,n,r){return Zn(e,(function(e,i,o){t(r,e,n(e),o)})),r}function Wn(e,t){return e&&vi(t,bs(t),e)}function Gn(e,t,n){"__proto__"==t&&yt?yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Kn(e,t){for(var r=-1,i=t.length,o=n(i),a=null==e;++r<i;)o[r]=a?void 0:hs(e,t[r]);return o}function Jn(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Yn(e,t,n,r,i,o){var a,s=1&t,c=2&t,f=4&t;if(n&&(a=i?n(e,r,i,o):n(e)),void 0!==a)return a;if(!qa(e))return e;var D=Na(e);if(D){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ce.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return gi(e,a)}else{var I=to(e),M=I==d||I==h;if(La(e))return li(e,s);if(I==v||I==u||M&&!i){if(a=c||M?{}:ro(e),!s)return c?function(e,t){return vi(e,eo(e),t)}(e,function(e,t){return e&&vi(t,xs(t),e)}(a,e)):function(e,t){return vi(e,Zi(e),t)}(e,Wn(a,e))}else{if(!Ue[I])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case C:return pi(e);case l:case p:return new r(+e);case w:return function(e,t){var n=t?pi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case S:case k:case A:case T:case _:case O:case"[object Uint8ClampedArray]":case F:case N:return fi(e,n);case m:return new r;case g:case x:return new r(e);case y:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case b:return new r;case E:return i=e,Sn?he(Sn.call(i)):{}}var i}(e,I,s)}}o||(o=new Ln);var j=o.get(e);if(j)return j;o.set(e,a),Ja(e)?e.forEach((function(r){a.add(Yn(r,t,n,r,e,o))})):Ha(e)&&e.forEach((function(r,i){a.set(i,Yn(r,t,n,i,e,o))}));var L=D?void 0:(f?c?Wi:Hi:c?xs:bs)(e);return st(L||e,(function(r,i){L&&(r=e[i=r]),qn(a,i,Yn(r,t,n,i,e,o))})),a}function Qn(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var i=n[r],o=t[i],a=e[i];if(void 0===a&&!(i in e)||!o(a))return!1}return!0}function $n(e,t,n){if("function"!=typeof e)throw new ve(o);return bo((function(){e.apply(void 0,n)}),t)}function Xn(e,t,n,r){var i=-1,o=pt,a=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=dt(t,Ot(n))),r?(o=ft,a=!1):t.length>=200&&(o=Nt,a=!1,t=new jn(t));e:for(;++i<s;){var l=e[i],p=null==n?l:n(l);if(l=r||0!==l?l:0,a&&p===p){for(var f=c;f--;)if(t[f]===p)continue e;u.push(l)}else o(t,p,r)||u.push(l)}return u}An.templateSettings={escape:z,evaluate:U,interpolate:q,variable:"",imports:{_:An}},An.prototype=_n.prototype,An.prototype.constructor=An,On.prototype=Tn(_n.prototype),On.prototype.constructor=On,Fn.prototype=Tn(_n.prototype),Fn.prototype.constructor=Fn,Nn.prototype.clear=function(){this.__data__=gn?gn(null):{},this.size=0},Nn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Nn.prototype.get=function(e){var t=this.__data__;if(gn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ce.call(t,e)?t[e]:void 0},Nn.prototype.has=function(e){var t=this.__data__;return gn?void 0!==t[e]:Ce.call(t,e)},Nn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gn&&void 0===t?"__lodash_hash_undefined__":t,this},In.prototype.clear=function(){this.__data__=[],this.size=0},In.prototype.delete=function(e){var t=this.__data__,n=Vn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Je.call(t,n,1),--this.size,!0)},In.prototype.get=function(e){var t=this.__data__,n=Vn(t,e);return n<0?void 0:t[n][1]},In.prototype.has=function(e){return Vn(this.__data__,e)>-1},In.prototype.set=function(e,t){var n=this.__data__,r=Vn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Mn.prototype.clear=function(){this.size=0,this.__data__={hash:new Nn,map:new(fn||In),string:new Nn}},Mn.prototype.delete=function(e){var t=Qi(this,e).delete(e);return this.size-=t?1:0,t},Mn.prototype.get=function(e){return Qi(this,e).get(e)},Mn.prototype.has=function(e){return Qi(this,e).has(e)},Mn.prototype.set=function(e,t){var n=Qi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},jn.prototype.add=jn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},jn.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.clear=function(){this.__data__=new In,this.size=0},Ln.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ln.prototype.get=function(e){return this.__data__.get(e)},Ln.prototype.has=function(e){return this.__data__.has(e)},Ln.prototype.set=function(e,t){var n=this.__data__;if(n instanceof In){var r=n.__data__;if(!fn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Mn(r)}return n.set(e,t),this.size=n.size,this};var Zn=xi(sr),er=xi(ur,!0);function tr(e,t){var n=!0;return Zn(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function nr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],a=t(o);if(null!=a&&(void 0===s?a===a&&!Qa(a):n(a,s)))var s=a,u=o}return u}function rr(e,t){var n=[];return Zn(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function ir(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=io),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?ir(s,t-1,n,r,i):ht(i,s):r||(i[i.length]=s)}return i}var or=Ei(),ar=Ei(!0);function sr(e,t){return e&&or(e,t,bs)}function ur(e,t){return e&&ar(e,t,bs)}function cr(e,t){return lt(t,(function(t){return Ba(e[t])}))}function lr(e,t){for(var n=0,r=(t=ai(t,e)).length;null!=e&&n<r;)e=e[So(t[n++])];return n&&n==r?e:void 0}function pr(e,t,n){var r=t(e);return Na(e)?r:ht(r,n(e))}function fr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Xe&&Xe in he(e)?function(e){var t=Ce.call(e,Xe),n=e[Xe];try{e[Xe]=void 0;var r=!0}catch(o){}var i=ke.call(e);r&&(t?e[Xe]=n:delete e[Xe]);return i}(e):function(e){return ke.call(e)}(e)}function dr(e,t){return e>t}function hr(e,t){return null!=e&&Ce.call(e,t)}function mr(e,t){return null!=e&&t in he(e)}function gr(e,t,r){for(var i=r?ft:pt,o=e[0].length,a=e.length,s=a,u=n(a),c=1/0,l=[];s--;){var p=e[s];s&&t&&(p=dt(p,Ot(t))),c=an(p.length,c),u[s]=!r&&(t||o>=120&&p.length>=120)?new jn(s&&p):void 0}p=e[0];var f=-1,d=u[0];e:for(;++f<o&&l.length<c;){var h=p[f],m=t?t(h):h;if(h=r||0!==h?h:0,!(d?Nt(d,m):i(l,m,r))){for(s=a;--s;){var g=u[s];if(!(g?Nt(g,m):i(e[s],m,r)))continue e}d&&d.push(m),l.push(h)}}return l}function vr(e,t,n){var r=null==(e=mo(e,t=ai(t,e)))?e:e[So(Ro(t))];return null==r?void 0:ot(r,e,n)}function yr(e){return Va(e)&&fr(e)==u}function br(e,t,n,r,i){return e===t||(null==e||null==t||!Va(e)&&!Va(t)?e!==e&&t!==t:function(e,t,n,r,i,o){var a=Na(e),s=Na(t),d=a?c:to(e),h=s?c:to(t),D=(d=d==u?v:d)==v,S=(h=h==u?v:h)==v,k=d==h;if(k&&La(e)){if(!La(t))return!1;a=!0,D=!1}if(k&&!D)return o||(o=new Ln),a||$a(e)?qi(e,t,n,r,i,o):function(e,t,n,r,i,o,a){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case C:return!(e.byteLength!=t.byteLength||!o(new Me(e),new Me(t)));case l:case p:case g:return Ta(+e,+t);case f:return e.name==t.name&&e.message==t.message;case y:case x:return e==t+"";case m:var s=zt;case b:var u=1&r;if(s||(s=Vt),e.size!=t.size&&!u)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var d=qi(s(e),s(t),r,i,o,a);return a.delete(e),d;case E:if(Sn)return Sn.call(e)==Sn.call(t)}return!1}(e,t,d,n,r,i,o);if(!(1&n)){var A=D&&Ce.call(e,"__wrapped__"),T=S&&Ce.call(t,"__wrapped__");if(A||T){var _=A?e.value():e,O=T?t.value():t;return o||(o=new Ln),i(_,O,n,r,o)}}if(!k)return!1;return o||(o=new Ln),function(e,t,n,r,i,o){var a=1&n,s=Hi(e),u=s.length,c=Hi(t).length;if(u!=c&&!a)return!1;var l=u;for(;l--;){var p=s[l];if(!(a?p in t:Ce.call(t,p)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var d=!0;o.set(e,t),o.set(t,e);var h=a;for(;++l<u;){p=s[l];var m=e[p],g=t[p];if(r)var v=a?r(g,m,p,t,e,o):r(m,g,p,e,t,o);if(!(void 0===v?m===g||i(m,g,n,r,o):v)){d=!1;break}h||(h="constructor"==p)}if(d&&!h){var y=e.constructor,b=t.constructor;y==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b||(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o)}(e,t,n,r,br,i))}function xr(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return!o;for(e=he(e);i--;){var s=n[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){var u=(s=n[i])[0],c=e[u],l=s[1];if(a&&s[2]){if(void 0===c&&!(u in e))return!1}else{var p=new Ln;if(r)var f=r(c,l,u,e,t,p);if(!(void 0===f?br(l,c,3,r,p):f))return!1}}return!0}function Er(e){return!(!qa(e)||(t=e,Se&&Se in t))&&(Ba(e)?_e:ae).test(ko(e));var t}function Dr(e){return"function"==typeof e?e:null==e?Ws:"object"==typeof e?Na(e)?Tr(e[0],e[1]):Ar(e):eu(e)}function Cr(e){if(!lo(e))return rn(e);var t=[];for(var n in he(e))Ce.call(e,n)&&"constructor"!=n&&t.push(n);return t}function wr(e){if(!qa(e))return function(e){var t=[];if(null!=e)for(var n in he(e))t.push(n);return t}(e);var t=lo(e),n=[];for(var r in e)("constructor"!=r||!t&&Ce.call(e,r))&&n.push(r);return n}function Sr(e,t){return e<t}function kr(e,t){var r=-1,i=Ma(e)?n(e.length):[];return Zn(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function Ar(e){var t=$i(e);return 1==t.length&&t[0][2]?fo(t[0][0],t[0][1]):function(n){return n===e||xr(n,e,t)}}function Tr(e,t){return so(e)&&po(t)?fo(So(e),t):function(n){var r=hs(n,e);return void 0===r&&r===t?ms(n,e):br(t,r,3)}}function _r(e,t,n,r,i){e!==t&&or(t,(function(o,a){if(i||(i=new Ln),qa(o))!function(e,t,n,r,i,o,a){var s=vo(e,n),u=vo(t,n),c=a.get(u);if(c)return void Un(e,n,c);var l=o?o(s,u,n+"",e,t,a):void 0,p=void 0===l;if(p){var f=Na(u),d=!f&&La(u),h=!f&&!d&&$a(u);l=u,f||d||h?Na(s)?l=s:ja(s)?l=gi(s):d?(p=!1,l=li(u,!0)):h?(p=!1,l=fi(u,!0)):l=[]:Ga(u)||Fa(u)?(l=s,Fa(s)?l=os(s):qa(s)&&!Ba(s)||(l=ro(u))):p=!1}p&&(a.set(u,l),i(l,u,r,o,a),a.delete(u));Un(e,n,l)}(e,t,a,n,_r,r,i);else{var s=r?r(vo(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),Un(e,a,s)}}),xs)}function Or(e,t){var n=e.length;if(n)return oo(t+=t<0?n:0,n)?e[t]:void 0}function Fr(e,t,n){var r=-1;return t=dt(t.length?t:[Ws],Ot(Yi())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(kr(e,(function(e,n,i){return{criteria:dt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var u=di(i[r],o[r]);if(u){if(r>=s)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Nr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=lr(e,a);n(s,a)&&zr(o,ai(a,e),s)}return o}function Ir(e,t,n,r){var i=r?Dt:Et,o=-1,a=t.length,s=e;for(e===t&&(t=gi(t)),n&&(s=dt(e,Ot(n)));++o<a;)for(var u=0,c=t[o],l=n?n(c):c;(u=i(s,l,u,r))>-1;)s!==e&&Je.call(s,u,1),Je.call(e,u,1);return e}function Mr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;oo(i)?Je.call(e,i,1):Xr(e,i)}}return e}function jr(e,t){return e+Xt(cn()*(t-e+1))}function Lr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Xt(t/2))&&(e+=e)}while(t);return n}function Pr(e,t){return xo(ho(e,t,Ws),e+"")}function Rr(e){return Rn(Ts(e))}function Br(e,t){var n=Ts(e);return Co(n,Jn(t,0,n.length))}function zr(e,t,n,r){if(!qa(e))return e;for(var i=-1,o=(t=ai(t,e)).length,a=o-1,s=e;null!=s&&++i<o;){var u=So(t[i]),c=n;if(i!=a){var l=s[u];void 0===(c=r?r(l,u,s):void 0)&&(c=qa(l)?l:oo(t[i+1])?[]:{})}qn(s,u,c),s=s[u]}return e}var Ur=vn?function(e,t){return vn.set(e,t),e}:Ws,qr=yt?function(e,t){return yt(e,"toString",{configurable:!0,enumerable:!1,value:qs(t),writable:!0})}:Ws;function Vr(e){return Co(Ts(e))}function Hr(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i<o;)a[i]=e[i+t];return a}function Wr(e,t){var n;return Zn(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function Gr(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!Qa(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return Kr(e,t,Ws,n)}function Kr(e,t,n,r){t=n(t);for(var i=0,o=null==e?0:e.length,a=t!==t,s=null===t,u=Qa(t),c=void 0===t;i<o;){var l=Xt((i+o)/2),p=n(e[l]),f=void 0!==p,d=null===p,h=p===p,m=Qa(p);if(a)var g=r||h;else g=c?h&&(r||f):s?h&&f&&(r||!d):u?h&&f&&!d&&(r||!m):!d&&!m&&(r?p<=t:p<t);g?i=l+1:o=l}return an(o,4294967294)}function Jr(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ta(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Yr(e){return"number"==typeof e?e:Qa(e)?NaN:+e}function Qr(e){if("string"==typeof e)return e;if(Na(e))return dt(e,Qr)+"";if(Qa(e))return kn?kn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $r(e,t,n){var r=-1,i=pt,o=e.length,a=!0,s=[],u=s;if(n)a=!1,i=ft;else if(o>=200){var c=t?null:Li(e);if(c)return Vt(c);a=!1,i=Nt,u=new jn}else u=t?[]:s;e:for(;++r<o;){var l=e[r],p=t?t(l):l;if(l=n||0!==l?l:0,a&&p===p){for(var f=u.length;f--;)if(u[f]===p)continue e;t&&u.push(p),s.push(l)}else i(u,p,n)||(u!==s&&u.push(p),s.push(l))}return s}function Xr(e,t){return null==(e=mo(e,t=ai(t,e)))||delete e[So(Ro(t))]}function Zr(e,t,n,r){return zr(e,t,n(lr(e,t)),r)}function ei(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Hr(e,r?0:o,r?o+1:i):Hr(e,r?o+1:0,r?i:o)}function ti(e,t){var n=e;return n instanceof Fn&&(n=n.value()),mt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function ni(e,t,r){var i=e.length;if(i<2)return i?$r(e[0]):[];for(var o=-1,a=n(i);++o<i;)for(var s=e[o],u=-1;++u<i;)u!=o&&(a[o]=Xn(a[o]||s,e[u],t,r));return $r(ir(a,1),t,r)}function ri(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}function ii(e){return ja(e)?e:[]}function oi(e){return"function"==typeof e?e:Ws}function ai(e,t){return Na(e)?e:so(e,t)?[e]:wo(as(e))}var si=Pr;function ui(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Hr(e,t,n)}var ci=kt||function(e){return Ke.clearTimeout(e)};function li(e,t){if(t)return e.slice();var n=e.length,r=Le?Le(n):new e.constructor(n);return e.copy(r),r}function pi(e){var t=new e.constructor(e.byteLength);return new Me(t).set(new Me(e)),t}function fi(e,t){var n=t?pi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function di(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,o=Qa(e),a=void 0!==t,s=null===t,u=t===t,c=Qa(t);if(!s&&!c&&!o&&e>t||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&e<t||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!u)return-1}return 0}function hi(e,t,r,i){for(var o=-1,a=e.length,s=r.length,u=-1,c=t.length,l=on(a-s,0),p=n(c+l),f=!i;++u<c;)p[u]=t[u];for(;++o<s;)(f||o<a)&&(p[r[o]]=e[o]);for(;l--;)p[u++]=e[o++];return p}function mi(e,t,r,i){for(var o=-1,a=e.length,s=-1,u=r.length,c=-1,l=t.length,p=on(a-u,0),f=n(p+l),d=!i;++o<p;)f[o]=e[o];for(var h=o;++c<l;)f[h+c]=t[c];for(;++s<u;)(d||o<a)&&(f[h+r[s]]=e[o++]);return f}function gi(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function vi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?Gn(n,s,u):qn(n,s,u)}return n}function yi(e,t){return function(n,r){var i=Na(n)?at:Hn,o=t?t():{};return i(n,e,Yi(r,2),o)}}function bi(e){return Pr((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&ao(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=he(t);++r<i;){var s=n[r];s&&e(t,s,r,o)}return t}))}function xi(e,t){return function(n,r){if(null==n)return n;if(!Ma(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=he(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Ei(e){return function(t,n,r){for(var i=-1,o=he(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}function Di(e){return function(t){var n=Bt(t=as(t))?Gt(t):void 0,r=n?n[0]:t.charAt(0),i=n?ui(n,1).join(""):t.slice(1);return r[e]()+i}}function Ci(e){return function(t){return mt(Bs(Fs(t).replace(Ne,"")),e,"")}}function wi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Tn(e.prototype),r=e.apply(n,t);return qa(r)?r:n}}function Si(e){return function(t,n,r){var i=he(t);if(!Ma(t)){var o=Yi(n,3);t=bs(t),n=function(e){return o(i[e],e,i)}}var a=e(t,n,r);return a>-1?i[o?t[a]:a]:void 0}}function ki(e){return Vi((function(t){var n=t.length,r=n,i=On.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ve(o);if(i&&!s&&"wrapper"==Ki(a))var s=new On([],!0)}for(r=s?r:n;++r<n;){var u=Ki(a=t[r]),c="wrapper"==u?Gi(a):void 0;s=c&&uo(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[Ki(c[0])].apply(s,c[3]):1==a.length&&uo(a)?s[u]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Na(r))return s.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function Ai(e,t,r,i,o,a,s,u,c,l){var p=128&t,f=1&t,d=2&t,h=24&t,m=512&t,g=d?void 0:wi(e);return function v(){for(var y=arguments.length,b=n(y),x=y;x--;)b[x]=arguments[x];if(h)var E=Ji(v),D=jt(b,E);if(i&&(b=hi(b,i,o,h)),a&&(b=mi(b,a,s,h)),y-=D,h&&y<l){var C=qt(b,E);return Mi(e,t,Ai,v.placeholder,r,b,C,u,c,l-y)}var w=f?r:this,S=d?w[e]:e;return y=b.length,u?b=go(b,u):m&&y>1&&b.reverse(),p&&c<y&&(b.length=c),this&&this!==Ke&&this instanceof v&&(S=g||wi(S)),S.apply(w,b)}}function Ti(e,t){return function(n,r){return function(e,t,n,r){return sr(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function _i(e,t){return function(n,r){var i;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(i=n),void 0!==r){if(void 0===i)return r;"string"==typeof n||"string"==typeof r?(n=Qr(n),r=Qr(r)):(n=Yr(n),r=Yr(r)),i=e(n,r)}return i}}function Oi(e){return Vi((function(t){return t=dt(t,Ot(Yi())),Pr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Fi(e,t){var n=(t=void 0===t?" ":Qr(t)).length;if(n<2)return n?Lr(t,e):t;var r=Lr(t,$t(e/Wt(t)));return Bt(t)?ui(Gt(r),0,e).join(""):r.slice(0,e)}function Ni(e){return function(t,r,i){return i&&"number"!=typeof i&&ao(t,r,i)&&(r=i=void 0),t=ts(t),void 0===r?(r=t,t=0):r=ts(r),function(e,t,r,i){for(var o=-1,a=on($t((t-e)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=e,e+=r;return s}(t,r,i=void 0===i?t<r?1:-1:ts(i),e)}}function Ii(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=is(t),n=is(n)),e(t,n)}}function Mi(e,t,n,r,i,o,a,s,u,c){var l=8&t;t|=l?32:64,4&(t&=~(l?64:32))||(t&=-4);var p=[e,t,i,l?o:void 0,l?a:void 0,l?void 0:o,l?void 0:a,s,u,c],f=n.apply(void 0,p);return uo(e)&&yo(f,p),f.placeholder=r,Eo(f,e,t)}function ji(e){var t=de[e];return function(e,n){if(e=is(e),(n=null==n?0:an(ns(n),292))&&tn(e)){var r=(as(e)+"e").split("e");return+((r=(as(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Li=hn&&1/Vt(new hn([,-0]))[1]==1/0?function(e){return new hn(e)}:Qs;function Pi(e){return function(t){var n=to(t);return n==m?zt(t):n==b?Ht(t):function(e,t){return dt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ri(e,t,r,i,s,u,c,l){var p=2&t;if(!p&&"function"!=typeof e)throw new ve(o);var f=i?i.length:0;if(f||(t&=-97,i=s=void 0),c=void 0===c?c:on(ns(c),0),l=void 0===l?l:ns(l),f-=s?s.length:0,64&t){var d=i,h=s;i=s=void 0}var m=p?void 0:Gi(e),g=[e,t,r,i,s,d,h,u,c,l];if(m&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!s)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?hi(c,u,t[4]):u,e[4]=c?qt(e[3],a):t[4]}(u=t[5])&&(c=e[5],e[5]=c?mi(c,u,t[6]):u,e[6]=c?qt(e[5],a):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:an(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(g,m),e=g[0],t=g[1],r=g[2],i=g[3],s=g[4],!(l=g[9]=void 0===g[9]?p?0:e.length:on(g[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,r){var i=wi(e);return function o(){for(var a=arguments.length,s=n(a),u=a,c=Ji(o);u--;)s[u]=arguments[u];var l=a<3&&s[0]!==c&&s[a-1]!==c?[]:qt(s,c);if((a-=l.length)<r)return Mi(e,t,Ai,o.placeholder,void 0,s,l,void 0,void 0,r-a);var p=this&&this!==Ke&&this instanceof o?i:e;return ot(p,this,s)}}(e,t,l):32!=t&&33!=t||s.length?Ai.apply(void 0,g):function(e,t,r,i){var o=1&t,a=wi(e);return function t(){for(var s=-1,u=arguments.length,c=-1,l=i.length,p=n(l+u),f=this&&this!==Ke&&this instanceof t?a:e;++c<l;)p[c]=i[c];for(;u--;)p[c++]=arguments[++s];return ot(f,o?r:this,p)}}(e,t,r,i);else var v=function(e,t,n){var r=1&t,i=wi(e);return function t(){var o=this&&this!==Ke&&this instanceof t?i:e;return o.apply(r?n:this,arguments)}}(e,t,r);return Eo((m?Ur:yo)(v,g),e,t)}function Bi(e,t,n,r){return void 0===e||Ta(e,xe[n])&&!Ce.call(r,n)?t:e}function zi(e,t,n,r,i,o){return qa(e)&&qa(t)&&(o.set(t,e),_r(e,t,void 0,zi,o),o.delete(t)),e}function Ui(e){return Ga(e)?void 0:e}function qi(e,t,n,r,i,o){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var l=-1,p=!0,f=2&n?new jn:void 0;for(o.set(e,t),o.set(t,e);++l<s;){var d=e[l],h=t[l];if(r)var m=a?r(h,d,l,t,e,o):r(d,h,l,e,t,o);if(void 0!==m){if(m)continue;p=!1;break}if(f){if(!vt(t,(function(e,t){if(!Nt(f,t)&&(d===e||i(d,e,n,r,o)))return f.push(t)}))){p=!1;break}}else if(d!==h&&!i(d,h,n,r,o)){p=!1;break}}return o.delete(e),o.delete(t),p}function Vi(e){return xo(ho(e,void 0,Io),e+"")}function Hi(e){return pr(e,bs,Zi)}function Wi(e){return pr(e,xs,eo)}var Gi=vn?function(e){return vn.get(e)}:Qs;function Ki(e){for(var t=e.name+"",n=yn[t],r=Ce.call(yn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Ji(e){return(Ce.call(An,"placeholder")?An:e).placeholder}function Yi(){var e=An.iteratee||Gs;return e=e===Gs?Dr:e,arguments.length?e(arguments[0],arguments[1]):e}function Qi(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function $i(e){for(var t=bs(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,po(i)]}return t}function Xi(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Er(n)?n:void 0}var Zi=Zt?function(e){return null==e?[]:(e=he(e),lt(Zt(e),(function(t){return Ge.call(e,t)})))}:ru,eo=Zt?function(e){for(var t=[];e;)ht(t,Zi(e)),e=qe(e);return t}:ru,to=fr;function no(e,t,n){for(var r=-1,i=(t=ai(t,e)).length,o=!1;++r<i;){var a=So(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ua(i)&&oo(a,i)&&(Na(e)||Fa(e))}function ro(e){return"function"!=typeof e.constructor||lo(e)?{}:Tn(qe(e))}function io(e){return Na(e)||Fa(e)||!!(Ye&&e&&e[Ye])}function oo(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function ao(e,t,n){if(!qa(n))return!1;var r=typeof t;return!!("number"==r?Ma(n)&&oo(t,n.length):"string"==r&&t in n)&&Ta(n[t],e)}function so(e,t){if(Na(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Qa(e))||(H.test(e)||!V.test(e)||null!=t&&e in he(t))}function uo(e){var t=Ki(e),n=An[t];if("function"!=typeof n||!(t in Fn.prototype))return!1;if(e===n)return!0;var r=Gi(n);return!!r&&e===r[0]}(pn&&to(new pn(new ArrayBuffer(1)))!=w||fn&&to(new fn)!=m||dn&&"[object Promise]"!=to(dn.resolve())||hn&&to(new hn)!=b||mn&&to(new mn)!=D)&&(to=function(e){var t=fr(e),n=t==v?e.constructor:void 0,r=n?ko(n):"";if(r)switch(r){case bn:return w;case xn:return m;case En:return"[object Promise]";case Dn:return b;case Cn:return D}return t});var co=Ee?Ba:iu;function lo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xe)}function po(e){return e===e&&!qa(e)}function fo(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in he(n)))}}function ho(e,t,r){return t=on(void 0===t?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=on(i.length-t,0),s=n(a);++o<a;)s[o]=i[t+o];o=-1;for(var u=n(t+1);++o<t;)u[o]=i[o];return u[t]=r(s),ot(e,this,u)}}function mo(e,t){return t.length<2?e:lr(e,Hr(t,0,-1))}function go(e,t){for(var n=e.length,r=an(t.length,n),i=gi(e);r--;){var o=t[r];e[r]=oo(o,n)?i[o]:void 0}return e}function vo(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var yo=Do(Ur),bo=Qt||function(e,t){return Ke.setTimeout(e,t)},xo=Do(qr);function Eo(e,t,n){var r=t+"";return xo(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return st(s,(function(n){var r="_."+n[0];t&n[1]&&!pt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(Z):[]}(r),n)))}function Do(e){var t=0,n=0;return function(){var r=sn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Co(e,t){var n=-1,r=e.length,i=r-1;for(t=void 0===t?r:t;++n<t;){var o=jr(n,i),a=e[o];e[o]=e[n],e[n]=a}return e.length=t,e}var wo=function(e){var t=Da(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,i){t.push(r?i.replace(te,"$1"):n||e)})),t}));function So(e){if("string"==typeof e||Qa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ko(e){if(null!=e){try{return De.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ao(e){if(e instanceof Fn)return e.clone();var t=new On(e.__wrapped__,e.__chain__);return t.__actions__=gi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var To=Pr((function(e,t){return ja(e)?Xn(e,ir(t,1,ja,!0)):[]})),_o=Pr((function(e,t){var n=Ro(t);return ja(n)&&(n=void 0),ja(e)?Xn(e,ir(t,1,ja,!0),Yi(n,2)):[]})),Oo=Pr((function(e,t){var n=Ro(t);return ja(n)&&(n=void 0),ja(e)?Xn(e,ir(t,1,ja,!0),void 0,n):[]}));function Fo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ns(n);return i<0&&(i=on(r+i,0)),xt(e,Yi(t,3),i)}function No(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return void 0!==n&&(i=ns(n),i=n<0?on(r+i,0):an(i,r-1)),xt(e,Yi(t,3),i,!0)}function Io(e){return(null==e?0:e.length)?ir(e,1):[]}function Mo(e){return e&&e.length?e[0]:void 0}var jo=Pr((function(e){var t=dt(e,ii);return t.length&&t[0]===e[0]?gr(t):[]})),Lo=Pr((function(e){var t=Ro(e),n=dt(e,ii);return t===Ro(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?gr(n,Yi(t,2)):[]})),Po=Pr((function(e){var t=Ro(e),n=dt(e,ii);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?gr(n,void 0,t):[]}));function Ro(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bo=Pr(zo);function zo(e,t){return e&&e.length&&t&&t.length?Ir(e,t):e}var Uo=Vi((function(e,t){var n=null==e?0:e.length,r=Kn(e,t);return Mr(e,dt(t,(function(e){return oo(e,n)?+e:e})).sort(di)),r}));function qo(e){return null==e?e:ln.call(e)}var Vo=Pr((function(e){return $r(ir(e,1,ja,!0))})),Ho=Pr((function(e){var t=Ro(e);return ja(t)&&(t=void 0),$r(ir(e,1,ja,!0),Yi(t,2))})),Wo=Pr((function(e){var t=Ro(e);return t="function"==typeof t?t:void 0,$r(ir(e,1,ja,!0),void 0,t)}));function Go(e){if(!e||!e.length)return[];var t=0;return e=lt(e,(function(e){if(ja(e))return t=on(e.length,t),!0})),_t(t,(function(t){return dt(e,St(t))}))}function Ko(e,t){if(!e||!e.length)return[];var n=Go(e);return null==t?n:dt(n,(function(e){return ot(t,void 0,e)}))}var Jo=Pr((function(e,t){return ja(e)?Xn(e,t):[]})),Yo=Pr((function(e){return ni(lt(e,ja))})),Qo=Pr((function(e){var t=Ro(e);return ja(t)&&(t=void 0),ni(lt(e,ja),Yi(t,2))})),$o=Pr((function(e){var t=Ro(e);return t="function"==typeof t?t:void 0,ni(lt(e,ja),void 0,t)})),Xo=Pr(Go);var Zo=Pr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Ko(e,n)}));function ea(e){var t=An(e);return t.__chain__=!0,t}function ta(e,t){return t(e)}var na=Vi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Kn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Fn&&oo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ta,args:[i],thisArg:void 0}),new On(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(i)}));var ra=yi((function(e,t,n){Ce.call(e,n)?++e[n]:Gn(e,n,1)}));var ia=Si(Fo),oa=Si(No);function aa(e,t){return(Na(e)?st:Zn)(e,Yi(t,3))}function sa(e,t){return(Na(e)?ut:er)(e,Yi(t,3))}var ua=yi((function(e,t,n){Ce.call(e,n)?e[n].push(t):Gn(e,n,[t])}));var ca=Pr((function(e,t,r){var i=-1,o="function"==typeof t,a=Ma(e)?n(e.length):[];return Zn(e,(function(e){a[++i]=o?ot(t,e,r):vr(e,t,r)})),a})),la=yi((function(e,t,n){Gn(e,n,t)}));function pa(e,t){return(Na(e)?dt:kr)(e,Yi(t,3))}var fa=yi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var da=Pr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ao(e,t[0],t[1])?t=[]:n>2&&ao(t[0],t[1],t[2])&&(t=[t[0]]),Fr(e,ir(t,1),[])})),ha=Yt||function(){return Ke.Date.now()};function ma(e,t,n){return t=n?void 0:t,Ri(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ga(e,t){var n;if("function"!=typeof t)throw new ve(o);return e=ns(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var va=Pr((function(e,t,n){var r=1;if(n.length){var i=qt(n,Ji(va));r|=32}return Ri(e,r,t,n,i)})),ya=Pr((function(e,t,n){var r=3;if(n.length){var i=qt(n,Ji(ya));r|=32}return Ri(t,r,e,n,i)}));function ba(e,t,n){var r,i,a,s,u,c,l=0,p=!1,f=!1,d=!0;if("function"!=typeof e)throw new ve(o);function h(t){var n=r,o=i;return r=i=void 0,l=t,s=e.apply(o,n)}function m(e){return l=e,u=bo(v,t),p?h(e):s}function g(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-l>=a}function v(){var e=ha();if(g(e))return y(e);u=bo(v,function(e){var n=t-(e-c);return f?an(n,a-(e-l)):n}(e))}function y(e){return u=void 0,d&&r?h(e):(r=i=void 0,s)}function b(){var e=ha(),n=g(e);if(r=arguments,i=this,c=e,n){if(void 0===u)return m(c);if(f)return ci(u),u=bo(v,t),h(c)}return void 0===u&&(u=bo(v,t)),s}return t=is(t)||0,qa(n)&&(p=!!n.leading,a=(f="maxWait"in n)?on(is(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),b.cancel=function(){void 0!==u&&ci(u),l=0,r=c=i=u=void 0},b.flush=function(){return void 0===u?s:y(ha())},b}var xa=Pr((function(e,t){return $n(e,1,t)})),Ea=Pr((function(e,t,n){return $n(e,is(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(o);var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Da.Cache||Mn),n}function Ca(e){if("function"!=typeof e)throw new ve(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=Mn;var wa=si((function(e,t){var n=(t=1==t.length&&Na(t[0])?dt(t[0],Ot(Yi())):dt(ir(t,1),Ot(Yi()))).length;return Pr((function(r){for(var i=-1,o=an(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return ot(e,this,r)}))})),Sa=Pr((function(e,t){return Ri(e,32,void 0,t,qt(t,Ji(Sa)))})),ka=Pr((function(e,t){return Ri(e,64,void 0,t,qt(t,Ji(ka)))})),Aa=Vi((function(e,t){return Ri(e,256,void 0,void 0,void 0,t)}));function Ta(e,t){return e===t||e!==e&&t!==t}var _a=Ii(dr),Oa=Ii((function(e,t){return e>=t})),Fa=yr(function(){return arguments}())?yr:function(e){return Va(e)&&Ce.call(e,"callee")&&!Ge.call(e,"callee")},Na=n.isArray,Ia=Ze?Ot(Ze):function(e){return Va(e)&&fr(e)==C};function Ma(e){return null!=e&&Ua(e.length)&&!Ba(e)}function ja(e){return Va(e)&&Ma(e)}var La=en||iu,Pa=et?Ot(et):function(e){return Va(e)&&fr(e)==p};function Ra(e){if(!Va(e))return!1;var t=fr(e);return t==f||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ga(e)}function Ba(e){if(!qa(e))return!1;var t=fr(e);return t==d||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function za(e){return"number"==typeof e&&e==ns(e)}function Ua(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function qa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Va(e){return null!=e&&"object"==typeof e}var Ha=tt?Ot(tt):function(e){return Va(e)&&to(e)==m};function Wa(e){return"number"==typeof e||Va(e)&&fr(e)==g}function Ga(e){if(!Va(e)||fr(e)!=v)return!1;var t=qe(e);if(null===t)return!0;var n=Ce.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&De.call(n)==Ae}var Ka=nt?Ot(nt):function(e){return Va(e)&&fr(e)==y};var Ja=rt?Ot(rt):function(e){return Va(e)&&to(e)==b};function Ya(e){return"string"==typeof e||!Na(e)&&Va(e)&&fr(e)==x}function Qa(e){return"symbol"==typeof e||Va(e)&&fr(e)==E}var $a=it?Ot(it):function(e){return Va(e)&&Ua(e.length)&&!!ze[fr(e)]};var Xa=Ii(Sr),Za=Ii((function(e,t){return e<=t}));function es(e){if(!e)return[];if(Ma(e))return Ya(e)?Gt(e):gi(e);if($e&&e[$e])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$e]());var t=to(e);return(t==m?zt:t==b?Vt:Ts)(e)}function ts(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ns(e){var t=ts(e),n=t%1;return t===t?n?t-n:t:0}function rs(e){return e?Jn(ns(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if(Qa(e))return NaN;if(qa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=qa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(J,"");var n=oe.test(e);return n||se.test(e)?He(e.slice(2),n?2:8):ie.test(e)?NaN:+e}function os(e){return vi(e,xs(e))}function as(e){return null==e?"":Qr(e)}var ss=bi((function(e,t){if(lo(t)||Ma(t))vi(t,bs(t),e);else for(var n in t)Ce.call(t,n)&&qn(e,n,t[n])})),us=bi((function(e,t){vi(t,xs(t),e)})),cs=bi((function(e,t,n,r){vi(t,xs(t),e,r)})),ls=bi((function(e,t,n,r){vi(t,bs(t),e,r)})),ps=Vi(Kn);var fs=Pr((function(e,t){e=he(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&ao(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=xs(o),s=-1,u=a.length;++s<u;){var c=a[s],l=e[c];(void 0===l||Ta(l,xe[c])&&!Ce.call(e,c))&&(e[c]=o[c])}return e})),ds=Pr((function(e){return e.push(void 0,zi),ot(Ds,void 0,e)}));function hs(e,t,n){var r=null==e?void 0:lr(e,t);return void 0===r?n:r}function ms(e,t){return null!=e&&no(e,t,mr)}var gs=Ti((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ke.call(t)),e[t]=n}),qs(Ws)),vs=Ti((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ke.call(t)),Ce.call(e,t)?e[t].push(n):e[t]=[n]}),Yi),ys=Pr(vr);function bs(e){return Ma(e)?Pn(e):Cr(e)}function xs(e){return Ma(e)?Pn(e,!0):wr(e)}var Es=bi((function(e,t,n){_r(e,t,n)})),Ds=bi((function(e,t,n,r){_r(e,t,n,r)})),Cs=Vi((function(e,t){var n={};if(null==e)return n;var r=!1;t=dt(t,(function(t){return t=ai(t,e),r||(r=t.length>1),t})),vi(e,Wi(e),n),r&&(n=Yn(n,7,Ui));for(var i=t.length;i--;)Xr(n,t[i]);return n}));var ws=Vi((function(e,t){return null==e?{}:function(e,t){return Nr(e,t,(function(t,n){return ms(e,n)}))}(e,t)}));function Ss(e,t){if(null==e)return{};var n=dt(Wi(e),(function(e){return[e]}));return t=Yi(t),Nr(e,n,(function(e,n){return t(e,n[0])}))}var ks=Pi(bs),As=Pi(xs);function Ts(e){return null==e?[]:Ft(e,bs(e))}var _s=Ci((function(e,t,n){return t=t.toLowerCase(),e+(n?Os(t):t)}));function Os(e){return Rs(as(e).toLowerCase())}function Fs(e){return(e=as(e))&&e.replace(ce,Lt).replace(Ie,"")}var Ns=Ci((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Is=Ci((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ms=Di("toLowerCase");var js=Ci((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ls=Ci((function(e,t,n){return e+(n?" ":"")+Rs(t)}));var Ps=Ci((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Rs=Di("toUpperCase");function Bs(e,t,n){return e=as(e),void 0===(t=n?void 0:t)?function(e){return Pe.test(e)}(e)?function(e){return e.match(je)||[]}(e):function(e){return e.match(ee)||[]}(e):e.match(t)||[]}var zs=Pr((function(e,t){try{return ot(e,void 0,t)}catch(n){return Ra(n)?n:new i(n)}})),Us=Vi((function(e,t){return st(t,(function(t){t=So(t),Gn(e,t,va(e[t],e))})),e}));function qs(e){return function(){return e}}var Vs=ki(),Hs=ki(!0);function Ws(e){return e}function Gs(e){return Dr("function"==typeof e?e:Yn(e,1))}var Ks=Pr((function(e,t){return function(n){return vr(n,e,t)}})),Js=Pr((function(e,t){return function(n){return vr(e,n,t)}}));function Ys(e,t,n){var r=bs(t),i=cr(t,r);null!=n||qa(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=cr(t,bs(t)));var o=!(qa(n)&&"chain"in n)||!!n.chain,a=Ba(e);return st(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),i=n.__actions__=gi(this.__actions__);return i.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Qs(){}var $s=Oi(dt),Xs=Oi(ct),Zs=Oi(vt);function eu(e){return so(e)?St(So(e)):function(e){return function(t){return lr(t,e)}}(e)}var tu=Ni(),nu=Ni(!0);function ru(){return[]}function iu(){return!1}var ou=_i((function(e,t){return e+t}),0),au=ji("ceil"),su=_i((function(e,t){return e/t}),1),uu=ji("floor");var cu=_i((function(e,t){return e*t}),1),lu=ji("round"),pu=_i((function(e,t){return e-t}),0);return An.after=function(e,t){if("function"!=typeof t)throw new ve(o);return e=ns(e),function(){if(--e<1)return t.apply(this,arguments)}},An.ary=ma,An.assign=ss,An.assignIn=us,An.assignInWith=cs,An.assignWith=ls,An.at=ps,An.before=ga,An.bind=va,An.bindAll=Us,An.bindKey=ya,An.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Na(e)?e:[e]},An.chain=ea,An.chunk=function(e,t,r){t=(r?ao(e,t,r):void 0===t)?1:on(ns(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,a=0,s=n($t(i/t));o<i;)s[a++]=Hr(e,o,o+=t);return s},An.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},An.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return ht(Na(r)?gi(r):[r],ir(t,1))},An.cond=function(e){var t=null==e?0:e.length,n=Yi();return e=t?dt(e,(function(e){if("function"!=typeof e[1])throw new ve(o);return[n(e[0]),e[1]]})):[],Pr((function(n){for(var r=-1;++r<t;){var i=e[r];if(ot(i[0],this,n))return ot(i[1],this,n)}}))},An.conforms=function(e){return function(e){var t=bs(e);return function(n){return Qn(n,e,t)}}(Yn(e,1))},An.constant=qs,An.countBy=ra,An.create=function(e,t){var n=Tn(e);return null==t?n:Wn(n,t)},An.curry=function e(t,n,r){var i=Ri(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},An.curryRight=function e(t,n,r){var i=Ri(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return i.placeholder=e.placeholder,i},An.debounce=ba,An.defaults=fs,An.defaultsDeep=ds,An.defer=xa,An.delay=Ea,An.difference=To,An.differenceBy=_o,An.differenceWith=Oo,An.drop=function(e,t,n){var r=null==e?0:e.length;return r?Hr(e,(t=n||void 0===t?1:ns(t))<0?0:t,r):[]},An.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Hr(e,0,(t=r-(t=n||void 0===t?1:ns(t)))<0?0:t):[]},An.dropRightWhile=function(e,t){return e&&e.length?ei(e,Yi(t,3),!0,!0):[]},An.dropWhile=function(e,t){return e&&e.length?ei(e,Yi(t,3),!0):[]},An.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&ao(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=ns(n))<0&&(n=-n>i?0:i+n),(r=void 0===r||r>i?i:ns(r))<0&&(r+=i),r=n>r?0:rs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},An.filter=function(e,t){return(Na(e)?lt:rr)(e,Yi(t,3))},An.flatMap=function(e,t){return ir(pa(e,t),1)},An.flatMapDeep=function(e,t){return ir(pa(e,t),1/0)},An.flatMapDepth=function(e,t,n){return n=void 0===n?1:ns(n),ir(pa(e,t),n)},An.flatten=Io,An.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},An.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:ns(t)):[]},An.flip=function(e){return Ri(e,512)},An.flow=Vs,An.flowRight=Hs,An.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},An.functions=function(e){return null==e?[]:cr(e,bs(e))},An.functionsIn=function(e){return null==e?[]:cr(e,xs(e))},An.groupBy=ua,An.initial=function(e){return(null==e?0:e.length)?Hr(e,0,-1):[]},An.intersection=jo,An.intersectionBy=Lo,An.intersectionWith=Po,An.invert=gs,An.invertBy=vs,An.invokeMap=ca,An.iteratee=Gs,An.keyBy=la,An.keys=bs,An.keysIn=xs,An.map=pa,An.mapKeys=function(e,t){var n={};return t=Yi(t,3),sr(e,(function(e,r,i){Gn(n,t(e,r,i),e)})),n},An.mapValues=function(e,t){var n={};return t=Yi(t,3),sr(e,(function(e,r,i){Gn(n,r,t(e,r,i))})),n},An.matches=function(e){return Ar(Yn(e,1))},An.matchesProperty=function(e,t){return Tr(e,Yn(t,1))},An.memoize=Da,An.merge=Es,An.mergeWith=Ds,An.method=Ks,An.methodOf=Js,An.mixin=Ys,An.negate=Ca,An.nthArg=function(e){return e=ns(e),Pr((function(t){return Or(t,e)}))},An.omit=Cs,An.omitBy=function(e,t){return Ss(e,Ca(Yi(t)))},An.once=function(e){return ga(2,e)},An.orderBy=function(e,t,n,r){return null==e?[]:(Na(t)||(t=null==t?[]:[t]),Na(n=r?void 0:n)||(n=null==n?[]:[n]),Fr(e,t,n))},An.over=$s,An.overArgs=wa,An.overEvery=Xs,An.overSome=Zs,An.partial=Sa,An.partialRight=ka,An.partition=fa,An.pick=ws,An.pickBy=Ss,An.property=eu,An.propertyOf=function(e){return function(t){return null==e?void 0:lr(e,t)}},An.pull=Bo,An.pullAll=zo,An.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ir(e,t,Yi(n,2)):e},An.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Ir(e,t,void 0,n):e},An.pullAt=Uo,An.range=tu,An.rangeRight=nu,An.rearg=Aa,An.reject=function(e,t){return(Na(e)?lt:rr)(e,Ca(Yi(t,3)))},An.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=Yi(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Mr(e,i),n},An.rest=function(e,t){if("function"!=typeof e)throw new ve(o);return Pr(e,t=void 0===t?t:ns(t))},An.reverse=qo,An.sampleSize=function(e,t,n){return t=(n?ao(e,t,n):void 0===t)?1:ns(t),(Na(e)?Bn:Br)(e,t)},An.set=function(e,t,n){return null==e?e:zr(e,t,n)},An.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:zr(e,t,n,r)},An.shuffle=function(e){return(Na(e)?zn:Vr)(e)},An.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ao(e,t,n)?(t=0,n=r):(t=null==t?0:ns(t),n=void 0===n?r:ns(n)),Hr(e,t,n)):[]},An.sortBy=da,An.sortedUniq=function(e){return e&&e.length?Jr(e):[]},An.sortedUniqBy=function(e,t){return e&&e.length?Jr(e,Yi(t,2)):[]},An.split=function(e,t,n){return n&&"number"!=typeof n&&ao(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=as(e))&&("string"==typeof t||null!=t&&!Ka(t))&&!(t=Qr(t))&&Bt(e)?ui(Gt(e),0,n):e.split(t,n):[]},An.spread=function(e,t){if("function"!=typeof e)throw new ve(o);return t=null==t?0:on(ns(t),0),Pr((function(n){var r=n[t],i=ui(n,0,t);return r&&ht(i,r),ot(e,this,i)}))},An.tail=function(e){var t=null==e?0:e.length;return t?Hr(e,1,t):[]},An.take=function(e,t,n){return e&&e.length?Hr(e,0,(t=n||void 0===t?1:ns(t))<0?0:t):[]},An.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Hr(e,(t=r-(t=n||void 0===t?1:ns(t)))<0?0:t,r):[]},An.takeRightWhile=function(e,t){return e&&e.length?ei(e,Yi(t,3),!1,!0):[]},An.takeWhile=function(e,t){return e&&e.length?ei(e,Yi(t,3)):[]},An.tap=function(e,t){return t(e),e},An.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ve(o);return qa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ba(e,t,{leading:r,maxWait:t,trailing:i})},An.thru=ta,An.toArray=es,An.toPairs=ks,An.toPairsIn=As,An.toPath=function(e){return Na(e)?dt(e,So):Qa(e)?[e]:gi(wo(as(e)))},An.toPlainObject=os,An.transform=function(e,t,n){var r=Na(e),i=r||La(e)||$a(e);if(t=Yi(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:qa(e)&&Ba(o)?Tn(qe(e)):{}}return(i?st:sr)(e,(function(e,r,i){return t(n,e,r,i)})),n},An.unary=function(e){return ma(e,1)},An.union=Vo,An.unionBy=Ho,An.unionWith=Wo,An.uniq=function(e){return e&&e.length?$r(e):[]},An.uniqBy=function(e,t){return e&&e.length?$r(e,Yi(t,2)):[]},An.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?$r(e,void 0,t):[]},An.unset=function(e,t){return null==e||Xr(e,t)},An.unzip=Go,An.unzipWith=Ko,An.update=function(e,t,n){return null==e?e:Zr(e,t,oi(n))},An.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Zr(e,t,oi(n),r)},An.values=Ts,An.valuesIn=function(e){return null==e?[]:Ft(e,xs(e))},An.without=Jo,An.words=Bs,An.wrap=function(e,t){return Sa(oi(t),e)},An.xor=Yo,An.xorBy=Qo,An.xorWith=$o,An.zip=Xo,An.zipObject=function(e,t){return ri(e||[],t||[],qn)},An.zipObjectDeep=function(e,t){return ri(e||[],t||[],zr)},An.zipWith=Zo,An.entries=ks,An.entriesIn=As,An.extend=us,An.extendWith=cs,Ys(An,An),An.add=ou,An.attempt=zs,An.camelCase=_s,An.capitalize=Os,An.ceil=au,An.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))===n?n:0),void 0!==t&&(t=(t=is(t))===t?t:0),Jn(is(e),t,n)},An.clone=function(e){return Yn(e,4)},An.cloneDeep=function(e){return Yn(e,5)},An.cloneDeepWith=function(e,t){return Yn(e,5,t="function"==typeof t?t:void 0)},An.cloneWith=function(e,t){return Yn(e,4,t="function"==typeof t?t:void 0)},An.conformsTo=function(e,t){return null==t||Qn(e,t,bs(t))},An.deburr=Fs,An.defaultTo=function(e,t){return null==e||e!==e?t:e},An.divide=su,An.endsWith=function(e,t,n){e=as(e),t=Qr(t);var r=e.length,i=n=void 0===n?r:Jn(ns(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},An.eq=Ta,An.escape=function(e){return(e=as(e))&&B.test(e)?e.replace(P,Pt):e},An.escapeRegExp=function(e){return(e=as(e))&&K.test(e)?e.replace(G,"\\$&"):e},An.every=function(e,t,n){var r=Na(e)?ct:tr;return n&&ao(e,t,n)&&(t=void 0),r(e,Yi(t,3))},An.find=ia,An.findIndex=Fo,An.findKey=function(e,t){return bt(e,Yi(t,3),sr)},An.findLast=oa,An.findLastIndex=No,An.findLastKey=function(e,t){return bt(e,Yi(t,3),ur)},An.floor=uu,An.forEach=aa,An.forEachRight=sa,An.forIn=function(e,t){return null==e?e:or(e,Yi(t,3),xs)},An.forInRight=function(e,t){return null==e?e:ar(e,Yi(t,3),xs)},An.forOwn=function(e,t){return e&&sr(e,Yi(t,3))},An.forOwnRight=function(e,t){return e&&ur(e,Yi(t,3))},An.get=hs,An.gt=_a,An.gte=Oa,An.has=function(e,t){return null!=e&&no(e,t,hr)},An.hasIn=ms,An.head=Mo,An.identity=Ws,An.includes=function(e,t,n,r){e=Ma(e)?e:Ts(e),n=n&&!r?ns(n):0;var i=e.length;return n<0&&(n=on(i+n,0)),Ya(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Et(e,t,n)>-1},An.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:ns(n);return i<0&&(i=on(r+i,0)),Et(e,t,i)},An.inRange=function(e,t,n){return t=ts(t),void 0===n?(n=t,t=0):n=ts(n),function(e,t,n){return e>=an(t,n)&&e<on(t,n)}(e=is(e),t,n)},An.invoke=ys,An.isArguments=Fa,An.isArray=Na,An.isArrayBuffer=Ia,An.isArrayLike=Ma,An.isArrayLikeObject=ja,An.isBoolean=function(e){return!0===e||!1===e||Va(e)&&fr(e)==l},An.isBuffer=La,An.isDate=Pa,An.isElement=function(e){return Va(e)&&1===e.nodeType&&!Ga(e)},An.isEmpty=function(e){if(null==e)return!0;if(Ma(e)&&(Na(e)||"string"==typeof e||"function"==typeof e.splice||La(e)||$a(e)||Fa(e)))return!e.length;var t=to(e);if(t==m||t==b)return!e.size;if(lo(e))return!Cr(e).length;for(var n in e)if(Ce.call(e,n))return!1;return!0},An.isEqual=function(e,t){return br(e,t)},An.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?br(e,t,void 0,n):!!r},An.isError=Ra,An.isFinite=function(e){return"number"==typeof e&&tn(e)},An.isFunction=Ba,An.isInteger=za,An.isLength=Ua,An.isMap=Ha,An.isMatch=function(e,t){return e===t||xr(e,t,$i(t))},An.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,xr(e,t,$i(t),n)},An.isNaN=function(e){return Wa(e)&&e!=+e},An.isNative=function(e){if(co(e))throw new i("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Er(e)},An.isNil=function(e){return null==e},An.isNull=function(e){return null===e},An.isNumber=Wa,An.isObject=qa,An.isObjectLike=Va,An.isPlainObject=Ga,An.isRegExp=Ka,An.isSafeInteger=function(e){return za(e)&&e>=-9007199254740991&&e<=9007199254740991},An.isSet=Ja,An.isString=Ya,An.isSymbol=Qa,An.isTypedArray=$a,An.isUndefined=function(e){return void 0===e},An.isWeakMap=function(e){return Va(e)&&to(e)==D},An.isWeakSet=function(e){return Va(e)&&"[object WeakSet]"==fr(e)},An.join=function(e,t){return null==e?"":nn.call(e,t)},An.kebabCase=Ns,An.last=Ro,An.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=ns(n))<0?on(r+i,0):an(i,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):xt(e,Ct,i,!0)},An.lowerCase=Is,An.lowerFirst=Ms,An.lt=Xa,An.lte=Za,An.max=function(e){return e&&e.length?nr(e,Ws,dr):void 0},An.maxBy=function(e,t){return e&&e.length?nr(e,Yi(t,2),dr):void 0},An.mean=function(e){return wt(e,Ws)},An.meanBy=function(e,t){return wt(e,Yi(t,2))},An.min=function(e){return e&&e.length?nr(e,Ws,Sr):void 0},An.minBy=function(e,t){return e&&e.length?nr(e,Yi(t,2),Sr):void 0},An.stubArray=ru,An.stubFalse=iu,An.stubObject=function(){return{}},An.stubString=function(){return""},An.stubTrue=function(){return!0},An.multiply=cu,An.nth=function(e,t){return e&&e.length?Or(e,ns(t)):void 0},An.noConflict=function(){return Ke._===this&&(Ke._=Te),this},An.noop=Qs,An.now=ha,An.pad=function(e,t,n){e=as(e);var r=(t=ns(t))?Wt(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Fi(Xt(i),n)+e+Fi($t(i),n)},An.padEnd=function(e,t,n){e=as(e);var r=(t=ns(t))?Wt(e):0;return t&&r<t?e+Fi(t-r,n):e},An.padStart=function(e,t,n){e=as(e);var r=(t=ns(t))?Wt(e):0;return t&&r<t?Fi(t-r,n)+e:e},An.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),un(as(e).replace(Y,""),t||0)},An.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ao(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ts(e),void 0===t?(t=e,e=0):t=ts(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=cn();return an(e+i*(t-e+Ve("1e-"+((i+"").length-1))),t)}return jr(e,t)},An.reduce=function(e,t,n){var r=Na(e)?mt:At,i=arguments.length<3;return r(e,Yi(t,4),n,i,Zn)},An.reduceRight=function(e,t,n){var r=Na(e)?gt:At,i=arguments.length<3;return r(e,Yi(t,4),n,i,er)},An.repeat=function(e,t,n){return t=(n?ao(e,t,n):void 0===t)?1:ns(t),Lr(as(e),t)},An.replace=function(){var e=arguments,t=as(e[0]);return e.length<3?t:t.replace(e[1],e[2])},An.result=function(e,t,n){var r=-1,i=(t=ai(t,e)).length;for(i||(i=1,e=void 0);++r<i;){var o=null==e?void 0:e[So(t[r])];void 0===o&&(r=i,o=n),e=Ba(o)?o.call(e):o}return e},An.round=lu,An.runInContext=e,An.sample=function(e){return(Na(e)?Rn:Rr)(e)},An.size=function(e){if(null==e)return 0;if(Ma(e))return Ya(e)?Wt(e):e.length;var t=to(e);return t==m||t==b?e.size:Cr(e).length},An.snakeCase=js,An.some=function(e,t,n){var r=Na(e)?vt:Wr;return n&&ao(e,t,n)&&(t=void 0),r(e,Yi(t,3))},An.sortedIndex=function(e,t){return Gr(e,t)},An.sortedIndexBy=function(e,t,n){return Kr(e,t,Yi(n,2))},An.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Gr(e,t);if(r<n&&Ta(e[r],t))return r}return-1},An.sortedLastIndex=function(e,t){return Gr(e,t,!0)},An.sortedLastIndexBy=function(e,t,n){return Kr(e,t,Yi(n,2),!0)},An.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Gr(e,t,!0)-1;if(Ta(e[n],t))return n}return-1},An.startCase=Ls,An.startsWith=function(e,t,n){return e=as(e),n=null==n?0:Jn(ns(n),0,e.length),t=Qr(t),e.slice(n,n+t.length)==t},An.subtract=pu,An.sum=function(e){return e&&e.length?Tt(e,Ws):0},An.sumBy=function(e,t){return e&&e.length?Tt(e,Yi(t,2)):0},An.template=function(e,t,n){var r=An.templateSettings;n&&ao(e,t,n)&&(t=void 0),e=as(e),t=cs({},t,r,Bi);var i,o,a=cs({},t.imports,r.imports,Bi),s=bs(a),u=Ft(a,s),c=0,l=t.interpolate||le,p="__p += '",f=me((t.escape||le).source+"|"+l.source+"|"+(l===q?ne:le).source+"|"+(t.evaluate||le).source+"|$","g"),d="//# sourceURL="+(Ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Be+"]")+"\n";e.replace(f,(function(t,n,r,a,s,u){return r||(r=a),p+=e.slice(c,u).replace(pe,Rt),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(o=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),p+="';\n";var h=Ce.call(t,"variable")&&t.variable;h||(p="with (obj) {\n"+p+"\n}\n"),p=(o?p.replace(I,""):p).replace(M,"$1").replace(j,"$1;"),p="function("+(h||"obj")+") {\n"+(h?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=zs((function(){return fe(s,d+"return "+p).apply(void 0,u)}));if(m.source=p,Ra(m))throw m;return m},An.times=function(e,t){if((e=ns(e))<1||e>9007199254740991)return[];var n=4294967295,r=an(e,4294967295);e-=4294967295;for(var i=_t(r,t=Yi(t));++n<e;)t(n);return i},An.toFinite=ts,An.toInteger=ns,An.toLength=rs,An.toLower=function(e){return as(e).toLowerCase()},An.toNumber=is,An.toSafeInteger=function(e){return e?Jn(ns(e),-9007199254740991,9007199254740991):0===e?e:0},An.toString=as,An.toUpper=function(e){return as(e).toUpperCase()},An.trim=function(e,t,n){if((e=as(e))&&(n||void 0===t))return e.replace(J,"");if(!e||!(t=Qr(t)))return e;var r=Gt(e),i=Gt(t);return ui(r,It(r,i),Mt(r,i)+1).join("")},An.trimEnd=function(e,t,n){if((e=as(e))&&(n||void 0===t))return e.replace(Q,"");if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ui(r,0,Mt(r,Gt(t))+1).join("")},An.trimStart=function(e,t,n){if((e=as(e))&&(n||void 0===t))return e.replace(Y,"");if(!e||!(t=Qr(t)))return e;var r=Gt(e);return ui(r,It(r,Gt(t))).join("")},An.truncate=function(e,t){var n=30,r="...";if(qa(t)){var i="separator"in t?t.separator:i;n="length"in t?ns(t.length):n,r="omission"in t?Qr(t.omission):r}var o=(e=as(e)).length;if(Bt(e)){var a=Gt(e);o=a.length}if(n>=o)return e;var s=n-Wt(r);if(s<1)return r;var u=a?ui(a,0,s).join(""):e.slice(0,s);if(void 0===i)return u+r;if(a&&(s+=u.length-s),Ka(i)){if(e.slice(s).search(i)){var c,l=u;for(i.global||(i=me(i.source,as(re.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var p=c.index;u=u.slice(0,void 0===p?s:p)}}else if(e.indexOf(Qr(i),s)!=s){var f=u.lastIndexOf(i);f>-1&&(u=u.slice(0,f))}return u+r},An.unescape=function(e){return(e=as(e))&&R.test(e)?e.replace(L,Kt):e},An.uniqueId=function(e){var t=++we;return as(e)+t},An.upperCase=Ps,An.upperFirst=Rs,An.each=aa,An.eachRight=sa,An.first=Mo,Ys(An,function(){var e={};return sr(An,(function(t,n){Ce.call(An.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),An.VERSION="4.17.15",st(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){An[e].placeholder=An})),st(["drop","take"],(function(e,t){Fn.prototype[e]=function(n){n=void 0===n?1:on(ns(n),0);var r=this.__filtered__&&!t?new Fn(this):this.clone();return r.__filtered__?r.__takeCount__=an(n,r.__takeCount__):r.__views__.push({size:an(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Fn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),st(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Fn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Yi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),st(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Fn.prototype[e]=function(){return this[n](1).value()[0]}})),st(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Fn.prototype[e]=function(){return this.__filtered__?new Fn(this):this[n](1)}})),Fn.prototype.compact=function(){return this.filter(Ws)},Fn.prototype.find=function(e){return this.filter(e).head()},Fn.prototype.findLast=function(e){return this.reverse().find(e)},Fn.prototype.invokeMap=Pr((function(e,t){return"function"==typeof e?new Fn(this):this.map((function(n){return vr(n,e,t)}))})),Fn.prototype.reject=function(e){return this.filter(Ca(Yi(e)))},Fn.prototype.slice=function(e,t){e=ns(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Fn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=ns(t))<0?n.dropRight(-t):n.take(t-e)),n)},Fn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Fn.prototype.toArray=function(){return this.take(4294967295)},sr(Fn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=An[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(An.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof Fn,u=a[0],c=s||Na(t),l=function(e){var t=i.apply(An,ht([e],a));return r&&p?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var p=this.__chain__,f=!!this.__actions__.length,d=o&&!p,h=s&&!f;if(!o&&c){t=h?t:new Fn(this);var m=e.apply(t,a);return m.__actions__.push({func:ta,args:[l],thisArg:void 0}),new On(m,p)}return d&&h?e.apply(this,a):(m=this.thru(l),d?r?m.value()[0]:m.value():m)})})),st(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);An.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Na(i)?i:[],e)}return this[n]((function(n){return t.apply(Na(n)?n:[],e)}))}})),sr(Fn.prototype,(function(e,t){var n=An[t];if(n){var r=n.name+"";Ce.call(yn,r)||(yn[r]=[]),yn[r].push({name:t,func:n})}})),yn[Ai(void 0,2).name]=[{name:"wrapper",func:void 0}],Fn.prototype.clone=function(){var e=new Fn(this.__wrapped__);return e.__actions__=gi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=gi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=gi(this.__views__),e},Fn.prototype.reverse=function(){if(this.__filtered__){var e=new Fn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Fn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Na(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=an(t,e+a);break;case"takeRight":e=on(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,p=l.length,f=0,d=an(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return ti(e,this.__actions__);var h=[];e:for(;u--&&f<d;){for(var m=-1,g=e[c+=t];++m<p;){var v=l[m],y=v.iteratee,b=v.type,x=y(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}h[f++]=g}return h},An.prototype.at=na,An.prototype.chain=function(){return ea(this)},An.prototype.commit=function(){return new On(this.value(),this.__chain__)},An.prototype.next=function(){void 0===this.__values__&&(this.__values__=es(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},An.prototype.plant=function(e){for(var t,n=this;n instanceof _n;){var r=Ao(n);r.__index__=0,r.__values__=void 0,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},An.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Fn){var t=e;return this.__actions__.length&&(t=new Fn(this)),(t=t.reverse()).__actions__.push({func:ta,args:[qo],thisArg:void 0}),new On(t,this.__chain__)}return this.thru(qo)},An.prototype.toJSON=An.prototype.valueOf=An.prototype.value=function(){return ti(this.__wrapped__,this.__actions__)},An.prototype.first=An.prototype.head,$e&&(An.prototype[$e]=function(){return this}),An}();Ke._=Jt,void 0===(i=function(){return Jt}.call(t,n,t,r))||(r.exports=i)}).call(this)}).call(this,n(37),n(189)(e))},function(e,t,n){!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function i(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),u=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var l=i(o),p=!c&&u>=0&&l.test(s.text.charAt(u))&&r[s.text.charAt(u)]||l.test(s.text.charAt(u+1))&&r[s.text.charAt(++u)];if(!p)return null;var f=">"==p.charAt(1)?1:-1;if(o&&o.strict&&f>0!=(u==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,u+1)),h=a(e,n(t.line,u+(f>0?1:0)),f,d||null,o);return null==h?null:{from:n(t.line,u),to:h&&h.pos,match:h&&h.ch==p.charAt(0),forward:f>0}}function a(e,t,o,a,s){for(var u=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,l=[],p=i(s),f=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=f;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,g=o>0?h.length:-1;if(!(h.length>u))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=g;m+=o){var v=h.charAt(m);if(p.test(v)&&(void 0===a||e.getTokenTypeAt(n(d,m+1))==a)){var y=r[v];if(y&&">"==y.charAt(1)==o>0)l.push(v);else{if(!l.length)return{pos:n(d,m),ch:v};l.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],u=e.listSelections(),c=0;c<u.length;c++){var l=u[c].empty()&&o(e,u[c].head,i);if(l&&e.getLine(l.from.line).length<=a){var p=l.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(l.from,n(l.from.line,l.from.ch+1),{className:p})),l.to&&e.getLine(l.to.line).length<=a&&s.push(e.markText(l.to,n(l.to.line,l.to.ch+1),{className:p}))}}if(s.length){t&&e.state.focused&&e.focus();var f=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return f;setTimeout(f,800)}}function u(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}e.defineOption("matchBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",u),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",u))})),e.defineExtension("matchBrackets",(function(){s(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,n,r){return a(this,e,t,n,r)}))}(n(14))},function(e,t,n){!function(e){"use strict";e.registerHelper("fold","brace",(function(t,n){var r,i=n.line,o=t.getLine(i);function a(a){for(var s=n.ch,u=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==u&&c<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(r))return c+1;s=c-1}else{if(1==u)break;u=1,s=o.length}}}var s="{",u="}",c=a("{");if(null==c&&(s="[",u="]",c=a("[")),null!=c){var l,p,f=1,d=t.lastLine();e:for(var h=i;h<=d;++h)for(var m=t.getLine(h),g=h==i?c:0;;){var v=m.indexOf(s,g),y=m.indexOf(u,g);if(v<0&&(v=m.length),y<0&&(y=m.length),(g=Math.min(v,y))==m.length)break;if(t.getTokenTypeAt(e.Pos(h,g+1))==r)if(g==v)++f;else if(!--f){l=h,p=g;break e}++g}if(null!=l&&i!=l)return{from:e.Pos(i,c),to:e.Pos(l,p)}}})),e.registerHelper("fold","import",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"keyword"!=r.type||"import"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(";");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var u=r(s.line+1);if(null==u)break;s=u.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper("fold","include",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),"meta"==r.type&&"#include"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))}(n(14))},function(e,t,n){"use strict";n.r(t),n.d(t,"getASTNodeAtPosition",(function(){return i})),n.d(t,"pointToOffset",(function(){return o}));var r=n(20);function i(e,t,n){var i,a=o(e,n);return Object(r.c)(t,{enter:function(e){if(!("Name"!==e.kind&&e.loc&&e.loc.start<=a&&a<=e.loc.end))return!1;i=e},leave:function(e){if(e.loc&&e.loc.start<=a&&a<=e.loc.end)return!1}}),i}function o(e,t){var n=e.split("\n").slice(0,t.line);return t.character+n.map((function(e){return e.length+1})).reduce((function(e,t){return e+t}),0)}},function(e,t,n){"use strict";function r(e){var t=/^.+\.([^.]+)$/.exec(e);return t&&t.length>1?t[1]:null}function i(e,t){var n=e;return t&&(n=e.substr(0,e.length-(t.length+1))),n}function o(e){if(e)throw Error("cannot import() module with extension '".concat(e,"'"))}n.r(t),n.d(t,"getFileExtension",(function(){return r})),n.d(t,"getPathWithoutExtension",(function(){return i})),n.d(t,"resolveFile",(function(){return l})),n.d(t,"requireFile",(function(){return p}));var a=function(e){return n(389).resolve(e+".js")},s=function(e){return n(390).resolve(e+".json")},u=function(e){return n(391)(e+".js")},c=function(e){return n(392)(e+".json")};function l(e){var t=r(e),n=i(e,t);switch(t){case"js":return a(n);case"json":return s(n);default:try{return a(e)}catch(o){return s(e)}}}function p(e){var t=r(e),n=i(e,t);switch(t){case"js":return l(n+".js")?u(n):null;case"json":return l(n+".json")?c(n):null;default:try{if(l(e+".js"))return u(e)}catch(a){o(t)}if(l(e+".json"))return c(e);o(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return function(t){return t.general.get(e)}};t.getFixedEndpoint=r("fixedEndpoint"),t.getHistoryOpen=r("historyOpen"),t.getConfigString=r("configString")},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);t.setSettingsString=(r=i.createActions({SET_SETTINGS_STRING:function(e){return{settingsString:e}},SET_CONFIG_STRING:function(e){return{configString:e}},OPEN_HISTORY:function(){return{}},CLOSE_HISTORY:function(){return{}}})).setSettingsString,t.setConfigString=r.setConfigString,t.openHistory=r.openHistory,t.closeHistory=r.closeHistory},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(22);function o(e,t){return void 0===t&&(t=0),e.ofType&&t<5?o(e.ofType,t+1):e}function a(e,t){var n={fields:[],interfaces:[],args:[],implementations:[]},r=t.type||t,a=i.isType(r);if(r.ofType&&(r=o(r.ofType)),r.getFields){var s=r.getFields();n.fields=Object.keys(s).map((function(e){var n=s[e];return n.parent=t,n.path=t.path+"/"+e,n}))}return r instanceof i.GraphQLObjectType&&(n.interfaces=r.getInterfaces()),n.args=t.args?t.args:[],a&&r instanceof i.GraphQLInterfaceType&&(n.implementations=e.getPossibleTypes(r)),n}function s(e,t,n){var r=a(e,t),i=r.interfaces.indexOf(n);if(i>-1)return i;var o=r.fields.indexOf(n);if(o>-1)return r.interfaces.length+o;var s=r.args.indexOf(n);if(s>-1)return r.interfaces.length+r.fields.length+s;var u=r.implementations.indexOf(n);return u>-1?r.interfaces.length+r.fields.length+r.args.length+u:0}t.getNewStack=function(e,t,n){for(var r=n.getIn(["field","path"]),i=r.split("/"),a=null,u=0,c=null,l=-1,p=function(){var n=i.shift();if(0===u)a=e[n],l=Object.keys(e).indexOf(n);else{var r=a.args.find((function(e){return e.name===n}));c=a,r?a=r:(a.type.ofType&&(a=o(a.type.ofType)),a.type&&(a=a.type),a=a.getFields()[n]||a.getInterfaces().find((function(e){return e.name===n})))}c&&(l=s(t,c,a)),u++};i.length>0;)p();return a?(a.path=r,a.parent=c,n.merge({y:l,field:a})):null},t.getDeeperType=o,t.getRootMap=function(e){return r(r(r({},e.getQueryType().getFields()),e.getMutationType&&e.getMutationType()&&e.getMutationType().getFields()),e.getSubscriptionType&&e.getSubscriptionType()&&e.getSubscriptionType().getFields())},t.serializeRoot=function(e){var t={queries:[],mutations:[],subscriptions:[]},n=e.getQueryType().getFields();t.queries=Object.keys(n).map((function(e){var t=n[e];return t.path=e,t.parent=null,t}));var r=e.getMutationType&&e.getMutationType();if(r){var i=r.getFields();t.mutations=Object.keys(i).map((function(e){var t=i[e];return t.path=e,t.parent=null,t}))}window.ss=e;var o=e.getSubscriptionType&&e.getSubscriptionType();if(o){var a=o.getFields();t.subscriptions=Object.keys(a).map((function(e){var t=a[e];return t.path=e,t.parent=null,t}))}return t},t.getElementRoot=function(e,t){var n=0;return e.queries[t+n]?e.queries[t+n]:(n+=e.queries.length,e.mutations[t-n]?e.mutations[t-n]:(n+=e.mutations.length,e.subscriptions[t-n]?e.subscriptions[t-n]:void 0))},t.serialize=a,t.getElement=function(e,t){var n=0;return e.interfaces[t+n]?e.interfaces[t+n]:(n+=e.interfaces.length,e.fields[t-n]?e.fields[t-n]:(n+=e.fields.length,e.args[t-n]?e.args[t-n]:(n+=e.args.length,e.implementations[t-n]?e.implementations[t-n]:void 0)))},t.getElementIndex=s},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";var r=n(86);e.exports=new r({include:[n(233)],implicit:[n(527),n(528)],explicit:[n(529),n(534),n(535),n(536)]})},function(e,t,n){"use strict";var r="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=r},function(e,t,n){"use strict";function r(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var r=n(48),i=n(49),o=n(57),a=n(5);function s(e,t){var n=new p(a.a.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:u,lookahead:c}}function u(){return this.lastToken=this.token,this.token=this.lookahead()}function c(){var e=this.token;if(e.kind!==a.a.EOF)do{e=e.next||(e.next=d(this,e))}while(e.kind===a.a.COMMENT);return e}function l(e){var t=e.kind;return t===a.a.BANG||t===a.a.DOLLAR||t===a.a.AMP||t===a.a.PAREN_L||t===a.a.PAREN_R||t===a.a.SPREAD||t===a.a.COLON||t===a.a.EQUALS||t===a.a.AT||t===a.a.BRACKET_L||t===a.a.BRACKET_R||t===a.a.BRACE_L||t===a.a.PIPE||t===a.a.BRACE_R}function p(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function f(e){return isNaN(e)?a.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function d(e,t){var n=e.source,r=n.body,s=r.length,u=function(e,t,n){var r=e.length,i=t;for(;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,t.end,e),c=e.line,l=1+u-e.lineStart;if(u>=s)return new p(a.a.EOF,s,s,c,l,t);var d=r.charCodeAt(u);switch(d){case 33:return new p(a.a.BANG,u,u+1,c,l,t);case 35:return function(e,t,n,r,i){var o,s=e.body,u=t;do{o=s.charCodeAt(++u)}while(!isNaN(o)&&(o>31||9===o));return new p(a.a.COMMENT,t,u,n,r,i,s.slice(t+1,u))}(n,u,c,l,t);case 36:return new p(a.a.DOLLAR,u,u+1,c,l,t);case 38:return new p(a.a.AMP,u,u+1,c,l,t);case 40:return new p(a.a.PAREN_L,u,u+1,c,l,t);case 41:return new p(a.a.PAREN_R,u,u+1,c,l,t);case 46:if(46===r.charCodeAt(u+1)&&46===r.charCodeAt(u+2))return new p(a.a.SPREAD,u,u+3,c,l,t);break;case 58:return new p(a.a.COLON,u,u+1,c,l,t);case 61:return new p(a.a.EQUALS,u,u+1,c,l,t);case 64:return new p(a.a.AT,u,u+1,c,l,t);case 91:return new p(a.a.BRACKET_L,u,u+1,c,l,t);case 93:return new p(a.a.BRACKET_R,u,u+1,c,l,t);case 123:return new p(a.a.BRACE_L,u,u+1,c,l,t);case 124:return new p(a.a.PIPE,u,u+1,c,l,t);case 125:return new p(a.a.BRACE_R,u,u+1,c,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,s=o.length,u=t+1,c=0;for(;u!==s&&!isNaN(c=o.charCodeAt(u))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++u;return new p(a.a.NAME,t,u,n,r,i,o.slice(t,u))}(n,u,c,l,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,o,s){var u=e.body,c=n,l=t,d=!1;45===c&&(c=u.charCodeAt(++l));if(48===c){if((c=u.charCodeAt(++l))>=48&&c<=57)throw Object(i.a)(e,l,"Invalid number, unexpected digit after 0: ".concat(f(c),"."))}else l=h(e,l,c),c=u.charCodeAt(l);46===c&&(d=!0,c=u.charCodeAt(++l),l=h(e,l,c),c=u.charCodeAt(l));69!==c&&101!==c||(d=!0,43!==(c=u.charCodeAt(++l))&&45!==c||(c=u.charCodeAt(++l)),l=h(e,l,c),c=u.charCodeAt(l));if(46===c||69===c||101===c)throw Object(i.a)(e,l,"Invalid number, expected digit but got: ".concat(f(c),"."));return new p(d?a.a.FLOAT:a.a.INT,t,l,r,o,s,u.slice(t,l))}(n,u,d,c,l,t);case 34:return 34===r.charCodeAt(u+1)&&34===r.charCodeAt(u+2)?function(e,t,n,r,s,u){var c=e.body,l=t+3,d=l,h=0,m="";for(;l<c.length&&!isNaN(h=c.charCodeAt(l));){if(34===h&&34===c.charCodeAt(l+1)&&34===c.charCodeAt(l+2))return m+=c.slice(d,l),new p(a.a.BLOCK_STRING,t,l+3,n,r,s,Object(o.a)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw Object(i.a)(e,l,"Invalid character within String: ".concat(f(h),"."));10===h?(++l,++u.line,u.lineStart=l):13===h?(10===c.charCodeAt(l+1)?l+=2:++l,++u.line,u.lineStart=l):92===h&&34===c.charCodeAt(l+1)&&34===c.charCodeAt(l+2)&&34===c.charCodeAt(l+3)?(m+=c.slice(d,l)+'"""',d=l+=4):++l}throw Object(i.a)(e,l,"Unterminated string.")}(n,u,c,l,t,e):function(e,t,n,r,o){var s=e.body,u=t+1,c=u,l=0,d="";for(;u<s.length&&!isNaN(l=s.charCodeAt(u))&&10!==l&&13!==l;){if(34===l)return d+=s.slice(c,u),new p(a.a.STRING,t,u+1,n,r,o,d);if(l<32&&9!==l)throw Object(i.a)(e,u,"Invalid character within String: ".concat(f(l),"."));if(++u,92===l){switch(d+=s.slice(c,u-1),l=s.charCodeAt(u)){case 34:d+='"';break;case 47:d+="/";break;case 92:d+="\\";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+="\n";break;case 114:d+="\r";break;case 116:d+="\t";break;case 117:var h=(v=s.charCodeAt(u+1),y=s.charCodeAt(u+2),b=s.charCodeAt(u+3),x=s.charCodeAt(u+4),m(v)<<12|m(y)<<8|m(b)<<4|m(x));if(h<0){var g=s.slice(u+1,u+5);throw Object(i.a)(e,u,"Invalid character escape sequence: \\u".concat(g,"."))}d+=String.fromCharCode(h),u+=4;break;default:throw Object(i.a)(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(l),"."))}++u,c=u}}var v,y,b,x;throw Object(i.a)(e,u,"Unterminated string.")}(n,u,c,l,t)}throw Object(i.a)(n,u,function(e){if(e<32&&9!==e&&10!==e&&13!==e)return"Cannot contain the invalid character ".concat(f(e),".");if(39===e)return"Unexpected single quote character ('), did you mean to use a double quote (\")?";return"Cannot parse the unexpected character ".concat(f(e),".")}(d))}function h(e,t,n){var r=e.body,o=t,a=n;if(a>=48&&a<=57){do{a=r.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(i.a)(e,o,"Invalid number, expected digit but got: ".concat(f(a),"."))}function m(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object(r.a)(p,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r=n(1),i=n(20),o=n(69);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s=function(){function e(e,t){this._ast=e,this._errors=[],this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._errors.push(e),this._onError&&this._onError(e)},t.getErrors=function(){return this._errors},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===r.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var i=0,o=n.pop().selections;i<o.length;i++){var a=o[i];a.kind===r.a.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&n.push(a.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var u=this.getFragment(s);u&&(t.push(u),r.push(u.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),u=function(e){function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return a(t,e),t.prototype.getSchema=function(){return this._schema},t}(s),c=function(e){function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}a(t,e);var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new o.a(this._schema);Object(i.c)(e,Object(i.e)(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},t}(s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(287),i=n(170);t.theme=i.theme;var o=r,a=o.default,s=o.css,u=o.injectGlobal,c=o.keyframes,l=o.ThemeProvider,p=o.withTheme,f=o.createGlobalStyle;t.css=s,t.injectGlobal=u,t.keyframes=c,t.ThemeProvider=l,t.withTheme=p,t.createGlobalStyle=f,t.default=a},function(e,t,n){"use strict";var r,i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(33),s=n(50),u=n(36),c=n(28),l=n(75),p=n(92),f=n(110),d=n(185),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.toJSON=function(){var e=this.toObject(),t={queryRunning:!1,subscriptionActive:!1,responseExtensions:{}};return e.responses&&e.responses.size>0&&(e.responses.size>20||e.responses.get(0).date.length>2e3)&&(t.responses=a.List()),a.merge(e,t)},t}(a.Record(l.getDefaultSession("")));t.Session=h;var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(a.Record({resultID:"",date:"",time:new Date,isSchemaError:!1}));function g(e){return void 0===e&&(e=""),new h({endpoint:e}).set("id",p())}t.ResponseRecord=m,t.sessionFromTab=function(e){return new h(o(o({},e),{headers:e.headers?JSON.stringify(e.headers,null,2):"",responses:e.responses&&e.responses.length>0?a.List(e.responses.map((function(e){return new m({date:e})}))):a.List()})).set("id",p())};var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(a.Record({sessions:a.OrderedMap({}),selectedSessionId:"",sessionCount:0,headers:""}));function y(e){var t,n=new h({endpoint:e||""});return new v({sessions:a.OrderedMap((t={},t[n.id]=n,t)),selectedSessionId:n.id,sessionCount:1})}t.SessionState=v,t.makeSessionState=y;var b=s.handleActions(((r={})[s.combineActions(u.editQuery,u.editVariables,u.editHeaders,u.editEndpoint,u.setEditorFlex,u.openQueryVariables,u.closeQueryVariables,u.setVariableEditorHeight,u.setResponseTracingHeight,u.setTracingSupported,u.setVariableToType,u.setOperations,u.setOperationName,u.setSubscriptionActive,u.startQuery,u.setQueryTypes,u.editName,u.setResponseExtensions,u.setCurrentQueryStartTime,u.setCurrentQueryEndTime)]=function(e,t){var n=t.payload,r=Object.keys(n),i=1===r.length?r[0]:r[1],o=["sessions",c.getSelectedSessionId(e),i];return e.setIn(o,n[i])},r.START_QUERY=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"queryRunning"],!0).setIn(["sessions",c.getSelectedSessionId(e),"responseExtensions"],void 0)},r.CLOSE_TRACING=function(e,t){var n=t.payload.responseTracingHeight;return e.mergeDeepIn(["sessions",c.getSelectedSessionId(e)],a.Map({responseTracingHeight:n,responseTracingOpen:!1}))},r.TOGGLE_TRACING=function(e){var t=["sessions",c.getSelectedSessionId(e),"responseTracingOpen"];return e.setIn(t,!e.getIn(t))},r.OPEN_TRACING=function(e,t){var n=t.payload.responseTracingHeight;return e.mergeDeepIn(["sessions",c.getSelectedSessionId(e)],a.Map({responseTracingHeight:n,responseTracingOpen:!0}))},r.CLOSE_VARIABLES=function(e,t){var n=t.payload.variableEditorHeight;return e.mergeDeepIn(["sessions",c.getSelectedSessionId(e)],a.Map({variableEditorHeight:n,variableEditorOpen:!1}))},r.OPEN_VARIABLES=function(e,t){var n=t.payload.variableEditorHeight;return e.mergeDeepIn(["sessions",c.getSelectedSessionId(e)],a.Map({variableEditorHeight:n,variableEditorOpen:!0}))},r.TOGGLE_VARIABLES=function(e){var t=["sessions",c.getSelectedSessionId(e),"variableEditorOpen"];return e.setIn(t,!e.getIn(t))},r.ADD_RESPONSE=function(e,t){var n=t.payload,r=n.response,i=n.sessionId;return e.updateIn(["sessions",i,"responses"],(function(e){return e.push(r)}))},r.SET_RESPONSE=function(e,t){var n=t.payload,r=n.response,i=n.sessionId;return e.setIn(["sessions",i,"responses"],a.List([r]))},r.CLEAR_RESPONSES=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"responses"],a.List())},r.FETCH_SCHEMA=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"isReloadingSchema"],!0)},r.REFETCH_SCHEMA=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"isReloadingSchema"],!0)},r.STOP_QUERY=function(e,t){var n=t.payload.sessionId;return e.mergeIn(["sessions",n],{queryRunning:!1,subscriptionActive:!1})},r.SET_SCROLL_TOP=function(e,t){var n=t.payload,r=n.sessionId,i=n.scrollTop;return e.sessions.get(r)?e.setIn(["sessions",r,"scrollTop"],i):e},r.SCHEMA_FETCHING_SUCCESS=function(e,t){var n=t.payload,r=e.get("sessions").map((function(e){if(e.endpoint===n.endpoint){var t={tracingSupported:n.tracingSupported,isReloadingSchema:!1,endpointUnreachable:!1},r=e.responses?e.responses.first():null;return r&&1===e.responses.size&&r.isSchemaError&&(t.responses=a.List([])),e.merge(a.Map(t))}return e}));return e.set("sessions",r)},r.SET_ENDPOINT_UNREACHABLE=function(e,t){var n=t.payload,r=e.get("sessions").map((function(e,t){return e.get("endpoint")===n.endpoint?e.merge(a.Map({endpointUnreachable:!0})):e}));return e.set("sessions",r)},r.SCHEMA_FETCHING_ERROR=function(e,t){var n=t.payload,r=e.get("sessions").map((function(e,t){if(e.get("endpoint")===n.endpoint){var r=e.responses;if(r.size<=1){var i=e.responses?e.responses.first():null;i&&!i.isSchemaError||(i=new m({resultID:p(),isSchemaError:!0,date:JSON.stringify(f.formatError(n.error,!0),null,2),time:new Date})),r=a.List([i])}return e.merge(a.Map({isReloadingSchema:!1,endpointUnreachable:!0,responses:r}))}return e}));return e.set("sessions",r)},r.SET_SELECTED_SESSION_ID=function(e,t){var n=t.payload.sessionId;return e.set("selectedSessionId",n)},r.OPEN_SETTINGS_TAB=function(e){var t=e,n=e.sessions.find((function(e){return e.get("isSettingsTab",!1)}));return n||(n=g().merge({isSettingsTab:!0,isFile:!0,name:"Settings",changed:!1}),t=t.setIn(["sessions",n.id],n)),t.set("selectedSessionId",n.id)},r.OPEN_CONFIG_TAB=function(e){var t=e,n=e.sessions.find((function(e){return e.get("isConfigTab",!1)}));return n||(n=g().merge({isConfigTab:!0,isFile:!0,name:"GraphQL Config",changed:!1}),t=t.setIn(["sessions",n.id],n)),t.set("selectedSessionId",n.id)},r.NEW_FILE_TAB=function(e,t){var n=t.payload,r=n.fileName,i=n.filePath,o=n.file,a=e,s=e.sessions.find((function(e){return e.get("name","")===r}));return s||(s=g().merge({isFile:!0,name:r,changed:!1,file:o,filePath:i}),a=a.setIn(["sessions",s.id],s)),a.set("selectedSessionId",s.id).set("sessionCount",a.sessions.size)},r.NEW_SESSION=function(e,t){var n=t.payload,r=n.reuseHeaders,i=n.endpoint,o=e.sessions.first(),a={query:"",isReloadingSchema:o.isReloadingSchema,endpointUnreachable:o.endpointUnreachable};o.endpointUnreachable&&(a.responses=o.responses);var s=g(i||o.endpoint).merge(a);if(r){var u=c.getSelectedSessionId(e),l=e.sessions.get(u);s=s.set("headers",l.headers)}else s=s.set("headers",e.headers);return e.setIn(["sessions",s.id],s).set("selectedSessionId",s.id).set("sessionCount",e.sessions.size+1)},r.INJECT_HEADERS=function(e,t){var n=t.payload,r=n.headers,i=n.endpoint;if(!r||""===r||0===Object.keys(r).length)return e;var o="string"===typeof r?r:JSON.stringify(r,null,2),a=c.getSelectedSessionId(e),s=e.set("headers",o),u=e.sessions.get(a);if(u.headers===o)return s;if(u.query===l.defaultQuery)return s.setIn(["sessions",a,"headers"],o);var p=g(i).set("headers",o);return s.setIn(["sessions",p.id],p).set("selectedSessionId",p.id).set("sessionCount",e.sessions.size+1)},r.DUPLICATE_SESSION=function(e,t){var n=t.payload.session.set("id",p());return e.setIn(["sessions",n.id],n).set("selectedSessionId",n.id).set("sessionCount",e.sessions.size+1)},r.NEW_SESSION_FROM_QUERY=function(e,t){var n=t.payload.query,r=g().set("query",n);return e.setIn(["sessions",r.id],r).set("sessionCount",e.sessions.size+1)},r.CLOSE_SELECTED_TAB=function(e){return x(e,c.getSelectedSessionId(e)).set("sessionCount",e.sessions.size-1)},r.SELECT_NEXT_TAB=function(e){var t=c.getSelectedSessionId(e),n=e.sessions.size,r=e.sessions.keySeq(),i=r.indexOf(t);return i+1<n?e.set("selectedSessionId",r.get(i+1)):e.set("selectedSessionId",r.get(0))},r.SELECT_PREV_TAB=function(e){var t=c.getSelectedSessionId(e),n=e.sessions.size,r=e.sessions.keySeq(),i=r.indexOf(t);return i-1>=0?e.set("selectedSessionId",r.get(i-1)):e.set("selectedSessionId",r.get(n-1))},r.SELECT_TAB_INDEX=function(e,t){var n=t.payload.index,r=e.sessions.keySeq();return e.set("selectedSessionId",r.get(n))},r.SELECT_TAB=function(e,t){var n=t.payload.sessionId;return e.set("selectedSessionId",n)},r.CLOSE_TAB=function(e,t){return x(e,t.payload.sessionId).set("sessionCount",e.sessions.size-1)},r.REORDER_TABS=function(e,t){for(var n=t.payload,r=n.src,i=n.dest,o=e.sessions.toIndexedSeq(),s=[],u=0;u<o.size;u++)s.push(u);var c=d.arrayMove(s,r,i),l=a.OrderedMap();for(u=0;u<o.size;u++){var p=c[u],f=o.get(p);l=l.set(f.id,f)}return e.set("sessions",l)},r.EDIT_SETTINGS=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!0)},r.SAVE_SETTINGS=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!1)},r.EDIT_CONFIG=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!0)},r.SAVE_CONFIG=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!1)},r.EDIT_FILE=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!0)},r.SAVE_FILE=function(e){return e.setIn(["sessions",c.getSelectedSessionId(e),"changed"],!1)},r),y(""));function x(e,t){var n=e.sessions.size,r=e.sessions.keySeq(),i=e.removeIn(["sessions",t]),o=e.sessions.get(t);if(1===n){var a={query:"",headers:o.headers,isReloadingSchema:o.isReloadingSchema,endpointUnreachable:o.endpointUnreachable};o.endpointUnreachable&&(a.responses=o.responses);var s=g(o.endpoint).merge(a);return(i=i.set("selectedSessionId",s.id)).setIn(["sessions",s.id],s)}var u=c.getSelectedSessionId(e),l=r.indexOf(t);if(u===t){var p=l-1;return p<0?i.set("selectedSessionId",r.get(1)):i.set("selectedSessionId",r.get(p))}return i}t.default=function(e,t){var n=b(e,t);return""===n.selectedSessionId&&e.sessions.size>0?n.set("selectedSessionId",e.sessions.first().id):n}},function(e,t,n){"use strict";function r(e){return(r="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)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var a,s=n(70),u=n(174),c=n(132),l=n(561),p=n(303),f=n(304),d=n(126),h=n(237),m=n(175),g=n(36),v=n(28),y=n(305),b=n(38),x=n(92),E=n(109),D=n(113),C=n(93),w=n(33);t.setSubscriptionEndpoint=function(e){a=e},t.defaultLinkCreator=function(e,t){var n={},r=e.headers,o=e.credentials;r&&(n=i({},r));var a=new l.HttpLink({uri:e.endpoint,headers:r,credentials:o});if(!t)return{link:a};var u=new c.SubscriptionClient(t,{timeout:2e4,lazy:!0,connectionParams:n}),d=new p.WebSocketLink(u);return{link:s.ApolloLink.split((function(e){return f.isSubscription(e)}),d,a),subscriptionClient:u}};var S=t.defaultLinkCreator;t.schemaFetcher=new y.SchemaFetcher(S),window.schemaFetcher=t.schemaFetcher,t.setLinkCreator=function(e){e&&(S=e,t.schemaFetcher=new y.SchemaFetcher(e))};var k={};function A(e,t){void 0===t&&(t=!1);var n=T(e);if("Failed to fetch"===n)return{error:""+n+(t?" schema":"")+". Please check your connection"};try{return JSON.parse(n)}catch(r){}return{error:n}}function T(e){return e instanceof Error?e.result&&"object"===r(e.result)?e.result:e.message:e}t.formatError=A,t.fecthingSagas=[d.takeEvery("RUN_QUERY",C.safely((function(e){var t,n,r,i,c,l,p,y,C,_,O,F,N,I,M,j,L,P,R,B;return o(this,(function(o){switch(o.label){case 0:return t=e.payload.operationName,[4,d.select(b.getSelectedWorkspaceId)];case 1:return n=o.sent(),[4,d.select(v.getSelectedSession)];case 2:return r=o.sent(),i={query:r.query,operationName:t,variables:v.getParsedVariablesFromSession(r)},c=m.makeOperation(i),l=f.isSubscription(c),[4,d.select(b.getSelectedWorkspaceId)];case 3:return p=o.sent(),[4,d.select(b.getSettings)];case 4:return y=o.sent(),[4,d.put(g.setSubscriptionActive(f.isSubscription(c)))];case 5:return o.sent(),[4,d.put(g.startQuery())];case 6:return o.sent(),C=u.parseHeaders(r.headers),r.tracingSupported&&r.responseTracingOpen&&(C=w.set(C,"X-Apollo-Tracing","1")),_={endpoint:r.endpoint,headers:C,credentials:y["request.credentials"]},O=S(_,a),F=O.link,N=O.subscriptionClient,[4,d.put(g.setCurrentQueryStartTime(new Date))];case 7:o.sent(),I=!1,M=h.eventChannel((function(e){var t=!1;N&&l&&N.onDisconnected((function(){t=!0,e({error:new Error("Could not connect to websocket endpoint "+a+". Please check if the endpoint url is correct.")}),e(h.END)}));var n=s.execute(F,c).subscribe({next:function(t){e({value:t})},error:function(t){e({error:t}),e(h.END)},complete:function(){e(h.END)}}),i=function(){if(!t)try{n.unsubscribe()}catch(e){console.error(e)}},o=p+"~"+r.id;return k[o]={unsubscribe:i},i})),o.label=8;case 8:o.trys.push([8,,23,26]),o.label=9;case 9:return[4,d.take(M)];case 10:return j=o.sent(),L=j.value,P=j.error,L&&L.extensions?(R=L.extensions,[4,d.put(g.setResponseExtensions(R))]):[3,12];case 11:o.sent(),L.extensions.tracing&&y["tracing.hideTracingResponse"]&&delete L.extensions.tracing,o.label=12;case 12:return B=new E.ResponseRecord({date:JSON.stringify(L||A(P),null,2),time:new Date,resultID:x()}),"Failed to fetch"!==T(P)?[3,14]:[4,d.put(g.setEndpointUnreachable(r.endpoint))];case 13:o.sent(),o.label=14;case 14:return l?I?[4,d.put(g.clearResponses())]:[3,16]:[3,18];case 15:o.sent(),I=!1,o.label=16;case 16:return[4,d.put(g.addResponse(n,r.id,B))];case 17:return o.sent(),[3,20];case 18:return[4,d.put(g.setResponse(n,r.id,B))];case 19:o.sent(),o.label=20;case 20:return[4,d.put(D.addHistoryItem(r))];case 21:return o.sent(),[3,9];case 22:return[3,26];case 23:return[4,d.put(g.setCurrentQueryEndTime(new Date))];case 24:return o.sent(),[4,d.put(g.stopQuery(r.id,n))];case 25:return o.sent(),[7];case 26:return[2]}}))}))),d.takeLatest("STOP_QUERY",C.safely((function(e){var t,n,r,i,a,s,u,c;return o(this,(function(o){switch(o.label){case 0:return t=e.payload,n=t.sessionId,r=t.workspaceId,[4,d.select(v.getSessionsState)];case 1:return i=o.sent().sessions,a=i.get(n),[4,r||d.select(b.getSelectedWorkspaceId)];case 2:return s=o.sent(),u=s+"~"+a.id,(c=k[u])&&c.unsubscribe&&c.unsubscribe(),delete k[u],[2]}}))})))]},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);t.toggleHistoryItemStarring=(r=i.createActions({TOGGLE_HISTORY_ITEM_STARRING:function(e){return{sessionId:e}},ADD_HISTORY_ITEM:function(e){return{session:e}}})).toggleHistoryItemStarring,t.addHistoryItem=r.addHistoryItem},function(e,t,n){var r=n(179);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vendorPrefix=t.events=void 0,t.arrayMove=function(e,t,n){var r=e.slice(0);if(n>=r.length)for(var i=n-r.length;1+i--;)r.push(void 0);return r.splice(n,0,r.splice(t,1)[0]),r},t.omit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce((function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t}),{})},t.closest=function(e,t){for(;e;){if(t(e))return e;e=e.parentNode}},t.limit=function(e,t,n){if(n<e)return e;if(n>t)return t;return n},t.getElementMargin=function(e){var t=window.getComputedStyle(e);return{top:a(t.marginTop),right:a(t.marginRight),bottom:a(t.marginBottom),left:a(t.marginLeft)}},t.provideDisplayName=function(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e},t.getPosition=function(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}},t.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},t.getEdgeOffset=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,left:0};if(t){var i={top:r.top+t.offsetTop,left:r.left+t.offsetLeft};return t.parentNode!==n?e(t.parentNode,n,i):i}},t.getLockPixelOffset=function(e){var t=e.lockOffset,n=e.width,r=e.height,i=t,a=t,s="px";if("string"===typeof t){var u=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);(0,o.default)(null!==u,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=a=parseFloat(t),s=u[1]}(0,o.default)(isFinite(i)&&isFinite(a),"lockOffset value should be a finite. Given %s",t),"%"===s&&(i=i*n/100,a=a*r/100);return{x:i,y:a}};var r,i=n(39),o=(r=i)&&r.__esModule?r:{default:r};t.events={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},t.vendorPrefix=function(){if("undefined"===typeof window||"undefined"===typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function a(e){return"px"===e.substr(-2)?parseFloat(e):0}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";e.exports.encode=n(336),e.exports.decode=n(337),e.exports.format=n(338),e.exports.parse=n(339)},function(e,t,n){!function(e){"use strict";e.defineOption("foldGutter",!1,(function(t,r,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",u),t.off("changes",c),t.off("viewportChange",l),t.off("fold",p),t.off("unfold",p),t.off("swapDoc",c)),r&&(t.state.foldGutter=new n((!0===(o=r)&&(o={}),null==o.gutter&&(o.gutter="CodeMirror-foldgutter"),null==o.indicatorOpen&&(o.indicatorOpen="CodeMirror-foldgutter-open"),null==o.indicatorFolded&&(o.indicatorFolded="CodeMirror-foldgutter-folded"),o)),s(t),t.on("gutterClick",u),t.on("changes",c),t.on("viewportChange",l),t.on("fold",p),t.on("unfold",p),t.on("swapDoc",c))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var o=r[i].find(-1);if(o&&o.line===n)return r[i]}}function i(e){if("string"==typeof e){var t=document.createElement("div");return t.className=e+" CodeMirror-guttermarker-subtle",t}return e.cloneNode(!0)}function o(e,n,o){var s=e.state.foldGutter.options,u=n-1,c=e.foldOption(s,"minFoldSize"),l=e.foldOption(s,"rangeFinder"),p="string"==typeof s.indicatorFolded&&a(s.indicatorFolded),f="string"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++u;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,u)){if(p&&a&&p.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(u,0),h=l&&l(e,d);if(h&&h.to.line-h.from.line>=c){if(f&&a&&f.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function u(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.from<t.from&&(o(e,n.from,t.from),t.from=n.from),n.to>t.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function p(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&o(e,r,r+1)}}}(n(14),n(386))},function(e,t,n){!function(e){"use strict";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}(e,function(e){return e.phrase("Jump to line:")+' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use line:column or scroll% syntax)")+"</span>"}(e),e.phrase("Jump to line:"),n.line+1+":"+n.ch,(function(r){var i;if(r)if(i=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default["Alt-G"]="jumpToLine"}(n(14),n(78))},function(e,t,n){!function(e){"use strict";var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s="start",u=r.ch,c=u,l=i<0?0:o.length,p=0;c!=l;c+=i,p++){var f=o.charAt(i<0?c-1:c),d="_"!=f&&e.isWordChar(f)?"w":"o";if("w"==d&&f.toUpperCase()==f&&(d="W"),"start"==s)"o"!=d?(s="in",a=d):u=c+i;else if("in"==s&&a!=d){if("w"==a&&"W"==d&&i<0&&c--,"W"==a&&"w"==d&&i>0){if(c==u+1){a="w";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a<e;a++){var s=t.listSelections()[a].head;if(!(s.line<=o)){var u=n(s.line+(r?0:1),0);t.replaceRange("\n",u,null,"+insertLine"),t.indentLine(u.line,null,!0),i.push({head:u,anchor:u}),o=s.line+1}}t.setSelections(i)})),t.execCommand("indentAuto")}function o(t,r){for(var i=r.ch,o=i,a=t.getLine(r.line);i&&e.isWordChar(a.charAt(i-1));)--i;for(;o<a.length&&e.isWordChar(a.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:a.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,"line",o.anchor.goalColumn),s=e.findPosV(o.head,t,"line",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,"div").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,"div").left;var u={anchor:a,head:s};r.push(o),r.push(u)}e.setSelections(r)}function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var a=r[o],s=a.head,u=t.scanForBracket(s,-1);if(!u)return!1;for(;;){var c=t.scanForBracket(s,1);if(!c)return!1;if(c.ch=="(){}[]".charAt("(){}[]".indexOf(u.ch)+1)){var l=n(u.pos.line,u.pos.ch+1);if(0!=e.cmpPos(l,a.from())||0!=e.cmpPos(c.pos,a.to())){i.push({anchor:l,head:c.pos});break}if(!(u=t.scanForBracket(u.pos,-1)))return!1}s=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(i),!0}function u(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function c(t,r){if(t.isReadOnly())return e.Pass;for(var i,o=t.listSelections(),a=[],s=0;s<o.length;s++){var u=o[s];if(!u.empty()){for(var c=u.from().line,l=u.to().line;s<o.length-1&&o[s+1].from().line==l;)l=o[++s].to().line;o[s].to().ch||l--,a.push(c,l)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],o=0;o<a.length;o+=2){var s=a[o],u=a[o+1],c=n(s,0),l=n(u),p=t.getRange(c,l,!1);r?p.sort():p.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-1:e==t?0:1})),t.replaceRange(p,c,l),i&&e.push({anchor:c,head:n(u+1,0)})}i&&t.setSelections(e,0)}))}function l(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(c=r[s]).empty()?(i.push(s),a.push("")):a.push(n(t.getRange(c.from(),c.to())));var u;for(t.replaceSelections(a,"around","case"),s=i.length-1;s>=0;s--){var c=r[i[s]];if(!(u&&e.cmpPos(c.head,u)>0)){var l=o(t,c.head);u=l.from,t.replaceRange(n(l.word),l.from,l.to)}}}))}function p(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function f(e,t){var r=p(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),a=t[i].to(),s=o.line;s<=a.line;++s)a.line>o.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor("from"),i=t.getCursor("to"),a=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var s=o(t,r);if(!s.word)return;t.setSelection(s.from,s.to),a=!0}else{var u=t.getRange(r,i),c=a?new RegExp("\\b"+u+"\\b"):u,l=t.getSearchCursor(c,i),p=l.findNext();if(p||(p=(l=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!p||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),l.from(),l.to()))return;t.addSelection(l.from(),l.to())}a&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),i=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){a(e,-1)},t.addCursorToNextLine=function(e){a(e,1)},t.selectScope=function(e){s(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,u(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,u(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;s<r.length;s++){var u=r[s],c=u.from().line-1,l=u.to().line;a.push({anchor:n(u.anchor.line-1,u.anchor.ch),head:n(u.head.line-1,u.head.ch)}),0!=u.to().ch||u.empty()||--l,c>o?i.push(c,l):i.length&&(i[i.length-1]=l),o=l}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],s=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),o>t.lastLine()?t.replaceRange("\n"+s,n(t.lastLine()),null,"+swapLine"):t.replaceRange(s+"\n",n(o,0),null,"+swapLine")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],u=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||u--,u<o?i.push(u,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange("",n(r-1),n(r),"+swapLine"):t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],a=o.from(),s=a.line,u=o.to().line;i<t.length-1&&t[i+1].from().line==u;)u=t[++i].to().line;r.push({start:s,end:u,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],u=s.anchor&&n(s.anchor.line-t,s.anchor.ch),c=s.start;c<=s.end;c++){var l=c-t;c==s.end&&(a=n(l,e.getLine(l).length+1)),l<e.lastLine()&&(e.replaceRange(" ",n(l),n(l+1,/^\s*/.exec(e.getLine(l+1))[0].length)),++t)}i.push({anchor:u||a,head:a})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+"\n",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){c(e,!0)},t.sortLinesInsensitive=function(e){c(e,!1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var u=0;u<n.length;u++)n[u]==a[s]&&n.splice(u--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption("indentUnit"),o=r.length-1;o>=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),u=e.countColumn(s,null,t.getOption("tabSize")),c=t.findPosH(a,-1,"char",!1);if(s&&!/\S/.test(s)&&u%i==0){var l=new n(a.line,e.findColumn(s,u-i,i));l.ch!=a.ch&&(c=l)}t.replaceRange("",c,a,"+delete")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange("",t[r].anchor,n(t[r].to().line),"+delete");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){l(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){l(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange("",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){f(e,!0)},t.findUnderPrevious=function(e){f(e,!1)},t.findAllUnder=function(e){var t=p(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(d.macSublime),d.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(14),n(77),n(95))},function(e,t,n){"use strict";n.r(t),n.d(t,"validateWithCustomRules",(function(){return a}));var r=n(133),i=n(69),o=n(83);function a(e,t,a,s){var u=[n(154).NoUnusedFragments,n(152).ExecutableDefinitions];if(s){var c=n(153).KnownFragmentNames;u.push(c)}var l=r.a.filter((function(e){return!u.some((function(t){return t===e}))})),p=new i.a(e);a&&Array.prototype.push.apply(l,a);var f=Object(o.c)(e,t,l,p);return f.length>0?f.filter((function(e){if(-1===e.message.indexOf("Unknown directive"))return!0;if(e.nodes&&e.nodes[0]){var t=e.nodes[0];return!(t.name&&"arguments"===t.name.value||"argumentDefinitions"===t.name.value)}})):[]}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);t.share=(r=i.createActions({TOGGLE_SHARE_HISTORY:function(){return{}},TOGGLE_SHARE_HEADERS:function(){return{}},TOGGLE_SHARE_ALL_TABS:function(){return{}},SHARE:function(){return{}},SET_SHARE_URL:function(e){return{shareUrl:e}}})).share,t.toggleShareHistory=r.toggleShareHistory,t.toggleShareHeaders=r.toggleShareHeaders,t.toggleShareAllTabs=r.toggleShareAllTabs,t.setShareUrl=r.setShareUrl},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var i=n(50);t.selectWorkspace=(r=i.createActions({SELECT_WORKSPACE:function(e){return{workspace:e}},INIT_STATE:function(e,t){return{workspaceId:e,endpoint:t}},INJECT_STATE:function(e){return{state:e}},INJECT_TABS:function(e){return{tabs:e}}})).selectWorkspace,t.initState=r.initState,t.injectState=r.injectState,t.injectTabs=r.injectTabs},function(e,t,n){"use strict";var r=n(86);e.exports=r.DEFAULT=new r({include:[n(103)],explicit:[n(537),n(538),n(539)]})},function(e,t,n){"use strict";n.r(t),n.d(t,"actionChannel",(function(){return i.p})),n.d(t,"all",(function(){return i.B})),n.d(t,"apply",(function(){return i.a})),n.d(t,"call",(function(){return i.o})),n.d(t,"cancel",(function(){return i.n})),n.d(t,"cancelled",(function(){return i.H})),n.d(t,"cps",(function(){return i.D})),n.d(t,"delay",(function(){return i.v})),n.d(t,"effectTypes",(function(){return i.x})),n.d(t,"flush",(function(){return i.I})),n.d(t,"fork",(function(){return i.m})),n.d(t,"getContext",(function(){return i.J})),n.d(t,"join",(function(){return i.F})),n.d(t,"put",(function(){return i.z})),n.d(t,"putResolve",(function(){return i.A})),n.d(t,"race",(function(){return i.w})),n.d(t,"select",(function(){return i.G})),n.d(t,"setContext",(function(){return i.K})),n.d(t,"spawn",(function(){return i.E})),n.d(t,"take",(function(){return i.l})),n.d(t,"takeMaybe",(function(){return i.y})),n.d(t,"debounce",(function(){return x})),n.d(t,"retry",(function(){return b})),n.d(t,"takeEvery",(function(){return m})),n.d(t,"takeLatest",(function(){return g})),n.d(t,"takeLeading",(function(){return v})),n.d(t,"throttle",(function(){return y}));n(15),n(43);var r=n(9),i=n(6),o=(n(128),function(e){return{done:!0,value:e}}),a={};function s(e){return Object(r.b)(e)?"channel":Object(r.l)(e)?String(e):Object(r.d)(e)?e.name:String(e)}function u(e,t,n){var r,s,u,c=t;function l(t,n){if(c===a)return o(t);if(n&&!s)throw c=a,n;r&&r(t);var i=n?e[s](n):e[c]();return c=i.nextState,u=i.effect,r=i.stateUpdater,s=i.errorState,c===a?o(t):u}return Object(i.ab)(l,(function(e){return l(null,e)}),n)}function c(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a,c={done:!1,value:Object(i.l)(e)},l=function(e){return{done:!1,value:i.m.apply(void 0,[t].concat(r,[e]))}},p=function(e){return a=e};return u({q1:function(){return{nextState:"q2",effect:c,stateUpdater:p}},q2:function(){return{nextState:"q1",effect:l(a)}}},"q1","takeEvery("+s(e)+", "+t.name+")")}function l(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a,c,l={done:!1,value:Object(i.l)(e)},p=function(e){return{done:!1,value:i.m.apply(void 0,[t].concat(r,[e]))}},f=function(e){return{done:!1,value:Object(i.n)(e)}},d=function(e){return a=e},h=function(e){return c=e};return u({q1:function(){return{nextState:"q2",effect:l,stateUpdater:h}},q2:function(){return a?{nextState:"q3",effect:f(a)}:{nextState:"q1",effect:p(c),stateUpdater:d}},q3:function(){return{nextState:"q1",effect:p(c),stateUpdater:d}}},"q1","takeLatest("+s(e)+", "+t.name+")")}function p(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a,c={done:!1,value:Object(i.l)(e)},l=function(e){return{done:!1,value:i.o.apply(void 0,[t].concat(r,[e]))}},p=function(e){return a=e};return u({q1:function(){return{nextState:"q2",effect:c,stateUpdater:p}},q2:function(){return{nextState:"q1",effect:l(a)}}},"q1","takeLeading("+s(e)+", "+t.name+")")}function f(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];var c,l,p={done:!1,value:Object(i.p)(t,Object(i.r)(1))},f=function(){return{done:!1,value:Object(i.l)(l)}},d=function(e){return{done:!1,value:i.m.apply(void 0,[n].concat(o,[e]))}},h={done:!1,value:Object(i.v)(e)},m=function(e){return c=e},g=function(e){return l=e};return u({q1:function(){return{nextState:"q2",effect:p,stateUpdater:g}},q2:function(){return{nextState:"q3",effect:f(),stateUpdater:m}},q3:function(){return{nextState:"q4",effect:d(c)}},q4:function(){return{nextState:"q2",effect:h}}},"q1","throttle("+s(t)+", "+n.name+")")}function d(e,t,n){for(var r=e,o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var l={done:!1,value:i.o.apply(void 0,[n].concat(s))},p={done:!1,value:Object(i.v)(t)};return u({q1:function(){return{nextState:"q2",effect:l,errorState:"q10"}},q2:function(){return{nextState:a}},q10:function(e){if((r-=1)<=0)throw e;return{nextState:"q1",effect:p}}},"q1","retry("+n.name+")")}function h(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];var c,l,p={done:!1,value:Object(i.l)(t)},f={done:!1,value:Object(i.w)({action:Object(i.l)(t),debounce:Object(i.v)(e)})},d=function(e){return{done:!1,value:i.m.apply(void 0,[n].concat(o,[e]))}},h=function(e){return{done:!1,value:e}},m=function(e){return c=e},g=function(e){return l=e};return u({q1:function(){return{nextState:"q2",effect:p,stateUpdater:m}},q2:function(){return{nextState:"q3",effect:f,stateUpdater:g}},q3:function(){return l.debounce?{nextState:"q1",effect:d(c)}:{nextState:"q2",effect:h(l.action),stateUpdater:m}}},"q1","debounce("+s(t)+", "+n.name+")")}function m(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return i.m.apply(void 0,[c,e,t].concat(r))}function g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return i.m.apply(void 0,[l,e,t].concat(r))}function v(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return i.m.apply(void 0,[p,e,t].concat(r))}function y(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];return i.m.apply(void 0,[f,e,t,n].concat(o))}function b(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];return i.o.apply(void 0,[d,e,t,n].concat(o))}function x(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),a=3;a<r;a++)o[a-3]=arguments[a];return i.m.apply(void 0,[h,e,t,n].concat(o))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));n(20),n(25),n(16),n(268),n(173);function r(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}"function"===typeof WeakMap&&"object"===typeof navigator&&navigator.product,Object.prototype.toString;Object.prototype.hasOwnProperty;Object.create({})}).call(this,n(91))},function(e,t,n){"use strict";var r=n(15);t.a=function(e,t){var n;void 0===t&&(t=!0);var i=new Promise((function(r){n=setTimeout(r,e,t)}));return i[r.a]=function(){clearTimeout(n)},i}},function(e,t,n){"use strict";n.r(t),function(e,r){var i,o=n(239);i="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(37),n(282)(e))},function(e,t,n){"use strict";function r(e){return null===e||void 0===e||e!==e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(12),i=n(35),o=n(2),a=n(45),s=n(40),u=n(44),c=n(4),l=n(19),p=n(0);function f(e,t,n){return"Expected type ".concat(e,", found ").concat(t)+(n?"; ".concat(n):".")}function d(e,t,n){return"Expected type ".concat(e,", found ").concat(t,".")+Object(s.a)("the enum value",n)}function h(e){return{NullValue:function(t){var n=e.getInputType();Object(p.L)(n)&&e.reportError(new c.a(f(Object(o.a)(n),Object(l.print)(t)),t))},ListValue:function(t){var n=Object(p.B)(e.getParentInputType());if(!Object(p.J)(n))return m(e,t),!1},ObjectValue:function(t){var n=Object(p.A)(e.getInputType());if(!Object(p.F)(n))return m(e,t),!1;for(var a,s,u,l=Object(i.a)(t.fields,(function(e){return e.name.value})),f=0,d=Object(r.a)(n.getFields());f<d.length;f++){var h=d[f];if(!l[h.name]&&Object(p.Q)(h)){var g=Object(o.a)(h.type);e.reportError(new c.a((a=n.name,s=h.name,u=g,"Field ".concat(a,".").concat(s," of required type ").concat(u," was not provided.")),t))}}},ObjectField:function(t){var n,r,i,o=Object(p.A)(e.getParentInputType());if(!e.getInputType()&&Object(p.F)(o)){var a=Object(u.a)(t.name.value,Object.keys(o.getFields()));e.reportError(new c.a((n=o.name,r=t.name.value,i=a,'Field "'.concat(r,'" is not defined by type ').concat(n,".")+Object(s.a)(i)),t))}},EnumValue:function(t){var n=Object(p.A)(e.getInputType());Object(p.E)(n)?n.getValue(t.value)||e.reportError(new c.a(d(n.name,Object(l.print)(t),g(n,t)),t)):m(e,t)},IntValue:function(t){return m(e,t)},FloatValue:function(t){return m(e,t)},StringValue:function(t){return m(e,t)},BooleanValue:function(t){return m(e,t)}}}function m(e,t){var n=e.getInputType();if(n){var r=Object(p.A)(n);if(Object(p.R)(r))try{var i=r.parseLiteral(t,void 0);Object(a.a)(i)&&e.reportError(new c.a(f(Object(o.a)(n),Object(l.print)(t)),t))}catch(u){e.reportError(new c.a(f(Object(o.a)(n),Object(l.print)(t),u.message),t,void 0,void 0,void 0,u))}else{var s=Object(p.E)(r)?d(Object(o.a)(n),Object(l.print)(t),g(r,t)):f(Object(o.a)(n),Object(l.print)(t));e.reportError(new c.a(s,t))}}}function g(e,t){var n=e.getValues().map((function(e){return e.name}));return Object(u.a)(Object(l.print)(t),n)}},function(e,t,n){"use strict";(function(e){var r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}u((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var a="undefined"!==typeof e?e:"undefined"!==typeof window?window:{},s=a.WebSocket||a.MozWebSocket,u=n(296),c=n(297),l=n(298),p=n(299),f=n(19),d=n(284),h=n(129),m=n(300),g=n(301),v=n(302),y=function(){function e(e,t,n,r){var i=t||{},o=i.connectionCallback,a=void 0===o?void 0:o,l=i.connectionParams,p=void 0===l?{}:l,f=i.timeout,d=void 0===f?g.WS_TIMEOUT:f,h=i.reconnect,v=void 0!==h&&h,y=i.reconnectionAttempts,b=void 0===y?1/0:y,x=i.lazy,E=void 0!==x&&x,D=i.inactivityTimeout,C=void 0===D?0:D;if(this.wsImpl=n||s,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=r||m.GRAPHQL_WS,this.connectionCallback=a,this.url=e,this.operations={},this.nextOperationId=0,this.wsTimeout=d,this.unsentMessagesQueue=[],this.reconnect=v,this.reconnecting=!1,this.reconnectionAttempts=b,this.lazy=!!E,this.inactivityTimeout=C,this.closedByUser=!1,this.backoff=new u({jitter:.5}),this.eventEmitter=new c.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(p),this.lazy||this.connect()}return Object.defineProperty(e.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!0,configurable:!0}),e.prototype.close=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=t,e&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,v.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client=null,this.eventEmitter.emit("disconnected"),e||this.tryReconnect())},e.prototype.request=function(e){var t,n,r=this.getObserver.bind(this),i=this.executeOperation.bind(this),o=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(t={})[h.default]=function(){return this},t.subscribe=function(t,a,s){var u=r(t,a,s);return n=i(e,(function(e,t){null===e&&null===t?u.complete&&u.complete():e?u.error&&u.error(e[0]):u.next&&u.next(t)})),{unsubscribe:function(){n&&(o(n),n=null)}}},t},e.prototype.on=function(e,t,n){var r=this.eventEmitter.on(e,t,n);return function(){r.off(e,t,n)}},e.prototype.onConnected=function(e,t){return this.on("connected",e,t)},e.prototype.onConnecting=function(e,t){return this.on("connecting",e,t)},e.prototype.onDisconnected=function(e,t){return this.on("disconnected",e,t)},e.prototype.onReconnected=function(e,t){return this.on("reconnected",e,t)},e.prototype.onReconnecting=function(e,t){return this.on("reconnecting",e,t)},e.prototype.onError=function(e,t){return this.on("error",e,t)},e.prototype.unsubscribeAll=function(){var e=this;Object.keys(this.operations).forEach((function(t){e.unsubscribe(t)}))},e.prototype.applyMiddlewares=function(e){var t=this;return new Promise((function(n,r){var i,o;i=t.middlewares.slice(),o=t,function t(a){if(a)r(a);else if(i.length>0){var s=i.shift();s&&s.applyMiddleware.apply(o,[e,t])}else n(e)}()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!==typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"===typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,v.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"===typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.wsTimeout;return new u({min:1e3,max:e,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,i)||i&&!l.default(i)||r&&!p.default(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r({},n,{query:"string"===typeof n.query?n.query:f.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,v.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(e,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,v.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,v.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){var n=t.data;e.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(a){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[v.default.GQL_DATA,v.default.GQL_COMPLETE,v.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case v.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case v.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case v.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case v.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case v.default.GQL_DATA:var i=t.payload.errors?r({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,i);break;case v.default.GQL_CONNECTION_KEEP_ALIVE:var o="undefined"===typeof this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,v.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=y}).call(this,n(37))},function(e,t,n){"use strict";n.d(t,"a",(function(){return L})),n.d(t,"b",(function(){return P}));var r=n(152),i=n(242),o=n(243),a=n(244),s=n(158),u=n(245),c=n(246),l=n(247),p=n(248),f=n(249),d=n(153),h=n(154),m=n(250),g=n(251),v=n(252),y=n(253),b=n(254),x=n(159),E=n(160),D=n(161),C=n(162),w=n(131),S=n(163),k=n(255),A=n(256),T=n(164),_=n(257),O=n(258),F=n(259),N=n(260),I=n(261),M=n(262),j=n(263),L=Object.freeze([r.ExecutableDefinitions,i.a,o.a,a.a,s.a,u.a,c.a,l.a,p.a,f.a,d.KnownFragmentNames,h.NoUnusedFragments,m.a,g.a,v.a,y.a,b.a,x.a,E.a,D.a,C.a,w.a,S.a,k.a,A.a,T.a]),P=Object.freeze([_.a,O.a,F.a,N.a,I.a,M.a,s.a,x.a,E.a,j.a,D.b,C.a,T.a,S.b])},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(33),o=n(50),a=n(75),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.toJSON=function(){var e=this.toObject();return i.set(e,"navStack",i.List([]))},t}(i.Record({navStack:i.List([]),docsOpen:!1,docsWidth:a.columnWidth,activeTabIdx:null,keyMove:!1}));t.DocsSession=s;var u=i.Map({"":new s});function c(e,t){if(!t)throw new Error("sessionId cant be null");return e.get(t)||new s}t.default=o.handleActions({SET_STACKS:function(e,t){var n=t.payload,r=n.sessionId,i=n.stacks,o=c(e,r);return o=o.set("navStack",i),e.set(r,o)},ADD_STACK:function(e,t){var n=t.payload,r=n.sessionId,o=n.field,a=n.x,s=n.y;o.path||(o.path=o.name);var u=c(e,r);return u=u.update("navStack",(function(e){var t=e;return a<t.count()&&(t=t.slice(0,a)),t.push(i.Map({x:a,y:s,field:o}))})),e.set(r,u)},TOGGLE_DOCS:function(e,t){var n=t.payload,r=n.sessionId,i=n.activeTabIdx,o=c(e,r);return o=o.set("docsOpen",!o.docsOpen),"number"===typeof i&&(o=o.set("activeTabIdx",o.docsOpen?i:null)),e.set(r,o)},SET_DOCS_VISIBLE:function(e,t){var n=t.payload,r=n.sessionId,i=n.open,o=n.activeTabIdx,a=c(e,r);return(a=a.set("docsOpen",!!i)).docsOpen?"number"===typeof o&&(a=a.set("activeTabIdx",o)):a=a.set("activeTabIdx",null),e.set(r,a)},CHANGE_WIDTH_DOCS:function(e,t){var n=t.payload,r=n.sessionId,i=n.width,o=c(e,r);return o=o.set("docsWidth",i),e.set(r,o)},CHANGE_KEY_MOVE:function(e,t){var n=t.payload,r=n.sessionId,i=n.keyMove,o=c(e,r);return o=o.set("keyMove",i),e.set(r,o)}},u)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(33),o=n(50),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i.Record({items:i.OrderedMap()}));t.AppHistory=a;var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i.Record({type:"local",configString:void 0,configPath:void 0,endpoint:void 0,folderName:void 0,env:void 0,platformToken:void 0,lastOpened:new Date,config:void 0}));t.AppHistoryItem=s,t.default=o.handleActions({SELECT_APP_HISTORY_ITEM:function(e,t){var n=t.payload;return e.setIn(["items",n.item.path],n.item)}},new a),t.getAppHistory=function(e){return e.appHistory}},function(e,t,n){"use strict";(function(e){var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(333),s=n(24),u=n(201),c=n(36),l=n(26),p=n(28),f=n(76),d=n(8),h=n(93),m=new a,g=function(t){function i(e){var n=t.call(this,e)||this;return n.setRef=function(e){n.node=e},n.onKeyUp=function(e,t){var r=t.keyCode;86!==r&&(r>=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&50===r||t.shiftKey&&57===r)&&n.editor.execCommand("autocomplete")},n.onEdit=function(){!n.ignoreChangeEvent&&n.props.onChange&&(n.cachedValue=n.editor.getValue(),n.props.onChange(n.cachedValue))},n.onHasCompletion=function(e,t){u.default(e,t,n.props.onHintInformationRender)},n.closeCompletion=function(){n.editor.state.completionActive&&"function"===typeof n.editor.state.completionActive.close&&n.editor.state.completionActive.close()},n.cachedValue=e.value||"",n.props.getRef&&n.props.getRef(n),n}return r(i,t),i.prototype.componentDidMount=function(){var t=this,r=n(14);n(140),n(202),n(95),n(141),n(119),n(96),n(203),n(77),n(120),n(78),n(142),n(121),n(387),n(388),n(396),n(397),n(399),n(207);var i=[];i.push("CodeMirror-linenumbers"),i.push("CodeMirror-foldgutter"),this.editor=r(this.node,{autofocus:!h.isIframe(),value:this.props.value||"",lineNumbers:!0,tabSize:this.props.tabWidth||2,indentWithTabs:this.props.useTabs||!1,mode:"graphql",theme:"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!1,foldGutter:{minFoldSize:4},lint:{schema:this.props.schema},hintOptions:{schema:this.props.schema,closeOnUnfocus:!0,completeSingle:!1},info:{schema:this.props.schema,renderDescription:function(e){return m.render(e)},onClick:this.props.onClickReference},jump:{schema:this.props.schema,onClick:this.props.onClickReference},gutters:i,extraKeys:{"Cmd-Space":function(){return t.editor.showHint({completeSingle:!0})},"Ctrl-Space":function(){return t.editor.showHint({completeSingle:!0})},"Alt-Space":function(){return t.editor.showHint({completeSingle:!0})},"Shift-Space":function(){return t.editor.showHint({completeSingle:!0})},"Cmd-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-F":"findPersistent","Ctrl-F":"findPersistent"}}),this.editor.on("change",this.onEdit),this.editor.on("keyup",this.onKeyUp),this.editor.on("hasCompletion",this.onHasCompletion),e.editor=this.editor,this.props.scrollTop&&this.scrollTo(this.props.scrollTop)},i.prototype.componentDidUpdate=function(e){var t=this,r=n(14);this.ignoreChangeEvent=!0,this.props.schema!==e.schema&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,r.signal(this.editor,"change",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1,setTimeout((function(){t.props.sessionId!==e.sessionId&&t.props.scrollTop&&t.scrollTo(t.props.scrollTop)}))},i.prototype.componentWillReceiveProps=function(e){this.props.sessionId!==e.sessionId&&(this.closeCompletion(),this.updateSessionScrollTop(),h.isIframe()||this.editor.focus())},i.prototype.scrollTo=function(e){this.node.querySelector(".CodeMirror-scroll").scrollTop=e},i.prototype.updateSessionScrollTop=function(){this.props.setScrollTop&&this.props.sessionId&&this.props.setScrollTop(this.props.sessionId,this.node.querySelector(".CodeMirror-scroll").scrollTop)},i.prototype.componentWillUnmount=function(){this.updateSessionScrollTop(),this.editor.off("change",this.onEdit),this.editor.off("keyup",this.onKeyUp),this.editor.off("hasCompletion",this.onHasCompletion),this.editor=null},i.prototype.render=function(){return o.createElement(f.default,null,o.createElement(b,{ref:this.setRef}))},i.prototype.getCodeMirror=function(){return this.editor},i.prototype.getClientHeight=function(){return this.node&&this.node.clientHeight},i}(o.PureComponent);t.QueryEditor=g;var v=l.createStructuredSelector({value:p.getQuery,sessionId:p.getSelectedSessionIdFromRoot,scrollTop:p.getScrollTop,tabWidth:p.getTabWidth,useTabs:p.getUseTabs});t.default=s.connect(v,{onChange:c.editQuery,setScrollTop:c.setScrollTop})(g);var y,b=d.styled.div(y||(y=i(["\n flex: 1 1 0%;\n position: relative;\n\n .CodeMirror {\n width: 100%;\n background: ",";\n }\n"],["\n flex: 1 1 0%;\n position: relative;\n\n .CodeMirror {\n width: 100%;\n background: ",";\n }\n"])),(function(e){return e.theme.editorColours.editorBackground}))}).call(this,n(37))},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){!function(e){"use strict";function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension("showHint",(function(n){n=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in u)i[o]=u[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor("start"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new t(this,n);o.options.hint&&(e.signal(this,"startCompletion",this),o.update(!0))}})),e.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function i(e){return"string"==typeof e?e:e.text}function o(e,t){for(;t&&t!=e;){if("LI"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=a.getInputField().ownerDocument,u=s.defaultView||s.parentWindow,c=this.hints=s.createElement("ul"),l=t.cm.options.theme;c.className="CodeMirror-hints "+l,this.selectedHint=n.selectedHint||0;for(var p=n.list,f=0;f<p.length;++f){var d=c.appendChild(s.createElement("li")),h=p[f],m="CodeMirror-hint"+(f!=this.selectedHint?"":" CodeMirror-hint-active");null!=h.className&&(m=h.className+" "+m),d.className=m,h.render?h.render(d,n,h):d.appendChild(s.createTextNode(h.displayText||i(h))),d.hintId=f}var g=t.options.container||s.body,v=a.cursorCoords(t.options.alignWithWord?n.from:null),y=v.left,b=v.bottom,x=!0,E=0,D=0;if(g!==s.body){var C=-1!==["absolute","relative","fixed"].indexOf(u.getComputedStyle(g).position)?g:g.offsetParent,w=C.getBoundingClientRect(),S=s.body.getBoundingClientRect();E=w.left-S.left-C.scrollLeft,D=w.top-S.top-C.scrollTop}c.style.left=y-E+"px",c.style.top=b-D+"px";var k=u.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),A=u.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);g.appendChild(c);var T=c.getBoundingClientRect(),_=T.bottom-A,O=c.scrollHeight>c.clientHeight+1,F=a.getScrollInfo();if(_>0){var N=T.bottom-T.top;if(v.top-(v.bottom-T.top)-N>0)c.style.top=(b=v.top-N-D)+"px",x=!1;else if(N>A){c.style.height=A-5+"px",c.style.top=(b=v.bottom-T.top-D)+"px";var I=a.getCursor();n.from.ch!=I.ch&&(v=a.cursorCoords(I),c.style.left=(y=v.left-E)+"px",T=c.getBoundingClientRect())}}var M,j=T.right-k;if(j>0&&(T.right-T.left>k&&(c.style.width=k-5+"px",j-=T.right-T.left-k),c.style.left=(y=v.left-j-E)+"px"),O)for(var L=c.firstChild;L;L=L.nextSibling)L.style.paddingRight=a.display.nativeBarWidth+"px";return a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n["Ctrl-P"]=function(){t.moveFocus(-1)},n["Ctrl-N"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o="string"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:p.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on("blur",this.onBlur=function(){M=setTimeout((function(){t.close()}),100)}),a.on("focus",this.onFocus=function(){clearTimeout(M)})),a.on("scroll",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+F.top-e.top,i=r-(u.pageYOffset||(s.documentElement||s.body).scrollTop);if(x||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+"px",c.style.left=y+F.left-e.left+"px"}),e.on(c,"dblclick",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,"click",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,"mousedown",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,"select",p[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,"complete"),e.signal(t,"pick",r),o.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(i.charAt(t.ch-1)))this.close();else{var o=this;this.debounce=n((function(){o.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;s(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,"update");var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&1==t.list.length?this.pick(t,0):(this.widget=new a(this,t),e.signal(t,"shown")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off("blur",this.onBlur),e.off("focus",this.onFocus)),e.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(" CodeMirror-hint-active","")),(r=this.hints.childNodes[this.selectedHint=t]).className+=" CodeMirror-hint-active",this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.hints.childNodes[this.selectedHint],t=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-t.offsetTop:e.offsetTop+e.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=e.offsetTop+e.offsetHeight-this.hints.clientHeight+t.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var r,i=t.getHelpers(n,"hint");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);s(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\w/.test(o.string.charAt(i.ch-o.start-1))?r=o.string.substr(0,i.ch-o.start):(r="",a=i);for(var u=[],c=0;c<n.words.length;c++){var l=n.words[c];l.slice(0,r.length)==r&&u.push(l)}if(u.length)return{list:u,from:a,to:s}})),e.commands.autocomplete=e.showHint;var u={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n(14))},function(e,t,n){!function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),u=0;u<a.length;u++){if(!a[u].empty())return e.Pass;var l=c(t,a[u].head);if(!l||o.indexOf(l)%2!=0)return e.Pass}for(u=a.length-1;u>=0;u--){var p=a[u].head;t.replaceRange("",n(p.line,p.ch-1),n(p.line,p.ch+1),"+delete")}},Enter:function(t){var n=s(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var u=c(t,o[a].head);if(!u||i.indexOf(u)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),t.execCommand("goCharLeft"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";i[r]||(i[r]=a(n))}}function a(t){return function(i){return function(t,i){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=r(o,"pairs"),c=a.indexOf(i);if(-1==c)return e.Pass;for(var p,f=r(o,"closeBefore"),d=r(o,"triples"),h=a.charAt(c+1)==i,m=t.listSelections(),g=c%2==0,v=0;v<m.length;v++){var y,b=m[v],x=b.head,E=t.getRange(x,n(x.line,x.ch+1));if(g&&!b.empty())y="surround";else if(!h&&g||E!=i)if(h&&x.ch>1&&d.indexOf(i)>=0&&t.getRange(n(x.line,x.ch-2),x)==i+i){if(x.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(x.line,x.ch-2))))return e.Pass;y="addFour"}else if(h){var D=0==x.ch?" ":t.getRange(n(x.line,x.ch-1),x);if(e.isWordChar(E)||D==i||e.isWordChar(D))return e.Pass;y="both"}else{if(!g||!(0===E.length||/\s/.test(E)||f.indexOf(E)>-1))return e.Pass;y="both"}else y=h&&l(t,x)?"both":d.indexOf(i)>=0&&t.getRange(x,n(x.line,x.ch+3))==i+i+i?"skipThree":"skip";if(p){if(p!=y)return e.Pass}else p=y}var C=c%2?a.charAt(c-1):i,w=c%2?i:a.charAt(c+1);t.operation((function(){if("skip"==p)t.execCommand("goCharRight");else if("skipThree"==p)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==p){var n=t.getSelections();for(e=0;e<n.length;e++)n[e]=C+n[e]+w;for(t.replaceSelections(n,"around"),n=t.listSelections().slice(),e=0;e<n.length;e++)n[e]=u(n[e]);t.setSelections(n)}else"both"==p?(t.replaceSelection(C+w,null),t.triggerElectric(C+w),t.execCommand("goCharLeft")):"addFour"==p&&(t.replaceSelection(C+C+C+C,"before"),t.execCommand("goCharRight"))}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function u(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function c(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function l(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}(n(14))},function(e,t,n){!function(e){"use strict";var t="CodeMirror-lint-markers";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement("div");function o(t){if(!i.parentNode)return e.off(document,"mousemove",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+"px",i.style.left=t.clientX+5+"px"}return i.className="CodeMirror-lint-tooltip cm-s-"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,"mousemove",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,"mouseout",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var u=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(u)}),400);e.on(o,"mouseout",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,u=e.findMarksAt(e.coordsChar({left:o,top:a},"client")),c=[],l=0;l<u.length;++l){var p=u[l].__annotation;p&&c.push(p)}c.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var u=t[a];o.appendChild(s(u))}r(e,n,o,i)}(e,c,t)}}(e,t)},this.waitingFor=0}function o(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function a(t,n,i,o,a){var s=document.createElement("div"),u=s;return s.className="CodeMirror-lint-marker-"+i,o&&((u=s.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker-multiple"),0!=a&&e.on(u,"mouseover",(function(e){r(t,e,n,u)})),s}function s(e){var t=e.severity;t||(t="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message-"+t,"undefined"!=typeof e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function u(t){var n=t.state.lint.options,r=n.options||n,i=n.getAnnotations||t.getHelper(e.Pos(0,0),"lint");if(i)if(n.async||i.async)!function(t,n,r){var i=t.state.lint,o=++i.waitingFor;function a(){o=-1,t.off("change",a)}t.on("change",a),n(t.getValue(),(function(n,r){t.off("change",a),i.waitingFor==o&&(r&&n instanceof e&&(n=r),t.operation((function(){c(t,n)})))}),r,t)}(t,i,r);else{var o=i(t.getValue(),r,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){c(t,e)}))})):t.operation((function(){c(t,o)}))}}function c(e,n){o(e);for(var r,i,u=e.state.lint,c=u.options,l=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),p=0;p<l.length;++p){var f=l[p];if(f){for(var d=null,h=u.hasGutter&&document.createDocumentFragment(),m=0;m<f.length;++m){var g=f[m],v=g.severity;v||(v="error"),i=v,d="error"==(r=d)?r:i,c.formatAnnotation&&(g=c.formatAnnotation(g)),u.hasGutter&&h.appendChild(s(g)),g.to&&u.marked.push(e.markText(g.from,g.to,{className:"CodeMirror-lint-mark-"+v,__annotation:g}))}u.hasGutter&&e.setGutterMarker(p,t,a(e,h,d,f.length>1,u.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,l,e)}function l(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){u(e)}),t.options.delay||500))}e.defineOption("lint",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",l),e.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption("gutters"),c=!1,p=0;p<s.length;++p)s[p]==t&&(c=!0);var f=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),c);!1!==f.options.lintOnChange&&n.on("change",l),0!=f.options.tooltips&&"gutter"!=f.options.tooltips&&e.on(n.getWrapperElement(),"mouseover",f.onMouseOver),u(n)}var d})),e.defineExtension("performLint",(function(){this.state.lint&&u(this)}))}(n(14))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(8),u=n(208),c=n(403),l=n(409),p=n(26),f=n(28),d=n(24),h=n(99),m=n(60),g=n(36),v=n(123),y=n(100),b=n(38),x=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.copyCurlToClipboard=function(){var e=t.getCurl();u(e)},t.onChange=function(e){t.props.editEndpoint(e.target.value)},t.onKeyDown=function(e){13===e.keyCode&&t.props.refetchSchema()},t.openHistory=function(){t.props.openHistory()},t.getCurl=function(){var e,n=f.getSelectedSession(t.context.store.getState());try{e=JSON.parse(n.variables)}catch(u){}var r,i=JSON.stringify({query:n.query,variables:e,operationName:n.operationName});try{r=JSON.parse(n.headers)}catch(u){}var a=o({"Accept-Encoding":"gzip, deflate, br","Content-Type":"application/json",Accept:"application/json",Connection:"keep-alive",DNT:"1",Origin:location.origin||n.endpoint},r),s=Object.keys(a).map((function(e){return"-H '"+e+": "+a[e]+"'"})).join(" ");return"curl '"+n.endpoint+"' "+s+" --data-binary '"+i+"' --compressed"},t}return r(n,e),n.prototype.render=function(){var e=this.props,n=e.endpointUnreachable,r=e.settings;return a.createElement(_,null,a.createElement(t.Button,{onClick:this.props.prettifyQuery},"Prettify"),a.createElement(t.Button,{onClick:this.openHistory},"History"),a.createElement(F,null,a.createElement(O,{value:this.props.endpoint,onChange:this.onChange,onKeyDown:this.onKeyDown,onBlur:this.props.refetchSchema,disabled:this.props.fixedEndpoint,active:!this.props.fixedEndpoint}),n?a.createElement(N,null,a.createElement("span",null,"Server cannot be reached"),a.createElement(j,null)):a.createElement("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",position:"absolute",left:"6px"}},a.createElement(l.default,{settings:r,isPollingSchema:this.props.isPollingSchema,onReloadSchema:this.props.refetchSchema}))),a.createElement(t.Button,{onClick:this.copyCurlToClipboard},"Copy CURL"),this.props.shareEnabled&&a.createElement(c.default,null,a.createElement(t.Button,null,"Share Playground")))},n.contextTypes={store:m.shape({subscribe:m.func.isRequired,dispatch:m.func.isRequired,getState:m.func.isRequired})},n}(a.Component),E=p.createStructuredSelector({endpoint:f.getEndpoint,fixedEndpoint:h.getFixedEndpoint,isPollingSchema:f.getIsPollingSchema,endpointUnreachable:f.getEndpointUnreachable,settings:b.getSettings});t.default=d.connect(E,{editEndpoint:g.editEndpoint,prettifyQuery:g.prettifyQuery,openHistory:y.openHistory,share:v.share,refetchSchema:g.refetchSchema})(x),t.Button=s.styled.button(D||(D=i(["\n text-transform: uppercase;\n font-weight: 600;\n color: ",";\n background: ",";\n border-radius: 2px;\n flex: 0 0 auto;\n letter-spacing: 0.53px;\n font-size: 14px;\n padding: 6px 9px 7px 10px;\n margin-left: 6px;\n\n cursor: pointer;\n transition: 0.1s linear background-color;\n &:first-child {\n margin-left: 0;\n }\n &:hover {\n background-color: ",";\n }\n"],["\n text-transform: uppercase;\n font-weight: 600;\n color: ",";\n background: ",";\n border-radius: 2px;\n flex: 0 0 auto;\n letter-spacing: 0.53px;\n font-size: 14px;\n padding: 6px 9px 7px 10px;\n margin-left: 6px;\n\n cursor: pointer;\n transition: 0.1s linear background-color;\n &:first-child {\n margin-left: 0;\n }\n &:hover {\n background-color: ",";\n }\n"])),(function(e){return e.theme.editorColours.buttonText}),(function(e){return e.theme.editorColours.button}),(function(e){return e.theme.editorColours.buttonHover}));var D,C,w,S,k,A,T,_=s.styled.div(C||(C=i(["\n display: flex;\n background: ",";\n padding: 10px 10px 4px;\n align-items: center;\n"],["\n display: flex;\n background: ",";\n padding: 10px 10px 4px;\n align-items: center;\n"])),(function(e){return e.theme.editorColours.navigationBar})),O=s.styled("input")(w||(w=i(["\n background: ",";\n border-radius: 4px;\n color: ",";\n border: 1px solid ",";\n padding: 6px 12px;\n padding-left: 30px;\n font-size: 13px;\n flex: 1;\n"],["\n background: ",";\n border-radius: 4px;\n color: ",";\n border: 1px solid ",";\n padding: 6px 12px;\n padding-left: 30px;\n font-size: 13px;\n flex: 1;\n"])),(function(e){return e.theme.editorColours.button}),(function(e){return e.active?e.theme.editorColours.navigationBarText:e.theme.editorColours.textInactive}),(function(e){return e.theme.editorColours.background})),F=s.styled.div(S||(S=i(["\n flex: 1;\n margin-left: 6px;\n position: relative;\n display: flex;\n align-items: center;\n"],["\n flex: 1;\n margin-left: 6px;\n position: relative;\n display: flex;\n align-items: center;\n"]))),N=s.styled.div(k||(k=i(["\n position: absolute;\n right: 5px;\n display: flex;\n align-items: center;\n color: #f25c54;\n"],["\n position: absolute;\n right: 5px;\n display: flex;\n align-items: center;\n color: #f25c54;\n"]))),I=s.styled.div(A||(A=i(["\n width: 16px;\n height: 16px;\n background-color: ",";\n border-radius: 100%;\n"],["\n width: 16px;\n height: 16px;\n background-color: ",";\n border-radius: 100%;\n"])),(function(e){return e.theme.editorColours.icon})),M=s.styled.div(T||(T=i(["\n position: relative;\n margin: 6px;\n"],["\n position: relative;\n margin: 6px;\n"]))),j=function(){return a.createElement(M,null,a.createElement(I,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(38);t.getSharingState=r.createSelector([i.getSelectedWorkspace],(function(e){return e.sharing}));var o=function(e){return r.createSelector([t.getSharingState],(function(t){return t.get(e)}))};t.getSharingHistory=o("history"),t.getSharingHeaders=o("headers"),t.getSharingAllTabs=o("allTabs"),t.getShareUrl=o("shareUrl")},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o,a,s=n(3),u=n(8),c=u.keyframes(i||(i=r(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n"],["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n"]))),l=u.styled.div(o||(o=r(["\n height: 36px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 36px;\n z-index: 10;\n"],["\n height: 36px;\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 36px;\n z-index: 10;\n"]))),p=u.styled.div(a||(a=r(["\n position: absolute;\n display: inline-block;\n height: 24px;\n width: 24px;\n vertical-align: middle;\n\n animation: "," 0.6s infinite linear;\n\n border-radius: 100%;\n border-bottom: 6px solid rgba(150, 150, 150, 0.15);\n border-left: 6px solid rgba(150, 150, 150, 0.15);\n border-right: 6px solid rgba(150, 150, 150, 0.15);\n border-top: 6px solid rgba(150, 150, 150, 0.8);\n"],["\n position: absolute;\n display: inline-block;\n height: 24px;\n width: 24px;\n vertical-align: middle;\n\n animation: "," 0.6s infinite linear;\n\n border-radius: 100%;\n border-bottom: 6px solid rgba(150, 150, 150, 0.15);\n border-left: 6px solid rgba(150, 150, 150, 0.15);\n border-right: 6px solid rgba(150, 150, 150, 0.15);\n border-top: 6px solid rgba(150, 150, 150, 0.8);\n"])),c);t.default=function(){return s.createElement(l,null,s.createElement(p,null))}},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(8);t.DocType=o.styled.div(i||(i=r(["\n padding: 20px 16px 0 16px;\n overflow: auto;\n font-size: 14px;\n"],["\n padding: 20px 16px 0 16px;\n overflow: auto;\n font-size: 14px;\n"])))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,i=n(497);var o=((r=i)&&r.__esModule?r:{default:r}).default,a=o.canUseDOM?window.HTMLElement:{};t.canUseDOM=o.canUseDOM;t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22),i=n(176);function o(e){return"string"===typeof e?{endpoint:e,subscriptionEndpoint:void 0}:{endpoint:e.url,subscriptionEndpoint:e.subscription?e.subscription.url:void 0,headers:e.headers}}t.getActiveEndpoints=function(e,t,n){return o(n?e.projects[n].extensions.endpoints[t]:e.extensions.endpoints[t])},t.getEndpointFromEndpointConfig=o;var a=new i({max:10});t.cachedPrintSchema=function(e){var t=a.get(e);if(t)return t;var n=r.printSchema(e);return a.set(e,n),n}},function(e,t,n){"use strict";var r=n(86);e.exports=new r({explicit:[n(520),n(521),n(522)]})},function(e,t,n){"use strict";n.r(t),n.d(t,"nonExecutableDefinitionMessage",(function(){return a})),n.d(t,"ExecutableDefinitions",(function(){return s}));var r=n(4),i=n(1),o=n(53);function a(e){return"The ".concat(e," definition is not executable.")}function s(e){return{Document:function(t){for(var n=0,s=t.definitions;n<s.length;n++){var u=s[n];Object(o.b)(u)||e.reportError(new r.a(a(u.kind===i.a.SCHEMA_DEFINITION||u.kind===i.a.SCHEMA_EXTENSION?"schema":u.name.value),u))}return!1}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"unknownFragmentMessage",(function(){return i})),n.d(t,"KnownFragmentNames",(function(){return o}));var r=n(4);function i(e){return'Unknown fragment "'.concat(e,'".')}function o(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new r.a(i(n),t.name))}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"unusedFragMessage",(function(){return i})),n.d(t,"NoUnusedFragments",(function(){return o}));var r=n(4);function i(e){return'Fragment "'.concat(e,'" is never used.')}function o(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var o=Object.create(null),a=0;a<t.length;a++)for(var s=t[a],u=0,c=e.getRecursivelyReferencedFragments(s);u<c.length;u++){o[c[u].name.value]=!0}for(var l=0;l<n.length;l++){var p=n[l],f=p.name.value;!0!==o[f]&&e.reportError(new r.a(i(f),p))}}}}}},function(e,t,n){"use strict";var r=n(87),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var i=d(n);i&&i!==h&&e(t,i,r)}var a=l(n);p&&(a=a.concat(p(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=f(n,v);try{c(t,v,y)}catch(b){}}}}return t}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(168);t.Playground=i.default;var o=n(169);t.GraphQLEditor=o.default;var a=n(544);t.store=a.store,t.default=i.default,r(n(36)),r(n(28)),r(n(123)),r(n(144)),r(n(124)),r(n(38)),r(n(113)),r(n(230)),r(n(80)),r(n(81)),r(n(100)),r(n(99)),r(n(559)),r(n(136))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(105);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,u=t.line+o,c=1===t.line?n:0,l=t.column+c,p="".concat(e.name,":").concat(u,":").concat(l,"\n"),f=r.split(/\r\n|[\n\r]/g),d=f[i];if(d.length>120){for(var h=Math.floor(l/80),m=l%80,g=[],v=0;v<d.length;v+=80)g.push(d.slice(v,v+80));return p+a([["".concat(u),g[0]]].concat(g.slice(1,h+1).map((function(e){return["",e]})),[[" ",s(m-1)+"^"],["",g[h+1]]]))}return p+a([["".concat(u-1),f[i-1]],["".concat(u),d],["",s(l-1)+"^"],["".concat(u+1),f[i+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return s(n-(t=r).length)+t+(i?" | "+i:" |")})).join("\n")}function s(e){return Array(e+1).join(" ")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(40),i=n(44),o=n(4),a=n(53);function s(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null),c=0,l=e.getDocument().definitions;c<l.length;c++){var p=l[c];Object(a.d)(p)&&(s[p.name.value]=!0)}var f=Object.keys(n).concat(Object.keys(s));return{NamedType:function(t,c,l,p,d){var h,m=t.name.value;if(!n[m]&&!s[m]){var g=d[2]||l,v=(h=g,Boolean(h&&!Array.isArray(h)&&(Object(a.g)(h)||Object(a.h)(h))));if(v&&function(e){return-1!==u.indexOf(e)}(m))return;var y=Object(i.a)(m,v?u.concat(f):f);e.reportError(new o.a(function(e,t){return'Unknown type "'.concat(e,'".')+Object(r.a)(t.map((function(e){return'"'.concat(e,'"')})))}(m,y),t))}}}}var u=n(13).g.map((function(e){return e.name}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(1),o=n(10),a=n(17);function s(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():a.i,u=0;u<s.length;u++){var c=s[u];t[c.name]=c.locations}for(var l=e.getDocument().definitions,p=0;p<l.length;p++){var f=l[p];f.kind===i.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=f.locations.map((function(e){return e.value})))}return{Directive:function(n,a,s,u,c){var l=n.name.value,p=t[l];if(p){var f=function(e){var t=e[e.length-1];if(!Array.isArray(t))switch(t.kind){case i.a.OPERATION_DEFINITION:switch(t.operation){case"query":return o.a.QUERY;case"mutation":return o.a.MUTATION;case"subscription":return o.a.SUBSCRIPTION}break;case i.a.FIELD:return o.a.FIELD;case i.a.FRAGMENT_SPREAD:return o.a.FRAGMENT_SPREAD;case i.a.INLINE_FRAGMENT:return o.a.INLINE_FRAGMENT;case i.a.FRAGMENT_DEFINITION:return o.a.FRAGMENT_DEFINITION;case i.a.VARIABLE_DEFINITION:return o.a.VARIABLE_DEFINITION;case i.a.SCHEMA_DEFINITION:case i.a.SCHEMA_EXTENSION:return o.a.SCHEMA;case i.a.SCALAR_TYPE_DEFINITION:case i.a.SCALAR_TYPE_EXTENSION:return o.a.SCALAR;case i.a.OBJECT_TYPE_DEFINITION:case i.a.OBJECT_TYPE_EXTENSION:return o.a.OBJECT;case i.a.FIELD_DEFINITION:return o.a.FIELD_DEFINITION;case i.a.INTERFACE_TYPE_DEFINITION:case i.a.INTERFACE_TYPE_EXTENSION:return o.a.INTERFACE;case i.a.UNION_TYPE_DEFINITION:case i.a.UNION_TYPE_EXTENSION:return o.a.UNION;case i.a.ENUM_TYPE_DEFINITION:case i.a.ENUM_TYPE_EXTENSION:return o.a.ENUM;case i.a.ENUM_VALUE_DEFINITION:return o.a.ENUM_VALUE;case i.a.INPUT_OBJECT_TYPE_DEFINITION:case i.a.INPUT_OBJECT_TYPE_EXTENSION:return o.a.INPUT_OBJECT;case i.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===i.a.INPUT_OBJECT_TYPE_DEFINITION?o.a.INPUT_FIELD_DEFINITION:o.a.ARGUMENT_DEFINITION}}(c);f&&-1===p.indexOf(f)&&e.reportError(new r.a(function(e,t){return'Directive "'.concat(e,'" may not be used on ').concat(t,".")}(l,f),n))}else e.reportError(new r.a('Unknown directive "'.concat(l,'".'),n))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(1),o=n(17);function a(e){return'The directive "'.concat(e,'" can only be used once at this location.')}function s(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():o.i,u=0;u<s.length;u++){var c=s[u];t[c.name]=!c.isRepeatable}for(var l=e.getDocument().definitions,p=0;p<l.length;p++){var f=l[p];f.kind===i.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=!f.repeatable)}return{enter:function(n){var i=n.directives;if(i)for(var o=Object.create(null),s=0;s<i.length;s++){var u=i[s],c=u.name.value;t[c]&&(o[c]?e.reportError(new r.a(a(c),[o[c],u])):o[c]=u)}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f}));var r=n(40),i=n(44),o=n(4),a=n(1),s=n(17);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return'Unknown argument "'.concat(e,'" on directive "@').concat(t,'".')+Object(r.a)(n.map((function(e){return'"'.concat(e,'"')})))}function p(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(n,!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},f(e),{Argument:function(t){var n=e.getArgument(),a=e.getFieldDef(),s=e.getParentType();if(!n&&a&&s){var u=t.name.value,c=a.args.map((function(e){return e.name}));e.reportError(new o.a(function(e,t,n,i){return'Unknown argument "'.concat(e,'" on field "').concat(t,'" of type "').concat(n,'".')+Object(r.a)(i.map((function(e){return'"'.concat(e,'"')})))}(u,a.name,s.name,Object(i.a)(u,c)),t))}}})}function f(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():s.i,u=0;u<r.length;u++){var c=r[u];t[c.name]=c.args.map((function(e){return e.name}))}for(var p=e.getDocument().definitions,f=0;f<p.length;f++){var d=p[f];d.kind===a.a.DIRECTIVE_DEFINITION&&(t[d.name.value]=d.arguments?d.arguments.map((function(e){return e.name.value})):[])}return{Directive:function(n){var r=n.name.value,a=t[r];if(n.arguments&&a)for(var s=0,u=n.arguments;s<u.length;s++){var c=u[s],p=c.name.value;if(-1===a.indexOf(p)){var f=Object(i.a)(p,a);e.reportError(new o.a(l(p,r,f),c))}}return!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var i=n.name.value;return t[i]?e.reportError(new r.a(function(e){return'There can be only one argument named "'.concat(e,'".')}(i),[t[i],n.name])):t[i]=n.name,!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n(2),i=n(35),o=n(4),a=n(1),s=n(19),u=n(17),c=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t,n){return'Directive "@'.concat(e,'" argument "').concat(t,'" of type "').concat(n,'" is required, but it was not provided.')}function d(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},h(e),{Field:{leave:function(t){var n=e.getFieldDef();if(!n)return!1;for(var a,s,u,l=t.arguments||[],p=Object(i.a)(l,(function(e){return e.name.value})),f=0,d=n.args;f<d.length;f++){var h=d[f];!p[h.name]&&Object(c.P)(h)&&e.reportError(new o.a((a=n.name,s=h.name,u=Object(r.a)(h.type),'Field "'.concat(a,'" argument "').concat(s,'" of type "').concat(u,'" is required, but it was not provided.')),t))}}}})}function h(e){for(var t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():u.i,p=0;p<l.length;p++){var d=l[p];t[d.name]=Object(i.a)(d.args.filter(c.P),(function(e){return e.name}))}for(var h=e.getDocument().definitions,g=0;g<h.length;g++){var v=h[g];v.kind===a.a.DIRECTIVE_DEFINITION&&(t[v.name.value]=Object(i.a)(v.arguments?v.arguments.filter(m):[],(function(e){return e.name.value})))}return{Directive:{leave:function(n){var a=n.name.value,u=t[a];if(u)for(var l=n.arguments||[],p=Object(i.a)(l,(function(e){return e.name.value})),d=0,h=Object.keys(u);d<h.length;d++){var m=h[d];if(!p[m]){var g=u[m].type;e.reportError(new o.a(f(a,m,Object(c.S)(g)?Object(r.a)(g):Object(s.print)(g)),n))}}}}}}function m(e){return e.type.kind===a.a.NON_NULL_TYPE&&null==e.defaultValue}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var i=t.name.value;n[i]?e.reportError(new r.a(function(e){return'There can be only one input field named "'.concat(e,'".')}(i),[n[i],t.name])):n[i]=t.name}}}},function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,i=/: */g,o=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,u=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,l=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,f=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,d=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,g=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,y=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,E=/([^\(])(:+) */g,D=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,T=/([^-])(image-set\()/,_="-webkit-",O="-moz-",F="-ms-",N=59,I=125,M=123,j=40,L=41,P=10,R=13,B=32,z=45,U=42,q=44,V=58,H=47,W=1,G=1,K=0,J=1,Y=1,Q=1,$=0,X=0,Z=0,ee=[],te=[],ne=0,re=null,ie=0,oe=1,ae="",se="",ue="";function ce(e,t,i,o,a){for(var s,u,l=0,p=0,f=0,d=0,v=0,y=0,b=0,x=0,D=0,w=0,S=0,k=0,A=0,T=0,O=0,F=0,$=0,te=0,re=0,pe=i.length,ve=pe-1,ye="",be="",xe="",Ee="",De="",Ce="";O<pe;){if(b=i.charCodeAt(O),O===ve&&p+d+f+l!==0&&(0!==p&&(b=p===H?P:H),d=f=l=0,pe++,ve++),p+d+f+l===0){if(O===ve&&(F>0&&(be=be.replace(r,"")),be.trim().length>0)){switch(b){case B:case 9:case N:case R:case P:break;default:be+=i.charAt(O)}b=N}if(1===$)switch(b){case M:case I:case N:case 34:case 39:case j:case L:case q:$=0;case 9:case R:case P:case B:break;default:for($=0,re=O,v=b,O--,b=N;re<pe;)switch(i.charCodeAt(re++)){case P:case R:case N:++O,b=v,re=pe;break;case V:F>0&&(++O,b=v);case M:re=pe}}switch(b){case M:for(v=(be=be.trim()).charCodeAt(0),S=1,re=++O;O<pe;){switch(b=i.charCodeAt(O)){case M:S++;break;case I:S--;break;case H:switch(y=i.charCodeAt(O+1)){case U:case H:O=ge(y,O,ve,i)}break;case 91:b++;case j:b++;case 34:case 39:for(;O++<ve&&i.charCodeAt(O)!==b;);}if(0===S)break;O++}switch(xe=i.substring(re,O),0===v&&(v=(be=be.replace(n,"").trim()).charCodeAt(0)),v){case 64:switch(F>0&&(be=be.replace(r,"")),y=be.charCodeAt(1)){case 100:case 109:case 115:case z:s=t;break;default:s=ee}if(re=(xe=ce(t,s,xe,y,a+1)).length,Z>0&&0===re&&(re=be.length),ne>0&&(u=me(3,xe,s=le(ee,be,te),t,G,W,re,y,a,o),be=s.join(""),void 0!==u&&0===(re=(xe=u.trim()).length)&&(y=0,xe="")),re>0)switch(y){case 115:be=be.replace(C,he);case 100:case 109:case z:xe=be+"{"+xe+"}";break;case 107:xe=(be=be.replace(h,"$1 $2"+(oe>0?ae:"")))+"{"+xe+"}",xe=1===Y||2===Y&&de("@"+xe,3)?"@"+_+xe+"@"+xe:"@"+xe;break;default:xe=be+xe,112===o&&(Ee+=xe,xe="")}else xe="";break;default:xe=ce(t,le(t,be,te),xe,o,a+1)}De+=xe,k=0,$=0,T=0,F=0,te=0,A=0,be="",xe="",b=i.charCodeAt(++O);break;case I:case N:if((re=(be=(F>0?be.replace(r,""):be).trim()).length)>1)switch(0===T&&((v=be.charCodeAt(0))===z||v>96&&v<123)&&(re=(be=be.replace(" ",":")).length),ne>0&&void 0!==(u=me(1,be,t,e,G,W,Ee.length,o,a,o))&&0===(re=(be=u.trim()).length)&&(be="\0\0"),v=be.charCodeAt(0),y=be.charCodeAt(1),v){case 0:break;case 64:if(105===y||99===y){Ce+=be+i.charAt(O);break}default:if(be.charCodeAt(re-1)===V)break;Ee+=fe(be,v,y,be.charCodeAt(2))}k=0,$=0,T=0,F=0,te=0,be="",b=i.charCodeAt(++O)}}switch(b){case R:case P:if(p+d+f+l+X===0)switch(w){case L:case 39:case 34:case 64:case 126:case 62:case U:case 43:case H:case z:case V:case q:case N:case M:case I:break;default:T>0&&($=1)}p===H?p=0:J+k===0&&107!==o&&be.length>0&&(F=1,be+="\0"),ne*ie>0&&me(0,be,t,e,G,W,Ee.length,o,a,o),W=1,G++;break;case N:case I:if(p+d+f+l===0){W++;break}default:switch(W++,ye=i.charAt(O),b){case 9:case B:if(d+l+p===0)switch(x){case q:case V:case 9:case B:ye="";break;default:b!==B&&(ye=" ")}break;case 0:ye="\\0";break;case 12:ye="\\f";break;case 11:ye="\\v";break;case 38:d+p+l===0&&J>0&&(te=1,F=1,ye="\f"+ye);break;case 108:if(d+p+l+K===0&&T>0)switch(O-T){case 2:112===x&&i.charCodeAt(O-3)===V&&(K=x);case 8:111===D&&(K=D)}break;case V:d+p+l===0&&(T=O);break;case q:p+f+d+l===0&&(F=1,ye+="\r");break;case 34:case 39:0===p&&(d=d===b?0:0===d?b:d);break;case 91:d+p+f===0&&l++;break;case 93:d+p+f===0&&l--;break;case L:d+p+l===0&&f--;break;case j:if(d+p+l===0){if(0===k)switch(2*x+3*D){case 533:break;default:S=0,k=1}f++}break;case 64:p+f+d+l+T+A===0&&(A=1);break;case U:case H:if(d+l+f>0)break;switch(p){case 0:switch(2*b+3*i.charCodeAt(O+1)){case 235:p=H;break;case 220:re=O,p=U}break;case U:b===H&&x===U&&re+2!==O&&(33===i.charCodeAt(re+2)&&(Ee+=i.substring(re,O+1)),ye="",p=0)}}if(0===p){if(J+d+l+A===0&&107!==o&&b!==N)switch(b){case q:case 126:case 62:case 43:case L:case j:if(0===k){switch(x){case 9:case B:case P:case R:ye+="\0";break;default:ye="\0"+ye+(b===q?"":"\0")}F=1}else switch(b){case j:T+7===O&&108===x&&(T=0),k=++S;break;case L:0==(k=--S)&&(F=1,ye+="\0")}break;case 9:case B:switch(x){case 0:case M:case I:case N:case q:case 12:case 9:case B:case P:case R:break;default:0===k&&(F=1,ye+="\0")}}be+=ye,b!==B&&9!==b&&(w=b)}}D=x,x=b,O++}if(re=Ee.length,Z>0&&0===re&&0===De.length&&0===t[0].length==0&&(109!==o||1===t.length&&(J>0?se:ue)===t[0])&&(re=t.join(",").length+2),re>0){if(s=0===J&&107!==o?function(e){for(var t,n,i=0,o=e.length,a=Array(o);i<o;++i){for(var s=e[i].split(c),u="",l=0,p=0,f=0,d=0,h=s.length;l<h;++l)if(!(0===(p=(n=s[l]).length)&&h>1)){if(f=u.charCodeAt(u.length-1),d=n.charCodeAt(0),t="",0!==l)switch(f){case U:case 126:case 62:case 43:case B:case j:break;default:t=" "}switch(d){case 38:n=t+se;case 126:case 62:case 43:case B:case L:case j:break;case 91:n=t+n+se;break;case V:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(Q>0){n=t+n.substring(8,p-1);break}default:(l<1||s[l-1].length<1)&&(n=t+se+n)}break;case q:t="";default:n=p>1&&n.indexOf(":")>0?t+n.replace(E,"$1"+se+"$2"):t+n+se}u+=n}a[i]=u.replace(r,"").trim()}return a}(t):t,ne>0&&void 0!==(u=me(2,Ee,s,e,G,W,re,o,a,o))&&0===(Ee=u).length)return Ce+Ee+De;if(Ee=s.join(",")+"{"+Ee+"}",Y*K!=0){switch(2!==Y||de(Ee,2)||(K=0),K){case 111:Ee=Ee.replace(g,":-moz-$1")+Ee;break;case 112:Ee=Ee.replace(m,"::"+_+"input-$1")+Ee.replace(m,"::-moz-$1")+Ee.replace(m,":-ms-input-$1")+Ee}K=0}}return Ce+Ee+De}function le(e,t,n){var r=t.trim().split(l),i=r,o=r.length,a=e.length;switch(a){case 0:case 1:for(var s=0,u=0===a?"":e[0]+" ";s<o;++s)i[s]=pe(u,i[s],n,a).trim();break;default:s=0;var c=0;for(i=[];s<o;++s)for(var p=0;p<a;++p)i[c++]=pe(e[p]+" ",r[s],n,a).trim()}return i}function pe(e,t,n,r){var i=t,o=i.charCodeAt(0);switch(o<33&&(o=(i=i.trim()).charCodeAt(0)),o){case 38:switch(J+r){case 0:case 1:if(0===e.trim().length)break;default:return i.replace(p,"$1"+e.trim())}break;case V:switch(i.charCodeAt(1)){case 103:if(Q>0&&J>0)return i.replace(f,"$1").replace(p,"$1"+ue);break;default:return e.trim()+i.replace(p,"$1"+e.trim())}default:if(n*J>0&&i.indexOf("\f")>0)return i.replace(p,(e.charCodeAt(0)===V?"":"$1")+e.trim())}return e+i}function fe(e,t,n,r){var c,l=0,p=e+";",f=2*t+3*n+4*r;if(944===f)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*oe){case 0:break;case z:if(110!==e.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(n=0,t=o.length;a<t;n=0,++a){for(var c=o[a],l=c.split(u);c=l[n];){var p=c.charCodeAt(0);if(1===oe&&(p>64&&p<90||p>96&&p<123||95===p||p===z&&c.charCodeAt(1)!==z))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=ae}}l[n++]=c}i+=(0===a?"":",")+l.join(" ")}}return i=r+i+";",1===Y||2===Y&&de(i,1)?_+i+i:i}(p);if(0===Y||2===Y&&!de(p,1))return p;switch(f){case 1015:return 97===p.charCodeAt(10)?_+p+p:p;case 951:return 116===p.charCodeAt(3)?_+p+p:p;case 963:return 110===p.charCodeAt(5)?_+p+p:p;case 1009:if(100!==p.charCodeAt(4))break;case 969:case 942:return _+p+p;case 978:return _+p+O+p+p;case 1019:case 983:return _+p+O+p+F+p+p;case 883:return p.charCodeAt(8)===z?_+p+p:p.indexOf("image-set(",11)>0?p.replace(T,"$1"+_+"$2")+p:p;case 932:if(p.charCodeAt(4)===z)switch(p.charCodeAt(5)){case 103:return _+"box-"+p.replace("-grow","")+_+p+F+p.replace("grow","positive")+p;case 115:return _+p+F+p.replace("shrink","negative")+p;case 98:return _+p+F+p.replace("basis","preferred-size")+p}return _+p+F+p+p;case 964:return _+p+F+"flex-"+p+p;case 1023:if(99!==p.charCodeAt(8))break;return c=p.substring(p.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),_+"box-pack"+c+_+p+F+"flex-pack"+c+p;case 1005:return o.test(p)?p.replace(i,":"+_)+p.replace(i,":"+O)+p:p;case 1e3:switch(l=(c=p.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(l)){case 226:c=p.replace(D,"tb");break;case 232:c=p.replace(D,"tb-rl");break;case 220:c=p.replace(D,"lr");break;default:return p}return _+p+F+c+p;case 1017:if(-1===p.indexOf("sticky",9))return p;case 975:switch(l=(p=e).length-10,f=(c=(33===p.charCodeAt(l)?p.substring(0,l):p).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:p=p.replace(c,_+c)+";"+p;break;case 207:case 102:p=p.replace(c,_+(f>102?"inline-":"")+"box")+";"+p.replace(c,_+c)+";"+p.replace(c,F+c+"box")+";"+p}return p+";";case 938:if(p.charCodeAt(5)===z)switch(p.charCodeAt(6)){case 105:return c=p.replace("-items",""),_+p+_+"box-"+c+F+"flex-"+c+p;case 115:return _+p+F+"flex-item-"+p.replace(S,"")+p;default:return _+p+F+"flex-line-pack"+p.replace("align-content","").replace(S,"")+p}break;case 973:case 989:if(p.charCodeAt(3)!==z||122===p.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?fe(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):p.replace(c,_+c)+p.replace(c,O+c.replace("fill-",""))+p;break;case 962:if(p=_+p+(102===p.charCodeAt(5)?F+p:"")+p,n+r===211&&105===p.charCodeAt(13)&&p.indexOf("transform",10)>0)return p.substring(0,p.indexOf(";",27)+1).replace(a,"$1"+_+"$2")+p}return p}function de(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return re(2!==t?r:r.replace(k,"$1"),i,t)}function he(e,t){var n=fe(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(w," or ($1)").substring(4):"("+t+")"}function me(e,t,n,r,i,o,a,s,u,c){for(var l,p=0,f=t;p<ne;++p)switch(l=te[p].call(ye,e,f,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:f=l}if(f!==t)return f}function ge(e,t,n,r){for(var i=t+1;i<n;++i)switch(r.charCodeAt(i)){case H:if(e===U&&r.charCodeAt(i-1)===U&&t+2!==i)return i+1;break;case P:if(e===H)return i+1}return i}function ve(e){for(var t in e){var n=e[t];switch(t){case"keyframe":oe=0|n;break;case"global":Q=0|n;break;case"cascade":J=0|n;break;case"compress":$=0|n;break;case"semicolon":X=0|n;break;case"preserve":Z=0|n;break;case"prefix":re=null,n?"function"!=typeof n?Y=1:(Y=2,re=n):Y=0}}return ve}function ye(t,n){if(void 0!==this&&this.constructor===ye)return e(t);var i=t,o=i.charCodeAt(0);o<33&&(o=(i=i.trim()).charCodeAt(0)),oe>0&&(ae=i.replace(d,91===o?"":"-")),o=1,1===J?ue=i:se=i;var a,s=[ue];ne>0&&void 0!==(a=me(-1,n,s,s,G,W,0,0,0,0))&&"string"==typeof a&&(n=a);var u=ce(ee,s,n,0,0);return ne>0&&void 0!==(a=me(-2,u,s,s,G,W,u.length,0,0,0))&&"string"!=typeof(u=a)&&(o=0),ae="",ue="",se="",K=0,G=1,W=1,$*o==0?u:u.replace(r,"").replace(v,"").replace(y,"$1").replace(b,"$1").replace(x," ")}return ye.use=function e(t){switch(t){case void 0:case null:ne=te.length=0;break;default:if("function"==typeof t)te[ne++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else ie=0|!!t}return e},ye.set=ve,void 0!==t&&ve(t),ye}(null)},function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}t.a=function(e,t){var n;void 0===t&&(t=r);var i,o=[],a=!1;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return a&&n===this&&t(r,o)||(i=e.apply(this,r),a=!0,n=this,o=r),i}}},function(e,t,n){var r=n(293);e.exports=function(e){return r(e).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}},function(e,t,n){"use strict";(function(e){var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var u=n(3),c=n(283),l=n(511),p=n(516),f=n(542),d=n(8),h=n(170),m=n(150),g=n(24),v=n(38),y=n(124),b=n(22);function x(e,t){var n=t||window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(n);return r&&r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):null}var E=function(t){function n(n){var r=t.call(this,n)||this;return r.handleUpdateSessionCount=function(){r.forceUpdate()},r.getPlaygroundRef=function(e){r.playground=e,"function"===typeof r.props.getRef&&r.props.getRef(e)},r.handleChangeConfig=function(e){r.setState({configString:e})},r.handleSaveConfig=function(){"function"===typeof r.props.onSaveConfig&&r.props.onSaveConfig(r.state.configString)},r.handleSelectEnv=function(e,t){var n=m.getActiveEndpoints(r.props.config,e,t),i=n.endpoint,o=n.subscriptionEndpoint,a=n.headers;r.setState({activeEnv:e,endpoint:i,headers:a,subscriptionEndpoint:r.normalizeSubscriptionUrl(i,o),activeProjectName:t})},r.handleChangeEndpoint=function(e){r.setState({endpoint:e})},r.handleChangeSubscriptionsEndpoint=function(e){r.setState({subscriptionEndpoint:e})},e.m=r,r.state=r.mapPropsToState(n),r.removeLoader(),r}return r(n,t),n.prototype.mapPropsToState=function(e){var t=!!e.configString&&this.isConfigYaml(e.configString),n=this.getInitialActiveEnv(e.config),r=n.activeEnv,i=n.projectName,o=e.endpoint||e.endpointUrl||x("endpoint")||location.href,a=this.extractEndpointAndHeaders(o);o=a.endpoint;var s=a.headers,u=e.subscriptionEndpoint||x("subscriptionEndpoint");if(e.configString&&e.config&&r){var c=m.getActiveEndpoints(e.config,r,i);o=c.endpoint,u=c.subscriptionEndpoint,s=c.headers}return u=this.normalizeSubscriptionUrl(o,u)||void 0,{endpoint:this.absolutizeUrl(o),platformToken:e.platformToken||localStorage.getItem("platform-token")||void 0,subscriptionEndpoint:u,configIsYaml:t,configString:e.configString,activeEnv:r,activeProjectName:i,headers:s}},n.prototype.extractEndpointAndHeaders=function(e){var t=e.split("?");if(1===t.length)return{endpoint:e};try{var n=x("headers",e);if(n)return{headers:JSON.parse(n),endpoint:t[0]}}catch(r){}return{endpoint:t[0]}},n.prototype.removeLoader=function(){var e=document.getElementById("loading-wrapper");e&&e.remove()},n.prototype.normalizeSubscriptionUrl=function(e,t){return t?t.startsWith("/")?"ws"+(e.includes("https")||location.href.includes("https")?"s":"")+"://"+location.host+t:t.replace(/^http/,"ws"):this.getGraphcoolSubscriptionEndpoint(e).replace(/^http/,"ws")},n.prototype.getGraphcoolSubscriptionEndpoint=function(e){return e.includes("api.graph.cool")?"wss://subscriptions.graph.cool/v1/"+e.split("/").slice(-1)[0]:e.replace(/^http/,"ws")},n.prototype.componentWillReceiveProps=function(e){e.endpoint===this.props.endpoint&&e.endpointUrl===this.props.endpointUrl&&e.subscriptionEndpoint===this.props.subscriptionEndpoint&&e.configString===this.props.configString&&e.platformToken===this.props.platformToken&&e.config===this.props.config||(this.setState(this.mapPropsToState(e)),this.setInitialWorkspace(e))},n.prototype.getInitialActiveEnv=function(e){if(e){if(e.extensions&&e.extensions.endpoints)return{activeEnv:Object.keys(e.extensions.endpoints)[0]};if(e.projects){var t=Object.keys(e.projects)[0],n=e.projects[t];if(n.extensions&&n.extensions.endpoints)return{activeEnv:Object.keys(n.extensions.endpoints)[0],projectName:t}}}return{}},n.prototype.isConfigYaml=function(e){try{return p.safeLoad(e),!0}catch(t){}return!1},n.prototype.absolutizeUrl=function(e){return e.startsWith("/")?location.origin+e:e},n.prototype.componentWillMount=function(){var e=x("platform-token");e&&e.length>0&&(localStorage.setItem("platform-token",e),window.location.replace(window.location.origin+window.location.pathname))},n.prototype.componentDidMount=function(){var e=this;if(""===this.state.subscriptionEndpoint&&this.updateSubscriptionsUrl(),setTimeout((function(){e.removePlaygroundInClass()}),5e3),this.setInitialWorkspace(),this.props.tabs)this.props.injectTabs(this.props.tabs);else{var t=x("query");if(t){var n=x("endpoint")||this.state.endpoint;this.props.injectTabs([{query:t,endpoint:n}])}else{var r=x("tabs");if(r)try{var i=JSON.parse(r);this.props.injectTabs(i)}catch(o){}}}this.props.schema&&("string"===typeof this.props.schema?this.setState({schema:b.buildSchema(this.props.schema)}):this.setState({schema:b.buildClientSchema(this.props.schema)}))},n.prototype.setInitialWorkspace=function(e){if(void 0===e&&(e=this.props),e.config){var t=this.getInitialActiveEnv(e.config),n=m.getActiveEndpoints(e.config,t.activeEnv,t.projectName),r=n.endpoint,i=n.subscriptionEndpoint||this.normalizeSubscriptionUrl(r,n.subscriptionEndpoint),o=n.headers;this.setState({endpoint:r,subscriptionEndpoint:i,headers:o,activeEnv:t.activeEnv,activeProjectName:t.projectName})}},n.prototype.removePlaygroundInClass=function(){var e=document.getElementById("root");e&&e.classList.remove("playgroundIn")},n.prototype.render=function(){var e=this.props.setTitle?u.createElement(l.Helmet,null,u.createElement("title",null,this.getTitle())):null,t=this.props.headers||{},n=this.state.headers||{},r=o(o({},t),n),i=this.props.theme;return u.createElement("div",null,e,u.createElement(d.ThemeProvider,{theme:o(o({},d.theme),{mode:i,colours:"dark"===i?h.darkColours:h.lightColours,editorColours:o(o({},"dark"===i?h.darkEditorColours:h.lightEditorColours),this.props.codeTheme),settings:this.props.settings})},u.createElement(k,null,this.props.config&&this.state.activeEnv&&u.createElement(f.default,{config:this.props.config,folderName:this.props.folderName||"GraphQL App",theme:i,activeEnv:this.state.activeEnv,onSelectEnv:this.handleSelectEnv,onNewWorkspace:this.props.onNewWorkspace,showNewWorkspace:Boolean(this.props.showNewWorkspace),isElectron:Boolean(this.props.isElectron),activeProjectName:this.state.activeProjectName,configPath:this.props.configPath}),u.createElement(c.default,{endpoint:this.state.endpoint,shareEnabled:this.props.shareEnabled,subscriptionEndpoint:this.state.subscriptionEndpoint,shareUrl:this.state.shareUrl,onChangeEndpoint:this.handleChangeEndpoint,onChangeSubscriptionsEndpoint:this.handleChangeSubscriptionsEndpoint,getRef:this.getPlaygroundRef,config:this.props.config,configString:this.state.configString,configIsYaml:this.state.configIsYaml,canSaveConfig:Boolean(this.props.canSaveConfig),onChangeConfig:this.handleChangeConfig,onSaveConfig:this.handleSaveConfig,onUpdateSessionCount:this.handleUpdateSessionCount,fixedEndpoints:Boolean(this.state.configString),fixedEndpoint:this.props.fixedEndpoint,headers:r,configPath:this.props.configPath,workspaceName:this.props.workspaceName||this.state.activeProjectName,createApolloLink:this.props.createApolloLink,schema:this.state.schema}))))},n.prototype.getTitle=function(){if(this.state.platformToken||this.state.endpoint.includes("api.graph.cool")){var e=this.getProjectId(this.state.endpoint);return(this.state.endpoint.includes("api.graph.cool")?"shared":"local")+"/"+e+" - Playground"}return"Playground - "+this.state.endpoint},n.prototype.updateSubscriptionsUrl=function(){return a(this,void 0,void 0,(function(){var e,t=this;return s(this,(function(n){switch(n.label){case 0:return[4,D(this.getSubscriptionsUrlCandidated(this.state.endpoint),(function(e){return t.wsEndpointValid(e)}))];case 1:return(e=n.sent())&&this.setState({subscriptionEndpoint:e}),[2]}}))}))},n.prototype.getSubscriptionsUrlCandidated=function(e){var t=[];if(t.push(e.replace("https","wss").replace("http","ws")),e.includes("graph.cool")&&t.push("wss://subscriptions.graph.cool/v1/"+this.getProjectId(e)),e.includes("/simple/v1/")){var n=e.match(/https?:\/\/(.*?)\//);t.push("ws://"+n[1]+"/subscriptions/v1/"+this.getProjectId(e))}return t},n.prototype.wsEndpointValid=function(e){return new Promise((function(t){var n=new WebSocket(e,"graphql-ws");n.addEventListener("open",(function(e){n.send(JSON.stringify({type:"connection_init"}))})),n.addEventListener("message",(function(e){"connection_ack"===JSON.parse(e.data).type&&t(!0)})),n.addEventListener("error",(function(e){t(!1)})),setTimeout((function(){t(!1)}),1e3)}))},n.prototype.getProjectId=function(e){return e.split("/").slice(-1)[0]},n}(u.Component);function D(e,t){return a(this,void 0,void 0,(function(){var n,r;return s(this,(function(i){switch(i.label){case 0:n=0,i.label=1;case 1:return n<e.length?(r=e[n],[4,t(r,n)]):[3,4];case 2:if(i.sent())return[2,r];i.label=3;case 3:return n++,[3,1];case 4:return[2,null]}}))}))}t.default=g.connect((function(e,t){return{theme:t.theme||v.getTheme(e,t.settings),settings:v.getSettings(e)}}),{injectTabs:y.injectTabs})(E);var C,w,S=d.keyframes(C||(C=i(["\n from { \n opacity: 0;\n transform: translateY(10px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n"],["\n from { \n opacity: 0;\n transform: translateY(10px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n"]))),k=d.styled.div(w||(w=i(["\n display: flex;\n width: 100%;\n opacity: 0;\n transform: translateY(10px);\n animation: "," 0.5s ease-out forwards 0.2s;\n"],["\n display: flex;\n width: 100%;\n opacity: 0;\n transform: translateY(10px);\n animation: "," 0.5s ease-out forwards 0.2s;\n"])),S)}).call(this,n(37))},function(e,t,n){"use strict";(function(e){var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(61),u=n(22),c=n(285),l=n(137),p=n(76),f=n(401),d=n(143),h=n(414),m=n(145),g=n(417),v=n(421),y=n(423),b=n(214),x=n(215),E=n(424),D=n(425),C=n(429),w=n(8),S=n(24),k=n(26),A=n(28),T=n(36),_=n(81),O=n(80),F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.setQueryVariablesRef=function(t){e.queryVariablesRef=t},e.setHttpHeadersRef=function(t){e.httpHeadersRef=t},e.setQueryResizer=function(t){e.queryResizer=s.findDOMNode(t)},e.setResponseResizer=function(t){e.responseResizer=s.findDOMNode(t)},e.setEditorBarComponent=function(t){e.editorBarComponent=t},e.setQueryEditorComponent=function(t){e.queryEditorComponent=t},e.setVariableEditorComponent=function(t){e.variableEditorComponent=t},e.setResultComponent=function(t){e.resultComponent=t},e.setDocExplorerRef=function(t){t&&(e.docExplorerComponent=t.getWrappedInstance())},e.setGraphExplorerRef=function(t){t&&(e.graphExplorerComponent=t.getWrappedInstance())},e.setSchemaExplorerRef=function(t){t&&(e.schemaExplorerComponent=t)},e.setContainerComponent=function(t){e.containerComponent=t},e.handleClickReference=function(t){e.docExplorerComponent&&e.docExplorerComponent.showDocFromType(t.field||t)},e.setSideTabActiveContentRef=function(t){t&&(e.activeSideTabContent=t)},e.runQueryAtCursor=function(){if(e.props.queryRunning)e.props.stopQuery(e.props.sessionId);else{var t=e.queryEditorComponent.getCodeMirror(),n=t.getCursor(),r=t.indexFromPos(n);e.props.runQueryAtPosition(r)}},e.handleHintInformationRender=function(t){var n;t.addEventListener("click",e.onClickHintInformation),t.addEventListener("DOMNodeRemoved",n=function(){t.removeEventListener("DOMNodeRemoved",n),t.removeEventListener("click",e.onClickHintInformation)})},e.handleResizeStart=function(t){if(e.didClickDragBar(t)){t.preventDefault();var n=t.clientX-b.getLeft(t.target),r=function(t){if(0===t.buttons)return i();var r=s.findDOMNode(e.editorBarComponent),o=t.clientX-b.getLeft(r)-n,a=r.clientWidth-o;e.props.setEditorFlex(o/a)},i=function(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i),r=null,i=null};document.addEventListener("mousemove",r),document.addEventListener("mouseup",i)}},e.handleTracingResizeStart=function(t){t.preventDefault();var n=!1,r=e.props.responseTracingHeight,i=t.clientY-b.getTop(t.target),o=function(t){if(0===t.buttons)return a();n=!0;var o=s.findDOMNode(e.editorBarComponent),u=t.clientY-b.getTop(o)-i;o.clientHeight-u<60?e.props.closeTracing(r):e.props.openTracing(r)},a=function(){n||e.props.toggleTracing(),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",a),o=null,a=null};document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)},e.handleVariableResizeStart=function(t){t.preventDefault();var n=!1,r=e.props.variableEditorOpen,i=e.props.variableEditorHeight,o=t.clientY-b.getTop(t.target);if(!r||t.target!==e.queryVariablesRef&&t.target!==e.httpHeadersRef){var a=function(t){if(0===t.buttons)return u();n=!0;var r=s.findDOMNode(e.editorBarComponent),a=t.clientY-b.getTop(r)-o,c=r.clientHeight-a;c<60?e.props.closeVariables(i):e.props.openVariables(c)},u=function(){n||e.props.toggleVariables(),document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",u),a=null,u=null};document.addEventListener("mousemove",a),document.addEventListener("mouseup",u)}},e.onClickHintInformation=function(t){if("typeName"===t.target.className){var n=t.target.innerHTML,r=e.props.schema;if(r){var i=n.replace(/[\]\[!]/g,""),o=r.getType(i);u.isNamedType(o)&&e.docExplorerComponent.showDocFromType(o)}}},e.setDocsWidth=function(t){void 0===t&&(t=e.props),e.activeSideTabContent&&e.props.docsOpen&&requestAnimationFrame((function(){var n=e.activeSideTabContent.getWidth(),r=e.containerComponent.getWidth()-86;e.props.changeWidthDocs(t.sessionId,Math.min(n,r))}))},e}return r(n,t),n.prototype.componentDidMount=function(){this.codeMirrorSizer=new f.default,e.g=this},n.prototype.componentDidUpdate=function(){this.resultComponent&&Boolean(this.props.subscriptionActive)&&(this.resultComponent.scrollTop=this.resultComponent.scrollHeight)},n.prototype.render=function(){return a.createElement(p.Container,{ref:this.setContainerComponent},a.createElement(p.default,null,a.createElement(d.default,{shareEnabled:this.props.shareEnabled}),a.createElement(J,{ref:this.setEditorBarComponent,onMouseDown:this.handleResizeStart},a.createElement(ae,{flex:this.props.editorFlex},a.createElement(l.default,{getRef:this.setQueryEditorComponent,schema:this.props.schema,onHintInformationRender:this.handleHintInformationRender,onRunQuery:this.runQueryAtCursor,onClickReference:this.handleClickReference}),a.createElement(te,{isOpen:this.props.variableEditorOpen,height:this.props.variableEditorHeight},a.createElement(ne,{isOpen:this.props.variableEditorOpen,onMouseDown:this.handleVariableResizeStart},a.createElement(re,{isOpen:this.props.queryVariablesActive,ref:this.setQueryVariablesRef,onClick:this.props.openQueryVariables},"Query Variables"),a.createElement(re,{isOpen:!this.props.queryVariablesActive,ref:this.setHttpHeadersRef,onClick:this.props.closeQueryVariables},"HTTP Headers "+(this.props.headersCount&&this.props.headersCount>0?"("+this.props.headersCount+")":""))),this.props.queryVariablesActive?a.createElement(h.VariableEditorComponent,{getRef:this.setVariableEditorComponent,onHintInformationRender:this.props.queryVariablesActive?this.handleHintInformationRender:void 0,onRunQuery:this.runQueryAtCursor}):a.createElement(h.HeadersEditorComponent,{getRef:this.setVariableEditorComponent,onHintInformationRender:this.props.queryVariablesActive?this.handleHintInformationRender:void 0,onRunQuery:this.runQueryAtCursor})),a.createElement($,{ref:this.setQueryResizer})),a.createElement(Y,null,a.createElement(X,{ref:this.setResponseResizer}),a.createElement(c.default,null),this.props.queryRunning&&0===this.props.responses.size&&a.createElement(m.default,null),a.createElement(g.default,{setRef:this.setResultComponent}),!this.props.queryRunning&&(!this.props.responses||0===this.props.responses.size)&&a.createElement(se,null,"Hit the Play Button to get a response here"),this.props.subscriptionActive&&a.createElement(ue,null,"Listening \u2026"),a.createElement(ie,{isOpen:this.props.responseTracingOpen,height:this.props.responseTracingHeight},a.createElement(oe,{isOpen:this.props.responseTracingOpen,onMouseDown:this.handleTracingResizeStart},a.createElement(re,{isOpen:!1},"Tracing")),a.createElement(v.default,{open:this.props.responseTracingOpen}))))),a.createElement(E.default,{setActiveContentRef:this.setSideTabActiveContentRef,setWidth:this.setDocsWidth},a.createElement(x.default,{label:"Docs",activeColor:"green",tabWidth:"49px"},a.createElement(C.default,{schema:this.props.schema,ref:this.setDocExplorerRef})),a.createElement(x.default,{label:"Schema",activeColor:"blue",tabWidth:"65px"},a.createElement(D.default,{schema:this.props.schema,ref:this.setSchemaExplorerRef,sessionId:this.props.sessionId}))),"}")},n.prototype.autoCompleteLeafs=function(){var e=y.fillLeafs(this.props.schema,this.props.query),t=e.insertions,n=e.result;if(t&&t.length>0){var r=this.queryEditorComponent.getCodeMirror();r.operation((function(){var e=r.getCursor(),i=r.indexFromPos(e);r.setValue(n);var o=0;try{var a=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+o),r.posFromIndex(t+(o+=n.length)),{className:"autoInsertedLeaf",clearOnEnter:!0,title:"Automatically added leaf fields"})}));setTimeout((function(){return a.forEach((function(e){return e.clear()}))}),7e3)}catch(u){}var s=i;t.forEach((function(e){var t=e.index,n=e.string;t<i&&n&&(s+=n.length)})),r.setCursor(r.posFromIndex(s))}))}return n},n.prototype.didClickDragBar=function(e){return e.target===this.queryResizer||e.target===this.responseResizer},n}(a.PureComponent),N=k.createStructuredSelector({queryRunning:A.getQueryRunning,responses:A.getResponses,subscriptionActive:A.getSubscriptionActive,variableEditorOpen:A.getVariableEditorOpen,variableEditorHeight:A.getVariableEditorHeight,responseTracingOpen:A.getResponseTracingOpen,responseTracingHeight:A.getResponseTracingHeight,responseExtensions:A.getResponseExtensions,currentQueryStartTime:A.getCurrentQueryStartTime,currentQueryEndTime:A.getCurrentQueryEndTime,tracingSupported:A.getTracingSupported,editorFlex:A.getEditorFlex,queryVariablesActive:A.getQueryVariablesActive,headers:A.getHeaders,operations:A.getOperations,operationName:A.getOperationName,headersCount:A.getHeadersCount,sessionId:A.getSelectedSessionIdFromRoot,docsOpen:_.getDocsOpen});t.default=S.connect(N,{updateQueryFacts:T.updateQueryFacts,stopQuery:T.stopQuery,runQueryAtPosition:T.runQueryAtPosition,openQueryVariables:T.openQueryVariables,closeQueryVariables:T.closeQueryVariables,openVariables:T.openVariables,closeVariables:T.closeVariables,openTracing:T.openTracing,closeTracing:T.closeTracing,toggleTracing:T.toggleTracing,setEditorFlex:T.setEditorFlex,toggleVariables:T.toggleVariables,fetchSchema:T.fetchSchema,changeWidthDocs:O.changeWidthDocs},null,{forwardRef:!0})(F);var I,M,j,L,P,R,B,z,U,q,V,H,W,G,K,J=w.styled.div(I||(I=i(["\n display: flex;\n flex-direction: row;\n flex: 1;\n height: 100%;\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n height: 100%;\n"]))),Y=w.styled.div(M||(M=i(["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n position: relative;\n border-left: none;\n background: ",";\n overflow-anchor: auto;\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n position: relative;\n border-left: none;\n background: ",";\n overflow-anchor: auto;\n"])),(function(e){return e.theme.editorColours.resultBackground})),Q=w.styled.div(j||(j=i(["\n width: 15px;\n position: absolute;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n"],["\n width: 15px;\n position: absolute;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n"]))),$=w.styled(Q)(L||(L=i(["\n right: 0px;\n"],["\n right: 0px;\n"]))),X=w.styled(Q)(P||(P=i(["\n left: 0px;\n z-index: 1;\n"],["\n left: 0px;\n z-index: 1;\n"]))),Z=w.styled("div")(R||(R=i(["\n display: flex;\n background: #0b1924;\n flex-direction: column;\n position: relative;\n height: ",";\n"],["\n display: flex;\n background: #0b1924;\n flex-direction: column;\n position: relative;\n height: ",";\n"])),(function(e){return e.isOpen?e.height+"px":"43px"})),ee=w.styled.div(B||(B=i(["\n background: #0b1924;\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 0.53px;\n line-height: 14px;\n font-size: 14px;\n padding: 14px 14px 15px 21px;\n user-select: none;\n"],["\n background: #0b1924;\n text-transform: uppercase;\n font-weight: 600;\n letter-spacing: 0.53px;\n line-height: 14px;\n font-size: 14px;\n padding: 14px 14px 15px 21px;\n user-select: none;\n"]))),te=w.styled(Z)(z||(z=i(["\n .CodeMirror {\n padding-left: 4px;\n width: calc(100% - 4px);\n background: ",";\n }\n .CodeMirror-lines {\n padding: 10px 0 20px 0;\n }\n .CodeMirror-linenumbers {\n background: ",";\n }\n"],["\n .CodeMirror {\n padding-left: 4px;\n width: calc(100% - 4px);\n background: ",";\n }\n .CodeMirror-lines {\n padding: 10px 0 20px 0;\n }\n .CodeMirror-linenumbers {\n background: ",";\n }\n"])),(function(e){return e.theme.editorColours.leftDrawerBackground}),(function(e){return e.theme.editorColours.leftDrawerBackground})),ne=w.styled((function(e){e.isOpen;var t=o(e,["isOpen"]);return a.createElement(ee,t)}))(U||(U=i(["\n cursor: ",";\n background: ",";\n"],["\n cursor: ",";\n background: ",";\n"])),(function(e){return e.isOpen?"row-resize":"n-resize"}),(function(e){return e.theme.editorColours.leftDrawerBackground})),re=w.styled("span")(q||(q=i(["\n margin-right: 10px;\n cursor: pointer;\n color: ",";\n &:last-child {\n margin-right: 0;\n }\n"],["\n margin-right: 10px;\n cursor: pointer;\n color: ",";\n &:last-child {\n margin-right: 0;\n }\n"])),(function(e){return e.isOpen?e.theme.editorColours.drawerText:e.theme.editorColours.drawerTextInactive})),ie=w.styled(Z)(V||(V=i(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.editorColours.rightDrawerBackground})),oe=w.styled((function(e){e.isOpen;var t=o(e,["isOpen"]);return a.createElement(ee,t)}))(H||(H=i(["\n text-align: right;\n background: ",";\n cursor: ",";\n color: ",";\n"],["\n text-align: right;\n background: ",";\n cursor: ",";\n color: ",";\n"])),(function(e){return e.theme.editorColours.rightDrawerBackground}),(function(e){return e.isOpen?"s-resize":"n-resize"}),(function(e){return e.theme.editorColours.drawerTextInactive})),ae=w.styled("div")(W||(W=i(["\n position: relative;\n display: flex;\n flex-direction: column;\n flex: "," 1 0%;\n border-top: 8px solid ",";\n"],["\n position: relative;\n display: flex;\n flex-direction: column;\n flex: "," 1 0%;\n border-top: 8px solid ",";\n"])),(function(e){return e.flex}),(function(e){return e.theme.editorColours.resultBackground})),se=w.styled.div(G||(G=i(["\n width: 235px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ",";\n font-size: ",";\n font-family: 'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono',\n 'Monaco', monospace;\n text-align: center;\n letter-spacing: 0.6px;\n"],["\n width: 235px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: ",";\n font-size: ",";\n font-family: 'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono',\n 'Monaco', monospace;\n text-align: center;\n letter-spacing: 0.6px;\n"])),(function(e){return e.theme.colours.textInactive}),(function(e){return e.theme.sizes.small16})),ue=w.styled.div(K||(K=i(["\n position: absolute;\n bottom: 0;\n color: ",";\n background: ",";\n font-size: ",";\n font-family: ",";\n letter-spacing: 0.6px;\n padding-left: 24px;\n padding-bottom: 60px;\n"],["\n position: absolute;\n bottom: 0;\n color: ",";\n background: ",";\n font-size: ",";\n font-family: ",";\n letter-spacing: 0.6px;\n padding-left: 24px;\n padding-bottom: 60px;\n"])),(function(e){return e.theme.editorColours.text}),(function(e){return e.theme.editorColours.resultBackground}),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.settings["editor.fontFamily"]}))}).call(this,n(37))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(38);t.darkColours={green:"#27ae60",darkBlue:"rgb(23, 42, 58)",darkBlue50:"rgba(23, 42, 58, 0.5)",darkBlue80:"rgba(23, 42, 58, 0.8)",darkBlue60:"rgba(23, 42, 58, 0.6)",darkBlue30:"rgba(23, 42, 58, 0.3)",darkBlue20:"rgba(23, 42, 58, 0.2)",darkBlue10:"rgba(23, 42, 58, 0.1)",darkerBlue:"#0F202D",darkestBlue:"rgb(11,20,28)",white10:"rgba(255, 255, 255, 0.1)",white20:"rgba(255, 255, 255, 0.2)",white30:"rgba(255, 255, 255, 0.3)",white60:"rgba(255, 255, 255, 0.6)",white70:"rgba(255, 255, 255, 0.7)",white80:"rgba(255, 255, 255, 0.8)",white:"rgba(255, 255, 255, 1)",black02:"rgba(0, 0, 0, 0.02)",black07:"rgba(0, 0, 0, 0.07)",black04:"rgba(0, 0, 0, 0.04)",black10:"rgba(0, 0, 0, 0.1)",black30:"rgba(0, 0, 0, 0.3)",black40:"rgba(0, 0, 0, 0.4)",black50:"rgba(0, 0, 0, 0.5)",red:"#f25c54",orange:"rgba(241, 143, 1, 1)",blue:"rgba(42, 126, 210, 1)",purple:"rgb(164, 3, 111)",paleText:"rgba(0, 0, 0, 0.5)",paleGrey:"#f3f4f4",lightGrey:"#eeeff0",lighterGrey:"#f6f7f7",text:"rgba(255,255,255,0.6)",textInactive:"#555e66"},t.lightColours={green:"#27ae60",darkBlue:"rgb(23, 42, 58)",darkBlue50:"rgba(23, 42, 58, 0.5)",darkBlue80:"rgba(23, 42, 58, 0.8)",darkBlue60:"rgba(23, 42, 58, 0.6)",darkBlue30:"rgba(23, 42, 58, 0.3)",darkBlue20:"rgba(23, 42, 58, 0.2)",darkBlue10:"rgba(23, 42, 58, 0.1)",darkerBlue:"#0F202D",darkestBlue:"rgb(11,20,28)",white10:"rgba(255, 255, 255, 0.1)",white20:"rgba(255, 255, 255, 0.2)",white30:"rgba(255, 255, 255, 0.3)",white60:"rgba(255, 255, 255, 0.6)",white70:"rgba(255, 255, 255, 0.7)",white80:"rgba(255, 255, 255, 0.8)",white:"rgba(255, 255, 255, 1)",black02:"rgba(0, 0, 0, 0.02)",black04:"rgba(0, 0, 0, 0.04)",black10:"rgba(0, 0, 0, 0.1)",black07:"rgba(0, 0, 0, 0.07)",black30:"rgba(0, 0, 0, 0.3)",black40:"rgba(0, 0, 0, 0.4)",black50:"rgba(0, 0, 0, 0.5)",red:"#f25c54",orange:"rgba(241, 143, 1, 1)",blue:"rgba(42, 126, 210, 1)",purple:"rgb(164, 3, 111)",paleText:"rgba(0, 0, 0, 0.5)",paleGrey:"#f3f4f4",lightGrey:"#eeeff0",lighterGrey:"#f6f7f7",text:"rgba(0,0,0,.7)",textInactive:"rgba(0,0,0,.3)"},t.darkEditorColours={property:"rgb(41, 185, 115)",comment:"rgba(255, 255, 255, 0.3)",punctuation:"rgba(255, 255, 255, 0.4)",keyword:"rgb(42, 126, 211)",def:"rgb(56, 189, 193)",qualifier:"#1c92a9",attribute:"rgb(247, 116, 102)",number:"#2882f9",string:"#d64292",builtin:"#d47509",string2:"#0b7fc7",variable:"rgb(181, 34, 130)",meta:"#b33086",atom:"rgb(249, 233, 34)",ws:"rgba(255, 255, 255, 0.4)",selection:"rgba(255, 255, 255, 0.1)",cursorColor:"rgba(255, 255, 255, 0.4)",text:"#fff",textInactive:"rgba(255, 255, 255, 0.6)",background:"#09141c",sidebarTop:"#0f202d",sidebar:"#172b3a",sidebarBottom:"#172b3a",sidebarItemActive:"rgb(23, 42, 58)",sidebarItemSide:"#27ae60",sidebarItemSessions:"rgba(255, 255, 255, 0.05)",tab:"#172b3a",tabInactive:"#0f202d",tabText:"#fff",navigationBar:"#172b3a",navigationBarText:"rgba(255, 255, 255, 0.6)",editorBackground:"#0f202d",resultBackground:"#172b3a",leftDrawerBackground:"#0b1924",rightDrawerBackground:"#0b1924",drawerText:"rgba(255,255,255,0.6)",drawerTextInactive:"#555e66",executeButton:"rgb(185, 191, 196)",executeButtonBorder:"rgb(11, 20, 28)",executeButtonHover:"rgb(195, 201, 206)",executeButtonSubscription:"#f25c54",executeButtonSubscriptionHover:"#f36c65",icon:"rgb(74, 85, 95)",iconHover:"rgba(255, 255, 255, 0.6)",pollingIcon:"rgba(139, 149, 156, 1)",pollingIconShadow:"rgba(139, 149, 156, 0.4)",button:"#0F202D",buttonHover:"#122535",buttonText:"rgba(255,255,255,0.6)",buttonWorkspace:"#b9bfc4",buttonWorkspaceHover:"#a4acb2",buttonWorkspaceText:"rgb(23, 42, 58)",circle:"rgba(255, 255, 255, 0.4)",subscriptionTimeBoaderTop:"rgba(255, 255, 255, 0.2)",subscriptionTimeText:"rgba(255, 255, 255, 0.5)"},t.lightEditorColours={property:"#328c8c",comment:"rgba(0, 0, 0, 0.3)",punctuation:"rgba(23,42,58,.8)",keyword:"#366b6b",def:"rgb(56, 189, 193)",qualifier:"#1c92a9",attribute:"#b56531",number:"#1f6ed6;",string:"#d64292",builtin:"#d47509",string2:"#0b7fc7",variable:"rgb(236, 95, 103)",meta:"#b33086",atom:"rgb(245, 160, 0)",ws:"rgba(23, 42, 58, 0.8)",selection:"#d1e9fd",cursorColor:"rgba(0, 0, 0, 0.4)",text:"rgba(0, 0, 0, 0.7)",textInactive:"rgba(0, 0, 0, 0.3)",background:"#dbdee0",sidebarTop:"#eeeff0",sidebar:"#eeeff0",sidebarBottom:"#f6f7f7",sidebarItemActive:"#f6f7f7",sidebarItemSide:"#27ae60",sidebarItemSessions:"#dbdee0",tab:"#eeeff0",tabInactive:"#e7eaec",tabText:"rgba(23, 42, 58, .8)",navigationBar:"#eeeff0",navigationBarText:"rgba(23, 42, 58, 0.8)",editorBackground:"#f6f7f7",resultBackground:"#eeeff0",leftDrawerBackground:"#e9eaea",rightDrawerBackground:"#e5e7e7",drawerText:"rgba(0, 0, 0, 0.7)",drawerTextInactive:"rgba(0, 0, 0, 0.3)",executeButton:"rgb(115, 127, 136)",executeButtonBorder:"#eeeff0",executeButtonHover:"",executeButtonSubscription:"#f25c54",executeButtonSubscriptionHover:"#f36c65",icon:"rgb(194, 200, 203)",iconHover:"rgba(23, 42, 58, 0.6)",pollingIcon:"rgba(139, 149, 156, 1)",pollingIconShadow:"rgba(139, 149, 156, 0.4)",button:"#d8dbde",buttonHover:"rgba(20, 37, 51, 0.2)",buttonText:"rgba(23, 42, 58, 0.8)",buttonWorkspace:"rgb(185, 191, 196)",buttonWorkspaceHover:"rgb(157, 166, 173)",buttonWorkspaceText:"rgb(238, 239, 240)",circle:"rgba(23,42,58,.4)",subscriptionTimeBoaderTop:"rgba(23, 42, 58, 0.2)",subscriptionTimeText:"rgba(23, 42, 58, 0.5)"},t.sizes={small6:"6px",small10:"10px",small12:"12px",small16:"16px",medium25:"25px",fontLight:"300",fontSemiBold:"600",fontTiny:"12px",fontSmall:"14px",fontMedium:"20px",smallRadius:"2px"},t.shorthands={},t.theme={mode:"dark",colours:t.darkColours,sizes:t.sizes,shorthands:t.shorthands,editorColours:t.darkEditorColours,settings:r.defaultSettings}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&"@@redux/INIT"===e.type?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQueryTypes=function(e){var t=!1,n=!1,r=!1,i=null;return e&&e.definitions&&e.definitions.forEach((function(e){i||(i=e.name&&e.name.value),i||(i=e.selectionSet&&e.selectionSet.selections&&e.selectionSet.selections.length>0&&e.selectionSet.selections[0].name.value),"subscription"===e.operation&&(t=!0),"query"===e.operation&&(n=!0),"mutation"===e.operation&&(r=!0)})),{firstOperationName:i,subscription:t,query:n,mutation:r}}},function(e,t,n){"use strict";var r=Object.prototype;r.toString,r.hasOwnProperty,new Map},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseHeaders=function(e){if(!e)return{};try{return JSON.parse(e)}catch(t){return{}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33),i=n(22);t.makeOperation=function(e){return r.setIn(e,["query"],i.parse(e.query))}},function(e,t,n){"use strict";var r=n(111),i=n(112),o=n(307),a=Symbol("max"),s=Symbol("length"),u=Symbol("lengthCalculator"),c=Symbol("allowStale"),l=Symbol("maxAge"),p=Symbol("dispose"),f=Symbol("noDisposeOnSet"),d=Symbol("lruList"),h=Symbol("cache"),m=Symbol("updateAgeOnGet"),g=function(){return 1},v=function(){function e(t){if(r(this,e),"number"===typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!==typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[a]=t.max||1/0;var n=t.length||g;if(this[u]="function"!==typeof n?g:n,this[c]=t.stale||!1,t.maxAge&&"number"!==typeof t.maxAge)throw new TypeError("maxAge must be a number");this[l]=t.maxAge||0,this[p]=t.dispose,this[f]=t.noDisposeOnSet||!1,this[m]=t.updateAgeOnGet||!1,this.reset()}return i(e,[{key:"rforEach",value:function(e,t){t=t||this;for(var n=this[d].tail;null!==n;){var r=n.prev;C(this,e,n,t),n=r}}},{key:"forEach",value:function(e,t){t=t||this;for(var n=this[d].head;null!==n;){var r=n.next;C(this,e,n,t),n=r}}},{key:"keys",value:function(){return this[d].toArray().map((function(e){return e.key}))}},{key:"values",value:function(){return this[d].toArray().map((function(e){return e.value}))}},{key:"reset",value:function(){var e=this;this[p]&&this[d]&&this[d].length&&this[d].forEach((function(t){return e[p](t.key,t.value)})),this[h]=new Map,this[d]=new o,this[s]=0}},{key:"dump",value:function(){var e=this;return this[d].map((function(t){return!b(e,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}})).toArray().filter((function(e){return e}))}},{key:"dumpLru",value:function(){return this[d]}},{key:"set",value:function(e,t,n){if((n=n||this[l])&&"number"!==typeof n)throw new TypeError("maxAge must be a number");var r=n?Date.now():0,i=this[u](t,e);if(this[h].has(e)){if(i>this[a])return E(this,this[h].get(e)),!1;var o=this[h].get(e).value;return this[p]&&(this[f]||this[p](e,o.value)),o.now=r,o.maxAge=n,o.value=t,this[s]+=i-o.length,o.length=i,this.get(e),x(this),!0}var c=new D(e,t,i,r,n);return c.length>this[a]?(this[p]&&this[p](e,t),!1):(this[s]+=c.length,this[d].unshift(c),this[h].set(e,this[d].head),x(this),!0)}},{key:"has",value:function(e){if(!this[h].has(e))return!1;var t=this[h].get(e).value;return!b(this,t)}},{key:"get",value:function(e){return y(this,e,!0)}},{key:"peek",value:function(e){return y(this,e,!1)}},{key:"pop",value:function(){var e=this[d].tail;return e?(E(this,e),e.value):null}},{key:"del",value:function(e){E(this,this[h].get(e))}},{key:"load",value:function(e){this.reset();for(var t=Date.now(),n=e.length-1;n>=0;n--){var r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{var o=i-t;o>0&&this.set(r.k,r.v,o)}}}},{key:"prune",value:function(){var e=this;this[h].forEach((function(t,n){return y(e,n,!1)}))}},{key:"max",set:function(e){if("number"!==typeof e||e<0)throw new TypeError("max must be a non-negative number");this[a]=e||1/0,x(this)},get:function(){return this[a]}},{key:"allowStale",set:function(e){this[c]=!!e},get:function(){return this[c]}},{key:"maxAge",set:function(e){if("number"!==typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,x(this)},get:function(){return this[l]}},{key:"lengthCalculator",set:function(e){var t=this;"function"!==typeof e&&(e=g),e!==this[u]&&(this[u]=e,this[s]=0,this[d].forEach((function(e){e.length=t[u](e.value,e.key),t[s]+=e.length}))),x(this)},get:function(){return this[u]}},{key:"length",get:function(){return this[s]}},{key:"itemCount",get:function(){return this[d].length}}]),e}(),y=function(e,t,n){var r=e[h].get(t);if(r){var i=r.value;if(b(e,i)){if(E(e,r),!e[c])return}else n&&(e[m]&&(r.value.now=Date.now()),e[d].unshiftNode(r));return i.value}},b=function(e,t){if(!t||!t.maxAge&&!e[l])return!1;var n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},x=function(e){if(e[s]>e[a])for(var t=e[d].tail;e[s]>e[a]&&null!==t;){var n=t.prev;E(e,t),t=n}},E=function(e,t){if(t){var n=t.value;e[p]&&e[p](n.key,n.value),e[s]-=n.length,e[h].delete(n.key),e[d].removeNode(t)}},D=function e(t,n,i,o,a){r(this,e),this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=a||0},C=function(e,t,n,r){var i=n.value;b(e,i)&&(E(e,n),e[c]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=v},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=n(177),i=n(319),o=n(114),a=n(180);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){var r=n(135);e.exports=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&&r(e,t)}},function(e,t,n){var r=n(115),i=n(184),o=n(320);e.exports=function(e){return function(){var t,n=r(e);if(i()){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return o(this,t)}}},function(e,t){e.exports=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}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=t.sortableHandle=t.sortableElement=t.sortableContainer=t.SortableHandle=t.SortableElement=t.SortableContainer=void 0;var r=n(116);Object.defineProperty(t,"arrayMove",{enumerable:!0,get:function(){return r.arrayMove}});var i=s(n(327)),o=s(n(329)),a=s(n(330));function s(e){return e&&e.__esModule?e:{default:e}}t.SortableContainer=i.default,t.SortableElement=o.default,t.SortableHandle=a.default,t.sortableContainer=i.default,t.sortableElement=o.default,t.sortableHandle=a.default},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(33),o=n(50),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i.Record({history:!1,headers:!0,allTabs:!0,shareUrl:null}));t.SharingState=a,t.default=o.handleActions({TOGGLE_SHARE_HISTORY:function(e){return e.set("history",!e.history)},TOGGLE_SHARE_HEADERS:function(e){return e.set("headers",!e.headers)},TOGGLE_SHARE_ALL_TABS:function(e){return e.set("allTabs",!e.allTabs)},SET_SHARE_URL:function(e,t){var n=t.payload.shareUrl;return e.set("shareUrl",n)}},new a)},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(33),o=n(50),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(i.Record({historyOpen:!1,fixedEndpoint:!1,endpoint:"",configString:"",envVars:{}}));t.GeneralState=a,t.default=o.handleActions({OPEN_HISTORY:function(e){return e.set("historyOpen",!0)},CLOSE_HISTORY:function(e){return e.set("historyOpen",!1)},SET_ENDPOINT_DISABLED:function(e,t){var n=t.payload.value;return e.set("endpointDisabled",n)},SET_CONFIG_STRING:function(e,t){var n=t.payload.configString;return e.set("configString",n)}},new a)},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var o=n(134),a=n(109),s=n(186),u=n(33),c=n(187),l=n(94),p=n(38),f=n(136);function d(e){return new f.AppHistory({items:u.OrderedMap(l.mapValues(e.items,(function(e){return new f.AppHistoryItem(e)})))})}function h(e){return u.Map(l.mapValues(e,(function(e){return new o.DocsSession({docsOpen:e.docsOpen,keyMove:e.keyMove,docsWidth:e.docsWidth,navStack:(t=e.navStack,u.List(t.map((function(e){return u.Map(e)}))))});var t})))}function m(e){var t=g(e.sessions),n=e.selectedSessionId&&""!==e.selectedSessionId?e.selectedSessionId:t.first().id;return new a.SessionState({selectedSessionId:n,sessions:t,sessionCount:t.size,headers:e.headers})}function g(e){return u.OrderedMap(l.mapValues(e,(function(e){return function(e){return new a.Session(r(r({},e),{responses:(t=e.responses,u.List(t.filter((function(e){return e.isSchemaError})).map((function(e){return function(e){return new a.ResponseRecord({resultID:e.resultID,date:e.date,time:new Date(e.time),isSchemaError:e.isSchemaError||!1})}(e)})))),operations:u.fromJS(e.operations),variableToType:u.Map(e.variableToType),date:e.date?new Date(e.date):void 0,currentQueryStartTime:e.currentQueryStartTime?new Date(e.currentQueryStartTime):void 0,currentQueryEndTime:e.currentQueryEndTime?new Date(e.currentQueryEndTime):void 0,nextQueryStartTime:e.nextQueryStartTime?new Date(e.nextQueryStartTime):void 0}));var t}(e)})))}function v(e){e.shareUrl;var t=i(e,["shareUrl"]);return new s.SharingState(t)}function y(e){return g(e)}function b(e){return new c.GeneralState(e)}t.deserializePersistedState=function(e){return new p.RootState({workspaces:(t=e.workspaces,u.Map(l.mapValues(t,(function(e,t){return new p.Workspace({docs:h(e.docs),sessions:m(e.sessions),sharing:v(e.sharing),history:y(e.history)})})))),selectedWorkspace:e.selectedWorkspace,settingsString:p.normalizeSettingsString(e.settingsString),appHistory:d(e.appHistory),general:b(e.general)});var t}},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,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(33);t.toJS=function(e){return function(t){var n=Object.entries(t).reduce((function(e,t){return e[t[0]]=i.isImmutable(t[1])?t[1].toJS():t[1],e}),{});return r.createElement(e,n)}}},function(e,t,n){"use strict";e.exports=n(335)},function(e,t,n){"use strict";t.Any=n(193),t.Cc=n(194),t.Cf=n(340),t.P=n(117),t.Z=n(195)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),n=0;n<i;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a=[],s=e.delimiters,u=e.delimiters.length;for(t=0;t<u;t++)126===(r=s[t]).marker&&-1!==r.end&&(i=s[r.end],(o=e.tokens[r.token]).type="s_open",o.tag="s",o.nesting=1,o.markup="~~",o.content="",(o=e.tokens[i.token]).type="s_close",o.tag="s",o.nesting=-1,o.markup="~~",o.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&a.push(i.token-1));for(;a.length;){for(n=(t=a.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(o=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=o)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,o,a,s=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=s[t]).marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",(i=e.tokens[r.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=n(381)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var u=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?o(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?c(t,n):u.push(t)}})),u.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function d(e,t){if(!(this instanceof d))return new d(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},d.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},d.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},d.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},d.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},function(e,t,n){(function(e,r){var i;!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,u=2147483647,c=/^xn--/,l=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(f[e])}function g(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function v(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+g((e=e.replace(p,".")).split("."),t).join(".")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return g(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function D(e){var t,n,r,i,o,a,s,c,l,p,f,h=[],g=e.length,v=0,y=128,x=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=v,a=1,s=36;i>=g&&m("invalid-input"),((c=(f=e.charCodeAt(i++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||c>d((u-v)/a))&&m("overflow"),v+=c*a,!(c<(l=s<=x?1:s>=x+26?26:s-x));s+=36)a>d(u/(p=36-l))&&m("overflow"),a*=p;x=E(v-o,t=h.length+1,0==o),d(v/t)>u-y&&m("overflow"),y+=d(v/t),v%=t,h.splice(v++,0,y)}return b(h)}function C(e){var t,n,r,i,o,a,s,c,l,p,f,g,v,b,D,C=[];for(g=(e=y(e)).length,t=128,n=0,o=72,a=0;a<g;++a)(f=e[a])<128&&C.push(h(f));for(r=i=C.length,i&&C.push("-");r<g;){for(s=u,a=0;a<g;++a)(f=e[a])>=t&&f<s&&(s=f);for(s-t>d((u-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,a=0;a<g;++a)if((f=e[a])<t&&++n>u&&m("overflow"),f==t){for(c=n,l=36;!(c<(p=l<=o?1:l>=o+26?26:l-o));l+=36)D=c-p,b=36-p,C.push(h(x(p+D%b,0))),c=d(D/b);C.push(h(x(c,0))),o=E(n,v,r==i),n=0,++r}++n,++t}return C.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:b},decode:D,encode:C,toASCII:function(e){return v(e,(function(e){return l.test(e)?"xn--"+C(e):e}))},toUnicode:function(e){return v(e,(function(e){return c.test(e)?D(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(189)(e),n(37))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(385);t.default=function(t,i,o){var a,s,u;n(14).on(i,"select",(function(n,i){if(!a){var c=i.parentNode,l=c.parentNode;a=document.createElement("div"),l.appendChild(a);var p=c.style.top,f="",d=t.cursorCoords().top;parseInt(p,10)<d&&(p="",f=window.innerHeight-d+3+"px"),a.className="CodeMirror-hints-wrapper",a.style.left=c.style.left,a.style.top=p,a.style.bottom=f,c.style.left="",c.style.top="",(s=document.createElement("div")).className="CodeMirror-hint-information",(u=document.createElement("div")).className="CodeMirror-hint-deprecation",f?(a.appendChild(u),a.appendChild(s),a.appendChild(c)):(a.appendChild(c),a.appendChild(s),a.appendChild(u));var h,m=a.clientHeight,g=parseFloat(String(p).replace("px","")),v=g;m+g>window.innerHeight&&(v=window.innerHeight-40-m),a.style.top=v+"px",e.wrapper=a,a.addEventListener("DOMNodeRemoved",h=function(e){e.target===c&&(a.removeEventListener("DOMNodeRemoved",h),a.parentNode.removeChild(a),a=null,s=null,h=null)})}var y=n.description?r(n.description,{sanitize:!0}):"",b=n.type&&"undefined"!==n.type?'<span class="infoType">'+function(e){return'<a class="typeName">'+e+"</a>"}(n.type)+"</span>":"";if(s.innerHTML='<div class="content">'+("<p>"===y.slice(0,3)?"<p>"+b+y.slice(3):b+y)+"</div>",n.isDeprecated){var x=n.deprecationReason?r(n.deprecationReason,{sanitize:!0}):"";u.innerHTML='<span class="deprecation-label">Deprecated</span>'+x,u.style.display="block"}else u.style.display="none";o&&o(s)}))}}).call(this,n(37))},function(e,t,n){!function(e){"use strict";var t={},n=/[^\s\u00a0]/,r=e.Pos;function i(e){var t=e.search(n);return-1==t?0:t}function o(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),u=i[a].to();s.line>=n||(u.line>=n&&(u=r(n,0)),n=s.line,null==o?this.uncomment(s,u,e)?o="un":(this.lineComment(s,u,e),o="line"):"un"==o?this.uncomment(s,u,e):this.lineComment(s,u,e))}})),e.defineExtension("lineComment",(function(e,a,s){s||(s=t);var u=this,c=o(u,e),l=u.getLine(e.line);if(null!=l&&(p=e,f=l,!/\bstring\b/.test(u.getTokenTypeAt(r(p.line,0)))||/^[\'\"\`]/.test(f))){var p,f,d=s.lineComment||c.lineComment;if(d){var h=Math.min(0!=a.ch||a.line==e.line?a.line+1:a.line,u.lastLine()+1),m=null==s.padding?" ":s.padding,g=s.commentBlankLines||e.line==a.line;u.operation((function(){if(s.indent){for(var t=null,o=e.line;o<h;++o){var a=(c=u.getLine(o)).slice(0,i(c));(null==t||t.length>a.length)&&(t=a)}for(o=e.line;o<h;++o){var c=u.getLine(o),l=t.length;(g||n.test(c))&&(c.slice(0,l)!=t&&(l=i(c)),u.replaceRange(t+d+m,r(o,0),r(o,l)))}}else for(o=e.line;o<h;++o)(g||n.test(u.getLine(o)))&&u.replaceRange(d+m,r(o,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,u.blockComment(e,a,s))}})),e.defineExtension("blockComment",(function(e,i,a){a||(a=t);var s=this,u=o(s,e),c=a.blockCommentStart||u.blockCommentStart,l=a.blockCommentEnd||u.blockCommentEnd;if(c&&l){if(!/\bcomment\b/.test(s.getTokenTypeAt(r(e.line,0)))){var p=Math.min(i.line,s.lastLine());p!=e.line&&0==i.ch&&n.test(s.getLine(p))&&--p;var f=null==a.padding?" ":a.padding;e.line>p||s.operation((function(){if(0!=a.fullLines){var t=n.test(s.getLine(p));s.replaceRange(f+l,r(p)),s.replaceRange(c+f,r(e.line,0));var o=a.blockCommentLead||u.blockCommentLead;if(null!=o)for(var d=e.line+1;d<=p;++d)(d!=p||t)&&s.replaceRange(o+f,r(d,0))}else s.replaceRange(l,i),s.replaceRange(c,e)}))}}else(a.lineComment||u.lineComment)&&0!=a.fullLines&&s.lineComment(e,i,a)})),e.defineExtension("uncomment",(function(e,i,a){a||(a=t);var s,u=this,c=o(u,e),l=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,u.lastLine()),p=Math.min(e.line,l),f=a.lineComment||c.lineComment,d=[],h=null==a.padding?" ":a.padding;e:if(f){for(var m=p;m<=l;++m){var g=u.getLine(m),v=g.indexOf(f);if(v>-1&&!/comment/.test(u.getTokenTypeAt(r(m,v+1)))&&(v=-1),-1==v&&n.test(g))break e;if(v>-1&&n.test(g.slice(0,v)))break e;d.push(g)}if(u.operation((function(){for(var e=p;e<=l;++e){var t=d[e-p],n=t.indexOf(f),i=n+f.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,u.replaceRange("",r(e,n),r(e,i)))}})),s)return!0}var y=a.blockCommentStart||c.blockCommentStart,b=a.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var x=a.blockCommentLead||c.blockCommentLead,E=u.getLine(p),D=E.indexOf(y);if(-1==D)return!1;var C=l==p?E:u.getLine(l),w=C.indexOf(b,l==p?D+y.length:0),S=r(p,D+1),k=r(l,w+1);if(-1==w||!/comment/.test(u.getTokenTypeAt(S))||!/comment/.test(u.getTokenTypeAt(k))||u.getRange(S,k,"\n").indexOf(b)>-1)return!1;var A=E.lastIndexOf(y,e.ch),T=-1==A?-1:E.slice(0,e.ch).indexOf(b,A+y.length);if(-1!=A&&-1!=T&&T+b.length!=e.ch)return!1;T=C.indexOf(b,i.ch);var _=C.slice(i.ch).lastIndexOf(y,T-i.ch);return A=-1==T||-1==_?-1:i.ch+_,(-1==T||-1==A||A==i.ch)&&(u.operation((function(){u.replaceRange("",r(l,w-(h&&C.slice(w-h.length,w)==h?h.length:0)),r(l,w+b.length));var e=D+y.length;if(h&&E.slice(e,e+h.length)==h&&(e+=h.length),u.replaceRange("",r(p,D),r(p,e)),x)for(var t=p+1;t<=l;++t){var i=u.getLine(t),o=i.indexOf(x);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+x.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),u.replaceRange("",r(t,o),r(t,a))}}})),!0)}))}(n(14))},function(e,t,n){!function(e){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return"string"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:r(t),multiline:!0})}function o(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function a(e){return e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e}))}function s(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(n){}else e=a(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function u(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,i,a){var s=n(t);if(s.query)return l(t,r);var c=t.getSelection()||s.lastQuery;if(c instanceof RegExp&&"x^"==c.source&&(c=null),i&&t.openDialog){var d=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(u(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),l(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){p(e)},onKeyDown:i})}(t,f(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption("extraKeys"),s=a&&a[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==s||"findPrev"==s||"findPersistentNext"==s||"findPersistentPrev"==s?(e.e_stop(r),u(t,n(t),i),t.execCommand(s)):"find"!=s&&"findPersistent"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(u(t,s,c),l(t,r))}else o(t,f(t),"Search for:",c,(function(e){e&&!s.query&&t.operation((function(){u(t,s,e),s.posFrom=s.posTo=t.getCursor(),l(t,r)}))}))}function l(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function p(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function f(e){return'<span class="CodeMirror-search-label">'+e.phrase("Search:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use /re/ syntax for regexp search)")+"</span>"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if("string"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption("readOnly")){var r=e.getSelection()||n(e).lastQuery,u='<span class="CodeMirror-search-label">'+(t?e.phrase("Replace all:"):e.phrase("Replace:"))+"</span>";o(e,u+function(e){return' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use /re/ syntax for regexp search)")+"</span>"}(e),u,r,(function(n){n&&(n=s(n),o(e,function(e){return'<span class="CodeMirror-search-label">'+e.phrase("With:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>'}(e),e.phrase("Replace with:"),"",(function(r){if(r=a(r),t)d(e,n,r);else{p(e);var o=i(e,n,e.getCursor("from")),s=function t(){var a,s=o.from();!(a=o.findNext())&&(o=i(e,n),!(a=o.findNext())||s&&o.from().line==s.line&&o.from().ch==s.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return'<span class="CodeMirror-search-label">'+e.phrase("Replace?")+"</span> <button>"+e.phrase("Yes")+"</button> <button>"+e.phrase("No")+"</button> <button>"+e.phrase("All")+"</button> <button>"+e.phrase("Stop")+"</button> "}(e),e.phrase("Replace?"),[function(){u(a)},t,function(){d(e,n,r)}]))},u=function(e){o.replace("string"==typeof n?r:r.replace(/\$(\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.commands.find=function(e){p(e),c(e)},e.commands.findPersistent=function(e){p(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=p,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(14),n(77),n(78))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,a.default)(t,(function(t){switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=(0,i.getNamedType)(n.type);break;case"Directive":n.directiveDef=t.name&&e.getDirective(t.name);break;case"Arguments":var r="Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null;n.argDefs=r&&r.args;break;case"Argument":if(n.argDef=null,n.argDefs)for(var o=0;o<n.argDefs.length;o++)if(n.argDefs[o].name===t.name){n.argDef=n.argDefs[o];break}n.inputType=n.argDef&&n.argDef.type;break;case"EnumValue":var a=(0,i.getNamedType)(n.inputType);n.enumValue=a instanceof i.GraphQLEnumType?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}(a.getValues(),(function(e){return e.value===t.name})):null;break;case"ListValue":var u=(0,i.getNullableType)(n.inputType);n.inputType=u instanceof i.GraphQLList?u.ofType:null;break;case"ObjectValue":var c=(0,i.getNamedType)(n.inputType);n.objectFieldDefs=c instanceof i.GraphQLInputObjectType?c.getFields():null;break;case"ObjectField":var l=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=l&&l.type;break;case"NamedType":n.type=e.getType(t.name)}})),n};var r,i=n(22),o=n(11),a=(r=n(205))&&r.__esModule?r:{default:r};function s(e,t,n){return n===o.SchemaMetaFieldDef.name&&e.getQueryType()===t?o.SchemaMetaFieldDef:n===o.TypeMetaFieldDef.name&&e.getQueryType()===t?o.TypeMetaFieldDef:n===o.TypeNameMetaFieldDef.name&&(0,i.isCompositeType)(t)?o.TypeNameMetaFieldDef:t.getFields?t.getFields()[n]:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=[],r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(var i=n.length-1;i>=0;i--)t(n[i])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldReference=function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:"EnumValue",value:e.enumValue,type:(0,r.getNamedType)(e.inputType)}},t.getTypeReference=function(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}};var r=n(22);function i(e){return"__"===e.name.slice(0,2)}},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(62);function a(e,t){var n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}i.default.defineMode("graphql",(function(e){var t=(0,o.onlineParser)({eatWhitespace:function(e){return e.eatWhile(o.isIgnored)},lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}}))},function(e,t,n){"use strict";var r=n(402),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,u,c,l=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),o=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:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return l}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(3),a=n(8),s=n(56);t.Button=function(e){var n=e.purple,r=e.hideArrow,i=e.children,a=e.onClick;return o.createElement(t.ButtonBox,{purple:n,onClick:a},i||"Learn more",!r&&o.createElement(s.FullArrowRightIcon,{color:"red",width:14,height:11}))},t.ButtonBox=a.styled("div")(i||(i=r(["\n display: flex;\n align-items: center;\n\n padding: 6px 16px;\n border-radius: 2px;\n background: ",";\n color: ",";\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 1px;\n white-space: nowrap;\n\n transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;\n cursor: pointer;\n &:hover {\n background: ",";\n transform: ",";\n svg {\n animation: move 1s ease infinite;\n }\n }\n\n svg {\n margin-left: 10px;\n fill: ",";\n }\n\n @keyframes move {\n 0% {\n transform: translate3D(0, 0, 0);\n }\n\n 50% {\n transform: translate3D(3px, 0, 0);\n }\n\n 100% {\n transform: translate3D(0, 0, 0);\n }\n }\n"],["\n display: flex;\n align-items: center;\n\n padding: 6px 16px;\n border-radius: 2px;\n background: ",";\n color: ",";\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);\n text-transform: uppercase;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 1px;\n white-space: nowrap;\n\n transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;\n cursor: pointer;\n &:hover {\n background: ",";\n transform: ",";\n svg {\n animation: move 1s ease infinite;\n }\n }\n\n svg {\n margin-left: 10px;\n fill: ",";\n }\n\n @keyframes move {\n 0% {\n transform: translate3D(0, 0, 0);\n }\n\n 50% {\n transform: translate3D(3px, 0, 0);\n }\n\n 100% {\n transform: translate3D(0, 0, 0);\n }\n }\n"])),(function(e){return e.purple?"rgb(218, 27, 127)":"#2a7ed2"}),(function(e){return e.theme.colours.white}),(function(e){return e.purple?"rgb(164, 3, 111)":"#3f8ad7"}),(function(e){return e.purple?"translate3D(0, 0, 0)":"translate3D(0, -1px, 0)"}),(function(e){return e.theme.colours.white}))},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(8);t.default=o.styled.div(i||(i=r(["\n width: 20px;\n height: 20px;\n"],["\n width: 20px;\n height: 20px;\n"])))},function(e,t,n){"use strict";var r=s(n(14)),i=n(22),o=s(n(205)),a=s(n(415));function s(e){return e&&e.__esModule?e:{default:e}}r.default.registerHelper("hint","graphql-variables",(function(e,t){var n=e.getCursor(),s=e.getTokenAt(n),u=function(e,t,n){var r="Invalid"===t.state.kind?t.state.prevState:t.state,s=r.kind,u=r.step;if("Document"===s&&0===u)return(0,a.default)(e,t,[{text:"{"}]);var c=n.variableToType;if(!c)return;var l=function(e,t){var n={type:null,fields:null};return(0,o.default)(t,(function(t){if("Variable"===t.kind)n.type=e[t.name];else if("ListValue"===t.kind){var r=(0,i.getNullableType)(n.type);n.type=r instanceof i.GraphQLList?r.ofType:null}else if("ObjectValue"===t.kind){var o=(0,i.getNamedType)(n.type);n.fields=o instanceof i.GraphQLInputObjectType?o.getFields():null}else if("ObjectField"===t.kind){var a=t.name&&n.fields?n.fields[t.name]:null;n.type=a&&a.type}})),n}(c,t.state);if("Document"===s||"Variable"===s&&0===u){var p=Object.keys(c);return(0,a.default)(e,t,p.map((function(e){return{text:'"'.concat(e,'": '),type:c[e]}})))}if(("ObjectValue"===s||"ObjectField"===s&&0===u)&&l.fields){var f=Object.keys(l.fields).map((function(e){return l.fields[e]}));return(0,a.default)(e,t,f.map((function(e){return{text:'"'.concat(e.name,'": '),type:e.type,description:e.description}})))}if("StringValue"===s||"NumberValue"===s||"BooleanValue"===s||"NullValue"===s||"ListValue"===s&&1===u||"ObjectField"===s&&2===u||"Variable"===s&&2===u){var d=(0,i.getNamedType)(l.type);if(d instanceof i.GraphQLInputObjectType)return(0,a.default)(e,t,[{text:"{"}]);if(d instanceof i.GraphQLEnumType){var h=d.getValues(),m=Object.keys(h).map((function(e){return h[e]}));return(0,a.default)(e,t,m.map((function(e){return{text:'"'.concat(e.name,'"'),type:d,description:e.description}})))}if(d===i.GraphQLBoolean)return(0,a.default)(e,t,[{text:"true",type:i.GraphQLBoolean,description:"Not false."},{text:"false",type:i.GraphQLBoolean,description:"Not true."}])}}(n,s,t);return u&&u.list&&u.list.length>0&&(u.from=r.default.Pos(u.from.line,u.from.column),u.to=r.default.Pos(u.to.line,u.to.column),r.default.signal(e,"hasCompletion",e,u,s)),u}))},function(e,t,n){"use strict";var r=n(181),i=s(n(14)),o=n(22),a=s(n(416));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return{message:n,severity:"error",type:"validation",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function c(e,t){return Array.prototype.concat.apply([],e.map(t))}i.default.registerHelper("lint","graphql-variables",(function(e,t,n){if(!e)return[];var i;try{i=(0,a.default)(e)}catch(l){if(l.stack)throw l;return[u(n,l,l.message)]}var s=t.variableToType;return s?function(e,t,n){var i=[];return n.members.forEach((function(n){var a=n.key.value,s=t[a];s?function e(t,n){if(t instanceof o.GraphQLNonNull)return"Null"===n.kind?[[n,'Type "'.concat(t,'" is non-nullable and cannot be null.')]]:e(t.ofType,n);if("Null"===n.kind)return[];if(t instanceof o.GraphQLList){var r=t.ofType;return"Array"===n.kind?c(n.values,(function(t){return e(r,t)})):e(r,n)}if(t instanceof o.GraphQLInputObjectType){if("Object"!==n.kind)return[[n,'Type "'.concat(t,'" must be an Object.')]];var i=Object.create(null),a=c(n.members,(function(n){var r=n.key.value;i[r]=!0;var o=t.getFields()[r];if(!o)return[[n.key,'Type "'.concat(t,'" does not have a field "').concat(r,'".')]];var a=o?o.type:void 0;return e(a,n.value)}));return Object.keys(t.getFields()).forEach((function(e){i[e]||t.getFields()[e].type instanceof o.GraphQLNonNull&&a.push([n,'Object of type "'.concat(t,'" is missing required field "').concat(e,'".')])})),a}if("Boolean"===t.name&&"Boolean"!==n.kind||"String"===t.name&&"String"!==n.kind||"ID"===t.name&&"Number"!==n.kind&&"String"!==n.kind||"Float"===t.name&&"Number"!==n.kind||"Int"===t.name&&("Number"!==n.kind||(0|n.value)!==n.value))return[[n,'Expected value of type "'.concat(t,'".')]];if((t instanceof o.GraphQLEnumType||t instanceof o.GraphQLScalarType)&&("String"!==n.kind&&"Number"!==n.kind&&"Boolean"!==n.kind&&"Null"!==n.kind||(null===(s=t.parseValue(n.value))||void 0===s||s!==s)))return[[n,'Expected value of type "'.concat(t,'".')]];var s;return[]}(s,n.value).forEach((function(t){var n=r(t,2),o=n[0],a=n[1];i.push(u(e,o,a))})):i.push(u(e,n.key,'Variable "$'.concat(a,'" does not appear in any GraphQL query.')))})),i}(n,s,i):[]}))},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(62);function a(e,t){var n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}i.default.defineMode("graphql-variables",(function(e){var t=(0,o.onlineParser)({eatWhitespace:function(e){return e.eatSpace()},lexRules:s,parseRules:u,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}));var s={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},u={Document:[(0,o.p)("{"),(0,o.list)("Variable",(0,o.opt)((0,o.p)(","))),(0,o.p)("}")],Variable:[c("variable"),(0,o.p)(":"),"Value"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Keyword","builtin")],NullValue:[(0,o.t)("Keyword","keyword")],ListValue:[(0,o.p)("["),(0,o.list)("Value",(0,o.opt)((0,o.p)(","))),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField",(0,o.opt)((0,o.p)(","))),(0,o.p)("}")],ObjectField:[c("attribute"),(0,o.p)(":"),"Value"]};function c(e){return{style:e,match:function(e){return"String"===e.kind},update:function(e,t){e.name=t.value.slice(1,-1)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLeft=function(e){var t=0,n=e;for(;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t},t.getTop=function(e){var t=0,n=e;for(;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.activeColor,r=e.active,i=e.onClick,a=e.tabWidth;return o.createElement(c,{onClick:i,activeColor:n,active:r,tabWidth:a},t)},t}(o.PureComponent);t.default=s;var u,c=a.styled("div")(u||(u=i(["\n z-index: ",";\n padding: 8px 8px 8px 8px;\n border-radius: 2px 2px 0px 0px;\n color: ",";\n background: ",";\n box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.3);\n text-transform: uppercase;\n text-align: center;\n font-weight: 600;\n font-size: 12px;\n line-height: 12px;\n letter-spacing: 0.45px;\n cursor: pointer;\n transform: rotate(-90deg);\n transform-origin: bottom left;\n margin-top: 65px;\n width: ",";\n"],["\n z-index: ",";\n padding: 8px 8px 8px 8px;\n border-radius: 2px 2px 0px 0px;\n color: ",";\n background: ",";\n box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.3);\n text-transform: uppercase;\n text-align: center;\n font-weight: 600;\n font-size: 12px;\n line-height: 12px;\n letter-spacing: 0.45px;\n cursor: pointer;\n transform: rotate(-90deg);\n transform-origin: bottom left;\n margin-top: 65px;\n width: ",";\n"])),(function(e){return e.active?10:2}),(function(e){return"dark"===e.theme.mode?e.theme.colours.white:e.theme.colours[e.active?"white":"darkBlue"]}),(function(e){return e.active&&e.activeColor?e.theme.colours[e.activeColor]:"dark"===e.theme.mode?"#3D5866":"#DBDEE0"}),(function(e){return e.tabWidth||"100%"}))},function(e,t){function n(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"===typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"===typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"===typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(8);t.ErrorContainer=o.styled.div(i||(i=r(["\n font-weight: bold;\n left: 0;\n letter-spacing: 1px;\n opacity: 0.5;\n position: absolute;\n right: 0;\n text-align: center;\n text-transform: uppercase;\n top: 50%;\n transform: translate(0, -50%);\n"],["\n font-weight: bold;\n left: 0;\n letter-spacing: 1px;\n opacity: 0.5;\n position: absolute;\n right: 0;\n text-align: center;\n text-transform: uppercase;\n top: 50%;\n transform: translate(0, -50%);\n"])))},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(22),o=n(101),a=n(93),s=["__Schema","__Directive","__DirectiveLocation","__Type","__Field","__InputValue","__EnumValue","__TypeKind","String","ID","Boolean","Int","Float"];function u(e){return e instanceof i.GraphQLInterfaceType?"interface":e instanceof i.GraphQLUnionType?"union":e instanceof i.GraphQLEnumType?"enum":e instanceof i.GraphQLInputObjectType?"input":"type"}function c(e,t){void 0===t&&(t=!0);var n=e.replace(/^\s*$(?:\r\n?|\n)/gm,"").replace(/[}]/gm,"$&\r\n").replace(/(?:scalar )\w+/g,"$&\r\n");return t?n:n.replace(/(?:\#[\w\'\s\r\n\*](.*)$)/gm,"$&\r")}function l(e,t){if(void 0===t&&(t=!0),e instanceof i.GraphQLSchema){var n=i.printSchema(e,{commentDescriptions:!0});if(t){var r=n.replace(/(\#[\w\'\s\r\n\*](.*)$)/gm,"");return c(a.prettify(r,{printWidth:80,tabWidth:2,useTabs:!1}),t)}return c(a.prettify(n,{printWidth:80,tabWidth:2,useTabs:!1}))}return""}function p(e,t,n){var r=new Blob([e],{type:n||"application/octet-stream"});if("undefined"!==typeof window.navigator.msSaveBlob)window.navigator.msSaveBlob(r,t);else{var i=window.URL.createObjectURL(r),o=document.createElement("a");o.style.display="none",o.href=i,o.setAttribute("download",t),"undefined"===typeof o.download&&o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(i)}}t.sdlArray=function(e,t){return(Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))})(e.getTypeMap()).sort((function(e,t){return e.name.localeCompare(t.name)})).filter((function(e){return!s.includes(e.name)})).map((function(t){return r(r(r({},t),o.serialize(e,t)),{instanceOf:u(t)})}))},t.getSDL=l,t.downloadSchema=function(e,t){return"sdl"===t?p(l(e,!1),"schema.graphql"):p(JSON.stringify(e),"introspectionSchema.json")}},function(e,t,n){"use strict";e.exports=n(436)},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=o,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s=[],u=t.length;for(n=0;n<u;n++)126===(i=t[n]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[o.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),n=0;n<i;n+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}},function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=e.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(e,n[t].delimiters)}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(3),a=n(8).styled.div(i||(i=r(["\n color: rgba(0, 0, 0, 0.3);\n cursor: default;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase !important;\n letter-spacing: 1px;\n padding: 16px;\n user-select: none;\n"],["\n color: rgba(0, 0, 0, 0.3);\n cursor: default;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase !important;\n letter-spacing: 1px;\n padding: 16px;\n user-select: none;\n"])));t.CategoryTitle=function(e){var t=e.children;return o.createElement(a,null,t)}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(75),a=n(8);t.default=function(e){var t=e.children,n=e.overflow,r=void 0===n||n,a=e.width,s=void 0===a?o.columnWidth:a;return i.createElement(u,{style:{width:s},verticalScroll:r},t)};var s,u=a.styled("div")(s||(s=r(["\n display: flex;\n flex: 0 0 auto;\n flex-flow: column;\n padding-bottom: 20px;\n border-right: 1px solid ",";\n overflow-x: ","\n overflow-y: ","\n"],["\n display: flex;\n flex: 0 0 auto;\n flex-flow: column;\n padding-bottom: 20px;\n border-right: 1px solid ",";\n overflow-x: ","\n overflow-y: ","\n"])),(function(e){return e.theme.colours.black10}),(function(e){return e.verticalScroll?"hidden":"auto"}),(function(e){return e.verticalScroll?"scroll":"auto"}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(487),s=n(56),u=n(8),c=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){n.setState({value:e.target.value}),n.debouncedOnSearch()},n.state={value:""},n.debouncedOnSearch=a.default(200,(function(){n.props.onSearch(n.state.value)})),n}return r(t,e),t.prototype.shouldComponentUpdate=function(e,t){return t.value!==this.state.value},t.prototype.render=function(){var e=o.createElement(h,null,o.createElement(s.Search,{height:16,width:16,strokeWidth:3,color:"rgba(0, 0, 0, 0.3)"}),o.createElement(m,{onChange:this.handleChange,type:"text",value:this.state.value,placeholder:this.props.placeholder||"Search the docs ..."}));return this.props.clean?e:o.createElement(d,null,e)},t}(o.Component);t.default=c;var l,p,f,d=u.styled.div(l||(l=i(["\n position: relative;\n flex: 0 0 auto;\n z-index: 1;\n display: flex;\n margin-left: 6px;\n padding: 25px;\n background: ",";\n border-bottom: 1px solid ",";\n div {\n width: 100%;\n }\n"],["\n position: relative;\n flex: 0 0 auto;\n z-index: 1;\n display: flex;\n margin-left: 6px;\n padding: 25px;\n background: ",";\n border-bottom: 1px solid ",";\n div {\n width: 100%;\n }\n"])),(function(e){return e.theme.colours.black02}),(function(e){return e.theme.colours.black10})),h=u.styled.div(p||(p=i(["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n padding: 12px 14px 13px 15px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n background: ",";\n"],["\n box-sizing: border-box;\n display: flex;\n align-items: center;\n padding: 12px 14px 13px 15px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n background: ",";\n"])),(function(e){return e.theme.colours.white})),m=u.styled.input(f||(f=i(["\n font-size: 16px;\n margin-left: 10px;\n &::placeholder {\n color: ",";\n }\n"],["\n font-size: 16px;\n margin-left: 10px;\n &::placeholder {\n color: ",";\n }\n"])),(function(e){return e.theme.colours.black30}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(492),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var r=/input|select|textarea|button|object/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function o(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&o(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=u,t.setElement=function(e){var t=e;if("string"===typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);u(n,t),t="length"in n?n[0]:n}return s=t||s},t.validateElement=c,t.hide=function(e){c(e)&&(e||s).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||s).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){s=null},t.resetForTesting=function(){s=null};var r,i=n(496),o=(r=i)&&r.__esModule?r:{default:r},a=n(149);var s=null;function u(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!s)||((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]};t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(26),i=n(38);t.getHistory=r.createSelector([i.getSelectedWorkspace],(function(e){return e.history}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWorkspaceId=function(e){return""+(e.configPath?e.configPath+"~":"")+(e.workspaceName?e.workspaceName+"~":"")+e.endpoint}},function(e,t){t.__esModule=!0;t.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"};var n=t.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},r=(t.VALID_TAG_NAMES=Object.keys(n).map((function(e){return n[e]})),t.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},t.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});t.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},t.HTML_TAG_MAP=Object.keys(r).reduce((function(e,t){return e[r[t]]=t,e}),{}),t.SELF_CLOSING_TAGS=[n.NOSCRIPT,n.SCRIPT,n.STYLE],t.HELMET_ATTRIBUTE="data-react-helmet"},function(e,t,n){"use strict";var r=n(86);e.exports=new r({include:[n(234)]})},function(e,t,n){"use strict";var r=n(86);e.exports=new r({include:[n(151)],implicit:[n(523),n(524),n(525),n(526)]})},function(e,t,n){n(555),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";n.r(t),n.d(t,"getDefinitionState",(function(){return o})),n.d(t,"getFieldDef",(function(){return a})),n.d(t,"forEachState",(function(){return s})),n.d(t,"objectValues",(function(){return u})),n.d(t,"hintList",(function(){return c})),n.d(t,"getAutocompleteSuggestions",(function(){return v})),n.d(t,"LANGUAGE",(function(){return E.a})),n.d(t,"getDefinitionQueryResultForFragmentSpread",(function(){return E.c})),n.d(t,"getDefinitionQueryResultForDefinitionNode",(function(){return E.b})),n.d(t,"getDiagnostics",(function(){return _})),n.d(t,"validateQuery",(function(){return O})),n.d(t,"getOutline",(function(){return z})),n.d(t,"getHoverInformation",(function(){return q})),n.d(t,"GraphQLLanguageService",(function(){return ye}));var r=n(0),i=n(11);function o(e){var t;return s(e,(function(e){switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function a(e,t,n){return n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t?i.SchemaMetaFieldDef:n===i.TypeMetaFieldDef.name&&e.getQueryType()===t?i.TypeMetaFieldDef:n===i.TypeNameMetaFieldDef.name&&Object(r.D)(t)?i.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function s(e,t){for(var n=[],r=e;r&&r.kind;)n.push(r),r=r.prevState;for(var i=n.length-1;i>=0;i--)t(n[i])}function u(e){for(var t=Object.keys(e),n=t.length,r=new Array(n),i=0;i<n;++i)r[i]=e[t[i]];return r}function c(e,t){return function(e,t){if(!t)return l(e,(function(e){return!e.isDeprecated}));return l(l(e.map((function(e){return{proximity:f(p(e.label),t),entry:e}})),(function(e){return e.proximity<=2})),(function(e){return!e.entry.isDeprecated})).sort((function(e,t){return(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length})).map((function(e){return e.entry}))}(t,p(e.string))}function l(e,t){var n=e.filter(t);return 0===n.length?e:n}function p(e){return e.toLowerCase().replace(/\W/g,"")}function f(e,t){var n=function(e,t){var n,r,i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){var s=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+s),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+s))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}var d=n(72),h=n(13),m=n(71),g=n(62);function v(e,t,n,a){var s=a||y(t,n),l="Invalid"===s.state.kind?s.state.prevState:s.state;if(!l)return[];var p=l.kind,f=l.step,d=x(e,s.state);if("Document"===p)return c(s,[{label:"query"},{label:"mutation"},{label:"subscription"},{label:"fragment"},{label:"{"}]);if("SelectionSet"===p||"Field"===p||"AliasedField"===p)return function(e,t,n){if(t.parentType){var o=t.parentType,a="getFields"in o?u(o.getFields()):[];return Object(r.D)(o)&&a.push(i.TypeNameMetaFieldDef),o===n.getQueryType()&&a.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),c(e,a.map((function(e,t){return{sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})))}return[]}(s,d,e);if("Arguments"===p||"Argument"===p&&0===f){var g=d.argDefs;if(g)return c(s,g.map((function(e){return{label:e.name,detail:String(e.type),documentation:e.description}})))}if(("ObjectValue"===p||"ObjectField"===p&&0===f)&&d.objectFieldDefs)return c(s,u(d.objectFieldDefs).map((function(e){return{label:e.name,detail:String(e.type),documentation:e.description}})));return"EnumValue"===p||"ListValue"===p&&1===f||"ObjectField"===p&&2===f||"Argument"===p&&2===f?function(e,t){var n=Object(r.A)(t.inputType);if(n instanceof r.a){var i=n.getValues();return c(e,i.map((function(e){return{label:e.name,detail:String(n),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})))}if(n===h.a)return c(e,[{label:"true",detail:String(h.a),documentation:"Not false."},{label:"false",detail:String(h.a),documentation:"Not true."}]);return[]}(s,d):"TypeCondition"===p&&1===f||"NamedType"===p&&null!=l.prevState&&"TypeCondition"===l.prevState.kind?function(e,t,n){var i;if(t.parentType)if(Object(r.C)(t.parentType)){var o=Object(r.j)(t.parentType),a=n.getPossibleTypes(o),s=Object.create(null);a.forEach((function(e){e.getInterfaces().forEach((function(e){s[e.name]=e}))})),i=a.concat(u(s))}else i=[t.parentType];else{var l=n.getTypeMap();i=u(l).filter(r.D)}return c(e,i.map((function(e){var t=Object(r.A)(e);return{label:String(e),documentation:t&&t.description||""}})))}(s,d,e):"FragmentSpread"===p&&1===f?function(e,t,n,i){var a=n.getTypeMap(),s=o(e.state),u=function(e){var t=[];return b(e,(function(e,n){"FragmentDefinition"===n.kind&&n.name&&n.type&&t.push({kind:"FragmentDefinition",name:{kind:"Name",value:n.name},selectionSet:{kind:"SelectionSet",selections:[]},typeCondition:{kind:"NamedType",name:{kind:"Name",value:n.type}}})})),t}(i).filter((function(e){return a[e.typeCondition.name.value]&&!(s&&"FragmentDefinition"===s.kind&&s.name===e.name.value)&&Object(r.D)(t.parentType)&&Object(r.D)(a[e.typeCondition.name.value])&&Object(m.a)(n,t.parentType,a[e.typeCondition.name.value])}));return c(e,u.map((function(e){return{label:e.name.value,detail:String(a[e.typeCondition.name.value]),documentation:"fragment ".concat(e.name.value," on ").concat(e.typeCondition.name.value)}})))}(s,d,e,t):"VariableDefinition"===p&&2===f||"ListType"===p&&1===f||"NamedType"===p&&l.prevState&&("VariableDefinition"===l.prevState.kind||"ListType"===l.prevState.kind)?function(e,t){var n=u(t.getTypeMap()).filter(r.G);return c(e,n.map((function(e){return{label:e.name,documentation:e.description}})))}(s,e):"Directive"===p?function(e,t,n){if(t.prevState&&t.prevState.kind){var r=n.getDirectives().filter((function(e){return function(e,t){if(!e||!e.kind)return!1;var n=e.kind,r=t.locations;switch(n){case"Query":return-1!==r.indexOf("QUERY");case"Mutation":return-1!==r.indexOf("MUTATION");case"Subscription":return-1!==r.indexOf("SUBSCRIPTION");case"Field":case"AliasedField":return-1!==r.indexOf("FIELD");case"FragmentDefinition":return-1!==r.indexOf("FRAGMENT_DEFINITION");case"FragmentSpread":return-1!==r.indexOf("FRAGMENT_SPREAD");case"InlineFragment":return-1!==r.indexOf("INLINE_FRAGMENT");case"SchemaDef":return-1!==r.indexOf("SCHEMA");case"ScalarDef":return-1!==r.indexOf("SCALAR");case"ObjectTypeDef":return-1!==r.indexOf("OBJECT");case"FieldDef":return-1!==r.indexOf("FIELD_DEFINITION");case"InterfaceDef":return-1!==r.indexOf("INTERFACE");case"UnionDef":return-1!==r.indexOf("UNION");case"EnumDef":return-1!==r.indexOf("ENUM");case"EnumValue":return-1!==r.indexOf("ENUM_VALUE");case"InputDef":return-1!==r.indexOf("INPUT_OBJECT");case"InputValueDef":switch(e.prevState&&e.prevState.kind){case"ArgumentsDef":return-1!==r.indexOf("ARGUMENT_DEFINITION");case"InputDef":return-1!==r.indexOf("INPUT_FIELD_DEFINITION")}}return!1}(t.prevState,e)}));return c(e,r.map((function(e){return{label:e.name,documentation:e.description||""}})))}return[]}(s,l,e):[]}function y(e,t){var n=null,r=null,i=null,o=b(e,(function(e,o,a,s){if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object(d.a)({},o),i=e.current(),"BREAK"}));return{start:o.start,end:o.end,string:i||o.string,state:r||o.state,style:n||o.style}}function b(e,t){for(var n=e.split("\n"),r=Object(g.onlineParser)(),i=r.startState(),o="",a=new g.CharacterStream(""),s=0;s<n.length;s++){for(a=new g.CharacterStream(n[s]);!a.eol();){if("BREAK"===t(a,i,o=r.token(a,i),s))break}t(a,i,o,s),i.kind||(i=r.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:i,style:o}}function x(e,t){var n,i,o,u,c,l,p,f,d;return s(t,(function(t){switch(t.kind){case"Query":case"ShortQuery":d=e.getQueryType();break;case"Mutation":d=e.getMutationType();break;case"Subscription":d=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(d=e.getType(t.type));break;case"Field":case"AliasedField":d&&t.name?(c=f?a(e,f,t.name):null,d=c?c.type:null):c=null;break;case"SelectionSet":f=Object(r.A)(d);break;case"Directive":o=t.name?e.getDirective(t.name):null;break;case"Arguments":if(t.prevState)switch(t.prevState.kind){case"Field":i=c&&c.args;break;case"Directive":i=o&&o.args;break;case"AliasedField":var s=t.prevState&&t.prevState.name;if(!s){i=null;break}var h=f?a(e,f,s):null;if(!h){i=null;break}i=h.args;break;default:i=null}else i=null;break;case"Argument":if(i)for(var m=0;m<i.length;m++)if(i[m].name===t.name){n=i[m];break}l=n&&n.type;break;case"EnumValue":var g=Object(r.A)(l);u=g instanceof r.a?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}(g.getValues(),(function(e){return e.value===t.name})):null;break;case"ListValue":var v=Object(r.B)(l);l=v instanceof r.d?v.ofType:null;break;case"ObjectValue":var y=Object(r.A)(l);p=y instanceof r.b?y.getFields():null;break;case"ObjectField":var b=t.name&&p?p[t.name]:null;l=b&&b.type;break;case"NamedType":t.name&&(d=e.getType(t.name))}})),{argDef:n,argDefs:i,directiveDef:o,enumValue:u,fieldDef:c,inputType:l,objectFieldDefs:p,parentType:f,type:d}}var E=n(73),D=n(64),C=n.n(D),w=n(74),S=n(569),k=n(30),A=1,T=2;function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=null;try{i=Object(w.a)(e)}catch(a){var o=I(a.locations[0],e);return[{severity:A,message:a.message,source:"GraphQL: Syntax",range:o}]}return O(i,t,n,r)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(!t)return[];var i=F(Object(k.validateWithCustomRules)(t,e,n,r),(function(e){return N(e,A,"Validation")})),o=S.a?F(Object(S.a)(t,e),(function(e){return N(e,T,"Deprecation")})):[];return i.concat(o)}function F(e,t){return Array.prototype.concat.apply([],e.map(t))}function N(e,t,n){return e.nodes?e.nodes.map((function(r){var i="Variable"!==r.kind&&"name"in r?r.name:"variable"in r?r.variable:r;C()(e.locations,"GraphQL validation error requires locations.");var o=e.locations[0],a=function(e){var t=e.loc;return C()(t,"Expected ASTNode to have a location."),t}(i),s=o.column+(a.end-a.start);return{source:"GraphQL: ".concat(n),message:e.message,severity:t,range:new k.Range(new k.Position(o.line-1,o.column-1),new k.Position(o.line-1,s))}})):[]}function I(e,t){var n=Object(g.onlineParser)(),r=n.startState(),i=t.split("\n");C()(i.length>=e.line,"Query text must have more lines than where the error happened");for(var o=null,a=0;a<e.line;a++)for(o=new g.CharacterStream(i[a]);!o.eol();){if("invalidchar"===n.token(o,r))break}C()(o,"Expected Parser stream to be available.");var s=e.line-1,u=o.getStartOfToken(),c=o.getCurrentPosition();return new k.Range(new k.Position(s,u),new k.Position(s,c))}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(e){return function(e){if(Array.isArray(e))return M(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var L=n(1),P=n(20),R=L.a.INLINE_FRAGMENT,B={Field:!0,OperationDefinition:!0,Document:!0,SelectionSet:!0,Name:!0,FragmentDefinition:!0,FragmentSpread:!0,InlineFragment:!0};function z(e){var t;try{t=Object(w.a)(e)}catch(r){return null}var n=function(e){var t=function(t){return{representativeName:t.name,startPosition:Object(k.offsetToPosition)(e,t.loc.start),endPosition:Object(k.offsetToPosition)(e,t.loc.end),children:t.selectionSet||[]}};return{Field:function(e){var n=e.alias?[U("plain",e.alias),U("plain",": ")]:[];return n.push(U("plain",e.name)),Object(d.a)({tokenizedText:n},t(e))},OperationDefinition:function(e){return Object(d.a)({tokenizedText:[U("keyword",e.operation),U("whitespace"," "),U("class-name",e.name)]},t(e))},Document:function(e){return e.definitions},SelectionSet:function(e){return function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r],r);Array.isArray(i)?n.push.apply(n,j(i)):n.push(i)}return n}(e.selections,(function(e){return e.kind===R?e.selectionSet:e}))},Name:function(e){return e.value},FragmentDefinition:function(e){return Object(d.a)({tokenizedText:[U("keyword","fragment"),U("whitespace"," "),U("class-name",e.name)]},t(e))},FragmentSpread:function(e){return Object(d.a)({tokenizedText:[U("plain","..."),U("class-name",e.name)]},t(e))},InlineFragment:function(e){return e.selectionSet}}}(e);return{outlineTrees:Object(P.c)(t,{leave:function(e){return B.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null}})}}function U(e,t){return{kind:e,value:t}}function q(e,t,n,r){var i=r||y(t,n);if(!e||!i||!i.state)return"";var o=i.state,a=o.kind,s=o.step,u=x(e,i.state),c={schema:e};if("Field"===a&&0===s&&u.fieldDef||"AliasedField"===a&&2===s&&u.fieldDef){var l=[];return function(e,t,n){V(e,t,n),W(e,t,n,t.type)}(l,u,c),K(l,c,u.fieldDef),l.join("").trim()}if("Directive"===a&&1===s&&u.directiveDef){var p=[];return H(p,u,c),K(p,c,u.directiveDef),p.join("").trim()}if("Argument"===a&&0===s&&u.argDef){var f=[];return function(e,t,n){t.directiveDef?H(e,t,n):t.fieldDef&&V(e,t,n);if(!t.argDef)return;var r=t.argDef.name;J(e,"("),J(e,r),W(e,t,n,t.inputType),J(e,")")}(f,u,c),K(f,c,u.argDef),f.join("").trim()}if("EnumValue"===a&&u.enumValue&&"description"in u.enumValue){var d=[];return function(e,t,n){if(!t.enumValue)return;var r=t.enumValue.name;G(e,t,n,t.inputType),J(e,"."),J(e,r)}(d,u,c),K(d,c,u.enumValue),d.join("").trim()}if("NamedType"===a&&u.type&&"description"in u.type){var h=[];return G(h,u,c,u.type),K(h,c,u.type),h.join("").trim()}return""}function V(e,t,n){if(t.fieldDef){var r=t.fieldDef.name;"__"!==r.slice(0,2)&&(G(e,t,n,t.parentType),J(e,".")),J(e,r)}}function H(e,t,n){t.directiveDef&&J(e,"@"+t.directiveDef.name)}function W(e,t,n,r){J(e,": "),G(e,t,n,r)}function G(e,t,n,i){i&&(i instanceof r.e?(G(e,t,n,i.ofType),J(e,"!")):i instanceof r.d?(J(e,"["),G(e,t,n,i.ofType),J(e,"]")):J(e,i.name))}function K(e,t,n){if(n){var r="string"===typeof n.description?n.description:null;r&&(J(e,"\n\n"),J(e,r)),function(e,t,n){if(!n)return;var r=n.deprecationReason?n.deprecationReason:null;if(!r)return;J(e,"\n\n"),J(e,"Deprecated: "),J(e,r)}(e,0,n)}}function J(e,t){e.push(t)}var Y=n(32),Q=n.n(Y),$=n(63),X=n(66),Z=n(67),ee=n(19),te=L.a.FRAGMENT_DEFINITION,ne=L.a.OBJECT_TYPE_DEFINITION,re=L.a.INTERFACE_TYPE_DEFINITION,ie=L.a.ENUM_TYPE_DEFINITION,oe=L.a.UNION_TYPE_DEFINITION,ae=L.a.SCALAR_TYPE_DEFINITION,se=L.a.INPUT_OBJECT_TYPE_DEFINITION,ue=L.a.SCALAR_TYPE_EXTENSION,ce=L.a.OBJECT_TYPE_EXTENSION,le=L.a.INTERFACE_TYPE_EXTENSION,pe=L.a.UNION_TYPE_EXTENSION,fe=L.a.ENUM_TYPE_EXTENSION,de=L.a.INPUT_OBJECT_TYPE_EXTENSION,he=L.a.DIRECTIVE_DEFINITION,me=L.a.FRAGMENT_SPREAD,ge=L.a.OPERATION_DEFINITION,ve=L.a.NAMED_TYPE,ye=function(){function e(t){Object(X.a)(this,e),this._graphQLCache=t,this._graphQLConfig=t.getGraphQLConfig()}return Object(Z.a)(e,[{key:"getConfigForURI",value:function(e){var t=this._graphQLConfig.getConfigForFile(e);if(t)return t;throw Error("No config found for uri: ".concat(e))}},{key:"getDiagnostics",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r){var i,o,a,s,u,c,l,p,f,d,h,m,g,v,y,b,x;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=!1,o=this.getConfigForURI(n),a=o.schemaPath,s=o.projectName,u=o.extensions,e.prev=3,c=Object(w.a)(t),a&&n===a||(i=c.definitions.some((function(e){switch(e.kind){case ne:case re:case ie:case oe:case ae:case se:case ue:case ce:case le:case pe:case fe:case de:case he:return!0}return!1}))),e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(3),l=I(e.t0.locations[0],t),e.abrupt("return",[{severity:A,message:e.t0.message,source:"GraphQL: Syntax",range:l}]);case 12:return p=t,e.next=15,this._graphQLCache.getFragmentDefinitions(o);case 15:return f=e.sent,e.next=18,this._graphQLCache.getFragmentDependencies(t,f);case 18:d=e.sent,h=d.reduce((function(e,t){return"".concat(e," ").concat(Object(ee.print)(t.definition))}),""),p="".concat(p," ").concat(h),m=null,e.prev=22,m=Object(w.a)(p),e.next=29;break;case 26:return e.prev=26,e.t1=e.catch(22),e.abrupt("return",[]);case 29:if(!(v=u.customValidationRules)){e.next=37;break}if(!(y=Object(k.resolveFile)(v))){e.next=37;break}return e.next=35,Object(k.requireFile)(y);case 35:(b=e.sent)&&(g=b(this._graphQLConfig));case 37:return e.next=39,this._graphQLCache.getSchema(s,i).catch((function(){return null}));case 39:if(x=e.sent){e.next=42;break}return e.abrupt("return",[]);case 42:return e.abrupt("return",O(m,x,g,r));case 43:case"end":return e.stop()}}),e,this,[[3,8],[22,26]])})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"getAutocompleteSuggestions",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r){var i,o;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.getConfigForURI(r),e.next=3,this._graphQLCache.getSchema(i.projectName).catch((function(){return null}));case 3:if(!(o=e.sent)){e.next=6;break}return e.abrupt("return",v(o,t,n));case 6:return e.abrupt("return",[]);case 7:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"getHoverInformation",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r){var i,o;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.getConfigForURI(r),e.next=3,this._graphQLCache.getSchema(i.projectName).catch((function(){return null}));case 3:if(!(o=e.sent)){e.next=6;break}return e.abrupt("return",q(o,t,n));case 6:return e.abrupt("return","");case 7:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"getDefinition",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r){var i,o,a;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=this.getConfigForURI(r),e.prev=1,o=Object(w.a)(t),e.next=8;break;case 5:return e.prev=5,e.t0=e.catch(1),e.abrupt("return",null);case 8:if(!(a=Object(k.getASTNodeAtPosition)(t,o,n))){e.next=16;break}e.t1=a.kind,e.next=e.t1===me?13:e.t1===te||e.t1===ge?14:e.t1===ve?15:16;break;case 13:return e.abrupt("return",this._getDefinitionForFragmentSpread(t,o,a,r,i));case 14:return e.abrupt("return",Object(E.b)(r,t,a));case 15:return e.abrupt("return",this._getDefinitionForNamedType(t,o,a,r,i));case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}}),e,this,[[1,5]])})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"_getDefinitionForNamedType",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r,i,o){var a,s,u,c,l;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._graphQLCache.getObjectTypeDefinitions(o);case 2:return a=e.sent,e.next=5,this._graphQLCache.getObjectTypeDependenciesForAST(n,a);case 5:return s=e.sent,u=n.definitions.filter((function(e){return e.kind===ne||e.kind===se||e.kind===ie})),c=u.map((function(e){return{filePath:i,content:t,definition:e}})),e.next=11,Object(E.d)(t,r,s.concat(c));case 11:return l=e.sent,e.abrupt("return",l);case 13:case"end":return e.stop()}}),e,this)})));return function(t,n,r,i,o){return e.apply(this,arguments)}}()},{key:"_getDefinitionForFragmentSpread",value:function(){var e=Object($.a)(Q.a.mark((function e(t,n,r,i,o){var a,s,u,c,l;return Q.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._graphQLCache.getFragmentDefinitions(o);case 2:return a=e.sent,e.next=5,this._graphQLCache.getFragmentDependenciesForAST(n,a);case 5:return s=e.sent,u=n.definitions.filter((function(e){return e.kind===te})),c=u.map((function(e){return{filePath:i,content:t,definition:e}})),e.next=11,Object(E.c)(t,r,s.concat(c));case 11:return l=e.sent,e.abrupt("return",l);case 13:case"end":return e.stop()}}),e,this)})));return function(t,n,r,i,o){return e.apply(this,arguments)}}()}]),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"CANCEL",(function(){return r.a})),n.d(t,"SAGA_LOCATION",(function(){return r.g})),n.d(t,"buffers",(function(){return s.i})),n.d(t,"detach",(function(){return s.j})),n.d(t,"END",(function(){return S})),n.d(t,"channel",(function(){return A})),n.d(t,"eventChannel",(function(){return T})),n.d(t,"isEnd",(function(){return k})),n.d(t,"multicastChannel",(function(){return _})),n.d(t,"runSaga",(function(){return G})),n.d(t,"stdChannel",(function(){return O}));var r=n(15),i=n(43),o=n(68),a=n(9),s=n(6),u=n(65);function c(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e}var l=c,p=(n(128),[]),f=0;function d(e){try{g(),e()}finally{v()}}function h(e){p.push(e),f||(g(),y())}function m(e){try{return g(),e()}finally{y()}}function g(){f++}function v(){f--}function y(){var e;for(v();!f&&void 0!==(e=p.shift());)d(e)}var b=function(e){return function(t){return e.some((function(e){return w(e)(t)}))}},x=function(e){return function(t){return e(t)}},E=function(e){return function(t){return t.type===String(e)}},D=function(e){return function(t){return t.type===e}},C=function(){return s.U};function w(e){var t="*"===e?C:Object(a.k)(e)?E:Object(a.a)(e)?b:Object(a.l)(e)?E:Object(a.d)(e)?x:Object(a.m)(e)?D:null;if(null===t)throw new Error("invalid pattern: "+e);return t(e)}var S={type:r.b},k=function(e){return e&&e.type===r.b};function A(e){void 0===e&&(e=Object(s.O)());var t=!1,n=[];return{take:function(r){t&&e.isEmpty()?r(S):e.isEmpty()?(n.push(r),r.cancel=function(){Object(s.bb)(n,r)}):r(e.take())},put:function(r){if(!t){if(0===n.length)return e.put(r);n.shift()(r)}},flush:function(n){t&&e.isEmpty()?n(S):n(e.flush())},close:function(){if(!t){t=!0;var e=n;n=[];for(var r=0,i=e.length;r<i;r++){(0,e[r])(S)}}}}}function T(e,t){void 0===t&&(t=Object(s.X)());var n,r=!1,i=A(t),o=function(){r||(r=!0,Object(a.d)(n)&&n(),i.close())};return n=e((function(e){k(e)?o():i.put(e)})),n=Object(s.Y)(n),r&&n(),{take:i.take,flush:i.flush,close:o}}function _(){var e,t=!1,n=[],i=n;var o=function(){i===n&&(i=n.slice())},a=function(){t=!0;var e=n=i;i=[],e.forEach((function(e){e(S)}))};return(e={})[r.e]=!0,e.put=function(e){if(!t)if(k(e))a();else for(var o=n=i,s=0,u=o.length;s<u;s++){var c=o[s];c[r.d](e)&&(c.cancel(),c(e))}},e.take=function(e,n){void 0===n&&(n=C),t?e(S):(e[r.d]=n,o(),i.push(e),e.cancel=Object(s.Y)((function(){o(),Object(s.bb)(i,e)})))},e.close=a,e}function O(){var e=_(),t=e.put;return e.put=function(e){e[r.f]?t(e):h((function(){t(e)}))},e}function F(e,t){var n=e[r.a];Object(a.d)(n)&&(t.cancel=n),e.then(t,(function(e){t(e,!0)}))}var N,I=0,M=function(){return++I};function j(e){e.isRunning()&&e.cancel()}var L=((N={})[s.u]=function(e,t,n){var i=t.channel,o=void 0===i?e.channel:i,s=t.pattern,u=t.maybe,c=function(e){e instanceof Error?n(e,!0):!k(e)||u?n(e):n(r.k)};try{o.take(c,Object(a.g)(s)?w(s):null)}catch(l){return void n(l,!0)}n.cancel=c.cancel},N[s.q]=function(e,t,n){var r=t.channel,i=t.action,o=t.resolve;h((function(){var t;try{t=(r?r.put:e.dispatch)(i)}catch(s){return void n(s,!0)}o&&Object(a.j)(t)?F(t,n):n(t)}))},N[s.b]=function(e,t,n,r){var i=r.digestEffect,o=I,u=Object.keys(t);if(0!==u.length){var c=Object(s.V)(t,n);u.forEach((function(e){i(t[e],o,c[e],e)}))}else n(Object(a.a)(t)?[]:{})},N[s.s]=function(e,t,n,r){var i=r.digestEffect,o=I,u=Object.keys(t),c=Object(a.a)(t)?Object(s.W)(u.length):{},l={},p=!1;u.forEach((function(e){var t=function(t,r){p||(r||Object(s.cb)(t)?(n.cancel(),n(t,r)):(n.cancel(),p=!0,c[e]=t,n(c)))};t.cancel=s.db,l[e]=t})),n.cancel=function(){p||(p=!0,u.forEach((function(e){return l[e].cancel()})))},u.forEach((function(e){p||i(t[e],o,l[e],e)}))},N[s.d]=function(e,t,n,r){var i=t.context,o=t.fn,u=t.args,c=r.task;try{var l=o.apply(i,u);if(Object(a.j)(l))return void F(l,n);if(Object(a.e)(l))return void W(e,l,c.context,I,Object(s.T)(o),!1,n);n(l)}catch(p){n(p,!0)}},N[s.C]=function(e,t,n){var r=t.context,i=t.fn,o=t.args;try{var s=function(e,t){Object(a.n)(e)?n(t):n(e,!0)};i.apply(r,o.concat(s)),s.cancel&&(n.cancel=s.cancel)}catch(u){n(u,!0)}},N[s.g]=function(e,t,n,r){var i=t.context,o=t.fn,u=t.args,c=t.detached,l=r.task,p=function(e){var t=e.context,n=e.fn,r=e.args;try{var i=n.apply(t,r);if(Object(a.e)(i))return i;var o=!1;return Object(s.ab)((function(e){return o?{value:e,done:!0}:(o=!0,{value:i,done:!Object(a.j)(i)})}))}catch(u){return Object(s.ab)((function(){throw u}))}}({context:i,fn:o,args:u}),f=function(e,t){return e.isSagaIterator?{name:e.meta.name}:Object(s.T)(t)}(p,o);m((function(){var t=W(e,p,l.context,I,f,c,void 0);c?n(t):t.isRunning()?(l.queue.addTask(t),n(t)):t.isAborted()?l.queue.abort(t.error()):n(t)}))},N[s.k]=function(e,t,n,r){var i=r.task,o=function(e,t){if(e.isRunning()){var n={task:i,cb:t};t.cancel=function(){e.isRunning()&&Object(s.bb)(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())};if(Object(a.a)(t)){if(0===t.length)return void n([]);var u=Object(s.V)(t,n);t.forEach((function(e,t){o(e,u[t])}))}else o(t,n)},N[s.L]=function(e,t,n,i){var o=i.task;t===r.h?j(o):Object(a.a)(t)?t.forEach(j):j(t),n()},N[s.t]=function(e,t,n){var r=t.selector,i=t.args;try{n(r.apply(void 0,[e.getState()].concat(i)))}catch(o){n(o,!0)}},N[s.N]=function(e,t,n){var r=t.pattern,i=A(t.buffer),o=w(r),a=function t(n){k(n)||e.channel.take(t,o),i.put(n)},s=i.close;i.close=function(){a.cancel(),s()},e.channel.take(a,o),n(i)},N[s.P]=function(e,t,n,r){n(r.task.isCancelled())},N[s.Q]=function(e,t,n){t.flush(n)},N[s.h]=function(e,t,n,r){n(r.task.context[t])},N[s.R]=function(e,t,n,r){var i=r.task;Object(s.Z)(i.context,t),n()},N);function P(e,t){return e+"?"+t}function R(e){var t=e.name,n=e.location;return n?t+" "+P(n.fileName,n.lineNumber):t}function B(e){var t=Object(s.eb)((function(e){return e.cancelledTasks}),e);return t.length?["Tasks cancelled due to error:"].concat(t).join("\n"):""}var z=null,U=[],q=function(){z=null,U.length=0},V=function(){var e=U[0],t=U.slice(1),n=e.crashedEffect?function(e){var t=Object(s.fb)(e);return t?t.code+" "+P(t.fileName,t.lineNumber):""}(e.crashedEffect):null;return["The above error occurred in task "+R(e.meta)+(n?" \n when executing effect "+n:"")].concat(t.map((function(e){return" created by "+R(e.meta)})),[B(U)]).join("\n")};function H(e,t,n,i,o,a,u){var c;void 0===u&&(u=s.db);var p,f,d=0,h=null,m=[],g=Object.create(n),v=function(e,t,n){var r,i=[],o=!1;function a(e){t(),c(),n(e,!0)}function u(t){i.push(t),t.cont=function(u,c){o||(Object(s.bb)(i,t),t.cont=s.db,c?a(u):(t===e&&(r=u),i.length||(o=!0,n(r))))}}function c(){o||(o=!0,i.forEach((function(e){e.cont=s.db,e.cancel()})),i=[])}return u(e),{addTask:u,cancelAll:c,abort:a,getTasks:function(){return i}}}(t,(function(){m.push.apply(m,v.getTasks().map((function(e){return e.meta.name})))}),y);function y(t,n){if(n){if(d=2,(a={meta:o,cancelledTasks:m}).crashedEffect=z,U.push(a),b.isRoot){var i=V();q(),e.onError(t,{sagaStack:i})}f=t,h&&h.reject(t)}else t===r.j?d=1:1!==d&&(d=3),p=t,h&&h.resolve(t);var a;b.cont(t,n),b.joiners.forEach((function(e){e.cb(t,n)})),b.joiners=null}var b=((c={})[r.i]=!0,c.id=i,c.meta=o,c.isRoot=a,c.context=g,c.joiners=[],c.queue=v,c.cancel=function(){0===d&&(d=1,v.cancelAll(),y(r.j,!1))},c.cont=u,c.end=y,c.setContext=function(e){Object(s.Z)(g,e)},c.toPromise=function(){return h||(h=l(),2===d?h.reject(f):0!==d&&h.resolve(p)),h.promise},c.isRunning=function(){return 0===d},c.isCancelled=function(){return 1===d||0===d&&1===t.status},c.isAborted=function(){return 2===d},c.result=function(){return p},c.error=function(){return f},c);return b}function W(e,t,n,i,o,u,c){var l=e.finalizeRunEffect((function(t,n,i){if(Object(a.j)(t))F(t,i);else if(Object(a.e)(t))W(e,t,f.context,n,o,!1,i);else if(t&&t[r.c]){(0,L[t.type])(e,t.payload,i,d)}else i(t)}));h.cancel=s.db;var p={meta:o,cancel:function(){0===p.status&&(p.status=1,h(r.j))},status:0},f=H(e,p,n,i,o,u,c),d={task:f,digestEffect:m};return c&&(c.cancel=f.cancel),h(),f;function h(e,n){try{var o;n?(o=t.throw(e),q()):Object(s.gb)(e)?(p.status=1,h.cancel(),o=Object(a.d)(t.return)?t.return(r.j):{done:!0,value:r.j}):o=Object(s.hb)(e)?Object(a.d)(t.return)?t.return():{done:!0}:t.next(e),o.done?(1!==p.status&&(p.status=3),p.cont(o.value)):m(o.value,i,h)}catch(u){if(1===p.status)throw u;p.status=2,p.cont(u,!0)}}function m(t,n,r,i){void 0===i&&(i="");var o,a=M();function u(n,i){o||(o=!0,r.cancel=s.db,e.sagaMonitor&&(i?e.sagaMonitor.effectRejected(a,n):e.sagaMonitor.effectResolved(a,n)),i&&function(e){z=e}(t),r(n,i))}e.sagaMonitor&&e.sagaMonitor.effectTriggered({effectId:a,parentEffectId:n,label:i,effect:t}),u.cancel=s.db,r.cancel=function(){o||(o=!0,u.cancel(),u.cancel=s.db,e.sagaMonitor&&e.sagaMonitor.effectCancelled(a))},l(t,a,u)}}function G(e,t){var n=e.channel,r=void 0===n?O():n,i=e.dispatch,o=e.getState,a=e.context,c=void 0===a?{}:a,l=e.sagaMonitor,p=e.effectMiddlewares,f=e.onError,d=void 0===f?s.c:f;for(var h=arguments.length,g=new Array(h>2?h-2:0),v=2;v<h;v++)g[v-2]=arguments[v];var y=t.apply(void 0,g);var b,x=M();if(l&&(l.rootSagaStarted=l.rootSagaStarted||s.db,l.effectTriggered=l.effectTriggered||s.db,l.effectResolved=l.effectResolved||s.db,l.effectRejected=l.effectRejected||s.db,l.effectCancelled=l.effectCancelled||s.db,l.actionDispatched=l.actionDispatched||s.db,l.rootSagaStarted({effectId:x,saga:t,args:g})),p){var E=u.compose.apply(void 0,p);b=function(e){return function(t,n,r){return E((function(t){return e(t,n,r)}))(t)}}}else b=s.f;var D={channel:r,dispatch:Object(s.e)(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:b};return m((function(){var e=W(D,y,c,x,Object(s.T)(t),!0,void 0);return l&&l.effectResolved(x,e),e}))}var K=function(e){var t,n=void 0===e?{}:e,r=n.context,a=void 0===r?{}:r,u=n.channel,c=void 0===u?O():u,l=n.sagaMonitor,p=Object(o.a)(n,["context","channel","sagaMonitor"]);function f(e){var n=e.getState,r=e.dispatch;return t=G.bind(null,Object(i.a)({},p,{context:a,channel:c,dispatch:r,getState:n,sagaMonitor:l})),function(e){return function(t){l&&l.actionDispatched&&l.actionDispatched(t);var n=e(t);return c.put(t),n}}}return f.run=function(){return t.apply(void 0,arguments)},f.setContext=function(e){Object(s.Z)(a,e)},f};t.default=K},,function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"===typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(23),o=n(29),a=n(45),s=n(1);function u(e,t){switch(e.kind){case s.a.NULL:return null;case s.a.INT:return parseInt(e.value,10);case s.a.FLOAT:return parseFloat(e.value);case s.a.STRING:case s.a.ENUM:case s.a.BOOLEAN:return e.value;case s.a.LIST:return e.values.map((function(e){return u(e,t)}));case s.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return u(e.value,t)}));case s.a.VARIABLE:var n=e.name.value;return t&&!Object(a.a)(t[n])?t[n]:void 0}Object(i.a)(!1,"Unexpected value node: "+Object(r.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n(7),i=n(4),o=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function a(e){var t=s(e);if(t)throw t;return e}function s(e,t){return"string"===typeof e||Object(r.a)(0,"Expected string"),e.length>1&&"_"===e[0]&&"_"===e[1]?new i.a('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'),t):o.test(e)?void 0:new i.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null);return{OperationDefinition:function(n){var i=n.name;return i&&(t[i.value]?e.reportError(new r.a(function(e){return'There can be only one operation named "'.concat(e,'".')}(i.value),[t[i.value],i])):t[i.value]=i),!1},FragmentDefinition:function(){return!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4),i=n(1);function o(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===i.a.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new r.a("This anonymous operation must be the only defined operation.",n))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){return{OperationDefinition:function(t){var n;"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.a((n=t.name&&t.name.value)?'Subscription "'.concat(n,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(19),o=n(0),a=n(31);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=Object(a.a)(e.getSchema(),n);s&&!Object(o.D)(s)&&e.reportError(new r.a(function(e){return'Fragment cannot condition on non composite type "'.concat(e,'".')}(Object(i.print)(n)),n))}},FragmentDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.typeCondition);n&&!Object(o.D)(n)&&e.reportError(new r.a(function(e,t){return'Fragment "'.concat(e,'" cannot condition on non composite type "').concat(t,'".')}(t.name.value,Object(i.print)(t.typeCondition)),t.typeCondition))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(19),o=n(0),a=n(31);function s(e){return{VariableDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.type);if(n&&!Object(o.G)(n)){var s=t.variable.name.value;e.reportError(new r.a(function(e,t){return'Variable "$'.concat(e,'" cannot be non-input type "').concat(t,'".')}(s,Object(i.print)(t.type)),t.type))}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=n(4),o=n(0);function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;n&&(Object(o.I)(Object(o.A)(n))?a&&e.reportError(new i.a(function(e,t){return'Field "'.concat(e,'" must not have a selection since type "').concat(t,'" has no subfields.')}(t.name.value,Object(r.a)(n)),a)):a||e.reportError(new i.a(function(e,t){return'Field "'.concat(e,'" of type "').concat(t,'" must have a selection of subfields. Did you mean "').concat(e,' { ... }"?')}(t.name.value,Object(r.a)(n)),t)))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(40),i=n(44),o=n(4),a=n(0);function s(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var s=e.getSchema(),u=t.name.value,c=function(e,t,n){if(Object(a.C)(t)){for(var r=[],i=Object.create(null),o=0,s=e.getPossibleTypes(t);o<s.length;o++){var u=s[o];if(u.getFields()[n]){r.push(u.name);for(var c=0,l=u.getInterfaces();c<l.length;c++){var p=l[c];p.getFields()[n]&&(i[p.name]=(i[p.name]||0)+1)}}}return Object.keys(i).sort((function(e,t){return i[t]-i[e]})).concat(r)}return[]}(s,n,u),l=0!==c.length?[]:function(e,t,n){if(Object(a.N)(t)||Object(a.H)(t)){var r=Object.keys(t.getFields());return Object(i.a)(n,r)}return[]}(0,n,u);e.reportError(new o.a(function(e,t,n,i){var o=n.map((function(e){return'"'.concat(e,'"')})),a=i.map((function(e){return'"'.concat(e,'"')}));return'Cannot query field "'.concat(e,'" on type "').concat(t,'".')+(Object(r.a)("to use an inline fragment on",o)||Object(r.a)(a))}(u,n.name,c,l),t))}}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var i=n.name.value;return t[i]?e.reportError(new r.a('There can be only one fragment named "'.concat(i,'".'),[t[i],n.name])):t[i]=n.name,!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(4),o=n(0),a=n(31),s=n(71);function u(e){return{InlineFragment:function(t){var n=e.getType(),a=e.getParentType();Object(o.D)(n)&&Object(o.D)(a)&&!Object(s.a)(e.getSchema(),n,a)&&e.reportError(new i.a(function(e,t){return'Fragment cannot be spread here as objects of type "'.concat(e,'" can never be of type "').concat(t,'".')}(Object(r.a)(a),Object(r.a)(n)),t))},FragmentSpread:function(t){var n=t.name.value,u=function(e,t){var n=e.getFragment(t);if(n){var r=Object(a.a)(e.getSchema(),n.typeCondition);if(Object(o.D)(r))return r}}(e,n),c=e.getParentType();u&&c&&!Object(s.a)(e.getSchema(),u,c)&&e.reportError(new i.a(function(e,t,n){return'Fragment "'.concat(e,'" cannot be spread here as objects of type "').concat(t,'" can never be of type "').concat(n,'".')}(n,Object(r.a)(c),Object(r.a)(u)),t))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4);function i(e,t){var n=t.length?" via "+t.join(", "):"";return'Cannot spread fragment "'.concat(e,'" within itself').concat(n,".")}function o(e){var t=Object.create(null),n=[],o=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(a){return function a(s){if(t[s.name.value])return;var u=s.name.value;t[u]=!0;var c=e.getFragmentSpreads(s.selectionSet);if(0===c.length)return;o[u]=n.length;for(var l=0;l<c.length;l++){var p=c[l],f=p.name.value,d=o[f];if(n.push(p),void 0===d){var h=e.getFragment(f);h&&a(h)}else{var m=n.slice(d),g=m.slice(0,-1).map((function(e){return e.name.value}));e.reportError(new r.a(i(f,g),m))}n.pop()}o[u]=void 0}(a),!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var i=n.variable.name.value;t[i]?e.reportError(new r.a(function(e){return'There can be only one variable named "'.concat(e,'".')}(i),[t[i],n.variable.name])):t[i]=n.variable.name}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4);function i(e,t){return t?'Variable "$'.concat(e,'" is not defined by operation "').concat(t,'".'):'Variable "$'.concat(e,'" is not defined.')}function o(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var o=e.getRecursiveVariableUsages(n),a=0;a<o.length;a++){var s=o[a].node,u=s.name.value;!0!==t[u]&&e.reportError(new r.a(i(u,n.name&&n.name.value),[s,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4);function i(e,t){return t?'Variable "$'.concat(e,'" is never used in operation "').concat(t,'".'):'Variable "$'.concat(e,'" is never used.')}function o(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var o=Object.create(null),a=e.getRecursiveVariableUsages(n),s=n.name?n.name.value:null,u=0;u<a.length;u++){o[a[u].node.name.value]=!0}for(var c=0,l=t;c<l.length;c++){var p=l[c],f=p.variable.name.value;!0!==o[f]&&e.reportError(new r.a(i(f,s),p))}}},VariableDefinition:function(e){t.push(e)}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),i=n(4),o=n(1),a=n(0),s=n(31),u=n(71);function c(e,t,n){return'Variable "$'.concat(e,'" of type "').concat(t,'" used in position expecting type "').concat(n,'".')}function l(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var o=e.getRecursiveVariableUsages(n),a=0;a<o.length;a++){var u=o[a],l=u.node,f=u.type,d=u.defaultValue,h=l.name.value,m=t[h];if(m&&f){var g=e.getSchema(),v=Object(s.a)(g,m.type);v&&!p(g,v,m.defaultValue,f,d)&&e.reportError(new i.a(c(h,Object(r.a)(v),Object(r.a)(f)),[m,l]))}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function p(e,t,n,r,i){if(Object(a.L)(r)&&!Object(a.L)(t)){if(!(null!=n&&n.kind!==o.a.NULL)&&!(void 0!==i))return!1;var s=r.ofType;return Object(u.c)(e,t,s)}return Object(u.c)(e,t,r)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(58),i=n(52),o=n(2),a=n(4),s=n(1),u=n(19),c=n(0),l=n(31);function p(e,t){return'Fields "'.concat(e,'" conflict because ').concat(function e(t){if(Array.isArray(t))return t.map((function(t){var n=t[0],r=t[1];return'subfields "'.concat(n,'" conflict because ').concat(e(r))})).join(" and ");return t}(t),". ")+"Use different aliases on the fields to fetch both if this was intentional."}function f(e){var t=new b,n=new Map;return{SelectionSet:function(r){for(var o=function(e,t,n,r,o){var a=[],s=v(e,t,r,o),u=s[0],c=s[1];if(function(e,t,n,r,o){for(var a=0,s=Object(i.a)(o);a<s.length;a++){var u=s[a],c=u[0],l=u[1];if(l.length>1)for(var p=0;p<l.length;p++)for(var f=p+1;f<l.length;f++){var d=g(e,n,r,!1,c,l[p],l[f]);d&&t.push(d)}}}(e,a,t,n,u),0!==c.length)for(var l=Object.create(null),p=0;p<c.length;p++){d(e,a,t,l,n,!1,u,c[p]);for(var f=p+1;f<c.length;f++)h(e,a,t,n,!1,c[p],c[f])}return a}(e,n,t,e.getParentType(),r),s=0;s<o.length;s++){var u=o[s],c=u[0],l=c[0],f=c[1],m=u[1],y=u[2];e.reportError(new a.a(p(l,f),m.concat(y)))}}}}function d(e,t,n,r,i,o,a,s){if(!r[s]){r[s]=!0;var u=e.getFragment(s);if(u){var c=y(e,n,u),l=c[0],p=c[1];if(a!==l){m(e,t,n,i,o,a,l);for(var f=0;f<p.length;f++)d(e,t,n,r,i,o,a,p[f])}}}}function h(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),u=e.getFragment(a);if(s&&u){var c=y(e,n,s),l=c[0],p=c[1],f=y(e,n,u),d=f[0],g=f[1];m(e,t,n,r,i,l,d);for(var v=0;v<g.length;v++)h(e,t,n,r,i,o,g[v]);for(var b=0;b<p.length;b++)h(e,t,n,r,i,p[b],a)}}}function m(e,t,n,r,i,o,a){for(var s=0,u=Object.keys(o);s<u.length;s++){var c=u[s],l=a[c];if(l)for(var p=o[c],f=0;f<p.length;f++)for(var d=0;d<l.length;d++){var h=g(e,n,r,i,c,p[f],l[d]);h&&t.push(h)}}}function g(e,t,n,i,a,s,l){var p=s[0],f=s[1],g=s[2],y=l[0],b=l[1],x=l[2],E=i||p!==y&&Object(c.N)(p)&&Object(c.N)(y),D=g&&g.type,C=x&&x.type;if(!E){var w=f.name.value,S=b.name.value;if(w!==S)return[[a,"".concat(w," and ").concat(S," are different fields")],[f],[b]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,i,o=Object(r.a)(t,(function(t){return t.name.value===e.name.value}));return!!o&&(n=e.value,i=o.value,!n&&!i||Object(u.print)(n)===Object(u.print)(i))}))}(f.arguments||[],b.arguments||[]))return[[a,"they have differing arguments"],[f],[b]]}if(D&&C&&function e(t,n){if(Object(c.J)(t))return!Object(c.J)(n)||e(t.ofType,n.ofType);if(Object(c.J)(n))return!0;if(Object(c.L)(t))return!Object(c.L)(n)||e(t.ofType,n.ofType);if(Object(c.L)(n))return!0;if(Object(c.I)(t)||Object(c.I)(n))return t!==n;return!1}(D,C))return[[a,"they return conflicting types ".concat(Object(o.a)(D)," and ").concat(Object(o.a)(C))],[f],[b]];var k=f.selectionSet,A=b.selectionSet;return k&&A?function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var u=[],c=v(e,t,i,o),l=c[0],p=c[1],f=v(e,t,a,s),g=f[0],y=f[1];if(m(e,u,t,n,r,l,g),0!==y.length)for(var b=Object.create(null),x=0;x<y.length;x++)d(e,u,t,b,n,r,l,y[x]);if(0!==p.length)for(var E=Object.create(null),D=0;D<p.length;D++)d(e,u,t,E,n,r,g,p[D]);for(var C=0;C<p.length;C++)for(var w=0;w<y.length;w++)h(e,u,t,n,r,p[C],y[w]);return u}(e,t,n,E,Object(c.A)(D),k,Object(c.A)(C),A),a,f,b):void 0}function v(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(var a=0,u=r.selections;a<u.length;a++){var p=u[a];switch(p.kind){case s.a.FIELD:var f=p.name.value,d=void 0;(Object(c.N)(n)||Object(c.H)(n))&&(d=n.getFields()[f]);var h=p.alias?p.alias.value:f;i[h]||(i[h]=[]),i[h].push([n,p,d]);break;case s.a.FRAGMENT_SPREAD:o[p.name.value]=!0;break;case s.a.INLINE_FRAGMENT:var m=p.typeCondition,g=m?Object(l.a)(t.getSchema(),m):n;e(t,g,p.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function y(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Object(l.a)(e.getSchema(),n.typeCondition);return v(e,t,i,n.selectionSet)}var b=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,n){var r=this._data[e],i=r&&r[t];return void 0!==i&&(!1!==n||!1===i)},t.add=function(e,t,n){x(this._data,e,t,n),x(this._data,t,e,n)},e}();function x(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=e.getSchema(),n=t&&(t.astNode||t.getQueryType()||t.getMutationType()||t.getSubscriptionType()),i=0;return{SchemaDefinition:function(t){n?e.reportError(new r.a("Cannot define a new schema within a schema extension.",t)):(i>0&&e.reportError(new r.a("Must provide only one schema definition.",t)),++i)}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(4);function i(e){return"There can be only one ".concat(e," type in schema.")}function o(e){return"Type for ".concat(e," already defined in the schema. It cannot be redefined.")}function a(e){var t=e.getSchema(),n=Object.create(null),a=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:s,SchemaExtension:s};function s(t){if(t.operationTypes)for(var s=0,u=t.operationTypes||[];s<u.length;s++){var c=u[s],l=c.operation,p=n[l];a[l]?e.reportError(new r.a(o(l),c)):p?e.reportError(new r.a(i(l),[p,c])):n[l]=c}return!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){var o=i.name.value;if(!n||!n.getType(o))return t[o]?e.reportError(new r.a(function(e){return'There can be only one type named "'.concat(e,'".')}(o),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.a(function(e){return'Type "'.concat(e,'" already exists in the schema. It cannot also be defined in this type definition.')}(o),i.name))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(0);function o(e,t){return'Enum value "'.concat(e,".").concat(t,'" can only be defined once.')}function a(e,t){return'Enum value "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function s(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:u,EnumTypeExtension:u};function u(t){var u=t.name.value;if(s[u]||(s[u]=Object.create(null)),t.values)for(var c=s[u],l=0,p=t.values;l<p.length;l++){var f=p[l],d=f.name.value,h=n[u];Object(i.E)(h)&&h.getValue(d)?e.reportError(new r.a(a(u,d),f.name)):c[d]?e.reportError(new r.a(o(u,d),[c[d],f.name])):c[d]=f.name}return!1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(0);function o(e,t){return'Field "'.concat(e,".").concat(t,'" can only be defined once.')}function a(e,t){return'Field "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function s(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{InputObjectTypeDefinition:s,InputObjectTypeExtension:s,InterfaceTypeDefinition:s,InterfaceTypeExtension:s,ObjectTypeDefinition:s,ObjectTypeExtension:s};function s(t){var s=t.name.value;if(i[s]||(i[s]=Object.create(null)),t.fields)for(var c=i[s],l=0,p=t.fields;l<p.length;l++){var f=p[l],d=f.name.value;u(n[s],d)?e.reportError(new r.a(a(s,d),f.name)):c[d]?e.reportError(new r.a(o(s,d),[c[d],f.name])):c[d]=f.name}return!1}}function u(e,t){return!!(Object(i.N)(e)||Object(i.H)(e)||Object(i.F)(e))&&e.getFields()[t]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function i(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(i){var o=i.name.value;if(!n||!n.getDirective(o))return t[o]?e.reportError(new r.a(function(e){return'There can be only one directive named "'.concat(e,'".')}(o),[t[o],i.name])):t[o]=i.name,!1;e.reportError(new r.a(function(e){return'Directive "'.concat(e,'" already exists in the schema. It cannot be redefined.')}(o),i.name))}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r,i=n(40),o=n(44),a=n(4),s=n(1),u=n(53),c=n(0);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return"Cannot extend non-".concat(t,' type "').concat(e,'".')}function f(e){for(var t=e.getSchema(),n=Object.create(null),r=0,l=e.getDocument().definitions;r<l.length;r++){var f=l[r];Object(u.d)(f)&&(n[f.name.value]=f)}return{ScalarTypeExtension:m,ObjectTypeExtension:m,InterfaceTypeExtension:m,UnionTypeExtension:m,EnumTypeExtension:m,InputObjectTypeExtension:m};function m(r){var u=r.name.value,l=n[u],f=t&&t.getType(u);if(l){var m=d[l.kind];m!==r.kind&&e.reportError(new a.a(p(u,h(m)),[l,r]))}else if(f){var g=function(e){if(Object(c.R)(e))return s.a.SCALAR_TYPE_EXTENSION;if(Object(c.N)(e))return s.a.OBJECT_TYPE_EXTENSION;if(Object(c.H)(e))return s.a.INTERFACE_TYPE_EXTENSION;if(Object(c.T)(e))return s.a.UNION_TYPE_EXTENSION;if(Object(c.E)(e))return s.a.ENUM_TYPE_EXTENSION;if(Object(c.F)(e))return s.a.INPUT_OBJECT_TYPE_EXTENSION}(f);g!==r.kind&&e.reportError(new a.a(p(u,h(g)),r))}else{var v=Object.keys(n);t&&(v=v.concat(Object.keys(t.getTypeMap())));var y=Object(o.a)(u,v);e.reportError(new a.a(function(e,t){return'Cannot extend type "'.concat(e,'" because it is not defined.')+Object(i.a)(t.map((function(e){return'"'.concat(e,'"')})))}(u,y),r.name))}}}var d=(l(r={},s.a.SCALAR_TYPE_DEFINITION,s.a.SCALAR_TYPE_EXTENSION),l(r,s.a.OBJECT_TYPE_DEFINITION,s.a.OBJECT_TYPE_EXTENSION),l(r,s.a.INTERFACE_TYPE_DEFINITION,s.a.INTERFACE_TYPE_EXTENSION),l(r,s.a.UNION_TYPE_DEFINITION,s.a.UNION_TYPE_EXTENSION),l(r,s.a.ENUM_TYPE_DEFINITION,s.a.ENUM_TYPE_EXTENSION),l(r,s.a.INPUT_OBJECT_TYPE_DEFINITION,s.a.INPUT_OBJECT_TYPE_EXTENSION),r);function h(e){switch(e){case s.a.SCALAR_TYPE_EXTENSION:return"scalar";case s.a.OBJECT_TYPE_EXTENSION:return"object";case s.a.INTERFACE_TYPE_EXTENSION:return"interface";case s.a.UNION_TYPE_EXTENSION:return"union";case s.a.ENUM_TYPE_EXTENSION:return"enum";case s.a.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:return"unknown type"}}},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(n){}}return function(n,r,i,o,a,s,u,c,l,p){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===p?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";t.a={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}},function(e,t){e.exports=function(e,t){return function n(){null==t&&(t=e.length);var r=[].slice.call(arguments);return r.length>=t?e.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}}},function(e,t,n){e.exports=n(295).Observable},function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"===typeof t&&(t={cmp:t});var n,r="boolean"===typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},o={key:r,value:e[r]};return n(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"===typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!==typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==o.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(a="",n=0;n<u.length;n++){var c=u[n],l=e(t[c]);l&&(a&&(a+=","),a+=JSON.stringify(c)+":"+l)}return o.splice(s,1),"{"+a+"}"}}(e)}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(){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}}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 a(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 s(e){return function(){var t,n=r(e);if(i()){var o=r(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return a(this,t)}}n.d(t,"a",(function(){return s}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}}),t&&r(e,t)}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=i},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1)}function i(e){return"Object"===r(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function o(e){return"Array"===r(e)}function a(e){return"Symbol"===r(e)}function s(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function u(e,t,n,r){var i=r.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=n),"nonenumerable"===i&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function c(e,t,n){if(!i(t))return n&&o(n)&&n.forEach((function(n){t=n(e,t)})),t;var r={};i(e)&&(r=s(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(n,r){var i=e[r];return(!a(r)&&!Object.getOwnPropertyNames(t).includes(r)||a(r)&&!Object.getOwnPropertySymbols(t).includes(r))&&u(n,r,i,e),n}),{}));return s(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(r,a){var s=t[a],l=i(e)?e[a]:void 0;return n&&o(n)&&n.forEach((function(e){s=e(l,s)})),void 0!==l&&i(s)&&(s=c(l,s,n)),u(r,a,s,t),r}),r)}t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,o=e;return i(e)&&e.extensions&&1===Object.keys(e).length&&(o={},r=e.extensions),t.reduce((function(e,t){return c(e,t,r)}),o)}},,,function(e,t,n){"use strict";var r=n(90),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,g="function"===typeof Symbol&&Symbol.iterator;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function E(){}function D(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=x.prototype;var C=D.prototype=new E;C.constructor=D,r(C,x.prototype),C.isPureReactComponent=!0;var w={current:null},S=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!k.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:w.current}}function T(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var _=/\/+/g,O=[];function F(e,t,n,r){if(O.length){var i=O.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+M(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var l=n+M(s=t[c],c);u+=e(s,l,r,i)}else if(null===t||"object"!==typeof t?l=null:l="function"===typeof(l=g&&t[g]||t["@@iterator"])?l:null,"function"===typeof l)for(t=l.call(t),c=0;!(s=t.next()).done;)u+=e(s=s.value,l=n+M(s,c++),r,i);else if("object"===s)throw r=""+t,Error(v(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function M(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 j(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?P(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:o,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.push(e))}function P(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(_,"$&/")+"/"),I(e,L,t=F(t,o,r,i)),N(t)}var R={current:null};function B(){var e=R.current;if(null===e)throw Error(v(321));return e}var z={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return P(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,j,t=F(null,null,t,n)),N(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return P(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(v(143));return e}},t.Component=x,t.Fragment=s,t.Profiler=c,t.PureComponent=D,t.StrictMode=u,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(v(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)S.call(t,l)&&!k.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var p=0;p<l;p++)c[p]=arguments[p+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:p,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=A,t.createFactory=function(e){var t=A.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";var r=n(3),i=n(90),o=n(277);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(l){this.onError(l)}}var u=!1,c=null,l=!1,p=null,f={onError:function(e){u=!0,c=e}};function d(e,t,n,r,i,o,a,l,p){u=!1,c=null,s.apply(f,arguments)}var h=null,m=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,i,o,s,f,h){if(d.apply(this,arguments),u){if(!u)throw Error(a(198));var m=c;u=!1,c=null,l||(l=!0,p=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function x(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!D[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in D[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(C.hasOwnProperty(u))throw Error(a(99,u));C[u]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&E(c[i],s,u);i=!0}else o.registrationName?(E(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function E(e,t,n){if(w[e])throw Error(a(100,e));w[e]=t,S[e]=t.eventTypes[n].dependencies}var D=[],C={},w={},S={};function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&x()}var A=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),T=null,_=null,O=null;function F(e){if(e=m(e)){if("function"!==typeof T)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),T(e.stateNode,e.type,t))}}function N(e){_?O?O.push(e):O=[e]:_=e}function I(){if(_){var e=_,t=O;if(O=_=null,F(e),t)for(e=0;e<t.length;e++)F(t[e])}}function M(e,t){return e(t)}function j(e,t,n,r,i){return e(t,n,r,i)}function L(){}var P=M,R=!1,B=!1;function z(){null===_&&null===O||(L(),I())}function U(e,t,n){if(B)return e(t,n);B=!0;try{return P(e,t,n)}finally{B=!1,z()}}var q=/^[: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]*$/,V=Object.prototype.hasOwnProperty,H={},W={};function G(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var K={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){K[e]=new G(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];K[t]=new G(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){K[e]=new G(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){K[e]=new G(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){K[e]=new G(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){K[e]=new G(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){K[e]=new G(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){K[e]=new G(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){K[e]=new G(e,5,!1,e.toLowerCase(),null,!1)}));var J=/[\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}"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(J,Y);K[t]=new G(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(J,Y);K[t]=new G(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(J,Y);K[t]=new G(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){K[e]=new G(e,1,!1,e.toLowerCase(),null,!1)})),K.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){K[e]=new G(e,1,!1,e.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(e,t,n,r){var i=K.hasOwnProperty(t)?K[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.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,n,i,r)&&(n=null),r||null===i?function(e){return!!V.call(W,e)||!V.call(H,e)&&(q.test(e)?W[e]=!0:(H[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var X=/^(.*)[\\\/]/,Z="function"===typeof Symbol&&Symbol.for,ee=Z?Symbol.for("react.element"):60103,te=Z?Symbol.for("react.portal"):60106,ne=Z?Symbol.for("react.fragment"):60107,re=Z?Symbol.for("react.strict_mode"):60108,ie=Z?Symbol.for("react.profiler"):60114,oe=Z?Symbol.for("react.provider"):60109,ae=Z?Symbol.for("react.context"):60110,se=Z?Symbol.for("react.concurrent_mode"):60111,ue=Z?Symbol.for("react.forward_ref"):60112,ce=Z?Symbol.for("react.suspense"):60113,le=Z?Symbol.for("react.suspense_list"):60120,pe=Z?Symbol.for("react.memo"):60115,fe=Z?Symbol.for("react.lazy"):60116,de=Z?Symbol.for("react.block"):60121,he="function"===typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ge(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 ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case le:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case pe:return ge(e.type);case de:return ge(e.render);case fe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ge(e.type);n=null,r&&(n=ge(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(X,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function xe(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function De(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ce(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function we(e,t){null!=(t=t.checked)&&$(e,"checked",t,!1)}function Se(e,t){we(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ae(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ke(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ae(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Te(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function _e(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ne(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Me="http://www.w3.org/1999/xhtml",je="http://www.w3.org/2000/svg";function Le(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 Pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Re,Be=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==je||"innerHTML"in e)e.innerHTML=t;else{for((Re=Re||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Re.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ze(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ue(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qe={animationend:Ue("Animation","AnimationEnd"),animationiteration:Ue("Animation","AnimationIteration"),animationstart:Ue("Animation","AnimationStart"),transitionend:Ue("Transition","TransitionEnd")},Ve={},He={};function We(e){if(Ve[e])return Ve[e];if(!qe[e])return e;var t,n=qe[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return Ve[e]=n[t];return e}A&&(He=document.createElement("div").style,"AnimationEvent"in window||(delete qe.animationend.animation,delete qe.animationiteration.animation,delete qe.animationstart.animation),"TransitionEvent"in window||delete qe.transitionend.transition);var Ge=We("animationend"),Ke=We("animationiteration"),Je=We("animationstart"),Ye=We("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$e=new("function"===typeof WeakMap?WeakMap:Map);function Xe(e){var t=$e.get(e);return void 0===t&&(t=new Map,$e.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Ze(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return tt(i),e;if(o===r)return tt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?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}function rt(e,t){if(null==t)throw Error(a(30));return 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 it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var ot=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(ot=rt(ot,e)),e=ot,ot=null,e){if(it(e,at),ot)throw Error(a(95));if(l)throw e=p,l=!1,p=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!A)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var lt=[];function pt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>lt.length&&lt.push(e)}function ft(e,t,n,r){if(lt.length){var i=lt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=An(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=ut(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<D.length;u++){var c=D[u];c&&(c=c.extractEvents(r,t,o,i,a))&&(s=rt(s,c))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case"scroll":Jt(t,"scroll",!0);break;case"focus":case"blur":Jt(t,"focus",!0),Jt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Jt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&Kt(e,t)}n.set(e,null)}}var mt,gt,vt,yt=!1,bt=[],xt=null,Et=null,Dt=null,Ct=new Map,wt=new Map,St=[],kt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),At="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Tt(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function _t(e,t){switch(e){case"focus":case"blur":xt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wt.delete(t.pointerId)}}function Ot(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Tt(t,n,r,i,o),null!==t&&(null!==(t=Tn(t))&&gt(t)),e):(e.eventSystemFlags|=r,e)}function Ft(e){var t=An(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Tn(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function It(e,t,n){Nt(e)&&n.delete(t)}function Mt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Tn(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==xt&&Nt(xt)&&(xt=null),null!==Et&&Nt(Et)&&(Et=null),null!==Dt&&Nt(Dt)&&(Dt=null),Ct.forEach(It),wt.forEach(It)}function jt(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function Lt(e){function t(t){return jt(t,e)}if(0<bt.length){jt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&jt(xt,e),null!==Et&&jt(Et,e),null!==Dt&&jt(Dt,e),Ct.forEach(t),wt.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Ft(n),null===n.blockedOn&&St.shift()}var Pt={},Rt=new Map,Bt=new Map,zt=["abort","abort",Ge,"animationEnd",Ke,"animationIteration",Je,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ye,"transitionEnd","waiting","waiting"];function Ut(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Bt.set(r,t),Rt.set(r,o),Pt[i]=o}}Ut("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".split(" "),0),Ut("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ut(zt,2);for(var qt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Vt=0;Vt<qt.length;Vt++)Bt.set(qt[Vt],0);var Ht=o.unstable_UserBlockingPriority,Wt=o.unstable_runWithPriority,Gt=!0;function Kt(e,t){Jt(t,e,!1)}function Jt(e,t,n){var r=Bt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=$t.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Yt(e,t,n,r){R||L();var i=$t,o=R;R=!0;try{j(i,e,t,n,r)}finally{(R=o)||z()}}function Qt(e,t,n,r){Wt(Ht,$t.bind(null,e,t,n,r))}function $t(e,t,n,r){if(Gt)if(0<bt.length&&-1<kt.indexOf(e))e=Tt(null,e,t,n,r),bt.push(e);else{var i=Xt(e,t,n,r);if(null===i)_t(e,r);else if(-1<kt.indexOf(e))e=Tt(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return xt=Ot(xt,e,t,n,r,i),!0;case"dragenter":return Et=Ot(Et,e,t,n,r,i),!0;case"mouseover":return Dt=Ot(Dt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ct.set(o,Ot(Ct.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,wt.set(o,Ot(wt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){_t(e,r),e=ft(e,r,null,t);try{U(dt,e)}finally{pt(e)}}}}function Xt(e,t,n,r){if(null!==(n=An(n=ut(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=et(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ft(e,r,n,t);try{U(dt,e)}finally{pt(e)}return null}var Zt={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},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var rn=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 on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function an(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}}var sn=Me;function un(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function cn(){}function ln(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 pn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var n,r=pn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pn(r)}}function dn(){for(var e=window,t=ln();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=ln((e=t.contentWindow).document)}return t}function hn(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)}var mn=null,gn=null;function vn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yn(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 bn="function"===typeof setTimeout?setTimeout:void 0,xn="function"===typeof clearTimeout?clearTimeout:void 0;function En(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Dn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),wn="__reactInternalInstance$"+Cn,Sn="__reactEventHandlers$"+Cn,kn="__reactContainere$"+Cn;function An(e){var t=e[wn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[kn]||n[wn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Dn(e);null!==e;){if(n=e[wn])return n;e=Dn(e)}return t}n=(e=n).parentNode}return null}function Tn(e){return!(e=e[wn]||e[kn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _n(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function On(e){return e[Sn]||null}function Fn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Nn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function In(e,t,n){(t=Nn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Mn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Fn(t);for(t=n.length;0<t--;)In(n[t],"captured",e);for(t=0;t<n.length;t++)In(n[t],"bubbled",e)}}function jn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Nn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&jn(e._targetInst,null,e)}function Pn(e){it(e,Mn)}var Rn=null,Bn=null,zn=null;function Un(){if(zn)return zn;var e,t,n=Bn,r=n.length,i="value"in Rn?Rn.value:Rn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return zn=i.slice(e,1<t?1-t:void 0)}function qn(){return!0}function Vn(){return!1}function Hn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?qn:Vn,this.isPropagationStopped=Vn,this}function Wn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Gn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Kn(e){e.eventPool=[],e.getPooled=Wn,e.release=Gn}i(Hn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=qn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=qn)},persist:function(){this.isPersistent=qn},isPersistent:Vn,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=Vn,this._dispatchInstances=this._dispatchListeners=null}}),Hn.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},Hn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Kn(n),n},Kn(Hn);var Jn=Hn.extend({data:null}),Yn=Hn.extend({data:null}),Qn=[9,13,27,32],$n=A&&"CompositionEvent"in window,Xn=null;A&&"documentMode"in document&&(Xn=document.documentMode);var Zn=A&&"TextEvent"in window&&!Xn,er=A&&(!$n||Xn&&8<Xn&&11>=Xn),tr=String.fromCharCode(32),nr={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(" ")}},rr=!1;function ir(e,t){switch(e){case"keyup":return-1!==Qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function or(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if($n)e:{switch(e){case"compositionstart":var o=nr.compositionStart;break e;case"compositionend":o=nr.compositionEnd;break e;case"compositionupdate":o=nr.compositionUpdate;break e}o=void 0}else ar?ir(e,n)&&(o=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=nr.compositionStart);return o?(er&&"ko"!==n.locale&&(ar||o!==nr.compositionStart?o===nr.compositionEnd&&ar&&(i=Un()):(Bn="value"in(Rn=r)?Rn.value:Rn.textContent,ar=!0)),o=Jn.getPooled(o,t,n,r),i?o.data=i:null!==(i=or(n))&&(o.data=i),Pn(o),i=o):i=null,(e=Zn?function(e,t){switch(e){case"compositionend":return or(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!$n&&ir(e,t)?(e=Un(),zn=Bn=Rn=null,ar=!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 er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Yn.getPooled(nr.beforeInput,t,n,r)).data=e,Pn(t)):t=null,null===i?t:null===t?i:[i,t]}},ur={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 cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ur[e.type]:"textarea"===t}var lr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function pr(e,t,n){return(e=Hn.getPooled(lr.change,e,t,n)).type="change",N(n),Pn(e),e}var fr=null,dr=null;function hr(e){st(e)}function mr(e){if(Ee(_n(e)))return e}function gr(e,t){if("change"===e)return t}var vr=!1;function yr(){fr&&(fr.detachEvent("onpropertychange",br),dr=fr=null)}function br(e){if("value"===e.propertyName&&mr(dr))if(e=pr(dr,e,ut(e)),R)st(e);else{R=!0;try{M(hr,e)}finally{R=!1,z()}}}function xr(e,t,n){"focus"===e?(yr(),dr=n,(fr=t).attachEvent("onpropertychange",br)):"blur"===e&&yr()}function Er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(dr)}function Dr(e,t){if("click"===e)return mr(t)}function Cr(e,t){if("input"===e||"change"===e)return mr(t)}A&&(vr=ct("input")&&(!document.documentMode||9<document.documentMode));var wr={eventTypes:lr,_isInputEventSupported:vr,extractEvents:function(e,t,n,r){var i=t?_n(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=gr;else if(cr(i))if(vr)a=Cr;else{a=Er;var s=xr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Dr);if(a&&(a=a(e,t)))return pr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ae(i,"number",i.value)}},Sr=Hn.extend({view:null,detail:null}),kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ar(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Tr(){return Ar}var _r=0,Or=0,Fr=!1,Nr=!1,Ir=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Tr,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=_r;return _r=e.screenX,Fr?"mousemove"===e.type?e.screenX-t:0:(Fr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Or;return Or=e.screenY,Nr?"mousemove"===e.type?e.screenY-t:0:(Nr=!0,0)}}),Mr=Ir.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),jr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Lr={eventTypes:jr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?An(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Ir,u=jr.mouseLeave,c=jr.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Mr,u=jr.pointerLeave,c=jr.pointerEnter,l="pointer");if(e=null==a?o:_n(a),o=null==t?o:_n(t),(u=s.getPooled(u,a,n,r)).type=l+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(c=l,a=0,e=s=r;e;e=Fn(e))a++;for(e=0,t=c;t;t=Fn(t))e++;for(;0<a-e;)s=Fn(s),a--;for(;0<e-a;)c=Fn(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Fn(s),c=Fn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)s.push(r),r=Fn(r);for(r=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)r.push(l),l=Fn(l);for(l=0;l<s.length;l++)jn(s[l],"bubbled",u);for(l=r.length;0<l--;)jn(r[l],"captured",n);return 0===(64&i)?[u]:[u,n]}};var Pr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Rr=Object.prototype.hasOwnProperty;function Br(e,t){if(Pr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Rr.call(t,n[r])||!Pr(e[n[r]],t[n[r]]))return!1;return!0}var zr=A&&"documentMode"in document&&11>=document.documentMode,Ur={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},qr=null,Vr=null,Hr=null,Wr=!1;function Gr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wr||null==qr||qr!==ln(n)?null:("selectionStart"in(n=qr)&&hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Hr&&Br(Hr,n)?null:(Hr=n,(e=Hn.getPooled(Ur.select,Vr,e,t)).type="select",e.target=qr,Pn(e),e))}var Kr={eventTypes:Ur,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=S.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?_n(t):window,e){case"focus":(cr(i)||"true"===i.contentEditable)&&(qr=i,Vr=t,Hr=null);break;case"blur":Hr=Vr=qr=null;break;case"mousedown":Wr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wr=!1,Gr(n,r);case"selectionchange":if(zr)break;case"keydown":case"keyup":return Gr(n,r)}return null}},Jr=Hn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=Hn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qr=Sr.extend({relatedTarget:null});function $r(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 Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={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"},ei=Sr.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=$r(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Tr,charCode:function(e){return"keypress"===e.type?$r(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?$r(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ti=Ir.extend({dataTransfer:null}),ni=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Tr}),ri=Hn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Ir.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}),oi={eventTypes:Pt,extractEvents:function(e,t,n,r){var i=Rt.get(e);if(!i)return null;switch(e){case"keypress":if(0===$r(n))return null;case"keydown":case"keyup":e=ei;break;case"blur":case"focus":e=Qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Ir;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ni;break;case Ge:case Ke:case Je:e=Jr;break;case Ye:e=ri;break;case"scroll":e=Sr;break;case"wheel":e=ii;break;case"copy":case"cut":case"paste":e=Yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mr;break;default:e=Hn}return Pn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x(),h=On,m=Tn,g=_n,k({SimpleEventPlugin:oi,EnterLeaveEventPlugin:Lr,ChangeEventPlugin:wr,SelectEventPlugin:Kr,BeforeInputEventPlugin:sr});var ai=[],si=-1;function ui(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ci(e,t){si++,ai[si]=e.current,e.current=t}var li={},pi={current:li},fi={current:!1},di=li;function hi(e,t){var n=e.type.contextTypes;if(!n)return li;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function mi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function gi(){ui(fi),ui(pi)}function vi(e,t,n){if(pi.current!==li)throw Error(a(168));ci(pi,t),ci(fi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ge(t)||"Unknown",o));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||li,di=pi.current,ci(pi,e),ci(fi,fi.current),!0}function xi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,ui(fi),ui(pi),ci(pi,e)):ui(fi),ci(fi,n)}var Ei=o.unstable_runWithPriority,Di=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,wi=o.unstable_requestPaint,Si=o.unstable_now,ki=o.unstable_getCurrentPriorityLevel,Ai=o.unstable_ImmediatePriority,Ti=o.unstable_UserBlockingPriority,_i=o.unstable_NormalPriority,Oi=o.unstable_LowPriority,Fi=o.unstable_IdlePriority,Ni={},Ii=o.unstable_shouldYield,Mi=void 0!==wi?wi:function(){},ji=null,Li=null,Pi=!1,Ri=Si(),Bi=1e4>Ri?Si:function(){return Si()-Ri};function zi(){switch(ki()){case Ai:return 99;case Ti:return 98;case _i:return 97;case Oi:return 96;case Fi:return 95;default:throw Error(a(332))}}function Ui(e){switch(e){case 99:return Ai;case 98:return Ti;case 97:return _i;case 96:return Oi;case 95:return Fi;default:throw Error(a(332))}}function qi(e,t){return e=Ui(e),Ei(e,t)}function Vi(e,t,n){return e=Ui(e),Di(e,t,n)}function Hi(e){return null===ji?(ji=[e],Li=Di(Ai,Gi)):ji.push(e),Ni}function Wi(){if(null!==Li){var e=Li;Li=null,Ci(e)}Gi()}function Gi(){if(!Pi&&null!==ji){Pi=!0;var e=0;try{var t=ji;qi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ji=null}catch(n){throw null!==ji&&(ji=ji.slice(e+1)),Di(Ai,Wi),n}finally{Pi=!1}}}function Ki(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ji(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Yi={current:null},Qi=null,$i=null,Xi=null;function Zi(){Xi=$i=Qi=null}function eo(e){var t=Yi.current;ui(Yi),e.type._context._currentValue=t}function to(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function no(e,t){Qi=e,Xi=$i=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Oa=!0),e.firstContext=null)}function ro(e,t){if(Xi!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Xi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===$i){if(null===Qi)throw Error(a(308));$i=t,Qi.dependencies={expirationTime:0,firstContext:t,responders:null}}else $i=$i.next=t;return e._currentValue}var io=!1;function oo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function so(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function uo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function co(e,t){var n=e.alternate;null!==n&&ao(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function lo(e,t,n,r){var o=e.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var c=o.baseState,l=0,p=null,f=null,d=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===d?(f=d=m,p=c):d=d.next=m,s>l&&(l=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ou(s,h.suspenseConfig);e:{var g=e,v=h;switch(s=t,m=n,v.tag){case 1:if("function"===typeof(g=v.payload)){c=g.call(m,c,s);break e}c=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null===(s="function"===typeof(g=v.payload)?g.call(m,c,s):g)||void 0===s)break e;c=i({},c,s);break e;case 2:io=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===d?p=c:d.next=f,o.baseState=p,o.baseQueue=d,au(l),e.expirationTime=l,e.memoizedState=c}}function po(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(a(191,r));r.call(i)}}}var fo=Q.ReactCurrentBatchConfig,ho=(new r.Component).refs;function mo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var go={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Gs(),i=fo.suspense;(i=so(r=Ks(r,e,i),i)).payload=t,void 0!==n&&null!==n&&(i.callback=n),uo(e,i),Js(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Gs(),i=fo.suspense;(i=so(r=Ks(r,e,i),i)).tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),uo(e,i),Js(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Gs(),r=fo.suspense;(r=so(n=Ks(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),uo(e,r),Js(e,n)}};function vo(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Br(n,r)||!Br(i,o))}function yo(e,t,n){var r=!1,i=li,o=t.contextType;return"object"===typeof o&&null!==o?o=ro(o):(i=mi(t)?di:pi.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?hi(e,i):li),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=go,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function bo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&go.enqueueReplaceState(t,t.state,null)}function xo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ho,oo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=ro(o):(o=mi(t)?di:pi.current,i.context=hi(e,o)),lo(e,n,i,r),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(mo(e,t,o,n),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&&go.enqueueReplaceState(i,i.state,null),lo(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var Eo=Array.isArray;function Do(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(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=r.refs;t===ho&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function wo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(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){return(e=ku(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=_u(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Do(e,t,n),r.return=e,r):((r=Au(n.type,n.key,n.props,null,e.mode,r)).ref=Do(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ou(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function p(e,t,n,r,o){return null===t||7!==t.tag?((t=Tu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=_u(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Au(t.type,t.key,t.props,null,e.mode,n)).ref=Do(e,null,t),n.return=e,n;case te:return(t=Ou(t,e.mode,n)).return=e,t}if(Eo(t)||me(t))return(t=Tu(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function d(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?p(e,t,n.props.children,r,i):c(e,t,n,r):null;case te:return n.key===i?l(e,t,n,r):null}if(Eo(n)||me(n))return null!==i?null:p(e,t,n,r,null);Co(e,n)}return null}function h(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?p(t,e,r.props.children,i,r.key):c(t,e,r,i);case te:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Eo(r)||me(r))return p(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function m(i,a,s,u){for(var c=null,l=null,p=a,m=a=0,g=null;null!==p&&m<s.length;m++){p.index>m?(g=p,p=null):g=p.sibling;var v=d(i,p,s[m],u);if(null===v){null===p&&(p=g);break}e&&p&&null===v.alternate&&t(i,p),a=o(v,a,m),null===l?c=v:l.sibling=v,l=v,p=g}if(m===s.length)return n(i,p),c;if(null===p){for(;m<s.length;m++)null!==(p=f(i,s[m],u))&&(a=o(p,a,m),null===l?c=p:l.sibling=p,l=p);return c}for(p=r(i,p);m<s.length;m++)null!==(g=h(p,i,m,s[m],u))&&(e&&null!==g.alternate&&p.delete(null===g.key?m:g.key),a=o(g,a,m),null===l?c=g:l.sibling=g,l=g);return e&&p.forEach((function(e){return t(i,e)})),c}function g(i,s,u,c){var l=me(u);if("function"!==typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var p=l=null,m=s,g=s=0,v=null,y=u.next();null!==m&&!y.done;g++,y=u.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=d(i,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,g),null===p?l=b:p.sibling=b,p=b,m=v}if(y.done)return n(i,m),l;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=f(i,y.value,c))&&(s=o(y,s,g),null===p?l=y:p.sibling=y,p=y);return l}for(m=r(i,m);!y.done;g++,y=u.next())null!==(y=h(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=o(y,s,g),null===p?l=y:p.sibling=y,p=y);return e&&m.forEach((function(e){return t(i,e)})),l}return function(e,r,o,u){var c="object"===typeof o&&null!==o&&o.type===ne&&null===o.key;c&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case ee:e:{for(l=o.key,c=r;null!==c;){if(c.key===l){switch(c.tag){case 7:if(o.type===ne){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}break;default:if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=Do(e,c,o),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}o.type===ne?((r=Tu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Au(o.type,o.key,o.props,null,e.mode,u)).ref=Do(e,r,o),u.return=e,e=u)}return s(e);case te:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Ou(o,e.mode,u)).return=e,e=r}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=_u(o,e.mode,u)).return=e,e=r),s(e);if(Eo(o))return m(e,r,o,u);if(me(o))return g(e,r,o,u);if(l&&Co(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var So=wo(!0),ko=wo(!1),Ao={},To={current:Ao},_o={current:Ao},Oo={current:Ao};function Fo(e){if(e===Ao)throw Error(a(174));return e}function No(e,t){switch(ci(Oo,t),ci(_o,e),ci(To,Ao),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pe(null,"");break;default:t=Pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ui(To),ci(To,t)}function Io(){ui(To),ui(_o),ui(Oo)}function Mo(e){Fo(Oo.current);var t=Fo(To.current),n=Pe(t,e.type);t!==n&&(ci(_o,e),ci(To,n))}function jo(e){_o.current===e&&(ui(To),ui(_o))}var Lo={current:0};function Po(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(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 null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ro(e,t){return{responder:e,props:t}}var Bo=Q.ReactCurrentDispatcher,zo=Q.ReactCurrentBatchConfig,Uo=0,qo=null,Vo=null,Ho=null,Wo=!1;function Go(){throw Error(a(321))}function Ko(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Jo(e,t,n,r,i,o){if(Uo=o,qo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Bo.current=null===e||null===e.memoizedState?va:ya,e=n(r,i),t.expirationTime===Uo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ho=Vo=null,t.updateQueue=null,Bo.current=ba,e=n(r,i)}while(t.expirationTime===Uo)}if(Bo.current=ga,t=null!==Vo&&null!==Vo.next,Uo=0,Ho=Vo=qo=null,Wo=!1,t)throw Error(a(300));return e}function Yo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ho?qo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function Qo(){if(null===Vo){var e=qo.alternate;e=null!==e?e.memoizedState:null}else e=Vo.next;var t=null===Ho?qo.memoizedState:Ho.next;if(null!==t)Ho=t,Vo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Vo=e).memoizedState,baseState:Vo.baseState,baseQueue:Vo.baseQueue,queue:Vo.queue,next:null},null===Ho?qo.memoizedState=Ho=e:Ho=Ho.next=e}return Ho}function $o(e,t){return"function"===typeof t?t(e):t}function Xo(e){var t=Qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Vo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=s=o=null,c=i;do{var l=c.expirationTime;if(l<Uo){var p={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=p,o=r):u=u.next=p,l>qo.expirationTime&&(qo.expirationTime=l,au(l))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),ou(l,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===u?o=r:u.next=s,Pr(r,t.memoizedState)||(Oa=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=Qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Pr(o,t.memoizedState)||(Oa=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ea(e){var t=Yo();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:$o,lastRenderedState:e}).dispatch=ma.bind(null,qo,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=qo.updateQueue)?(t={lastEffect:null},qo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Qo().memoizedState}function ra(e,t,n,r){var i=Yo();qo.effectTag|=e,i.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function ia(e,t,n,r){var i=Qo();r=void 0===r?null:r;var o=void 0;if(null!==Vo){var a=Vo.memoizedState;if(o=a.destroy,null!==r&&Ko(r,a.deps))return void ta(t,n,o,r)}qo.effectTag|=e,i.memoizedState=ta(1|t,n,o,r)}function oa(e,t){return ra(516,4,e,t)}function aa(e,t){return ia(516,4,e,t)}function sa(e,t){return ia(4,2,e,t)}function ua(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 ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ia(4,2,ua.bind(null,t,e),n)}function la(){}function pa(e,t){return Yo().memoizedState=[e,void 0===t?null:t],e}function fa(e,t){var n=Qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ko(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ko(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=zi();qi(98>r?98:r,(function(){e(!0)})),qi(97<r?97:r,(function(){var r=zo.suspense;zo.suspense=void 0===t?null:t;try{e(!1),n()}finally{zo.suspense=r}}))}function ma(e,t,n){var r=Gs(),i=fo.suspense;i={expirationTime:r=Ks(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===qo||null!==o&&o===qo)Wo=!0,i.expirationTime=Uo,qo.expirationTime=Uo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Pr(s,a))return}catch(u){}Js(e,r)}}var ga={readContext:ro,useCallback:Go,useContext:Go,useEffect:Go,useImperativeHandle:Go,useLayoutEffect:Go,useMemo:Go,useReducer:Go,useRef:Go,useState:Go,useDebugValue:Go,useResponder:Go,useDeferredValue:Go,useTransition:Go},va={readContext:ro,useCallback:pa,useContext:ro,useEffect:oa,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ra(4,2,ua.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Yo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ma.bind(null,qo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yo().memoizedState=e},useState:ea,useDebugValue:la,useResponder:Ro,useDeferredValue:function(e,t){var n=ea(e),r=n[0],i=n[1];return oa((function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:ro,useCallback:fa,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Xo,useRef:na,useState:function(){return Xo($o)},useDebugValue:la,useResponder:Ro,useDeferredValue:function(e,t){var n=Xo($o),r=n[0],i=n[1];return aa((function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xo($o),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:ro,useCallback:fa,useContext:ro,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:sa,useMemo:da,useReducer:Zo,useRef:na,useState:function(){return Zo($o)},useDebugValue:la,useResponder:Ro,useDeferredValue:function(e,t){var n=Zo($o),r=n[0],i=n[1];return aa((function(){var n=zo.suspense;zo.suspense=void 0===t?null:t;try{i(e)}finally{zo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo($o),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},xa=null,Ea=null,Da=!1;function Ca(e,t){var n=wu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function wa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.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 Sa(e){if(Da){var t=Ea;if(t){var n=t;if(!wa(e,t)){if(!(t=En(n.nextSibling))||!wa(e,t))return e.effectTag=-1025&e.effectTag|2,Da=!1,void(xa=e);Ca(xa,n)}xa=e,Ea=En(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Da=!1,xa=e}}function ka(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xa=e}function Aa(e){if(e!==xa)return!1;if(!Da)return ka(e),Da=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yn(t,e.memoizedProps))for(t=Ea;t;)Ca(e,t),t=En(t.nextSibling);if(ka(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ea=En(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ea=null}}else Ea=xa?En(e.stateNode.nextSibling):null;return!0}function Ta(){Ea=xa=null,Da=!1}var _a=Q.ReactCurrentOwner,Oa=!1;function Fa(e,t,n,r){t.child=null===e?ko(t,null,n,r):So(t,e.child,n,r)}function Na(e,t,n,r,i){n=n.render;var o=t.ref;return no(t,i),r=Jo(e,t,n,r,o,i),null===e||Oa?(t.effectTag|=1,Fa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function Ia(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Su(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Au(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ma(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Br)(i,r)&&e.ref===t.ref)?Ja(e,t,o):(t.effectTag|=1,(e=ku(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ma(e,t,n,r,i,o){return null!==e&&Br(e.memoizedProps,r)&&e.ref===t.ref&&(Oa=!1,i<o)?(t.expirationTime=e.expirationTime,Ja(e,t,o)):La(e,t,n,r,o)}function ja(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,r,i){var o=mi(n)?di:pi.current;return o=hi(t,o),no(t,i),n=Jo(e,t,n,r,o,i),null===e||Oa?(t.effectTag|=1,Fa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function Pa(e,t,n,r,i){if(mi(n)){var o=!0;bi(t)}else o=!1;if(no(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),yo(t,n,r),xo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=ro(c):c=hi(t,c=mi(n)?di:pi.current);var l=n.getDerivedStateFromProps,p="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;p||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==c)&&bo(t,a,r,c),io=!1;var f=t.memoizedState;a.state=f,lo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||fi.current||io?("function"===typeof l&&(mo(t,n,l,r),u=t.memoizedState),(s=io||vo(t,n,s,r,f,u,c))?(p||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ao(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Ji(t.type,s),u=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=ro(c):c=hi(t,c=mi(n)?di:pi.current),(p="function"===typeof(l=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||u!==c)&&bo(t,a,r,c),io=!1,u=t.memoizedState,a.state=u,lo(t,r,a,i),f=t.memoizedState,s!==r||u!==f||fi.current||io?("function"===typeof l&&(mo(t,n,l,r),f=t.memoizedState),(l=io||vo(t,n,s,r,u,f,c))?(p||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,c)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=c,r=l):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ra(e,t,n,r,o,i)}function Ra(e,t,n,r,i,o){ja(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Ja(e,t,o);r=t.stateNode,_a.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=So(t,e.child,null,o),t.child=So(t,null,s,o)):Fa(e,t,s,o),t.memoizedState=r.state,i&&xi(t,n,!0),t.child}function Ba(e){var t=e.stateNode;t.pendingContext?vi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vi(0,t.context,!1),No(e,t.containerInfo)}var za,Ua,qa,Va={dehydrated:null,retryTime:0};function Ha(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Lo.current,s=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ci(Lo,1&a),null===e){if(void 0!==o.fallback&&Sa(t),s){if(s=o.fallback,(o=Tu(null,i,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Tu(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Va,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=ko(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=ku(e,e.pendingProps)).return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=ku(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Va,t.child=n,i}return n=So(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Tu(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Tu(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Va,t.child=o,n}return t.memoizedState=null,t.child=So(t,e,o.children,n)}function Wa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),to(e.return,t)}function Ga(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Ka(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Fa(e,t,r.children,n),0!==(2&(r=Lo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wa(e,n);else if(19===e.tag)Wa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ci(Lo,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Po(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ga(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Po(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ga(t,!0,n,null,o,t.lastEffect);break;case"together":Ga(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ja(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&au(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=ku(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ku(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ya(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mi(t.type)&&gi(),null;case 3:return Io(),ui(fi),ui(pi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Aa(t)||(t.effectTag|=4),null;case 5:jo(t),n=Fo(Oo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Ua(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Fo(To.current),Aa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[wn]=t,r[Sn]=s,o){case"iframe":case"object":case"embed":Kt("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)Kt(Qe[e],r);break;case"source":Kt("error",r);break;case"img":case"image":case"link":Kt("error",r),Kt("load",r);break;case"form":Kt("reset",r),Kt("submit",r);break;case"details":Kt("toggle",r);break;case"input":Ce(r,s),Kt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Kt("invalid",r),un(n,"onChange");break;case"textarea":Fe(r,s),Kt("invalid",r),un(n,"onChange")}for(var u in on(o,s),e=null,s)if(s.hasOwnProperty(u)){var c=s[u];"children"===u?"string"===typeof c?r.textContent!==c&&(e=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(e=["children",""+c]):w.hasOwnProperty(u)&&null!=c&&un(n,u)}switch(o){case"input":xe(r),ke(r,s,!0);break;case"textarea":xe(r),Ie(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Le(o)),e===sn?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[wn]=t,e[Sn]=r,za(e,t),t.stateNode=e,u=an(o,r),o){case"iframe":case"object":case"embed":Kt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Qe.length;c++)Kt(Qe[c],e);c=r;break;case"source":Kt("error",e),c=r;break;case"img":case"image":case"link":Kt("error",e),Kt("load",e),c=r;break;case"form":Kt("reset",e),Kt("submit",e),c=r;break;case"details":Kt("toggle",e),c=r;break;case"input":Ce(e,r),c=De(e,r),Kt("invalid",e),un(n,"onChange");break;case"option":c=Te(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Kt("invalid",e),un(n,"onChange");break;case"textarea":Fe(e,r),c=Oe(e,r),Kt("invalid",e),un(n,"onChange");break;default:c=r}on(o,c);var l=c;for(s in l)if(l.hasOwnProperty(s)){var p=l[s];"style"===s?nn(e,p):"dangerouslySetInnerHTML"===s?null!=(p=p?p.__html:void 0)&&Be(e,p):"children"===s?"string"===typeof p?("textarea"!==o||""!==p)&&ze(e,p):"number"===typeof p&&ze(e,""+p):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(w.hasOwnProperty(s)?null!=p&&un(n,s):null!=p&&$(e,s,p,u))}switch(o){case"input":xe(e),ke(e,r,!1);break;case"textarea":xe(e),Ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?_e(e,!!r.multiple,n,!1):null!=r.defaultValue&&_e(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof c.onClick&&(e.onclick=cn)}vn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)qa(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Fo(Oo.current),Fo(To.current),Aa(t)?(n=t.stateNode,r=t.memoizedProps,n[wn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[wn]=t,t.stateNode=n)}return null;case 13:return ui(Lo),r=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Aa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Lo.current)?As===xs&&(As=Es):(As!==xs&&As!==Es||(As=Ds),0!==Ns&&null!==ws&&(Iu(ws,ks),Mu(ws,Ns)))),(n||r)&&(t.effectTag|=4),null);case 4:return Io(),null;case 10:return eo(t),null;case 17:return mi(t.type)&&gi(),null;case 19:if(ui(Lo),null===(r=t.memoizedState))return null;if(o=0!==(64&t.effectTag),null===(s=r.rendering)){if(o)Ya(r,!1);else if(As!==xs||null!==e&&0!==(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Po(s))){for(t.effectTag|=64,Ya(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return ci(Lo,1&Lo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Po(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ya(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Bi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ya(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Bi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Bi(),n.sibling=null,t=Lo.current,ci(Lo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function $a(e){switch(e.tag){case 1:mi(e.type)&&gi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Io(),ui(fi),ui(pi),0!==(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return jo(e),null;case 13:return ui(Lo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ui(Lo),null;case 4:return Io(),null;case 10:return eo(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ve(t)}}za=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ua=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,c=t.stateNode;switch(Fo(To.current),e=null,n){case"input":a=De(c,a),r=De(c,r),e=[];break;case"option":a=Te(c,a),r=Te(c,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Oe(c,a),r=Oe(c,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(c.onclick=cn)}for(s in on(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in c=a[s])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(w.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var l=r[s];if(c=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&l!==c&&(null!=l||null!=c))if("style"===s)if(c){for(u in c)!c.hasOwnProperty(u)||l&&l.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in l)l.hasOwnProperty(u)&&c[u]!==l[u]&&(n||(n={}),n[u]=l[u])}else n||(e||(e=[]),e.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(s,l)):"children"===s?c===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(w.hasOwnProperty(s)?(null!=l&&un(o,s),e||c===l||(e=[])):(e=e||[]).push(s,l))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},qa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"===typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function ts(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){yu(e,n)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ji(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void is(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Ji(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&po(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}po(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&vn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch("function"===typeof Du&&Du(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;qi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(o){yu(i,o)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){yu(e,n)}}(t,n);break;case 5:ts(t);break;case 4:ls(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function us(e){return 5===e.tag||3===e.tag||4===e.tag}function cs(e){e:{for(var t=e.return;null!==t;){if(us(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(ze(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||us(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function ls(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,c=o,l=n,p=c;;)if(as(u,p,l),null!==p.child&&4!==p.tag)p.child.return=p,p=p.child;else{if(p===c)break e;for(;null===p.sibling;){if(null===p.return||p.return===c)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}i?(u=r,c=o.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(as(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ps(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&we(n,r),an(e,i),t=an(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?nn(n,u):"dangerouslySetInnerHTML"===s?Be(n,u):"children"===s?ze(n,u):$(n,s,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ne(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?_e(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?_e(n,!!r.multiple,r.defaultValue,!0):_e(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ms=Bi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=void 0!==(i=e.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=tn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void fs(t);case 19:return void fs(t);case 17:return}throw Error(a(163))}function fs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=xu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ds="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=so(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ls||(Ls=!0,Ps=r),es(e,t)},n}function ms(e,t,n){(n=so(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return es(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Rs?Rs=new Set([this]):Rs.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var gs,vs=Math.ceil,ys=Q.ReactCurrentDispatcher,bs=Q.ReactCurrentOwner,xs=0,Es=3,Ds=4,Cs=0,ws=null,Ss=null,ks=0,As=xs,Ts=null,_s=1073741823,Os=1073741823,Fs=null,Ns=0,Is=!1,Ms=0,js=null,Ls=!1,Ps=null,Rs=null,Bs=!1,zs=null,Us=90,qs=null,Vs=0,Hs=null,Ws=0;function Gs(){return 0!==(48&Cs)?1073741821-(Bi()/10|0):0!==Ws?Ws:Ws=1073741821-(Bi()/10|0)}function Ks(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=zi();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&Cs))return ks;if(null!==n)e=Ki(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Ki(e,150,100);break;case 97:case 96:e=Ki(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==ws&&e===ks&&--e,e}function Js(e,t){if(50<Vs)throw Vs=0,Hs=null,Error(a(185));if(null!==(e=Ys(e,t))){var n=zi();1073741823===t?0!==(8&Cs)&&0===(48&Cs)?Zs(e):($s(e),0===Cs&&Wi()):$s(e),0===(4&Cs)||98!==n&&99!==n||(null===qs?qs=new Map([[e,t]]):(void 0===(n=qs.get(e))||n>t)&&qs.set(e,t))}}function Ys(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(ws===i&&(au(t),As===Ds&&Iu(i,ks)),Mu(i,t)),i}function Qs(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Nu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function $s(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Hi(Zs.bind(null,e));else{var t=Qs(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Gs();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Ni&&Ci(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Hi(Zs.bind(null,e)):Vi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-Bi()}),e.callbackNode=t}}}function Xs(e,t){if(Ws=0,t)return ju(e,t=Gs()),$s(e),null;var n=Qs(e);if(0!==n){if(t=e.callbackNode,0!==(48&Cs))throw Error(a(327));if(mu(),e===ws&&n===ks||nu(e,n),null!==Ss){var r=Cs;Cs|=16;for(var i=iu();;)try{uu();break}catch(u){ru(e,u)}if(Zi(),Cs=r,ys.current=i,1===As)throw t=Ts,nu(e,n),Iu(e,n),$s(e),t;if(null===Ss)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=As,ws=null,r){case xs:case 1:throw Error(a(345));case 2:ju(e,2<n?2:n);break;case Es:if(Iu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pu(i)),1073741823===_s&&10<(i=Ms+500-Bi())){if(Is){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,nu(e,n);break}}if(0!==(o=Qs(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(fu.bind(null,e),i);break}fu(e);break;case Ds:if(Iu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=pu(i)),Is&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nu(e,n);break}if(0!==(i=Qs(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Os?r=10*(1073741821-Os)-Bi():1073741823===_s?r=0:(r=10*(1073741821-_s)-5e3,0>(r=(i=Bi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vs(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(fu.bind(null,e),r);break}fu(e);break;case 5:if(1073741823!==_s&&null!==Fs){o=_s;var s=Fs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Bi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Iu(e,n),e.timeoutHandle=bn(fu.bind(null,e),r);break}}fu(e);break;default:throw Error(a(329))}if($s(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Zs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&Cs))throw Error(a(327));if(mu(),e===ws&&t===ks||nu(e,t),null!==Ss){var n=Cs;Cs|=16;for(var r=iu();;)try{su();break}catch(i){ru(e,i)}if(Zi(),Cs=n,ys.current=r,1===As)throw n=Ts,nu(e,t),Iu(e,t),$s(e),n;if(null!==Ss)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,ws=null,fu(e),$s(e)}return null}function eu(e,t){var n=Cs;Cs|=1;try{return e(t)}finally{0===(Cs=n)&&Wi()}}function tu(e,t){var n=Cs;Cs&=-2,Cs|=8;try{return e(t)}finally{0===(Cs=n)&&Wi()}}function nu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Ss)for(n=Ss.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&gi();break;case 3:Io(),ui(fi),ui(pi);break;case 5:jo(r);break;case 4:Io();break;case 13:case 19:ui(Lo);break;case 10:eo(r)}n=n.return}ws=e,Ss=ku(e.current,null),ks=t,As=xs,Ts=null,Os=_s=1073741823,Fs=null,Ns=0,Is=!1}function ru(e,t){for(;;){try{if(Zi(),Bo.current=ga,Wo)for(var n=qo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Uo=0,Ho=Vo=qo=null,Wo=!1,null===Ss||null===Ss.return)return As=1,Ts=t,Ss=null;e:{var i=e,o=Ss.return,a=Ss,s=t;if(t=ks,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var u=s;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&Lo.current),p=o;do{var f;if(f=13===p.tag){var d=p.memoizedState;if(null!==d)f=null!==d.dehydrated;else{var h=p.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(f){var m=p.updateQueue;if(null===m){var g=new Set;g.add(u),p.updateQueue=g}else m.add(u);if(0===(2&p.mode)){if(p.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=so(1073741823,null);v.tag=2,uo(a,v)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(a)){s.add(a);var b=bu.bind(null,i,u,a);u.then(b,b)}p.effectTag|=4096,p.expirationTime=t;break e}p=p.return}while(null!==p);s=Error((ge(a.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."+ve(a))}5!==As&&(As=2),s=Xa(s,a),p=o;do{switch(p.tag){case 3:u=s,p.effectTag|=4096,p.expirationTime=t,co(p,hs(p,u,t));break e;case 1:u=s;var x=p.type,E=p.stateNode;if(0===(64&p.effectTag)&&("function"===typeof x.getDerivedStateFromError||null!==E&&"function"===typeof E.componentDidCatch&&(null===Rs||!Rs.has(E)))){p.effectTag|=4096,p.expirationTime=t,co(p,ms(p,u,t));break e}}p=p.return}while(null!==p)}Ss=lu(Ss)}catch(D){t=D;continue}break}}function iu(){var e=ys.current;return ys.current=ga,null===e?ga:e}function ou(e,t){e<_s&&2<e&&(_s=e),null!==t&&e<Os&&2<e&&(Os=e,Fs=t)}function au(e){e>Ns&&(Ns=e)}function su(){for(;null!==Ss;)Ss=cu(Ss)}function uu(){for(;null!==Ss&&!Ii();)Ss=cu(Ss)}function cu(e){var t=gs(e.alternate,e,ks);return e.memoizedProps=e.pendingProps,null===t&&(t=lu(e)),bs.current=null,t}function lu(e){Ss=e;do{var t=Ss.alternate;if(e=Ss.return,0===(2048&Ss.effectTag)){if(t=Qa(t,Ss,ks),1===ks||1!==Ss.childExpirationTime){for(var n=0,r=Ss.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Ss.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ss.firstEffect),null!==Ss.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ss.firstEffect),e.lastEffect=Ss.lastEffect),1<Ss.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ss:e.firstEffect=Ss,e.lastEffect=Ss))}else{if(null!==(t=$a(Ss)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ss.sibling))return t;Ss=e}while(null!==Ss);return As===xs&&(As=5),null}function pu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function fu(e){var t=zi();return qi(99,du.bind(null,e,t)),null}function du(e,t){do{mu()}while(null!==zs);if(0!==(48&Cs))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=pu(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===ws&&(Ss=ws=null,ks=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Cs;Cs|=32,bs.current=null,mn=Gt;var s=dn();if(hn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var l=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{u.nodeType,p.nodeType}catch(k){u=null;break e}var f=0,d=-1,h=-1,m=0,g=0,v=s,y=null;t:for(;;){for(var b;v!==u||0!==l&&3!==v.nodeType||(d=f+l),v!==p||0!==c&&3!==v.nodeType||(h=f+c),3===v.nodeType&&(f+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===s)break t;if(y===u&&++m===l&&(d=f),y===p&&++g===c&&(h=f),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}u=-1===d||-1===h?null:{start:d,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;gn={activeElementDetached:null,focusedElem:s,selectionRange:u},Gt=!1,js=i;do{try{hu()}catch(k){if(null===js)throw Error(a(330));yu(js,k),js=js.nextEffect}}while(null!==js);js=i;do{try{for(s=e,u=t;null!==js;){var x=js.effectTag;if(16&x&&ze(js.stateNode,""),128&x){var E=js.alternate;if(null!==E){var D=E.ref;null!==D&&("function"===typeof D?D(null):D.current=null)}}switch(1038&x){case 2:cs(js),js.effectTag&=-3;break;case 6:cs(js),js.effectTag&=-3,ps(js.alternate,js);break;case 1024:js.effectTag&=-1025;break;case 1028:js.effectTag&=-1025,ps(js.alternate,js);break;case 4:ps(js.alternate,js);break;case 8:ls(s,l=js,u),ss(l)}js=js.nextEffect}}catch(k){if(null===js)throw Error(a(330));yu(js,k),js=js.nextEffect}}while(null!==js);if(D=gn,E=dn(),x=D.focusedElem,u=D.selectionRange,E!==x&&x&&x.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==u&&hn(x)&&(E=u.start,void 0===(D=u.end)&&(D=E),"selectionStart"in x?(x.selectionStart=E,x.selectionEnd=Math.min(D,x.value.length)):(D=(E=x.ownerDocument||document)&&E.defaultView||window).getSelection&&(D=D.getSelection(),l=x.textContent.length,s=Math.min(u.start,l),u=void 0===u.end?s:Math.min(u.end,l),!D.extend&&s>u&&(l=u,u=s,s=l),l=fn(x,s),p=fn(x,u),l&&p&&(1!==D.rangeCount||D.anchorNode!==l.node||D.anchorOffset!==l.offset||D.focusNode!==p.node||D.focusOffset!==p.offset)&&((E=E.createRange()).setStart(l.node,l.offset),D.removeAllRanges(),s>u?(D.addRange(E),D.extend(p.node,p.offset)):(E.setEnd(p.node,p.offset),D.addRange(E))))),E=[];for(D=x;D=D.parentNode;)1===D.nodeType&&E.push({element:D,left:D.scrollLeft,top:D.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<E.length;x++)(D=E[x]).element.scrollLeft=D.left,D.element.scrollTop=D.top}Gt=!!mn,gn=mn=null,e.current=n,js=i;do{try{for(x=e;null!==js;){var C=js.effectTag;if(36&C&&os(x,js.alternate,js),128&C){E=void 0;var w=js.ref;if(null!==w){var S=js.stateNode;switch(js.tag){case 5:E=S;break;default:E=S}"function"===typeof w?w(E):w.current=E}}js=js.nextEffect}}catch(k){if(null===js)throw Error(a(330));yu(js,k),js=js.nextEffect}}while(null!==js);js=null,Mi(),Cs=o}else e.current=n;if(Bs)Bs=!1,zs=e,Us=t;else for(js=i;null!==js;)t=js.nextEffect,js.nextEffect=null,js=t;if(0===(t=e.firstPendingTime)&&(Rs=null),1073741823===t?e===Hs?Vs++:(Vs=0,Hs=e):Vs=0,"function"===typeof Eu&&Eu(n.stateNode,r),$s(e),Ls)throw Ls=!1,e=Ps,Ps=null,e;return 0!==(8&Cs)||Wi(),null}function hu(){for(;null!==js;){var e=js.effectTag;0!==(256&e)&&ns(js.alternate,js),0===(512&e)||Bs||(Bs=!0,Vi(97,(function(){return mu(),null}))),js=js.nextEffect}}function mu(){if(90!==Us){var e=97<Us?97:Us;return Us=90,qi(e,gu)}}function gu(){if(null===zs)return!1;var e=zs;if(zs=null,0!==(48&Cs))throw Error(a(331));var t=Cs;for(Cs|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),is(5,n)}}catch(r){if(null===e)throw Error(a(330));yu(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return Cs=t,Wi(),!0}function vu(e,t,n){uo(e,t=hs(e,t=Xa(n,t),1073741823)),null!==(e=Ys(e,1073741823))&&$s(e)}function yu(e,t){if(3===e.tag)vu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){vu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Rs||!Rs.has(r))){uo(n,e=ms(n,e=Xa(t,e),1073741823)),null!==(n=Ys(n,1073741823))&&$s(n);break}}n=n.return}}function bu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),ws===e&&ks===n?As===Ds||As===Es&&1073741823===_s&&Bi()-Ms<500?nu(e,ks):Is=!0:Nu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,$s(e)))}function xu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Ks(t=Gs(),e,null)),null!==(e=Ys(e,t))&&$s(e)}gs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||fi.current)Oa=!0;else{if(r<n){switch(Oa=!1,t.tag){case 3:Ba(t),Ta();break;case 5:if(Mo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:mi(t.type)&&bi(t);break;case 4:No(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ci(Yi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ha(e,t,n):(ci(Lo,1&Lo.current),null!==(t=Ja(e,t,n))?t.sibling:null);ci(Lo,1&Lo.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return Ka(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ci(Lo,Lo.current),!r)return null}return Ja(e,t,n)}Oa=!1}}else Oa=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=hi(t,pi.current),no(t,n),i=Jo(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(r)){var o=!0;bi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&mo(t,r,s,e),i.updater=go,t.stateNode=i,i._reactInternalFiber=t,xo(t,r,e,n),t=Ra(null,t,r,!0,o,n)}else t.tag=0,Fa(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.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)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"===typeof e)return Su(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===ue)return 11;if(e===pe)return 14}return 2}(i),e=Ji(i,e),o){case 0:t=La(null,t,i,e,n);break e;case 1:t=Pa(null,t,i,e,n);break e;case 11:t=Na(null,t,i,e,n);break e;case 14:t=Ia(null,t,i,Ji(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,La(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 1:return r=t.type,i=t.pendingProps,Pa(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 3:if(Ba(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ao(e,t),lo(t,r,null,n),(r=t.memoizedState.element)===i)Ta(),t=Ja(e,t,n);else{if((i=t.stateNode.hydrate)&&(Ea=En(t.stateNode.containerInfo.firstChild),xa=t,i=Da=!0),i)for(n=ko(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Fa(e,t,r,n),Ta();t=t.child}return t;case 5:return Mo(t),null===e&&Sa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,yn(r,i)?s=null:null!==o&&yn(r,o)&&(t.effectTag|=16),ja(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Fa(e,t,s,n),t=t.child),t;case 6:return null===e&&Sa(t),null;case 13:return Ha(e,t,n);case 4:return No(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=So(t,null,r,n):Fa(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Na(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 7:return Fa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(ci(Yi,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=Pr(u,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!fi.current){t=Ja(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!==(l.observedBits&o)){1===u.tag&&((l=so(n,null)).tag=2,uo(u,l)),u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n),to(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Fa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,no(t,n),r=r(i=ro(i,o.unstable_observedBits)),t.effectTag|=1,Fa(e,t,r,n),t.child;case 14:return o=Ji(i=t.type,t.pendingProps),Ia(e,t,i,o=Ji(i.type,o),r,n);case 15:return Ma(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ji(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,mi(r)?(e=!0,bi(t)):e=!1,no(t,n),yo(t,r,i),xo(t,r,i,n),Ra(null,t,r,!0,e,n);case 19:return Ka(e,t,n)}throw Error(a(156,t.tag))};var Eu=null,Du=null;function Cu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function wu(e,t,n,r){return new Cu(e,t,n,r)}function Su(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ku(e,t){var n=e.alternate;return null===n?((n=wu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Au(e,t,n,r,i,o){var s=2;if(r=e,"function"===typeof e)Su(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case ne:return Tu(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=wu(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ce:return(e=wu(13,n,t,i)).type=ce,e.elementType=ce,e.expirationTime=o,e;case le:return(e=wu(19,n,t,i)).elementType=le,e.expirationTime=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case pe:s=14;break e;case fe:s=16,r=null;break e;case de:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=wu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Tu(e,t,n,r){return(e=wu(7,e,r,t)).expirationTime=n,e}function _u(e,t,n){return(e=wu(6,e,null,t)).expirationTime=n,e}function Ou(e,t,n){return(t=wu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Nu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Iu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Mu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function ju(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Lu(e,t,n,r){var i=t.current,o=Gs(),s=fo.suspense;o=Ks(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(mi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var c=n.type;if(mi(c)){n=yi(n,c,u);break e}}n=u}else n=li;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),uo(i,t),Js(i,o),o}function Pu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ru(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Bu(e,t){Ru(e,t),(e=e.alternate)&&Ru(e,t)}function zu(e,t,n){var r=new Fu(e,t,n=null!=n&&!0===n.hydrate),i=wu(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,oo(i),e[kn]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);kt.forEach((function(e){ht(e,t,n)})),At.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Uu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function qu(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=Pu(a);s.call(e)}}Lu(t,a,e,i)}else{if(o=n._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 n;n=e.lastChild;)e.removeChild(n);return new zu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"===typeof i){var u=i;i=function(){var e=Pu(a);u.call(e)}}tu((function(){Lu(t,a,e,i)}))}return Pu(a)}function Vu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uu(t))throw Error(a(200));return Vu(e,t,null,n)}zu.prototype.render=function(e){Lu(e,this._internalRoot,null,null)},zu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Lu(null,e,null,(function(){t[kn]=null}))},mt=function(e){if(13===e.tag){var t=Ki(Gs(),150,100);Js(e,t),Bu(e,t)}},gt=function(e){13===e.tag&&(Js(e,3),Bu(e,3))},vt=function(e){if(13===e.tag){var t=Gs();Js(e,t=Ks(t,e,null)),Bu(e,t)}},T=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=On(r);if(!i)throw Error(a(90));Ee(r),Se(r,i)}}}break;case"textarea":Ne(e,n);break;case"select":null!=(t=n.value)&&_e(e,!!n.multiple,t,!1)}},M=eu,j=function(e,t,n,r,i){var o=Cs;Cs|=4;try{return qi(98,e.bind(null,t,n,r,i))}finally{0===(Cs=o)&&Wi()}},L=function(){0===(49&Cs)&&(function(){if(null!==qs){var e=qs;qs=null,e.forEach((function(e,t){ju(t,e),$s(t)})),Wi()}}(),mu())},P=function(e,t){var n=Cs;Cs|=2;try{return e(t)}finally{0===(Cs=n)&&Wi()}};var Wu={Events:[Tn,_n,On,k,C,Pn,function(e){it(e,Ln)},N,I,$t,st,mu,{current:!1}]};!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 n=t.inject(e);Eu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},Du=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:An,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wu,t.createPortal=Hu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&Cs))throw Error(a(187));var n=Cs;Cs|=1;try{return qi(99,e.bind(null,t))}finally{Cs=n,Wi()}},t.hydrate=function(e,t,n){if(!Uu(t))throw Error(a(200));return qu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Uu(t))throw Error(a(200));return qu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Uu(e))throw Error(a(40));return!!e._reactRootContainer&&(tu((function(){qu(null,null,e,!1,(function(){e._reactRootContainer=null,e[kn]=null}))})),!0)},t.unstable_batchedUpdates=eu,t.unstable_createPortal=function(e,t){return Hu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Uu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return qu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(278)},function(e,t,n){"use strict";var r,i,o,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,c=null,l=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(e,0),r}},p=Date.now();t.unstable_now=function(){return Date.now()-p},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var g=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&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 g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof f&&"function"===typeof f.now)t.unstable_now=function(){return f.now()};else{var v=d.now();t.unstable_now=function(){return d.now()-v}}var y=!1,b=null,x=-1,E=5,D=0;a=function(){return t.unstable_now()>=D},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):E=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,w=C.port2;C.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();D=e+E;try{b(!0,e)?w.postMessage(null):(y=!1,b=null)}catch(n){throw w.postMessage(null),n}}else y=!1},r=function(e){b=e,y||(y=!0,w.postMessage(null))},i=function(e,n){x=h((function(){e(t.unstable_now())}),n)},o=function(){m(x),x=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<T(i,t)))break e;e[r]=t,e[n]=i,n=r}}function k(e){return void 0===(e=e[0])?null:e}function A(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>T(a,n))void 0!==u&&0>T(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var _=[],O=[],F=1,N=null,I=3,M=!1,j=!1,L=!1;function P(e){for(var t=k(O);null!==t;){if(null===t.callback)A(O);else{if(!(t.startTime<=e))break;A(O),t.sortIndex=t.expirationTime,S(_,t)}t=k(O)}}function R(e){if(L=!1,P(e),!j)if(null!==k(_))j=!0,r(B);else{var t=k(O);null!==t&&i(R,t.startTime-e)}}function B(e,n){j=!1,L&&(L=!1,o()),M=!0;var r=I;try{for(P(n),N=k(_);null!==N&&(!(N.expirationTime>n)||e&&!a());){var s=N.callback;if(null!==s){N.callback=null,I=N.priorityLevel;var u=s(N.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?N.callback=u:N===k(_)&&A(_),P(n)}else A(_);N=k(_)}if(null!==N)var c=!0;else{var l=k(O);null!==l&&i(R,l.startTime-n),c=!1}return c}finally{N=null,I=r,M=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){j||M||(j=!0,r(B))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return k(_)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=U,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"===typeof a&&null!==a){var u=a.delay;u="number"===typeof u&&0<u?s+u:s,a="number"===typeof a.timeout?a.timeout:z(e)}else a=z(e),u=s;return e={id:F++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,S(O,e),null===k(_)&&e===k(O)&&(L?o():L=!0,i(R,u-s))):(e.sortIndex=a,S(_,e),j||M||(j=!0,r(B))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();P(e);var n=k(_);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<N.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},function(e,t,n){"use strict";var r=n(280);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){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;var n={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:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function D(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case f:case a:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case v:case g:case c:return e;default:return t}}case o:return t}}}function C(e){return D(e)===f}t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=d,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||D(e)===p},t.isConcurrentMode=C,t.isContextConsumer=function(e){return D(e)===l},t.isContextProvider=function(e){return D(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return D(e)===d},t.isFragment=function(e){return D(e)===a},t.isLazy=function(e){return D(e)===v},t.isMemo=function(e){return D(e)===g},t.isPortal=function(e){return D(e)===o},t.isProfiler=function(e){return D(e)===u},t.isStrictMode=function(e){return D(e)===s},t.isSuspense=function(e){return D(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===f||e===u||e===s||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===x||e.$$typeof===E||e.$$typeof===y)},t.typeOf=D},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,n){"use strict";(function(e){var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),u=n(169);t.GraphQLEditor=u.default;var c=n(488),l=n(491),p=n(8),f=n(504),d=n(505),h=n(508),m=n(509),g=n(24),v=n(36),y=n(100),b=n(124),x=n(26),E=n(28),D=n(99),C=n(110),w=n(231),S=n(38),k=n(510),A=n(94),T=n(150),_=function(t){function n(n){var r=t.call(this,n)||this;return r.apolloLinks={},r.observers={},r.graphiqlComponents=[],r.getSchema=A.debounce((function(e){return void 0===e&&(e=r.props),o(r,void 0,void 0,(function(){var t,n=this;return a(this,(function(r){return e.schema||(this.mounted&&this.state.schema&&!e.isPollingSchema&&this.setState({schema:void 0}),t=!0,this.backoff&&this.backoff.stop(),this.backoff=new k.Backoff((function(){return o(n,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return t?[4,this.schemaGetter(e)]:[3,2];case 1:return n.sent(),t=!1,[3,4];case 2:return[4,this.schemaGetter()];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))})),this.backoff.start()),[2]}))}))}),600,{trailing:!0}),r.initialIndex=-1,r.mounted=!1,r.initialSchemaFetch=!0,r.setRef=function(e,t){r.graphiqlComponents[e]=t?t.getWrappedInstance():t},r.closeTab=function(){r.props.closeSelectedTab()},r.nextTab=function(){r.props.selectNextTab()},r.prevTab=function(){r.props.selectPrevTab()},r.switchTab=function(e){r.props.selectTabIndex(e)},r.handleSaveConfig=function(){r.props.saveConfig(),r.props.onSaveConfig()},r.handleSaveSettings=function(){r.props.saveSettings(),r.props.onSaveSettings()},r.createSession=function(){r.props.newSession(r.props.endpoint,r.props.settings["editor.reuseHeaders"])},r.state={schema:n.schema},e.p=r,"function"===typeof r.props.getRef&&r.props.getRef(r),C.setLinkCreator(n.createApolloLink),r.getSchema(),C.setSubscriptionEndpoint(n.subscriptionEndpoint),r}return r(n,t),n.prototype.componentWillMount=function(){this.props.initState(w.getWorkspaceId(this.props),this.props.endpoint),this.props.setConfigString(this.props.configString),this.props.injectHeaders(this.props.headers,this.props.endpoint)},n.prototype.componentDidMount=function(){this.initialIndex>-1&&this.setState({selectedSessionIndex:this.initialIndex}),this.mounted=!0},n.prototype.componentWillReceiveProps=function(e){var t=this;this.props.createApolloLink!==e.createApolloLink&&C.setLinkCreator(e.createApolloLink),e.headers===this.props.headers&&e.endpoint===this.props.endpoint&&e.workspaceName===this.props.workspaceName&&e.sessionHeaders===this.props.sessionHeaders&&e.sessionEndpoint===this.props.sessionEndpoint||this.getSchema(e),this.props.isReloadingSchema&&!e.isReloadingSchema&&setTimeout((function(){t.getSchema(e)})),this.props.endpoint===e.endpoint&&this.props.configPath===e.configPath&&e.workspaceName===this.props.workspaceName||this.props.initState(w.getWorkspaceId(e),e.endpoint),this.props.subscriptionEndpoint!==e.subscriptionEndpoint&&C.setSubscriptionEndpoint(e.subscriptionEndpoint),e.headers!==this.props.headers&&this.props.injectHeaders(e.headers,e.endpoint),e.configString!==this.props.configString&&this.props.setConfigString(e.configString),e.schema!==this.props.schema&&this.setState({schema:e.schema})},n.prototype.schemaGetter=function(e){return o(this,void 0,void 0,(function(){var t,n,r,i,o,s,u=this;return a(this,(function(a){switch(a.label){case 0:t=this.props||e,n=t.sessionEndpoint||t.endpoint,r=this.state.schema,a.label=1;case 1:return a.trys.push([1,3,,4]),i={endpoint:n,headers:t.sessionHeaders&&t.sessionHeaders.length>0?t.sessionHeaders:JSON.stringify(t.headers),credentials:t.settings["request.credentials"]},[4,C.schemaFetcher.fetch(i)];case 2:return o=a.sent(),C.schemaFetcher.subscribe(i,(function(e){i.endpoint!==u.props.endpoint&&i.endpoint!==u.props.sessionEndpoint||u.updateSchema(r,e,t)})),o&&(this.updateSchema(r,o.schema,t),this.initialSchemaFetch&&(this.props.schemaFetchingSuccess(i.endpoint,o.tracingSupported,t.isPollingSchema),this.initialSchemaFetch=!1),this.backoff.stop()),[3,4];case 3:return s=a.sent(),console.error(s),this.props.schemaFetchingError(n,s.message),[3,4];case 4:return[2]}}))}))},n.prototype.render=function(){var e=m.version;return window.version=e,s.createElement(M,{className:"playground"},s.createElement(c.default,{onNewSession:this.createSession,isApp:this.props.isApp}),s.createElement(j,null,s.createElement(L,{className:"graphiql-wrapper active"},this.props.isConfigTab?s.createElement(d.GraphQLConfigEditor,{onSave:this.handleSaveConfig,isYaml:this.props.configIsYaml,isConfig:!0,readOnly:!this.props.canSaveConfig}):this.props.isSettingsTab?s.createElement(d.PlaygroundSettingsEditor,{onSave:this.handleSaveSettings}):this.props.isFile&&this.props.file?s.createElement(h.default,null):s.createElement(u.default,{shareEnabled:this.props.shareEnabled,fixedEndpoint:this.props.fixedEndpoint,schema:this.state.schema}))),s.createElement(f.default,null),this.props.historyOpen&&this.renderHistoryPopup())},n.prototype.renderHistoryPopup=function(){return s.createElement(l.default,null)},n.prototype.updateSchema=function(e,t,n){if(e!==t){var r=e?T.cachedPrintSchema(e):null;T.cachedPrintSchema(t)===r&&n.isPollingSchema||this.setState({schema:t})}},Object.defineProperty(n.prototype,"httpApiPrefix",{get:function(){return this.props.endpoint.match(/(https?:\/\/.*?)\/?/)[1]},enumerable:!0,configurable:!0}),n.defaultProps={shareEnabled:!1},n}(s.PureComponent);t.Playground=_;var O=x.createStructuredSelector({isConfigTab:E.getIsConfigTab,isSettingsTab:E.getIsSettingsTab,isFile:E.getIsFile,historyOpen:D.getHistoryOpen,file:E.getFile,sessionHeaders:E.getHeaders,settings:S.getSettings,settingsString:S.getSettingsString,isReloadingSchema:E.getIsReloadingSchema,isPollingSchema:E.getIsPollingSchema,sessionEndpoint:E.getEndpoint});t.default=g.connect(O,{selectTabIndex:v.selectTabIndex,selectNextTab:v.selectNextTab,selectPrevTab:v.selectPrevTab,newSession:v.newSession,closeSelectedTab:v.closeSelectedTab,initState:b.initState,saveSettings:v.saveSettings,saveConfig:v.saveConfig,setTracingSupported:v.setTracingSupported,injectHeaders:v.injectHeaders,setConfigString:y.setConfigString,schemaFetchingError:v.schemaFetchingError,schemaFetchingSuccess:v.schemaFetchingSuccess})(_);var F,N,I,M=p.styled.div(F||(F=i(["\n flex: 1;\n display: flex;\n flex-direction: column;\n\n height: 100%;\n margin: 0;\n padding: 0;\n overflow: hidden;\n margin-right: -1px !important;\n\n line-height: 1.5;\n font-family: 'Open Sans', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n letter-spacing: 0.53px;\n color: rgba(0, 0, 0, 0.8);\n\n a:active,\n a:focus,\n button:focus,\n input:focus {\n outline: none;\n }\n"],["\n flex: 1;\n display: flex;\n flex-direction: column;\n\n height: 100%;\n margin: 0;\n padding: 0;\n overflow: hidden;\n margin-right: -1px !important;\n\n line-height: 1.5;\n font-family: 'Open Sans', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n letter-spacing: 0.53px;\n color: rgba(0, 0, 0, 0.8);\n\n a:active,\n a:focus,\n button:focus,\n input:focus {\n outline: none;\n }\n"]))),j=p.styled.div(N||(N=i(["\n height: calc(100vh - 57px);\n position: relative;\n overflow: hidden;\n"],["\n height: calc(100vh - 57px);\n position: relative;\n overflow: hidden;\n"]))),L=p.styled.div(I||(I=i(["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n visibility: hidden;\n &.active {\n visibility: visible;\n }\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n visibility: hidden;\n &.active {\n visibility: visible;\n }\n"])))}).call(this,n(37))},function(e,t,n){"use strict";n.r(t),n.d(t,"getOperationAST",(function(){return i}));var r=n(1);function i(e,t){for(var n=null,i=0,o=e.definitions;i<o.length;i++){var a=o[i];if(a.kind===r.a.OPERATION_DEFINITION)if(t){if(a.name&&a.name.value===t)return a}else{if(n)return null;n=a}}return n}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(286),s=n(8),u=n(24),c=n(36),l=n(26),p=n(28),f=n(190),d=!0,h=function(e){function t(t){var n=e.call(this,t)||this;return n.handleMouseOver=function(e){n.setState({highlight:e})},n.handleMouseOut=function(){n.setState({highlight:null})},n.handleMouseUp=function(e){n.onOptionSelected(e)},n.onClick=function(){n.props.queryRunning?n.props.stopQuery(n.props.sessionId):n.props.runQuery()},n.onOptionSelected=function(e){n.setState({optionsOpen:!1}),e&&n.props.runQuery(e.name&&e.name.value)},n.onOptionsOpen=function(e){var t=!0,r=e.target;n.setState({highlight:null,optionsOpen:!0});var i=function(e){t&&e.target===r?t=!1:(document.removeEventListener("mouseup",i),i=null,r.parentNode&&(r.parentNode.compareDocumentPosition(e.target)&Node.DOCUMENT_POSITION_CONTAINED_BY||n.setState({optionsOpen:!1}),d&&(n.onOptionSelected(n.props.operations.find((function(t){return t.name.value===e.target.textContent}))||n.props.operations[0]),d=!1)))};document.addEventListener("mouseup",i)},n.state={optionsOpen:!1,highlight:null},n}return r(t,e),t.prototype.render=function(){var e,t,n=this,r=this.props.operations,i=this.state.optionsOpen,s=r&&r.length>1,u=null;if(s&&i){var c=this.state.highlight;u=o.createElement(D,null,o.createElement(C,null,r.map((function(e){return o.createElement(a.default,{operation:e,onMouseOver:n.handleMouseOver,onMouseOut:n.handleMouseOut,onMouseUp:n.handleMouseUp,highlight:c,key:e.name?e.name.value:"*"})}))))}!this.props.queryRunning&&s||(e=this.onClick),this.props.queryRunning||!s||i||(t=this.onOptionsOpen);var l=this.props.queryRunning?o.createElement("rect",{fill:"#FFFFFF",x:"10",y:"10",width:"13",height:"13",rx:"1"}):o.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"});return o.createElement(x,null,o.createElement(E,{isRunning:this.props.queryRunning,onMouseDown:t,onClick:e,title:"Execute Query (Ctrl-Enter)"},o.createElement("svg",{width:"35",height:"35",viewBox:(this.props.queryRunning?4:3)+".5,4.5,24,24"},l)),u)},t}(o.Component),m=l.createStructuredSelector({queryRunning:p.getQueryRunning,operations:p.getOperations,sessionId:p.getSelectedSessionIdFromRoot});t.default=u.connect(m,{runQuery:c.runQuery,stopQuery:c.stopQuery})(f.toJS(h));var g,v,y,b,x=s.styled.div(g||(g=i(["\n position: absolute;\n left: -62px;\n z-index: 5;\n top: 15px;\n margin: 0 14px 0 28px;\n"],["\n position: absolute;\n left: -62px;\n z-index: 5;\n top: 15px;\n margin: 0 14px 0 28px;\n"]))),E=s.styled("div")(v||(v=i(["\n width: 60px;\n height: 60px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border-radius: 100%;\n transition: background-color 100ms;\n background-color: ",";\n border: 6px solid ",";\n cursor: pointer;\n user-select: none;\n\n svg {\n fill: ",";\n }\n\n &:hover {\n background-color: ",";\n }\n"],["\n width: 60px;\n height: 60px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border-radius: 100%;\n transition: background-color 100ms;\n background-color: ",";\n border: 6px solid ",";\n cursor: pointer;\n user-select: none;\n\n svg {\n fill: ",";\n }\n\n &:hover {\n background-color: ",";\n }\n"])),(function(e){return e.isRunning?e.theme.editorColours.executeButtonSubscription:e.theme.editorColours.executeButton}),(function(e){return e.theme.editorColours.executeButtonBorder}),(function(e){return"light"===e.theme.mode?"white":"inherit"}),(function(e){return e.isRunning?e.theme.editorColours.executeButtonSubscriptionHover:e.theme.editorColours.executeButtonHover})),D=s.styled.div(y||(y=i(["\n background: #fff;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.25);\n padding: 8px 0;\n left: -1px;\n margin: 0;\n position: absolute;\n top: 78px;\n z-index: 100;\n user-select: none;\n\n &:before {\n position: absolute;\n background: white;\n content: '';\n top: -4px;\n left: 34px;\n transform: rotate(45deg);\n width: 8px;\n height: 8px;\n }\n"],["\n background: #fff;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.25);\n padding: 8px 0;\n left: -1px;\n margin: 0;\n position: absolute;\n top: 78px;\n z-index: 100;\n user-select: none;\n\n &:before {\n position: absolute;\n background: white;\n content: '';\n top: -4px;\n left: 34px;\n transform: rotate(45deg);\n width: 8px;\n height: 8px;\n }\n"]))),C=s.styled.ul(b||(b=i(["\n max-height: 270px;\n overflow: scroll;\n\n li {\n cursor: pointer;\n list-style: none;\n min-width: 100px;\n padding: 2px 30px 4px 10px;\n }\n\n li.selected {\n background: rgb(39, 174, 96);\n color: white;\n }\n"],["\n max-height: 270px;\n overflow: scroll;\n\n li {\n cursor: pointer;\n list-style: none;\n min-width: 100px;\n padding: 2px 30px 4px 10px;\n }\n\n li.selected {\n background: rgb(39, 174, 96);\n color: white;\n }\n"])))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseOver=function(){t.props.onMouseOver(t.props.operation)},t.onMouseUp=function(){t.props.onMouseUp(t.props.operation)},t}return r(t,e),t.prototype.render=function(){return i.createElement("li",{key:this.props.operation.name?this.props.operation.name.value:"*",className:this.props.operation===this.props.highlight?"selected":"",onMouseOver:this.onMouseOver,onMouseOut:this.props.onMouseOut,onMouseUp:this.onMouseUp},this.props.operation.name?this.props.operation.name.value:"<Unnamed>")},t}(i.PureComponent);t.default=o},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"createGlobalStyle",(function(){return nt})),n.d(t,"css",(function(){return be})),n.d(t,"isStyledComponent",(function(){return k})),n.d(t,"keyframes",(function(){return it})),n.d(t,"ServerStyleSheet",(function(){return Ke})),n.d(t,"StyleSheetConsumer",(function(){return Ye})),n.d(t,"StyleSheetContext",(function(){return Je})),n.d(t,"StyleSheetManager",(function(){return Qe})),n.d(t,"ThemeConsumer",(function(){return We})),n.d(t,"ThemeContext",(function(){return He})),n.d(t,"ThemeProvider",(function(){return Ge})),n.d(t,"withTheme",(function(){return ot})),n.d(t,"__DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS",(function(){return at}));var r=n(165),i=n.n(r),o=n(264),a=n.n(o),s=n(3),u=n.n(s),c=n(265),l=n(87),p=n(166),f=(n(60),n(271)),d=n(272),h=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},m="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},g=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=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)},x=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},E=function(e){return"object"===("undefined"===typeof e?"undefined":m(e))&&e.constructor===Object},D=Object.freeze([]),C=Object.freeze({});function w(e){return"function"===typeof e}function S(e){return e.displayName||e.name||"Component"}function k(e){return e&&"string"===typeof e.styledComponentId}var A="undefined"!==typeof e&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).SC_ATTR)||"data-styled",T="undefined"!==typeof window&&"HTMLElement"in window,_="boolean"===typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!==typeof e&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).REACT_APP_SC_DISABLE_SPEEDY||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).SC_DISABLE_SPEEDY)||!1,O={};var F=function(e){function t(n){g(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];var a=x(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information."+(i.length>0?" Additional arguments: "+i.join(", "):"")));return x(a)}return b(t,e),t}(Error),N=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,I=function(e){var t=""+(e||""),n=[];return t.replace(N,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var i=e.componentId,o=e.matchIndex,a=n[r+1];return{componentId:i,cssFromDOM:a?t.slice(o,a.matchIndex):t.slice(o)}}))},M=/^\s*\/\/.*$/gm,j=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),L=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),P=[],R=function(e){if(-2===e){var t=P;return P=[],t}},B=a()((function(e){P.push(e)})),z=void 0,U=void 0,q=void 0,V=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(U)&&n.slice(t-U.length,t)!==U?"."+z:e};L.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(U)>0&&(n[0]=n[0].replace(q,V))},B,R]),j.use([B,R]);var H=function(e){return j("",e)};function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=e.join("").replace(M,""),o=t&&n?n+" "+t+" { "+i+" }":i;return z=r,U=t,q=new RegExp("\\"+U+"\\b","g"),L(n||!t?"":t,o)}var G=function(){return n.nc},K=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},J=function(e,t){e[t]=Object.create(null)},Y=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},Q=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},$=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n<t;n+=1){var r=e.ownerDocument.styleSheets[n];if(r.ownerNode===e)return r}throw new F(10)},X=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(i){return!1}return!0},Z=function(e){return"\n/* sc-component-id: "+e+" */\n"},ee=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},te=function(e,t){return function(n){var r=G();return"<style "+[r&&'nonce="'+r+'"',A+'="'+Q(t)+'"','data-styled-version="4.4.1"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},ne=function(e,t){return function(){var n,r=((n={})[A]=Q(t),n["data-styled-version"]="4.4.1",n),i=G();return i&&(r.nonce=i),u.a.createElement("style",y({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},re=function(e){return function(){return Object.keys(e)}},ie=function(e,t){return e.createTextNode(Z(t))},oe=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,o=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},a=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=Z(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=y({},e[n]);return t}(r),n=Object.create(null);for(var o in i)n[o]=[i[o][0]];return e(t,n)},css:a,getIds:re(i),hasNameForId:Y(r),insertMarker:o,insertRules:function(e,t,n){o(e)[0]+=t.join(" "),K(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},sealed:!1,styleTag:null,toElement:ne(a,r),toHTML:te(a,r)}},ae=function(e,t,n,r,i){if(T&&!n){var o=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var i=r.createElement("style");i.setAttribute(A,""),i.setAttribute("data-styled-version","4.4.1");var o=G();if(o&&i.setAttribute("nonce",o),i.appendChild(r.createTextNode("")),e&&!t)e.appendChild(i);else{if(!t||!e||!t.parentNode)throw new F(6);t.parentNode.insertBefore(i,n?t:t.nextSibling)}return i}(e,t,r);return _?function(e,t){var n=Object.create(null),r=Object.create(null),i=void 0!==t,o=!1,a=function(t){var i=r[t];return void 0!==i?i:(r[t]=ie(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new F(5)},css:s,getIds:re(r),hasNameForId:Y(n),insertMarker:a,insertRules:function(e,r,s){for(var u=a(e),c=[],l=r.length,p=0;p<l;p+=1){var f=r[p],d=i;if(d&&-1!==f.indexOf("@import"))c.push(f);else{d=!1;var h=p===l-1?"":" ";u.appendData(""+f+h)}}K(n,e,s),i&&c.length>0&&(o=!0,t().insertRules(e+"-import",c))},removeRules:function(a){var s=r[a];if(void 0!==s){var u=ie(e.ownerDocument,a);e.replaceChild(u,s),r[a]=u,J(n,a),i&&o&&t().removeRules(a+"-import")}},sealed:!1,styleTag:e,toElement:ne(s,n),toHTML:te(s,n)}}(o,i):function(e,t){var n=Object.create(null),r=Object.create(null),i=[],o=void 0!==t,a=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var o in r){n+=Z(o);for(var a=r[o],s=ee(i,a),u=s-i[a];u<s;u+=1){var c=t[u];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new F(5)},css:u,getIds:re(r),hasNameForId:Y(n),insertMarker:s,insertRules:function(r,u,c){for(var l=s(r),p=$(e),f=ee(i,l),d=0,h=[],m=u.length,g=0;g<m;g+=1){var v=u[g],y=o;y&&-1!==v.indexOf("@import")?h.push(v):X(p,v,f+d)&&(y=!1,d+=1)}o&&h.length>0&&(a=!0,t().insertRules(r+"-import",h)),i[l]+=d,K(n,r,c)},removeRules:function(s){var u=r[s];if(void 0!==u&&!1!==e.isConnected){var c=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),ee(i,u)-1,c),i[u]=0,J(n,s),o&&a&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:ne(u,n),toHTML:te(u,n)}}(o,i)}return oe()},se=/\s+/,ue=void 0;ue=T?_?40:1e3:-1;var ce=0,le=void 0,pe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ae(t.target,n?n.styleTag:null,t.forceServer,!0)},ce+=1,this.id=ce,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!T||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+A+'][data-styled-version="4.4.1"]'),i=r.length;if(!i)return this;for(var o=0;o<i;o+=1){var a=r[o];n||(n=!!a.getAttribute("data-styled-streamed"));for(var s,u=(a.getAttribute(A)||"").trim().split(se),c=u.length,l=0;l<c;l+=1)s=u[l],this.rehydratedNames[s]=!0;t.push.apply(t,I(a.textContent)),e.push(a)}var p=t.length;if(!p)return this;var f=this.makeTag(null);!function(e,t,n){for(var r=0,i=n.length;r<i;r+=1){var o=n[r],a=o.componentId,s=o.cssFromDOM,u=H(s);e.insertRules(a,u)}for(var c=0,l=t.length;c<l;c+=1){var p=t[c];p.parentNode&&p.parentNode.removeChild(p)}}(f,e,t),this.capacity=Math.max(1,ue-p),this.tags.push(f);for(var d=0;d<p;d+=1)this.tagMap[t[d].componentId]=f;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];le=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<n.length;i+=1)t.tagMap[n[i]]=r;return r})),t.rehydratedNames=y({},this.rehydratedNames),t.deferred=y({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ae(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=ue,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,i=0;i<r.length;i+=1)r[i].inject(e,t,n);var o=this.getTagForId(e);if(void 0!==this.deferred[e]){var a=this.deferred[e].concat(t);o.insertRules(e,a,n),this.deferred[e]=void 0}else o.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var r="sc-"+e+"-"+n;return Object(s.cloneElement)(t.toElement(),{key:r})}))},v(e,null,[{key:"master",get:function(){return le||(le=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),fe=function(){function e(t,n){var r=this;g(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new F(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),de=/([A-Z])/g,he=/^ms-/;function me(e){return e.replace(de,"-$1").toLowerCase().replace(he,"-ms-")}var ge=function(e){return void 0===e||null===e||!1===e||""===e},ve=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!ge(t[n])){if(E(t[n]))return r.push.apply(r,e(t[n],n)),r;if(w(t[n]))return r.push(me(n)+":",t[n],";"),r;r.push(me(n)+": "+(i=n,(null==(o=t[n])||"boolean"===typeof o||""===o?"":"number"!==typeof o||0===o||i in c.a?String(o).trim():o+"px")+";"))}var i,o;return r})),n?[n+" {"].concat(r,["}"]):r};function ye(e,t,n){if(Array.isArray(e)){for(var r,i=[],o=0,a=e.length;o<a;o+=1)null!==(r=ye(e[o],t,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}return ge(e)?null:k(e)?"."+e.styledComponentId:w(e)?"function"!==typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:ye(e(t),t,n):e instanceof fe?n?(e.inject(n),e.getName()):e:E(e)?ve(e):e.toString();var s}function be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return w(e)||E(e)?ye(h(D,[e].concat(n))):ye(h(e,n))}function xe(e){for(var t,n=0|e.length,r=0|n,i=0;n>=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),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function De(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=Ee(n%52)+t;return Ee(n%52)+t}function Ce(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!Ce(r,t))return!1;if(w(r)&&!k(r))return!1}return!t.some((function(e){return w(e)||function(e){for(var t in e)if(w(e[t]))return!0;return!1}(e)}))}var we,Se=function(e){return De(xe(e))},ke=function(){function e(t,n,r){g(this,e),this.rules=t,this.isStatic=Ce(t,n),this.componentId=r,pe.master.hasId(r)||pe.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,i=this.lastClassName;if(T&&n&&"string"===typeof i&&t.hasNameForId(r,i))return i;var o=ye(this.rules,e,t),a=Se(this.componentId+o.join(""));return t.hasNameForId(r,a)||t.inject(this.componentId,W(o,"."+a,void 0,r),a),this.lastClassName=a,a},e.generateName=function(e){return Se(e)},e}(),Ae=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,r=!!n&&e.theme===n.theme,i=e.theme&&!r?e.theme:t||n.theme;return i},Te=/[[\].#*$><+~=|^:(),"'`-]+/g,_e=/(^-|-$)/g;function Oe(e){return e.replace(Te,"-").replace(_e,"")}function Fe(e){return"string"===typeof e&&!0}var Ne={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Ie={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Me=((we={})[l.ForwardRef]={$$typeof:!0,render:!0},we),je=Object.defineProperty,Le=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,Re=void 0===Pe?function(){return[]}:Pe,Be=Object.getOwnPropertyDescriptor,ze=Object.getPrototypeOf,Ue=Object.prototype,qe=Array.prototype;function Ve(e,t,n){if("string"!==typeof t){var r=ze(t);r&&r!==Ue&&Ve(e,r,n);for(var i=qe.concat(Le(t),Re(t)),o=Me[e.$$typeof]||Ne,a=Me[t.$$typeof]||Ne,s=i.length,u=void 0,c=void 0;s--;)if(c=i[s],!Ie[c]&&(!n||!n[c])&&(!a||!a[c])&&(!o||!o[c])&&(u=Be(t,c)))try{je(e,c,u)}catch(l){}return e}return e}var He=Object(s.createContext)(),We=He.Consumer,Ge=function(e){function t(n){g(this,t);var r=x(this,e.call(this,n));return r.getContext=Object(p.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return b(t,e),t.prototype.render=function(){return this.props.children?u.a.createElement(He.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return u.a.createElement(He.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(w(e))return e(t);if(null===e||Array.isArray(e)||"object"!==("undefined"===typeof e?"undefined":m(e)))throw new F(8);return y({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)},t}(s.Component),Ke=function(){function e(){g(this,e),this.masterSheet=pe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new F(2);return u.a.createElement(Qe,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new F(3)},e}(),Je=Object(s.createContext)(),Ye=Je.Consumer,Qe=function(e){function t(n){g(this,t);var r=x(this,e.call(this,n));return r.getContext=Object(p.a)(r.getContext),r}return b(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new pe(t);throw new F(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return u.a.createElement(Je.Provider,{value:this.getContext(n,r)},t)},t}(s.Component),$e={};var Xe=function(e){function t(){g(this,t);var n=x(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return b(t,e),t.prototype.render=function(){return u.a.createElement(Ye,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():u.a.createElement(We,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,i=(t.displayName,t.foldedComponentIds),o=t.styledComponentId,a=t.target,u=void 0;u=n.isStatic?this.generateAndInjectStyles(C,this.props):this.generateAndInjectStyles(Ae(this.props,e,r)||C,this.props);var c=this.props.as||this.attrs.as||a,l=Fe(c),p={},d=y({},this.props,this.attrs),h=void 0;for(h in d)"forwardedComponent"!==h&&"as"!==h&&("forwardedRef"===h?p.ref=d[h]:"forwardedAs"===h?p.as=d[h]:l&&!Object(f.a)(h)||(p[h]=d[h]));return this.props.style&&this.attrs.style&&(p.style=y({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,o,u!==o?u:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(s.createElement)(c,p)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,i=y({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,o=!1,a=void 0,s=void 0;for(s in w(n)&&(n=n(i),o=!0),n)a=n[s],o||!w(a)||(t=a)&&t.prototype&&t.prototype.isReactComponent||k(a)||(a=a(i)),r.attrs[s]=a,i[s]=a})),i):i},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,i=n.componentStyle;n.warnTooManyClasses;return i.isStatic&&!r.length?i.generateAndInjectStyles(C,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(s.Component);function Ze(e,t,n){var r=k(e),i=!Fe(e),o=t.displayName,a=void 0===o?function(e){return Fe(e)?"styled."+e:"Styled("+S(e)+")"}(e):o,s=t.componentId,c=void 0===s?function(e,t,n){var r="string"!==typeof t?"sc":Oe(t),i=($e[r]||0)+1;$e[r]=i;var o=r+"-"+e.generateName(r+i);return n?n+"-"+o:o}(ke,t.displayName,t.parentComponentId):s,l=t.ParentComponent,p=void 0===l?Xe:l,f=t.attrs,h=void 0===f?D:f,m=t.displayName&&t.componentId?Oe(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,v=new ke(r?e.componentStyle.rules.concat(n):n,g,m),b=void 0,x=function(e,t){return u.a.createElement(p,y({},e,{forwardedComponent:b,forwardedRef:t}))};return x.displayName=a,(b=u.a.forwardRef(x)).displayName=a,b.attrs=g,b.componentStyle=v,b.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):D,b.styledComponentId=m,b.target=r?e.target:e,b.withComponent=function(e){var r=t.componentId,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["componentId"]),o=r&&r+"-"+(Fe(e)?e:Oe(S(e)));return Ze(e,y({},i,{attrs:g,componentId:o,ParentComponent:p}),n)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(d.a)(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},i&&Ve(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var et=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;if(!Object(l.isValidElementType)(n))throw new F(1,String(n));var i=function(){return t(n,r,be.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,y({},r,i))},i.attrs=function(i){return e(t,n,y({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(Ze,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){et[e]=et(e)}));var tt=function(){function e(t,n){g(this,e),this.rules=t,this.componentId=n,this.isStatic=Ce(t,D),pe.master.hasId(n)||pe.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=W(ye(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();function nt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=be.apply(void 0,[e].concat(n)),o="sc-global-"+xe(JSON.stringify(i)),a=new tt(i,o),s=function(e){function t(n){g(this,t);var r=x(this,e.call(this,n)),i=r.constructor,o=i.globalStyle,a=i.styledComponentId;return T&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),r.state={globalStyle:o,styledComponentId:a},r}return b(t,e),t.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},t.prototype.render=function(){var e=this;return u.a.createElement(Ye,null,(function(t){e.styleSheet=t||pe.master;var n=e.state.globalStyle;return n.isStatic?(n.renderStyles(O,e.styleSheet),null):u.a.createElement(We,null,(function(t){var r=e.constructor.defaultProps,i=y({},e.props);return"undefined"!==typeof t&&(i.theme=Ae(e.props,t,r)),n.renderStyles(i,e.styleSheet),null}))}))},t}(u.a.Component);return s.globalStyle=a,s.styledComponentId=o,s}T&&(window.scCGSHMRCache={});var rt=function(e){return e.replace(/\s|\\n/g,"")};function it(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=be.apply(void 0,[e].concat(n)),o=De(xe(rt(JSON.stringify(i))));return new fe(o,W(i,o,"@keyframes"))}var ot=function(e){var t=u.a.forwardRef((function(t,n){return u.a.createElement(We,null,(function(r){var i=e.defaultProps,o=Ae(t,r,i);return u.a.createElement(e,y({},t,{theme:o,ref:n}))}))}));return Ve(t,e),t.displayName="WithTheme("+S(e)+")",t},at={StyleSheet:pe};t.default=et}.call(this,n(91))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineReducers=void 0;var r,i=n(289),o=(r=i)&&r.__esModule?r:{default:r};t.combineReducers=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(33),o=(r=i)&&r.__esModule?r:{default:r},a=n(290);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default.Map,n=Object.keys(e);return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t(),i=arguments[1];return r.withMutations((function(t){n.forEach((function(n){var r=(0,e[n])(t.get(n),i);(0,a.validateNextState)(r,n,i),t.set(n,r)}))}))}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateNextState=t.getUnexpectedInvocationParameterMessage=t.getStateName=void 0;var r=a(n(171)),i=a(n(291)),o=a(n(292));function a(e){return e&&e.__esModule?e:{default:e}}t.getStateName=r.default,t.getUnexpectedInvocationParameterMessage=i.default,t.validateNextState=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(33)),i=o(n(171));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){var o=Object.keys(t);if(!o.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var a=(0,i.default)(n);if(r.default.isImmutable?!r.default.isImmutable(e):!r.default.Iterable.isIterable(e))return"The "+a+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+o.join('", "')+'".';var s=e.toSeq().keySeq().toArray().filter((function(e){return!t.hasOwnProperty(e)}));return s.length>0?"Unexpected "+(1===s.length?"property":"properties")+' "'+s.join('", "')+'" found in '+a+'. Expected to find one of the known reducer property names instead: "'+o.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(void 0===e)throw new Error('Reducer "'+t+'" returned undefined when handling "'+n.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default},function(e,t,n){var r=n(294);e.exports=function(e){return r(e).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}},function(e,t){e.exports=function(e){return n.test(e)?e.toLowerCase():r.test(e)?(function(e){return e.replace(o,(function(e,t){return t?" "+t:""}))}(e)||e).toLowerCase():i.test(e)?function(e){return e.replace(a,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(e).toLowerCase():e.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,i=/([a-z][A-Z]|[A-Z][a-z])/;var o=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var a=function(){return"function"===typeof Symbol},s=function(e){return a()&&Boolean(Symbol[e])},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),p=u("species");function f(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[p])&&(t=void 0),void 0!==t?t:C}function h(e){return e instanceof C}function m(e){m.log?m.log(e):setTimeout((function(){throw e}))}function g(e){Promise.resolve().then((function(){try{e()}catch(t){m(t)}}))}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=f(t,"unsubscribe");n&&n.call(t)}}catch(r){m(r)}}function y(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(e,t,n){e._state="running";var r=e._observer;try{var i=f(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(y(e),!i)throw n;i.call(r,n);break;case"complete":y(e),i&&i.call(r)}}catch(o){m(o)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function x(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void g((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(b(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void b(e,t,n);e._queue.push({type:t,value:n})}}var E=function(){function e(t,n){r(this,e),this._cleanup=void 0,this._observer=t,this._queue=void 0,this._state="initializing";var i=new D(this);try{this._cleanup=n.call(void 0,i)}catch(o){i.error(o)}"initializing"===this._state&&(this._state="ready")}return o(e,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(y(this),v(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),e}(),D=function(){function e(t){r(this,e),this._subscription=t}return o(e,[{key:"next",value:function(e){x(this._subscription,"next",e)}},{key:"error",value:function(e){x(this._subscription,"error",e)}},{key:"complete",value:function(){x(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),C=function(){function e(t){if(r(this,e),!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}return o(e,[{key:"subscribe",value:function(e){return"object"===typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new E(e,this._subscriber)}},{key:"forEach",value:function(e){var t=this;return new Promise((function(n,r){if("function"===typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))}},{key:"map",value:function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(d(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"filter",value:function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(d(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"reduce",value:function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=d(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(s){return n.error(s)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=d(this);return new i((function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))}},{key:"flatMap",value:function(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=d(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return r.error(s)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))}},{key:l,value:function(){return this}}],[{key:"from",value:function(t){var n="function"===typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=f(t,l);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return h(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(s("iterator")&&(r=f(t,c)))return new n((function(e){g((function(){if(!e.closed){var n=!0,i=!1,o=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){g((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")}},{key:"of",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i="function"===typeof this?this:e;return new i((function(e){g((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))}},{key:p,get:function(){return this}}]),e}();t.Observable=C,a()&&Object.defineProperty(C,Symbol("extensions"),{value:{symbol:l,hostReportError:m},configurable:!0})},function(e,t){function n(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),u=i?i+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0===--e._eventsCount?e._events=new o:delete e._events[t]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r<o;r++)a[r]=n[r].fn;return a},c.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var u,c,l=this._events[s],p=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),p){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,n),!0;case 4:return l.fn.call(l.context,t,n,r),!0;case 5:return l.fn.call(l.context,t,n,r,o),!0;case 6:return l.fn.call(l.context,t,n,r,o,a),!0}for(c=1,u=new Array(p-1);c<p;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var f,d=l.length;for(c=0;c<d;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),p){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,n);break;case 4:l[c].fn.call(l[c].context,t,n,r);break;default:if(!u)for(f=1,u=new Array(p-1);f<p;f++)u[f-1]=arguments[f];l[c].fn.apply(l[c].context,u)}}return!0},c.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return u(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||u(this,o);else{for(var s=0,c=[],l=a.length;s<l;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&c.push(a[s]);c.length?this._events[o]=1===c.length?c[0]:c:u(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&u(this,t)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"===typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.GRAPHQL_WS="graphql-ws";t.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.WS_TIMEOUT=3e4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){throw new Error("Static Class")}return e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_CONNECTION_TERMINATE="connection_terminate",e.GQL_START="start",e.GQL_DATA="data",e.GQL_ERROR="error",e.GQL_COMPLETE="complete",e.GQL_STOP="stop",e.SUBSCRIPTION_START="subscription_start",e.SUBSCRIPTION_DATA="subscription_data",e.SUBSCRIPTION_SUCCESS="subscription_success",e.SUBSCRIPTION_FAIL="subscription_fail",e.SUBSCRIPTION_END="subscription_end",e.INIT="init",e.INIT_SUCCESS="init_success",e.INIT_FAIL="init_fail",e.KEEP_ALIVE="keepalive",e}();t.default=r},function(e,t,n){"use strict";n.r(t),n.d(t,"WebSocketLink",(function(){return a}));var r=n(16),i=n(70),o=n(132),a=function(e){function t(t){var n=e.call(this)||this;return t instanceof o.SubscriptionClient?n.subscriptionClient=t:n.subscriptionClient=new o.SubscriptionClient(t.uri,t.options,t.webSocketImpl),n}return Object(r.b)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}(i.ApolloLink)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=function(e){var t=function(e){if(1===e.query.definitions.length)return e.query.definitions[0];return e.query.definitions.find((function(t){return"OperationDefinition"===t.kind&&!!t.name&&t.name.value===e.operationName}))}(e);return!!t&&"subscription"===t.operation}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},o=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(22),s=n(306),u=n(70),c=n(33),l=n(175),p=n(174),f=n(176),d=function(){function e(e){this.subscriptions=c.Map(),this.sessionCache=new f({max:10}),this.schemaInstanceCache=new f({max:10}),this.fetching=c.Map(),this.linkGetter=e}return e.prototype.fetch=function(e){return i(this,void 0,void 0,(function(){var t,n,r,i;return o(this,(function(o){return t=this.hash(e),(n=this.sessionCache.get(t))?[2,n]:(r=this.fetching.get(t))?[2,r]:(i=this.fetchSchema(e),this.fetching=this.fetching.set(t,i),[2,i])}))}))},e.prototype.subscribe=function(e,t){var n=this.hash(e);this.subscriptions=this.subscriptions.set(n,t)},e.prototype.refetch=function(e){return this.fetchSchema(e)},e.prototype.hash=function(e){return e.endpoint+"~"+(e.headers||"")},e.prototype.getSchema=function(e){var t=JSON.stringify(e),n=this.schemaInstanceCache.get(t);if(n)return n;var r=a.buildClientSchema(e);return this.schemaInstanceCache.set(t,r),r},e.prototype.fetchSchema=function(e){var t=this,n=this.hash(e),i=e.endpoint,o=r(r({},p.parseHeaders(e.headers)),{"X-Apollo-Tracing":"1"}),f=c.set(e,"headers",o),d=this.linkGetter(f).link,h=l.makeOperation({query:a.getIntrospectionQuery()});return new Promise((function(r,o){u.execute(d,h).subscribe({next:function(o){if(o&&(o.errors&&o.errors.length>0||!o.data))throw new Error(JSON.stringify(o,null,2));if(!o)throw new s.NoSchemaError(i);var a={schema:t.getSchema(o.data),tracingSupported:o.extensions&&Boolean(o.extensions.tracing)||!1};t.sessionCache.set(t.hash(e),a),r(a),t.fetching=t.fetching.remove(n);var u=t.subscriptions.get(n);u&&u(a.schema)},error:function(n){o(n),t.fetching=t.fetching.remove(t.hash(e))}})}))},e}();t.SchemaFetcher=d},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){return e.call(this,"Schema could not be fetched.\nPlease check if the endpoint '"+t+"' is a valid GraphQL Endpoint.")||this}return r(t,e),t}(Error);t.NoSchemaError=i},function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"===typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}function i(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,r=this.head;null!==r&&n<e;n++)r=r.next;var o=[];for(n=0;r&&n<t;n++)o.push(r.value),r=this.removeNode(r);null===r&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(n=2;n<arguments.length;n++)r=i(this,r,arguments[n]);return o},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(308)(r)}catch(u){}},function(e,t,n){"use strict";var r=n(32);e.exports=function(e){e.prototype[Symbol.iterator]=r.mark((function e(){var t;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(!t){e.next=7;break}return e.next=4,t.value;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var i=t&&t.prototype instanceof l?t:l,o=Object.create(i.prototype),a=new D(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return w()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===c)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=s;var c={};function l(){}function p(){}function f(){}var d={};d[i]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(C([])));m&&m!==t&&n.call(m,i)&&(d=m);var g=f.prototype=l.prototype=Object.create(d);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var c=u(e[i],e,o);if("throw"!==c.type){var l=c.arg,p=l.value;return p&&"object"===typeof p&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(p).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function x(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function C(e){if(e){var t=e[i];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:w}}function w(){return{value:void 0,done:!0}}return p.prototype=g.constructor=f,f.constructor=p,f[a]=p.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(y.prototype),y.prototype[o]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),g[a]="Generator",g[i]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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 t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(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 o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},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),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(i){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){(function(t){var r,i=n(311),o=n(115),a=n(312),s=n(314),u=n(315),c=n(318),l=n(181),p=n(182),f=n(183),d=n(323),h=n(111),m=n(112);r=function(){"use strict";var e="Prettier is an opinionated code formatter",n="./bin/prettier.js",r={node:">=10.13.0"},g={"@angular/compiler":"9.0.5","@babel/code-frame":"7.8.0","@babel/parser":"7.9.3","@glimmer/syntax":"0.48.0","@iarna/toml":"2.2.3","@typescript-eslint/typescript-estree":"2.24.0","angular-estree-parser":"1.3.0","angular-html-parser":"1.4.0",camelcase:"5.3.1",chalk:"3.0.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"6.0.0",dashify:"2.0.0",dedent:"0.7.0",diff:"4.0.2",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"2.0.0",esutils:"2.0.3","fast-glob":"3.2.2","find-parent-dir":"0.3.0","find-project-root":"1.1.1","flow-parser":"0.121.0","get-stream":"5.1.0",globby:"11.0.0",graphql:"14.6.0","html-element-attributes":"2.2.1","html-styles":"1.0.0","html-tag-names":"1.1.5",ignore:"4.0.6","jest-docblock":"25.1.0","json-stable-stringify":"1.0.1",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.9.0",lodash:"4.17.15",mem:"6.0.1",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.0","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.0.0","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-math":"1.0.6","remark-parse":"5.0.0",semver:"7.1.3",srcset:"2.0.1","string-width":"4.2.0",typescript:"3.8.3","unicode-regex":"3.0.0",unified:"8.4.2",vnopts:"1.0.2","yaml-unist-parser":"1.1.1"},v={"@babel/core":"7.9.0","@babel/preset-env":"7.9.0","@rollup/plugin-alias":"3.0.1","@rollup/plugin-commonjs":"11.0.2","@rollup/plugin-json":"4.0.2","@rollup/plugin-node-resolve":"7.1.1","@rollup/plugin-replace":"2.3.1","babel-loader":"8.1.0",benchmark:"2.1.4","builtin-modules":"3.1.0",codecov:"3.6.5","cross-env":"7.0.2",cspell:"4.0.55",eslint:"6.8.0","eslint-config-prettier":"6.10.1","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.20.1","eslint-plugin-prettier":"3.1.2","eslint-plugin-react":"7.19.0","eslint-plugin-unicorn":"17.2.0",execa:"4.0.0",jest:"25.1.0","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.4.2",prettier:"2.0.1",rimraf:"3.0.2",rollup:"2.1.0","rollup-plugin-babel":"4.4.0","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"5.3.0",shelljs:"0.8.3","snapshot-diff":"0.7.0","strip-ansi":"6.0.0","synchronous-promise":"2.0.10",tempy:"0.5.0","terser-webpack-plugin":"2.3.5",webpack:"4.42.0"},y={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dist":"node ./scripts/test-dist.js","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier "**/*.{md,json,yml,html,css}" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":"cspell {bin,scripts,src,website}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md","lint:deps":"node ./scripts/check-deps.js",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"},b={name:"prettier",version:"2.0.2",description:e,bin:n,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:r,dependencies:g,devDependencies:v,scripts:y},x=Object.freeze({__proto__:null,name:"prettier",version:"2.0.2",description:e,bin:n,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:r,dependencies:g,devDependencies:v,scripts:y,default:b});function E(){}function D(e,t,n,r,i){for(var o=0,a=t.length,s=0,u=0;o<a;o++){var c=t[o];if(c.removed){if(c.value=e.join(r.slice(u,u+c.count)),u+=c.count,o&&t[o-1].added){var l=t[o-1];t[o-1]=t[o],t[o]=l}}else{if(!c.added&&i){var p=n.slice(s,s+c.count);p=p.map((function(e,t){var n=r[u+t];return n.length>e.length?n:e})),c.value=e.join(p)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(u+=c.count)}}var f=t[a-1];return a>1&&"string"===typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function C(e){return{newPos:e.newPos,components:e.components.slice(0)}}E.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"===typeof n&&(r=n,n={}),this.options=n;var i=this;function o(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,c=a+s,l=[{newPos:-1,components:[]}],p=this.extractCommon(l[0],t,e,0);if(l[0].newPos+1>=a&&p+1>=s)return o([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*u;n<=u;n+=2){var r=void 0,c=l[n-1],p=l[n+1],f=(p?p.newPos:0)-n;c&&(l[n-1]=void 0);var d=c&&c.newPos+1<a,h=p&&0<=f&&f<s;if(d||h){if(!d||h&&c.newPos<p.newPos?(r=C(p),i.pushComponent(r.components,void 0,!0)):((r=c).newPos++,i.pushComponent(r.components,!0,void 0)),f=i.extractCommon(r,t,e,n),r.newPos+1>=a&&f+1>=s)return o(D(i,r.components,t,e,i.useLongestToken));l[n]=r}else l[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>c)return r();f()||e()}),0)}();else for(;u<=c;){var d=f();if(d)return d}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,a=e.newPos,s=a-r,u=0;a+1<i&&s+1<o&&this.equals(t[a+1],n[s+1]);)a++,s++,u++;return u&&e.components.push({count:u}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var w=new E;function S(e,t){if("function"===typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var k=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,A=/\S/,T=new E;T.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!A.test(e)&&!A.test(t)},T.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&k.test(t[n])&&k.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t};var _=new E;function O(e,t,n){return _.diff(e,t,n)}_.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var i=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var F=new E;F.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var N=new E;function I(e){return(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})(e)}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(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")}()}N.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var j=Object.prototype.toString,L=new E;function P(e,t,n,r,i){var o,a;for(t=t||[],n=n||[],r&&(e=r(i,e)),o=0;o<t.length;o+=1)if(t[o]===e)return n[o];if("[object Array]"===j.call(e)){for(t.push(e),a=new Array(e.length),n.push(a),o=0;o<e.length;o+=1)a[o]=P(e[o],t,n,r,i);return t.pop(),n.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===I(e)&&null!==e){t.push(e),a={},n.push(a);var s,u=[];for(s in e)e.hasOwnProperty(s)&&u.push(s);for(u.sort(),o=0;o<u.length;o+=1)a[s=u[o]]=P(e[s],t,n,r,s);t.pop(),n.pop()}else a=e;return a}L.useLongestToken=!0,L.tokenize=_.tokenize,L.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,i=void 0===r?function(e,t){return"undefined"===typeof t?n:t}:r;return"string"===typeof e?e:JSON.stringify(P(e,null,null,i),i," ")},L.equals=function(e,t){return E.prototype.equals.call(L,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var R=new E;function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(){var e={};for(i.push(e);o<n.length;){var r=n[o];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),o++}for(s(e),s(e),e.hunks=[];o<n.length;){var c=n[o];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(u());else{if(c&&t.strict)throw new Error("Unknown line "+(o+1)+" "+JSON.stringify(c));o++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[o]);if(t){var r="---"===t[1]?"old":"new",i=t[2].split("\t",2),a=i[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(i[1]||"").trim(),o++}}function u(){for(var e=o,i=n[o++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+i[1],oldLines:+i[2]||1,newStart:+i[3],newLines:+i[4]||1,lines:[],linedelimiters:[]},s=0,u=0;o<n.length&&!(0===n[o].indexOf("--- ")&&o+2<n.length&&0===n[o+1].indexOf("+++ ")&&0===n[o+2].indexOf("@@"));o++){var c=0==n[o].length&&o!=n.length-1?" ":n[o][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;a.lines.push(n[o]),a.linedelimiters.push(r[o]||"\n"),"+"===c?s++:"-"===c?u++:" "===c&&(s++,u++)}if(s||1!==a.newLines||(a.newLines=0),u||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(u!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;o<n.length;)a();return i}function z(e,t,n){var r=!0,i=!1,o=!1,a=1;return function s(){if(r&&!o){if(i?a++:r=!1,e+a<=n)return a;o=!0}if(!i)return o||(r=!0),t<=e-a?-a++:(i=!0,s())}}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof t&&(t=B(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],i=r.length>0?r[0]:" ",a=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,a)&&++c>l)return!1;t++}}return!0}for(var h=0;h<s.length;h++){for(var m=s[h],g=o.length-m.oldLines,v=0,y=f+m.oldStart-1,b=z(y,p,g);void 0!==v;v=b())if(d(m,y+v)){m.offset=f+=v;break}if(void 0===v)return!1;p=m.offset+m.oldStart+m.oldLines}for(var x=0,E=0;E<s.length;E++){var D=s[E],C=D.oldStart+D.offset+x-1;x+=D.newLines-D.oldLines,C<0&&(C=0);for(var w=0;w<D.lines.length;w++){var S=D.lines[w],k=S.length>0?S[0]:" ",A=S.length>0?S.substr(1):S,T=D.linedelimiters[w];if(" "===k)C++;else if("-"===k)o.splice(C,1),a.splice(C,1);else if("+"===k)o.splice(C,0,A),a.splice(C,0,T),C++;else if("\\"===k){var _=D.lines[w-1]?D.lines[w-1][0]:null;"+"===_?r=!0:"-"===_&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var O=0;O<o.length-1;O++)o[O]=o[O]+a[O];return o.join("")}function q(e,t,n,r,i,o,a){a||(a={}),"undefined"===typeof a.context&&(a.context=4);var s=O(n,r,a);function u(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var c=[],l=0,p=0,f=[],d=1,h=1,m=function(e){var t=s[e],i=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=i,t.added||t.removed){var o;if(!l){var m=s[e-1];l=d,p=h,m&&(f=a.context>0?u(m.lines.slice(-a.context)):[],l-=f.length,p-=f.length)}(o=f).push.apply(o,M(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?h+=i.length:d+=i.length}else{if(l)if(i.length<=2*a.context&&e<s.length-2){var g;(g=f).push.apply(g,M(u(i)))}else{var v,y=Math.min(i.length,a.context);(v=f).push.apply(v,M(u(i.slice(0,y))));var b={oldStart:l,oldLines:d-l+y,newStart:p,newLines:h-p+y,lines:f};if(e>=s.length-2&&i.length<=a.context){var x=/\n$/.test(n),E=/\n$/.test(r),D=0==i.length&&f.length>b.oldLines;!x&&D&&f.splice(b.oldLines,0,"\\ No newline at end of file"),(x||D)&&E||f.push("\\ No newline at end of file")}c.push(b),l=0,p=0,f=[]}d+=i.length,h+=i.length}},g=0;g<s.length;g++)m(g);return{oldFileName:e,newFileName:t,oldHeader:i,newHeader:o,hunks:c}}function V(e,t,n,r,i,o,a){var s=q(e,t,n,r,i,o,a),u=[];e==t&&u.push("Index: "+e),u.push("==================================================================="),u.push("--- "+s.oldFileName+("undefined"===typeof s.oldHeader?"":"\t"+s.oldHeader)),u.push("+++ "+s.newFileName+("undefined"===typeof s.newHeader?"":"\t"+s.newHeader));for(var c=0;c<s.hunks.length;c++){var l=s.hunks[c];u.push("@@ -"+l.oldStart+","+l.oldLines+" +"+l.newStart+","+l.newLines+" @@"),u.push.apply(u,l.lines)}return u.join("\n")+"\n"}function H(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function W(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!==typeof t){var i=e(t.mine),o=e(t.theirs);void 0!==n&&(i.oldLines===o.oldLines?n+=i.oldLines:n=void 0),void 0!==r&&(i.newLines===o.newLines?r+=i.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function G(e,t){if("string"===typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return B(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return q(void 0,void 0,t,e)}return e}function K(e){return e.newFileName&&e.newFileName!==e.oldFileName}function J(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function Y(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function Q(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function $(e,t,n,r,i){var o={offset:t,lines:n,index:0},a={offset:r,lines:i,index:0};for(te(e,o,a),te(e,a,o);o.index<o.lines.length&&a.index<a.lines.length;){var s=o.lines[o.index],u=a.lines[a.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==u[0]&&"+"!==u[0])if("+"===s[0]&&" "===u[0]){var c;(c=e.lines).push.apply(c,M(re(o)))}else if("+"===u[0]&&" "===s[0]){var l;(l=e.lines).push.apply(l,M(re(a)))}else"-"===s[0]&&" "===u[0]?Z(e,o,a):"-"===u[0]&&" "===s[0]?Z(e,a,o,!0):s===u?(e.lines.push(s),o.index++,a.index++):ee(e,re(o),re(a));else X(e,o,a)}ne(e,o),ne(e,a),W(e)}function X(e,t,n){var r=re(t),i=re(n);if(ie(r)&&ie(i)){var o,a;if(H(r,i)&&oe(n,r,r.length-i.length))return void(o=e.lines).push.apply(o,M(r));if(H(i,r)&&oe(t,i,i.length-r.length))return void(a=e.lines).push.apply(a,M(i))}else if(function(e,t){return e.length===t.length&&H(e,t)}(r,i)){var s;return void(s=e.lines).push.apply(s,M(r))}ee(e,r,i)}function Z(e,t,n,r){var i,o=re(t),a=function(e,t){for(var n=[],r=[],i=0,o=!1,a=!1;i<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],u=t[i];if("+"===u[0])break;if(o=o||" "!==s[0],r.push(u),i++,"+"===s[0])for(a=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];u.substr(1)===s.substr(1)?(n.push(s),e.index++):a=!0}if("+"===(t[i]||"")[0]&&o&&(a=!0),a)return n;for(;i<t.length;)r.push(t[i++]);return{merged:r,changes:n}}(n,o);a.merged?(i=e.lines).push.apply(i,M(a.merged)):ee(e,r?a:o,r?o:a)}function ee(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function te(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function ne(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function re(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function ie(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function oe(e,t,n){for(var r=0;r<n;r++){var i=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+i)return!1}return e.index+=n,!0}function ae(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}R.tokenize=function(e){return e.slice()},R.join=R.removeEmpty=function(e){return e};var se=Object.freeze({__proto__:null,Diff:E,diffChars:function(e,t,n){return w.diff(e,t,n)},diffWords:function(e,t,n){return n=S(n,{ignoreWhitespace:!0}),T.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return T.diff(e,t,n)},diffLines:O,diffTrimmedLines:function(e,t,n){var r=S(n,{ignoreWhitespace:!0});return _.diff(e,t,r)},diffSentences:function(e,t,n){return F.diff(e,t,n)},diffCss:function(e,t,n){return N.diff(e,t,n)},diffJson:function(e,t,n){return L.diff(e,t,n)},diffArrays:function(e,t,n){return R.diff(e,t,n)},structuredPatch:q,createTwoFilesPatch:V,createPatch:function(e,t,n,r,i,o){return V(e,e,t,n,r,i,o)},applyPatch:U,applyPatches:function(e,t){"string"===typeof e&&(e=B(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=U(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},parsePatch:B,merge:function(e,t,n){e=G(e,n),t=G(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(K(e)?K(t)?(r.oldFileName=J(r,e.oldFileName,t.oldFileName),r.newFileName=J(r,e.newFileName,t.newFileName),r.oldHeader=J(r,e.oldHeader,t.oldHeader),r.newHeader=J(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,s=0;i<e.hunks.length||o<t.hunks.length;){var u=e.hunks[i]||{oldStart:1/0},c=t.hunks[o]||{oldStart:1/0};if(Y(u,c))r.hunks.push(Q(u,a)),i++,s+=u.newLines-u.oldLines;else if(Y(c,u))r.hunks.push(Q(c,s)),o++,a+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(u.oldStart,c.oldStart),oldLines:0,newStart:Math.min(u.newStart+a,c.oldStart+s),newLines:0,lines:[]};$(l,u.oldStart,u.lines,c.oldStart,c.lines),o++,i++,r.hunks.push(l)}}return r},convertChangesToDMP:function(e){for(var t,n,r=[],i=0;i<e.length;i++)n=(t=e[i]).added?1:t.removed?-1:0,r.push([n,t.value]);return r},convertChangesToXML:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(ae(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},canonicalize:P}),ue=Object.freeze({__proto__:null,default:{}}),ce=/[\\/]/;function le(e){return e.split(ce).pop()}var pe=Object.freeze({__proto__:null,extname:function(e){var t=le(e),n=t.lastIndexOf(".");return-1===n?"":t.slice(n)},basename:le,isAbsolute:function(){return!0}}),fe="undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},de=[],he=[],me="undefined"!==typeof Uint8Array?Uint8Array:Array,ge=!1;function ve(){ge=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)de[t]=e[t],he[e.charCodeAt(t)]=t;he["-".charCodeAt(0)]=62,he["_".charCodeAt(0)]=63}function ye(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(de[(i=r)>>18&63]+de[i>>12&63]+de[i>>6&63]+de[63&i]);return o.join("")}function be(e){var t;ge||ve();for(var n=e.length,r=n%3,i="",o=[],a=0,s=n-r;a<s;a+=16383)o.push(ye(e,a,a+16383>s?s:a+16383));return 1===r?(t=e[n-1],i+=de[t>>2],i+=de[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=de[t>>10],i+=de[t>>4&63],i+=de[t<<2&63],i+="="),o.push(i),o.join("")}function xe(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)}function Ee(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?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,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+d]=255&a,d+=h,a/=256,c-=8);e[n+d-h]|=128*m}var De={}.toString,Ce=Array.isArray||function(e){return"[object Array]"==De.call(e)};function we(){return ke.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Se(e,t){if(we()<t)throw new RangeError("Invalid typed array length");return ke.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=ke.prototype:(null===e&&(e=new ke(t)),e.length=t),e}function ke(e,t,n){if(!ke.TYPED_ARRAY_SUPPORT&&!(this instanceof ke))return new ke(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return _e(this,e)}return Ae(this,e,t,n)}function Ae(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),ke.TYPED_ARRAY_SUPPORT?(e=t).__proto__=ke.prototype:e=Oe(e,t),e}(e,t,n,r):"string"===typeof t?function(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!ke.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Ie(t,n),i=(e=Se(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(Ne(t)){var n=0|Fe(t.length);return 0===(e=Se(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?Se(e,0):Oe(e,t);if("Buffer"===t.type&&Ce(t.data))return Oe(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Te(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 _e(e,t){if(Te(t),e=Se(e,t<0?0:0|Fe(t)),!ke.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function Oe(e,t){var n=t.length<0?0:0|Fe(t.length);e=Se(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function Fe(e){if(e>=we())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+we().toString(16)+" bytes");return 0|e}function Ne(e){return!(null==e||!e._isBuffer)}function Ie(e,t){if(Ne(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return it(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ot(e).length;default:if(r)return it(e).length;t=(""+t).toLowerCase(),r=!0}}function Me(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Je(this,t,n);case"utf8":case"utf-8":return We(this,t,n);case"ascii":return Ge(this,t,n);case"latin1":case"binary":return Ke(this,t,n);case"base64":return He(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function je(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Le(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=ke.from(t,r)),Ne(t))return 0===t.length?-1:Pe(e,t,n,r,i);if("number"===typeof t)return t&=255,ke.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pe(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Pe(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var p=!0,f=0;f<u;f++)if(c(e,o+f)!==c(t,f)){p=!1;break}if(p)return o}return-1}function Re(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function Be(e,t,n,r){return at(it(t,e.length-n),e,n,r)}function ze(e,t,n,r){return at(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Ue(e,t,n,r){return ze(e,t,n,r)}function qe(e,t,n,r){return at(ot(t),e,n,r)}function Ve(e,t,n,r){return at(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function He(e,t,n){return 0===t&&n===e.length?be(e):be(e.slice(t,n))}function We(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function Ge(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function Ke(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Je(e,t,n){var r,i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",a=t;a<n;++a)o+=(r=e[a])<16?"0"+r.toString(16):r.toString(16);return o}function Ye(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function Qe(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function $e(e,t,n,r,i,o){if(!Ne(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Xe(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Ze(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function et(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function tt(e,t,n,r,i){return i||et(e,0,n,4),Ee(e,t,n,r,23,4),n+4}function nt(e,t,n,r,i){return i||et(e,0,n,8),Ee(e,t,n,r,52,8),n+8}ke.TYPED_ARRAY_SUPPORT=void 0===fe.TYPED_ARRAY_SUPPORT||fe.TYPED_ARRAY_SUPPORT,ke.poolSize=8192,ke._augment=function(e){return e.__proto__=ke.prototype,e},ke.from=function(e,t,n){return Ae(null,e,t,n)},ke.TYPED_ARRAY_SUPPORT&&(ke.prototype.__proto__=Uint8Array.prototype,ke.__proto__=Uint8Array),ke.alloc=function(e,t,n){return function(e,t,n,r){return Te(t),t<=0?Se(e,t):void 0!==n?"string"===typeof r?Se(e,t).fill(n,r):Se(e,t).fill(n):Se(e,t)}(null,e,t,n)},ke.allocUnsafe=function(e){return _e(null,e)},ke.allocUnsafeSlow=function(e){return _e(null,e)},ke.isBuffer=function(e){return null!=e&&(!!e._isBuffer||st(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&st(e.slice(0,0))}(e))},ke.compare=function(e,t){if(!Ne(e)||!Ne(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},ke.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}},ke.concat=function(e,t){if(!Ce(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return ke.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=ke.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!Ne(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},ke.byteLength=Ie,ke.prototype._isBuffer=!0,ke.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)je(this,t,t+1);return this},ke.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)je(this,t,t+3),je(this,t+1,t+2);return this},ke.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)je(this,t,t+7),je(this,t+1,t+6),je(this,t+2,t+5),je(this,t+3,t+4);return this},ke.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?We(this,0,e):Me.apply(this,arguments)},ke.prototype.equals=function(e){if(!Ne(e))throw new TypeError("Argument must be a Buffer");return this===e||0===ke.compare(this,e)},ke.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},ke.prototype.compare=function(e,t,n,r,i){if(!Ne(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),l=0;l<s;++l)if(u[l]!==c[l]){o=u[l],a=c[l];break}return o<a?-1:a<o?1:0},ke.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},ke.prototype.indexOf=function(e,t,n){return Le(this,e,t,n,!0)},ke.prototype.lastIndexOf=function(e,t,n){return Le(this,e,t,n,!1)},ke.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Re(this,e,t,n);case"utf8":case"utf-8":return Be(this,e,t,n);case"ascii":return ze(this,e,t,n);case"latin1":case"binary":return Ue(this,e,t,n);case"base64":return qe(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ve(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},ke.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},ke.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),ke.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=ke.prototype;else{var i=t-e;n=new ke(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},ke.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Qe(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},ke.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Qe(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},ke.prototype.readUInt8=function(e,t){return t||Qe(e,1,this.length),this[e]},ke.prototype.readUInt16LE=function(e,t){return t||Qe(e,2,this.length),this[e]|this[e+1]<<8},ke.prototype.readUInt16BE=function(e,t){return t||Qe(e,2,this.length),this[e]<<8|this[e+1]},ke.prototype.readUInt32LE=function(e,t){return t||Qe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ke.prototype.readUInt32BE=function(e,t){return t||Qe(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ke.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Qe(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},ke.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Qe(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},ke.prototype.readInt8=function(e,t){return t||Qe(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ke.prototype.readInt16LE=function(e,t){t||Qe(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ke.prototype.readInt16BE=function(e,t){t||Qe(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ke.prototype.readInt32LE=function(e,t){return t||Qe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ke.prototype.readInt32BE=function(e,t){return t||Qe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ke.prototype.readFloatLE=function(e,t){return t||Qe(e,4,this.length),xe(this,e,!0,23,4)},ke.prototype.readFloatBE=function(e,t){return t||Qe(e,4,this.length),xe(this,e,!1,23,4)},ke.prototype.readDoubleLE=function(e,t){return t||Qe(e,8,this.length),xe(this,e,!0,52,8)},ke.prototype.readDoubleBE=function(e,t){return t||Qe(e,8,this.length),xe(this,e,!1,52,8)},ke.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||$e(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},ke.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||$e(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},ke.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,1,255,0),ke.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ke.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,2,65535,0),ke.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xe(this,e,t,!0),t+2},ke.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,2,65535,0),ke.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xe(this,e,t,!1),t+2},ke.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,4,4294967295,0),ke.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ze(this,e,t,!0),t+4},ke.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,4,4294967295,0),ke.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ze(this,e,t,!1),t+4},ke.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);$e(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},ke.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);$e(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},ke.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,1,127,-128),ke.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ke.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,2,32767,-32768),ke.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xe(this,e,t,!0),t+2},ke.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,2,32767,-32768),ke.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xe(this,e,t,!1),t+2},ke.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,4,2147483647,-2147483648),ke.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ze(this,e,t,!0),t+4},ke.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||$e(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ke.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ze(this,e,t,!1),t+4},ke.prototype.writeFloatLE=function(e,t,n){return tt(this,e,t,!0,n)},ke.prototype.writeFloatBE=function(e,t,n){return tt(this,e,t,!1,n)},ke.prototype.writeDoubleLE=function(e,t,n){return nt(this,e,t,!0,n)},ke.prototype.writeDoubleBE=function(e,t,n){return nt(this,e,t,!1,n)},ke.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!ke.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},ke.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!ke.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=Ne(e)?e:it(new ke(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var rt=/[^+\/0-9A-Za-z-_]/g;function it(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ot(e){return function(e){var t,n,r,i,o,a;ge||ve();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new me(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t<r;t+=4,n+=3)i=he[e.charCodeAt(t)]<<18|he[e.charCodeAt(t+1)]<<12|he[e.charCodeAt(t+2)]<<6|he[e.charCodeAt(t+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=he[e.charCodeAt(t)]<<2|he[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=he[e.charCodeAt(t)]<<10|he[e.charCodeAt(t+1)]<<4|he[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(rt,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function at(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function st(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var ut="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{};function ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function lt(e,t){return e(t={exports:{}},t.exports),t.exports}function pt(e){return e&&e.default||e}var ft=pt(ue),dt=function(){function e(t,n){h(this,e),(n=n||{}).readChunk||(n.readChunk=1024),n.newLineCharacter?n.newLineCharacter=n.newLineCharacter.charCodeAt(0):n.newLineCharacter=10,this.fd="number"===typeof t?t:ft.openSync(t,"r"),this.options=n,this.newLineCharacter=n.newLineCharacter,this.reset()}return m(e,[{key:"_searchInBuffer",value:function(e,t){for(var n=-1,r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){ft.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,n=[],r=0,i=0;;){var o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(!o)break}var a=e.slice(i,r);return a.length&&n.push(a),n}},{key:"_readChunk",value:function(e){var t,n=0,r=[];do{var i=new ke(this.options.readChunk);n+=t=ft.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(i)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var o=ke.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,o=o.slice(0,n)),n&&(this.linesCache=this._extractLines(o),e&&(this.linesCache[0]=ke.concat([e,this.linesCache[0]]))),n}},{key:"next",value:function(){if(!this.fd)return!1;var e=!1;return this.eofReached&&0===this.linesCache.length||(this.linesCache.length||this._readChunk(),this.linesCache.length&&10!==(e=this.linesCache.shift())[e.length-1]&&this._readChunk(e)&&(e=this.linesCache.shift()),this.eofReached&&0===this.linesCache.length&&this.close(),e&&e[e.length-1]===this.newLineCharacter&&(e=e.slice(0,e.length-1))),e}}]),e}(),ht=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},mt={ConfigError:function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(d(Error)),DebugError:function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(d(Error)),UndefinedParserError:function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return n}(d(Error))};function gt(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function vt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function yt(){throw new Error("setTimeout has not been defined")}function bt(){throw new Error("clearTimeout has not been defined")}var xt=yt,Et=bt;function Dt(e){if(xt===setTimeout)return setTimeout(e,0);if((xt===yt||!xt)&&setTimeout)return xt=setTimeout,setTimeout(e,0);try{return xt(e,0)}catch(t){try{return xt.call(null,e,0)}catch(t){return xt.call(this,e,0)}}}"function"===typeof fe.setTimeout&&(xt=setTimeout),"function"===typeof fe.clearTimeout&&(Et=clearTimeout);var Ct,wt=[],St=!1,kt=-1;function At(){St&&Ct&&(St=!1,Ct.length?wt=Ct.concat(wt):kt=-1,wt.length&&Tt())}function Tt(){if(!St){var e=Dt(At);St=!0;for(var t=wt.length;t;){for(Ct=wt,wt=[];++kt<t;)Ct&&Ct[kt].run();kt=-1,t=wt.length}Ct=null,St=!1,function(e){if(Et===clearTimeout)return clearTimeout(e);if((Et===bt||!Et)&&clearTimeout)return Et=clearTimeout,clearTimeout(e);try{Et(e)}catch(t){try{return Et.call(null,e)}catch(t){return Et.call(this,e)}}}(e)}}function _t(e,t){this.fun=e,this.array=t}function Ot(){}_t.prototype.run=function(){this.fun.apply(null,this.array)};var Ft=Ot,Nt=Ot,It=Ot,Mt=Ot,jt=Ot,Lt=Ot,Pt=Ot,Rt=fe.performance||{},Bt=Rt.now||Rt.mozNow||Rt.msNow||Rt.oNow||Rt.webkitNow||function(){return(new Date).getTime()},zt=new Date,Ut={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];wt.push(new _t(e,t)),1!==wt.length||St||Dt(Tt)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ft,addListener:Nt,once:It,off:Mt,removeListener:jt,removeAllListeners:Lt,emit:Pt,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*Bt.call(Rt),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-zt)/1e3}},qt="object"===typeof Ut&&Ut.env&&Ut.env.NODE_DEBUG&&/\bsemver\b/i.test(Ut.env.NODE_DEBUG)?function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=console).error.apply(e,["SEMVER"].concat(n))}:function(){},Vt={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Ht=lt((function(e,t){var n=Vt.MAX_SAFE_COMPONENT_LENGTH,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={},a=0,s=function(e,t,n){var s=a++;qt(s,t),o[e]=s,i[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),s("FULL","^".concat(i[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),s("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",i[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*")})),Wt=(Ht.re,Ht.src,Ht.t,Ht.tildeTrimReplace,Ht.caretTrimReplace,Ht.comparatorTrimReplace,/^[0-9]+$/),Gt=function(e,t){var n=Wt.test(e),r=Wt.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},Kt=Gt,Jt=Vt.MAX_LENGTH,Yt=Vt.MAX_SAFE_INTEGER,Qt=Ht.re,$t=Ht.t,Xt=Kt,Zt=function(){function e(t,n){if(h(this,e),n&&"object"===typeof n||(n={loose:!!n,includePrerelease:!1}),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!==typeof t)throw new TypeError("Invalid Version: ".concat(t));if(t.length>Jt)throw new TypeError("version is longer than ".concat(Jt," characters"));qt("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var r=t.trim().match(n.loose?Qt[$t.LOOSE]:Qt[$t.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Yt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Yt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Yt||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<Yt)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return m(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(t){if(qt("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"===typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}},{key:"compareMain",value:function(t){return t instanceof e||(t=new e(t,this.options)),Xt(this.major,t.major)||Xt(this.minor,t.minor)||Xt(this.patch,t.patch)}},{key:"comparePre",value:function(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],i=t.prerelease[n];if(qt("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Xt(r,i)}while(++n)}},{key:"compareBuild",value:function(t){t instanceof e||(t=new e(t,this.options));var n=0;do{var r=this.build[n],i=t.build[n];if(qt("prerelease compare",n,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return Xt(r,i)}while(++n)}},{key:"inc",value:function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"===typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}(),en=function(e,t,n){return new Zt(e,n).compare(new Zt(t,n))},tn=function(e,t,n){return en(e,t,n)<0},nn=function(e,t,n){return en(e,t,n)>=0},rn=function(e,t){return Object.entries(e).map((function(e){var n=l(e,2),r=n[0],i=n[1];return Object.assign(c({},t,r),i)}))},on=lt((function(e){e.exports=function(e){var t=void 0;t="string"===typeof e?[e]:e.raw;for(var n="",r=0;r<t.length;r++)n+=t[r].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),r<(arguments.length<=1?0:arguments.length-1)&&(n+=arguments.length<=r+1?void 0:arguments[r+1]);var i=n.split("\n"),o=null;return i.forEach((function(e){var t=e.match(/^(\s+)\S+/);if(t){var n=t[1].length;o=o?Math.min(o,n):n}})),null!==o&&(n=i.map((function(e){return" "===e[0]?e.slice(o):e})).join("\n")),(n=n.trim()).replace(/\\n/g,"\n")}}));function an(){var e=vt(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return an=function(){return e},e}function sn(){var e=vt(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return sn=function(){return e},e}function un(){var e=vt(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return un=function(){return e},e}function cn(){var e=vt(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return cn=function(){return e},e}function ln(){var e=vt(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return ln=function(){return e},e}function pn(){var e=vt(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return pn=function(){return e},e}var fn={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:{cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:on(pn()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:on(ln())}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return"string"===typeof e||"function"===typeof e},choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return"string"===typeof e||"object"===typeof e},cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:on(cn()),exception:function(e){return"string"===typeof e||"object"===typeof e},cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:on(un()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:on(sn()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:on(an()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."}}},dn=pt(x),hn={compare:en,lt:tn,gte:nn},mn=dn.version,gn=fn.options,vn={getSupportInfo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.plugins,n=void 0===t?[]:t,r=e.showUnreleased,i=void 0!==r&&r,o=e.showDeprecated,a=void 0!==o&&o,s=e.showInternal,c=void 0!==s&&s,l=mn.split("-",1)[0],p=rn(Object.assign.apply(Object,[{}].concat(u(n.map((function(e){return e.options}))),[gn])),"name").filter((function(e){return d(e)&&h(e)})).sort((function(e,t){return e.name===t.name?0:e.name<t.name?-1:1})).map(m).map((function(e){e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(d).sort((function(e,t){return hn.compare(t.since,e.since)}))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter((function(e){return d(e)&&h(e)})));var t=n.filter((function(t){return t.defaultOptions&&void 0!==t.defaultOptions[e.name]})).reduce((function(t,n){return t[n.name]=n.defaultOptions[e.name],t}),{});return Object.assign({},e,{pluginDefaults:t})})),f=n.reduce((function(e,t){return e.concat(t.languages||[])}),[]).filter(d);return{languages:f,options:p};function d(e){return i||!("since"in e)||e.since&&hn.gte(l,e.since)}function h(e){return a||!("deprecated"in e)||e.deprecated&&hn.lt(l,e.deprecated)}function m(e){return c?e:gt(e,["cliName","cliCategory","cliDescription"])}}},yn=function(e,t){return(yn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},bn=function(){return(bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function xn(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function En(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Dn(e){return this instanceof Dn?(this.v=e,this):new Dn(e)}var Cn=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}yn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return bn},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},__decorate:function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},__exportStar:function(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])},__values:xn,__read:En,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(En(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},__await:Dn,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof Dn?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(r){l(o[0][3],r)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:Dn(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=xn(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}}}),wn=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(e){if(null===e||"object"!==typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))})).join(", ")," }")},pair:function(e){var n=e.key,r=e.value;return t.apiDescriptor.value(c({},n,r))}}}));ct(wn),wn.apiDescriptor;var Sn=pt(Cn),kn=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(wn,t)}));ct(kn);var An=/[|\\{}()[\]^$+*?.]/g,Tn=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(An,"\\$&")},_n={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},On=lt((function(e){var t={};for(var n in _n)_n.hasOwnProperty(n)&&(t[_n[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),p=function(e){return(c-e)/6/l+.5};return 0===l?i=o=0:(o=l/c,t=p(a),n=p(s),r=p(u),a===c?i=r-n:s===c?i=1/3+t-r:u===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in _n)if(_n.hasOwnProperty(s)){var u=_n[s],c=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));c<a&&(a=c,r=s)}return r},r.keyword.rgb=function(e){return _n[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*u-(t=Math.floor(6*u)),0!==(1&t)&&(r=1-r),i=c+r*((n=1-l)-c),t){default:case 6:case 0:o=n,a=i,s=c;break;case 1:o=i,a=n,s=c;break;case 2:o=c,a=n,s=i;break;case 3:o=c,a=i,s=n;break;case 4:o=i,a=c,s=n;break;case 5:o=n,a=c,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Fn(e){var t=function(){for(var e={},t=Object.keys(On),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(On[r]),o=i.length,a=0;a<o;a++){var s=i[a],u=t[s];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,n.unshift(s))}return t}function Nn(e,t){return function(n){return t(e(n))}}function In(e,t){for(var n=[t[e].parent,e],r=On[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=Nn(On[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}On.rgb,On.hsl,On.hsv,On.hwb,On.cmyk,On.xyz,On.lab,On.lch,On.hex,On.keyword,On.ansi16,On.ansi256,On.hcg,On.apple,On.gray;var Mn={};Object.keys(On).forEach((function(e){Mn[e]={},Object.defineProperty(Mn[e],"channels",{value:On[e].channels}),Object.defineProperty(Mn[e],"labels",{value:On[e].labels});var t=function(e){for(var t=Fn(e),n={},r=Object.keys(t),i=r.length,o=0;o<i;o++){var a=r[o];null!==t[a].parent&&(n[a]=In(a,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Mn[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Mn[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var jn,Ln=Mn,Pn=lt((function(e){var t=function(e,t){return function(){var n=e.apply(Ln,arguments);return"\x1b[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(Ln,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(Ln,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(var o=0,a=Object.keys(i);o<a.length;o++){for(var s=a[o],u=i[s],c=0,l=Object.keys(u);c<l.length;c++){var p=l[c],f=u[p];i[p]={open:"\x1b[".concat(f[0],"m"),close:"\x1b[".concat(f[1],"m")},u[p]=i[p],e.set(f[0],f[1])}Object.defineProperty(i,s,{value:u,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}var d=function(e){return e},h=function(e,t,n){return[e,t,n]};i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:t(d,0)},i.color.ansi256={ansi256:n(d,0)},i.color.ansi16m={rgb:r(h,0)},i.bgColor.ansi={ansi:t(d,10)},i.bgColor.ansi256={ansi256:n(d,10)},i.bgColor.ansi16m={rgb:r(h,10)};for(var m=0,g=Object.keys(Ln);m<g.length;m++){var v=g[m];if("object"===typeof Ln[v]){var y=Ln[v];"ansi16"===v&&(v="ansi"),"ansi16"in y&&(i.color.ansi[v]=t(y.ansi16,0),i.bgColor.ansi[v]=t(y.ansi16,10)),"ansi256"in y&&(i.color.ansi256[v]=n(y.ansi256,0),i.bgColor.ansi256[v]=n(y.ansi256,10)),"rgb"in y&&(i.color.ansi16m[v]=r(y.rgb,0),i.bgColor.ansi16m[v]=r(y.rgb,10))}}return i}})})),Rn={EOL:"\n"},Bn=function(e,t){t=t||Ut.argv;var n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},zn=Ut.env;function Un(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===jn)return 0;if(Bn("color=16m")||Bn("color=full")||Bn("color=truecolor"))return 3;if(Bn("color=256"))return 2;if(e&&!e.isTTY&&!0!==jn)return 0;var t=jn?1:0;if("win32"===Ut.platform){var n=Rn.release().split(".");return Number(Ut.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in zn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in zn}))||"codeship"===zn.CI_NAME?1:t;if("TEAMCITY_VERSION"in zn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zn.TEAMCITY_VERSION)?1:0;if("truecolor"===zn.COLORTERM)return 3;if("TERM_PROGRAM"in zn){var r=parseInt((zn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zn.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zn.TERM)||"COLORTERM"in zn?1:(zn.TERM,t)}(e))}Bn("no-color")||Bn("no-colors")||Bn("color=false")?jn=!1:(Bn("color")||Bn("colors")||Bn("color=true")||Bn("color=always"))&&(jn=!0),"FORCE_COLOR"in zn&&(jn=0===zn.FORCE_COLOR.length||0!==parseInt(zn.FORCE_COLOR,10));var qn={supportsColor:Un,stdout:Un(Ut.stdout),stderr:Un(Ut.stderr)},Vn=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hn=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Wn=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Gn=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Kn=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Jn(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Kn.get(e)||e}function Yn(e,t){var n,r,i=[],o=t.trim().split(/\s*,\s*/g),a=s(o);try{for(a.s();!(r=a.n()).done;){var u=r.value;if(isNaN(u)){if(!(n=u.match(Wn)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(Gn,(function(e,t,n){return t?Jn(t):n})))}else i.push(Number(u))}}catch(c){a.e(c)}finally{a.f()}return i}function Qn(e){Hn.lastIndex=0;for(var t,n=[];null!==(t=Hn.exec(e));){var r=t[1];if(t[2]){var i=Yn(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function $n(e,t){var n,r={},i=s(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,u=s(a.styles);try{for(u.s();!(o=u.n()).done;){var c=o.value;r[c[0]]=a.inverse?null:c.slice(1)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){i.e(h)}finally{i.f()}for(var l=e,p=0,f=Object.keys(r);p<f.length;p++){var d=f[p];if(Array.isArray(r[d])){if(!(d in l))throw new Error("Unknown Chalk style: ".concat(d));l=r[d].length>0?l[d].apply(l,r[d]):l[d]}}return l}var Xn=function(e,t){var n=[],r=[],i=[];if(t.replace(Vn,(function(t,o,a,s,u,c){if(o)i.push(Jn(o));else if(s){var l=i.join("");i=[],r.push(0===n.length?l:$n(e,n)(l)),n.push({inverse:a,styles:Qn(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push($n(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")},Zn=lt((function(e){var t=qn.stdout,n="win32"===Ut.platform&&!(Ut.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function u(e){if(!this||!(this instanceof u)||this.template){var t={};return a(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,u.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=u,t.template}a(this,e)}n&&(Pn.blue.open="\x1b[94m");for(var c=function(){var e=p[l];Pn[e].closeRe=new RegExp(Tn(Pn[e].close),"g"),o[e]={get:function(){var t=Pn[e];return b.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},l=0,p=Object.keys(Pn);l<p.length;l++)c();o.visible={get:function(){return b.call(this,this._styles||[],!0,"visible")}},Pn.color.closeRe=new RegExp(Tn(Pn.color.close),"g");for(var f=function(){var e=h[d];if(i.has(e))return"continue";o[e]={get:function(){var t=this.level;return function(){var n=Pn.color[r[t]][e].apply(null,arguments),i={open:n,close:Pn.color.close,closeRe:Pn.color.closeRe};return b.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},d=0,h=Object.keys(Pn.color.ansi);d<h.length;d++)f();Pn.bgColor.closeRe=new RegExp(Tn(Pn.bgColor.close),"g");for(var m=function(){var e=v[g];if(i.has(e))return"continue";var t="bg"+e[0].toUpperCase()+e.slice(1);o[t]={get:function(){var t=this.level;return function(){var n=Pn.bgColor[r[t]][e].apply(null,arguments),i={open:n,close:Pn.bgColor.close,closeRe:Pn.bgColor.closeRe};return b.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},g=0,v=Object.keys(Pn.bgColor.ansi);g<v.length;g++)m();var y=Object.defineProperties((function(){}),o);function b(e,t,n){var r=function e(){return x.apply(e,arguments)};r._styles=e,r._empty=t;var i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=y,r}function x(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;var o=Pn.dim.open;n&&this.hasGrey&&(Pn.dim.open="");var a,u=s(this._styles.slice().reverse());try{for(u.s();!(a=u.n()).done;){var c=a.value;r=(r=c.open+r.replace(c.closeRe,c.open)+c.close).replace(/\r?\n/g,"".concat(c.close,"$&").concat(c.open))}}catch(l){u.e(l)}finally{u.f()}return Pn.dim.open=o,r}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return Xn(e,r.join(""))}Object.defineProperties(u.prototype,o),e.exports=u(),e.exports.supportsColor=t,e.exports.default=e.exports})),er=(Zn.supportsColor,lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonDeprecatedHandler=function(e,t,n){var r=n.descriptor,i=["".concat(Zn.default.yellow("string"===typeof e?r.key(e):r.pair(e))," is deprecated")];return t&&i.push("we now treat it as ".concat(Zn.default.blue("string"===typeof t?r.key(t):r.pair(t)))),i.join("; ")+"."}})));ct(er),er.commonDeprecatedHandler;var tr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(er,t)}));ct(tr);var nr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=function(e,t,n){return["Invalid ".concat(Zn.default.red(n.descriptor.key(e))," value."),"Expected ".concat(Zn.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(Zn.default.red(n.descriptor.value(t)),".")].join(" ")}}));ct(nr),nr.commonInvalidHandler;var rr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(nr,t)}));ct(rr);var ir=[],or=[],ar=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=function(e,t,n){var r=n.descriptor,i=n.logger,o=n.schemas,a=["Ignored unknown option ".concat(Zn.default.yellow(r.pair({key:e,value:t})),".")],s=Object.keys(o).sort().find((function(t){return function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,a,s,u,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(i-=c,0===(r-=c))return i;for(var l=0,p=0;l<r;)or[c+l]=e.charCodeAt(c+l),ir[l]=++l;for(;p<i;)for(o=t.charCodeAt(c+p),s=p++,a=p,l=0;l<r;l++)u=o===or[c+l]?s:s+1,s=ir[l],a=ir[l]=s>a?u>a?a+1:u:u>s?s+1:u;return a}(e,t)<3}));s&&a.push("Did you mean ".concat(Zn.default.blue(r.key(s)),"?")),i.warn(a.join(" "))}}));ct(ar),ar.levenUnknownHandler;var sr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(ar,t)}));ct(sr);var ur=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(tr,t),Sn.__exportStar(rr,t),Sn.__exportStar(sr,t)}));ct(ur);var cr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){var r,a=new e(t),u=Object.create(a),c=s(n);try{for(c.s();!(r=c.n()).done;){var l=r.value;l in t&&(u[l]=o(t[l],a,i.prototype[l].length))}}catch(p){c.e(p)}finally{c.f()}return u}t.createSchema=r;var i=function(){function e(t){h(this,e),this.name=t.name}return m(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return r(this,e)}}]),e}();function o(e,t,n){return"function"===typeof e?function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.apply(void 0,u(i.slice(0,n-1)).concat([t],u(i.slice(n-1))))}:function(){return e}}t.Schema=i}));ct(cr),cr.createSchema,cr.Schema;var lr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(e){var r;return h(this,n),(r=t.call(this,e))._sourceName=e.sourceName,r}return m(n,[{key:"expected",value:function(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function(e,t){return this._sourceName}}]),n}(cr.Schema);t.AliasSchema=n}));ct(lr),lr.AliasSchema;var pr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),n}(cr.Schema);t.AnySchema=n}));ct(pr),pr.AnySchema;var fr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(e){var r;h(this,n);var i=e.valueSchema,o=e.name,a=void 0===o?i.name:o,s=Sn.__rest(e,["valueSchema","name"]);return(r=t.call(this,Object.assign({},s,{name:a})))._valueSchema=i,r}return m(n,[{key:"expected",value:function(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function(e,t){if(!Array.isArray(e))return!1;var n,r=[],i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=t.normalizeValidateResult(this._valueSchema.validate(o,t),o);!0!==a&&r.push(a.value)}}catch(u){i.e(u)}finally{i.f()}return 0===r.length||{value:r}}},{key:"deprecated",value:function(e,t){var n,r=[],i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(o,t),o);!1!==a&&r.push.apply(r,u(a.map((function(e){return{value:[e.value]}}))))}}catch(c){i.e(c)}finally{i.f()}return r}},{key:"forward",value:function(e,t){var n,i=[],o=s(e);try{for(o.s();!(n=o.n()).done;){var a=n.value,c=t.normalizeForwardResult(this._valueSchema.forward(a,t),a);i.push.apply(i,u(c.map(r)))}}catch(l){o.e(l)}finally{o.f()}return i}},{key:"redirect",value:function(e,t){var n,i=[],o=[],a=s(e);try{for(a.s();!(n=a.n()).done;){var c=n.value,l=t.normalizeRedirectResult(this._valueSchema.redirect(c,t),c);"remain"in l&&i.push(l.remain),o.push.apply(o,u(l.redirect.map(r)))}}catch(p){a.e(p)}finally{a.f()}return 0===i.length?{redirect:o}:{redirect:o,remain:i}}},{key:"overlap",value:function(e,t){return e.concat(t)}}]),n}(cr.Schema);function r(e){return{from:[e.from],to:e.to}}t.ArraySchema=n}));ct(fr),fr.ArraySchema;var dr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(e){return"boolean"===typeof e}}]),n}(cr.Schema);t.BooleanSchema=n}));ct(dr),dr.BooleanSchema;var hr=lt((function(e,t){function n(e,t){return"string"===typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return n(e,t)})):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){var n,r=Object.create(null),i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o[t];if(r[a])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(a)));r[a]=o}}catch(u){i.e(u)}finally{i.f()}return r},t.mapFromArray=function(e,t){var n,r=new Map,i=s(e);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o[t];if(r.has(a))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(a)));r.set(a,o)}}catch(u){i.e(u)}finally{i.f()}return r},t.createAutoChecklist=function(){var e=Object.create(null);return function(t){var n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){var n,r=[],i=[],o=s(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;t(a)?r.push(a):i.push(a)}}catch(u){o.e(u)}finally{o.f()}return[r,i]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;var n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){var n=r("object"===typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"===typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}));ct(hr),hr.recordFromArray,hr.mapFromArray,hr.createAutoChecklist,hr.partition,hr.isInt,hr.comparePrimitive,hr.normalizeDefaultResult,hr.normalizeValidateResult,hr.normalizeDeprecatedResult,hr.normalizeTransferResult,hr.normalizeForwardResult,hr.normalizeRedirectResult;var mr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(e){var r;return h(this,n),(r=t.call(this,e))._choices=hr.mapFromArray(e.choices.map((function(e){return e&&"object"===typeof e?e:{value:e}})),"value"),r}return m(n,[{key:"expected",value:function(e){var t=this,n=e.descriptor,r=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(hr.comparePrimitive).map(n.value),i=r.slice(0,-2),o=r.slice(-2);return i.concat(o.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),n}(cr.Schema);t.ChoiceSchema=n}));ct(mr),mr.ChoiceSchema;var gr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"===typeof e}}]),n}(cr.Schema);t.NumberSchema=n}));ct(gr),gr.NumberSchema;var vr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,t){return!0===t.normalizeValidateResult(a(o(n.prototype),"validate",this).call(this,e,t),e)&&hr.isInt(e)}}]),n}(gr.NumberSchema);t.IntegerSchema=n}));ct(vr),vr.IntegerSchema;var yr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){p(n,e);var t=f(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"===typeof e}}]),n}(cr.Schema);t.StringSchema=n}));ct(yr),yr.StringSchema;var br=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(lr,t),Sn.__exportStar(pr,t),Sn.__exportStar(fr,t),Sn.__exportStar(dr,t),Sn.__exportStar(mr,t),Sn.__exportStar(vr,t),Sn.__exportStar(gr,t),Sn.__exportStar(yr,t)}));ct(br);var xr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=wn.apiDescriptor,t.defaultUnknownHandler=ar.levenUnknownHandler,t.defaultInvalidHandler=rr.commonInvalidHandler,t.defaultDeprecatedHandler=er.commonDeprecatedHandler}));ct(xr),xr.defaultDescriptor,xr.defaultUnknownHandler,xr.defaultInvalidHandler,xr.defaultDeprecatedHandler;var Er=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e,t,r){return new n(t,r).normalize(e)};var n=function(){function e(t,n){h(this,e);var r=n||{},i=r.logger,o=void 0===i?console:i,a=r.descriptor,s=void 0===a?xr.defaultDescriptor:a,u=r.unknown,c=void 0===u?xr.defaultUnknownHandler:u,l=r.invalid,p=void 0===l?xr.defaultInvalidHandler:l,f=r.deprecated,d=void 0===f?xr.defaultDeprecatedHandler:f;this._utils={descriptor:s,logger:o||{warn:function(){}},schemas:hr.recordFromArray(t,"name"),normalizeDefaultResult:hr.normalizeDefaultResult,normalizeDeprecatedResult:hr.normalizeDeprecatedResult,normalizeForwardResult:hr.normalizeForwardResult,normalizeRedirectResult:hr.normalizeRedirectResult,normalizeValidateResult:hr.normalizeValidateResult},this._unknownHandler=c,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return m(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=hr.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,n={},r=[e],i=function(){for(;0!==r.length;){var e=r.shift(),i=t._applyNormalization(e,n);r.push.apply(r,u(i))}};i();for(var o=0,a=Object.keys(this._utils.schemas);o<a.length;o++){var s=a[o],l=this._utils.schemas[s];if(!(s in n)){var p=hr.normalizeDefaultResult(l.default(this._utils));"value"in p&&r.push(c({},s,p.value))}}i();for(var f=0,d=Object.keys(this._utils.schemas);f<d.length;f++){var h=d[f],m=this._utils.schemas[h];h in n&&(n[h]=m.postprocess(n[h],this._utils))}return n}},{key:"_applyNormalization",value:function(e,t){var n,r=this,i=[],o=hr.partition(Object.keys(e),(function(e){return e in r._utils.schemas})),a=l(o,2),u=a[0],p=a[1],f=s(u);try{var d=function(){var o=n.value,a=r._utils.schemas[o],u=a.preprocess(e[o],r._utils),l=hr.normalizeValidateResult(a.validate(u,r._utils),u);if(!0!==l){var p=l.value,f=r._invalidHandler(o,p,r._utils);throw"string"===typeof f?new Error(f):f}var d=function(e){var t=e.from,n=e.to;i.push("string"===typeof n?c({},n,t):c({},n.key,n.value))},h=function(e){var t=e.value,n=e.redirectTo,i=hr.normalizeDeprecatedResult(a.deprecated(t,r._utils),u,!0);if(!1!==i)if(!0===i)r._hasDeprecationWarned(o)||r._utils.logger.warn(r._deprecatedHandler(o,n,r._utils));else{var c,l=s(i);try{for(l.s();!(c=l.n()).done;){var p=c.value.value,f={key:o,value:p};if(!r._hasDeprecationWarned(f)){var d="string"===typeof n?{key:n,value:p}:n;r._utils.logger.warn(r._deprecatedHandler(f,d,r._utils))}}}catch(h){l.e(h)}finally{l.f()}}};hr.normalizeForwardResult(a.forward(u,r._utils),u).forEach(d);var m=hr.normalizeRedirectResult(a.redirect(u,r._utils),u);if(m.redirect.forEach(d),"remain"in m){var g=m.remain;t[o]=o in t?a.overlap(t[o],g,r._utils):g,h({value:g})}var v,y=s(m.redirect);try{for(y.s();!(v=y.n()).done;){var b=v.value;h({value:b.from,redirectTo:b.to})}}catch(x){y.e(x)}finally{y.f()}};for(f.s();!(n=f.n()).done;)d()}catch(C){f.e(C)}finally{f.f()}var h,m=s(p);try{for(m.s();!(h=m.n()).done;){var g=h.value,v=e[g],y=this._unknownHandler(g,v,this._utils);if(y)for(var b=0,x=Object.keys(y);b<x.length;b++){var E=x[b],D=c({},E,y[E]);E in this._utils.schemas?i.push(D):Object.assign(t,D)}}}catch(C){m.e(C)}finally{m.f()}return i}}]),e}();t.Normalizer=n}));ct(Er),Er.normalize,Er.Normalizer;var Dr=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Sn.__exportStar(kn,t),Sn.__exportStar(ur,t),Sn.__exportStar(br,t),Sn.__exportStar(Er,t),Sn.__exportStar(cr,t)}));ct(Dr);var Cr=[],wr=[],Sr=function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);for(var r=e.length,i=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;for(var o,a,s,u,c=0;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(i-=c,0===(r-=c))return i;for(var l=0,p=0;l<r;)wr[l]=e.charCodeAt(c+l),Cr[l]=++l;for(;p<i;)for(o=t.charCodeAt(c+p),s=p++,a=p,l=0;l<r;l++)u=o===wr[l]?s:s+1,s=Cr[l],a=Cr[l]=s>a?u>a?a+1:u:u>s?s+1:u;return a},kr=Sr,Ar=Sr;kr.default=Ar;for(var Tr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_r={},Or=0,Fr=Object.keys(Tr);Or<Fr.length;Or++){var Nr=Fr[Or];_r[Tr[Nr]]=Nr}for(var Ir={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},Mr=Ir,jr=0,Lr=Object.keys(Ir);jr<Lr.length;jr++){var Pr=Lr[jr];if(!("channels"in Ir[Pr]))throw new Error("missing channels property: "+Pr);if(!("labels"in Ir[Pr]))throw new Error("missing channel labels property: "+Pr);if(Ir[Pr].labels.length!==Ir[Pr].channels)throw new Error("channel and label counts mismatch: "+Pr);var Rr=Ir[Pr],Br=Rr.channels,zr=Rr.labels;delete Ir[Pr].channels,delete Ir[Pr].labels,Object.defineProperty(Ir[Pr],"channels",{value:Br}),Object.defineProperty(Ir[Pr],"labels",{value:zr})}function Ur(e){var t=function(){for(var e={},t=Object.keys(Mr),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(Mr[r]),o=i.length,a=0;a<o;a++){var s=i[a],u=t[s];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,n.unshift(s))}return t}function qr(e,t){return function(n){return t(e(n))}}function Vr(e,t){for(var n=[t[e].parent,e],r=Mr[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=qr(Mr[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}Ir.rgb.hsl=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.min(n,r,i),a=Math.max(n,r,i),s=a-o;a===o?t=0:n===a?t=(r-i)/s:r===a?t=2+(i-n)/s:i===a&&(t=4+(n-r)/s),(t=Math.min(60*t,360))<0&&(t+=360);var u=(o+a)/2;return[t,100*(a===o?0:u<=.5?s/(a+o):s/(2-a-o)),100*u]},Ir.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),p=function(e){return(c-e)/6/l+.5};return 0===l?(i=0,o=0):(o=l/c,t=p(a),n=p(s),r=p(u),a===c?i=r-n:s===c?i=1/3+t-r:u===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},Ir.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[Ir.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},Ir.rgb.cmyk=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Ir.rgb.keyword=function(e){var t=_r[e];if(t)return t;for(var n,r,i,o=1/0,a=0,s=Object.keys(Tr);a<s.length;a++){var u=s[a],c=(r=e,i=Tr[u],Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2)+Math.pow(r[2]-i[2],2));c<o&&(o=c,n=u)}return n},Ir.keyword.rgb=function(e){return Tr[e]},Ir.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Ir.rgb.lab=function(e){var t=Ir.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},Ir.hsl.rgb=function(e){var t,n,r,i=e[0]/360,o=e[1]/100,a=e[2]/100;if(0===o)return[r=255*a,r,r];for(var s=2*a-(t=a<.5?a*(1+o):a+o-a*o),u=[0,0,0],c=0;c<3;c++)(n=i+1/3*-(c-1))<0&&n++,n>1&&n--,r=6*n<1?s+6*(t-s)*n:2*n<1?t:3*n<2?s+(t-s)*(2/3-n)*6:s,u[c]=255*r;return u},Ir.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Ir.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},Ir.hsv.hsl=function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100,a=Math.max(o,.01);n=(2-i)*o;var s=(2-i)*a;return t=i*a,[r,100*(t=(t/=s<=1?s:2-s)||0),100*(n/=2)]},Ir.hwb.rgb=function(e){var t,n=e[0]/360,r=e[1]/100,i=e[2]/100,o=r+i;o>1&&(r/=o,i/=o);var a=Math.floor(6*n),s=1-i;t=6*n-a,0!==(1&a)&&(t=1-t);var u,c,l,p=r+t*(s-r);switch(a){default:case 6:case 0:u=s,c=p,l=r;break;case 1:u=p,c=s,l=r;break;case 2:u=r,c=s,l=p;break;case 3:u=r,c=p,l=s;break;case 4:u=p,c=r,l=s;break;case 5:u=s,c=r,l=p}return[255*u,255*c,255*l]},Ir.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Ir.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},Ir.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},Ir.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},Ir.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},Ir.lch.lab=function(e){var t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Ir.rgb.ansi16=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e,3),r=n[0],i=n[1],o=n[2],a=null===t?Ir.rgb.hsv(e)[2]:t;if(0===(a=Math.round(a/50)))return 30;var s=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(r/255));return 2===a&&(s+=60),s},Ir.hsv.ansi16=function(e){return Ir.rgb.ansi16(Ir.hsv.rgb(e),e[2])},Ir.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Ir.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Ir.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},Ir.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Ir.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Ir.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},Ir.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Ir.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ir.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},Ir.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Ir.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Ir.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Ir.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Ir.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Ir.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Ir.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Ir.gray.hsl=function(e){return[0,0,e[0]]},Ir.gray.hsv=Ir.gray.hsl,Ir.gray.hwb=function(e){return[0,100,e[0]]},Ir.gray.cmyk=function(e){return[0,0,0,e[0]]},Ir.gray.lab=function(e){return[e[0],0,0]},Ir.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Ir.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var Hr={};Object.keys(Mr).forEach((function(e){Hr[e]={},Object.defineProperty(Hr[e],"channels",{value:Mr[e].channels}),Object.defineProperty(Hr[e],"labels",{value:Mr[e].labels});var t=function(e){for(var t=Ur(e),n={},r=Object.keys(t),i=r.length,o=0;o<i;o++){var a=r[o];null!==t[a].parent&&(n[a]=Vr(a,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];Hr[e][n]=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];if(void 0===i||null===i)return i;i.length>1&&(n=i);var o=e(n);if("object"===typeof o)for(var a=o.length,s=0;s<a;s++)o[s]=Math.round(o[s]);return o};return"conversion"in e&&(t.conversion=e.conversion),t}(r),Hr[e][n].raw=function(e){var t=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n[0];return void 0===i||null===i?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Wr,Gr=Hr,Kr=lt((function(e){var t,n=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(n+t,"m")}},r=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},i=function(e,t){return function(){var n=e.apply(void 0,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}},o=function(e){return e},a=function(e,t,n){return[e,t,n]},s=function(e,t,n){Object.defineProperty(e,t,{get:function(){var r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},u=function(e,n,r,i){void 0===t&&(t=Gr);for(var o=i?10:0,a={},s=0,u=Object.entries(t);s<u.length;s++){var c=l(u[s],2),p=c[0],f=c[1],d="ansi16"===p?"ansi":p;p===n?a[d]=e(r,o):"object"===typeof f&&(a[d]=e(f[n],o))}return a};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(var c=0,p=Object.entries(t);c<p.length;c++){for(var f=l(p[c],2),d=f[0],h=f[1],m=0,g=Object.entries(h);m<g.length;m++){var v=l(g[m],2),y=v[0],b=v[1];t[y]={open:"\x1b[".concat(b[0],"m"),close:"\x1b[".concat(b[1],"m")},h[y]=t[y],e.set(b[0],b[1])}Object.defineProperty(t,d,{value:h,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",s(t.color,"ansi",(function(){return u(n,"ansi16",o,!1)})),s(t.color,"ansi256",(function(){return u(r,"ansi256",o,!1)})),s(t.color,"ansi16m",(function(){return u(i,"rgb",a,!1)})),s(t.bgColor,"ansi",(function(){return u(n,"ansi16",o,!0)})),s(t.bgColor,"ansi256",(function(){return u(r,"ansi256",o,!0)})),s(t.bgColor,"ansi16m",(function(){return u(i,"rgb",a,!0)})),t}})})),Jr=function(){return!1},Yr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ut.argv,n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r<i)},Qr=Ut.env;function $r(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Xr(e,t){if(0===Wr)return 0;if(Yr("color=16m")||Yr("color=full")||Yr("color=truecolor"))return 3;if(Yr("color=256"))return 2;if(e&&!t&&void 0===Wr)return 0;var n=Wr||0;if("dumb"===Qr.TERM)return n;if("win32"===Ut.platform){var r=Rn.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Qr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Qr}))||"codeship"===Qr.CI_NAME?1:n;if("TEAMCITY_VERSION"in Qr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Qr.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Qr)return 1;if("truecolor"===Qr.COLORTERM)return 3;if("TERM_PROGRAM"in Qr){var i=parseInt((Qr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Qr.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Qr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Qr.TERM)||"COLORTERM"in Qr?1:n}Yr("no-color")||Yr("no-colors")||Yr("color=false")||Yr("color=never")?Wr=0:(Yr("color")||Yr("colors")||Yr("color=true")||Yr("color=always"))&&(Wr=1),"FORCE_COLOR"in Qr&&(Wr="true"===Qr.FORCE_COLOR?1:"false"===Qr.FORCE_COLOR?0:0===Qr.FORCE_COLOR.length?1:Math.min(parseInt(Qr.FORCE_COLOR,10),3));var Zr={supportsColor:function(e){return $r(Xr(e,e&&e.isTTY))},stdout:$r(Xr(!0,Jr(1))),stderr:$r(Xr(!0,Jr(2)))},ei=function(e,t,n){var r=e.indexOf(t);if(-1===r)return e;var i=t.length,o=0,a="";do{a+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return a+=e.substr(o)},ti=function(e,t,n,r){var i=0,o="";do{var a="\r"===e[r-1];o+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i)},ni=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ri=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,ii=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,oi=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,ai=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function si(e){var t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):ai.get(e)||e}function ui(e,t){var n,r,i=[],o=t.trim().split(/\s*,\s*/g),a=s(o);try{for(a.s();!(r=a.n()).done;){var u=r.value,c=Number(u);if(Number.isNaN(c)){if(!(n=u.match(ii)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(oi,(function(e,t,n){return t?si(t):n})))}else i.push(c)}}catch(l){a.e(l)}finally{a.f()}return i}function ci(e){ri.lastIndex=0;for(var t,n=[];null!==(t=ri.exec(e));){var r=t[1];if(t[2]){var i=ui(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function li(e,t){var n,r={},i=s(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,c=s(a.styles);try{for(c.s();!(o=c.n()).done;){var p=o.value;r[p[0]]=a.inverse?null:p.slice(1)}}catch(b){c.e(b)}finally{c.f()}}}catch(b){i.e(b)}finally{i.f()}for(var f=e,d=0,h=Object.entries(r);d<h.length;d++){var m,g=l(h[d],2),v=g[0],y=g[1];if(Array.isArray(y)){if(!(v in f))throw new Error("Unknown Chalk style: ".concat(v));f=y.length>0?(m=f)[v].apply(m,u(y)):f[v]}}return f}var pi=function(e,t){var n=[],r=[],i=[];if(t.replace(ni,(function(t,o,a,s,u,c){if(o)i.push(si(o));else if(s){var l=i.join("");i=[],r.push(0===n.length?l:li(e,n)(l)),n.push({inverse:a,styles:ci(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(li(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")},fi=Zr.stdout,di=Zr.stderr,hi=ei,mi=ti,gi=["ansi","ansi","ansi256","ansi16m"],vi=Object.create(null),yi=function e(t){return h(this,e),bi(t)},bi=function(e){var t={};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.level>3||t.level<0)throw new Error("The `level` option should be an integer from 0 to 3");var n=fi?fi.level:0;e.level=void 0===t.level?n:t.level}(t,e),t.template=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Li.apply(void 0,[t.template].concat(n))},Object.setPrototypeOf(t,xi.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=function(){throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=yi,t.template};function xi(e){return bi(e)}for(var Ei=function(){var e=l(Ci[Di],2),t=e[0],n=e[1];vi[t]={get:function(){var e=Mi(this,Ii(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}}},Di=0,Ci=Object.entries(Kr);Di<Ci.length;Di++)Ei();vi.visible={get:function(){var e=Mi(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};for(var wi=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"],Si=function(){var e=Ai[ki];vi[e]={get:function(){var t=this.level;return function(){var n,r=Ii((n=Kr.color[gi[t]])[e].apply(n,arguments),Kr.color.close,this._styler);return Mi(this,r,this._isEmpty)}}}},ki=0,Ai=wi;ki<Ai.length;ki++)Si();for(var Ti=function(){var e=Oi[_i],t="bg"+e[0].toUpperCase()+e.slice(1);vi[t]={get:function(){var t=this.level;return function(){var n,r=Ii((n=Kr.bgColor[gi[t]])[e].apply(n,arguments),Kr.bgColor.close,this._styler);return Mi(this,r,this._isEmpty)}}}},_i=0,Oi=wi;_i<Oi.length;_i++)Ti();var Fi,Ni=Object.defineProperties((function(){}),Object.assign({},vi,{level:{enumerable:!0,get:function(){return this._generator.level},set:function(e){this._generator.level=e}}})),Ii=function(e,t,n){var r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},Mi=function(e,t,n){var r=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ji(e,1===n.length?""+n[0]:n.join(" "))};return r.__proto__=Ni,r._generator=e,r._styler=t,r._isEmpty=n,r},ji=function(e,t){if(e.level<=0||!t)return e._isEmpty?"":t;var n=e._styler;if(void 0===n)return t;var r=n,i=r.openAll,o=r.closeAll;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=hi(t,n.close,n.open),n=n.parent;var a=t.indexOf("\n");return-1!==a&&(t=mi(t,o,i,a)),i+t+o},Li=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0];if(!Array.isArray(i))return n.join(" ");for(var o=n.slice(1),a=[i.raw[0]],s=1;s<i.length;s++)a.push(String(o[s-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[s]));return void 0===Fi&&(Fi=pi),Fi(e,a.join(""))};Object.defineProperties(xi.prototype,vi);var Pi=xi();Pi.supportsColor=fi,Pi.stderr=xi({level:di?di.level:0}),Pi.stderr.supportsColor=di,Pi.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"};var Ri,Bi=Pi,zi={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return Dr.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return!1===n?"--no-".concat(t):!0===n?zi.key(t):""===n?"".concat(zi.key(t)," without an argument"):"".concat(zi.key(t),"=").concat(n)}},Ui=function(e){p(n,e);var t=f(n);function n(e){var r,i=e.name,o=e.flags;return h(this,n),(r=t.call(this,{name:i,choices:o}))._flags=o.slice().sort(),r}return m(n,[{key:"preprocess",value:function(e,t){if("string"===typeof e&&0!==e.length&&!this._flags.includes(e)){var n=this._flags.find((function(t){return kr(t,e)<3}));if(n)return t.logger.warn(["Unknown flag ".concat(Bi.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Bi.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}},{key:"expected",value:function(){return"a flag"}}]),n}(Dr.ChoiceSchema);function qi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.logger,i=n.isCLI,o=void 0!==i&&i,a=n.passThrough,s=void 0!==a&&a,u=s?Array.isArray(s)?function(e,t){return s.includes(e)?c({},e,t):void 0}:function(e,t){return c({},e,t)}:Dr.levenUnknownHandler,l=o?zi:Dr.apiDescriptor,p=Vi(t,{isCLI:o}),f=new Dr.Normalizer(p,{logger:r,unknown:u,descriptor:l}),d=!1!==r;d&&Ri&&(f._hasDeprecationWarned=Ri);var h=f.normalize(e);return d&&(Ri=f._hasDeprecationWarned),h}function Vi(e,t){var n=t.isCLI,r=[];n&&r.push(Dr.AnySchema.create({name:"_"}));var i,o=s(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;r.push(Hi(a,{isCLI:n,optionInfos:e})),a.alias&&n&&r.push(Dr.AliasSchema.create({name:a.alias,sourceName:a.name}))}}catch(u){o.e(u)}finally{o.f()}return r}function Hi(e,t){var n,r=t.isCLI,i=t.optionInfos,o={name:e.name},a={};switch(e.type){case"int":n=Dr.IntegerSchema,r&&(o.preprocess=function(e){return Number(e)});break;case"string":n=Dr.StringSchema;break;case"choice":n=Dr.ChoiceSchema,o.choices=e.choices.map((function(t){return"object"===typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":n=Dr.BooleanSchema;break;case"flag":n=Ui,o.flags=i.map((function(e){return[].concat(e.alias||[],e.description?e.name:[],e.oppositeDescription?"no-".concat(e.name):[])})).reduce((function(e,t){return e.concat(t)}),[]);break;case"path":n=Dr.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?o.validate=function(t,n,r){return e.exception(t)||n.validate(t,r)}:o.validate=function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(a.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(a.deprecated=!0),r&&!e.array){var s=o.preprocess||function(e){return e};o.preprocess=function(e,t,n){return t.preprocess(s(Array.isArray(e)?e[e.length-1]:e),n)}}return e.array?Dr.ArraySchema.create(Object.assign({},r?{preprocess:function(e){return[].concat(e)}}:{},{},a,{valueSchema:n.create(o)})):n.create(Object.assign({},o,{},a))}var Wi={normalizeApiOptions:function(e,t,n){return qi(e,t,n)},normalizeCliOptions:function(e,t,n){return qi(e,t,Object.assign({isCLI:!0},n))}},Gi=function(e){return e[e.length-1]};function Ki(e,t){return!(t=t||{}).ignoreDecorators&&e.declaration&&e.declaration.decorators&&e.declaration.decorators.length>0?Ki(e.declaration.decorators[0]):!t.ignoreDecorators&&e.decorators&&e.decorators.length>0?Ki(e.decorators[0]):e.__location?e.__location.startOffset:e.range?e.range[0]:"number"===typeof e.start?e.start:e.loc?e.loc.start:null}function Ji(e){var t=e.nodes&&Gi(e.nodes);if(t&&e.source&&!e.source.end&&(e=t),e.__location)return e.__location.endOffset;var n=e.range?e.range[1]:"number"===typeof e.end?e.end:null;return e.typeAnnotation?Math.max(n,Ji(e.typeAnnotation)):e.loc&&!n?e.loc.end:n}var Yi=Ki,Qi=Ji,$i=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}}));ct($i),$i.matchToToken;var Xi=lt((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Zi=(Xi.isExpression,Xi.isStatement,Xi.isIterationStatement,Xi.isSourceElement,Xi.isProblematicIfStatement,Xi.trailingStatement,lt((function(e){!function(){var t,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()}))),eo=(Zi.isDecimalDigit,Zi.isHexDigit,Zi.isOctalDigit,Zi.isWhiteSpace,Zi.isLineTerminator,Zi.isIdentifierStartES5,Zi.isIdentifierPartES5,Zi.isIdentifierStartES6,Zi.isIdentifierPartES6,lt((function(e){!function(){var t=Zi;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n<r;++n)if(i=e.charCodeAt(n),!t.isIdentifierPartES5(i))return!1;return!0}function s(e){var n,r,i,o,a;if(0===e.length)return!1;for(a=t.isIdentifierStartES6,n=0,r=e.length;n<r;++n){if(55296<=(i=e.charCodeAt(n))&&i<=56319){if(++n>=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!a(i))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!o(e,t)}}}()}))),to=(eo.isKeywordES5,eo.isKeywordES6,eo.isReservedWordES5,eo.isReservedWordES6,eo.isRestrictedWord,eo.isIdentifierNameES5,eo.isIdentifierNameES6,eo.isIdentifierES5,eo.isIdentifierES6,lt((function(e,t){t.ast=Xi,t.code=Zi,t.keyword=eo}))),no=(to.ast,to.code,to.keyword,/[|\\{}()[\]^$+*?.]/g),ro=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(no,"\\$&")},io={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},oo=lt((function(e){var t={};for(var n in io)io.hasOwnProperty(n)&&(t[io[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,c=Math.max(a,s,u),l=c-Math.min(a,s,u),p=function(e){return(c-e)/6/l+.5};return 0===l?i=o=0:(o=l/c,t=p(a),n=p(s),r=p(u),a===c?i=r-n:s===c?i=1/3+t-r:u===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in io)if(io.hasOwnProperty(s)){var u=io[s],c=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));c<a&&(a=c,r=s)}return r},r.keyword.rgb=function(e){return io[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[c]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,c=e[1]/100,l=e[2]/100,p=c+l;switch(p>1&&(c/=p,l/=p),r=6*u-(t=Math.floor(6*u)),0!==(1&t)&&(r=1-r),i=c+r*((n=1-l)-c),t){default:case 6:case 0:o=n,a=i,s=c;break;case 1:o=i,a=n,s=c;break;case 2:o=c,a=n,s=i;break;case 3:o=c,a=i,s=n;break;case 4:o=i,a=c,s=n;break;case 5:o=n,a=c,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function ao(e){var t=function(){for(var e={},t=Object.keys(oo),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(oo[r]),o=i.length,a=0;a<o;a++){var s=i[a],u=t[s];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,n.unshift(s))}return t}function so(e,t){return function(n){return t(e(n))}}function uo(e,t){for(var n=[t[e].parent,e],r=oo[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=so(oo[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}oo.rgb,oo.hsl,oo.hsv,oo.hwb,oo.cmyk,oo.xyz,oo.lab,oo.lch,oo.hex,oo.keyword,oo.ansi16,oo.ansi256,oo.hcg,oo.apple,oo.gray;var co={};Object.keys(oo).forEach((function(e){co[e]={},Object.defineProperty(co[e],"channels",{value:oo[e].channels}),Object.defineProperty(co[e],"labels",{value:oo[e].labels});var t=function(e){for(var t=ao(e),n={},r=Object.keys(t),i=r.length,o=0;o<i;o++){var a=r[o];null!==t[a].parent&&(n[a]=uo(a,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];co[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),co[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var lo,po=co,fo=lt((function(e){var t=function(e,t){return function(){var n=e.apply(po,arguments);return"\x1b[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(po,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(po,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(var o=0,a=Object.keys(i);o<a.length;o++){for(var s=a[o],u=i[s],c=0,l=Object.keys(u);c<l.length;c++){var p=l[c],f=u[p];i[p]={open:"\x1b[".concat(f[0],"m"),close:"\x1b[".concat(f[1],"m")},u[p]=i[p],e.set(f[0],f[1])}Object.defineProperty(i,s,{value:u,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}var d=function(e){return e},h=function(e,t,n){return[e,t,n]};i.color.close="\x1b[39m",i.bgColor.close="\x1b[49m",i.color.ansi={ansi:t(d,0)},i.color.ansi256={ansi256:n(d,0)},i.color.ansi16m={rgb:r(h,0)},i.bgColor.ansi={ansi:t(d,10)},i.bgColor.ansi256={ansi256:n(d,10)},i.bgColor.ansi16m={rgb:r(h,10)};for(var m=0,g=Object.keys(po);m<g.length;m++){var v=g[m];if("object"===typeof po[v]){var y=po[v];"ansi16"===v&&(v="ansi"),"ansi16"in y&&(i.color.ansi[v]=t(y.ansi16,0),i.bgColor.ansi[v]=t(y.ansi16,10)),"ansi256"in y&&(i.color.ansi256[v]=n(y.ansi256,0),i.bgColor.ansi256[v]=n(y.ansi256,10)),"rgb"in y&&(i.color.ansi16m[v]=r(y.rgb,0),i.bgColor.ansi16m[v]=r(y.rgb,10))}}return i}})})),ho=Ut.env;function mo(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===lo)return 0;if(Bn("color=16m")||Bn("color=full")||Bn("color=truecolor"))return 3;if(Bn("color=256"))return 2;if(e&&!e.isTTY&&!0!==lo)return 0;var t=lo?1:0;if("win32"===Ut.platform){var n=Rn.release().split(".");return Number(Ut.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ho)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in ho}))||"codeship"===ho.CI_NAME?1:t;if("TEAMCITY_VERSION"in ho)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ho.TEAMCITY_VERSION)?1:0;if("truecolor"===ho.COLORTERM)return 3;if("TERM_PROGRAM"in ho){var r=parseInt((ho.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ho.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ho.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ho.TERM)||"COLORTERM"in ho?1:(ho.TERM,t)}(e))}Bn("no-color")||Bn("no-colors")||Bn("color=false")?lo=!1:(Bn("color")||Bn("colors")||Bn("color=true")||Bn("color=always"))&&(lo=!0),"FORCE_COLOR"in ho&&(lo=0===ho.FORCE_COLOR.length||0!==parseInt(ho.FORCE_COLOR,10));var go={supportsColor:mo,stdout:mo(Ut.stdout),stderr:mo(Ut.stderr)},vo=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,yo=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,bo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,xo=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Eo=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Do(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Eo.get(e)||e}function Co(e,t){var n,r,i=[],o=t.trim().split(/\s*,\s*/g),a=s(o);try{for(a.s();!(r=a.n()).done;){var u=r.value;if(isNaN(u)){if(!(n=u.match(bo)))throw new Error("Invalid Chalk template style argument: ".concat(u," (in style '").concat(e,"')"));i.push(n[2].replace(xo,(function(e,t,n){return t?Do(t):n})))}else i.push(Number(u))}}catch(c){a.e(c)}finally{a.f()}return i}function wo(e){yo.lastIndex=0;for(var t,n=[];null!==(t=yo.exec(e));){var r=t[1];if(t[2]){var i=Co(r,t[2]);n.push([r].concat(i))}else n.push([r])}return n}function So(e,t){var n,r={},i=s(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,u=s(a.styles);try{for(u.s();!(o=u.n()).done;){var c=o.value;r[c[0]]=a.inverse?null:c.slice(1)}}catch(h){u.e(h)}finally{u.f()}}}catch(h){i.e(h)}finally{i.f()}for(var l=e,p=0,f=Object.keys(r);p<f.length;p++){var d=f[p];if(Array.isArray(r[d])){if(!(d in l))throw new Error("Unknown Chalk style: ".concat(d));l=r[d].length>0?l[d].apply(l,r[d]):l[d]}}return l}var ko=function(e,t){var n=[],r=[],i=[];if(t.replace(vo,(function(t,o,a,s,u,c){if(o)i.push(Do(o));else if(s){var l=i.join("");i=[],r.push(0===n.length?l:So(e,n)(l)),n.push({inverse:a,styles:wo(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(So(e,n)(i.join(""))),i=[],n.pop()}else i.push(c)})),r.push(i.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return r.join("")},Ao=lt((function(e){var t=go.stdout,n="win32"===Ut.platform&&!(Ut.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};var r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function u(e){if(!this||!(this instanceof u)||this.template){var t={};return a(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,u.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=u,t.template}a(this,e)}n&&(fo.blue.open="\x1b[94m");for(var c=function(){var e=p[l];fo[e].closeRe=new RegExp(ro(fo[e].close),"g"),o[e]={get:function(){var t=fo[e];return b.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},l=0,p=Object.keys(fo);l<p.length;l++)c();o.visible={get:function(){return b.call(this,this._styles||[],!0,"visible")}},fo.color.closeRe=new RegExp(ro(fo.color.close),"g");for(var f=function(){var e=h[d];if(i.has(e))return"continue";o[e]={get:function(){var t=this.level;return function(){var n=fo.color[r[t]][e].apply(null,arguments),i={open:n,close:fo.color.close,closeRe:fo.color.closeRe};return b.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},d=0,h=Object.keys(fo.color.ansi);d<h.length;d++)f();fo.bgColor.closeRe=new RegExp(ro(fo.bgColor.close),"g");for(var m=function(){var e=v[g];if(i.has(e))return"continue";var t="bg"+e[0].toUpperCase()+e.slice(1);o[t]={get:function(){var t=this.level;return function(){var n=fo.bgColor[r[t]][e].apply(null,arguments),i={open:n,close:fo.bgColor.close,closeRe:fo.bgColor.closeRe};return b.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},g=0,v=Object.keys(fo.bgColor.ansi);g<v.length;g++)m();var y=Object.defineProperties((function(){}),o);function b(e,t,n){var r=function e(){return x.apply(e,arguments)};r._styles=e,r._empty=t;var i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=y,r}function x(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;var o=fo.dim.open;n&&this.hasGrey&&(fo.dim.open="");var a,u=s(this._styles.slice().reverse());try{for(u.s();!(a=u.n()).done;){var c=a.value;r=(r=c.open+r.replace(c.closeRe,c.open)+c.close).replace(/\r?\n/g,"".concat(c.close,"$&").concat(c.open))}}catch(l){u.e(l)}finally{u.f()}return fo.dim.open=o,r}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var n=[].slice.call(arguments,2),r=[t.raw[0]],i=1;i<t.length;i++)r.push(String(n[i-1]).replace(/[{}\\]/g,"\\$&")),r.push(String(t.raw[i]));return ko(e,r.join(""))}Object.defineProperties(u.prototype,o),e.exports=u(),e.exports.supportsColor=t,e.exports.default=e.exports})),To=(Ao.supportsColor,lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=h,t.getChalk=m,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(h(t)){var n=m(t),r=s(n);return d(r,e)}return e};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}($i),r=o(to),i=o(Ao);function o(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}var u=/\r\n|[\n\r\u2028\u2029]/,c=/^[a-z][\w-]*$/i,p=/^[()[\]{}]$/;function f(e){var t=e.slice(-2),i=l(t,2),o=i[0],a=i[1],s=(0,n.matchToToken)(e);if("name"===s.type){if(r.default.keyword.isReservedWordES6(s.value))return"keyword";if(c.test(s.value)&&("<"===a[o-1]||"</"==a.substr(o-2,2)))return"jsx_tag";if(s.value[0]!==s.value[0].toLowerCase())return"capitalized"}return"punctuator"===s.type&&p.test(s.value)?"bracket":"invalid"!==s.type||"@"!==s.value&&"#"!==s.value?s.type:"punctuator"}function d(e,t){return t.replace(n.default,(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=f(n),o=e[i];return o?n[0].split(u).map((function(e){return o(e)})).join("\n"):n[0]}))}function h(e){return i.default.supportsColor||e.forceColor}function m(e){var t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})));ct(To),To.shouldHighlight,To.getChalk;var _o=lt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=u,t.default=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!i){i=!0;var o="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Ut.emitWarning)Ut.emitWarning(o,"DeprecationWarning");else{var a=new Error(o);a.name="DeprecationWarning",console.warn(new Error(o))}}var s={start:{column:n=Math.max(n,0),line:t}};return u(e,s,r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(To);function r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}var i=!1;function o(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var a=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,n){var r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,{},e.end),o=n||{},a=o.linesAbove,s=void 0===a?2:a,u=o.linesBelow,c=void 0===u?3:u,l=r.line,p=r.column,f=i.line,d=i.column,h=Math.max(l-(s+1),0),m=Math.min(t.length,f+c);-1===l&&(h=0),-1===f&&(m=t.length);var g=f-l,v={};if(g)for(var y=0;y<=g;y++){var b=y+l;if(p)if(0===y){var x=t[b-1].length;v[b]=[p,x-p+1]}else if(y===g)v[b]=[0,d];else{var E=t[b-y].length;v[b]=[0,E]}else v[b]=!0}else v[l]=p===d?!p||[p,0]:[p,d-p];return{start:h,end:m,markerLines:v}}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),u=(0,n.getChalk)(r),c=o(u),l=function(e,t){return i?e(t):t},p=e.split(a),f=s(t,p,r),d=f.start,h=f.end,m=f.markerLines,g=t.start&&"number"===typeof t.start.column,v=String(h).length,y=i?(0,n.default)(e,r):e,b=y.split(a).slice(d,h).map((function(e,t){var n=d+1+t,i=" ".concat(n).slice(-v),o=" ".concat(i," | "),a=m[n],s=!m[n+1];if(a){var u="";if(Array.isArray(a)){var p=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),f=a[1]||1;u=["\n ",l(c.gutter,o.replace(/\d/g," ")),p,l(c.marker,"^").repeat(f)].join(""),s&&r.message&&(u+=" "+l(c.message,r.message))}return[l(c.marker,">"),l(c.gutter,o),e,u].join("")}return" ".concat(l(c.gutter,o)).concat(e)})).join("\n");return r.message&&!g&&(b="".concat(" ".repeat(v+1)).concat(r.message,"\n").concat(b)),i?u.reset(b):b}}));ct(_o),_o.codeFrameColumns;var Oo=mt.ConfigError,Fo=Yi,No=Qi,Io=Object.getOwnPropertyNames,Mo=Object.getOwnPropertyDescriptor;function jo(e){var t,n={},r=s(e.plugins);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.parsers){var o,a=s(Io(i.parsers));try{for(a.s();!(o=a.n()).done;){var u=o.value;Object.defineProperty(n,u,Mo(i.parsers,u))}}catch(c){a.e(c)}finally{a.f()}}}}catch(c){r.e(c)}finally{r.f()}return n}function Lo(e,t){if(t=t||jo(e),"function"===typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Fo,locEnd:No};if("string"===typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Oo("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Po={parse:function(e,t){var n=jo(t),r=Object.keys(n).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t].parse}})}),{}),i=Lo(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(s){var o=s.loc;if(o){var a=_o;throw s.codeFrame=a.codeFrameColumns(e,o,{highlightCode:!0}),s.message+="\n"+s.codeFrame,s}throw s.stack}},resolveParser:Lo},Ro=mt.UndefinedParserError,Bo=vn.getSupportInfo,zo=Po.resolveParser,Uo={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function qo(e,t){var n=pe.basename(e).toLowerCase(),r=Bo({plugins:t}).languages.filter((function(e){return null!==e.since})),i=r.find((function(e){return e.extensions&&e.extensions.some((function(e){return n.endsWith(e)}))||e.filenames&&e.filenames.find((function(e){return e.toLowerCase()===n}))}));if(!i&&!n.includes(".")){var o=function(e){if("string"!==typeof e)return"";var t;try{t=ft.openSync(e,"r")}catch(o){return""}try{var n=new dt(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];var i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(o){return""}finally{try{ft.closeSync(t)}catch(o){}}}(e);i=r.find((function(e){return e.interpreters&&e.interpreters.includes(o)}))}return i&&i.parsers[0]}var Vo=function(e,t){t=t||{};var n=Object.assign({},e),r=Bo({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Uo,{},ht(r.filter((function(e){return void 0!==e.default})).map((function(e){return[e.name,e.default]}))));if(!n.parser)if(n.filepath){if(n.parser=qo(n.filepath,n.plugins),!n.parser)throw new Ro("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";var o=zo(Wi.normalizeApiOptions(n,[r.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;var a=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=a.printers[n.astFormat];var s=r.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[a.name]})).reduce((function(e,t){return Object.assign(e,c({},t.name,t.pluginDefaults[a.name]))}),{}),u=Object.assign({},i,{},s);return Object.keys(u).forEach((function(e){null==n[e]&&(n[e]=u[e])})),"json"===n.parser&&(n.trailingComma="none"),Wi.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Uo)},t))},Ho=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter(Boolean);if(!t||"object"!==typeof t)return t;for(var i={},o=0,a=Object.keys(t);o<a.length;o++){var s=a[o];"function"!==typeof t[s]&&(i[s]=e(t[s],n,t))}if(n.printer.massageAstNode){var u=n.printer.massageAstNode(t,i,r);if(null===u)return;if(u)return u}return i};function Wo(){}function Go(e){return{type:"concat",parts:e}}function Ko(e){return{type:"indent",contents:e}}function Jo(e,t){return{type:"align",contents:t,n:e}}function Yo(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}Wo.ok=function(){},Wo.strictEqual=function(){};var Qo={type:"break-parent"},$o=Go([{type:"line",hard:!0},Qo]),Xo=Go([{type:"line",hard:!0,literal:!0},Qo]),Zo={concat:Go,join:function(e,t){for(var n=[],r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return Go(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:$o,literalline:Xo,group:Yo,conditionalGroup:function(e,t){return Yo(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:Qo,ifBreak:function(e,t,n){return{type:"if-break",breakContents:e,flatContents:t,groupId:(n=n||{}).groupId}},trim:{type:"trim"},indent:Ko,align:Jo,addAlignmentToDoc:function(e,t,n){var r=e;if(t>0){for(var i=0;i<Math.floor(t/n);++i)r=Ko(r);r=Jo(t%n,r),r=Jo(-1/0,r)}return r},markAsRoot:function(e){return Jo({type:"root"},e)},dedentToRoot:function(e){return Jo(-1/0,e)},dedent:function(e){return Jo(-1,e)}},ea=function(e){return"string"===typeof e?e.replace(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onlyFirst,n=void 0!==t&&t,r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(r,n?void 0:"g")}(),""):e},ta=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},na=ta,ra=ta;na.default=ra;var ia=function(e){if("string"!==typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=ea(e);for(var t=0,n=0;n<e.length;n++){var r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=na(r)?2:1)}return t},oa=ia,aa=ia;oa.default=aa;var sa=/[|\\{}()[\]^$+*?.-]/g,ua=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(sa,"\\$&")},ca=/[^\x20-\x7F]/;function la(e){return function(t,n,r){var i=r&&r.backwards;if(!1===n)return!1;for(var o=t.length,a=n;a>=0&&a<o;){var s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===o)&&a}}var pa=la(/\s/),fa=la(" \t"),da=la(",; \t"),ha=la(/[^\r\n]/);function ma(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(var n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function ga(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?ha(e,t):t)}function va(e,t,n){var r=n&&n.backwards;if(!1===t)return!1;var i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}function ya(e,t,n){var r=fa(e,(n=n||{}).backwards?t-1:t,n);return r!==va(e,r,n)}function ba(e,t){for(var n=null,r=t;r!==n;)n=r,r=ma(e,r=da(e,r)),r=fa(e,r);return!1!==(r=va(e,r=ga(e,r)))&&ya(e,r)}function xa(e,t){for(var n=null,r=t;r!==n;)n=r,r=va(e,r=ga(e,r=ma(e,r=fa(e,r))));return r}function Ea(e,t,n){return xa(e,n(t))}var Da={};function Ca(e){return Da[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(e,t){e.forEach((function(e){Da[e]=t}))}));var wa={"==":!0,"!=":!0,"===":!0,"!==":!0},Sa={"*":!0,"/":!0,"%":!0},ka={">>":!0,">>>":!0,"<<":!0};function Aa(e,t,n){for(var r=0,i=n=n||0;i<e.length;++i)"\t"===e[i]?r=r+t-r%t:r++;return r}function Ta(e,t){var n=e.slice(1,-1),r={quote:'"',regex:/"/g},i={quote:"'",regex:/'/g},o="'"===t?i:r,a=o===i?r:i,s=o.quote;return(n.includes(o.quote)||n.includes(a.quote))&&(s=(n.match(o.regex)||[]).length>(n.match(a.regex)||[]).length?a.quote:o.quote),s}function _a(e,t,n){var r='"'===t?"'":'"',i=e.replace(/\\([\s\S])|(['"])/g,(function(e,i,o){return i===r?i:o===t?"\\"+o:o||(n&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(i)?i:"\\"+i)}));return t+i+t}function Oa(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some((function(e){return Fa(e)&&!e.unignore}))||e.prettierIgnore)}function Fa(e){return"prettier-ignore"===e.value.trim()}function Na(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Ia,Ma={replaceEndOfLineWith:function(e,t){var n,r=[],i=s(e.split("\n"));try{for(i.s();!(n=i.n()).done;){var o=n.value;0!==r.length&&r.push(t),r.push(o)}}catch(a){i.e(a)}finally{i.f()}return r},getStringWidth:function(e){return e?ca.test(e)?oa(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(ua(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(ua(t),")+"),"g"));if(null===n)return 0;var r,i=new Map,o=0,a=s(n);try{for(a.s();!(r=a.n()).done;){var u=r.value.length/t.length;i.set(u,!0),u>o&&(o=u)}}catch(l){a.e(l)}finally{a.f()}for(var c=1;c<o;c++)if(!i.get(c))return c;return o+1},getPrecedence:Ca,shouldFlatten:function(e,t){return Ca(t)===Ca(e)&&"**"!==e&&(!wa[e]||!wa[t])&&!("%"===t&&Sa[e]||"%"===e&&Sa[t])&&(t===e||!Sa[t]||!Sa[e])&&(!ka[e]||!ka[t])},isBitwiseOperator:function(e){return!!ka[e]||"|"===e||"^"===e||"&"===e},getPenultimate:function(e){return e.length>1?e[e.length-2]:null},getLast:Gi,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:xa,getNextNonSpaceNonCommentCharacterIndex:Ea,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Ea(e,t,n))},skip:la,skipWhitespace:pa,skipSpaces:fa,skipToLineEnd:da,skipEverythingButNewLine:ha,skipInlineComment:ma,skipTrailingComment:ga,skipNewline:va,isNextLineEmptyAfterIndex:ba,isNextLineEmpty:function(e,t,n){return ba(e,n(t))},isPreviousLineEmpty:function(e,t,n){var r=n(t)-1;return r=va(e,r=fa(e,r,{backwards:!0}),{backwards:!0}),(r=fa(e,r,{backwards:!0}))!==va(e,r,{backwards:!0})},hasNewline:ya,hasNewlineInRange:function(e,t,n){for(var r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t,n){return fa(e,(n=n||{}).backwards?t-1:t,n)!==t},setLocStart:function(e,t){e.range?e.range[0]=t:e.start=t},setLocEnd:function(e,t){e.range?e.range[1]=t:e.end=t},startsWithNoLookaheadToken:function e(t,n){switch((t=function e(t){return t.left?e(t.left):t}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getAlignmentSize:Aa,getIndentSize:function(e,t){var n=e.lastIndexOf("\n");return-1===n?0:Aa(e.slice(n+1).match(/^[ \t]*/)[0],t)},getPreferredQuote:Ta,printString:function(e,t,n){var r=e.slice(1,-1),i=!r.includes('"')&&!r.includes("'"),o="json"===t.parser?'"':t.__isInHtmlAttribute?"'":Ta(e,t.singleQuote?"'":'"');return n?i?o+r+o:e:_a(r,o,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},hasIgnoreComment:function(e){return Oa(e.getValue())},hasNodeIgnoreComment:Oa,isNodeIgnoreComment:Fa,makeString:_a,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Na(e,t)},addDanglingComment:function(e,t){t.leading=!1,t.trailing=!1,Na(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Na(e,t)},isWithinParentArrayProperty:function(e,t){var n=e.getValue(),r=e.getParentNode();if(null==r)return!1;if(!Array.isArray(r[t]))return!1;var i=e.getName();return r[t][i]===n}},ja=function(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},La=function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},Pa=Ma.getStringWidth,Ra=La,Ba=Zo.concat,za=Zo.fill,Ua=Zo.cursor;function qa(e,t){return Ha(e,{type:"indent"},t)}function Va(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Ha(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Ha(e,"string"===typeof t?{type:"stringAlign",n:t}:{type:"numberAlign",n:t},n):e}function Ha(e,t,n){var r,i="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t),o="",a=0,u=0,c=0,l=s(i);try{for(l.s();!(r=l.n()).done;){var p=r.value;switch(p.type){case"indent":h(),n.useTabs?f(1):d(n.tabWidth);break;case"stringAlign":h(),o+=p.n,a+=p.n.length;break;case"numberAlign":u+=1,c+=p.n;break;default:throw new Error("Unexpected type '".concat(p.type,"'"))}}}catch(v){l.e(v)}finally{l.f()}return m(),Object.assign({},e,{value:o,length:a,queue:i});function f(e){o+="\t".repeat(e),a+=n.tabWidth*e}function d(e){o+=" ".repeat(e),a+=e}function h(){n.useTabs?(u>0&&f(u),g()):m()}function m(){c>0&&d(c),g()}function g(){u=0,c=0}}function Wa(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"===typeof e[e.length-1]&&e[e.length-1].match(/^[ \t]*$/);)t+=e.pop().length;if(e.length&&"string"===typeof e[e.length-1]){var n=e[e.length-1].replace(/[ \t]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Ga(e,t,n,r,i){for(var o=t.length,a=[e],s=[];n>=0;)if(0!==a.length){var u=a.pop(),c=l(u,3),p=c[0],f=c[1],d=c[2];if("string"===typeof d)s.push(d),n-=Pa(d);else switch(d.type){case"concat":for(var h=d.parts.length-1;h>=0;h--)a.push([p,f,d.parts[h]]);break;case"indent":a.push([qa(p,r),f,d.contents]);break;case"align":a.push([Va(p,d.n,r),f,d.contents]);break;case"trim":n+=Wa(s);break;case"group":if(i&&d.break)return!1;a.push([p,d.break?1:f,d.contents]),d.id&&(Ia[d.id]=a[a.length-1][1]);break;case"fill":for(var m=d.parts.length-1;m>=0;m--)a.push([p,f,d.parts[m]]);break;case"if-break":var g=d.groupId?Ia[d.groupId]:f;1===g&&d.breakContents&&a.push([p,f,d.breakContents]),2===g&&d.flatContents&&a.push([p,f,d.flatContents]);break;case"line":switch(f){case 2:if(!d.hard){d.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}}}else{if(0===o)return!0;a.push(t[o-1]),o--}return!1}var Ka={};function Ja(e,t,n,r){for(var i=[e];0!==i.length;){var o=i.pop();if(o!==Ka){var a=!0;if(t&&!1===t(o)&&(a=!1),n&&(i.push(o),i.push(Ka)),a)if("concat"===o.type||"fill"===o.type)for(var s=o.parts.length-1;s>=0;--s)i.push(o.parts[s]);else if("if-break"===o.type)o.flatContents&&i.push(o.flatContents),o.breakContents&&i.push(o.breakContents);else if("group"===o.type&&o.expandedStates)if(r)for(var u=o.expandedStates.length-1;u>=0;--u)i.push(o.expandedStates[u]);else i.push(o.contents);else o.contents&&i.push(o.contents)}else n(i.pop())}}function Ya(e,t){if("concat"===e.type||"fill"===e.type){var n=e.parts.map((function(e){return Ya(e,t)}));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){var r=e.breakContents&&Ya(e.breakContents,t),i=e.flatContents&&Ya(e.flatContents,t);return t(Object.assign({},e,{breakContents:r,flatContents:i}))}if(e.contents){var o=Ya(e.contents,t);return t(Object.assign({},e,{contents:o}))}return t(e)}function Qa(e,t,n){var r=n,i=!1;return Ja(e,(function(e){var n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function $a(e){return"string"!==typeof e&&("line"===e.type||void 0)}function Xa(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Za(e){if(e.length>0){var t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function es(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function ts(e){if("concat"===e.type){for(var t=[],n=0;n<e.parts.length;++n){var r=e.parts[n];if("string"!==typeof r&&"concat"===r.type)t.push.apply(t,u(ts(r).parts));else{var i=ts(r);""!==i&&t.push(i)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?ts(e.breakContents):null,flatContents:null!=e.flatContents?ts(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:ts(e.contents),expandedStates:e.expandedStates?e.expandedStates.map(ts):e.expandedStates}):e.contents?Object.assign({},e,{contents:ts(e.contents)}):e}function ns(e){if("string"===typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(ns).join(", ")+"]";if("indent"===e.type)return"indent("+ns(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+ns(e.contents)+")":e.n<0?"dedent("+ns(e.contents)+")":"root"===e.n.type?"markAsRoot("+ns(e.contents)+")":"align("+JSON.stringify(e.n)+", "+ns(e.contents)+")";if("if-break"===e.type)return"ifBreak("+ns(e.breakContents)+(e.flatContents?", "+ns(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(ns).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+ns(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(ns).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+ns(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var rs={builders:Zo,printer:{printDocToString:function(e,t){Ia={};for(var n=t.printWidth,r=Ra(t.endOfLine),i=0,o=[[{value:"",length:0,queue:[]},1,e]],a=[],s=!1,c=[];0!==o.length;){var p=o.pop(),f=l(p,3),d=f[0],h=f[1],m=f[2];if("string"===typeof m)a.push(m),i+=Pa(m);else switch(m.type){case"cursor":a.push(Ua.placeholder);break;case"concat":for(var g=m.parts.length-1;g>=0;g--)o.push([d,h,m.parts[g]]);break;case"indent":o.push([qa(d,t),h,m.contents]);break;case"align":o.push([Va(d,m.n,t),h,m.contents]);break;case"trim":i-=Wa(a);break;case"group":switch(h){case 2:if(!s){o.push([d,m.break?1:2,m.contents]);break}case 1:s=!1;var v=[d,2,m.contents],y=n-i;if(!m.break&&Ga(v,o,y,t))o.push(v);else if(m.expandedStates){var b=m.expandedStates[m.expandedStates.length-1];if(m.break){o.push([d,1,b]);break}for(var x=1;x<m.expandedStates.length+1;x++){if(x>=m.expandedStates.length){o.push([d,1,b]);break}var E=[d,2,m.expandedStates[x]];if(Ga(E,o,y,t)){o.push(E);break}}}else o.push([d,1,m.contents])}m.id&&(Ia[m.id]=o[o.length-1][1]);break;case"fill":var D=n-i,C=m.parts;if(0===C.length)break;var w=l(C,2),S=w[0],k=w[1],A=[d,2,S],T=[d,1,S],_=Ga(A,[],D,t,!0);if(1===C.length){_?o.push(A):o.push(T);break}var O=[d,2,k],F=[d,1,k];if(2===C.length){_?(o.push(O),o.push(A)):(o.push(F),o.push(T));break}C.splice(0,2);var N=[d,h,za(C)],I=C[0];Ga([d,2,Ba([S,k,I])],[],D,t,!0)?(o.push(N),o.push(O),o.push(A)):_?(o.push(N),o.push(F),o.push(A)):(o.push(N),o.push(F),o.push(T));break;case"if-break":var M=m.groupId?Ia[m.groupId]:h;1===M&&m.breakContents&&o.push([d,h,m.breakContents]),2===M&&m.flatContents&&o.push([d,h,m.flatContents]);break;case"line-suffix":c.push([d,h,m.contents]);break;case"line-suffix-boundary":c.length>0&&o.push([d,h,{type:"line",hard:!0}]);break;case"line":switch(h){case 2:if(!m.hard){m.soft||(a.push(" "),i+=1);break}s=!0;case 1:if(c.length){o.push([d,h,m]),o.push.apply(o,u(c.reverse())),c=[];break}m.literal?d.root?(a.push(r,d.root.value),i=d.root.length):(a.push(r),i=0):(i-=Wa(a),a.push(r+d.value),i=d.length)}}}var j=a.indexOf(Ua.placeholder);if(-1!==j){var L=a.indexOf(Ua.placeholder,j+1),P=a.slice(0,j).join(""),R=a.slice(j+1,L).join("");return{formatted:P+R+a.slice(L+1).join(""),cursorNodeStart:P.length,cursorNodeText:R}}return{formatted:a.join("")}}},utils:{isEmpty:function(e){return"string"===typeof e&&0===e.length},willBreak:function(e){return Qa(e,Xa,!1)},isLineNext:function(e){return Qa(e,$a,!1)},traverseDoc:Ja,findInDoc:Qa,mapDoc:Ya,propagateBreaks:function(e){var t=new Set,n=[];Ja(e,(function(e){if("break-parent"===e.type&&Za(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&Za(n)}),!0)},removeLines:function(e){return Ya(e,es)},stripTrailingHardline:function e(t){if("concat"===t.type&&0!==t.parts.length){var n=t.parts[t.parts.length-1];if("concat"===n.type)return 2===n.parts.length&&n.parts[0].hard&&"break-parent"===n.parts[1].type?{type:"concat",parts:t.parts.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(n))}}return t}},debug:{printDocToDebug:function(e){return ns(ts(e))}}},is={getMaxContinuousCount:Ma.getMaxContinuousCount,getStringWidth:Ma.getStringWidth,getAlignmentSize:Ma.getAlignmentSize,getIndentSize:Ma.getIndentSize,skip:Ma.skip,skipWhitespace:Ma.skipWhitespace,skipSpaces:Ma.skipSpaces,skipNewline:Ma.skipNewline,skipToLineEnd:Ma.skipToLineEnd,skipEverythingButNewLine:Ma.skipEverythingButNewLine,skipInlineComment:Ma.skipInlineComment,skipTrailingComment:Ma.skipTrailingComment,hasNewline:Ma.hasNewline,hasNewlineInRange:Ma.hasNewlineInRange,hasSpaces:Ma.hasSpaces,isNextLineEmpty:Ma.isNextLineEmpty,isNextLineEmptyAfterIndex:Ma.isNextLineEmptyAfterIndex,isPreviousLineEmpty:Ma.isPreviousLineEmpty,getNextNonSpaceNonCommentCharacterIndex:Ma.getNextNonSpaceNonCommentCharacterIndex,makeString:Ma.makeString,addLeadingComment:Ma.addLeadingComment,addDanglingComment:Ma.addDanglingComment,addTrailingComment:Ma.addTrailingComment},os=rs.builders,as=os.concat,ss=os.line,us=os.hardline,cs=os.breakParent,ls=os.indent,ps=os.lineSuffix,fs=os.join,ds=os.cursor,hs=Ma.hasNewline,ms=Ma.skipNewline,gs=Ma.isPreviousLineEmpty,vs=is.addLeadingComment,ys=is.addDanglingComment,bs=is.addTrailingComment,xs=Symbol("child-nodes");function Es(e,t,n){if(e){var r=t.printer,i=t.locStart,o=t.locEnd;if(n){if(r.canAttachComment&&r.canAttachComment(e)){var a;for(a=n.length-1;a>=0&&!(i(n[a])<=i(e)&&o(n[a])<=o(e));--a);return void n.splice(a+1,0,e)}}else if(e[xs])return e[xs];var s=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"===typeof e&&Object.keys(e).filter((function(e){return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e})).map((function(t){return e[t]}));if(s)return n||Object.defineProperty(e,xs,{value:n=[],enumerable:!1}),s.forEach((function(e){Es(e,t,n)})),n}}function Ds(e,t,n){var r=e.length;if(0!==r){var i,o=e[0],a=o.precedingNode,s=o.followingNode,u=o.enclosingNode,c=n.printer.getGapRegex&&n.printer.getGapRegex(u)||/^[\s(]*$/,l=n.locStart(s);for(i=r;i>0;--i){var p=e[i-1];Wo.strictEqual(p.precedingNode,a),Wo.strictEqual(p.followingNode,s);var f=t.slice(n.locEnd(p),l);if(!c.test(f))break;l=n.locStart(p)}e.forEach((function(e,t){t<i?bs(a,e):vs(s,e)})),e.length=0}}function Cs(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function ws(e,t,n){for(var r=n.locStart(t)-1,i=1;i<e.length;++i)if(r<(o=e[i],void 0!==o.start?{start:o.start,end:o.end}:{start:o.range[0],end:o.range[1]}).start)return i-1;var o;return 0}function Ss(e,t,n){return e.getNode()===t.cursorNode&&e.getValue()?as([ds,n,ds]):n}var ks={attach:function(e,t,n,r){if(Array.isArray(e)){var i=[],o=r.locStart,a=r.locEnd;e.forEach((function(s,u){if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(s)-o(t)<=0)return void vs(t,s);if(a(s)-a(t)>=0)return void bs(t,s)}!function e(t,n,r){for(var i,o,a=r.locStart,s=r.locEnd,u=Es(t,r),c=0,l=u.length;c<l;){var p=c+l>>1,f=u[p];if(a(f)-a(n)<=0&&s(n)-s(f)<=0)return n.enclosingNode=f,void e(f,n,r);if(s(f)-a(n)<=0)i=f,c=p+1;else{if(!(s(n)-a(f)<=0))throw new Error("Comment location overlaps with node location");o=f,l=p}}if(n.enclosingNode&&"TemplateLiteral"===n.enclosingNode.type){var d=n.enclosingNode.quasis,h=ws(d,n,r);i&&ws(d,i,r)!==h&&(i=null),o&&ws(d,o,r)!==h&&(o=null)}i&&(n.precedingNode=i),o&&(n.followingNode=o)}(t,s,r);var c=s.precedingNode,l=s.enclosingNode,p=s.followingNode,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:function(){return!1},d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:function(){return!1},h=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:function(){return!1},m=e.length-1===u;if(hs(n,o(s),{backwards:!0}))f(s,n,r,t,m)||(p?vs(p,s):c?bs(c,s):ys(l||t,s));else if(hs(n,a(s)))d(s,n,r,t,m)||(c?bs(c,s):p?vs(p,s):ys(l||t,s));else if(h(s,n,r,t,m));else if(c&&p){var g=i.length;g>0&&i[g-1].followingNode!==s.followingNode&&Ds(i,n,r),i.push(s)}else c?bs(c,s):p?vs(p,s):ys(l||t,s)})),Ds(i,n,r),e.forEach((function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode}))}},printComments:function(e,t,n,r){var i=e.getValue(),o=t(e),a=i&&i.comments;if(!a||0===a.length)return Ss(e,n,o);var s=[],u=[r?";":"",o];return e.each((function(e){var t=e.getValue(),r=t.leading,i=t.trailing;if(r){var o=function(e,t,n){var r=e.getValue(),i=Cs(e,n);if(!i)return"";if(n.printer.isBlockComment&&n.printer.isBlockComment(r)){var o=hs(n.originalText,n.locEnd(r))?hs(n.originalText,n.locStart(r),{backwards:!0})?us:ss:" ";return as([i,o])}return as([i,us])}(e,0,n);if(!o)return;s.push(o);var a=n.originalText,c=ms(a,n.locEnd(t));!1!==c&&hs(a,c)&&s.push(us)}else i&&u.push(function(e,t,n){var r=e.getValue(),i=Cs(e,n);if(!i)return"";var o=n.printer.isBlockComment&&n.printer.isBlockComment(r),a=e.getNode(1),s=e.getNode(2),u=s&&("ClassDeclaration"===s.type||"ClassExpression"===s.type)&&s.superClass===a;if(hs(n.originalText,n.locStart(r),{backwards:!0})){var c=gs(n.originalText,r,n.locStart);return ps(as([us,c?us:"",i]))}return as(o||u?[" ",i]:[ps(as([" ",i])),o?"":cs])}(e,0,n))}),"comments"),Ss(e,n,as(s.concat(u)))},printDanglingComments:function(e,t,n,r){var i=[],o=e.getValue();return o&&o.comments?(e.each((function(e){var n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(Cs(e,t))}),"comments"),0===i.length?"":n?fs(us,i):ls(as([us,fs(us,i)]))):""},getSortedChildNodes:Es};function As(e,t){var n=Ts(e.stack,t);return-1===n?null:e.stack[n]}function Ts(e,t){for(var n=e.length-1;n>=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var _s=function(){function e(t){h(this,e),this.stack=[t]}return m(e,[{key:"getName",value:function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null}},{key:"getValue",value:function(){return Gi(this.stack)}},{key:"getNode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return As(this,e)}},{key:"getParentNode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return As(this,e+1)}},{key:"call",value:function(e){for(var t=this.stack,n=t.length,r=Gi(t),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(var s=0,u=o;s<u.length;s++){var c=u[s];r=r[c],t.push(c,r)}var l=e(this);return t.length=n,l}},{key:"callParent",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Ts(this.stack,n+1),i=this.stack.splice(r+1),o=e(this);return(t=this.stack).push.apply(t,u(i)),o}},{key:"each",value:function(e){for(var t=this.stack,n=t.length,r=Gi(t),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(var s=0,u=o;s<u.length;s++){var c=u[s];r=r[c],t.push(c,r)}for(var l=0;l<r.length;++l)l in r&&(t.push(l,r[l]),e(this),t.length-=2);t.length=n}},{key:"map",value:function(e){for(var t=this.stack,n=t.length,r=Gi(t),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(var s=0,u=o;s<u.length;s++){var c=u[s];r=r[c],t.push(c,r)}for(var l=new Array(r.length),p=0;p<r.length;++p)p in r&&(t.push(p,r[p]),l[p]=e(this,p),t.length-=2);return t.length=n,l}},{key:"match",value:function(){for(var e=this.stack.length-1,t=null,n=this.stack[e--],r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];for(var a=0,s=i;a<s.length;a++){var u=s[a];if(void 0===n)return!1;var c=null;if("number"===typeof t&&(c=t,t=this.stack[e--],n=this.stack[e--]),u&&!u(n,t,c))return!1;t=this.stack[e--],n=this.stack[e--]}return!0}}]),e}(),Os=Vo,Fs={printSubtree:function(e,t,n,r){if(n.printer.embed)return n.printer.embed(e,t,(function(e,t){return function(e,t,n,r){var i=Os(Object.assign({},n,{},t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),o=Po.parse(e,i),a=o.ast;e=o.text;var s=a.comments;return delete a.comments,ks.attach(s,a,e,i),r(a,i)}(e,t,n,r)}),n)}},Ns=rs,Is=Ns.builders,Ms=Is.concat,js=Is.hardline,Ls=Is.addAlignmentToDoc,Ps=Ns.utils;function Rs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t.printer;r.preprocess&&(e=r.preprocess(e,t));var i=new Map;function o(e,n){var a,s=e.getValue(),u=s&&"object"===typeof s&&void 0===n;return u&&i.has(s)?i.get(s):(a=r.willPrintOwnComments&&r.willPrintOwnComments(e,t)?Bs(e,t,o,n):ks.printComments(e,(function(e){return Bs(e,t,o,n)}),t,n&&n.needsSemi),u&&i.set(s,a),a)}var a=o(new _s(e));return n>0&&(a=Ls(Ms([js,a]),n,t.tabWidth)),Ps.propagateBreaks(a),a}function Bs(e,t,n,r){Wo.ok(e instanceof _s);var i=e.getValue(),o=t.printer;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return t.originalText.slice(t.locStart(i),t.locEnd(i));if(i)try{var a=Fs.printSubtree(e,n,t,Rs);if(a)return a}catch(s){if(ut.PRETTIER_DEBUG)throw s}return o.print(e,t,n,r)}var zs=Rs;function Us(e,t,n,r,i){r=r||function(){return!0},i=i||[];var o=n.locStart(e,n.locStart),a=n.locEnd(e,n.locEnd);if(o<=t&&t<=a){var u,c=s(ks.getSortedChildNodes(e,n));try{for(c.s();!(u=c.n()).done;){var l=Us(u.value,t,n,r,[e].concat(i));if(l)return l}}catch(p){c.e(p)}finally{c.f()}if(r(e))return{node:e,parentNodes:i}}}function qs(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":return["FunctionDeclaration","BlockStatement","BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","EmptyStatement","ExpressionStatement","ForInStatement","ForStatement","IfStatement","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ClassDeclaration","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TypeAlias","InterfaceDeclaration","TypeAliasDeclaration","ExportAssignment","ExportDeclaration"].includes(t.type);case"json":return["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"].includes(t.type);case"graphql":return["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"].includes(t.kind);case"vue":return"root"!==t.tag}return!1}var Vs={calculateRange:function(e,t,n){var r,i=e.slice(t.rangeStart,t.rangeEnd),o=Math.max(t.rangeStart+i.search(/\S/),t.rangeStart);for(r=t.rangeEnd;r>t.rangeStart&&!e[r-1].match(/\S/);--r);var a=Us(n,o,t,(function(e){return qs(t,e)})),u=Us(n,r,t,(function(e){return qs(t,e)}));if(!a||!u)return{rangeStart:0,rangeEnd:0};var c=function(e,t,n){var r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};var o,a=s(t.parentNodes);try{for(a.s();!(o=a.n()).done;){var u=o.value;if(!("Program"!==u.type&&"File"!==u.type&&n.locStart(u)>=n.locStart(e.node)))break;i=u}}catch(f){a.e(f)}finally{a.f()}var c,l=s(e.parentNodes);try{for(l.s();!(c=l.n()).done;){var p=c.value;if(!("Program"!==p.type&&"File"!==p.type&&n.locEnd(p)<=n.locEnd(t.node)))break;r=p}}catch(f){l.e(f)}finally{l.f()}return{startNode:r,endNode:i}}(a,u,t),l=c.startNode,p=c.endNode;return{rangeStart:Math.min(t.locStart(l,t.locStart),t.locStart(p,t.locStart)),rangeEnd:Math.max(t.locEnd(l,t.locEnd),t.locEnd(p,t.locEnd))}},findNodeAtOffset:Us},Hs=pt(se),Ws=Vo,Gs=ja,Ks=La,Js=rs.utils.mapDoc,Ys=rs.printer.printDocToString,Qs=rs.debug.printDocToDebug,$s=Symbol("cursor"),Xs={cursorOffset:"<<<PRETTIER_CURSOR>>>",rangeStart:"<<<PRETTIER_RANGE_START>>>",rangeEnd:"<<<PRETTIER_RANGE_END>>>"};function Zs(e,t,n){var r=t.comments;return r&&(delete t.comments,ks.attach(r,t,e,n)),t.tokens=[],n.originalText="yaml"===n.parser?e:e.trimEnd(),r}function eu(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:0};n=n||0;var r=Po.parse(e,t),i=r.ast;if(e=r.text,t.cursorOffset>=0){var o=Vs.findNodeAtOffset(i,t.cursorOffset,t);o&&o.node&&(t.cursorNode=o.node)}var a=Zs(e,i,t),u=zs(i,t,n),c=Ks(t.endOfLine),l=Ys("lf"===t.endOfLine?u:Js(u,(function(e){return"string"===typeof e&&e.includes("\n")?e.replace(/\n/g,c):e})),t);if(function(e){if(e){for(var t=0;t<e.length;++t)if(Ma.isNodeIgnoreComment(e[t]))return;e.forEach((function(e){if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed}))}}(a),n>0){var p=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(p)),l.formatted=p+Ks(t.endOfLine)}if(t.cursorOffset>=0){var f,d,h,m,g;if(t.cursorNode&&l.cursorNodeText?(f=t.locStart(t.cursorNode),d=e.slice(f,t.locEnd(t.cursorNode)),h=t.cursorOffset-f,m=l.cursorNodeStart,g=l.cursorNodeText):(f=0,d=e,h=t.cursorOffset,m=0,g=l.formatted),d===g)return{formatted:l.formatted,cursorOffset:m+h};var v=d.split("");v.splice(h,0,$s);var y,b=g.split(""),x=Hs.diffArrays(v,b),E=m,D=s(x);try{for(D.s();!(y=D.n()).done;){var C=y.value;if(C.removed){if(C.value.includes($s))break}else E+=C.count}}catch(w){D.e(w)}finally{D.f()}return{formatted:l.formatted,cursorOffset:E}}return{formatted:l.formatted}}function tu(e,t){var n=Po.resolveParser(t),r=!n.hasPragma||n.hasPragma(e);if(t.requirePragma&&!r)return{formatted:e};"auto"===t.endOfLine&&(t.endOfLine=Gs(e));var i=t.cursorOffset>=0,o=t.rangeStart>0,a=t.rangeEnd<e.length;if(e.includes("\r")){for(var s=[i&&"cursorOffset",o&&"rangeStart",a&&"rangeEnd"].filter(Boolean).sort((function(e,n){return t[e]-t[n]})),u=s.length-1;u>=0;u--){var c=s[u];e=e.slice(0,t[c])+Xs[c]+e.slice(t[c])}e=e.replace(/\r\n?/g,"\n");for(var l=function(n){var r=s[n];e=e.replace(Xs[r],(function(e,n){return t[r]=n,""}))},p=0;p<s.length;p++)l(p)}var f="\ufeff"===e.charAt(0);f&&(e=e.slice(1),i&&t.cursorOffset++,o&&t.rangeStart++,a&&t.rangeEnd++),i||(t.cursorOffset=-1),t.rangeStart<0&&(t.rangeStart=0),t.rangeEnd>e.length&&(t.rangeEnd=e.length);var d=o||a?function(e,t){var n=Po.parse(e,t),r=n.ast;e=n.text;var i,o=Vs.calculateRange(e,t,r),a=o.rangeStart,s=o.rangeEnd,u=e.slice(a,s),c=Math.min(a,e.lastIndexOf("\n",a)+1),l=e.slice(c,a),p=Ma.getAlignmentSize(l,t.tabWidth),f=eu(u,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>=a&&t.cursorOffset<s?t.cursorOffset-a:-1}),p),d=f.formatted.trimEnd(),h=e.slice(0,a),m=e.slice(s),g=t.cursorOffset;if(t.cursorOffset>=s?g=t.cursorOffset-s+(a+d.length):void 0!==f.cursorOffset&&(g=f.cursorOffset+a),"lf"===t.endOfLine)i=h+d+m;else{var v=Ks(t.endOfLine);if(g>=0){for(var y=[h,d,m],b=0,x=g;b<y.length;){var E=y[b];if(x<E.length){y[b]=y[b].slice(0,x)+Xs.cursorOffset+y[b].slice(x);break}b++,x-=E.length}var D=y[0],C=y[1],w=y[2];i=(D.replace(/\n/g,v)+C+w.replace(/\n/g,v)).replace(Xs.cursorOffset,(function(e,t){return g=t,""}))}else i=h.replace(/\n/g,v)+d+m.replace(/\n/g,v)}return{formatted:i,cursorOffset:g}}(e,t):eu(t.insertPragma&&t.printer.insertPragma&&!r?t.printer.insertPragma(e):e,t);return f&&(d.formatted="\ufeff"+d.formatted,i&&d.cursorOffset++),d}var nu=function(e,t){return tu(e,t=Ws(t))},ru=function(e,t,n){t=Ws(t),e.includes("\r")&&(e=e.replace(/\r\n?/g,"\n"));var r=Po.parse(e,t);return n&&(r.ast=Ho(r.ast,t)),r},iu=function(e,t){t=Ws(t);var n=zs(e,t);return Ys(n,t)},ou=function(e,t){return tu(Qs(e),t=Ws(Object.assign({},t,{parser:"babel"}))).formatted},au=function(e,t){t=Ws(t);var n=Po.parse(e,t),r=n.ast;return Zs(e=n.text,r,t),zs(r,t)},su=function(e,t){return Ys(e,Ws(t))},uu=function(e,t,n){if(["raw","raws","sourceIndex","source","before","after","trailingComma"].forEach((function(e){delete t[e]})),"yaml"===e.type&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length&&(n.nodes[0]===e||("yaml"===n.nodes[0].type||"toml"===n.nodes[0].type)&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^a-fA-F\d])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"===typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^['"]|['"]$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d.eE+-]+)([a-zA-Z]*)/g,(function(e,t,n){var r=Number(t);return isNaN(r)?e:r+n.toLowerCase()}))),"selector-tag"===e.type){var r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value},cu=rs.builders,lu=cu.hardline,pu=cu.literalline,fu=cu.concat,du=cu.markAsRoot,hu=rs.utils.mapDoc,mu=function(e,t,n){var r=e.getValue();return"yaml"===r.type?du(fu(["---",lu,r.value.trim()?function(e){return hu(e,(function(e){return"string"===typeof e&&e.includes("\n")?fu(e.split(/(\n)/g).map((function(e,t){return t%2===0?e:pu}))):e}))}(n(r.value,{parser:"yaml"})):"","---",lu])):null},gu=function(e){if("string"!==typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0!==t.length){var n=t.filter((function(e){return"\r\n"===e})).length;return n>t.length-n?"\r\n":"\n"}},vu=gu;vu.graceful=function(e){return"string"===typeof e&&gu(e)||"\n"};var yu=lt((function(e,t){function n(){var e=Rn;return n=function(){return e},e}function r(){var e,t=(e=vu)&&e.__esModule?e:{default:e};return r=function(){return t},t}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){var t=e.match(a);return t?t[0].trimLeft():""},t.strip=function(e){var t=e.match(a);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return f(e).pragmas},t.parseWithComments=f,t.print=function(e){var t=e.comments,i=void 0===t?"":t,o=e.pragmas,a=void 0===o?{}:o,s=(0,r().default)(i)||n().EOL,u=Object.keys(a),c=u.map((function(e){return d(e,a[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+s})).join("");if(!i){if(0===u.length)return"";if(1===u.length&&!Array.isArray(a[u[0]])){var l=a[u[0]];return"".concat("/**"," ").concat(d(u[0],l)[0]).concat(" */")}}var p=i.split(s).map((function(e){return"".concat(" *"," ").concat(e)})).join(s)+s;return"/**"+s+(i?p:"")+(i&&u.length?" *"+s:"")+c+" */"};var i=/\*\/$/,o=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,l=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g;function f(e){var t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(p,"$1");for(var a="";a!==e;)a=e,e=e.replace(c,"".concat(t,"$1 $2").concat(t));e=e.replace(u,"").trimRight();for(var f,d=Object.create(null),h=e.replace(l,"").replace(u,"").trimRight();f=l.exec(e);){var m=f[2].replace(s,"");"string"===typeof d[f[1]]||Array.isArray(d[f[1]])?d[f[1]]=[].concat(d[f[1]],m):d[f[1]]=m}return{comments:h,pragmas:d}}function d(e,t){return[].concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}));ct(yu),yu.extract,yu.strip,yu.parse,yu.parseWithComments,yu.print;var bu={hasPragma:function(e){var t=Object.keys(yu.parse(yu.extract(e)));return t.includes("prettier")||t.includes("format")},insertPragma:function(e){var t=yu.parseWithComments(yu.extract(e)),n=Object.assign({format:""},t.pragmas),r=yu.print({pragmas:n,comments:t.comments.replace(/^(\s+?\r?\n)+/,"")}).replace(/(\r\n|\r)/g,"\n"),i=yu.strip(e);return r+(i.startsWith("\n")?"\n":"\n\n")+i}},xu={"---":"yaml","+++":"toml"},Eu=function(e){var t=Object.keys(xu).map(ua).join("|"),n=e.match(new RegExp("^(".concat(t,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};var r=l(n,3),i=r[0],o=r[1],a=r[2];return{frontMatter:{type:xu[o],value:a,raw:i.replace(/\n$/,"")},content:i.replace(/[^\n]/g," ")+e.slice(i.length)}},Du=function(e){var t=Eu(e),n=t.frontMatter,r=t.content;return(n?n.raw+"\n\n":"")+bu.insertPragma(r)};Ma.getLast,Ma.skipEverythingButNewLine;var Cu=function(e){return e.replace(/\ufffe/g,"'").replace(/\uffff/g,'"')},wu=["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"];function Su(e,t){for(var n,r=[].concat(t),i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function ku(e,t){var n=Su(e,t);return-1===n?null:e.getParentNode(n)}function Au(e){return"value-operator"===e.type&&"*"===e.value}function Tu(e){return"value-operator"===e.type&&"/"===e.value}function _u(e){return"value-operator"===e.type&&"+"===e.value}function Ou(e){return"value-operator"===e.type&&"-"===e.value}function Fu(e){return"value-operator"===e.type&&"%"===e.value}function Nu(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function Iu(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&Nu(e.groups[0])}var Mu=ku,ju=function(e){var t=ku(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},Lu=function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},Pu=function(e,t){var n=ku(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},Ru=function(e){var t=ku(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},Bu=function(e,t){var n=[].concat(t),r=ku(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},zu=function(e){var t=e.getValue(),n=ku(e,"css-atrule");return n&&"import"===n.name&&"url"===t.groups[0].value&&2===t.groups.length},Uu=function(e,t){var n=ku(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},qu=function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},Vu=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/.test(t)},Hu=function(e,t){var n=e.getParentNode();if(!n)return!1;var r=n.nodes;return r&&r.indexOf(t)===r.length-1},Wu=function(e){return"css"===e.parser||"less"===e.parser},Gu=function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},Ku=function(e){return!!e.selector&&("string"===typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},Ju=function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},Yu=function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},Qu=Au,$u=Tu,Xu=_u,Zu=Ou,ec=function(e){return Au(e)||Tu(e)||_u(e)||Ou(e)||Fu(e)},tc=function(e){return"value-word"===e.type&&"in"===e.value},nc=function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},rc=function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},ic=function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},oc=function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},ac=function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},sc=function(e){return e.raws&&""===e.raws.before},uc=function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},cc=function(e){return e.name.startsWith("prettier-placeholder")},lc=function(e){return e.prop.startsWith("@prettier-placeholder")},pc=function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},fc=Nu,dc=function(e){var t=e.getValue();if(0===t.groups.length)return!1;var n=e.getParentNode(1);if(!Iu(t)&&(!n||!Iu(n)))return!1;var r=ku(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!Iu(n)||"value-func"===n.type},hc=function(e){return"value-comment"===e.type&&e.inline},mc=function(e){return"value-word"===e.type&&"#"===e.value},gc=function(e){return"value-word"===e.type&&"{"===e.value},vc=function(e){return"value-word"===e.type&&"}"===e.value},yc=function(e){return["value-word","value-atword"].includes(e.type)},bc=function(e){return"value-colon"===e.type},xc=function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},Ec=function(e){return"value-func"===e.type&&wu.includes(e.value.toLowerCase())},Dc=function(e){return/\/\//.test(e.split(/[\r\n]/).pop())},Cc=Du,wc=Ma.printNumber,Sc=Ma.printString,kc=Ma.hasIgnoreComment,Ac=Ma.hasNewline,Tc=is.isNextLineEmpty,_c=Cu,Oc=rs.builders,Fc=Oc.concat,Nc=Oc.join,Ic=Oc.line,Mc=Oc.hardline,jc=Oc.softline,Lc=Oc.group,Pc=Oc.fill,Rc=Oc.indent,Bc=Oc.dedent,zc=Oc.ifBreak,Uc=rs.utils.removeLines,qc=Mu,Vc=ju,Hc=Lu,Wc=Pu,Gc=Ru,Kc=Bu,Jc=zu,Yc=Uu,Qc=qu,$c=Vu,Xc=Hu,Zc=Wu,el=Gu,tl=Ku,nl=Ju,rl=Yu,il=Qu,ol=$u,al=Xu,sl=Zu,ul=ec,cl=tc,ll=nc,pl=rc,fl=ic,dl=oc,hl=ac,ml=sc,gl=fc,vl=uc,yl=cc,bl=lc,xl=pc,El=dc,Dl=hc,Cl=mc,wl=gc,Sl=vc,kl=yc,Al=bc,Tl=xc,_l=Ec,Ol=Dc;function Fl(e){switch(e.trailingComma){case"all":case"es5":return!0;case"none":default:return!1}}function Nl(e,t,n){var r=e.getValue(),i=[],o=0;return e.map((function(e){var a=r.nodes[o-1];if(a&&"css-comment"===a.type&&"prettier-ignore"===a.text.trim()){var s=e.getValue();i.push(t.originalText.slice(t.locStart(s),t.locEnd(s)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!Ac(t.originalText,t.locStart(r.nodes[o+1]),{backwards:!0})&&"yaml"!==r.nodes[o].type&&"toml"!==r.nodes[o].type||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?Ic:Mc),Tc(t.originalText,e.getValue(),t.locEnd)&&"yaml"!==r.nodes[o].type&&"toml"!==r.nodes[o].type&&i.push(Mc))),o++}),"nodes"),Fc(i)}var Il=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,Ml=new RegExp(Il.source+"|"+"(".concat(/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g.source,")")+"(".concat(/[a-zA-Z]+/g.source,")?"),"g");function jl(e,t){return e.replace(Il,(function(e){return Sc(e,t)}))}function Ll(e,t){var n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Pl(e){return e.replace(Ml,(function(e,t,n,r,i){return!n&&r?Rl(r)+Hc(i||""):e}))}function Rl(e){return wc(e).replace(/\.0(?=$|e)/,"")}var Bl={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"===typeof r)return r;switch(r.type){case"yaml":case"toml":return Fc([r.raw,Mc]);case"css-root":var i=Nl(e,t,n);return i.parts.length?Fc([i,t.__isHTMLStyleAttribute?"":Mc]):i;case"css-comment":var o=r.inline||r.raws.inline,a=t.originalText.slice(t.locStart(r),t.locEnd(r));return o?a.trimEnd():a;case"css-rule":return Fc([e.call(n,"selector"),r.important?" !important":"",r.nodes?Fc([r.selector&&"selector-unknown"===r.selector.type&&Ol(r.selector.value)?Ic:" ","{",r.nodes.length>0?Rc(Fc([Mc,Nl(e,t,n)])):"",Mc,"}",tl(r)?";":""]):";"]);case"css-decl":var s=e.getParentNode();return Fc([r.raws.before.replace(/[\s;]/g,""),Gc(e)?r.prop:Hc(r.prop),":"===r.raws.between.trim()?":":r.raws.between.trim(),r.extend?"":" ",dl(r)?Uc(e.call(n,"value")):e.call(n,"value"),r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?Fc([" {",Rc(Fc([jc,Nl(e,t,n)])),jc,"}"]):bl(r)&&!s.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1]?"":";"]);case"css-atrule":var u=e.getParentNode(),c=yl(r)&&!u.raws.semicolon&&";"!==t.originalText[t.locEnd(r)-1];if(Zc(t)){if(r.mixin)return Fc([e.call(n,"selector"),r.important?" !important":"",c?"":";"]);if(r.function)return Fc([r.name,Fc([e.call(n,"params")]),c?"":";"]);if(r.variable)return Fc(["@",r.name,": ",r.value?Fc([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?Fc(["{",Rc(Fc([r.nodes.length>0?jc:"",Nl(e,t,n)])),jc,"}"]):"",c?"":";"])}return Fc(["@",vl(r)||r.name.endsWith(":")?r.name:Hc(r.name),r.params?Fc([vl(r)?"":yl(r)&&/^\s*\n/.test(r.raws.afterName)?/^\s*\n\s*\n/.test(r.raws.afterName)?Fc([Mc,Mc]):Mc:" ",e.call(n,"params")]):"",r.selector?Rc(Fc([" ",e.call(n,"selector")])):"",r.value?Lc(Fc([" ",e.call(n,"value"),el(r)?hl(r)?" ":Ic:""])):"else"===r.name?" ":"",r.nodes?Fc([el(r)?"":" ","{",Rc(Fc([r.nodes.length>0?jc:"",Nl(e,t,n)])),jc,"}"]):c?"":";"]);case"media-query-list":var l=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||l.push(e.call(n))}),"nodes"),Lc(Rc(Nc(Ic,l)));case"media-query":return Fc([Nc(" ",e.map(n,"nodes")),Xc(e,r)?"":","]);case"media-type":return Pl(jl(r.value,t));case"media-feature-expression":return r.nodes?Fc(["(",Fc(e.map(n,"nodes")),")"]):r.value;case"media-feature":return Hc(jl(r.value.replace(/ +/g," "),t));case"media-colon":return Fc([r.value," "]);case"media-value":return Pl(jl(r.value,t));case"media-keyword":return jl(r.value,t);case"media-url":return jl(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return Lc(Fc([Kc(e,"custom-selector")?Fc([qc(e,"css-atrule").customSelector,Ic]):"",Nc(Fc([",",Kc(e,["extend","custom-selector","nest"])?Ic:Mc]),e.map(n,"nodes"))]));case"selector-selector":return Lc(Rc(Fc(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return jl(r.value,t);case"selector-tag":var p=e.getParentNode(),f=p&&p.nodes.indexOf(r),d=f&&p.nodes[f-1];return Fc([r.namespace?Fc([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===d.type?r.value:Pl(Yc(e,r.value)?r.value.toLowerCase():r.value)]);case"selector-id":return Fc(["#",r.value]);case"selector-class":return Fc([".",Pl(jl(r.value,t))]);case"selector-attribute":return Fc(["[",r.namespace?Fc([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Ll(jl(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){var h=e.getParentNode(),m="selector-selector"===h.type&&h.nodes[0]===r?"":Ic;return Fc([m,r.value,Xc(e,r)?"":" "])}var g=r.value.trim().startsWith("(")?Ic:"",v=Pl(jl(r.value.trim(),t))||Ic;return Fc([g,v]);case"selector-universal":return Fc([r.namespace?Fc([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return Fc([Hc(r.value),r.nodes&&r.nodes.length>0?Fc(["(",Nc(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":var y=qc(e,"css-rule");if(y&&y.isSCSSNesterProperty)return Pl(jl(Hc(r.value),t));var b=e.getParentNode();if(b.raws&&b.raws.selector){var x=t.locStart(b),E=x+b.raws.selector.length;return t.originalText.slice(x,E).trim()}return r.value;case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return Fc([r.inline?"//":"/*",_c(r.value),r.inline?"":"*/"]);case"value-comma_group":for(var D=e.getParentNode(),C=e.getParentNode(1),w=Vc(e),S=w&&"value-value"===D.type&&("grid"===w||w.startsWith("grid-template")),k=qc(e,"css-atrule"),A=k&&el(k),T=e.map(n,"groups"),_=[],O=Wc(e,"url"),F=!1,N=!1,I=0;I<r.groups.length;++I){_.push(T[I]);var M=r.groups[I-1],j=r.groups[I],L=r.groups[I+1],P=r.groups[I+2];if(O)(L&&al(L)||al(j))&&_.push(" ");else if(L){var R="value-string"===j.type&&j.value.startsWith("#{"),B=F&&"value-string"===L.type&&L.value.endsWith("}");if(R||B)F=!F;else if(!F&&!Al(j)&&!Al(L)&&("value-atword"!==j.type||""!==j.value)&&"~"!==j.value&&!(j.value&&j.value.includes("\\")&&L&&"value-comment"!==L.type)&&(!M||!M.value||M.value.indexOf("\\")!==M.value.length-1||"value-operator"!==j.type||"/"!==j.value)&&"\\"!==j.value&&!xl(j,L)&&!(Cl(j)||wl(j)||Sl(L)||wl(L)&&ml(L)||Sl(j)&&ml(L))&&("--"!==j.value||!Cl(L))){var z=ul(j),U=ul(L);if((!(z&&Cl(L)||U&&Sl(j))||!ml(L))&&!(Wc(e,"calc")&&(al(j)||al(L)||sl(j)||sl(L))&&ml(L))){var q=(al(j)||sl(j))&&0===I&&("value-number"===L.type||L.isHex)&&C&&_l(C)&&!ml(L),V=P&&"value-func"===P.type||P&&kl(P)||"value-func"===j.type||kl(j),H="value-func"===L.type||kl(L)||M&&"value-func"===M.type||M&&kl(M);(il(L)||il(j)||Wc(e,"calc")||q||!(ol(L)&&!V||ol(j)&&!H||al(L)&&!V||al(j)&&!H||sl(L)||sl(j))||!(ml(L)||z&&(!M||M&&ul(M))))&&(Dl(j)?_.push(Mc):A&&(rl(L)||nl(L)||fl(L)||cl(j)||ll(j))||k&&"namespace"===k.name.toLowerCase()?_.push(" "):S?j.source&&L.source&&j.source.start.line!==L.source.start.line?(_.push(Mc),N=!0):_.push(" "):U?_.push(" "):_.push(Ic))}}}}return N&&_.unshift(Mc),A?Lc(Rc(Fc(_))):Jc(e)?Lc(Pc(_)):Lc(Rc(Pc(_)));case"value-paren_group":var W=e.getParentNode();if(W&&pl(W)&&(1===r.groups.length||r.groups.length>0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return Fc([r.open?e.call(n,"open"):"",Nc(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){for(var G=e.map(n,"groups"),K=[],J=0;J<G.length;J++)0!==J&&K.push(Fc([",",Ic])),K.push(G[J]);return Lc(Rc(Pc(K)))}var Y=El(e),Q=r.groups[r.groups.length-1],$=Q&&"value-comment"===Q.type;return Lc(Fc([r.open?e.call(n,"open"):"",Rc(Fc([jc,Nc(Fc([",",Ic]),e.map((function(e){var t=e.getValue(),r=n(e);return gl(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=Lc(r.contents.contents.parts[1]),Lc(Bc(r))):r}),"groups"))])),zc(!$&&$c(t.parser,t.originalText)&&Y&&Fl(t)?",":""),jc,r.close?e.call(n,"close"):""]),{shouldBreak:Y});case"value-func":return Fc([r.value,Kc(e,"supports")&&Tl(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return Fc([Rl(r.value),Hc(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Qc(r.value)?r.value.toLowerCase():r.value;case"value-colon":return Fc([r.value,Wc(e,"url")?"":Ic]);case"value-comma":return Fc([r.value," "]);case"value-string":return Sc(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return Fc(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:mu,insertPragma:Cc,hasPrettierIgnore:kc,massageAstNode:uu},zl={bracketSpacing:{since:"0.0.0",category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:"Common",type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}},Ul={singleQuote:zl.singleQuote},ql=function(e,t){var n=e.languageId,r=gt(e,["languageId"]);return Object.assign({linguistLanguageId:n},r,{},t(e))},Vl=[".css"],Hl={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Vl,languageId:50},Wl=Object.freeze({__proto__:null,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Vl,languageId:50,default:Hl}),Gl=[".pcss",".postcss"],Kl={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:Gl,aceMode:"text",languageId:262764437},Jl=Object.freeze({__proto__:null,name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:Gl,aceMode:"text",languageId:262764437,default:Kl}),Yl=[".less"],Ql={name:"Less",type:"markup",group:"CSS",extensions:Yl,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},$l=Object.freeze({__proto__:null,name:"Less",type:"markup",group:"CSS",extensions:Yl,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198,default:Ql}),Xl=[".scss"],Zl={name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:Xl,languageId:329},ep=Object.freeze({__proto__:null,name:"SCSS",type:"markup",tmScope:"source.css.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:Xl,languageId:329,default:Zl}),tp=pt(Wl),np=pt(Jl),rp=pt($l),ip=pt(ep),op={languages:[ql(tp,(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]}})),ql(np,(function(){return{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}})),ql(rp,(function(){return{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}})),ql(ip,(function(){return{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}}))],options:Ul,printers:{postcss:Bl}},ap=function(e){return"# @format\n\n"+e},sp=rs.builders,up=sp.concat,cp=sp.join,lp=sp.hardline,pp=sp.line,fp=sp.softline,dp=sp.group,hp=sp.indent,mp=sp.ifBreak,gp=Ma.hasIgnoreComment,vp=is.isNextLineEmpty;function yp(e,t,n){return 0===n.directives.length?"":up([" ",dp(hp(up([fp,cp(up([mp(""," "),fp]),e.map(t,"directives"))])))])}function bp(e,t,n){var r=e.getValue().length;return e.map((function(e,i){var o=n(e);return vp(t.originalText,e.getValue(),t.locEnd)&&i<r-1?up([o,lp]):o}))}function xp(e,t,n){return","===n.originalText.slice(e.loc.end,t.loc.start).replace(/#.*/g,"").trim()?", ":" & "}function Ep(e,t,n){for(var r=[],i=e.getNode().interfaces,o=e.map((function(e){return n(e)}),"interfaces"),a=0;a<i.length;a++){var s=i[a];a>0&&r.push(xp(i[a-1],s,t)),r.push(o[a])}return r}var Dp={print:function(e,t,n){var r=e.getValue();if(!r)return"";if("string"===typeof r)return r;switch(r.kind){case"Document":var i=[];return e.map((function(e,o){i.push(up([e.call(n)])),o!==r.definitions.length-1&&(i.push(lp),vp(t.originalText,e.getValue(),t.locEnd)&&i.push(lp))}),"definitions"),up([up(i),lp]);case"OperationDefinition":var o="{"!==t.originalText[t.locStart(r)],a=!!r.name;return up([o?r.operation:"",o&&a?up([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.map(n,"variableDefinitions"))])),fp,")"])):"",yp(e,n,r),r.selectionSet&&(o||a)?" ":"",e.call(n,"selectionSet")]);case"FragmentDefinition":return up(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.map(n,"variableDefinitions"))])),fp,")"])):""," on ",e.call(n,"typeCondition"),yp(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return up(["{",hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"selections"))])),lp,"}"]);case"Field":return dp(up([r.alias?up([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.call((function(e){return bp(e,t,n)}),"arguments"))])),fp,")"])):"",yp(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?up(['"""',lp,cp(lp,r.value.replace(/"""/g,"\\$&").split("\n")),lp,'"""']):up(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return up(["$",e.call(n,"name")]);case"ListValue":return dp(up(["[",hp(up([fp,cp(up([mp("",", "),fp]),e.map(n,"values"))])),fp,"]"]));case"ObjectValue":return dp(up(["{",t.bracketSpacing&&r.fields.length>0?" ":"",hp(up([fp,cp(up([mp("",", "),fp]),e.map(n,"fields"))])),fp,mp("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return up([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return up(["@",e.call(n,"name"),r.arguments.length>0?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.call((function(e){return bp(e,t,n)}),"arguments"))])),fp,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return up([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?up([" = ",e.call(n,"defaultValue")]):"",yp(e,n,r)]);case"TypeExtensionDefinition":return up(["extend ",e.call(n,"definition")]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return up([e.call(n,"description"),r.description?lp:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?up([" implements ",up(Ep(e,t,n))]):"",yp(e,n,r),r.fields.length>0?up([" {",hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"fields"))])),lp,"}"]):""]);case"FieldDefinition":return up([e.call(n,"description"),r.description?lp:"",e.call(n,"name"),r.arguments.length>0?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.call((function(e){return bp(e,t,n)}),"arguments"))])),fp,")"])):"",": ",e.call(n,"type"),yp(e,n,r)]);case"DirectiveDefinition":return up([e.call(n,"description"),r.description?lp:"","directive ","@",e.call(n,"name"),r.arguments.length>0?dp(up(["(",hp(up([fp,cp(up([mp("",", "),fp]),e.call((function(e){return bp(e,t,n)}),"arguments"))])),fp,")"])):"",r.repeatable?" repeatable":"",up([" on ",cp(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return up([e.call(n,"description"),r.description?lp:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),yp(e,n,r),r.values.length>0?up([" {",hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"values"))])),lp,"}"]):""]);case"EnumValueDefinition":return up([e.call(n,"description"),r.description?lp:"",e.call(n,"name"),yp(e,n,r)]);case"InputValueDefinition":return up([e.call(n,"description"),r.description?r.description.block?lp:pp:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?up([" = ",e.call(n,"defaultValue")]):"",yp(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return up([e.call(n,"description"),r.description?lp:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),yp(e,n,r),r.fields.length>0?up([" {",hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"fields"))])),lp,"}"]):""]);case"SchemaDefinition":return up(["schema",yp(e,n,r)," {",r.operationTypes.length>0?hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"operationTypes"))])):"",lp,"}"]);case"OperationTypeDefinition":return up([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return up([e.call(n,"description"),r.description?lp:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),yp(e,n,r),r.fields.length>0?up([" {",hp(up([lp,cp(lp,e.call((function(e){return bp(e,t,n)}),"fields"))])),lp,"}"]):""]);case"FragmentSpread":return up(["...",e.call(n,"name"),yp(e,n,r)]);case"InlineFragment":return up(["...",r.typeCondition?up([" on ",e.call(n,"typeCondition")]):"",yp(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return dp(up([e.call(n,"description"),r.description?lp:"",dp(up(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),yp(e,n,r),r.types.length>0?up([" =",mp(""," "),hp(up([mp(up([pp," "])),cp(up([pp,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return up([e.call(n,"description"),r.description?lp:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),yp(e,n,r)]);case"NonNullType":return up([e.call(n,"type"),"!"]);case"ListType":return up(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:gp,insertPragma:ap,printComment:function(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},Cp={bracketSpacing:zl.bracketSpacing},wp=[".graphql",".gql",".graphqls"],Sp={name:"GraphQL",type:"data",extensions:wp,tmScope:"source.graphql",aceMode:"text",languageId:139},kp={languages:[ql(pt(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:wp,tmScope:"source.graphql",aceMode:"text",languageId:139,default:Sp})),(function(){return{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}}))],options:Cp,printers:{graphql:Dp}};function Ap(e,t){return e&&t.some((function(t){return e.type===t}))}function Tp(e,t){var n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function _p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Tp(e,-t)}function Op(e){return Tp(e,1)}function Fp(e){return Ap(e,["MustacheCommentStatement"])&&"string"===typeof e.value&&"prettier-ignore"===e.value.trim()}var Np=Op,Ip=_p,Mp=function(e){var t=e.getValue(),n=_p(e,2);return Fp(t)||Fp(n)},jp=function(e){return Ap(e,["ElementNode"])&&"string"===typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))},Lp=function(e,t){return Ap(Op(e),t)},Pp=function(e,t){return Ap(e.getParentNode(0),t)},Rp=function(e,t){return Ap(_p(e),t)},Bp=function(e){return Ap(e,["TextNode"])&&!/\S/.test(e.chars)},zp=rs.builders,Up=zp.concat,qp=zp.join,Vp=zp.softline,Hp=zp.hardline,Wp=zp.line,Gp=zp.group,Kp=zp.indent,Jp=zp.ifBreak,Yp=Np,Qp=Ip,$p=Mp,Xp=jp,Zp=Lp,ef=Pp,tf=Rp,nf=Bp,rf=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function of(e,t,n){return Up(e.map((function(r,i){var o=e.getValue(),a=0===i,s=i===e.getParentNode(0).children.length-1&&!a;return nf(o)&&s?n(r,t,n):a?Up([Vp,n(r,t,n)]):n(r,t,n)}),"children"))}function af(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r,a=!1;(e.includes(i.quote)||e.includes(o.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);var s=a?o:i,u=e.replace(s.regex,"\\".concat(s.quote));return Up([s.quote,u,s.quote])}function sf(e,t){return e.call(t,"path")}function uf(e,t){var n=e.getValue(),r=[];return n.params.length>0&&(r=r.concat(e.map(t,"params"))),n.hash&&n.hash.pairs.length>0&&r.push(e.call(t,"hash")),r}function cf(e,t){var n=sf(e,t),r=uf(e,t),i=[n].concat(u(r));return Kp(Gp(qp(Wp,i)))}function lf(e){var t=e.getValue();return t.program&&t.program.blockParams.length?Up([" as |",t.program.blockParams.join(" "),"|"]):""}function pf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.open,i=void 0!==r&&r,o=n.close,a=void 0!==o&&o;return Gp(Up([i?"{{~#":"{{#",cf(e,t),lf(e),Vp,a?"~}}":"}}"]))}function ff(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.open,i=void 0!==r&&r,o=n.close,a=void 0!==o&&o;return Up([i?"{{~/":"{{/",e.call(t,"path"),a?"~}}":"}}"])}function df(e){return(e="string"===typeof e?e:"").split("\n").length-1}function hf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Array(Math.min(e,t)).fill(Hp)}function mf(e,t,n){for(var r=0,i=0;;){if(i===e.length)return null;var o=e.indexOf("\n",i);if(-1===o&&(o=e.length),r===t)return i+n>o?null:i+n;if(-1===o)return null;r+=1,i=o+1}}var gf={print:function(e,t,n){var r=e.getValue();if(!r)return"";if($p(e)){var i=mf(t.originalText,r.loc.start.line-1,r.loc.start.column),o=mf(t.originalText,r.loc.end.line-1,r.loc.end.column);return t.originalText.slice(i,o)}switch(r.type){case"Block":case"Program":case"Template":return Gp(Up(e.map(n,"body")));case"ElementNode":var a=r.children.length>0,s=r.children.some((function(e){return!nf(e)})),c=Xp(r)&&(!a||!s)||rf.includes(r.tag),l=c?Up([" />",Vp]):">",p=c?"/>":">",f=Yp(e);return Up([Gp(Up(["<",r.tag,function(e,t){return Kp(Up([r.attributes.length?Wp:"",qp(Wp,e.map(t,"attributes")),r.modifiers.length?Wp:"",qp(Wp,e.map(t,"modifiers")),r.comments.length?Wp:"",qp(Wp,e.map(t,"comments"))]))}(e,n),r.blockParams.length?" as |".concat(r.blockParams.join(" "),"|"):"",Jp(Vp,""),Jp(p,l)])),c?"":Gp(Up([s?Kp(of(e,t,n)):"",Jp(a?Hp:"",""),Up(["</",r.tag,">"])])),f&&"ElementNode"===f.type?Hp:""]);case"BlockStatement":var d=e.getParentNode(1),h=d&&d.inverse&&1===d.inverse.body.length&&d.inverse.body[0]===r&&"if"===d.inverse.body[0].path.parts[0],m=r.inverse&&1===r.inverse.body.length&&"BlockStatement"===r.inverse.body[0].type&&"if"===r.inverse.body[0].path.parts[0],g=m?function(e){return e}:Kp,v=(r.inverseStrip.open?"{{~":"{{")+"else"+(r.inverseStrip.close?"~}}":"}}");if(r.inverse)return Up([h?Up([r.openStrip.open?"{{~else ":"{{else ",cf(e,n),r.openStrip.close?"~}}":"}}"]):pf(e,n,r.openStrip),Kp(Up([Hp,e.call(n,"program")])),r.inverse&&!m?Up([Hp,v]):"",r.inverse?g(Up([Hp,e.call(n,"inverse")])):"",h?"":Up([Hp,ff(e,n,r.closeStrip)])]);if(h)return Up([Up([r.openStrip.open?"{{~else":"{{else ",cf(e,n),r.openStrip.close?"~}}":"}}"]),Kp(Up([Hp,e.call(n,"program")]))]);var y=r.program.body.some((function(e){return!nf(e)}));return Up([pf(e,n,r.openStrip),Gp(Up([Kp(Up([Vp,e.call(n,"program")])),y?Hp:Vp,ff(e,n,r.closeStrip)]))]);case"ElementModifierStatement":return Gp(Up(["{{",cf(e,n),Vp,"}}"]));case"MustacheStatement":var b=!1===r.escaped,x=r.strip,E=(b?"{{{":"{{")+(x.open?"~":""),D=(x.close?"~":"")+(b?"}}}":"}}"),C=ef(e,["AttrNode","ConcatStatement","ElementNode"])?[E,Kp(Vp)]:[E];return Gp(Up([].concat(C,[cf(e,n),Vp,D])));case"SubExpression":var w=uf(e,n),S=w.length>0?Kp(Up([Wp,Gp(qp(Wp,w))])):"";return Gp(Up(["(",sf(e,n),S,Vp,")"]));case"AttrNode":var k="TextNode"===r.value.type;if(k&&""===r.value.chars&&r.value.loc.start.column===r.value.loc.end.column)return Up([r.name]);var A=e.call(n,"value"),T=k?af(A.parts.join(),t):A;return Up([r.name,"=",T]);case"ConcatStatement":return Up(['"',Up(e.map((function(e){return n(e)}),"parts").filter((function(e){return""!==e}))),'"']);case"Hash":return Up([qp(Wp,e.map(n,"pairs"))]);case"HashPair":return Up([r.key,"=",e.call(n,"value")]);case"TextNode":var _=!Qp(e),O=!Yp(e),F=!/\S/.test(r.chars),N=df(r.chars),I="Block"===e.getParentNode(0).type,M="ElementNode"===e.getParentNode(0).type,j="Template"===e.getParentNode(0).type,L=function(e){return df(((e="string"===typeof e?e:"").match(/^([^\S\r\n]*[\r\n])+/g)||[])[0]||"")}(r.chars),P=function(e){return df(((e="string"===typeof e?e:"").match(/([\r\n][^\S\r\n]*)+$/g)||[])[0]||"")}(r.chars);if((_||O)&&F&&(I||M||j))return"";F&&N?(L=Math.min(N,2),P=0):(Zp(e,["BlockStatement","ElementNode"])&&(P=Math.max(P,1)),(tf(e,["ElementNode"])||tf(e,["BlockStatement"]))&&(L=Math.max(L,1)));var R="",B="";if(e.stack.includes("attributes")){var z=e.getParentNode(0);if("ConcatStatement"===z.type){var U=z.parts,q=U.indexOf(r);q>0&&"MustacheStatement"===U[q-1].type&&(R=" "),q<U.length-1&&"MustacheStatement"===U[q+1].type&&(B=" ")}}else 0===P&&Zp(e,["MustacheStatement"])&&(B=" "),0===L&&tf(e,["MustacheStatement"])&&(R=" "),_&&(L=0,R=""),O&&(P=0,B="");return Up([].concat(u(hf(L,2)),[r.chars.replace(/^[\s ]+/g,R).replace(/[\s ]+$/,B)],u(hf(P,2))).filter(Boolean));case"MustacheCommentStatement":var V=r.value.includes("}}")?"--":"";return Up(["{{!",V,r.value,V,"}}"]);case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return Up(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return af(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){var n=e.chars.trim();if(!n)return null;t.chars=n}}},vf=["hbs","htmlbars"],yf=[".handlebars",".hbs"],bf={name:"Handlebars",type:"markup",group:"HTML",aliases:vf,extensions:yf,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},xf={languages:[ql(pt(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:vf,extensions:yf,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:bf})),(function(){return{since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}}))],printers:{glimmer:gf}},Ef={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"none",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",video:"inline-block",audio:"inline-block"},Df="inline",Cf={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},wf="normal",Sf=Object.freeze({__proto__:null,default:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}),kf=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],Af=["title"],Tf=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],_f=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],Of=["autoplay","controls","crossorigin","loop","muted","preload","src"],Ff=["href","target"],Nf=["color","face","size"],If=["dir"],Mf=["cite"],jf=["alink","background","bgcolor","link","text","vlink"],Lf=["clear"],Pf=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],Rf=["height","width"],Bf=["align"],zf=["align","char","charoff","span","valign","width"],Uf=["align","char","charoff","span","valign","width"],qf=["value"],Vf=["cite","datetime"],Hf=["open"],Wf=["title"],Gf=["open"],Kf=["compact"],Jf=["align"],Yf=["compact"],Qf=["height","src","type","width"],$f=["disabled","form","name"],Xf=["color","face","size"],Zf=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],ed=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],td=["cols","rows"],nd=["align"],rd=["align"],id=["align"],od=["align"],ad=["align"],sd=["align"],ud=["profile"],cd=["align","noshade","size","width"],ld=["manifest","version"],pd=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],fd=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],dd=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],hd=["cite","datetime"],md=["prompt"],gd=["accesskey","for","form"],vd=["accesskey","align"],yd=["type","value"],bd=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],xd=["name"],Ed=["compact"],Dd=["charset","content","http-equiv","name","scheme"],Cd=["high","low","max","min","optimum","value"],wd=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],Sd=["compact","reversed","start","type"],kd=["disabled","label"],Ad=["disabled","label","selected","value"],Td=["for","form","name"],_d=["align"],Od=["name","type","value","valuetype"],Fd=["width"],Nd=["max","value"],Id=["cite"],Md=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],jd=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Ld=["name"],Pd=["media","sizes","src","srcset","type"],Rd=["media","nonce","title","type"],Bd=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],zd=["align","char","charoff","valign"],Ud=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],qd=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Vd=["align","char","charoff","valign"],Hd=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Wd=["align","char","charoff","valign"],Gd=["datetime"],Kd=["align","bgcolor","char","charoff","valign"],Jd=["default","kind","label","src","srclang"],Yd=["compact","type"],Qd=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],$d={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:kf,abbr:Af,applet:Tf,area:_f,audio:Of,base:Ff,basefont:Nf,bdo:If,blockquote:Mf,body:jf,br:Lf,button:Pf,canvas:Rf,caption:Bf,col:zf,colgroup:Uf,data:qf,del:Vf,details:Hf,dfn:Wf,dialog:Gf,dir:Kf,div:Jf,dl:Yf,embed:Qf,fieldset:$f,font:Xf,form:Zf,frame:ed,frameset:td,h1:nd,h2:rd,h3:id,h4:od,h5:ad,h6:sd,head:ud,hr:cd,html:ld,iframe:pd,img:fd,input:dd,ins:hd,isindex:md,label:gd,legend:vd,li:yd,link:bd,map:xd,menu:Ed,meta:Dd,meter:Cd,object:wd,ol:Sd,optgroup:kd,option:Ad,output:Td,p:_d,param:Od,pre:Fd,progress:Nd,q:Id,script:Md,select:jd,slot:Ld,source:Pd,style:Rd,table:Bd,tbody:zd,td:Ud,textarea:qd,tfoot:Vd,th:Hd,thead:Wd,time:Gd,tr:Kd,track:Jd,ul:Yd,video:Qd},Xd=Object.freeze({__proto__:null,a:kf,abbr:Af,applet:Tf,area:_f,audio:Of,base:Ff,basefont:Nf,bdo:If,blockquote:Mf,body:jf,br:Lf,button:Pf,canvas:Rf,caption:Bf,col:zf,colgroup:Uf,data:qf,del:Vf,details:Hf,dfn:Wf,dialog:Gf,dir:Kf,div:Jf,dl:Yf,embed:Qf,fieldset:$f,font:Xf,form:Zf,frame:ed,frameset:td,h1:nd,h2:rd,h3:id,h4:od,h5:ad,h6:sd,head:ud,hr:cd,html:ld,iframe:pd,img:fd,input:dd,ins:hd,isindex:md,label:gd,legend:vd,li:yd,link:bd,map:xd,menu:Ed,meta:Dd,meter:Cd,object:wd,ol:Sd,optgroup:kd,option:Ad,output:Td,p:_d,param:Od,pre:Fd,progress:Nd,q:Id,script:Md,select:jd,slot:Ld,source:Pd,style:Rd,table:Bd,tbody:zd,td:Ud,textarea:qd,tfoot:Vd,th:Hd,thead:Wd,time:Gd,tr:Kd,track:Jd,ul:Yd,video:Qd,default:$d}),Zd=pt(Sf),eh=pt(Xd),th=Ef,nh=Df,rh=Cf,ih=wf;function oh(e){var t,n=Object.create(null),r=s(e);try{for(r.s();!(t=r.n()).done;)n[t.value]=!0}catch(i){r.e(i)}finally{r.f()}return n}function ah(e,t){return!!e.endSourceSpan&&(!("element"!==e.type||"template"!==e.fullName||!e.attrMap.lang||"html"===e.attrMap.lang)||!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&!["template","style","script","html"].includes(e.fullName)||!(!yh(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type}))))}function sh(e){return"attribute"!==e.type&&!!e.parent&&"number"===typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function uh(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName)}function ch(e){return"yaml"===e.type||"toml"===e.type}function lh(e){return xh(e).startsWith("pre")}function ph(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function fh(e){return gh(e)||"element"===e.type&&"br"===e.fullName||dh(e)}function dh(e){return hh(e)&&mh(e)}function hh(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function mh(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function gh(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function vh(e){return"block"===e||"list-item"===e||e.startsWith("table")}function yh(e){return xh(e).startsWith("pre")}function bh(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function xh(e){return"element"===e.type&&(!e.namespace||bh(e))&&rh[e.name]||ih}function Eh(e){var t,n=1/0,r=s(e.split("\n"));try{for(r.s();!(t=r.n()).done;){var i=t.value;if(0!==i.length){if(/\S/.test(i[0]))return 0;var o=i.match(/^\s*/)[0].length;i.length!==o&&o<n&&(n=o)}}}catch(a){r.e(a)}finally{r.f()}return n===1/0?0:n}oh(Zd),function(e,t){for(var n=Object.create(null),r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o],o)}}(eh,oh);var Dh=function(e){return e.children&&!uh(e)},Ch=function(e,t){for(var n=0,r=0;r<e.length;r++)e[r]===t&&n++;return n},wh=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=0,r=e.stack.length-1;r>=0;r--){var i=e.stack[r];i&&"object"===typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},Sh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Eh(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},kh=ph,Ah=function(e){return ph(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&hh(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||mh(e.lastChild))},Th=function(e){return ch(e)||e.next&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},_h=function e(t){return t.lastChild?e(t.lastChild):t},Oh=function(e,t){if(e.prev&&"comment"===e.prev.type){var n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}var r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var n=e;n;){if(t(n))return!0;n=n.parent}return!1}(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===e.type&&(!e.namespace||r||bh(e))&&th[e.name]||nh}},Fh=function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},Nh=sh,Ih=function(e){if("script"===e.name&&!e.attrMap.src){if(!e.attrMap.lang&&!e.attrMap.type||"module"===e.attrMap.type||"text/javascript"===e.attrMap.type||"text/babel"===e.attrMap.type||"application/javascript"===e.attrMap.type||"jsx"===e.attrMap.lang)return"babel";if("application/x-typescript"===e.attrMap.type||"ts"===e.attrMap.lang||"tsx"===e.attrMap.lang)return"typescript";if("text/markdown"===e.attrMap.type)return"markdown";if(e.attrMap.type.endsWith("json")||e.attrMap.type.endsWith("importmap"))return"json";if("text/x-handlebars-template"===e.attrMap.type)return"glimmer"}if("style"===e.name){if(!e.attrMap.lang||"postcss"===e.attrMap.lang||"css"===e.attrMap.lang)return"css";if("scss"===e.attrMap.lang)return"scss";if("less"===e.attrMap.lang)return"less"}return null},Mh=function(e){return!vh(t=e.cssDisplay)&&"inline-block"!==t&&!uh(e);var t},jh=function(e){var t=function(){return!ch(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!yh(e.parent)||!(!e.prev&&("root"===e.parent.type||yh(e)&&e.parent||uh(e.parent)||(t=e.parent.cssDisplay,vh(t)||"inline-block"===t)))&&!(e.prev&&!function(e){return!vh(e)}(e.prev.cssDisplay))));var t}();return t&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:t},Lh=uh,Ph=function(e){return"text"===e.type||"comment"===e.type},Rh=function(e){for(var t=[],n=e.slice();0!==n.length;){var r=n.shift();r&&("concat"!==r.type?0===t.length||"string"!==typeof t[t.length-1]||"string"!==typeof r?t.push(r):t.push(t.pop()+r):n.unshift.apply(n,u(r.parts)))}return t},Bh=function(e){return gh(e)||e.prev&&fh(e.prev)||dh(e)},zh=function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(sh(e)||ah(e.parent,t))},Uh=ah,qh=function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')},Vh=Dh,Hh=Oh,Wh=Mh,Gh=lh,Kh=jh,Jh=function(e){return!ch(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!yh(e.parent)||!(!e.next&&("root"===e.parent.type||yh(e)&&e.parent||uh(e.parent)||(t=e.parent.cssDisplay,vh(t)||"inline-block"===t)))&&!(e.next&&!function(e){return!vh(e)}(e.next.cssDisplay))));var t},Yh=function(e){return uh(e)||"interpolation"===e.type||lh(e)},Qh=[function(e){return e.map((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var t=i(e.children),n=t[0],r=t.slice(1);return e.clone({children:1===n.value.length?r:[n.clone({value:n.value.slice(1)})].concat(u(r))})}return e}))},function(e){var t=function(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],i=0;i<e.children.length;i++){var o=e.children[i];if(!n[i+1])if(n[i]){var a=o.prev,s=o.firstChild,u=o.sourceSpan.constructor,c=new u(a.sourceSpan.start,s.sourceSpan.end),l=new u(c.start,o.sourceSpan.end);r.push(o.clone({condition:a.condition,sourceSpan:l,startSourceSpan:c,children:o.children.slice(1)}))}else r.push(o)}return e.clone({children:r})}}return e}))},function(e){return function(e,t,n){return e.map((function(e){if(e.children){var r=e.children.map(t);if(r.some(Boolean)){for(var i=[],o=0;o<e.children.length;o++){var a=e.children[o];if("text"===a.type||r[o]){var s="text"===a.type?a:a.clone({type:"text",value:n(a)});if(0!==i.length&&"text"===i[i.length-1].type){var u=i.pop(),c=u.sourceSpan.constructor;i.push(u.clone({value:u.value+s.value,sourceSpan:new c(u.sourceSpan.start,s.sourceSpan.end)}))}else i.push(s)}else i.push(a)}return e.clone({children:i})}}return e}))}(e,(function(e){return"cdata"===e.type}),(function(e){return"<![CDATA[".concat(e.value,"]]>")}))},function(e,t){if("html"===t.parser)return e;var n=/\{\{([\s\S]+?)\}\}/g;return e.map((function(e){if(!Vh(e))return e;var t,r=[],i=s(e.children);try{for(i.s();!(t=i.n()).done;){var o=t.value;if("text"===o.type)for(var a=o.sourceSpan.constructor,u=o.sourceSpan.start,c=null,l=o.value.split(n),p=0;p<l.length;p++,u=c){var f=l[p];p%2!==0?(c=u.moveBy(f.length+4),r.push({type:"interpolation",sourceSpan:new a(u,c),children:0===f.length?[]:[{type:"text",value:f,sourceSpan:new a(u.moveBy(2),c.moveBy(-2))}]})):(c=u.moveBy(f.length),0!==f.length&&r.push({type:"text",value:f,sourceSpan:new a(u,c)}))}else r.push(o)}}catch(d){i.e(d)}finally{i.f()}return e.clone({children:r})}))},function(e){return e.map((function(e){if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===e.children[0].value.trim().length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});var t=Yh(e),n=Gh(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:n,children:e.children.reduce((function(e,n){if("text"!==n.type||t)return e.concat(n);var r=[],i=n.value.match(/^(\s*)([\s\S]*?)(\s*)$/),o=l(i,4),a=o[1],s=o[2],u=o[3];a&&r.push({type:"whitespace"});var c=n.sourceSpan.constructor;return s&&r.push({type:"text",value:s,sourceSpan:new c(n.sourceSpan.start.moveBy(a.length),n.sourceSpan.end.moveBy(-u.length))}),u&&r.push({type:"whitespace"}),e.concat(r)}),[]).reduce((function(e,t,n,r){if("whitespace"===t.type)return e;var i=0!==n&&"whitespace"===r[n-1].type,o=n!==r.length-1&&"whitespace"===r[n+1].type;return e.concat(Object.assign({},t,{hasLeadingSpaces:i,hasTrailingSpaces:o}))}),[])})}))},function(e,t){return e.map((function(e){return Object.assign(e,{cssDisplay:Hh(e,t)})}))},function(e){return e.map((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){return e.map((function(e){return"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e){return e.map((function(e){return e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:Wh(e)}):e.clone({children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:Kh(e),isTrailingSpaceSensitive:Jh(e)})})).map((function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!/[^\S\xA0]/.test(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],i=0;i<e.children.length;i++){var o=e.children[i];if(n[i]){var a=r.pop(),s=e.children[++i],u=e.sourceSpan.constructor,c=s.isTrailingSpaceSensitive,l=s.hasTrailingSpaces;r.push(a.clone({value:a.value+"<".concat(o.rawName,">")+o.firstChild.value+"</".concat(o.rawName,">")+s.value,sourceSpan:new u(a.sourceSpan.start,s.sourceSpan.end),isTrailingSpaceSensitive:c,hasTrailingSpaces:l}))}else r.push(o)}return e.clone({children:r})}}return e}))}],$h=function(e,t){var n,r=s(Qh);try{for(r.s();!(n=r.n()).done;)e=(0,n.value)(e,t)}catch(i){r.e(i)}finally{r.f()}return e},Xh=function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")},Zh=rs.builders,em=Zh.concat,tm=Zh.group,nm=function(e){var t=e.trim();return/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(t)},rm=function(e,t){var n=function(e){var t=/,([^,}\]]*)(?:,([^,}\]]*))?$/,n=e.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(n){var r={};r.for=n[3].trim();var i=n[1].trim().replace(/^\(|\)$/g,""),o=i.match(t);return o?(r.alias=i.replace(t,""),r.iterator1=o[1].trim(),o[2]&&(r.iterator2=o[2].trim())):r.alias=i,{left:"".concat([r.alias,r.iterator1,r.iterator2].filter(Boolean).join(",")),operator:n[2],right:r.for}}}(e),r=n.left,i=n.operator,o=n.right;return em([tm(t("function _(".concat(r,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(o,{parser:"__js_expression"})])},im=function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueSlotScope:!0})},om=/^\d+$/,am=function(e){return function(e){return e.sort().filter((function(t,n){return JSON.stringify(t)!==JSON.stringify(e[n-1])}))}(e.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){if(0!==n){var r=e.slice(0,e.length-1),i=e[e.length-1],o=parseInt(r,10),a=parseFloat(r);if("w"===i&&om.test(r))t.width=o;else if("h"===i&&om.test(r))t.height=o;else{if("x"!==i||Number.isNaN(a))throw new Error("Invalid srcset descriptor: ".concat(e));t.density=a}}else t.url=e})),t})))},sm=rs.builders,um=sm.concat,cm=sm.ifBreak,lm=sm.join,pm=sm.line,fm=am,dm=function(e){var t=fm(e),n=t.some((function(e){return e.width})),r=t.some((function(e){return e.height}));if(n+r+t.some((function(e){return e.density}))>1)throw new Error("Mixed descriptor in srcset is not supported");var i=n?"width":r?"height":"density",o=n?"w":r?"h":"x",a=function(e){return Math.max.apply(Math,u(e))},s=t.map((function(e){return e.url})),c=a(s.map((function(e){return e.length}))),l=t.map((function(e){return e[i]})).map((function(e){return e?e.toString():""})),p=l.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),f=a(p);return lm(um([",",pm]),s.map((function(e,t){var n=[e],r=l[t];if(r){var i=c-e.length+1,a=f-p[t],s=" ".repeat(i+a);n.push(cm(s," "),r+o)}return um(n)})))},hm=function(e){return e.trim().split(/\s+/).join(" ")},mm=rs.builders,gm=rs.utils,vm=gm.stripTrailingHardline,ym=gm.mapDoc,bm=mm.breakParent,xm=mm.dedentToRoot,Em=mm.fill,Dm=mm.group,Cm=mm.hardline,wm=mm.ifBreak,Sm=mm.indent,km=mm.join,Am=mm.line,Tm=mm.literalline,_m=mm.markAsRoot,Om=mm.softline,Fm=Ch,Nm=wh,Im=Sh,Mm=kh,jm=Ah,Lm=Th,Pm=_h,Rm=Fh,Bm=Nh,zm=Ih,Um=Lh,qm=Ph,Vm=Rh,Hm=Bh,Wm=zh,Gm=Uh,Km=qh,Jm=Ma.replaceEndOfLineWith,Ym=rm,Qm=im,$m=nm,Xm=dm,Zm=hm;function eg(e){var t=Vm(e);return 0===t.length?"":1===t.length?t[0]:mm.concat(t)}function tg(e,t,n){var r=e.getValue();if(Mm(r))return eg([bm,eg(e.map((function(e){var t=e.getValue(),n=t.prev?a(t.prev,t):"";return eg([n?eg([n,Lm(t.prev)?Cm:""]):"",o(e)])}),"children"))]);var i=r.children.map((function(){return Symbol("")}));return eg(e.map((function(e,t){var n=e.getValue();if(qm(n)){if(n.prev&&qm(n.prev)){var r=a(n.prev,n);if(r)return Lm(n.prev)?eg([Cm,Cm,o(e)]):eg([r,o(e)])}return o(e)}var s=[],u=[],c=[],l=[],p=n.prev?a(n.prev,n):"",f=n.next?a(n,n.next):"";return p&&(Lm(n.prev)?s.push(Cm,Cm):p===Cm?s.push(Cm):qm(n.prev)?u.push(p):u.push(wm("",Om,{groupId:i[t-1]}))),f&&(Lm(n)?qm(n.next)&&l.push(Cm,Cm):f===Cm?qm(n.next)&&l.push(Cm):c.push(f)),eg([].concat(s,Dm(eg([eg(u),Dm(eg([o(e),eg(c)]),{id:i[t]})])),l))}),"children"));function o(e){var r=e.getValue();return Bm(r)?eg([].concat(dg(r,t),Jm(t.originalText.slice(t.locStart(r)+(r.prev&&ug(r.prev)?gg(r).length:0),t.locEnd(r)-(r.next&&lg(r.next)?bg(r,t).length:0)),Tm),mg(r,t))):Gm(r,t)?eg([].concat(dg(r,t),Dm(ng(e,t,n)),Jm(t.originalText.slice(r.startSourceSpan.end.offset+(r.firstChild&&cg(r.firstChild)?-vg(r).length:0),r.endSourceSpan.start.offset+(r.lastChild&&fg(r.lastChild)?yg(r,t).length:pg(r)?-bg(r.lastChild,t).length:0)),Tm),og(r,t),mg(r,t))):n(e)}function a(e,t){return qm(e)&&qm(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Hm(t)?Cm:Am:"":Hm(t)?Cm:Om:ug(e)&&(t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&lg(t)?"":!t.isLeadingSpaceSensitive||Hm(t)||lg(t)&&e.lastChild&&fg(e.lastChild)&&e.lastChild.lastChild&&fg(e.lastChild.lastChild)?Cm:t.hasLeadingSpaces?Am:Om}}function ng(e,t,n){var r=e.getValue(),i="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length;return eg([rg(r,t),r.attrs&&0!==r.attrs.length?eg([Sm(eg([i?" ":Am,km(Am,function(r){var i="boolean"===typeof r?function(){return r}:Array.isArray(r)?function(e){return r.includes(e.rawName)}:function(){return!1};return e.map((function(e){var r=e.getValue();return i(r)?eg(Jm(t.originalText.slice(t.locStart(r),t.locEnd(r)),Tm)):n(e)}),"attrs")}(r.prev&&"comment"===r.prev.type&&Rm(r.prev.value)))])),r.firstChild&&cg(r.firstChild)||r.isSelfClosing&&pg(r.parent)?r.isSelfClosing?" ":"":r.isSelfClosing?i?" ":Am:i?"":Om]):r.isSelfClosing?" ":"",r.isSelfClosing?"":ig(r)])}function rg(e,t){return e.prev&&ug(e.prev)?"":eg([dg(e,t),gg(e)])}function ig(e){return e.firstChild&&cg(e.firstChild)?"":vg(e)}function og(e,t){return eg([e.isSelfClosing?"":ag(e,t),sg(e,t)])}function ag(e,t){return e.lastChild&&fg(e.lastChild)?"":eg([hg(e,t),yg(e,t)])}function sg(e,t){return(e.next?lg(e.next):pg(e.parent))?"":eg([bg(e,t),mg(e,t)])}function ug(e){return e.next&&!qm(e.next)&&qm(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function cg(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function lg(e){return e.prev&&!qm(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function pg(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!qm(Pm(e.lastChild))}function fg(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&qm(Pm(e))}function dg(e,t){return cg(e)?vg(e.parent):lg(e)?bg(e.prev,t):""}function hg(e,t){return pg(e)?bg(e.lastChild,t):""}function mg(e,t){return fg(e)?yg(e.parent,t):ug(e)?gg(e.next):""}function gg(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function vg(e){switch(e.isSelfClosing,e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function yg(e,t){if(e.isSelfClosing,Wm(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function bg(e,t){if(Wm(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function xg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Jm(t,Tm):Jm(Im(t.replace(/^\s*?\n|\n\s*?$/g,"")),Cm):km(Am,t.split(/[\t\n\f\r ]+/)).parts}var Eg={preprocess:$h,print:function(e,t,n){var r,i=e.getValue();switch(i.type){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(i),mm.concat([Dm(tg(e,t,n)),Cm]);case"element":case"ieConditionalComment":var o=1===i.children.length&&"interpolation"===i.firstChild.type&&i.firstChild.isLeadingSpaceSensitive&&!i.firstChild.hasLeadingSpaces&&i.lastChild.isTrailingSpaceSensitive&&!i.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id");return eg([Dm(eg([Dm(ng(e,t,n),{id:a}),0===i.children.length?i.hasDanglingSpaces&&i.isDanglingSpaceSensitive?Am:"":eg([jm(i)?bm:"",(r=eg([o?wm(Om,"",{groupId:a}):i.firstChild.hasLeadingSpaces&&i.firstChild.isLeadingSpaceSensitive?Am:"text"===i.firstChild.type&&i.isWhitespaceSensitive&&i.isIndentationSensitive?xm(Om):Om,tg(e,t,n)]),o?wm(Sm(r),r,{groupId:a}):Um(i)&&"root"===i.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?r:Sm(r)),(i.next?lg(i.next):pg(i.parent))?i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?" ":"":o?wm(Om,"",{groupId:a}):i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?Am:("comment"===i.lastChild.type||"text"===i.lastChild.type&&i.isWhitespaceSensitive&&i.isIndentationSensitive)&&new RegExp("\\n\\s{".concat(t.tabWidth*Nm(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(i.lastChild.value)?"":Om])])),og(i,t)]);case"ieConditionalStartComment":case"ieConditionalEndComment":return eg([rg(i),sg(i)]);case"interpolation":return eg([rg(i,t),eg(e.map(n,"children")),sg(i,t)]);case"text":if("interpolation"===i.parent.type){var s=/\n[^\S\n]*?$/,u=s.test(i.value),c=u?i.value.replace(s,""):i.value;return eg([eg(Jm(c,Tm)),u?Cm:""])}return Em(Vm([].concat(dg(i,t),xg(i),mg(i,t))));case"docType":return eg([Dm(eg([rg(i,t)," ",i.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),sg(i,t)]);case"comment":return eg([dg(i,t),eg(Jm(t.originalText.slice(t.locStart(i),t.locEnd(i)),Tm)),mg(i,t)]);case"attribute":if(null===i.value)return i.rawName;var l=Km(i.value),p=Fm(l,"'")<Fm(l,'"')?"'":'"';return eg([i.rawName,eg(["=",p,eg(Jm('"'===p?l.replace(/"/g,"&quot;"):l.replace(/'/g,"&apos;"),Tm)),p])]);case"yaml":case"toml":return eg(Jm(i.raw,Tm));default:throw new Error("Unexpected node type ".concat(i.type))}},insertPragma:Xh,massageAstNode:function(e,t){return delete t.sourceSpan,delete t.startSourceSpan,delete t.endSourceSpan,delete t.nameSpan,delete t.valueSpan,"text"===e.type||"comment"===e.type||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))},embed:function(e,t,n,r){var i=e.getValue();switch(i.type){case"text":if(Um(i.parent)){var o=zm(i.parent);if(o){var a="markdown"===o?Im(i.value.replace(/^[^\S\n]*?\n/,"")):i.value;return mm.concat([eg([bm,dg(i,r),vm(n(a,{parser:o})),mg(i,r)])])}}else if("interpolation"===i.parent.type)return eg([Sm(eg([Am,n(i.value,Object.assign({__isInHtmlInterpolation:!0},"angular"===r.parser?{parser:"__ng_interpolation",trailingComma:"none"}:"vue"===r.parser?{parser:"__vue_expression"}:{parser:"__js_expression"}))])),i.parent.next&&lg(i.parent.next)?" ":Am]);break;case"attribute":if(!i.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return eg([i.rawName,"=",i.value]);if("lwc"===r.parser&&/^\{[\s\S]*\}$/.test(r.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return eg([i.rawName,"=",i.value]);var s=function(e,t,n){var r=function(t){return new RegExp(t.join("|")).test(e.fullName)},i=function(){return Km(e.value)},o=!1,a=function(e,t){var n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},s=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Dm(eg([Sm(eg([Om,e])),t?Om:""]))},u=function(e){return o?function(e){return Dm(e)}(e):s(e)},c=function(e,n){return t(e,Object.assign({__onHtmlBindingRoot:a},n))};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return s(Xm(i()));if("class"===e.fullName&&!n.parentParser){var l=i();if(!l.includes("{{"))return Zm(l)}if("style"===e.fullName&&!n.parentParser){var p=i();if(!p.includes("{{"))return s(c(p,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return Ym(i(),c);if("slot-scope"===e.fullName)return Qm(i(),c);if(r(["^@","^v-on:"])){var f=i();return u($m(f)?c(f,{parser:"__js_expression"}):vm(c(f,{parser:"__vue_event_binding"})))}if(r(["^:","^v-bind:"]))return u(c(i(),{parser:"__vue_expression"}));if(r(["^v-"]))return u(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){var d=function(e,t){return c(e,Object.assign({},t,{trailingComma:"none"}))};if(r(["^\\(.+\\)$","^on-"]))return u(d(i(),{parser:"__ng_action"}));if(r(["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"]))return u(d(i(),{parser:"__ng_binding"}));if(r(["^i18n(-.+)?$"])){var h=i().trim();return s(Em(xg(e,h)),!h.includes("@@"))}if(r(["^\\*"]))return u(d(i(),{parser:"__ng_directive"}));var m=/\{\{([\s\S]+?)\}\}/g,g=i();if(m.test(g)){var v=[];return g.split(m).forEach((function(e,t){if(t%2===0)v.push(eg(Jm(e,Tm)));else try{v.push(Dm(eg(["{{",Sm(eg([Am,d(e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),Am,"}}"])))}catch(n){v.push("{{",eg(Jm(e,Tm)),"}}")}})),Dm(eg(v))}}return null}(i,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0},t))}),r);if(s)return eg([i.rawName,'="',Dm(ym(s,(function(e){return"string"===typeof e?e.replace(/"/g,"&quot;"):e}))),'"']);break;case"yaml":return _m(eg(["---",Cm,0===i.value.trim().length?"":n(i.value,{parser:"yaml"}),"---"]))}}},Dg={htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Cg=["xhtml"],wg=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],Sg={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Cg,extensions:wg,languageId:146},kg=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Cg,extensions:wg,languageId:146,default:Sg}),Ag=[".vue"],Tg={name:"Vue",type:"markup",color:"#2c3e50",extensions:Ag,tmScope:"text.html.vue",aceMode:"html",languageId:391},_g=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:Ag,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:Tg}),Og=pt(kg),Fg=pt(_g),Ng={languages:[ql(Og,(function(){return{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}})),ql(Og,(function(e){return{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])}})),ql(Og,(function(){return{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}})),ql(Fg,(function(){return{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}}))],printers:{html:Eg},options:Dg},Ig=is.addLeadingComment,Mg=is.addTrailingComment,jg=is.addDanglingComment,Lg=is.getNextNonSpaceNonCommentCharacterIndex;function Pg(e,t){var n=e.body.filter((function(e){return"EmptyStatement"!==e.type}));0===n.length?jg(e,t):Ig(n[0],t)}function Rg(e,t){"BlockStatement"===e.type?Pg(e,t):Ig(e,t)}function Bg(e,t,n,r,i,o){return!(!n||"IfStatement"!==n.type||!r)&&(")"===Ma.getNextNonSpaceNonCommentCharacter(e,i,o.locEnd)?(Mg(t,i),!0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Mg(t,i):jg(n,i),!0):"BlockStatement"===r.type?(Pg(r,i),!0):"IfStatement"===r.type?(Rg(r.consequent,i),!0):n.consequent===r&&(Ig(r,i),!0))}function zg(e,t,n,r,i,o){return!(!n||"WhileStatement"!==n.type||!r)&&(")"===Ma.getNextNonSpaceNonCommentCharacter(e,i,o.locEnd)?(Mg(t,i),!0):"BlockStatement"===r.type&&(Pg(r,i),!0))}function Ug(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n)&&("CatchClause"===e.type&&t?(Mg(t,r),!0):"BlockStatement"===n.type?(Pg(n,r),!0):"TryStatement"===n.type?(Rg(n.finalizer,r),!0):"CatchClause"===n.type&&(Rg(n.body,r),!0))}function qg(e,t,n,r){return!(!(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type)&&e.decorators&&e.decorators.length>0)||n&&"Decorator"===n.type)&&(e.decorators&&0!==e.decorators.length?Mg(e.decorators[e.decorators.length-1],r):Ig(e,r),!0)}function Vg(e,t,n,r,i){return(t&&n&&("Property"===t.type||"TSDeclareMethod"===t.type||"TSAbstractMethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==Ma.getNextNonSpaceNonCommentCharacter(e,n,i.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"TSDeclareMethod"!==t.type&&"MethodDefinition"!==t.type))&&(Mg(n,r),!0)}function Hg(e,t,n,r,i,o){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Mg(t,i),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&Yg(n)&&")"===Ma.getNextNonSpaceNonCommentCharacter(e,i,o.locEnd))return Mg(t,i),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){var a=function(){if(0!==(n.params||n.parameters).length)return Ma.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,o.locEnd(Ma.getLast(n.params||n.parameters)));var t=Ma.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,o.locEnd(n.id));return Ma.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,t+1)}();if(o.locStart(i)>a)return Pg(r,i),!0}return!1}function Wg(e,t){return!(!e||"ImportSpecifier"!==e.type)&&(Ig(e,t),!0)}function Gg(e,t){return!(!e||"LabeledStatement"!==e.type)&&(Ig(e,t),!0)}function Kg(e,t,n,r){return t&&t.body&&0===t.body.length?(r?jg(t,n):Ig(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length)&&(r?jg(e,n):Ig(e,n),!0)}function Jg(e){return"Block"===e.type||"CommentBlock"===e.type}function Yg(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function Qg(e){return Jg(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var $g={handleOwnLineComment:function(e,t,n,r,i){var o=e.precedingNode,a=e.enclosingNode,s=e.followingNode;return Hg(t,o,a,s,e,n)||function(e,t,n){return!(!e||"MemberExpression"!==e.type&&"OptionalMemberExpression"!==e.type||!t||"Identifier"!==t.type)&&(Ig(e,n),!0)}(a,s,e)||Bg(t,o,a,s,e,n)||zg(t,o,a,s,e,n)||Ug(a,o,s,e)||qg(a,0,s,e)||Wg(a,e)||function(e,t,n){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(Ig(e,n),!0)}(a,0,e)||function(e,t,n,r){return!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type?(n&&("UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)&&Ma.isNodeIgnoreComment(r)&&(n.types[0].prettierIgnore=!0,r.unignore=!0),!1):(Ma.isNodeIgnoreComment(r)&&(n.prettierIgnore=!0,r.unignore=!0),!!e&&(Mg(e,r),!0))}(o,a,s,e)||Kg(a,r,e,i)||function(e,t,n,r,i){return!!(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&Ma.hasNewline(e,i.locEnd(r)))&&(Mg(n,r),!0)}(t,a,o,e,n)||function(e,t){return!(!e||"AssignmentPattern"!==e.type)&&(Ig(e,t),!0)}(a,e)||Vg(t,a,o,e,n)||Gg(a,e)},handleEndOfLineComment:function(e,t,n,r,i){var o=e.precedingNode,a=e.enclosingNode,s=e.followingNode;return function(e,t){return!(!e||!Qg(t))&&(Ig(e,t),!0)}(s,e)||Hg(t,o,a,s,e,n)||function(e,t,n,r,i,o){var a=t&&!Ma.hasNewlineInRange(i,o.locEnd(t),o.locStart(r));return!(t&&a||!e||"ConditionalExpression"!==e.type||!n)&&(Ig(n,r),!0)}(a,o,s,e,t,n)||Wg(a,e)||Bg(t,o,a,s,e,n)||zg(t,o,a,s,e,n)||Ug(a,o,s,e)||qg(a,0,s,e)||Gg(a,e)||function(e,t,n){return!!(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)&&(Ig(t.arguments[0],n),!0)}(o,a,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type)&&(Ig(e,t),!0)}(a,e)||Kg(a,r,e,i)||function(e,t,n){return!(!e||"TypeAlias"!==e.type)&&(Ig(e,n),!0)}(a,0,e)||function(e,t,n){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type&&!Jg(n))&&(Ig(t,n),!0)}(a,s,e)},handleRemainingComment:function(e,t,n,r,i){var o=e.precedingNode,a=e.enclosingNode,s=e.followingNode;return!!(Bg(t,o,a,s,e,n)||zg(t,o,a,s,e,n)||function(e,t,n){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type)&&(Mg(e.value.left,n),!0)}(a,o,e)||function(e,t,n,r){return")"===Ma.getNextNonSpaceNonCommentCharacter(e,n,r.locEnd)&&(t&&(Yg(t)&&0===(t.params||t.parameters).length||("CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type)&&0===t.arguments.length)?(jg(t,n),!0):!(!t||"MethodDefinition"!==t.type||0!==t.value.params.length)&&(jg(t.value,n),!0))}(t,a,e,n)||Vg(t,a,o,e,n)||Kg(a,r,e,i)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;var i=Lg(e,n,r.locEnd);return"=>"===e.slice(i,i+2)&&(jg(t,n),!0)}(t,a,e,n)||function(e,t,n,r,i){return"("===Ma.getNextNonSpaceNonCommentCharacter(e,r,i.locEnd)&&(!(!n||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type)&&(Mg(n,r),!0))}(t,a,o,e,n)||function(e,t,n,r,i){return!(!t||"TSMappedType"!==t.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Ig(r.name,i),!0):!(!n||"TSTypeParameter"!==n.type||!n.constraint)&&(Mg(n.constraint,i),!0))}(0,a,o,s,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label)&&(Mg(e,t),!0)}(a,e)||function(e,t,n,r,i){return!(n||!t||"TSMethodSignature"!==t.type&&"TSDeclareFunction"!==t.type&&"TSAbstractMethodDefinition"!==t.type||";"!==Ma.getNextNonSpaceNonCommentCharacter(e,r,i.locEnd))&&(Mg(t,r),!0)}(t,a,s,e,n))},hasLeadingComment:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some((function(e){return e.leading&&t(e)}))},isBlockComment:Jg,isTypeCastComment:Qg,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s(&|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===e.value.params.length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[].concat(u(e.decorators||[]),[e.key,e.value.body])}},Xg=$g.isBlockComment,Zg=$g.hasLeadingComment,ev=rs.builders,tv=ev.indent,nv=ev.join,rv=ev.line,iv=ev.hardline,ov=ev.softline,av=ev.literalline,sv=ev.concat,uv=ev.group,cv=ev.dedentToRoot,lv=rs.utils,pv=lv.mapDoc,fv=lv.stripTrailingHardline;function dv(e){return e.replace(/([\\`]|\$\{)/g,"\\$1")}function hv(e,t){return pv(e,(function(e){if(!e.parts)return e;var n=[];return e.parts.forEach((function(e){"string"===typeof e?n.push(t?e.replace(/(\\*)`/g,"$1$1\\`"):dv(e)):n.push(e)})),Object.assign({},e,{parts:n})}))}function mv(e){var t=[],n=!1;return e.map((function(e){return e.trim()})).forEach((function(e,r,i){""!==e&&(""===i[r-1]&&n?t.push(sv([iv,e])):t.push(e),n=!0)})),0===t.length?null:nv(iv,t)}function gv(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function vv(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat(yv))}var yv=[function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}];function bv(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return Ev(n.object)||Dv(n);case"CallExpression":return Ev(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(Ev(n.callee.object.object)||Dv(n.callee.object))||"CallExpression"===n.callee.object.type&&Ev(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function xv(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function Ev(e){return"Identifier"===e.type&&"styled"===e.name}function Dv(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Cv(e,t){return Zg(e,(function(e){return Xg(e)&&e.value===" ".concat(t," ")}))}var wv=0,Sv=function(e,t,n,r){var i=e.getValue(),o=e.getParentNode(),a=e.getParentNode(1);switch(i.type){case"TemplateLiteral":if([gv,bv,xv,vv].some((function(t){return t(e)}))){var s=i.quasis.map((function(e){return e.value.raw})),u=0,c=s.reduce((function(e,t,n){if(0===n)return t;var r="",i=t.match(/^(\s*)(:+)(\s*)/);if(i){var o=!!i[1],a=i[2].length;i[3]||(o&&(r+="-whitespace"),r+="-colon".repeat(a),t="\uffff"+t.slice(i[0].length))}return e+"@prettier-placeholder".concat(r,"-").concat(u++,"-id")+t}),"");return function(e,t,n){var r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";var i=r.expressions?t.map(n,"expressions"):[],o=function(e,t){if(!t||!t.length)return e;var n=t.slice(),r=0,i=pv(e,(function(e){if(!e||!e.parts||!e.parts.length)return e;var t=e.parts,i=t.indexOf("@"),o=i+1;if(i>-1&&"string"===typeof t[o]&&t[o].startsWith("prettier-placeholder")){var a=t[i],s=t[o],u=t.slice(o+1);t=t.slice(0,i).concat([a+s]).concat(u)}var c=t.findIndex((function(e){return"string"===typeof e&&e.startsWith("@prettier-placeholder")}));if(c>-1){var l=t[c],p=t.slice(c+1),f=l.match(/@prettier-placeholder((?:-whitespace|-colon)*)-(.+)-id([\s\S]*)/),d=f[1],h=f[2],m=f[3],g=n[h];d&&(m=d.replace(/-whitespace/g," ").replace(/-colon/g,":")+m.replace(/^\uffff/g,"")),r++,t=t.slice(0,c).concat(["${",g,"}"+m]).concat(p)}return Object.assign({},e,{parts:t})}));return n.length===r?i:null}(e,i);if(!o)throw new Error("Couldn't insert all the expressions");return sv(["`",tv(sv([iv,fv(o)])),ov,"`"])}(n(c,{parser:"css"}),e,t)}if(function(e){var t=e.getValue(),n=e.getParentNode();return Cv(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){var l=i.expressions?e.map(t,"expressions"):[],p=i.quasis.length;if(1===p&&""===i.quasis[0].value.raw.trim())return"``";for(var f=[],d=0;d<p;d++){var h=0===d,m=d===p-1,g=i.quasis[d].value.cooked;if("string"!==typeof g)return null;var v=g.split("\n"),y=v.length,b=l[d],x=y>2&&""===v[0].trim()&&""===v[1].trim(),E=y>2&&""===v[y-1].trim()&&""===v[y-2].trim(),D=v.every((function(e){return/^\s*(?:#[^\r\n]*)?$/.test(e)}));if(!m&&/#[^\r\n]*$/.test(v[y-1]))return null;var C=null;(C=D?mv(v):fv(n(g,{parser:"graphql"})))?(C=hv(C,!1),!h&&x&&f.push(""),f.push(C),!m&&E&&f.push("")):h||m||!x||f.push(""),b&&f.push(sv(["${",b,"}"]))}return sv(["`",tv(sv([iv,nv(iv,f)])),iv,"`"])}var w=function(e){return Cv(e.getValue(),"HTML")||e.match((function(e){return"TemplateLiteral"===e.type}),(function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}))}(e)?"html":function(e){return e.match.apply(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat(yv))}(e)?"angular":void 0;if(w)return function(e,t,n,r,i){var o=e.getValue(),a=wv;wv=wv+1>>>0;var s=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(a,"_IN_JS")},u=o.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+s(t)})).join(""),c=e.map(t,"expressions");if(0===c.length&&0===u.trim().length)return"``";var l=new RegExp(s("(\\d+)"),"g"),p=0,f=pv(fv(n(u,{parser:r,__onHtmlRoot:function(e){p=e.children.length}})),(function(e){if("string"!==typeof e)return e;for(var t=[],n=e.split(l),r=0;r<n.length;r++){var o=n[r];if(r%2!==0){var a=+o;t.push(sv(["${",uv(c[a]),"}"]))}else o&&(o=dv(o),i.embeddedInHtml&&(o=o.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(o))}return sv(t)})),d=/^\s/.test(u)?" ":"",h=/\s$/.test(u)?" ":"",m="ignore"===i.htmlWhitespaceSensitivity?iv:d&&h?rv:null;return uv(sv(m?["`",tv(sv([m,uv(f)])),m,"`"]:["`",d,p>1?tv(uv(f)):uv(f),h,"`"]))}(e,t,n,w,r);break;case"TemplateElement":if(a&&"TaggedTemplateExpression"===a.type&&1===o.quasis.length&&"Identifier"===a.tag.type&&("md"===a.tag.name||"markdown"===a.tag.name)){var S=o.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(e,t){return"\\".repeat(t.length/2)+"`"})),k=function(e){var t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(S);return sv([""!==k?tv(sv([ov,A(S.replace(new RegExp("^".concat(k),"gm"),""))])):sv([av,cv(A(S))]),ov])}}function A(e){var t=n(e,{parser:"markdown",__inJsTemplate:!0});return fv(hv(t,!0))}},kv=function(e,t,n){if(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","flags","errors"].forEach((function(e){delete t[e]})),e.loc&&null===e.loc.source&&delete t.loc.source,"BigIntLiteral"===e.type&&(t.value=t.value.toLowerCase()),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&"Literal"===e.expression.type&&" "===e.expression.value)return null;if("TSParameterProperty"===e.type&&null===e.accessibility&&!e.readonly)return{type:"Identifier",name:e.parameter.name,typeAnnotation:t.parameter.typeAnnotation,decorators:t.decorators};"TSNamespaceExportDeclaration"===e.type&&e.specifiers&&0===e.specifiers.length&&delete t.specifiers,"JSXOpeningElement"===e.type&&delete t.selfClosing,"JSXElement"===e.type&&delete t.closingElement,"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!==typeof e.key||!e.key||"Literal"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))&&t.children.filter((function(e){return"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type})).map((function(e){return e.expression})).reduce((function(e,t){return e.concat(t.quasis)}),[]).forEach((function(e){return delete e.value})),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach((function(e){return delete e.value}));var r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){var i=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((function(e,t){var n=null;switch(i[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(n=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(n=e.value)}n&&n.quasis.forEach((function(e){return delete e.value}))}))}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach((function(e){return delete e.value})),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((function(e){return"CommentBlock"===e.type&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach((function(e){return delete e.value}))},Av=Ma.getLast,Tv=Ma.hasNewline,_v=Ma.hasNewlineInRange,Ov=Ma.hasIgnoreComment,Fv=Ma.hasNodeIgnoreComment,Nv=Ma.skipWhitespace,Iv=to.keyword.isIdentifierNameES5,Mv=new RegExp("^".concat("(?:(?=.)\\s)","*:")),jv=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function Lv(e,t){if(!e||"object"!==typeof e)return!1;if(Array.isArray(e))return e.some((function(e){return Lv(e,t)}));var n=t(e);return"boolean"===typeof n?n:Object.keys(e).some((function(n){return Lv(e[n],t)}))}function Pv(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}var Rv=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Bv(e){return e&&Rv.has(e.type)}function zv(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Uv(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"===typeof e.value}function qv(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"===typeof e.value}function Vv(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function Hv(e){return("CallExpression"===e.type||"OptionalCallExpression"===e.type)&&"Identifier"===e.callee.type&&("async"===e.callee.name||"inject"===e.callee.name||"fakeAsync"===e.callee.name)}function Wv(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Gv(e){return"get"===e.kind||"set"===e.kind}function Kv(e,t,n){return n.locStart(e)===n.locStart(t)}function Jv(e,t){return Gv(e)||Kv(e,e.value,t)}var Yv=/^(skip|[fx]?(it|describe|test))$/;function Qv(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}var $v=new RegExp("([ \n\r\t]+)"),Xv=new RegExp("[^ \n\r\t]");function Zv(e){return zv(e)&&(Xv.test(ny(e))||!/\n/.test(ny(e)))}function ey(e,t,n){return Wv(t)?Fv(t):t.comments&&t.comments.some((function(t){return t.leading&&Tv(e,n.locEnd(t))}))}function ty(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function ny(e){return e.extra?e.extra.raw:e.raw}var ry={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){var t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":var n=e.value?e.value.async:e.async,r=e.value?e.value.generator:e.generator;return!n&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!r);case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){var t=e.getNode();if("ClassProperty"!==t.type)return!1;var n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},conditionalExpressionChainContainsJSX:function(e){return Boolean(function(e){var t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).find(Wv))},getFlowVariance:function(e){if(!e.variance)return null;var t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side",t)},getParentExportDeclaration:function(e){var t=e.getParentNode();return"declaration"===e.getName()&&Bv(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some((function(e){return!e.leading&&!e.trailing}))},hasFlowAnnotationComment:function(e){return e&&e[0].value.match(jv)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&e.trailingComments[0].value.match(Mv)},hasLeadingComment:function(e){return e.comments&&e.comments.some((function(e){return e.leading}))},hasLeadingOwnLineComment:ey,hasNakedLeftSide:Pv,hasNewlineBetweenOrAfterDecorators:function(e,t){return _v(t.originalText,t.locStart(e.decorators[0]),t.locEnd(Av(e.decorators)))||Tv(t.originalText,t.locEnd(Av(e.decorators)))},hasNgSideEffect:function(e){return Lv(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))},hasNode:Lv,hasPrettierIgnore:function(e){return Ov(e)||function(e){var t=e.getValue(),n=e.getParentNode();if(!n||!t||!Wv(t)||!Wv(n))return!1;for(var r=null,i=n.children.indexOf(t);i>0;i--){var o=n.children[i-1];if("JSXText"!==o.type||Zv(o)){r=o;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.find((function(e){return"prettier-ignore"===e.value.trim()}))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some((function(e){return e.trailing}))},identity:function(e){return e},isBinaryish:function(e){return"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type},isCallOrOptionalCallExpression:Qv,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return zv(t)&&!Zv(t)},isExportDeclaration:Bv,isFlowAnnotationComment:function(e,t,n){var r=n.locStart(t),i=Nv(e,n.locEnd(t));return"/*"===e.slice(r,r+2)&&"*/"===e.slice(i,i+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t,n=0,r=s(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(Vv(i)){if((n+=1)>1)return!0}else if(Qv(i)){var o,a=s(i.arguments);try{for(a.s();!(o=a.n()).done;)if(Vv(o.value))return!0}catch(u){a.e(u)}finally{a.f()}}}}catch(u){r.e(u)}finally{r.f()}return!1},isFunctionNotation:Jv,isFunctionOrArrowExpression:Vv,isGetterOrSetter:Gv,isJestEachTemplateLiteral:function(e,t){var n=/^[xf]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:Wv,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&zv(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){var t=e.getParentNode();if(!t)return!0;var n=e.getValue(),r=(t.body||t.consequent).filter((function(e){return"EmptyStatement"!==e.type}));return r&&r[r.length-1]===n},isLiteral:zv,isLongCurriedCallExpression:function(e){var t=e.getValue(),n=e.getParentNode();return Qv(t)&&Qv(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;var r=function(t){return e(t,n+1)},i="Literal"===t.type&&t.regex&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"BigIntLiteral"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"RegExpLiteral"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every((function(e){return!e.computed&&(e.shorthand||e.value&&r(e.value))})):"ArrayExpression"===t.type?t.elements.every(r):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:Zv,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&e.object},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Uv,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return("ObjectTypeProperty"===e.type||"ObjectTypeInternalSlot"===e.type)&&"FunctionTypeAnnotation"===e.value.type&&!e.static&&!Jv(e,t)},isSimpleFlowType:function(e){return e&&["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"].includes(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every((function(e){if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){for(var t=e;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if((t=t.object).comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:qv,isStringPropSafeToCoerceToIdentifier:function(e,t){return qv(e.key)&&Iv(e.key.value)&&"json"!==t.parser&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&ty(e)||"TaggedTemplateExpression"===e.type&&ty(e.quasi))&&!Tv(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(Hv(t)&&n&&e(n))return Vv(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return Hv(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Yv.test(t.callee.name)||("MemberExpression"===(r=t).callee.type||"OptionalMemberExpression"===r.callee.type)&&"Identifier"===r.callee.object.type&&"Identifier"===r.callee.property.type&&Yv.test(r.callee.object.name)&&("only"===r.callee.property.name||"skip"===r.callee.property.name))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||qv(t.arguments[0])))return!(t.arguments[2]&&!Uv(t.arguments[2]))&&((2===t.arguments.length?Vv(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||Hv(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Wv(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e,t){return("TypeAnnotation"===e.type||"TSTypeAnnotation"===e.type)&&"FunctionTypeAnnotation"===e.typeAnnotation.type&&!e.static&&!Kv(e,e.typeAnnotation,t)},matchJsxWhitespaceRegex:$v,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;var t=Av(e.comments.filter((function(e){return!e.leading&&!e.trailing})));return t&&!$g.isBlockComment(t)},rawText:ny,returnArgumentHasLeadingComment:function(e,t){if(ey(e.originalText,t,e))return!0;if(Pv(t))for(var n,r=t;n=(i=r).expressions?i.expressions[0]:i.left||i.test||i.callee||i.object||i.tag||i.argument||i.expression;)if(r=n,ey(e.originalText,r,e))return!0;var i;return!1}},iy=ry.getLeftSidePathName,oy=ry.hasFlowShorthandAnnotationComment,ay=ry.hasNakedLeftSide,sy=ry.hasNode;function uy(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),i=e.getNode();if(e.getValue()!==i)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&cy(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForAwaitStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&oy(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));if("ParenthesizedExpression"===n.type)return!1;if(("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===i&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type))return!0;if("ExportDefaultDeclaration"===n.type)return function e(t,n){var r=t.getValue(),i=t.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===i.type||!uy(t,n):!(!ay(r)||"ExportDefaultDeclaration"!==i.type&&uy(t,n))&&t.call.apply(t,[function(t){return e(t,n)}].concat(u(iy(t,r))))}(e,t)||"SequenceExpression"===i.type;if("Decorator"===n.type&&n.expression===i){for(var o=!1,a=!1,s=i;s;)switch(s.type){case"MemberExpression":a=!0,s=s.object;break;case"CallExpression":if(a||o)return!0;o=!0,s=s.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===n.type&&n.body===i&&"SequenceExpression"!==i.type&&Ma.startsWithNoLookaheadToken(i,!1)||"ExpressionStatement"===n.type&&Ma.startsWithNoLookaheadToken(i,!0))return!0;switch(i.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===n.type&&"object"===r&&n.object===i;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"**"===n.operator&&"left"===r;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type)return!0;if("in"===i.operator&&function(t){for(var n=0;t;){var r=e.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===t)return!0;t=r}return!1}(i))return!0;case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r&&n.superClass===i;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return n.left===i&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":if(!i.operator&&"TSTypeAssertion"!==i.type)return!0;var c=n.operator,l=Ma.getPrecedence(c),p=i.operator,f=Ma.getPrecedence(p);return l>f||(l===f&&"right"===r?(Wo.strictEqual(n.right,i),!0):l===f&&!Ma.shouldFlatten(c,p)||(l<f&&"%"===p?"+"===c||"-"===c:!!Ma.isBitwiseOperator(c)));default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==r;case"ArrowFunctionExpression":return"body"!==r;default:return!0}case"YieldExpression":if("UnaryExpression"===n.type||"AwaitExpression"===n.type||"TSAsExpression"===n.type||"TSNonNullExpression"===n.type)return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"BinaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return n.test===i;default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("TSConditionalType"===n.type&&i===n.extendsType)return!0;case"TSFunctionType":case"TSConstructorType":if("TSConditionalType"===n.type&&i===n.checkType)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSTypeOperator":case"TSInferType":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"TSIndexedAccessType"===n.type&&i===n.objectType||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":var d="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===d.type||"IntersectionTypeAnnotation"===d.type||"ArrayTypeAnnotation"===d.type||"NullableTypeAnnotation"===d.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"===typeof i.value&&"ExpressionStatement"===n.type&&("typescript"!==t.parser&&!n.directive||"typescript"===t.parser&&"("===t.originalText.charAt(t.locStart(i)-1))){var h=e.getParentNode(1);return"Program"===h.type||"BlockStatement"===h.type}return"MemberExpression"===n.type&&"number"===typeof i.value&&"object"===r&&n.object===i;case"AssignmentExpression":var m=e.getParentNode(1);return"ArrowFunctionExpression"===n.type&&n.body===i||("ClassProperty"!==n.type||n.key!==i||!n.computed)&&("TSPropertySignature"!==n.type||n.name!==i)&&("ForStatement"!==n.type||n.init!==i&&n.update!==i)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("TSPropertySignature"!==n.type||n.key!==i)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!m||"ForStatement"!==m.type||m.init!==n&&m.update!==n)&&("Property"!==n.type||n.value!==i)&&"NGChainedExpression"!==n.type);case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r&&n.test===i;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"BinaryExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r&&n.callee===i;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":if("MemberExpression"===n.type&&"object"===r||("CallExpression"===n.type||"NewExpression"===n.type)&&"callee"===r)return!0;case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r)for(var g=i;g;)switch(g.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":g=g.object;break;case"TaggedTemplateExpression":g=g.tag;break;case"TSNonNullExpression":g=g.expression;break;default:return!1}return!1;case"BindExpression":return("BindExpression"===n.type||"NewExpression"===n.type)&&"callee"===r||("MemberExpression"===n.type||"OptionalMemberExpression"===n.type)&&"object"===r;case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||"ObjectProperty"===n.type||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"NGPipeExpression"===n.type&&"right"===r||"MemberExpression"===n.type&&"property"===r||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return sy(e,(function(e){return"ObjectTypeAnnotation"===e.type&&sy(e,(function(e){return"FunctionTypeAnnotation"===e.type||void 0}))||void 0}))}(i)}return!1}function cy(e){var t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"===typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(cy);break;case"ObjectProperty":if("value"===r){var i=e.getParentNode(1);return i.properties[i.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(cy);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(cy);break;case"UnaryExpression":if(n.prefix)return e.callParent(cy)}return!1}var ly=uy,py=rs.builders,fy=py.concat,dy=py.join,hy=py.line,my=function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},gy=function(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=e.getValue().params;return fy([t.length>1?"(":"",dy(fy([",",hy]),e.map(n,"params")),t.length>1?")":""])}),"program","body",0):t.__isVueSlotScope?e.call((function(e){return dy(fy([",",hy]),e.map(n,"params"))}),"program","body",0):void 0},vy=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},yy=Ma.shouldFlatten,by=Ma.getNextNonSpaceNonCommentCharacter,xy=Ma.hasNewline,Ey=Ma.hasNewlineInRange,Dy=Ma.getLast,Cy=Ma.getStringWidth,wy=Ma.printString,Sy=Ma.printNumber,ky=Ma.hasIgnoreComment,Ay=Ma.hasNodeIgnoreComment,Ty=Ma.getPenultimate,_y=Ma.startsWithNoLookaheadToken,Oy=Ma.getIndentSize,Fy=Ma.getPreferredQuote,Ny=is.isNextLineEmpty,Iy=is.isNextLineEmptyAfterIndex,My=is.getNextNonSpaceNonCommentCharacterIndex,jy=bu.insertPragma,Ly=gy,Py=my,Ry=ry.classChildNeedsASIProtection,By=ry.classPropMayCauseASIProblems,zy=ry.conditionalExpressionChainContainsJSX,Uy=ry.getFlowVariance,qy=ry.getLeftSidePathName,Vy=ry.getParentExportDeclaration,Hy=ry.getTypeScriptMappedTypeModifier,Wy=ry.hasDanglingComments,Gy=ry.hasFlowAnnotationComment,Ky=ry.hasFlowShorthandAnnotationComment,Jy=ry.hasLeadingComment,Yy=ry.hasLeadingOwnLineComment,Qy=ry.hasNakedLeftSide,$y=ry.hasNewlineBetweenOrAfterDecorators,Xy=ry.hasNgSideEffect,Zy=ry.hasPrettierIgnore,eb=ry.hasTrailingComment,tb=ry.identity,nb=ry.isBinaryish,rb=ry.isCallOrOptionalCallExpression,ib=ry.isEmptyJSXElement,ob=ry.isExportDeclaration,ab=ry.isFlowAnnotationComment,sb=ry.isFunctionCompositionArgs,ub=ry.isFunctionNotation,cb=ry.isFunctionOrArrowExpression,lb=ry.isGetterOrSetter,pb=ry.isJestEachTemplateLiteral,fb=ry.isJSXNode,db=ry.isJSXWhitespaceExpression,hb=ry.isLastStatement,mb=ry.isLiteral,gb=ry.isLongCurriedCallExpression,vb=ry.isMeaningfulJSXText,yb=ry.isMemberExpressionChain,bb=ry.isMemberish,xb=ry.isNgForOf,Eb=ry.isNumericLiteral,Db=ry.isObjectType,Cb=ry.isObjectTypePropertyAFunction,wb=ry.isSimpleCallArgument,Sb=ry.isSimpleFlowType,kb=ry.isSimpleTemplateLiteral,Ab=ry.isStringLiteral,Tb=ry.isStringPropSafeToCoerceToIdentifier,_b=ry.isTemplateOnItsOwnLine,Ob=ry.isTestCall,Fb=ry.isTheOnlyJSXElementInMarkdown,Nb=ry.isTSXFile,Ib=ry.isTypeAnnotationAFunction,Mb=ry.matchJsxWhitespaceRegex,jb=ry.needsHardlineAfterDanglingComment,Lb=ry.rawText,Pb=ry.returnArgumentHasLeadingComment,Rb=new WeakMap,Bb=rs.builders,zb=Bb.concat,Ub=Bb.join,qb=Bb.line,Vb=Bb.hardline,Hb=Bb.softline,Wb=Bb.literalline,Gb=Bb.group,Kb=Bb.indent,Jb=Bb.align,Yb=Bb.conditionalGroup,Qb=Bb.fill,$b=Bb.ifBreak,Xb=Bb.breakParent,Zb=Bb.lineSuffixBoundary,ex=Bb.addAlignmentToDoc,tx=Bb.dedent,nx=rs.utils,rx=nx.willBreak,ix=nx.isLineNext,ox=nx.isEmpty,ax=nx.removeLines,sx=rs.printer.printDocToString,ux=0;function cx(e,t){switch(t=t||"es5",e.trailingComma){case"all":if("all"===t)return!0;case"es5":if("es5"===t)return!0;case"none":default:return!1}}function lx(e,t,n){var r=e.getValue();return Gb(zb([Ub(qb,e.map(n,"decorators")),$y(r,t)?Vb:qb]))}function px(e,t,n,r){var i,o,a=e.getValue(),s=a[r.consequentNodePropertyName],u=a[r.alternateNodePropertyName],c=[],l=!1,p=e.getParentNode(),f=p.type===r.conditionalNodeType&&r.testNodePropertyNames.some((function(e){return p[e]===a})),d=p.type===r.conditionalNodeType&&!f,h=0;do{o=i||a,i=e.getParentNode(h),h++}while(i&&i.type===r.conditionalNodeType&&r.testNodePropertyNames.every((function(e){return i[e]!==o})));var m=i||p,g=o;if(r.shouldCheckJsx&&(fb(a[r.testNodePropertyNames[0]])||fb(s)||fb(u)||zy(g))){l=!0,d=!0;var v=function(e){return zb([$b("(",""),Kb(zb([Hb,e])),Hb,$b(")","")])},y=function(e){return"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name};c.push(" ? ",y(s)?e.call(n,r.consequentNodePropertyName):v(e.call(n,r.consequentNodePropertyName))," : ",u.type===r.conditionalNodeType||y(u)?e.call(n,r.alternateNodePropertyName):v(e.call(n,r.alternateNodePropertyName)))}else{var b=zb([qb,"? ",s.type===r.conditionalNodeType?$b("","("):"",Jb(2,e.call(n,r.consequentNodePropertyName)),s.type===r.conditionalNodeType?$b("",")"):"",qb,": ",u.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):Jb(2,e.call(n,r.alternateNodePropertyName))]);c.push(p.type!==r.conditionalNodeType||p[r.alternateNodePropertyName]===a||f?b:t.useTabs?tx(Kb(b)):Jb(Math.max(0,t.tabWidth-2),b))}var x,E=!l&&("MemberExpression"===p.type||"OptionalMemberExpression"===p.type||"NGPipeExpression"===p.type&&p.left===a)&&!p.computed,D=function(e){return p===m?Gb(e):e}(zb([].concat((x=zb(r.beforeParts()),p.type===r.conditionalNodeType&&p[r.alternateNodePropertyName]===a?Jb(2,x):x),d?zb(c):Kb(zb(c)),r.afterParts(E))));return f?Gb(zb([Kb(zb([Hb,D])),Hb])):D}function fx(e,t,n){var r=[],i=e.getNode(),o="ClassBody"===i.type;return e.map((function(e,a){var s=e.getValue();if(s&&"EmptyStatement"!==s.type){var c=n(e),l=t.originalText,p=[];if(t.semi||o||Fb(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return function e(t,n){var r=t.getValue();return!!(ly(t,n)||"ParenthesizedExpression"===r.type||"TypeCastExpression"===r.type||"ArrowFunctionExpression"===r.type&&!Ex(t,n)||"ArrayExpression"===r.type||"ArrayPattern"===r.type||"UnaryExpression"===r.type&&r.prefix&&("+"===r.operator||"-"===r.operator)||"TemplateLiteral"===r.type||"TemplateElement"===r.type||fb(r)||"BindExpression"===r.type&&!r.object||"RegExpLiteral"===r.type||"Literal"===r.type&&r.pattern||"Literal"===r.type&&r.regex)||!!Qy(r)&&t.call.apply(t,[function(t){return e(t,n)}].concat(u(qy(t,r))))}(e,t)}),"expression")}(e,t)?p.push(c):s.comments&&s.comments.some((function(e){return e.leading}))?p.push(n(e,{needsSemi:!0})):p.push(";",c),!t.semi&&o)if(By(e))p.push(";");else if("ClassProperty"===s.type){var f=i.body[a+1];Ry(f)&&p.push(";")}Ny(l,s,t.locEnd)&&!hb(e)&&p.push(Vb),r.push(zb(p))}})),Ub(Vb,r)}function dx(e,t,n){var r=e.getNode();if(r.computed)return zb(["[",e.call(n,"key"),"]"]);var i=e.getParentNode(),o=r.key;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return zb(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!Rb.has(i)){var a=(i.properties||i.body||i.members).some((function(e){return!e.computed&&e.key&&Ab(e.key)&&!Tb(e,t)}));Rb.set(i,a)}if("Identifier"===o.type&&("json"===t.parser||"consistent"===t.quoteProps&&Rb.get(i))){var s=wy(JSON.stringify(o.name),t);return e.call((function(e){return ks.printComments(e,(function(){return s}),t)}),"key")}return Tb(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!Rb.get(i))?e.call((function(e){return ks.printComments(e,(function(){return o.value}),t)}),"key"):e.call(n,"key")}function hx(e,t,n){var r=e.getNode(),i=r.kind,o=r.value||r,a=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(Wo.ok("get"===i||"set"===i),a.push(i," ")):(o.async&&a.push("async "),o.generator&&a.push("*")),a.push(dx(e,t,n),r.optional||r.key.optional?"?":"",r===o?mx(e,t,n):e.call((function(e){return mx(e,t,n)}),"value")),zb(a)}function mx(e,t,n){var r=[bx(e,0,n),Gb(zb([xx(e,n,t),Cx(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),zb(r)}function gx(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&gx(e.expression)||"TSAsExpression"===e.type&&gx(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||fb(e.body))}function vx(e,t,n){var r=e.getValue(),i=r.arguments;if(0===i.length)return zb(["(",ks.printDanglingComments(e,t,!0),")"]);if(2===i.length&&"ArrowFunctionExpression"===i[0].type&&0===i[0].params.length&&"BlockStatement"===i[0].body.type&&"ArrayExpression"===i[1].type&&!i.find((function(e){return e.comments})))return zb(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);var o=!1,a=!1,s=!1,u=i.length-1,c=e.map((function(e,r){var i=e.getNode(),c=[n(e)];return r===u||(Ny(t.originalText,i,t.locEnd)?(0===r&&(s=!0),o=!0,c.push(",",Vb,Vb)):c.push(",",qb)),a=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;var r=!1;return t.each((function(e){var t=zb([n(e)]);r=r||rx(t)}),"params"),r}(i,e),zb(c)}),"arguments"),p=r.callee&&"Import"===r.callee.type||!cx(t,"all")?"":",";function f(){return Gb(zb(["(",Kb(zb([qb,zb(c)])),p,qb,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&sb(i))return f();var d=function(e){if(2!==e.length)return!1;var t=l(e,2),n=t[0],r=t[1];return(!n.comments||!n.comments.length)&&("FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type&&"BlockStatement"===n.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!gx(r)}(i),h=function(e){var t=Dy(e),n=Ty(e);return!Jy(t)&&!eb(t)&&gx(t)&&(!n||n.type!==t.type)}(i);if(d||h){var m,g=(d?c.slice(1).some(rx):c.slice(0,-1).some(rx))||o||a,v=0;e.each((function(e){d&&0===v&&(m=[zb([e.call((function(e){return n(e,{expandFirstArg:!0})})),c.length>1?",":"",s?Vb:qb,s?Vb:""])].concat(c.slice(1))),h&&v===i.length-1&&(m=c.slice(0,-1).concat(e.call((function(e){return n(e,{expandLastArg:!0})})))),v++}),"arguments");var y=c.some(rx),b=zb(["(",zb(m),")"]);return zb([y?Xb:"",Yb([y||r.typeArguments||r.typeParameters?$b(f(),b):b,zb(d?["(",Gb(m[0],{shouldBreak:!0}),zb(m.slice(1)),")"]:["(",zb(c.slice(0,-1)),Gb(Dy(m),{shouldBreak:!0}),")"]),f()],{shouldBreak:g})])}var x=zb(["(",Kb(zb([Hb,zb(c)])),$b(p),Hb,")"]);return gb(e)?x:Gb(x,{shouldBreak:c.some(rx)||o})}function yx(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,a="DeclareFunction"===i.type&&i.id===r;return ab(t.originalText,r.typeAnnotation,t)?zb([" /*: ",e.call(n,"typeAnnotation")," */"]):zb([a?"":o?"!: ":": ",e.call(n,"typeAnnotation")])}function bx(e,t,n){var r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""}function xx(e,t,n,r,i){var o=e.getValue(),a=e.getParentNode(),s=o.parameters?"parameters":"params",u=Ob(a),c=Ux(o),l=r&&!(o[s]&&o[s].some((function(e){return e.comments}))),p=i?bx(e,0,t):"",f=[];if(o[s]){var d=o[s].length-1;f=e.map((function(e,r){var i=[],a=e.getValue();return i.push(t(e)),r===d?o.rest&&i.push(",",qb):u||c||l?i.push(", "):Ny(n.originalText,a,n.locEnd)?i.push(",",Vb,Vb):i.push(",",qb),zb(i)}),s)}if(o.rest&&f.push(zb(["...",e.call(t,"rest")])),0===f.length)return zb([p,"(",ks.printDanglingComments(e,n,!0,(function(e){return")"===by(n.originalText,e,n.locEnd)})),")"]);var h=Dy(o[s]);if(l)return Gb(zb([ax(p),"(",zb(f.map(ax)),")"]));var m=o[s].every((function(e){return!e.decorators}));if(c&&m)return zb([p,"(",zb(f),")"]);if(u)return zb([p,"(",zb(f),")"]);if((Cb(a,n)||Ib(a,n)||"TypeAlias"===a.type||"UnionTypeAnnotation"===a.type||"TSUnionType"===a.type||"IntersectionTypeAnnotation"===a.type||"FunctionTypeAnnotation"===a.type&&a.returnType===o)&&1===o[s].length&&null===o[s][0].name&&o[s][0].typeAnnotation&&null===o.typeParameters&&Sb(o[s][0].typeAnnotation)&&!o.rest)return"always"===n.arrowParens?zb(["(",zb(f),")"]):zb(f);var g=!(h&&"RestElement"===h.type)&&!o.rest;return zb([p,"(",Kb(zb([Hb,zb(f)])),$b(g&&cx(n,"all")?",":""),Hb,")"])}function Ex(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){return 1===e.params.length&&!e.rest&&!e.typeParameters&&!Wy(e)&&"Identifier"===e.params[0].type&&!e.params[0].typeAnnotation&&!e.params[0].comments&&!e.params[0].optional&&!e.predicate&&!e.returnType}(e.getValue())}function Dx(e,t,n){var r=e.getValue(),i=[];return r.async&&i.push("async "),r.generator?i.push("function* "):i.push("function "),r.id&&i.push(e.call(t,"id")),i.push(bx(e,0,t),Gb(zb([xx(e,t,n),Cx(e,t,n)])),r.body?" ":"",e.call(t,"body")),zb(i)}function Cx(e,t,n){var r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&ab(n.originalText,r.returnType,n))return zb([" /*: ",i," */"]);var o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),zb(o)}function wx(e,t,n){var r=e.getValue(),i=t.semi?";":"",o=["export "],a=r.default||"ExportDefaultDeclaration"===r.type;if(a&&o.push("default "),o.push(ks.printDanglingComments(e,t,!0)),jb(r)&&o.push(Vb),r.declaration)o.push(e.call(n,"declaration")),a&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&o.push(i);else{if(r.specifiers&&r.specifiers.length>0){var s=[],u=[],c=[];e.each((function(t){var r=e.getValue().type;"ExportSpecifier"===r?s.push(n(t)):"ExportDefaultSpecifier"===r?u.push(n(t)):"ExportNamespaceSpecifier"===r&&c.push(zb(["* as ",n(t)]))}),"specifiers");var l=0!==c.length&&0!==s.length,p=0!==u.length&&(0!==c.length||0!==s.length),f=s.length>1||u.length>0||r.specifiers&&r.specifiers.some((function(e){return e.comments})),d="";0!==s.length&&(d=f?Gb(zb(["{",Kb(zb([t.bracketSpacing?qb:Hb,Ub(zb([",",qb]),s)])),$b(cx(t)?",":""),t.bracketSpacing?qb:Hb,"}"])):zb(["{",t.bracketSpacing?" ":"",zb(s),t.bracketSpacing?" ":"","}"])),o.push("type"===r.exportKind?"type ":"",zb(u),zb([p?", ":""]),zb(c),zb([l?", ":""]),d)}else o.push("{}");r.source&&o.push(" from ",e.call(n,"source")),o.push(i)}return zb(o)}function Sx(e,t){var n=Vy(e);return n?Wo.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),zb(t)}function kx(e,t,n){var r=e.getValue();return r.modifiers&&r.modifiers.length?zb([Ub(" ",e.map(n,"modifiers"))," "]):""}function Ax(e,t,n,r){var i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);var o=e.getNode(2),a=e.getNode(3),s=e.getNode(4);return null!=o&&Ob(o)||0===i[r].length||1===i[r].length&&(zx(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&zx(i[r][0].id)||"TSTypeReference"===i[r][0].type&&zx(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type||s&&"VariableDeclarator"===s.type&&"TSTypeAnnotation"===o.type&&"ArrowFunctionExpression"!==a.type&&"TSUnionType"!==i[r][0].type&&"UnionTypeAnnotation"!==i[r][0].type&&"TSIntersectionType"!==i[r][0].type&&"IntersectionTypeAnnotation"!==i[r][0].type&&"TSConditionalType"!==i[r][0].type&&"TSMappedType"!==i[r][0].type&&"TSTypeOperator"!==i[r][0].type&&"TSIndexedAccessType"!==i[r][0].type&&"TSArrayType"!==i[r][0].type)?zb(["<",Ub(", ",e.map(n,r)),function(n){if(!Wy(n))return"";var r=n.comments.every($g.isBlockComment),i=ks.printDanglingComments(e,t,r);return r?i:zb([i,Vb])}(i),">"]):Gb(zb(["<",Kb(zb([Hb,Ub(zb([",",qb]),e.map(n,r))])),$b("typescript"!==t.parser&&"babel-ts"!==t.parser&&cx(t,"all")?",":""),Hb,">"]))}function Tx(e,t,n){var r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class"),r.id&&i.push(" ",e.call(n,"id")),i.push(e.call(n,"typeParameters"));var o=[];if(r.superClass){var a=zb(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]);r.implements&&0!==r.implements.length||r.superClass.comments&&0!==r.superClass.comments.length?o.push(Gb(zb([qb,e.call((function(e){return ks.printComments(e,(function(){return a}),t)}),"superClass")]))):i.push(zb([" ",e.call((function(e){return ks.printComments(e,(function(){return a}),t)}),"superClass")]))}else r.extends&&r.extends.length>0&&i.push(" extends ",Ub(", ",e.map(n,"extends")));return r.mixins&&r.mixins.length>0&&o.push(qb,"mixins ",Gb(Kb(Ub(zb([",",qb]),e.map(n,"mixins"))))),r.implements&&r.implements.length>0&&o.push(qb,"implements",Gb(Kb(zb([qb,Ub(zb([",",qb]),e.map(n,"implements"))])))),o.length>0&&i.push(Gb(Kb(zb(o)))),r.body&&r.body.comments&&Yy(t.originalText,r.body,t)?i.push(Vb):i.push(" "),i.push(e.call(n,"body")),i}function _x(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function Ox(e,t,n){var r=e.call(n,"property"),i=e.getValue(),o=_x(e);return i.computed?!i.property||Eb(i.property)?zb([o,"[",r,"]"]):Gb(zb([o,"[",Kb(zb([Hb,r])),Hb,"]"])):zb([o,".",r])}function Fx(e,t,n){return zb(["::",e.call(n,"callee")])}function Nx(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?Hb:Vb:Hb}function Ix(e,t,n,r){return e?Vb:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?Vb:Hb:Vb}function Mx(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!fb(e.right))}function jx(e,t,n,r){return Yy(r.originalText,t,r)?Kb(zb([qb,n])):nb(t)&&!Mx(t)||"ConditionalExpression"===t.type&&nb(t.test)&&!Mx(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||Ab(e)||"MemberExpression"===e.type)&&(Ab(t)||yb(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?Gb(Kb(zb([qb,n]))):zb([" ",n])}function Lx(e,t,n,r,i,o){if(!r)return t;var a=jx(e,r,i,o);return Gb(zb([t,n,a]))}function Px(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?zb([" ",t]):Kb(zb([qb,t]))}function Rx(e,t,n){var r=Lb(e),i=n||"DirectiveLiteral"===e.type;return wy(r,t,i)}function Bx(e){var t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function zx(e){if(Sb(e)||Db(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,n=e.types.some((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}));if(e.types.length-1===t&&n)return!0}return!1}function Ux(e){if(!e||e.rest)return!1;var t=e.params||e.parameters;if(!t||1!==t.length)return!1;var n=t[0];return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&Db(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&Db(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}function qx(e,t,n,r){var i=[],o=[];return e.each((function(e){i.push(zb(o)),i.push(Gb(r(e))),o=[",",qb],e.getValue()&&Ny(t.originalText,e.getValue(),t.locEnd)&&o.push(Hb)}),n),zb(i)}function Vx(e,t,n){var r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(Pb(t,r.argument)?o.push(zb([" (",Kb(zb([Vb,e.call(n,"argument")])),Vb,")"])):"LogicalExpression"===r.argument.type||"BinaryExpression"===r.argument.type||"SequenceExpression"===r.argument.type?o.push(Gb(zb([$b(" ("," "),Kb(zb([Hb,e.call(n,"argument")])),Hb,$b(")")]))):o.push(" ",e.call(n,"argument")));var a=Array.isArray(r.comments)&&r.comments[r.comments.length-1],s=a&&("CommentLine"===a.type||"Line"===a.type);return s&&o.push(i),Wy(r)&&o.push(" ",ks.printDanglingComments(e,t,!0)),s||o.push(i),zb(o)}var Hx={preprocess:vy,print:function(e,t,n,r){var i=e.getValue(),o=!1,a=function(e,t,n,r){var i=e.getValue(),o=t.semi?";":"";if(!i)return"";if("string"===typeof i)return i;var a=Ly(e,t,n);if(a)return a;var c=[];switch(i.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return zb([e.call(n,"node"),Vb]);case"File":return i.program&&i.program.interpreter&&c.push(e.call((function(e){return e.call(n,"interpreter")}),"program")),c.push(e.call(n,"program")),zb(c);case"Program":return i.directives&&e.each((function(e){c.push(n(e),o,Vb),Ny(t.originalText,e.getValue(),t.locEnd)&&c.push(Vb)}),"directives"),c.push(e.call((function(e){return fx(e,t,n)}),"body")),c.push(ks.printDanglingComments(e,t,!0)),(i.body.length||i.comments)&&c.push(Vb),zb(c);case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return zb([Rx(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){var l=e.getParentNode();if("Program"===l.type&&1===l.body.length&&l.body[0]===i)return zb([e.call(n,"expression"),Py(i.expression)?";":""])}return zb([e.call(n,"expression"),Fb(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?Gb(zb(["(",Kb(zb([Hb,e.call(n,"expression")])),Hb,")"])):zb(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return Lx(i.left,e.call(n,"left"),zb([" ",i.operator]),i.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":var p=e.getParentNode(),f=e.getParentNode(1),d=i!==p.body&&("IfStatement"===p.type||"WhileStatement"===p.type||"SwitchStatement"===p.type||"DoWhileStatement"===p.type),h=function e(t,n,r,i,o){var a=[],s=t.getValue();if(nb(s)){yy(s.operator,s.left.operator)?a=a.concat(t.call((function(t){return e(t,n,r,!0,o)}),"left")):a.push(t.call(n,"left"));var u=Mx(s),c=("|>"===s.operator||"NGPipeExpression"===s.type||"|"===s.operator&&"__vue_expression"===r.parser)&&!Yy(r.originalText,s.right,r),l="NGPipeExpression"===s.type?"|":s.operator,p="NGPipeExpression"===s.type&&0!==s.arguments.length?Gb(Kb(zb([Hb,": ",Ub(zb([Hb,":",$b(" ")]),t.map(n,"arguments").map((function(e){return Jb(2,Gb(e))})))]))):"",f=zb(u?[l," ",t.call(n,"right"),p]:[c?Hb:"",l,c?" ":qb,t.call(n,"right"),p]),d=t.getParentNode(),h=!(o&&"LogicalExpression"===s.type)&&d.type!==s.type&&s.left.type!==s.type&&s.right.type!==s.type;a.push(" ",h?Gb(f):f),i&&s.comments&&(a=ks.printComments(t,(function(){return zb(a)}),r))}else a.push(t.call(n));return a}(e,n,t,!1,d);if(d)return zb(h);if(("CallExpression"===p.type||"OptionalCallExpression"===p.type)&&p.callee===i||"UnaryExpression"===p.type||("MemberExpression"===p.type||"OptionalMemberExpression"===p.type)&&!p.computed)return Gb(zb([Kb(zb([Hb,zb(h)])),Hb]));var m="ReturnStatement"===p.type||"ThrowStatement"===p.type||"JSXExpressionContainer"===p.type&&"JSXAttribute"===f.type||"|"!==i.operator&&"JsExpressionRoot"===p.type||"NGPipeExpression"!==i.type&&("NGRoot"===p.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===p.type&&"NGMicrosyntax"===f.type&&1===f.body.length)||i===p.body&&"ArrowFunctionExpression"===p.type||i!==p.body&&"ForStatement"===p.type||"ConditionalExpression"===p.type&&"ReturnStatement"!==f.type&&"ThrowStatement"!==f.type&&"CallExpression"!==f.type&&"OptionalCallExpression"!==f.type||"TemplateLiteral"===p.type,g="AssignmentExpression"===p.type||"VariableDeclarator"===p.type||"ClassProperty"===p.type||"TSAbstractClassProperty"===p.type||"ClassPrivateProperty"===p.type||"ObjectProperty"===p.type||"Property"===p.type,v=nb(i.left)&&yy(i.operator,i.left.operator);if(m||Mx(i)&&!v||!Mx(i)&&g)return Gb(zb(h));if(0===h.length)return"";var y=fb(i.right),b=zb(y?h.slice(1,-1):h.slice(1)),x=Symbol("logicalChain-"+ ++ux),E=Gb(zb([h.length>0?h[0]:"",Kb(b)]),{id:x});if(!y)return E;var D=Dy(h);return Gb(zb([E,$b(Kb(D),D,{groupId:x})]));case"AssignmentPattern":return zb([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":var C=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),w=Gb(zb(["<",Kb(zb([Hb,e.call(n,"typeAnnotation")])),Hb,">"])),S=zb([$b("("),Kb(zb([Hb,e.call(n,"expression")])),Hb,$b(")")]);return C?Yb([zb([w,e.call(n,"expression")]),zb([w,Gb(S,{shouldBreak:!0})]),zb([w,e.call(n,"expression")])]):Gb(zb([w,e.call(n,"expression")]));case"OptionalMemberExpression":case"MemberExpression":var k,A=e.getParentNode(),T=0;do{k=e.getParentNode(T),T++}while(k&&("MemberExpression"===k.type||"OptionalMemberExpression"===k.type||"TSNonNullExpression"===k.type));var _=k&&("NewExpression"===k.type||"BindExpression"===k.type||"VariableDeclarator"===k.type&&"Identifier"!==k.id.type||"AssignmentExpression"===k.type&&"Identifier"!==k.left.type)||i.computed||"Identifier"===i.object.type&&"Identifier"===i.property.type&&"MemberExpression"!==A.type&&"OptionalMemberExpression"!==A.type;return zb([e.call(n,"object"),_?Ox(e,0,n):Gb(Kb(zb([Hb,Ox(e,0,n)])))]);case"MetaProperty":return zb([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&c.push(e.call(n,"object")),c.push(Gb(Kb(zb([Hb,Fx(e,0,n)])))),zb(c);case"Identifier":return zb([i.name,_x(e),yx(e,t,n)]);case"V8IntrinsicIdentifier":return zb(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return zb(["...",e.call(n,"argument"),yx(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return c.push(Dx(e,n,t)),i.body||c.push(o),zb(c);case"ArrowFunctionExpression":i.async&&c.push("async "),Ex(e,t)?c.push(e.call(n,"params",0)):c.push(Gb(zb([xx(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Cx(e,n,t)])));var O=ks.printDanglingComments(e,t,!0,(function(e){var n=My(t.originalText,e,t.locEnd);return"=>"===t.originalText.slice(n,n+2)}));O&&c.push(" ",O),c.push(" =>");var F=e.call((function(e){return n(e,r)}),"body");if(!Yy(t.originalText,i.body,t)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||fb(i.body)||_b(i.body,t.originalText,t)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return Gb(zb([zb(c)," ",F]));if("SequenceExpression"===i.body.type)return Gb(zb([zb(c),Gb(zb([" (",Kb(zb([Hb,F])),Hb,")"]))]));var N=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),I=r&&r.expandLastArg&&cx(t,"all"),M="ConditionalExpression"===i.body.type&&!_y(i.body,!1);return Gb(zb([zb(c),Gb(zb([Kb(zb([qb,M?$b("","("):"",F,M?$b("",")"):""])),N?zb([$b(I?",":""),Hb]):""]))]));case"YieldExpression":return c.push("yield"),i.delegate&&c.push("*"),i.argument&&c.push(" ",e.call(n,"argument")),zb(c);case"AwaitExpression":c.push("await ",e.call(n,"argument"));var j=e.getParentNode();return("CallExpression"===j.type||"OptionalCallExpression"===j.type)&&j.callee===i||("MemberExpression"===j.type||"OptionalMemberExpression"===j.type)&&j.object===i?Gb(zb([Kb(zb([Hb,zb(c)])),Hb])):zb(c);case"ImportSpecifier":return i.importKind&&c.push(e.call(n,"importKind")," "),c.push(e.call(n,"imported")),i.local&&i.local.name!==i.imported.name&&c.push(" as ",e.call(n,"local")),zb(c);case"ExportSpecifier":return c.push(e.call(n,"local")),i.exported&&i.exported.name!==i.local.name&&c.push(" as ",e.call(n,"exported")),zb(c);case"ImportNamespaceSpecifier":return c.push("* as "),c.push(e.call(n,"local")),zb(c);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return zb(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return wx(e,t,n);case"ExportAllDeclaration":return c.push("export "),"type"===i.exportKind&&c.push("type "),c.push("* "),i.exported&&c.push("as ",e.call(n,"exported")," "),c.push("from ",e.call(n,"source"),o),zb(c);case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":c.push("import "),i.importKind&&"value"!==i.importKind&&c.push(i.importKind+" ");var L=[],P=[];return i.specifiers&&i.specifiers.length>0?(e.each((function(e){var t=e.getValue();"ImportDefaultSpecifier"===t.type||"ImportNamespaceSpecifier"===t.type?L.push(n(e)):P.push(n(e))}),"specifiers"),L.length>0&&c.push(Ub(", ",L)),L.length>0&&P.length>0&&c.push(", "),1===P.length&&0===L.length&&i.specifiers&&!i.specifiers.some((function(e){return e.comments}))?c.push(zb(["{",t.bracketSpacing?" ":"",zb(P),t.bracketSpacing?" ":"","}"])):P.length>=1&&c.push(Gb(zb(["{",Kb(zb([t.bracketSpacing?qb:Hb,Ub(zb([",",qb]),P)])),$b(cx(t)?",":""),t.bracketSpacing?qb:Hb,"}"]))),c.push(" from ")):(i.importKind&&"type"===i.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(i),t.locStart(i.source))))&&c.push("{} from "),c.push(e.call(n,"source"),o),zb(c);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":var R=e.call((function(e){return fx(e,t,n)}),"body"),B=i.body.find((function(e){return"EmptyStatement"!==e.type})),z=i.directives&&i.directives.length>0,U=e.getParentNode(),q=e.getParentNode(1);return B||z||Wy(i)||"ArrowFunctionExpression"!==U.type&&"FunctionExpression"!==U.type&&"FunctionDeclaration"!==U.type&&"ObjectMethod"!==U.type&&"ClassMethod"!==U.type&&"ClassPrivateMethod"!==U.type&&"ForStatement"!==U.type&&"WhileStatement"!==U.type&&"DoWhileStatement"!==U.type&&"DoExpression"!==U.type&&("CatchClause"!==U.type||q.finalizer)&&"TSModuleDeclaration"!==U.type?(c.push("{"),z&&e.each((function(e){c.push(Kb(zb([Vb,n(e),o]))),Ny(t.originalText,e.getValue(),t.locEnd)&&c.push(Vb)}),"directives"),B&&c.push(Kb(zb([Vb,R]))),c.push(ks.printDanglingComments(e,t)),c.push(Vb,"}"),zb(c)):"{}";case"ReturnStatement":return zb(["return",Vx(e,t,n)]);case"NewExpression":case"OptionalCallExpression":case"CallExpression":var V="NewExpression"===i.type,H=_x(e);if(!V&&"Identifier"===i.callee.type&&("require"===i.callee.name||"define"===i.callee.name)||1===i.arguments.length&&_b(i.arguments[0],t.originalText,t)||!V&&Ob(i,e.getParentNode()))return zb([V?"new ":"",e.call(n,"callee"),H,bx(e,0,n),zb(["(",Ub(", ",e.map(n,"arguments")),")"])]);var W="Identifier"===i.callee.type&&Gy(i.callee.trailingComments);if(W&&(i.callee.trailingComments[0].printed=!0),!V&&bb(i.callee)&&!e.call((function(e){return ly(e,t)}),"callee"))return function(e,t,n){var r=[];function i(e){var n=t.originalText,r=My(n,e,t.locEnd);return")"===n.charAt(r)?Iy(n,r+1,t.locEnd):Ny(n,e,t.locEnd)}var o=e.getValue();r.unshift({node:o,printed:zb([_x(e),bx(e,0,n),vx(e,t,n)])}),e.call((function(e){return function e(o){var a=o.getValue();"CallExpression"!==a.type&&"OptionalCallExpression"!==a.type||!bb(a.callee)&&"CallExpression"!==a.callee.type&&"OptionalCallExpression"!==a.callee.type?bb(a)?(r.unshift({node:a,needsParens:ly(o,t),printed:ks.printComments(o,(function(){return"OptionalMemberExpression"===a.type||"MemberExpression"===a.type?Ox(o,0,n):Fx(o,0,n)}),t)}),o.call((function(t){return e(t)}),"object")):"TSNonNullExpression"===a.type?(r.unshift({node:a,printed:ks.printComments(o,(function(){return"!"}),t)}),o.call((function(t){return e(t)}),"expression")):r.unshift({node:a,printed:o.call(n)}):(r.unshift({node:a,printed:zb([ks.printComments(o,(function(){return zb([_x(o),bx(o,0,n),vx(o,t,n)])}),t),i(a)?Vb:""])}),o.call((function(t){return e(t)}),"callee"))}(e)}),"callee");for(var a=[],s=[r[0]],c=1;c<r.length&&("TSNonNullExpression"===r[c].node.type||"OptionalCallExpression"===r[c].node.type||"CallExpression"===r[c].node.type||("MemberExpression"===r[c].node.type||"OptionalMemberExpression"===r[c].node.type)&&r[c].node.computed&&Eb(r[c].node.property));++c)s.push(r[c]);if("CallExpression"!==r[0].node.type&&"OptionalCallExpression"!==r[0].node.type)for(;c+1<r.length&&bb(r[c].node)&&bb(r[c+1].node);++c)s.push(r[c]);a.push(s),s=[];for(var l=!1;c<r.length;++c){if(l&&bb(r[c].node)){if(r[c].node.computed&&Eb(r[c].node.property)){s.push(r[c]);continue}a.push(s),s=[],l=!1}"CallExpression"!==r[c].node.type&&"OptionalCallExpression"!==r[c].node.type||(l=!0),s.push(r[c]),r[c].node.comments&&r[c].node.comments.some((function(e){return e.trailing}))&&(a.push(s),s=[],l=!1)}function p(e){return/^[A-Z]|^[_$]+$/.test(e)}s.length>0&&a.push(s);var f=a.length>=2&&!a[1][0].node.comments&&function(n){var r=e.getParentNode(),i=r&&"ExpressionStatement"===r.type,o=n[1].length&&n[1][0].node.computed;if(1===n[0].length){var a=n[0][0].node;return"ThisExpression"===a.type||"Identifier"===a.type&&(p(a.name)||i&&function(e){return e.length<=t.tabWidth}(a.name)||o)}var s=Dy(n[0]).node;return("MemberExpression"===s.type||"OptionalMemberExpression"===s.type)&&"Identifier"===s.property.type&&(p(s.property.name)||o)}(a);function d(e){var t=e.map((function(e){return e.printed}));return e.length>0&&e[e.length-1].needsParens?zb(["("].concat(u(t),[")"])):zb(t)}var h=a.map(d),m=zb(h),g=f?3:2,v=a.reduce((function(e,t){return e.concat(t)}),[]),y=v.slice(1,-1).some((function(e){return Jy(e.node)}))||v.slice(0,-1).some((function(e){return eb(e.node)}))||a[g]&&Jy(a[g][0].node);if(a.length<=g&&!y)return gb(e)?m:Gb(m);var b,x,E=Dy(f?a.slice(1,2)[0]:a[0]).node,D="CallExpression"!==E.type&&"OptionalCallExpression"!==E.type&&i(E),C=zb([d(a[0]),f?zb(a.slice(1,2).map(d)):"",D?Vb:"",function(e){return 0===e.length?"":Kb(Gb(zb([Vb,Ub(Vb,e.map(d))])))}(a.slice(f?2:1))]),w=r.map((function(e){return e.node})).filter(rb);return y||w.length>2&&w.some((function(e){return!e.arguments.every((function(e){return wb(e,0)}))}))||h.slice(0,-1).some(rx)||(b=Dy(h),x=Dy(Dy(a)).node,rb(x)&&rx(b)&&w.slice(0,-1).some((function(e){return e.arguments.some(cb)})))?Gb(C):zb([rx(m)||D?Xb:"",Yb([m,C])])}(e,t,n);var G=zb([V?"new ":"",e.call(n,"callee"),H,W?"/*:: ".concat(i.callee.trailingComments[0].value.slice(2).trim()," */"):"",bx(e,0,n),vx(e,t,n)]);return rb(i.callee)?Gb(G):G;case"TSInterfaceDeclaration":return i.declare&&c.push("declare "),c.push(i.abstract?"abstract ":"",kx(e,0,n),"interface ",e.call(n,"id"),i.typeParameters?e.call(n,"typeParameters"):""," "),i.extends&&i.extends.length&&c.push(Gb(Kb(zb([Hb,"extends ",(1===i.extends.length?tb:Kb)(Ub(zb([",",qb]),e.map(n,"extends")))," "])))),c.push(e.call(n,"body")),zb(c);case"ObjectTypeInternalSlot":return zb([i.static?"static ":"","[[",e.call(n,"id"),"]]",_x(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":var K;K="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";var J="ObjectTypeAnnotation"===i.type,Y=[];J&&Y.push("indexers","callProperties","internalSlots"),Y.push(K);var Q=Y.map((function(e){return i[e][0]})).sort((function(e,n){return t.locStart(e)-t.locStart(n)}))[0],$=e.getParentNode(0),X=J&&$&&("InterfaceDeclaration"===$.type||"DeclareInterface"===$.type||"DeclareClass"===$.type)&&"body"===e.getName(),Z="TSInterfaceBody"===i.type||X||"ObjectPattern"===i.type&&"FunctionDeclaration"!==$.type&&"FunctionExpression"!==$.type&&"ArrowFunctionExpression"!==$.type&&"ObjectMethod"!==$.type&&"ClassMethod"!==$.type&&"ClassPrivateMethod"!==$.type&&"AssignmentPattern"!==$.type&&"CatchClause"!==$.type&&i.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==i.type&&Q&&Ey(t.originalText,t.locStart(i),t.locStart(Q)),ee=X?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?$b(o,";"):",",te=i.exact?"{|":"{",ne=i.exact?"|}":"}",re=[];Y.forEach((function(r){e.each((function(e){var r=e.getValue();re.push({node:r,printed:n(e),loc:t.locStart(r)})}),r)}));var ie=[],oe=re.sort((function(e,t){return e.loc-t.loc})).map((function(e){var n=zb(ie.concat(Gb(e.printed)));return ie=[ee,qb],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!Ay(e.node)||ie.shift(),Ny(t.originalText,e.node,t.locEnd)&&ie.push(Vb),n}));i.inexact&&oe.push(zb(ie.concat(Gb("..."))));var ae,se=Dy(i[K]),ue=!(se&&("RestProperty"===se.type||"RestElement"===se.type||Ay(se)||i.inexact));if(0===oe.length){if(!Wy(i))return zb([te,ne,yx(e,t,n)]);ae=Gb(zb([te,ks.printDanglingComments(e,t),Hb,ne,_x(e),yx(e,t,n)]))}else ae=zb([te,Kb(zb([t.bracketSpacing?qb:Hb,zb(oe)])),$b(ue&&(","!==ee||cx(t))?ee:""),zb([t.bracketSpacing?qb:Hb,ne]),_x(e),yx(e,t,n)]);return e.match((function(e){return"ObjectPattern"===e.type&&!e.decorators}),(function(e,t,n){return Ux(e)&&("params"===t||"parameters"===t)&&0===n}))||e.match(zx,(function(e,t){return"typeAnnotation"===t}),(function(e,t){return"typeAnnotation"===t}),(function(e,t,n){return Ux(e)&&("params"===t||"parameters"===t)&&0===n}))?ae:Gb(ae,{shouldBreak:Z});case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?hx(e,t,n):(i.shorthand?c.push(e.call(n,"value")):c.push(Lx(i.key,dx(e,t,n),":",i.value,e.call(n,"value"),t)),zb(c));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return i.decorators&&0!==i.decorators.length&&c.push(lx(e,t,n)),i.accessibility&&c.push(i.accessibility+" "),i.static&&c.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&c.push("abstract "),c.push(hx(e,t,n)),zb(c);case"ObjectMethod":return hx(e,t,n);case"Decorator":return zb(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":if(0===i.elements.length)Wy(i)?c.push(Gb(zb(["[",ks.printDanglingComments(e,t),Hb,"]"]))):c.push("[]");else{var ce=Dy(i.elements),le=!(ce&&"RestElement"===ce.type),pe=le&&null===ce,fe=i.elements.length>1&&i.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var i=n[t+1];if(i&&r!==i.type)return!1;var o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1}));c.push(Gb(zb(["[",Kb(zb([Hb,qx(e,t,"elements",n)])),pe?",":"",$b(le&&!pe&&cx(t)?",":""),ks.printDanglingComments(e,t,!0),Hb,"]"]),{shouldBreak:fe}))}return c.push(_x(e),yx(e,t,n)),zb(c);case"SequenceExpression":var de=e.getParentNode(0);if("ExpressionStatement"===de.type||"ForStatement"===de.type){var he=[];return e.each((function(e){0===e.getName()?he.push(n(e)):he.push(",",Kb(zb([qb,n(e)])))}),"expressions"),Gb(zb(he))}return Gb(zb([Ub(zb([",",qb]),e.map(n,"expressions"))]));case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Bx(i);case"NumericLiteral":return Sy(i.extra.raw);case"BigIntLiteral":return(i.bigint||(i.extra?i.extra.raw:i.raw)).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":if(i.regex)return Bx(i.regex);if("number"===typeof i.value)return Sy(i.raw);if("string"!==typeof i.value)return""+i.value;var me=e.getParentNode(1),ge="typescript"===t.parser&&"string"===typeof i.value&&me&&("Program"===me.type||"BlockStatement"===me.type);return Rx(i,t,ge);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return Rx(i,t);case"UnaryExpression":return c.push(i.operator),/[a-z]$/.test(i.operator)&&c.push(" "),i.argument.comments&&i.argument.comments.length>0?c.push(Gb(zb(["(",Kb(zb([Hb,e.call(n,"argument")])),Hb,")"]))):c.push(e.call(n,"argument")),zb(c);case"UpdateExpression":return c.push(e.call(n,"argument"),i.operator),i.prefix&&c.reverse(),zb(c);case"ConditionalExpression":return px(e,t,n,{beforeParts:function(){return[e.call(n,"test")]},afterParts:function(e){return[e?Hb:""]},shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":var ve,ye=e.map((function(e){return n(e)}),"declarations"),be=e.getParentNode(),xe="ForStatement"===be.type||"ForInStatement"===be.type||"ForOfStatement"===be.type||"ForAwaitStatement"===be.type,Ee=i.declarations.some((function(e){return e.init}));return 1!==ye.length||i.declarations[0].comments?ye.length>0&&(ve=Kb(ye[0])):ve=ye[0],c=[i.declare?"declare ":"",i.kind,ve?zb([" ",ve]):"",Kb(zb(ye.slice(1).map((function(e){return zb([",",Ee&&!xe?Vb:qb,e])}))))],xe&&be.body!==i||c.push(o),Gb(zb(c));case"TSTypeAliasDeclaration":i.declare&&c.push("declare ");var De=jx(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return c.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",De,o),Gb(zb(c));case"VariableDeclarator":return Lx(i.id,e.call(n,"id")," =",i.init,i.init&&e.call(n,"init"),t);case"WithStatement":return Gb(zb(["with (",e.call(n,"object"),")",Px(i.body,e.call(n,"body"))]));case"IfStatement":var Ce=Px(i.consequent,e.call(n,"consequent")),we=Gb(zb(["if (",Gb(zb([Kb(zb([Hb,e.call(n,"test")])),Hb])),")",Ce]));if(c.push(we),i.alternate){var Se=eb(i.consequent)&&i.consequent.comments.some((function(e){return e.trailing&&!$g.isBlockComment(e)}))||jb(i),ke="BlockStatement"===i.consequent.type&&!Se;c.push(ke?" ":Vb),Wy(i)&&c.push(ks.printDanglingComments(e,t,!0),Se?Vb:" "),c.push("else",Gb(Px(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return zb(c);case"ForStatement":var Ae=Px(i.body,e.call(n,"body")),Te=ks.printDanglingComments(e,t,!0),_e=Te?zb([Te,Hb]):"";return i.init||i.test||i.update?zb([_e,Gb(zb(["for (",Gb(zb([Kb(zb([Hb,e.call(n,"init"),";",qb,e.call(n,"test"),";",qb,e.call(n,"update")])),Hb])),")",Ae]))]):zb([_e,Gb(zb(["for (;;)",Ae]))]);case"WhileStatement":return Gb(zb(["while (",Gb(zb([Kb(zb([Hb,e.call(n,"test")])),Hb])),")",Px(i.body,e.call(n,"body"))]));case"ForInStatement":return Gb(zb([i.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",Px(i.body,e.call(n,"body"))]));case"ForOfStatement":case"ForAwaitStatement":var Oe="ForAwaitStatement"===i.type||i.await;return Gb(zb(["for",Oe?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Px(i.body,e.call(n,"body"))]));case"DoWhileStatement":var Fe=Px(i.body,e.call(n,"body")),Ne=Gb(zb(["do",Fe]));return c=[Ne],"BlockStatement"===i.body.type?c.push(" "):c.push(Vb),c.push("while ("),c.push(Gb(zb([Kb(zb([Hb,e.call(n,"test")])),Hb])),")",o),zb(c);case"DoExpression":return zb(["do ",e.call(n,"body")]);case"BreakStatement":return c.push("break"),i.label&&c.push(" ",e.call(n,"label")),c.push(o),zb(c);case"ContinueStatement":return c.push("continue"),i.label&&c.push(" ",e.call(n,"label")),c.push(o),zb(c);case"LabeledStatement":return"EmptyStatement"===i.body.type?zb([e.call(n,"label"),":;"]):zb([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return zb(["try ",e.call(n,"block"),i.handler?zb([" ",e.call(n,"handler")]):"",i.finalizer?zb([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){var Ie=i.param.comments&&i.param.comments.some((function(e){return!$g.isBlockComment(e)||e.leading&&xy(t.originalText,t.locEnd(e))||e.trailing&&xy(t.originalText,t.locStart(e),{backwards:!0})})),Me=e.call(n,"param");return zb(["catch ",zb(Ie?["(",Kb(zb([Hb,Me])),Hb,") "]:["(",Me,") "]),e.call(n,"body")])}return zb(["catch ",e.call(n,"body")]);case"ThrowStatement":return zb(["throw",Vx(e,t,n)]);case"SwitchStatement":return zb([Gb(zb(["switch (",Kb(zb([Hb,e.call(n,"discriminant")])),Hb,")"]))," {",i.cases.length>0?Kb(zb([Vb,Ub(Vb,e.map((function(e){var r=e.getValue();return zb([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&Ny(t.originalText,r,t.locEnd)?Vb:""])}),"cases"))])):"",Vb,"}"]);case"SwitchCase":i.test?c.push("case ",e.call(n,"test"),":"):c.push("default:");var je=i.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(je.length>0){var Le=e.call((function(e){return fx(e,t,n)}),"consequent");c.push(1===je.length&&"BlockStatement"===je[0].type?zb([" ",Le]):Kb(zb([Vb,Le])))}return zb(c);case"DebuggerStatement":return zb(["debugger",o]);case"JSXAttribute":if(c.push(e.call(n,"name")),i.value){var Pe;if(Ab(i.value)){var Re=Lb(i.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),Be=Fy(Re,t.jsxSingleQuote?"'":'"'),ze="'"===Be?"&apos;":"&quot;";Re=Re.slice(1,-1).replace(new RegExp(Be,"g"),ze),Pe=zb([Be,Re,Be])}else Pe=e.call(n,"value");c.push("=",Pe)}return zb(c);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return Ub(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return Ub(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return Ub(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return zb(["{",e.call((function(e){var r=zb(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length?zb([Kb(zb([Hb,ks.printComments(e,(function(){return r}),t)])),Hb]):r}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":var Ue=e.getParentNode(0),qe=!("JSXAttribute"===Ue.type&&i.expression.comments&&i.expression.comments.length>0)&&("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type||"ArrowFunctionExpression"===i.expression.type||"CallExpression"===i.expression.type||"OptionalCallExpression"===i.expression.type||"FunctionExpression"===i.expression.type||"JSXEmptyExpression"===i.expression.type||"TemplateLiteral"===i.expression.type||"TaggedTemplateExpression"===i.expression.type||"DoExpression"===i.expression.type||fb(Ue)&&("ConditionalExpression"===i.expression.type||nb(i.expression)));return Gb(zb(qe?["{",e.call(n,"expression"),Zb,"}"]:["{",Kb(zb([Hb,e.call(n,"expression")])),Hb,Zb,"}"]));case"JSXFragment":case"JSXElement":var Ve=ks.printComments(e,(function(){return function(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&ib(r))return zb([e.call(n,"openingElement"),e.call(n,"closingElement")]);var i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return zb([i,zb(e.map(n,"children")),o]);r.children=r.children.map((function(e){return db(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var a=r.children.filter(fb).length>0,s=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1,c=rx(i)||a||u||s,l="mdx"===e.getParentNode().rootMarker,p=t.singleQuote?"{' '}":'{" "}',f=l?zb([" "]):$b(zb([p,Hb])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,h=function(e,t,n,r,i){var o=e.getValue(),a=[];return e.map((function(e,t){var s=e.getValue();if(mb(s)){var u=Lb(s);if(vb(s)){var c,l=u.split(Mb);if(""===l[0]){if(a.push(""),l.shift(),/\n/.test(l[0])){var p=o.children[t+1];a.push(Ix(i,l[1],s,p))}else a.push(r);l.shift()}if(""===Dy(l)&&(l.pop(),c=l.pop()),0===l.length)return;if(l.forEach((function(e,t){t%2===1?a.push(qb):a.push(e)})),void 0!==c)if(/\n/.test(c)){var f=o.children[t+1];a.push(Ix(i,Dy(a),s,f))}else a.push(r);else{var d=o.children[t+1];a.push(Nx(i,Dy(a),s,d))}}else/\n/.test(u)?u.match(/\n/g).length>1&&(a.push(""),a.push(Vb)):(a.push(""),a.push(r))}else{var h=n(e);a.push(h);var m=o.children[t+1];if(m&&vb(m)){var g=Lb(m).trim().split(Mb)[0];a.push(Nx(i,g,s,m))}else a.push(Vb)}}),"children"),a}(e,0,n,f,d),m=r.children.some((function(e){return vb(e)})),g=h.length-2;g>=0;g--){var v=""===h[g]&&""===h[g+1],y=h[g]===Vb&&""===h[g+1]&&h[g+2]===Vb,b=(h[g]===Hb||h[g]===Vb)&&""===h[g+1]&&h[g+2]===f,x=h[g]===f&&""===h[g+1]&&(h[g+2]===Hb||h[g+2]===Vb),E=h[g]===f&&""===h[g+1]&&h[g+2]===f,D=h[g]===Hb&&""===h[g+1]&&h[g+2]===Vb||h[g]===Vb&&""===h[g+1]&&h[g+2]===Hb;y&&m||v||b||E||D?h.splice(g,2):x&&h.splice(g+1,2)}for(;h.length&&(ix(Dy(h))||ox(Dy(h)));)h.pop();for(;h.length&&(ix(h[0])||ox(h[0]))&&(ix(h[1])||ox(h[1]));)h.shift(),h.shift();var C=[];h.forEach((function(e,t){if(e===f){if(1===t&&""===h[t-1])return 2===h.length?void C.push(p):void C.push(zb([p,Vb]));if(t===h.length-1)return void C.push(p);if(""===h[t-1]&&h[t-2]===Vb)return void C.push(p)}C.push(e),rx(e)&&(c=!0)}));var w=m?Qb(C):Gb(zb(C),{shouldBreak:!0});if(l)return w;var S=Gb(zb([i,Kb(zb([Vb,w])),Vb,o]));return c?S:Yb([Gb(zb([i,zb(h),o])),S])}(e,t,n)}),t);return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var i=e.match(void 0,(function(e){return"ArrowFunctionExpression"===e.type}),rb,(function(e){return"JSXExpressionContainer"===e.type})),o=ly(e,n);return Gb(zb([o?"":$b("("),Kb(zb([Hb,t])),Hb,o?"":$b(")")]),{shouldBreak:i})}(e,Ve,t);case"JSXOpeningElement":var He=e.getValue(),We=He.name&&He.name.comments&&He.name.comments.length>0||He.typeParameters&&He.typeParameters.comments&&He.typeParameters.comments.length>0;if(He.selfClosing&&!He.attributes.length&&!We)return zb(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(He.attributes&&1===He.attributes.length&&He.attributes[0].value&&Ab(He.attributes[0].value)&&!He.attributes[0].value.value.includes("\n")&&!We&&(!He.attributes[0].comments||!He.attributes[0].comments.length))return Gb(zb(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",zb(e.map(n,"attributes")),He.selfClosing?" />":">"]));var Ge=He.attributes.length&&eb(Dy(He.attributes)),Ke=!He.attributes.length&&!We||t.jsxBracketSameLine&&(!We||He.attributes.length)&&!Ge,Je=He.attributes&&He.attributes.some((function(e){return e.value&&Ab(e.value)&&e.value.value.includes("\n")}));return Gb(zb(["<",e.call(n,"name"),e.call(n,"typeParameters"),zb([Kb(zb(e.map((function(e){return zb([qb,n(e)])}),"attributes"))),He.selfClosing?qb:Ke?">":Hb]),He.selfClosing?"/>":Ke?"":">"]),{shouldBreak:Je});case"JSXClosingElement":return zb(["</",e.call(n,"name"),">"]);case"JSXOpeningFragment":case"JSXClosingFragment":var Ye=i.comments&&i.comments.length,Qe=Ye&&!i.comments.every($g.isBlockComment),$e="JSXOpeningFragment"===i.type;return zb([$e?"<":"</",Kb(zb([Qe?Vb:Ye&&!$e?" ":"",ks.printDanglingComments(e,t,!0)])),Qe?Vb:"",">"]);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":var Xe=i.comments&&!i.comments.every($g.isBlockComment);return zb([ks.printDanglingComments(e,t,!Xe),Xe?Vb:""]);case"ClassBody":return i.comments||0!==i.body.length?zb(["{",i.body.length>0?Kb(zb([Vb,e.call((function(e){return fx(e,t,n)}),"body")])):ks.printDanglingComments(e,t),Vb,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":i.decorators&&0!==i.decorators.length&&c.push(lx(e,t,n)),i.accessibility&&c.push(i.accessibility+" "),i.declare&&c.push("declare "),i.static&&c.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&c.push("abstract "),i.readonly&&c.push("readonly ");var Ze=Uy(i);return Ze&&c.push(Ze),c.push(dx(e,t,n),_x(e),yx(e,t,n)),i.value&&c.push(" =",jx(i.key,i.value,e.call(n,"value"),t)),c.push(o),Gb(zb(c));case"ClassDeclaration":case"ClassExpression":return i.declare&&c.push("declare "),c.push(zb(Tx(e,t,n))),zb(c);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return c.push(e.call(n,"expression")),i.typeParameters&&c.push(e.call(n,"typeParameters")),zb(c);case"TemplateElement":return Ub(Wb,i.value.raw.split(/\r?\n/g));case"TemplateLiteral":var et=e.map(n,"expressions"),tt=e.getParentNode();if(pb(i,tt)){var nt=function(e,t,n){var r=e.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(r.length>1||r.some((function(e){return 0!==e.length}))){var i=function(){for(var i=[],o=t.map((function(e){return"${"+sx(e,Object.assign({},n,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"})),a=[{hasLineBreak:!1,cells:[]}],c=1;c<e.quasis.length;c++){var l=a[a.length-1],p=o[c-1];l.cells.push(p),p.includes("\n")&&(l.hasLineBreak=!0),e.quasis[c].value.raw.includes("\n")&&a.push({hasLineBreak:!1,cells:[]})}var f,d=Math.max.apply(Math,[r.length].concat(u(a.map((function(e){return e.cells.length}))))),h=Array.from({length:d}).fill(0),m=[{cells:r}].concat(u(a.filter((function(e){return 0!==e.cells.length})))),g=s(m.filter((function(e){return!e.hasLineBreak})));try{for(g.s();!(f=g.n()).done;)f.value.cells.forEach((function(e,t){h[t]=Math.max(h[t],Cy(e))}))}catch(v){g.e(v)}finally{g.f()}return i.push(Zb,"`",Kb(zb([Vb,Ub(Vb,m.map((function(e){return Ub(" | ",e.cells.map((function(t,n){return e.hasLineBreak?t:t+" ".repeat(h[n]-Cy(t))})))})))])),Vb,"`"),{v:zb(i)}}();if("object"===typeof i)return i.v}}(i,et,t);if(nt)return nt}var rt=kb(i);return rt&&(et=et.map((function(e){return sx(e,Object.assign({},t,{printWidth:1/0})).formatted}))),c.push(Zb,"`"),e.each((function(e){var r=e.getName();if(c.push(n(e)),r<et.length){var o=t.tabWidth,a=e.getValue(),s=Oy(a.value.raw,o),u=et[r];rt||(i.expressions[r].comments&&i.expressions[r].comments.length||"MemberExpression"===i.expressions[r].type||"OptionalMemberExpression"===i.expressions[r].type||"ConditionalExpression"===i.expressions[r].type||"LogicalExpression"===i.expressions[r].type||"BinaryExpression"===i.expressions[r].type||"SequenceExpression"===i.expressions[r].type||"TSAsExpression"===i.expressions[r].type)&&(u=zb([Kb(zb([Hb,u])),Hb]));var l=0===s&&a.value.raw.endsWith("\n")?Jb(-1/0,u):ex(u,s,o);c.push(Gb(zb(["${",l,Zb,"}"])))}}),"quasis"),c.push("`"),zb(c);case"TaggedTemplateExpression":return zb([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TypeAnnotation":case"TSTypeAnnotation":return i.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSTupleType":case"TupleTypeAnnotation":var it="TSTupleType"===i.type?"elementTypes":"types",ot=i[it].length>0&&"TSRestType"===Dy(i[it]).type;return Gb(zb(["[",Kb(zb([Hb,qx(e,t,it,n)])),$b(cx(t,"all")&&!ot?",":""),ks.printDanglingComments(e,t,!0),Hb,"]"]));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return zb([e.call(n,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return Sx(e,Tx(e,t,n));case"TSDeclareFunction":return zb([i.declare?"declare ":"",Dx(e,n,t),o]);case"DeclareFunction":return Sx(e,["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]);case"DeclareModule":return Sx(e,["module ",e.call(n,"id")," ",e.call(n,"body")]);case"DeclareModuleExports":return Sx(e,["module.exports",": ",e.call(n,"typeAnnotation"),o]);case"DeclareVariable":return Sx(e,["var ",e.call(n,"id"),o]);case"DeclareExportAllDeclaration":return zb(["declare export * from ",e.call(n,"source")]);case"DeclareExportDeclaration":return zb(["declare ",wx(e,t,n)]);case"DeclareOpaqueType":case"OpaqueType":return c.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&c.push(": ",e.call(n,"supertype")),i.impltype&&c.push(" = ",e.call(n,"impltype")),c.push(o),"DeclareOpaqueType"===i.type?Sx(e,c):zb(c);case"EnumDeclaration":return zb(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){var at=null;switch(i.type){case"EnumBooleanBody":at="boolean";break;case"EnumNumberBody":at="number";break;case"EnumStringBody":at="string";break;case"EnumSymbolBody":at="symbol"}c.push("of ",at," ")}return 0===i.members.length?c.push(Gb(zb(["{",ks.printDanglingComments(e,t),Hb,"}"]))):c.push(Gb(zb(["{",Kb(zb([Vb,qx(e,t,"members",n),cx(t)?",":""])),ks.printDanglingComments(e,t,!0),Vb,"}"]))),zb(c);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return zb([e.call(n,"id")," = ","object"===typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":var st=e.getParentNode(0),ut=e.getParentNode(1),ct=e.getParentNode(2),lt="TSFunctionType"===i.type||!(("ObjectTypeProperty"===st.type||"ObjectTypeInternalSlot"===st.type)&&!Uy(st)&&!st.optional&&t.locStart(st)===t.locStart(i)||"ObjectTypeCallProperty"===st.type||ct&&"DeclareFunction"===ct.type),pt=lt&&("TypeAnnotation"===st.type||"TSTypeAnnotation"===st.type),ft=pt&&lt&&("TypeAnnotation"===st.type||"TSTypeAnnotation"===st.type)&&"ArrowFunctionExpression"===ut.type;return Cb(st,t)&&(lt=!0,pt=!0),ft&&c.push("("),c.push(xx(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&c.push(lt?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),ft&&c.push(")"),Gb(zb(c));case"TSRestType":return zb(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return zb([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return zb([e.call(n,"name"),_x(e),i.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return zb([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return("DeclareInterface"===i.type||i.declare)&&c.push("declare "),c.push("interface"),"DeclareInterface"!==i.type&&"InterfaceDeclaration"!==i.type||c.push(" ",e.call(n,"id"),e.call(n,"typeParameters")),i.extends.length>0&&c.push(Gb(Kb(zb([qb,"extends ",(1===i.extends.length?tb:Kb)(Ub(zb([",",qb]),e.map(n,"extends")))])))),c.push(" ",e.call(n,"body")),Gb(zb(c));case"ClassImplements":case"InterfaceExtends":return zb([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return zb([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":for(var dt=e.map(n,"types"),ht=[],mt=!1,gt=0;gt<dt.length;++gt)0===gt?ht.push(dt[gt]):Db(i.types[gt-1])&&Db(i.types[gt])?ht.push(zb([" & ",mt?Kb(dt[gt]):dt[gt]])):Db(i.types[gt-1])||Db(i.types[gt])?(gt>1&&(mt=!0),ht.push(" & ",gt>1?Kb(dt[gt]):dt[gt])):ht.push(Kb(zb([" &",qb,dt[gt]])));return Gb(zb(ht));case"TSUnionType":case"UnionTypeAnnotation":var vt=e.getParentNode(),yt="TypeParameterInstantiation"!==vt.type&&"TSTypeParameterInstantiation"!==vt.type&&"GenericTypeAnnotation"!==vt.type&&"TSTypeReference"!==vt.type&&"TSTypeAssertion"!==vt.type&&"TupleTypeAnnotation"!==vt.type&&"TSTupleType"!==vt.type&&!("FunctionTypeParam"===vt.type&&!vt.name)&&!(("TypeAlias"===vt.type||"VariableDeclarator"===vt.type||"TSTypeAliasDeclaration"===vt.type)&&Yy(t.originalText,i,t)),bt=zx(i),xt=e.map((function(e){var r=e.call(n);return bt||(r=Jb(2,r)),ks.printComments(e,(function(){return r}),t)}),"types");if(bt)return Ub(" | ",xt);var Et=yt&&!Yy(t.originalText,i,t),Dt=zb([$b(zb([Et?qb:"","| "])),Ub(zb([qb,"| "]),xt)]);return ly(e,t)?Gb(zb([Kb(Dt),Hb])):"TupleTypeAnnotation"===vt.type&&vt.types.length>1||"TSTupleType"===vt.type&&vt.elementTypes.length>1?Gb(zb([Kb(zb([$b(zb(["(",Hb])),Dt])),Hb,$b(")")])):Gb(yt?Kb(Dt):Dt);case"NullableTypeAnnotation":return zb(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"ObjectTypeCallProperty":return i.static&&c.push("static "),c.push(e.call(n,"value")),zb(c);case"ObjectTypeIndexer":var Ct=Uy(i);return zb([Ct||"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":var wt=Uy(i),St="";return i.proto?St="proto ":i.static&&(St="static "),zb([St,lb(i)?i.kind+" ":"",wt||"",dx(e,t,n),_x(e),ub(i,t)?"":": ",e.call(n,"value")]);case"QualifiedTypeIdentifier":return zb([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return Rx(i,t);case"NumberLiteralTypeAnnotation":return Wo.strictEqual(typeof i.value,"number"),null!=i.extra?Sy(i.extra.raw):Sy(i.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":("DeclareTypeAlias"===i.type||i.declare)&&c.push("declare ");var kt=jx(i.id,i.right,e.call(n,"right"),t);return c.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",kt,o),Gb(zb(c));case"TypeCastExpression":return zb(["(",e.call(n,"expression"),yx(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":var At=e.getValue(),Tt=At.range?t.originalText.slice(0,At.range[0]).lastIndexOf("/*"):-1;return Tt>=0&&t.originalText.slice(Tt).match(/^\/\*\s*::/)?zb(["/*:: ",Ax(e,t,n,"params")," */"]):Ax(e,t,n,"params");case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Ax(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":var _t=e.getParentNode();if("TSMappedType"===_t.type)return c.push("[",e.call(n,"name")),i.constraint&&c.push(" in ",e.call(n,"constraint")),c.push("]"),zb(c);var Ot=Uy(i);Ot&&c.push(Ot),c.push(e.call(n,"name")),i.bound&&(c.push(": "),c.push(e.call(n,"bound"))),i.constraint&&c.push(" extends ",e.call(n,"constraint")),i.default&&c.push(" = ",e.call(n,"default"));var Ft=e.getNode(2);return _t.params&&1===_t.params.length&&Nb(t)&&!i.constraint&&"ArrowFunctionExpression"===Ft.type&&c.push(","),zb(c);case"TypeofTypeAnnotation":return zb(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return zb(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return zb([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return zb([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&c.push("export "),i.accessibility&&c.push(i.accessibility+" "),i.static&&c.push("static "),i.readonly&&c.push("readonly "),c.push(dx(e,t,n),_x(e)),i.typeAnnotation&&(c.push(": "),c.push(e.call(n,"typeAnnotation"))),i.initializer&&c.push(" = ",e.call(n,"initializer")),zb(c);case"TSParameterProperty":return i.accessibility&&c.push(i.accessibility+" "),i.export&&c.push("export "),i.static&&c.push("static "),i.readonly&&c.push("readonly "),c.push(e.call(n,"parameter")),zb(c);case"TSTypeReference":return zb([e.call(n,"typeName"),Ax(e,t,n,"typeParameters")]);case"TSTypeQuery":return zb(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":var Nt=e.getParentNode(),It=i.parameters.length>1?$b(cx(t)?",":""):"",Mt=Gb(zb([Kb(zb([Hb,Ub(zb([", ",Hb]),e.map(n,"parameters"))])),It,Hb]));return zb([i.export?"export ":"",i.accessibility?zb([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"","[",i.parameters?Mt:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===Nt.type?o:""]);case"TSTypePredicate":return zb([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?zb([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return zb([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return zb([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?zb([".",e.call(n,"qualifier")]):"",Ax(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return zb([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&c.push("new "),c.push(Gb(xx(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){var jt="TSConstructorType"===i.type;c.push(jt?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return zb(c);case"TSTypeOperator":return zb([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":var Lt=Ey(t.originalText,t.locStart(i),t.locEnd(i));return Gb(zb(["{",Kb(zb([t.bracketSpacing?qb:Hb,i.readonly?zb([Hy(i.readonly,"readonly")," "]):"",kx(e,0,n),e.call(n,"typeParameter"),i.optional?Hy(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),$b(o,"")])),ks.printDanglingComments(e,t,!0),t.bracketSpacing?qb:Hb,"}"]),{shouldBreak:Lt});case"TSMethodSignature":return c.push(i.accessibility?zb([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",_x(e),xx(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&c.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),Gb(zb(c));case"TSNamespaceExportDeclaration":return c.push("export as namespace ",e.call(n,"id")),t.semi&&c.push(";"),Gb(zb(c));case"TSEnumDeclaration":return i.declare&&c.push("declare "),i.modifiers&&c.push(kx(e,0,n)),i.const&&c.push("const "),c.push("enum ",e.call(n,"id")," "),0===i.members.length?c.push(Gb(zb(["{",ks.printDanglingComments(e,t),Hb,"}"]))):c.push(Gb(zb(["{",Kb(zb([Vb,qx(e,t,"members",n),cx(t,"es5")?",":""])),ks.printDanglingComments(e,t,!0),Vb,"}"]))),zb(c);case"TSEnumMember":return c.push(e.call(n,"id")),i.initializer&&c.push(" = ",e.call(n,"initializer")),zb(c);case"TSImportEqualsDeclaration":return i.isExport&&c.push("export "),c.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&c.push(";"),Gb(zb(c));case"TSExternalModuleReference":return zb(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":var Pt=e.getParentNode(),Rt=mb(i.id),Bt="TSModuleDeclaration"===Pt.type,zt=i.body&&"TSModuleDeclaration"===i.body.type;if(Bt)c.push(".");else{i.declare&&c.push("declare "),c.push(kx(e,0,n));var Ut=t.originalText.slice(t.locStart(i),t.locStart(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(Ut)||c.push(Rt||/(^|\s)module(\s|$)/.test(Ut)?"module ":"namespace ")}return c.push(e.call(n,"id")),zt?c.push(e.call(n,"body")):i.body?c.push(" ",Gb(e.call(n,"body"))):c.push(o),zb(c);case"PrivateName":return zb(["#",e.call(n,"id")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return px(e,t,n,{beforeParts:function(){return[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")]},afterParts:function(){return[]},shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return zb(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return c.push("#!",i.value,Vb),Ny(t.originalText,i,t.locEnd)&&c.push(Vb),zb(c);case"NGRoot":return zb([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?zb([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return Gb(Ub(zb([";",qb]),e.map((function(e){return Xy(e)?n(e):zb(["(",n(e),")"])}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return zb([i.prefix,":",i.value]);case"NGMicrosyntax":return zb(e.map((function(e,t){return zb([0===t?"":xb(e.getValue(),t,i)?" ":zb([";",qb]),n(e)])}),"body"));case"NGMicrosyntaxKey":return/^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return zb([e.call(n,"expression"),null===i.alias?"":zb([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":var qt=e.getName(),Vt=e.getParentNode(),Ht=xb(i,qt,Vt)||(1===qt&&("then"===i.key.name||"else"===i.key.name)||2===qt&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===Vt.body[qt-1].type&&"then"===Vt.body[qt-1].key.name)&&"NGMicrosyntaxExpression"===Vt.body[0].type;return zb([e.call(n,"key"),Ht?" ":": ",e.call(n,"expression")]);case"NGMicrosyntaxLet":return zb(["let ",e.call(n,"key"),null===i.value?"":zb([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return zb([e.call(n,"key")," as ",e.call(n,"alias")]);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return zb(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return zb(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return zb(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||ox(a))return a;var c=Vy(e),l=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(c&&t.locStart(c,{ignoreDecorators:!0})>t.locStart(i.decorators[0]))){var p="ClassExpression"===i.type||"ClassDeclaration"===i.type||$y(i,t)?Vb:qb;e.each((function(e){var t=e.getValue();t=t.expression?t.expression:t.callee,l.push(n(e),p)}),"decorators"),c&&l.unshift(Vb)}else ob(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&t.locStart(i,{ignoreDecorators:!0})>t.locStart(i.declaration.decorators[0])?e.each((function(e){var t="Decorator"===e.getValue().type?"":"@";l.push(t,n(e),Vb)}),"declaration","decorators"):o=ly(e,t);var f=[];if(o&&f.unshift("("),f.push(a),o){var d=e.getValue();Ky(d)&&(f.push(" /*"),f.push(d.trailingComments[0].value.trimStart()),f.push("*/"),d.trailingComments[0].printed=!0),f.push(")")}return l.length>0?Gb(zb(l.concat(f))):zb(f)},embed:Sv,insertPragma:jy,massageAstNode:kv,hasPrettierIgnore:Zy,willPrintOwnComments:function(e){var t=e.getValue(),n=e.getParentNode();return(t&&(fb(t)||Ky(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Gy(t.leadingComments)||Gy(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!ky(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)},canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:function(e,t){var n=e.getValue();switch(n.type){case"CommentBlock":case"Block":if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var r=function(e){var t=e.value.split("\n");return zb(["/*",Ub(Vb,t.map((function(e,n){return 0===n?e.trimEnd():" "+(n<t.length-1?e.trim():e.trimStart())}))),"*/"])}(n);return n.trailing&&!xy(t.originalText,t.locStart(n),{backwards:!0})?zb([Vb,r]):r}var i=t.locEnd(n),o="*-/"===t.originalText.slice(i-3,i);return"/*"+n.value+(o?"*-/":"*/");case"CommentLine":case"Line":return t.originalText.slice(t.locStart(n)).startsWith("#!")?"#!"+n.value.trimEnd():"//"+n.value.trimEnd();default:throw new Error("Not a comment: "+JSON.stringify(n))}},isBlockComment:$g.isBlockComment,handleComments:{ownLine:$g.handleOwnLineComment,endOfLine:$g.handleEndOfLineComment,remaining:$g.handleRemainingComment},getGapRegex:$g.getGapRegex,getCommentChildNodes:$g.getCommentChildNodes},Wx=rs.builders,Gx=Wx.concat,Kx=Wx.hardline,Jx=Wx.indent,Yx=Wx.join,Qx={preprocess:vy,print:function(e,t,n){var r=e.getValue();switch(r.type){case"JsonRoot":return Gx([e.call(n,"node"),Kx]);case"ArrayExpression":return 0===r.elements.length?"[]":Gx(["[",Jx(Gx([Kx,Yx(Gx([",",Kx]),e.map(n,"elements"))])),Kx,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":Gx(["{",Jx(Gx([Kx,Yx(Gx([",",Kx]),e.map(n,"properties"))])),Kx,"}"]);case"ObjectProperty":return Gx([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return Gx(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){return delete t.start,delete t.end,delete t.extra,delete t.loc,delete t.comments,delete t.errors,"Identifier"===e.type?{type:"StringLiteral",value:e.name}:"UnaryExpression"===e.type&&"+"===e.operator?t.argument:void 0}},$x={arrowParens:{since:"1.9.0",category:"JavaScript",type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:zl.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:zl.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Xx=["js","node"],Zx=[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],eE=["Jakefile"],tE=["chakra","d8","gjs","js","node","qjs","rhino","v8","v8-shell"],nE={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Xx,extensions:Zx,filenames:eE,interpreters:tE,languageId:183},rE=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Xx,extensions:Zx,filenames:eE,interpreters:tE,languageId:183,default:nE}),iE=[".jsx"],oE={name:"JSX",type:"programming",group:"JavaScript",extensions:iE,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},aE=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:iE,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:oE}),sE=["ts"],uE=["deno","ts-node"],cE=[".ts"],lE={name:"TypeScript",type:"programming",color:"#2b7489",aliases:sE,interpreters:uE,extensions:cE,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},pE=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:sE,interpreters:uE,extensions:cE,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:lE}),fE=[".tsx"],dE={name:"TSX",type:"programming",group:"TypeScript",extensions:fE,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},hE=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:fE,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:dE}),mE=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],gE=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],vE={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:mE,filenames:gE,languageId:174},yE=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:mE,filenames:gE,languageId:174,default:vE}),bE=["jsonc"],xE=[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],EE=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],DE={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:bE,extensions:xE,filenames:EE,languageId:423},CE=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:bE,extensions:xE,filenames:EE,languageId:423,default:DE}),wE=[".json5"],SE={name:"JSON5",type:"data",extensions:wE,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},kE=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:wE,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:SE}),AE=pt(rE),TE=pt(aE),_E=pt(pE),OE=pt(hE),FE=pt(yE),NE=pt(CE),IE=pt(kE),ME={languages:[ql(AE,(function(e){return{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])}})),ql(AE,(function(){return{name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}})),ql(TE,(function(){return{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]}})),ql(_E,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}})),ql(OE,(function(){return{since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}})),ql(FE,(function(){return{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}})),ql(FE,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])}})),ql(NE,(function(e){return{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])}})),ql(IE,(function(){return{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}}))],options:$x,printers:{estree:Hx,"estree-json":Qx}},jE="[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d]",LE="[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",PE="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]",RE=Ma.getLast,BE=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],zE=BE.concat(["tableCell","paragraph","heading"]),UE=new RegExp(LE),qE=new RegExp(PE);function VE(e,t){var n=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),r=l(n,4);return{numberText:r[1],marker:r[2],leadingSpaces:r[3]}}var HE={mapAst:function(e,t){return function e(n,r,i){i=i||[];var o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((function(t,n){return e(t,n,[o].concat(i))}))),o}(e,null,null)},splitText:function(e,t){var n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(jE,")\n(").concat(jE,")"),"g"),"$1$2")).split(/([ \t\n]+)/).forEach((function(e,t,i){t%2!==1?(0!==t&&t!==i.length-1||""!==e)&&e.split(new RegExp("(".concat(jE,")"))).forEach((function(e,t,n){(0!==t&&t!==n.length-1||""!==e)&&(t%2!==0?r(qE.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:UE.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:qE.test(e[0]),hasTrailingPunctuation:qE.test(RE(e))}))})):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),n;function r(e){var t,r,i=RE(n);i&&"word"===i.type&&("non-cjk"===i.kind&&"cj-letter"===e.kind&&!i.hasTrailingPunctuation||"cj-letter"===i.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):(t="non-cjk",r="cjk-punctuation",i.kind===t&&e.kind===r||i.kind===r&&e.kind===t||[i.value,e.value].some((function(e){return/\u3000/.test(e)}))||n.push({type:"whitespace",value:""}))),n.push(e)}},punctuationPattern:PE,getFencedCodeBlockValue:function(e,t){var n=t.slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,i=new RegExp("^\\s{0,".concat(r,"}")),o=n.split("\n"),a=n[r],s=n.slice(r).match(new RegExp("^[".concat(a,"]+")))[0],u=new RegExp("^\\s{0,3}".concat(s)).test(o[o.length-1].slice(c(o.length-1)));return o.slice(1,u?-1:void 0).map((function(e,t){return e.slice(c(t+1)).replace(i,"")})).join("\n");function c(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:VE,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;var n=Number(VE(e.children[0],t.originalText).numberText),r=Number(VE(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){var i=Number(VE(e.children[2],t.originalText).numberText);return 1===r&&1===i}return 1===r},INLINE_NODE_TYPES:BE,INLINE_NODE_WRAPPER_TYPES:zE},WE=rs.builders,GE=WE.hardline,KE=WE.literalline,JE=WE.concat,YE=WE.markAsRoot,QE=rs.utils.mapDoc,$E=HE.getFencedCodeBlockValue,XE=function(e,t,n,r){var i=e.getValue();if("code"===i.type&&null!==i.lang){var o=i.lang.match(/^[A-Za-z0-9_-]+/),a=function(e){var t=vn.getSupportInfo({plugins:r.plugins}).languages.find((function(t){return t.name.toLowerCase()===e||t.aliases&&t.aliases.includes(e)||t.extensions&&t.extensions.find((function(t){return t===".".concat(e)}))}));return t?t.parsers[0]:null}(o?o[0]:"");if(a){var s=r.__inJsTemplate?"~":"`",u=s.repeat(Math.max(3,Ma.getMaxContinuousCount(i.value,s)+1)),c=n($E(i,r.originalText),{parser:a});return YE(JE([u,i.lang,GE,l(c),u]))}}if("yaml"===i.type)return YE(JE(["---",GE,i.value&&i.value.trim()?l(n(i.value,{parser:"yaml"})):"","---"]));switch(i.type){case"importExport":return n(i.value,{parser:"babel"});case"jsx":return n("<$>".concat(i.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"})}return null;function l(e){return QE(e,(function(e){return"string"===typeof e&&e.includes("\n")?JE(e.split(/(\n)/g).map((function(e,t){return t%2===0?e:KE}))):e}))}},ZE=["format","prettier"];function eD(e){var t="@(".concat(ZE.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var tD={startWithPragma:eD,hasPragma:function(e){return eD(Eu(e).content.trimStart())},insertPragma:function(e){var t=Eu(e),n="\x3c!-- @".concat(ZE[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}},nD=HE.getOrderedListItemInfo,rD=HE.mapAst,iD=HE.splitText,oD=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function aD(e,t,n){return rD(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var sD=function(e,t){return e=function(e){return aD(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return rD(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return rD(e,(function(e,n,r){var i=l(r,1)[0];if("text"!==e.type)return e;var o=e.value;return"paragraph"===i.type&&(0===n&&(o=o.trimStart()),n===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:iD(o,t)}}))}(e=function(e,t){return rD(e,(function(e,r,i){if("list"===e.type&&0!==e.children.length){for(var o=0;o<i.length;o++){var a=i[o];if("list"===a.type&&!a.isAligned)return e.isAligned=!1,e}e.isAligned=function(e){if(!e.ordered)return!0;var r=l(e.children,2),i=r[0],o=r[1];if(nD(i,t.originalText).leadingSpaces.length>1)return!0;var a=n(i);if(-1===a)return!1;if(1===e.children.length)return a%t.tabWidth===0;var s=n(o);return a===s&&(a%t.tabWidth===0||nD(o,t.originalText).leadingSpaces.length>1)}(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}(e=function(e,t){return rD(e,(function(e,n,r){if("code"===e.type){var i=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=i,i)for(var o=0;o<r.length;o++){var a=r[o];if(a.hasIndentedCodeblock)break;"list"===a.type&&(a.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return rD(e,(function(e){return"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")})}))}(e=function(e){return aD(e,(function(e,t){return"text"===e.type&&"text"===t.type}),(function(e,t){return{type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e,t){return rD(e,(function(e){return"text"!==e.type?e:Object.assign({},e,{value:"*"!==e.value&&"_"!==e.value&&"$"!==e.value&&oD.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?t.originalText.slice(e.position.start.offset,e.position.end.offset):e.value})}))}(e,t))),t),t),t)))},uD=rs.builders,cD=uD.breakParent,lD=uD.concat,pD=uD.join,fD=uD.line,dD=uD.literalline,hD=uD.markAsRoot,mD=uD.hardline,gD=uD.softline,vD=uD.ifBreak,yD=uD.fill,bD=uD.align,xD=uD.indent,ED=uD.group,DD=rs.utils.mapDoc,CD=rs.printer.printDocToString,wD=HE.getFencedCodeBlockValue,SD=HE.hasGitDiffFriendlyOrderedList,kD=HE.splitText,AD=HE.punctuationPattern,TD=HE.INLINE_NODE_TYPES,_D=HE.INLINE_NODE_WRAPPER_TYPES,OD=Ma.replaceEndOfLineWith,FD=["importExport"],ND=["heading","tableCell","link"],ID=["listItem","definition","footnoteDefinition"];function MD(e,t,n,r){var i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return lD([o,zD(e,t,n,{processor:function(e,i){if(0===i&&"list"!==e.getValue().type)return bD(" ".repeat(o.length),e.call(n));var a,s,u,c=" ".repeat((a=t.tabWidth-r.length,u=3,a<(s=0)?s:a>u?u:a));return lD([c,bD(c,e.call(n))])}})])}function jD(e,t){return function(e,t,n){n=n||function(){return!0};var r,i=-1,o=s(t.children);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.type===e.type&&n(a)?i++:i=-1,a===e)return i}}catch(u){o.e(u)}finally{o.f()}}(e,t,(function(t){return t.ordered===e.ordered}))}function LD(e,t){for(var n,r=[].concat(t),i=-1;n=e.getParentNode(++i);)if(r.includes(n.type))return i;return-1}function PD(e,t){var n=LD(e,t);return-1===n?null:e.getParentNode(n)}function RD(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return mD;var r="always"===n.proseWrap&&!PD(e,ND);return""!==t?r?fD:" ":r?gD:""}function BD(e,t,n){var r=[],i=null,o=e.getValue().children;return o.forEach((function(e,t){switch(qD(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}})),zD(e,t,n,{processor:function(e,i){if(0!==r.length){var a=r[0];if(i===a.start.index)return lD([o[a.start.index].value,t.originalText.slice(a.start.offset,a.end.offset),o[a.end.index].value]);if(a.start.index<i&&i<a.end.index)return!1;if(i===a.end.index)return r.shift(),!1}return e.call(n)}})}function zD(e,t,n,r){var i,o=(r=r||{}).postprocessor||lD,a=r.processor||function(e){return e.call(n)},s=e.getValue(),u=[];return e.map((function(e,n){var r=e.getValue(),o=a(e,n);if(!1!==o){var c={parts:u,prevNode:i,parentNode:s,options:t};(function(e,t){var n=0===t.parts.length,r=TD.includes(e.type),i="html"===e.type&&_D.includes(t.parentNode.type);return n||r||i})(r,c)||(u.push(mD),i&&FD.includes(i.type)||(function(e,t){var n=(t.prevNode&&t.prevNode.type)===e.type&&ID.includes(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===qD(t.prevNode),a="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||a||s)}(r,c)||VD(r,c))&&u.push(mD),VD(r,c)&&u.push(mD)),u.push(o),i=r}}),"children"),o(u)}function UD(e){for(var t=e;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function qD(e){if("html"!==e.type)return!1;var t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:"next")}function VD(e,t){var n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function HD(e){return DD(e,(function(e){if(!e.parts)return e;if("concat"===e.type&&1===e.parts.length)return e.parts[0];var t=e.parts.reduce((function(e,t){return"concat"===t.type?e.push.apply(e,u(t.parts)):""!==t&&e.push(t),e}),[]);return Object.assign({},e,{parts:KD(t)})}))}function WD(e,t){var n=[" "].concat(t||[]);return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function GD(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+GD(e,t,!1);if(e.includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=e.replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}function KD(e){return e.reduce((function(e,t){var n=Ma.getLast(e);return"string"===typeof n&&"string"===typeof t?e.splice(-1,1,n+t):e.push(t),e}),[])}var JD={preprocess:sD,print:function(e,t,n){var r=e.getValue();if(function(e){var t=PD(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return lD(kD(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map((function(n){return"word"===n.type?n.value:""===n.value?"":RD(e,n.value,t)})));switch(r.type){case"root":return 0===r.children.length?"":lD([HD(BD(e,t,n)),FD.includes(UD(r).type)?"":mD]);case"paragraph":return zD(e,t,n,{postprocessor:yD});case"sentence":return zD(e,t,n);case"word":return r.value.replace(/[*$]/g,"\\$&").replace(new RegExp(["(^|".concat(AD,")(_+)"),"(_+)(".concat(AD,"|$)")].join("|"),"g"),(function(e,t,n,r,i){return(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_")}));case"whitespace":var i=e.getParentNode(),o=i.children.indexOf(r),a=i.children[o+1],s=a&&/^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(a.value)?"never":t.proseWrap;return RD(e,r.value,{proseWrap:s});case"emphasis":var u=e.getParentNode(),c=u.children.indexOf(r),l=u.children[c-1],p=u.children[c+1],f=l&&"sentence"===l.type&&l.children.length>0&&"word"===Ma.getLast(l.children).type&&!Ma.getLast(l.children).hasTrailingPunctuation||p&&"sentence"===p.type&&p.children.length>0&&"word"===p.children[0].type&&!p.children[0].hasLeadingPunctuation||PD(e,"emphasis")?"*":"_";return lD([f,zD(e,t,n),f]);case"strong":return lD(["**",zD(e,t,n),"**"]);case"delete":return lD(["~~",zD(e,t,n),"~~"]);case"inlineCode":var d=Ma.getMinNotPresentContinuousCount(r.value,"`"),h="`".repeat(d||1),m=d?" ":"";return lD([h,m,r.value,m,h]);case"link":switch(t.originalText[r.position.start.offset]){case"<":var g=r.url.startsWith("mailto:")&&"mailto:"!==t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+"mailto:".length)?r.url.slice("mailto:".length):r.url;return lD(["<",g,">"]);case"[":return lD(["[",zD(e,t,n),"](",WD(r.url,")"),GD(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return lD(["![",r.alt||"","](",WD(r.url,")"),GD(r.title,t),")"]);case"blockquote":return lD(["> ",bD("> ",zD(e,t,n))]);case"heading":return lD(["#".repeat(r.depth)+" ",zD(e,t,n)]);case"code":if(r.isIndented){var v=" ".repeat(4);return bD(v,lD([v,lD(OD(r.value,mD))]))}var y=t.__inJsTemplate?"~":"`",b=y.repeat(Math.max(3,Ma.getMaxContinuousCount(r.value,y)+1));return lD([b,r.lang||"",mD,lD(OD(wD(r,t.originalText),mD)),mD,b]);case"yaml":case"toml":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"html":var x=e.getParentNode(),E="root"===x.type&&Ma.getLast(x.children)===r?r.value.trimEnd():r.value,D=/^<!--[\s\S]*-->$/.test(E);return lD(OD(E,D?mD:hD(dD)));case"list":var C=jD(r,e.getParentNode()),w=SD(r,t);return zD(e,t,n,{processor:function(e,i){var o=function(){var e=r.ordered?(0===i?r.start:w?1:r.start+i)+(C%2===0?". ":") "):C%2===0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){var n=function(){var n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}();return e+" ".repeat(n>=4?0:n)}(e,t):e}(),a=e.getValue();return 2===a.children.length&&"html"===a.children[1].type&&a.children[0].position.start.column!==a.children[1].position.start.column?lD([o,MD(e,t,n,o)]):lD([o,bD(" ".repeat(o.length),MD(e,t,n,o))])}});case"thematicBreak":var S=LD(e,"list");return-1===S?"---":jD(e.getParentNode(S),e.getParentNode(S+1))%2===0?"***":"---";case"linkReference":return lD(["[",zD(e,t,n),"]","full"===r.referenceType?lD(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return lD(["![",r.alt||"","][",r.identifier,"]"]);default:return lD(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":var k="always"===t.proseWrap?fD:" ";return ED(lD([lD(["[",r.identifier,"]:"]),xD(lD([k,WD(r.url),null===r.title?"":lD([k,GD(r.title,t,!1)])]))]));case"footnote":return lD(["[^",zD(e,t,n),"]"]);case"footnoteReference":return lD(["[^",r.identifier,"]"]);case"footnoteDefinition":var A=e.getParentNode().children[e.getName()+1],T=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return lD(["[^",r.identifier,"]: ",T?zD(e,t,n):ED(lD([bD(" ".repeat(t.tabWidth),zD(e,t,n,{processor:function(e,t){return 0===t?ED(lD([gD,e.call(n)])):e.call(n)}})),A&&"footnoteDefinition"===A.type?gD:""]))]);case"table":return function(e,t,n){var r=mD.parts[0],i=e.getValue(),o=[];e.map((function(e){var r=[];e.map((function(e){r.push(CD(e.call(n),t).formatted)}),"children"),o.push(r)}),"children");var a=o.reduce((function(e,t){return e.map((function(e,n){return Math.max(e,Ma.getStringWidth(t[n]))}))}),o[0].map((function(){return 3}))),s=pD(r,[l(o[0]),c(),pD(r,o.slice(1).map((function(e){return l(e)})))]);if("never"!==t.proseWrap)return lD([cD,s]);var u=pD(r,[l(o[0],!0),c(!0),pD(r,o.slice(1).map((function(e){return l(e,!0)})))]);return lD([cD,ED(vD(u,s))]);function c(e){return lD(["| ",pD(" | ",a.map((function(t,n){var r=e?3:t;switch(i.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}})))," |"])}function l(e,t){return lD(["| ",pD(" | ",t?e:e.map((function(e,t){switch(i.align[t]){case"right":return function(e,t){var n=t-Ma.getStringWidth(e);return lD([" ".repeat(n),e])}(e,a[t]);case"center":return function(e,t){var n=t-Ma.getStringWidth(e),r=Math.floor(n/2),i=n-r;return lD([" ".repeat(r),e," ".repeat(i)])}(e,a[t]);default:return function(e,t){var n=t-Ma.getStringWidth(e);return lD([e," ".repeat(n)])}(e,a[t])}})))," |"])}}(e,t,n);case"tableCell":return zD(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?lD([" ",hD(dD)]):lD(["\\",mD]);case"liquidNode":return lD(OD(r.value,mD));case"importExport":case"jsx":return r.value;case"math":return lD(["$$",mD,r.value?lD([lD(OD(r.value,mD)),mD]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:XE,massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[ \t\n]+/g," ")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||("yaml"===n.children[0].type||"toml"===n.children[0].type)&&n.children[1]===e)&&"html"===e.type&&tD.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){var t=+e.getName();return 0!==t&&"next"===qD(e.getParentNode().children[t-1])},insertPragma:tD.insertPragma},YD={proseWrap:zl.proseWrap,singleQuote:zl.singleQuote},QD=["pandoc"],$D=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],XD=["contents.lr"],ZD={name:"Markdown",type:"prose",aliases:QD,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:$D,filenames:XD,tmScope:"source.gfm",languageId:222},eC=pt(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:QD,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:$D,filenames:XD,tmScope:"source.gfm",languageId:222,default:ZD})),tC={languages:[ql(eC,(function(e){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))}})),ql(eC,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:YD,printers:{mdast:JD}},nC=function(e){return/^\s*@(prettier|format)\s*$/.test(e)},rC=function(e){return"# @format\n\n".concat(e)},iC=Ma.getLast;function oC(e,t){return e&&"string"===typeof e.type&&(!t||t.includes(e.type))}function aC(e){return"prettier-ignore"===e.value.trim()}function sC(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function uC(e){return e&&e.middleComments&&0!==e.middleComments.length}function cC(e){return e&&e.indicatorComment}function lC(e){return e&&e.trailingComment}function pC(e){return e&&e.endComments&&0!==e.endComments.length}function fC(e){var t,n=[],r=void 0,i=s(e.split(/( +)/g));try{for(i.s();!(t=i.n()).done;){var o=t.value;" "!==o?" "===r?n.push(o):n.push((n.pop()||"")+o):void 0===r&&n.unshift(""),r=o}}catch(a){i.e(a)}finally{i.f()}return" "===r&&n.push((n.pop()||"")+" "),""===n[0]&&(n.shift(),n.unshift(" "+(n.shift()||""))),n}var dC={getLast:iC,getAncestorCount:function(e,t){for(var n=0,r=e.stack.length-1,i=0;i<r;i++){var o=e.stack[i];oC(o)&&t(o)&&n++}return n},isNode:oC,isEmptyNode:function(e){return(!e.children||0===e.children.length)&&!function(e){return sC(e)||uC(e)||cC(e)||lC(e)||pC(e)}(e)},mapNode:function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map((function(r){return e(r,n,t)}))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){for(var n=0,r=t.length,i=e.position.end.offset-1;i<r;i++){var o=t[i];if("\n"===o&&n++,1===n&&/\S/.test(o))return!1;if(2===n)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var t=e.stack.length,n=1;n<t;n++){var r=e.stack[n],i=e.stack[n-1];if(Array.isArray(i)&&"number"===typeof r&&r!==i.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){var n,r=t.parentIndent,i=t.isLastDescendant,o=t.options,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\s\S]*)$/)[1],s=null===e.indent?(n=a.match(/^( *)\S/m))?n[1].length:1/0:e.indent-1+r,u=a.split("\n").map((function(e){return e.slice(s)}));return"preserve"===o.proseWrap||"blockLiteral"===e.type?c(u.map((function(e){return 0===e.length?[]:[e]}))):c(u.map((function(e){return 0===e.length?[]:fC(e)})).reduce((function(e,t,n){return 0===n||0===u[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(iC(e))?e.concat([t]):e.concat([e.pop().concat(t)])}),[]).map((function(e){return e.reduce((function(e,t){return 0!==e.length&&/\s$/.test(iC(e))?e.concat(e.pop()+" "+t):e.concat(t)}),[])})).map((function(e){return"never"===o.proseWrap?[e.join(" ")]:e})));function c(t){if("keep"===e.chomping)return 0===iC(t).length?t.slice(0,-1):t;for(var n=0,r=t.length-1;r>=0&&0===t[r].length;r--)n++;return 0===n?t:n>=2&&!i?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){var r=t.split("\n").map((function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart()}));return"preserve"===n.proseWrap?r.map((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:fC(e)})).reduce((function(t,n,i){return 0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&iC(iC(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(iC(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var n=e.getParentNode();return pC(n.head)&&aC(iC(n.head.endComments))}return sC(t)&&aC(iC(t.leadingComments))},hasLeadingComments:sC,hasMiddleComments:uC,hasIndicatorComment:cC,hasTrailingComment:lC,hasEndComments:pC},hC=rC,mC=nC,gC=dC.getAncestorCount,vC=dC.getBlockValueLineContents,yC=dC.getFlowScalarLineContents,bC=dC.getLast,xC=dC.getLastDescendantNode,EC=dC.hasLeadingComments,DC=dC.hasMiddleComments,CC=dC.hasIndicatorComment,wC=dC.hasTrailingComment,SC=dC.hasEndComments,kC=dC.hasPrettierIgnore,AC=dC.isLastDescendantNode,TC=dC.isNextLineEmpty,_C=dC.isNode,OC=dC.isEmptyNode,FC=dC.defineShortcut,NC=dC.mapNode,IC=rs.builders,MC=IC.conditionalGroup,jC=IC.breakParent,LC=IC.concat,PC=IC.dedent,RC=IC.dedentToRoot,BC=IC.fill,zC=IC.group,UC=IC.hardline,qC=IC.ifBreak,VC=IC.join,HC=IC.line,WC=IC.lineSuffix,GC=IC.literalline,KC=IC.markAsRoot,JC=IC.softline,YC=Ma.replaceEndOfLineWith;function QC(e){switch(e.type){case"document":FC(e,"head",(function(){return e.children[0]})),FC(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":FC(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":FC(e,"key",(function(){return e.children[0]})),FC(e,"value",(function(){return e.children[1]}))}return e}function $C(e,t,n,r,i){switch(e.type){case"root":return LC([VC(UC,n.map((function(t,r){var o=e.children[r],a=e.children[r+1];return LC([i(t),tw(o,a)?LC([UC,"...",wC(o)?LC([" ",n.call(i,"trailingComment")]):""]):!a||wC(a.head)?"":LC([UC,"---"])])}),"children")),0===e.children.length||(w=xC(e),_C(w,["blockLiteral","blockFolded"])&&"keep"===w.chomping)?"":UC]);case"document":var o=t.children[n.getName()+1];return VC(UC,["head"===nw(e,o,t,r)?VC(UC,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),LC(["---",wC(e.head)?LC([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",ew(e)?n.call(i,"body"):""].filter(Boolean));case"documentHead":return VC(UC,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":var a=VC(UC,n.map(i,"children")).parts,s=VC(UC,n.map(i,"endComments")).parts,u=0===a.length||0===s.length?"":function(e){return _C(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":LC([UC,UC]):UC}(xC(e));return LC([].concat(a,u,s));case"directive":return LC(["%",VC(" ",[e.name].concat(e.parameters))]);case"comment":return LC(["#",e.value]);case"alias":return LC(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return LC(["&",e.value]);case"plain":return aw(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var c=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&c.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(c)){var l="quoteDouble"===e.type?'"':"'";return LC([l,aw(e.type,c,r),l])}if(c.includes('"'))return LC(["'",aw(e.type,"quoteDouble"===e.type?c.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):c,r),"'"]);if(c.includes("'"))return LC(['"',aw(e.type,"quoteSingle"===e.type?c.replace(/''/g,"'"):c,r),'"']);var p=r.singleQuote?"'":'"';return LC([p,aw(e.type,c,r),p]);case"blockFolded":case"blockLiteral":var f=gC(n,(function(e){return _C(e,["sequence","mapping"])})),d=AC(n);return LC(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",CC(e)?LC([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?PC:RC)(XC(null===e.indent?r.tabWidth:e.indent-1+f,LC(vC(e,{parentIndent:f,isLastDescendant:d,options:r}).reduce((function(t,n,r,i){return t.concat(0===r?UC:"",BC(VC(HC,n).parts),r!==i.length-1?0===n.length?UC:KC(GC):"keep"===e.chomping&&d?0===n.length?RC(UC):RC(GC):"")}),[]))))]);case"sequence":return VC(UC,n.map(i,"children"));case"sequenceItem":return LC(["- ",XC(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return VC(UC,n.map(i,"children"));case"mappingItem":case"flowMappingItem":var h=OC(e.key),m=OC(e.value);if(h&&m)return LC([": "]);var g=n.call(i,"key"),v=n.call(i,"value");if(m)return"flowMappingItem"===e.type&&"flowMapping"===t.type?g:"mappingItem"!==e.type||!rw(e.key.content,r)||wC(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?LC(["? ",XC(2,g)]):LC([g,iw(e)?" ":"",":"]);if(h)return LC([": ",XC(2,v)]);var y=Symbol("mappingKey");return EC(e.value)||!ZC(e.key.content)?LC(["? ",XC(2,g),UC,VC("",n.map(i,"value","leadingComments").map((function(e){return LC([e,UC])}))),": ",XC(2,v)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||EC(e.key.content)||DC(e.key.content)||wC(e.key.content)||SC(e.key)||EC(e.value.content)||DC(e.value.content)||SC(e.value)||!rw(e.value.content,r)?MC([LC([zC(LC([qC("? "),zC(XC(2,g),{id:y})])),qC(LC([UC,": ",XC(2,v)]),S(LC([iw(e)?" ":"",":",EC(e.value.content)||SC(e.value)&&e.value.content&&!_C(e.value.content,["mapping","sequence"])||"mapping"===t.type&&wC(e.key.content)&&ZC(e.value.content)||_C(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?UC:e.value.content?HC:"",v])),{groupId:y})])]):LC([g,iw(e)?" ":"",": ",v]);case"flowMapping":case"flowSequence":var b="flowMapping"===e.type?"{":"[",x="flowMapping"===e.type?"}":"]",E="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?HC:JC,D=0!==e.children.length&&"flowMappingItem"===(C=bC(e.children)).type&&OC(C.key)&&OC(C.value);return LC([b,S(LC([E,LC(n.map((function(t,n){return LC([i(t),n===e.children.length-1?"":LC([",",HC,e.children[n].position.start.line!==e.children[n+1].position.start.line?ow(t,r.originalText):""])])}),"children")),qC(",","")])),D?"":E,x]);case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var C,w;function S(e){return IC.align(" ".repeat(r.tabWidth),e)}}function XC(e,t){return"number"===typeof e&&e>0?IC.align(" ".repeat(e),t):IC.align(e,t)}function ZC(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function ew(e){return 0!==e.body.children.length||SC(e.body)}function tw(e,t){return wC(e)||t&&(0!==t.head.children.length||SC(t.head))}function nw(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||SC(e.head)||wC(e.head)?"head":!tw(e,t)&&!!t&&"root"}function rw(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function iw(e){return e.key.content&&"alias"===e.key.content.type}function ow(e,t){var n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],!r.isNextEmptyLinePrintedChecklist[n.position.end.line]&&TC(n,t)?(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,JC):""}function aw(e,t,n){var r=yC(e,t,n);return VC(UC,r.map((function(e){return BC(VC(HC,e).parts)})))}var sw={preprocess:function(e){return NC(e,QC)},print:function(e,t,n){var r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",a=r.anchor?e.call(n,"anchor"):"",s=_C(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!AC(e)?ow(e,t.originalText):"";return LC(["mappingValue"!==r.type&&EC(r)?LC([VC(UC,e.map(n,"leadingComments")),UC]):"",o,o&&a?" ":"",a,o||a?_C(r,["sequence","mapping"])&&!DC(r)?UC:" ":"",DC(r)?LC([1===r.middleComments.length?"":UC,VC(UC,e.map(n,"middleComments")),UC]):"",kC(e)?LC(YC(t.originalText.slice(r.position.start.offset,r.position.end.offset),GC)):zC($C(r,i,e,t,n)),wC(r)&&!_C(r,["document","documentHead"])?WC(LC(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&ZC(r)?"":jC,e.call(n,"trailingComment")])):"",s,SC(r)&&!_C(r,["documentHead","documentBody"])?XC("sequenceItem"===r.type?2:0,LC([UC,VC(UC,e.map(n,"endComments"))])):""])},massageAstNode:function(e,t){if(_C(t))switch(delete t.position,t.type){case"comment":if(mC(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:hC},uw={bracketSpacing:zl.bracketSpacing,singleQuote:zl.singleQuote,proseWrap:zl.proseWrap},cw=["yml"],lw=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],pw=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],fw={name:"YAML",type:"data",tmScope:"source.yaml",aliases:cw,extensions:lw,filenames:pw,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},dw={languages:[ql(pt(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:cw,extensions:lw,filenames:pw,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:fw})),(function(e){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"],filenames:e.filenames.filter((function(e){return"yarn.lock"!==e}))}}))],printers:{yaml:sw},options:uw},hw=dn.version,mw=vn.getSupportInfo,gw=[op,kp,xf,Ng,ME,tC,dw];function vw(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r[t]||{},a=o.plugins||[];return r[t]=Object.assign({},o,{plugins:[].concat(gw,u(Array.isArray(a)?a:Object.values(a)))}),e.apply(void 0,r)}}var yw=vw(nu);return{formatWithCursor:yw,format:function(e,t){return yw(e,t).formatted},check:function(e,t){return yw(e,t).formatted===e},doc:rs,getSupportInfo:vw(mw,0),version:hw,util:is,__debug:{parse:vw(ru),formatAST:vw(iu),formatDoc:vw(ou),printToDoc:vw(au),printDocToString:vw(su)}}},e.exports=r()}).call(this,n(37))},function(e,t,n){var r=n(177),i=n(178),o=n(114),a=n(180);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(313);function i(t,n,o){return"undefined"!==typeof Reflect&&Reflect.get?e.exports=i=Reflect.get:e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}},i(t,n,o||t)}e.exports=i},function(e,t,n){var r=n(115);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t,n){var r=n(114);e.exports=function(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=r(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f: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.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},function(e,t,n){var r=n(316),i=n(178),o=n(114),a=n(317);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(179);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t,n){var r=n(321),i=n(322);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?i(e):t}},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(115),i=n(135),o=n(324),a=n(325);function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},s(t)}e.exports=s},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(135),i=n(184);function o(t,n,a){return i()?e.exports=o=Reflect.construct:e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},o.apply(null,arguments)}e.exports=o},function(e,t,n){!function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!Boolean(e))throw new Error(t)}}));t(r);var i=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}}));t(i);var o=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Source=void 0;var n=a(r),o=a(i);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t,r){this.body=e,this.name=t||"GraphQL request",this.locationOffset=r||{line:1,column:1},this.locationOffset.line>0||(0,n.default)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,n.default)(0,"column in locationOffset is 1-indexed and must be positive")};t.Source=s,(0,o.default)(s)}));t(o),o.Source;var a=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getLocation=function(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}}));t(a),a.getLocation;var s=n((function(e,t){function n(e,t){var n=e.locationOffset.column-1,o=i(n)+e.body,a=t.line-1,s=e.locationOffset.line-1,u=t.line+s,c=1===t.line?n:0,l=t.column+c,p="".concat(e.name,":").concat(u,":").concat(l,"\n"),f=o.split(/\r\n|[\n\r]/g),d=f[a];if(d.length>120){for(var h=Math.floor(l/80),m=l%80,g=[],v=0;v<d.length;v+=80)g.push(d.slice(v,v+80));return p+r([["".concat(u),g[0]]].concat(g.slice(1,h+1).map((function(e){return["",e]})),[[" ",i(m-1)+"^"],["",g[h+1]]]))}return p+r([["".concat(u-1),f[a-1]],["".concat(u),d],["",i(l-1)+"^"],["".concat(u+1),f[a+1]]])}function r(e){var t=e.filter((function(e){return e[0],void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],o=e[1];return i(n-(t=r).length)+t+(o?" | "+o:" |")})).join("\n")}function i(e){return Array(e+1).join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.printLocation=function(e){return n(e.source,(0,a.getLocation)(e.source,e.start))},t.printSourceLocation=n}));t(s),s.printLocation,s.printSourceLocation;var u=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0;var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});t.Kind=n}));t(u),u.Kind;var c=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TokenKind=void 0;var n=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});t.TokenKind=n}));t(c),c.TokenKind;var l=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.default=n}));t(l);var p=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,r.default&&(e.prototype[r.default]=t)};var n,r=(n=l)&&n.__esModule?n:{default:n}}));t(p);var f=n((function(e,t){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)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==n(e)&&null!==e}}));t(f);var d=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLError=i,t.printError=o;var n,r=(n=f)&&n.__esModule?n:{default:n};function i(e,t,n,o,s,u,c){var l=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,p=n;if(!p&&l){var f=l[0];p=f&&f.loc&&f.loc.source}var d,h=o;!h&&l&&(h=l.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),h&&0===h.length&&(h=void 0),o&&n?d=o.map((function(e){return(0,a.getLocation)(n,e)})):l&&(d=l.reduce((function(e,t){return t.loc&&e.push((0,a.getLocation)(t.loc.source,t.loc.start)),e}),[]));var m=c;if(null==m&&null!=u){var g=u.extensions;(0,r.default)(g)&&(m=g)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:d||void 0,enumerable:Boolean(d)},path:{value:s||void 0,enumerable:Boolean(s)},nodes:{value:l||void 0},source:{value:p||void 0},positions:{value:h||void 0},originalError:{value:u},extensions:{value:m||void 0,enumerable:Boolean(m)}}),u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function o(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+(0,s.printLocation)(i.loc))}else if(e.source&&e.locations)for(var o=0,a=e.locations;o<a.length;o++){var u=a[o];t+="\n\n"+(0,s.printSourceLocation)(e.source,u)}return t}i.prototype=Object.create(Error.prototype,{constructor:{value:i},name:{value:"GraphQLError"},toString:{value:function(){return o(this)}}})}));t(d),d.GraphQLError,d.printError;var h=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.syntaxError=function(e,t,n){return new d.GraphQLError("Syntax Error: ".concat(n),void 0,e,[t])}}));t(h),h.syntaxError;var m=n((function(e,t){function n(e){for(var t=null,n=1;n<e.length;n++){var i=e[n],o=r(i);if(o!==i.length&&(null===t||o<t)&&0===(t=o))break}return null===t?0:t}function r(e){for(var t=0;t<e.length&&(" "===e[t]||"\t"===e[t]);)t++;return t}function i(e){return r(e)===e.length}Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringValue=function(e){var t=e.split(/\r\n|[\n\r]/g),r=n(t);if(0!==r)for(var o=1;o<t.length;o++)t[o]=t[o].slice(r);for(;t.length>0&&i(t[0]);)t.shift();for(;t.length>0&&i(t[t.length-1]);)t.pop();return t.join("\n")},t.getBlockStringIndentation=n,t.printBlockString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!r||o||n,s="";return!a||r&&i||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}}));t(m),m.dedentBlockStringValue,m.getBlockStringIndentation,m.printBlockString;var g=n((function(e,t){var n;function r(){return this.lastToken=this.token,this.token=this.lookahead()}function i(){var e=this.token;if(e.kind!==c.TokenKind.EOF)do{e=e.next||(e.next=s(this,e))}while(e.kind===c.TokenKind.COMMENT);return e}function o(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null}function a(e){return isNaN(e)?c.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function s(e,t){var n=e.source,r=n.body,i=r.length,s=function(e,t,n){for(var r=e.length,i=t;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,t.end,e),p=e.line,f=1+s-e.lineStart;if(s>=i)return new o(c.TokenKind.EOF,i,i,p,f,t);var d=r.charCodeAt(s);switch(d){case 33:return new o(c.TokenKind.BANG,s,s+1,p,f,t);case 35:return function(e,t,n,r,i){var a,s=e.body,u=t;do{a=s.charCodeAt(++u)}while(!isNaN(a)&&(a>31||9===a));return new o(c.TokenKind.COMMENT,t,u,n,r,i,s.slice(t+1,u))}(n,s,p,f,t);case 36:return new o(c.TokenKind.DOLLAR,s,s+1,p,f,t);case 38:return new o(c.TokenKind.AMP,s,s+1,p,f,t);case 40:return new o(c.TokenKind.PAREN_L,s,s+1,p,f,t);case 41:return new o(c.TokenKind.PAREN_R,s,s+1,p,f,t);case 46:if(46===r.charCodeAt(s+1)&&46===r.charCodeAt(s+2))return new o(c.TokenKind.SPREAD,s,s+3,p,f,t);break;case 58:return new o(c.TokenKind.COLON,s,s+1,p,f,t);case 61:return new o(c.TokenKind.EQUALS,s,s+1,p,f,t);case 64:return new o(c.TokenKind.AT,s,s+1,p,f,t);case 91:return new o(c.TokenKind.BRACKET_L,s,s+1,p,f,t);case 93:return new o(c.TokenKind.BRACKET_R,s,s+1,p,f,t);case 123:return new o(c.TokenKind.BRACE_L,s,s+1,p,f,t);case 124:return new o(c.TokenKind.PIPE,s,s+1,p,f,t);case 125:return new o(c.TokenKind.BRACE_R,s,s+1,p,f,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){for(var a=e.body,s=a.length,u=t+1,l=0;u!==s&&!isNaN(l=a.charCodeAt(u))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++u;return new o(c.TokenKind.NAME,t,u,n,r,i,a.slice(t,u))}(n,s,p,f,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,s){var l=e.body,p=n,f=t,d=!1;if(45===p&&(p=l.charCodeAt(++f)),48===p){if((p=l.charCodeAt(++f))>=48&&p<=57)throw(0,h.syntaxError)(e,f,"Invalid number, unexpected digit after 0: ".concat(a(p),"."))}else f=u(e,f,p),p=l.charCodeAt(f);if(46===p&&(d=!0,p=l.charCodeAt(++f),f=u(e,f,p),p=l.charCodeAt(f)),69!==p&&101!==p||(d=!0,43!==(p=l.charCodeAt(++f))&&45!==p||(p=l.charCodeAt(++f)),f=u(e,f,p),p=l.charCodeAt(f)),46===p||69===p||101===p)throw(0,h.syntaxError)(e,f,"Invalid number, expected digit but got: ".concat(a(p),"."));return new o(d?c.TokenKind.FLOAT:c.TokenKind.INT,t,f,r,i,s,l.slice(t,f))}(n,s,d,p,f,t);case 34:return 34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)?function(e,t,n,r,i,s){for(var u=e.body,l=t+3,p=l,f=0,d="";l<u.length&&!isNaN(f=u.charCodeAt(l));){if(34===f&&34===u.charCodeAt(l+1)&&34===u.charCodeAt(l+2))return d+=u.slice(p,l),new o(c.TokenKind.BLOCK_STRING,t,l+3,n,r,i,(0,m.dedentBlockStringValue)(d));if(f<32&&9!==f&&10!==f&&13!==f)throw(0,h.syntaxError)(e,l,"Invalid character within String: ".concat(a(f),"."));10===f?(++l,++s.line,s.lineStart=l):13===f?(10===u.charCodeAt(l+1)?l+=2:++l,++s.line,s.lineStart=l):92===f&&34===u.charCodeAt(l+1)&&34===u.charCodeAt(l+2)&&34===u.charCodeAt(l+3)?(d+=u.slice(p,l)+'"""',p=l+=4):++l}throw(0,h.syntaxError)(e,l,"Unterminated string.")}(n,s,p,f,t,e):function(e,t,n,r,i){for(var s,u,p,f,d=e.body,m=t+1,g=m,v=0,y="";m<d.length&&!isNaN(v=d.charCodeAt(m))&&10!==v&&13!==v;){if(34===v)return y+=d.slice(g,m),new o(c.TokenKind.STRING,t,m+1,n,r,i,y);if(v<32&&9!==v)throw(0,h.syntaxError)(e,m,"Invalid character within String: ".concat(a(v),"."));if(++m,92===v){switch(y+=d.slice(g,m-1),v=d.charCodeAt(m)){case 34:y+='"';break;case 47:y+="/";break;case 92:y+="\\";break;case 98:y+="\b";break;case 102:y+="\f";break;case 110:y+="\n";break;case 114:y+="\r";break;case 116:y+="\t";break;case 117:var b=(s=d.charCodeAt(m+1),u=d.charCodeAt(m+2),p=d.charCodeAt(m+3),f=d.charCodeAt(m+4),l(s)<<12|l(u)<<8|l(p)<<4|l(f));if(b<0){var x=d.slice(m+1,m+5);throw(0,h.syntaxError)(e,m,"Invalid character escape sequence: \\u".concat(x,"."))}y+=String.fromCharCode(b),m+=4;break;default:throw(0,h.syntaxError)(e,m,"Invalid character escape sequence: \\".concat(String.fromCharCode(v),"."))}g=++m}}throw(0,h.syntaxError)(e,m,"Unterminated string.")}(n,s,p,f,t)}throw(0,h.syntaxError)(n,s,function(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(a(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(a(e),".")}(d))}function u(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw(0,h.syntaxError)(e,i,"Invalid number, expected digit but got: ".concat(a(o),"."))}function l(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object.defineProperty(t,"__esModule",{value:!0}),t.createLexer=function(e,t){var n=new o(c.TokenKind.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:r,lookahead:i}},t.isPunctuatorToken=function(e){var t=e.kind;return t===c.TokenKind.BANG||t===c.TokenKind.DOLLAR||t===c.TokenKind.AMP||t===c.TokenKind.PAREN_L||t===c.TokenKind.PAREN_R||t===c.TokenKind.SPREAD||t===c.TokenKind.COLON||t===c.TokenKind.EQUALS||t===c.TokenKind.AT||t===c.TokenKind.BRACKET_L||t===c.TokenKind.BRACKET_R||t===c.TokenKind.BRACE_L||t===c.TokenKind.PIPE||t===c.TokenKind.BRACE_R},(0,((n=p)&&n.__esModule?n:{default:n}).default)(o,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))}));t(g),g.createLexer,g.isPunctuatorToken;var v=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function e(t,n){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return null===t?"null":function(t,n){if(-1!==n.indexOf(t))return"[Circular]";var i=[].concat(n,[t]),o=function(e){var t=e[String(r.default)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(t);if(void 0!==o){var a=o.call(t);if(a!==t)return"string"==typeof a?a:e(a,i)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";for(var r=Math.min(10,t.length),i=t.length-r,o=[],a=0;a<r;++a)o.push(e(t[a],n));return 1===i?o.push("... 1 more item"):i>1&&o.push("... ".concat(i," more items")),"["+o.join(", ")+"]"}(t,i);return function(t,n){var r=Object.keys(t);return 0===r.length?"{}":n.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(t)+"]":"{ "+r.map((function(r){return r+": "+e(t[r],n)})).join(", ")+" }"}(t,i)}(t,n);default:return String(t)}}(e,[])};var n,r=(n=l)&&n.__esModule?n:{default:n};function i(e){return(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})(e)}}));t(v);var y=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DirectiveLocation=void 0;var n=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});t.DirectiveLocation=n}));t(y),y.DirectiveLocation;var b=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e,t){return new l(e,t).parseDocument()},t.parseValue=function(e,t){var n=new l(e,t);n.expectToken(c.TokenKind.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(c.TokenKind.EOF),r},t.parseType=function(e,t){var n=new l(e,t);n.expectToken(c.TokenKind.SOF);var r=n.parseTypeReference();return n.expectToken(c.TokenKind.EOF),r};var n=s(v),i=s(r),a=s(p);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(e,t){var r="string"==typeof e?new o.Source(e):e;r instanceof o.Source||(0,i.default)(0,"Must provide Source. Received: ".concat((0,n.default)(r))),this._lexer=(0,g.createLexer)(r),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(c.TokenKind.NAME);return{kind:u.Kind.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:u.Kind.DOCUMENT,definitions:this.many(c.TokenKind.SOF,this.parseDefinition,c.TokenKind.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(c.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(c.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(c.TokenKind.BRACE_L))return{kind:u.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(c.TokenKind.NAME)&&(t=this.parseName()),{kind:u.Kind.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(c.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseVariableDefinition,c.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(c.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(c.TokenKind.DOLLAR),{kind:u.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.Kind.SELECTION_SET,selections:this.many(c.TokenKind.BRACE_L,this.parseSelection,c.TokenKind.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(c.TokenKind.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(c.TokenKind.COLON)?(e=r,t=this.parseName()):t=r,{kind:u.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.TokenKind.PAREN_L,t,c.TokenKind.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(c.TokenKind.COLON),{kind:u.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(c.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(c.TokenKind.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(c.TokenKind.NAME)?{kind:u.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case c.TokenKind.BRACKET_L:return this.parseList(e);case c.TokenKind.BRACE_L:return this.parseObject(e);case c.TokenKind.INT:return this._lexer.advance(),{kind:u.Kind.INT,value:t.value,loc:this.loc(t)};case c.TokenKind.FLOAT:return this._lexer.advance(),{kind:u.Kind.FLOAT,value:t.value,loc:this.loc(t)};case c.TokenKind.STRING:case c.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case c.TokenKind.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:u.Kind.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:u.Kind.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:u.Kind.ENUM,value:t.value,loc:this.loc(t)});case c.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.Kind.STRING,value:e.value,block:e.kind===c.TokenKind.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:u.Kind.LIST,values:this.any(c.TokenKind.BRACKET_L,(function(){return t.parseValueLiteral(e)}),c.TokenKind.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:u.Kind.OBJECT,fields:this.any(c.TokenKind.BRACE_L,(function(){return t.parseObjectField(e)}),c.TokenKind.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(c.TokenKind.COLON),{kind:u.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(c.TokenKind.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(c.TokenKind.AT),{kind:u.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(c.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(c.TokenKind.BRACKET_R),e={kind:u.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(c.TokenKind.BANG)?{kind:u.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:u.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===c.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(c.TokenKind.STRING)||this.peek(c.TokenKind.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.many(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);return{kind:u.Kind.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.TokenKind.COLON);var n=this.parseNamedType();return{kind:u.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(c.TokenKind.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(c.TokenKind.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(c.TokenKind.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(c.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===c.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(c.TokenKind.BRACE_L,this.parseFieldDefinition,c.TokenKind.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(c.TokenKind.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseInputValueDef,c.TokenKind.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(c.TokenKind.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(c.TokenKind.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.Kind.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:u.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:u.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(c.TokenKind.EQUALS)){this.expectOptionalToken(c.TokenKind.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(c.TokenKind.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:u.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseEnumValueDefinition,c.TokenKind.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:u.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseInputValueDef,c.TokenKind.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===c.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:u.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:u.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.INTERFACE_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.TokenKind.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:u.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(c.TokenKind.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(c.TokenKind.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==y.DirectiveLocation[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new f(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,h.syntaxError)(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(d(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==c.TokenKind.NAME||t.value!==e)throw(0,h.syntaxError)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(d(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===c.TokenKind.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return(0,h.syntaxError)(this._lexer.source,t.start,"Unexpected ".concat(d(t)))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function f(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function d(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}(0,a.default)(f,(function(){return{start:this.start,end:this.end}}))}));t(b),b.parse,b.parseValue,b.parseType;var x=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,u=void 0,c=Array.isArray(e),l=[e],p=-1,f=[],d=void 0,h=void 0,m=void 0,g=[],v=[],y=e;do{var b=++p===l.length,x=b&&0!==f.length;if(b){if(h=0===v.length?void 0:g[g.length-1],d=m,m=v.pop(),x){if(c)d=d.slice();else{for(var E={},D=0,C=Object.keys(d);D<C.length;D++){var w=C[D];E[w]=d[w]}d=E}for(var S=0,k=0;k<f.length;k++){var A=f[k][0],T=f[k][1];c&&(A-=S),c&&null===T?(d.splice(A,1),S++):d[A]=T}}p=u.index,l=u.keys,f=u.edits,c=u.inArray,u=u.prev}else{if(h=m?c?p:l[p]:void 0,null==(d=m?m[h]:y))continue;m&&g.push(h)}var _=void 0;if(!Array.isArray(d)){if(!a(d))throw new Error("Invalid AST Node: "+(0,r.default)(d));var O=s(t,d.kind,b);if(O){if((_=O.call(t,d,h,m,g,v))===o)break;if(!1===_){if(!b){g.pop();continue}}else if(void 0!==_&&(f.push([h,_]),!b)){if(!a(_)){g.pop();continue}d=_}}}void 0===_&&x&&f.push([h,d]),b?g.pop():(u={inArray:c,index:p,keys:l,edits:f,prev:u},l=(c=Array.isArray(d))?d:n[d.kind]||[],p=-1,f=[],m&&v.push(m),m=d)}while(void 0!==u);return 0!==f.length&&(y=f[f.length-1][1]),y},t.visitInParallel=function(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=s(e[r],n.kind,!1);if(i){var a=i.apply(e[r],arguments);if(!1===a)t[r]=n;else if(a===o)t[r]=o;else if(void 0!==a)return a}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=s(e[r],n.kind,!0);if(i){var a=i.apply(e[r],arguments);if(a===o)t[r]=o;else if(void 0!==a&&!1!==a)return a}}}}},t.visitWithTypeInfo=function(e,t){return{enter:function(n){e.enter(n);var r=s(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),a(i)&&e.enter(i)),i}},leave:function(n){var r,i=s(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}},t.getVisitFn=s,t.BREAK=t.QueryDocumentKeys=void 0;var n,r=(n=v)&&n.__esModule?n:{default:n},i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=i;var o=Object.freeze({});function a(e){return Boolean(e&&"string"==typeof e.kind)}function s(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}t.BREAK=o}));t(x),x.visit,x.visitInParallel,x.visitWithTypeInfo,x.getVisitFn,x.BREAK,x.QueryDocumentKeys;var E=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,x.visit)(e,{leave:n})};var n={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return i(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=a("(",i(e.variableDefinitions,", "),")"),o=i(e.directives," "),s=e.selectionSet;return n||o||r||"query"!==t?i([t,i([n,r]),o,s]," "):s},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+a(" = ",r)+a(" ",i(o," "))},SelectionSet:function(e){return o(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,s=e.selectionSet;return i([a("",t,": ")+n+a("(",i(r,", "),")"),i(o," "),s]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+a(" ",i(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return i(["...",a("on ",t),i(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,s=e.selectionSet;return"fragment ".concat(t).concat(a("(",i(r,", "),")")," ")+"on ".concat(n," ").concat(a("",i(o," ")," "))+s},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,m.printBlockString)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+i(e.values,", ")+"]"},ObjectValue:function(e){return"{"+i(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+a("(",i(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return i(["schema",i(t," "),o(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:r((function(e){return i(["scalar",e.name,i(e.directives," ")]," ")})),ObjectTypeDefinition:r((function(e){var t=e.name,n=e.interfaces,r=e.directives,s=e.fields;return i(["type",t,a("implements ",i(n," & ")),i(r," "),o(s)]," ")})),FieldDefinition:r((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(c(n)?a("(\n",s(i(n,"\n")),"\n)"):a("(",i(n,", "),")"))+": "+r+a(" ",i(o," "))})),InputValueDefinition:r((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return i([t+": "+n,a("= ",r),i(o," ")]," ")})),InterfaceTypeDefinition:r((function(e){var t=e.name,n=e.directives,r=e.fields;return i(["interface",t,i(n," "),o(r)]," ")})),UnionTypeDefinition:r((function(e){var t=e.name,n=e.directives,r=e.types;return i(["union",t,i(n," "),r&&0!==r.length?"= "+i(r," | "):""]," ")})),EnumTypeDefinition:r((function(e){var t=e.name,n=e.directives,r=e.values;return i(["enum",t,i(n," "),o(r)]," ")})),EnumValueDefinition:r((function(e){return i([e.name,i(e.directives," ")]," ")})),InputObjectTypeDefinition:r((function(e){var t=e.name,n=e.directives,r=e.fields;return i(["input",t,i(n," "),o(r)]," ")})),DirectiveDefinition:r((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(c(n)?a("(\n",s(i(n,"\n")),"\n)"):a("(",i(n,", "),")"))+(r?" repeatable":"")+" on "+i(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return i(["extend schema",i(t," "),o(n)]," ")},ScalarTypeExtension:function(e){return i(["extend scalar",e.name,i(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,s=e.fields;return i(["extend type",t,a("implements ",i(n," & ")),i(r," "),o(s)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return i(["extend interface",t,i(n," "),o(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return i(["extend union",t,i(n," "),r&&0!==r.length?"= "+i(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return i(["extend enum",t,i(n," "),o(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return i(["extend input",t,i(n," "),o(r)]," ")}};function r(e){return function(t){return i([t.description,e(t)],"\n")}}function i(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function o(e){return e&&0!==e.length?"{\n"+s(i(e,"\n"))+"\n}":""}function a(e,t,n){return t?e+t+(n||""):""}function s(e){return e&&" "+e.replace(/\n/g,"\n ")}function u(e){return-1!==e.indexOf("\n")}function c(e){return e&&e.some(u)}}));t(E),E.print;var D=n((function(e,t){function n(e){return e.kind===u.Kind.OPERATION_DEFINITION||e.kind===u.Kind.FRAGMENT_DEFINITION}function r(e){return e.kind===u.Kind.SCHEMA_DEFINITION||i(e)||e.kind===u.Kind.DIRECTIVE_DEFINITION}function i(e){return e.kind===u.Kind.SCALAR_TYPE_DEFINITION||e.kind===u.Kind.OBJECT_TYPE_DEFINITION||e.kind===u.Kind.INTERFACE_TYPE_DEFINITION||e.kind===u.Kind.UNION_TYPE_DEFINITION||e.kind===u.Kind.ENUM_TYPE_DEFINITION||e.kind===u.Kind.INPUT_OBJECT_TYPE_DEFINITION}function o(e){return e.kind===u.Kind.SCHEMA_EXTENSION||a(e)}function a(e){return e.kind===u.Kind.SCALAR_TYPE_EXTENSION||e.kind===u.Kind.OBJECT_TYPE_EXTENSION||e.kind===u.Kind.INTERFACE_TYPE_EXTENSION||e.kind===u.Kind.UNION_TYPE_EXTENSION||e.kind===u.Kind.ENUM_TYPE_EXTENSION||e.kind===u.Kind.INPUT_OBJECT_TYPE_EXTENSION}Object.defineProperty(t,"__esModule",{value:!0}),t.isDefinitionNode=function(e){return n(e)||r(e)||o(e)},t.isExecutableDefinitionNode=n,t.isSelectionNode=function(e){return e.kind===u.Kind.FIELD||e.kind===u.Kind.FRAGMENT_SPREAD||e.kind===u.Kind.INLINE_FRAGMENT},t.isValueNode=function(e){return e.kind===u.Kind.VARIABLE||e.kind===u.Kind.INT||e.kind===u.Kind.FLOAT||e.kind===u.Kind.STRING||e.kind===u.Kind.BOOLEAN||e.kind===u.Kind.NULL||e.kind===u.Kind.ENUM||e.kind===u.Kind.LIST||e.kind===u.Kind.OBJECT},t.isTypeNode=function(e){return e.kind===u.Kind.NAMED_TYPE||e.kind===u.Kind.LIST_TYPE||e.kind===u.Kind.NON_NULL_TYPE},t.isTypeSystemDefinitionNode=r,t.isTypeDefinitionNode=i,t.isTypeSystemExtensionNode=o,t.isTypeExtensionNode=a}));t(D),D.isDefinitionNode,D.isExecutableDefinitionNode,D.isSelectionNode,D.isValueNode,D.isTypeNode,D.isTypeSystemDefinitionNode,D.isTypeDefinitionNode,D.isTypeSystemExtensionNode,D.isTypeExtensionNode;var C=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Source",{enumerable:!0,get:function(){return o.Source}}),Object.defineProperty(t,"getLocation",{enumerable:!0,get:function(){return a.getLocation}}),Object.defineProperty(t,"printLocation",{enumerable:!0,get:function(){return s.printLocation}}),Object.defineProperty(t,"printSourceLocation",{enumerable:!0,get:function(){return s.printSourceLocation}}),Object.defineProperty(t,"Kind",{enumerable:!0,get:function(){return u.Kind}}),Object.defineProperty(t,"TokenKind",{enumerable:!0,get:function(){return c.TokenKind}}),Object.defineProperty(t,"createLexer",{enumerable:!0,get:function(){return g.createLexer}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return b.parse}}),Object.defineProperty(t,"parseValue",{enumerable:!0,get:function(){return b.parseValue}}),Object.defineProperty(t,"parseType",{enumerable:!0,get:function(){return b.parseType}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return E.print}}),Object.defineProperty(t,"visit",{enumerable:!0,get:function(){return x.visit}}),Object.defineProperty(t,"visitInParallel",{enumerable:!0,get:function(){return x.visitInParallel}}),Object.defineProperty(t,"visitWithTypeInfo",{enumerable:!0,get:function(){return x.visitWithTypeInfo}}),Object.defineProperty(t,"getVisitFn",{enumerable:!0,get:function(){return x.getVisitFn}}),Object.defineProperty(t,"BREAK",{enumerable:!0,get:function(){return x.BREAK}}),Object.defineProperty(t,"isDefinitionNode",{enumerable:!0,get:function(){return D.isDefinitionNode}}),Object.defineProperty(t,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return D.isExecutableDefinitionNode}}),Object.defineProperty(t,"isSelectionNode",{enumerable:!0,get:function(){return D.isSelectionNode}}),Object.defineProperty(t,"isValueNode",{enumerable:!0,get:function(){return D.isValueNode}}),Object.defineProperty(t,"isTypeNode",{enumerable:!0,get:function(){return D.isTypeNode}}),Object.defineProperty(t,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return D.isTypeSystemDefinitionNode}}),Object.defineProperty(t,"isTypeDefinitionNode",{enumerable:!0,get:function(){return D.isTypeDefinitionNode}}),Object.defineProperty(t,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return D.isTypeSystemExtensionNode}}),Object.defineProperty(t,"isTypeExtensionNode",{enumerable:!0,get:function(){return D.isTypeExtensionNode}}),Object.defineProperty(t,"DirectiveLocation",{enumerable:!0,get:function(){return y.DirectiveLocation}})}));t(C);var w=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.locatedError=function(e,t,n){return e&&Array.isArray(e.path)?e:new d.GraphQLError(e&&e.message,e&&e.nodes||t,e&&e.source,e&&e.positions,n,e)}}));t(w),w.locatedError;var S=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.formatError=function(e){e||(0,i.default)(0,"Received null or undefined error.");var t=e.message||"An unknown error occurred.",n=e.locations,r=e.path,o=e.extensions;return o?{message:t,locations:n,path:r,extensions:o}:{message:t,locations:n,path:r}};var n,i=(n=r)&&n.__esModule?n:{default:n}}));t(S),S.formatError;var k=n((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GraphQLError",{enumerable:!0,get:function(){return d.GraphQLError}}),Object.defineProperty(t,"printError",{enumerable:!0,get:function(){return d.printError}}),Object.defineProperty(t,"syntaxError",{enumerable:!0,get:function(){return h.syntaxError}}),Object.defineProperty(t,"locatedError",{enumerable:!0,get:function(){return w.locatedError}}),Object.defineProperty(t,"formatError",{enumerable:!0,get:function(){return S.formatError}})}));t(k);var A={parsers:{graphql:{parse:function(e){var n=C;try{var r=function(e,n){var r={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};try{return e(n,r)}catch(t){return r.allowLegacySDLImplementsInterfaces=!0,e(n,r)}}(n.parse,e);return r.comments=function(e){for(var t=[],n=e.loc.startToken.next;"<EOF>"!==n.kind;)"Comment"===n.kind&&(Object.assign(n,{column:n.column-1}),t.push(n)),n=n.next;return t}(r),function e(t){if(t&&"object"==typeof t)for(var n in delete t.startToken,delete t.endToken,delete t.prev,delete t.next,t)e(t[n]);return t}(r),r}catch(e){throw e instanceof k.GraphQLError?function(e,t){var n=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return n.loc=t,n}(e.message,{start:{line:e.locations[0].line,column:e.locations[0].column}}):e}},astFormat:"graphql",hasPragma:function(e){return/^\s*#[^\n\S]*@(format|prettier)\s*(\n|$)/.test(e)},locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}},T=A.parsers;e.default=A,e.parsers=T,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){m(this,n);var t=g(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleStart=function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2===e.button||i(e))return!1;t._touched=!0,t._pos=(0,f.getPosition)(e);var o=(0,f.closest)(e.target,(function(e){return null!=e.sortableInfo}));if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,s=o.sortableInfo,u=s.index,c=s.collection;if(a&&!(0,f.closest)(e.target,(function(e){return null!=e.sortableHandle})))return;t.manager.active={index:u,collection:c},(0,f.isTouchEvent)(e)||"a"!==e.target.tagName.toLowerCase()||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}},t.nodeIsChild=function(e){return e.sortableInfo.manager===t.manager},t.handleMove=function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t._touched){var o=(0,f.getPosition)(e),a=t._delta={x:t._pos.x-o.x,y:t._pos.y-o.y},s=Math.abs(a.x)+Math.abs(a.y);r||i&&!(i&&s>=i)?r&&s>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}},t.handleEnd=function(){t._touched=!1,t.cancel()},t.cancel=function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)},t.handlePress=function(e){var n=t.manager.getActive();if(n){var r=t.props,i=r.axis,o=r.getHelperDimensions,a=r.helperClass,s=r.hideSortableGhost,u=r.onSortStart,c=r.useWindowAsScrollContainer,l=n.node,p=n.collection,d=l.sortableInfo.index,m=(0,f.getElementMargin)(l),g=t.container.getBoundingClientRect(),v=o({index:d,node:l,collection:p});t.node=l,t.margin=m,t.width=v.width,t.height=v.height,t.marginOffset={x:t.margin.left+t.margin.right,y:Math.max(t.margin.top,t.margin.bottom)},t.boundingClientRect=l.getBoundingClientRect(),t.containerBoundingRect=g,t.index=d,t.newIndex=d,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=(0,f.getEdgeOffset)(l,t.container),t.initialOffset=(0,f.getPosition)(e),t.initialScroll={top:t.container.scrollTop,left:t.container.scrollLeft},t.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var y,b=l.querySelectorAll("input, textarea, select"),x=l.cloneNode(!0);if([].concat(h(x.querySelectorAll("input, textarea, select"))).forEach((function(e,t){"file"!==e.type&&b[t]&&(e.value=b[t].value)})),t.helper=t.document.body.appendChild(x),t.helper.style.position="fixed",t.helper.style.top=t.boundingClientRect.top-m.top+"px",t.helper.style.left=t.boundingClientRect.left-m.left+"px",t.helper.style.width=t.width+"px",t.helper.style.height=t.height+"px",t.helper.style.boxSizing="border-box",t.helper.style.pointerEvents="none",s&&(t.sortableGhost=l,l.style.visibility="hidden",l.style.opacity=0),t.minTranslate={},t.maxTranslate={},t.axis.x&&(t.minTranslate.x=(c?0:g.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(c?t.contentWindow.innerWidth:g.left+g.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(c?0:g.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(c?t.contentWindow.innerHeight:g.top+g.height)-t.boundingClientRect.top-t.height/2),a)(y=t.helper.classList).add.apply(y,h(a.split(" ")));t.listenerNode=e.touches?l:t.contentWindow,f.events.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),f.events.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:d}),u&&u({node:l,index:d,collection:p},e)}},t.handleSortMove=function(e){var n=t.props.onSortMove;e.preventDefault(),t.updatePosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)},t.handleSortEnd=function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager.active.collection;t.listenerNode&&(f.events.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),f.events.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&(t.sortableGhost.style.visibility="",t.sortableGhost.style.opacity="");for(var a=t.manager.refs[o],s=0,u=a.length;s<u;s++){var c=a[s],l=c.node;c.edgeOffset=null,l.style[f.vendorPrefix+"Transform"]="",l.style[f.vendorPrefix+"TransitionDuration"]=""}clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.manager.active=null,t.setState({sorting:!1,sortingIndex:null}),"function"===typeof i&&i({oldIndex:t.index,newIndex:t.newIndex,collection:o},e),t._touched=!1},t.autoscroll=function(){var e=t.translate,n={x:0,y:0},r={x:1,y:1},i=10,o=10;e.y>=t.maxTranslate.y-t.height/2?(n.y=1,r.y=o*Math.abs((t.maxTranslate.y-t.height/2-e.y)/t.height)):e.x>=t.maxTranslate.x-t.width/2?(n.x=1,r.x=i*Math.abs((t.maxTranslate.x-t.width/2-e.x)/t.width)):e.y<=t.minTranslate.y+t.height/2?(n.y=-1,r.y=o*Math.abs((e.y-t.height/2-t.minTranslate.y)/t.height)):e.x<=t.minTranslate.x+t.width/2&&(n.x=-1,r.x=i*Math.abs((e.x-t.width/2-t.minTranslate.x)/t.width)),t.autoscrollInterval&&(clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.isAutoScrolling=!1),0===n.x&&0===n.y||(t.autoscrollInterval=setInterval((function(){t.isAutoScrolling=!0;var e=1*r.x*n.x,i=1*r.y*n.y;t.scrollContainer.scrollTop+=i,t.scrollContainer.scrollLeft+=e,t.translate.x+=e,t.translate.y+=i,t.animateNodes()}),5))},t.manager=new p.default,t.events={start:t.handleStart,move:t.handleMove,end:t.handleEnd},(0,l.default)(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.state={},t}return v(n,t),o(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"===typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:e.container;var i=function(t){e.events.hasOwnProperty(t)&&f.events[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))};for(var o in e.events)i(o)}))}},{key:"componentWillUnmount",value:function(){var e=this;if(this.container){var t=function(t){e.events.hasOwnProperty(t)&&f.events[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))};for(var n in this.events)t(n)}}},{key:"getLockPixelOffsets",value:function(){var e=this.width,t=this.height,n=this.props.lockOffset,r=Array.isArray(n)?n:[n,n];(0,l.default)(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",n);var o=i(r,2),a=o[0],s=o[1];return[(0,f.getLockPixelOffset)({lockOffset:a,width:e,height:t}),(0,f.getLockPixelOffset)({lockOffset:s,width:e,height:t})]}},{key:"updatePosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockToContainerEdges,o=(0,f.getPosition)(e),a={x:o.x-this.initialOffset.x,y:o.y-this.initialOffset.y};if(a.y-=window.pageYOffset-this.initialWindowScroll.top,a.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=a,r){var s=this.getLockPixelOffsets(),u=i(s,2),c=u[0],l=u[1],p={x:this.width/2-c.x,y:this.height/2-c.y},d={x:this.width/2-l.x,y:this.height/2-l.y};a.x=(0,f.limit)(this.minTranslate.x+p.x,this.maxTranslate.x-d.x,a.x),a.y=(0,f.limit)(this.minTranslate.y+p.y,this.maxTranslate.y-d.y,a.y)}"x"===n?a.y=0:"y"===n&&(a.x=0),this.helper.style[f.vendorPrefix+"Transform"]="translate3d("+a.x+"px,"+a.y+"px, 0)"}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,i=this.manager.getOrderedRefs(),o=this.container.scrollLeft-this.initialScroll.left,a=this.container.scrollTop-this.initialScroll.top,s=this.offsetEdge.left+this.translate.x+o,u=this.offsetEdge.top+this.translate.y+a,c=window.pageYOffset-this.initialWindowScroll.top,l=window.pageXOffset-this.initialWindowScroll.left,p=this.newIndex;this.newIndex=null;for(var d=0,h=i.length;d<h;d++){var m=i[d].node,g=m.sortableInfo.index,v=m.offsetWidth,y=m.offsetHeight,b={width:this.width>v?v/2:this.width/2,height:this.height>y?y/2:this.height/2},x={x:0,y:0},E=i[d].edgeOffset;E||(i[d].edgeOffset=E=(0,f.getEdgeOffset)(m,this.container));var D=d<i.length-1&&i[d+1],C=d>0&&i[d-1];D&&!D.edgeOffset&&(D.edgeOffset=(0,f.getEdgeOffset)(D.node,this.container)),g!==this.index?(t&&(m.style[f.vendorPrefix+"TransitionDuration"]=t+"ms"),this.axis.x?this.axis.y?g<this.index&&(s+l-b.width<=E.left&&u+c<=E.top+b.height||u+c+b.height<=E.top)?(x.x=this.width+this.marginOffset.x,E.left+x.x>this.containerBoundingRect.width-b.width&&(x.x=D.edgeOffset.left-E.left,x.y=D.edgeOffset.top-E.top),null===this.newIndex&&(this.newIndex=g)):g>this.index&&(s+l+b.width>=E.left&&u+c+b.height>=E.top||u+c+b.height>=E.top+y)&&(x.x=-(this.width+this.marginOffset.x),E.left+x.x<this.containerBoundingRect.left+b.width&&(x.x=C.edgeOffset.left-E.left,x.y=C.edgeOffset.top-E.top),this.newIndex=g):g>this.index&&s+l+b.width>=E.left?(x.x=-(this.width+this.marginOffset.x),this.newIndex=g):g<this.index&&s+l<=E.left+b.width&&(x.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=g)):this.axis.y&&(g>this.index&&u+c+b.height>=E.top?(x.y=-(this.height+this.marginOffset.y),this.newIndex=g):g<this.index&&u+c<=E.top+b.height&&(x.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=g))),m.style[f.vendorPrefix+"Transform"]="translate3d("+x.x+"px,"+x.y+"px,0)"):n&&(this.sortableGhost=m,m.style.visibility="hidden",m.style.opacity=0)}null==this.newIndex&&(this.newIndex=this.index),r&&this.newIndex!==p&&r({newIndex:this.newIndex,oldIndex:p,index:this.index,collection:this.manager.active.collection})}},{key:"getWrappedInstance",value:function(){return(0,l.default)(d.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!==typeof e?(0,c.findDOMNode)(this):e(d.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=d.withRef?"wrappedInstance":null;return s.default.createElement(e,r({ref:t},(0,f.omit)(this.props,"contentWindow","useWindowAsScrollContainer","distance","helperClass","hideSortableGhost","transitionDuration","useDragHandle","pressDelay","pressThreshold","shouldCancelStart","onSortStart","onSortMove","onSortEnd","axis","lockAxis","lockOffset","lockToContainerEdges","getContainer","getHelperDimensions")))}}]),n}(a.Component),t.displayName=(0,f.provideDisplayName)("sortableList",e),t.defaultProps={axis:"y",transitionDuration:300,pressDelay:0,pressThreshold:5,distance:0,useWindowAsScrollContainer:!1,hideSortableGhost:!0,shouldCancelStart:function(e){if(-1!==["input","textarea","select","option","button"].indexOf(e.target.tagName.toLowerCase()))return!0},lockToContainerEdges:!1,lockOffset:"50%",getHelperDimensions:function(e){var t=e.node;return{width:t.offsetWidth,height:t.offsetHeight}}},t.propTypes={axis:u.default.oneOf(["x","y","xy"]),distance:u.default.number,lockAxis:u.default.string,helperClass:u.default.string,transitionDuration:u.default.number,contentWindow:u.default.any,onSortStart:u.default.func,onSortMove:u.default.func,onSortOver:u.default.func,onSortEnd:u.default.func,shouldCancelStart:u.default.func,pressDelay:u.default.number,useDragHandle:u.default.bool,useWindowAsScrollContainer:u.default.bool,hideSortableGhost:u.default.bool,lockToContainerEdges:u.default.bool,lockOffset:u.default.oneOfType([u.default.number,u.default.string,u.default.arrayOf(u.default.oneOfType([u.default.number,u.default.string]))]),getContainer:u.default.func,getHelperDimensions:u.default.func},t.childContextTypes={manager:u.default.object.isRequired},n};var a=n(3),s=d(a),u=d(n(60)),c=n(61),l=d(n(39)),p=d(n(328)),f=n(116);function d(e){return e&&e.__esModule?e:{default:e}}function h(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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}function v(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.refs={}}return r(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(o)}}]),e}();function o(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return f(this,n),d(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return h(n,t),i(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index;n||this.setDraggable(t,r)}},{key:"componentWillReceiveProps",value:function(e){if(this.props.index!==e.index&&this.node&&(this.node.sortableInfo.index=e.index),this.props.disabled!==e.disabled){var t=e.collection,n=e.disabled,r=e.index;n?this.removeDraggable(t):this.setDraggable(t,r)}else this.props.collection!==e.collection&&(this.removeDraggable(this.props.collection),this.setDraggable(e.collection,e.index))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.collection;e.disabled||this.removeDraggable(t)}},{key:"setDraggable",value:function(e,t){var n=this.node=(0,u.findDOMNode)(this);n.sortableInfo={index:t,collection:e,manager:this.context.manager},this.ref={node:n},this.context.manager.add(e,this.ref)}},{key:"removeDraggable",value:function(e){this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return(0,c.default)(p.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=p.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},(0,l.omit)(this.props,"collection","disabled","index")))}}]),n}(o.Component),t.displayName=(0,l.provideDisplayName)("sortableElement",e),t.contextTypes={manager:s.default.object.isRequired},t.propTypes={index:s.default.number.isRequired,collection:s.default.oneOfType([s.default.number,s.default.string]),disabled:s.default.bool},t.defaultProps={collection:0},n};var o=n(3),a=p(o),s=p(n(60)),u=n(61),c=p(n(39)),l=n(116);function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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}function h(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return p(this,n),f(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return d(n,t),i(n,[{key:"componentDidMount",value:function(){(0,s.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return(0,u.default)(l.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=l.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},this.props))}}]),n}(o.Component),t.displayName=(0,c.provideDisplayName)("sortableHandle",e),n};var o=n(3),a=l(o),s=n(61),u=l(n(39)),c=n(116);function l(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}function d(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)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33),i=n(50),o=n(92);t.defaultHistoryState=r.OrderedMap({}),t.default=i.handleActions({TOGGLE_HISTORY_ITEM_STARRING:function(e,t){var n=t.payload.sessionId;return e.setIn([n,"starred"],!e.getIn([n,"starred"]))},ADD_HISTORY_ITEM:function(e,t){var n=t.payload.session,i=o();return e.slice(-40).set(i,n.merge({id:i,date:new Date,responses:r.List()}))}},t.defaultHistoryState)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33);t.immutableMemoize=function(e){var t;return function(n){var i=e(n);return r.is(t,i)||(t=i),t}}},function(e,t,n){"use strict";e.exports=n(334)},function(e,t,n){"use strict";var r=n(18),i=n(341),o=n(345),a=n(346),s=n(354),u=n(368),c=n(199),l=n(118),p=n(200),f={default:n(382),zero:n(383),commonmark:n(384)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function v(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return l.encode(l.format(t))}function y(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return l.decode(l.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{"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":"\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","Edot":"\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":"\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","minus":"\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":"\u03bd","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":"\u03f1","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":"\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","xodot":"\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,t,n){"use strict";var r={};function i(e,t,n){var o,a,s,u,c,l="";for("string"!==typeof t&&(n=t,t=i.defaultChars),"undefined"===typeof n&&(n=!0),c=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))l+=e.slice(o,o+3),o+=2;else if(s<128)l+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(u=e.charCodeAt(o+1))>=56320&&u<=57343){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[o]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!==typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,o,a,s,u,c="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?c+=n[i]:192===(224&i)&&t+3<r&&128===(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(u=i<<6&1984|63&o)<128?"\ufffd\ufffd":String.fromCharCode(u),t+=3):224===(240&i)&&t+6<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128===(192&o)&&128===(192&a))?(c+=(u=i<<12&61440|o<<6&4032|63&a)<2048||u>=55296&&u<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(u),t+=6):240===(248&i)&&t+9<r&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128===(192&o)&&128===(192&a)&&128===(192&s))?((u=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||u>1114111?c+="\ufffd\ufffd\ufffd\ufffd":(u-=65536,c+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):c+="\ufffd";return c}))}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),c=["%","/","?",";","#"].concat(u),l=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,s,u,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=i.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(u="//"===m.substr(0,2))||v&&d[v]||(m=m.substr(2),this.slashes=!0)),!d[v]&&(u||v&&!h[v])){var y,b,x=-1;for(n=0;n<l.length;n++)-1!==(s=m.indexOf(l[n]))&&(-1===x||s<x)&&(x=s);for(-1!==(b=-1===x?m.lastIndexOf("@"):m.lastIndexOf("@",x))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),x=-1,n=0;n<c.length;n++)-1!==(s=m.indexOf(c[n]))&&(-1===x||s<x)&&(x=s);-1===x&&(x=m.length),":"===m[x-1]&&x--;var E=m.slice(0,x);m=m.slice(x),this.parseHost(E),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D){var C=this.hostname.split(/\./);for(n=0,r=C.length;n<r;n++){var w=C[n];if(w&&!w.match(p)){for(var S="",k=0,A=w.length;k<A;k++)w.charCodeAt(k)>127?S+="x":S+=w[k];if(!S.match(p)){var T=C.slice(0,n),_=C.slice(n+1),O=w.match(f);O&&(T.push(O[1]),_.unshift(O[2])),_.length&&(m=_.join(".")+m),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var F=m.indexOf("#");-1!==F&&(this.hash=m.substr(F),m=m.slice(0,F));var N=m.indexOf("?");return-1!==N&&(this.search=m.substr(N),m=m.slice(0,N)),m&&(this.pathname=m),h[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(342),t.parseLinkDestination=n(343),t.parseLinkTitle=n(344)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,s=-1,u=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<u;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},function(e,t,n){"use strict";var r=n(18).isSpace,i=n(18).unescapeAll;e.exports=function(e,t,n){var o,a,s=t,u={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t))||r(o))return u;if(62===o)return u.pos=t+1,u.str=i(e.slice(s+1,t)),u.ok=!0,u;92===o&&t+1<n?t+=2:t++}return u}for(a=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n)t+=2;else{if(40===o&&a++,41===o){if(0===a)break;a--}t++}return s===t||0!==a||(u.str=i(e.slice(s,t)),u.lines=0,u.pos=t,u.ok=!0),u}},function(e,t,n){"use strict";var r=n(18).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,s=t,u={ok:!1,pos:0,lines:0,str:""};if(t>=n)return u;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return u;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return u.pos=t+1,u.lines=a,u.str=r(e.slice(s+1,t)),u.ok=!0,u;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return u}},function(e,t,n){"use strict";var r=n(18).assign,i=n(18).unescapeAll,o=n(18).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var s,u,c,l,p=e[t],f=p.info?i(p.info).trim():"",d="";return f&&(d=f.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(p.content,d)||o(p.content)).indexOf("<pre")?s+"\n":f?(u=p.attrIndex("class"),c=p.attrs?p.attrs.slice():[],u<0?c.push(["class",n.langPrefix+d]):c[u][1]+=" "+n.langPrefix+d,l={attrs:c},"<pre><code"+a.renderAttrs(l)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)"undefined"!==typeof o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},s.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):"undefined"!==typeof s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=s},function(e,t,n){"use strict";var r=n(138),i=[["normalize",n(347)],["block",n(348)],["inline",n(349)],["linkify",n(350)],["replacements",n(351)],["smartquotes",n(352)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(353),e.exports=o},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"\ufffd"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(18).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(m=0,t=(a=E[n].children).length-1;t>=0;t--)if("link_close"!==(u=a[t]).type){if("html_inline"===u.type&&(x=u.content,/^<a[>\s]/i.test(x)&&m>0&&m--,i(u.content)&&m++),!(m>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(p=u.content,b=e.md.linkify.match(p),c=[],h=u.level,d=0,l=0;l<b.length;l++)g=b[l].url,v=e.md.normalizeLink(g),e.md.validateLink(v)&&(y=b[l].text,y=b[l].schema?"mailto:"!==b[l].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=b[l].index)>d&&((s=new e.Token("text","",0)).content=p.slice(d,f),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=y,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),d=b[l].lastIndex);d<p.length&&((s=new e.Token("text","",0)).content=p.slice(d),s.level=h,c.push(s)),E[n].children=a=r(a,t,c)}}else for(t--;a[t].level!==u.level&&"link_open"!==a[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(e,t){return a[t.toLowerCase()]}function u(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function c(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&u(e.tokens[t].children),r.test(e.tokens[t].content)&&c(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(18).isWhiteSpace,i=n(18).isPunctChar,o=n(18).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S,k,A;for(S=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,C=S.length-1;C>=0&&!(S[C].level<=d);C--);if(S.length=C+1,"text"===a.type){p=0,f=(c=a.content).length;e:for(;p<f&&(s.lastIndex=p,l=s.exec(c));){if(E=D=!0,p=l.index+1,w="'"===l[0],m=32,l.index-1>=0)m=c.charCodeAt(l.index-1);else for(C=n-1;C>=0&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C--)if("text"===e[C].type){m=e[C].content.charCodeAt(e[C].content.length-1);break}if(g=32,p<f)g=c.charCodeAt(p);else for(C=n+1;C<e.length&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C++)if("text"===e[C].type){g=e[C].content.charCodeAt(0);break}if(v=o(m)||i(String.fromCharCode(m)),y=o(g)||i(String.fromCharCode(g)),b=r(m),(x=r(g))?E=!1:y&&(b||v||(E=!1)),b?D=!1:v&&(x||y||(D=!1)),34===g&&'"'===l[0]&&m>=48&&m<=57&&(D=E=!1),E&&D&&(E=!1,D=y),E||D){if(D)for(C=S.length-1;C>=0&&(h=S[C],!(S[C].level<d));C--)if(h.single===w&&S[C].level===d){h=S[C],w?(k=t.md.options.quotes[2],A=t.md.options.quotes[3]):(k=t.md.options.quotes[0],A=t.md.options.quotes[1]),a.content=u(a.content,l.index,A),e[h.token].content=u(e[h.token].content,h.pos,k),p+=A.length-1,h.token===n&&(p+=k.length-1),f=(c=a.content).length,S.length=C;continue e}E?S.push({token:n,pos:l.index,single:w,level:d}):D&&w&&(a.content=u(a.content,l.index,"\u2019"))}else w&&(a.content=u(a.content,l.index,"\u2019"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(139);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(138),i=[["table",n(355),["paragraph","reference"]],["code",n(356)],["fence",n(357),["paragraph","reference","blockquote","list"]],["blockquote",n(358),["paragraph","reference","blockquote","list"]],["hr",n(359),["paragraph","reference","blockquote","list"]],["list",n(360),["paragraph","reference","blockquote"]],["reference",n(361)],["heading",n(362),["paragraph","reference","blockquote"]],["lheading",n(363)],["html_block",n(364),["paragraph","reference","blockquote"]],["paragraph",n(366)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,u=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=u){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},o.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=n(367),e.exports=o},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,u=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,u=r):o%2===0&&(s=!0,u=r):124!==t||o%2!==0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&s&&(s=!1,r=u+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,t,n,a){var s,u,c,l,p,f,d,h,m,g,v,y;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(f=(u=i(e,t+1)).split("|"),m=[],l=0;l<f.length;l++){if(!(g=f[l].trim())){if(0===l||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(u=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(f=o(u.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=e.push("table_open","table",1)).map=v=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<f.length;l++)(h=e.push("th_open","th",1)).map=[t,t+1],m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=e.push("inline","",0)).content=f[l].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),(h=e.push("tbody_open","tbody",1)).map=y=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(u=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(f=o(u.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l<d;l++)h=e.push("td_open","td",1),m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=e.push("inline","",0)).content=f[l]?f[l].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),v[1]=y[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,a,s,u,c,l,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(u=f,(o=(f=e.skipChars(f,i))-u)<3)return!1;if(l=e.src.slice(u,f),(a=e.src.slice(f,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((f=u=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(f)===i&&!(e.sCount[s]-e.blkIndent>=4)&&!((f=e.skipChars(f,i))-u<o)&&!((f=e.skipSpaces(f))<d)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=l,c.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S=e.lineMax,k=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(k++))return!1;if(i)return!0;for(u=d=e.sCount[t]+k-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(k)?(k++,u++,d++,o=!1,x=!0):9===e.src.charCodeAt(k)?(x=!0,(e.bsCount[t]+d)%4===3?(k++,u++,d++,o=!1):o=!0):x=!1,h=[e.bMarks[t]],e.bMarks[t]=k;k<A&&(a=e.src.charCodeAt(k),r(a));)9===a?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,k++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(x?1:0),l=k>=A,y=[e.sCount[t]],e.sCount[t]=d-u,b=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],D=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",w=!1,f=t+1;f<n&&(e.sCount[f]<e.blkIndent&&(w=!0),!((k=e.bMarks[f]+e.tShift[f])>=(A=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(k++)||w){if(l)break;for(E=!1,s=0,c=D.length;s<c;s++)if(D[s](e,f,n,!0)){E=!0;break}if(E){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]=-1}else{for(u=d=e.sCount[f]+k-(e.bMarks[f]+e.tShift[f]),32===e.src.charCodeAt(k)?(k++,u++,d++,o=!1,x=!0):9===e.src.charCodeAt(k)?(x=!0,(e.bsCount[f]+d)%4===3?(k++,u++,d++,o=!1):o=!0):x=!1,h.push(e.bMarks[f]),e.bMarks[f]=k;k<A&&(a=e.src.charCodeAt(k),r(a));)9===a?d+=4-(d+e.bsCount[f]+(o?1:0))%4:d++,k++;l=k>=A,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(x?1:0),y.push(e.sCount[f]),e.sCount[f]=d-u,b.push(e.tShift[f]),e.tShift[f]=k-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,f),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=y[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<l;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(i||(e.line=t+1,(u=e.push("hr","hr",0)).map=[t,e.line],u.markup=Array(a+1).join(String.fromCharCode(o))),!0)}},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n||i<o&&(a=e.src.charCodeAt(i),!r(a))?-1:i}function o(e,t){var n,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o<a&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S,k,A,T,_,O,F,N,I,M=!1,j=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(M=!0),(T=o(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(O,T-O-1)),M&&1!==y)return!1}else{if(!((T=i(e,t))>=0))return!1;f=!1}if(M&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,f?(I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=m=[t,0],I.markup=String.fromCharCode(v),x=t,_=!1,N=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";x<n;){for(A=T,b=e.eMarks[x],p=E=e.sCount[x]+T-(e.bMarks[t]+e.tShift[t]);A<b;){if(9===(a=e.src.charCodeAt(A)))E+=4-(E+e.bsCount[x])%4;else{if(32!==a)break;E++}A++}if((l=(s=A)>=b?1:E-p)>4&&(l=1),c=p+l,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=d=[t,0],D=e.blkIndent,k=e.tight,S=e.tShift[t],C=e.sCount[t],e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!_||(j=!1),_=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=D,e.tShift[t]=S,e.sCount[t]=C,e.tight=k,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),x=t=e.line,d[1]=x,s=e.bMarks[t],x>=n)break;if(e.sCount[x]<e.blkIndent)break;for(F=!1,u=0,h=N.length;u<h;u++)if(N[u](e,x,n,!0)){F=!0;break}if(F)break;if(f){if((T=o(e,x))<0)break}else if((T=i(e,x))<0)break;if(v!==e.src.charCodeAt(T-1))break}return(I=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),m[1]=x,e.line=x,e.parentType=w,j&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t,n,o){var a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D=0,C=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C<w;)if(93===e.src.charCodeAt(C)&&92!==e.src.charCodeAt(C-1)){if(C+1===w)return!1;if(58!==e.src.charCodeAt(C+1))return!1;break}for(c=e.lineMax,x=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";S<c&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3)&&!(e.sCount[S]<0)){for(b=!1,p=0,f=x.length;p<f;p++)if(x[p](e,S,c,!0)){b=!0;break}if(b)break}for(w=(y=e.getLines(t,S,e.blkIndent,!1).trim()).length,C=1;C<w;C++){if(91===(a=y.charCodeAt(C)))return!1;if(93===a){h=C;break}(10===a||92===a&&++C<w&&10===y.charCodeAt(C))&&D++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(C=h+2;C<w;C++)if(10===(a=y.charCodeAt(C)))D++;else if(!i(a))break;if(!(g=e.md.helpers.parseLinkDestination(y,C,w)).ok)return!1;if(l=e.md.normalizeLink(g.str),!e.md.validateLink(l))return!1;for(s=C=g.pos,u=D+=g.lines,v=C;C<w;C++)if(10===(a=y.charCodeAt(C)))D++;else if(!i(a))break;for(g=e.md.helpers.parseLinkTitle(y,C,w),C<w&&v!==C&&g.ok?(E=g.str,C=g.pos,D+=g.lines):(E="",C=s,D=u);C<w&&(a=y.charCodeAt(C),i(a));)C++;if(C<w&&10!==y.charCodeAt(C)&&E)for(E="",C=s,D=u;C<w&&(a=y.charCodeAt(C),i(a));)C++;return!(C<w&&10!==y.charCodeAt(C))&&(!!(d=r(y.slice(1,h)))&&(o||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[d]&&(e.env.references[d]={title:E,href:l}),e.parentType=m,e.line=t+D+1),!0))}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<l&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<l&&!r(o))&&(i||(l=e.skipSpacesBack(l,c),(s=e.skipCharsBack(l,35,c))>c&&r(e.src.charCodeAt(s-1))&&(l=s),e.line=t+1,(u=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),u.map=[t,e.line],(u=e.push("inline","",0)).content=e.src.slice(c,l).trim(),u.map=[t,e.line],u.children=[],(u=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),!0)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,s,u,c,l,p,f,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(u=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(u))||61===p)&&(u=e.skipChars(u,p),(u=e.skipSpaces(u))>=c)){l=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!l&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},function(e,t,n){"use strict";var r=n(365),i=n(196).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(u=e.src.slice(c,l),i=0;i<o.length&&!o[i][0].test(u);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(u))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],l=e.eMarks[a],u=e.src.slice(c,l),o[i][1].test(u)){0!==u.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(s=e.parentType,e.parentType="paragraph";u<l&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,u,l,!0)){r=!0;break}if(r)break}return n=e.getLines(t,u,e.blkIndent,!1).trim(),e.line=u,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,n){"use strict";var r=n(139),i=n(18).isSpace;function o(e,t,n,r){var o,a,s,u,c,l,p,f;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,s=u=l=p=0,c=(a=this.src).length;u<c;u++){if(o=a.charCodeAt(u),!f){if(i(o)){l++,9===o?p+=4-p%4:p++;continue}f=!0}10!==o&&u!==c-1||(10!==o&&u++,this.bMarks.push(s),this.eMarks.push(u),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,s=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,s,u,c,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),o=0;f<t;f++,o++){for(a=0,p=u=this.bMarks[f],c=f+1<t||r?this.eMarks[f]+1:this.eMarks[f];u<c&&a<n;){if(s=this.src.charCodeAt(u),i(s))9===s?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(u-p<this.tShift[f]))break;a++}u++}l[o]=a>n?new Array(a-n+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,e.exports=o},function(e,t,n){"use strict";var r=n(138),i=[["text",n(369)],["newline",n(370)],["escape",n(371)],["backticks",n(372)],["strikethrough",n(197).tokenize],["emphasis",n(198).tokenize],["link",n(373)],["image",n(374)],["autolink",n(375)],["html_inline",n(376)],["entity",n(377)]],o=[["balance_pairs",n(378)],["strikethrough",n(197).postProcess],["emphasis",n(198).postProcess],["text_collapse",n(379)]];function a(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](s)},a.prototype.State=n(380),e.exports=a},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,n){"use strict";for(var r=n(18).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;for(i=e.src.slice(n,u),o=a=u;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push("code_inline","code",0)).markup=i,s.content=e.src.slice(u,o).replace(/[ \n]+/g," ").trim()),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,o,a,s,u,c,l,p,f,d="",h=e.pos,m=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(v=!1,c++;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=m)return!1;for(g=c,(l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(d=e.md.normalizeLink(l.str),e.md.validateLink(d)?c=l.pos:d=""),g=c;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&g!==c&&l.ok)for(f=l.str,c=l.pos;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else f="";(c>=m||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if("undefined"===typeof e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(g,c++):c=s+1):c=s+1,a||(a=e.src.slice(u,s)),!(p=e.env.references[r(a)]))return e.pos=h,!1;d=p.href,f=p.title}return t||(e.pos=u,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],f&&n.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,o,a,s,u,c,l,p,f,d,h,m,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=u+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=b)return!1;for(g=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?l=f.pos:v=""),g=l;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&g!==l&&f.ok)for(d=f.str,l=f.pos;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else d="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=y,!1;l++}else{if("undefined"===typeof e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(g,l++):l=u+1):l=u+1,s||(s=e.src.slice(c,u)),!(p=e.env.references[r(s)]))return e.pos=y,!1;v=p.href,d=p.title}return t||(a=e.src.slice(c,u),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,o,a,s,u,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(!((n=e.src.slice(l)).indexOf(">")<0)&&(i.test(n)?(s=(o=n.match(i))[0].slice(1,-1),u=e.md.normalizeLink(s),!!e.md.validateLink(u)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(s=(a=n.match(r))[0].slice(1,-1),u=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(u)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(196).HTML_TAG_RE;e.exports=function(e,t){var n,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(a).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(191),i=n(18).has,o=n(18).isValidEntityCode,a=n(18).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,u=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(c=e.src.slice(l).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(l).match(u))&&i(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,o=e.delimiters,a=e.delimiters.length;for(t=0;t<a;t++)if((r=o[t]).close)for(n=t-r.jump-1;n>=0;){if((i=o[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&"undefined"!==typeof i.length&&"undefined"!==typeof r.length&&(i.length+r.length)%3===0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(139),i=n(18).isWhiteSpace,o=n(18).isPunctChar,a=n(18).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},s.prototype.scanDelims=function(e,t){var n,r,s,u,c,l,p,f,d,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<v&&this.src.charCodeAt(h)===y;)h++;return s=h-e,r=h<v?this.src.charCodeAt(h):32,p=a(n)||o(String.fromCharCode(n)),d=a(r)||o(String.fromCharCode(r)),l=i(n),(f=i(r))?m=!1:d&&(l||p||(m=!1)),l?g=!1:p&&(f||d||(g=!1)),t?(u=m,c=g):(u=m&&(!g||p),c=g&&(!m||d)),{can_open:u,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(193).source,t.src_Cc=n(194).source,t.src_Z=n(195).source,t.src_P=n(117).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:m,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:m,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:m,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links={},this.options=e||v.defaults,this.rules=n.normal,this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",n.html=p(n.html).replace("comment",/<!--[\s\S]*?-->/).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/<tag(?:"[^"]*"|'[^']*'|\s[^'"\/>\s]*)*?\/?>/).replace(/tag/g,n._tag).getRegex(),n.paragraph=p(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag","<"+n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=g({},n),n.gfm=g({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=p(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=g({},n.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,u,c,l,p,f,d;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},l=0;l<u.align.length;l++)/^ *-+: *$/.test(u.align[l])?u.align[l]="right":/^ *:-+: *$/.test(u.align[l])?u.align[l]="center":/^ *:-+ *$/.test(u.align[l])?u.align[l]="left":u.align[l]=null;for(l=0;l<u.cells.length;l++)u.cells[l]=u.cells[l].split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),d=(a=o[2]).length>1,this.tokens.push({type:"list_start",ordered:d,start:d?+a:""}),r=!1,f=(o=o[0].match(this.rules.item)).length,l=0;l<f;l++)c=(u=o[l]).length,~(u=u.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(c-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&l!==f-1&&(a===(s=n.bullet.exec(o[l+1])[0])||a.length>1&&s.length>1||(e=o.slice(l+1).join("\n")+e,l=f-1)),i=r||/\n\n(?!\s*$)/.test(u),l!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),p=o[1].toLowerCase(),this.tokens.links[p]||(this.tokens.links[p]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},l=0;l<u.align.length;l++)/^ *-+: *$/.test(u.align[l])?u.align[l]="right":/^ *:-+: *$/.test(u.align[l])?u.align[l]="center":/^ *:-+ *$/.test(u.align[l])?u.align[l]="left":u.align[l]=null;for(l=0;l<u.cells.length;l++)u.cells[l]=u.cells[l].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:/^<!--[\s\S]*?-->|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:m,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/};function o(e,t){if(this.options=t||v.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=i.breaks:this.rules=i.gfm:this.options.pedantic&&(this.rules=i.pedantic)}function a(e){this.options=e||{}}function s(){}function u(e){this.tokens=[],this.token=null,this.options=e||v.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options}function c(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function p(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function f(e,t){return d[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?d[" "+e]=e+"/":d[" "+e]=e.replace(/[^/]*$/,"")),e=d[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=p(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,i._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,i.link=p(i.link).replace("inside",i._inside).replace("href",i._href).getRegex(),i.reflink=p(i.reflink).replace("inside",i._inside).getRegex(),i.normal=g({},i),i.pedantic=g({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),i.gfm=g({},i.normal,{escape:p(i.escape).replace("])","~|])").getRegex(),url:p(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",i._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:p(i.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),i.breaks=g({},i.gfm,{br:p(i.br).replace("{2,}","*").getRegex(),text:p(i.gfm.text).replace("{2,}","*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=c(this.mangle(i[1]))):n=c(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):c(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(c(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(c(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?r="mailto:"+(n=c(i[0])):(n=c(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},o.prototype.outputLink=function(e,t){var n=c(t.href),r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+c(t,!0)+'">'+(n?e:c(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"\n</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(l(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(o){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!h.test(e)&&(e=f(this.options.baseUrl,e));var i='<a href="'+e+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},a.prototype.image=function(e,t,n){this.options.baseUrl&&!h.test(e)&&(e=f(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,g({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop()},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":for(o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var u=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(u);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var d={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function g(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"===typeof t){n||(n=t,t=null);var i,o,a=(t=g({},v.defaults,t||{})).highlight,s=0;try{i=r.lex(e,t)}catch(p){return n(p)}o=i.length;var l=function(e){if(e)return t.highlight=a,n(e);var r;try{r=u.parse(i,t)}catch(p){e=p}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return l();if(delete t.highlight,!o)return l();for(;s<i.length;s++)!function(e){"code"!==e.type?--o||l():a(e.text,e.lang,(function(t,n){return t?l(t):null==n||n===e.text?--o||l():(e.text=n,e.escaped=!0,void(--o||l()))}))}(i[s])}else try{return t&&(t=g({},v.defaults,t)),u.parse(r.lex(e,t),t)}catch(p){if(p.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||v.defaults).silent)return"<p>An error occurred:</p><pre>"+c(p.message+"",!0)+"</pre>";throw p}}m.exec=m,v.options=v.setOptions=function(e){return g(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=u,v.parser=u.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=o,v.inlineLexer=o.output,v.parse=v,e.exports=v}(this||"undefined"!==typeof window&&window)}).call(this,n(37))},function(e,t,n){!function(e){"use strict";function t(t,n,i,o){if(i&&i.call){var a=i;i=null}else a=r(t,i,"rangeFinder");"number"==typeof n&&(n=e.Pos(n,0));var s=r(t,i,"minFoldSize");function u(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;for(var i=t.findMarksAt(r.from),u=0;u<i.length;++u)if(i[u].__isFold&&"fold"!==o){if(!e)return null;r.cleared=!0,i[u].clear()}return r}var c=u(!0);if(r(t,i,"scanUp"))for(;!c&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),c=u(!1);if(c&&!c.cleared&&"unfold"!==o){var l=function(e,t,n){var i=r(e,t,"widget");if("function"==typeof i&&(i=i(n.from,n.to)),"string"==typeof i){var o=document.createTextNode(i);(i=document.createElement("span")).appendChild(o),i.className="CodeMirror-foldmarker"}else i&&(i=i.cloneNode(!0));return i}(t,i,c);e.on(l,"mousedown",(function(t){p.clear(),e.e_preventDefault(t)}));var p=t.markText(c.from,c.to,{replacedWith:l,clearOnEnter:r(t,i,"clearOnEnter"),__isFold:!0});p.on("clear",(function(n,r){e.signal(t,"unfold",t,n,r)})),e.signal(t,"fold",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,i){t(r,i,{rangeFinder:e,widget:n})}},e.defineExtension("foldCode",(function(e,n,r){t(this,e,n,r)})),e.defineExtension("isFolded",(function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,"fold")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),null,"unfold")},e.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,"fold")}))},e.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,"unfold")}))},e.registerHelper("fold","combine",(function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}})),e.registerHelper("fold","auto",(function(e,t){for(var n=e.getHelpers(t,"fold"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}}));var n={rangeFinder:e.fold.auto,widget:"\u2194",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,t,r){if(t&&void 0!==t[r])return t[r];var i=e.options.foldOptions;return i&&void 0!==i[r]?i[r]:n[r]}e.defineOption("foldOptions",null),e.defineExtension("foldOption",(function(e,t){return r(this,e,t)}))}(n(14))},function(e,t,n){!function(e){"use strict";var t=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"<Del>",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<character>",type:"action",action:"replayMacro"},{keys:"q<character>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<character>",type:"action",action:"setMark"},{keys:'"<character>',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<character>",type:"motion",motion:"textObjectManipulation"},{keys:"i<character>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],n=t.length,r=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"global",shortName:"g"}],i=e.Pos;e.Vim=function(){function o(t,n){this==e.keyMap.vim&&(e.rmClass(t.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==t.getOption("inputStyle")&&null!=document.body.style.caretColor&&(function(e){u(e),e.off("cursorActivity",s),e.state.fatCursorMarks=null}(t),t.getInputField().style.caretColor="")),n&&n.attach==a||function(t){t.setOption("disableInput",!1),t.off("cursorActivity",Ze),e.off(t.getInputField(),"paste",f(t)),t.state.vim=null}(t)}function a(t,n){this==e.keyMap.vim&&(e.addClass(t.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==t.getOption("inputStyle")&&null!=document.body.style.caretColor&&(function(e){e.state.fatCursorMarks=[],s(e),e.on("cursorActivity",s)}(t),t.getInputField().style.caretColor="transparent")),n&&n.attach==a||function(t){t.setOption("disableInput",!0),t.setOption("showCursorWhenSelecting",!1),e.signal(t,"vim-mode-change",{mode:"normal"}),t.on("cursorActivity",Ze),P(t),e.on(t.getInputField(),"paste",f(t))}(t)}function s(e){if(e.state.fatCursorMarks){u(e);for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var o=t[r];if(o.empty()){var a=e.getLine(o.anchor.line).length;o.anchor.ch<a?n.push(e.markText(o.anchor,i(o.anchor.line,o.anchor.ch+1),{className:"cm-fat-cursor-mark"})):n.push(e.markText(i(o.anchor.line,a-1),i(o.anchor.line,a),{className:"cm-fat-cursor-mark"}))}}e.state.fatCursorMarks=n}}function u(e){var t=e.state.fatCursorMarks;if(t)for(var n=0;n<t.length;n++)t[n].clear()}function c(t,n){if(n){if(this[t])return this[t];var r=function(e){if("'"==e.charAt(0))return e.charAt(1);var t=e.split(/-(?!$)/),n=t[t.length-1];if(1==t.length&&1==t[0].length)return!1;if(2==t.length&&"Shift"==t[0]&&1==n.length)return!1;for(var r=!1,i=0;i<t.length;i++){var o=t[i];o in l?t[i]=l[o]:r=!0,o in p&&(t[i]=p[o])}return!!r&&(w(n)&&(t[t.length-1]=n.toLowerCase()),"<"+t.join("-")+">")}(t);if(!r)return!1;var i=e.Vim.findKey(n,r);return"function"==typeof i&&e.signal(n,"vim-keypress",r),i}}e.defineOption("vimMode",!1,(function(t,n,r){n&&"vim"!=t.getOption("keyMap")?t.setOption("keyMap","vim"):!n&&r!=e.Init&&/^vim/.test(t.getOption("keyMap"))&&t.setOption("keyMap","default")}));var l={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A"},p={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function f(e){var t=e.state.vim;return t.onPasteFn||(t.onPasteFn=function(){t.insertMode||(e.setCursor(X(e.getCursor(),0,1)),Y.enterInsertMode(e,{},t))}),t.onPasteFn}var d=/[\d]/,h=[e.isWordChar,function(t){return t&&!e.isWordChar(t)&&!/\s/.test(t)}],m=[function(e){return/\S/.test(e)}];function g(e,t){for(var n=[],r=e;r<e+t;r++)n.push(String.fromCharCode(r));return n}var v=g(65,26),y=g(97,26),b=g(48,10),x=[].concat(v,y,b,["<",">"]),E=[].concat(v,y,b,["-",'"',".",":","/"]);function D(e,t){return t>=e.firstLine()&&t<=e.lastLine()}function C(e){return/^[a-z]$/.test(e)}function w(e){return/^[A-Z]$/.test(e)}function S(e){return/^\s*$/.test(e)}function k(e){return-1!=".?!".indexOf(e)}function A(e,t){for(var n=0;n<t.length;n++)if(t[n]==e)return!0;return!1}var T={};function _(e,t,n,r,i){if(void 0===t&&!i)throw Error("defaultValue is required unless callback is provided");if(n||(n="string"),T[e]={type:n,defaultValue:t,callback:i},r)for(var o=0;o<r.length;o++)T[r[o]]=T[e];t&&O(e,t)}function O(e,t,n,r){var i=T[e],o=(r=r||{}).scope;if(!i)return new Error("Unknown option: "+e);if("boolean"==i.type){if(t&&!0!==t)return new Error("Invalid argument: "+e+"="+t);!1!==t&&(t=!0)}i.callback?("local"!==o&&i.callback(t,void 0),"global"!==o&&n&&i.callback(t,n)):("local"!==o&&(i.value="boolean"==i.type?!!t:t),"global"!==o&&n&&(n.state.vim.options[e]={value:t}))}function F(e,t,n){var r=T[e],i=(n=n||{}).scope;if(!r)return new Error("Unknown option: "+e);if(r.callback){var o=t&&r.callback(void 0,t);return"global"!==i&&void 0!==o?o:"local"!==i?r.callback():void 0}return((o="global"!==i&&t&&t.state.vim.options[e])||"local"!==i&&r||{}).value}_("filetype",void 0,"string",["ft"],(function(e,t){if(void 0!==t){if(void 0===e)return"null"==(n=t.getOption("mode"))?"":n;var n=""==e?"null":e;t.setOption("mode",n)}}));var N,I,M=function(){var e=-1,t=0,n=0,r=new Array(100);function i(i,o){(e+=o)>t?e=t:e<n&&(e=n);var a=r[(100+e)%100];if(a&&!a.find()){var s,u=o>0?1:-1,c=i.getCursor();do{if((a=r[(100+(e+=u))%100])&&(s=a.find())&&!ne(c,s))break}while(e<t&&e>n)}return a}return{cachedCursor:void 0,add:function(i,o,a){var s=r[e%100];function u(t){var n=++e%100,o=r[n];o&&o.clear(),r[n]=i.setBookmark(t)}if(s){var c=s.find();c&&!ne(c,o)&&u(o)}else u(o);u(a),t=e,(n=e-100+1)<0&&(n=0)},find:function(t,n){var r=e,o=i(t,n);return e=r,o&&o.find()},move:i}},j=function(e){return e?{changes:e.changes,expectCursorActivityForChange:e.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function L(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=j()}function P(e){return e.state.vim||(e.state.vim={inputState:new z,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},fakeCursor:null,insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),e.state.vim}function R(){for(var e in N={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:M(),macroModeState:new L,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new V({}),searchHistoryController:new H,exCommandHistoryController:new H},T){var t=T[e];t.value=t.defaultValue}}L.prototype={exitMacroRecordMode:function(){var e=N.macroModeState;e.onRecordingDone&&e.onRecordingDone(),e.onRecordingDone=void 0,e.isRecording=!1},enterMacroRecordMode:function(e,t){var n=N.registerController.getRegister(t);n&&(n.clear(),this.latestRegister=t,e.openDialog&&(this.onRecordingDone=e.openDialog("(recording)["+t+"]",null,{bottom:!0})),this.isRecording=!0)}};var B={buildKeyMap:function(){},getRegisterController:function(){return N.registerController},resetVimGlobalState_:R,getVimGlobalState_:function(){return N},maybeInitVimState_:P,suppressErrorLogging:!1,InsertModeKey:nt,map:function(e,t,n){Je.map(e,t,n)},unmap:function(e,t){Je.unmap(e,t)},noremap:function(e,r,i){function o(e){return e?[e]:["normal","insert","visual"]}for(var a=o(i),s=t.length,u=s-n;u<s&&a.length;u++){var c=t[u];if(c.keys==r&&(!i||!c.context||c.context===i)&&"ex"!==c.type.substr(0,2)&&"key"!==c.type.substr(0,3)){var l={};for(var p in c)l[p]=c[p];l.keys=e,i&&!l.context&&(l.context=i),this._mapCommand(l);var f=o(c.context);a=a.filter((function(e){return-1===f.indexOf(e)}))}}},mapclear:function(e){var r=t.length,i=n,o=t.slice(0,r-i);if(t=t.slice(r-i),e)for(var a=o.length-1;a>=0;a--){var s=o[a];if(e!==s.context)if(s.context)this._mapCommand(s);else{var u=["normal","insert","visual"];for(var c in u)if(u[c]!==e){var l={};for(var p in s)l[p]=s[p];l.context=u[c],this._mapCommand(l)}}}},setOption:O,getOption:F,defineOption:_,defineEx:function(e,t,n){if(t){if(0!==e.indexOf(t))throw new Error('(Vim.defineEx) "'+t+'" is not a prefix of "'+e+'", command not registered')}else t=e;Ke[e]=n,Je.commandMap_[t]={name:e,shortName:t,type:"api"}},handleKey:function(e,t,n){var r=this.findKey(e,t,n);if("function"===typeof r)return r()},findKey:function(n,r,i){var o,a=P(n);function s(){var e=N.macroModeState;if(e.isRecording){if("q"==r)return e.exitMacroRecordMode(),U(n),!0;"mapping"!=i&&function(e,t){if(!e.isPlaying){var n=e.latestRegister,r=N.registerController.getRegister(n);r&&r.pushText(t)}}(e,r)}}function u(){if("<Esc>"==r)return U(n),a.visualMode?me(n):a.insertMode&&Ye(n),!0}return!1===(o=a.insertMode?function(){if(u())return!0;for(var e=a.inputState.keyBuffer=a.inputState.keyBuffer+r,i=1==r.length,o=W.matchCommand(e,t,a.inputState,"insert");e.length>1&&"full"!=o.type;){e=a.inputState.keyBuffer=e.slice(1);var s=W.matchCommand(e,t,a.inputState,"insert");"none"!=s.type&&(o=s)}if("none"==o.type)return U(n),!1;if("partial"==o.type)return I&&window.clearTimeout(I),I=window.setTimeout((function(){a.insertMode&&a.inputState.keyBuffer&&U(n)}),F("insertModeEscKeysTimeout")),!i;if(I&&window.clearTimeout(I),i){for(var c=n.listSelections(),l=0;l<c.length;l++){var p=c[l].head;n.replaceRange("",X(p,0,-(e.length-1)),p,"+input")}N.macroModeState.lastInsertModeChanges.changes.pop()}return U(n),o.command}():function(){if(s()||u())return!0;var e=a.inputState.keyBuffer=a.inputState.keyBuffer+r;if(/^[1-9]\d*$/.test(e))return!0;if(!(i=/^(\d*)(.*)$/.exec(e)))return U(n),!1;var i,o=a.visualMode?"visual":"normal",c=W.matchCommand(i[2]||i[1],t,a.inputState,o);return"none"==c.type?(U(n),!1):"partial"==c.type||(a.inputState.keyBuffer="",(i=/^(\d*)(.*)$/.exec(e))[1]&&"0"!=i[1]&&a.inputState.pushRepeatDigit(i[1]),c.command)}())?a.insertMode||1!==r.length?void 0:function(){return!0}:!0===o?function(){return!0}:function(){return n.operation((function(){n.curOp.isVimOp=!0;try{"keyToKey"==o.type?function(t){for(var i;t;)i=/<\w+-.+?>|<\w+>|./.exec(t),r=i[0],t=t.substring(i.index+r.length),e.Vim.handleKey(n,r,"mapping")}(o.toKeys):W.processCommand(n,a,o)}catch(t){throw n.state.vim=void 0,P(n),e.Vim.suppressErrorLogging||console.log(t),t}return!0}))}},handleEx:function(e,t){Je.processCommand(e,t)},defineMotion:function(e,t){G[e]=t},defineAction:function(e,t){Y[e]=t},defineOperator:function(e,t){J[e]=t},mapCommand:function(e,t,n,r,i){var o={keys:e,type:t};for(var a in o[t]=n,o[t+"Args"]=r,i)o[a]=i[a];Qe(o)},_mapCommand:Qe,defineRegister:function(e,t){var n=N.registerController.registers;if(!e||1!=e.length)throw Error("Register name must be 1 character");if(n[e])throw Error("Register already defined "+e);n[e]=t,E.push(e)},exitVisualMode:me,exitInsertMode:Ye};function z(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null}function U(t,n){t.state.vim.inputState=new z,e.signal(t,"vim-command-done",n)}function q(e,t,n){this.clear(),this.keyBuffer=[e||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!t,this.blockwise=!!n}function V(e){this.registers=e,this.unnamedRegister=e['"']=new q,e["."]=new q,e[":"]=new q,e["/"]=new q}function H(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}z.prototype.pushRepeatDigit=function(e){this.operator?this.motionRepeat=this.motionRepeat.concat(e):this.prefixRepeat=this.prefixRepeat.concat(e)},z.prototype.getRepeat=function(){var e=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(e=1,this.prefixRepeat.length>0&&(e*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(e*=parseInt(this.motionRepeat.join(""),10))),e},q.prototype={setText:function(e,t,n){this.keyBuffer=[e||""],this.linewise=!!t,this.blockwise=!!n},pushText:function(e,t){t&&(this.linewise||this.keyBuffer.push("\n"),this.linewise=!0),this.keyBuffer.push(e)},pushInsertModeChanges:function(e){this.insertModeChanges.push(j(e))},pushSearchQuery:function(e){this.searchQueries.push(e)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}},V.prototype={pushText:function(e,t,n,r,i){r&&"\n"!==n.charAt(n.length-1)&&(n+="\n");var o=this.isValidRegister(e)?this.getRegister(e):null;if(o)w(e)?o.pushText(n,r):o.setText(n,r,i),this.unnamedRegister.setText(o.toString(),r);else{switch(t){case"yank":this.registers[0]=new q(n,r,i);break;case"delete":case"change":-1==n.indexOf("\n")?this.registers["-"]=new q(n,r):(this.shiftNumericRegisters_(),this.registers[1]=new q(n,r))}this.unnamedRegister.setText(n,r,i)}},getRegister:function(e){return this.isValidRegister(e)?(e=e.toLowerCase(),this.registers[e]||(this.registers[e]=new q),this.registers[e]):this.unnamedRegister},isValidRegister:function(e){return e&&A(e,E)},shiftNumericRegisters_:function(){for(var e=9;e>=2;e--)this.registers[e]=this.getRegister(""+(e-1))}},H.prototype={nextMatch:function(e,t){var n=this.historyBuffer,r=t?-1:1;null===this.initialPrefix&&(this.initialPrefix=e);for(var i=this.iterator+r;t?i>=0:i<n.length;i+=r)for(var o=n[i],a=0;a<=o.length;a++)if(this.initialPrefix==o.substring(0,a))return this.iterator=i,o;return i>=n.length?(this.iterator=n.length,this.initialPrefix):i<0?e:void 0},pushInput:function(e){var t=this.historyBuffer.indexOf(e);t>-1&&this.historyBuffer.splice(t,1),e.length&&this.historyBuffer.push(e)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var W={matchCommand:function(e,t,n,r){var i,o=function(e,t,n,r){for(var i,o=[],a=[],s=0;s<t.length;s++){var u=t[s];"insert"==n&&"insert"!=u.context||u.context&&u.context!=n||r.operator&&"action"==u.type||!(i=Z(e,u.keys))||("partial"==i&&o.push(u),"full"==i&&a.push(u))}return{partial:o.length&&o,full:a.length&&a}}(e,t,r,n);if(!o.full&&!o.partial)return{type:"none"};if(!o.full&&o.partial)return{type:"partial"};for(var a=0;a<o.full.length;a++){var s=o.full[a];i||(i=s)}if("<character>"==i.keys.slice(-11)){var u=function(e){var t=/^.*(<[^>]+>)$/.exec(e),n=t?t[1]:e.slice(-1);if(n.length>1)switch(n){case"<CR>":n="\n";break;case"<Space>":n=" ";break;default:n=""}return n}(e);if(!u)return{type:"none"};n.selectedCharacter=u}return{type:"full",command:i}},processCommand:function(e,t,n){switch(t.inputState.repeatOverride=n.repeatOverride,n.type){case"motion":this.processMotion(e,t,n);break;case"operator":this.processOperator(e,t,n);break;case"operatorMotion":this.processOperatorMotion(e,t,n);break;case"action":this.processAction(e,t,n);break;case"search":this.processSearch(e,t,n);break;case"ex":case"keyToEx":this.processEx(e,t,n)}},processMotion:function(e,t,n){t.inputState.motion=n.motion,t.inputState.motionArgs=$(n.motionArgs),this.evalInput(e,t)},processOperator:function(e,t,n){var r=t.inputState;if(r.operator){if(r.operator==n.operator)return r.motion="expandToLine",r.motionArgs={linewise:!0},void this.evalInput(e,t);U(e)}r.operator=n.operator,r.operatorArgs=$(n.operatorArgs),n.exitVisualBlock&&(t.visualBlock=!1,de(e)),t.visualMode&&this.evalInput(e,t)},processOperatorMotion:function(e,t,n){var r=t.visualMode,i=$(n.operatorMotionArgs);i&&r&&i.visualLine&&(t.visualLine=!0),this.processOperator(e,t,n),r||this.processMotion(e,t,n)},processAction:function(e,t,n){var r=t.inputState,i=r.getRepeat(),o=!!i,a=$(n.actionArgs)||{};r.selectedCharacter&&(a.selectedCharacter=r.selectedCharacter),n.operator&&this.processOperator(e,t,n),n.motion&&this.processMotion(e,t,n),(n.motion||n.operator)&&this.evalInput(e,t),a.repeat=i||1,a.repeatIsExplicit=o,a.registerName=r.registerName,U(e),t.lastMotion=null,n.isEdit&&this.recordLastEdit(t,r,n),Y[n.action](e,a,t)},processSearch:function(t,n,r){if(t.getSearchCursor){var i=r.searchArgs.forward,o=r.searchArgs.wholeWordOnly;Te(t).setReversed(!i);var a=i?"/":"?",s=Te(t).getQuery(),u=t.getScrollInfo();switch(r.searchArgs.querySrc){case"prompt":var c=N.macroModeState;c.isPlaying?d(f=c.replaySearchQueries.shift(),!0,!1):Pe(t,{onClose:function(e){t.scrollTo(u.left,u.top),d(e,!0,!0);var n=N.macroModeState;n.isRecording&&function(e,t){if(!e.isPlaying){var n=e.latestRegister,r=N.registerController.getRegister(n);r&&r.pushSearchQuery&&r.pushSearchQuery(t)}}(n,e)},prefix:a,desc:Le,onKeyUp:function(n,r,o){var a,s,c,l=e.keyName(n);"Up"==l||"Down"==l?(a="Up"==l,s=n.target?n.target.selectionEnd:0,o(r=N.searchHistoryController.nextMatch(r,a)||""),s&&n.target&&(n.target.selectionEnd=n.target.selectionStart=Math.min(s,n.target.value.length))):"Left"!=l&&"Right"!=l&&"Ctrl"!=l&&"Alt"!=l&&"Shift"!=l&&N.searchHistoryController.reset();try{c=Re(t,r,!0,!0)}catch(n){}c?t.scrollIntoView(Ue(t,!i,c),30):(qe(t),t.scrollTo(u.left,u.top))},onKeyDown:function(n,r,i){var o=e.keyName(n);"Esc"==o||"Ctrl-C"==o||"Ctrl-["==o||"Backspace"==o&&""==r?(N.searchHistoryController.pushInput(r),N.searchHistoryController.reset(),Re(t,s),qe(t),t.scrollTo(u.left,u.top),e.e_stop(n),U(t),i(),t.focus()):"Up"==o||"Down"==o?e.e_stop(n):"Ctrl-U"==o&&(e.e_stop(n),i(""))}});break;case"wordUnderCursor":var l=ve(t,!1,0,!1,!0),p=!0;if(l||(l=ve(t,!1,0,!1,!1),p=!1),!l)return;var f=t.getLine(l.start.line).substring(l.start.ch,l.end.ch);f=p&&o?"\\b"+f+"\\b":f.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1"),N.jumpList.cachedCursor=t.getCursor(),t.setCursor(l.start),d(f,!0,!1)}}function d(e,i,o){N.searchHistoryController.pushInput(e),N.searchHistoryController.reset();try{Re(t,e,i,o)}catch(a){return je(t,"Invalid regex: "+e),void U(t)}W.processMotion(t,n,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:r.searchArgs.toJumplist}})}},processEx:function(t,n,r){function i(e){N.exCommandHistoryController.pushInput(e),N.exCommandHistoryController.reset(),Je.processCommand(t,e)}function o(n,r,i){var o,a,s=e.keyName(n);("Esc"==s||"Ctrl-C"==s||"Ctrl-["==s||"Backspace"==s&&""==r)&&(N.exCommandHistoryController.pushInput(r),N.exCommandHistoryController.reset(),e.e_stop(n),U(t),i(),t.focus()),"Up"==s||"Down"==s?(e.e_stop(n),o="Up"==s,a=n.target?n.target.selectionEnd:0,i(r=N.exCommandHistoryController.nextMatch(r,o)||""),a&&n.target&&(n.target.selectionEnd=n.target.selectionStart=Math.min(a,n.target.value.length))):"Ctrl-U"==s?(e.e_stop(n),i("")):"Left"!=s&&"Right"!=s&&"Ctrl"!=s&&"Alt"!=s&&"Shift"!=s&&N.exCommandHistoryController.reset()}"keyToEx"==r.type?Je.processCommand(t,r.exArgs.input):n.visualMode?Pe(t,{onClose:i,prefix:":",value:"'<,'>",onKeyDown:o,selectValueOnOpen:!1}):Pe(t,{onClose:i,prefix:":",onKeyDown:o})},evalInput:function(e,t){var n,r,o,a=t.inputState,s=a.motion,u=a.motionArgs||{},c=a.operator,l=a.operatorArgs||{},p=a.registerName,f=t.sel,d=te(t.visualMode?Q(e,f.head):e.getCursor("head")),h=te(t.visualMode?Q(e,f.anchor):e.getCursor("anchor")),m=te(d),g=te(h);if(c&&this.recordLastEdit(t,a),(o=void 0!==a.repeatOverride?a.repeatOverride:a.getRepeat())>0&&u.explicitRepeat?u.repeatIsExplicit=!0:(u.noRepeat||!u.explicitRepeat&&0===o)&&(o=1,u.repeatIsExplicit=!1),a.selectedCharacter&&(u.selectedCharacter=l.selectedCharacter=a.selectedCharacter),u.repeat=o,U(e),s){var v=G[s](e,d,u,t);if(t.lastMotion=G[s],!v)return;if(u.toJumplist){var y=N.jumpList,b=y.cachedCursor;b?(ye(e,b,v),delete y.cachedCursor):ye(e,d,v)}v instanceof Array?(r=v[0],n=v[1]):n=v,n||(n=te(d)),t.visualMode?(t.visualBlock&&n.ch===1/0||(n=Q(e,n)),r&&(r=Q(e,r)),r=r||g,f.anchor=r,f.head=n,de(e),we(e,t,"<",re(r,n)?r:n),we(e,t,">",re(r,n)?n:r)):c||(n=Q(e,n),e.setCursor(n.line,n.ch))}if(c){if(l.lastSel){r=g;var x=l.lastSel,E=Math.abs(x.head.line-x.anchor.line),D=Math.abs(x.head.ch-x.anchor.ch);n=x.visualLine?i(g.line+E,g.ch):x.visualBlock?i(g.line+E,g.ch+D):x.head.line==x.anchor.line?i(g.line,g.ch+D):i(g.line+E,g.ch),t.visualMode=!0,t.visualLine=x.visualLine,t.visualBlock=x.visualBlock,f=t.sel={anchor:r,head:n},de(e)}else t.visualMode&&(l.lastSel={anchor:te(f.anchor),head:te(f.head),visualBlock:t.visualBlock,visualLine:t.visualLine});var C,w,k,A,T;if(t.visualMode){if(C=ie(f.head,f.anchor),w=oe(f.head,f.anchor),k=t.visualLine||l.linewise,T=he(e,{anchor:C,head:w},A=t.visualBlock?"block":k?"line":"char"),k){var _=T.ranges;if("block"==A)for(var O=0;O<_.length;O++)_[O].head.ch=se(e,_[O].head.line);else"line"==A&&(_[0].head=i(_[0].head.line+1,0))}}else{if(C=te(r||g),re(w=te(n||m),C)){var F=C;C=w,w=F}(k=u.linewise||l.linewise)?function(e,t,n){t.ch=0,n.ch=0,n.line++}(0,C,w):u.forward&&function(e,t,n){var r=e.getRange(t,n);if(/\n\s*$/.test(r)){var i=r.split("\n");i.pop();for(var o=i.pop();i.length>0&&o&&S(o);o=i.pop())n.line--,n.ch=0;o?(n.line--,n.ch=se(e,n.line)):n.ch=0}}(e,C,w),T=he(e,{anchor:C,head:w},A="char",!u.inclusive||k)}e.setSelections(T.ranges,T.primary),t.lastMotion=null,l.repeat=o,l.registerName=p,l.linewise=k;var I=J[c](e,l,T.ranges,g,n);t.visualMode&&me(e,null!=I),I&&e.setCursor(I)}},recordLastEdit:function(e,t,n){var r=N.macroModeState;r.isPlaying||(e.lastEditInputState=t,e.lastEditActionCommand=n,r.lastInsertModeChanges.changes=[],r.lastInsertModeChanges.expectCursorActivityForChange=!1,r.lastInsertModeChanges.visualBlock=e.visualBlock?e.sel.head.line-e.sel.anchor.line:0)}},G={moveToTopLine:function(e,t,n){var r=Ve(e).top+n.repeat-1;return i(r,ge(e.getLine(r)))},moveToMiddleLine:function(e){var t=Ve(e),n=Math.floor(.5*(t.top+t.bottom));return i(n,ge(e.getLine(n)))},moveToBottomLine:function(e,t,n){var r=Ve(e).bottom-n.repeat+1;return i(r,ge(e.getLine(r)))},expandToLine:function(e,t,n){return i(t.line+n.repeat-1,1/0)},findNext:function(e,t,n){var r=Te(e),i=r.getQuery();if(i){var o=!n.forward;return o=r.isReversed()?!o:o,ze(e,i),Ue(e,o,i,n.repeat)}},goToMark:function(e,t,n,r){var i=He(e,r,n.selectedCharacter);return i?n.linewise?{line:i.line,ch:ge(e.getLine(i.line))}:i:null},moveToOtherHighlightedEnd:function(e,t,n,r){if(r.visualBlock&&n.sameLine){var o=r.sel;return[Q(e,i(o.anchor.line,o.head.ch)),Q(e,i(o.head.line,o.anchor.ch))]}return[r.sel.head,r.sel.anchor]},jumpToMark:function(e,t,n,r){for(var o=t,a=0;a<n.repeat;a++){var s=o;for(var u in r.marks)if(C(u)){var c=r.marks[u].find();if(!(n.forward?re(c,s):re(s,c))&&(!n.linewise||c.line!=s.line)){var l=ne(s,o),p=n.forward?ae(s,c,o):ae(o,c,s);(l||p)&&(o=c)}}}return n.linewise&&(o=i(o.line,ge(e.getLine(o.line)))),o},moveByCharacters:function(e,t,n){var r=t,o=n.repeat,a=n.forward?r.ch+o:r.ch-o;return i(r.line,a)},moveByLines:function(e,t,n,r){var o=t,a=o.ch;switch(r.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:a=r.lastHPos;break;default:r.lastHPos=a}var s=n.repeat+(n.repeatOffset||0),u=n.forward?o.line+s:o.line-s,c=e.firstLine(),l=e.lastLine(),p=e.findPosV(o,n.forward?s:-s,"line",r.lastHSPos);return(n.forward?p.line>u:p.line<u)&&(u=p.line,a=p.ch),u<c&&o.line==c?this.moveToStartOfLine(e,t,n,r):u>l&&o.line==l?this.moveToEol(e,t,n,r,!0):(n.toFirstChar&&(a=ge(e.getLine(u)),r.lastHPos=a),r.lastHSPos=e.charCoords(i(u,a),"div").left,i(u,a))},moveByDisplayLines:function(e,t,n,r){var o=t;switch(r.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:r.lastHSPos=e.charCoords(o,"div").left}var a=n.repeat;if((u=e.findPosV(o,n.forward?a:-a,"line",r.lastHSPos)).hitSide)if(n.forward)var s={top:e.charCoords(u,"div").top+8,left:r.lastHSPos},u=e.coordsChar(s,"div");else{var c=e.charCoords(i(e.firstLine(),0),"div");c.left=r.lastHSPos,u=e.coordsChar(c,"div")}return r.lastHPos=u.ch,u},moveByPage:function(e,t,n){var r=t,i=n.repeat;return e.findPosV(r,n.forward?i:-i,"page")},moveByParagraph:function(e,t,n){var r=n.forward?1:-1;return ke(e,t,n.repeat,r)},moveBySentence:function(e,t,n){var r=n.forward?1:-1;return function(e,t,n,r){function o(e,t){if(t.pos+t.dir<0||t.pos+t.dir>=t.line.length){if(t.ln+=t.dir,!D(e,t.ln))return t.line=null,t.ln=null,void(t.pos=null);t.line=e.getLine(t.ln),t.pos=t.dir>0?0:t.line.length-1}else t.pos+=t.dir}function a(e,t,n,r){var i=""===(c=e.getLine(t)),a={line:c,ln:t,pos:n,dir:r},s={ln:a.ln,pos:a.pos},u=""===a.line;for(o(e,a);null!==a.line;){if(s.ln=a.ln,s.pos=a.pos,""===a.line&&!u)return{ln:a.ln,pos:a.pos};if(i&&""!==a.line&&!S(a.line[a.pos]))return{ln:a.ln,pos:a.pos};!k(a.line[a.pos])||i||a.pos!==a.line.length-1&&!S(a.line[a.pos+1])||(i=!0),o(e,a)}var c=e.getLine(s.ln);s.pos=0;for(var l=c.length-1;l>=0;--l)if(!S(c[l])){s.pos=l;break}return s}function s(e,t,n,r){var i={line:u=e.getLine(t),ln:t,pos:n,dir:r},a={ln:i.ln,pos:null},s=""===i.line;for(o(e,i);null!==i.line;){if(""===i.line&&!s)return null!==a.pos?a:{ln:i.ln,pos:i.pos};if(k(i.line[i.pos])&&null!==a.pos&&(i.ln!==a.ln||i.pos+1!==a.pos))return a;""===i.line||S(i.line[i.pos])||(s=!1,a={ln:i.ln,pos:i.pos}),o(e,i)}var u=e.getLine(a.ln);a.pos=0;for(var c=0;c<u.length;++c)if(!S(u[c])){a.pos=c;break}return a}for(var u={ln:t.line,pos:t.ch};n>0;)u=r<0?s(e,u.ln,u.pos,r):a(e,u.ln,u.pos,r),n--;return i(u.ln,u.pos)}(e,t,n.repeat,r)},moveByScroll:function(e,t,n,r){var i=e.getScrollInfo(),o=null,a=n.repeat;a||(a=i.clientHeight/(2*e.defaultTextHeight()));var s=e.charCoords(t,"local");if(n.repeat=a,!(o=G.moveByDisplayLines(e,t,n,r)))return null;var u=e.charCoords(o,"local");return e.scrollTo(null,i.top+u.top-s.top),o},moveByWords:function(e,t,n){return function(e,t,n,r,o,a){var s=te(t),u=[];(r&&!o||!r&&o)&&n++;for(var c=!(r&&o),l=0;l<n;l++){var p=De(e,t,r,a,c);if(!p){var f=se(e,e.lastLine());u.push(r?{line:e.lastLine(),from:f,to:f}:{line:0,from:0,to:0});break}u.push(p),t=i(p.line,r?p.to-1:p.from)}var d=u.length!=n,h=u[0],m=u.pop();return r&&!o?(d||h.from==s.ch&&h.line==s.line||(m=u.pop()),i(m.line,m.from)):r&&o?i(m.line,m.to-1):!r&&o?(d||h.to==s.ch&&h.line==s.line||(m=u.pop()),i(m.line,m.to)):i(m.line,m.from)}(e,t,n.repeat,!!n.forward,!!n.wordEnd,!!n.bigWord)},moveTillCharacter:function(e,t,n){var r=Ce(e,n.repeat,n.forward,n.selectedCharacter),i=n.forward?-1:1;return be(i,n),r?(r.ch+=i,r):null},moveToCharacter:function(e,t,n){var r=n.repeat;return be(0,n),Ce(e,r,n.forward,n.selectedCharacter)||t},moveToSymbol:function(e,t,n){return function(e,t,n,r){var o=te(e.getCursor()),a=n?1:-1,s=n?e.lineCount():-1,u=o.ch,c=o.line,l=e.getLine(c),p={lineText:l,nextCh:l.charAt(u),lastCh:null,index:u,symb:r,reverseSymb:(n?{")":"(","}":"{"}:{"(":")","{":"}"})[r],forward:n,depth:0,curMoveThrough:!1},f=xe[r];if(!f)return o;var d=Ee[f].init,h=Ee[f].isComplete;for(d&&d(p);c!==s&&t;){if(p.index+=a,p.nextCh=p.lineText.charAt(p.index),!p.nextCh){if(c+=a,p.lineText=e.getLine(c)||"",a>0)p.index=0;else{var m=p.lineText.length;p.index=m>0?m-1:0}p.nextCh=p.lineText.charAt(p.index)}h(p)&&(o.line=c,o.ch=p.index,t--)}return p.nextCh||p.curMoveThrough?i(c,p.index):o}(e,n.repeat,n.forward,n.selectedCharacter)||t},moveToColumn:function(e,t,n,r){var o=n.repeat;return r.lastHPos=o-1,r.lastHSPos=e.charCoords(t,"div").left,function(e,t){var n=e.getCursor().line;return Q(e,i(n,t-1))}(e,o)},moveToEol:function(e,t,n,r,o){var a=i(t.line+n.repeat-1,1/0),s=e.clipPos(a);return s.ch--,o||(r.lastHPos=1/0,r.lastHSPos=e.charCoords(s,"div").left),a},moveToFirstNonWhiteSpaceCharacter:function(e,t){var n=t;return i(n.line,ge(e.getLine(n.line)))},moveToMatchedSymbol:function(e,t){for(var n,r=t,o=r.line,a=r.ch,s=e.getLine(o);a<s.length;a++)if((n=s.charAt(a))&&-1!="()[]{}".indexOf(n)){var u=e.getTokenTypeAt(i(o,a+1));if("string"!==u&&"comment"!==u)break}if(a<s.length){var c="<"===a||">"===a?/[(){}[\]<>]/:/[(){}[\]]/;return e.findMatchingBracket(i(o,a),{bracketRegex:c}).to}return r},moveToStartOfLine:function(e,t){return i(t.line,0)},moveToLineOrEdgeOfDocument:function(e,t,n){var r=n.forward?e.lastLine():e.firstLine();return n.repeatIsExplicit&&(r=n.repeat-e.getOption("firstLineNumber")),i(r,ge(e.getLine(r)))},textObjectManipulation:function(e,t,n,r){var o=n.selectedCharacter;"b"==o?o="(":"B"==o&&(o="{");var a,s=!n.textObjectInner;if({"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"}[o])a=function(e,t,n,r){var o,a,s=t,u={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[n],c={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[n],l=e.getLine(s.line).charAt(s.ch)===c?1:0;if(o=e.scanForBracket(i(s.line,s.ch+l),-1,void 0,{bracketRegex:u}),a=e.scanForBracket(i(s.line,s.ch+l),1,void 0,{bracketRegex:u}),!o||!a)return{start:s,end:s};if(o=o.pos,a=a.pos,o.line==a.line&&o.ch>a.ch||o.line>a.line){var p=o;o=a,a=p}return r?a.ch+=1:o.ch+=1,{start:o,end:a}}(e,t,o,s);else if({"'":!0,'"':!0,"`":!0}[o])a=function(e,t,n,r){var o,a,s,u,c=te(t),l=e.getLine(c.line).split(""),p=l.indexOf(n);if(c.ch<p?c.ch=p:p<c.ch&&l[c.ch]==n&&(a=c.ch,--c.ch),l[c.ch]!=n||a)for(s=c.ch;s>-1&&!o;s--)l[s]==n&&(o=s+1);else o=c.ch+1;if(o&&!a)for(s=o,u=l.length;s<u&&!a;s++)l[s]==n&&(a=s);return o&&a?(r&&(--o,++a),{start:i(c.line,o),end:i(c.line,a)}):{start:c,end:c}}(e,t,o,s);else if("W"===o)a=ve(e,s,0,!0);else if("w"===o)a=ve(e,s,0,!1);else{if("p"!==o)return null;if(a=ke(e,t,n.repeat,0,s),n.linewise=!0,r.visualMode)r.visualLine||(r.visualLine=!0);else{var u=r.inputState.operatorArgs;u&&(u.linewise=!0),a.end.line--}}return e.state.vim.visualMode?function(e,t,n){var r,o=e.state.vim.sel,a=o.head,s=o.anchor;return re(n,t)&&(r=n,n=t,t=r),re(a,s)?(a=ie(t,a),s=oe(s,n)):(s=ie(t,s),-1==(a=X(a=oe(a,n),0,-1)).ch&&a.line!=e.firstLine()&&(a=i(a.line-1,se(e,a.line-1)))),[s,a]}(e,a.start,a.end):[a.start,a.end]},repeatLastCharacterSearch:function(e,t,n){var r=N.lastCharacterSearch,i=n.repeat,o=n.forward===r.forward,a=(r.increment?1:0)*(o?-1:1);e.moveH(-a,"char"),n.inclusive=!!o;var s=Ce(e,i,o,r.selectedCharacter);return s?(s.ch+=a,s):(e.moveH(a,"char"),t)}};function K(e,t){for(var n=[],r=0;r<t;r++)n.push(e);return n}var J={change:function(t,n,r){var o,a,s=t.state.vim,u=r[0].anchor,c=r[0].head;if(s.visualMode)if(n.fullLine)c.ch=Number.MAX_VALUE,c.line--,t.setSelection(u,c),a=t.getSelection(),t.replaceSelection(""),o=u;else{a=t.getSelection();var l=K("",r.length);t.replaceSelections(l),o=ie(r[0].head,r[0].anchor)}else{a=t.getRange(u,c);var p=s.lastEditInputState||{};if("moveByWords"==p.motion&&!S(a)){var f=/\s+$/.exec(a);f&&p.motionArgs&&p.motionArgs.forward&&(c=X(c,0,-f[0].length),a=a.slice(0,-f[0].length))}var d=new i(u.line-1,Number.MAX_VALUE),h=t.firstLine()==t.lastLine();c.line>t.lastLine()&&n.linewise&&!h?t.replaceRange("",d,c):t.replaceRange("",u,c),n.linewise&&(h||(t.setCursor(d),e.commands.newlineAndIndent(t)),u.ch=Number.MAX_VALUE),o=u}N.registerController.pushText(n.registerName,"change",a,n.linewise,r.length>1),Y.enterInsertMode(t,{head:o},t.state.vim)},delete:function(e,t,n){var r,o,a=e.state.vim;if(a.visualBlock){o=e.getSelection();var s=K("",n.length);e.replaceSelections(s),r=n[0].anchor}else{var u=n[0].anchor,c=n[0].head;t.linewise&&c.line!=e.firstLine()&&u.line==e.lastLine()&&u.line==c.line-1&&(u.line==e.firstLine()?u.ch=0:u=i(u.line-1,se(e,u.line-1))),o=e.getRange(u,c),e.replaceRange("",u,c),r=u,t.linewise&&(r=G.moveToFirstNonWhiteSpaceCharacter(e,u))}return N.registerController.pushText(t.registerName,"delete",o,t.linewise,a.visualBlock),Q(e,r)},indent:function(e,t,n){var r=e.state.vim,i=n[0].anchor.line,o=r.visualBlock?n[n.length-1].anchor.line:n[0].head.line,a=r.visualMode?t.repeat:1;t.linewise&&o--;for(var s=i;s<=o;s++)for(var u=0;u<a;u++)e.indentLine(s,t.indentRight);return G.moveToFirstNonWhiteSpaceCharacter(e,n[0].anchor)},indentAuto:function(e,t,n){return e.execCommand("indentAuto"),G.moveToFirstNonWhiteSpaceCharacter(e,n[0].anchor)},changeCase:function(e,t,n,r,i){for(var o=e.getSelections(),a=[],s=t.toLower,u=0;u<o.length;u++){var c=o[u],l="";if(!0===s)l=c.toLowerCase();else if(!1===s)l=c.toUpperCase();else for(var p=0;p<c.length;p++){var f=c.charAt(p);l+=w(f)?f.toLowerCase():f.toUpperCase()}a.push(l)}return e.replaceSelections(a),t.shouldMoveCursor?i:!e.state.vim.visualMode&&t.linewise&&n[0].anchor.line+1==n[0].head.line?G.moveToFirstNonWhiteSpaceCharacter(e,r):t.linewise?r:ie(n[0].anchor,n[0].head)},yank:function(e,t,n,r){var i=e.state.vim,o=e.getSelection(),a=i.visualMode?ie(i.sel.anchor,i.sel.head,n[0].head,n[0].anchor):r;return N.registerController.pushText(t.registerName,"yank",o,t.linewise,i.visualBlock),a}},Y={jumpListWalk:function(e,t,n){if(!n.visualMode){var r=t.repeat,i=t.forward,o=N.jumpList.move(e,i?r:-r),a=o?o.find():void 0;a=a||e.getCursor(),e.setCursor(a)}},scroll:function(e,t,n){if(!n.visualMode){var r=t.repeat||1,i=e.defaultTextHeight(),o=e.getScrollInfo().top,a=i*r,s=t.forward?o+a:o-a,u=te(e.getCursor()),c=e.charCoords(u,"local");if(t.forward)s>c.top?(u.line+=(s-c.top)/i,u.line=Math.ceil(u.line),e.setCursor(u),c=e.charCoords(u,"local"),e.scrollTo(null,c.top)):e.scrollTo(null,s);else{var l=s+e.getScrollInfo().clientHeight;l<c.bottom?(u.line-=(c.bottom-l)/i,u.line=Math.floor(u.line),e.setCursor(u),c=e.charCoords(u,"local"),e.scrollTo(null,c.bottom-e.getScrollInfo().clientHeight)):e.scrollTo(null,s)}}},scrollToCursor:function(e,t){var n=e.getCursor().line,r=e.charCoords(i(n,0),"local"),o=e.getScrollInfo().clientHeight,a=r.top,s=r.bottom-a;switch(t.position){case"center":a=a-o/2+s;break;case"bottom":a=a-o+s}e.scrollTo(null,a)},replayMacro:function(e,t,n){var r=t.selectedCharacter,i=t.repeat,o=N.macroModeState;for("@"==r?r=o.latestRegister:o.latestRegister=r;i--;)$e(e,n,o,r)},enterMacroRecordMode:function(e,t){var n=N.macroModeState,r=t.selectedCharacter;N.registerController.isValidRegister(r)&&n.enterMacroRecordMode(e,r)},toggleOverwrite:function(t){t.state.overwrite?(t.toggleOverwrite(!1),t.setOption("keyMap","vim-insert"),e.signal(t,"vim-mode-change",{mode:"insert"})):(t.toggleOverwrite(!0),t.setOption("keyMap","vim-replace"),e.signal(t,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(t,n,r){if(!t.getOption("readOnly")){r.insertMode=!0,r.insertModeRepeat=n&&n.repeat||1;var o=n?n.insertAt:null,a=r.sel,s=n.head||t.getCursor("head"),u=t.listSelections().length;if("eol"==o)s=i(s.line,se(t,s.line));else if("bol"==o)s=i(s.line,0);else if("charAfter"==o)s=X(s,0,1);else if("firstNonBlank"==o)s=G.moveToFirstNonWhiteSpaceCharacter(t,s);else if("startOfSelectedArea"==o){if(!r.visualMode)return;r.visualBlock?(s=i(Math.min(a.head.line,a.anchor.line),Math.min(a.head.ch,a.anchor.ch)),u=Math.abs(a.head.line-a.anchor.line)+1):s=a.head.line<a.anchor.line?a.head:i(a.anchor.line,0)}else if("endOfSelectedArea"==o){if(!r.visualMode)return;r.visualBlock?(s=i(Math.min(a.head.line,a.anchor.line),Math.max(a.head.ch+1,a.anchor.ch)),u=Math.abs(a.head.line-a.anchor.line)+1):s=a.head.line>=a.anchor.line?X(a.head,0,1):i(a.anchor.line,0)}else if("inplace"==o){if(r.visualMode)return}else"lastEdit"==o&&(s=We(t)||s);t.setOption("disableInput",!1),n&&n.replace?(t.toggleOverwrite(!0),t.setOption("keyMap","vim-replace"),e.signal(t,"vim-mode-change",{mode:"replace"})):(t.toggleOverwrite(!1),t.setOption("keyMap","vim-insert"),e.signal(t,"vim-mode-change",{mode:"insert"})),N.macroModeState.isPlaying||(t.on("change",Xe),e.on(t.getInputField(),"keydown",rt)),r.visualMode&&me(t),pe(t,s,u)}},toggleVisualMode:function(t,n,r){var o,a=n.repeat,s=t.getCursor();r.visualMode?r.visualLine^n.linewise||r.visualBlock^n.blockwise?(r.visualLine=!!n.linewise,r.visualBlock=!!n.blockwise,e.signal(t,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""}),de(t)):me(t):(r.visualMode=!0,r.visualLine=!!n.linewise,r.visualBlock=!!n.blockwise,o=Q(t,i(s.line,s.ch+a-1)),r.sel={anchor:s,head:o},e.signal(t,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""}),de(t),we(t,r,"<",ie(s,o)),we(t,r,">",oe(s,o)))},reselectLastSelection:function(t,n,r){var i=r.lastSelection;if(r.visualMode&&fe(t,r),i){var o=i.anchorMark.find(),a=i.headMark.find();if(!o||!a)return;r.sel={anchor:o,head:a},r.visualMode=!0,r.visualLine=i.visualLine,r.visualBlock=i.visualBlock,de(t),we(t,r,"<",ie(o,a)),we(t,r,">",oe(o,a)),e.signal(t,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""})}},joinLines:function(e,t,n){var r,o;if(n.visualMode){if(r=e.getCursor("anchor"),re(o=e.getCursor("head"),r)){var a=o;o=r,r=a}o.ch=se(e,o.line)-1}else{var s=Math.max(t.repeat,2);r=e.getCursor(),o=Q(e,i(r.line+s-1,1/0))}for(var u=0,c=r.line;c<o.line;c++){u=se(e,r.line),a=i(r.line+1,se(e,r.line+1));var l=e.getRange(r,a);l=t.keepSpaces?l.replace(/\n\r?/g,""):l.replace(/\n\s*/g," "),e.replaceRange(l,r,a)}var p=i(r.line,u);n.visualMode&&me(e,!1),e.setCursor(p)},newLineAndEnterInsertMode:function(t,n,r){r.insertMode=!0;var o=te(t.getCursor());o.line!==t.firstLine()||n.after?(o.line=n.after?o.line:o.line-1,o.ch=se(t,o.line),t.setCursor(o),(e.commands.newlineAndIndentContinueComment||e.commands.newlineAndIndent)(t)):(t.replaceRange("\n",i(t.firstLine(),0)),t.setCursor(t.firstLine(),0)),this.enterInsertMode(t,{repeat:n.repeat},r)},paste:function(e,t,n){var r=te(e.getCursor()),o=N.registerController.getRegister(t.registerName);if(d=o.toString()){if(t.matchIndent){var a=e.getOption("tabSize"),s=function(e){var t=e.split("\t").length-1,n=e.split(" ").length-1;return t*a+1*n},u=e.getLine(e.getCursor().line),c=s(u.match(/^\s*/)[0]),l=d.replace(/\n$/,""),p=d!==l,f=s(d.match(/^\s*/)[0]),d=l.replace(/^\s*/gm,(function(t){var n=c+(s(t)-f);if(n<0)return"";if(e.getOption("indentWithTabs")){var r=Math.floor(n/a);return Array(r+1).join("\t")}return Array(n+1).join(" ")}));d+=p?"\n":""}t.repeat>1&&(d=Array(t.repeat+1).join(d));var h,m,g=o.linewise,v=o.blockwise;if(v){d=d.split("\n"),g&&d.pop();for(var y=0;y<d.length;y++)d[y]=""==d[y]?" ":d[y];r.ch+=t.after?1:0,r.ch=Math.min(se(e,r.line),r.ch)}else g?n.visualMode?d=n.visualLine?d.slice(0,-1):"\n"+d.slice(0,d.length-1)+"\n":t.after?(d="\n"+d.slice(0,d.length-1),r.ch=se(e,r.line)):r.ch=0:r.ch+=t.after?1:0;if(n.visualMode){var b;n.lastPastedText=d;var x=function(e,t){var n=t.lastSelection;return t.visualMode?function(){var t=e.listSelections(),n=t[0],r=t[t.length-1];return[re(n.anchor,n.head)?n.anchor:n.head,re(r.anchor,r.head)?r.head:r.anchor]}():function(){var t=e.getCursor(),r=e.getCursor(),o=n.visualBlock;if(o){var a=o.width,s=o.height;r=i(t.line+s,t.ch+a);for(var u=[],c=t.line;c<r.line;c++){var l={anchor:i(c,t.ch),head:i(c,r.ch)};u.push(l)}e.setSelections(u)}else{var p=n.anchorMark.find(),f=n.headMark.find(),d=f.line-p.line,h=f.ch-p.ch;r={line:r.line+d,ch:d?r.ch:h+r.ch},n.visualLine&&(t=i(t.line,0),r=i(r.line,se(e,r.line))),e.setSelection(t,r)}return[t,r]}()}(e,n),E=x[0],D=x[1],C=e.getSelection(),w=e.listSelections(),S=new Array(w.length).join("1").split("1");n.lastSelection&&(b=n.lastSelection.headMark.find()),N.registerController.unnamedRegister.setText(C),v?(e.replaceSelections(S),D=i(E.line+d.length-1,E.ch),e.setCursor(E),le(e,D),e.replaceSelections(d),h=E):n.visualBlock?(e.replaceSelections(S),e.setCursor(E),e.replaceRange(d,E,E),h=E):(e.replaceRange(d,E,D),h=e.posFromIndex(e.indexFromPos(E)+d.length-1)),b&&(n.lastSelection.headMark=e.setBookmark(b)),g&&(h.ch=0)}else if(v){for(e.setCursor(r),y=0;y<d.length;y++){var k=r.line+y;k>e.lastLine()&&e.replaceRange("\n",i(k,0)),se(e,k)<r.ch&&ce(e,k,r.ch)}e.setCursor(r),le(e,i(r.line+d.length-1,r.ch)),e.replaceSelections(d),h=r}else e.replaceRange(d,r),g&&t.after?h=i(r.line+1,ge(e.getLine(r.line+1))):g&&!t.after?h=i(r.line,ge(e.getLine(r.line))):!g&&t.after?(m=e.indexFromPos(r),h=e.posFromIndex(m+d.length-1)):(m=e.indexFromPos(r),h=e.posFromIndex(m+d.length));n.visualMode&&me(e,!1),e.setCursor(h)}},undo:function(t,n){t.operation((function(){ee(t,e.commands.undo,n.repeat)(),t.setCursor(t.getCursor("anchor"))}))},redo:function(t,n){ee(t,e.commands.redo,n.repeat)()},setRegister:function(e,t,n){n.inputState.registerName=t.selectedCharacter},setMark:function(e,t,n){we(e,n,t.selectedCharacter,e.getCursor())},replace:function(t,n,r){var o,a,s=n.selectedCharacter,u=t.getCursor(),c=t.listSelections();if(r.visualMode)u=t.getCursor("start"),a=t.getCursor("end");else{var l=t.getLine(u.line);(o=u.ch+n.repeat)>l.length&&(o=l.length),a=i(u.line,o)}if("\n"==s)r.visualMode||t.replaceRange("",u,a),(e.commands.newlineAndIndentContinueComment||e.commands.newlineAndIndent)(t);else{var p=t.getRange(u,a);if(p=p.replace(/[^\n]/g,s),r.visualBlock){var f=new Array(t.getOption("tabSize")+1).join(" ");p=(p=t.getSelection()).replace(/\t/g,f).replace(/[^\n]/g,s).split("\n"),t.replaceSelections(p)}else t.replaceRange(p,u,a);r.visualMode?(u=re(c[0].anchor,c[0].head)?c[0].anchor:c[0].head,t.setCursor(u),me(t,!1)):t.setCursor(X(a,0,-1))}},incrementNumberToken:function(e,t){for(var n,r,o,a,s=e.getCursor(),u=e.getLine(s.line),c=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi;null!==(n=c.exec(u))&&(o=(r=n.index)+n[0].length,!(s.ch<o)););if((t.backtrack||!(o<=s.ch))&&n){var l=n[2]||n[4],p=n[3]||n[5],f=t.increase?1:-1,d={"0b":2,0:8,"":10,"0x":16}[l.toLowerCase()];a=(parseInt(n[1]+p,d)+f*t.repeat).toString(d);var h=l?new Array(p.length-a.length+1+n[1].length).join("0"):"";a="-"===a.charAt(0)?"-"+l+h+a.substr(1):l+h+a;var m=i(s.line,r),g=i(s.line,o);e.replaceRange(a,m,g),e.setCursor(i(s.line,r+a.length-1))}},repeatLastEdit:function(e,t,n){if(n.lastEditInputState){var r=t.repeat;r&&t.repeatIsExplicit?n.lastEditInputState.repeatOverride=r:r=n.lastEditInputState.repeatOverride||r,it(e,n,r,!1)}},indent:function(e,t){e.indentLine(e.getCursor().line,t.indentRight)},exitInsertMode:Ye};function Q(e,t){var n=e.state.vim,r=n.insertMode||n.visualMode,o=Math.min(Math.max(e.firstLine(),t.line),e.lastLine()),a=se(e,o)-1+!!r,s=Math.min(Math.max(0,t.ch),a);return i(o,s)}function $(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function X(e,t,n){return"object"===typeof t&&(n=t.ch,t=t.line),i(e.line+t,e.ch+n)}function Z(e,t){if("<character>"==t.slice(-11)){var n=t.length-11,r=e.slice(0,n),i=t.slice(0,n);return r==i&&e.length>n?"full":0==i.indexOf(r)&&"partial"}return e==t?"full":0==t.indexOf(e)&&"partial"}function ee(e,t,n){return function(){for(var r=0;r<n;r++)t(e)}}function te(e){return i(e.line,e.ch)}function ne(e,t){return e.ch==t.ch&&e.line==t.line}function re(e,t){return e.line<t.line||e.line==t.line&&e.ch<t.ch}function ie(e,t){return arguments.length>2&&(t=ie.apply(void 0,Array.prototype.slice.call(arguments,1))),re(e,t)?e:t}function oe(e,t){return arguments.length>2&&(t=oe.apply(void 0,Array.prototype.slice.call(arguments,1))),re(e,t)?t:e}function ae(e,t,n){var r=re(e,t),i=re(t,n);return r&&i}function se(e,t){return e.getLine(t).length}function ue(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ce(e,t,n){var r=se(e,t),o=new Array(n-r+1).join(" ");e.setCursor(i(t,r)),e.replaceRange(o,e.getCursor())}function le(e,t){var n=[],r=e.listSelections(),o=te(e.clipPos(t)),a=!ne(t,o),s=function(e,t,n){for(var r=0;r<e.length;r++){var i="head"!=n&&ne(e[r].anchor,t),o="anchor"!=n&&ne(e[r].head,t);if(i||o)return r}return-1}(r,e.getCursor("head")),u=ne(r[s].head,r[s].anchor),c=r.length-1,l=c-s>s?c:0,p=r[l].anchor,f=Math.min(p.line,o.line),d=Math.max(p.line,o.line),h=p.ch,m=o.ch,g=r[l].head.ch-h,v=m-h;g>0&&v<=0?(h++,a||m--):g<0&&v>=0?(h--,u||m++):g<0&&-1==v&&(h--,m++);for(var y=f;y<=d;y++){var b={anchor:new i(y,h),head:new i(y,m)};n.push(b)}return e.setSelections(n),t.ch=m,p.ch=h,p}function pe(e,t,n){for(var r=[],i=0;i<n;i++){var o=X(t,i,0);r.push({anchor:o,head:o})}e.setSelections(r,0)}function fe(e,t){var n=t.sel.anchor,r=t.sel.head;t.lastPastedText&&(r=e.posFromIndex(e.indexFromPos(n)+t.lastPastedText.length),t.lastPastedText=null),t.lastSelection={anchorMark:e.setBookmark(n),headMark:e.setBookmark(r),anchor:te(n),head:te(r),visualMode:t.visualMode,visualLine:t.visualLine,visualBlock:t.visualBlock}}function de(e,t,n){var r=e.state.vim,i=he(e,t=t||r.sel,n=n||r.visualLine?"line":r.visualBlock?"block":"char");e.setSelections(i.ranges,i.primary),et(e)}function he(e,t,n,r){var o=te(t.head),a=te(t.anchor);if("char"==n){var s=r||re(t.head,t.anchor)?0:1,u=re(t.head,t.anchor)?1:0;return o=X(t.head,0,s),{ranges:[{anchor:a=X(t.anchor,0,u),head:o}],primary:0}}if("line"==n){if(re(t.head,t.anchor))o.ch=0,a.ch=se(e,a.line);else{a.ch=0;var c=e.lastLine();o.line>c&&(o.line=c),o.ch=se(e,o.line)}return{ranges:[{anchor:a,head:o}],primary:0}}if("block"==n){for(var l=Math.min(a.line,o.line),p=Math.min(a.ch,o.ch),f=Math.max(a.line,o.line),d=Math.max(a.ch,o.ch)+1,h=f-l+1,m=o.line==l?0:h-1,g=[],v=0;v<h;v++)g.push({anchor:i(l+v,p),head:i(l+v,d)});return{ranges:g,primary:m}}}function me(t,n){var r=t.state.vim;!1!==n&&t.setCursor(Q(t,r.sel.head)),fe(t,r),r.visualMode=!1,r.visualLine=!1,r.visualBlock=!1,e.signal(t,"vim-mode-change",{mode:"normal"}),tt(r)}function ge(e){if(!e)return 0;var t=e.search(/\S/);return-1==t?e.length:t}function ve(e,t,n,r,o){for(var a=function(e){var t=e.getCursor("head");return 1==e.getSelection().length&&(t=ie(t,e.getCursor("anchor"))),t}(e),s=e.getLine(a.line),u=a.ch,c=o?h[0]:m[0];!c(s.charAt(u));)if(++u>=s.length)return null;r?c=m[0]:(c=h[0])(s.charAt(u))||(c=h[1]);for(var l=u,p=u;c(s.charAt(l))&&l<s.length;)l++;for(;c(s.charAt(p))&&p>=0;)p--;if(p++,t){for(var f=l;/\s/.test(s.charAt(l))&&l<s.length;)l++;if(f==l){for(var d=p;/\s/.test(s.charAt(p-1))&&p>0;)p--;p||(p=d)}}return{start:i(a.line,p),end:i(a.line,l)}}function ye(e,t,n){ne(t,n)||N.jumpList.add(e,t,n)}function be(e,t){N.lastCharacterSearch.increment=e,N.lastCharacterSearch.forward=t.forward,N.lastCharacterSearch.selectedCharacter=t.selectedCharacter}var xe={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},Ee={bracket:{isComplete:function(e){if(e.nextCh===e.symb){if(e.depth++,e.depth>=1)return!0}else e.nextCh===e.reverseSymb&&e.depth--;return!1}},section:{init:function(e){e.curMoveThrough=!0,e.symb=(e.forward?"]":"[")===e.symb?"{":"}"},isComplete:function(e){return 0===e.index&&e.nextCh===e.symb}},comment:{isComplete:function(e){var t="*"===e.lastCh&&"/"===e.nextCh;return e.lastCh=e.nextCh,t}},method:{init:function(e){e.symb="m"===e.symb?"{":"}",e.reverseSymb="{"===e.symb?"}":"{"},isComplete:function(e){return e.nextCh===e.symb}},preprocess:{init:function(e){e.index=0},isComplete:function(e){if("#"===e.nextCh){var t=e.lineText.match(/#(\w+)/)[1];if("endif"===t){if(e.forward&&0===e.depth)return!0;e.depth++}else if("if"===t){if(!e.forward&&0===e.depth)return!0;e.depth--}if("else"===t&&0===e.depth)return!0}return!1}}};function De(e,t,n,r,i){var o=t.line,a=t.ch,s=e.getLine(o),u=n?1:-1,c=r?m:h;if(i&&""==s){if(o+=u,s=e.getLine(o),!D(e,o))return null;a=n?0:s.length}for(;;){if(i&&""==s)return{from:0,to:0,line:o};for(var l=u>0?s.length:-1,p=l,f=l;a!=l;){for(var d=!1,g=0;g<c.length&&!d;++g)if(c[g](s.charAt(a))){for(p=a;a!=l&&c[g](s.charAt(a));)a+=u;if(d=p!=(f=a),p==t.ch&&o==t.line&&f==p+u)continue;return{from:Math.min(p,f+1),to:Math.max(p,f),line:o}}d||(a+=u)}if(!D(e,o+=u))return null;s=e.getLine(o),a=u>0?0:s.length}}function Ce(e,t,n,r){for(var o,a=e.getCursor(),s=a.ch,u=0;u<t;u++){if(-1==(o=Se(s,e.getLine(a.line),r,n,!0)))return null;s=o}return i(e.getCursor().line,o)}function we(e,t,n,r){A(n,x)&&(t.marks[n]&&t.marks[n].clear(),t.marks[n]=e.setBookmark(r))}function Se(e,t,n,r,i){var o;return r?-1==(o=t.indexOf(n,e+1))||i||(o-=1):-1==(o=t.lastIndexOf(n,e-1))||i||(o+=1),o}function ke(e,t,n,r,o){var a,s=t.line,u=e.firstLine(),c=e.lastLine(),l=s;function p(t){return!e.getLine(t)}function f(e,t,n){return n?p(e)!=p(e+t):!p(e)&&p(e+t)}if(r){for(;u<=l&&l<=c&&n>0;)f(l,r)&&n--,l+=r;return new i(l,0)}var d=e.state.vim;if(d.visualLine&&f(s,1,!0)){var h=d.sel.anchor;f(h.line,-1,!0)&&(o&&h.line==s||(s+=1))}var m=p(s);for(l=s;l<=c&&n;l++)f(l,1,!0)&&(o&&p(l)==m||n--);for(a=new i(l,0),l>c&&!m?m=!0:o=!1,l=s;l>u&&(o&&p(l)!=m&&l!=s||!f(l,-1,!0));l--);return{start:new i(l,0),end:a}}function Ae(){}function Te(e){var t=e.state.vim;return t.searchState_||(t.searchState_=new Ae)}function _e(e,t,n,r,i){e.openDialog?e.openDialog(t,r,{bottom:!0,value:i.value,onKeyDown:i.onKeyDown,onKeyUp:i.onKeyUp,selectValueOnOpen:!1}):r(prompt(n,""))}function Oe(e,t){var n=Fe(e,t)||[];if(!n.length)return[];var r=[];if(0===n[0]){for(var i=0;i<n.length;i++)"number"==typeof n[i]&&r.push(e.substring(n[i]+1,n[i+1]));return r}}function Fe(e,t){t||(t="/");for(var n=!1,r=[],i=0;i<e.length;i++){var o=e.charAt(i);n||o!=t||r.push(i),n=!n&&"\\"==o}return r}_("pcre",!0,"boolean"),Ae.prototype={getQuery:function(){return N.query},setQuery:function(e){N.query=e},getOverlay:function(){return this.searchOverlay},setOverlay:function(e){this.searchOverlay=e},isReversed:function(){return N.isReversed},setReversed:function(e){N.isReversed=e},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(e){this.annotate=e}};var Ne={"\\n":"\n","\\r":"\r","\\t":"\t"},Ie={"\\/":"/","\\\\":"\\","\\n":"\n","\\r":"\r","\\t":"\t","\\&":"&"};function Me(e,t,n){if(N.registerController.getRegister("/").setText(e),e instanceof RegExp)return e;var r,i,o=Fe(e,"/");return o.length?(r=e.substring(0,o[0]),i=-1!=e.substring(o[0]).indexOf("i")):r=e,r?(F("pcre")||(r=function(e){for(var t=!1,n=[],r=-1;r<e.length;r++){var i=e.charAt(r)||"",o=e.charAt(r+1)||"",a=o&&-1!="|(){".indexOf(o);t?("\\"===i&&a||n.push(i),t=!1):"\\"===i?(t=!0,o&&-1!="}".indexOf(o)&&(a=!0),a&&"\\"!==o||n.push(i)):(n.push(i),a&&"\\"!==o&&n.push("\\"))}return n.join("")}(r)),n&&(t=/^[^A-Z]*$/.test(r)),new RegExp(r,t||i?"i":void 0)):null}function je(e,t){e.openNotification?e.openNotification('<span style="color: red">'+t+"</span>",{bottom:!0,duration:5e3}):alert(t)}var Le="(Javascript regexp)";function Pe(e,t){var n=(t.prefix||"")+" "+(t.desc||"");_e(e,function(e,t){var n='<span style="font-family: monospace; white-space: pre">'+(e||"")+'<input type="text" autocorrect="off" autocapitalize="off" spellcheck="false"></span>';return t&&(n+=' <span style="color: #888">'+t+"</span>"),n}(t.prefix,t.desc),n,t.onClose,t)}function Re(e,t,n,r){if(t){var i=Te(e),o=Me(t,!!n,!!r);if(o)return ze(e,o),function(e,t){if(e instanceof RegExp&&t instanceof RegExp){for(var n=["global","multiline","ignoreCase","source"],r=0;r<n.length;r++){var i=n[r];if(e[i]!==t[i])return!1}return!0}return!1}(o,i.getQuery())||i.setQuery(o),o}}var Be=0;function ze(e,t){clearTimeout(Be),Be=setTimeout((function(){var n=Te(e),r=n.getOverlay();r&&t==r.query||(r&&e.removeOverlay(r),r=function(e){if("^"==e.source.charAt(0))var t=!0;return{token:function(n){if(!t||n.sol()){var r=n.match(e,!1);if(r)return 0==r[0].length?(n.next(),"searching"):n.sol()||(n.backUp(1),e.exec(n.next()+r[0]))?(n.match(e),"searching"):(n.next(),null);for(;!n.eol()&&(n.next(),!n.match(e,!1)););}else n.skipToEnd()},query:e}}(t),e.addOverlay(r),e.showMatchesOnScrollbar&&(n.getScrollbarAnnotate()&&n.getScrollbarAnnotate().clear(),n.setScrollbarAnnotate(e.showMatchesOnScrollbar(t))),n.setOverlay(r))}),50)}function Ue(e,t,n,r){return void 0===r&&(r=1),e.operation((function(){for(var o=e.getCursor(),a=e.getSearchCursor(n,o),s=0;s<r;s++){var u=a.find(t);if(0==s&&u&&ne(a.from(),o)&&(u=a.find(t)),!u&&!(a=e.getSearchCursor(n,t?i(e.lastLine()):i(e.firstLine(),0))).find(t))return}return a.from()}))}function qe(e){var t=Te(e);e.removeOverlay(Te(e).getOverlay()),t.setOverlay(null),t.getScrollbarAnnotate()&&(t.getScrollbarAnnotate().clear(),t.setScrollbarAnnotate(null))}function Ve(e){var t=e.getScrollInfo(),n=e.coordsChar({left:0,top:6+t.top},"local"),r=t.clientHeight-10+t.top,i=e.coordsChar({left:0,top:r},"local");return{top:n.line,bottom:i.line}}function He(e,t,n){if("'"==n||"`"==n)return N.jumpList.find(e,-1)||i(0,0);if("."==n)return We(e);var r=t.marks[n];return r&&r.find()}function We(e){for(var t=e.doc.history.done,n=t.length;n--;)if(t[n].changes)return te(t[n].changes[0].to)}var Ge=function(){this.buildCommandMap_()};Ge.prototype={processCommand:function(e,t,n){var r=this;e.operation((function(){e.curOp.isVimOp=!0,r._processCommand(e,t,n)}))},_processCommand:function(t,n,r){var i=t.state.vim,o=N.registerController.getRegister(":"),a=o.toString();i.visualMode&&me(t);var s=new e.StringStream(n);o.setText(n);var u,c,l=r||{};l.input=n;try{this.parseInput_(t,s,l)}catch(f){throw je(t,f),f}if(l.commandName){if(u=this.matchCommand_(l.commandName)){if(c=u.name,u.excludeFromCommandHistory&&o.setText(a),this.parseCommandArgs_(s,l,u),"exToKey"==u.type){for(var p=0;p<u.toKeys.length;p++)e.Vim.handleKey(t,u.toKeys[p],"mapping");return}if("exToEx"==u.type)return void this.processCommand(t,u.toInput)}}else void 0!==l.line&&(c="move");if(c)try{Ke[c](t,l),u&&u.possiblyAsync||!l.callback||l.callback()}catch(f){throw je(t,f),f}else je(t,'Not an editor command ":'+n+'"')},parseInput_:function(e,t,n){t.eatWhile(":"),t.eat("%")?(n.line=e.firstLine(),n.lineEnd=e.lastLine()):(n.line=this.parseLineSpec_(e,t),void 0!==n.line&&t.eat(",")&&(n.lineEnd=this.parseLineSpec_(e,t)));var r=t.match(/^(\w+)/);return n.commandName=r?r[1]:t.match(/.*/)[0],n},parseLineSpec_:function(e,t){var n=t.match(/^(\d+)/);if(n)return parseInt(n[1],10)-1;switch(t.next()){case".":return this.parseLineSpecOffset_(t,e.getCursor().line);case"$":return this.parseLineSpecOffset_(t,e.lastLine());case"'":var r=t.next(),i=He(e,e.state.vim,r);if(!i)throw new Error("Mark not set");return this.parseLineSpecOffset_(t,i.line);case"-":case"+":return t.backUp(1),this.parseLineSpecOffset_(t,e.getCursor().line);default:return void t.backUp(1)}},parseLineSpecOffset_:function(e,t){var n=e.match(/^([+-])?(\d+)/);if(n){var r=parseInt(n[2],10);"-"==n[1]?t-=r:t+=r}return t},parseCommandArgs_:function(e,t,n){if(!e.eol()){t.argString=e.match(/.*/)[0];var r=n.argDelimiter||/\s+/,i=ue(t.argString).split(r);i.length&&i[0]&&(t.args=i)}},matchCommand_:function(e){for(var t=e.length;t>0;t--){var n=e.substring(0,t);if(this.commandMap_[n]){var r=this.commandMap_[n];if(0===r.name.indexOf(e))return r}}return null},buildCommandMap_:function(){this.commandMap_={};for(var e=0;e<r.length;e++){var t=r[e],n=t.shortName||t.name;this.commandMap_[n]=t}},map:function(e,n,r){if(":"!=e&&":"==e.charAt(0)){if(r)throw Error("Mode not supported for ex mappings");var i=e.substring(1);":"!=n&&":"==n.charAt(0)?this.commandMap_[i]={name:i,type:"exToEx",toInput:n.substring(1),user:!0}:this.commandMap_[i]={name:i,type:"exToKey",toKeys:n,user:!0}}else if(":"!=n&&":"==n.charAt(0)){var o={keys:e,type:"keyToEx",exArgs:{input:n.substring(1)}};r&&(o.context=r),t.unshift(o)}else o={keys:e,type:"keyToKey",toKeys:n},r&&(o.context=r),t.unshift(o)},unmap:function(e,n){if(":"!=e&&":"==e.charAt(0)){if(n)throw Error("Mode not supported for ex mappings");var r=e.substring(1);if(this.commandMap_[r]&&this.commandMap_[r].user)return void delete this.commandMap_[r]}else for(var i=e,o=0;o<t.length;o++)if(i==t[o].keys&&t[o].context===n)return void t.splice(o,1);throw Error("No such mapping.")}};var Ke={colorscheme:function(e,t){!t.args||t.args.length<1?je(e,e.getOption("theme")):e.setOption("theme",t.args[0])},map:function(e,t,n){var r=t.args;!r||r.length<2?e&&je(e,"Invalid mapping: "+t.input):Je.map(r[0],r[1],n)},imap:function(e,t){this.map(e,t,"insert")},nmap:function(e,t){this.map(e,t,"normal")},vmap:function(e,t){this.map(e,t,"visual")},unmap:function(e,t,n){var r=t.args;!r||r.length<1?e&&je(e,"No such mapping: "+t.input):Je.unmap(r[0],n)},move:function(e,t){W.processCommand(e,e.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:t.line+1})},set:function(e,t){var n=t.args,r=t.setCfg||{};if(!n||n.length<1)e&&je(e,"Invalid mapping: "+t.input);else{var i=n[0].split("="),o=i[0],a=i[1],s=!1;if("?"==o.charAt(o.length-1)){if(a)throw Error("Trailing characters: "+t.argString);o=o.substring(0,o.length-1),s=!0}void 0===a&&"no"==o.substring(0,2)&&(o=o.substring(2),a=!1);var u=T[o]&&"boolean"==T[o].type;if(u&&void 0==a&&(a=!0),!u&&void 0===a||s){var c=F(o,e,r);c instanceof Error?je(e,c.message):je(e,!0===c||!1===c?" "+(c?"":"no")+o:" "+o+"="+c)}else{var l=O(o,a,e,r);l instanceof Error&&je(e,l.message)}}},setlocal:function(e,t){t.setCfg={scope:"local"},this.set(e,t)},setglobal:function(e,t){t.setCfg={scope:"global"},this.set(e,t)},registers:function(e,t){var n=t.args,r=N.registerController.registers,i="----------Registers----------<br><br>";if(n){n=n.join("");for(var o=0;o<n.length;o++)a=n.charAt(o),N.registerController.isValidRegister(a)&&(i+='"'+a+" "+(r[a]||new q).toString()+"<br>")}else for(var a in r){var s=r[a].toString();s.length&&(i+='"'+a+" "+s+"<br>")}je(e,i)},sort:function(t,n){var r,o,a,s,u,c=function(){if(n.argString){var t=new e.StringStream(n.argString);if(t.eat("!")&&(r=!0),t.eol())return;if(!t.eatSpace())return"Invalid arguments";var i=t.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!i&&!t.eol())return"Invalid arguments";if(i[1]){o=-1!=i[1].indexOf("i"),a=-1!=i[1].indexOf("u");var c=-1!=i[1].indexOf("d")||-1!=i[1].indexOf("n")&&1,l=-1!=i[1].indexOf("x")&&1,p=-1!=i[1].indexOf("o")&&1;if(c+l+p>1)return"Invalid arguments";s=(c?"decimal":l&&"hex")||p&&"octal"}i[2]&&(u=new RegExp(i[2].substr(1,i[2].length-2),o?"i":""))}}();if(c)je(t,c+": "+n.argString);else{var l=n.line||t.firstLine(),p=n.lineEnd||n.line||t.lastLine();if(l!=p){var f=i(l,0),d=i(p,se(t,p)),h=t.getRange(f,d).split("\n"),m=u||("decimal"==s?/(-?)([\d]+)/:"hex"==s?/(-?)(?:0x)?([0-9a-f]+)/i:"octal"==s?/([0-7]+)/:null),g="decimal"==s?10:"hex"==s?16:"octal"==s?8:null,v=[],y=[];if(s||u)for(var b=0;b<h.length;b++){var x=u?h[b].match(u):null;x&&""!=x[0]?v.push(x):!u&&m.exec(h[b])?v.push(h[b]):y.push(h[b])}else y=h;if(v.sort(u?function(e,t){var n;return r&&(n=e,e=t,t=n),o&&(e[0]=e[0].toLowerCase(),t[0]=t[0].toLowerCase()),e[0]<t[0]?-1:1}:C),u)for(b=0;b<v.length;b++)v[b]=v[b].input;else s||y.sort(C);if(h=r?v.concat(y):y.concat(v),a){var E,D=h;for(h=[],b=0;b<D.length;b++)D[b]!=E&&h.push(D[b]),E=D[b]}t.replaceRange(h.join("\n"),f,d)}}function C(e,t){var n;r&&(n=e,e=t,t=n),o&&(e=e.toLowerCase(),t=t.toLowerCase());var i=s&&m.exec(e),a=s&&m.exec(t);return i?(i=parseInt((i[1]+i[2]).toLowerCase(),g))-(a=parseInt((a[1]+a[2]).toLowerCase(),g)):e<t?-1:1}},global:function(e,t){var n=t.argString;if(n){var r,i=void 0!==t.line?t.line:e.firstLine(),o=t.lineEnd||t.line||e.lastLine(),a=function(e){return Oe(e,"/")}(n),s=n;if(a.length&&(s=a[0],r=a.slice(1,a.length).join("/")),s)try{Re(e,s,!0,!0)}catch(d){return void je(e,"Invalid regex: "+s)}for(var u=Te(e).getQuery(),c=[],l="",p=i;p<=o;p++)u.test(e.getLine(p))&&(c.push(p+1),l+=e.getLine(p)+"<br>");if(r){var f=0;!function t(){if(f<c.length){var n=c[f]+r;Je.processCommand(e,n,{callback:t})}f++}()}else je(e,l)}else je(e,"Regular Expression missing from global")},substitute:function(t,n){if(!t.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var r,o,a,s,u=n.argString,c=u?Oe(u,u[0]):[],l="",p=!1,f=!1;if(c.length)r=c[0],F("pcre")&&""!==r&&(r=new RegExp(r).source),l=c[1],r&&"$"===r[r.length-1]&&(r=r.slice(0,r.length-1)+"\\n",l=l?l+"\n":"\n"),void 0!==l&&(l=F("pcre")?function(t){for(var n=new e.StringStream(t),r=[];!n.eol();){for(;n.peek()&&"\\"!=n.peek();)r.push(n.next());var i=!1;for(var o in Ie)if(n.match(o,!0)){i=!0,r.push(Ie[o]);break}i||r.push(n.next())}return r.join("")}(l.replace(/([^\\])&/g,"$1$$&")):function(e){for(var t,n=!1,r=[],i=-1;i<e.length;i++){var o=e.charAt(i)||"",a=e.charAt(i+1)||"";Ne[o+a]?(r.push(Ne[o+a]),i++):n?(r.push(o),n=!1):"\\"===o?(n=!0,t=a,d.test(t)||"$"===a?r.push("$"):"/"!==a&&"\\"!==a&&r.push("\\")):("$"===o&&r.push("$"),r.push(o),"/"===a&&r.push("\\"))}return r.join("")}(l),N.lastSubstituteReplacePart=l),o=c[2]?c[2].split(" "):[];else if(u&&u.length)return void je(t,"Substitutions should be of the form :s/pattern/replace/");if(o&&(a=o[0],s=parseInt(o[1]),a&&(-1!=a.indexOf("c")&&(p=!0,a.replace("c","")),-1!=a.indexOf("g")&&(f=!0,a.replace("g","")),r=F("pcre")?r+"/"+a:r.replace(/\//g,"\\/")+"/"+a)),r)try{Re(t,r,!0,!0)}catch(b){return void je(t,"Invalid regex: "+r)}if(void 0!==(l=l||N.lastSubstituteReplacePart)){var h=Te(t).getQuery(),m=void 0!==n.line?n.line:t.getCursor().line,g=n.lineEnd||m;m==t.firstLine()&&g==t.lastLine()&&(g=1/0),s&&(g=(m=g)+s-1);var v=Q(t,i(m,0)),y=t.getSearchCursor(h,v);!function(t,n,r,i,o,a,s,u,c){t.state.vim.exMode=!0;var l=!1,p=a.from();function f(){t.operation((function(){for(;!l;)d(),h();m()}))}function d(){var e=t.getRange(a.from(),a.to()).replace(s,u);a.replace(e)}function h(){for(;a.findNext()&&(e=a.from(),n=i,s=o,"number"!=typeof e&&(e=e.line),n instanceof Array?A(e,n):s?e>=n&&e<=s:e==n);)if(r||!p||a.from().line!=p.line)return t.scrollIntoView(a.from(),30),t.setSelection(a.from(),a.to()),p=a.from(),void(l=!1);var e,n,s;l=!0}function m(e){if(e&&e(),t.focus(),p){t.setCursor(p);var n=t.state.vim;n.exMode=!1,n.lastHPos=n.lastHSPos=p.ch}c&&c()}if(h(),!l)return n?void Pe(t,{prefix:"replace with <strong>"+u+"</strong> (y/n/a/q/l)",onKeyDown:function(n,r,i){switch(e.e_stop(n),e.keyName(n)){case"Y":d(),h();break;case"N":h();break;case"A":var o=c;c=void 0,t.operation(f),c=o;break;case"L":d();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":m(i)}return l&&m(i),!0}}):(f(),void(c&&c()));je(t,"No matches for "+s.source)}(t,p,f,m,g,y,h,l,n.callback)}else je(t,"No previous substitute regular expression")},redo:e.commands.redo,undo:e.commands.undo,write:function(t){e.commands.save?e.commands.save(t):t.save&&t.save()},nohlsearch:function(e){qe(e)},yank:function(e){var t=te(e.getCursor()).line,n=e.getLine(t);N.registerController.pushText("0","yank",n,!0,!0)},delmarks:function(t,n){if(n.argString&&ue(n.argString))for(var r=t.state.vim,i=new e.StringStream(ue(n.argString));!i.eol();){i.eatSpace();var o=i.pos;if(!i.match(/[a-zA-Z]/,!1))return void je(t,"Invalid argument: "+n.argString.substring(o));var a=i.next();if(i.match("-",!0)){if(!i.match(/[a-zA-Z]/,!1))return void je(t,"Invalid argument: "+n.argString.substring(o));var s=a,u=i.next();if(!(C(s)&&C(u)||w(s)&&w(u)))return void je(t,"Invalid argument: "+s+"-");var c=s.charCodeAt(0),l=u.charCodeAt(0);if(c>=l)return void je(t,"Invalid argument: "+n.argString.substring(o));for(var p=0;p<=l-c;p++){var f=String.fromCharCode(c+p);delete r.marks[f]}}else delete r.marks[a]}else je(t,"Argument required")}},Je=new Ge;function Ye(t){var n=t.state.vim,r=N.macroModeState,i=N.registerController.getRegister("."),o=r.isPlaying,a=r.lastInsertModeChanges;o||(t.off("change",Xe),e.off(t.getInputField(),"keydown",rt)),!o&&n.insertModeRepeat>1&&(it(t,n,n.insertModeRepeat-1,!0),n.lastEditInputState.repeatOverride=n.insertModeRepeat),delete n.insertModeRepeat,n.insertMode=!1,t.setCursor(t.getCursor().line,t.getCursor().ch-1),t.setOption("keyMap","vim"),t.setOption("disableInput",!0),t.toggleOverwrite(!1),i.setText(a.changes.join("")),e.signal(t,"vim-mode-change",{mode:"normal"}),r.isRecording&&function(e){if(!e.isPlaying){var t=e.latestRegister,n=N.registerController.getRegister(t);n&&n.pushInsertModeChanges&&n.pushInsertModeChanges(e.lastInsertModeChanges)}}(r)}function Qe(e){t.unshift(e)}function $e(t,n,r,i){var o=N.registerController.getRegister(i);if(":"==i)return o.keyBuffer[0]&&Je.processCommand(t,o.keyBuffer[0]),void(r.isPlaying=!1);var a=o.keyBuffer,s=0;r.isPlaying=!0,r.replaySearchQueries=o.searchQueries.slice(0);for(var u=0;u<a.length;u++)for(var c,l,p=a[u];p;)if(l=(c=/<\w+-.+?>|<\w+>|./.exec(p))[0],p=p.substring(c.index+l.length),e.Vim.handleKey(t,l,"macro"),n.insertMode){var f=o.insertModeChanges[s++].changes;N.macroModeState.lastInsertModeChanges.changes=f,ot(t,f,1),Ye(t)}r.isPlaying=!1}function Xe(e,t){var n=N.macroModeState,r=n.lastInsertModeChanges;if(!n.isPlaying)for(;t;){if(r.expectCursorActivityForChange=!0,r.ignoreCount>1)r.ignoreCount--;else if("+input"==t.origin||"paste"==t.origin||void 0===t.origin){var i=e.listSelections().length;i>1&&(r.ignoreCount=i);var o=t.text.join("\n");r.maybeReset&&(r.changes=[],r.maybeReset=!1),o&&(e.state.overwrite&&!/\n/.test(o)?r.changes.push([o]):r.changes.push(o))}t=t.next}}function Ze(t){var n=t.state.vim;if(n.insertMode){var r=N.macroModeState;if(r.isPlaying)return;var i=r.lastInsertModeChanges;i.expectCursorActivityForChange?i.expectCursorActivityForChange=!1:i.maybeReset=!0}else t.curOp.isVimOp||function(t,n){var r=t.getCursor("anchor"),i=t.getCursor("head");if(n.visualMode&&!t.somethingSelected()?me(t,!1):n.visualMode||n.insertMode||!t.somethingSelected()||(n.visualMode=!0,n.visualLine=!1,e.signal(t,"vim-mode-change",{mode:"visual"})),n.visualMode){var o=re(i,r)?0:-1,a=re(i,r)?-1:0;i=X(i,0,o),r=X(r,0,a),n.sel={anchor:r,head:i},we(t,n,"<",ie(i,r)),we(t,n,">",oe(i,r))}else n.insertMode||(n.lastHPos=t.getCursor().ch)}(t,n);n.visualMode&&et(t)}function et(e){var t=e.state.vim,n=Q(e,te(t.sel.head)),r=X(n,0,1);if(tt(t),n.ch==e.getLine(n.line).length){var i=document.createElement("span");i.textContent="\xa0",i.className="cm-animate-fat-cursor",t.fakeCursorBookmark=e.setBookmark(n,{widget:i})}else t.fakeCursor=e.markText(n,r,{className:"cm-animate-fat-cursor"})}function tt(e){e.fakeCursor&&(e.fakeCursor.clear(),e.fakeCursor=null),e.fakeCursorBookmark&&(e.fakeCursorBookmark.clear(),e.fakeCursorBookmark=null)}function nt(e){this.keyName=e}function rt(t){var n=N.macroModeState.lastInsertModeChanges,r=e.keyName(t);r&&(-1==r.indexOf("Delete")&&-1==r.indexOf("Backspace")||e.lookupKey(r,"vim-insert",(function(){return n.maybeReset&&(n.changes=[],n.maybeReset=!1),n.changes.push(new nt(r)),!0})))}function it(e,t,n,r){var i=N.macroModeState;i.isPlaying=!0;var o=!!t.lastEditActionCommand,a=t.inputState;function s(){o?W.processAction(e,t,t.lastEditActionCommand):W.evalInput(e,t)}function u(n){if(i.lastInsertModeChanges.changes.length>0){n=t.lastEditActionCommand?n:1;var r=i.lastInsertModeChanges;ot(e,r.changes,n)}}if(t.inputState=t.lastEditInputState,o&&t.lastEditActionCommand.interlaceInsertRepeat)for(var c=0;c<n;c++)s(),u(1);else r||s(),u(n);t.inputState=a,t.insertMode&&!r&&Ye(e),i.isPlaying=!1}function ot(t,n,r){function i(n){return"string"==typeof n?e.commands[n](t):n(t),!0}var o=t.getCursor("head"),a=N.macroModeState.lastInsertModeChanges.visualBlock;a&&(pe(t,o,a+1),r=t.listSelections().length,t.setCursor(o));for(var s=0;s<r;s++){a&&t.setCursor(X(o,s,0));for(var u=0;u<n.length;u++){var c=n[u];if(c instanceof nt)e.lookupKey(c.keyName,"vim-insert",i);else if("string"==typeof c){var l=t.getCursor();t.replaceRange(c,l,l)}else{var p=t.getCursor(),f=X(p,0,c[0].length);t.replaceRange(c[0],p,f)}}}a&&t.setCursor(X(o,0,1))}return e.keyMap.vim={attach:a,detach:o,call:c},_("insertModeEscKeysTimeout",200,"number"),e.keyMap["vim-insert"]={fallthrough:["default"],attach:a,detach:o,call:c},e.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:a,detach:o,call:c},R(),B}()}(n(14),n(77),n(78),n(95))},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(236);i.default.registerHelper("hint","graphql",(function(e,t){var n=t.schema;if(n){var r=e.getCursor(),a=e.getTokenAt(r),s=(0,o.getAutocompleteSuggestions)(n,e.getValue(),r,a),u=null!==a.type&&/"|\w/.test(a.string[0])?a.start:a.end,c={list:s.map((function(e){return{text:e.label,type:n.getType(e.detail),description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})),from:{line:r.line,column:u},to:{line:r.line,column:a.end}};return c&&c.list&&c.list.length>0&&(c.from=i.default.Pos(c.from.line,c.from.column),c.to=i.default.Pos(c.to.line,c.to.column),i.default.signal(e,"hasCompletion",e,c,a)),c}}))},,,,,function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),u=r[n];n<o;u=r[++n])m(u)||!x(u)?a+=" "+u:a+=" "+s(u);return a},t.deprecate=function(n,r){if("undefined"!==typeof e&&!0===e.noDeprecation)return n;if("undefined"===typeof e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),l(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function c(e,t){return e}function l(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=l(e,i,r)),i}var o=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(g(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),D(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(n);if(0===a.length){if(C(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return e.stylize(Date.prototype.toString.call(n),"date");if(D(n))return p(n)}var c,x="",w=!1,S=["{","}"];(d(n)&&(w=!0,S=["[","]"]),C(n))&&(x=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(x=" "+RegExp.prototype.toString.call(n)),E(n)&&(x=" "+Date.prototype.toUTCString.call(n)),D(n)&&(x=" "+p(n)),0!==a.length||w&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=w?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)T(t,String(a))?o.push(f(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(f(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return f(e,n,r,s,t,w)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,x,S)):S[0]+x+S[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),T(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?l(e,u.value,null):l(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return Array.isArray(e)}function h(e){return"boolean"===typeof e}function m(e){return null===e}function g(e){return"number"===typeof e}function v(e){return"string"===typeof e}function y(e){return void 0===e}function b(e){return x(e)&&"[object RegExp]"===w(e)}function x(e){return"object"===typeof e&&null!==e}function E(e){return x(e)&&"[object Date]"===w(e)}function D(e){return x(e)&&("[object Error]"===w(e)||e instanceof Error)}function C(e){return"function"===typeof e}function w(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(y(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=v,t.isSymbol=function(e){return"symbol"===typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=x,t.isDate=E,t.isError=D,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e},t.isBuffer=n(394);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),k[e.getMonth()],t].join(" ")}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=n(395),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var _="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(_&&e[_]){var t;if("function"!==typeof(t=e[_]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,_,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(a){n(a)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),_&&Object.defineProperty(t,_,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=_,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,n).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(O,t,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this,n(91))},function(e,t){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},function(e,t){"function"===typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(236);var a=["error","warning","information","hint"],s={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};i.default.registerHelper("lint","graphql",(function(e,t){var n=t.schema;return(0,o.getDiagnostics)(e,n).map((function(e){return{message:e.message,severity:a[e.severity-1],type:s[e.source],from:i.default.Pos(e.range.start.line,e.range.start.character),to:i.default.Pos(e.range.end.line,e.range.end.character)}}))}))},function(e,t,n){"use strict";var r=n(22),i=s(n(14)),o=s(n(204)),a=n(206);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){var r=t.fieldDef.name;"__"!==r.slice(0,2)&&(p(e,t,n,t.parentType),d(e,".")),d(e,r,"field-name",n,(0,a.getFieldReference)(t))}function c(e,t,n){d(e,"@"+t.directiveDef.name,"directive-name",n,(0,a.getDirectiveReference)(t))}function l(e,t,n,r){d(e,": "),p(e,t,n,r)}function p(e,t,n,i){i instanceof r.GraphQLNonNull?(p(e,t,n,i.ofType),d(e,"!")):i instanceof r.GraphQLList?(d(e,"["),p(e,t,n,i.ofType),d(e,"]")):d(e,i.name,"type-name",n,(0,a.getTypeReference)(t,i))}function f(e,t,n){var r=n.description;if(r){var i=document.createElement("div");i.className="info-description",t.renderDescription?i.innerHTML=t.renderDescription(r):i.appendChild(document.createTextNode(r)),e.appendChild(i)}!function(e,t,n){var r=n.deprecationReason;if(r){var i=document.createElement("div");i.className="info-deprecation",t.renderDescription?i.innerHTML=t.renderDescription(r):i.appendChild(document.createTextNode(r));var o=document.createElement("span");o.className="info-deprecation-label",o.appendChild(document.createTextNode("Deprecated: ")),i.insertBefore(o,i.firstChild),e.appendChild(i)}}(e,t,n)}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{onClick:null},i=arguments.length>4?arguments[4]:void 0;if(n){var o,a=r.onClick;a?((o=document.createElement("a")).href="javascript:void 0",o.addEventListener("click",(function(e){a(i,e)}))):o=document.createElement("span"),o.className=n,o.appendChild(document.createTextNode(t)),e.appendChild(o)}else e.appendChild(document.createTextNode(t))}n(398),i.default.registerHelper("info","graphql",(function(e,t){if(t.schema&&e.state){var n=e.state,r=n.kind,i=n.step,s=(0,o.default)(t.schema,e.state);if("Field"===r&&0===i&&s.fieldDef||"AliasedField"===r&&2===i&&s.fieldDef){var h=document.createElement("div");return function(e,t,n){u(e,t,n),l(e,t,n,t.type)}(h,s,t),f(h,t,s.fieldDef),h}if("Directive"===r&&1===i&&s.directiveDef){var m=document.createElement("div");return c(m,s,t),f(m,t,s.directiveDef),m}if("Argument"===r&&0===i&&s.argDef){var g=document.createElement("div");return function(e,t,n){t.directiveDef?c(e,t,n):t.fieldDef&&u(e,t,n);var r=t.argDef.name;d(e,"("),d(e,r,"arg-name",n,(0,a.getArgumentReference)(t)),l(e,t,n,t.inputType),d(e,")")}(g,s,t),f(g,t,s.argDef),g}if("EnumValue"===r&&s.enumValue&&s.enumValue.description){var v=document.createElement("div");return function(e,t,n){var r=t.enumValue.name;p(e,t,n,t.inputType),d(e,"."),d(e,r,"enum-value",n,(0,a.getEnumValueReference)(t))}(v,s,t),f(v,t,s.enumValue),v}if("NamedType"===r&&s.type&&s.type.description){var y=document.createElement("div");return p(y,s,t,s.type),f(y,t,s.type),y}}}))},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r};function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if("SPAN"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),a=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(u,c)},s=function t(){i.default.off(document,"mousemove",a),i.default.off(e.getWrapperElement(),"mouseout",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},u=function(){i.default.off(document,"mousemove",a),i.default.off(e.getWrapperElement(),"mouseout",s),n.hoverTimeout=void 0,function(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info.options,o=r.render||e.getHelper(n,"info");if(o){var a=e.getTokenAt(n,!0);if(a){var s=o(a,r,e,n);s&&function(e,t,n){var r=document.createElement("div");r.className="CodeMirror-info",r.appendChild(n),document.body.appendChild(r);var o=r.getBoundingClientRect(),a=r.currentStyle||window.getComputedStyle(r),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),u=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom),c=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(c=t.top-u);c<0&&(c=t.bottom);var l,p=Math.max(0,window.innerWidth-s-15);p>t.left&&(p=t.left);r.style.opacity=1,r.style.top=c+"px",r.style.left=p+"px";var f=function(){clearTimeout(l)},d=function(){clearTimeout(l),l=setTimeout(h,200)},h=function(){i.default.off(r,"mouseover",f),i.default.off(r,"mouseout",d),i.default.off(e.getWrapperElement(),"mouseout",d),r.style.opacity?(r.style.opacity=0,setTimeout((function(){r.parentNode&&r.parentNode.removeChild(r)}),600)):r.parentNode&&r.parentNode.removeChild(r)};i.default.on(r,"mouseover",f),i.default.on(r,"mouseout",d),i.default.on(e.getWrapperElement(),"mouseout",d)}(e,t,s)}}}(e,o)},c=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(u,c),i.default.on(document,"mousemove",a),i.default.on(e.getWrapperElement(),"mouseout",s)}}i.default.defineOption("info",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.info.onMouseOver;i.default.off(e.getWrapperElement(),"mouseover",r),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);a.onMouseOver=o.bind(null,e),i.default.on(e.getWrapperElement(),"mouseover",a.onMouseOver)}}))},function(e,t,n){"use strict";var r=a(n(14)),i=a(n(204)),o=n(206);function a(e){return e&&e.__esModule?e:{default:e}}n(400),r.default.registerHelper("jump","graphql",(function(e,t){if(t.schema&&t.onClick&&e.state){var n=e.state,r=n.kind,a=n.step,s=(0,i.default)(t.schema,n);return"Field"===r&&0===a&&s.fieldDef||"AliasedField"===r&&2===a&&s.fieldDef?(0,o.getFieldReference)(s):"Directive"===r&&1===a&&s.directiveDef?(0,o.getDirectiveReference)(s):"Argument"===r&&0===a&&s.argDef?(0,o.getArgumentReference)(s):"EnumValue"===r&&s.enumValue?(0,o.getEnumValueReference)(s):"NamedType"===r&&s.type?(0,o.getTypeReference)(s):void 0}}))},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r};function o(e,t){var n=t.target||t.srcElement;if("SPAN"===n.nodeName){var r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&c(e)}}function a(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&l(e):e.state.jump.cursor=null}function s(e,t){if(!e.state.jump.isHoldingModifier&&t.key===(u?"Meta":"Control")){e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&c(e);var n=function(t){var n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},r=function(t,n){e.state.jump.destination&&(n.codemirrorIgnore=!0)};i.default.on(document,"keyup",(function o(a){a.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&l(e),i.default.off(document,"keyup",o),i.default.off(document,"click",n),e.off("mousedown",r))})),i.default.on(document,"click",n),e.on("mousedown",r)}}i.default.defineOption("jump",!1,(function(e,t,n){if(n&&n!==i.default.Init){var r=e.state.jump.onMouseOver;i.default.off(e.getWrapperElement(),"mouseover",r);var u=e.state.jump.onMouseOut;i.default.off(e.getWrapperElement(),"mouseout",u),i.default.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){var c=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:a.bind(null,e),onKeyDown:s.bind(null,e)};i.default.on(e.getWrapperElement(),"mouseover",c.onMouseOver),i.default.on(e.getWrapperElement(),"mouseout",c.onMouseOut),i.default.on(document,"keydown",c.onKeyDown)}}));var u="undefined"!==typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function c(e){if(!e.state.jump.marker){var t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,"jump");if(o){var a=o(r,i,e);if(a){var s=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=s,e.state.jump.destination=a}}}}function l(e){var t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}},function(e,t,n){"use strict";var r=n(111),i=n(112);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(){r(this,e),this.sizes=[]}return i(e,[{key:"updateSizes",value:function(e){var t=this;e.forEach((function(e,n){var r=e.getClientHeight();n<=t.sizes.length&&r!==t.sizes[n]&&e.getCodeMirror().setSize(),t.sizes[n]=r}))}}]),e}();t.default=o},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));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||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(56),s=n(404),u=n(405),c=n(209),l=n(406),p=n(8),f=n(24),d=n(26),h=n(144),m=n(123),g=function(e){function t(t){var n=e.call(this,t)||this;return n.share=function(){n.props.share()},n.renderAuthSharingWarning=function(){return n.props.isSharingAuthorization?o.createElement(T,null):null},n.toggleTooltip=function(){n.setState((function(e){return{open:!e.open}}))},n.state={open:!1},n}return r(t,e),t.prototype.render=function(){var e=this.state.open,t=this.props,n=t.allTabs,r=t.headers,i=t.history,p=t.shareUrl,f=t.reshare,d=t.theme;return o.createElement(N,null,o.createElement(M,null,o.createElement("div",{onClick:this.toggleTooltip},this.props.children),e&&o.createElement(j,null,o.createElement(u.default,{open:e,onClose:this.toggleTooltip,anchorOrigin:{horizontal:"right",vertical:"bottom"},renderAfterContent:this.renderAuthSharingWarning},o.createElement("div",null,o.createElement(L,null,o.createElement(I,{onClick:this.props.toggleShareAllTabs},"Share all tabs"," "),o.createElement(s.default,{checked:n,onChange:this.props.toggleShareAllTabs})),o.createElement(L,null,o.createElement(I,{onClick:this.props.toggleShareHeaders},"HTTP headers"," "),o.createElement(s.default,{checked:r,onChange:this.props.toggleShareHeaders})),o.createElement(L,null,o.createElement(I,{onClick:this.props.toggleShareHistory},"History"," "),o.createElement(s.default,{checked:i,onChange:this.props.toggleShareHistory})),p&&o.createElement(L,null,o.createElement(R,{value:p,disabled:!0}),o.createElement(P,null,o.createElement(l.default,{text:p},o.createElement(a.ShareIcon,{color:d.colours.darkBlue30,width:25,height:25,title:"Copy URL to Clipboard"})))),o.createElement(L,null,o.createElement("div",null),o.createElement(c.Button,{hideArrow:!0,onClick:this.share},f&&p?"Reshare":"Share")))))))},t}(o.Component),v=d.createStructuredSelector({history:h.getSharingHistory,headers:h.getSharingHeaders,allTabs:h.getSharingAllTabs,shareUrl:h.getShareUrl});t.default=p.withTheme(f.connect(v,{toggleShareAllTabs:m.toggleShareAllTabs,toggleShareHeaders:m.toggleShareHeaders,toggleShareHistory:m.toggleShareHistory,share:m.share})(g));var y,b,x,E,D,C,w,S,k,A,T=function(){return o.createElement(O,null,o.createElement(F,null,"Watch out!"),"You\u2019re sharing your ",o.createElement("code",null,"Authorization")," header with the world!")},_=p.keyframes(y||(y=i(["\n 0% {\n transform: scale(1.04);\n }\n\n 100% {\n transform: scale(1);\n }\n"],["\n 0% {\n transform: scale(1.04);\n }\n\n 100% {\n transform: scale(1);\n }\n"]))),O=p.styled.div(b||(b=i(["\n padding: 12px 16px;\n margin-top: 10px;\n\n font-size: 14px;\n letter-spacing: normal;\n\n cursor: default;\n border-radius: 2px;\n background: #f3f4f4;\n box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.15);\n\n animation: "," 0.7s ease-in-out infinite alternate;\n"],["\n padding: 12px 16px;\n margin-top: 10px;\n\n font-size: 14px;\n letter-spacing: normal;\n\n cursor: default;\n border-radius: 2px;\n background: #f3f4f4;\n box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.15);\n\n animation: "," 0.7s ease-in-out infinite alternate;\n"])),_),F=p.styled.div(x||(x=i(["\n margin-right: 3px;\n margin-bottom: 2px;\n font-weight: bold;\n color: #2a7ed2;\n"],["\n margin-right: 3px;\n margin-bottom: 2px;\n font-weight: bold;\n color: #2a7ed2;\n"]))),N=p.styled.div(E||(E=i(["\n z-index: 1005;\n height: 100%;\n margin-left: 6px;\n"],["\n z-index: 1005;\n height: 100%;\n margin-left: 6px;\n"]))),I=p.styled.div(D||(D=i(["\n margin-right: 10px;\n\n font-size: ",";\n font-weight: ",";\n text-transform: uppercase;\n letter-spacing: 0.53px;\n\n color: ",";\n"],["\n margin-right: 10px;\n\n font-size: ",";\n font-weight: ",";\n text-transform: uppercase;\n letter-spacing: 0.53px;\n\n color: ",";\n"])),(function(e){return e.theme.sizes.fontSmall}),(function(e){return e.theme.sizes.fontSemiBold}),(function(e){return e.theme.colours.darkBlue50})),M=p.styled.div(C||(C=i(["\n position: relative;\n cursor: pointer;\n"],["\n position: relative;\n cursor: pointer;\n"]))),j=p.styled.div(w||(w=i(["\n position: absolute;\n right: 0px;\n"],["\n position: absolute;\n right: 0px;\n"]))),L=p.styled.div(S||(S=i(["\n position: relative;\n min-width: 245px;\n margin-top: ",";\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n &:first-child {\n margin-top: 0;\n }\n"],["\n position: relative;\n min-width: 245px;\n margin-top: ",";\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n &:first-child {\n margin-top: 0;\n }\n"])),(function(e){return e.theme.sizes.small16})),P=p.styled.div(k||(k=i(["\n position: absolute;\n right: 0;\n\n &:hover {\n svg {\n fill: ",";\n }\n }\n"],["\n position: absolute;\n right: 0;\n\n &:hover {\n svg {\n fill: ",";\n }\n }\n"])),(function(e){return e.theme.colours.darkBlue60})),R=p.styled.input(A||(A=i(["\n display: block;\n width: 100%;\n padding: "," ",";\n padding-right: 25px;\n\n font-weight: ",";\n font-size: ",";\n\n border-radius: ",";\n background: ",";\n color: ",";\n"],["\n display: block;\n width: 100%;\n padding: "," ",";\n padding-right: 25px;\n\n font-weight: ",";\n font-size: ",";\n\n border-radius: ",";\n background: ",";\n color: ",";\n"])),(function(e){return e.theme.sizes.small6}),(function(e){return e.theme.sizes.small10}),(function(e){return e.theme.sizes.fontSemiBold}),(function(e){return e.theme.sizes.fontTiny}),(function(e){return e.theme.sizes.smallRadius}),(function(e){return e.theme.colours.darkBlue10}),(function(e){return e.theme.colours.darkBlue}))},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8);t.default=function(e){var t=e.checked,n=e.onChange,r=e.className;return i.createElement(c,{className:r,onClick:n},i.createElement(l,{type:"checkbox",checked:t,readOnly:!0}),i.createElement(p,{checked:t}))};var a,s,u,c=o.styled.div(a||(a=r(["\n position: relative;\n display: inline-block;\n\n width: 39px;\n height: 21px;\n"],["\n position: relative;\n display: inline-block;\n\n width: 39px;\n height: 21px;\n"]))),l=o.styled.input(s||(s=r(["\n display: none;\n"],["\n display: none;\n"]))),p=o.styled("div")(u||(u=r(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n transition: transform 70ms linear;\n border-radius: 23px;\n cursor: pointer;\n\n background: ",";\n\n &:before {\n position: absolute;\n content: '';\n height: 23px;\n width: 23px;\n left: -1px;\n bottom: -1px;\n background-color: white;\n border-radius: 50%;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);\n transition: transform 70ms linear;\n\n transform: ",";\n }\n"],["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n transition: transform 70ms linear;\n border-radius: 23px;\n cursor: pointer;\n\n background: ",";\n\n &:before {\n position: absolute;\n content: '';\n height: 23px;\n width: 23px;\n left: -1px;\n bottom: -1px;\n background-color: white;\n border-radius: 50%;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);\n transition: transform 70ms linear;\n\n transform: ",";\n }\n"])),(function(e){return e.checked?e.theme.colours.green:e.theme.colours.black40}),(function(e){return e.checked?"translateX(19px)":""}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(61),s=n(8),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleClickOutside=function(e){if(t.props.open)try{var n=a.findDOMNode(t);n&&n.contains(e.target)||"undefined"===typeof t.props.onClose||t.props.onClose(e)}catch(r){}},t}return r(t,e),t.prototype.componentDidMount=function(){document.addEventListener("click",this.handleClickOutside,!0)},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this.handleClickOutside.bind(this),!0)},t.prototype.render=function(){var e=this.props,t=e.open,n=e.children,r=e.renderAfterContent,i=e.onClick,a=this.props.anchorOrigin;return o.createElement(b,{visible:t,anchorTop:"top"===a.vertical,anchorBottom:"bottom"===a.vertical,anchorLeft:"left"===a.horizontal,anchorRight:"right"===a.horizontal,anchorCenter:"center"===a.horizontal},o.createElement(x,{onClick:i},o.createElement(E,null),n),r&&r())},t.defaultProps={anchorOrigin:{vertical:"top",horizontal:"center"}},t}(o.PureComponent);t.default=u;var c,l,p,f,d,h,m,g,v,y,b=s.styled.div(g||(g=i(["\n position: absolute;\n z-index: 9999;\n\n text-align: left;\n transform: translateX(-50%);\n\n transition: opacity ease-out 0.2s;\n\n "," "," "," "," "," ",";\n"],["\n position: absolute;\n z-index: 9999;\n\n text-align: left;\n transform: translateX(-50%);\n\n transition: opacity ease-out 0.2s;\n\n "," "," "," "," "," ",";\n"])),(function(e){return e.visible?s.css(c||(c=i(["\n visibility: visible;\n opacity: 1;\n "],["\n visibility: visible;\n opacity: 1;\n "]))):s.css(l||(l=i(["\n visibility: hidden;\n opacity: 0;\n "],["\n visibility: hidden;\n opacity: 0;\n "])))}),(function(e){return e.anchorTop?s.css(p||(p=i(["\n bottom: 100%;\n margin-bottom: 16px;\n\n "," {\n bottom: -10px;\n }\n "],["\n bottom: 100%;\n margin-bottom: 16px;\n\n "," {\n bottom: -10px;\n }\n "])),E):""}),(function(e){return e.anchorBottom?s.css(f||(f=i(["\n top: 100%;\n margin-top: 16px;\n\n "," {\n top: -10px;\n border-width: 0 10px 10px 10px;\n border-color: "," transparent\n "," transparent;\n }\n "],["\n top: 100%;\n margin-top: 16px;\n\n "," {\n top: -10px;\n border-width: 0 10px 10px 10px;\n border-color: "," transparent\n "," transparent;\n }\n "])),E,(function(e){return e.theme.colours.paleGrey}),(function(e){return e.theme.colours.paleGrey})):""}),(function(e){return e.anchorLeft?s.css(d||(d=i(["\n left: 0;\n transform: none;\n\n "," {\n left: 25px;\n }\n "],["\n left: 0;\n transform: none;\n\n "," {\n left: 25px;\n }\n "])),E):""}),(function(e){return e.anchorRight?s.css(h||(h=i(["\n right: 0;\n transform: none;\n\n "," {\n right: 25px;\n }\n "],["\n right: 0;\n transform: none;\n\n "," {\n right: 25px;\n }\n "])),E):""}),(function(e){return e.anchorCenter?s.css(m||(m=i(["\n left: 50%;\n\n "," {\n left: calc(50% - 10px);\n }\n "],["\n left: 50%;\n\n "," {\n left: calc(50% - 10px);\n }\n "])),E):""})),x=s.styled.div(v||(v=i(["\n display: flex;\n align-items: center;\n\n padding: "," ",";\n white-space: nowrap;\n\n box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.15);\n background-color: ",";\n border-radius: ",";\n color: ",";\n"],["\n display: flex;\n align-items: center;\n\n padding: "," ",";\n white-space: nowrap;\n\n box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.15);\n background-color: ",";\n border-radius: ",";\n color: ",";\n"])),(function(e){return e.theme.sizes.small12}),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.colours.paleGrey}),(function(e){return e.theme.sizes.smallRadius}),(function(e){return e.theme.colours.paleText})),E=s.styled.div(y||(y=i(["\n position: absolute;\n width: 0;\n height: 0;\n\n border-style: solid;\n border-width: 10px 10px 0 10px;\n border-color: "," transparent transparent\n transparent;\n"],["\n position: absolute;\n width: 0;\n height: 0;\n\n border-style: solid;\n border-width: 10px 10px 0 10px;\n border-color: "," transparent transparent\n transparent;\n"])),(function(e){return e.theme.colours.paleGrey}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(407),u=function(e){function t(t){var n=e.call(this,t)||this;return n.onCopy=function(){n.setState({copied:!0}),n.copyTimer=window.setTimeout((function(){return n.setState({copied:!1})}),500)},n.state={copied:!1},n}return r(t,e),t.prototype.componentWillUnmount=function(){clearTimeout(this.copyTimer)},t.prototype.render=function(){var e=this.props,t=e.text,n=e.color;return o.createElement(s,{text:t,onCopy:this.onCopy},o.createElement(p,null,this.state.copied&&o.createElement(f,{color:n},"Copied"),this.props.children))},t}(o.Component);t.default=u;var c,l,p=a.styled.div(c||(c=i(["\n position: relative;\n"],["\n position: relative;\n"]))),f=a.styled.div(l||(l=i(["\n position: absolute;\n top: -20px;\n left: 50%;\n transform: translate(-50%, 0);\n animation: copying 700ms linear;\n color: ",";\n\n @keyframes copying {\n 0% {\n opacity: 0;\n transform: translate(-50%, 0);\n }\n\n 50% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n transform: translate(-50%, -50px);\n }\n }\n"],["\n position: absolute;\n top: -20px;\n left: 50%;\n transform: translate(-50%, 0);\n animation: copying 700ms linear;\n color: ",";\n\n @keyframes copying {\n 0% {\n opacity: 0;\n transform: translate(-50%, 0);\n }\n\n 50% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n transform: translate(-50%, -50px);\n }\n }\n"])),(function(e){return e.color?e.color:e.theme.colours.darkBlue30}))},function(e,t,n){"use strict";var r=n(408).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n(3)),i=o(n(208));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return(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})(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?d(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){function t(){var e,n;c(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return m(d(n=p(this,(e=f(t)).call.apply(e,[this].concat(a)))),"onClick",(function(e){var t=n.props,o=t.text,a=t.onCopy,s=t.children,u=t.options,c=r.default.Children.only(s),l=(0,i.default)(o,u);a&&a(o,l),c&&c.props&&"function"===typeof c.props.onClick&&c.props.onClick(e)})),n}var n,o,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&&h(e,t)}(t,e),n=t,(o=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=u(e,["text","onCopy","options","children"]),i=r.default.Children.only(t);return r.default.cloneElement(i,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}])&&l(n.prototype,o),a&&l(n,a),t}(r.default.PureComponent);t.CopyToClipboard=g,m(g,"defaultProps",{onCopy:void 0,options:void 0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(410),o=n(412),a=n(26),s=n(28),u=n(24),c=a.createStructuredSelector({isReloadingSchema:s.getIsReloadingSchema});t.default=u.connect(c)((function(e){return e.isPollingSchema?r.createElement(o.default,{interval:e.settings["schema.polling.interval"],onReloadSchema:e.onReloadSchema}):r.createElement(i.default,{isReloadingSchema:e.isReloadingSchema,onReloadSchema:e.onReloadSchema})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(411);t.default=function(e){return r.createElement(i.default,{animate:e.isReloadingSchema,onClick:e.onReloadSchema})}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8),a=n(210);t.default=function(e){return i.createElement(g,{onClick:e.onClick,title:"Reload Schema",disabled:e.disabled},i.createElement(m,{viewBox:"0 0 20 20",disabled:e.disabled},i.createElement(v,{cx:"9.5",cy:"10",r:"6",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",animate:e.animate}),i.createElement(y,{d:"M4.83 4.86a6.92 6.92 0 0 1 11.3 2.97l.41-1.23c.13-.4.56-.6.95-.47.4.13.6.56.47.95l-1.13 3.33a.76.76 0 0 1-.7.5.72.72 0 0 1-.43-.12l-2.88-1.92a.76.76 0 0 1-.2-1.04.75.75 0 0 1 1.03-.2l1.06.7A5.34 5.34 0 0 0 9.75 4.5a5.44 5.44 0 0 0-5.64 5.22 5.42 5.42 0 0 0 5.24 5.62c.41 0 .74.36.72.78a.75.75 0 0 1-.75.72H9.3a6.9 6.9 0 0 1-6.68-7.18 6.88 6.88 0 0 1 2.22-4.81z",animate:e.animate})))};var s,u,c,l,p,f,d,h=o.keyframes(s||(s=r(["\n0% {\n transform: rotate(0deg);\n stroke-dashoffset: 7.92;\n}\n\n50% {\n transform: rotate(720deg);\n stroke-dashoffset: 37.68;\n}\n\n100% {\n transform: rotate(1080deg);\n stroke-dashoffset: 7.92;\n}\n"],["\n0% {\n transform: rotate(0deg);\n stroke-dashoffset: 7.92;\n}\n\n50% {\n transform: rotate(720deg);\n stroke-dashoffset: 37.68;\n}\n\n100% {\n transform: rotate(1080deg);\n stroke-dashoffset: 7.92;\n}\n"]))),m=o.styled.svg(l||(l=r(["\n fill: ",";\n transition: 0.1s linear all;\n ",";\n"],["\n fill: ",";\n transition: 0.1s linear all;\n ",";\n"])),(function(e){return e.theme.editorColours.icon}),(function(e){return e.disabled?void 0:o.css(c||(c=r(["\n &:hover {\n fill: ",";\n }\n "],["\n &:hover {\n fill: ",";\n }\n "])),(function(e){return e.theme.editorColours.iconHover}))})),g=o.styled(a.default)(p||(p=r(["\n cursor: ",";\n transform: rotateY(180deg);\n"],["\n cursor: ",";\n transform: rotateY(180deg);\n"])),(function(e){var t=e.disabled;return void 0!==t&&t?"auto":"pointer"})),v=o.styled("circle")(f||(f=r(["\n fill: none;\n stroke: ",";\n stroke-dasharray: 37.68;\n transition: opacity 0.3s ease-in-out;\n opacity: ",";\n transform-origin: 9.5px 10px;\n animation: "," 2s linear ",";\n"],["\n fill: none;\n stroke: ",";\n stroke-dasharray: 37.68;\n transition: opacity 0.3s ease-in-out;\n opacity: ",";\n transform-origin: 9.5px 10px;\n animation: "," 2s linear ",";\n"])),(function(e){return e.theme.editorColours.icon}),(function(e){return e.animate?1:0}),h,(function(e){return e.animate?"infinite":""})),y=o.styled("path")(d||(d=r(["\n transition: opacity 0.3s ease-in-out;\n opacity: ",";\n transform-origin: 9.5px 10px;\n animation: "," 0.5s linear;\n"],["\n transition: opacity 0.3s ease-in-out;\n opacity: ",";\n transform-origin: 9.5px 10px;\n animation: "," 0.5s linear;\n"])),(function(e){return e.animate?0:1}),(function(e){return o.keyframes(u||(u=r(["\n0% {\n transform: rotate(","deg);\n}\n\n100% {\n transform: rotate(","deg);\n}"],["\n0% {\n transform: rotate(","deg);\n}\n\n100% {\n transform: rotate(","deg);\n}"])),e.animate?0:360,e.animate?360:720)}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(413),a=function(e){function t(t){var n=e.call(this,t)||this;return n.setWindowVisibility=function(){"visible"===document.visibilityState&&n.setState({windowVisible:!0},n.updatePolling),"hidden"===document.visibilityState&&n.setState({windowVisible:!1},n.updatePolling)},n.updatePolling=function(e){void 0===e&&(e=n.props),n.clearTimer(),n.state.windowVisible&&(n.timer=setInterval((function(){return e.onReloadSchema()}),e.interval))},n.state={windowVisible:!0},n}return r(t,e),t.prototype.componentDidMount=function(){this.updatePolling(),document.addEventListener("visibilitychange",this.setWindowVisibility)},t.prototype.componentWillUnmount=function(){this.clearTimer(),document.removeEventListener("visibilitychange",this.setWindowVisibility)},t.prototype.componentWillReceiveProps=function(e){this.updatePolling(e)},t.prototype.render=function(){return i.createElement(o.default,{animate:this.state.windowVisible})},t.prototype.clearTimer=function(){this.timer&&(clearInterval(this.timer),this.timer=null)},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8),a=n(210);t.default=function(e){return i.createElement(f,{onClick:e.onClick,title:"Polling Schema"},i.createElement(d,{animate:e.animate}))};var s,u,c,l,p=o.keyframes(s||(s=r(["\n0% {\n box-shadow: 0 0 0 0 rgba(139, 149, 156, 0.4);\n}\n70% {\n box-shadow: 0 0 0 10px rgba(139, 149, 156, 0);\n}\n100% {\n box-shadow: 0 0 0 0 rgba(139, 149, 156, 0);\n}\n"],["\n0% {\n box-shadow: 0 0 0 0 rgba(139, 149, 156, 0.4);\n}\n70% {\n box-shadow: 0 0 0 10px rgba(139, 149, 156, 0);\n}\n100% {\n box-shadow: 0 0 0 0 rgba(139, 149, 156, 0);\n}\n"]))),f=o.styled(a.default)(u||(u=r(["\n display: flex;\n justify-content: center;\n align-items: center;\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),d=o.styled.div(l||(l=r(["\n display: block;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: ",";\n box-shadow: 0 0 0 ",";\n ",";\n"],["\n display: block;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: ",";\n box-shadow: 0 0 0 ",";\n ",";\n"])),(function(e){return e.theme.editorColours.pollingIcon}),(function(e){return e.theme.editorColours.pollingIconShadow}),(function(e){return e.animate?o.css(c||(c=r(["\n animation: "," 2s infinite;\n "],["\n animation: "," 2s infinite;\n "])),p):void 0}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(201),s=n(24),u=n(36),c=n(28),l=n(26),p=n(8),f=function(e){function t(t){var n=e.call(this,t)||this;return n._onKeyUp=function(e,t){var r=t.keyCode;(r>=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand("autocomplete")},n._onEdit=function(){n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onChange(n.cachedValue))},n._onHasCompletion=function(e,t){a.default(e,t,n.props.onHintInformationRender)},n.cachedValue=t.value||"",n.props.getRef&&n.props.getRef(n),n}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=n(14);n(140),n(95),n(141),n(96),n(119),n(142),n(77),n(120),n(78),n(121),n(211),n(212),n(213),this.editor=t(this._node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!1,foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType?this.props.variableToType.toJS():void 0},hintOptions:{variableToType:this.props.variableToType?this.props.variableToType.toJS():void 0,closeOnUnfocus:!1,completeSingle:!1},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Cmd-Space":function(){return e.editor.showHint({completeSingle:!1})},"Ctrl-Space":function(){return e.editor.showHint({completeSingle:!1})},"Alt-Space":function(){return e.editor.showHint({completeSingle:!1})},"Shift-Space":function(){return e.editor.showHint({completeSingle:!1})},"Cmd-Enter":function(){e.props.onRunQuery&&e.props.onRunQuery()},"Ctrl-Enter":function(){e.props.onRunQuery&&e.props.onRunQuery()},"Shift-Ctrl-P":function(){e.props.prettifyQuery&&e.props.prettifyQuery()},"Cmd-F":"findPersistent","Ctrl-F":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"}}),this.editor.on("change",this._onEdit),this.editor.on("keyup",this._onKeyUp),this.editor.on("hasCompletion",this._onHasCompletion)},t.prototype.componentDidUpdate=function(e){var t=n(14);this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType?this.props.variableToType.toJS():void 0,this.editor.options.hintOptions.variableToType=this.props.variableToType?this.props.variableToType.toJS():void 0,t.signal(this.editor,"change",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1},t.prototype.componentWillUnmount=function(){this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion),this.editor=null},t.prototype.render=function(){var e=this;return o.createElement(g,{ref:function(t){e._node=t}})},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},t}(o.PureComponent),d=l.createStructuredSelector({value:c.getVariables,variableToType:c.getVariableToType});t.VariableEditorComponent=s.connect(d,{onChange:u.editVariables})(f);var h=l.createStructuredSelector({value:c.getHeaders});t.HeadersEditorComponent=s.connect(h,{onChange:u.editHeaders})(f);var m,g=p.styled.div(m||(m=i(["\n flex: 1;\n height: 100%;\n position: relative;\n"],["\n flex: 1;\n height: 100%;\n position: relative;\n"])))},function(e,t,n){"use strict";function r(e,t){var n=e.filter(t);return 0===n.length?e:n}function i(e){return e.toLowerCase().replace(/\W/g,"")}function o(e,t){var n=function(e,t){var n,r,i=[],o=e.length,a=t.length;for(n=0;n<=o;n++)i[n]=[n];for(r=1;r<=a;r++)i[0][r]=r;for(n=1;n<=o;n++)for(r=1;r<=a;r++){var s=e[n-1]===t[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+s),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+s))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=function(e,t){if(!t)return r(e,(function(e){return!e.isDeprecated}));return r(r(e.map((function(e){return{proximity:o(i(e.text),t),entry:e}})),(function(e){return e.proximity<=2})),(function(e){return!e.entry.isDeprecated})).sort((function(e,t){return(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length})).map((function(e){return e.entry}))}(n,i(t.string));if(!a)return;var s=null!==t.type&&/"|\w/.test(t.string[0])?t.start:t.end;return{list:a,from:{line:e.line,column:s},to:{line:e.line,column:t.end}}}},function(e,t,n){"use strict";var r,i,o,a,s,u,c;function l(){var e=o,t=[];if(h("{"),!g("}")){do{t.push(p())}while(g(","));h("}")}return{kind:"Object",start:e,end:s,members:t}}function p(){var e=o,t="String"===c?d():null;h("String"),h(":");var n=f();return{kind:"Member",start:e,end:s,key:t,value:n}}function f(){switch(c){case"[":return function(){var e=o,t=[];if(h("["),!g("]")){do{t.push(f())}while(g(","));h("]")}return{kind:"Array",start:e,end:s,values:t}}();case"{":return l();case"String":case"Number":case"Boolean":case"Null":var e=d();return y(),e}return h("Value")}function d(){return{kind:c,start:o,end:a,value:JSON.parse(r.slice(o,a))}}function h(e){if(c!==e){var t;if("EOF"===c)t="[end of file]";else if(a-o>1)t="`"+r.slice(o,a)+"`";else{var n=r.slice(o).match(/^.+?\b/);t="`"+(n?n[0]:r[o])+"`"}throw m("Expected ".concat(e," but found ").concat(t,"."))}y()}function m(e){return{message:e,start:o,end:a}}function g(e){if(c===e)return y(),!0}function v(){a<i&&(a++,u=a===i?0:r.charCodeAt(a))}function y(){for(s=a;9===u||10===u||13===u||32===u;)v();if(0!==u){switch(o=a,u){case 34:return c="String",function(){v();for(;34!==u&&u>31;)if(92===u)switch(v(),u){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:v();break;case 117:v(),b(),b(),b(),b();break;default:throw m("Bad character escape sequence.")}else{if(a===i)throw m("Unterminated string.");v()}if(34===u)return void v();throw m("Unterminated string.")}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return c="Number",function(){45===u&&v();48===u?v():x();46===u&&(v(),x());69!==u&&101!==u||(v(),43!==u&&45!==u||v(),x())}();case 102:if("false"!==r.slice(o,o+5))break;return a+=4,v(),void(c="Boolean");case 110:if("null"!==r.slice(o,o+4))break;return a+=3,v(),void(c="Null");case 116:if("true"!==r.slice(o,o+4))break;return a+=3,v(),void(c="Boolean")}c=r[o],v()}else c="EOF"}function b(){if(u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102)return v();throw m("Expected hexadecimal digit.")}function x(){if(u<48||u>57)throw m("Expected decimal digit.");do{v()}while(u>=48&&u<=57)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r=e,i=e.length,o=a=s=-1,v(),y();var t=l();return h("EOF"),t}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(418),a=n(419),s=n(24),u=n(26),c=n(28),l=n(8),p=new(n(109).ResponseRecord)({date:"",time:new Date,resultID:"default-id"}),f=u.createStructuredSelector({responses:c.getResponses});t.default=s.connect(f)((function(e){var t=e.setRef,n=e.responses,r=n.get(0)||p,s=n.size>1;return i.createElement(y,{ref:t,isSubscription:s},n.size<=1?i.createElement(b,{key:"first",isSubscription:s},n.size>1&&r.time&&i.createElement(x,null,i.createElement(E,null,o.default(r.time))),i.createElement(D,{isSubscription:s},i.createElement(a.ResultViewer,{value:r.date,isSubscription:s}))):n.map((function(e){return i.createElement(b,{key:e.resultID||String(e.time),isSubscription:s},n.size>1&&e.time&&i.createElement(x,null,i.createElement(E,null,o.default(e.time))),i.createElement(D,{isSubscription:n.size>1},i.createElement(a.ResultViewer,{value:e.date,isSubscription:s})))})))}));var d,h,m,g,v,y=l.styled("div")(d||(d=r(["\n flex: 1;\n height: ",";\n position: relative;\n overflow: ",";\n max-height: none !important;\n\n .cm-string {\n color: rgb(41, 185, 115);\n }\n\n .cm-def {\n color: rgb(241, 143, 1);\n }\n\n .cm-property {\n color: rgb(51, 147, 220);\n }\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n .CodeMirror {\n background: ",";\n }\n .CodeMirror-gutters {\n cursor: col-resize;\n }\n .CodeMirror-foldgutter,\n .CodeMirror-foldgutter-open:after,\n .CodeMirror-foldgutter-folded:after {\n padding-left: 3px;\n }\n"],["\n flex: 1;\n height: ",";\n position: relative;\n overflow: ",";\n max-height: none !important;\n\n .cm-string {\n color: rgb(41, 185, 115);\n }\n\n .cm-def {\n color: rgb(241, 143, 1);\n }\n\n .cm-property {\n color: rgb(51, 147, 220);\n }\n\n &::-webkit-scrollbar {\n display: none;\n }\n\n .CodeMirror {\n background: ",";\n }\n .CodeMirror-gutters {\n cursor: col-resize;\n }\n .CodeMirror-foldgutter,\n .CodeMirror-foldgutter-open:after,\n .CodeMirror-foldgutter-folded:after {\n padding-left: 3px;\n }\n"])),(function(e){return e.isSubscription?"auto":"100%"}),(function(e){return e.isSubscription?"auto":"visible"}),(function(e){return e.theme.editorColours.resultBackground})),b=l.styled("div")(h||(h=r(["\n position: relative;\n display: flex;\n flex: 1;\n height: ",";\n flex-direction: column;\n &:not(:first-child):last-of-type {\n margin-bottom: 48px;\n }\n"],["\n position: relative;\n display: flex;\n flex: 1;\n height: ",";\n flex-direction: column;\n &:not(:first-child):last-of-type {\n margin-bottom: 48px;\n }\n"])),(function(e){return e.isSubscription?"auto":"100%"})),x=l.styled.div(m||(m=r(["\n position: relative;\n height: 17px;\n margin-top: 12px;\n margin-bottom: 4px;\n &:before {\n position: absolute;\n width: 100%;\n content: '';\n top: 9px;\n left: 95px;\n border-top: 1px solid\n ",";\n }\n"],["\n position: relative;\n height: 17px;\n margin-top: 12px;\n margin-bottom: 4px;\n &:before {\n position: absolute;\n width: 100%;\n content: '';\n top: 9px;\n left: 95px;\n border-top: 1px solid\n ",";\n }\n"])),(function(e){return e.theme.editorColours.subscriptionTimeBoaderTop})),E=l.styled.div(g||(g=r(["\n font-size: 12px;\n color: ",";\n padding-left: 15px;\n"],["\n font-size: 12px;\n color: ",";\n padding-left: 15px;\n"])),(function(e){return e.theme.editorColours.subscriptionTimeText})),D=l.styled("div")(v||(v=r(["\n display: flex;\n flex: 1;\n height: ",";\n position: ",";\n"],["\n display: flex;\n flex: 1;\n height: ",";\n position: ",";\n"])),(function(e){return e.isSubscription?"auto":"100%"}),(function(e){return e.isSubscription?"relative":"static"}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date,n=Math.abs(e.getTime()-t.getTime()),r=Math.floor(n/864e5),i=Math.floor(n%864e5/36e5),o=Math.round(n%864e5%36e5/6e4);if(r>0)return r+" days ago";if(i>0)return i+" h ago";if(o>0)return o+" min ago";var a=Math.round(n/1e3);return a+" sec"+(a>1?"s":"")+" ago"}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.setRef=function(e){t.node=e},t}return r(t,e),t.prototype.componentDidMount=function(){var e=n(14);n(119),n(96),n(78),n(203),n(77),n(120),n(121),n(420);var t=[];this.props.hideGutters||t.push("CodeMirror-foldgutter");var r={};this.props.hideGutters||(r={minFoldSize:4});var i=this.props.value||"";this.viewer=e(this.node,{lineWrapping:!0,value:i,readOnly:!0,theme:"graphiql",mode:"graphql-results",keyMap:"sublime",foldGutter:r,gutters:t,extraKeys:{"Cmd-F":"findPersistent","Ctrl-F":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"}})},t.prototype.shouldComponentUpdate=function(e){return this.props.value!==e.value},t.prototype.componentDidUpdate=function(){var e=this.props.value||"";this.viewer.setValue(e)},t.prototype.componentWillUnmount=function(){this.viewer=null},t.prototype.render=function(){return o.createElement(c,{ref:this.setRef,isSubscription:this.props.isSubscription})},t.prototype.getCodeMirror=function(){return this.viewer},t.prototype.getClientHeight=function(){return this.node&&this.node.clientHeight},t}(o.Component);t.ResultViewer=s;var u,c=a.styled("div")(u||(u=i(["\n position: relative;\n display: flex;\n flex: 1;\n height: ",";\n .CodeMirror {\n height: ",";\n position: ",";\n box-sizing: border-box;\n background: none;\n padding-left: 38px;\n }\n .CodeMirror-cursor {\n display: none !important;\n }\n .CodeMirror-scroll {\n overflow: scroll !important;\n margin-right: 10px;\n }\n .CodeMirror-sizer {\n margin-bottom: 0 !important;\n }\n .CodeMirror-lines {\n margin: 20px 0;\n padding: 0;\n }\n .cm-string {\n color: "," !important;\n }\n"],["\n position: relative;\n display: flex;\n flex: 1;\n height: ",";\n .CodeMirror {\n height: ",";\n position: ",";\n box-sizing: border-box;\n background: none;\n padding-left: 38px;\n }\n .CodeMirror-cursor {\n display: none !important;\n }\n .CodeMirror-scroll {\n overflow: scroll !important;\n margin-right: 10px;\n }\n .CodeMirror-sizer {\n margin-bottom: 0 !important;\n }\n .CodeMirror-lines {\n margin: 20px 0;\n padding: 0;\n }\n .cm-string {\n color: "," !important;\n }\n"])),(function(e){return e.isSubscription?"auto":"100%"}),(function(e){return e.isSubscription?"auto":"100%"}),(function(e){return e.isSubscription?"relative":"absolute%"}),(function(e){return e.theme.editorColours.property}))},function(e,t,n){"use strict";var r,i=(r=n(14))&&r.__esModule?r:{default:r},o=n(62);function a(e,t){var n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}i.default.defineMode("graphql-results",(function(e){var t=(0,o.onlineParser)({eatWhitespace:function(e){return e.eatSpace()},lexRules:s,parseRules:u,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}));var s={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},u={Document:[(0,o.p)("{"),(0,o.list)("Entry",(0,o.p)(",")),(0,o.p)("}")],Entry:[(0,o.t)("String","def"),(0,o.p)(":"),"Value"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Keyword","builtin")],NullValue:[(0,o.t)("Keyword","keyword")],ListValue:[(0,o.p)("["),(0,o.list)("Value",(0,o.p)(",")),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField",(0,o.p)(",")),(0,o.p)("}")],ObjectField:[(0,o.t)("String","property"),(0,o.p)(":"),"Value"]}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o,a,s,u,c=n(3),l=n(422),p=n(108),f=n(26),d=n(28),h=n(24),m=p.default.div(o||(o=r(["\n padding-top: 6px;\n padding-left: 25px;\n padding-right: 25px;\n color: ",";\n overflow: auto;\n position: relative;\n height: 100%;\n"],["\n padding-top: 6px;\n padding-left: 25px;\n padding-right: 25px;\n color: ",";\n overflow: auto;\n position: relative;\n height: 100%;\n"])),(function(e){return e.theme.editorColours.text})),g=p.default.div(a||(a=r(["\n font-size: 14px;\n"],["\n font-size: 14px;\n"]))),v=p.default.div(s||(s=r(["\n font-size: 14px;\n color: rgba(241, 143, 1, 1);\n"],["\n font-size: 14px;\n color: rgba(241, 143, 1, 1);\n"]))),y=p.default.div(u||(u=r(["\n padding-left: 100px;\n padding-bottom: 100px;\n padding-top: 16px;\n position: absolute;\n overflow: auto;\n top: 0;\n left: 0;\n width: calc(100% + 100px);\n height: calc(100% + 116px);\n"],["\n padding-left: 100px;\n padding-bottom: 100px;\n padding-top: 16px;\n position: absolute;\n overflow: auto;\n top: 0;\n left: 0;\n width: calc(100% + 100px);\n height: calc(100% + 116px);\n"]))),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.tracing,n=e.tracingSupported,r=e.startTime,i=e.endTime,o=e.open,a=t&&r?Math.abs(new Date(t.startTime).getTime()-r.getTime()):0,s=t&&i?Math.abs(i.getTime()-new Date(t.endTime).getTime()):0,u=1e6*a;return c.createElement(m,null,t&&o?c.createElement(y,null,c.createElement(l.default,{path:["Request"],startOffset:0,duration:u}),t.execution.resolvers.map((function(e){return c.createElement(l.default,{key:e.path.join("."),path:e.path,startOffset:e.startOffset+u,duration:e.duration})})),c.createElement(l.default,{path:["Response"],startOffset:t.duration+u,duration:1e6*s})):n?c.createElement(g,null,this.props.queryRunning?"Running query ...":"Please re-run the query to show tracing results."):c.createElement(v,null,"This GraphQL server doesn\u2019t support tracing. See the following page for instructions:",c.createElement("br",null),"https://github.com/apollographql/apollo-tracing"))},t}(c.PureComponent),x=f.createStructuredSelector({tracing:d.getTracing,startTime:d.getCurrentQueryStartTime,endTime:d.getCurrentQueryEndTime,tracingSupported:d.getTracingSupported,queryRunning:d.getQueryRunning});t.default=h.connect(x)(b)},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var o,a,s,u,c,l=n(3),p=n(108),f=p.default.div(o||(o=r(["\n position: relative;\n font-size: 12px;\n display: table;\n padding-right: 25px;\n\n color: ",";\n"],["\n position: relative;\n font-size: 12px;\n display: table;\n padding-right: 25px;\n\n color: ",";\n"])),(function(e){return e.theme.editorColours.text})),d=p.default.span(a||(a=r(["\n display: inline-block;\n position: relative;\n margin: 0 10px;\n height: 1.5px;\n bottom: 4px;\n\n background: ",";\n"],["\n display: inline-block;\n position: relative;\n margin: 0 10px;\n height: 1.5px;\n bottom: 4px;\n\n background: ",";\n"])),(function(e){return e.theme.editorColours.text})),h=p.default.span(s||(s=r(["\n font-size: 10px;\n color: ",";\n"],["\n font-size: 10px;\n color: ",";\n"])),(function(e){return e.theme.editorColours.textInactive})),m=p.default.span(u||(u=r(["\n position: absolute;\n left: 0;\n transform: translateX(-100%);\n display: inline-flex;\n align-items: center;\n\n text-align: right;\n"],["\n position: absolute;\n left: 0;\n transform: translateX(-100%);\n display: inline-flex;\n align-items: center;\n\n text-align: right;\n"]))),g=p.default.span(c||(c=r(["\n margin-left: 10px;\n"],["\n margin-left: 10px;\n"]))),v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={collapsed:!1},t}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.path,n=e.startOffset,r=e.duration,i=n/1e6,o=r/1e6;return l.createElement(f,{style:{transform:"translateX("+i+"px)"}},l.createElement(m,null,l.createElement(g,null,t.slice(-2).map((function(e,n){return l.createElement("span",{style:{opacity:n===t.slice(-2).length-1?1:.6},key:e},(n>0?".":"")+e)})))),l.createElement(d,{style:{width:Math.max(o,3)}}),l.createElement(h,null,this.printDuration(r)))},t.prototype.printDuration=function(e){var t=Math.round(e/1e3);return t>1e3?Math.round(t/1e3)+" ms":t+" \xb5s"},t}(l.Component);t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fillLeafs=function(e,t,n){var a,s=[];if(!e)return{insertions:s,result:t};try{a=(0,r.parse)(t)}catch(l){return{insertions:s,result:t}}var u=n||i,c=new r.TypeInfo(e);return(0,r.visit)(a,{leave:function(e){c.leave(e)},enter:function(e){if(c.enter(e),"Field"===e.kind&&!e.selectionSet){var n=function e(t,n){var i=(0,r.getNamedType)(t);if(!t||(0,r.isLeafType)(t))return;var o=n(i);if(!Array.isArray(o)||0===o.length)return;return{kind:"SelectionSet",selections:o.map((function(t){var r=i.getFields()[t],o=r?r.type:null;return{kind:"Field",name:{kind:"Name",value:t},selectionSet:e(o,n)}}))}}(c.getType(),u);if(n){var i=function(e,t){var n=t,r=t;for(;n;){var i=e.charCodeAt(n-1);if(10===i||13===i||8232===i||8233===i)break;n--,9!==i&&11!==i&&12!==i&&32!==i&&160!==i&&(r=n)}return e.substring(n,r)}(t,e.loc.start);s.push({index:e.loc.end,string:" "+(0,r.print)(n).replace(/\n/g,"\n"+i)})}}}}),{insertions:s,result:o(t,s)}};var r=n(22);function i(e){if(!e.getFields)return[];var t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];var n=[];return Object.keys(t).forEach((function(e){(0,r.isLeafType)(t[e].type)&&n.push(e)})),n}function o(e,t){if(0===t.length)return e;var n="",r=0;return t.forEach((function(t){var i=t.index,o=t.string;n+=e.slice(r,i)+o,r=i})),n+=e.slice(r)}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(65),u=n(24),c=n(216),l=n(214),p=n(80),f=n(81),d=n(28),h=n(26),m=n(8),g=n(215),v=function(e){function t(t){var n=e.call(this,t)||this;return n.clientX=0,n.clientY=0,n.setRef=function(e){n.ref=e},n.setContentContainerRef=function(e){n.refContentContainer=e},n.handleTabClick=function(e){return function(){return n.props.docs.activeTabIdx===e?(n.props.setDocsVisible(n.props.sessionId,!1),n.props.setWidth()):n.props.docs.activeTabIdx!==e?(n.props.setDocsVisible(n.props.sessionId,!1,n.props.docs.activeTabIdx),n.props.setDocsVisible(n.props.sessionId,!0,e),n.props.setWidth()):(n.props.setDocsVisible(n.props.sessionId,!0,e),n.props.setWidth())}},n.handleKeyDown=function(e){if(!(e.target instanceof HTMLInputElement||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey))switch(c(e)){case"esc":n.props.changeKeyMove(n.props.sessionId,!0),e.preventDefault(),n.props.setDocsVisible(n.props.sessionId,!1)}},n.handleDocsResizeStart=function(e){e.preventDefault();var t=n.props.docs.docsWidth,r=e.clientX-l.getLeft(e.target),i=function(e){if(0===e.buttons)return o();var t=n.ref,i=e.clientX-l.getLeft(t)-r,a=t.clientWidth-i,s=window.innerWidth-50,u=s<a?s:a;u<100?n.props.setDocsVisible(n.props.sessionId,!1,n.props.docs.activeTabIdx):(n.props.setDocsVisible(n.props.sessionId,!0,n.props.docs.activeTabIdx),n.props.changeWidthDocs(n.props.sessionId,u))},o=function(){n.props.docs.docsOpen||n.props.changeWidthDocs(n.props.sessionId,t),document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",o),i=null,o=null};document.addEventListener("mousemove",i),document.addEventListener("mouseup",o)},n.handleMouseMove=function(e){n.clientX=e.clientX,n.clientY=e.clientY,n.props.docs.keyMove&&n.clientX!==e.clientX&&n.clientY!==e.clientY&&n.props.changeKeyMove(n.props.sessionId,!1)},window.d=n,n}return r(t,e),t.prototype.componentDidUpdate=function(e){!e.docs.activeTabIdx&&this.props.docs.activeTabIdx&&this.props.setDocsVisible(this.props.sessionId,!0,this.props.docs.activeTabIdx),e.activeTabIdx&&!this.props.docs.activeTabIdx&&this.props.setDocsVisible(this.props.sessionId,!1),this.props.setWidth(),this.props.docs.activeTabIdx!==e.docs.activeTabIdx&&this.refContentContainer&&this.refContentContainer.focus()},t.prototype.componentDidMount=function(){return this.props.docs.activeTabIdx||this.props.setDocsVisible(this.props.sessionId,!1),this.props.setWidth()},t.prototype.render=function(){var e=this,t=this.props.docs,n=t.docsOpen,r=t.docsWidth,i=t.activeTabIdx,s={width:n?r:0},u=n&&a.Children.toArray(this.props.children)[i];return a.createElement(S,{open:n,style:s,ref:this.setRef},a.createElement(T,null,a.Children.toArray(this.props.children).map((function(t,n){return a.cloneElement(t,o(o({},t.props),{key:n,onClick:e.handleTabClick(n),active:n===i}))}))),a.createElement(A,{onMouseDown:this.handleDocsResizeStart}),a.createElement(_,{index:i}),a.createElement(k,{onKeyDown:this.handleKeyDown,onMouseMove:this.handleMouseMove,tabIndex:i,color:u?u.props.activeColor:void 0,ref:this.setContentContainerRef},u&&a.cloneElement(u.props.children,o(o({},u.props),{ref:this.props.setActiveContentRef,setWidth:this.props.setWidth}))))},t}(a.Component),y=h.createStructuredSelector({docs:f.getSessionDocs,sessionId:d.getSelectedSessionIdFromRoot}),b=u.connect(y,(function(e){return s.bindActionCreators({addStack:p.addStack,toggleDocs:p.toggleDocs,changeKeyMove:p.changeKeyMove,setDocsVisible:p.setDocsVisible},e)}),null,{forwardRef:!0})(v);b.Tab=g.default,t.default=b;var x,E,D,C,w,S=m.styled("div")(x||(x=i(["\n background: white;\n outline: none;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n position: absolute;\n right: 0px;\n z-index: ",";\n height: 100%;\n font-family: 'Open Sans', sans-serif;\n -webkit-font-smoothing: antialiased;\n .doc-type-description p {\n padding: 16px;\n font-size: 14px;\n }\n .field-name {\n color: #1f61a0;\n }\n .type-name {\n color: rgb(245, 160, 0);\n }\n .arg-name {\n color: #1f61a9;\n }\n code {\n font-family: 'Source Code Pro', monospace;\n border-radius: 2px;\n padding: 1px 2px;\n background: rgba(0, 0, 0, 0.06);\n }\n"],["\n background: white;\n outline: none;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n position: absolute;\n right: 0px;\n z-index: ",";\n height: 100%;\n font-family: 'Open Sans', sans-serif;\n -webkit-font-smoothing: antialiased;\n .doc-type-description p {\n padding: 16px;\n font-size: 14px;\n }\n .field-name {\n color: #1f61a0;\n }\n .type-name {\n color: rgb(245, 160, 0);\n }\n .arg-name {\n color: #1f61a9;\n }\n code {\n font-family: 'Source Code Pro', monospace;\n border-radius: 2px;\n padding: 1px 2px;\n background: rgba(0, 0, 0, 0.06);\n }\n"])),(function(e){return e.open?2e3:3})),k=m.styled.div(E||(E=i(["\n background: white;\n display: flex;\n position: relative;\n height: 100%;\n letter-spacing: 0.3px;\n box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.3);\n outline: none;\n &::before {\n top: 0;\n bottom: 0;\n background: ",";\n position: absolute;\n z-index: 3;\n left: 0px;\n content: '';\n width: 6px;\n }\n"],["\n background: white;\n display: flex;\n position: relative;\n height: 100%;\n letter-spacing: 0.3px;\n box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.3);\n outline: none;\n &::before {\n top: 0;\n bottom: 0;\n background: ",";\n position: absolute;\n z-index: 3;\n left: 0px;\n content: '';\n width: 6px;\n }\n"])),(function(e){return e.color?e.theme.colours[e.color]:"#3D5866"})),A=m.styled.div(D||(D=i(["\n cursor: col-resize;\n outline: none !important;\n height: 100%;\n left: -5px;\n position: absolute;\n top: 0;\n bottom: 0;\n width: 10px;\n z-index: 10;\n"],["\n cursor: col-resize;\n outline: none !important;\n height: 100%;\n left: -5px;\n position: absolute;\n top: 0;\n bottom: 0;\n width: 10px;\n z-index: 10;\n"]))),T=m.styled.div(C||(C=i(["\n position: absolute;\n outline: none !important;\n z-index: 2;\n height: 0;\n top: 129px;\n"],["\n position: absolute;\n outline: none !important;\n z-index: 2;\n height: 0;\n top: 129px;\n"]))),_=m.styled.div(w||(w=i(["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 20px;\n z-index: 1;\n pointer-events: none;\n content: '';\n background: ",";\n"],["\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 20px;\n z-index: 1;\n pointer-events: none;\n content: '';\n background: ",";\n"])),(function(e){return 0===e.index?"linear-gradient(\n\t\tto right,\n\t\trgba(255, 255, 255, 1) 30%,\n\t\trgba(255, 255, 255, 0))":"transparent"}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(65),a=n(24),s=n(80),u=n(145),c=n(75),l=n(28),p=n(81),f=n(26),d=n(217),h=n(426),m=n(427),g=n(428),v=n(38),y=function(e){function t(t){var n=e.call(this,t)||this;return n.setRef=function(e){n.ref=e},window.d=n,n}return r(t,e),t.prototype.componentWillReceiveProps=function(e){!this.props.schema&&e.schema&&this.setWidth(e)},t.prototype.setWidth=function(e){void 0===e&&(e=this.props),this.props.setWidth(e)},t.prototype.getWidth=function(e){return void 0===e&&(e=this.props),e.docs.docsWidth||c.columnWidth},t.prototype.componentDidMount=function(){this.setWidth()},t.prototype.render=function(){var e,t=this.props,n=t.schema,r=t.settings,o=t.isPollingSchema;return void 0===n?e=i.createElement(u.default,null):null===n&&(e=i.createElement(d.ErrorContainer,null,"No Schema Available")),i.createElement(h.SchemaExplorerContainer,{ref:this.setRef},e?i.createElement(h.SDLColumn,null,e):i.createElement(h.SDLColumn,{width:this.props.docs.docsWidth||c.columnWidth-1},i.createElement(m.default,{schema:n}),i.createElement(g.default,{schema:n,settings:r,isPollingSchema:o,width:this.props.docs.docsWidth||c.columnWidth})))},t}(i.Component),b=f.createStructuredSelector({settings:v.getSettings,docs:p.getSessionDocs,sessionId:l.getSelectedSessionIdFromRoot,isPollingSchema:l.getIsPollingSchema});t.default=a.connect(b,(function(e){return o.bindActionCreators({toggleDocs:s.toggleDocs,changeWidthDocs:s.changeWidthDocs,setDocsVisible:s.setDocsVisible},e)}),null,{forwardRef:!0})(y)},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8),a=n(75);t.SchemaExplorerContainer=o.styled.div(s||(s=r(["\n position: relative;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n align-items: stretch;\n padding: 0px 8px 8px 8px;\n background: ",";\n font-family: ",";\n font-size: ",";\n outline: none !important;\n"],["\n position: relative;\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n flex-wrap: wrap;\n align-items: stretch;\n padding: 0px 8px 8px 8px;\n background: ",";\n font-family: ",";\n font-size: ",";\n outline: none !important;\n"])),(function(e){return"dark"===e.theme.mode?e.theme.editorColours.editorBackground:"white"}),(function(e){return e.theme.settings["editor.fontFamily"]}),(function(e){return e.theme.settings["editor.fontSize"]+"px"}));t.SDLColumn=function(e){var t=e.children,n=e.width,r=void 0===n?a.columnWidth:n;return i.createElement(c,{style:{width:r}},t)};var s,u,c=o.styled("div")(u||(u=r(["\n display: flex;\n flex: 1 0 auto;\n flex-flow: column;\n padding-bottom: 20px;\n border-right: 1px solid ",";\n overflow: hidden;\n"],["\n display: flex;\n flex: 1 0 auto;\n flex-flow: column;\n padding-bottom: 20px;\n border-right: 1px solid ",";\n overflow: hidden;\n"])),(function(e){return e.theme.colours.black10}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(143),u=n(218),c=function(e){function t(t){var n=e.call(this,t)||this;return n.handleClick=function(e){if(!n.node.contains(e.target))return n.setState({open:!1})},n.showOptions=function(){n.setState({open:!n.state.open})},n.printSDL=function(){return u.downloadSchema(n.props.schema,"sdl")},n.printIntrospection=function(){return u.downloadSchema(n.props.schema,"json")},n.setRef=function(e){n.node=e},n.state={open:!1},n}return r(t,e),t.prototype.componentWillMount=function(){document.addEventListener("mousedown",this.handleClick,!1)},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleClick,!1)},t.prototype.render=function(){var e=this.state.open;return o.createElement(m,{ref:this.setRef},o.createElement(v,null,"Schema"),o.createElement(g,null,o.createElement(y,{onClick:this.showOptions,open:e},"Download"),e&&o.createElement(o.Fragment,null,o.createElement(b,{onClick:this.printIntrospection},"JSON"),o.createElement(b,{onClick:this.printSDL},"SDL"))))},t}(o.Component);t.default=c;var l,p,f,d,h,m=a.styled.div(l||(l=i(["\n display: flex;\n flex-direction: row;\n height: 64px;\n width: 100%;\n margin-right: 108px;\n align-items: center;\n justify-content: flex-start;\n outline: none;\n user-select: none;\n"],["\n display: flex;\n flex-direction: row;\n height: 64px;\n width: 100%;\n margin-right: 108px;\n align-items: center;\n justify-content: flex-start;\n outline: none;\n user-select: none;\n"]))),g=a.styled.div(p||(p=i(["\n position: absolute;\n top: 16px;\n right: 2em;\n width: 108px;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n"],["\n position: absolute;\n top: 16px;\n right: 2em;\n width: 108px;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n"]))),v=a.styled.div(f||(f=i(["\n color: ",";\n cursor: default;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase !important;\n font-family: 'Open Sans', sans-serif !important;\n letter-spacing: 1px;\n user-select: none !important;\n padding: 16px;\n padding-right: 5px;\n"],["\n color: ",";\n cursor: default;\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase !important;\n font-family: 'Open Sans', sans-serif !important;\n letter-spacing: 1px;\n user-select: none !important;\n padding: 16px;\n padding-right: 5px;\n"])),(function(e){return x(e).title})),y=a.styled(s.Button)(d||(d=i(["\n flex: 1;\n color: ",";\n background: ",";\n height: 32px;\n border-radius: 2px;\n &:hover {\n color: ",";\n background-color: ",";\n }\n"],["\n flex: 1;\n color: ",";\n background: ",";\n height: 32px;\n border-radius: 2px;\n &:hover {\n color: ",";\n background-color: ",";\n }\n"])),(function(e){return x(e).download.text}),(function(e){return x(e).download.button}),(function(e){return x(e).buttonTextHover}),(function(e){return x(e).buttonHover})),b=a.styled(y)(h||(h=i(["\n text-align: left;\n width: 100%;\n margin-left: 0px;\n border-radius: 0px;\n z-index: 2000;\n background: ",";\n"],["\n text-align: left;\n width: 100%;\n margin-left: 0px;\n border-radius: 0px;\n z-index: 2000;\n background: ",";\n"])),(function(e){return x(e).button})),x=function(e){return"dark"===e.theme.mode?{title:"white",subtitle:"#8B959C",download:{text:e.open?"#8B959C":"white",button:e.theme.colours.darkBlue},buttonText:"white",button:e.theme.colours.darkBlue,buttonHover:"#2B3C48",buttonTextHover:"white"}:{title:e.theme.colours.darkBlue,subtitle:"rgba(61, 88, 102, 0.5)",download:{text:e.open?"rgba(61, 88, 102, 0.5)":e.theme.colours.darkBlue,button:"#f6f6f6"},buttonText:e.theme.colours.darkBlue,button:"#f6f6f6",buttonHover:"#EDEDED",buttonTextHover:e.theme.colours.darkBlue}}},function(e,t,n){"use strict";(function(e){var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(22),s=n(76),u=n(8),c=n(218),l=function(t){function i(e){var n=t.call(this,e)||this;return n.handleScroll=function(e){return e.doc.scrollTop>0?n.setState({overflowY:!0}):n.setState({overflowY:!1})},n.setRef=function(e){n.node=e},n.state={overflowY:!1},n.cachedValue=e.value||"",n.props.getRef&&n.props.getRef(n),n}return r(i,t),i.prototype.componentDidMount=function(){var t=n(14);n(96),n(202),n(207);var r=[];r.push("CodeMirror-linenumbers"),this.editor=t(this.node,{autofocus:!1,value:c.getSDL(this.props.schema,this.props.settings["schema.disableComments"])||"",lineNumbers:!1,showCursorWhenSelecting:!1,tabSize:1,mode:"graphql",theme:"graphiql",keyMap:"sublime",readOnly:!0,gutters:r}),e.editor=this.editor,this.editor.on("scroll",this.handleScroll),this.editor.refresh()},i.prototype.componentDidUpdate=function(e){var t=n(14);if((this.props.schema&&a.printSchema(this.props.schema))!==(e.schema&&a.printSchema(e.schema))){var r=this.editor.getScrollInfo();this.cachedValue=c.getSDL(this.props.schema,this.props.settings["schema.disableComments"])||"",this.editor.setValue(c.getSDL(this.props.schema,this.props.settings["schema.disableComments"])),this.props.isPollingSchema&&this.editor.scrollTo(r.left,r.top),t.signal(this.editor,"change",this.editor)}this.props.width!==e.width&&this.editor.refresh(),this.props.settings["schema.disableComments"]!==e.settings["schema.disableComments"]&&this.editor.refresh()},i.prototype.componentWillReceiveProps=function(e){this.props.sessionId!==e.sessionId&&this.editor.scrollTo(0,0)},i.prototype.componentWillUnmount=function(){this.editor.off("scroll"),this.editor=null},i.prototype.render=function(){var e=this.state.overflowY;return o.createElement(s.default,null,e&&o.createElement(h,null),o.createElement(d,{ref:this.setRef}))},i.prototype.getCodeMirror=function(){return this.editor},i.prototype.getClientHeight=function(){return this.node&&this.node.clientHeight},i}(o.PureComponent);t.default=l;var p,f,d=u.styled.div(p||(p=i(["\n flex: 1;\n height: auto;\n overflow-x: hidden;\n overflow-y: scroll;\n .CodeMirror {\n background: ",";\n padding-left: 20px;\n }\n"],["\n flex: 1;\n height: auto;\n overflow-x: hidden;\n overflow-y: scroll;\n .CodeMirror {\n background: ",";\n padding-left: 20px;\n }\n"])),(function(e){return"dark"===e.theme.mode?e.theme.editorColours.editorBackground:"white"})),h=u.styled.div(f||(f=i(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n box-shadow: 0px 1px 3px rgba(17, 17, 17, 0.1);\n z-index: 1000;\n"],["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 1px;\n box-shadow: 0px 1px 3px rgba(17, 17, 17, 0.1);\n z-index: 1000;\n"])))}).call(this,n(37))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(65),s=n(24),u=n(216),c=n(430),l=n(224),p=n(80),f=n(145),d=n(75),h=n(484),m=n(101),g=n(81),v=n(28),y=n(26),b=n(217),x=n(8),E=function(e){function t(t){var n=e.call(this,t)||this;return n.setRef=function(e){n.ref=e},n.showDocFromType=function(e){n.props.addStack(n.props.sessionId,e,0,0)},n.handleSearch=function(e){n.setState({searchValue:e})},n.handleKeyDown=function(e){if(!(e.target instanceof HTMLInputElement||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)){e.preventDefault(),n.props.changeKeyMove(n.props.sessionId,!0);var t=n.props.docs.navStack.length>0&&n.props.docs.navStack[n.props.docs.navStack.length-1],r=n.props.docs.navStack.length>0&&n.props.docs.navStack[n.props.docs.navStack.length-2],i=u(e);switch(i){case"esc":n.props.setDocsVisible(n.props.sessionId,!1);break;case"left":r&&n.props.addStack(n.props.sessionId,r.field,r.x,r.y);break;case"right":if(t){var o=m.serialize(n.props.schema,t.field),a=m.getElement(o,0);a&&n.props.addStack(n.props.sessionId,a,t.x+1,0)}else{o=m.serializeRoot(n.props.schema);(s=m.getElementRoot(o,0))&&n.props.addStack(n.props.sessionId,s,0,0)}break;case"up":case"down":if(r){o=m.serialize(n.props.schema,r.field);(s=m.getElement(o,"up"===i?t.y-1:t.y+1))&&n.props.addStack(n.props.sessionId,s,t.x,"up"===i?t.y-1:t.y+1)}else{o=m.serializeRoot(n.props.schema);var s,c=t?t.y:0;(s=m.getElementRoot(o,"up"===i?c-1:c+1))&&n.props.addStack(n.props.sessionId,s,0,"up"===i?c-1:c+1)}}}},n.state={searchValue:"",widthMap:{}},window.d=n,n}return r(t,e),t.prototype.componentWillReceiveProps=function(e){(this.props.docs.navStack.length!==e.docs.navStack.length||this.props.docs.navStack.slice(-1)[0]!==e.docs.navStack.slice(-1)[0]||!this.props.schema&&e.schema)&&this.setWidth(e)},t.prototype.setWidth=function(e){void 0===e&&(e=this.props),this.props.setWidth(e)},t.prototype.getWidth=function(e){var t=this;void 0===e&&(e=this.props);var n=this.state.widthMap.root||d.columnWidth,r=e.docs.navStack.map((function(e){return t.state.widthMap[e.field.path]||d.columnWidth}));return[n].concat(r).reduce((function(e,t){return e+t}),0)},t.prototype.componentDidMount=function(){this.setWidth()},t.prototype.render=function(){var e,t=this,n=this.props.docs.navStack,r=this.props.schema;return void 0===r?e=o.createElement(f.default,null):null===r&&(e=o.createElement(b.ErrorContainer,null,"No Schema Available")),o.createElement(w,{onKeyDown:this.handleKeyDown,tabIndex:0,ref:this.setRef},e&&o.createElement(l.default,null,e),!e&&r&&o.createElement(h.default,{schema:r,width:this.state.widthMap.root||d.columnWidth-1,searchValue:this.state.searchValue,handleSearch:this.handleSearch,sessionId:this.props.sessionId}),n.map((function(e,n){return o.createElement(l.default,{key:n,width:t.state.widthMap[e.field.path]||d.columnWidth},o.createElement(c.default,{schema:r,field:e.field,level:n+1,sessionId:t.props.sessionId}))})))},t}(o.Component),D=y.createStructuredSelector({docs:g.getSessionDocs,sessionId:v.getSelectedSessionIdFromRoot});t.default=s.connect(D,(function(e){return a.bindActionCreators({addStack:p.addStack,toggleDocs:p.toggleDocs,changeWidthDocs:p.changeWidthDocs,changeKeyMove:p.changeKeyMove,setDocsVisible:p.setDocsVisible},e)}),null,{forwardRef:!0})(E);var C,w=x.styled.div(C||(C=i(["\n display: flex;\n position: relative;\n height: 100%;\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n outline: none !important;\n"],["\n display: flex;\n position: relative;\n height: 100%;\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n outline: none !important;\n"])))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(431),s=n(22),u=n(433),c=n(84),l=n(480),p=n(481),f=n(482),d=n(483),h=n(101),m=n(223),g=n(8),v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={showDeprecated:!1},t.setRef=function(e){t.ref=e},t}return r(t,e),t.prototype.componentDidMount=function(){this.scrollToRight()},t.prototype.shouldComponentUpdate=function(e){return this.props.field!==e.field&&(this.scrollToRight(),!0)},t.prototype.scrollToRight=function(){var e=this.ref,t=e.parentNode&&e.parentNode.parentNode;x(t,t.scrollWidth,50)},t.prototype.render=function(){var e=this,t=this.props,n=t.schema,r=t.field,i=t.level,u=r.type||r,g=h.serialize(n,r);u=h.getDeeperType(u);var v,y=g.fields.length+g.interfaces.length,b=g.fields.length+g.interfaces.length+g.args.length;return v=u instanceof s.GraphQLInterfaceType?"interface":u instanceof s.GraphQLUnionType?"union":u instanceof s.GraphQLEnumType?"enum":"type",o.createElement("div",{ref:this.setRef},o.createElement(E,null,o.createElement(c.default,{type:r,x:i,y:-1,clickable:!1,lastActive:!1})),o.createElement(D,{className:"doc-type-description",markdown:r.description||""}),o.createElement(m.CategoryTitle,null,v+" details"),u.description&&u.description.length>0&&o.createElement(D,{markdown:u.description||""}),u instanceof s.GraphQLScalarType&&o.createElement(p.default,{type:u}),u instanceof s.GraphQLEnumType&&o.createElement(f.default,{type:u}),u instanceof s.GraphQLUnionType&&o.createElement(d.default,{type:u,schema:n,level:i,sessionId:this.props.sessionId}),g.fields&&g.fields.length>0&&o.createElement(l.default,{type:u,fields:g.fields,interfaces:g.interfaces,level:i,sessionId:this.props.sessionId}),g.args&&g.args.length>0&&o.createElement("div",null,o.createElement(m.CategoryTitle,null,"arguments"),g.args.map((function(t,n){return o.createElement("div",{key:t.name},o.createElement("div",null,o.createElement(a.default,{arg:t,x:i,y:n+y,sessionId:e.props.sessionId})))}))),g.implementations&&g.implementations.length>0&&o.createElement("div",null,o.createElement(m.CategoryTitle,null,"implementations"),g.implementations.map((function(e,t){return o.createElement(c.default,{key:e.name,type:e,x:i,y:t+b,collapsable:!0,lastActive:!1})}))))},t}(o.Component);t.default=v;var y,b,x=function e(t,n,r){if(!(r<=0)){var i=(n-t.scrollLeft)/r*10;setTimeout((function(){t.scrollLeft=t.scrollLeft+i,t.scrollLeft!==n&&e(t,n,r-10)}),10)}},E=g.styled.div(y||(y=i(["\n background: ",";\n padding-top: 20px;\n padding-bottom: 10px;\n\n .doc-category-item {\n font-size: 14px;\n font-weight: 600;\n word-wrap: break-word;\n }\n .doc-category-item .field-name {\n color: #f25c54;\n }\n div {\n background: transparent;\n pointer-events: none;\n }\n"],["\n background: ",";\n padding-top: 20px;\n padding-bottom: 10px;\n\n .doc-category-item {\n font-size: 14px;\n font-weight: 600;\n word-wrap: break-word;\n }\n .doc-category-item .field-name {\n color: #f25c54;\n }\n div {\n background: transparent;\n pointer-events: none;\n }\n"])),(function(e){return e.theme.colours.black02})),D=g.styled(u.default)(b||(b=i(["\n font-size: 14px;\n padding: 0 16px 20px 16px;\n color: rgba(0, 0, 0, 0.5);\n"],["\n font-size: 14px;\n padding: 0 16px 20px 16px;\n color: rgba(0, 0, 0, 0.5);\n"])))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(22),o=n(84);t.default=function(e){var t=e.arg,n=e.showDefaultValue,a=e.x,s=e.y;return r.createElement("span",null,r.createElement(o.default,{type:t,x:a,y:s,lastActive:!1,afterNode:void 0!==t.defaultValue&&!1!==n&&r.createElement("span",null," = ",r.createElement("span",{className:"arg-default-value"},i.print(i.astFromValue(t.defaultValue,t.type))))}))}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(22),a=n(8);t.default=function(e){var t=e.arg,n=e.showDefaultValue;return i.createElement(u,null,i.createElement("span",{className:"arg-name"},t.name),": ",i.createElement("span",{className:"type-name"},function e(t){if(t instanceof o.GraphQLNonNull)return i.createElement("span",null,e(t.ofType),"!");if(t instanceof o.GraphQLList)return i.createElement("span",null,"[",e(t.ofType),"]");return i.createElement("span",null,t.name)}(t.type)),void 0!==t.defaultValue&&!1!==n&&i.createElement("span",null," = ",i.createElement("span",{className:"arg-default-value"},o.print(o.astFromValue(t.defaultValue,t.type)))))};var s,u=a.styled.div(s||(s=r(["\n margin-left: 16px;\n"],["\n margin-left: 16px;\n"])))},function(e,t,n){"use strict";var r=n(111),i=n(112),o=n(182),a=n(183);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=c(n(3)),u=c(n(60));function c(e){return e&&e.__esModule?e:{default:e}}var l,p,f,d=new(c(n(434)).default),h=function(e){o(n,e);var t=a(n);function n(){return r(this,n),t.apply(this,arguments)}return i(n,[{key:"shouldComponentUpdate",value:function(e){return this.props.markdown!==e.markdown}},{key:"render",value:function(){var e=this.props.markdown;return e?s.default.createElement("div",{className:this.props.className,dangerouslySetInnerHTML:{__html:d.render(e)}}):s.default.createElement("div",null)}}]),n}(s.default.Component);t.default=h,l=h,p="propTypes",f={markdown:u.default.string,className:u.default.string},p in l?Object.defineProperty(l,p,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[p]=f},function(e,t,n){"use strict";e.exports=n(435)},function(e,t,n){"use strict";var r=n(21),i=n(437),o=n(441),a=n(442),s=n(450),u=n(464),c=n(199),l=n(118),p=n(200),f={default:n(477),zero:n(478),commonmark:n(479)},d=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!d.test(t)||!!h.test(t)}var g=["http:","https:","mailto:"];function v(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return l.encode(l.format(t))}function y(e){var t=l.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return l.decode(l.format(t))}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=m,this.normalizeLink=v,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},function(e){e.exports=JSON.parse('{"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":"\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","Edot":"\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":"\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","minus":"\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":"\u03bd","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":"\u03f1","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":"\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","xodot":"\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,t,n){"use strict";t.parseLinkLabel=n(438),t.parseLinkDestination=n(439),t.parseLinkTitle=n(440)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,s=-1,u=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<u;){if(93===(o=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}},function(e,t,n){"use strict";var r=n(21).unescapeAll;e.exports=function(e,t,n){var i,o,a=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t)))return s;if(62===i)return s.pos=t+1,s.str=r(e.slice(a+1,t)),s.ok=!0,s;92===i&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<n)t+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}t++}return a===t||0!==o||(s.str=r(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},function(e,t,n){"use strict";var r=n(21).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,s=t,u={ok:!1,pos:0,lines:0,str:""};if(t>=n)return u;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return u;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return u.pos=t+1,u.lines=a,u.str=r(e.slice(s+1,t)),u.ok=!0,u;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return u}},function(e,t,n){"use strict";var r=n(21).assign,i=n(21).unescapeAll,o=n(21).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,i){var a=e[t];return"<code"+i.renderAttrs(a)+">"+o(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,i){var a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+o(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var s,u,c,l,p=e[t],f=p.info?i(p.info).trim():"",d="";return f&&(d=f.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(p.content,d)||o(p.content)).indexOf("<pre")?s+"\n":f?(u=p.attrIndex("class"),c=p.attrs?p.attrs.slice():[],u<0?c.push(["class",n.langPrefix+d]):c[u][1]+=" "+n.langPrefix+d,l={attrs:c},"<pre><code"+a.renderAttrs(l)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+o(e.attrs[t][0])+'="'+o(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a<s;a++)"undefined"!==typeof o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,o=e.length;i<o;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},s.prototype.render=function(e,t,n){var r,i,o,a="",s=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):"undefined"!==typeof s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=s},function(e,t,n){"use strict";var r=n(146),i=[["normalize",n(443)],["block",n(444)],["inline",n(445)],["linkify",n(446)],["replacements",n(447)],["smartquotes",n(448)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}o.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},o.prototype.State=n(449),e.exports=o},function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"\ufffd"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(21).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E=e.tokens;if(e.md.options.linkify)for(n=0,o=E.length;n<o;n++)if("inline"===E[n].type&&e.md.linkify.pretest(E[n].content))for(m=0,t=(a=E[n].children).length-1;t>=0;t--)if("link_close"!==(u=a[t]).type){if("html_inline"===u.type&&(x=u.content,/^<a[>\s]/i.test(x)&&m>0&&m--,i(u.content)&&m++),!(m>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(p=u.content,b=e.md.linkify.match(p),c=[],h=u.level,d=0,l=0;l<b.length;l++)g=b[l].url,v=e.md.normalizeLink(g),e.md.validateLink(v)&&(y=b[l].text,y=b[l].schema?"mailto:"!==b[l].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(f=b[l].index)>d&&((s=new e.Token("text","",0)).content=p.slice(d,f),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",v]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=y,s.level=h,c.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",c.push(s),d=b[l].lastIndex);d<p.length&&((s=new e.Token("text","",0)).content=p.slice(d),s.level=h,c.push(s)),E[n].children=a=r(a,t,c)}}else for(t--;a[t].level!==u.level&&"link_open"!==a[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(e,t){return a[t.toLowerCase()]}function u(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function c(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&u(e.tokens[t].children),r.test(e.tokens[t].content)&&c(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(21).isWhiteSpace,i=n(21).isPunctChar,o=n(21).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S,k,A;for(S=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,C=S.length-1;C>=0&&!(S[C].level<=d);C--);if(S.length=C+1,"text"===a.type){p=0,f=(c=a.content).length;e:for(;p<f&&(s.lastIndex=p,l=s.exec(c));){if(E=D=!0,p=l.index+1,w="'"===l[0],m=32,l.index-1>=0)m=c.charCodeAt(l.index-1);else for(C=n-1;C>=0&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C--)if("text"===e[C].type){m=e[C].content.charCodeAt(e[C].content.length-1);break}if(g=32,p<f)g=c.charCodeAt(p);else for(C=n+1;C<e.length&&("softbreak"!==e[C].type&&"hardbreak"!==e[C].type);C++)if("text"===e[C].type){g=e[C].content.charCodeAt(0);break}if(v=o(m)||i(String.fromCharCode(m)),y=o(g)||i(String.fromCharCode(g)),b=r(m),(x=r(g))?E=!1:y&&(b||v||(E=!1)),b?D=!1:v&&(x||y||(D=!1)),34===g&&'"'===l[0]&&m>=48&&m<=57&&(D=E=!1),E&&D&&(E=!1,D=y),E||D){if(D)for(C=S.length-1;C>=0&&(h=S[C],!(S[C].level<d));C--)if(h.single===w&&S[C].level===d){h=S[C],w?(k=t.md.options.quotes[2],A=t.md.options.quotes[3]):(k=t.md.options.quotes[0],A=t.md.options.quotes[1]),a.content=u(a.content,l.index,A),e[h.token].content=u(e[h.token].content,h.pos,k),p+=A.length-1,h.token===n&&(p+=k.length-1),f=(c=a.content).length,S.length=C;continue e}E?S.push({token:n,pos:l.index,single:w,level:d}):D&&w&&(a.content=u(a.content,l.index,"\u2019"))}else w&&(a.content=u(a.content,l.index,"\u2019"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(147);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(146),i=[["table",n(451),["paragraph","reference"]],["code",n(452)],["fence",n(453),["paragraph","reference","blockquote","list"]],["blockquote",n(454),["paragraph","reference","blockquote","list"]],["hr",n(455),["paragraph","reference","blockquote","list"]],["list",n(456),["paragraph","reference","blockquote"]],["reference",n(457)],["heading",n(458),["paragraph","reference","blockquote"]],["lheading",n(459)],["html_block",n(460),["paragraph","reference","blockquote"]],["paragraph",n(462)]];function o(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}o.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,u=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=u){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},o.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},o.prototype.State=n(463),e.exports=o},function(e,t,n){"use strict";var r=n(21).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,u=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,u=r):o%2===0&&(s=!0,u=r):124!==t||o%2!==0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&s&&(s=!1,r=u+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,t,n,a){var s,u,c,l,p,f,d,h,m,g,v,y;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((c=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[p];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(f=(u=i(e,t+1)).split("|"),m=[],l=0;l<f.length;l++){if(!(g=f[l].trim())){if(0===l||l===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?m.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?m.push("left"):m.push("")}if(-1===(u=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(f=o(u.replace(/^\||\|$/g,""))).length)>m.length)return!1;if(a)return!0;for((h=e.push("table_open","table",1)).map=v=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],l=0;l<f.length;l++)(h=e.push("th_open","th",1)).map=[t,t+1],m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=e.push("inline","",0)).content=f[l].trim(),h.map=[t,t+1],h.children=[],h=e.push("th_close","th",-1);for(h=e.push("tr_close","tr",-1),h=e.push("thead_close","thead",-1),(h=e.push("tbody_open","tbody",1)).map=y=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(u=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(f=o(u.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),l=0;l<d;l++)h=e.push("td_open","td",1),m[l]&&(h.attrs=[["style","text-align:"+m[l]]]),(h=e.push("inline","",0)).content=f[l]?f[l].trim():"",h.children=[],h=e.push("td_close","td",-1);h=e.push("tr_close","tr",-1)}return h=e.push("tbody_close","tbody",-1),h=e.push("table_close","table",-1),v[1]=y[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o,a,s,u,c,l,p=!1,f=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>d)return!1;if(126!==(i=e.src.charCodeAt(f))&&96!==i)return!1;if(u=f,(o=(f=e.skipChars(f,i))-u)<3)return!1;if(l=e.src.slice(u,f),a=e.src.slice(f,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((f=u=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(f)===i&&!(e.sCount[s]-e.blkIndent>=4)&&!((f=e.skipChars(f,i))-u<o)&&!((f=e.skipSpaces(f))<d)){p=!0;break}return o=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=l,c.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(21).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S=e.lineMax,k=e.bMarks[t]+e.tShift[t],A=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(k++))return!1;if(i)return!0;for(u=d=e.sCount[t]+k-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(k)?(k++,u++,d++,o=!1,x=!0):9===e.src.charCodeAt(k)?(x=!0,(e.bsCount[t]+d)%4===3?(k++,u++,d++,o=!1):o=!0):x=!1,h=[e.bMarks[t]],e.bMarks[t]=k;k<A&&(a=e.src.charCodeAt(k),r(a));)9===a?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,k++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(x?1:0),l=k>=A,y=[e.sCount[t]],e.sCount[t]=d-u,b=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],D=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",w=!1,f=t+1;f<n&&(e.sCount[f]<e.blkIndent&&(w=!0),!((k=e.bMarks[f]+e.tShift[f])>=(A=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(k++)||w){if(l)break;for(E=!1,s=0,c=D.length;s<c;s++)if(D[s](e,f,n,!0)){E=!0;break}if(E){e.lineMax=f,0!==e.blkIndent&&(h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]-=e.blkIndent);break}h.push(e.bMarks[f]),m.push(e.bsCount[f]),b.push(e.tShift[f]),y.push(e.sCount[f]),e.sCount[f]=-1}else{for(u=d=e.sCount[f]+k-(e.bMarks[f]+e.tShift[f]),32===e.src.charCodeAt(k)?(k++,u++,d++,o=!1,x=!0):9===e.src.charCodeAt(k)?(x=!0,(e.bsCount[f]+d)%4===3?(k++,u++,d++,o=!1):o=!0):x=!1,h.push(e.bMarks[f]),e.bMarks[f]=k;k<A&&(a=e.src.charCodeAt(k),r(a));)9===a?d+=4-(d+e.bsCount[f]+(o?1:0))%4:d++,k++;l=k>=A,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(x?1:0),y.push(e.sCount[f]),e.sCount[f]=d-u,b.push(e.tShift[f]),e.tShift[f]=k-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=p=[t,0],e.md.block.tokenize(e,t,f),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=v,p[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=y[s],e.bsCount[s+t]=m[s];return e.blkIndent=g,!0}},function(e,t,n){"use strict";var r=n(21).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<l;){if((s=e.src.charCodeAt(c++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(i||(e.line=t+1,(u=e.push("hr","hr",0)).map=[t,e.line],u.markup=Array(a+1).join(String.fromCharCode(o))),!0)}},function(e,t,n){"use strict";var r=n(21).isSpace;function i(e,t){var n,i,o,a;return i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n||i<o&&(a=e.src.charCodeAt(i),!r(a))?-1:i}function o(e,t){var n,i=e.bMarks[t]+e.tShift[t],o=i,a=e.eMarks[t];if(o+1>=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o<a&&(n=e.src.charCodeAt(o),!r(n))?-1:o}e.exports=function(e,t,n,r){var a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D,C,w,S,k,A,T,_,O,F,N,I,M=!1,j=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(M=!0),(T=o(e,t))>=0){if(f=!0,O=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(O,T-O-1)),M&&1!==y)return!1}else{if(!((T=i(e,t))>=0))return!1;f=!1}if(M&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(T-1),r)return!0;for(g=e.tokens.length,f?(I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=m=[t,0],I.markup=String.fromCharCode(v),x=t,_=!1,N=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x<n;){for(A=T,b=e.eMarks[x],p=E=e.sCount[x]+T-(e.bMarks[t]+e.tShift[t]);A<b;){if(9===(a=e.src.charCodeAt(A)))E+=4-(E+e.bsCount[x])%4;else{if(32!==a)break;E++}A++}if((l=(s=A)>=b?1:E-p)>4&&(l=1),c=p+l,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(v),I.map=d=[t,0],k=e.tight,S=e.tShift[t],w=e.sCount[t],D=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!_||(j=!1),_=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=D,e.tShift[t]=S,e.sCount[t]=w,e.tight=k,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(v),x=t=e.line,d[1]=x,s=e.bMarks[t],x>=n)break;if(e.sCount[x]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(F=!1,u=0,h=N.length;u<h;u++)if(N[u](e,x,n,!0)){F=!0;break}if(F)break;if(f){if((T=o(e,x))<0)break}else if((T=i(e,x))<0)break;if(v!==e.src.charCodeAt(T-1))break}return(I=f?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),m[1]=x,e.line=x,e.parentType=C,j&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,g),!0}},function(e,t,n){"use strict";var r=n(21).normalizeReference,i=n(21).isSpace;e.exports=function(e,t,n,o){var a,s,u,c,l,p,f,d,h,m,g,v,y,b,x,E,D=0,C=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C<w;)if(93===e.src.charCodeAt(C)&&92!==e.src.charCodeAt(C-1)){if(C+1===w)return!1;if(58!==e.src.charCodeAt(C+1))return!1;break}for(c=e.lineMax,x=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";S<c&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3)&&!(e.sCount[S]<0)){for(b=!1,p=0,f=x.length;p<f;p++)if(x[p](e,S,c,!0)){b=!0;break}if(b)break}for(w=(y=e.getLines(t,S,e.blkIndent,!1).trim()).length,C=1;C<w;C++){if(91===(a=y.charCodeAt(C)))return!1;if(93===a){h=C;break}(10===a||92===a&&++C<w&&10===y.charCodeAt(C))&&D++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(C=h+2;C<w;C++)if(10===(a=y.charCodeAt(C)))D++;else if(!i(a))break;if(!(g=e.md.helpers.parseLinkDestination(y,C,w)).ok)return!1;if(l=e.md.normalizeLink(g.str),!e.md.validateLink(l))return!1;for(s=C=g.pos,u=D+=g.lines,v=C;C<w;C++)if(10===(a=y.charCodeAt(C)))D++;else if(!i(a))break;for(g=e.md.helpers.parseLinkTitle(y,C,w),C<w&&v!==C&&g.ok?(E=g.str,C=g.pos,D+=g.lines):(E="",C=s,D=u);C<w&&(a=y.charCodeAt(C),i(a));)C++;if(C<w&&10!==y.charCodeAt(C)&&E)for(E="",C=s,D=u;C<w&&(a=y.charCodeAt(C),i(a));)C++;return!(C<w&&10!==y.charCodeAt(C))&&(!!(d=r(y.slice(1,h)))&&(o||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[d]&&(e.env.references[d]={title:E,href:l}),e.parentType=m,e.line=t+D+1),!0))}},function(e,t,n){"use strict";var r=n(21).isSpace;e.exports=function(e,t,n,i){var o,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=l)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<l&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<l&&!r(o))&&(i||(l=e.skipSpacesBack(l,c),(s=e.skipCharsBack(l,35,c))>c&&r(e.src.charCodeAt(s-1))&&(l=s),e.line=t+1,(u=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),u.map=[t,e.line],(u=e.push("inline","",0)).content=e.src.slice(c,l).trim(),u.map=[t,e.line],u.children=[],(u=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a)),!0)}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,s,u,c,l,p,f,d=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(f=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(u=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(u))||61===p)&&(u=e.skipChars(u,p),(u=e.skipSpaces(u))>=c)){l=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!l&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push("heading_open","h"+String(l),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(l),-1)).markup=String.fromCharCode(p),e.parentType=f,!0)}},function(e,t,n){"use strict";var r=n(461),i=n(220).HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,s,u,c=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(u=e.src.slice(c,l),i=0;i<o.length&&!o[i][0].test(u);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(u))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],l=e.eMarks[a],u=e.src.slice(c,l),o[i][1].test(u)){0!==u.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax;for(s=e.parentType,e.parentType="paragraph";u<l&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,u,l,!0)){r=!0;break}if(r)break}return n=e.getLines(t,u,e.blkIndent,!1).trim(),e.line=u,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},function(e,t,n){"use strict";var r=n(147),i=n(21).isSpace;function o(e,t,n,r){var o,a,s,u,c,l,p,f;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",f=!1,s=u=l=p=0,c=(a=this.src).length;u<c;u++){if(o=a.charCodeAt(u),!f){if(i(o)){l++,9===o?p+=4-p%4:p++;continue}f=!0}10!==o&&u!==c-1||(10!==o&&u++,this.bMarks.push(s),this.eMarks.push(u),this.tShift.push(l),this.sCount.push(p),this.bsCount.push(0),f=!1,l=0,p=0,s=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},o.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},o.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},o.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,s,u,c,l,p,f=e;if(e>=t)return"";for(l=new Array(t-e),o=0;f<t;f++,o++){for(a=0,p=u=this.bMarks[f],c=f+1<t||r?this.eMarks[f]+1:this.eMarks[f];u<c&&a<n;){if(s=this.src.charCodeAt(u),i(s))9===s?a+=4-(a+this.bsCount[f])%4:a++;else{if(!(u-p<this.tShift[f]))break;a++}u++}l[o]=a>n?new Array(a-n+1).join(" ")+this.src.slice(u,c):this.src.slice(u,c)}return l.join("")},o.prototype.Token=r,e.exports=o},function(e,t,n){"use strict";var r=n(146),i=[["text",n(465)],["newline",n(466)],["escape",n(467)],["backticks",n(468)],["strikethrough",n(221).tokenize],["emphasis",n(222).tokenize],["link",n(469)],["image",n(470)],["autolink",n(471)],["html_inline",n(472)],["entity",n(473)]],o=[["balance_pairs",n(474)],["strikethrough",n(221).postProcess],["emphasis",n(222).postProcess],["text_collapse",n(475)]];function a(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<o.length;e++)this.ruler2.push(o[e][0],o[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](s)},a.prototype.State=n(476),e.exports=a},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(21).isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<i&&r(e.src.charCodeAt(o));)o++;return e.pos=o,!0}},function(e,t,n){"use strict";for(var r=n(21).isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((n=e.src.charCodeAt(o))<256&&0!==i[n])return t||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),o++;o<a&&(n=e.src.charCodeAt(o),r(n));)o++;return e.pos=o,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,o,a,s,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;for(i=e.src.slice(n,u),o=a=u;-1!==(o=e.src.indexOf("`",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push("code_inline","code",0)).markup=i,s.content=e.src.slice(u,o).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(21).normalizeReference,i=n(21).isSpace;e.exports=function(e,t){var n,o,a,s,u,c,l,p,f,d="",h=e.pos,m=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(v=!1,c++;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=m)return!1;for(g=c,(l=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(d=e.md.normalizeLink(l.str),e.md.validateLink(d)?c=l.pos:d=""),g=c;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(l=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&g!==c&&l.ok)for(f=l.str,c=l.pos;c<m&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else f="";(c>=m||41!==e.src.charCodeAt(c))&&(v=!0),c++}if(v){if("undefined"===typeof e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(g,c++):c=s+1):c=s+1,a||(a=e.src.slice(u,s)),!(p=e.env.references[r(a)]))return e.pos=h,!1;d=p.href,f=p.title}return t||(e.pos=u,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],f&&n.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},function(e,t,n){"use strict";var r=n(21).normalizeReference,i=n(21).isSpace;e.exports=function(e,t){var n,o,a,s,u,c,l,p,f,d,h,m,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=u+1)<b&&40===e.src.charCodeAt(l)){for(l++;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(l>=b)return!1;for(g=l,(f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?l=f.pos:v=""),g=l;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<b&&g!==l&&f.ok)for(d=f.str,l=f.pos;l<b&&(o=e.src.charCodeAt(l),i(o)||10===o);l++);else d="";if(l>=b||41!==e.src.charCodeAt(l))return e.pos=y,!1;l++}else{if("undefined"===typeof e.env.references)return!1;if(l<b&&91===e.src.charCodeAt(l)?(g=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(g,l++):l=u+1):l=u+1,s||(s=e.src.slice(c,u)),!(p=e.env.references[r(s)]))return e.pos=y,!1;v=p.href,d=p.title}return t||(a=e.src.slice(c,u),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,d&&n.push(["title",d])),e.pos=l,e.posMax=b,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,o,a,s,u,c,l=e.pos;return 60===e.src.charCodeAt(l)&&(!((n=e.src.slice(l)).indexOf(">")<0)&&(i.test(n)?(s=(o=n.match(i))[0].slice(1,-1),u=e.md.normalizeLink(s),!!e.md.validateLink(u)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(s=(a=n.match(r))[0].slice(1,-1),u=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(u)&&(t||((c=e.push("link_open","a",1)).attrs=[["href",u]],c.markup="autolink",c.info="auto",(c=e.push("text","",0)).content=e.md.normalizeLinkText(s),(c=e.push("link_close","a",-1)).markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(220).HTML_TAG_RE;e.exports=function(e,t){var n,i,o,a=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(a).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(219),i=n(21).has,o=n(21).isValidEntityCode,a=n(21).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,u=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,l=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(l))return!1;if(l+1<p)if(35===e.src.charCodeAt(l+1)){if(c=e.src.slice(l).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(l).match(u))&&i(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s,u,c,l={},p=t.length;for(n=0;n<p;n++)if((i=t[n]).length=i.length||0,i.close){for(l.hasOwnProperty(i.marker)||(l[i.marker]=[-1,-1,-1]),a=l[i.marker][i.length%3],s=-1,r=n-i.jump-1;r>a;r-=o.jump+1)if((o=t[r]).marker===i.marker&&(-1===s&&(s=r),o.open&&o.end<0&&o.level===i.level&&(u=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(u=!0)),!u))){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+c,i.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(l[i.marker][(i.length||0)%3]=s)}}e.exports=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(0,e.delimiters),t=0;t<i;t++)n[t]&&n[t].delimiters&&r(0,n[t].delimiters)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(147),i=n(21).isWhiteSpace,o=n(21).isPunctChar,a=n(21).isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var n,r,s,u,c,l,p,f,d,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<v&&this.src.charCodeAt(h)===y;)h++;return s=h-e,r=h<v?this.src.charCodeAt(h):32,p=a(n)||o(String.fromCharCode(n)),d=a(r)||o(String.fromCharCode(r)),l=i(n),(f=i(r))?m=!1:d&&(l||p||(m=!1)),l?g=!1:p&&(f||d||(g=!1)),t?(u=m,c=g):(u=m&&(!g||p),c=g&&(!m||d)),{can_open:u,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(22),o=n(3),a=n(84),s=n(8);t.default=function(e){var t=e.type,n=e.fields,r=e.interfaces,s=e.level,u=n.filter((function(e){return!e.isDeprecated})),c=n.filter((function(e){return e.isDeprecated})),l=t instanceof i.GraphQLInterfaceType?"interface ":"type";return o.createElement(h,null,o.createElement(m,null,o.createElement("span",{className:"field-name"},l)," ",o.createElement(g,null,t.name)," ",0===r.length&&o.createElement(b,null,"{")),r.map((function(e,t){return o.createElement(v,{key:e.name,type:e,x:s,y:t,collapsable:!0,beforeNode:o.createElement("span",{className:"field-name"},"implements"),afterNode:t===r.length-1?o.createElement(b,null,"{"):null,lastActive:!1})})),u.map((function(e,t){return o.createElement(a.default,{key:e.name,type:e,x:s,y:t+r.length,collapsable:!0,lastActive:!1})})),c.length>0&&o.createElement("br",null),c.map((function(e,t){return o.createElement("div",{key:e.name},o.createElement(y,null,"# Deprecated: ",e.deprecationReason),o.createElement(a.default,{type:e,x:s,y:t+u.length+r.length,collapsable:!0,lastActive:!1}))})),o.createElement(m,null,o.createElement(b,null,"}")))};var u,c,l,p,f,d,h=s.styled.div(u||(u=r(["\n font-size: 14px;\n overflow: auto;\n .doc-category-item {\n padding-left: 32px;\n }\n"],["\n font-size: 14px;\n overflow: auto;\n .doc-category-item {\n padding-left: 32px;\n }\n"]))),m=s.styled.div(c||(c=r(["\n padding: 6px 16px;\n white-space: nowrap;\n"],["\n padding: 6px 16px;\n white-space: nowrap;\n"]))),g=s.styled.span(l||(l=r(["\n color: #f25c54;\n"],["\n color: #f25c54;\n"]))),v=s.styled(a.default)(p||(p=r(["\n padding-left: 16px;\n .field-name {\n color: rgb(245, 160, 0);\n }\n .type-name {\n color: #f25c54;\n }\n"],["\n padding-left: 16px;\n .field-name {\n color: rgb(245, 160, 0);\n }\n .type-name {\n color: #f25c54;\n }\n"]))),y=s.styled.p(f||(f=r(["\n color: ",";\n padding-right: 16px;\n padding-left: 32px;\n"],["\n color: ",";\n padding-right: 16px;\n padding-left: 32px;\n"])),(function(e){return e.theme.colours.black50})),b=s.styled.span(d||(d=r(["\n font-weight: 600;\n color: ",";\n"],["\n font-weight: 600;\n color: ",";\n"])),(function(e){return e.theme.colours.darkBlue50}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(148);t.default=function(e){var t=e.type;return r.createElement(i.DocType,{className:"doc-type-schema"},r.createElement("span",{className:"field-name"},"scalar")," ",r.createElement("span",{className:"type-name"},t.name))}},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8),a=n(148);t.default=function(e){var t=e.type,n=e.sdlType?t._values:t.getValues(),r=n.filter((function(e){return e.isDeprecated}));return i.createElement(a.DocType,{className:"doc-type-schema"},i.createElement("span",{className:"field-name"},"enum")," ",i.createElement("span",{className:"type-name"},t.name)," ",i.createElement("span",{className:"brace"},"{"),n.filter((function(e){return!e.isDeprecated})).map((function(e,t){return i.createElement(c,{key:e.name,first:0===t,value:e})})),r.length>0&&i.createElement("br",null),r.map((function(e,t){return i.createElement(c,{first:0===t,key:e.name,value:e,isDeprecated:!0})})),i.createElement("span",{className:"brace"},"}"))};var s,u,c=function(e){var t=e.value,n=e.isDeprecated,r=e.first;return i.createElement(l,{first:r},i.createElement("div",{className:"field-name"},t.name),t.description&&i.createElement(p,null,t.description),n&&i.createElement(p,null,"Deprecated: ",t.deprecationReason))},l=o.styled("div")(s||(s=r(["\n margin-top: ","px;\n .field-name {\n padding: 0 16px;\n color: red;\n }\n"],["\n margin-top: ","px;\n .field-name {\n padding: 0 16px;\n color: red;\n }\n"])),(function(e){return e.first?0:6})),p=o.styled.div(u||(u=r(["\n padding: 0 16px;\n color: ",";\n"],["\n padding: 0 16px;\n color: ",";\n"])),(function(e){return e.theme.colours.black50}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(84),i=n(3),o=n(148);t.default=function(e){var t=e.schema,n=e.type,a=e.level,s=e.sessionId,u=t.getPossibleTypes(n);return i.createElement(o.DocType,{className:"doc-type-schema"},i.createElement("span",{className:"field-name"},"union")," ",i.createElement("span",{className:"type-name"},n.name)," = ",u.map((function(e,t){return i.createElement(r.default,{key:e.name,type:e,x:a,y:t+1,collapsable:!0,sessionId:s,lastActive:!1})})))}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(224),s=n(485),u=n(486),c=n(225),l=n(8),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.searchValue,n=e.schema,r=e.width,i=e.sessionId,l=e.handleSearch;return o.createElement(a.default,{width:r,overflow:!1},o.createElement(c.default,{onSearch:l}),o.createElement(d,null,t&&o.createElement(s.default,{searchValue:t,schema:n,level:0,sessionId:i}),!t&&o.createElement(u.default,{schema:n,sessionId:i})))},t}(o.PureComponent);t.default=p;var f,d=l.styled.div(f||(f=i(["\n overflow: auto;\n"],["\n overflow: auto;\n"])))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(84),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue},t.prototype.render=function(){var e=this.props.level,t=this.props.searchValue,n=this.props.withinType,r=this.props.schema,i=[],a=[],u=[],l=r.getTypeMap(),f=Object.keys(l);n&&(f=f.filter((function(e){return e!==n.name}))).unshift(n.name);for(var d=0,h=function(r){if(i.length+a.length+u.length>=100)return"break";var p=l[r];if(n!==p&&c(r,t)&&a.push(o.createElement("div",{className:"doc-category-item",key:r},o.createElement(s.default,{type:p,x:e,y:d++,lastActive:!1}))),p.getFields){var f=p.getFields();Object.keys(f).forEach((function(a){var l=f[a];if(l.parent=p,!c(a,t)){if(!l.args||!l.args.length)return;if(0===l.args.filter((function(e){return c(e.name,t)})).length)return}var h=o.createElement("div",{className:"doc-category-item",key:r+"."+a},o.createElement(s.default,{key:"type",type:l,x:e,y:d++,showParentName:!0,lastActive:!1}));n===p?i.push(h):u.push(h)}))}},m=0,g=f;m<g.length;m++){if("break"===h(g[m]))break}return i.length+a.length+u.length===0?o.createElement(p,null,"No results found."):n&&a.length+u.length>0?o.createElement("div",null,i,o.createElement("div",{className:"doc-category"},o.createElement("div",{className:"doc-category-title"},"other results"),a,u)):o.createElement("div",null,i,a,u)},t}(o.Component);function c(e,t){try{var n=t.replace(/[^_0-9A-Za-z]/g,(function(e){return"\\"+e}));return-1!==e.search(new RegExp(n,"i"))}catch(r){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}t.default=u;var l,p=a.styled.span(l||(l=i(["\n display: block;\n margin-top: 16px;\n margin-left: 16px;\n"],["\n display: block;\n margin-top: 16px;\n margin-left: 16px;\n"])))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(84),s=n(101),u=n(223),c=n(8),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.schema,n=e.sessionId,r=s.serializeRoot(t);return o.createElement(d,{className:"doc-root"},o.createElement(p,{name:"Queries",fields:r.queries,offset:0,sessionId:n}),r.mutations.length>0&&o.createElement(p,{name:"Mutations",fields:r.mutations,offset:r.queries.length,sessionId:n}),r.subscriptions.length>0&&o.createElement(p,{name:"Subscriptions",fields:r.subscriptions,offset:r.queries.length+r.mutations.length,sessionId:n}))},t}(o.PureComponent);function p(e){var t=e.name,n=e.fields,r=e.offset;return o.createElement("div",null,o.createElement(u.CategoryTitle,null,t),n.filter((function(e){return!e.isDeprecated})).map((function(e,t){return o.createElement(a.default,{key:e.name,type:e,x:0,y:r+t,collapsable:!0,lastActive:!1})})))}t.default=l;var f,d=c.styled.div(f||(f=i(["\n padding-left: 6px;\n\n .doc-category-item .field-name {\n color: #f25c54;\n }\n"],["\n padding-left: 6px;\n\n .doc-category-item .field-name {\n color: #f25c54;\n }\n"])))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;return function(){var r=arguments,i=this;clearTimeout(n),n=setTimeout((function(){n=null,t.apply(i,r)}),e)}}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(56),u=n(489),c=n(24),l=n(26),p=n(28),f=n(36),d=n(185),h=d.SortableElement(u.default),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={sorting:!1},t.onSortStart=function(e){e.index;t.setState({sorting:!0})},t.onSortEnd=function(e){var n=e.oldIndex,r=e.newIndex;t.props.reorderTabs(n,r),t.setState({sorting:!1})},t.getHelperDimensions=function(e){var t=e.node.getBoundingClientRect();return{width:t.width,height:t.height}},t}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.sessions,n=e.isApp,r=e.selectedSessionId,i=e.onNewSession,a=this.state.sorting;return o.createElement(E,{onSortStart:this.onSortStart,onSortEnd:this.onSortEnd,getHelperDimensions:this.getHelperDimensions,axis:"x",lockAxis:"x",lockToContainerEdges:!0,distance:10,transitionDuration:200},o.createElement(D,{isApp:n},t.map((function(e,t){return o.createElement(h,{key:e.id,session:e,selectedSessionId:r,index:t})})),o.createElement(C,{onClick:i,sorting:a},o.createElement(s.AddIcon,{width:34,height:34,strokeWidth:4,title:"Opens a New Tab"}))))},t}(o.PureComponent),g=l.createStructuredSelector({sessions:p.getSessionsArray,selectedSessionId:p.getSelectedSessionIdFromRoot});t.default=c.connect(g,{reorderTabs:f.reorderTabs})(m);var v,y,b,x=a.styled.div(v||(v=i(["\n color: white;\n height: 57px;\n background: ",";\n overflow: hidden;\n -webkit-app-region: drag;\n &:hover {\n overflow-x: overlay;\n }\n"],["\n color: white;\n height: 57px;\n background: ",";\n overflow: hidden;\n -webkit-app-region: drag;\n &:hover {\n overflow-x: overlay;\n }\n"])),(function(e){return e.theme.editorColours.background})),E=d.SortableContainer(x),D=a.styled("div")(y||(y=i(["\n display: flex;\n align-items: center;\n margin-top: 16px;\n padding-left: ",";\n"],["\n display: flex;\n align-items: center;\n margin-top: 16px;\n padding-left: ",";\n"])),(function(e){return e.isApp?"43px":"0"})),C=a.styled("div")(b||(b=i(["\n -webkit-app-region: no-drag;\n box-sizing: border-box;\n display: flex;\n visibility: ","\n height: 43px;\n width: 43px;\n border-radius: 2px;\n border-bottom: 2px solid ",";\n background: ",";\n justify-content: center;\n align-items: center;\n svg {\n stroke: ",";\n }\n &:hover {\n background: ",";\n }\n"],["\n -webkit-app-region: no-drag;\n box-sizing: border-box;\n display: flex;\n visibility: ","\n height: 43px;\n width: 43px;\n border-radius: 2px;\n border-bottom: 2px solid ",";\n background: ",";\n justify-content: center;\n align-items: center;\n svg {\n stroke: ",";\n }\n &:hover {\n background: ",";\n }\n"])),(function(e){return e.sorting?"hidden":"visible"}),(function(e){return e.theme.editorColours.navigationBar}),(function(e){return e.theme.editorColours.tabInactive}),(function(e){return e.theme.editorColours.icon}),(function(e){return e.theme.editorColours.tab}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(56),s=n(24),u=n(36),c=n(8),l=n(490),p=function(e){function t(t){var n=e.call(this,t)||this;return n.startEditName=function(){n.setState({editingName:!0})},n.stopEditName=function(){n.setState({editingName:!1})},n.handleKeyDown=function(e){13===e.keyCode&&n.setState({editingName:!1})},n.handleMouseOverCross=function(){n.setState({overCross:!0})},n.handleMouseOutCross=function(){n.setState({overCross:!1})},n.handleSelectSession=function(){n.props.selectTab(n.props.session.id)},n.handleCloseSession=function(e){e.stopPropagation(),n.props.closeTab(n.props.session.id)},n.handleEditName=function(e){n.props.editName(e.target.value)},n.state={overCross:!1,editingName:!1},n}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.session,n=e.selectedSessionId,r=t.queryTypes,i=t.id===n,s=t.name||t.operationName||r.firstOperationName||"New Tab";return o.createElement(w,{active:i,onMouseDown:this.handleSelectSession},o.createElement(A,{active:i},t.subscriptionActive&&o.createElement(I,null),o.createElement(T,null,r.query&&o.createElement(O,null,"Q"),(t.isSettingsTab||t.isConfigTab)&&o.createElement(O,null,o.createElement(a.SettingsIcon,{width:12,height:12,fill:"white"})),r.mutation&&o.createElement(F,null,"M"),r.subscription&&o.createElement(N,null,"S"))),this.state.editingName?o.createElement(k,{value:t.name||"",onChange:this.handleEditName,onBlur:this.stopEditName,onKeyDown:this.handleKeyDown,autoFocus:!0}):o.createElement(S,{active:i,onDoubleClick:this.startEditName},s),o.createElement(j,{className:"close",active:i,hasCircle:t.isFile&&t.changed&&!this.state.overCross,onClick:this.handleCloseSession,onMouseEnter:this.handleMouseOverCross,onMouseLeave:this.handleMouseOutCross},t.isFile&&t.changed&&!this.state.overCross?o.createElement(M,null,"\u2b24"):o.createElement(a.CrossIcon,{width:12,height:11,strokeWidth:7,title:"Close Tab"})))},t}(o.PureComponent);t.default=s.connect(null,{closeTab:u.closeTab,selectTab:u.selectTab,editName:u.editName})(p);var f,d,h,m,g,v,y,b,x,E,D,C,w=c.styled("div")(f||(f=i(["\n -webkit-app-region: no-drag;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n height: 43px;\n padding: 10px;\n padding-top: 9px;\n margin-right: 10px;\n font-size: 14px;\n border-radius: 2px;\n border-bottom: 2px solid ",";\n box-sizing: border-box;\n cursor: pointer;\n user-select: none;\n background: ",";\n &:hover {\n background: ",";\n .close {\n opacity: 1;\n }\n }\n"],["\n -webkit-app-region: no-drag;\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n height: 43px;\n padding: 10px;\n padding-top: 9px;\n margin-right: 10px;\n font-size: 14px;\n border-radius: 2px;\n border-bottom: 2px solid ",";\n box-sizing: border-box;\n cursor: pointer;\n user-select: none;\n background: ",";\n &:hover {\n background: ",";\n .close {\n opacity: 1;\n }\n }\n"])),(function(e){return e.theme.editorColours.navigationBar}),(function(e){return e.active?e.theme.editorColours.tab:e.theme.editorColours.tabInactive}),(function(e){return e.theme.editorColours.tab})),S=c.styled("div")(d||(d=i(["\n opacity: ",";\n background: transparent;\n color: ",";\n font-size: 14px;\n margin-left: 2px;\n display: inline;\n letter-spacing: 0.53px;\n"],["\n opacity: ",";\n background: transparent;\n color: ",";\n font-size: 14px;\n margin-left: 2px;\n display: inline;\n letter-spacing: 0.53px;\n"])),(function(e){return e.active?1:.5}),(function(e){return e.theme.editorColours.tabText})),k=c.styled(l.default)(h||(h=i(["\n input {\n background: transparent;\n color: ",";\n font-size: 14px;\n margin-left: 2px;\n display: inline;\n letter-spacing: 0.53px;\n }\n"],["\n input {\n background: transparent;\n color: ",";\n font-size: 14px;\n margin-left: 2px;\n display: inline;\n letter-spacing: 0.53px;\n }\n"])),(function(e){return e.theme.editorColours.tabText})),A=c.styled("div")(m||(m=i(["\n display: flex;\n align-items: center;\n opacity: ",";\n"],["\n display: flex;\n align-items: center;\n opacity: ",";\n"])),(function(e){return e.active?1:.5})),T=c.styled.div(g||(g=i(["\n display: flex;\n color: white;\n"],["\n display: flex;\n color: white;\n"]))),_=c.styled.div(v||(v=i(["\n height: 22px;\n width: 22px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 4px;\n font-size: 12px;\n font-weight: 700;\n border-radius: 2px;\n"],["\n height: 22px;\n width: 22px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 4px;\n font-size: 12px;\n font-weight: 700;\n border-radius: 2px;\n"]))),O=c.styled(_)(y||(y=i(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.blue})),F=c.styled(_)(b||(b=i(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.orange})),N=c.styled(_)(x||(x=i(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.purple})),I=c.styled.div(E||(E=i(["\n width: 7px;\n height: 7px;\n background: rgba(242, 92, 84, 1);\n border-radius: 100%;\n margin-right: 10px;\n"],["\n width: 7px;\n height: 7px;\n background: rgba(242, 92, 84, 1);\n border-radius: 100%;\n margin-right: 10px;\n"]))),M=c.styled.div(D||(D=i(["\n position: relative;\n top: -2px;\n font-size: 9px;\n background: ",";\n"],["\n position: relative;\n top: -2px;\n font-size: 9px;\n background: ",";\n"])),(function(e){return e.theme.editorColours.circle})),j=c.styled("div")(C||(C=i(["\n position: relative;\n display: flex;\n margin-left: 10px;\n top: 1px;\n height: 13px;\n width: 13px;\n opacity: ",";\n svg {\n stroke: ",";\n }\n"],["\n position: relative;\n display: flex;\n margin-left: 10px;\n top: 1px;\n height: 13px;\n width: 13px;\n opacity: ",";\n svg {\n stroke: ",";\n }\n"])),(function(e){return e.active||e.hasCircle?1:0}),(function(e){return e.theme.editorColours.icon}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),a=u(o),s=u(n(60));function u(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=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),d=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},h=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 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));return n.inputRef=function(e){n.input=e,"function"===typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||d()},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,e),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||d()})}},{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&&(p(e,this.sizer),this.placeHolderSizer&&p(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?a.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=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(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=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},i,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(o.Component);h.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},h.defaultProps={minWidth:1,injectStyles:!0},t.default=h},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(226),s=n(501),u=n(503),c=n(75),l=n(137),p=n(8),f=n(24),d=n(26),h=n(230),m=n(99),g=n(100),v=n(36),y=n(113),b=n(76),x=n(56),E=function(e){function t(t){var n=e.call(this,t)||this;n.handleClickUse=function(){var e=n.props.items.get(n.state.selectedItemIndex);n.props.duplicateSession(e),n.props.closeHistory()},n.handleItemSelect=function(e){n.setState({selectedItemIndex:e})},n.handleSelectFilter=function(e){n.setState({selectedFilter:e})},n.handleSearch=function(e){n.setState({searchTerm:e})};var r=t.items.keySeq().first()||"";return n.state={selectedFilter:"HISTORY",selectedItemIndex:r,searchTerm:""},n}return r(t,e),t.prototype.render=function(){var e=this.state,t=e.searchTerm,n=e.selectedFilter,r=this.props.items.filter((function(e){return"STARRED"===n?e.starred:!(t&&t.length>0)||e.query.toLowerCase().includes(t.toLowerCase())})),i=this.props.items.get(this.state.selectedItemIndex);return i=i&&i.toJS?i.toJS():void 0,o.createElement(a,{isOpen:this.props.isOpen,onRequestClose:this.props.closeHistory,contentLabel:"GraphiQL Session History",style:c.modalStyle,ariaHideApp:!1},o.createElement(j,null,o.createElement(L,null,o.createElement(s.default,{onSelectFilter:this.handleSelectFilter,selectedFilter:this.state.selectedFilter,onSearch:this.handleSearch}),o.createElement(u.default,{items:r,selectedItemIndex:this.state.selectedItemIndex,searchTerm:this.state.searchTerm,onItemSelect:this.handleItemSelect,onItemStarToggled:this.props.toggleHistoryItemStarring})),Boolean(i)?o.createElement(P,null,o.createElement(R,null,o.createElement(U,null),o.createElement(q,{onClick:this.handleClickUse},o.createElement(V,null,"Use"),o.createElement(x.ArrowRight,{color:"white",width:13,height:13}))),o.createElement(H,null,o.createElement(W,null,o.createElement(b.Container,null,o.createElement(G,null,o.createElement(l.QueryEditor,{value:i.query})))))):o.createElement(P,null,o.createElement(B,null,o.createElement(z,null,"No History yet")))))},t}(o.Component),D=d.createStructuredSelector({items:h.getHistory,isOpen:m.getHistoryOpen});t.default=f.connect(D,{closeHistory:g.closeHistory,openHistory:g.openHistory,duplicateSession:v.duplicateSession,toggleHistoryItemStarring:y.toggleHistoryItemStarring})(E);var C,w,S,k,A,T,_,O,F,N,I,M,j=p.styled.div(C||(C=i(["\n display: flex;\n min-height: 500px;\n"],["\n display: flex;\n min-height: 500px;\n"]))),L=p.styled.div(w||(w=i(["\n flex: 1;\n\n background: white;\n"],["\n flex: 1;\n\n background: white;\n"]))),P=p.styled.div(S||(S=i(["\n flex: 0 0 464px;\n z-index: 2;\n"],["\n flex: 0 0 464px;\n z-index: 2;\n"]))),R=p.styled.div(k||(k=i(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding-left: ",";\n padding-right: ",";\n padding-top: 20px;\n padding-bottom: 20px;\n\n background: ",";\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding-left: ",";\n padding-right: ",";\n padding-top: 20px;\n padding-bottom: 20px;\n\n background: ",";\n"])),(function(e){return e.theme.sizes.medium25}),(function(e){return e.theme.sizes.medium25}),(function(e){return e.theme.editorColours.resultBackground})),B=p.styled.div(A||(A=i(["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n\n background: ",";\n"],["\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n\n background: ",";\n"])),(function(e){return e.theme.editorColours.resultBackground})),z=p.styled.div(T||(T=i(["\n font-size: 16px;\n color: ",";\n"],["\n font-size: 16px;\n color: ",";\n"])),(function(e){return e.theme.editorColours.text})),U=p.styled.div(_||(_=i(["\n font-size: ",";\n font-weight: ",";\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.4);\n"],["\n font-size: ",";\n font-weight: ",";\n text-transform: uppercase;\n color: rgba(255, 255, 255, 0.4);\n"])),(function(e){return e.theme.sizes.fontSmall}),(function(e){return e.theme.sizes.fontSemiBold})),q=p.styled.div(O||(O=i(["\n display: flex;\n align-items: center;\n\n padding-top: ",";\n padding-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n\n font-size: ",";\n font-weight: ",";\n\n border-radius: ",";\n background: ",";\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n\n padding-top: ",";\n padding-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n\n font-size: ",";\n font-weight: ",";\n\n border-radius: ",";\n background: ",";\n cursor: pointer;\n"])),(function(e){return e.theme.sizes.small10}),(function(e){return e.theme.sizes.small10}),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.sizes.fontSmall}),(function(e){return e.theme.sizes.fontSemiBold}),(function(e){return e.theme.sizes.smallRadius}),(function(e){return e.theme.colours.green})),V=p.styled.div(F||(F=i(["\n margin-right: ",";\n color: white;\n"],["\n margin-right: ",";\n color: white;\n"])),(function(e){return e.theme.sizes.small6})),H=p.styled.div(N||(N=i(["\n height: calc(100% - 81px);\n display: flex;\n flex: 1 1 auto;\n"],["\n height: calc(100% - 81px);\n display: flex;\n flex: 1 1 auto;\n"]))),W=p.styled(H)(I||(I=i(["\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n flex: 1 1 auto;\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n flex: 1 1 auto;\n"]))),G=p.styled.div(M||(M=i(["\n display: flex;\n flex-direction: column;\n flex: 1;\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n"])))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),a=h(o),s=h(n(61)),u=h(n(60)),c=h(n(493)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(228)),p=n(149),f=h(p),d=n(500);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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}var v=t.portalClassName="ReactModalPortal",y=t.bodyOpenClassName="ReactModal__Body--open",b=void 0!==s.default.createPortal,x=function(){return b?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function E(e){return e()}var D=function(e){function t(){var e,n,i;m(this,t);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return n=i=g(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.removePortal=function(){!b&&s.default.unmountComponentAtNode(i.node);var e=E(i.props.parentSelector);e?e.removeChild(i.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},i.portalRef=function(e){i.portal=e},i.renderPortal=function(e){var n=x()(i,a.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),i.node);i.portalRef(n)},g(i,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,e),i(t,[{key:"componentDidMount",value:function(){p.canUseDOM&&(b||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,E(this.props.parentSelector).appendChild(this.node),!b&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:E(e.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(p.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||i)&&!b&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(p.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return p.canUseDOM&&b?(!this.node&&b&&(this.node=document.createElement("div")),x()(a.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),t}(o.Component);D.propTypes={isOpen:u.default.bool.isRequired,style:u.default.shape({content:u.default.object,overlay:u.default.object}),portalClassName:u.default.string,bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,className:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),overlayClassName:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),appElement:u.default.instanceOf(f.default),onAfterOpen:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,ariaHideApp:u.default.bool,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,parentSelector:u.default.func,aria:u.default.object,data:u.default.object,role:u.default.string,contentLabel:u.default.string,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func},D.defaultProps={isOpen:!1,portalClassName:v,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}},D.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(D),t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(3),s=g(a),u=g(n(60)),c=m(n(494)),l=g(n(495)),p=m(n(228)),f=m(n(498)),d=g(n(149)),h=g(n(229));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}n(499);var v={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=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 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));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,i=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&f.remove(document.body,o),i&&f.remove(document.getElementsByTagName("html")[0],i),r&&y>0&&0===(y-=1)&&p.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){9===e.keyCode&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"===typeof t?"undefined":i(t))?t:{base:v[e],afterOpen:v[e]+"--after-open",beforeClose:v[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"===typeof t&&t?o+" "+t:o},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,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,e),o(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,i=e.bodyOpenClassName;i&&f.add(document.body,i),r&&f.add(document.getElementsByTagName("html")[0],r),n&&(y+=1,p.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,a=n?{}:o.content,u=i?{}:o.overlay;return this.shouldBeClosed()?null:s.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",i),style:r({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},s.default.createElement("div",r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:u.default.bool.isRequired,defaultStyles:u.default.shape({content:u.default.object,overlay:u.default.object}),style:u.default.shape({content:u.default.object,overlay:u.default.object}),className:u.default.oneOfType([u.default.string,u.default.object]),overlayClassName:u.default.oneOfType([u.default.string,u.default.object]),bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,ariaHideApp:u.default.bool,appElement:u.default.instanceOf(d.default),onAfterOpen:u.default.func,onAfterClose:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,role:u.default.string,contentLabel:u.default.string,aria:u.default.object,data:u.default.object,children:u.default.node,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func,id:u.default.string,testId:u.default.string},t.default=b,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=c,t.handleFocus=l,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return void(0!==a.length&&(e=a.pop()).focus())}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",l))};var r,i=n(227),o=(r=i)&&r.__esModule?r:{default:r};var a=[],s=null,u=!1;function c(){u=!0}function l(){if(u){if(u=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,o.default)(s)[0]||s).focus()}),0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,i=t.shiftKey,a=n[0],s=n[n.length-1];if(e===document.activeElement){if(!i)return;r=s}s!==document.activeElement||i||(r=a);a===document.activeElement&&i&&(r=s);if(r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==u||"Chrome"==u[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var c=n.indexOf(document.activeElement);c>-1&&(c+=i?-1:1);if("undefined"===typeof(r=n[c]))return t.preventDefault(),void(r=i?s:a).focus();t.preventDefault(),r.focus()};var r,i=n(227),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){var r;!function(){"use strict";var i=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){0};var r={},i={};t.add=function(e,t){return n=e.classList,o="html"==e.nodeName.toLowerCase()?r:i,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(o,e),n.add(e)}));var n,o},t.remove=function(e,t){return n=e.classList,o="html"==e.nodeName.toLowerCase()?r:i,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(o,e),0===o[e]&&n.remove(e)}));var n,o}},function(e,t,n){"use strict";var r,i=n(229),o=(r=i)&&r.__esModule?r:{default:r};var a=void 0,s=void 0,u=[];function c(){0!==u.length&&u[u.length-1].focusContent()}o.default.subscribe((function(e,t){a&&s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(s=a.cloneNode()).addEventListener("focus",c)),(u=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?s="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,c="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(502),a=n(8),s=n(225);t.default=function(e){return i.createElement(c,null,i.createElement(o.default,{onSelectFilter:e.onSelectFilter,selectedFilter:e.selectedFilter}),i.createElement(s.default,{placeholder:"Search the history...",onSearch:e.onSearch,clean:!0}))};var u,c=a.styled.div(u||(u=r(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px;\n background: ",";\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px;\n background: ",";\n"])),(function(e){return e.theme.colours.black02}))},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(8),a=n(56);t.default=o.withTheme((function(e){var t=e.selectedFilter,n=e.onSelectFilter,r=e.theme;return i.createElement(l,null,i.createElement(p,{active:"HISTORY"===t,onClick:function(){return n("HISTORY")}},i.createElement(a.History,{color:"HISTORY"===t?r.colours.white:r.colours.black30,strokeWidth:3,width:25,height:25}),i.createElement(f,null,"History")),i.createElement(p,{active:"STARRED"===t,onClick:function(){return n("STARRED")}},i.createElement(a.Star,{color:"STARRED"===t?r.colours.white:r.colours.black30,width:16,height:16}),i.createElement(f,null,"Starred")))}));var s,u,c,l=o.styled.div(s||(s=r(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),p=o.styled("div")(u||(u=r(["\n box-sizing: content-box;\n height: 24px;\n z-index: ",";\n display: flex;\n align-items: center;\n margin: 0 -2px;\n padding: ",";\n background: ",";\n\n color: ",";\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n border-radius: 2px;\n cursor: pointer;\n"],["\n box-sizing: content-box;\n height: 24px;\n z-index: ",";\n display: flex;\n align-items: center;\n margin: 0 -2px;\n padding: ",";\n background: ",";\n\n color: ",";\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n border-radius: 2px;\n cursor: pointer;\n"])),(function(e){return e.active?2:0}),(function(e){return e.active?"7px 9px 8px 9px":"5px 13px 6px 13px"}),(function(e){return e.active?e.theme.colours.green:e.theme.colours.black07}),(function(e){return e.active?e.theme.colours.white:e.theme.colours.black30})),f=o.styled.p(c||(c=r(["\n margin-left: 6px;\n"],["\n margin-left: 6px;\n"])))},function(e,t,n){"use strict";var r=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=n(56),a=n(8);t.default=a.withTheme((function(e){var t=e.items,n=e.onItemSelect,r=e.selectedItemIndex,a=e.onItemStarToggled;e.theme;return i.createElement(v,null,t.map((function(e,t){return i.createElement(y,{key:e.id,active:r===t,onClick:function(){return n(t)}},i.createElement(x,null,i.createElement(o.Star,{onClick:function(){return a(e.id)},stroke:e.starred?void 0:"rgb(221,171,0)",fill:e.starred?"rgb(221,171,0)":void 0,strokeWidth:.5,width:25,height:25}),i.createElement(b,null,i.createElement(E,null,e.operationName||e.queryTypes.firstOperationName||"New Session"),e.queryTypes.query&&i.createElement(C,null,"Q"),e.queryTypes.mutation&&i.createElement(w,null,"M"),e.queryTypes.subscription&&i.createElement(S,null,"S"))),i.createElement(x,null,e.date&&i.createElement(k,null,"function"===typeof e.date.getMonth&&e.date.getMonth()+1,"/",e.date.getDate(),"/",e.date.getFullYear().toString().slice(2,4))))})).toArray().map((function(e){return e[1]})))}));var s,u,c,l,p,f,d,h,m,g,v=a.styled.div(s||(s=r(["\n overflow-y: scroll;\n max-height: calc(100vh - 121px);\n"],["\n overflow-y: scroll;\n max-height: calc(100vh - 121px);\n"]))),y=a.styled("div")(u||(u=r(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 25px 20px;\n cursor: pointer;\n border-bottom: 1px solid;\n border-color: ",";\n background: ",";\n"],["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 25px 20px;\n cursor: pointer;\n border-bottom: 1px solid;\n border-color: ",";\n background: ",";\n"])),(function(e){return e.theme.colours.black10}),(function(e){return e.active?e.theme.colours.black04:e.theme.colours.white})),b=a.styled.div(c||(c=r(["\n display: flex;\n align-items: center;\n margin-left: 20px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 20px;\n"]))),x=a.styled.div(l||(l=r(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),E=a.styled.p(p||(p=r(["\n font-weight: 300;\n font-size: 20px;\n margin-right: 16px;\n"],["\n font-weight: 300;\n font-size: 20px;\n margin-right: 16px;\n"]))),D=a.styled.div(f||(f=r(["\n height: 21px;\n width: 21px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 4px;\n border-radius: 2px;\n font-weight: 700;\n font-size: 12px;\n color: ",";\n"],["\n height: 21px;\n width: 21px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-right: 4px;\n border-radius: 2px;\n font-weight: 700;\n font-size: 12px;\n color: ",";\n"])),(function(e){return e.theme.colours.white})),C=a.styled(D)(d||(d=r(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.blue})),w=a.styled(D)(h||(h=r(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.orange})),S=a.styled(D)(m||(m=r(["\n background: ",";\n"],["\n background: ",";\n"])),(function(e){return e.theme.colours.purple})),k=a.styled.time(g||(g=r(["\n color: ",";\n font-size: 14px;\n margin-left: 16px;\n"],["\n color: ",";\n font-size: 14px;\n margin-left: 16px;\n"])),(function(e){return e.theme.colours.black40}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(56),s=n(8),u=n(36),c=n(24),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return o.createElement(d,null,o.createElement(h,null,o.createElement(a.SettingsIcon,{width:23,height:23,onClick:this.props.onClick,title:"Settings"})))},t}(o.Component);t.default=c.connect(null,{onClick:u.openSettingsTab})(l);var p,f,d=s.styled.div(p||(p=i(["\n position: absolute;\n z-index: 1005;\n right: 20px;\n top: 17px;\n"],["\n position: absolute;\n z-index: 1005;\n right: 20px;\n top: 17px;\n"]))),h=s.styled.div(f||(f=i(["\n position: relative;\n cursor: pointer;\n\n svg {\n fill: ",";\n transition: 0.1s linear fill;\n }\n\n &:hover {\n svg {\n fill: ",";\n }\n }\n"],["\n position: relative;\n cursor: pointer;\n\n svg {\n fill: ",";\n transition: 0.1s linear fill;\n }\n\n &:hover {\n svg {\n fill: ",";\n }\n }\n"])),(function(e){return e.theme.editorColours.icon}),(function(e){return e.theme.editorColours.iconHover}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(143),u=n(506),c=n(24),l=n(26),p=n(99),f=n(100),d=n(36),h=n(38),m=n(76),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleKeydown=function(e){"s"===e.key&&e.metaKey&&(e.preventDefault(),t.props.onSave())},t}return r(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeydown,!0)},t.prototype.render=function(){var e=this.props.isConfig;return o.createElement(m.Container,null,o.createElement(C,null,o.createElement(m.default,null,o.createElement(u.ConfigEditor,{value:this.props.value,onEdit:this.props.onChange,onRunQuery:this.props.onSave,isYaml:this.props.isYaml,readOnly:this.props.readOnly}),o.createElement(S,null,window.version)),!this.props.readOnly&&o.createElement(w,null,o.createElement(s.Button,{onClick:this.props.onSave},"Save ",e?"Config":"Settings"))))},t}(o.Component);t.SettingsEditor=g;var v=l.createStructuredSelector({value:h.getSettingsString}),y=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChange=function(e){n.setState({value:e}),n.props.editSettings()},n.handleSave=function(){n.props.onChange(n.state.value),n.props.saveSettings()},n.state={value:t.value},n}return r(t,e),t.prototype.componentWillReceiveProps=function(e){e.value!==this.props.value&&this.setState({value:e.value})},t.prototype.render=function(){return o.createElement(g,{value:this.state.value,onChange:this.handleChange,onSave:this.handleSave})},t}(o.Component);t.PlaygroundSettingsEditor=c.connect(v,{onChange:f.setSettingsString,editSettings:d.editSettings,saveSettings:d.saveSettings})(y);var b=l.createStructuredSelector({value:p.getConfigString});t.GraphQLConfigEditor=c.connect(b,{onChange:f.setConfigString})(g);var x,E,D,C=a.styled.div(x||(x=i(["\n background: ",";\n position: relative;\n display: flex;\n flex-flow: column;\n flex: 1 1 0;\n\n .CodeMirror {\n background: ",";\n .CodeMirror-code {\n color: rgba(255, 255, 255, 0.7);\n }\n .cm-atom {\n color: rgba(42, 126, 210, 1);\n }\n }\n"],["\n background: ",";\n position: relative;\n display: flex;\n flex-flow: column;\n flex: 1 1 0;\n\n .CodeMirror {\n background: ",";\n .CodeMirror-code {\n color: rgba(255, 255, 255, 0.7);\n }\n .cm-atom {\n color: rgba(42, 126, 210, 1);\n }\n }\n"])),(function(e){return e.theme.editorColours.resultBackground}),(function(e){return e.theme.editorColours.resultBackground})),w=a.styled.div(E||(E=i(["\n position: absolute;\n top: 16px;\n right: 16px;\n z-index: 2;\n"],["\n position: absolute;\n top: 16px;\n right: 16px;\n z-index: 2;\n"]))),S=a.styled.span(D||(D=i(["\n position: absolute;\n right: 20px;\n bottom: 17px;\n color: ",";\n font-weight: 700;\n margin-right: 14px;\n"],["\n position: absolute;\n right: 20px;\n bottom: 17px;\n color: ",";\n font-weight: 700;\n margin-right: 14px;\n"])),(function(e){return e.theme.editorColours.textInactive}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(76),s=n(8),u=function(e){function t(t){var n=e.call(this,t)||this;return n.setNode=function(e){n.node=e},n.onKeyUp=function(e,t){var r=t.keyCode;(r>=65&&r<=90||!t.shiftKey&&r>=48&&r<=57||t.shiftKey&&189===r||t.shiftKey&&222===r)&&n.editor.execCommand("autocomplete")},n.onEdit=function(){n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue))},n.cachedValue=t.value||"",n}return r(t,e),t.prototype.componentDidMount=function(){var e=this,t=n(14);n(140),n(95),n(141),n(96),n(119),n(142),n(77),n(120),n(78),n(121),n(507),n(211),n(212),n(213),this.editor=t(this.node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:this.props.isYaml?"yaml":"graphql-variables",theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",foldGutter:{minFoldSize:4},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Cmd-Space":function(){return e.editor.showHint({completeSingle:!1})},"Ctrl-Space":function(){return e.editor.showHint({completeSingle:!1})},"Alt-Space":function(){return e.editor.showHint({completeSingle:!1})},"Shift-Space":function(){return e.editor.showHint({completeSingle:!1})},"Cmd-Enter":function(){e.props.onRunQuery&&e.props.onRunQuery()},"Ctrl-Enter":function(){e.props.onRunQuery&&e.props.onRunQuery()},"Shift-Ctrl-P":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},"Cmd-F":"findPersistent","Ctrl-F":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"}}),this.editor.on("change",this.onEdit),this.editor.on("keyup",this.onKeyUp)},t.prototype.componentDidUpdate=function(e){this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1},t.prototype.componentWillUnmount=function(){this.editor.off("change",this.onEdit),this.editor.off("keyup",this.onKeyUp),this.editor=null},t.prototype.render=function(){return o.createElement(a.default,null,o.createElement(l,{ref:this.setNode}))},t.prototype.getCodeMirror=function(){return this.editor},t.prototype.getClientHeight=function(){return this.node&&this.node.clientHeight},t}(o.Component);t.ConfigEditor=u;var c,l=s.styled.div(c||(c=i(["\n flex: 1;\n height: 100%;\n position: relative;\n .CodeMirror-linenumbers {\n background: ",";\n }\n"],["\n flex: 1;\n height: 100%;\n position: relative;\n .CodeMirror-linenumbers {\n background: ",";\n }\n"])),(function(e){return e.theme.editorColours.resultBackground}))},function(e,t,n){!function(e){"use strict";e.defineMode("yaml",(function(){var e=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(t,n){var r=t.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&t.indentation()>n.keyCol)return t.skipToEnd(),"string";if(n.literal&&(n.literal=!1),t.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,t.match(/---/))return"def";if(t.match(/\.\.\./))return"def";if(t.match(/\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return t.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,t.next(),"meta";if(n.pairStart){if(t.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(e))return"keyword"}return!n.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=t.indentation(),"atom"):n.pair&&t.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}})),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")}(n(14))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=n(137),u=n(26),c=n(28),l=n(36),p=n(76),f=n(24),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return o.createElement(p.Container,null,o.createElement(v,null,o.createElement(p.default,null,o.createElement(y,null,o.createElement(s.QueryEditor,{value:this.props.value,onChange:this.props.onChange})))))},t}(o.Component),h=u.createStructuredSelector({value:c.getFile});t.default=f.connect(h,{onChange:l.editFile})(d);var m,g,v=a.styled.div(m||(m=i(["\n background: ",";\n position: relative;\n .variable-editor {\n height: 100% !important;\n }\n .CodeMirror {\n background: none !important;\n .CodeMirror-code {\n color: rgba(255, 255, 255, 0.7);\n }\n .cm-atom {\n color: rgba(42, 126, 210, 1);\n }\n }\n"],["\n background: ",";\n position: relative;\n .variable-editor {\n height: 100% !important;\n }\n .CodeMirror {\n background: none !important;\n .CodeMirror-code {\n color: rgba(255, 255, 255, 0.7);\n }\n .cm-atom {\n color: rgba(42, 126, 210, 1);\n }\n }\n"])),(function(e){return e.theme.editorColours.resultBackground})),y=a.styled.div(g||(g=i(["\n display: flex;\n flex-direction: column;\n flex: 1;\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n"])))},function(e){e.exports=JSON.parse('{"name":"graphql-playground-react","version":"1.7.22","main":"./lib/lib.js","typings":"./lib/lib.d.ts","description":"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).","contributors":["Tim Suchanek <tim@graph.cool>","Johannes Schickling <johannes@graph.cool>","Lukas Huvar <lukas@huvar.cz>"],"repository":{"type":"git","url":"http://github.com/graphcool/graphql-playground.git"},"license":"MIT","scripts":{"start":"node scripts/start.js","start:analyze":"ANALYZE_BUNDLE=true node scripts/start.js","start:graphql-bin":"ACTIVE_APP=graphqlbin node scripts/start.js","prepublishOnly":"yarn build","build":"rimraf dist build dist && yarn build-app && yarn build-package","tsc":"tsc -p tsconfig.build.json","build-package":"rimraf lib build/dist && npm run tsc && babel lib -d lib && cp -r ./src/assets/ ./lib/assets/ && cd lib && rimraf *.jsx;","build-app":"node scripts/build.js","test":"jest","bundlesize":"bundlesize","bump":"npm version patch --no-git-tag-version && git add package.json","graphql-faker":"graphql-faker ./tests/schema.faker.graphql","lint":"tslint \\"src/**/*.ts{,x}\\"","precommit":"lint-staged","prettier":"prettier --single-quote --no-semi --trailing-comma all --write *.{ts,tsx} \'src/**/*.{ts,tsx}\'"},"files":["build","lib","playground.css"],"bundlesize":[{"path":"build/static/js/index.js","maxSize":"674 kB"}],"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-json-strings":"^7.0.0","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/plugin-syntax-import-meta":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@types/deasync":"0.1.0","@types/jest":"22.2.3","@types/node":"12.12.34","@types/react":"16.9.32","@types/zen-observable":"^0.5.3","babel-core":"^7.0.0-bridge.0","babel-jest":"^23.4.2","babel-loader":"^8.0.0","babel-plugin-styled-components":"^1.8.0","bundlesize":"^0.17.0","case-sensitive-paths-webpack-plugin":"2.3.0","chalk":"2.4.1","connect-history-api-fallback":"1.5.0","cross-spawn":"6.0.5","css-loader":"3.4.2","detect-port":"1.2.3","dotenv":"5.0.1","enzyme":"^3.3.0","enzyme-adapter-react-16":"^1.1.1","enzyme-to-json":"^3.3.4","extract-text-webpack-plugin":"4.0.0-beta.0","file-loader":"6.0.0","filesize":"6.1.0","fs-extra":"5.0.0","graphql-playground-html":"1.5.6","gzip-size":"4.1.0","html-webpack-plugin":"4.0.4","http-proxy-middleware":"0.17.4","husky":"0.14.3","jest":"22.1.4","jest-localstorage-mock":"^2.2.0","json-loader":"0.5.7","lint-staged":"6.1.0","node-noop":"1.0.0","object-assign":"4.1.1","promise":"8.0.1","raw-loader":"4.0.0","react-dev-utils":"10.1.0","recursive-readdir":"2.2.2","rimraf":"3.0.2","source-map-loader":"0.2.4","strip-ansi":"4.0.0","style-loader":"1.1.3","svg-inline-loader":"0.8.2","sw-precache-webpack-plugin":"1.0.0","ts-loader":"6.2.2","tslint":"5.10.0","tslint-graphcool-frontend":"0.0.3","tslint-loader":"3.6.0","typescript":"3.8.3","typescript-styled-plugin":"^0.11.0","url-loader":"4.0.0","webpack":"4.42.1","webpack-dev-server":"3.10.3","webpack-manifest-plugin":"2.2.0","why-did-you-update":"0.1.1"},"dependencies":{"@types/lru-cache":"^4.1.1","apollo-link":"^1.0.7","apollo-link-http":"^1.3.2","apollo-link-ws":"1.0.8","calculate-size":"^1.1.1","codemirror":"^5.52.2","codemirror-graphql":"^0.11.6","copy-to-clipboard":"^3.0.8","cryptiles":"4.1.2","cuid":"^1.3.8","graphiql":"^0.17.5","graphql":"^14.6.0","immutable":"^4.0.0-rc.9","isomorphic-fetch":"^2.2.1","js-yaml":"^3.10.0","json-stable-stringify":"^1.0.1","keycode":"^2.1.9","lodash":"^4.17.11","lodash.debounce":"^4.0.8","markdown-it":"^8.4.1","marked":"^0.3.19","prettier":"2.0.2","prop-types":"^15.7.2","query-string":"5","react":"16.13.1","react-addons-shallow-compare":"^15.6.2","react-codemirror":"^1.0.0","react-copy-to-clipboard":"^5.0.1","react-display-name":"^0.2.3","react-dom":"^16.13.1","react-helmet":"^5.2.0","react-input-autosize":"^2.2.1","react-modal":"^3.1.11","react-redux":"^7.2.0","react-router-dom":"^4.2.2","react-sortable-hoc":"^0.8.3","react-transition-group":"^2.2.1","react-virtualized":"^9.12.0","redux":"^4.0.5","redux-actions":"^2.6.5","redux-immutable":"^4.0.0","redux-localstorage":"^1.0.0-rc5","redux-localstorage-debounce":"^0.1.0","redux-localstorage-filter":"^0.1.1","redux-saga":"^1.1.3","reselect":"^4.0.0","seamless-immutable":"^7.0.1","styled-components":"^4.0.0","subscriptions-transport-ws":"^0.9.5","utility-types":"^1.0.0","webpack-bundle-analyzer":"^3.3.2","zen-observable":"^0.7.1"},"lint-staged":{"*.{ts,tsx}":["prettier --single-quote --no-semi --write","tslint","git add"],"gitDir":"../../"},"jest":{"collectCoverageFrom":["src/**/*.{ts,tsx}"],"setupFiles":["<rootDir>/config/polyfills.js"],"testPathIgnorePatterns":["<rootDir>[/\\\\\\\\](build|docs|node_modules)[/\\\\\\\\]"],"testEnvironment":"node","testURL":"http://localhost","transform":{"^.+\\\\.css$":"<rootDir>/config/jest/cssTransform.js","^.+\\\\.tsx?$":"<rootDir>/config/jest/typescriptTransform.js","^(?!.*\\\\.(css|json)$)":"<rootDir>/config/jest/fileTransform.js"},"transformIgnorePatterns":["[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx)$"],"moduleNameMapper":{"^react-native$":"react-native-web"},"moduleFileExtensions":["ts","tsx","js"],"testRegex":"(/__tests__/.*|\\\\.(test|spec))\\\\.(ts|tsx|js)$"}}')},function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(94).memoize((function(e){return e<=1?1:o(e-1)+o(e-2)})),a=function(){function e(e){var t=this;this.count=1,this.running=!0,this.maxRetries=20,this.stop=function(){t.running=!1,clearTimeout(t.timeout)},this.cb=e}return e.prototype.start=function(){return r(this,void 0,void 0,(function(){var e,t=this;return i(this,(function(n){return(e=function(){return r(t,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.cb()];case 1:return t.sent(),this.count++,this.running&&this.count<this.maxRetries&&(this.timeout=setTimeout(e,1e3*(this.count<3?5:o(this.count-5)))),[2]}}))}))})(),[2]}))}))},e}();t.Backoff=a},function(e,t,n){t.__esModule=!0,t.Helmet=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=p(n(3)),a=p(n(60)),s=p(n(512)),u=p(n(514)),c=n(515),l=n(232);function p(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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}var m=function(e){var t,n;return n=t=function(t){function n(){return d(this,n),h(this,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)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!(0,u.default)(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.NOSCRIPT:return{innerHTML:t};case l.TAG_NAMES.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,i=e.arrayTypeChildren,o=e.newChildProps,a=e.nestedChildren;return r({},i,((t={})[n.type]=[].concat(i[n.type]||[],[r({},o,this.mapNestedChildrenToProps(n,a))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,i=e.child,o=e.newProps,a=e.newChildProps,s=e.nestedChildren;switch(i.type){case l.TAG_NAMES.TITLE:return r({},o,((t={})[i.type]=s,t.titleAttributes=r({},a),t));case l.TAG_NAMES.BODY:return r({},o,{bodyAttributes:r({},a)});case l.TAG_NAMES.HTML:return r({},o,{htmlAttributes:r({},a)})}return r({},o,((n={})[i.type]=r({},a),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=r({},t);return Object.keys(e).forEach((function(t){var i;n=r({},n,((i={})[t]=e[t],i))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return o.default.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=f(i,["children"]),s=(0,c.convertReactPropstoHtmlAttributes)(a);switch(n.warnOnInvalidChildren(e,o),e.type){case l.TAG_NAMES.LINK:case l.TAG_NAMES.META:case l.TAG_NAMES.NOSCRIPT:case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,i=f(t,["children"]),a=r({},i);return n&&(a=this.mapChildrenToProps(n,a)),o.default.createElement(e,a)},i(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(o.default.Component),t.propTypes={base:a.default.object,bodyAttributes:a.default.object,children:a.default.oneOfType([a.default.arrayOf(a.default.node),a.default.node]),defaultTitle:a.default.string,defer:a.default.bool,encodeSpecialCharacters:a.default.bool,htmlAttributes:a.default.object,link:a.default.arrayOf(a.default.object),meta:a.default.arrayOf(a.default.object),noscript:a.default.arrayOf(a.default.object),onChangeClientState:a.default.func,script:a.default.arrayOf(a.default.object),style:a.default.arrayOf(a.default.object),title:a.default.string,titleAttributes:a.default.object,titleTemplate:a.default.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=(0,c.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}((0,s.default)(c.reducePropsToState,c.handleClientStateChange,c.mapStateOnServer)((function(){return null})));m.renderStatic=m.rewind,t.Helmet=m,t.default=m},function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}var i=n(3),o=r(i),a=r(n(513));function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,l=[];function p(){c=e(l.map((function(e){return e.props}))),f.canUseDOM?t(c):n&&(c=n(c))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return c},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=c;return c=void 0,l=[],e};var s=i.prototype;return s.shouldComponentUpdate=function(e){return!a(e,this.props)},s.componentWillMount=function(){l.push(this),p()},s.componentDidUpdate=function(){p()},s.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),p()},s.render=function(){return o.createElement(r,this.props)},i}(i.Component);return s(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),s(f,"canUseDOM",u),f}}},function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,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 o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var c=o[u];if(!s(c))return!1;var l=e[c],p=t[c];if(!1===(i=n?n.call(r,l,p,c):void 0)||void 0===i&&l!==p)return!1}return!0}},function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var s,u,c,l=r(t),p=r(n);if(l&&p){if((u=t.length)!=n.length)return!1;for(s=u;0!==s--;)if(!e(t[s],n[s]))return!1;return!0}if(l!=p)return!1;var f=t instanceof Date,d=n instanceof Date;if(f!=d)return!1;if(f&&d)return t.getTime()==n.getTime();var h=t instanceof RegExp,m=n instanceof RegExp;if(h!=m)return!1;if(h&&m)return t.toString()==n.toString();var g=i(t);if((u=g.length)!==i(n).length)return!1;for(s=u;0!==s--;)if(!o.call(n,g[s]))return!1;if(a&&t instanceof Element&&n instanceof Element)return t===n;for(s=u;0!==s--;)if(("_owner"!==(c=g[s])||!t.$$typeof)&&!e(t[c],n[c]))return!1;return!0}return t!==t&&n!==n}(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},function(e,t,n){(function(e){t.__esModule=!0,t.warn=t.requestAnimationFrame=t.reducePropsToState=t.mapStateOnServer=t.handleClientStateChange=t.convertReactPropstoHtmlAttributes=void 0;var r="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=u(n(3)),a=u(n(90)),s=n(232);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},l=function(e){var t=m(e,s.TAG_NAMES.TITLE),n=m(e,s.HELMET_PROPS.TITLE_TEMPLATE);if(n&&t)return n.replace(/%s/g,(function(){return t}));var r=m(e,s.HELMET_PROPS.DEFAULT_TITLE);return t||r||void 0},p=function(e){return m(e,s.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},f=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return i({},e,t)}),{})},d=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[s.TAG_NAMES.BASE]})).map((function(e){return e[s.TAG_NAMES.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},h=function(e,t,n){var i={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&x("Helmet: "+e+' should be of type "Array". Instead found type "'+r(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var r={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var u=o[a],c=u.toLowerCase();-1===t.indexOf(c)||n===s.TAG_PROPERTIES.REL&&"canonical"===e[n].toLowerCase()||c===s.TAG_PROPERTIES.REL&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(u)||u!==s.TAG_PROPERTIES.INNER_HTML&&u!==s.TAG_PROPERTIES.CSS_TEXT&&u!==s.TAG_PROPERTIES.ITEM_PROP||(n=u)}if(!n||!e[n])return!1;var l=e[n].toLowerCase();return i[n]||(i[n]={}),r[n]||(r[n]={}),!i[n][l]&&(r[n][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(r),u=0;u<o.length;u++){var c=o[u],l=(0,a.default)({},i[c],r[c]);i[c]=l}return e}),[]).reverse()},m=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},g=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){g(t)}),0)}}(),v=function(e){return clearTimeout(e)},y="undefined"!==typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||g:e.requestAnimationFrame||g,b="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||v:e.cancelAnimationFrame||v,x=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},E=null,D=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,u=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,p=e.styleTags,f=e.title,d=e.titleAttributes;S(s.TAG_NAMES.BODY,r),S(s.TAG_NAMES.HTML,i),w(f,d);var h={baseTag:k(s.TAG_NAMES.BASE,n),linkTags:k(s.TAG_NAMES.LINK,o),metaTags:k(s.TAG_NAMES.META,a),noscriptTags:k(s.TAG_NAMES.NOSCRIPT,u),scriptTags:k(s.TAG_NAMES.SCRIPT,l),styleTags:k(s.TAG_NAMES.STYLE,p)},m={},g={};Object.keys(h).forEach((function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(g[e]=h[e].oldTags)})),t&&t(),c(e,m,g)},C=function(e){return Array.isArray(e)?e.join(""):e},w=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=C(e)),S(s.TAG_NAMES.TITLE,t)},S=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(s.HELMET_ATTRIBUTE),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),u=0;u<a.length;u++){var c=a[u],l=t[c]||"";n.getAttribute(c)!==l&&n.setAttribute(c,l),-1===i.indexOf(c)&&i.push(c);var p=o.indexOf(c);-1!==p&&o.splice(p,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(s.HELMET_ATTRIBUTE):n.getAttribute(s.HELMET_ATTRIBUTE)!==a.join(",")&&n.setAttribute(s.HELMET_ATTRIBUTE,a.join(","))}},k=function(e,t){var n=document.head||document.querySelector(s.TAG_NAMES.HEAD),r=n.querySelectorAll(e+"["+s.HELMET_ATTRIBUTE+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===s.TAG_PROPERTIES.INNER_HTML)n.innerHTML=t.innerHTML;else if(r===s.TAG_PROPERTIES.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var u="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,u)}n.setAttribute(s.HELMET_ATTRIBUTE,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},A=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[s.REACT_TAG_MAP[n]||n]=e[n],t}),t)},_=function(e,t,n){switch(e){case s.TAG_NAMES.TITLE:return{toComponent:function(){return function(e,t,n){var r,i=((r={key:t})[s.HELMET_ATTRIBUTE]=!0,r),a=T(n,i);return[o.default.createElement(s.TAG_NAMES.TITLE,a,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=A(n),o=C(t);return i?"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+i+">"+c(o,r)+"</"+e+">":"<"+e+" "+s.HELMET_ATTRIBUTE+'="true">'+c(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case s.ATTRIBUTE_NAMES.BODY:case s.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return T(t)},toString:function(){return A(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[s.HELMET_ATTRIBUTE]=!0,r);return Object.keys(t).forEach((function(e){var n=s.REACT_TAG_MAP[e]||e;if(n===s.TAG_PROPERTIES.INNER_HTML||n===s.TAG_PROPERTIES.CSS_TEXT){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),o.default.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===s.TAG_PROPERTIES.INNER_HTML||e===s.TAG_PROPERTIES.CSS_TEXT)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+c(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===s.SELF_CLOSING_TAGS.indexOf(e);return t+"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}};t.convertReactPropstoHtmlAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[s.HTML_TAG_MAP[n]||n]=e[n],t}),t)},t.handleClientStateChange=function(e){E&&b(E),e.defer?E=y((function(){D(e,(function(){E=null}))})):(D(e),E=null)},t.mapStateOnServer=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,u=e.noscriptTags,c=e.scriptTags,l=e.styleTags,p=e.title,f=void 0===p?"":p,d=e.titleAttributes;return{base:_(s.TAG_NAMES.BASE,t,r),bodyAttributes:_(s.ATTRIBUTE_NAMES.BODY,n,r),htmlAttributes:_(s.ATTRIBUTE_NAMES.HTML,i,r),link:_(s.TAG_NAMES.LINK,o,r),meta:_(s.TAG_NAMES.META,a,r),noscript:_(s.TAG_NAMES.NOSCRIPT,u,r),script:_(s.TAG_NAMES.SCRIPT,c,r),style:_(s.TAG_NAMES.STYLE,l,r),title:_(s.TAG_NAMES.TITLE,{title:f,titleAttributes:d},r)}},t.reducePropsToState=function(e){return{baseTag:d([s.TAG_PROPERTIES.HREF],e),bodyAttributes:f(s.ATTRIBUTE_NAMES.BODY,e),defer:m(e,s.HELMET_PROPS.DEFER),encode:m(e,s.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:f(s.ATTRIBUTE_NAMES.HTML,e),linkTags:h(s.TAG_NAMES.LINK,[s.TAG_PROPERTIES.REL,s.TAG_PROPERTIES.HREF],e),metaTags:h(s.TAG_NAMES.META,[s.TAG_PROPERTIES.NAME,s.TAG_PROPERTIES.CHARSET,s.TAG_PROPERTIES.HTTPEQUIV,s.TAG_PROPERTIES.PROPERTY,s.TAG_PROPERTIES.ITEM_PROP],e),noscriptTags:h(s.TAG_NAMES.NOSCRIPT,[s.TAG_PROPERTIES.INNER_HTML],e),onChangeClientState:p(e),scriptTags:h(s.TAG_NAMES.SCRIPT,[s.TAG_PROPERTIES.SRC,s.TAG_PROPERTIES.INNER_HTML],e),styleTags:h(s.TAG_NAMES.STYLE,[s.TAG_PROPERTIES.CSS_TEXT],e),title:l(e),titleAttributes:f(s.ATTRIBUTE_NAMES.TITLE,e)}},t.requestAnimationFrame=y,t.warn=x}).call(this,n(37))},function(e,t,n){"use strict";var r=n(517);e.exports=r},function(e,t,n){"use strict";var r=n(518),i=n(541);function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=n(34),e.exports.Schema=n(86),e.exports.FAILSAFE_SCHEMA=n(151),e.exports.JSON_SCHEMA=n(234),e.exports.CORE_SCHEMA=n(233),e.exports.DEFAULT_SAFE_SCHEMA=n(103),e.exports.DEFAULT_FULL_SCHEMA=n(125),e.exports.load=r.load,e.exports.loadAll=r.loadAll,e.exports.safeLoad=r.safeLoad,e.exports.safeLoadAll=r.safeLoadAll,e.exports.dump=i.dump,e.exports.safeDump=i.safeDump,e.exports.YAMLException=n(102),e.exports.MINIMAL_SCHEMA=n(151),e.exports.SAFE_SCHEMA=n(103),e.exports.DEFAULT_SCHEMA=n(125),e.exports.scan=o("scan"),e.exports.parse=o("parse"),e.exports.compose=o("compose"),e.exports.addConstructor=o("addConstructor")},function(e,t,n){"use strict";var r=n(85),i=n(102),o=n(519),a=n(103),s=n(125),u=Object.prototype.hasOwnProperty,c=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,l=/[\x85\u2028\u2029]/,p=/[,\[\]\{\}]/,f=/^(?:!|!!|![a-z\-]+!)$/i,d=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}function m(e){return 10===e||13===e}function g(e){return 9===e||32===e}function v(e){return 9===e||32===e||10===e||13===e}function y(e){return 44===e||91===e||93===e||123===e||125===e}function b(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function x(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"\x85":95===e?"\xa0":76===e?"\u2028":80===e?"\u2029":""}function E(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var D=new Array(256),C=new Array(256),w=0;w<256;w++)D[w]=x(w)?1:0,C[w]=x(w);function S(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function k(e,t){return new i(t,new o(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function A(e,t){throw k(e,t)}function T(e,t){e.onWarning&&e.onWarning.call(null,k(e,t))}var _={YAML:function(e,t,n){var r,i,o;null!==e.version&&A(e,"duplication of %YAML directive"),1!==n.length&&A(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&A(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&A(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&T(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&A(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],f.test(r)||A(e,"ill-formed tag handle (first argument) of the TAG directive"),u.call(e.tagMap,r)&&A(e,'there is a previously declared suffix for "'+r+'" tag handle'),d.test(i)||A(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};function O(e,t,n,r){var i,o,a,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,o=s.length;i<o;i+=1)9===(a=s.charCodeAt(i))||32<=a&&a<=1114111||A(e,"expected valid JSON character");else c.test(s)&&A(e,"the stream contains non-printable characters");e.result+=s}}function F(e,t,n,i){var o,a,s,c;for(r.isObject(n)||A(e,"cannot merge mappings; the provided source object is unacceptable"),s=0,c=(o=Object.keys(n)).length;s<c;s+=1)a=o[s],u.call(t,a)||(t[a]=n[a],i[a]=!0)}function N(e,t,n,r,i,o,a,s){var c,l;if(Array.isArray(i))for(c=0,l=(i=Array.prototype.slice.call(i)).length;c<l;c+=1)Array.isArray(i[c])&&A(e,"nested arrays are not supported inside keys"),"object"===typeof i&&"[object Object]"===h(i[c])&&(i[c]="[object Object]");if("object"===typeof i&&"[object Object]"===h(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(o))for(c=0,l=o.length;c<l;c+=1)F(e,t,o[c],n);else F(e,t,o,n);else e.json||u.call(n,i)||!u.call(t,i)||(e.line=a||e.line,e.position=s||e.position,A(e,"duplicated mapping key")),t[i]=o,delete n[i];return t}function I(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):A(e,"a line break is expected"),e.line+=1,e.lineStart=e.position}function M(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);0!==i;){for(;g(i);)i=e.input.charCodeAt(++e.position);if(t&&35===i)do{i=e.input.charCodeAt(++e.position)}while(10!==i&&13!==i&&0!==i);if(!m(i))break;for(I(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position)}return-1!==n&&0!==r&&e.lineIndent<n&&T(e,"deficient indentation"),r}function j(e){var t,n=e.position;return!(45!==(t=e.input.charCodeAt(n))&&46!==t||t!==e.input.charCodeAt(n+1)||t!==e.input.charCodeAt(n+2)||(n+=3,0!==(t=e.input.charCodeAt(n))&&!v(t)))}function L(e,t){1===t?e.result+=" ":t>1&&(e.result+=r.repeat("\n",t-1))}function P(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&v(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,M(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,z(e,t,3,!1,!0),a.push(e.result),M(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)A(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!s&&(e.tag=i,e.anchor=o,e.kind="sequence",e.result=a,!0)}function R(e){var t,n,r,i,o=!1,a=!1;if(33!==(i=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&A(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(o=!0,i=e.input.charCodeAt(++e.position)):33===i?(a=!0,n="!!",i=e.input.charCodeAt(++e.position)):n="!",t=e.position,o){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&62!==i);e.position<e.length?(r=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):A(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!v(i);)33===i&&(a?A(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),f.test(n)||A(e,"named tag handle cannot contain such characters"),a=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),p.test(r)&&A(e,"tag suffix cannot contain flow indicator characters")}return r&&!d.test(r)&&A(e,"tag name cannot contain such characters: "+r),o?e.tag=r:u.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:A(e,'undeclared tag handle "'+n+'"'),!0}function B(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&A(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!v(n)&&!y(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&A(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function z(e,t,n,i,o){var a,s,c,l,p,f,d,h,x=1,w=!1,S=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=s=c=4===n||3===n,i&&M(e,!0,-1)&&(w=!0,e.lineIndent>t?x=1:e.lineIndent===t?x=0:e.lineIndent<t&&(x=-1)),1===x)for(;R(e)||B(e);)M(e,!0,-1)?(w=!0,c=a,e.lineIndent>t?x=1:e.lineIndent===t?x=0:e.lineIndent<t&&(x=-1)):c=!1;if(c&&(c=w||o),1!==x&&4!==n||(d=1===n||2===n?t:t+1,h=e.position-e.lineStart,1===x?c&&(P(e,h)||function(e,t,n){var r,i,o,a,s,u=e.tag,c=e.anchor,l={},p={},f=null,d=null,h=null,m=!1,y=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=l),s=e.input.charCodeAt(e.position);0!==s;){if(r=e.input.charCodeAt(e.position+1),o=e.line,a=e.position,63!==s&&58!==s||!v(r)){if(!z(e,n,2,!1,!0))break;if(e.line===o){for(s=e.input.charCodeAt(e.position);g(s);)s=e.input.charCodeAt(++e.position);if(58===s)v(s=e.input.charCodeAt(++e.position))||A(e,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(N(e,l,p,f,d,null),f=d=h=null),y=!0,m=!1,i=!1,f=e.tag,d=e.result;else{if(!y)return e.tag=u,e.anchor=c,!0;A(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return e.tag=u,e.anchor=c,!0;A(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===s?(m&&(N(e,l,p,f,d,null),f=d=h=null),y=!0,m=!0,i=!0):m?(m=!1,i=!0):A(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,s=r;if((e.line===o||e.lineIndent>t)&&(z(e,t,4,!0,i)&&(m?d=e.result:h=e.result),m||(N(e,l,p,f,d,h,o,a),f=d=h=null),M(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)A(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return m&&N(e,l,p,f,d,null),y&&(e.tag=u,e.anchor=c,e.kind="mapping",e.result=l),y}(e,h,d))||function(e,t){var n,r,i,o,a,s,u,c,l,p,f=!0,d=e.tag,h=e.anchor,m={};if(91===(p=e.input.charCodeAt(e.position)))i=93,s=!1,r=[];else{if(123!==p)return!1;i=125,s=!0,r={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=r),p=e.input.charCodeAt(++e.position);0!==p;){if(M(e,!0,t),(p=e.input.charCodeAt(e.position))===i)return e.position++,e.tag=d,e.anchor=h,e.kind=s?"mapping":"sequence",e.result=r,!0;f||A(e,"missed comma between flow collection entries"),l=null,o=a=!1,63===p&&v(e.input.charCodeAt(e.position+1))&&(o=a=!0,e.position++,M(e,!0,t)),n=e.line,z(e,t,1,!1,!0),c=e.tag,u=e.result,M(e,!0,t),p=e.input.charCodeAt(e.position),!a&&e.line!==n||58!==p||(o=!0,p=e.input.charCodeAt(++e.position),M(e,!0,t),z(e,t,1,!1,!0),l=e.result),s?N(e,r,m,c,u,l):o?r.push(N(e,null,m,c,u,l)):r.push(u),M(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(f=!0,p=e.input.charCodeAt(++e.position)):f=!1}A(e,"unexpected end of the stream within a flow collection")}(e,d)?S=!0:(s&&function(e,t){var n,i,o,a,s,u=1,c=!1,l=!1,p=t,f=0,d=!1;if(124===(a=e.input.charCodeAt(e.position)))i=!1;else{if(62!==a)return!1;i=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===u?u=43===a?3:2:A(e,"repeat of a chomping mode identifier");else{if(!((o=48<=(s=a)&&s<=57?s-48:-1)>=0))break;0===o?A(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?A(e,"repeat of an indentation width identifier"):(p=t+o-1,l=!0)}if(g(a)){do{a=e.input.charCodeAt(++e.position)}while(g(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!m(a)&&0!==a)}for(;0!==a;){for(I(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!l||e.lineIndent<p)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!l&&e.lineIndent>p&&(p=e.lineIndent),m(a))f++;else{if(e.lineIndent<p){3===u?e.result+=r.repeat("\n",c?1+f:f):1===u&&c&&(e.result+="\n");break}for(i?g(a)?(d=!0,e.result+=r.repeat("\n",c?1+f:f)):d?(d=!1,e.result+=r.repeat("\n",f+1)):0===f?c&&(e.result+=" "):e.result+=r.repeat("\n",f):e.result+=r.repeat("\n",c?1+f:f),c=!0,l=!0,f=0,n=e.position;!m(a)&&0!==a;)a=e.input.charCodeAt(++e.position);O(e,n,e.position,!1)}}return!0}(e,d)||function(e,t){var n,r,i;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(O(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,i=e.position}else m(n)?(O(e,r,i,!0),L(e,M(e,!1,t)),r=i=e.position):e.position===e.lineStart&&j(e)?A(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);A(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var n,r,i,o,a,s,u;if(34!==(s=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(s=e.input.charCodeAt(e.position));){if(34===s)return O(e,n,e.position,!0),e.position++,!0;if(92===s){if(O(e,n,e.position,!0),m(s=e.input.charCodeAt(++e.position)))M(e,!1,t);else if(s<256&&D[s])e.result+=C[s],e.position++;else if((a=120===(u=s)?2:117===u?4:85===u?8:0)>0){for(i=a,o=0;i>0;i--)(a=b(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:A(e,"expected hexadecimal character");e.result+=E(o),e.position++}else A(e,"unknown escape sequence");n=r=e.position}else m(s)?(O(e,n,r,!0),L(e,M(e,!1,t)),n=r=e.position):e.position===e.lineStart&&j(e)?A(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}A(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?S=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!v(r)&&!y(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&A(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||A(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],M(e,!0,-1),!0}(e)?function(e,t,n){var r,i,o,a,s,u,c,l,p=e.kind,f=e.result;if(v(l=e.input.charCodeAt(e.position))||y(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(v(r=e.input.charCodeAt(e.position+1))||n&&y(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==l;){if(58===l){if(v(r=e.input.charCodeAt(e.position+1))||n&&y(r))break}else if(35===l){if(v(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&j(e)||n&&y(l))break;if(m(l)){if(s=e.line,u=e.lineStart,c=e.lineIndent,M(e,!1,-1),e.lineIndent>=t){a=!0,l=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=u,e.lineIndent=c;break}}a&&(O(e,i,o,!1),L(e,e.line-s),i=o=e.position,a=!1),g(l)||(o=e.position+1),l=e.input.charCodeAt(++e.position)}return O(e,i,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,d,1===n)&&(S=!0,null===e.tag&&(e.tag="?")):(S=!0,null===e.tag&&null===e.anchor||A(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===x&&(S=c&&P(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(l=0,p=e.implicitTypes.length;l<p;l+=1)if((f=e.implicitTypes[l]).resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else u.call(e.typeMap[e.kind||"fallback"],e.tag)?(f=e.typeMap[e.kind||"fallback"][e.tag],null!==e.result&&f.kind!==e.kind&&A(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):A(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):A(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||S}function U(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&(M(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!v(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&A(e,"directive name must not be less than one character in length");0!==i;){for(;g(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!m(i));break}if(m(i))break;for(t=e.position;0!==i&&!v(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&I(e),u.call(_,n)?_[n](e,n,r):T(e,'unknown document directive "'+n+'"')}M(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,M(e,!0,-1)):a&&A(e,"directives end mark is expected"),z(e,e.lineIndent-1,4,!1,!0),M(e,!0,-1),e.checkLineBreaks&&l.test(e.input.slice(o,e.position))&&T(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&j(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,M(e,!0,-1)):e.position<e.length-1&&A(e,"end of the stream or a document separator is expected")}function q(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new S(e,t);for(n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)U(n);return n.documents}function V(e,t,n){var r,i,o=q(e,n);if("function"!==typeof t)return o;for(r=0,i=o.length;r<i;r+=1)t(o[r])}function H(e,t){var n=q(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new i("expected a single document in the stream, but found more")}}e.exports.loadAll=V,e.exports.load=H,e.exports.safeLoadAll=function(e,t,n){if("function"!==typeof t)return V(e,r.extend({schema:a},n));V(e,t,r.extend({schema:a},n))},e.exports.safeLoad=function(e,t){return H(e,r.extend({schema:a},t))}},function(e,t,n){"use strict";var r=n(85);function i(e,t,n,r,i){this.name=e,this.buffer=t,this.position=n,this.line=r,this.column=i}i.prototype.getSnippet=function(e,t){var n,i,o,a,s;if(!this.buffer)return null;for(e=e||4,t=t||75,n="",i=this.position;i>0&&-1==="\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(o="",a=this.position;a<this.buffer.length&&-1==="\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(a));)if((a+=1)-this.position>t/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(i,a),r.repeat(" ",e)+n+s+o+"\n"+r.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=i},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(85),i=n(34);function o(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,i=0,s=!1;if(!r)return!1;if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===r)return!0;if("b"===(t=e[++i])){for(i++;i<r;i++)if("_"!==(t=e[i])){if("0"!==t&&"1"!==t)return!1;s=!0}return s&&"_"!==t}if("x"===t){for(i++;i<r;i++)if("_"!==(t=e[i])){if(!(48<=(n=e.charCodeAt(i))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;s=!0}return s&&"_"!==t}for(;i<r;i++)if("_"!==(t=e[i])){if(!o(e.charCodeAt(i)))return!1;s=!0}return s&&"_"!==t}if("_"===t)return!1;for(;i<r;i++)if("_"!==(t=e[i])){if(":"===t)break;if(!a(e.charCodeAt(i)))return!1;s=!0}return!(!s||"_"===t)&&(":"!==t||/^(:[0-5]?[0-9])+$/.test(e.slice(i)))},construct:function(e){var t,n,r=e,i=1,o=[];return-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(t=r[0])&&"+"!==t||("-"===t&&(i=-1),t=(r=r.slice(1))[0]),"0"===r?0:"0"===t?"b"===r[1]?i*parseInt(r.slice(2),2):"x"===r[1]?i*parseInt(r,16):i*parseInt(r,8):-1!==r.indexOf(":")?(r.split(":").forEach((function(e){o.unshift(parseInt(e,10))})),r=0,n=1,o.forEach((function(e){r+=e*n,n*=60})),i*r):i*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1===0&&!r.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,n){"use strict";var r=n(85),i=n(34),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var a=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!o.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,i;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))})),t=0,r=1,i.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!==0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(34),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==i.exec(e)||null!==o.exec(e))},construct:function(e){var t,n,r,a,s,u,c,l,p=0,f=null;if(null===(t=i.exec(e))&&(t=o.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(s=+t[4],u=+t[5],c=+t[6],t[7]){for(p=t[7].slice(0,3);p.length<3;)p+="0";p=+p}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),l=new Date(Date.UTC(n,r,a,s,u,c,p)),f&&l.setTime(l.getTime()-f),l},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,n){"use strict";var r;try{r=n(530).Buffer}catch(a){}var i=n(34),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=o;for(n=0;n<i;n++)if(!((t=a.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8===0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),a=i.length,s=o,u=0,c=[];for(t=0;t<a;t++)t%4===0&&t&&(c.push(u>>16&255),c.push(u>>8&255),c.push(255&u)),u=u<<6|s.indexOf(i.charAt(t));return 0===(n=a%4*6)?(c.push(u>>16&255),c.push(u>>8&255),c.push(255&u)):18===n?(c.push(u>>10&255),c.push(u>>2&255)):12===n&&c.push(u>>4&255),r?r.from?r.from(c):new r(c):c},predicate:function(e){return r&&r.isBuffer(e)},represent:function(e){var t,n,r="",i=0,a=e.length,s=o;for(t=0;t<a;t++)t%3===0&&t&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},function(e,t,n){"use strict";(function(e){var r=n(531),i=n(532),o=n(533);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|d(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var r;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 p(e,t){if(l(t),e=s(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|d(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var p=!0,f=0;f<u;f++)if(c(e,o+f)!==c(t,f)){p=!1;break}if(p)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function x(e,t,n,r){return q(z(t,e.length-n),e,n,r)}function E(e,t,n,r){return q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function D(e,t,n,r){return E(e,t,n,r)}function C(e,t,n,r){return q(U(t),e,n,r)}function w(e,t,n,r){return q(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,c=e[i],l=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:128===(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.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=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?s(e,t):void 0!==n?"string"===typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return p(null,e)},u.allocUnsafeSlow=function(e){return p(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.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}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.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)g(this,t,t+1);return this},u.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)g(this,t,t+3),g(this,t+1,t+2);return this},u.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)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),c=this.slice(r,i),l=e.slice(t,n),p=0;p<s;++p)if(c[p]!==l[p]){o=c[p],a=l[p];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return D(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function _(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=B(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function M(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function j(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,o){return o||j(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function P(e,t,n,r,o){return o||j(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),u.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},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),u.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},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),u.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},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.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},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:z(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var R=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(R,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function q(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(37))},function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],s=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=0,p=s>0?a-4:a;for(n=0;n<p;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[l++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,p=n?i-1:0,f=n?-1:1,d=e[t+p];for(p+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+e[t+p],p+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+p],p+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,p=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?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,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(a++,u/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*u-1)*Math.pow(2,i),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=h,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+d]=255&a,d+=h,a/=256,c-=8);e[n+d-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=n(34),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,u=[],c=e;for(t=0,n=c.length;t<n;t+=1){if(r=c[t],s=!1,"[object Object]"!==o.call(r))return!1;for(a in r)if(i.call(r,a)){if(s)return!1;s=!0}if(!s)return!1;if(-1!==u.indexOf(a))return!1;u.push(a)}return!0},construct:function(e){return null!==e?e:[]}})},function(e,t,n){"use strict";var r=n(34),i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,s=e;for(a=new Array(s.length),t=0,n=s.length;t<n;t+=1){if(r=s[t],"[object Object]"!==i.call(r))return!1;if(1!==(o=Object.keys(r)).length)return!1;a[t]=[o[0],r[o[0]]]}return!0},construct:function(e){if(null===e)return[];var t,n,r,i,o,a=e;for(o=new Array(a.length),t=0,n=a.length;t<n;t+=1)r=a[t],i=Object.keys(r),o[t]=[i[0],r[i[0]]];return o}})},function(e,t,n){"use strict";var r=n(34),i=Object.prototype.hasOwnProperty;e.exports=new r("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0;var t,n=e;for(t in n)if(i.call(n,t)&&null!==n[t])return!1;return!0},construct:function(e){return null!==e?e:{}}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:function(){return!0},construct:function(){},predicate:function(e){return"undefined"===typeof e},represent:function(){return""}})},function(e,t,n){"use strict";var r=n(34);e.exports=new r("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:function(e){if(null===e)return!1;if(0===e.length)return!1;var t=e,n=/\/([gim]*)$/.exec(e),r="";if("/"===t[0]){if(n&&(r=n[1]),r.length>3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,n){"use strict";var r;try{r=n(540)}catch(o){"undefined"!==typeof window&&(r=window.esprima)}var i=n(34);e.exports=new i("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(i){return!1}},construct:function(e){var t,n="("+e+")",i=r.parse(n,{range:!0}),o=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(8),a=n(15);function s(e,t,n){var a=null,s=function(e,t){n&&n(e,t),a&&a.visit(e,t)},u="function"===typeof n?s:null,c=!1;if(t){c="boolean"===typeof t.comment&&t.comment;var l="boolean"===typeof t.attachComment&&t.attachComment;(c||l)&&((a=new r.CommentHandler).attach=l,t.comment=!0,u=s)}var p,f=!1;t&&"string"===typeof t.sourceType&&(f="module"===t.sourceType),p=t&&"boolean"===typeof t.jsx&&t.jsx?new i.JSXParser(e,t,u):new o.Parser(e,t,u);var d=f?p.parseModule():p.parseScript();return c&&a&&(d.comments=a.comments),p.config.tokens&&(d.tokens=p.tokens),p.config.tolerant&&(d.errors=p.errorHandler.errors),d}t.parse=s,t.parseModule=function(e,t,n){var r=t||{};return r.sourceType="module",s(e,r,n)},t.parseScript=function(e,t,n){var r=t||{};return r.sourceType="script",s(e,r,n)},t.tokenize=function(e,t,n){var r,i=new a.Tokenizer(e,t);r=[];try{for(;;){var o=i.getNextToken();if(!o)break;n&&(o=n(o)),r.push(o)}}catch(s){i.errorHandler.tolerate(s)}return i.errorHandler.tolerant&&(r.errors=i.errors()),r};var u=n(2);t.Syntax=u.Syntax,t.version="4.0.1"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(e,t){if(e.type===r.Syntax.BlockStatement&&0===e.body.length){for(var n=[],i=this.leading.length-1;i>=0;--i){var o=this.leading[i];t.end.offset>=o.start&&(n.unshift(o.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}n.length&&(e.innerComments=n)}},e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var n=this.trailing.length-1;n>=0;--n){var r=this.trailing[n];r.start>=e.end.offset&&t.unshift(r.comment)}return this.trailing.length=0,t}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var o=i.node.trailingComments[0];o&&o.range[0]>=e.end.offset&&(t=i.node.trailingComments,delete i.node.trailingComments)}return t},e.prototype.findLeadingComments=function(e){for(var t,n=[];this.stack.length>0&&((o=this.stack[this.stack.length-1])&&o.start>=e.start.offset);)t=o.node,this.stack.pop();if(t){for(var r=(t.leadingComments?t.leadingComments.length:0)-1;r>=0;--r){var i=t.leadingComments[r];i.range[1]<=e.start.offset&&(n.unshift(i),t.leadingComments.splice(r,1))}return t.leadingComments&&0===t.leadingComments.length&&delete t.leadingComments,n}for(r=this.leading.length-1;r>=0;--r){var o;(o=this.leading[r]).start<=e.start.offset&&(n.unshift(o.comment),this.leading.splice(r,1))}return n},e.prototype.visitNode=function(e,t){if(!(e.type===r.Syntax.Program&&e.body.length>0)){this.insertInnerComments(e,t);var n=this.findTrailingComments(t),i=this.findLeadingComments(t);i.length>0&&(e.leadingComments=i),n.length>0&&(e.trailingComments=n),this.stack.push({node:e,start:t.start.offset})}},e.prototype.visitComment=function(e,t){var n="L"===e.type[0]?"Line":"Block",r={type:n,value:e.value};if(e.range&&(r.range=e.range),e.loc&&(r.loc=e.loc),this.comments.push(r),this.attach){var i={comment:{type:n,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};e.loc&&(i.comment.loc=e.loc),e.type=n,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(e,t){"LineComment"===e.type||"BlockComment"===e.type?this.visitComment(e,t):this.attach&&this.visitNode(e,t)},e}();t.CommentHandler=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),o=n(5),a=n(6),s=n(7),u=n(8),c=n(13),l=n(14);function p(e){var t;switch(e.type){case a.JSXSyntax.JSXIdentifier:t=e.name;break;case a.JSXSyntax.JSXNamespacedName:var n=e;t=p(n.namespace)+":"+p(n.name);break;case a.JSXSyntax.JSXMemberExpression:var r=e;t=p(r.object)+"."+p(r.property)}return t}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var f=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}return r(t,e),t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)},t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},t.prototype.finishJSX=function(){this.nextToken()},t.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},t.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},t.prototype.scanXHTMLEntity=function(e){for(var t="&",n=!0,r=!1,o=!1,a=!1;!this.scanner.eof()&&n&&!r;){var s=this.scanner.source[this.scanner.index];if(s===e)break;if(r=";"===s,t+=s,++this.scanner.index,!r)switch(t.length){case 2:o="#"===s;break;case 3:o&&(n=(a="x"===s)||i.Character.isDecimalDigit(s.charCodeAt(0)),o=o&&!a);break;default:n=(n=n&&!(o&&!i.Character.isDecimalDigit(s.charCodeAt(0))))&&!(a&&!i.Character.isHexDigit(s.charCodeAt(0)))}}if(n&&r&&t.length>2){var u=t.substr(1,t.length-2);o&&u.length>1?t=String.fromCharCode(parseInt(u.substr(1),10)):a&&u.length>2?t=String.fromCharCode(parseInt("0"+u.substr(1),16)):o||a||!l.XHTMLEntities[u]||(t=l.XHTMLEntities[u])}return t},t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(60===e||62===e||47===e||58===e||61===e||123===e||125===e)return{type:7,value:s=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===e||39===e){for(var t=this.scanner.index,n=this.scanner.source[this.scanner.index++],r="";!this.scanner.eof()&&(u=this.scanner.source[this.scanner.index++])!==n;)r+="&"===u?this.scanXHTMLEntity(n):u;return{type:8,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(46===e){var o=this.scanner.source.charCodeAt(this.scanner.index+1),a=this.scanner.source.charCodeAt(this.scanner.index+2),s=46===o&&46===a?"...":".";return t=this.scanner.index,this.scanner.index+=s.length,{type:7,value:s,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}if(96===e)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(e)&&92!==e){for(t=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var u=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(u)&&92!==u)++this.scanner.index;else{if(45!==u)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(t,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index}}return this.scanner.lex()},t.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(e)),e},t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var e=this.scanner.index,t="";!this.scanner.eof();){var n=this.scanner.source[this.scanner.index];if("{"===n||"<"===n)break;++this.scanner.index,t+=n,i.Character.isLineTerminator(n.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===n&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var r={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};return t.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(r)),r},t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();return this.scanner.restoreState(e),t},t.prototype.expectJSX=function(e){var t=this.nextJSXToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return 7===t.type&&t.value===e},t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode(),t=this.nextJSXToken();return 100!==t.type&&this.throwUnexpectedToken(t),this.finalize(e,new o.JSXIdentifier(t.value))},t.prototype.parseJSXElementName=function(){var e=this.createJSXNode(),t=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=t;this.expectJSX(":");var r=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXNamespacedName(n,r))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var i=t;this.expectJSX(".");var a=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXMemberExpression(i,a))}return t},t.prototype.parseJSXAttributeName=function(){var e,t=this.createJSXNode(),n=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=n;this.expectJSX(":");var i=this.parseJSXIdentifier();e=this.finalize(t,new o.JSXNamespacedName(r,i))}else e=n;return e},t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode(),t=this.nextJSXToken();8!==t.type&&this.throwUnexpectedToken(t);var n=this.getTokenRaw(t);return this.finalize(e,new s.Literal(t.value,n))},t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXExpressionContainer(t))},t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode(),t=this.parseJSXAttributeName(),n=null;return this.matchJSX("=")&&(this.expectJSX("="),n=this.parseJSXAttributeValue()),this.finalize(e,new o.JSXAttribute(t,n))},t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var t=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(e,new o.JSXSpreadAttribute(t))},t.prototype.parseJSXAttributes=function(){for(var e=[];!this.matchJSX("/")&&!this.matchJSX(">");){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e},t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName(),n=this.parseJSXAttributes(),r=this.matchJSX("/");return r&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(t,r,n))},t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(e,new o.JSXClosingElement(t))}var n=this.parseJSXElementName(),r=this.parseJSXAttributes(),i=this.matchJSX("/");return i&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(e,new o.JSXOpeningElement(n,i,r))},t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(e,new o.JSXEmptyExpression)},t.prototype.parseJSXExpressionContainer=function(){var e,t=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(e=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),e=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(t,new o.JSXExpressionContainer(e))},t.prototype.parseJSXChildren=function(){for(var e=[];!this.scanner.eof();){var t=this.createJSXChildNode(),n=this.nextJSXText();if(n.start<n.end){var r=this.getTokenRaw(n),i=this.finalize(t,new o.JSXText(n.value,r));e.push(i)}if("{"!==this.scanner.source[this.scanner.index])break;var a=this.parseJSXExpressionContainer();e.push(a)}return e},t.prototype.parseComplexJSXElement=function(e){for(var t=[];!this.scanner.eof();){e.children=e.children.concat(this.parseJSXChildren());var n=this.createJSXChildNode(),r=this.parseJSXBoundaryElement();if(r.type===a.JSXSyntax.JSXOpeningElement){var i=r;if(i.selfClosing){var s=this.finalize(n,new o.JSXElement(i,[],null));e.children.push(s)}else t.push(e),e={node:n,opening:i,closing:null,children:[]}}if(r.type===a.JSXSyntax.JSXClosingElement){e.closing=r;var u=p(e.opening.name);if(u!==p(e.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",u),!(t.length>0))break;s=this.finalize(e.node,new o.JSXElement(e.opening,e.children,e.closing)),(e=t[t.length-1]).children.push(s),t.pop()}}return e},t.prototype.parseJSXElement=function(){var e=this.createJSXNode(),t=this.parseJSXOpeningElement(),n=[],r=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:r,children:n});n=i.children,r=i.closing}return this.finalize(e,new o.JSXElement(t,n,r))},t.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var e=this.parseJSXElement();return this.finishJSX(),e},t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")},t}(u.Parser);t.JSXParser=f},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&n.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&n.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=function(e){this.type=r.JSXSyntax.JSXClosingElement,this.name=e};t.JSXClosingElement=i;var o=function(e,t,n){this.type=r.JSXSyntax.JSXElement,this.openingElement=e,this.children=t,this.closingElement=n};t.JSXElement=o;var a=function(){this.type=r.JSXSyntax.JSXEmptyExpression};t.JSXEmptyExpression=a;var s=function(e){this.type=r.JSXSyntax.JSXExpressionContainer,this.expression=e};t.JSXExpressionContainer=s;var u=function(e){this.type=r.JSXSyntax.JSXIdentifier,this.name=e};t.JSXIdentifier=u;var c=function(e,t){this.type=r.JSXSyntax.JSXMemberExpression,this.object=e,this.property=t};t.JSXMemberExpression=c;var l=function(e,t){this.type=r.JSXSyntax.JSXAttribute,this.name=e,this.value=t};t.JSXAttribute=l;var p=function(e,t){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=e,this.name=t};t.JSXNamespacedName=p;var f=function(e,t,n){this.type=r.JSXSyntax.JSXOpeningElement,this.name=e,this.selfClosing=t,this.attributes=n};t.JSXOpeningElement=f;var d=function(e){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=e};t.JSXSpreadAttribute=d;var h=function(e,t){this.type=r.JSXSyntax.JSXText,this.value=e,this.raw=t};t.JSXText=h},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=function(e){this.type=r.Syntax.ArrayExpression,this.elements=e};t.ArrayExpression=i;var o=function(e){this.type=r.Syntax.ArrayPattern,this.elements=e};t.ArrayPattern=o;var a=function(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!1};t.ArrowFunctionExpression=a;var s=function(e,t,n){this.type=r.Syntax.AssignmentExpression,this.operator=e,this.left=t,this.right=n};t.AssignmentExpression=s;var u=function(e,t){this.type=r.Syntax.AssignmentPattern,this.left=e,this.right=t};t.AssignmentPattern=u;var c=function(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=null,this.params=e,this.body=t,this.generator=!1,this.expression=n,this.async=!0};t.AsyncArrowFunctionExpression=c;var l=function(e,t,n){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionDeclaration=l;var p=function(e,t,n){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=!1,this.expression=!1,this.async=!0};t.AsyncFunctionExpression=p;var f=function(e){this.type=r.Syntax.AwaitExpression,this.argument=e};t.AwaitExpression=f;var d=function(e,t,n){var i="||"===e||"&&"===e;this.type=i?r.Syntax.LogicalExpression:r.Syntax.BinaryExpression,this.operator=e,this.left=t,this.right=n};t.BinaryExpression=d;var h=function(e){this.type=r.Syntax.BlockStatement,this.body=e};t.BlockStatement=h;var m=function(e){this.type=r.Syntax.BreakStatement,this.label=e};t.BreakStatement=m;var g=function(e,t){this.type=r.Syntax.CallExpression,this.callee=e,this.arguments=t};t.CallExpression=g;var v=function(e,t){this.type=r.Syntax.CatchClause,this.param=e,this.body=t};t.CatchClause=v;var y=function(e){this.type=r.Syntax.ClassBody,this.body=e};t.ClassBody=y;var b=function(e,t,n){this.type=r.Syntax.ClassDeclaration,this.id=e,this.superClass=t,this.body=n};t.ClassDeclaration=b;var x=function(e,t,n){this.type=r.Syntax.ClassExpression,this.id=e,this.superClass=t,this.body=n};t.ClassExpression=x;var E=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!0,this.object=e,this.property=t};t.ComputedMemberExpression=E;var D=function(e,t,n){this.type=r.Syntax.ConditionalExpression,this.test=e,this.consequent=t,this.alternate=n};t.ConditionalExpression=D;var C=function(e){this.type=r.Syntax.ContinueStatement,this.label=e};t.ContinueStatement=C;var w=function(){this.type=r.Syntax.DebuggerStatement};t.DebuggerStatement=w;var S=function(e,t){this.type=r.Syntax.ExpressionStatement,this.expression=e,this.directive=t};t.Directive=S;var k=function(e,t){this.type=r.Syntax.DoWhileStatement,this.body=e,this.test=t};t.DoWhileStatement=k;var A=function(){this.type=r.Syntax.EmptyStatement};t.EmptyStatement=A;var T=function(e){this.type=r.Syntax.ExportAllDeclaration,this.source=e};t.ExportAllDeclaration=T;var _=function(e){this.type=r.Syntax.ExportDefaultDeclaration,this.declaration=e};t.ExportDefaultDeclaration=_;var O=function(e,t,n){this.type=r.Syntax.ExportNamedDeclaration,this.declaration=e,this.specifiers=t,this.source=n};t.ExportNamedDeclaration=O;var F=function(e,t){this.type=r.Syntax.ExportSpecifier,this.exported=t,this.local=e};t.ExportSpecifier=F;var N=function(e){this.type=r.Syntax.ExpressionStatement,this.expression=e};t.ExpressionStatement=N;var I=function(e,t,n){this.type=r.Syntax.ForInStatement,this.left=e,this.right=t,this.body=n,this.each=!1};t.ForInStatement=I;var M=function(e,t,n){this.type=r.Syntax.ForOfStatement,this.left=e,this.right=t,this.body=n};t.ForOfStatement=M;var j=function(e,t,n,i){this.type=r.Syntax.ForStatement,this.init=e,this.test=t,this.update=n,this.body=i};t.ForStatement=j;var L=function(e,t,n,i){this.type=r.Syntax.FunctionDeclaration,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1};t.FunctionDeclaration=L;var P=function(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this.params=t,this.body=n,this.generator=i,this.expression=!1,this.async=!1};t.FunctionExpression=P;var R=function(e){this.type=r.Syntax.Identifier,this.name=e};t.Identifier=R;var B=function(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.consequent=t,this.alternate=n};t.IfStatement=B;var z=function(e,t){this.type=r.Syntax.ImportDeclaration,this.specifiers=e,this.source=t};t.ImportDeclaration=z;var U=function(e){this.type=r.Syntax.ImportDefaultSpecifier,this.local=e};t.ImportDefaultSpecifier=U;var q=function(e){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=e};t.ImportNamespaceSpecifier=q;var V=function(e,t){this.type=r.Syntax.ImportSpecifier,this.local=e,this.imported=t};t.ImportSpecifier=V;var H=function(e,t){this.type=r.Syntax.LabeledStatement,this.label=e,this.body=t};t.LabeledStatement=H;var W=function(e,t){this.type=r.Syntax.Literal,this.value=e,this.raw=t};t.Literal=W;var G=function(e,t){this.type=r.Syntax.MetaProperty,this.meta=e,this.property=t};t.MetaProperty=G;var K=function(e,t,n,i,o){this.type=r.Syntax.MethodDefinition,this.key=e,this.computed=t,this.value=n,this.kind=i,this.static=o};t.MethodDefinition=K;var J=function(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="module"};t.Module=J;var Y=function(e,t){this.type=r.Syntax.NewExpression,this.callee=e,this.arguments=t};t.NewExpression=Y;var Q=function(e){this.type=r.Syntax.ObjectExpression,this.properties=e};t.ObjectExpression=Q;var $=function(e){this.type=r.Syntax.ObjectPattern,this.properties=e};t.ObjectPattern=$;var X=function(e,t,n,i,o,a){this.type=r.Syntax.Property,this.key=t,this.computed=n,this.value=i,this.kind=e,this.method=o,this.shorthand=a};t.Property=X;var Z=function(e,t,n,i){this.type=r.Syntax.Literal,this.value=e,this.raw=t,this.regex={pattern:n,flags:i}};t.RegexLiteral=Z;var ee=function(e){this.type=r.Syntax.RestElement,this.argument=e};t.RestElement=ee;var te=function(e){this.type=r.Syntax.ReturnStatement,this.argument=e};t.ReturnStatement=te;var ne=function(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="script"};t.Script=ne;var re=function(e){this.type=r.Syntax.SequenceExpression,this.expressions=e};t.SequenceExpression=re;var ie=function(e){this.type=r.Syntax.SpreadElement,this.argument=e};t.SpreadElement=ie;var oe=function(e,t){this.type=r.Syntax.MemberExpression,this.computed=!1,this.object=e,this.property=t};t.StaticMemberExpression=oe;var ae=function(){this.type=r.Syntax.Super};t.Super=ae;var se=function(e,t){this.type=r.Syntax.SwitchCase,this.test=e,this.consequent=t};t.SwitchCase=se;var ue=function(e,t){this.type=r.Syntax.SwitchStatement,this.discriminant=e,this.cases=t};t.SwitchStatement=ue;var ce=function(e,t){this.type=r.Syntax.TaggedTemplateExpression,this.tag=e,this.quasi=t};t.TaggedTemplateExpression=ce;var le=function(e,t){this.type=r.Syntax.TemplateElement,this.value=e,this.tail=t};t.TemplateElement=le;var pe=function(e,t){this.type=r.Syntax.TemplateLiteral,this.quasis=e,this.expressions=t};t.TemplateLiteral=pe;var fe=function(){this.type=r.Syntax.ThisExpression};t.ThisExpression=fe;var de=function(e){this.type=r.Syntax.ThrowStatement,this.argument=e};t.ThrowStatement=de;var he=function(e,t,n){this.type=r.Syntax.TryStatement,this.block=e,this.handler=t,this.finalizer=n};t.TryStatement=he;var me=function(e,t){this.type=r.Syntax.UnaryExpression,this.operator=e,this.argument=t,this.prefix=!0};t.UnaryExpression=me;var ge=function(e,t,n){this.type=r.Syntax.UpdateExpression,this.operator=e,this.argument=t,this.prefix=n};t.UpdateExpression=ge;var ve=function(e,t){this.type=r.Syntax.VariableDeclaration,this.declarations=e,this.kind=t};t.VariableDeclaration=ve;var ye=function(e,t){this.type=r.Syntax.VariableDeclarator,this.id=e,this.init=t};t.VariableDeclarator=ye;var be=function(e,t){this.type=r.Syntax.WhileStatement,this.test=e,this.body=t};t.WhileStatement=be;var xe=function(e,t){this.type=r.Syntax.WithStatement,this.object=e,this.body=t};t.WithStatement=xe;var Ee=function(e,t){this.type=r.Syntax.YieldExpression,this.argument=e,this.delegate=t};t.YieldExpression=Ee},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(10),o=n(11),a=n(7),s=n(12),u=n(2),c=n(13),l=function(){function e(e,t,n){void 0===t&&(t={}),this.config={range:"boolean"===typeof t.range&&t.range,loc:"boolean"===typeof t.loc&&t.loc,source:null,tokens:"boolean"===typeof t.tokens&&t.tokens,comment:"boolean"===typeof t.comment&&t.comment,tolerant:"boolean"===typeof t.tolerant&&t.tolerant},this.config.loc&&t.source&&null!==t.source&&(this.config.source=String(t.source)),this.delegate=n,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new s.Scanner(e,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return e.prototype.throwError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Array.prototype.slice.call(arguments,1),o=e.replace(/%(\d)/g,(function(e,t){return r.assert(t<i.length,"Message reference must be in range"),i[t]})),a=this.lastMarker.index,s=this.lastMarker.line,u=this.lastMarker.column+1;throw this.errorHandler.createError(a,s,u,o)},e.prototype.tolerateError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Array.prototype.slice.call(arguments,1),o=e.replace(/%(\d)/g,(function(e,t){return r.assert(t<i.length,"Message reference must be in range"),i[t]})),a=this.lastMarker.index,s=this.scanner.lineNumber,u=this.lastMarker.column+1;this.errorHandler.tolerateError(a,s,u,o)},e.prototype.unexpectedTokenError=function(e,t){var n,r=t||o.Messages.UnexpectedToken;if(e?(t||(r=2===e.type?o.Messages.UnexpectedEOS:3===e.type?o.Messages.UnexpectedIdentifier:6===e.type?o.Messages.UnexpectedNumber:8===e.type?o.Messages.UnexpectedString:10===e.type?o.Messages.UnexpectedTemplate:o.Messages.UnexpectedToken,4===e.type&&(this.scanner.isFutureReservedWord(e.value)?r=o.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)&&(r=o.Messages.StrictReservedWord))),n=e.value):n="ILLEGAL",r=r.replace("%0",n),e&&"number"===typeof e.lineNumber){var i=e.start,a=e.lineNumber,s=this.lastMarker.index-this.lastMarker.column,u=e.start-s+1;return this.errorHandler.createError(i,a,u,r)}return i=this.lastMarker.index,a=this.lastMarker.line,u=this.lastMarker.column+1,this.errorHandler.createError(i,a,u,r)},e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)},e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))},e.prototype.collectComments=function(){if(this.config.comment){var e=this.scanner.scanComments();if(e.length>0&&this.delegate)for(var t=0;t<e.length;++t){var n=e[t],r=void 0;r={type:n.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(n.slice[0],n.slice[1])},this.config.range&&(r.range=n.range),this.config.loc&&(r.loc=n.loc);var i={start:{line:n.loc.start.line,column:n.loc.start.column,offset:n.range[0]},end:{line:n.loc.end.line,column:n.loc.end.column,offset:n.range[1]}};this.delegate(r,i)}}else this.scanner.scanComments()},e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)},e.prototype.convertToken=function(e){var t={type:c.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range&&(t.range=[e.start,e.end]),this.config.loc&&(t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===e.type){var n=e.pattern,r=e.flags;t.regex={pattern:n,flags:r}}return t},e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var t=this.scanner.lex();return this.hasLineTerminator=e.lineNumber!==t.lineNumber,t&&this.context.strict&&3===t.type&&this.scanner.isStrictModeReservedWord(t.value)&&(t.type=4),this.lookahead=t,this.config.tokens&&2!==t.type&&this.tokens.push(this.convertToken(t)),e},e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(e))),this.lookahead=e,this.nextToken(),e},e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},e.prototype.startNode=function(e,t){void 0===t&&(t=0);var n=e.start-e.lineStart,r=e.lineNumber;return n<0&&(n+=t,r--),{index:e.start,line:r,column:n}},e.prototype.finalize=function(e,t){if(this.config.range&&(t.range=[e.index,this.lastMarker.index]),this.config.loc&&(t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(t.loc.source=this.config.source)),this.delegate){var n={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,n)}return t},e.prototype.expect=function(e){var t=this.nextToken();7===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;7===e.type&&","===e.value?this.nextToken():7===e.type&&";"===e.value?(this.nextToken(),this.tolerateUnexpectedToken(e)):this.tolerateUnexpectedToken(e,o.Messages.UnexpectedToken)}else this.expect(",")},e.prototype.expectKeyword=function(e){var t=this.nextToken();4===t.type&&t.value===e||this.throwUnexpectedToken(t)},e.prototype.match=function(e){return 7===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchKeyword=function(e){return 4===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchContextualKeyword=function(e){return 3===this.lookahead.type&&this.lookahead.value===e},e.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var e=this.lookahead.value;return"="===e||"*="===e||"**="===e||"/="===e||"%="===e||"+="===e||"-="===e||"<<="===e||">>="===e||">>>="===e||"&="===e||"^="===e||"|="===e},e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=t,this.context.isAssignmentTarget=n,this.context.firstCoverInitializedNameError=r,i},e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement,n=this.context.isAssignmentTarget,r=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=e.call(this);return this.context.isBindingElement=this.context.isBindingElement&&t,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&n,this.context.firstCoverInitializedNameError=r||this.context.firstCoverInitializedNameError,i},e.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},e.prototype.parsePrimaryExpression=function(){var e,t,n,r=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),e=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(r,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal(t.value,n));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal("true"===t.value,n));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,t=this.nextToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.Literal(null,n));break;case 10:e=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,e=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":e=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":e=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,t=this.nextRegexToken(),n=this.getTokenRaw(t),e=this.finalize(r,new a.RegexLiteral(t.regex,n,t.pattern,t.flags));break;default:e=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?e=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?e=this.finalize(r,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?e=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),e=this.finalize(r,new a.ThisExpression)):e=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:e=this.throwUnexpectedToken(this.nextToken())}return e},e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new a.SpreadElement(t))},e.prototype.parseArrayInitializer=function(){var e=this.createNode(),t=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),t.push(null);else if(this.match("...")){var n=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),t.push(n)}else t.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(e,new a.ArrayExpression(t))},e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var t=this.context.strict,n=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var r=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&e.firstRestricted&&this.tolerateUnexpectedToken(e.firstRestricted,e.message),this.context.strict&&e.stricted&&this.tolerateUnexpectedToken(e.stricted,e.message),this.context.strict=t,this.context.allowStrictDirective=n,r},e.prototype.parsePropertyMethodFunction=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters(),r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode(),t=this.context.allowYield,n=this.context.await;this.context.allowYield=!1,this.context.await=!0;var r=this.parseFormalParameters(),i=this.parsePropertyMethod(r);return this.context.allowYield=t,this.context.await=n,this.finalize(e,new a.AsyncFunctionExpression(null,r.params,i))},e.prototype.parseObjectPropertyKey=function(){var e,t=this.createNode(),n=this.nextToken();switch(n.type){case 8:case 6:this.context.strict&&n.octal&&this.tolerateUnexpectedToken(n,o.Messages.StrictOctalLiteral);var r=this.getTokenRaw(n);e=this.finalize(t,new a.Literal(n.value,r));break;case 3:case 1:case 5:case 4:e=this.finalize(t,new a.Identifier(n.value));break;case 7:"["===n.value?(e=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):e=this.throwUnexpectedToken(n);break;default:e=this.throwUnexpectedToken(n)}return e},e.prototype.isPropertyKey=function(e,t){return e.type===u.Syntax.Identifier&&e.name===t||e.type===u.Syntax.Literal&&e.value===t},e.prototype.parseObjectProperty=function(e){var t,n=this.createNode(),r=this.lookahead,i=null,s=null,u=!1,c=!1,l=!1,p=!1;if(3===r.type){var f=r.value;this.nextToken(),u=this.match("["),i=(p=!this.hasLineTerminator&&"async"===f&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","))?this.parseObjectPropertyKey():this.finalize(n,new a.Identifier(f))}else this.match("*")?this.nextToken():(u=this.match("["),i=this.parseObjectPropertyKey());var d=this.qualifiedPropertyName(this.lookahead);if(3===r.type&&!p&&"get"===r.value&&d)t="get",u=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod();else if(3===r.type&&!p&&"set"===r.value&&d)t="set",u=this.match("["),i=this.parseObjectPropertyKey(),s=this.parseSetterMethod();else if(7===r.type&&"*"===r.value&&d)t="init",u=this.match("["),i=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),c=!0;else if(i||this.throwUnexpectedToken(this.lookahead),t="init",this.match(":")&&!p)!u&&this.isPropertyKey(i,"__proto__")&&(e.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),e.value=!0),this.nextToken(),s=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))s=p?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),c=!0;else if(3===r.type)if(f=this.finalize(n,new a.Identifier(r.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),l=!0;var h=this.isolateCoverGrammar(this.parseAssignmentExpression);s=this.finalize(n,new a.AssignmentPattern(f,h))}else l=!0,s=f;else this.throwUnexpectedToken(this.nextToken());return this.finalize(n,new a.Property(t,i,u,s,c,l))},e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");for(var t=[],n={value:!1};!this.match("}");)t.push(this.parseObjectProperty(n)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(e,new a.ObjectExpression(t))},e.prototype.parseTemplateHead=function(){r.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode(),t=this.nextToken(),n=t.value,i=t.cooked;return this.finalize(e,new a.TemplateElement({raw:n,cooked:i},t.tail))},e.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var e=this.createNode(),t=this.nextToken(),n=t.value,r=t.cooked;return this.finalize(e,new a.TemplateElement({raw:n,cooked:r},t.tail))},e.prototype.parseTemplateLiteral=function(){var e=this.createNode(),t=[],n=[],r=this.parseTemplateHead();for(n.push(r);!r.tail;)t.push(this.parseExpression()),r=this.parseTemplateElement(),n.push(r);return this.finalize(e,new a.TemplateLiteral(n,t))},e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:e.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(e.argument);break;case u.Syntax.ArrayExpression:e.type=u.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++)null!==e.elements[t]&&this.reinterpretExpressionAsPattern(e.elements[t]);break;case u.Syntax.ObjectExpression:for(e.type=u.Syntax.ObjectPattern,t=0;t<e.properties.length;t++)this.reinterpretExpressionAsPattern(e.properties[t].value);break;case u.Syntax.AssignmentExpression:e.type=u.Syntax.AssignmentPattern,delete e.operator,this.reinterpretExpressionAsPattern(e.left)}},e.prototype.parseGroupExpression=function(){var e;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var t=this.lookahead,n=[];if(this.match("..."))e=this.parseRestElement(n),this.expect(")"),this.match("=>")||this.expect("=>"),e={type:"ArrowParameterPlaceHolder",params:[e],async:!1};else{var r=!1;if(this.context.isBindingElement=!0,e=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var i=[];for(this.context.isAssignmentTarget=!1,i.push(e);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var o=0;o<i.length;o++)this.reinterpretExpressionAsPattern(i[o]);r=!0,e={type:"ArrowParameterPlaceHolder",params:i,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),i.push(this.parseRestElement(n)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,o=0;o<i.length;o++)this.reinterpretExpressionAsPattern(i[o]);r=!0,e={type:"ArrowParameterPlaceHolder",params:i,async:!1}}else i.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(r)break}r||(e=this.finalize(this.startNode(t),new a.SequenceExpression(i)))}if(!r){if(this.expect(")"),this.match("=>")&&(e.type===u.Syntax.Identifier&&"yield"===e.name&&(r=!0,e={type:"ArrowParameterPlaceHolder",params:[e],async:!1}),!r)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),e.type===u.Syntax.SequenceExpression)for(o=0;o<e.expressions.length;o++)this.reinterpretExpressionAsPattern(e.expressions[o]);else this.reinterpretExpressionAsPattern(e);e={type:"ArrowParameterPlaceHolder",params:e.type===u.Syntax.SequenceExpression?e.expressions:[e],async:!1}}this.context.isBindingElement=!1}}}return e},e.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.isIdentifierName=function(e){return 3===e.type||4===e.type||1===e.type||5===e.type},e.prototype.parseIdentifierName=function(){var e=this.createNode(),t=this.nextToken();return this.isIdentifierName(t)||this.throwUnexpectedToken(t),this.finalize(e,new a.Identifier(t.value))},e.prototype.parseNewExpression=function(){var e,t=this.createNode(),n=this.parseIdentifierName();if(r.assert("new"===n.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var i=this.parseIdentifierName();e=new a.MetaProperty(n,i)}else this.throwUnexpectedToken(this.lookahead);else{var o=this.isolateCoverGrammar(this.parseLeftHandSideExpression),s=this.match("(")?this.parseArguments():[];e=new a.NewExpression(o,s),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(t,e)},e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,e},e.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")"))for(;;){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(e.push(t),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),e},e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e,t=this.lookahead,n=this.matchContextualKeyword("async"),r=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(e=this.createNode(),this.nextToken(),e=this.finalize(e,new a.Super),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):e=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var i=this.parseIdentifierName();e=this.finalize(this.startNode(t),new a.StaticMemberExpression(e,i))}else if(this.match("(")){var o=n&&t.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var s=o?this.parseAsyncArguments():this.parseArguments();if(e=this.finalize(this.startNode(t),new a.CallExpression(e,s)),o&&this.match("=>")){for(var u=0;u<s.length;++u)this.reinterpretExpressionAsPattern(s[u]);e={type:"ArrowParameterPlaceHolder",params:s,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),i=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),e=this.finalize(this.startNode(t),new a.ComputedMemberExpression(e,i));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var c=this.parseTemplateLiteral();e=this.finalize(this.startNode(t),new a.TaggedTemplateExpression(e,c))}return this.context.allowIn=r,e},e.prototype.parseSuper=function(){var e=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(e,new a.Super)},e.prototype.parseLeftHandSideExpression=function(){r.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var e=this.startNode(this.lookahead),t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var n=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),t=this.finalize(e,new a.ComputedMemberExpression(t,n))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),n=this.parseIdentifierName(),t=this.finalize(e,new a.StaticMemberExpression(t,n));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var i=this.parseTemplateLiteral();t=this.finalize(e,new a.TaggedTemplateExpression(t,i))}return t},e.prototype.parseUpdateExpression=function(){var e,t=this.lookahead;if(this.match("++")||this.match("--")){var n=this.startNode(t),r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&e.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(o.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment);var i=!0;e=this.finalize(n,new a.UpdateExpression(r.value,e,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&e.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)&&this.tolerateError(o.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var s=this.nextToken().value;i=!1,e=this.finalize(this.startNode(t),new a.UpdateExpression(s,e,i))}return e},e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new a.AwaitExpression(t))},e.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead),n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression),e=this.finalize(t,new a.UnaryExpression(n.value,e)),this.context.strict&&"delete"===e.operator&&e.argument.type===u.Syntax.Identifier&&this.tolerateError(o.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else e=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return e},e.prototype.parseExponentiationExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==u.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var n=t,r=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new a.BinaryExpression("**",n,r))}return t},e.prototype.binaryPrecedence=function(e){var t=e.value;return 7===e.type?this.operatorPrecedence[t]||0:4===e.type&&("instanceof"===t||this.context.allowIn&&"in"===t)?7:0},e.prototype.parseBinaryExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseExponentiationExpression),n=this.lookahead,r=this.binaryPrecedence(n);if(r>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[e,this.lookahead],o=t,s=this.isolateCoverGrammar(this.parseExponentiationExpression),u=[o,n.value,s],c=[r];!((r=this.binaryPrecedence(this.lookahead))<=0);){for(;u.length>2&&r<=c[c.length-1];){s=u.pop();var l=u.pop();c.pop(),o=u.pop(),i.pop();var p=this.startNode(i[i.length-1]);u.push(this.finalize(p,new a.BinaryExpression(l,o,s)))}u.push(this.nextToken().value),c.push(r),i.push(this.lookahead),u.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var f=u.length-1;t=u[f];for(var d=i.pop();f>1;){var h=i.pop(),m=d&&d.lineStart;p=this.startNode(h,m),l=u[f-1],t=this.finalize(p,new a.BinaryExpression(l,u[f-2],t)),f-=2,d=h}}return t},e.prototype.parseConditionalExpression=function(){var e=this.lookahead,t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var n=this.context.allowIn;this.context.allowIn=!0;var r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=n,this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.ConditionalExpression(t,r,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return t},e.prototype.checkPatternParam=function(e,t){switch(t.type){case u.Syntax.Identifier:this.validateParam(e,t,t.name);break;case u.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case u.Syntax.ArrayPattern:for(var n=0;n<t.elements.length;n++)null!==t.elements[n]&&this.checkPatternParam(e,t.elements[n]);break;case u.Syntax.ObjectPattern:for(n=0;n<t.properties.length;n++)this.checkPatternParam(e,t.properties[n].value)}e.simple=e.simple&&t instanceof a.Identifier},e.prototype.reinterpretAsCoverFormalsList=function(e){var t,n=[e],r=!1;switch(e.type){case u.Syntax.Identifier:break;case"ArrowParameterPlaceHolder":n=e.params,r=e.async;break;default:return null}t={simple:!0,paramSet:{}};for(var i=0;i<n.length;++i)(a=n[i]).type===u.Syntax.AssignmentPattern?a.right.type===u.Syntax.YieldExpression&&(a.right.argument&&this.throwUnexpectedToken(this.lookahead),a.right.type=u.Syntax.Identifier,a.right.name="yield",delete a.right.argument,delete a.right.delegate):r&&a.type===u.Syntax.Identifier&&"await"===a.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(t,a),n[i]=a;if(this.context.strict||!this.context.allowYield)for(i=0;i<n.length;++i){var a;(a=n[i]).type===u.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(t.message===o.Messages.StrictParamDupe){var s=this.context.strict?t.stricted:t.firstRestricted;this.throwUnexpectedToken(s,t.message)}return{simple:t.simple,params:n,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield"))e=this.parseYieldExpression();else{var t=this.lookahead,n=t;if(e=this.parseConditionalExpression(),3===n.type&&n.lineNumber===this.lookahead.lineNumber&&"async"===n.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var r=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(r),e={type:"ArrowParameterPlaceHolder",params:[r],async:!0}}if("ArrowParameterPlaceHolder"===e.type||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=e.async,s=this.reinterpretAsCoverFormalsList(e);if(s){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var c=this.context.strict,l=this.context.allowStrictDirective;this.context.allowStrictDirective=s.simple;var p=this.context.allowYield,f=this.context.await;this.context.allowYield=!0,this.context.await=i;var d=this.startNode(t);this.expect("=>");var h=void 0;if(this.match("{")){var m=this.context.allowIn;this.context.allowIn=!0,h=this.parseFunctionSourceElements(),this.context.allowIn=m}else h=this.isolateCoverGrammar(this.parseAssignmentExpression);var g=h.type!==u.Syntax.BlockStatement;this.context.strict&&s.firstRestricted&&this.throwUnexpectedToken(s.firstRestricted,s.message),this.context.strict&&s.stricted&&this.tolerateUnexpectedToken(s.stricted,s.message),e=i?this.finalize(d,new a.AsyncArrowFunctionExpression(s.params,h,g)):this.finalize(d,new a.ArrowFunctionExpression(s.params,h,g)),this.context.strict=c,this.context.allowStrictDirective=l,this.context.allowYield=p,this.context.await=f}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&e.type===u.Syntax.Identifier){var v=e;this.scanner.isRestrictedWord(v.name)&&this.tolerateUnexpectedToken(n,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(v.name)&&this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(e):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var y=(n=this.nextToken()).value,b=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.AssignmentExpression(y,e,b)),this.context.firstCoverInitializedNameError=null}}return e},e.prototype.parseExpression=function(){var e=this.lookahead,t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var n=[];for(n.push(t);2!==this.lookahead.type&&this.match(",");)this.nextToken(),n.push(this.isolateCoverGrammar(this.parseAssignmentExpression));t=this.finalize(this.startNode(e),new a.SequenceExpression(n))}return t},e.prototype.parseStatementListItem=function(){var e;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),e=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:!1});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:e=this.parseStatement()}else e=this.parseStatement();return e},e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.finalize(e,new a.BlockStatement(t))},e.prototype.parseLexicalBinding=function(e,t){var n=this.createNode(),r=this.parsePattern([],e);this.context.strict&&r.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(o.Messages.StrictVarName);var i=null;return"const"===e?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),i=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!t.inFor&&r.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),i=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(n,new a.VariableDeclarator(r,i))},e.prototype.parseBindingList=function(e,t){for(var n=[this.parseLexicalBinding(e,t)];this.match(",");)this.nextToken(),n.push(this.parseLexicalBinding(e,t));return n},e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();return this.scanner.restoreState(e),3===t.type||7===t.type&&"["===t.value||7===t.type&&"{"===t.value||4===t.type&&"let"===t.value||4===t.type&&"yield"===t.value},e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode(),n=this.nextToken().value;r.assert("let"===n||"const"===n,"Lexical declaration must be either let or const");var i=this.parseBindingList(n,e);return this.consumeSemicolon(),this.finalize(t,new a.VariableDeclaration(i,n))},e.prototype.parseBindingRestElement=function(e,t){var n=this.createNode();this.expect("...");var r=this.parsePattern(e,t);return this.finalize(n,new a.RestElement(r))},e.prototype.parseArrayPattern=function(e,t){var n=this.createNode();this.expect("[");for(var r=[];!this.match("]");)if(this.match(","))this.nextToken(),r.push(null);else{if(this.match("...")){r.push(this.parseBindingRestElement(e,t));break}r.push(this.parsePatternWithDefault(e,t)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(n,new a.ArrayPattern(r))},e.prototype.parsePropertyPattern=function(e,t){var n,r,i=this.createNode(),o=!1,s=!1;if(3===this.lookahead.type){var u=this.lookahead;n=this.parseVariableIdentifier();var c=this.finalize(i,new a.Identifier(u.value));if(this.match("=")){e.push(u),s=!0,this.nextToken();var l=this.parseAssignmentExpression();r=this.finalize(this.startNode(u),new a.AssignmentPattern(c,l))}else this.match(":")?(this.expect(":"),r=this.parsePatternWithDefault(e,t)):(e.push(u),s=!0,r=c)}else o=this.match("["),n=this.parseObjectPropertyKey(),this.expect(":"),r=this.parsePatternWithDefault(e,t);return this.finalize(i,new a.Property("init",n,o,r,!1,s))},e.prototype.parseObjectPattern=function(e,t){var n=this.createNode(),r=[];for(this.expect("{");!this.match("}");)r.push(this.parsePropertyPattern(e,t)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(n,new a.ObjectPattern(r))},e.prototype.parsePattern=function(e,t){var n;return this.match("[")?n=this.parseArrayPattern(e,t):this.match("{")?n=this.parseObjectPattern(e,t):(!this.matchKeyword("let")||"const"!==t&&"let"!==t||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),e.push(this.lookahead),n=this.parseVariableIdentifier(t)),n},e.prototype.parsePatternWithDefault=function(e,t){var n=this.lookahead,r=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var i=this.context.allowYield;this.context.allowYield=!0;var o=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i,r=this.finalize(this.startNode(n),new a.AssignmentPattern(r,o))}return r},e.prototype.parseVariableIdentifier=function(e){var t=this.createNode(),n=this.nextToken();return 4===n.type&&"yield"===n.value?this.context.strict?this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(n):3!==n.type?this.context.strict&&4===n.type&&this.scanner.isStrictModeReservedWord(n.value)?this.tolerateUnexpectedToken(n,o.Messages.StrictReservedWord):(this.context.strict||"let"!==n.value||"var"!==e)&&this.throwUnexpectedToken(n):(this.context.isModule||this.context.await)&&3===n.type&&"await"===n.value&&this.tolerateUnexpectedToken(n),this.finalize(t,new a.Identifier(n.value))},e.prototype.parseVariableDeclaration=function(e){var t=this.createNode(),n=this.parsePattern([],"var");this.context.strict&&n.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(o.Messages.StrictVarName);var r=null;return this.match("=")?(this.nextToken(),r=this.isolateCoverGrammar(this.parseAssignmentExpression)):n.type===u.Syntax.Identifier||e.inFor||this.expect("="),this.finalize(t,new a.VariableDeclarator(n,r))},e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor},n=[];for(n.push(this.parseVariableDeclaration(t));this.match(",");)this.nextToken(),n.push(this.parseVariableDeclaration(t));return n},e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(t,"var"))},e.prototype.parseEmptyStatement=function(){var e=this.createNode();return this.expect(";"),this.finalize(e,new a.EmptyStatement)},e.prototype.parseExpressionStatement=function(){var e=this.createNode(),t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ExpressionStatement(t))},e.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},e.prototype.parseIfStatement=function(){var e,t=this.createNode(),n=null;this.expectKeyword("if"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),n=this.parseIfClause())),this.finalize(t,new a.IfStatement(r,e,n))},e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=!0;var n=this.parseStatement();this.context.inIteration=t,this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(e,new a.DoWhileStatement(n,r))},e.prototype.parseWhileStatement=function(){var e,t=this.createNode();this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var r=this.context.inIteration;this.context.inIteration=!0,e=this.parseStatement(),this.context.inIteration=r}return this.finalize(t,new a.WhileStatement(n,e))},e.prototype.parseForStatement=function(){var e,t,n,r=null,i=null,s=null,c=!0,l=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){r=this.createNode(),this.nextToken();var p=this.context.allowIn;this.context.allowIn=!1;var f=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=p,1===f.length&&this.matchKeyword("in")){var d=f[0];d.init&&(d.id.type===u.Syntax.ArrayPattern||d.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),r=this.finalize(r,new a.VariableDeclaration(f,"var")),this.nextToken(),e=r,t=this.parseExpression(),r=null}else 1===f.length&&null===f[0].init&&this.matchContextualKeyword("of")?(r=this.finalize(r,new a.VariableDeclaration(f,"var")),this.nextToken(),e=r,t=this.parseAssignmentExpression(),r=null,c=!1):(r=this.finalize(r,new a.VariableDeclaration(f,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){r=this.createNode();var h=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(p=this.context.allowIn,this.context.allowIn=!1,f=this.parseBindingList(h,{inFor:!0}),this.context.allowIn=p,1===f.length&&null===f[0].init&&this.matchKeyword("in")?(r=this.finalize(r,new a.VariableDeclaration(f,h)),this.nextToken(),e=r,t=this.parseExpression(),r=null):1===f.length&&null===f[0].init&&this.matchContextualKeyword("of")?(r=this.finalize(r,new a.VariableDeclaration(f,h)),this.nextToken(),e=r,t=this.parseAssignmentExpression(),r=null,c=!1):(this.consumeSemicolon(),r=this.finalize(r,new a.VariableDeclaration(f,h)))):(r=this.finalize(r,new a.Identifier(h)),this.nextToken(),e=r,t=this.parseExpression(),r=null)}else{var m=this.lookahead;if(p=this.context.allowIn,this.context.allowIn=!1,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=p,this.matchKeyword("in"))this.context.isAssignmentTarget&&r.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(r),e=r,t=this.parseExpression(),r=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&r.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(r),e=r,t=this.parseAssignmentExpression(),r=null,c=!1;else{if(this.match(",")){for(var g=[r];this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));r=this.finalize(this.startNode(m),new a.SequenceExpression(g))}this.expect(";")}}if("undefined"===typeof e&&(this.match(";")||(i=this.parseExpression()),this.expect(";"),this.match(")")||(s=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),n=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var v=this.context.inIteration;this.context.inIteration=!0,n=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=v}return"undefined"===typeof e?this.finalize(l,new a.ForStatement(r,i,s,n)):c?this.finalize(l,new a.ForInStatement(e,t,n)):this.finalize(l,new a.ForOfStatement(e,t,n))},e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var n=this.parseVariableIdentifier();t=n;var r="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(o.Messages.UnknownLabel,n.name)}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(e,new a.ContinueStatement(t))},e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var n=this.parseVariableIdentifier(),r="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,r)||this.throwError(o.Messages.UnknownLabel,n.name),t=n}return this.consumeSemicolon(),null!==t||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(e,new a.BreakStatement(t))},e.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var e=this.createNode();this.expectKeyword("return");var t=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ReturnStatement(t))},e.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var e,t=this.createNode();this.expectKeyword("with"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),e=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),e=this.parseStatement()),this.finalize(t,new a.WithStatement(n,e))},e.prototype.parseSwitchCase=function(){var e,t=this.createNode();this.matchKeyword("default")?(this.nextToken(),e=null):(this.expectKeyword("case"),e=this.parseExpression()),this.expect(":");for(var n=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)n.push(this.parseStatementListItem());return this.finalize(t,new a.SwitchCase(e,n))},e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch"),this.expect("(");var t=this.parseExpression();this.expect(")");var n=this.context.inSwitch;this.context.inSwitch=!0;var r=[],i=!1;for(this.expect("{");!this.match("}");){var s=this.parseSwitchCase();null===s.test&&(i&&this.throwError(o.Messages.MultipleDefaultsInSwitch),i=!0),r.push(s)}return this.expect("}"),this.context.inSwitch=n,this.finalize(e,new a.SwitchStatement(t,r))},e.prototype.parseLabelledStatement=function(){var e,t=this.createNode(),n=this.parseExpression();if(n.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var r=n,i="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,i)&&this.throwError(o.Messages.Redeclaration,"Label",r.name),this.context.labelSet[i]=!0;var s=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),s=this.parseClassDeclaration();else if(this.matchKeyword("function")){var c=this.lookahead,l=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(c,o.Messages.StrictFunction):l.generator&&this.tolerateUnexpectedToken(c,o.Messages.GeneratorInLegacyContext),s=l}else s=this.parseStatement();delete this.context.labelSet[i],e=new a.LabeledStatement(r,s)}else this.consumeSemicolon(),e=new a.ExpressionStatement(n);return this.finalize(t,e)},e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var t=this.parseExpression();return this.consumeSemicolon(),this.finalize(e,new a.ThrowStatement(t))},e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var t=[],n=this.parsePattern(t),r={},i=0;i<t.length;i++){var s="$"+t[i].value;Object.prototype.hasOwnProperty.call(r,s)&&this.tolerateError(o.Messages.DuplicateBinding,t[i].value),r[s]=!0}this.context.strict&&n.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(o.Messages.StrictCatchVariable),this.expect(")");var c=this.parseBlock();return this.finalize(e,new a.CatchClause(n,c))},e.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock(),n=this.matchKeyword("catch")?this.parseCatchClause():null,r=this.matchKeyword("finally")?this.parseFinallyClause():null;return n||r||this.throwError(o.Messages.NoCatchOrFinally),this.finalize(e,new a.TryStatement(t,n,r))},e.prototype.parseDebuggerStatement=function(){var e=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(e,new a.DebuggerStatement)},e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;e="{"===t?this.parseBlock():"("===t?this.parseExpressionStatement():";"===t?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement()}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e},e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues(),n=this.context.labelSet,r=this.context.inIteration,i=this.context.inSwitch,o=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)t.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=n,this.context.inIteration=r,this.context.inSwitch=i,this.context.inFunctionBody=o,this.finalize(e,new a.BlockStatement(t))},e.prototype.validateParam=function(e,t,n){var r="$"+n;this.context.strict?(this.scanner.isRestrictedWord(n)&&(e.stricted=t,e.message=o.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=o.Messages.StrictParamDupe)):e.firstRestricted||(this.scanner.isRestrictedWord(n)?(e.firstRestricted=t,e.message=o.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(n)?(e.firstRestricted=t,e.message=o.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(e.paramSet,r)&&(e.stricted=t,e.message=o.Messages.StrictParamDupe)),"function"===typeof Object.defineProperty?Object.defineProperty(e.paramSet,r,{value:!0,enumerable:!0,writable:!0,configurable:!0}):e.paramSet[r]=!0},e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var n=this.parsePattern(e);return this.match("=")&&this.throwError(o.Messages.DefaultRestParameter),this.match(")")||this.throwError(o.Messages.ParameterAfterRestParameter),this.finalize(t,new a.RestElement(n))},e.prototype.parseFormalParameter=function(e){for(var t=[],n=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t),r=0;r<t.length;r++)this.validateParam(e,t[r],t[r].value);e.simple=e.simple&&n instanceof a.Identifier,e.params.push(n)},e.prototype.parseFormalParameters=function(e){var t;if(t={simple:!0,params:[],firstRestricted:e},this.expect("("),!this.match(")"))for(t.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(t),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}},e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var n=this.scanner.lex();this.scanner.restoreState(t),e=t.lineNumber===n.lineNumber&&4===n.type&&"function"===n.value}return e},e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode(),n=this.matchContextualKeyword("async");n&&this.nextToken(),this.expectKeyword("function");var r,i=!n&&this.match("*");i&&this.nextToken();var s=null,u=null;if(!e||!this.match("(")){var c=this.lookahead;s=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(c.value)&&this.tolerateUnexpectedToken(c,o.Messages.StrictFunctionName):this.scanner.isRestrictedWord(c.value)?(u=c,r=o.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(c.value)&&(u=c,r=o.Messages.StrictReservedWord)}var l=this.context.await,p=this.context.allowYield;this.context.await=n,this.context.allowYield=!i;var f=this.parseFormalParameters(u),d=f.params,h=f.stricted;u=f.firstRestricted,f.message&&(r=f.message);var m=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=f.simple;var v=this.parseFunctionSourceElements();return this.context.strict&&u&&this.throwUnexpectedToken(u,r),this.context.strict&&h&&this.tolerateUnexpectedToken(h,r),this.context.strict=m,this.context.allowStrictDirective=g,this.context.await=l,this.context.allowYield=p,n?this.finalize(t,new a.AsyncFunctionDeclaration(s,d,v)):this.finalize(t,new a.FunctionDeclaration(s,d,v,i))},e.prototype.parseFunctionExpression=function(){var e=this.createNode(),t=this.matchContextualKeyword("async");t&&this.nextToken(),this.expectKeyword("function");var n,r=!t&&this.match("*");r&&this.nextToken();var i,s=null,u=this.context.await,c=this.context.allowYield;if(this.context.await=t,this.context.allowYield=!r,!this.match("(")){var l=this.lookahead;s=this.context.strict||r||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(l.value)&&this.tolerateUnexpectedToken(l,o.Messages.StrictFunctionName):this.scanner.isRestrictedWord(l.value)?(i=l,n=o.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(l.value)&&(i=l,n=o.Messages.StrictReservedWord)}var p=this.parseFormalParameters(i),f=p.params,d=p.stricted;i=p.firstRestricted,p.message&&(n=p.message);var h=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var g=this.parseFunctionSourceElements();return this.context.strict&&i&&this.throwUnexpectedToken(i,n),this.context.strict&&d&&this.tolerateUnexpectedToken(d,n),this.context.strict=h,this.context.allowStrictDirective=m,this.context.await=u,this.context.allowYield=c,t?this.finalize(e,new a.AsyncFunctionExpression(s,f,g)):this.finalize(e,new a.FunctionExpression(s,f,g,r))},e.prototype.parseDirective=function(){var e=this.lookahead,t=this.createNode(),n=this.parseExpression(),r=n.type===u.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(t,r?new a.Directive(n,r):new a.ExpressionStatement(n))},e.prototype.parseDirectivePrologues=function(){for(var e=null,t=[];;){var n=this.lookahead;if(8!==n.type)break;var r=this.parseDirective();t.push(r);var i=r.directive;if("string"!==typeof i)break;"use strict"===i?(this.context.strict=!0,e&&this.tolerateUnexpectedToken(e,o.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(n,o.Messages.IllegalLanguageModeDirective)):!e&&n.octal&&(e=n)}return t},e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===e.value}return!1},e.prototype.parseGetterMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();n.params.length>0&&this.tolerateError(o.Messages.BadGetterArity);var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parseSetterMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();1!==n.params.length?this.tolerateError(o.Messages.BadSetterArity):n.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!1))},e.prototype.parseGeneratorMethod=function(){var e=this.createNode(),t=this.context.allowYield;this.context.allowYield=!0;var n=this.parseFormalParameters();this.context.allowYield=!1;var r=this.parsePropertyMethod(n);return this.context.allowYield=t,this.finalize(e,new a.FunctionExpression(null,n.params,r,!0))},e.prototype.isStartOfExpression=function(){var e=!0,t=this.lookahead.value;switch(this.lookahead.type){case 7:e="["===t||"("===t||"{"===t||"+"===t||"-"===t||"!"===t||"~"===t||"++"===t||"--"===t||"/"===t||"/="===t;break;case 4:e="class"===t||"delete"===t||"function"===t||"let"===t||"new"===t||"super"===t||"this"===t||"typeof"===t||"void"===t||"yield"===t}return e},e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null,n=!1;if(!this.hasLineTerminator){var r=this.context.allowYield;this.context.allowYield=!1,(n=this.match("*"))?(this.nextToken(),t=this.parseAssignmentExpression()):this.isStartOfExpression()&&(t=this.parseAssignmentExpression()),this.context.allowYield=r}return this.finalize(e,new a.YieldExpression(t,n))},e.prototype.parseClassElement=function(e){var t=this.lookahead,n=this.createNode(),r="",i=null,s=null,u=!1,c=!1,l=!1,p=!1;if(this.match("*"))this.nextToken();else if(u=this.match("["),"static"===(i=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(t=this.lookahead,l=!0,u=this.match("["),this.match("*")?this.nextToken():i=this.parseObjectPropertyKey()),3===t.type&&!this.hasLineTerminator&&"async"===t.value){var f=this.lookahead.value;":"!==f&&"("!==f&&"*"!==f&&(p=!0,t=this.lookahead,i=this.parseObjectPropertyKey(),3===t.type&&"constructor"===t.value&&this.tolerateUnexpectedToken(t,o.Messages.ConstructorIsAsync))}var d=this.qualifiedPropertyName(this.lookahead);return 3===t.type?"get"===t.value&&d?(r="get",u=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,s=this.parseGetterMethod()):"set"===t.value&&d&&(r="set",u=this.match("["),i=this.parseObjectPropertyKey(),s=this.parseSetterMethod()):7===t.type&&"*"===t.value&&d&&(r="init",u=this.match("["),i=this.parseObjectPropertyKey(),s=this.parseGeneratorMethod(),c=!0),!r&&i&&this.match("(")&&(r="init",s=p?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),c=!0),r||this.throwUnexpectedToken(this.lookahead),"init"===r&&(r="method"),u||(l&&this.isPropertyKey(i,"prototype")&&this.throwUnexpectedToken(t,o.Messages.StaticPrototype),!l&&this.isPropertyKey(i,"constructor")&&(("method"!==r||!c||s&&s.generator)&&this.throwUnexpectedToken(t,o.Messages.ConstructorSpecialMethod),e.value?this.throwUnexpectedToken(t,o.Messages.DuplicateConstructor):e.value=!0,r="constructor")),this.finalize(n,new a.MethodDefinition(i,u,s,r,l))},e.prototype.parseClassElementList=function(){var e=[],t={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():e.push(this.parseClassElement(t));return this.expect("}"),e},e.prototype.parseClassBody=function(){var e=this.createNode(),t=this.parseClassElementList();return this.finalize(e,new a.ClassBody(t))},e.prototype.parseClassDeclaration=function(e){var t=this.createNode(),n=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=e&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),i=null;this.matchKeyword("extends")&&(this.nextToken(),i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var o=this.parseClassBody();return this.context.strict=n,this.finalize(t,new a.ClassDeclaration(r,i,o))},e.prototype.parseClassExpression=function(){var e=this.createNode(),t=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=3===this.lookahead.type?this.parseVariableIdentifier():null,r=null;this.matchKeyword("extends")&&(this.nextToken(),r=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var i=this.parseClassBody();return this.context.strict=t,this.finalize(e,new a.ClassExpression(n,r,i))},e.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Module(t))},e.prototype.parseScript=function(){for(var e=this.createNode(),t=this.parseDirectivePrologues();2!==this.lookahead.type;)t.push(this.parseStatementListItem());return this.finalize(e,new a.Script(t))},e.prototype.parseModuleSpecifier=function(){var e=this.createNode();8!==this.lookahead.type&&this.throwError(o.Messages.InvalidModuleSpecifier);var t=this.nextToken(),n=this.getTokenRaw(t);return this.finalize(e,new a.Literal(t.value,n))},e.prototype.parseImportSpecifier=function(){var e,t,n=this.createNode();return 3===this.lookahead.type?(t=e=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),t=this.parseVariableIdentifier())):(t=e=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),t=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(n,new a.ImportSpecifier(t,e))},e.prototype.parseNamedImports=function(){this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),e},e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName();return this.finalize(e,new a.ImportDefaultSpecifier(t))},e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new a.ImportNamespaceSpecifier(t))},e.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var e,t=this.createNode();this.expectKeyword("import");var n=[];if(8===this.lookahead.type)e=this.parseModuleSpecifier();else{if(this.match("{")?n=n.concat(this.parseNamedImports()):this.match("*")?n.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(n.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?n.push(this.parseImportNamespaceSpecifier()):this.match("{")?n=n.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken(),e=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(t,new a.ImportDeclaration(n,e))},e.prototype.parseExportSpecifier=function(){var e=this.createNode(),t=this.parseIdentifierName(),n=t;return this.matchContextualKeyword("as")&&(this.nextToken(),n=this.parseIdentifierName()),this.finalize(e,new a.ExportSpecifier(t,n))},e.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var e,t=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var n=this.parseFunctionDeclaration(!0);e=this.finalize(t,new a.ExportDefaultDeclaration(n))}else this.matchKeyword("class")?(n=this.parseClassDeclaration(!0),e=this.finalize(t,new a.ExportDefaultDeclaration(n))):this.matchContextualKeyword("async")?(n=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),e=this.finalize(t,new a.ExportDefaultDeclaration(n))):(this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value),n=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),e=this.finalize(t,new a.ExportDefaultDeclaration(n)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(r,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon(),e=this.finalize(t,new a.ExportAllDeclaration(i))}else if(4===this.lookahead.type){switch(n=void 0,this.lookahead.value){case"let":case"const":n=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":n=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}e=this.finalize(t,new a.ExportNamedDeclaration(n,[],null))}else if(this.matchAsyncFunction())n=this.parseFunctionDeclaration(),e=this.finalize(t,new a.ExportNamedDeclaration(n,[],null));else{var s=[],u=null,c=!1;for(this.expect("{");!this.match("}");)c=c||this.matchKeyword("default"),s.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),u=this.parseModuleSpecifier(),this.consumeSemicolon()):c?(r=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause,this.throwError(r,this.lookahead.value)):this.consumeSemicolon(),e=this.finalize(t,new a.ExportNamedDeclaration(null,s,u))}return e},e}();t.Parser=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assert=function(e,t){if(!e)throw new Error("ASSERT: "+t)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(e){this.errors.push(e)},e.prototype.tolerate=function(e){if(!this.tolerant)throw e;this.recordError(e)},e.prototype.constructError=function(e,t){var n=new Error(e);try{throw n}catch(r){Object.create&&Object.defineProperty&&(n=Object.create(r),Object.defineProperty(n,"column",{value:t}))}return n},e.prototype.createError=function(e,t,n,r){var i="Line "+t+": "+r,o=this.constructError(i,n);return o.index=e,o.lineNumber=t,o.description=r,o},e.prototype.throwError=function(e,t,n,r){throw this.createError(e,t,n,r)},e.prototype.tolerateError=function(e,t,n,r){var i=this.createError(e,t,n,r);if(!this.tolerant)throw i;this.recordError(i)},e}();t.ErrorHandler=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(4),o=n(11);function a(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function s(e){return"01234567".indexOf(e)}var u=function(){function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,this.isModule=!1,this.length=e.length,this.index=0,this.lineNumber=e.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},e.prototype.restoreState=function(e){this.index=e.index,this.lineNumber=e.lineNumber,this.lineStart=e.lineStart},e.prototype.eof=function(){return this.index>=this.length},e.prototype.throwUnexpectedToken=function(e){return void 0===e&&(e=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.tolerateUnexpectedToken=function(e){void 0===e&&(e=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)},e.prototype.skipSingleLineComment=function(e){var t,n,r=[];for(this.trackComment&&(r=[],t=this.index-e,n={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}});!this.eof();){var o=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(o)){if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart-1};var a={multiLine:!1,slice:[t+e,this.index-1],range:[t,this.index-1],loc:n};r.push(a)}return 13===o&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,r}}return this.trackComment&&(n.end={line:this.lineNumber,column:this.index-this.lineStart},a={multiLine:!1,slice:[t+e,this.index],range:[t,this.index],loc:n},r.push(a)),r},e.prototype.skipMultiLineComment=function(){var e,t,n=[];for(this.trackComment&&(n=[],e=this.index-2,t={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var r=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(r))13===r&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===r){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart};var o={multiLine:!0,slice:[e+2,this.index-2],range:[e,this.index],loc:t};n.push(o)}return n}++this.index}else++this.index}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},o={multiLine:!0,slice:[e+2,this.index],range:[e,this.index],loc:t},n.push(o)),this.tolerateUnexpectedToken(),n},e.prototype.scanComments=function(){var e;this.trackComment&&(e=[]);for(var t=0===this.index;!this.eof();){var n=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(n))++this.index;else if(i.Character.isLineTerminator(n))++this.index,13===n&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,t=!0;else if(47===n)if(47===(n=this.source.charCodeAt(this.index+1))){this.index+=2;var r=this.skipSingleLineComment(2);this.trackComment&&(e=e.concat(r)),t=!0}else{if(42!==n)break;this.index+=2,r=this.skipMultiLineComment(),this.trackComment&&(e=e.concat(r))}else if(t&&45===n){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,r=this.skipSingleLineComment(3),this.trackComment&&(e=e.concat(r))}else{if(60!==n||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,r=this.skipSingleLineComment(4),this.trackComment&&(e=e.concat(r))}}return e},e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return!0;default:return!1}},e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},e.prototype.isRestrictedWord=function(e){return"eval"===e||"arguments"===e},e.prototype.isKeyword=function(e){switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}},e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var n=this.source.charCodeAt(e+1);n>=56320&&n<=57343&&(t=1024*(t-55296)+n-56320+65536)}return t},e.prototype.scanHexEscape=function(e){for(var t="u"===e?4:2,n=0,r=0;r<t;++r){if(this.eof()||!i.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;n=16*n+a(this.source[this.index++])}return String.fromCharCode(n)},e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index],t=0;for("}"===e&&this.throwUnexpectedToken();!this.eof()&&(e=this.source[this.index++],i.Character.isHexDigit(e.charCodeAt(0)));)t=16*t+a(e);return(t>1114111||"}"!==e)&&this.throwUnexpectedToken(),i.Character.fromCodePoint(t)},e.prototype.getIdentifier=function(){for(var e=this.index++;!this.eof();){var t=this.source.charCodeAt(this.index);if(92===t)return this.index=e,this.getComplexIdentifier();if(t>=55296&&t<57343)return this.index=e,this.getComplexIdentifier();if(!i.Character.isIdentifierPart(t))break;++this.index}return this.source.slice(e,this.index)},e.prototype.getComplexIdentifier=function(){var e,t=this.codePointAt(this.index),n=i.Character.fromCodePoint(t);for(this.index+=n.length,92===t&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierStart(e.charCodeAt(0))||this.throwUnexpectedToken(),n=e);!this.eof()&&(t=this.codePointAt(this.index),i.Character.isIdentifierPart(t));)n+=e=i.Character.fromCodePoint(t),this.index+=e.length,92===t&&(n=n.substr(0,n.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,e=this.scanUnicodeCodePointEscape()):null!==(e=this.scanHexEscape("u"))&&"\\"!==e&&i.Character.isIdentifierPart(e.charCodeAt(0))||this.throwUnexpectedToken(),n+=e);return n},e.prototype.octalToDecimal=function(e){var t="0"!==e,n=s(e);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=!0,n=8*n+s(this.source[this.index++]),"0123".indexOf(e)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(n=8*n+s(this.source[this.index++]))),{code:n,octal:t}},e.prototype.scanIdentifier=function(){var e,t=this.index,n=92===this.source.charCodeAt(t)?this.getComplexIdentifier():this.getIdentifier();if(3!==(e=1===n.length?3:this.isKeyword(n)?4:"null"===n?5:"true"===n||"false"===n?1:3)&&t+n.length!==this.index){var r=this.index;this.index=t,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=r}return{type:e,value:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.scanPunctuator=function(){var e=this.index,t=this.source[this.index];switch(t){case"(":case"{":"{"===t&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,t="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(t=this.source.substr(this.index,4))?this.index+=4:"==="===(t=t.substr(0,3))||"!=="===t||">>>"===t||"<<="===t||">>="===t||"**="===t?this.index+=3:"&&"===(t=t.substr(0,2))||"||"===t||"=="===t||"!="===t||"+="===t||"-="===t||"*="===t||"/="===t||"++"===t||"--"===t||"<<"===t||">>"===t||"&="===t||"|="===t||"^="===t||"%="===t||"<="===t||">="===t||"=>"===t||"**"===t?this.index+=2:(t=this.source[this.index],"<>=!+-*%&|^/".indexOf(t)>=0&&++this.index)}return this.index===e&&this.throwUnexpectedToken(),{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanHexLiteral=function(e){for(var t="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return 0===t.length&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanBinaryLiteral=function(e){for(var t,n="";!this.eof()&&("0"===(t=this.source[this.index])||"1"===t);)n+=this.source[this.index++];return 0===n.length&&this.throwUnexpectedToken(),this.eof()||(t=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(t)||i.Character.isDecimalDigit(t))&&this.throwUnexpectedToken()),{type:6,value:parseInt(n,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanOctalLiteral=function(e,t){var n="",r=!1;for(i.Character.isOctalDigit(e.charCodeAt(0))?(r=!0,n="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];return r||0!==n.length||this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(n,8),octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if("8"===t||"9"===t)return!1;if(!i.Character.isOctalDigit(t.charCodeAt(0)))return!0}return!0},e.prototype.scanNumericLiteral=function(){var e=this.index,t=this.source[e];r.assert(i.Character.isDecimalDigit(t.charCodeAt(0))||"."===t,"Numeric literal must start with a decimal digit or a decimal point");var n="";if("."!==t){if(n=this.source[this.index++],t=this.source[this.index],"0"===n){if("x"===t||"X"===t)return++this.index,this.scanHexLiteral(e);if("b"===t||"B"===t)return++this.index,this.scanBinaryLiteral(e);if("o"===t||"O"===t)return this.scanOctalLiteral(t,e);if(t&&i.Character.isOctalDigit(t.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(t,e)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];t=this.source[this.index]}if("."===t){for(n+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];t=this.source[this.index]}if("e"===t||"E"===t)if(n+=this.source[this.index++],"+"!==(t=this.source[this.index])&&"-"!==t||(n+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)n+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(n),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanStringLiteral=function(){var e=this.index,t=this.source[e];r.assert("'"===t||'"'===t,"String literal must starts with a quote"),++this.index;for(var n=!1,a="";!this.eof();){var s=this.source[this.index++];if(s===t){t="";break}if("\\"===s)if((s=this.source[this.index++])&&i.Character.isLineTerminator(s.charCodeAt(0)))++this.lineNumber,"\r"===s&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(s){case"u":if("{"===this.source[this.index])++this.index,a+=this.scanUnicodeCodePointEscape();else{var u=this.scanHexEscape(s);null===u&&this.throwUnexpectedToken(),a+=u}break;case"x":var c=this.scanHexEscape(s);null===c&&this.throwUnexpectedToken(o.Messages.InvalidHexEscapeSequence),a+=c;break;case"n":a+="\n";break;case"r":a+="\r";break;case"t":a+="\t";break;case"b":a+="\b";break;case"f":a+="\f";break;case"v":a+="\v";break;case"8":case"9":a+=s,this.tolerateUnexpectedToken();break;default:if(s&&i.Character.isOctalDigit(s.charCodeAt(0))){var l=this.octalToDecimal(s);n=l.octal||n,a+=String.fromCharCode(l.code)}else a+=s}else{if(i.Character.isLineTerminator(s.charCodeAt(0)))break;a+=s}}return""!==t&&(this.index=e,this.throwUnexpectedToken()),{type:8,value:a,octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.scanTemplate=function(){var e="",t=!1,n=this.index,r="`"===this.source[n],a=!1,s=2;for(++this.index;!this.eof();){var u=this.source[this.index++];if("`"===u){s=1,a=!0,t=!0;break}if("$"===u){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,t=!0;break}e+=u}else if("\\"===u)if(u=this.source[this.index++],i.Character.isLineTerminator(u.charCodeAt(0)))++this.lineNumber,"\r"===u&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(u){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"u":if("{"===this.source[this.index])++this.index,e+=this.scanUnicodeCodePointEscape();else{var c=this.index,l=this.scanHexEscape(u);null!==l?e+=l:(this.index=c,e+=u)}break;case"x":var p=this.scanHexEscape(u);null===p&&this.throwUnexpectedToken(o.Messages.InvalidHexEscapeSequence),e+=p;break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:"0"===u?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(o.Messages.TemplateOctalLiteral),e+="\0"):i.Character.isOctalDigit(u.charCodeAt(0))?this.throwUnexpectedToken(o.Messages.TemplateOctalLiteral):e+=u}else i.Character.isLineTerminator(u.charCodeAt(0))?(++this.lineNumber,"\r"===u&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,e+="\n"):e+=u}return t||this.throwUnexpectedToken(),r||this.curlyStack.pop(),{type:10,value:this.source.slice(n+1,this.index-s),cooked:e,head:r,tail:a,lineNumber:this.lineNumber,lineStart:this.lineStart,start:n,end:this.index}},e.prototype.testRegExp=function(e,t){var n=e,r=this;t.indexOf("u")>=0&&(n=n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(e,t,n){var i=parseInt(t||n,16);return i>1114111&&r.throwUnexpectedToken(o.Messages.InvalidRegExp),i<=65535?String.fromCharCode(i):"\uffff"})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uffff"));try{RegExp(n)}catch(i){this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(a){return null}},e.prototype.scanRegExpBody=function(){var e=this.source[this.index];r.assert("/"===e,"Regular expression literal must start with a slash");for(var t=this.source[this.index++],n=!1,a=!1;!this.eof();)if(t+=e=this.source[this.index++],"\\"===e)e=this.source[this.index++],i.Character.isLineTerminator(e.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),t+=e;else if(i.Character.isLineTerminator(e.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(n)"]"===e&&(n=!1);else{if("/"===e){a=!0;break}"["===e&&(n=!0)}return a||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),t.substr(1,t.length-2)},e.prototype.scanRegExpFlags=function(){for(var e="";!this.eof();){var t=this.source[this.index];if(!i.Character.isIdentifierPart(t.charCodeAt(0)))break;if(++this.index,"\\"!==t||this.eof())e+=t;else if("u"===(t=this.source[this.index])){++this.index;var n=this.index,r=this.scanHexEscape("u");if(null!==r)for(e+=r;n<this.index;++n)this.source[n];else this.index=n,e+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return e},e.prototype.scanRegExp=function(){var e=this.index,t=this.scanRegExpBody(),n=this.scanRegExpFlags();return{type:9,value:"",pattern:t,flags:n,regex:this.testRegExp(t,n),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},e.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var e=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(e)?this.scanIdentifier():40===e||41===e||59===e?this.scanPunctuator():39===e||34===e?this.scanStringLiteral():46===e?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(e)?this.scanNumericLiteral():96===e||125===e&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():e>=55296&&e<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},e}();t.Scanner=u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27e8",rang:"\u27e9"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i=n(12),o=n(13),a=function(){function e(){this.values=[],this.curly=this.paren=-1}return e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0},e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1],t=null!==e;switch(e){case"this":case"]":t=!1;break;case")":var n=this.values[this.paren-1];t="if"===n||"while"===n||"for"===n||"with"===n;break;case"}":if(t=!1,"function"===this.values[this.curly-3])t=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if("function"===this.values[this.curly-4]){var r;t=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return t},e.prototype.push=function(e){7===e.type||4===e.type?("{"===e.value?this.curly=this.values.length:"("===e.value&&(this.paren=this.values.length),this.values.push(e.value)):this.values.push(null)},e}(),s=function(){function e(e,t){this.errorHandler=new r.ErrorHandler,this.errorHandler.tolerant=!!t&&"boolean"===typeof t.tolerant&&t.tolerant,this.scanner=new i.Scanner(e,this.errorHandler),this.scanner.trackComment=!!t&&"boolean"===typeof t.comment&&t.comment,this.trackRange=!!t&&"boolean"===typeof t.range&&t.range,this.trackLoc=!!t&&"boolean"===typeof t.loc&&t.loc,this.buffer=[],this.reader=new a}return e.prototype.errors=function(){return this.errorHandler.errors},e.prototype.getNextToken=function(){if(0===this.buffer.length){var e=this.scanner.scanComments();if(this.scanner.trackComment)for(var t=0;t<e.length;++t){var n=e[t],r=this.scanner.source.slice(n.slice[0],n.slice[1]),i={type:n.multiLine?"BlockComment":"LineComment",value:r};this.trackRange&&(i.range=n.range),this.trackLoc&&(i.loc=n.loc),this.buffer.push(i)}if(!this.scanner.eof()){var a=void 0;this.trackLoc&&(a={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var s="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(s);var u={type:o.TokenName[s.type],value:this.scanner.source.slice(s.start,s.end)};if(this.trackRange&&(u.range=[s.start,s.end]),this.trackLoc&&(a.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},u.loc=a),9===s.type){var c=s.pattern,l=s.flags;u.regex={pattern:c,flags:l}}this.buffer.push(u)}}return this.buffer.shift()},e}();t.Tokenizer=s}])},e.exports=r()},function(e,t,n){"use strict";var r=n(85),i=n(102),o=n(125),a=n(103),s=Object.prototype.toString,u=Object.prototype.hasOwnProperty,c={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},l=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function p(e){var t,n,o;if(t=e.toString(16).toUpperCase(),e<=255)n="x",o=2;else if(e<=65535)n="u",o=4;else{if(!(e<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+r.repeat("0",o-t.length)+t}function f(e){this.schema=e.schema||o,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=r.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,i,o,a,s,c;if(null===t)return{};for(n={},i=0,o=(r=Object.keys(t)).length;i<o;i+=1)a=r[i],s=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(c=e.compiledTypeMap.fallback[a])&&u.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[a]=s;return n}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function d(e,t){for(var n,i=r.repeat(" ",t),o=0,a=-1,s="",u=e.length;o<u;)-1===(a=e.indexOf("\n",o))?(n=e.slice(o),o=u):(n=e.slice(o,a+1),o=a+1),n.length&&"\n"!==n&&(s+=i),s+=n;return s}function h(e,t){return"\n"+r.repeat(" ",e.indent*t)}function m(e){return 32===e||9===e}function g(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function v(e){return g(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&58!==e&&35!==e}function y(e){return/^\n* /.test(e)}function b(e,t,n,r,i){var o,a,s,u=!1,c=!1,l=-1!==r,p=-1,f=g(s=e.charCodeAt(0))&&65279!==s&&!m(s)&&45!==s&&63!==s&&58!==s&&44!==s&&91!==s&&93!==s&&123!==s&&125!==s&&35!==s&&38!==s&&42!==s&&33!==s&&124!==s&&62!==s&&39!==s&&34!==s&&37!==s&&64!==s&&96!==s&&!m(e.charCodeAt(e.length-1));if(t)for(o=0;o<e.length;o++){if(!g(a=e.charCodeAt(o)))return 5;f=f&&v(a)}else{for(o=0;o<e.length;o++){if(10===(a=e.charCodeAt(o)))u=!0,l&&(c=c||o-p-1>r&&" "!==e[p+1],p=o);else if(!g(a))return 5;f=f&&v(a)}c=c||l&&o-p-1>r&&" "!==e[p+1]}return u||c?n>9&&y(e)?5:c?4:3:f&&!i(e)?1:2}function x(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==l.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(b(t,s,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}(e,t)}))){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+E(t,e.indent)+D(d(t,o));case 4:return">"+E(t,e.indent)+D(d(function(e,t){var n,r,i=/(\n+)([^\n]*)/g,o=function(){var n=e.indexOf("\n");return n=-1!==n?n:e.length,i.lastIndex=n,C(e.slice(0,n),t)}(),a="\n"===e[0]||" "===e[0];for(;r=i.exec(e);){var s=r[1],u=r[2];n=" "===u[0],o+=s+(a||n||""===u?"":"\n")+C(u,t),a=n}return o}(t,a),o));case 5:return'"'+function(e){for(var t,n,r,i="",o=0;o<e.length;o++)(t=e.charCodeAt(o))>=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(i+=p(1024*(t-55296)+n-56320+65536),o++):(r=c[t],i+=!r&&g(t)?e[o]:r||p(t));return i}(t)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function E(e,t){var n=y(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function D(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function C(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,u="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,u+="\n"+e.slice(o,r),o=r+1),a=s;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function w(e,t,n){var r,o,a,c,l,p;for(a=0,c=(o=n?e.explicitTypes:e.implicitTypes).length;a<c;a+=1)if(((l=o[a]).instanceOf||l.predicate)&&(!l.instanceOf||"object"===typeof t&&t instanceof l.instanceOf)&&(!l.predicate||l.predicate(t))){if(e.tag=n?l.tag:"?",l.represent){if(p=e.styleMap[l.tag]||l.defaultStyle,"[object Function]"===s.call(l.represent))r=l.represent(t,p);else{if(!u.call(l.represent,p))throw new i("!<"+l.tag+'> tag resolver accepts not "'+p+'" style');r=l.represent[p](t,p)}e.dump=r}return!0}return!1}function S(e,t,n,r,o,a){e.tag=null,e.dump=n,w(e,n,!1)||w(e,n,!0);var u=s.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var c,l,p="[object Object]"===u||"[object Array]"===u;if(p&&(l=-1!==(c=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&t>0)&&(o=!1),l&&e.usedDuplicates[c])e.dump="*ref_"+c;else{if(p&&l&&!e.usedDuplicates[c]&&(e.usedDuplicates[c]=!0),"[object Object]"===u)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,s,u,c,l,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"===typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new i("sortKeys must be a boolean or a function");for(o=0,a=d.length;o<a;o+=1)l="",r&&0===o||(l+=h(e,t)),u=n[s=d[o]],S(e,t+1,s,!0,!0,!0)&&((c=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,c&&(l+=h(e,t)),S(e,t+1,u,!0,c)&&(e.dump&&10===e.dump.charCodeAt(0)?l+=":":l+=": ",p+=l+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,o),l&&(e.dump="&ref_"+c+e.dump)):(!function(e,t,n){var r,i,o,a,s,u="",c=e.tag,l=Object.keys(n);for(r=0,i=l.length;r<i;r+=1)s=e.condenseFlow?'"':"",0!==r&&(s+=", "),a=n[o=l[r]],S(e,t,o,!1,!1)&&(e.dump.length>1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),S(e,t,a,!1,!1)&&(u+=s+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),l&&(e.dump="&ref_"+c+" "+e.dump));else if("[object Array]"===u){var f=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var i,o,a="",s=e.tag;for(i=0,o=n.length;i<o;i+=1)S(e,t+1,n[i],!0,!0)&&(r&&0===i||(a+=h(e,t)),e.dump&&10===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump);e.tag=s,e.dump=a||"[]"}(e,f,e.dump,o),l&&(e.dump="&ref_"+c+e.dump)):(!function(e,t,n){var r,i,o="",a=e.tag;for(r=0,i=n.length;r<i;r+=1)S(e,t,n[r],!1,!1)&&(0!==r&&(o+=","+(e.condenseFlow?"":" ")),o+=e.dump);e.tag=a,e.dump="["+o+"]"}(e,f,e.dump),l&&(e.dump="&ref_"+c+" "+e.dump))}else{if("[object String]"!==u){if(e.skipInvalid)return!1;throw new i("unacceptable kind of an object to dump "+u)}"?"!==e.tag&&x(e,e.dump,t,a)}null!==e.tag&&"?"!==e.tag&&(e.dump="!<"+e.tag+"> "+e.dump)}return!0}function k(e,t){var n,r,i=[],o=[];for(function e(t,n,r){var i,o,a;if(null!==t&&"object"===typeof t)if(-1!==(o=n.indexOf(t)))-1===r.indexOf(o)&&r.push(o);else if(n.push(t),Array.isArray(t))for(o=0,a=t.length;o<a;o+=1)e(t[o],n,r);else for(i=Object.keys(t),o=0,a=i.length;o<a;o+=1)e(t[i[o]],n,r)}(e,i,o),n=0,r=o.length;n<r;n+=1)t.duplicates.push(i[o[n]]);t.usedDuplicates=new Array(r)}function A(e,t){var n=new f(t=t||{});return n.noRefs||k(e,n),S(n,0,e,!0,!0)?n.dump+"\n":""}e.exports.dump=A,e.exports.safeDump=function(e,t){return A(e,r.extend({schema:a},t))}},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(543),s=n(56),u=n(8),c=n(150),l=n(26),p=n(24),f=n(38),d=n(231),h=n(36),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.config,r=t.folderName,i=t.onNewWorkspace,a=t.isElectron,u=n.extensions&&n.extensions.endpoints,c=n.projects;return o.createElement(S,null,o.createElement(k,{isElectron:a},o.createElement(T,null,o.createElement(A,null,r),o.createElement(s.SettingsIcon,{width:18,height:18,onClick:this.props.openConfigTab,title:"Project settings"})),u&&this.renderEndpoints(u),c&&Object.keys(c).map((function(t){var n=c[t],r=n.extensions&&n.extensions.endpoints;return r?o.createElement(_,{key:t},o.createElement(O,null,t),e.renderEndpoints(r,t)):null}))),a&&o.createElement(F,null,o.createElement(N,{onClick:i},o.createElement(s.AddFullIcon,{width:14,height:14,strokeWidth:6}),"NEW WORKSPACE")))},t.prototype.renderEndpoints=function(e,t){var n=this;return Object.keys(e).map((function(r){var i=c.getEndpointFromEndpointConfig(e[r]).endpoint,s=n.props.counts.get(d.getWorkspaceId({endpoint:i,configPath:n.props.configPath,workspaceName:t}))||1;return o.createElement(a.default,{key:r,env:r,onSelectEnv:n.props.onSelectEnv,activeEnv:n.props.activeEnv,count:s,deep:Boolean(t),projectName:t,activeProjectName:n.props.activeProjectName})}))},t}(o.Component),g=l.createStructuredSelector({counts:f.getSessionCounts});t.default=p.connect(g,{openConfigTab:h.openConfigTab})(m);var v,y,b,x,E,D,C,w,S=u.styled.div(v||(v=i(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background: ",";\n flex-basis: 222px;\n color: ",";\n border-right: 6px solid ",";\n"],["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n background: ",";\n flex-basis: 222px;\n color: ",";\n border-right: 6px solid ",";\n"])),(function(e){return e.theme.editorColours.sidebar}),(function(e){return e.theme.editorColours.text}),(function(e){return e.theme.editorColours.background})),k=u.styled.div(y||(y=i(["\n -webkit-app-region: drag;\n padding-top: ","px;\n display: flex;\n flex-direction: column;\n background: ",";\n"],["\n -webkit-app-region: drag;\n padding-top: ","px;\n display: flex;\n flex-direction: column;\n background: ",";\n"])),(function(e){return e.isElectron?48:20}),(function(e){return e.theme.editorColours.sidebarTop})),A=u.styled.div(b||(b=i(["\n font-size: 16px;\n font-weight: 600;\n color: ",";\n word-break: break-word;\n"],["\n font-size: 16px;\n font-weight: 600;\n color: ",";\n word-break: break-word;\n"])),(function(e){return e.theme.editorColours.text})),T=u.styled.div(x||(x=i(["\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n margin: 0 15px 20px 15px;\n svg {\n -webkit-app-region: no-drag;\n min-width: 18px;\n min-height: 18px;\n cursor: pointer;\n fill: ",";\n transition: 0.1s linear fill;\n }\n &:hover {\n svg {\n fill: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n margin: 0 15px 20px 15px;\n svg {\n -webkit-app-region: no-drag;\n min-width: 18px;\n min-height: 18px;\n cursor: pointer;\n fill: ",";\n transition: 0.1s linear fill;\n }\n &:hover {\n svg {\n fill: ",";\n }\n }\n"])),(function(e){return e.theme.editorColours.icon}),(function(e){return e.theme.editorColours.iconHover})),_=u.styled.div(E||(E=i(["\n display: flex;\n flex-direction: column;\n & + & {\n margin-top: 12px;\n }\n &:last-child {\n margin-bottom: 32px;\n }\n"],["\n display: flex;\n flex-direction: column;\n & + & {\n margin-top: 12px;\n }\n &:last-child {\n margin-bottom: 32px;\n }\n"]))),O=u.styled.div(D||(D=i(["\n font-size: 14px;\n color: ",";\n font-weight: 600;\n letter-spacing: 0.53px;\n margin: 0 10px 6px 30px;\n word-break: break-word;\n"],["\n font-size: 14px;\n color: ",";\n font-weight: 600;\n letter-spacing: 0.53px;\n margin: 0 10px 6px 30px;\n word-break: break-word;\n"])),(function(e){return e.theme.editorColours.text})),F=u.styled.div(C||(C=i(["\n display: flex;\n justify-content: center;\n margin: 32px 0;\n background: ",";\n"],["\n display: flex;\n justify-content: center;\n margin: 32px 0;\n background: ",";\n"])),(function(e){return e.theme.editorColours.sidebarBottom})),N=u.styled.button(w||(w=i(["\n padding: 10px;\n display: flex;\n align-items: center;\n border-radius: 2px;\n cursor: pointer;\n font-size: 14px;\n font-weight: 600;\n letter-spacing: 0.53px;\n color: ",";\n background-color: ",";\n transition: 0.1s linear all;\n &:hover {\n background-color: ",";\n }\n i {\n margin-right: 6px;\n }\n svg {\n min-width: 18px;\n min-height: 18px;\n stroke: ",";\n }\n"],["\n padding: 10px;\n display: flex;\n align-items: center;\n border-radius: 2px;\n cursor: pointer;\n font-size: 14px;\n font-weight: 600;\n letter-spacing: 0.53px;\n color: ",";\n background-color: ",";\n transition: 0.1s linear all;\n &:hover {\n background-color: ",";\n }\n i {\n margin-right: 6px;\n }\n svg {\n min-width: 18px;\n min-height: 18px;\n stroke: ",";\n }\n"])),(function(e){return e.theme.editorColours.buttonWorkspaceText}),(function(e){return e.theme.editorColours.buttonWorkspace}),(function(e){return e.theme.editorColours.buttonWorkspaceHover}),(function(e){return e.theme.editorColours.buttonWorkspaceText}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(8),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectEndpoint=function(){t.props.onSelectEnv(t.props.env,t.props.projectName)},t}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.env,n=e.activeEnv,r=e.count,i=e.deep,a=e.activeProjectName,s=e.projectName,u=n===t&&a===s;return o.createElement(l,{active:u,deep:i,onClick:this.selectEndpoint},o.createElement("span",null,t),o.createElement(p,{active:u},r))},t}(o.Component);t.default=s;var u,c,l=a.styled("div")(u||(u=i(["\n padding: 10px 10px 10px ",";\n word-break: break-word;\n font-weight: 600;\n cursor: pointer;\n font-size: 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: ",";\n border-left: 4px solid\n ",";\n border-radius: 2px;\n\n &:hover {\n background: ",";\n }\n"],["\n padding: 10px 10px 10px ",";\n word-break: break-word;\n font-weight: 600;\n cursor: pointer;\n font-size: 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: ",";\n border-left: 4px solid\n ",";\n border-radius: 2px;\n\n &:hover {\n background: ",";\n }\n"])),(function(e){return e.deep?"43px":"38px"}),(function(e){return e.active?e.theme.editorColours.sidebarItemActive:"transparent"}),(function(e){return e.active?e.theme.editorColours.sidebarItemSide:"transparent"}),(function(e){return e.theme.editorColours.sidebarItemActive})),p=a.styled("div")(c||(c=i(["\n border-radius: 6px;\n min-width: 18px;\n min-height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 11px;\n font-weight: bold;\n background: ",";\n color: ",";\n opacity: ",";\n transition: 0.1s linear all;\n"],["\n border-radius: 6px;\n min-width: 18px;\n min-height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 11px;\n font-weight: bold;\n background: ",";\n color: ",";\n opacity: ",";\n transition: 0.1s linear all;\n"])),(function(e){return e.theme.editorColours.sidebarItemSessions}),(function(e){return e.theme.editorColours.text}),(function(e){return e.active?1:.6}))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(24),s=n(545);n(235);var u=n(556),c=n(8),l=n(168),p=n(124);function f(e){var t=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n&&n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):""}t.store=s.default();var d=function(e){function t(t){var n=e.call(this,t)||this;return n.handleChangeEndpoint=function(e){n.setState({endpoint:e}),localStorage.setItem("last-endpoint",e)},n.state={endpoint:t.endpoint,subscriptionEndpoint:t.subscriptionEndpoint,loading:!1,headers:t.headers||{}},n}return r(t,e),t.prototype.componentWillMount=function(){var e=this;if(this.props.match.params.id){if("new"===this.props.match.params.id)return;this.setState({loading:!0});var t=document.getElementById("loading-wrapper");t&&t.classList.remove("fadeOut"),setTimeout((function(){t&&t.remove()}),1e3),fetch("https://api.graphqlbin.com",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n query ($id: String!) {\n session(id: $id) {\n data\n endpoint\n }\n }\n ",variables:{id:this.props.match.params.id}})}).then((function(e){return e.json()})).then((function(n){t&&t.classList.add("fadeOut"),n.data&&null!==n.data.session||(location.href=location.origin+"/v2/new");var r=JSON.parse(n.data.session.data);e.props.injectState(r),e.setState({endpoint:n.data.session.endpoint,loading:!1})}))}},t.prototype.render=function(){var e=this.state,t=e.endpoint,n=e.subscriptionEndpoint;return t||(t=f("endpoint")),n||(n=f("subscription")),o.createElement(v,null,this.state.loading?null:this.state.endpoint&&0!==this.state.endpoint.length?o.createElement(l.default,{endpoint:t,headers:this.state.headers,subscriptionEndpoint:n}):o.createElement(c.ThemeProvider,{theme:c.theme},o.createElement(u.default,{onRequestClose:this.handleChangeEndpoint,endpoint:this.state.endpoint||""})))},t}(o.Component),h=a.connect(null,{injectState:p.injectState})(d),m=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){return o.createElement(a.Provider,{store:t.store},o.createElement(h,this.props))},n}(o.Component);t.default=m;var g,v=c.styled.div(g||(g=i(["\n width: 100%;\n height: 100%;\n"],["\n width: 100%;\n height: 100%;\n"])))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(65),i=n(237),o=n(546),a=n(38),s=n(28),u=n(554),c=i.default(),l=[r.applyMiddleware(c)],p=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||r.compose,f=u.deserializeState();t.default=function(){var e=r.createStore(a.default,f,p.apply(null,l));return e.subscribe(u.serializeState(e)),window.s=e,window.session=function(){return s.getSelectedSession(e.getState())},c.run(o.default),e}},function(e,t,n){"use strict";var r=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},i=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0});var o=n(110),a=n(547),s=n(126),u=n(553);t.default=function(){return r(this,(function(e){switch(e.label){case 0:return[4,s.all(i(a.sessionsSagas,o.fecthingSagas,u.sharingSagas))];case 1:return e.sent(),[2]}}))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var o,a=n(126),s=n(28),u=n(548),c=n(549),l=n(33),p=n(36),f=n(101),d=n(80),h=n(113),m=n(110),g=n(38),v=n(81),y=n(172),b=n(22),x=n(93),E=n(550);function D(){var e,t,n,r,o,f,d;return i(this,(function(i){switch(i.label){case 0:return[4,a.delay(100)];case 1:return i.sent(),[4,a.select(s.getSelectedSession)];case 2:return e=i.sent(),[4,m.schemaFetcher.fetch(e)];case 3:t=i.sent().schema,i.label=4;case 4:return i.trys.push([4,12,,14]),n=b.parse(e.query),(r=c.getQueryFacts(t,n))?(o=l.fromJS(r),f=u.default(e.operations,e.operationName,o.operations),l.is(o.get("variableToType"),e.variableToType)?[3,6]:[4,a.put(p.setVariableToType(o.get("variableToType")))]):[3,10];case 5:i.sent(),i.label=6;case 6:return l.is(o.get("operations"),e.operations)?[3,8]:[4,a.put(p.setOperations(o.get("operations")))];case 7:i.sent(),i.label=8;case 8:return f===e.operationName?[3,10]:[4,a.put(p.setOperationName(f))];case 9:i.sent(),i.label=10;case 10:return d=y.getQueryTypes(n),[4,a.put(p.setQueryTypes(d))];case 11:return i.sent(),[3,14];case 12:return i.sent(),d=y.getQueryTypes(null),[4,a.put(p.setQueryTypes(d))];case 13:return i.sent(),[3,14];case 14:return[2]}}))}function C(){var e,t;return i(this,(function(n){switch(n.label){case 0:return[4,a.select(s.getSelectedSession)];case 1:return e=n.sent(),[4,a.select(g.getSettings)];case 2:return t=n.sent(),[2,{endpoint:e.endpoint,headers:e.headers,credentials:t["request.credentials"]}]}}))}t.sessionsSagas=[a.takeLatest("GET_QUERY_FACTS",x.safely(D)),a.takeLatest("SET_OPERATION_NAME",x.safely(D)),a.takeEvery("EDIT_QUERY",x.safely(D)),a.takeEvery("EDIT_QUERY",x.safely((function(e){var t,n,o,s=e.payload;return i(this,(function(e){switch(e.label){case 0:return[4,a.delay(100)];case 1:return e.sent(),location.search.includes("query")?("undefined"!==typeof(t=E.parse(location.search)).query&&(n=E.stringify(r(r({},t),{query:s.query})),o=""+location.origin+location.pathname+"?"+n,window.history.replaceState({},document.getElementsByTagName("title")[0].innerHTML,o)),[2]):[2]}}))}))),a.takeEvery("RUN_QUERY_AT_POSITION",x.safely((function(e){var t,n,r;return i(this,(function(i){switch(i.label){case 0:return t=e.payload.position,[4,a.select(s.getSelectedSession)];case 1:return(n=i.sent()).operations?(n.operations.toJS().forEach((function(e){e.loc&&e.loc.start<=t&&e.loc.end>=t&&(r=e.name&&e.name.value)})),r?[4,a.put(p.runQuery(r))]:[3,3]):[3,6];case 2:return i.sent(),[3,5];case 3:return[4,a.put(p.runQuery())];case 4:i.sent(),i.label=5;case 5:return[3,8];case 6:return[4,a.put(p.runQuery())];case 7:i.sent(),i.label=8;case 8:return[2]}}))}))),a.takeLatest("FETCH_SCHEMA",x.safely((function(){var e,t,n,r;return i(this,(function(i){switch(i.label){case 0:return[4,C()];case 1:e=i.sent(),i.label=2;case 2:return i.trys.push([2,6,,10]),[4,m.schemaFetcher.fetch(e)];case 3:return i.sent(),t=a.put,n=p.schemaFetchingSuccess,r=[e.endpoint,null],[4,a.select(s.getIsPollingSchema)];case 4:return[4,t.apply(void 0,[n.apply(void 0,r.concat([i.sent()]))])];case 5:return i.sent(),[3,10];case 6:return i.sent(),[4,a.put(p.schemaFetchingError(e.endpoint))];case 7:return i.sent(),[4,a.delay(5e3)];case 8:return i.sent(),[4,a.put(p.fetchSchema())];case 9:return i.sent(),[3,10];case 10:return[2]}}))}))),a.takeLatest("REFETCH_SCHEMA",x.safely((function(){var e,t,n,r;return i(this,(function(i){switch(i.label){case 0:return[4,C()];case 1:e=i.sent(),i.label=2;case 2:return i.trys.push([2,6,,10]),[4,m.schemaFetcher.refetch(e)];case 3:return i.sent(),t=a.put,n=p.schemaFetchingSuccess,r=[e.endpoint,null],[4,a.select(s.getIsPollingSchema)];case 4:return[4,t.apply(void 0,[n.apply(void 0,r.concat([i.sent()]))])];case 5:return i.sent(),[3,10];case 6:return i.sent(),[4,a.put(p.schemaFetchingError(e.endpoint))];case 7:return i.sent(),[4,a.delay(5e3)];case 8:return i.sent(),[4,a.put(p.refetchSchema())];case 9:return i.sent(),[3,10];case 10:return[2]}}))}))),a.takeLatest("SCHEMA_FETCHING_SUCCESS",x.safely((function(){var e,t,n,r,u,c,l,h;return i(this,(function(i){switch(i.label){case 0:return[4,a.select(s.getSelectedSession)];case 1:return e=i.sent(),[4,C()];case 2:return t=i.sent(),[4,a.select(v.getSessionDocsState)];case 3:return n=i.sent(),[4,m.schemaFetcher.fetch(t)];case 4:return r=i.sent(),u=r.schema,c=r.tracingSupported,!u||o&&o===u?[3,7]:(l=f.getRootMap(u),h=n.navStack.map((function(e){return f.getNewStack(l,u,e)})).filter((function(e){return e})),[4,a.put(d.setStacks(e.id,h))]);case 5:return i.sent(),[4,a.put(p.setTracingSupported(c))];case 6:i.sent(),o=u,i.label=7;case 7:return[2]}}))}))),a.takeEvery("QUERY_SUCCESS",x.safely((function(e){var t,n,r,o,s=e.payload;return i(this,(function(e){switch(e.label){case 0:return t=s.sessionId,[4,a.select(g.getSelectedWorkspace)];case 1:return n=e.sent(),r=n.getIn(["sessions",t]),o=n.get("history"),o.toKeyedSeq().find((function(e){return l.is(e,r)}))?[3,3]:[4,a.put(h.addHistoryItem(r))];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))),a.takeLatest("PRETTIFY_QUERY",x.safely((function(){var e,t,n,r;return i(this,(function(i){switch(i.label){case 0:return[4,a.select(s.getSelectedSession)];case 1:return e=i.sent().query,[4,a.select(g.getSettings)];case 2:t=i.sent(),i.label=3;case 3:return i.trys.push([3,5,,6]),n=x.prettify(e,{printWidth:t["prettier.printWidth"],tabWidth:t["prettier.tabWidth"],useTabs:t["prettier.useTabs"]}),[4,a.put(p.editQuery(n))];case 4:return i.sent(),[3,6];case 5:return r=i.sent(),console.log(r),[3,6];case 6:return[2]}}))})))]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n&&!(n.length<1)){var r=n.map((function(e){return e.name&&e.name.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){var i=e.map((function(e){return e.name&&e.name.value})).indexOf(t);if(-1!==i&&i<r.length)return r[i]}return r[0]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22);function i(e,t){var n=Object.create(null);return t.definitions.forEach((function(t){if("OperationDefinition"===t.kind){var i=t.variableDefinitions;i&&i.forEach((function(t){var i=t.variable,o=t.type,a=r.typeFromAST(e,o);a&&(n[i.name.value]=a)}))}})),n}t.getQueryFacts=function(e,t){var n=e?i(e,t):null,r=[];return t.definitions.forEach((function(e){"OperationDefinition"===e.kind&&r.push(e)})),{variableToType:n,operations:r}},t.collectVariables=i},function(e,t,n){"use strict";var r=n(551),i=n(90),o=n(552);function a(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function s(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function u(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!==typeof e?r:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),n(o(i),a,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?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}(n):e[t]=n,e}),Object.create(null))):r}t.extract=s,t.parse=u,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[a(t,e),"[",r,"]"].join(""):[a(t,e),"[",a(r,e),"]=",a(n,e)].join("")};case"bracket":return function(t,n){return null===n?a(t,e):[a(t,e),"[]=",a(n,e)].join("")};default:return function(t,n){return null===n?a(t,e):[a(t,e),"=",a(n,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(r){var i=e[r];if(void 0===i)return"";if(null===i)return a(r,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return a(r,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:u(s(e),t)}}},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(i){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);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 n={"%FE%FF":"\ufffd\ufffd","%FF%FE":"\ufffd\ufffd"},r=i.exec(e);r;){try{n[r[0]]=decodeURIComponent(r[0])}catch(t){var o=a(r[0]);o!==r[0]&&(n[r[0]]=o)}r=i.exec(e)}n["%C2"]="\ufffd";for(var s=Object.keys(n),u=0;u<s.length;u++){var c=s[u];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},function(e,t,n){"use strict";var r=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(126),o=n(28),a=n(123),s=n(92),u=n(144),c=n(33),l=n(93);function p(){var e,t,n,o;return r(this,(function(r){switch(r.label){case 0:return[4,i.select()];case 1:return e=r.sent(),[4,i.select(u.getSharingState)];case 2:return t=r.sent(),n=s(),e=e.update("workspaces",(function(t){return t.filter((function(t,n){return n===e.selectedWorkspace}))})).set("selectedWorkspace",n+"~"+e.selectedWorkspace).update("workspaces",(function(e){return e.mapKeys((function(e){return n+"~"+e}))})),o=e.workspaces.get(e.selectedWorkspace).sessions.selectedSessionId,t.allTabs||(e=e.updateIn(["workspaces",e.selectedWorkspace,"sessions","sessions"],(function(e){return e.filter((function(e,t){return t===o}))})).setIn(["workspaces",e.selectedWorkspace,"sessions","sessionCount"],1)),t.headers||(e=e.updateIn(["workspaces",e.selectedWorkspace,"sessions","sessions"],(function(e){return e.map((function(e){return e.set("headers","")}))}))),t.history||(e=e.setIn(["workspaces",e.selectedWorkspace,"history"],c.Map())),[2,e]}}))}t.sharingSagas=[i.takeEvery("SHARE",l.safely((function(){var e,t,n,s;return r(this,(function(r){switch(r.label){case 0:return[4,p()];case 1:return e=r.sent(),[4,i.select(o.getEndpoint)];case 2:return t=r.sent(),[4,fetch("https://api.graphqlbin.com/",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"\n mutation ($session: String! $endpoint: String!) {\n addSession(session: $session endpoint: $endpoint) {\n id\n }\n }\n ",variables:{session:JSON.stringify(e),endpoint:t}})}).then((function(e){return e.json()}))];case 3:return n=r.sent(),s="https://graphqlbin.com/v2/"+n.data.addSession.id,[4,i.put(a.setShareUrl(s))];case 4:return r.sent(),[2]}}))})))]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(94),i=n(188);t.serializeState=function(e){return r.debounce((function(){var t=e.getState();t.stateInjected||localStorage.setItem("graphql-playground",JSON.stringify(t))}),300,{trailing:!0})},t.deserializeState=function(){try{var e=localStorage.getItem("graphql-playground");if(e){var t=JSON.parse(e);return i.deserializePersistedState(t)}}catch(n){}}},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return d})),n.d(t,"Request",(function(){return x})),n.d(t,"Response",(function(){return C})),n.d(t,"DOMException",(function(){return S})),n.d(t,"fetch",(function(){return k}));var r="URLSearchParams"in self,i="Symbol"in self&&"iterator"in Symbol,o="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in self,s="ArrayBuffer"in self;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function p(e){return"string"!==typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=m(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(e,t){e=l(e),t=p(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},d.prototype.delete=function(e){delete this.map[l(e)]},d.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},d.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},d.prototype.set=function(e,t){this.map[l(e)]=p(t)},d.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},d.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},d.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},d.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},i&&(d.prototype[Symbol.iterator]=d.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(e,t){var n=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new d(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new d(t.headers)),this.method=function(e){var t=e.toUpperCase();return b.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function E(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function D(e){var t=new d;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t}function C(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},y.call(x.prototype),y.call(C.prototype),C.prototype.clone=function(){return new C(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},C.error=function(){var e=new C(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];C.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new C(null,{status:t,headers:{location:e}})};var S=self.DOMException;try{new S}catch(A){(S=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),S.prototype.constructor=S}function k(e,t){return new Promise((function(n,r){var i=new x(e,t);if(i.signal&&i.signal.aborted)return r(new S("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:D(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var t="response"in a?a.response:a.responseText;n(new C(t,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new S("Aborted","AbortError"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&o&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",s)}),a.send("undefined"===typeof i._bodyInit?null:i._bodyInit)}))}k.polyfill=!0,self.fetch||(self.fetch=k,self.Headers=d,self.Request=x,self.Response=C)},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),a=n(235),s=n(557),u=n(94),c=n(209),l=n(8),p=n(558),f=function(e){function t(t){var n=e.call(this,t)||this;return n.checkEndpoint=u.throttle((function(){n.state.endpoint.match(/^https?:\/\/\w+(\.\w+)*(:[0-9]+)?\/?.*$/)&&a(n.state.endpoint,{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:"{\n __schema {\n queryType {\n kind\n }\n }\n }"})}).then((function(e){n.setState({valid:e.status<400})})).catch((function(e){n.setState({valid:!1})}))}),500),n.onChangeEndpoint=function(e){n.setState({endpoint:e.target.value},n.checkEndpoint)},n.submit=function(e){e.preventDefault(),n.close()},n.close=function(){n.state.valid&&n.props.onRequestClose(n.state.endpoint)},n.state={endpoint:t.endpoint},n}return r(t,e),t.prototype.componentDidMount=function(){this.checkEndpoint()},t.prototype.render=function(){var e=this.state.valid;return o.createElement(s.default,{onRequestClose:this.close,darkBg:!0},o.createElement(E,null,o.createElement(S,null,o.createElement(k,null,o.createElement("img",{src:p.default,alt:""}),o.createElement(w,null,"GraphQL Playground"))),o.createElement(D,{action:"",onSubmit:this.submit},o.createElement(C,{type:"text",placeholder:"Enter an endpoint url...",value:this.state.endpoint,onChange:this.onChangeEndpoint,valid:"boolean"===typeof e&&e,invalid:"boolean"===typeof e&&!e,autoFocus:!0}),e&&o.createElement(c.Button,{purple:!0,onClick:this.close},"Use Endpoint"))))},t}(o.Component);t.default=f;var d,h,m,g,v,y,b,x,E=l.styled.div(d||(d=i(["\n box-sizing: border-box;\n"],["\n box-sizing: border-box;\n"]))),D=l.styled.form(h||(h=i(["\n width: 100%;\n display: flex;\n flex: 1 1 auto;\n\n .button.button {\n padding-right: ",";\n padding-left: ",";\n background: #da1b7f;\n\n &:hover {\n background: ",";\n }\n }\n"],["\n width: 100%;\n display: flex;\n flex: 1 1 auto;\n\n .button.button {\n padding-right: ",";\n padding-left: ",";\n background: #da1b7f;\n\n &:hover {\n background: ",";\n }\n }\n"])),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.sizes.small16}),(function(e){return e.theme.colours.purple})),C=l.styled("input")(v||(v=i(["\n background: ",";\n border-radius: ",";\n padding: ",";\n font-weight: ",";\n color: white;\n font-size: 16px;\n display: block;\n width: 100%;\n text-align: center;\n flex: 1 1 auto;\n display: flex;\n\n transition: 250ms color;\n\n ","\n"],["\n background: ",";\n border-radius: ",";\n padding: ",";\n font-weight: ",";\n color: white;\n font-size: 16px;\n display: block;\n width: 100%;\n text-align: center;\n flex: 1 1 auto;\n display: flex;\n\n transition: 250ms color;\n\n ","\n"])),(function(e){return e.theme.colours.white10}),(function(e){return e.theme.sizes.smallRadius}),(function(e){return e.theme.sizes.small16+" "+e.theme.sizes.medium25}),(function(e){return e.theme.sizes.fontSemiBold}),(function(e){return e.valid?l.css(m||(m=i(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.colours.green})):e.invalid?l.css(g||(g=i(["\n color: ",";\n "],["\n color: ",";\n "])),(function(e){return e.theme.colours.red})):""})),w=l.styled.h1(y||(y=i(["\n margin-left: 38px;\n font-weight: 400;\n color: ",";\n"],["\n margin-left: 38px;\n font-weight: 400;\n color: ",";\n"])),(function(e){return e.theme.colours.white80})),S=l.styled.div(b||(b=i(["\n display: flex;\n justify-content: center;\n align-items: center;\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),k=l.styled.div(x||(x=i(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 60px;\n\n img {\n width: 78px;\n height: 78px;\n }\n"],["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 60px;\n\n img {\n width: 78px;\n height: 78px;\n }\n"])))},function(e,t,n){"use strict";var r=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(226),u=n(8);t.fieldModalStyle={overlay:{zIndex:100,backgroundColor:"rgba(255,255,255,.9)",display:"flex",alignItems:"center",justifyContent:"center"},content:{position:"relative",width:554,height:"auto",top:"initial",left:"initial",right:"initial",bottom:"initial",borderRadius:2,padding:0,border:"none",background:"none",overflow:"visible"}};var c=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.render=function(){var e=this.props.darkBg,n={overlay:o(o({},t.fieldModalStyle.overlay),{background:e?"rgba(23,42,58,1.0)":"rgba(255,255,255,.9)"}),content:o(o({},t.fieldModalStyle.content),{width:this.props.width||560})};return a.createElement(s,{isOpen:!0,onRequestClose:this.props.onRequestClose,style:n,ariaHideApp:!1,contentLabel:"Popup"},a.createElement(p,null,this.props.children))},n}(a.Component);t.default=c;var l,p=u.styled.div(l||(l=i([""],[""])))},function(e,t,n){e.exports=n.p+"static/media/logo.57ee3b60.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(50);t.selectAppHistoryItem=r.createActions({SELECT_APP_HISTORY_ITEM:function(e){return{item:e}}}).selectAppHistoryItem},,function(e,t,n){"use strict";n.r(t),n.d(t,"HttpLink",(function(){return f})),n.d(t,"createHttpLink",(function(){return p}));var r=n(16),i=n(70),o=n(42),a=n(19),s=n(25),u={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},c=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},l=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=new s.a(2);throw r.parseError=i,r}return n},p=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,p=e.fetch,f=e.includeExtensions,d=e.useGETForQueries,h=Object(r.c)(e,["uri","fetch","includeExtensions","useGETForQueries"]);!function(e){if(!e&&"undefined"===typeof fetch){throw"undefined"===typeof window&&"node-fetch",new s.a(1)}}(p),p||(p=fetch);var m={http:{includeExtensions:f},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new i.ApolloLink((function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"===typeof t?t(e):t||"/graphql")}(e,n),s=e.getContext(),f={};if(s.clientAwareness){var h=s.clientAwareness,g=h.name,v=h.version;g&&(f["apollographql-client-name"]=g),v&&(f["apollographql-client-version"]=v)}var y,b=Object(r.a)({},f,s.headers),x={http:s.http,options:s.fetchOptions,credentials:s.credentials,headers:b},E=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=Object(r.a)({},t.options,{headers:t.headers,credentials:t.credentials}),s=t.http;n.forEach((function(e){o=Object(r.a)({},o,e.options,{headers:Object(r.a)({},o.headers,e.headers)}),e.credentials&&(o.credentials=e.credentials),s=Object(r.a)({},s,e.http)}));var u=e.operationName,c=e.extensions,l=e.variables,p=e.query,f={operationName:u,variables:l};return s.includeExtensions&&(f.extensions=c),s.includeQuery&&(f.query=Object(a.print)(p)),{options:o,body:f}}(e,u,m,x),D=E.options,C=E.body;if(!D.signal){var w=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),S=w.controller,k=w.signal;(y=S)&&(D.signal=k)}if(d&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(D.method="GET"),"GET"===D.method){var A=function(e,t){var n=[],r=function(e,t){n.push(e+"="+encodeURIComponent(t))};"query"in t&&r("query",t.query);t.operationName&&r("operationName",t.operationName);if(t.variables){var i=void 0;try{i=l(t.variables)}catch(_){return{parseError:_}}r("variables",i)}if(t.extensions){var o=void 0;try{o=l(t.extensions)}catch(_){return{parseError:_}}r("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+n.join("&")+a}}(t,C),T=A.newURI,_=A.parseError;if(_)return Object(i.fromError)(_);t=T}else try{D.body=l(C)}catch(_){return Object(i.fromError)(_)}return new o.a((function(n){var r;return p(t,D).then((function(t){return e.setContext({response:t}),t})).then((r=e,function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(r){var n=r;return n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,Promise.reject(n)}})).then((function(t){return e.status>=300&&c(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||c(e,t,"Server response was missing for query '"+(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName)+"'."),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){y&&y.abort()}}))}))};var f=function(e){function t(t){return e.call(this,p(t).request)||this}return Object(r.b)(t,e),t}(i.ApolloLink)},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(4),i=n(20),o=n(0),a=n(69);function s(e,t){var n=[],s=new a.a(e);return Object(i.c)(t,Object(i.e)(s,{Field:function(e){var t=s.getFieldDef();if(t&&t.isDeprecated){var i=s.getParentType();if(i){var o=t.deprecationReason;n.push(new r.a("The field ".concat(i.name,".").concat(t.name," is deprecated.")+(o?" "+o:""),e))}}},EnumValue:function(e){var t=s.getEnumValue();if(t&&t.isDeprecated){var i=Object(o.A)(s.getInputType());if(i){var a=t.deprecationReason;n.push(new r.a("The enum value ".concat(i.name,".").concat(t.name," is deprecated.")+(a?" "+a:""),e))}}}})),n}}]]);
//# sourceMappingURL=2.660c567d.chunk.js.map