UNPKG

@pyramation/postgraphile

Version:

A GraphQL schema created by reflection over a PostgreSQL schema 🐘 (previously known as PostGraphQL)

3 lines 983 kB
declare const _default: "<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"/><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"/><title>LaunchQL</title><meta name=\"robots\" content=\"noindex\"/><script src=\"https://unpkg.com/prettier@1.13.0/standalone.js\"></script><script src=\"https://unpkg.com/prettier@1.13.0/parser-graphql.js\"></script></head><body><div id=\"root\"></div><script>!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=245)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return E})),n.d(t,\"x\",(function(){return w})),n.d(t,\"R\",(function(){return T})),n.d(t,\"w\",(function(){return x})),n.d(t,\"N\",(function(){return k})),n.d(t,\"u\",(function(){return O})),n.d(t,\"H\",(function(){return _})),n.d(t,\"o\",(function(){return S})),n.d(t,\"T\",(function(){return C})),n.d(t,\"y\",(function(){return N})),n.d(t,\"E\",(function(){return A})),n.d(t,\"l\",(function(){return D})),n.d(t,\"F\",(function(){return I})),n.d(t,\"m\",(function(){return j})),n.d(t,\"J\",(function(){return L})),n.d(t,\"q\",(function(){return F})),n.d(t,\"L\",(function(){return M})),n.d(t,\"s\",(function(){return P})),n.d(t,\"G\",(function(){return R})),n.d(t,\"n\",(function(){return V})),n.d(t,\"O\",(function(){return U})),n.d(t,\"v\",(function(){return q})),n.d(t,\"I\",(function(){return B})),n.d(t,\"p\",(function(){return z})),n.d(t,\"D\",(function(){return H})),n.d(t,\"k\",(function(){return K})),n.d(t,\"C\",(function(){return G})),n.d(t,\"j\",(function(){return Q})),n.d(t,\"d\",(function(){return W})),n.d(t,\"e\",(function(){return Y})),n.d(t,\"U\",(function(){return J})),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 pe})),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 Ee}));var r=n(31),i=n(2),o=n(21),a=n(36),s=n(24),l=n(6),u=n(20),c=n(33),f=n(17);function p(e){return e}var d=n(28),h=n(27),m=n(1),g=n(111);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 E(e){return T(e)||k(e)||_(e)||C(e)||A(e)||I(e)||L(e)||M(e)}function w(e){if(!E(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL type.\"));return e}function T(e){return Object(c.a)(e,ae)}function x(e){if(!T(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Scalar type.\"));return e}function k(e){return Object(c.a)(e,se)}function O(e){if(!k(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Object type.\"));return e}function _(e){return Object(c.a)(e,he)}function S(e){if(!_(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Interface type.\"));return e}function C(e){return Object(c.a)(e,me)}function N(e){if(!C(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Union type.\"));return e}function A(e){return Object(c.a)(e,ve)}function D(e){if(!A(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Enum type.\"));return e}function I(e){return Object(c.a)(e,ye)}function j(e){if(!I(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Input Object type.\"));return e}function L(e){return Object(c.a)(e,W)}function F(e){if(!L(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL List type.\"));return e}function M(e){return Object(c.a)(e,Y)}function P(e){if(!M(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function R(e){return T(e)||A(e)||I(e)||J(e)&&R(e.ofType)}function V(e){if(!R(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL input type.\"));return e}function U(e){return T(e)||k(e)||_(e)||C(e)||A(e)||J(e)&&U(e.ofType)}function q(e){if(!U(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL output type.\"));return e}function B(e){return T(e)||A(e)}function z(e){if(!B(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL leaf type.\"));return e}function H(e){return k(e)||_(e)||C(e)}function K(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 _(e)||C(e)}function Q(e){if(!G(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL abstract type.\"));return e}function W(e){if(!(this instanceof W))return new W(e);this.ofType=w(e)}function Y(e){if(!(this instanceof Y))return new Y(e);this.ofType=Z(e)}function J(e){return L(e)||M(e)}function $(e){if(!J(e))throw new Error(\"Expected \".concat(Object(i.a)(e),\" to be a GraphQL wrapping type.\"));return e}function X(e){return E(e)&&!M(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 M(e)?e.ofType:e}function te(e){return T(e)||k(e)||_(e)||C(e)||A(e)||I(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;J(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}W.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},Object(h.a)(W),Object(d.a)(W),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||p;this.name=e.name,this.description=e.description,this.serialize=e.serialize||p,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(l.a)(0,\"Must provide name.\"),null==e.serialize||\"function\"==typeof e.serialize||Object(l.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(l.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=ue.bind(void 0,e),this._interfaces=le.bind(void 0,e),\"string\"==typeof e.name||Object(l.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"==typeof e.isTypeOf||Object(l.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:fe(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function le(e){var t=ie(e.interfaces)||[];return Array.isArray(t)||Object(l.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),t}function ue(e){var t=ie(e.fields)||{};return ce(t)||Object(l.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){ce(t)||Object(l.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object\")),!(\"isDeprecated\"in t)||Object(l.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"==typeof t.resolve||Object(l.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||{};ce(o)||Object(l.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 ce(e){return Object(f.a)(e)&&!Array.isArray(e)}function fe(e){return Object(a.a)(e,(function(e){return{description:e.description,type:e.type,args:pe(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function pe(e){return Object(u.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 M(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=ue.bind(void 0,e),\"string\"==typeof e.name||Object(l.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(l.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:fe(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(l.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(l.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(l.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,ce(n=e.values)||Object(l.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 ce(r)||Object(l.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(l.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(l.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.Kind.ENUM){var n=this.getValue(e.value);if(n)return n.value}},t.toConfig=function(){var e=Object(u.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(l.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 ce(t)||Object(l.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(l.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 Ee(e){return M(e.type)&&void 0===e.defaultValue}Object(h.a)(ye),Object(d.a)(ye)},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"Kind\",(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(48);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\";n.d(t,\"a\",(function(){return a})),n.d(t,\"b\",(function(){return s}));var r=n(17),i=n(49),o=n(78);function a(e,t,n,o,s,l,u){var c=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,f=n;if(!f&&c){var p=c[0];f=p&&p.loc&&p.loc.source}var d,h=o;!h&&c&&(h=c.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)})):c&&(d=c.reduce((function(e,t){return t.loc&&e.push(Object(i.a)(t.loc.source,t.loc.start)),e}),[]));var m=u;if(null==m&&null!=l){var g=l.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:c||void 0},source:{value:f||void 0},positions:{value:h||void 0},originalError:{value:l},extensions:{value:m||void 0,enumerable:Boolean(m)}}),l&&l.stack?Object.defineProperty(this,\"stack\",{value:l.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 l=s[a];t+=\"\\n\\n\"+Object(o.b)(e.source,l)}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\";e.exports=n(118)},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\";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\";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.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),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 E})),n.d(t,\"TypeMetaFieldDef\",(function(){return w})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return T})),n.d(t,\"introspectionTypes\",(function(){return x})),n.d(t,\"isIntrospectionType\",(function(){return k}));var r=n(8),i=n(2),o=n(16),a=n(15),s=n(7),l=n(40),u=n(10),c=n(0),f=new c.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(c.e)(Object(c.d)(Object(c.e)(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:Object(c.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(c.e)(Object(c.d)(Object(c.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new c.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(c.e)(u.e),resolve:function(e){return e.name}},description:{type:u.e,resolve:function(e){return e.description}},locations:{type:Object(c.e)(Object(c.d)(Object(c.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(c.e)(Object(c.d)(Object(c.e)(g))),resolve:function(e){return e.args}}}}}),d=new c.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 c.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(c.e)(b),resolve:function(e){return Object(c.R)(e)?y.SCALAR:Object(c.N)(e)?y.OBJECT:Object(c.H)(e)?y.INTERFACE:Object(c.T)(e)?y.UNION:Object(c.E)(e)?y.ENUM:Object(c.F)(e)?y.INPUT_OBJECT:Object(c.J)(e)?y.LIST:Object(c.L)(e)?y.NON_NULL:void Object(o.a)(!1,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:u.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:u.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(c.d)(Object(c.e)(m)),args:{includeDeprecated:{type:u.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(c.N)(e)||Object(c.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(c.d)(Object(c.e)(h)),resolve:function(e){if(Object(c.N)(e))return e.getInterfaces()}},possibleTypes:{type:Object(c.d)(Object(c.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(c.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(c.d)(Object(c.e)(v)),args:{includeDeprecated:{type:u.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(c.E)(e)){var r=e.getValues();return n||(r=r.filter((function(e){return!e.deprecationReason}))),r}}},inputFields:{type:Object(c.d)(Object(c.e)(g)),resolve:function(e){if(Object(c.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 c.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(c.e)(u.e),resolve:function(e){return e.name}},description:{type:u.e,resolve:function(e){return e.description}},args:{type:Object(c.e)(Object(c.d)(Object(c.e)(g))),resolve:function(e){return e.args}},type:{type:Object(c.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(c.e)(u.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:u.e,resolve:function(e){return e.deprecationReason}}}}}),g=new c.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(c.e)(u.e),resolve:function(e){return e.name}},description:{type:u.e,resolve:function(e){return e.description}},type:{type:Object(c.e)(h),resolve:function(e){return e.type}},defaultValue:{type:u.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=Object(l.a)(e.defaultValue,e.type);return t?Object(a.a)(t):null}}}}}),v=new c.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(c.e)(u.e),resolve:function(e){return e.name}},description:{type:u.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(c.e)(u.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:u.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 c.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.\"}}}),E={name:\"__schema\",type:Object(c.e)(f),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},w={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:Object(c.e)(u.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},T={name:\"__typename\",type:Object(c.e)(u.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},x=Object.freeze([f,p,d,h,m,g,v,b]);function k(e){return Object(c.K)(e)&&x.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.d(t,\"d\",(function(){return u})),n.d(t,\"b\",(function(){return c})),n.d(t,\"e\",(function(){return p})),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(17),s=n(1),l=n(0);var u=new l.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.Kind.INT){var t=parseInt(e.value,10);if(t<=2147483647&&t>=-2147483648)return t}}});var c=new l.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.Kind.FLOAT||e.kind===s.Kind.INT?parseFloat(e.value):void 0}});function f(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 p=new l.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=f(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.Kind.STRING?e.value:void 0}});var d=new l.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.Kind.BOOLEAN?e.value:void 0}});var h=new l.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=f(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.Kind.STRING||e.kind===s.Kind.INT?e.value:void 0}}),m=Object.freeze([p,u,c,d,h]);function g(e){return Object(l.R)(e)&&m.some((function(t){var n=t.name;return e.name===n}))}},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 E})),n.d(t,\"i\",(function(){return w})),n.d(t,\"h\",(function(){return T}));var r=n(31),i=n(2),o=n(24),a=n(6),s=n(33),l=n(28),u=n(17),c=n(27),f=n(7),p=n(10),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(u.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(c.a)(g),Object(l.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:[f.a.FIELD,f.a.FRAGMENT_SPREAD,f.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(p.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:[f.a.FIELD,f.a.FRAGMENT_SPREAD,f.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(p.a),description:\"Skipped when true.\"}}}),b=\"No longer supported\",E=new g({name:\"deprecated\",description:\"Marks an element of a GraphQL schema as no longer supported.\",locations:[f.a.FIELD_DEFINITION,f.a.ENUM_VALUE],args:{reason:{type:p.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}}}),w=Object.freeze([v,y,E]);function T(e){return h(e)&&w.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,l=new RegExp(s.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(81);var f=/[&<>\"]/,p=/[&<>\"]/g,d={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"};function h(e){return d[e]}var m=/[.?*+^$[\\]\\\\(){}|-]/g;var g=n(57);t.lib={},t.lib.mdurl=n(82),t.lib.ucmicro=n(143),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(l,(function(e,t,n){return t||function(e,t){var n=0;return i(c,t)?c[t]:35===t.charCodeAt(0)&&u.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 f.test(e)?e.replace(p,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){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]),l=!o&&/WebKit\\//.test(e),u=l&&/Qt\\/\\d+\\.\\d+/.test(e),c=!o&&/Chrome\\//.test(e),f=/Opera\\//.test(e),p=/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),E=/win/i.test(t),w=f&&e.match(/Version\\/(\\d*\\.\\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,l=!0);var T=y&&(u||f&&(null==w||w<12.11)),x=n||a&&s>=9;function k(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var O,_=function(e,t){var n=e.className,r=k(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 S(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function C(e,t){return S(e).appendChild(t)}function N(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 A(e,t,n,r){var i=N(e,t,n,r);return i.setAttribute(\"role\",\"presentation\"),i}function D(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 I(){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 j(e,t){var n=e.className;k(t).test(n)||(e.className+=(n?\" \":\"\")+t)}function L(e,t){for(var n=e.split(\" \"),r=0;r<n.length;r++)n[r]&&!k(n[r]).test(t)&&(t+=\" \"+n[r]);return t}O=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(e){return r}return r.collapse(!0),r.moveEnd(\"character\",n),r.moveStart(\"character\",t),r};var F=function(e){e.select()};function M(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?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=M(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}V.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},V.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 q={toString:function(){return\"CodeMirror.Pass\"}},B={scroll:!1},z={origin:\"*mouse\"},H={origin:\"+move\"};function K(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 Q(e){for(;G.length<=e;)G.push(W(G)+\" \");return G[e]}function W(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 J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),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>\"€\"&&(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 le=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 l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var u,c=a.length,f=[],p=0;p<c;++p)f.push((u=a.charCodeAt(p))<=247?\"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\".charAt(u):1424<=u&&u<=1524?\"R\":1536<=u&&u<=1785?\"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\".charAt(u-1536):1774<=u&&u<=2220?\"r\":8192<=u&&u<=8203?\"w\":8204==u?\"b\":\"L\");for(var d=0,h=l;d<c;++d){var m=f[d];\"m\"==m?f[d]=h:h=m}for(var g=0,v=l;g<c;++g){var y=f[g];\"1\"==y&&\"r\"==v?f[g]=\"n\":n.test(y)&&(v=y,\"r\"==y&&(f[g]=\"R\"))}for(var b=1,E=f[0];b<c-1;++b){var w=f[b];\"+\"==w&&\"1\"==E&&\"1\"==f[b+1]?f[b]=\"1\":\",\"!=w||E!=f[b+1]||\"1\"!=E&&\"n\"!=E||(f[b]=E),E=w}for(var T=0;T<c;++T){var x=f[T];if(\",\"==x)f[T]=\"N\";else if(\"%\"==x){var k=void 0;for(k=T+1;k<c&&\"%\"==f[k];++k);for(var O=T&&\"!\"==f[T-1]||k<c&&\"1\"==f[k]?\"1\":\"N\",_=T;_<k;++_)f[_]=O;T=k-1}}for(var S=0,C=l;S<c;++S){var N=f[S];\"L\"==C&&\"1\"==N?f[S]=\"L\":n.test(N)&&(C=N)}for(var A=0;A<c;++A)if(t.test(f[A])){var D=void 0;for(D=A+1;D<c&&t.test(f[D]);++D);for(var I=\"L\"==(A?f[A-1]:l),j=I==(\"L\"==(D<c?f[D]:l))?I?\"L\":\"R\":l,L=A;L<D;++L)f[L]=j;A=D-1}for(var F,M=[],P=0;P<c;)if(r.test(f[P])){var R=P;for(++P;P<c&&r.test(f[P]);++P);M.push(new o(0,R,P))}else{var V=P,U=M.length,q=\"rtl\"==s?1:0;for(++P;P<c&&\"L\"!=f[P];++P);for(var B=V;B<P;)if(i.test(f[B])){V<B&&(M.splice(U,0,new o(1,V,B)),U+=q);var z=B;for(++B;B<P&&i.test(f[B]);++B);M.splice(U,0,new o(2,z,B)),U+=q,V=B}else++B;V<P&&M.splice(U,0,new o(1,V,P))}return\"ltr\"==s&&(1==M[0].level&&(F=a.match(/^\\s+/))&&(M[0].from=F[0].length,M.unshift(new o(0,0,F[0].length))),1==W(M).level&&(F=a.match(/\\s+$/))&&(W(M).to-=F[0].length,M.push(new o(0,c-F[0].length,c)))),\"rtl\"==s?M.reverse():M}}();function ue(e,t){var n=e.order;return null==n&&(n=e.order=le(e.text,t)),n}var ce=[],fe=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]||ce).concat(n)}};function pe(e,t){return e._handlers&&e._handlers[t]||ce}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=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(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),we(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==U(n,t[r])&&n.push(t[r])}function ve(e,t){return pe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ee(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function we(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Te(e){be(e),Ee(e)}function xe(e){return e.target||e.srcElement}function ke(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 Oe,_e,Se=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function Ce(e){if(null==Oe){var t=N(\"span\",\"​\");C(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Oe?N(\"span\",\"​\"):N(\"span\",\" \",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=_e)return _e;var t=C(e,document.createTextNode(\"AخA\")),n=O(t,0,1).getBoundingClientRect(),r=O(t,1,2).getBoundingClientRect();return S(e),!(!n||n.left==n.right)&&(_e=r.right-n.right<3)}var Ae,De=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/)},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},je=\"oncopy\"in(Ae=N(\"div\"))||(Ae.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof Ae.oncopy),Le=null,Fe={},Me={};function Pe(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function Re(e){if(\"string\"==typeof e&&Me.hasOwnProperty(e))e=Me[e];else if(e&&\"string\"==typeof e.name&&Me.hasOwnProperty(e.name)){var t=Me[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 Re(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Re(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Ve(e,t){t=Re(t);var n=Fe[t.name];if(!n)return Ve(e,\"text/plain\");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[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 Ue={};function qe(e,t){P(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function Be(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 ze(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 He(e,t,n){return!e.startState||e.startState(t,n)}var Ke=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 Ge(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 Qe(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 We(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Je(e){if(null==e.parent)return null;for(var t=e.parent,n=U(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 $e(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 Xe(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,Ge(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,Ge(e,t.line).text.length)}function lt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}Ke.prototype.eol=function(){return this.pos>=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ke.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},Ke.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ke.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ke.prototype.backUp=function(e){this.pos-=e},Ke.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)},Ke.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ke.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},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ke.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ke.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 ft(e,t,n,r){var i=[e.state.modeGen],o={};Et(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],l=1,u=0;n.state=!0,Et(e,t.text,s.mode,n,(function(e,t){for(var n=l;u<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+\" \":\"\")+\"overlay \"+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);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=dt(e,Je(t)),i=t.text.length>e.options.maxHighlightLength&&Be(e.doc.mode,r.state),o=ft(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 dt(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 l=Ge(o,s-1),u=l.stateAfter;if(u&&(!n||s+(u instanceof ut?u.lookAhead:0)<=o.modeFrontier))return s;var c=R(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}(e,t,n),a=o>r.first&&Ge(r,o-1).stateAfter,s=a?ct.fromSaved(r,a,o):new ct(r,He(r.mode),o);return r.iter(o,t,(function(n){ht(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 ht(e,t,n,r){var i=e.doc.mode,o=new Ke(t,e.options.tabSize,n);for(o.start=o.pos=r||0,\"\"==t&&mt(i,n.state);!o.eol();)gt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=ze(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function gt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=ze(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,Be(e.mode,t.state),n,t.lookAhead):new ct(e,Be(e.mode,t),n)},ct.prototype.save=function(e){var t=!1!==e?Be(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var vt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ge(a,(t=st(a,t)).line),u=dt(e,t.line,n),c=new Ke(l.text,e.options.tabSize,u);for(r&&(o=[]);(r||c.pos<t.ch)&&!c.eol();)c.start=c.pos,i=gt(s,c,u.state),r&&o.push(new vt(c,i,Be(a.mode,u.state)));return r?o:new vt(c,i,u.state)}function bt(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 Et(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,u=0,c=null,f=new Ke(t,e.options.tabSize,r),p=e.options.addModeClass&&[null];for(\"\"==t&&bt(mt(n,r.state),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&ht(e,t,r,f.pos),f.pos=t.length,l=null):l=bt(gt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||c!=l){for(;u<f.start;)i(u=Math.min(f.start,u+5e3),c);c=l}f.start=f.pos}for(;u<f.pos;){var h=Math.min(f.pos,u+5e3);i(h,c),u=h}}var wt=!1,Tt=!1;function xt(e,t,n){this.marker=e,this.from=t,this.to=n}function kt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Ot(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function _t(e,t){if(t.full)return null;var n=Xe(e,t.from.line)&&Ge(e,t.from.line).markedSpans,r=Xe(e,t.to.line)&&Ge(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(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 xt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=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 xt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),u=1==t.text.length,c=W(t.text).length+(u?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=kt(l,p.marker);d?u&&(p.to=null==d.to?null:d.to+c):p.to=i}}if(l)for(var h=0;h<l.length;++h){var m=l[h];null!=m.to&&(m.to+=c),null==m.from?kt(s,m.marker)||(m.from=c,u&&(s||(s=[])).push(m)):(m.from+=c,u&&(s||(s=[])).push(m))}s&&(s=St(s)),l&&l!=s&&(l=St(l));var g=[s];if(!u){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 xt(s[b].marker,null,null));for(var E=0;E<y;++E)g.push(v);g.push(l)}return g}function St(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 Ct(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Nt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function At(e){return e.inclusiveLeft?-1:0}function Dt(e){return e.inclusiveRight?1:0}function It(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||At(e)-At(t);if(o)return-o;var a=tt(r.to,i.to)||Dt(e)-Dt(t);return a||t.id-e.id}function jt(e,t){var n,r=Tt&&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||It(n,i.marker)<0)&&(n=i.marker);return n}function Lt(e){return jt(e,!0)}function Ft(e){return jt(e,!1)}function Mt(e,t){var n,r=Tt&&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||It(n,o.marker)<0)&&(n=o.marker)}return n}function Pt(e,t,n,r,i){var o=Ge(e,t),a=Tt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var u=l.marker.find(0),c=tt(u.from,n)||At(l.marker)-At(i),f=tt(u.to,r)||Dt(l.marker)-Dt(i);if(!(c>=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(u.to,n)>=0:tt(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(u.from,r)<=0:tt(u.from,r)<0)))return!0}}}function Rt(e){for(var t;t=Lt(e);)e=t.find(-1,!0).line;return e}function Vt(e,t){var n=Ge(e,t),r=Rt(n);return n==r?t:Je(r)}function Ut(e,t){if(t>e.lastLine())return t;var n,r=Ge(e,t);if(!qt(e,r))return t;for(;n=Ft(r);)r=n.find(1,!0).line;return Je(r)+1}function qt(e,t){var n=Tt&&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&&Bt(e,t,r))return!0}}function Bt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return Bt(e,r.line,kt(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)&&Bt(e,t,i))return!0}function zt(e){for(var t=0,n=(e=Rt(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 Ht(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=Lt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Ft(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 Kt(e){var t=e.display,n=e.doc;t.maxLine=Ge(n,n.first),t.maxLineLength=Ht(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=Ht(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Gt=function(e,t,n){this.text=e,Nt(this,t),this.height=n?n(this):1};function Qt(e){e.parent=null,Ct(e)}Gt.prototype.lineNo=function(){return Je(this)},ye(Gt);var Wt={},Yt={};function Jt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Yt:Wt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function $t(e,t){var n=A(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:A(\"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=Zt,Ne(e.display.measure)&&(a=ue(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,pt(e,o,t!=e.display.externalMeasured&&Je(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=L(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=L(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ce(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(l){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=L(r.pre.className,r.textClass||\"\")),r}function Xt(e){var t=N(\"span\",\"•\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Zt(e,t,n,r,i,o,l){if(t){var u,c=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=\" \"),r+=o,n=\" \"==o}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){u=document.createDocumentFragment();for(var d=0;;){f.lastIndex=d;var h=f.exec(t),m=h?h.index-d:t.length-d;if(m){var g=document.createTextNode(c.slice(d,d+m));a&&s<9?u.appendChild(N(\"span\",[g])):u.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=u.appendChild(N(\"span\",Q(b),\"cm-tab\"))).setAttribute(\"role\",\"presentation\"),v.setAttribute(\"cm-text\",\"\\t\"),e.col+=b}else\"\\r\"==h[0]||\"\\n\"==h[0]?((v=u.appendChild(N(\"span\",\"\\r\"==h[0]?\"␍\":\"␤\",\"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?u.appendChild(N(\"span\",[v])):u.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||i||p||o){var E=n||\"\";r&&(E+=r),i&&(E+=i);var w=N(\"span\",[u],E,o);if(l)for(var T in l)l.hasOwnProperty(T)&&\"style\"!=T&&\"class\"!=T&&w.setAttribute(T,l[T]);return e.content.appendChild(w)}e.content.appendChild(u)}}function en(e,t){return function(n,r,i,o,a,s,l){i=i?i+\" cm-force-border\":\"cm-force-border\";for(var u=n.pos,c=u+r.length;;){for(var f=void 0,p=0;p<t.length&&!((f=t[p]).to>u&&f.from<=u);p++);if(f.to>=c)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-u),i,o,null,s,l),o=null,r=r.slice(f.to-u),u=f.to}}}function tn(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 nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,u,c,f,p,d=i.length,h=0,m=1,g=\"\",v=0;;){if(v==h){l=u=c=s=\"\",p=null,f=null,v=1/0;for(var y=[],b=void 0,E=0;E<r.length;++E){var w=r[E],T=w.marker;if(\"bookmark\"==T.type&&w.from==h&&T.widgetNode)y.push(T);else if(w.from<=h&&(null==w.to||w.to>h||T.collapsed&&w.to==h&&w.from==h)){if(null!=w.to&&w.to!=h&&v>w.to&&(v=w.to,u=\"\"),T.className&&(l+=\" \"+T.className),T.css&&(s=(s?s+\";\":\"\")+T.css),T.startStyle&&w.from==h&&(c+=\" \"+T.startStyle),T.endStyle&&w.to==v&&(b||(b=[])).push(T.endStyle,w.to),T.title&&((p||(p={})).title=T.title),T.attributes)for(var x in T.attributes)(p||(p={}))[x]=T.attributes[x];T.collapsed&&(!f||It(f.marker,T)<0)&&(f=w)}else w.from>h&&v>w.from&&(v=w.from)}if(b)for(var k=0;k<b.length;k+=2)b[k+1]==v&&(u+=\" \"+b[k]);if(!f||f.from==h)for(var O=0;O<y.length;++O)tn(t,0,y[O]);if(f&&(f.from||0)==h){if(tn(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;for(var _=Math.min(d,v);;){if(g){var S=h+g.length;if(!f){var C=S>_?g.slice(0,_-h):g;t.addToken(t,C,a?a+l:l,c,h+C.length==v?u:\"\",s,p)}if(S>=_){g=g.slice(_-h),h=_;break}h=S,c=\"\"}g=i.slice(o,o=n[m++]),a=Jt(n[m++],t.cm.options)}}else for(var N=1;N<n.length;N+=2)t.addToken(t,i.slice(o,o=n[N]),Jt(n[N+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Ft(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Je(W(this.rest))-n+1:1,this.node=this.text=null,this.hidden=qt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,Ge(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function ln(e,t){var n=pe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],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=sn;sn=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?dn(e,t):\"gutter\"==o?mn(e,t,n,r):\"class\"==o?hn(e,t):\"widget\"==o&&gn(e,t,r)}t.changes=null}function fn(e){return e.node==e.text&&(e.node=N(\"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):$t(e,t)}function dn(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,hn(e,t)):n&&(t.text.className=n)}function hn(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=fn(t);t.background=r.insertBefore(N(\"div\",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?fn(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 mn(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=fn(t);t.gutterBackground=N(\"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=fn(t),s=t.gutter=N(\"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(N(\"div\",Ze(e.options,n),\"CodeMirror-linenumber CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[\"CodeMirror-linenumbers\"]+\"px; width: \"+e.display.lineNumInnerWidth+\"px\"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var u=e.display.gutterSpecs[l].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(N(\"div\",[c],\"CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[u]+\"px; width: \"+r.gutterWidth[u]+\"px\"))}}}function gn(e,t,n){t.alignable&&(t.alignable=null);for(var r=k(\"CodeMirror-linewidget\"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function vn(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),hn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=fn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],u=N(\"div\",[l.node],\"CodeMirror-linewidget\"+(l.className?\" \"+l.className:\"\"));l.handleMouseEvents||u.setAttribute(\"cm-ignore-events\",\"true\"),En(l,u,n,r),e.display.input.setUneditable(u),i&&l.above?o.insertBefore(u,n.gutter||n.text):o.appendChild(u),ln(l,\"redraw\")}}function En(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 wn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!D(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;\"),C(t.display.measure,N(\"div\",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Tn(e,t){for(var n=xe(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 xn(e){return e.lineSpace.offsetTop}function kn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function On(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=C(e.measure,N(\"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 _n(e){return 50-e.display.nativeBarWidth}function Sn(e){return e.display.scroller.clientWidth-_n(e)-e.display.barWidth}function Cn(e){return e.display.scroller.clientHeight-_n(e)-e.display.barHeight}function Nn(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(Je(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function An(e,t,n,r){return jn(e,In(e,t),n,r)}function Dn(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 In(e,t){var n=Je(t),r=Dn(e,n);r&&!r.text?r=null:r&&r.changes&&(cn(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Je(t=Rt(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=$t(e,r);return r.text=i.pre,C(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function jn(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||\"\");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Sn(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 l=a[s],u=a[s+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.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=Mn(t.map,n,r),l=o.node,u=o.start,c=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;u&&re(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+c<o.coverEnd&&re(t.line.text.charAt(o.coverStart+c));)++c;if((i=a&&s<9&&0==u&&c==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Pn(O(l,u,c).getClientRects(),r)).left||i.right||0==u)break;c=u,u-=1,f=\"right\"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Le)return Le;var t=C(e,N(\"span\",\"x\")),n=t.getBoundingClientRect(),r=O(t,0,1).getBoundingClientRect();return Le=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;u>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+ir(e.display),top:h.top,bottom:h.bottom}:Fn}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 E=b?y[b-1]:0,w=y[b],T={left:(\"right\"==f?i.right:i.left)-t.rect.left,right:(\"left\"==f?i.left:i.right)-t.rect.left,top:E,bottom:w};return i.left||i.right||(T.bogus=!0),e.options.singleCursorHeightPerLine||(T.rtop=m,T.rbottom=g),T}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Ln,Fn={left:0,right:0,top:0,bottom:0};function Mn(e,t,n){for(var r,i,o,a,s,l,u=0;u<e.length;u+=3)if(s=e[u],l=e[u+1],t<s?(i=0,o=1,a=\"left\"):t<l?o=1+(i=t-s):(u==e.length-3||t==l&&e[u+3]>t)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[u+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[2+(u-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)r=e[(u+=3)+2],a=\"right\";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Pn(e,t){var n=Fn;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 Rn(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 Vn(e){e.display.externalMeasure=null,S(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Rn(e.display.view[t])}function Un(e){Vn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function qn(){return c&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Bn(){return c&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function zn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=wn(e.widgets[n]));return t}function Hn(e,t,n,r,i){if(!i){var o=zn(t);n.top+=o,n.bottom+=o}if(\"line\"==r)return n;r||(r=\"local\");var a=zt(t);if(\"local\"==r?a+=xn(e.display):a-=e.display.viewOffset,\"page\"==r||\"window\"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+(\"window\"==r?0:Bn());var l=s.left+(\"window\"==r?0:qn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function Kn(e,t,n){if(\"div\"==n)return t;var r=t.left,i=t.top;if(\"page\"==n)r-=qn(),i-=Bn();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 Gn(e,t,n,r,i){return r||(r=Ge(e.doc,t.line)),Hn(e,r,An(e,r,t.ch,i),n)}function Qn(e,t,n,r,i,o){function a(t,a){var s=jn(e,i,t,a?\"right\":\"left\",o);return a?s.left=s.right:s.right=s.left,Hn(e,r,s,n)}r=r||Ge(e.doc,t.line),i||(i=In(e,r));var s=ue(r,e.doc.direction),l=t.ch,u=t.sticky;if(l>=r.text.length?(l=r.text.length,u=\"before\"):l<=0&&(l=0,u=\"after\"),!s)return a(\"before\"==u?l-1:l,\"before\"==u);function c(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,u),p=ae,d=c(l,f,\"before\"==u);return null!=p&&(d.other=c(l,p,\"before\"!=u)),d}function Wn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=Ge(e.doc,t.line),i=zt(r)+xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Yn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Jn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Yn(r.first,0,null,-1,-1);var i=$e(r,n),o=r.first+r.size-1;if(i>o)return Yn(r.first+r.size-1,Ge(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ge(r,i);;){var s=er(e,a,i,t,n),l=Mt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var u=l.find(1);if(u.line==i)return u;a=Ge(r,i=u.line)}}function $n(e,t,n,r){r-=zn(t);var i=t.text.length,o=oe((function(t){return jn(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return jn(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=In(e,t)),$n(e,t,n,Hn(e,t,jn(e,n,r),\"line\").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=zt(t);var o=In(e,t),a=zn(t),s=0,l=t.text.length,u=!0,c=ue(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?nr:tr)(e,t,n,o,c,r,i);s=(u=1!=f.level)?f.from:f.to-1,l=u?f.to:f.from-1}var p,d,h=null,m=null,g=oe((function(t){var n=jn(e,o,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),v=!1;if(m){var y=r-m.left<m.right-r,b=y==u;g=h+(b?0:1),d=b?\"after\":\"before\",p=y?m.left:m.right}else{u||g!=l&&g!=s||g++,d=0==g?\"after\":g==t.text.length?\"before\":jn(e,o,g-(u?1:0)).bottom+a<=i==u?\"after\":\"before\";var E=Qn(e,et(n,g,d),\"line\",t,o);p=E.left,v=i<E.top?-1:i>=E.bottom?1:0}return Yn(n,g=ie(t.text,g,1),d,v,r-p)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],u=1!=l.level;return Zn(Qn(e,et(n,u?l.to:l.from,u?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var u=1!=l.level,c=Qn(e,et(n,u?l.from:l.to,u?\"after\":\"before\"),\"line\",t,r);Zn(c,o,a,!0)&&c.top>a&&(l=i[s-1])}return l}function nr(e,t,n,r,i,o,a){var s=$n(e,t,r,a),l=s.begin,u=s.end;/\\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=u||d.to<=l)){var h=jn(e,r,1!=d.level?Math.min(u,d.to)-1:Math.max(l,d.from)).right,m=h<o?o-h+1e9:h-o;(!c||f>m)&&(c=d,f=m)}}return c||(c=i[i.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ln){Ln=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)Ln.appendChild(document.createTextNode(\"x\")),Ln.appendChild(N(\"br\"));Ln.appendChild(document.createTextNode(\"x\"))}C(e.measure,Ln);var n=Ln.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),S(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");C(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(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:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(qt(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 lr(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ye(e,t)}))}function ur(e,t,n,r){var i=e.display;if(!n&&\"true\"==xe(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(e){return null}var l,u=Jn(e,o,a);if(r&&u.xRel>0&&(l=Ge(e.doc,u.line).text).length==u.ch){var c=R(l,l.length,e.options.tabSize)-l.length;u=et(u.line,Math.max(0,Math.round((o-On(e.display).left)/ir(e.display))-c))}return u}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 fr(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)Tt&&Vt(e.doc,t)<i.viewTo&&dr(e);else if(n<=i.viewFrom)Tt&&Ut(e.doc,n+r)>i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=hr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=hr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=hr(e,t,t,-1),l=hr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):dr(e)}var u=i.externalMeasured;u&&(n<u.lineN?u.lineN+=r:t<u.lineN+u.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==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hr(e,t,n,r){var i,o=cr(e,t),a=e.display.view;if(!Tt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].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(;Vt(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 mr(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 gr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function vr(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 l=s.empty();(l||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),l||Er(e,s,o)}}return r}function yr(e,t,n){var r=Qn(e,t,\"div\",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(N(\"div\",\" \",\"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(N(\"div\",\" \",\"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 br(e,t){return e.top-t.top||e.left-t.left}function Er(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=On(e.display),s=a.left,l=Math.max(r.sizerWidth,Sn(e)-r.sizer.offsetLeft)-a.right,u=\"ltr\"==i.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N(\"div\",null,\"CodeMirror-selected\",\"position: absolute; left: \"+e+\"px;\\n                             top: \"+t+\"px; width: \"+(null==n?l-e:n)+\"px;\\n                             height: \"+(r-t)+\"px\"))}function f(t,n,r){var o,a,f=Ge(i,t),p=f.text.length;function d(n,r){return Gn(e,et(t,n),\"div\",f,r)}function h(t,n,r){var i=Xn(e,f,null,t),o=\"ltr\"==n==(\"after\"==r)?\"left\":\"right\";return d(\"after\"==r?i.begin:i.end-(/\\s/.test(f.text.charAt(i.end-1))?2:1),o)[o]}var m=ue(f,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?p:r,(function(e,t,i,f){var g=\"ltr\"==i,v=d(e,g?\"left\":\"right\"),y=d(t-1,g?\"right\":\"left\"),b=null==n&&0==e,E=null==r&&t==p,w=0==f,T=!m||f==m.length-1;if(y.top-v.top<=3){var x=(u?E:b)&&T,k=(u?b:E)&&w?s:(g?v:y).left,O=x?l:(g?y:v).right;c(k,v.top,O-k,v.bottom)}else{var _,S,C,N;g?(_=u&&b&&w?s:v.left,S=u?l:h(e,i,\"before\"),C=u?s:h(t,i,\"after\"),N=u&&E&&T?l:y.right):(_=u?h(e,i,\"before\"):s,S=!u&&b&&w?l:v.right,C=!u&&E&&T?s:y.left,N=u?h(t,i,\"after\"):l),c(_,v.top,S-_,v.bottom),v.bottom<y.top&&c(s,v.bottom,null,y.top),c(C,y.top,N-C,y.bottom)}(!o||br(v,o)<0)&&(o=v),br(y,o)<0&&(o=y),(!a||br(v,a)<0)&&(a=v),br(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Ge(i,p.line),m=Ge(i,d.line),g=Rt(h)==Rt(m),v=f(p.line,p.ch,g?h.text.length+1:null).end,y=f(d.line,g?0:null,d.ch).start;g&&(v.top<y.top-2?(c(v.right,v.top,null,v.bottom),c(s,y.top,y.left,y.bottom)):c(v.right,v.top,y.left-v.right,v.bottom)),v.bottom<y.top&&c(s,v.bottom,null,y.top)}n.appendChild(o)}function wr(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 Tr(e){e.state.focused||(e.display.input.focus(),kr(e))}function xr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Or(e))}),100)}function kr(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,j(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),wr(e))}function Or(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,_(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function _r(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,l=void 0,u=0;if(!i.hidden){if(a&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;l=c-n,n=c}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var p=i.line.height-l;if((p>.005||p<-.005)&&(Ye(i.line,l),Sr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Sr(i.rest[d]);if(u>e.display.sizerWidth){var h=Math.ceil(u/ir(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Sr(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 Cr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-xn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=$e(t,r),a=$e(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=$e(t,zt(Ge(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=$e(t,zt(Ge(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Nr(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Cn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+kn(n),l=t.top<r,u=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Sn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Ar(e,t){null!=t&&(jr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Dr(e){jr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ir(e,t,n){null==t&&null==n||jr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function jr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Lr(e,Wn(e,t.from),Wn(e,t.to),t.margin))}function Lr(e,t,n,r){var i=Nr(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});Ir(e,i.scrollLeft,i.scrollTop)}function Fr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Mr(e,t,!0),n&&li(e),ri(e,100))}function Mr(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 Pr(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,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Rr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+kn(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+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Vr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Vr.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}},Vr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Vr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Vr.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 V,this.disableVert=new V},Vr.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)}))},Vr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ur=function(){};function qr(e,t){t||(t=Rr(e));var n=e.display.barWidth,r=e.display.barHeight;Br(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&_r(e),Br(e,Rr(e)),n=e.display.barWidth,r=e.display.barHeight}function Br(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=\"\"}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var zr={native:Vr,null:Ur};function Hr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&_(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new zr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(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?Pr(e,t):Fr(e,t)}),e),e.display.scrollbars.addClass&&j(e.display.wrapper,e.display.scrollbars.addClass)}var Kr=0;function Gr(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:++Kr},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Qr(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{an=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++)Wr(t[n]);for(var r=0;r<t.length;r++)Yr(t[r]);for(var i=0;i<t.length;i++)Jr(t[i]);for(var o=0;o<t.length;o++)$r(t[o]);for(var a=0;a<t.length;a++)Xr(t[a])}(e)}))}function Wr(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=_n(e)+\"px\",t.sizer.style.marginBottom=-t.nativeBarWidth+\"px\",t.sizer.style.borderRightWidth=_n(e)+\"px\",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Kt(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 oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Jr(e){var t=e.cm,n=t.display;e.updatedDisplay&&_r(t),e.barMeasure=Rr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=An(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+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Sn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function $r(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft<t.doc.scrollLeft&&Pr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==I();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&qr(t,e.barMeasure),e.updatedDisplay&&ci(t,e.barMeasure),e.selectionChanged&&wr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Tr(e.cm)}function Xr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Mr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Pr(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=N(\"div\",\"​\",null,\"position: absolute;\\n                         top: \"+(t.top-n.viewOffset-xn(e.display))+\"px;\\n                         height: \"+(t.bottom-t.top+_n(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?et(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?et(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Qn(e,t),l=n&&n!=t?Qn(e,n):s,u=Nr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=u.scrollTop&&(Fr(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(Pr(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(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 Zr(e,t){if(e.curOp)return t();Gr(e);try{return t()}finally{Qr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Gr(e);try{return t.apply(e,arguments)}finally{Qr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Gr(this);try{return e.apply(this,arguments)}finally{Qr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Gr(t);try{return e.apply(this,arguments)}finally{Qr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,M(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(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?Be(t.mode,r.state):null,l=ft(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&ht(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Zr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],\"text\")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Cr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Sn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return dr(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==mr(e))return!1;pi(e)&&(dr(e),t.dims=or(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)),Tt&&(o=Vt(e.doc,o),a=Ut(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=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(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(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,cr(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=zt(Ge(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var u=mr(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=I();if(!t||!D(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&D(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 u>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 l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,f=0;f<u.length;f++){var p=u[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=c&&p.lineNumber;p.changes&&(U(p.changes,\"gutter\")>-1&&(d=!1),cn(e,p,c,n)),d&&(S(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Ze(e.options,c)))),a=p.node.nextSibling}else{var h=vn(e,p,c,n);o.insertBefore(h,a)}c+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&D(document.body,e.anchorNode)&&D(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)}}(c),S(n.cursorDiv),S(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Sn(e))r&&(t.visible=Cr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+kn(e.display)-Cn(e),n.top)}),t.visible=Cr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;_r(e);var i=Rr(e);gr(e),qr(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 li(e,t){var n=new oi(e,t);if(ai(e,n)){_r(e),si(e,n);var r=Rr(e);gr(e),qr(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+_n(e)+\"px\"}function fi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(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 l=0;l<s.length;l++)s[l].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=Ze(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(N(\"div\",[N(\"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 di(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 hi(e){var t=e.gutters,n=e.gutterSpecs;S(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(N(\"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 mi(e){hi(e.display),fr(e),fi(e)}function gi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=N(\"div\",null,\"CodeMirror-scrollbar-filler\"),o.scrollbarFiller.setAttribute(\"cm-not-content\",\"true\"),o.gutterFiller=N(\"div\",null,\"CodeMirror-gutter-filler\"),o.gutterFiller.setAttribute(\"cm-not-content\",\"true\"),o.lineDiv=A(\"div\",null,\"CodeMirror-code\"),o.selectionDiv=N(\"div\",null,null,\"position: relative; z-index: 1\"),o.cursorDiv=N(\"div\",null,\"CodeMirror-cursors\"),o.measure=N(\"div\",null,\"CodeMirror-measure\"),o.lineMeasure=N(\"div\",null,\"CodeMirror-measure\"),o.lineSpace=A(\"div\",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,\"position: relative; outline: none\");var u=A(\"div\",[o.lineSpace],\"CodeMirror-lines\");o.mover=N(\"div\",[u],null,\"position: relative\"),o.sizer=N(\"div\",[o.mover],\"CodeMirror-sizer\"),o.sizerWidth=null,o.heightForcer=N(\"div\",null,null,\"position: absolute; height: 50px; width: 1px;\"),o.gutters=N(\"div\",null,\"CodeMirror-gutters\"),o.lineGutter=null,o.scroller=N(\"div\",[o.sizer,o.heightForcer,o.gutters],\"CodeMirror-scroll\"),o.scroller.setAttribute(\"tabIndex\",\"-1\"),o.wrapper=N(\"div\",[o.scrollbarFiller,o.gutterFiller,o.scroller],\"CodeMirror\"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||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=di(i.gutters,i.lineNumbers),hi(o),r.init(o)}oi.prototype.signal=function(e,t){ve(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var vi=0,yi=null;function bi(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 Ei(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function wi(e,t){var r=bi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==p){e.display.currentWheelTarget=p;break e}if(i&&!n&&!f&&null!=yi)return o&&c&&Fr(e,Math.max(0,s.scrollTop+o*yi)),Pr(e,Math.max(0,s.scrollLeft+i*yi)),(!o||o&&c)&&be(t),void(a.wheelStartX=null);if(o&&null!=yi){var m=o*yi,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),li(e,{top:g,bottom:v})}vi<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&&(yi=(yi*vi+n)/(vi+1),++vi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?yi=-.53:n?yi=15:c?yi=-.7:p&&(yi=-1/3);var Ti=function(e,t){this.ranges=e,this.primIndex=t};Ti.prototype.primary=function(){return this.ranges[this.primIndex]},Ti.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(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},Ti.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new xi(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new Ti(e,this.primIndex)},Ti.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Ti.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var xi=function(e,t){this.anchor=e,this.head=t};function ki(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var u=ot(s.from(),a.from()),c=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new xi(f?c:u,f?u:c))}}return new Ti(t,n)}function Oi(e,t){return new Ti([new xi(e,t||e)],0)}function _i(e){return e.text?et(e.from.line+e.text.length-1,W(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Si(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return _i(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+=_i(t).ch-t.to.ch),et(n,r)}function Ci(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new xi(Si(i.anchor,t),Si(i.head,t)))}return ki(e.cm,n,e.sel.primIndex)}function Ni(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Ai(e){e.doc.mode=Ve(e.options,e.doc.modeOption),Di(e)}function Di(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,ri(e,100),e.state.modeGen++,e.curOp&&fr(e)}function Ii(e,t){return 0==t.from.ch&&0==t.to.ch&&\"\"==W(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ji(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),Ct(e),Nt(e,n);var i=r?r(e):1;i!=e.height&&Ye(e,i)}(e,n,i,r),ln(e,\"change\",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Gt(u[o],i(o),r));return n}var s=t.from,l=t.to,u=t.text,c=Ge(e,s.line),f=Ge(e,l.line),p=W(u),d=i(u.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(Ii(e,t)){var m=a(0,u.length-1);o(f,f.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(c==f)if(1==u.length)o(c,c.text.slice(0,s.ch)+p+c.text.slice(l.ch),d);else{var g=a(1,u.length-1);g.push(new Gt(p+c.text.slice(l.ch),d,r)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,g)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(f,p+f.text.slice(l.ch),d);var v=a(1,u.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,v)}ln(e,\"change\",e,t)}function Li(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 l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Fi(e,t){if(t.cm)throw new Error(\"This document is already in use.\");e.doc=t,t.cm=e,lr(e),Ai(e),Mi(e),e.options.lineWrapping||Kt(e),e.options.mode=t.modeOption,fr(e)}function Mi(e){(\"rtl\"==e.doc.direction?j:_)(e.display.lineDiv,\"CodeMirror-rtl\")}function Pi(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 Ri(e,t){var n={from:rt(t.from),to:_i(t),text:Qe(e,t.from,t.to)};return zi(e,n,t.from.line,t.to.line+1),Li(e,(function(e){return zi(e,n,t.from.line,t.to.line+1)}),!0),n}function Vi(e){for(;e.length&&W(e).ranges;)e.pop()}function Ui(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?(Vi(e.done),W(e.done)):e.done.length&&!W(e.done).ranges?W(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),W(e.done)):void 0}(i,i.lastOp==r)))a=W(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=_i(t):o.changes.push(Ri(e,t));else{var l=W(i.done);for(l&&l.ranges||Bi(e.sel,i.done),o={changes:[Ri(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 qi(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,W(i.done),t))?i.done[i.done.length-1]=t:Bi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Vi(i.undone)}function Bi(e,t){var n=W(t);n&&n.ranges&&n.equals(e)||t.push(e)}function zi(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 Hi(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 Ki(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(Hi(n[i]));return r}(e,t),r=_t(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 l=a[s],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Gi(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Ti.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var u=a[l],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\\d+)$/))&&U(t,Number(c[1]))>-1&&(W(s)[f]=u[f],delete u[f])}}}return r}function Qi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new xi(i,t)}return new xi(n||t,t)}function Wi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Zi(e,new Ti([Qi(e.sel.primary(),t,n,i)],0),r)}function Yi(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]=Qi(e.sel.ranges[o],t[o],null,i);Zi(e,ki(e.cm,r,e.sel.primIndex),n)}function Ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Zi(e,ki(e.cm,i,e.sel.primIndex),r)}function $i(e,t,n,r){Zi(e,Oi(t,n),r)}function Xi(e,t,n){var r=e.history.done,i=W(r);i&&i.ranges?(r[r.length-1]=t,eo(e,t,n)):Zi(e,t,n)}function Zi(e,t,n){eo(e,t,n),qi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function eo(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 xi(st(e,t[n].anchor),st(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?ki(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,ro(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Dr(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ge(e.cm)),ln(e,\"cursorActivity\",e))}function no(e){to(e,ro(e,e.sel,null,!1))}function ro(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],l=oo(e,a.anchor,s&&s.anchor,n,r),u=oo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||u!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new xi(l,u))}return i?ki(e.cm,i,t.primIndex):t}function io(e,t,n,r,i){var o=Ge(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,u=\"selectLeft\"in l?!l.selectLeft:l.inclusiveLeft,c=\"selectRight\"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?c:u)&&(f=ao(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=tt(f,n))&&(r<0?p<0:p>0))return io(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?u:c)&&(d=ao(e,d,r,d.line==t.line?o:null)),d?io(e,d,t,r,i):null}}return t}function oo(e,t,n,r,i){var o=r||1,a=io(e,t,n,o,i)||!i&&io(e,t,n,o,!0)||io(e,t,n,-o,i)||!i&&io(e,t,n,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function ao(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||Ge(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function so(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),B)}function lo(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=st(e,t)),n&&(r.to=st(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 ei(e.cm,uo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ve(e,\"beforeChange\")||e.cm&&ve(e.cm,\"beforeChange\"))||(t=lo(e,t,!0))){var r=wt&&!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!=U(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),l=0;l<i.length;++l){var u=i[l];if(!(tt(u.to,s.from)<0||tt(u.from,s.to)>0)){var c=[l,1],f=tt(u.from,s.from),p=tt(u.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.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!=tt(t.from,t.to)){var n=Ci(e,t);Ui(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,_t(e,t));var r=[];Li(e,(function(e,n){n||-1!=U(r,e.history)||(yo(e.history,t),r.push(e.history)),ho(e,t,null,_t(e,t))}))}}function fo(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,l=\"undo\"==t?o.undone:o.done,u=0;u<s.length&&(i=s[u],n?!i.ranges||i.equals(e.sel):i.ranges);u++);if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(Bi(i,l),n&&!i.equals(e.sel))return void Zi(e,i,{clearRedo:!1});a=i}var c=[];Bi(a,l),l.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=ve(e,\"beforeChange\")||e.cm&&ve(e.cm,\"beforeChange\"),p=function(n){var r=i.changes[n];if(r.origin=t,f&&!lo(e,r,!1))return s.length=0,{};c.push(Ri(e,r));var o=n?Ci(e,r):W(s);ho(e,r,o,Ki(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:_i(r)});var a=[];Li(e,(function(e,t){t||-1!=U(a,e.history)||(yo(e.history,r),a.push(e.history)),ho(e,r,null,Ki(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Ti(Y(e.sel.ranges,(function(e){return new xi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){fr(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 ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(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:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[W(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ge(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=Ci(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Je(Rt(Ge(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ge(e),ji(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=Ht(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=Ge(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),ri(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?fr(e):o.line!=a.line||1!=t.text.length||Ii(e.doc,t)?fr(e,o.line,a.line+1,u):pr(e,o.line,\"text\");var c=ve(e,\"changes\"),f=ve(e,\"change\");if(f||c){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ln(e,\"change\",e,p),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):ji(e,t,r),eo(e,n,B),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function mo(e,t,n,r,i){var o;r||(r=n),tt(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 go(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function vo(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++)go(o.ranges[s].anchor,t,n,r),go(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=et(u.from.line+r,u.from.ch),u.to=et(u.to.line+r,u.to.ch);else if(t<=u.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function yo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;vo(e.done,n,r,i),vo(e.undone,n,r,i)}function bo(e,t,n,r){var i=t,o=t;return\"number\"==typeof t?o=Ge(e,at(e,t)):i=Je(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function Eo(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 wo(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}xi.prototype.from=function(){return ot(this.anchor,this.head)},xi.prototype.to=function(){return it(this.anchor,this.head)},xi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Eo.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,Qt(i),ln(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}},wo.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 Eo))){var s=[];this.collapse(s),this.children=[new Eo(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 l=new Eo(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.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 wo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=U(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new wo(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 To=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 xo(e,t,n){zt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Ar(e,n)}To.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Je(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=wn(this);Ye(n,Math.max(0,n.height-o)),e&&(Zr(e,(function(){xo(e,n,-o),pr(e,r,\"widget\")})),ln(e,\"lineWidgetCleared\",e,this,r))}},To.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=wn(this)-t;i&&(qt(this.doc,r)||Ye(r,r.height+i),n&&Zr(n,(function(){n.curOp.forceUpdate=!0,xo(n,r,i),ln(n,\"lineWidgetChanged\",n,e,Je(r))})))},ye(To);var ko=0,Oo=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ko};function _o(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=P(r)).shared=!1;var o=[_o(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Li(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(_o(e,st(e,t),st(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=W(o)})),new So(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,_o)(e,t,n,r,i);var o=new Oo(e,i),a=tt(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=A(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Pt(e,t.line,t,n,o)||t.line!=n.line&&Pt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");Tt=!0}o.addToHistory&&Ui(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Rt(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new xt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){qt(e,t)&&Ye(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(wt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++ko,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)fr(u,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=n.line;c++)pr(u,c,\"text\");o.atomic&&no(u.doc),ln(u,\"markerAdded\",u,o)}return o}Oo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Gr(e),ve(this,\"clear\")){var n=this.find();n&&ln(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=kt(a.markedSpans,this);e&&!this.collapsed?pr(e,Je(a),\"text\"):e&&(null!=s.to&&(i=Je(a)),null!=s.from&&(r=Je(a))),a.markedSpans=Ot(a.markedSpans,s),null==s.from&&this.collapsed&&!qt(this.doc,a)&&e&&Ye(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=Rt(this.lines[l]),c=Ht(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&fr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&no(e.doc)),e&&ln(e,\"markerCleared\",e,this,r,i),t&&Qr(e),this.parent&&this.parent.clear()}},Oo.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=kt(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Je(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Je(o),a.to),1==e))return r}return n&&{from:n,to:r}},Oo.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Zr(r,(function(){var i=t.line,o=Je(t.line),a=Dn(r,o);if(a&&(Rn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!qt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=wn(n)-s;l&&Ye(i,i.height+l)}ln(r,\"markerChanged\",r,e)}))},Oo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Oo.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(Oo);var So=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function Co(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function No(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];Li(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}So.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ln(this,\"clear\")}},So.prototype.find=function(e,t){return this.primary.find(e,t)},ye(So);var Ao=0,Do=function(e,t,n,r,i){if(!(this instanceof Do))return new Do(e,t,n,r,i);null==n&&(n=0),wo.call(this,[new Eo([new Gt(\"\",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=et(n,0);this.sel=Oi(o),this.history=new Pi(null),this.id=++Ao,this.modeOption=t,this.lineSep=r,this.direction=\"rtl\"==i?\"rtl\":\"ltr\",this.extend=!1,\"string\"==typeof e&&(e=this.splitLines(e)),ji(this,{from:o,to:o,text:e}),Zi(this,Oi(o),B)};Do.prototype=$(wo.prototype,{constructor:Do,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=We(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;uo(this,{from:t,to:et(n,Ge(this,n).text.length),text:this.splitLines(e),origin:\"setValue\",full:!0},!0),this.cm&&Ir(this.cm,0,0),Zi(this,Oi(t),B)})),replaceRange:function(e,t,n,r){mo(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,st(this,e),st(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(Xe(this,e))return Ge(this,e)},getLineNumber:function(e){return Je(e)},getLineHandleVisualStart:function(e){return\"number\"==typeof e&&(e=Ge(this,e)),Rt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(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:ni((function(e,t,n){$i(this,st(this,\"number\"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){$i(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Wi(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){Yi(this,lt(this,e),t)})),extendSelectionsBy:ni((function(e,t){Yi(this,lt(this,Y(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new xi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Zi(this,ki(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new xi(st(this,e),st(this,t||e))),Zi(this,ki(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=Qe(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=Qe(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:ni((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=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ni(s.from,i,o),u=Ni(_i(s),i,o);if(i=s.to,o=u,\"around\"==n){var c=e.sel.ranges[a],f=tt(c.head,c.anchor)<0;r[a]=new xi(f?u:l,f?l:u)}else r[a]=new xi(l,l)}return new Ti(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)uo(this,r[l]);s?Xi(this,s):this.cm&&Dr(this.cm)})),undo:ni((function(){fo(this,\"undo\")})),redo:ni((function(){fo(this,\"redo\")})),undoSelection:ni((function(){fo(this,\"undo\",!0)})),redoSelection:ni((function(){fo(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 Pi(this.history.maxGeneration),Li(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:Gi(this.history.done),undone:Gi(this.history.undone)}},setHistory:function(e){var t=this.history=new Pi(this.history.maxGeneration);t.done=Gi(e.done.slice(0),null,!0),t.undone=Gi(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return bo(this,e,\"gutter\",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&bo(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(!Xe(this,e))return null;if(t=e,!(e=Ge(this,e)))return null}else if(null==(t=Je(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:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\";if(e[r]){if(k(n).test(e[r]))return!1;e[r]+=\" \"+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return bo(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(k(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:ni((function(e,t,n){return function(e,t,n,r){var i=new To(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),bo(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&&!qt(e,t)){var r=zt(t)<e.scrollTop;Ye(t,t.height+wn(i)),r&&Ar(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&ln(o,\"lineWidgetAdded\",o,i,\"number\"==typeof t?t:Je(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return _o(this,st(this,e),st(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 _o(this,e=st(this,e),e,n,\"bookmark\")},findMarksAt:function(e){var t=[],n=Ge(this,(e=st(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=st(this,e),t=st(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 l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.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})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(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 Do(We(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 Do(We(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(tt(o,a)){var s=_o(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,Co(this)),r},unlinkDoc:function(e){if(e instanceof Sa&&(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),No(Co(this));break}if(e.history==this.history){var n=[e.id];Li(e,(function(e){return n.push(e.id)}),!0),e.history=new Pi(null),e.history.done=Gi(this.history.done,n),e.history.undone=Gi(this.history.undone,n)}},iterLinkedDocs:function(e){Li(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):De(e)},lineSeparator:function(){return this.lineSep||\"\\n\"},setDirection:ni((function(e){var t;\"rtl\"!=e&&(e=\"ltr\"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Zr(t=this.cm,(function(){Mi(t),fr(t)})))}))}),Do.prototype.eachLine=Do.prototype.iter;var Io=0;function jo(e){var t=this;if(Lo(t),!me(t,e)&&!Tn(t.display,e)){be(e),a&&(Io=+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,l=function(){++s==i&&ei(t,(function(){var e={from:n=st(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),Xi(t.doc,Oi(st(t.doc,n),st(t.doc,_i(e))))}))()},u=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},c=0;c<r.length;c++)u(r[c],c);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 f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),eo(t.doc,Oi(n,n)),p)for(var d=0;d<p.length;++d)mo(t.doc,\"\",p[d].anchor,p[d].head,\"drag\");t.replaceSelection(f,\"around\",\"paste\"),t.display.input.focus()}}catch(e){}}}}function Lo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Fo(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 Mo=!1;function Po(){var e;Mo||(fe(window,\"resize\",(function(){null==e&&(e=setTimeout((function(){e=null,Fo(Ro)}),100))})),fe(window,\"blur\",(function(){return Fo(Or)})),Mo=!0)}function Ro(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Vo={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\"},Uo=0;Uo<10;Uo++)Vo[Uo+48]=Vo[Uo+96]=String(Uo);for(var qo=65;qo<=90;qo++)Vo[qo]=String.fromCharCode(qo);for(var Bo=1;Bo<=12;Bo++)Vo[Bo+111]=Vo[Bo+63235]=\"F\"+Bo;var zo={};function Ho(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 Ko(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(\" \"),Ho),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 l=t[s];if(l){if(l!=a)throw new Error(\"Inconsistent bindings for \"+s)}else t[s]=a}delete e[n]}for(var u in t)e[u]=t[u];return e}function Go(e,t,n,r){var i=(t=Jo(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 Go(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Go(e,t.fallthrough[o],n,r);if(a)return a}}}function Qo(e){var t=\"string\"==typeof e?e:Vo[e.keyCode];return\"Ctrl\"==t||\"Alt\"==t||\"Shift\"==t||\"Mod\"==t}function Wo(e,t,n){var r=e;return t.altKey&&\"Alt\"!=r&&(e=\"Alt-\"+e),(T?t.metaKey:t.ctrlKey)&&\"Ctrl\"!=r&&(e=\"Ctrl-\"+e),(T?t.ctrlKey:t.metaKey)&&\"Cmd\"!=r&&(e=\"Cmd-\"+e),!n&&t.shiftKey&&\"Shift\"!=r&&(e=\"Shift-\"+e),e}function Yo(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Vo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wo(n,e,t))}function Jo(e){return\"string\"==typeof e?zo[e]:e}function $o(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,W(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Zr(e,(function(){for(var t=r.length-1;t>=0;t--)mo(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Dr(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?\"after\":\"before\")}function ea(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ue(n,t.doc.direction);if(o){var a,s=i<0?W(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var u=In(t,n);a=i<0?n.text.length-1:0;var c=jn(t,u,a).top;a=oe((function(e){return jn(t,u,e).top==c}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,l)}}return new et(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}zo.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\"},zo.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\"},zo.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\"},zo.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\"]},zo.default=y?zo.macDefault:zo.pcDefault;var ta={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),B)},killLine:function(e){return $o(e,(function(t){if(t.empty()){var n=Ge(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return $o(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return $o(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return $o(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 $o(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(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head.line)}),{origin:\"+move\",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:\"+move\",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=Ge(e.doc,t),r=function(e){for(var t;t=Ft(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Je(r)),ea(!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/)?ra(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(Q(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection(\"add\"):e.execCommand(\"insertTab\")},transposeChars:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ge(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ge(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new xi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Zr(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);Dr(e)}))},openLine:function(e){return e.replaceSelection(\"\\n\",\"start\")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function na(e,t){var n=Ge(e.doc,t),r=Rt(n);return r!=n&&(t=Je(r)),ea(!0,e,r,t,1)}function ra(e,t){var n=na(e,t.line),r=Ge(e.doc,n.line),i=ue(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 et(n.line,a?0:o,n.sticky)}return n}function ia(e,t,n){if(\"string\"==typeof t&&!(t=ta[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)!=q}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var oa=new V;function aa(e,t,n,r){var i=e.state.keySeq;if(i){if(Qo(t))return\"handled\";if(/\\'$/.test(t)?e.state.keySeq=null:oa.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),sa(e,i+\" \"+t,n,r))return!0}return sa(e,t,n,r)}function sa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Go(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Go(t,e.options.extraKeys,n,e)||Go(t,e.options.keyMap,n,e)}(e,t,r);return\"multi\"==i&&(e.state.keySeq=t),\"handled\"==i&&ln(e,\"keyHandled\",e,t,n),\"handled\"!=i&&\"multi\"!=i||(be(n),wr(e)),!!i}function la(e,t){var n=Yo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?aa(e,\"Shift-\"+n,t,(function(t){return ia(e,t,!0)}))||aa(e,n,t,(function(t){if(\"string\"==typeof t?/^go[A-Z]/.test(t):t.motion)return ia(e,t)})):aa(e,n,t,(function(t){return ia(e,t)})))}var ua=null;function ca(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=I(),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=la(t,e);f&&(ua=i?r:null,i||88!=r||je||!(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||(_(t,\"CodeMirror-crosshair\"),de(document,\"keyup\",n),de(document,\"mouseover\",n))}j(t,\"CodeMirror-crosshair\"),fe(document,\"keyup\",n),fe(document,\"mouseover\",n)}(t)}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||Tn(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ua)return ua=null,void be(e);if(!f||e.which&&!(e.which<10)||!la(t,e)){var i=String.fromCharCode(null==r?n:r);\"\\b\"!=i&&(function(e,t,n){return aa(e,\"'\"+n+\"'\",t,(function(t){return ia(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,ha,ma=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ga(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Tn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ba(t,e)){var r=ur(t,e),i=ke(e),o=r?function(e,t){var n=+new Date;return ha&&ha.compare(n,e,t)?(da=ha=null,\"triple\"):da&&da.compare(n,e,t)?(ha=new ma(n,e,t),da=null,\"double\"):(da=new ma(n,e,t),ha=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),aa(e,Wo(o=(1==t?\"Left\":2==t?\"Middle\":\"Right\")+o,i),i,(function(t){if(\"string\"==typeof t&&(t=ta[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=q}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(M(Tr,e),0):e.curOp.focus=I();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),u=e.doc.sel;e.options.dragDrop&&Se&&!e.isReadOnly()&&\"single\"==n&&(i=u.contains(t))>-1&&(tt((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,u=ei(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,de(i.wrapper.ownerDocument,\"mouseup\",u),de(i.wrapper.ownerDocument,\"mousemove\",c),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",u),o||(be(t),r.addNew||Wi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,\"mouseup\",u),fe(i.wrapper.ownerDocument,\"mousemove\",c),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",u),xr(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,l=o.sel,u=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?u[s]:new xi(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(a=new xi(n,n)),n=ur(e,t,!0,!0),s=-1;else{var c=va(e,n,r.unit);a=r.extend?Qi(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=u.length,Zi(o,ki(e,u.concat([a]),s),{scroll:!1,origin:\"*mouse\"})):u.length>1&&u[s].empty()&&\"char\"==r.unit&&!r.extend?(Zi(o,ki(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:\"*mouse\"}),l=o.sel):Ji(o,s,a,z):(s=0,Zi(o,new Ti([a],0),z),l=o.sel);var f=n;function p(t){if(0!=tt(f,t))if(f=t,\"rectangle\"==r.unit){for(var i=[],u=e.options.tabSize,c=R(Ge(o,n.line).text,n.ch,u),p=R(Ge(o,t.line).text,t.ch,u),d=Math.min(c,p),h=Math.max(c,p),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=Ge(o,m).text,y=K(v,d,u);d==h?i.push(new xi(et(m,y),et(m,y))):v.length>y&&i.push(new xi(et(m,y),et(m,K(v,h,u))))}i.length||i.push(new xi(n,n)),Zi(o,ki(e,l.ranges.slice(0,s).concat(i),s),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,E=a,w=va(e,t,r.unit),T=E.anchor;tt(w.anchor,T)>0?(b=w.head,T=ot(E.from(),w.anchor)):(b=w.anchor,T=it(E.to(),w.head));var x=l.ranges.slice(0);x[s]=function(e,t){var n=t.anchor,r=t.head,i=Ge(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=ue(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 l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var c=se(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var p=o[u+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new xi(new et(n.line,h,m),r)}(e,new xi(st(o,T),b)),Zi(o,ki(e,x,s),z)}}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=ei(e,(function(t){0!==t.buttons&&ke(t)?function t(n){var a=++h,s=ur(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=tt(s,f)){e.curOp.focus=I(),p(s);var l=Cr(i,o);(s.line>=l.to||s.line<l.from)&&setTimeout(ei(e,(function(){h==a&&t(n)})),150)}else{var u=n.clientY<d.top?-20:n.clientY>d.bottom?20:0;u&&setTimeout(ei(e,(function(){h==a&&(i.scroller.scrollTop+=u,t(n))})),50)}}(t):m(t)})),v=ei(e,m);e.state.selectingText=v,fe(i.wrapper.ownerDocument,\"mousemove\",g),fe(i.wrapper.ownerDocument,\"mouseup\",v)}(e,r,t,o)}(t,r,o,e):xe(e)==n.scroller&&be(e):2==i?(r&&Wi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(x?t.display.input.onContextMenu(e):xr(t)))}}function va(e,t,n){if(\"char\"==n)return new xi(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new xi(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new xi(r.from,r.to)}function ya(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(e){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 we(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var u=a.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=i)return he(e,n,e,$e(e.doc,o),e.display.gutterSpecs[l].className,t),we(t)}}function ba(e,t){return ya(e,t,\"gutterClick\",!0)}function Ea(e,t){Tn(e.display,t)||function(e,t){return!!ve(e,\"gutterContextMenu\")&&ya(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||x||e.display.input.onContextMenu(t)}function wa(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Un(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var Ta={toString:function(){return\"CodeMirror.Init\"}},xa={},ka={};function Oa(e,t,n){if(!t!=!(n&&n!=Ta)){var r=e.display.dragFunctions,i=t?fe: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 _a(e){e.options.lineWrapping?(j(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(_(e.display.wrapper,\"CodeMirror-wrap\"),Kt(e)),lr(e),fr(e),Un(e),setTimeout((function(){return qr(e)}),100)}function Sa(e,t){var n=this;if(!(this instanceof Sa))return new Sa(e,t);this.options=t=t?P(t):{},P(xa,t,!1);var r=t.value;\"string\"==typeof r?r=new Do(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Sa.inputStyles[t.inputStyle](this),o=this.display=new gi(e,r,i,t);for(var u in o.wrapper.CodeMirror=this,wa(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),Hr(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 V,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;fe(t.scroller,\"mousedown\",ei(e,ga)),fe(t.scroller,\"dblclick\",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=ur(e,t);if(n&&!ba(e,t)&&!Tn(e.display,t)){be(t);var r=e.findWordAt(n);Wi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return Ea(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||Ea(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}fe(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)&&!ba(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)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!Tn(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 xi(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new xi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Fr(e,t.scroller.scrollTop),Pr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return wi(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return wi(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Te(t)},over:function(t){me(e,t)||(function(e,t){var n=ur(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),C(e.display.dragCursor,r)}}(e,t),Te(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Io<100))Te(t);else if(!me(e,t)&&!Tn(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,jo),leave:function(t){me(e,t)||Lo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return fa.call(e,t)})),fe(l,\"keydown\",ei(e,ca)),fe(l,\"keypress\",ei(e,pa)),fe(l,\"focus\",(function(t){return kr(e,t)})),fe(l,\"blur\",(function(t){return Or(e,t)}))}(this),Po(),Gr(this),this.curOp.forceUpdate=!0,Fi(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(M(kr,this),20):Or(this),ka)ka.hasOwnProperty(u)&&ka[u](this,t[u],Ta);pi(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Ca.length;++c)Ca[c](this);Qr(this),l&&t.lineWrapping&&\"optimizelegibility\"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering=\"auto\")}Sa.defaults=xa,Sa.optionHandlers=ka;var Ca=[];function Na(e,t,n,r){var i,o=e.doc;null==n&&(n=\"add\"),\"smart\"==n&&(o.mode.indent?i=dt(e,t).state:n=\"prev\");var a=e.options.tabSize,s=Ge(o,t),l=R(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\\s*/)[0];if(r||/\\S/.test(s.text)){if(\"smart\"==n&&((u=o.mode.indent(i,s.text.slice(c.length),s.text))==q||u>150)){if(!r)return;n=\"prev\"}}else u=0,n=\"not\";\"prev\"==n?u=t>o.first?R(Ge(o,t-1).text,null,a):0:\"add\"==n?u=l+e.options.indentUnit:\"subtract\"==n?u=l-e.options.indentUnit:\"number\"==typeof n&&(u=l+n),u=Math.max(0,u);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/a);d;--d)p+=a,f+=\"\\t\";if(p<u&&(f+=Q(u-p)),f!=c)return mo(o,f,et(t,0),et(t,c.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<c.length){var g=et(t,c.length);Ji(o,h,new xi(g,g));break}}}Sa.defineInitHook=function(e){return Ca.push(e)};var Aa=null;function Da(e){Aa=e}function Ia(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,l=De(t),u=null;if(s&&r.ranges.length>1)if(Aa&&Aa.text.join(\"\\n\")==t){if(r.ranges.length%Aa.text.length==0){u=[];for(var c=0;c<Aa.text.length;c++)u.push(o.splitLines(Aa.text[c]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(u=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=r.ranges.length-1;p>=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=et(h.line,h.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(Ge(o,m.line).text.length,m.ch+W(l).length)):s&&Aa&&Aa.lineWise&&Aa.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=et(h.line,0)));var g={from:h,to:m,text:u?u[p%u.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};uo(e.doc,g),ln(e,\"inputRead\",e,g)}t&&!s&&La(e,t),Dr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ja(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zr(t,(function(){return Ia(t,n,0,null,\"paste\")})),!0}function La(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=Na(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ge(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Na(e,i.head.line,\"smart\"));a&&ln(e,\"electricInput\",e,i.head.line)}}}function Fa(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:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ma(e,t,n,r){e.setAttribute(\"autocorrect\",n?\"\":\"off\"),e.setAttribute(\"autocapitalize\",r?\"\":\"off\"),e.setAttribute(\"spellcheck\",!!t)}function Pa(){var e=N(\"textarea\",null,null,\"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none\"),t=N(\"div\",[e],null,\"overflow: hidden; position: relative; width: 3px; height: 0px;\");return l?e.style.width=\"1000px\":e.setAttribute(\"wrap\",\"off\"),m&&(e.style.border=\"1px solid black\"),Ma(e),t}function Ra(e,t,n,r,i){var o=t,a=n,s=Ge(e,t.line),l=i&&\"rtl\"==e.direction?-n:n;function u(r){var o,a;if(null==(o=i?function(e,t,n,r){var i=ue(t,e.doc.direction);if(!i)return Zo(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 Zo(t,n,r);var s,l=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},u=function(n){return e.options.lineWrapping?(s=s||In(e,t),Xn(e,t,s,n)):{begin:0,end:t.text.length}},c=u(\"before\"==n.sticky?l(n,-1):n.ch);if(\"rtl\"==e.doc.direction||1==a.level){var f=1==a.level==r<0,p=l(n,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=c.end:p>=a.from&&p>=c.begin)){var d=f?\"before\":\"after\";return new et(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,l(e,1),\"before\"):new et(n.line,e,\"after\")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u<a.to)return o(u,s);if(u=s?a.from:l(a.to,-1),r.begin<=u&&u<r.end)return o(u,s)}},m=h(o+r,r,c);if(m)return m;var g=r>0?c.end:l(c.begin,-1);return null==g||r>0&&g==t.text.length||!(m=h(r>0?0:i.length-1,r,u(g)))?null:m}(e.cm,s,t,n):Zo(s,t,n))){if(r||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new et(a,t.ch,t.sticky),!(s=Ge(e,a))))return!1;t=ea(i,e.cm,s,t.line,l)}else t=o;return!0}if(\"char\"==r)u();else if(\"column\"==r)u(!0);else if(\"word\"==r||\"group\"==r)for(var c=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||u(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),c&&c!=m){n<0&&(n=1,u(),t.sticky=\"after\");break}if(m&&(c=m),n>0&&!u(!d))break}var g=oo(e,t,o,a,!0);return nt(o,g)&&(g.hitSide=!0),g}function Va(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Jn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ua=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function qa(e,t){var n=Dn(e,t.line);if(!n||n.hidden)return null;var r=Ge(e.doc,t.line),i=Nn(n,r,t.line),o=ue(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Mn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function Ba(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ba(e.clipPos(et(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 Ha(o,t,n)}}function Ha(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!D(r,t))return Ba(et(Je(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?W(e.rest):e.line;return Ba(et(Je(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 l=e.measure,u=l.maps;function c(t,n,r){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?l.map:u[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var c=Je(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),et(c,f)}}}var f=c(a,s,n);if(f)return Ba(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(f=c(p,p.firstChild,0))return Ba(et(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(f=c(h,h.firstChild,-1))return Ba(et(f.line,f.ch+m),i);m+=h.textContent.length}}Ua.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\\bCodeMirror-(?:line)?widget\\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Da({lineWise:!1,text:r.getSelections()}),\"cut\"==e.type&&r.replaceSelection(\"\",null,\"cut\");else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,B),r.replaceSelection(\"\",null,\"cut\")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Aa.text.join(\"\\n\");if(e.clipboardData.setData(\"Text\",a),e.clipboardData.getData(\"Text\")==a)return void e.preventDefault()}var s=Pa(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Aa.text.join(\"\\n\");var u=document.activeElement;F(l),setTimeout((function(){r.display.lineSpace.removeChild(s),u.focus(),u==i&&n.showPrimarySelection()}),50)}}Ma(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),fe(i,\"paste\",(function(e){!o(e)||me(r,e)||ja(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),fe(i,\"compositionstart\",(function(e){t.composing={data:e.data,done:!1}})),fe(i,\"compositionupdate\",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),fe(i,\"compositionend\",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),fe(i,\"touchstart\",(function(){return n.forceCompositionEnd()})),fe(i,\"input\",(function(){t.composing||t.readFromDOMSoon()})),fe(i,\"copy\",a),fe(i,\"cut\",a)},Ua.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute(\"aria-label\",e):this.div.removeAttribute(\"aria-label\")},Ua.prototype.prepareSelection=function(){var e=vr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ua.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ua.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ua.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=za(t,e.anchorNode,e.anchorOffset),s=za(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var l=t.display.view,u=i.line>=t.display.viewFrom&&qa(t,i)||{node:l[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&qa(t,o);if(!c){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;c={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(u&&c){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=O(u.node,u.offset,c.offset,c.node)}catch(e){}d&&(!n&&t.state.focused?(e.collapse(u.node,u.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()}}},Ua.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)},Ua.prototype.showMultipleSelections=function(e){C(this.cm.display.cursorDiv,e.cursors),C(this.cm.display.selectionDiv,e.selection)},Ua.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ua.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return D(this.div,t)},Ua.prototype.focus=function(){\"nocursor\"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ua.prototype.blur=function(){this.div.blur()},Ua.prototype.getField=function(){return this.div},Ua.prototype.supportsTouch=function(){return!0},Ua.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Zr(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))}))},Ua.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ua.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(g&&c&&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=za(t,e.anchorNode,e.anchorOffset),r=za(t,e.focusNode,e.focusOffset);n&&r&&Zr(t,(function(){Zi(t.doc,Oi(n,r),B),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ua.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=et(a.line-1,Ge(r.doc,a.line-1).length)),s.ch==Ge(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(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=Je(i.view[0].line),n=i.view[0].node):(t=Je(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,u,c=cr(r,s.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=Je(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function c(e){e&&(u(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void c(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(et(r,0),et(i+1,0),(g=+p,function(e){return e.id==g}));return void(d.length&&(o=d[0].find(0))&&c(Qe(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&&u();for(var m=0;m<t.childNodes.length;m++)f(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0)}else 3==t.nodeType&&c(t.nodeValue.replace(/\\u200b/g,\"\").replace(/\\u00a0/g,\" \"));var g}for(;f(t),t!=n;)t=t.nextSibling,l=!1;return o}(r,n,u,t,l)),p=Qe(r.doc,et(t,0),et(l,Ge(r.doc,l).text.length));f.length>1&&p.length>1;)if(W(f)==W(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],g=p[0],v=Math.min(m.length,g.length);d<v&&m.charCodeAt(d)==g.charCodeAt(d);)++d;for(var y=W(f),b=W(p),E=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));h<E&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var w=et(t,d),T=et(l,p.length?W(p).length-h:0);return f.length>1||f[0]||tt(w,T)?(mo(r.doc,f,w,T,\"+input\"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.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))},Ua.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zr(this.cm,(function(){return fr(e.cm)}))},Ua.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Ua.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Ia)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ua.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Ka=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ka.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())Da({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Da({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,B):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||ja(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!Tn(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)}})),fe(e.lineSpace,\"selectstart\",(function(t){Tn(e,t)||be(t)})),fe(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\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ka.prototype.createField=function(e){this.wrapper=Pa(),this.textarea=this.wrapper.firstChild},Ka.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ka.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=vr(e);if(e.options.moveInputWithCursor){var i=Qn(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},Ka.prototype.showSelection=function(e){var t=this.cm.display;C(t.cursorDiv,e.cursors),C(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ka.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&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ka.prototype.getField=function(){return this.textarea},Ka.prototype.supportsTouch=function(){return!1},Ka.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!v||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ka.prototype.blur=function(){this.textarea.blur()},Ka.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ka.prototype.receivedFocus=function(){this.slowPoll()},Ka.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ka.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))}))},Ka.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(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=\"​\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,u=Math.min(r.length,i.length);l<u&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Zr(t,(function(){Ia(t,i.slice(l),r.length-l,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},Ka.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ka.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ka.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),u=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Zi)(n.doc,Oi(o),B);var c,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();if(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);\",l&&(c=window.scrollY),r.input.focus(),l&&window.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&g(),x){Te(e);var m=function(){de(window,\"mouseup\",m),setTimeout(v,20)};fe(window,\"mouseup\",m)}else setTimeout(v,50)}function g(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"​\"+(e?i.value:\"\");i.value=\"⇚\",i.value=o,t.prevInput=e?\"\":\"​\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=i.selectionStart)){(!a||a&&s<9)&&g();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"​\"==t.prevInput?ei(n,so)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Ka.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e},Ka.prototype.setUneditable=function(){},Ka.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!=Ta&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ta,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Ai(e)}),!0),n(\"indentUnit\",2,Ai,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Di(e),Un(e),fr(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(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=Ta&&e.refresh()})),n(\"specialCharPlaceholder\",Xt,(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\",!E),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){wa(e),mi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Jo(t),i=n!=Ta&&Jo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,_a,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return qr(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){Hr(e),qr(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=di(e.options.gutters,t),mi(e)}),!0),n(\"firstLineNumber\",1,mi,!0),n(\"lineNumberFormatter\",(function(e){return e}),mi,!0),n(\"showCursorWhenSelecting\",!1,gr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(Or(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,Oa),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,gr,!0),n(\"singleCursorHeightPerLine\",!0,gr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Di,!0),n(\"addModeClass\",!1,Di,!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,Di,!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)}(Sa),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)&&ei(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\"](Jo(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:ti((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++,fr(this)})),removeOverlay:ti((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 fr(this)}})),indentLine:ti((function(e,t,n){\"string\"!=typeof t&&\"number\"!=typeof t&&(t=null==t?this.options.smartIndent?\"smart\":\"prev\":t?\"add\":\"subtract\"),Xe(this.doc,e)&&Na(this,e,t,n)})),indentSelection:ti((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&&(Na(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Dr(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 l=s;l<n;++l)Na(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[r].from().ch>0&&Ji(this.doc,r,new xi(o,u[r].to()),B)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=pt(this,Ge(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 l=0;l<i._global.length;l++){var u=i._global[l];u.pred(o,this)&&-1==U(r,u.val)&&r.push(u.val)}return r},getStateAfter:function(e,t){var n=this.doc;return dt(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Qn(this,null==e?n.head:\"object\"==typeof e?st(this.doc,e):e?n.from():n.to(),t||\"page\")},charCoords:function(e,t){return Gn(this,st(this.doc,e),t||\"page\")},coordsChar:function(e,t){return Jn(this,(e=Kn(this,e,t||\"page\")).left,e.top)},lineAtHeight:function(e,t){return e=Kn(this,{top:e,left:0},t||\"page\").top,$e(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=Ge(this.doc,e)}else r=e;return Hn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-zt(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,u=(e=Qn(this,st(this.doc,e))).bottom,c=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),l.sizer.appendChild(t),\"over\"==r)u=e.top;else if(\"above\"==r||\"near\"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(u=e.bottom),c+t.offsetWidth>p&&(c=p-t.offsetWidth)}t.style.top=u+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(c=l.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?c=0:\"middle\"==i&&(c=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+\"px\"),n&&(o=this,a={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(s=Nr(o,a)).scrollTop&&Fr(o,s.scrollTop),null!=s.scrollLeft&&Pr(o,s.scrollLeft))},triggerOnKeyDown:ti(ca),triggerOnKeyPress:ti(pa),triggerOnKeyUp:fa,triggerOnMouseDown:ti(ga),execCommand:function(e){if(ta.hasOwnProperty(e))return ta[e].call(null,this)},triggerElectric:ti((function(e){La(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Ra(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ra(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),H)})),deleteH:ti((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection(\"\",null,\"+delete\"):$o(this,(function(n){var i=Ra(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=st(this.doc,e),s=0;s<t;++s){var l=Qn(this,a,\"div\");if(null==o?o=l.left:l.left=o,(a=Va(this,l,i,n)).hitSide)break}return a},moveV:ti((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=Qn(n,a.head,\"div\");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Va(n,s,e,t);return\"page\"==t&&a==r.sel.primary()&&Ar(n,Gn(n,l,\"div\").top-s.top),l}),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=Ge(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 xi(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?j(this.display.cursorDiv,\"CodeMirror-overwrite\"):_(this.display.cursorDiv,\"CodeMirror-overwrite\"),he(this,\"overwriteToggle\",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Ir(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-_n(this)-this.display.barHeight,width:e.scrollWidth-_n(this)-this.display.barWidth,clientHeight:Cn(this),clientWidth:Sn(this)}},scrollIntoView:ti((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:et(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){jr(e),e.curOp.scrollToPos=t}(this,e):Lr(this,e.from,e.to,e.margin)})),setSize:ti((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&&Vn(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 Zr(this,e)},startOperation:function(){return Gr(this)},endOperation:function(){return Qr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;fr(this),this.curOp.forceUpdate=!0,Un(this),Ir(this,this.doc.scrollLeft,this.doc.scrollTop),ui(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&lr(this),he(this,\"refresh\",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,e),Un(this),this.display.input.reset(),Ir(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ln(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})}}(Sa);var Ga=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Qa in Do.prototype)Do.prototype.hasOwnProperty(Qa)&&U(Ga,Qa)<0&&(Sa.prototype[Qa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Do.prototype[Qa]));return ye(Do),Sa.inputStyles={textarea:Ka,contenteditable:Ua},Sa.defineMode=function(e){Sa.defaults.mode||\"null\"==e||(Sa.defaults.mode=e),Pe.apply(this,arguments)},Sa.defineMIME=function(e,t){Me[e]=t},Sa.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),Sa.defineMIME(\"text/plain\",\"null\"),Sa.defineExtension=function(e,t){Sa.prototype[e]=t},Sa.defineDocExtension=function(e,t){Do.prototype[e]=t},Sa.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=I();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(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(e){}}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=Sa((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=Ei,e.Doc=Do,e.splitLines=De,e.countColumn=R,e.findColumn=K,e.isWordChar=Z,e.Pass=q,e.signal=he,e.Line=Gt,e.changeEnd=_i,e.scrollbarModel=zr,e.Pos=et,e.cmpPos=tt,e.modes=Fe,e.mimeModes=Me,e.resolveMode=Re,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=qe,e.copyState=Be,e.startState=He,e.innerMode=ze,e.commands=ta,e.keyMap=zo,e.keyName=Yo,e.isModifierKey=Qo,e.lookupKey=Go,e.normalizeKeyMap=Ko,e.StringStream=Ke,e.SharedTextMarker=So,e.TextMarker=Oo,e.LineWidget=To,e.e_preventDefault=be,e.e_stopPropagation=Ee,e.e_stop=Te,e.addClass=j,e.contains=D,e.rmClass=_,e.keyNames=Vo}(Sa),Sa.version=\"5.56.0\",Sa}()},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 gn})),n.d(t,\"graphqlSync\",(function(){return vn})),n.d(t,\"GraphQLSchema\",(function(){return O.a})),n.d(t,\"GraphQLDirective\",(function(){return x.c})),n.d(t,\"GraphQLScalarType\",(function(){return b.g})),n.d(t,\"GraphQLObjectType\",(function(){return b.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return b.c})),n.d(t,\"GraphQLUnionType\",(function(){return b.h})),n.d(t,\"GraphQLEnumType\",(function(){return b.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return b.b})),n.d(t,\"GraphQLList\",(function(){return b.d})),n.d(t,\"GraphQLNonNull\",(function(){return b.e})),n.d(t,\"specifiedScalarTypes\",(function(){return ee.g})),n.d(t,\"GraphQLInt\",(function(){return ee.d})),n.d(t,\"GraphQLFloat\",(function(){return ee.b})),n.d(t,\"GraphQLString\",(function(){return ee.e})),n.d(t,\"GraphQLBoolean\",(function(){return ee.a})),n.d(t,\"GraphQLID\",(function(){return ee.c})),n.d(t,\"specifiedDirectives\",(function(){return x.i})),n.d(t,\"GraphQLIncludeDirective\",(function(){return x.d})),n.d(t,\"GraphQLSkipDirective\",(function(){return x.e})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return x.b})),n.d(t,\"TypeKind\",(function(){return k.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return x.a})),n.d(t,\"introspectionTypes\",(function(){return k.introspectionTypes})),n.d(t,\"__Schema\",(function(){return k.__Schema})),n.d(t,\"__Directive\",(function(){return k.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return k.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return k.__Type})),n.d(t,\"__Field\",(function(){return k.__Field})),n.d(t,\"__InputValue\",(function(){return k.__InputValue})),n.d(t,\"__EnumValue\",(function(){return k.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return k.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return k.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return k.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return k.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return O.c})),n.d(t,\"isDirective\",(function(){return x.g})),n.d(t,\"isType\",(function(){return b.S})),n.d(t,\"isScalarType\",(function(){return b.R})),n.d(t,\"isObjectType\",(function(){return b.N})),n.d(t,\"isInterfaceType\",(function(){return b.H})),n.d(t,\"isUnionType\",(function(){return b.T})),n.d(t,\"isEnumType\",(function(){return b.E})),n.d(t,\"isInputObjectType\",(function(){return b.F})),n.d(t,\"isListType\",(function(){return b.J})),n.d(t,\"isNonNullType\",(function(){return b.L})),n.d(t,\"isInputType\",(function(){return b.G})),n.d(t,\"isOutputType\",(function(){return b.O})),n.d(t,\"isLeafType\",(function(){return b.I})),n.d(t,\"isCompositeType\",(function(){return b.D})),n.d(t,\"isAbstractType\",(function(){return b.C})),n.d(t,\"isWrappingType\",(function(){return b.U})),n.d(t,\"isNullableType\",(function(){return b.M})),n.d(t,\"isNamedType\",(function(){return b.K})),n.d(t,\"isRequiredArgument\",(function(){return b.P})),n.d(t,\"isRequiredInputField\",(function(){return b.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return ee.f})),n.d(t,\"isIntrospectionType\",(function(){return k.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return x.h})),n.d(t,\"assertSchema\",(function(){return O.b})),n.d(t,\"assertDirective\",(function(){return x.f})),n.d(t,\"assertType\",(function(){return b.x})),n.d(t,\"assertScalarType\",(function(){return b.w})),n.d(t,\"assertObjectType\",(function(){return b.u})),n.d(t,\"assertInterfaceType\",(function(){return b.o})),n.d(t,\"assertUnionType\",(function(){return b.y})),n.d(t,\"assertEnumType\",(function(){return b.l})),n.d(t,\"assertInputObjectType\",(function(){return b.m})),n.d(t,\"assertListType\",(function(){return b.q})),n.d(t,\"assertNonNullType\",(function(){return b.s})),n.d(t,\"assertInputType\",(function(){return b.n})),n.d(t,\"assertOutputType\",(function(){return b.v})),n.d(t,\"assertLeafType\",(function(){return b.p})),n.d(t,\"assertCompositeType\",(function(){return b.k})),n.d(t,\"assertAbstractType\",(function(){return b.j})),n.d(t,\"assertWrappingType\",(function(){return b.z})),n.d(t,\"assertNullableType\",(function(){return b.t})),n.d(t,\"assertNamedType\",(function(){return b.r})),n.d(t,\"getNullableType\",(function(){return b.B})),n.d(t,\"getNamedType\",(function(){return b.A})),n.d(t,\"validateSchema\",(function(){return _})),n.d(t,\"assertValidSchema\",(function(){return S})),n.d(t,\"Source\",(function(){return bn.a})),n.d(t,\"getLocation\",(function(){return En.a})),n.d(t,\"printLocation\",(function(){return wn.a})),n.d(t,\"printSourceLocation\",(function(){return wn.b})),n.d(t,\"createLexer\",(function(){return Tn.a})),n.d(t,\"TokenKind\",(function(){return xn.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 re.a})),n.d(t,\"visit\",(function(){return u.c})),n.d(t,\"visitInParallel\",(function(){return u.d})),n.d(t,\"visitWithTypeInfo\",(function(){return u.e})),n.d(t,\"getVisitFn\",(function(){return u.b})),n.d(t,\"BREAK\",(function(){return u.a})),n.d(t,\"Kind\",(function(){return q.Kind})),n.d(t,\"DirectiveLocation\",(function(){return ye.a})),n.d(t,\"isDefinitionNode\",(function(){return Z.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return Z.b})),n.d(t,\"isSelectionNode\",(function(){return Z.c})),n.d(t,\"isValueNode\",(function(){return Z.i})),n.d(t,\"isTypeNode\",(function(){return Z.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return Z.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return Z.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return Z.h})),n.d(t,\"isTypeExtensionNode\",(function(){return Z.e})),n.d(t,\"execute\",(function(){return Ht})),n.d(t,\"defaultFieldResolver\",(function(){return hn})),n.d(t,\"defaultTypeResolver\",(function(){return dn})),n.d(t,\"responsePathAsArray\",(function(){return It})),n.d(t,\"getDirectiveValues\",(function(){return Bt})),n.d(t,\"subscribe\",(function(){return Sn})),n.d(t,\"createSourceEventStream\",(function(){return An})),n.d(t,\"validate\",(function(){return _t})),n.d(t,\"ValidationContext\",(function(){return Ot})),n.d(t,\"specifiedRules\",(function(){return Et})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return G.ExecutableDefinitions})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return se})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return ie})),n.d(t,\"KnownArgumentNamesRule\",(function(){return Oe})),n.d(t,\"KnownDirectivesRule\",(function(){return be})),n.d(t,\"KnownFragmentNamesRule\",(function(){return ue.KnownFragmentNames})),n.d(t,\"KnownTypeNamesRule\",(function(){return te})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return W})),n.d(t,\"NoFragmentCyclesRule\",(function(){return pe})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return me})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return ce.NoUnusedFragments})),n.d(t,\"NoUnusedVariablesRule\",(function(){return ve})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return Ke})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return fe})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return Re})),n.d(t,\"ScalarLeafsRule\",(function(){return ae})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return Y})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return Se})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return we})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return le})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return tt})),n.d(t,\"UniqueOperationNamesRule\",(function(){return Q})),n.d(t,\"UniqueVariableNamesRule\",(function(){return de})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return Ie})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return oe})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return Be})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return nt})),n.d(t,\"UniqueOperationTypesRule\",(function(){return ot})),n.d(t,\"UniqueTypeNamesRule\",(function(){return at})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return ut})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return pt})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return ht})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return vt})),n.d(t,\"GraphQLError\",(function(){return l.a})),n.d(t,\"syntaxError\",(function(){return Dn.a})),n.d(t,\"locatedError\",(function(){return jt})),n.d(t,\"printError\",(function(){return l.b})),n.d(t,\"formatError\",(function(){return In})),n.d(t,\"getIntrospectionQuery\",(function(){return jn.a})),n.d(t,\"introspectionQuery\",(function(){return jn.b})),n.d(t,\"getOperationAST\",(function(){return Ln.a})),n.d(t,\"getOperationRootType\",(function(){return Lt})),n.d(t,\"introspectionFromSchema\",(function(){return Fn})),n.d(t,\"buildClientSchema\",(function(){return Mn.a})),n.d(t,\"buildASTSchema\",(function(){return Vn})),n.d(t,\"buildSchema\",(function(){return Kn})),n.d(t,\"getDescription\",(function(){return Hn})),n.d(t,\"extendSchema\",(function(){return Jn})),n.d(t,\"lexicographicSortSchema\",(function(){return er})),n.d(t,\"printSchema\",(function(){return or})),n.d(t,\"printType\",(function(){return cr})),n.d(t,\"printIntrospectionSchema\",(function(){return ar})),n.d(t,\"typeFromAST\",(function(){return z})),n.d(t,\"valueFromAST\",(function(){return Mt.a})),n.d(t,\"valueFromASTUntyped\",(function(){return br.a})),n.d(t,\"astFromValue\",(function(){return ir.a})),n.d(t,\"TypeInfo\",(function(){return H})),n.d(t,\"coerceInputValue\",(function(){return Pt})),n.d(t,\"coerceValue\",(function(){return Er})),n.d(t,\"isValidJSValue\",(function(){return wr})),n.d(t,\"isValidLiteralValue\",(function(){return Tr})),n.d(t,\"concatAST\",(function(){return xr})),n.d(t,\"separateOperations\",(function(){return kr})),n.d(t,\"stripIgnoredCharacters\",(function(){return Sr})),n.d(t,\"isEqualType\",(function(){return E})),n.d(t,\"isTypeSubTypeOf\",(function(){return w})),n.d(t,\"doTypesOverlap\",(function(){return T})),n.d(t,\"assertValidName\",(function(){return v})),n.d(t,\"isValidNameError\",(function(){return y})),n.d(t,\"BreakingChangeType\",(function(){return Dr})),n.d(t,\"DangerousChangeType\",(function(){return Ir})),n.d(t,\"findBreakingChanges\",(function(){return jr})),n.d(t,\"findDangerousChanges\",(function(){return Lr})),n.d(t,\"findDeprecatedUsages\",(function(){return Qr}));var r=\"14.7.0\",i=Object.freeze({major:14,minor:7,patch:0,preReleaseTag:null});function o(e){return Boolean(e&&\"function\"==typeof e.then)}var a=n(38),s=n(6),l=n(3),u=n(19),c=n(35),f=Array.prototype.flatMap,p=f?function(e,t){return f.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},d=n(8),h=n(31),m=n(2),g=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function v(e){var t=y(e);if(t)throw t;return e}function y(e,t){return\"string\"==typeof e||Object(s.a)(0,\"Expected string\"),e.length>1&&\"_\"===e[0]&&\"_\"===e[1]?new l.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.'),t):g.test(e)?void 0:new l.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'),t)}var b=n(0);function E(e,t){return e===t||(Object(b.L)(e)&&Object(b.L)(t)||!(!Object(b.J)(e)||!Object(b.J)(t)))&&E(e.ofType,t.ofType)}function w(e,t,n){return t===n||(Object(b.L)(n)?!!Object(b.L)(t)&&w(e,t.ofType,n.ofType):Object(b.L)(t)?w(e,t.ofType,n):Object(b.J)(n)?!!Object(b.J)(t)&&w(e,t.ofType,n.ofType):!Object(b.J)(t)&&!!(Object(b.C)(n)&&Object(b.N)(t)&&e.isPossibleType(n,t)))}function T(e,t,n){return t===n||(Object(b.C)(t)?Object(b.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isPossibleType(n,t)})):e.isPossibleType(t,n):!!Object(b.C)(n)&&e.isPossibleType(n,t))}var x=n(11),k=n(9),O=n(30);function _(e){if(Object(O.b)(e),e.__validationErrors)return e.__validationErrors;var t=new C(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(b.N)(n)||e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(m.a)(n),\".\"),N(t,n,\"query\")):e.reportError(\"Query root type must be provided.\",t.astNode);var r=t.getMutationType();r&&!Object(b.N)(r)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(m.a)(r),\".\"),N(t,r,\"mutation\"));var i=t.getSubscriptionType();i&&!Object(b.N)(i)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(m.a)(i),\".\"),N(t,i,\"subscription\"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(Object(x.g)(r)){A(e,r);for(var i=Object.create(null),o=function(t,n){var o=n[t],a=o.name;if(A(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(b.G)(o.type)||e.reportError(\"The type of @\".concat(r.name,\"(\").concat(a,\":) must be Input Type \")+\"but got: \".concat(Object(m.a)(o.type),\".\"),o.astNode)},a=0,s=r.args;a<s.length;a++)o(a,s)}else e.reportError(\"Expected directive but got: \".concat(Object(m.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(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;for(var a=Object(d.a)(o.getFields()),s=0;s<a.length;s++){var l=a[s];if(Object(b.L)(l.type)&&Object(b.F)(l.type.ofType)){var u=l.type.ofType,c=r[u.name];if(n.push(l),void 0===c)i(u);else{var f=n.slice(c),p=f.map((function(e){return e.name})).join(\".\");e.reportError('Cannot reference Input Object \"'.concat(u.name,'\" within itself through a series of non-null fields: \"').concat(p,'\".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,i=Object(d.a)(n);r<i.length;r++){var o=i[r];Object(b.K)(o)?(Object(k.isIntrospectionType)(o)||A(e,o),Object(b.N)(o)?(D(e,o),I(e,o)):Object(b.H)(o)?D(e,o):Object(b.T)(o)?L(e,o):Object(b.E)(o)?F(e,o):Object(b.F)(o)&&(M(e,o),t(o))):e.reportError(\"Expected GraphQL named type but got: \".concat(Object(m.a)(o),\".\"),o&&o.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function S(e){var t=_(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}var C=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 l.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function N(e,t,n){for(var r=R(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 A(e,t){if(-1===e.schema.__allowedLegacyNames.indexOf(t.name)){var n=y(t.name,t.astNode||void 0);n&&e.addError(n)}}function D(e,t){var n=Object(d.a)(t.getFields());0===n.length&&e.reportError(\"Type \".concat(t.name,\" must define one or more fields.\"),P(t));for(var r=0;r<n.length;r++){var i=n[r];A(e,i),Object(b.O)(i.type)||e.reportError(\"The type of \".concat(t.name,\".\").concat(i.name,\" must be Output Type \")+\"but got: \".concat(Object(m.a)(i.type),\".\"),i.astNode&&i.astNode.type);for(var o=Object.create(null),a=function(n,r){var a=r[n],s=a.name;A(e,a),o[s]&&e.reportError(\"Field argument \".concat(t.name,\".\").concat(i.name,\"(\").concat(s,\":) can only be defined once.\"),i.args.filter((function(e){return e.name===s})).map((function(e){return e.astNode}))),o[s]=!0,Object(b.G)(a.type)||e.reportError(\"The type of \".concat(t.name,\".\").concat(i.name,\"(\").concat(s,\":) must be Input \")+\"Type but got: \".concat(Object(m.a)(a.type),\".\"),a.astNode&&a.astNode.type)},s=0,l=i.args;s<l.length;s++)a(s,l)}}function I(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(b.H)(o)?n[o.name]?e.reportError(\"Type \".concat(t.name,\" can only implement \").concat(o.name,\" once.\"),V(t,o)):(n[o.name]=!0,j(e,t,o)):e.reportError(\"Type \".concat(Object(m.a)(t),\" must only implement Interface types, \")+\"it cannot implement \".concat(Object(m.a)(o),\".\"),V(t,o))}}function j(e,t,n){for(var r=t.getFields(),i=n.getFields(),o=0,a=Object(h.a)(i);o<a.length;o++){var s=a[o],l=s[0],u=s[1],f=r[l];if(f){w(e.schema,f.type,u.type)||e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expects type \")+\"\".concat(Object(m.a)(u.type),\" but \").concat(t.name,\".\").concat(l,\" \")+\"is type \".concat(Object(m.a)(f.type),\".\"),[u.astNode&&u.astNode.type,f.astNode&&f.astNode.type]);for(var p=function(r,i){var o=i[r],a=o.name,s=Object(c.a)(f.args,(function(e){return e.name===a}));if(!s)return e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(a,\":) expected but \").concat(t.name,\".\").concat(l,\" does not provide it.\"),[o.astNode,f.astNode]),\"continue\";E(o.type,s.type)||e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(a,\":) \")+\"expects type \".concat(Object(m.a)(o.type),\" but \")+\"\".concat(t.name,\".\").concat(l,\"(\").concat(a,\":) is type \")+\"\".concat(Object(m.a)(s.type),\".\"),[o.astNode&&o.astNode.type,s.astNode&&s.astNode.type])},d=0,g=u.args;d<g.length;d++)p(d,g);for(var v=function(r,i){var o=i[r],a=o.name;!Object(c.a)(u.args,(function(e){return e.name===a}))&&Object(b.P)(o)&&e.reportError(\"Object field \".concat(t.name,\".\").concat(l,\" includes required argument \").concat(a,\" that is missing from the Interface field \").concat(n.name,\".\").concat(l,\".\"),[o.astNode,u.astNode])},y=0,T=f.args;y<T.length;y++)v(y,T)}else e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expected but \").concat(t.name,\" does not provide it.\"),[u.astNode].concat(P(t)))}}function L(e,t){var n=t.getTypes();0===n.length&&e.reportError(\"Union type \".concat(t.name,\" must define one or more member types.\"),P(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.\"),U(t,o.name)):(r[o.name]=!0,Object(b.N)(o)||e.reportError(\"Union type \".concat(t.name,\" can only include Object types, \")+\"it cannot include \".concat(Object(m.a)(o),\".\"),U(t,String(o))))}}function F(e,t){var n=t.getValues();0===n.length&&e.reportError(\"Enum type \".concat(t.name,\" must define one or more values.\"),P(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;A(e,i),\"true\"!==o&&\"false\"!==o&&\"null\"!==o||e.reportError(\"Enum type \".concat(t.name,\" cannot include value: \").concat(o,\".\"),i.astNode)}}function M(e,t){var n=Object(d.a)(t.getFields());0===n.length&&e.reportError(\"Input Object type \".concat(t.name,\" must define one or more fields.\"),P(t));for(var r=0;r<n.length;r++){var i=n[r];A(e,i),Object(b.G)(i.type)||e.reportError(\"The type of \".concat(t.name,\".\").concat(i.name,\" must be Input Type \")+\"but got: \".concat(Object(m.a)(i.type),\".\"),i.astNode&&i.astNode.type)}}function P(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:n||[]}function R(e,t){return p(P(e),(function(e){return t(e)||[]}))}function V(e,t){return R(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function U(e,t){return R(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}var q=n(1),B=n(16);function z(e,t){var n;return t.kind===q.Kind.LIST_TYPE?(n=z(e,t.type))&&Object(b.d)(n):t.kind===q.Kind.NON_NULL_TYPE?(n=z(e,t.type))&&Object(b.e)(n):t.kind===q.Kind.NAMED_TYPE?e.getType(t.name.value):void Object(B.a)(!1,\"Unexpected type node: \"+Object(m.a)(t))}var H=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||K,n&&(Object(b.G)(n)&&this._inputTypeStack.push(n),Object(b.D)(n)&&this._parentTypeStack.push(n),Object(b.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 q.Kind.SELECTION_SET:var n=Object(b.A)(this.getType());this._parentTypeStack.push(Object(b.D)(n)?n:void 0);break;case q.Kind.FIELD:var r,i,o=this.getParentType();o&&(r=this._getFieldDef(t,o,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(Object(b.O)(i)?i:void 0);break;case q.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case q.Kind.OPERATION_DEFINITION:var a;\"query\"===e.operation?a=t.getQueryType():\"mutation\"===e.operation?a=t.getMutationType():\"subscription\"===e.operation&&(a=t.getSubscriptionType()),this._typeStack.push(Object(b.N)(a)?a:void 0);break;case q.Kind.INLINE_FRAGMENT:case q.Kind.FRAGMENT_DEFINITION:var s=e.typeCondition,l=s?z(t,s):Object(b.A)(this.getType());this._typeStack.push(Object(b.O)(l)?l:void 0);break;case q.Kind.VARIABLE_DEFINITION:var u=z(t,e.type);this._inputTypeStack.push(Object(b.G)(u)?u:void 0);break;case q.Kind.ARGUMENT:var f,p,d=this.getDirective()||this.getFieldDef();d&&(f=Object(c.a)(d.args,(function(t){return t.name===e.name.value})))&&(p=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(Object(b.G)(p)?p:void 0);break;case q.Kind.LIST:var h=Object(b.B)(this.getInputType()),m=Object(b.J)(h)?h.ofType:h;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(b.G)(m)?m:void 0);break;case q.Kind.OBJECT_FIELD:var g,v,y=Object(b.A)(this.getInputType());Object(b.F)(y)&&(v=y.getFields()[e.name.value])&&(g=v.type),this._defaultValueStack.push(v?v.defaultValue:void 0),this._inputTypeStack.push(Object(b.G)(g)?g:void 0);break;case q.Kind.ENUM:var E,w=Object(b.A)(this.getInputType());Object(b.E)(w)&&(E=w.getValue(e.value)),this._enumValue=E}},t.leave=function(e){switch(e.kind){case q.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case q.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case q.Kind.DIRECTIVE:this._directive=null;break;case q.Kind.OPERATION_DEFINITION:case q.Kind.INLINE_FRAGMENT:case q.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case q.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case q.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case q.Kind.LIST:case q.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case q.Kind.ENUM:this._enumValue=null}},e}();function K(e,t,n){var r=n.name.value;return r===k.SchemaMetaFieldDef.name&&e.getQueryType()===t?k.SchemaMetaFieldDef:r===k.TypeMetaFieldDef.name&&e.getQueryType()===t?k.TypeMetaFieldDef:r===k.TypeNameMetaFieldDef.name&&Object(b.D)(t)?k.TypeNameMetaFieldDef:Object(b.N)(t)||Object(b.H)(t)?t.getFields()[r]:void 0}var G=n(72);function Q(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new l.a(function(e){return'There can be only one operation named \"'.concat(e,'\".')}(r.value),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function W(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===q.Kind.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new l.a(\"This anonymous operation must be the only defined operation.\",n))}}}function Y(e){return{OperationDefinition:function(t){var n;\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new l.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 J(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){for(var n=Object.create(null),r=e.length/2,i=0;i<t.length;i++){var o=t[i],a=X(e,o);a<=Math.max(r,o.length/2,1)&&(n[o]=a)}return Object.keys(n).sort((function(e,t){return n[e]-n[t]}))}function X(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 l=1;l<=a;l++)n[0][l]=l;for(var u=1;u<=o;u++)for(var c=1;c<=a;c++){var f=r[u-1]===i[c-1]?0:1;n[u][c]=Math.min(n[u-1][c]+1,n[u][c-1]+1,n[u-1][c-1]+f),u>1&&c>1&&r[u-1]===i[c-2]&&r[u-2]===i[c-1]&&(n[u][c]=Math.min(n[u][c],n[u-2][c-2]+f))}return n[o][a]}var Z=n(32),ee=n(10);function te(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];Object(Z.d)(a)&&(r[a.name.value]=!0)}var s=Object.keys(n).concat(Object.keys(r));return{NamedType:function(t,i,o,a,u){var c,f=t.name.value;if(!n[f]&&!r[f]){var p=u[2]||o,d=(c=p,Boolean(c&&!Array.isArray(c)&&(Object(Z.g)(c)||Object(Z.h)(c))));if(d&&function(e){return-1!==ne.indexOf(e)}(f))return;var h=$(f,d?ne.concat(s):s);e.reportError(new l.a(function(e,t){return'Unknown type \"'.concat(e,'\".')+J(t.map((function(e){return'\"'.concat(e,'\"')})))}(f,h),t))}}}}var ne=ee.g.map((function(e){return e.name}));var re=n(15);function ie(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=z(e.getSchema(),n);r&&!Object(b.D)(r)&&e.reportError(new l.a(function(e){return'Fragment cannot condition on non composite type \"'.concat(e,'\".')}(Object(re.a)(n)),n))}},FragmentDefinition:function(t){var n=z(e.getSchema(),t.typeCondition);n&&!Object(b.D)(n)&&e.reportError(new l.a(function(e,t){return'Fragment \"'.concat(e,'\" cannot condition on non composite type \"').concat(t,'\".')}(t.name.value,Object(re.a)(t.typeCondition)),t.typeCondition))}}}function oe(e){return{VariableDefinition:function(t){var n=z(e.getSchema(),t.type);if(n&&!Object(b.G)(n)){var r=t.variable.name.value;e.reportError(new l.a(function(e,t){return'Variable \"$'.concat(e,'\" cannot be non-input type \"').concat(t,'\".')}(r,Object(re.a)(t.type)),t.type))}}}}function ae(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;n&&(Object(b.I)(Object(b.A)(n))?r&&e.reportError(new l.a(function(e,t){return'Field \"'.concat(e,'\" must not have a selection since type \"').concat(t,'\" has no subfields.')}(t.name.value,Object(m.a)(n)),r)):r||e.reportError(new l.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(m.a)(n)),t)))}}}function se(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r=e.getSchema(),i=t.name.value,o=function(e,t,n){if(Object(b.C)(t)){for(var r=[],i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[n]){r.push(s.name);for(var l=0,u=s.getInterfaces();l<u.length;l++){var c=u[l];c.getFields()[n]&&(i[c.name]=(i[c.name]||0)+1)}}}return Object.keys(i).sort((function(e,t){return i[t]-i[e]})).concat(r)}return[]}(r,n,i),a=0!==o.length?[]:function(e,t,n){if(Object(b.N)(t)||Object(b.H)(t)){var r=Object.keys(t.getFields());return $(n,r)}return[]}(0,n,i);e.reportError(new l.a(function(e,t,n,r){var i=n.map((function(e){return'\"'.concat(e,'\"')})),o=r.map((function(e){return'\"'.concat(e,'\"')}));return'Cannot query field \"'.concat(e,'\" on type \"').concat(t,'\".')+(J(\"to use an inline fragment on\",i)||J(o))}(i,n.name,o,a),t))}}}}function le(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one fragment named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}var ue=n(73),ce=n(74);function fe(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();Object(b.D)(n)&&Object(b.D)(r)&&!T(e.getSchema(),n,r)&&e.reportError(new l.a(function(e,t){return'Fragment cannot be spread here as objects of type \"'.concat(e,'\" can never be of type \"').concat(t,'\".')}(Object(m.a)(r),Object(m.a)(n)),t))},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=z(e.getSchema(),n.typeCondition);if(Object(b.D)(r))return r}}(e,n),i=e.getParentType();r&&i&&!T(e.getSchema(),r,i)&&e.reportError(new l.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(m.a)(i),Object(m.a)(r)),t))}}}function pe(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(o){if(t[o.name.value])return;var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0===s.length)return;r[a]=n.length;for(var u=0;u<s.length;u++){var c=s[u],f=c.name.value,p=r[f];if(n.push(c),void 0===p){var d=e.getFragment(f);d&&i(d)}else{var h=n.slice(p),m=h.slice(0,-1).map((function(e){return e.name.value}));e.reportError(new l.a((g=f,y=void 0,y=(v=m).length?\" via \"+v.join(\", \"):\"\",'Cannot spread fragment \"'.concat(g,'\" within itself').concat(y,\".\")),h))}n.pop()}var g,v,y;r[a]=void 0}(i),!1}}}function de(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var r=n.variable.name.value;t[r]?e.reportError(new l.a(function(e){return'There can be only one variable named \"'.concat(e,'\".')}(r),[t[r],n.variable.name])):t[r]=n.variable.name}}}function he(e,t){return t?'Variable \"$'.concat(e,'\" is not defined by operation \"').concat(t,'\".'):'Variable \"$'.concat(e,'\" is not defined.')}function me(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new l.a(he(a,n.name&&n.name.value),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function ge(e,t){return t?'Variable \"$'.concat(e,'\" is never used in operation \"').concat(t,'\".'):'Variable \"$'.concat(e,'\" is never used.')}function ve(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var r=Object.create(null),i=e.getRecursiveVariableUsages(n),o=n.name?n.name.value:null,a=0;a<i.length;a++){r[i[a].node.name.value]=!0}for(var s=0,u=t;s<u.length;s++){var c=u[s],f=c.variable.name.value;!0!==r[f]&&e.reportError(new l.a(ge(f,o),c))}}},VariableDefinition:function(e){t.push(e)}}}var ye=n(7);function be(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():x.i,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.locations}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===q.Kind.DIRECTIVE_DEFINITION&&(t[u.name.value]=u.locations.map((function(e){return e.value})))}return{Directive:function(n,r,i,o,a){var s=n.name.value,u=t[s];if(u){var c=function(e){var t=e[e.length-1];if(!Array.isArray(t))switch(t.kind){case q.Kind.OPERATION_DEFINITION:switch(t.operation){case\"query\":return ye.a.QUERY;case\"mutation\":return ye.a.MUTATION;case\"subscription\":return ye.a.SUBSCRIPTION}break;case q.Kind.FIELD:return ye.a.FIELD;case q.Kind.FRAGMENT_SPREAD:return ye.a.FRAGMENT_SPREAD;case q.Kind.INLINE_FRAGMENT:return ye.a.INLINE_FRAGMENT;case q.Kind.FRAGMENT_DEFINITION:return ye.a.FRAGMENT_DEFINITION;case q.Kind.VARIABLE_DEFINITION:return ye.a.VARIABLE_DEFINITION;case q.Kind.SCHEMA_DEFINITION:case q.Kind.SCHEMA_EXTENSION:return ye.a.SCHEMA;case q.Kind.SCALAR_TYPE_DEFINITION:case q.Kind.SCALAR_TYPE_EXTENSION:return ye.a.SCALAR;case q.Kind.OBJECT_TYPE_DEFINITION:case q.Kind.OBJECT_TYPE_EXTENSION:return ye.a.OBJECT;case q.Kind.FIELD_DEFINITION:return ye.a.FIELD_DEFINITION;case q.Kind.INTERFACE_TYPE_DEFINITION:case q.Kind.INTERFACE_TYPE_EXTENSION:return ye.a.INTERFACE;case q.Kind.UNION_TYPE_DEFINITION:case q.Kind.UNION_TYPE_EXTENSION:return ye.a.UNION;case q.Kind.ENUM_TYPE_DEFINITION:case q.Kind.ENUM_TYPE_EXTENSION:return ye.a.ENUM;case q.Kind.ENUM_VALUE_DEFINITION:return ye.a.ENUM_VALUE;case q.Kind.INPUT_OBJECT_TYPE_DEFINITION:case q.Kind.INPUT_OBJECT_TYPE_EXTENSION:return ye.a.INPUT_OBJECT;case q.Kind.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===q.Kind.INPUT_OBJECT_TYPE_DEFINITION?ye.a.INPUT_FIELD_DEFINITION:ye.a.ARGUMENT_DEFINITION}}(a);c&&-1===u.indexOf(c)&&e.reportError(new l.a(function(e,t){return'Directive \"'.concat(e,'\" may not be used on ').concat(t,\".\")}(s,c),n))}else e.reportError(new l.a('Unknown directive \"'.concat(s,'\".'),n))}}}function Ee(e){return'The directive \"'.concat(e,'\" can only be used once at this location.')}function we(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():x.i,i=0;i<r.length;i++){var o=r[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===q.Kind.DIRECTIVE_DEFINITION&&(t[u.name.value]=!u.repeatable)}return{enter:function(n){var r=n.directives;if(r)for(var i=Object.create(null),o=0;o<r.length;o++){var a=r[o],s=a.name.value;t[s]&&(i[s]?e.reportError(new l.a(Ee(s),[i[s],a])):i[s]=a)}}}}function Te(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 xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ke(e,t,n){return'Unknown argument \"'.concat(e,'\" on directive \"@').concat(t,'\".')+J(n.map((function(e){return'\"'.concat(e,'\"')})))}function Oe(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(n,!0).forEach((function(t){xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},_e(e),{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var o=t.name.value,a=r.args.map((function(e){return e.name}));e.reportError(new l.a(function(e,t,n,r){return'Unknown argument \"'.concat(e,'\" on field \"').concat(t,'\" of type \"').concat(n,'\".')+J(r.map((function(e){return'\"'.concat(e,'\"')})))}(o,r.name,i.name,$(o,a)),t))}}})}function _e(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():x.i,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.args.map((function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===q.Kind.DIRECTIVE_DEFINITION&&(t[u.name.value]=u.arguments?u.arguments.map((function(e){return e.name.value})):[])}return{Directive:function(n){var r=n.name.value,i=t[r];if(n.arguments&&i)for(var o=0,a=n.arguments;o<a.length;o++){var s=a[o],u=s.name.value;if(-1===i.indexOf(u)){var c=$(u,i);e.reportError(new l.a(ke(u,r,c),s))}}return!1}}}function Se(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a(function(e){return'There can be only one argument named \"'.concat(e,'\".')}(r),[t[r],n.name])):t[r]=n.name,!1}}}var Ce=n(21),Ne=n(25);function Ae(e,t,n){return\"Expected type \".concat(e,\", found \").concat(t)+(n?\"; \".concat(n):\".\")}function De(e,t,n){return\"Expected type \".concat(e,\", found \").concat(t,\".\")+J(\"the enum value\",n)}function Ie(e){return{NullValue:function(t){var n=e.getInputType();Object(b.L)(n)&&e.reportError(new l.a(Ae(Object(m.a)(n),Object(re.a)(t)),t))},ListValue:function(t){var n=Object(b.B)(e.getParentInputType());if(!Object(b.J)(n))return je(e,t),!1},ObjectValue:function(t){var n=Object(b.A)(e.getInputType());if(!Object(b.F)(n))return je(e,t),!1;for(var r,i,o,a=Object(Ce.a)(t.fields,(function(e){return e.name.value})),s=0,u=Object(d.a)(n.getFields());s<u.length;s++){var c=u[s];if(!a[c.name]&&Object(b.Q)(c)){var f=Object(m.a)(c.type);e.reportError(new l.a((r=n.name,i=c.name,o=f,\"Field \".concat(r,\".\").concat(i,\" of required type \").concat(o,\" was not provided.\")),t))}}},ObjectField:function(t){var n,r,i,o=Object(b.A)(e.getParentInputType());if(!e.getInputType()&&Object(b.F)(o)){var a=$(t.name.value,Object.keys(o.getFields()));e.reportError(new l.a((n=o.name,r=t.name.value,i=a,'Field \"'.concat(r,'\" is not defined by type ').concat(n,\".\")+J(i)),t))}},EnumValue:function(t){var n=Object(b.A)(e.getInputType());Object(b.E)(n)?n.getValue(t.value)||e.reportError(new l.a(De(n.name,Object(re.a)(t),Le(n,t)),t)):je(e,t)},IntValue:function(t){return je(e,t)},FloatValue:function(t){return je(e,t)},StringValue:function(t){return je(e,t)},BooleanValue:function(t){return je(e,t)}}}function je(e,t){var n=e.getInputType();if(n){var r=Object(b.A)(n);if(Object(b.R)(r))try{var i=r.parseLiteral(t,void 0);Object(Ne.a)(i)&&e.reportError(new l.a(Ae(Object(m.a)(n),Object(re.a)(t)),t))}catch(r){e.reportError(new l.a(Ae(Object(m.a)(n),Object(re.a)(t),r.message),t,void 0,void 0,void 0,r))}else{var o=Object(b.E)(r)?De(Object(m.a)(n),Object(re.a)(t),Le(r,t)):Ae(Object(m.a)(n),Object(re.a)(t));e.reportError(new l.a(o,t))}}}function Le(e,t){var n=e.getValues().map((function(e){return e.name}));return $(Object(re.a)(t),n)}function Fe(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 Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e,t,n){return'Directive \"@'.concat(e,'\" argument \"').concat(t,'\" of type \"').concat(n,'\" is required, but it was not provided.')}function Re(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(n,!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ve(e),{Field:{leave:function(t){var n=e.getFieldDef();if(!n)return!1;for(var r,i,o,a=t.arguments||[],s=Object(Ce.a)(a,(function(e){return e.name.value})),u=0,c=n.args;u<c.length;u++){var f=c[u];!s[f.name]&&Object(b.P)(f)&&e.reportError(new l.a((r=n.name,i=f.name,o=Object(m.a)(f.type),'Field \"'.concat(r,'\" argument \"').concat(i,'\" of type \"').concat(o,'\" is required, but it was not provided.')),t))}}}})}function Ve(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():x.i,i=0;i<r.length;i++){var o=r[i];t[o.name]=Object(Ce.a)(o.args.filter(b.P),(function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var u=a[s];u.kind===q.Kind.DIRECTIVE_DEFINITION&&(t[u.name.value]=Object(Ce.a)(u.arguments?u.arguments.filter(Ue):[],(function(e){return e.name.value})))}return{Directive:{leave:function(n){var r=n.name.value,i=t[r];if(i)for(var o=n.arguments||[],a=Object(Ce.a)(o,(function(e){return e.name.value})),s=0,u=Object.keys(i);s<u.length;s++){var c=u[s];if(!a[c]){var f=i[c].type;e.reportError(new l.a(Pe(r,c,Object(b.S)(f)?Object(m.a)(f):Object(re.a)(f)),n))}}}}}}function Ue(e){return e.type.kind===q.Kind.NON_NULL_TYPE&&null==e.defaultValue}function qe(e,t,n){return'Variable \"$'.concat(e,'\" of type \"').concat(t,'\" used in position expecting type \"').concat(n,'\".')}function Be(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i],a=o.node,s=o.type,u=o.defaultValue,c=a.name.value,f=t[c];if(f&&s){var p=e.getSchema(),d=z(p,f.type);d&&!ze(p,d,f.defaultValue,s,u)&&e.reportError(new l.a(qe(c,Object(m.a)(d),Object(m.a)(s)),[f,a]))}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function ze(e,t,n,r,i){return Object(b.L)(r)&&!Object(b.L)(t)?(null!=n&&n.kind!==q.Kind.NULL||void 0!==i)&&w(e,t,r.ofType):w(e,t,r)}function He(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 Ke(e){var t=new Ze,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var o=[],a=Je(e,t,r,i),s=a[0],l=a[1];if(function(e,t,n,r,i){for(var o=0,a=Object(h.a)(i);o<a.length;o++){var s=a[o],l=s[0],u=s[1];if(u.length>1)for(var c=0;c<u.length;c++)for(var f=c+1;f<u.length;f++){var p=Ye(e,n,r,!1,l,u[c],u[f]);p&&t.push(p)}}}(e,o,t,n,s),0!==l.length)for(var u=Object.create(null),c=0;c<l.length;c++){Ge(e,o,t,u,n,!1,s,l[c]);for(var f=c+1;f<l.length;f++)Qe(e,o,t,n,!1,l[c],l[f])}return o}(e,n,t,e.getParentType(),r),o=0;o<i.length;o++){var a=i[o],s=a[0],u=s[0],c=s[1],f=a[1],p=a[2];e.reportError(new l.a(He(u,c),f.concat(p)))}}}}function Ge(e,t,n,r,i,o,a,s){if(!r[s]){r[s]=!0;var l=e.getFragment(s);if(l){var u=$e(e,n,l),c=u[0],f=u[1];if(a!==c){We(e,t,n,i,o,a,c);for(var p=0;p<f.length;p++)Ge(e,t,n,r,i,o,a,f[p])}}}}function Qe(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),l=e.getFragment(a);if(s&&l){var u=$e(e,n,s),c=u[0],f=u[1],p=$e(e,n,l),d=p[0],h=p[1];We(e,t,n,r,i,c,d);for(var m=0;m<h.length;m++)Qe(e,t,n,r,i,o,h[m]);for(var g=0;g<f.length;g++)Qe(e,t,n,r,i,f[g],a)}}}function We(e,t,n,r,i,o,a){for(var s=0,l=Object.keys(o);s<l.length;s++){var u=l[s],c=a[u];if(c)for(var f=o[u],p=0;p<f.length;p++)for(var d=0;d<c.length;d++){var h=Ye(e,n,r,i,u,f[p],c[d]);h&&t.push(h)}}}function Ye(e,t,n,r,i,o,a){var s=o[0],l=o[1],u=o[2],f=a[0],p=a[1],d=a[2],h=r||s!==f&&Object(b.N)(s)&&Object(b.N)(f),g=u&&u.type,v=d&&d.type;if(!h){var y=l.name.value,E=p.name.value;if(y!==E)return[[i,\"\".concat(y,\" and \").concat(E,\" are different fields\")],[l],[p]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,r,i=Object(c.a)(t,(function(t){return t.name.value===e.name.value}));return!!i&&(n=e.value,r=i.value,!n&&!r||Object(re.a)(n)===Object(re.a)(r))}))}(l.arguments||[],p.arguments||[]))return[[i,\"they have differing arguments\"],[l],[p]]}if(g&&v&&function e(t,n){if(Object(b.J)(t))return!Object(b.J)(n)||e(t.ofType,n.ofType);if(Object(b.J)(n))return!0;if(Object(b.L)(t))return!Object(b.L)(n)||e(t.ofType,n.ofType);if(Object(b.L)(n))return!0;if(Object(b.I)(t)||Object(b.I)(n))return t!==n;return!1}(g,v))return[[i,\"they return conflicting types \".concat(Object(m.a)(g),\" and \").concat(Object(m.a)(v))],[l],[p]];var w=l.selectionSet,T=p.selectionSet;return w&&T?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 l=[],u=Je(e,t,i,o),c=u[0],f=u[1],p=Je(e,t,a,s),d=p[0],h=p[1];if(We(e,l,t,n,r,c,d),0!==h.length)for(var m=Object.create(null),g=0;g<h.length;g++)Ge(e,l,t,m,n,r,c,h[g]);if(0!==f.length)for(var v=Object.create(null),y=0;y<f.length;y++)Ge(e,l,t,v,n,r,d,f[y]);for(var b=0;b<f.length;b++)for(var E=0;E<h.length;E++)Qe(e,l,t,n,r,f[b],h[E]);return l}(e,t,n,h,Object(b.A)(g),w,Object(b.A)(v),T),i,l,p):void 0}function Je(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,s=r.selections;a<s.length;a++){var l=s[a];switch(l.kind){case q.Kind.FIELD:var u=l.name.value,c=void 0;(Object(b.N)(n)||Object(b.H)(n))&&(c=n.getFields()[u]);var f=l.alias?l.alias.value:u;i[f]||(i[f]=[]),i[f].push([n,l,c]);break;case q.Kind.FRAGMENT_SPREAD:o[l.name.value]=!0;break;case q.Kind.INLINE_FRAGMENT:var p=l.typeCondition,d=p?z(t.getSchema(),p):n;e(t,d,l.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function $e(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=z(e.getSchema(),n.typeCondition);return Je(e,t,i,n.selectionSet)}var Xe,Ze=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){et(this._data,e,t,n),et(this._data,t,e,n)},e}();function et(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}function tt(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 r=t.name.value;n[r]?e.reportError(new l.a(function(e){return'There can be only one input field named \"'.concat(e,'\".')}(r),[n[r],t.name])):n[r]=t.name}}}function nt(e){var t=e.getSchema(),n=t&&(t.astNode||t.getQueryType()||t.getMutationType()||t.getSubscriptionType()),r=0;return{SchemaDefinition:function(t){n?e.reportError(new l.a(\"Cannot define a new schema within a schema extension.\",t)):(r>0&&e.reportError(new l.a(\"Must provide only one schema definition.\",t)),++r)}}}function rt(e){return\"There can be only one \".concat(e,\" type in schema.\")}function it(e){return\"Type for \".concat(e,\" already defined in the schema. It cannot be redefined.\")}function ot(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){if(t.operationTypes)for(var i=0,o=t.operationTypes||[];i<o.length;i++){var a=o[i],s=a.operation,u=n[s];r[s]?e.reportError(new l.a(it(s),a)):u?e.reportError(new l.a(rt(s),[u,a])):n[s]=a}return!1}}function at(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;if(!n||!n.getType(i))return t[i]?e.reportError(new l.a(function(e){return'There can be only one type named \"'.concat(e,'\".')}(i),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a(function(e){return'Type \"'.concat(e,'\" already exists in the schema. It cannot also be defined in this type definition.')}(i),r.name))}}function st(e,t){return'Enum value \"'.concat(e,\".\").concat(t,'\" can only be defined once.')}function lt(e,t){return'Enum value \"'.concat(e,\".\").concat(t,'\" already exists in the schema. It cannot also be defined in this type extension.')}function ut(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i=t.name.value;if(r[i]||(r[i]=Object.create(null)),t.values)for(var o=r[i],a=0,s=t.values;a<s.length;a++){var u=s[a],c=u.name.value,f=n[i];Object(b.E)(f)&&f.getValue(c)?e.reportError(new l.a(lt(i,c),u.name)):o[c]?e.reportError(new l.a(st(i,c),[o[c],u.name])):o[c]=u.name}return!1}}function ct(e,t){return'Field \"'.concat(e,\".\").concat(t,'\" can only be defined once.')}function ft(e,t){return'Field \"'.concat(e,\".\").concat(t,'\" already exists in the schema. It cannot also be defined in this type extension.')}function pt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i=t.name.value;if(r[i]||(r[i]=Object.create(null)),t.fields)for(var o=r[i],a=0,s=t.fields;a<s.length;a++){var u=s[a],c=u.name.value;dt(n[i],c)?e.reportError(new l.a(ft(i,c),u.name)):o[c]?e.reportError(new l.a(ct(i,c),[o[c],u.name])):o[c]=u.name}return!1}}function dt(e,t){return!!(Object(b.N)(e)||Object(b.H)(e)||Object(b.F)(e))&&e.getFields()[t]}function ht(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;if(!n||!n.getDirective(i))return t[i]?e.reportError(new l.a(function(e){return'There can be only one directive named \"'.concat(e,'\".')}(i),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a(function(e){return'Directive \"'.concat(e,'\" already exists in the schema. It cannot be redefined.')}(i),r.name))}}}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gt(e,t){return\"Cannot extend non-\".concat(t,' type \"').concat(e,'\".')}function vt(e){for(var t=e.getSchema(),n=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var o=i[r];Object(Z.d)(o)&&(n[o.name.value]=o)}return{ScalarTypeExtension:a,ObjectTypeExtension:a,InterfaceTypeExtension:a,UnionTypeExtension:a,EnumTypeExtension:a,InputObjectTypeExtension:a};function a(r){var i=r.name.value,o=n[i],a=t&&t.getType(i);if(o){var s=yt[o.kind];s!==r.kind&&e.reportError(new l.a(gt(i,bt(s)),[o,r]))}else if(a){var u=function(e){if(Object(b.R)(e))return q.Kind.SCALAR_TYPE_EXTENSION;if(Object(b.N)(e))return q.Kind.OBJECT_TYPE_EXTENSION;if(Object(b.H)(e))return q.Kind.INTERFACE_TYPE_EXTENSION;if(Object(b.T)(e))return q.Kind.UNION_TYPE_EXTENSION;if(Object(b.E)(e))return q.Kind.ENUM_TYPE_EXTENSION;if(Object(b.F)(e))return q.Kind.INPUT_OBJECT_TYPE_EXTENSION}(a);u!==r.kind&&e.reportError(new l.a(gt(i,bt(u)),r))}else{var c=Object.keys(n);t&&(c=c.concat(Object.keys(t.getTypeMap())));var f=$(i,c);e.reportError(new l.a(function(e,t){return'Cannot extend type \"'.concat(e,'\" because it is not defined.')+J(t.map((function(e){return'\"'.concat(e,'\"')})))}(i,f),r.name))}}}var yt=(mt(Xe={},q.Kind.SCALAR_TYPE_DEFINITION,q.Kind.SCALAR_TYPE_EXTENSION),mt(Xe,q.Kind.OBJECT_TYPE_DEFINITION,q.Kind.OBJECT_TYPE_EXTENSION),mt(Xe,q.Kind.INTERFACE_TYPE_DEFINITION,q.Kind.INTERFACE_TYPE_EXTENSION),mt(Xe,q.Kind.UNION_TYPE_DEFINITION,q.Kind.UNION_TYPE_EXTENSION),mt(Xe,q.Kind.ENUM_TYPE_DEFINITION,q.Kind.ENUM_TYPE_EXTENSION),mt(Xe,q.Kind.INPUT_OBJECT_TYPE_DEFINITION,q.Kind.INPUT_OBJECT_TYPE_EXTENSION),Xe);function bt(e){switch(e){case q.Kind.SCALAR_TYPE_EXTENSION:return\"scalar\";case q.Kind.OBJECT_TYPE_EXTENSION:return\"object\";case q.Kind.INTERFACE_TYPE_EXTENSION:return\"interface\";case q.Kind.UNION_TYPE_EXTENSION:return\"union\";case q.Kind.ENUM_TYPE_EXTENSION:return\"enum\";case q.Kind.INPUT_OBJECT_TYPE_EXTENSION:return\"input object\";default:return\"unknown type\"}}var Et=Object.freeze([G.ExecutableDefinitions,Q,W,Y,te,ie,oe,ae,se,le,ue.KnownFragmentNames,ce.NoUnusedFragments,fe,pe,de,me,ve,be,we,Oe,Se,Ie,Re,Be,Ke,tt]),wt=Object.freeze([nt,ot,at,ut,pt,ht,te,be,we,vt,_e,Se,tt,Ve]);function Tt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var xt=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===q.Kind.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 r=0,i=n.pop().selections;r<i.length;r++){var o=i[r];o.kind===q.Kind.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.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 l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),kt=function(e){function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return Tt(t,e),t.prototype.getSchema=function(){return this._schema},t}(xt),Ot=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}Tt(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 H(this._schema);Object(u.c)(e,Object(u.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}(xt);Object.freeze({});function _t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new H(e),i=arguments.length>4?arguments[4]:void 0;t||Object(s.a)(0,\"Must provide document\"),S(e);var o=Object.freeze({}),a=[],c=i&&i.maxErrors,f=new Ot(e,t,r,(function(e){if(null!=c&&a.length>=c)throw a.push(new l.a(\"Too many validation errors, error limit reached. Validation aborted.\")),o;a.push(e)})),p=Object(u.d)(n.map((function(e){return e(f)})));try{Object(u.c)(t,Object(u.e)(r,p))}catch(e){if(e!==o)throw e}return a}function St(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wt,r=[],i=new kt(e,t,(function(e){r.push(e)})),o=n.map((function(e){return e(i)}));return Object(u.c)(e,Object(u.d)(o)),r}var Ct=n(26);var Nt=n(55),At=n(17);function Dt(e,t){return{prev:e,key:t}}function It(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function jt(e,t,n){return e&&Array.isArray(e.path)?e:new l.a(e&&e.message,e&&e.nodes||t,e&&e.source,e&&e.positions,n,e)}function Lt(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new l.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 l.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new l.a(\"Schema is not configured for subscriptions.\",t);return i}throw new l.a(\"Can only have query, mutation and subscription operations.\",t)}function Ft(e){return e.map((function(e){return\"number\"==typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}var Mt=n(39);function Pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rt;return Vt(e,t,n)}function Rt(e,t,n){var r=\"Invalid value \"+Object(m.a)(t);throw e.length>0&&(r+=' at \"value'.concat(Ft(e),'\": ')),n.message=r+\": \"+n.message,n}function Vt(e,t,n,r){if(Object(b.L)(t))return null!=e?Vt(e,t.ofType,n,r):void n(It(r),e,new l.a(\"Expected non-nullable type \".concat(Object(m.a)(t),\" not to be null.\")));if(null==e)return null;if(Object(b.J)(t)){var i=t.ofType;if(Object(Ct.e)(e)){var o=[];return Object(Ct.b)(e,(function(e,t){o.push(Vt(e,i,n,Dt(r,t)))})),o}return[Vt(e,i,n,r)]}if(Object(b.F)(t)){if(!Object(At.a)(e))return void n(It(r),e,new l.a(\"Expected type \".concat(t.name,\" to be an object.\")));for(var a={},s=t.getFields(),u=0,c=Object(d.a)(s);u<c.length;u++){var f=c[u],p=e[f.name];if(void 0!==p)a[f.name]=Vt(p,f.type,n,Dt(r,f.name));else if(void 0!==f.defaultValue)a[f.name]=f.defaultValue;else if(Object(b.L)(f.type)){var h=Object(m.a)(f.type);n(It(r),e,new l.a(\"Field \".concat(f.name,\" of required type \").concat(h,\" was not provided.\")))}}for(var g=0,v=Object.keys(e);g<v.length;g++){var y=v[g];if(!s[y]){var E=$(y,Object.keys(t.getFields()));n(It(r),e,new l.a('Field \"'.concat(y,'\" is not defined by type ').concat(t.name,\".\")+J(E)))}}return a}if(Object(b.R)(t)){var w;try{w=t.parseValue(e)}catch(i){return void n(It(r),e,new l.a(\"Expected type \".concat(t.name,\". \")+i.message,void 0,void 0,void 0,void 0,i))}return void 0===w&&n(It(r),e,new l.a(\"Expected type \".concat(t.name,\".\"))),w}if(Object(b.E)(t)){if(\"string\"==typeof e){var T=t.getValue(e);if(T)return T.value}var x=$(String(e),t.getValues().map((function(e){return e.name})));n(It(r),e,new l.a(\"Expected type \".concat(t.name,\".\")+J(x)))}else Object(B.a)(!1,\"Unexpected input type: \"+Object(m.a)(t))}function Ut(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=z(e,a.type);if(!Object(b.G)(u)){var c=Object(re.a)(a.type);return r(new l.a('Variable \"$'.concat(s,'\" expected value of type \"').concat(c,'\" which cannot be used as an input type.'),a.type)),\"continue\"}if(!zt(n,s)){if(a.defaultValue)i[s]=Object(Mt.a)(a.defaultValue,u);else if(Object(b.L)(u)){var f=Object(m.a)(u);r(new l.a('Variable \"$'.concat(s,'\" of required type \"').concat(f,'\" was not provided.'),a))}return\"continue\"}var p=n[s];if(null===p&&Object(b.L)(u)){var d=Object(m.a)(u);return r(new l.a('Variable \"$'.concat(s,'\" of non-null type \"').concat(d,'\" must not be null.'),a)),\"continue\"}i[s]=Pt(p,u,(function(e,t,n){var i='Variable \"$'.concat(s,'\" got invalid value ')+Object(m.a)(t);e.length>0&&(i+=' at \"'.concat(s).concat(Ft(e),'\"')),r(new l.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 l.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");o.push(e)}));if(0===o.length)return{coerced:a}}catch(e){o.push(e)}return{errors:o}}function qt(e,t,n){for(var r={},i=Object(Ce.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,f=i[u];if(f){var p=f.value,d=p.kind===q.Kind.NULL;if(p.kind===q.Kind.VARIABLE){var h=p.name.value;if(null==n||!zt(n,h)){if(void 0!==s.defaultValue)r[u]=s.defaultValue;else if(Object(b.L)(c))throw new l.a('Argument \"'.concat(u,'\" of required type \"').concat(Object(m.a)(c),'\" ')+'was provided the variable \"$'.concat(h,'\" which was not provided a runtime value.'),p);continue}d=null==n[h]}if(d&&Object(b.L)(c))throw new l.a('Argument \"'.concat(u,'\" of non-null type \"').concat(Object(m.a)(c),'\" ')+\"must not be null.\",p);var g=Object(Mt.a)(p,c,n);if(void 0===g)throw new l.a('Argument \"'.concat(u,'\" has invalid value ').concat(Object(re.a)(p),\".\"),p);r[u]=g}else if(void 0!==s.defaultValue)r[u]=s.defaultValue;else if(Object(b.L)(c))throw new l.a('Argument \"'.concat(u,'\" of required type \"').concat(Object(m.a)(c),'\" ')+\"was not provided.\",t)}return r}function Bt(e,t,n){var r=t.directives&&Object(c.a)(t.directives,(function(t){return t.name.value===e.name}));if(r)return qt(e,r,n)}function zt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ht(e,t,n,r,i,o,a,s){return Kt(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function Kt(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,u=e.typeResolver;Gt(t,n,a);var c=Qt(t,n,r,i,a,s,l,u);if(Array.isArray(c))return{errors:c};var f=function(e,t,n){var r=Lt(e.schema,t),i=Yt(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 l=i[s],u=Dt(r,s),c=Xt(e,t,n,l,u);return void 0===c?a:o(c)?c.then((function(e){return a[s]=e,a})):(a[s]=c,a)},l=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,void 0,i):Wt(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(t){return e.errors.push(t),null}}(c,c.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}}(c,f)}function Gt(e,t,n){t||Object(s.a)(0,\"Must provide document\"),S(e),null==n||Object(At.a)(n)||Object(s.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 Qt(e,t,n,r,i,o,a,s){for(var u,c=!1,f=Object.create(null),p=0,d=t.definitions;p<d.length;p++){var h=d[p];switch(h.kind){case q.Kind.OPERATION_DEFINITION:!o&&u?c=!0:(!o||h.name&&h.name.value===o)&&(u=h);break;case q.Kind.FRAGMENT_DEFINITION:f[h.name.value]=h}}if(!u)return o?[new l.a('Unknown operation named \"'.concat(o,'\".'))]:[new l.a(\"Must provide an operation.\")];if(c)return[new l.a(\"Must provide operation name if query contains multiple operations.\")];var m=Ut(e,u.variableDefinitions||[],i||{},{maxErrors:50});return m.errors?m.errors:{schema:e,fragments:f,rootValue:n,contextValue:r,operation:u,variableValues:m.coerced,fieldResolver:a||hn,typeResolver:s||dn,errors:[]}}function Wt(e,t,n,r,i){for(var a,s,l,u=Object.create(null),c=!1,f=0,p=Object.keys(i);f<p.length;f++){var d=p[f],h=Xt(e,t,n,i[d],Dt(r,d));void 0!==h&&(u[d]=h,!c&&o(h)&&(c=!0))}return c?(a=u,s=Object.keys(a),l=s.map((function(e){return a[e]})),Promise.all(l).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):u}function Yt(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case q.Kind.FIELD:if(!Jt(e,s))continue;var l=(f=s).alias?f.alias.value:f.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case q.Kind.INLINE_FRAGMENT:if(!Jt(e,s)||!$t(e,s,t))continue;Yt(e,t,s.selectionSet,r,i);break;case q.Kind.FRAGMENT_SPREAD:var u=s.name.value;if(i[u]||!Jt(e,s))continue;i[u]=!0;var c=e.fragments[u];if(!c||!$t(e,c,t))continue;Yt(e,t,c.selectionSet,r,i)}}var f;return r}function Jt(e,t){var n=Bt(x.e,t,e.variableValues);if(n&&!0===n.if)return!1;var r=Bt(x.d,t,e.variableValues);return!r||!1!==r.if}function $t(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=z(e.schema,r);return i===n||!!Object(b.C)(i)&&e.schema.isPossibleType(i,n)}function Xt(e,t,n,r,i){var o=r[0].name.value,a=mn(e.schema,t,o);if(a){var s=a.resolve||e.fieldResolver,l=Zt(e,a,r,t,i),u=en(e,a,r,s,n,l);return nn(e,a.type,r,l,i,u)}}function Zt(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 en(e,t,n,r,i,a){try{var s=r(i,qt(t,n[0],e.variableValues),e.contextValue,a);return o(s)?s.then(void 0,tn):s}catch(e){return tn(e)}}function tn(e){return e instanceof Error?e:new Error(\"Unexpected error value: \"+Object(m.a)(e))}function nn(e,t,n,r,i,a){try{var s;return s=o(a)?a.then((function(o){return on(e,t,n,r,i,o)})):on(e,t,n,r,i,a),o(s)?s.then(void 0,(function(r){return rn(r,n,i,t,e)})):s}catch(r){return rn(r,n,i,t,e)}}function rn(e,t,n,r,i){var o=jt(tn(e),t,It(n));if(Object(b.L)(r))throw o;return i.errors.push(o),null}function on(e,t,n,r,i,a){if(a instanceof Error)throw a;if(Object(b.L)(t)){var s=on(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(Nt.a)(a)?null:Object(b.J)(t)?function(e,t,n,r,i,a){if(!Object(Ct.e)(a))throw new l.a(\"Expected Iterable, but did not find one for field \".concat(r.parentType.name,\".\").concat(r.fieldName,\".\"));var s=t.ofType,u=!1,c=[];return Object(Ct.b)(a,(function(t,a){var l=Dt(i,a),f=nn(e,s,n,r,l,t);!u&&o(f)&&(u=!0),c.push(f)})),u?Promise.all(c):c}(e,t,n,r,i,a):Object(b.I)(t)?function(e,t){var n=e.serialize(t);if(Object(Ne.a)(n))throw new Error('Expected a value of type \"'.concat(Object(m.a)(e),'\" but ')+\"received: \".concat(Object(m.a)(t)));return n}(t,a):Object(b.C)(t)?function(e,t,n,r,i,a){var s=t.resolveType||e.typeResolver,l=e.contextValue,u=s(a,l,r,t);if(o(u))return u.then((function(o){return sn(e,an(o,e,t,n,r,a),n,r,i,a)}));return sn(e,an(u,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,a):Object(b.N)(t)?sn(e,t,n,r,i,a):void Object(B.a)(!1,\"Cannot complete value of unexpected output type: \"+Object(m.a)(t))}function an(e,t,n,r,i,o){var a=\"string\"==typeof e?t.schema.getType(e):e;if(!Object(b.N)(a))throw new l.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(m.a)(o),', received \"').concat(Object(m.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 l.a('Runtime Object type \"'.concat(a.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return a}function sn(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 ln(t,a,n);return un(e,t,n,i,a)}));if(!s)throw ln(t,a,n)}return un(e,t,n,i,a)}function ln(e,t,n){return new l.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(m.a)(t),\".\"),n)}function un(e,t,n,r,i){return Wt(e,t,i,r,pn(e,t,n))}var cn,fn,pn=(cn=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=Yt(e,t,a.selectionSet,r,i))}return r},function(e,t,n){fn||(fn=new WeakMap);var r,i=fn.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,fn.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=cn(e,t,n);return r.set(n,a),a});var dn=function(e,t,n,r){if(Object(At.a)(e)&&\"string\"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var l=i[s];if(l.isTypeOf){var u=l.isTypeOf(e,t,n);if(o(u))a[s]=u;else if(u)return l}}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},hn=function(e,t,n,r){if(Object(At.a)(e)||\"function\"==typeof e){var i=e[r.fieldName];return\"function\"==typeof i?e[r.fieldName](t,n,r):i}};function mn(e,t,n){return n===k.SchemaMetaFieldDef.name&&e.getQueryType()===t?k.SchemaMetaFieldDef:n===k.TypeMetaFieldDef.name&&e.getQueryType()===t?k.TypeMetaFieldDef:n===k.TypeNameMetaFieldDef.name?k.TypeNameMetaFieldDef:t.getFields()[n]}function gn(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(u){return u(1===l.length?yn(e):yn({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function vn(e,t,n,r,i,a,s,l){var u=yn(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(u))throw new Error(\"GraphQL execution failed to complete synchronously.\");return u}function yn(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,s=e.variableValues,l=e.operationName,u=e.fieldResolver,c=e.typeResolver,f=_(n);if(f.length>0)return{errors:f};try{t=Object(a.a)(r)}catch(e){return{errors:[e]}}var p=_t(n,t);return p.length>0?{errors:p}:Ht({schema:n,document:t,rootValue:i,contextValue:o,variableValues:s,operationName:l,fieldResolver:u,typeResolver:c})}var bn=n(42),En=n(49),wn=n(78),Tn=n(50),xn=n(4);function kn(e,t,n){var r,i,o,a,s,l,u=Object(Ct.c)(e);function c(e){return e.done?e:On(e.value,t).then(_n,i)}if(\"function\"==typeof u.return&&(r=u.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(u).then(t,t)}),n){var f=n;o=function(e){return On(e,f).then(_n,i)}}return a={next:function(){return u.next().then(c,o)},return:function(){return r?r.call(u).then(c,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"==typeof u.throw?u.throw(e).then(c,o):Promise.reject(e).catch(i)}},s=Ct.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function On(e,t){return new Promise((function(n){return n(t(e))}))}function _n(e){return{value:e,done:!1}}function Sn(e,t,n,r,i,o,a,s){return Nn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Cn(e){if(e instanceof l.a)return{errors:[e]};throw e}function Nn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,u=An(t,n,r,i,o,a,l),c=function(e){return Ht(t,n,e,i,o,a,s)};return u.then((function(e){return Object(Ct.d)(e)?kn(e,c,Cn):e}))}function An(e,t,n,r,i,o,a){Gt(e,t,i);try{var s=Qt(e,t,n,r,i,o,a);if(Array.isArray(s))return Promise.resolve({errors:s});var u=Lt(e,s.operation),c=Yt(s,u,s.operation.selectionSet,Object.create(null),Object.create(null)),f=Object.keys(c)[0],p=c[f],d=p[0].name.value,h=mn(e,u,d);if(!h)throw new l.a('The subscription field \"'.concat(d,'\" is not defined.'),p);var g=h.subscribe||s.fieldResolver,v=Dt(void 0,f),y=Zt(s,h,p,u,v),b=en(s,h,p,g,n,y);return Promise.resolve(b).then((function(e){if(e instanceof Error)return{errors:[jt(e,p,It(v))]};if(Object(Ct.d)(e))return e;throw new Error(\"Subscription field must return Async Iterable. Received: \"+Object(m.a)(e))}))}catch(e){return e instanceof l.a?Promise.resolve({errors:[e]}):Promise.reject(e)}}var Dn=n(29);function In(e){e||Object(s.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}}var jn=n(112),Ln=n(254);function Fn(e,t){var n=Ht(e,Object(a.a)(Object(jn.a)(t)));return!o(n)&&!n.errors&&n.data||Object(B.a)(0),n.data}var Mn=n(255),Pn=n(20),Rn=n(34);function Vn(e,t){var n;e&&e.kind===q.Kind.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST\"),t&&(t.assumeValid||t.assumeValidSDL)||function(e){var t=St(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}(e);for(var r=[],i=[],o=0,a=e.definitions;o<a.length;o++){var l=a[o];l.kind===q.Kind.SCHEMA_DEFINITION?n=l:Object(Z.d)(l)?r.push(l):l.kind===q.Kind.DIRECTIVE_DEFINITION&&i.push(l)}var u=new qn(t,(function(e){var t=c[e];if(void 0===t)throw new Error('Type \"'.concat(e,'\" not found in document.'));return t})),c=Bn(r,(function(e){return u.buildType(e)})),f=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\"},p=i.map((function(e){return u.buildDirective(e)}));return p.some((function(e){return\"skip\"===e.name}))||p.push(x.e),p.some((function(e){return\"include\"===e.name}))||p.push(x.d),p.some((function(e){return\"deprecated\"===e.name}))||p.push(x.b),new O.a({query:f.query?c[f.query]:null,mutation:f.mutation?c[f.mutation]:null,subscription:f.subscription?c[f.subscription]:null,types:Object(d.a)(c),directives:p,astNode:n,assumeValid:t&&t.assumeValid,allowedLegacyNames:t&&t.allowedLegacyNames})}var Un=Object(Ce.a)(ee.g.concat(k.introspectionTypes),(function(e){return e.name})),qn=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 Un[t]||this._resolveType(t)},t.getWrappedType=function(e){return e.kind===q.Kind.LIST_TYPE?new b.d(this.getWrappedType(e.type)):e.kind===q.Kind.NON_NULL_TYPE?new b.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 x.c({name:e.name.value,description:Hn(e,this._options),locations:n,isRepeatable:e.repeatable,args:Bn(e.arguments||[],(function(e){return t.buildArg(e)})),astNode:e})},t.buildField=function(e){var t=this;return{type:this.getWrappedType(e.type),description:Hn(e,this._options),args:Bn(e.arguments||[],(function(e){return t.buildArg(e)})),deprecationReason:zn(e),astNode:e}},t.buildArg=function(e){var t=this.getWrappedType(e.type);return{type:t,description:Hn(e,this._options),defaultValue:Object(Mt.a)(e.defaultValue,t),astNode:e}},t.buildInputField=function(e){var t=this.getWrappedType(e.type);return{type:t,description:Hn(e,this._options),defaultValue:Object(Mt.a)(e.defaultValue,t),astNode:e}},t.buildEnumValue=function(e){return{description:Hn(e,this._options),deprecationReason:zn(e),astNode:e}},t.buildType=function(e){var t=e.name.value;if(Un[t])return Un[t];switch(e.kind){case q.Kind.OBJECT_TYPE_DEFINITION:return this._makeTypeDef(e);case q.Kind.INTERFACE_TYPE_DEFINITION:return this._makeInterfaceDef(e);case q.Kind.ENUM_TYPE_DEFINITION:return this._makeEnumDef(e);case q.Kind.UNION_TYPE_DEFINITION:return this._makeUnionDef(e);case q.Kind.SCALAR_TYPE_DEFINITION:return this._makeScalarDef(e);case q.Kind.INPUT_OBJECT_TYPE_DEFINITION:return this._makeInputObjectDef(e)}Object(B.a)(!1,\"Unexpected type definition node: \"+Object(m.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 Bn(r,(function(e){return t.buildField(e)}))}:Object.create(null);return new b.f({name:e.name.value,description:Hn(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 Bn(n,(function(e){return t.buildField(e)}))}:Object.create(null);return new b.c({name:e.name.value,description:Hn(e,this._options),fields:r,astNode:e})},t._makeEnumDef=function(e){var t=this,n=e.values||[];return new b.a({name:e.name.value,description:Hn(e,this._options),values:Bn(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 b.h({name:e.name.value,description:Hn(e,this._options),types:r,astNode:e})},t._makeScalarDef=function(e){return new b.g({name:e.name.value,description:Hn(e,this._options),astNode:e})},t._makeInputObjectDef=function(e){var t=this,n=e.fields;return new b.b({name:e.name.value,description:Hn(e,this._options),fields:n?function(){return Bn(n,(function(e){return t.buildInputField(e)}))}:Object.create(null),astNode:e})},e}();function Bn(e,t){return Object(Pn.a)(e,(function(e){return e.name.value}),t)}function zn(e){var t=Bt(x.b,e);return t&&t.reason}function Hn(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===xn.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(Rn.a)(\"\\n\"+n)}}function Kn(e,t){return Vn(Object(a.a)(e,t),t)}var Gn=n(36);function Qn(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 Wn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qn(n,!0).forEach((function(t){Yn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qn(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jn(e,t,n){Object(O.b)(e),t&&t.kind===q.Kind.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST\"),n&&(n.assumeValid||n.assumeValidSDL)||function(e,t){var n=St(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}(t,e);for(var r,i=[],o=Object.create(null),a=[],l=[],u=0,c=t.definitions;u<c.length;u++){var f=c[u];if(f.kind===q.Kind.SCHEMA_DEFINITION)r=f;else if(f.kind===q.Kind.SCHEMA_EXTENSION)l.push(f);else if(Object(Z.d)(f))i.push(f);else if(Object(Z.e)(f)){var h=f.name.value,g=o[h];o[h]=g?g.concat([f]):[f]}else f.kind===q.Kind.DIRECTIVE_DEFINITION&&a.push(f)}if(0===Object.keys(o).length&&0===i.length&&0===a.length&&0===l.length&&!r)return e;for(var v=e.toConfig(),y=new qn(n,(function(e){var t=E[e];if(void 0===t)throw new Error('Unknown type: \"'.concat(e,'\".'));return t})),E=Object(Pn.a)(i,(function(e){return e.name.value}),(function(e){return y.buildType(e)})),w=0,T=v.types;w<T.length;w++){var _=T[w];E[_.name]=Q(_)}var S={query:v.query&&v.query.name,mutation:v.mutation&&v.mutation.name,subscription:v.subscription&&v.subscription.name};if(r)for(var C=0,N=r.operationTypes;C<N.length;C++){var A=N[C],D=A.operation,I=A.type;S[D]=I.name.value}for(var j=0;j<l.length;j++){var L=l[j];if(L.operationTypes)for(var F=0,M=L.operationTypes;F<M.length;F++){var P=M[F],R=P.operation,V=P.type;S[R]=V.name.value}}var U,z=v.allowedLegacyNames.concat(n&&n.allowedLegacyNames||[]);return new O.a({query:G(S.query),mutation:G(S.mutation),subscription:G(S.subscription),types:Object(d.a)(E),directives:(U=e.getDirectives().map(W),U||Object(s.a)(0,\"schema must have default directives\"),U.concat(a.map((function(e){return y.buildDirective(e)})))),astNode:r||v.astNode,extensionASTNodes:v.extensionASTNodes.concat(l),allowedLegacyNames:z});function H(e){return Object(b.J)(e)?new b.d(H(e.ofType)):Object(b.L)(e)?new b.e(H(e.ofType)):K(e)}function K(e){return E[e.name]}function G(e){return e?E[e]:null}function Q(e){return Object(k.isIntrospectionType)(e)||Object(ee.f)(e)?e:Object(b.R)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[];return new b.g(Wn({},t,{extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(b.N)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=p(n,(function(e){return e.interfaces||[]})),i=p(n,(function(e){return e.fields||[]}));return new b.f(Wn({},t,{interfaces:function(){return[].concat(e.getInterfaces().map(K),r.map((function(e){return y.getNamedType(e)})))},fields:function(){return Wn({},Object(Gn.a)(t.fields,Y),{},Object(Pn.a)(i,(function(e){return e.name.value}),(function(e){return y.buildField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(b.H)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=p(n,(function(e){return e.fields||[]}));return new b.c(Wn({},t,{fields:function(){return Wn({},Object(Gn.a)(t.fields,Y),{},Object(Pn.a)(r,(function(e){return e.name.value}),(function(e){return y.buildField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(b.T)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=p(n,(function(e){return e.types||[]}));return new b.h(Wn({},t,{types:function(){return[].concat(e.getTypes().map(K),r.map((function(e){return y.getNamedType(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(b.E)(e)?function(e){var t=e.toConfig(),n=o[e.name]||[],r=p(n,(function(e){return e.values||[]}));return new b.a(Wn({},t,{values:Wn({},t.values,{},Object(Pn.a)(r,(function(e){return e.name.value}),(function(e){return y.buildEnumValue(e)}))),extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):Object(b.F)(e)?function(e){var t=e.toConfig(),n=o[t.name]||[],r=p(n,(function(e){return e.fields||[]}));return new b.b(Wn({},t,{fields:function(){return Wn({},Object(Gn.a)(t.fields,(function(e){return Wn({},e,{type:H(e.type)})})),{},Object(Pn.a)(r,(function(e){return e.name.value}),(function(e){return y.buildInputField(e)})))},extensionASTNodes:t.extensionASTNodes.concat(n)}))}(e):void Object(B.a)(!1,\"Unexpected type: \"+Object(m.a)(e))}function W(e){var t=e.toConfig();return new x.c(Wn({},t,{args:Object(Gn.a)(t.args,J)}))}function Y(e){return Wn({},e,{type:H(e.type),args:Object(Gn.a)(e.args,J)})}function J(e){return Wn({},e,{type:H(e.type)})}}function $n(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 Xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(n,!0).forEach((function(t){Zn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e){var t=e.toConfig(),n=Object(Pn.a)(nr(t.types),(function(e){return e.name}),(function(e){if(Object(b.R)(e)||Object(k.isIntrospectionType)(e))return e;if(Object(b.N)(e)){var t=e.toConfig();return new b.f(Xn({},t,{interfaces:function(){return l(t.interfaces)},fields:function(){return s(t.fields)}}))}if(Object(b.H)(e)){var n=e.toConfig();return new b.c(Xn({},n,{fields:function(){return s(n.fields)}}))}if(Object(b.T)(e)){var i=e.toConfig();return new b.h(Xn({},i,{types:function(){return l(i.types)}}))}if(Object(b.E)(e)){var o=e.toConfig();return new b.a(Xn({},o,{values:tr(o.values)}))}if(Object(b.F)(e)){var a=e.toConfig();return new b.b(Xn({},a,{fields:function(){return tr(a.fields,(function(e){return Xn({},e,{type:r(e.type)})}))}}))}Object(B.a)(!1,\"Unexpected type: \"+Object(m.a)(e))}));return new O.a(Xn({},t,{types:Object(d.a)(n),directives:nr(t.directives).map((function(e){var t=e.toConfig();return new x.c(Xn({},t,{locations:rr(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(b.J)(e)?new b.d(r(e.ofType)):Object(b.L)(e)?new b.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function a(e){return tr(e,(function(e){return Xn({},e,{type:r(e.type)})}))}function s(e){return tr(e,(function(e){return Xn({},e,{type:r(e.type),args:a(e.args)})}))}function l(e){return nr(e).map(i)}}function tr(e,t){for(var n=Object.create(null),r=rr(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 nr(e){return rr(e,(function(e){return e.name}))}function rr(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return r.localeCompare(i)}))}var ir=n(40);function or(e,t){return lr(e,(function(e){return!Object(x.h)(e)}),sr,t)}function ar(e,t){return lr(e,x.h,k.isIntrospectionType,t)}function sr(e){return!Object(ee.f)(e)&&!Object(k.isIntrospectionType)(e)}function lr(e,t,n,r){var i=e.getDirectives().filter(t),o=e.getTypeMap(),a=Object(d.a)(o).sort((function(e,t){return e.name.localeCompare(t.name)})).filter(n);return[ur(e)].concat(i.map((function(e){return function(e,t){return gr(t,e)+\"directive @\"+e.name+dr(t,e.args)+(e.isRepeatable?\" repeatable\":\"\")+\" on \"+e.locations.join(\" | \")}(e,r)})),a.map((function(e){return cr(e,r)}))).filter(Boolean).join(\"\\n\\n\")+\"\\n\"}function ur(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 cr(e,t){return Object(b.R)(e)?function(e,t){return gr(t,e)+\"scalar \".concat(e.name)}(e,t):Object(b.N)(e)?function(e,t){var n=e.getInterfaces(),r=n.length?\" implements \"+n.map((function(e){return e.name})).join(\" & \"):\"\";return gr(t,e)+\"type \".concat(e.name).concat(r)+fr(t,e)}(e,t):Object(b.H)(e)?function(e,t){return gr(t,e)+\"interface \".concat(e.name)+fr(t,e)}(e,t):Object(b.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?\" = \"+n.join(\" | \"):\"\";return gr(t,e)+\"union \"+e.name+r}(e,t):Object(b.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return gr(t,e,\"  \",!n)+\"  \"+e.name+mr(e)}));return gr(t,e)+\"enum \".concat(e.name)+pr(n)}(e,t):Object(b.F)(e)?function(e,t){var n=Object(d.a)(e.getFields()).map((function(e,n){return gr(t,e,\"  \",!n)+\"  \"+hr(e)}));return gr(t,e)+\"input \".concat(e.name)+pr(n)}(e,t):void Object(B.a)(!1,\"Unexpected type: \"+Object(m.a)(e))}function fr(e,t){return pr(Object(d.a)(t.getFields()).map((function(t,n){return gr(e,t,\"  \",!n)+\"  \"+t.name+dr(e,t.args,\"  \")+\": \"+String(t.type)+mr(t)})))}function pr(e){return 0!==e.length?\" {\\n\"+e.join(\"\\n\")+\"\\n}\":\"\"}function dr(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(hr).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return gr(e,t,\"  \"+n,!r)+\"  \"+n+hr(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function hr(e){var t=Object(ir.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(re.a)(t))),n}function mr(e){if(!e.isDeprecated)return\"\";var t=e.deprecationReason,n=Object(ir.a)(t,ee.e);return n&&\"\"!==t&&t!==x.a?\" @deprecated(reason: \"+Object(re.a)(n)+\")\":\" @deprecated\"}function gr(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=yr(t.description,120-n.length);if(e&&e.commentDescriptions)return vr(i,n,r);var o=i.join(\"\\n\"),a=o.length>70,s=Object(Rn.c)(o,\"\",a),l=n&&!r?\"\\n\"+n:n;return l+s.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function vr(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 yr(e,t){var n=e.split(\"\\n\");return p(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 br=n(111);function Er(e,t,n,r){var i=[],o=Pt(e,t,(function(e,t,o){var a=\"Invalid value \"+Object(m.a)(t),s=[].concat(It(r),e);s.length>0&&(a+=' at \"value'.concat(Ft(s),'\"')),i.push(new l.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 wr(e,t){var n=Er(e,t).errors;return n?n.map((function(e){return e.message})):[]}function Tr(e,t){var n=new O.a({}),r={kind:q.Kind.DOCUMENT,definitions:[]},i=new H(n,void 0,e),o=new Ot(n,r,i),a=Ie(o);return Object(u.c)(t,Object(u.e)(i,a)),o.getErrors()}function xr(e){return{kind:\"Document\",definitions:p(e,(function(e){return e.definitions}))}}function kr(e){var t,n=[],r=Object.create(null),i=new Map,o=Object.create(null),a=0;Object(u.c)(e,{OperationDefinition:function(e){t=Or(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),l=0;l<n.length;l++){var c=n[l],f=Or(c),p=Object.create(null);_r(p,o,f);for(var d=[c],h=0,m=Object.keys(p);h<m.length;h++){var g=m[h];d.push(r[g])}d.sort((function(e,t){return(i.get(e)||0)-(i.get(t)||0)})),s[f]={kind:\"Document\",definitions:d}}return s}function Or(e){return e.name?e.name.value:\"\"}function _r(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,_r(e,t,a))}}function Sr(e){var t=\"string\"==typeof e?new bn.a(e):e;if(!(t instanceof bn.a))throw new TypeError(\"Must provide string or Source. Received: \".concat(Object(m.a)(t)));for(var n=t.body,r=Object(Tn.a)(t),i=\"\",o=!1;r.advance().kind!==xn.a.EOF;){var a=r.token,s=a.kind,l=!Object(Tn.b)(a);o&&(l||a.kind===xn.a.SPREAD)&&(i+=\" \");var u=n.slice(a.start,a.end);s===xn.a.BLOCK_STRING?i+=Cr(u):i+=u,o=l}return i}function Cr(e){var t=e.slice(3,-3),n=Object(Rn.a)(t),r=n.split(/\\r\\n|[\\n\\r]/g);Object(Rn.b)(r)>0&&(n=\"\\n\"+n);var i=n[n.length-1];return('\"'===i&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===i)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}function Nr(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 Ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dr=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\"}),Ir=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 jr(e,t){return Fr(e,t).filter((function(e){return e.type in Dr}))}function Lr(e,t){return Fr(e,t).filter((function(e){return e.type in Ir}))}function Fr(e,t){return[].concat(function(e,t){for(var n=[],r=Gr(Object(d.a)(e.getTypeMap()),Object(d.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:Dr.TYPE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var u=l[s],c=u[0],f=u[1];Object(b.E)(c)&&Object(b.E)(f)?n.push.apply(n,Rr(c,f)):Object(b.T)(c)&&Object(b.T)(f)?n.push.apply(n,Pr(c,f)):Object(b.F)(c)&&Object(b.F)(f)?n.push.apply(n,Mr(c,f)):Object(b.N)(c)&&Object(b.N)(f)?n.push.apply(n,Vr(c,f)):Object(b.H)(c)&&Object(b.H)(f)?n.push.apply(n,Ur(c,f)):c.constructor!==f.constructor&&n.push({type:Dr.TYPE_CHANGED_KIND,description:\"\".concat(c.name,\" changed from \")+\"\".concat(Hr(c),\" to \").concat(Hr(f),\".\")})}return n}(e,t),function(e,t){for(var n=[],r=Gr(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:Dr.DIRECTIVE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var u=l[s],c=u[0],f=u[1],p=Gr(c.args,f.args),d=0,h=p.added;d<h.length;d++){var m=h[d];Object(b.P)(m)&&n.push({type:Dr.REQUIRED_DIRECTIVE_ARG_ADDED,description:\"A required arg \".concat(m.name,\" on directive \").concat(c.name,\" was added.\")})}for(var g=0,v=p.removed;g<v.length;g++){var y=v[g];n.push({type:Dr.DIRECTIVE_ARG_REMOVED,description:\"\".concat(y.name,\" was removed from \").concat(c.name,\".\")})}for(var E=0,w=c.locations;E<w.length;E++){var T=w[E];-1===f.locations.indexOf(T)&&n.push({type:Dr.DIRECTIVE_LOCATION_REMOVED,description:\"\".concat(T,\" was removed from \").concat(c.name,\".\")})}}return n}(e,t))}function Mr(e,t){for(var n=[],r=Gr(Object(d.a)(e.getFields()),Object(d.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(b.Q)(a)?n.push({type:Dr.REQUIRED_INPUT_FIELD_ADDED,description:\"A required field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")}):n.push({type:Ir.OPTIONAL_INPUT_FIELD_ADDED,description:\"An optional field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")})}for(var s=0,l=r.removed;s<l.length;s++){var u=l[s];n.push({type:Dr.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(u.name,\" was removed.\")})}for(var c=0,f=r.persisted;c<f.length;c++){var p=f[c],h=p[0],m=p[1];zr(h.type,m.type)||n.push({type:Dr.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(h.name,\" changed type from \")+\"\".concat(String(h.type),\" to \").concat(String(m.type),\".\")})}return n}function Pr(e,t){for(var n=[],r=Gr(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ir.TYPE_ADDED_TO_UNION,description:\"\".concat(a.name,\" was added to union type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var u=l[s];n.push({type:Dr.TYPE_REMOVED_FROM_UNION,description:\"\".concat(u.name,\" was removed from union type \").concat(e.name,\".\")})}return n}function Rr(e,t){for(var n=[],r=Gr(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ir.VALUE_ADDED_TO_ENUM,description:\"\".concat(a.name,\" was added to enum type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var u=l[s];n.push({type:Dr.VALUE_REMOVED_FROM_ENUM,description:\"\".concat(u.name,\" was removed from enum type \").concat(e.name,\".\")})}return n}function Vr(e,t){for(var n=Ur(e,t),r=Gr(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Ir.INTERFACE_ADDED_TO_OBJECT,description:\"\".concat(a.name,\" added to interfaces implemented by \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var u=l[s];n.push({type:Dr.INTERFACE_REMOVED_FROM_OBJECT,description:\"\".concat(e.name,\" no longer implements interface \").concat(u.name,\".\")})}return n}function Ur(e,t){for(var n=[],r=Gr(Object(d.a)(e.getFields()),Object(d.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:Dr.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var u=l[s],c=u[0],f=u[1];n.push.apply(n,qr(e,c,f)),Br(c.type,f.type)||n.push({type:Dr.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(c.name,\" changed type from \")+\"\".concat(String(c.type),\" to \").concat(String(f.type),\".\")})}return n}function qr(e,t,n){for(var r=[],i=Gr(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:Dr.ARG_REMOVED,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(s.name,\" was removed.\")})}for(var l=0,u=i.persisted;l<u.length;l++){var c=u[l],f=c[0],p=c[1];if(zr(f.type,p.type)){if(void 0!==f.defaultValue)if(void 0===p.defaultValue)r.push({type:Ir.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" defaultValue was removed.\")});else{var d=Kr(f.defaultValue,f.type),h=Kr(p.defaultValue,p.type);d!==h&&r.push({type:Ir.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed defaultValue from \").concat(d,\" to \").concat(h,\".\")})}}else r.push({type:Dr.ARG_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed type from \")+\"\".concat(String(f.type),\" to \").concat(String(p.type),\".\")})}for(var m=0,g=i.added;m<g.length;m++){var v=g[m];Object(b.P)(v)?r.push({type:Dr.REQUIRED_ARG_ADDED,description:\"A required arg \".concat(v.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")}):r.push({type:Ir.OPTIONAL_ARG_ADDED,description:\"An optional arg \".concat(v.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")})}return r}function Br(e,t){return Object(b.J)(e)?Object(b.J)(t)&&Br(e.ofType,t.ofType)||Object(b.L)(t)&&Br(e,t.ofType):Object(b.L)(e)?Object(b.L)(t)&&Br(e.ofType,t.ofType):Object(b.K)(t)&&e.name===t.name||Object(b.L)(t)&&Br(e,t.ofType)}function zr(e,t){return Object(b.J)(e)?Object(b.J)(t)&&zr(e.ofType,t.ofType):Object(b.L)(e)?Object(b.L)(t)&&zr(e.ofType,t.ofType)||!Object(b.L)(t)&&zr(e.ofType,t):Object(b.K)(t)&&e.name===t.name}function Hr(e){return Object(b.R)(e)?\"a Scalar type\":Object(b.N)(e)?\"an Object type\":Object(b.H)(e)?\"an Interface type\":Object(b.T)(e)?\"a Union type\":Object(b.E)(e)?\"an Enum type\":Object(b.F)(e)?\"an Input type\":void Object(B.a)(!1,\"Unexpected type: \"+Object(m.a)(e))}function Kr(e,t){var n=Object(ir.a)(e,t);null!=n||Object(B.a)(0);var r=Object(u.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?Nr(n,!0).forEach((function(t){Ar(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nr(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(re.a)(r)}function Gr(e,t){for(var n=[],r=[],i=[],o=Object(Ce.a)(e,(function(e){return e.name})),a=Object(Ce.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],u=a[l.name];void 0===u?r.push(l):i.push([l,u])}for(var c=0;c<t.length;c++){var f=t[c];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function Qr(e,t){var n=[],r=new H(e);return Object(u.c)(t,Object(u.e)(r,{Field:function(e){var t=r.getFieldDef();if(t&&t.isDeprecated){var i=r.getParentType();if(i){var o=t.deprecationReason;n.push(new l.a(\"The field \".concat(i.name,\".\").concat(t.name,\" is deprecated.\")+(o?\" \"+o:\"\"),e))}}},EnumValue:function(e){var t=r.getEnumValue();if(t&&t.isDeprecated){var i=Object(b.A)(r.getInputType());if(i){var o=t.deprecationReason;n.push(new l.a(\"The enum value \".concat(i.name,\".\").concat(t.name,\" is deprecated.\")+(o?\" \"+o:\"\"),e))}}}})),n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(19),i=n(34);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 l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=c(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+c(\" = \",r)+c(\" \",l(i,\" \"))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return l([c(\"\",t,\": \")+n+c(\"(\",l(r,\", \"),\")\"),l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+c(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",c(\"on \",t),l(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(c(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(c(\"\",l(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\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+c(\"(\",l(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 l([\"schema\",l(t,\" \"),u(n)],\" \")},OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,c(\"implements \",l(n,\" & \")),l(r,\" \"),u(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?c(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):c(\"(\",l(n,\", \"),\")\"))+\": \"+r+c(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,c(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"interface\",t,l(n,\" \"),u(r)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),u(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),u(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?c(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):c(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),u(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,c(\"implements \",l(n,\" & \")),l(r,\" \"),u(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend interface\",t,l(n,\" \"),u(r)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),u(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),u(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e,t){return e?e.filter((function(e){return e})).join(t||\"\"):\"\"}function u(e){return e&&0!==e.length?\"{\\n\"+f(l(e,\"\\n\"))+\"\\n}\":\"\"}function c(e,t,n){return t?e+t+(n||\"\"):\"\"}function f(e){return e&&\"  \"+e.replace(/\\n/g,\"\\n  \")}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return e&&e.some(p)}},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\";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){e.exports=n(126)()},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 l})),n.d(t,\"e\",(function(){return u})),n.d(t,\"b\",(function(){return c}));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,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,g=[],v=[],y=e;do{var b=++f===u.length,E=b&&0!==p.length;if(b){if(h=0===v.length?void 0:g[g.length-1],d=m,m=v.pop(),E){if(l)d=d.slice();else{for(var w={},T=0,x=Object.keys(d);T<x.length;T++){var k=x[T];w[k]=d[k]}d=w}for(var O=0,_=0;_<p.length;_++){var S=p[_][0],C=p[_][1];l&&(S-=O),l&&null===C?(d.splice(S,1),O++):d[S]=C}}f=a.index,u=a.keys,p=a.edits,l=a.inArray,a=a.prev}else{if(h=m?l?f:u[f]:void 0,null==(d=m?m[h]:y))continue;m&&g.push(h)}var N=void 0;if(!Array.isArray(d)){if(!s(d))throw new Error(\"Invalid AST Node: \"+Object(r.a)(d));var A=c(t,d.kind,b);if(A){if((N=A.call(t,d,h,m,g,v))===o)break;if(!1===N){if(!b){g.pop();continue}}else if(void 0!==N&&(p.push([h,N]),!b)){if(!s(N)){g.pop();continue}d=N}}}void 0===N&&E&&p.push([h,d]),b?g.pop():(a={inArray:l,index:f,keys:u,edits:p,prev:a},u=(l=Array.isArray(d))?d:n[d.kind]||[],f=-1,p=[],m&&v.push(m),m=d)}while(void 0!==a);return 0!==p.length&&(y=p[p.length-1][1]),y}function s(e){return Boolean(e&&\"string\"==typeof e.kind)}function l(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=c(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=c(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 u(e,t){return{enter:function(n){e.enter(n);var r=c(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=c(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}function c(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\";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\";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){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){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,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(31);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\";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 f})),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!!u(e)}(e))}function l(e){var t=u(e);if(t)return t.call(e)}function u(e){if(null!=e){var t=i&&e[i]||e[\"@@iterator\"];if(\"function\"==typeof t)return t}}function c(e){this._o=e,this._i=0}function f(e,t,n){if(null!=e){if(\"function\"==typeof e.forEach)return e.forEach(t,n);var r=0,i=l(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)}}c.prototype[o]=function(){return this},c.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 p=r&&r.asyncIterator,d=p||\"@@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=p&&e[p]||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(48);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(3);function i(e,t,n){return new r.a(\"Syntax Error: \".concat(n),void 0,e,[t])}},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(35),i=n(8),o=n(2),a=n(24),s=n(6),l=n(33),u=n(17),c=n(27),f=n(9),p=n(11),d=n(0);function h(e){return Object(l.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(u.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||p.i;var t=[this._queryType,this._mutationType,this._subscriptionType,f.__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,l=Object(i.a)(this._typeMap);r<l.length;r++){var c=l[r];if(Object(d.N)(c))for(var h=0,m=c.getInterfaces();h<m.length;h++){var g=m[h];if(Object(d.H)(g)){var b=this._implementations[g.name];b?b.push(c):this._implementations[g.name]=[c]}}}}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 l=s[a];o=v(o=l.args.map((function(e){return e.type})).reduce(v,o),l.type)}if(Object(d.F)(n))for(var u=0,c=Object(i.a)(n.getFields());u<c.length;u++){o=v(o,c[u].type)}return o}function y(e,t){return Object(p.g)(t)?t.args.reduce((function(e,t){return v(e,t.type)}),e):e}Object(c.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 l})),n.d(t,\"g\",(function(){return u})),n.d(t,\"d\",(function(){return c})),n.d(t,\"h\",(function(){return f})),n.d(t,\"e\",(function(){return p}));var r=n(1);function i(e){return o(e)||u(e)||f(e)}function o(e){return e.kind===r.Kind.OPERATION_DEFINITION||e.kind===r.Kind.FRAGMENT_DEFINITION}function a(e){return e.kind===r.Kind.FIELD||e.kind===r.Kind.FRAGMENT_SPREAD||e.kind===r.Kind.INLINE_FRAGMENT}function s(e){return e.kind===r.Kind.VARIABLE||e.kind===r.Kind.INT||e.kind===r.Kind.FLOAT||e.kind===r.Kind.STRING||e.kind===r.Kind.BOOLEAN||e.kind===r.Kind.NULL||e.kind===r.Kind.ENUM||e.kind===r.Kind.LIST||e.kind===r.Kind.OBJECT}function l(e){return e.kind===r.Kind.NAMED_TYPE||e.kind===r.Kind.LIST_TYPE||e.kind===r.Kind.NON_NULL_TYPE}function u(e){return e.kind===r.Kind.SCHEMA_DEFINITION||c(e)||e.kind===r.Kind.DIRECTIVE_DEFINITION}function c(e){return e.kind===r.Kind.SCALAR_TYPE_DEFINITION||e.kind===r.Kind.OBJECT_TYPE_DEFINITION||e.kind===r.Kind.INTERFACE_TYPE_DEFINITION||e.kind===r.Kind.UNION_TYPE_DEFINITION||e.kind===r.Kind.ENUM_TYPE_DEFINITION||e.kind===r.Kind.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.Kind.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.Kind.SCALAR_TYPE_EXTENSION||e.kind===r.Kind.OBJECT_TYPE_EXTENSION||e.kind===r.Kind.INTERFACE_TYPE_EXTENSION||e.kind===r.Kind.UNION_TYPE_EXTENSION||e.kind===r.Kind.ENUM_TYPE_EXTENSION||e.kind===r.Kind.INPUT_OBJECT_TYPE_EXTENSION}},function(e,t,n){\"use strict\";t.a=function(e,t){return e instanceof t}},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(31);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],l=a[1];n[s]=t(l,s)}return n}},function(e,t,n){\"use strict\";e.exports=n(125).GraphiQL},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return p})),n.d(t,\"c\",(function(){return d})),n.d(t,\"b\",(function(){return h}));var r=n(2),i=n(6),o=n(28),a=n(29),s=n(1),l=n(42),u=n(50),c=n(7),f=n(4);function p(e,t){return new m(e,t).parseDocument()}function d(e,t){var n=new m(e,t);n.expectToken(f.a.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(f.a.EOF),r}function h(e,t){var n=new m(e,t);n.expectToken(f.a.SOF);var r=n.parseTypeReference();return n.expectToken(f.a.EOF),r}var m=function(){function e(e,t){var n=\"string\"==typeof e?new l.a(e):e;n instanceof l.a||Object(i.a)(0,\"Must provide Source. Received: \".concat(Object(r.a)(n))),this._lexer=Object(u.a)(n),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(f.a.NAME);return{kind:s.Kind.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:s.Kind.DOCUMENT,definitions:this.many(f.a.SOF,this.parseDefinition,f.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(f.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(f.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(f.a.BRACE_L))return{kind:s.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(f.a.NAME)&&(t=this.parseName()),{kind:s.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(f.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(f.a.PAREN_L,this.parseVariableDefinition,f.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:s.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(f.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(f.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(f.a.DOLLAR),{kind:s.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:s.Kind.SELECTION_SET,selections:this.many(f.a.BRACE_L,this.parseSelection,f.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(f.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(f.a.COLON)?(e=r,t=this.parseName()):t=r,{kind:s.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(f.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(f.a.PAREN_L,t,f.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(f.a.COLON),{kind:s.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:s.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(f.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(f.a.SPREAD);var t=this.expectOptionalKeyword(\"on\");return!t&&this.peek(f.a.NAME)?{kind:s.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:s.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:s.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:s.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 f.a.BRACKET_L:return this.parseList(e);case f.a.BRACE_L:return this.parseObject(e);case f.a.INT:return this._lexer.advance(),{kind:s.Kind.INT,value:t.value,loc:this.loc(t)};case f.a.FLOAT:return this._lexer.advance(),{kind:s.Kind.FLOAT,value:t.value,loc:this.loc(t)};case f.a.STRING:case f.a.BLOCK_STRING:return this.parseStringLiteral();case f.a.NAME:return\"true\"===t.value||\"false\"===t.value?(this._lexer.advance(),{kind:s.Kind.BOOLEAN,value:\"true\"===t.value,loc:this.loc(t)}):\"null\"===t.value?(this._lexer.advance(),{kind:s.Kind.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:s.Kind.ENUM,value:t.value,loc:this.loc(t)});case f.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:s.Kind.STRING,value:e.value,block:e.kind===f.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:s.Kind.LIST,values:this.any(f.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),f.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:s.Kind.OBJECT,fields:this.any(f.a.BRACE_L,(function(){return t.parseObjectField(e)}),f.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(f.a.COLON),{kind:s.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(f.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(f.a.AT),{kind:s.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(f.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(f.a.BRACKET_R),e={kind:s.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(f.a.BANG)?{kind:s.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:s.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===f.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(f.a.STRING)||this.peek(f.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(f.a.BRACE_L,this.parseOperationTypeDefinition,f.a.BRACE_R);return{kind:s.Kind.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(f.a.COLON);var n=this.parseNamedType();return{kind:s.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:s.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:s.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(f.a.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(f.a.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(f.a.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(f.a.BRACE_L)&&this._lexer.lookahead().kind===f.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(f.a.BRACE_L,this.parseFieldDefinition,f.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(f.a.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:s.Kind.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(f.a.PAREN_L,this.parseInputValueDef,f.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(f.a.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(f.a.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:s.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:s.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:s.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(f.a.EQUALS)){this.expectOptionalToken(f.a.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(f.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.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(f.a.BRACE_L,this.parseEnumValueDefinition,f.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:s.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:s.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(f.a.BRACE_L,this.parseInputValueDef,f.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===f.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(f.a.BRACE_L,this.parseOperationTypeDefinition,f.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:s.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:s.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:s.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:s.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:s.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:s.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:s.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(f.a.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword(\"repeatable\");this.expectKeyword(\"on\");var o=this.parseDirectiveLocations();return{kind:s.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(f.a.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(f.a.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==c.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!==f.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===f.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\";n.d(t,\"a\",(function(){return c}));var r=n(8),i=n(21),o=n(2),a=n(16),s=n(25),l=n(1),u=n(0);function c(e,t,n){if(e){if(Object(u.L)(t)){if(e.kind===l.Kind.NULL)return;return c(e,t.ofType,n)}if(e.kind===l.Kind.NULL)return null;if(e.kind===l.Kind.VARIABLE){var p=e.name.value;if(!n||Object(s.a)(n[p]))return;var d=n[p];if(null===d&&Object(u.L)(t))return;return d}if(Object(u.J)(t)){var h=t.ofType;if(e.kind===l.Kind.LIST){for(var m=[],g=0,v=e.values;g<v.length;g++){var y=v[g];if(f(y,n)){if(Object(u.L)(h))return;m.push(null)}else{var b=c(y,h,n);if(Object(s.a)(b))return;m.push(b)}}return m}var E=c(e,h,n);if(Object(s.a)(E))return;return[E]}if(Object(u.F)(t)){if(e.kind!==l.Kind.OBJECT)return;for(var w=Object.create(null),T=Object(i.a)(e.fields,(function(e){return e.name.value})),x=0,k=Object(r.a)(t.getFields());x<k.length;x++){var O=k[x],_=T[O.name];if(_&&!f(_.value,n)){var S=c(_.value,O.type,n);if(Object(s.a)(S))return;w[O.name]=S}else if(void 0!==O.defaultValue)w[O.name]=O.defaultValue;else if(Object(u.L)(O.type))return}return w}if(Object(u.E)(t)){if(e.kind!==l.Kind.ENUM)return;var C=t.getValue(e.value);if(!C)return;return C.value}if(Object(u.R)(t)){var N;try{N=t.parseLiteral(e,n)}catch(e){return}if(Object(s.a)(N))return;return N}Object(a.a)(!1,\"Unexpected input type: \"+Object(o.a)(t))}}function f(e,t){return e.kind===l.Kind.VARIABLE&&(!t||Object(s.a)(t[e.name.value]))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(26),i=n(8),o=n(2),a=n(16),s=n(55),l=n(25),u=n(17),c=n(1),f=n(10),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return n&&n.kind===c.Kind.NULL?null:n}if(null===e)return{kind:c.Kind.NULL};if(Object(l.a)(e))return null;if(Object(p.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:c.Kind.LIST,values:g}}return d(e,m)}if(Object(p.F)(t)){if(!Object(u.a)(e))return null;for(var v=[],y=0,b=Object(i.a)(t.getFields());y<b.length;y++){var E=b[y],w=d(e[E.name],E.type);w&&v.push({kind:c.Kind.OBJECT_FIELD,name:{kind:c.Kind.NAME,value:E.name},value:w})}return{kind:c.Kind.OBJECT,fields:v}}if(Object(p.I)(t)){var T=t.serialize(e);if(Object(s.a)(T))return null;if(\"boolean\"==typeof T)return{kind:c.Kind.BOOLEAN,value:T};if(\"number\"==typeof T){var x=String(T);return h.test(x)?{kind:c.Kind.INT,value:x}:{kind:c.Kind.FLOAT,value:x}}if(\"string\"==typeof T)return Object(p.E)(t)?{kind:c.Kind.ENUM,value:T}:t===f.c&&h.test(T)?{kind:c.Kind.INT,value:T}:{kind:c.Kind.STRING,value:T};throw new TypeError(\"Cannot convert value to AST: \".concat(Object(o.a)(T)))}Object(a.a)(!1,\"Unexpected input type: \"+Object(o.a)(t))}var h=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){\"use strict\";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||\"\",r=e[3];if(!r)return n;if(t&&\"function\"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l=\"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(s),\"/*# \".concat(l,\" */\")),o=r.sources.map((function(e){return\"/*# sourceURL=\".concat(r.sourceRoot||\"\").concat(e,\" */\")}));return[n].concat(o).concat([i]).join(\"\\n\")}var a,s,l;return[n].join(\"\\n\")}(t,e);return t[2]?\"@media \".concat(t[2],\" {\").concat(n,\"}\"):n})).join(\"\")},t.i=function(e,n,r){\"string\"==typeof e&&(e=[[null,e,\"\"]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]=\"\".concat(n,\" and \").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(6),i=n(27),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){var n;n=function(){return this}();try{n=n||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(n=window)}e.exports=n},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 l=e.getLine(o),u=t.exec(l);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,\"gm\");for(var s,l=1,u=n.line,c=e.lastLine();u<=c;){for(var f=0;f<l&&!(u>c);f++){var p=e.getLine(u++);s=null==s?p:s+\"\\n\"+p}l*=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 l(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 u(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var u=e.getLine(o),c=l(u,t,a<0?0:u.length-a);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!o(t))return u(e,t,n);t=i(t,\"gm\");for(var a,s=1,c=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d<s&&f>=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,c);if(m){var g=a.slice(0,m.index).split(\"\\n\"),v=m[0].split(\"\\n\"),y=f+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 f(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 p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var u=o.line,c=o.ch,p=e.lastLine()+1-l.length;u<=p;u++,c=0){var d=e.getLine(u).slice(c),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+c,{from:r(u,f(d,h,m,s)+c),to:r(u,f(d,h,m+l[0].length,s)+c)}}var g=h.length-l[0].length;if(h.slice(g)==l[0]){for(var v=1;v<l.length-1;v++)if(s(e.getLine(u+v))!=l[v])continue e;var y=e.getLine(u+l.length-1),b=s(y),E=l[l.length-1];if(b.slice(0,E.length)==E)return{from:r(u,f(d,h,g,s)+c),to:r(u+l.length-1,f(y,b,E.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var u=o.line,c=o.ch,p=e.firstLine()-1+l.length;u>=p;u--,c=-1){var d=e.getLine(u);c>-1&&(d=d.slice(0,c));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(u,f(d,h,m,s)),to:r(u,f(d,h,m+l[0].length,s))}}var g=l[l.length-1];if(h.slice(0,g.length)==g){var v=1;for(o=u-l.length+1;v<l.length-1;v++)if(s(e.getLine(o+v))!=l[v])continue e;var y=e.getLine(u+1-l.length),b=s(y);if(b.slice(b.length-l[0].length)==l[0])return{from:r(u+1-l.length,f(y,b,y.length-l[0].length,s)),to:r(u,f(d,h,g.length,s))}}}}function h(e,t,n,o){var l;this.atOccurrence=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},\"object\"==typeof o?l=o.caseFold:(l=o,o=null),\"string\"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,l)}):(t=i(t,\"gm\"),o&&!1===o.multiline?this.matches=function(n,r){return(n?u:a)(e,t,r)}:this.matches=function(n,r){return(n?c: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(13))},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,l=this;function u(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var c,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,u)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,u)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,u)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),u()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&u()}))):(c=a.getElementsByTagName(\"button\")[0])&&(e.on(c,\"click\",(function(){u(),l.focus()})),!1!==o.closeOnBlur&&e.on(c,\"blur\",u),c.focus()),u})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,u=this,c=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),u.focus())}s[0].focus();for(var p=0;p<s.length;++p){var d=s[p];!function(t){e.on(d,\"click\",(function(n){e.e_preventDefault(n),f(),t&&t(u)}))}(i[p]),e.on(d,\"blur\",(function(){--c,setTimeout((function(){c<=0&&f()}),200)})),e.on(d,\"focus\",(function(){++c}))}})),e.defineExtension(\"openNotification\",(function(r,i){n(this,u);var o,a=t(this,r,i&&i.bottom),s=!1,l=i&&void 0!==i.duration?i.duration:5e3;function u(){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),u()})),l&&(o=setTimeout(u,l)),u}))}(n(13))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=a(n(5)),i=a(n(18)),o=n(14);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function u(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 c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d,h,m,g=function(e){function t(){return l(this,t),c(this,f(t).apply(this,arguments))}var n,i,a;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e){return this.props.type!==e.type}},{key:\"render\",value:function(){return function e(t,n){return t instanceof o.GraphQLNonNull?r.default.createElement(\"span\",null,e(t.ofType,n),\"!\"):t instanceof o.GraphQLList?r.default.createElement(\"span\",null,\"[\",e(t.ofType,n),\"]\"):r.default.createElement(\"a\",{className:\"type-name\",onClick:function(e){return n(t,e)}},t.name)}(this.props.type,this.props.onClick)}}])&&u(n.prototype,i),a&&u(n,a),t}(r.default.Component);t.default=g,d=g,h=\"propTypes\",m={type:i.default.object,onClick:i.default.func},h in d?Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0,writable:!0}):d[h]=m},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"CharacterStream\",(function(){return r})),n.d(t,\"LexRules\",(function(){return c})),n.d(t,\"ParseRules\",(function(){return f})),n.d(t,\"isIgnored\",(function(){return u})),n.d(t,\"butNot\",(function(){return a})),n.d(t,\"list\",(function(){return o})),n.d(t,\"opt\",(function(){return i})),n.d(t,\"p\",(function(){return l})),n.d(t,\"t\",(function(){return s})),n.d(t,\"onlineParser\",(function(){return m})),n.d(t,\"AdditionalRuleKinds\",(function(){return k})),n.d(t,\"RuleKinds\",(function(){return O}));class r{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;if(\"string\"==typeof e){i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e}else e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]);return!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0===e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function i(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function a(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function l(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}const u=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\" \"===e,c={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:/^#.*/},f={Document:[o(\"Definition\")],Definition(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:[d(\"query\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Mutation:[d(\"mutation\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],Subscription:[d(\"subscription\"),i(h(\"def\")),i(\"VariableDefinitions\"),o(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[l(\"(\"),o(\"VariableDefinition\"),l(\")\")],VariableDefinition:[\"Variable\",l(\":\"),\"Type\",i(\"DefaultValue\")],Variable:[l(\"$\",\"variable\"),h(\"variable\")],DefaultValue:[l(\"=\"),\"Value\"],SelectionSet:[l(\"{\"),o(\"Selection\"),l(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[h(\"property\"),l(\":\"),h(\"qualifier\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Field:[h(\"property\"),i(\"Arguments\"),o(\"Directive\"),i(\"SelectionSet\")],Arguments:[l(\"(\"),o(\"Argument\"),l(\")\")],Argument:[h(\"attribute\"),l(\":\"),\"Value\"],FragmentSpread:[l(\"...\"),h(\"def\"),o(\"Directive\")],InlineFragment:[l(\"...\"),i(\"TypeCondition\"),o(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[d(\"fragment\"),i(a(h(\"def\"),[d(\"on\")])),\"TypeCondition\",o(\"Directive\"),\"SelectionSet\"],TypeCondition:[d(\"on\"),\"NamedType\"],Value(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:[s(\"Number\",\"number\")],StringValue:[s(\"String\",\"string\")],BooleanValue:[s(\"Name\",\"builtin\")],NullValue:[s(\"Name\",\"keyword\")],EnumValue:[h(\"string-2\")],ListValue:[l(\"[\"),o(\"Value\"),l(\"]\")],ObjectValue:[l(\"{\"),o(\"ObjectField\"),l(\"}\")],ObjectField:[h(\"attribute\"),l(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[l(\"[\"),\"Type\",l(\"]\"),i(l(\"!\"))],NonNullType:[\"NamedType\",i(l(\"!\"))],NamedType:[(p=\"atom\",{style:p,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[l(\"@\",\"meta\"),h(\"meta\"),i(\"Arguments\")],SchemaDef:[d(\"schema\"),o(\"Directive\"),l(\"{\"),o(\"OperationTypeDef\"),l(\"}\")],OperationTypeDef:[h(\"keyword\"),l(\":\"),h(\"atom\")],ScalarDef:[d(\"scalar\"),h(\"atom\"),o(\"Directive\")],ObjectTypeDef:[d(\"type\"),h(\"atom\"),i(\"Implements\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],Implements:[d(\"implements\"),o(\"NamedType\")],FieldDef:[h(\"property\"),i(\"ArgumentsDef\"),l(\":\"),\"Type\",o(\"Directive\")],ArgumentsDef:[l(\"(\"),o(\"InputValueDef\"),l(\")\")],InputValueDef:[h(\"attribute\"),l(\":\"),\"Type\",i(\"DefaultValue\"),o(\"Directive\")],InterfaceDef:[d(\"interface\"),h(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"FieldDef\"),l(\"}\")],UnionDef:[d(\"union\"),h(\"atom\"),o(\"Directive\"),l(\"=\"),o(\"UnionMember\",l(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[d(\"enum\"),h(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"EnumValueDef\"),l(\"}\")],EnumValueDef:[h(\"string-2\"),o(\"Directive\")],InputDef:[d(\"input\"),h(\"atom\"),o(\"Directive\"),l(\"{\"),o(\"InputValueDef\"),l(\"}\")],ExtendDef:[d(\"extend\"),\"ObjectTypeDef\"],DirectiveDef:[d(\"directive\"),l(\"@\",\"meta\"),h(\"meta\"),i(\"ArgumentsDef\"),d(\"on\"),o(\"DirectiveLocation\",l(\"|\"))],DirectiveLocation:[h(\"string-2\")]};var p;function d(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function h(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}function m(e={eatWhitespace:e=>e.eatWhile(u),lexRules:c,parseRules:f,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return y(e.parseRules,t,\"Document\"),t},token:(t,n)=>function(e,t,n){const{lexRules:r,parseRules:i,eatWhitespace:o,editorConfig:a}=n;t.rule&&0===t.rule.length?b(t):t.needsAdvance&&(t.needsAdvance=!1,E(t,!0));if(e.sol()){const n=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return\"ws\";const s=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(r,e);if(!s){return e.match(/\\S+/)||e.match(/\\s/),y(v,t,\"Invalid\"),\"invalidchar\"}if(\"Comment\"===s.kind)return y(v,t,\"Comment\"),\"comment\";const l=g({},t);if(\"Punctuation\"===s.kind)if(/^[{([]/.test(s.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\\]]/.test(s.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(s,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&n.separator),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){y(i,t,n);continue}if(n.match&&n.match(s))return n.update&&n.update(t,s),\"Punctuation\"===s.kind?E(t,!0):t.needsAdvance=!0,n.style}T(t)}return g(t,l),y(v,t,\"Invalid\"),\"invalidchar\"}(t,n,e)}}function g(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const v={Invalid:[],Comment:[]};function y(e,t,n){if(!e[n])throw new TypeError(\"Unknown rule: \"+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function b(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 E(e,t){if(w(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)b(e),e.rule&&(w(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function w(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function T(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)b(e);e.rule&&E(e,!1)}var x=n(1);const k={ALIASED_FIELD:\"AliasedField\",ARGUMENTS:\"Arguments\",SHORT_QUERY:\"ShortQuery\",QUERY:\"Query\",MUTATION:\"Mutation\",SUBSCRIPTION:\"Subscription\",TYPE_CONDITION:\"TypeCondition\",INVALID:\"Invalid\",COMMENT:\"Comment\",SCHEMA_DEF:\"SchemaDef\",SCALAR_DEF:\"ScalarDef\",OBJECT_TYPE_DEF:\"ObjectTypeDef\",OBJECT_VALUE:\"ObjectValue\",LIST_VALUE:\"ListValue\",INTERFACE_DEF:\"InterfaceDef\",UNION_DEF:\"UnionDef\",ENUM_DEF:\"EnumDef\",ENUM_VALUE:\"EnumValue\",FIELD_DEF:\"FieldDef\",INPUT_DEF:\"InputDef\",INPUT_VALUE_DEF:\"InputValueDef\",ARGUMENTS_DEF:\"ArgumentsDef\",EXTEND_DEF:\"ExtendDef\",DIRECTIVE_DEF:\"DirectiveDef\"},O=Object.assign(Object.assign({},x.Kind),k)},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 c}));var r=n(28),i=n(29),o=n(34),a=n(4);function s(e,t){var n=new f(a.a.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:l,lookahead:u}}function l(){return this.lastToken=this.token,this.token=this.lookahead()}function u(){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 c(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 f(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 p(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,l=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),u=e.line,c=1+l-e.lineStart;if(l>=s)return new f(a.a.EOF,s,s,u,c,t);var d=r.charCodeAt(l);switch(d){case 33:return new f(a.a.BANG,l,l+1,u,c,t);case 35:return function(e,t,n,r,i){var o,s=e.body,l=t;do{o=s.charCodeAt(++l)}while(!isNaN(o)&&(o>31||9===o));return new f(a.a.COMMENT,t,l,n,r,i,s.slice(t+1,l))}(n,l,u,c,t);case 36:return new f(a.a.DOLLAR,l,l+1,u,c,t);case 38:return new f(a.a.AMP,l,l+1,u,c,t);case 40:return new f(a.a.PAREN_L,l,l+1,u,c,t);case 41:return new f(a.a.PAREN_R,l,l+1,u,c,t);case 46:if(46===r.charCodeAt(l+1)&&46===r.charCodeAt(l+2))return new f(a.a.SPREAD,l,l+3,u,c,t);break;case 58:return new f(a.a.COLON,l,l+1,u,c,t);case 61:return new f(a.a.EQUALS,l,l+1,u,c,t);case 64:return new f(a.a.AT,l,l+1,u,c,t);case 91:return new f(a.a.BRACKET_L,l,l+1,u,c,t);case 93:return new f(a.a.BRACKET_R,l,l+1,u,c,t);case 123:return new f(a.a.BRACE_L,l,l+1,u,c,t);case 124:return new f(a.a.PIPE,l,l+1,u,c,t);case 125:return new f(a.a.BRACE_R,l,l+1,u,c,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,l=t+1,u=0;for(;l!==s&&!isNaN(u=o.charCodeAt(l))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++l;return new f(a.a.NAME,t,l,n,r,i,o.slice(t,l))}(n,l,u,c,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 l=e.body,u=n,c=t,d=!1;45===u&&(u=l.charCodeAt(++c));if(48===u){if((u=l.charCodeAt(++c))>=48&&u<=57)throw Object(i.a)(e,c,\"Invalid number, unexpected digit after 0: \".concat(p(u),\".\"))}else c=h(e,c,u),u=l.charCodeAt(c);46===u&&(d=!0,u=l.charCodeAt(++c),c=h(e,c,u),u=l.charCodeAt(c));69!==u&&101!==u||(d=!0,43!==(u=l.charCodeAt(++c))&&45!==u||(u=l.charCodeAt(++c)),c=h(e,c,u),u=l.charCodeAt(c));if(46===u||69===u||101===u)throw Object(i.a)(e,c,\"Invalid number, expected digit but got: \".concat(p(u),\".\"));return new f(d?a.a.FLOAT:a.a.INT,t,c,r,o,s,l.slice(t,c))}(n,l,d,u,c,t);case 34:return 34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)?function(e,t,n,r,s,l){var u=e.body,c=t+3,d=c,h=0,m=\"\";for(;c<u.length&&!isNaN(h=u.charCodeAt(c));){if(34===h&&34===u.charCodeAt(c+1)&&34===u.charCodeAt(c+2))return m+=u.slice(d,c),new f(a.a.BLOCK_STRING,t,c+3,n,r,s,Object(o.a)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw Object(i.a)(e,c,\"Invalid character within String: \".concat(p(h),\".\"));10===h?(++c,++l.line,l.lineStart=c):13===h?(10===u.charCodeAt(c+1)?c+=2:++c,++l.line,l.lineStart=c):92===h&&34===u.charCodeAt(c+1)&&34===u.charCodeAt(c+2)&&34===u.charCodeAt(c+3)?(m+=u.slice(d,c)+'\"\"\"',d=c+=4):++c}throw Object(i.a)(e,c,\"Unterminated string.\")}(n,l,u,c,t,e):function(e,t,n,r,o){var s=e.body,l=t+1,u=l,c=0,d=\"\";for(;l<s.length&&!isNaN(c=s.charCodeAt(l))&&10!==c&&13!==c;){if(34===c)return d+=s.slice(u,l),new f(a.a.STRING,t,l+1,n,r,o,d);if(c<32&&9!==c)throw Object(i.a)(e,l,\"Invalid character within String: \".concat(p(c),\".\"));if(++l,92===c){switch(d+=s.slice(u,l-1),c=s.charCodeAt(l)){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(l+1),y=s.charCodeAt(l+2),b=s.charCodeAt(l+3),E=s.charCodeAt(l+4),m(v)<<12|m(y)<<8|m(b)<<4|m(E));if(h<0){var g=s.slice(l+1,l+5);throw Object(i.a)(e,l,\"Invalid character escape sequence: \\\\u\".concat(g,\".\"))}d+=String.fromCharCode(h),l+=4;break;default:throw Object(i.a)(e,l,\"Invalid character escape sequence: \\\\\".concat(String.fromCharCode(c),\".\"))}++l,u=l}}var v,y,b,E;throw Object(i.a)(e,l,\"Unterminated string.\")}(n,l,u,c,t)}throw Object(i.a)(n,l,function(e){if(e<32&&9!==e&&10!==e&&13!==e)return\"Cannot contain the invalid character \".concat(p(e),\".\");if(39===e)return\"Unexpected single quote character ('), did you mean to use a double quote (\\\")?\";return\"Cannot parse the unexpected character \".concat(p(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(p(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)(f,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},function(e,t,n){e.exports=n(122)},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};t.getAutocompleteSuggestions=function(e,t,n,r){var o=r||s(t,n),c=\"Invalid\"===o.state.kind?o.state.prevState:o.state;if(!c)return[];var f=c.kind,p=c.step,d=u(e,o.state);if(\"Document\"===f)return(0,a.hintList)(o,[{label:\"query\"},{label:\"mutation\"},{label:\"subscription\"},{label:\"fragment\"},{label:\"{\"}]);if(\"SelectionSet\"===f||\"Field\"===f||\"AliasedField\"===f)return function(e,t,n){if(t.parentType){var r=t.parentType,o=r.getFields instanceof Function?(0,a.objectValues)(r.getFields()):[];return(0,i.isAbstractType)(r)&&o.push(i.TypeNameMetaFieldDef),r===n.getQueryType()&&o.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),(0,a.hintList)(e,o.map((function(e){return{label:e.name,detail:String(e.type),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})))}return[]}(o,d,e);if(\"Arguments\"===f||\"Argument\"===f&&0===p){var h=d.argDefs;if(h)return(0,a.hintList)(o,h.map((function(e){return{label:e.name,detail:String(e.type),documentation:e.description}})))}if((\"ObjectValue\"===f||\"ObjectField\"===f&&0===p)&&d.objectFieldDefs){var m=(0,a.objectValues)(d.objectFieldDefs);return(0,a.hintList)(o,m.map((function(e){return{label:e.name,detail:String(e.type),documentation:e.description}})))}if(\"EnumValue\"===f||\"ListValue\"===f&&1===p||\"ObjectField\"===f&&2===p||\"Argument\"===f&&2===p)return function(e,t){var n=(0,i.getNamedType)(t.inputType);if(n instanceof i.GraphQLEnumType){var r=n.getValues();return(0,a.hintList)(e,r.map((function(e){return{label:e.name,detail:String(n),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}})))}if(n===i.GraphQLBoolean)return(0,a.hintList)(e,[{label:\"true\",detail:String(i.GraphQLBoolean),documentation:\"Not false.\"},{label:\"false\",detail:String(i.GraphQLBoolean),documentation:\"Not true.\"}]);return[]}(o,d);if(\"TypeCondition\"===f&&1===p||\"NamedType\"===f&&null!=c.prevState&&\"TypeCondition\"===c.prevState.kind)return function(e,t,n){var r=void 0;if(t.parentType)if((0,i.isAbstractType)(t.parentType)){var o=(0,i.assertAbstractType)(t.parentType),s=n.getPossibleTypes(o),l=Object.create(null);s.forEach((function(e){e.getInterfaces().forEach((function(e){l[e.name]=e}))})),r=s.concat((0,a.objectValues)(l))}else r=[t.parentType];else{var u=n.getTypeMap();r=(0,a.objectValues)(u).filter(i.isCompositeType)}return(0,a.hintList)(e,r.map((function(e){var t=(0,i.getNamedType)(e);return{label:String(e),documentation:t&&t.description||\"\"}})))}(o,d,e);if(\"FragmentSpread\"===f&&1===p)return function(e,t,n,r){var o=n.getTypeMap(),s=(0,a.getDefinitionState)(e.state),u=function(e){var t=[];return l(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}(r).filter((function(e){return o[e.typeCondition.name.value]&&!(s&&\"FragmentDefinition\"===s.kind&&s.name===e.name.value)&&(0,i.isCompositeType)(t.parentType)&&(0,i.isCompositeType)(o[e.typeCondition.name.value])&&(0,i.doTypesOverlap)(n,t.parentType,o[e.typeCondition.name.value])}));return(0,a.hintList)(e,u.map((function(e){return{label:e.name.value,detail:String(o[e.typeCondition.name.value]),documentation:\"fragment \"+e.name.value+\" on \"+e.typeCondition.name.value}})))}(o,d,e,t);if(\"VariableDefinition\"===f&&2===p||\"ListType\"===f&&1===p||\"NamedType\"===f&&c.prevState&&(\"VariableDefinition\"===c.prevState.kind||\"ListType\"===c.prevState.kind))return function(e,t){var n=t.getTypeMap(),r=(0,a.objectValues)(n).filter(i.isInputType);return(0,a.hintList)(e,r.map((function(e){return{label:e.name,documentation:e.description}})))}(o,e);if(\"Directive\"===f)return 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(0,a.hintList)(e,r.map((function(e){return{label:e.name,documentation:e.description||\"\"}})))}return[]}(o,c,e);return[]},t.getTokenAtPosition=s,t.getTypeInfo=u;var i=n(14),o=n(47),a=n(66);function s(e,t){var n=null,i=null,o=null,a=l(e,(function(e,a,s,l){if(l===t.line&&e.getCurrentPosition()>=t.character)return n=s,i=r({},a),o=e.current(),\"BREAK\"}));return{start:a.start,end:a.end,string:o||a.string,state:i||a.state,style:n||a.style}}function l(e,t){for(var n=e.split(\"\\n\"),r=(0,o.onlineParser)(),i=r.startState(),a=\"\",s=new o.CharacterStream(\"\"),l=0;l<n.length;l++){for(s=new o.CharacterStream(n[l]);!s.eol();){if(\"BREAK\"===t(s,i,a=r.token(s,i),l))break}t(s,i,a,l),i.kind||(i=r.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:i,style:a}}function u(e,t){var n=void 0,r=void 0,o=void 0,s=void 0,l=void 0,u=void 0,c=void 0,f=void 0,p=void 0;return(0,a.forEachState)(t,(function(t){switch(t.kind){case\"Query\":case\"ShortQuery\":p=e.getQueryType();break;case\"Mutation\":p=e.getMutationType();break;case\"Subscription\":p=e.getSubscriptionType();break;case\"InlineFragment\":case\"FragmentDefinition\":t.type&&(p=e.getType(t.type));break;case\"Field\":case\"AliasedField\":p&&t.name?(l=f?(0,a.getFieldDef)(e,f,t.name):null,p=l?l.type:null):l=null;break;case\"SelectionSet\":f=(0,i.getNamedType)(p);break;case\"Directive\":o=t.name?e.getDirective(t.name):null;break;case\"Arguments\":if(t.prevState)switch(t.prevState.kind){case\"Field\":r=l&&l.args;break;case\"Directive\":r=o&&o.args;break;case\"AliasedField\":var d=t.prevState&&t.prevState.name;if(!d){r=null;break}var h=f?(0,a.getFieldDef)(e,f,d):null;if(!h){r=null;break}r=h.args;break;default:r=null}else r=null;break;case\"Argument\":if(r)for(var m=0;m<r.length;m++)if(r[m].name===t.name){n=r[m];break}u=n&&n.type;break;case\"EnumValue\":var g=(0,i.getNamedType)(u);s=g instanceof i.GraphQLEnumType?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=(0,i.getNullableType)(u);u=v instanceof i.GraphQLList?v.ofType:null;break;case\"ObjectValue\":var y=(0,i.getNamedType)(u);c=y instanceof i.GraphQLInputObjectType?y.getFields():null;break;case\"ObjectField\":var b=t.name&&c?c[t.name]:null;u=b&&b.type;break;case\"NamedType\":t.name&&(p=e.getType(t.name))}})),{argDef:n,argDefs:r,directiveDef:o,enumValue:s,fieldDef:l,inputType:u,objectFieldDefs:c,parentType:f,type:p}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(196);Object.defineProperty(t,\"getASTNodeAtPosition\",{enumerable:!0,get:function(){return r.getASTNodeAtPosition}}),Object.defineProperty(t,\"pointToOffset\",{enumerable:!0,get:function(){return r.pointToOffset}});var i=n(94);Object.defineProperty(t,\"Position\",{enumerable:!0,get:function(){return i.Position}}),Object.defineProperty(t,\"Range\",{enumerable:!0,get:function(){return i.Range}}),Object.defineProperty(t,\"locToRange\",{enumerable:!0,get:function(){return i.locToRange}}),Object.defineProperty(t,\"offsetToPosition\",{enumerable:!0,get:function(){return i.offsetToPosition}});var o=n(197);Object.defineProperty(t,\"validateWithCustomRules\",{enumerable:!0,get:function(){return o.validateWithCustomRules}})},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(e){console.error(e)}}}(),e.exports=n(119)},function(e,t,n){\"use strict\";function r(e){return null==e||e!=e}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";e.exports=n(137)},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\";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){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),l=t.ch-1,u=o&&o.afterCursor;null==u&&(u=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var c=i(o),f=!u&&l>=0&&c.test(s.text.charAt(l))&&r[s.text.charAt(l)]||c.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d||null,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,u=s&&s.maxScanLines||1e3,c=[],f=i(s),p=o>0?Math.min(t.line+u,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-u),d=t.line;d!=p;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>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=g;m+=o){var v=h.charAt(m);if(f.test(v)&&(void 0===a||e.getTokenTypeAt(n(d,m+1))==a)){var y=r[v];if(y&&\">\"==y.charAt(1)==o>0)c.push(v);else{if(!c.length)return{pos:n(d,m),ch:v};c.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=[],l=e.listSelections(),u=0;u<l.length;u++){var c=l[u].empty()&&o(e,l[u].head,i);if(c&&e.getLine(c.from.line).length<=a){var f=c.match?\"CodeMirror-matchingbracket\":\"CodeMirror-nonmatchingbracket\";s.push(e.markText(c.from,n(c.from.line,c.from.ch+1),{className:f})),c.to&&e.getLine(c.to.line).length<=a&&s.push(e.markText(c.to,n(c.to.line,c.to.ch+1),{className:f}))}}if(s.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return p;setTimeout(p,800)}}function l(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){function i(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}r&&r!=e.Init&&(t.off(\"cursorActivity\",l),t.off(\"focus\",l),t.off(\"blur\",i),i(t)),n&&(t.state.matchBrackets=\"object\"==typeof n?n:{},t.on(\"cursorActivity\",l),t.on(\"focus\",l),t.on(\"blur\",i))})),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(13))},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\",l),t.off(\"changes\",u),t.off(\"viewportChange\",c),t.off(\"fold\",f),t.off(\"unfold\",f),t.off(\"swapDoc\",u)),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\",l),t.on(\"changes\",u),t.on(\"viewportChange\",c),t.on(\"fold\",f),t.on(\"unfold\",f),t.on(\"swapDoc\",u))}));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,l=n-1,u=e.foldOption(s,\"minFoldSize\"),c=e.foldOption(s,\"rangeFinder\"),f=\"string\"==typeof s.indicatorFolded&&a(s.indicatorFolded),p=\"string\"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++l;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,l)){if(f&&a&&f.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(l,0),h=c&&c(e,d);if(h&&h.to.line-h.from.line>=u){if(p&&a&&p.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 l(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 u(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 c(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 f(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(13),n(194))},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,l=0;;){var u=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=u){if(1==l&&u<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,u+1)),!/^(comment|string)/.test(r))return u+1;s=u-1}else{if(1==l)break;l=1,s=o.length}}}var s=\"{\",l=\"}\",u=a(\"{\");if(null==u&&(s=\"[\",l=\"]\",u=a(\"[\")),null!=u){var c,f,p=1,d=t.lastLine();e:for(var h=i;h<=d;++h)for(var m=t.getLine(h),g=h==i?u:0;;){var v=m.indexOf(s,g),y=m.indexOf(l,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)++p;else if(!--p){c=h,f=g;break e}++g}if(null!=c&&i!=c)return{from:e.Pos(i,u),to:e.Pos(c,f)}}})),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 l=r(s.line+1);if(null==l)break;s=l.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(13))},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(13),n(45))},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\",l=r.ch,u=l,c=i<0?0:o.length,f=0;u!=c;u+=i,f++){var p=o.charAt(i<0?u-1:u),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=u+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&u--,\"W\"==a&&\"w\"==d&&i>0){if(u==l+1){a=\"w\";continue}u--}break}}return n(r.line,u)}(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 l=n(s.line+(r?0:1),0);t.replaceRange(\"\\n\",l,null,\"+insertLine\"),t.indentLine(l.line,null,!0),i.push({head:l,anchor:l}),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 l={anchor:a,head:s};r.push(o),r.push(l)}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,l=t.scanForBracket(s,-1);if(!l)return!1;for(;;){var u=t.scanForBracket(s,1);if(!u)return!1;if(u.ch==\"(){}[]\".charAt(\"(){}[]\".indexOf(l.ch)+1)){var c=n(l.pos.line,l.pos.ch+1);if(0!=e.cmpPos(c,a.from())||0!=e.cmpPos(u.pos,a.to())){i.push({anchor:c,head:u.pos});break}if(!(l=t.scanForBracket(l.pos,-1)))return!1}s=n(u.pos.line,u.pos.ch+1)}}return t.setSelections(i),!0}function l(e){return e?/\\bpunctuation\\b/.test(e)?e:void 0:null}function u(t,r){if(t.isReadOnly())return e.Pass;for(var i,o=t.listSelections(),a=[],s=0;s<o.length;s++){var l=o[s];if(!l.empty()){for(var u=l.from().line,c=l.to().line;s<o.length-1&&o[s+1].from().line==c;)c=o[++s].to().line;o[s].to().ch||c--,a.push(u,c)}}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],l=a[o+1],u=n(s,0),c=n(l),f=t.getRange(u,c,!1);r?f.sort():f.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(f,u,c),i&&e.push({anchor:u,head:n(l+1,0)})}i&&t.setSelections(e,0)}))}function c(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(u=r[s]).empty()?(i.push(s),a.push(\"\")):a.push(n(t.getRange(u.from(),u.to())));var l;for(t.replaceSelections(a,\"around\",\"case\"),s=i.length-1;s>=0;s--){var u=r[i[s]];if(!(l&&e.cmpPos(u.head,l)>0)){var c=o(t,u.head);l=c.from,t.replaceRange(n(c.word),c.from,c.to)}}}))}function f(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 p(e,t){var r=f(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 l=t.getRange(r,i),u=a?new RegExp(\"\\\\b\"+l+\"\\\\b\"):l,c=t.getSearchCursor(u,i),f=c.findNext();if(f||(f=(c=t.getSearchCursor(u,n(t.firstLine(),0))).findNext()),!f||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(),c.from(),c.to()))return;t.addSelection(c.from(),c.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,l(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,l(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 l=r[s],u=l.from().line-1,c=l.to().line;a.push({anchor:n(l.anchor.line-1,l.anchor.ch),head:n(l.head.line-1,l.head.ch)}),0!=l.to().ch||l.empty()||--c,u>o?i.push(u,c):i.length&&(i[i.length-1]=c),o=c}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],l=s.to().line+1,u=s.from().line;0!=s.to().ch||s.empty()||l--,l<o?i.push(l,u):i.length&&(i[i.length-1]=u),o=u}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,l=o.to().line;i<t.length-1&&t[i+1].from().line==l;)l=t[++i].to().line;r.push({start:s,end:l,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],l=s.anchor&&n(s.anchor.line-t,s.anchor.ch),u=s.start;u<=s.end;u++){var c=u-t;u==s.end&&(a=n(c,e.getLine(c).length+1)),c<e.lastLine()&&(e.replaceRange(\" \",n(c),n(c+1,/^\\s*/.exec(e.getLine(c+1))[0].length)),++t)}i.push({anchor:l||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){u(e,!0)},t.sortLinesInsensitive=function(e){u(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 l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,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),l=e.countColumn(s,null,t.getOption(\"tabSize\")),u=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var c=new n(a.line,e.findColumn(s,l-i,i));c.ch!=a.ch&&(u=c)}t.replaceRange(\"\",u,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){c(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){c(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){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(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(13),n(44),n(60))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(66);Object.defineProperty(t,\"getDefinitionState\",{enumerable:!0,get:function(){return r.getDefinitionState}}),Object.defineProperty(t,\"getFieldDef\",{enumerable:!0,get:function(){return r.getFieldDef}}),Object.defineProperty(t,\"forEachState\",{enumerable:!0,get:function(){return r.forEachState}}),Object.defineProperty(t,\"objectValues\",{enumerable:!0,get:function(){return r.objectValues}}),Object.defineProperty(t,\"hintList\",{enumerable:!0,get:function(){return r.hintList}});var i=n(52);Object.defineProperty(t,\"getAutocompleteSuggestions\",{enumerable:!0,get:function(){return i.getAutocompleteSuggestions}});var o=n(67);Object.defineProperty(t,\"LANGUAGE\",{enumerable:!0,get:function(){return o.LANGUAGE}}),Object.defineProperty(t,\"getDefinitionQueryResultForFragmentSpread\",{enumerable:!0,get:function(){return o.getDefinitionQueryResultForFragmentSpread}}),Object.defineProperty(t,\"getDefinitionQueryResultForDefinitionNode\",{enumerable:!0,get:function(){return o.getDefinitionQueryResultForDefinitionNode}});var a=n(68);Object.defineProperty(t,\"getDiagnostics\",{enumerable:!0,get:function(){return a.getDiagnostics}}),Object.defineProperty(t,\"validateQuery\",{enumerable:!0,get:function(){return a.validateQuery}});var s=n(96);Object.defineProperty(t,\"getOutline\",{enumerable:!0,get:function(){return s.getOutline}});var l=n(69);Object.defineProperty(t,\"getHoverInformation\",{enumerable:!0,get:function(){return l.getHoverInformation}});var u=n(97);Object.defineProperty(t,\"GraphQLLanguageService\",{enumerable:!0,get:function(){return u.GraphQLLanguageService}})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getDefinitionState=function(e){var t=void 0;return o(e,(function(e){switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}})),t},t.getFieldDef=function(e,t,n){if(n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t)return i.SchemaMetaFieldDef;if(n===i.TypeMetaFieldDef.name&&e.getQueryType()===t)return i.TypeMetaFieldDef;if(n===i.TypeNameMetaFieldDef.name&&(0,r.isCompositeType)(t))return i.TypeNameMetaFieldDef;if(t.getFields&&\"function\"==typeof t.getFields)return t.getFields()[n];return null},t.forEachState=o,t.objectValues=function(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},t.hintList=function(e,t){return function(e,t){if(!t)return a(e,(function(e){return!e.isDeprecated}));return a(a(e.map((function(e){return{proximity:l(s(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,s(e.string))};var r=n(14),i=n(9);function o(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 a(e,t){var n=e.filter(t);return 0===n.length?e:n}function s(e){return e.toLowerCase().replace(/\\W/g,\"\")}function l(e,t){var n=function(e,t){var n=void 0,r=void 0,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}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.LANGUAGE=void 0,t.getDefinitionQueryResultForNamedType=function(e,t,n){var r,i,o;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:if(r=t.name.value,0!==(i=n.filter((function(e){var t=e.definition;return t.name&&t.name.value===r}))).length){a.next=5;break}return(!1).stderr.write(\"Definition not found for GraphQL type \"+r),a.abrupt(\"return\",{queryRange:[],definitions:[]});case 5:return o=i.map((function(e){return f(e.filePath||\"\",e.content,e.definition)})),a.abrupt(\"return\",{definitions:o,queryRange:o.map((function(n){return l(e,t)}))});case 7:case\"end\":return a.stop()}}),null,this)},t.getDefinitionQueryResultForFragmentSpread=function(e,t,n){var r,i,o;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:if(r=t.name.value,0!==(i=n.filter((function(e){return e.definition.name.value===r}))).length){a.next=5;break}return(!1).stderr.write(\"Definition not found for GraphQL fragment \"+r),a.abrupt(\"return\",{queryRange:[],definitions:[]});case 5:return o=i.map((function(e){return c(e.filePath||\"\",e.content,e.definition)})),a.abrupt(\"return\",{definitions:o,queryRange:o.map((function(n){return l(e,t)}))});case 7:case\"end\":return a.stop()}}),null,this)},t.getDefinitionQueryResultForDefinitionNode=function(e,t,n){return{definitions:[c(e,t,n)],queryRange:n.name?[l(t,n.name)]:[]}};var r,i=n(53),o=n(95),a=(r=o)&&r.__esModule?r:{default:r};var s=t.LANGUAGE=\"GraphQL\";function l(e,t){var n=t.loc;return(0,a.default)(n,\"Expected ASTNode to have a location.\"),(0,i.locToRange)(e,n)}function u(e,t){var n=t.loc;return(0,a.default)(n,\"Expected ASTNode to have a location.\"),(0,i.offsetToPosition)(e,n.start)}function c(e,t,n){var r=n.name;return(0,a.default)(r,\"Expected ASTNode to have a Name.\"),{path:e,position:u(t,n),range:l(t,n),name:r.value||\"\",language:s,projectRoot:e}}function f(e,t,n){var r=n.name;return(0,a.default)(r,\"Expected ASTNode to have a Name.\"),{path:e,position:u(t,n),range:l(t,n),name:r.value||\"\",language:s,projectRoot:e}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.SEVERITY=void 0,t.getDiagnostics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],i=null;try{i=(0,a.parse)(e)}catch(t){var o=d(t.locations[0],e);return[{severity:u.ERROR,message:t.message,source:\"GraphQL: Syntax\",range:o}]}return c(i,t,n,r)},t.validateQuery=c,t.getRange=d;var r,i=n(95),o=(r=i)&&r.__esModule?r:{default:r},a=n(14),s=n(47),l=n(53);var u=t.SEVERITY={ERROR:1,WARNING:2,INFORMATION:3,HINT:4};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3];if(!t)return[];var i=f((0,l.validateWithCustomRules)(t,e,n,r),(function(e){return p(e,u.ERROR,\"Validation\")})),o=a.findDeprecatedUsages?f((0,a.findDeprecatedUsages)(t,e),(function(e){return p(e,u.WARNING,\"Deprecation\")})):[];return i.concat(o)}function f(e,t){return Array.prototype.concat.apply([],e.map(t))}function p(e,t,n){return e.nodes?e.nodes.map((function(r){var i=\"Variable\"!==r.kind&&r.name?r.name:r.variable?r.variable:r;(0,o.default)(e.locations,\"GraphQL validation error requires locations.\");var a=e.locations[0],s=function(e){var t=e.loc;return(0,o.default)(t,\"Expected ASTNode to have a location.\"),t}(i),u=a.column+(s.end-s.start);return{source:\"GraphQL: \"+n,message:e.message,severity:t,range:new l.Range(new l.Position(a.line-1,a.column-1),new l.Position(a.line-1,u))}})):[]}function d(e,t){var n=(0,s.onlineParser)(),r=n.startState(),i=t.split(\"\\n\");(0,o.default)(i.length>=e.line,\"Query text must have more lines than where the error happened\");for(var a=null,u=0;u<e.line;u++)for(a=new s.CharacterStream(i[u]);!a.eol();){if(\"invalidchar\"===n.token(a,r))break}(0,o.default)(a,\"Expected Parser stream to be available.\");var c=e.line-1,f=a.getStartOfToken(),p=a.getCurrentPosition();return new l.Range(new l.Position(c,f),new l.Position(c,p))}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getHoverInformation=function(e,t,n,i){var f=i||(0,r.getTokenAtPosition)(t,n);if(!e||!f||!f.state)return[];var p=f.state,d=p.kind,h=p.step,m=(0,r.getTypeInfo)(e,f.state),g={schema:e};if(\"Field\"===d&&0===h&&m.fieldDef||\"AliasedField\"===d&&2===h&&m.fieldDef){var v=[];return function(e,t,n){o(e,t,n),s(e,t,n,t.type)}(v,m,g),u(v,g,m.fieldDef),v.join(\"\").trim()}if(\"Directive\"===d&&1===h&&m.directiveDef){var y=[];return a(y,m,g),u(y,g,m.directiveDef),y.join(\"\").trim()}if(\"Argument\"===d&&0===h&&m.argDef){var b=[];return function(e,t,n){t.directiveDef?a(e,t,n):t.fieldDef&&o(e,t,n);if(!t.argDef)return;var r=t.argDef.name;c(e,\"(\"),c(e,r),s(e,t,n,t.inputType),c(e,\")\")}(b,m,g),u(b,g,m.argDef),b.join(\"\").trim()}if(\"EnumValue\"===d&&m.enumValue&&m.enumValue.description){var E=[];return function(e,t,n){if(!t.enumValue)return;var r=t.enumValue.name;l(e,t,n,t.inputType),c(e,\".\"),c(e,r)}(E,m,g),u(E,g,m.enumValue),E.join(\"\").trim()}if(\"NamedType\"===d&&m.type&&m.type.description){var w=[];return l(w,m,g,m.type),u(w,g,m.type),w.join(\"\").trim()}};var r=n(52),i=n(14);function o(e,t,n){if(t.fieldDef){var r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(l(e,t,n,t.parentType),c(e,\".\")),c(e,r)}}function a(e,t,n){t.directiveDef&&c(e,\"@\"+t.directiveDef.name)}function s(e,t,n,r){c(e,\": \"),l(e,t,n,r)}function l(e,t,n,r){r&&(r instanceof i.GraphQLNonNull?(l(e,t,n,r.ofType),c(e,\"!\")):r instanceof i.GraphQLList?(c(e,\"[\"),l(e,t,n,r.ofType),c(e,\"]\")):c(e,r.name))}function u(e,t,n){if(n){var r=\"string\"==typeof n.description?n.description:null;r&&(c(e,\"\\n\\n\"),c(e,r)),function(e,t,n){if(!n)return;var r=\"string\"==typeof n.deprecationReason?n.deprecationReason:null;if(!r)return;c(e,\"\\n\\n\"),c(e,\"Deprecated: \"),c(e,r)}(e,0,n)}}function c(e,t){e.push(t)}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=l;var r=s(n(5)),i=s(n(18)),o=s(n(46)),a=s(n(103));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.arg,n=e.onClickType,i=e.showDefaultValue;return r.default.createElement(\"span\",{className:\"arg\"},r.default.createElement(\"span\",{className:\"arg-name\"},t.name),\": \",r.default.createElement(o.default,{type:t.type,onClick:n}),!1!==i&&r.default.createElement(a.default,{field:t}))}l.propTypes={arg:i.default.object.isRequired,onClickType:i.default.func.isRequired,showDefaultValue:i.default.bool}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=o(n(5)),i=o(n(18));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){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 u(e,t){return!t||\"object\"!==a(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 c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p,d,h,m=new(o(n(56)).default),g=function(e){function t(){return s(this,t),u(this,c(t).apply(this,arguments))}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e){return this.props.markdown!==e.markdown}},{key:\"render\",value:function(){var e=this.props.markdown;return e?r.default.createElement(\"div\",{className:this.props.className,dangerouslySetInnerHTML:{__html:m.render(e)}}):r.default.createElement(\"div\",null)}}])&&l(n.prototype,i),o&&l(n,o),t}(r.default.Component);t.default=g,p=g,d=\"propTypes\",h={markdown:i.default.string,className:i.default.string},d in p?Object.defineProperty(p,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):p[d]=h},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(3),i=n(1),o=n(32);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 l=s[n];Object(o.b)(l)||e.reportError(new r.a(a(l.kind===i.Kind.SCHEMA_DEFINITION||l.kind===i.Kind.SCHEMA_EXTENSION?\"schema\":l.name.value),l))}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(3);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(3);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],l=0,u=e.getRecursivelyReferencedFragments(s);l<u.length;l++){o[u[l].name.value]=!0}for(var c=0;c<n.length;c++){var f=n[c],p=f.name.value;!0!==o[p]&&e.reportError(new r.a(i(p),f))}}}}}},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)}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.storage=t||window.localStorage}var t,n,i;return t=e,(n=[{key:\"get\",value:function(e){if(this.storage){var t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"!==t&&\"undefined\"!==t)return t;this.storage.removeItem(\"graphiql:\"+e)}}},{key:\"set\",value:function(e,t){if(this.storage){var n=\"graphiql:\".concat(e);t?function(e,t,n){try{return e.setItem(t,n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}}(this.storage,n,t)&&this.storage.setItem(n,t):this.storage.removeItem(n)}}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,l,\"next\",e)}function l(e){n(a,i,o,s,l,\"throw\",e)}s(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\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(49);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,l=t.line+o,u=1===t.line?n:0,c=t.column+u,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(c,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(c/80),m=c%80,g=[],v=0;v<d.length;v+=80)g.push(d.slice(v,v+80));return f+a([[\"\".concat(l),g[0]]].concat(g.slice(1,h+1).map((function(e){return[\"\",e]})),[[\" \",s(m-1)+\"^\"],[\"\",g[h+1]]]))}return f+a([[\"\".concat(l-1),p[i-1]],[\"\".concat(l),d],[\"\",s(c-1)+\"^\"],[\"\".concat(l+1),p[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\";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],u=n[l]||0,c=\"\".concat(l,\" \").concat(u);n[l]=u+1;var f=s(c),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:c,updater:g(p,t),references:1}),r.push(c)}return r}function u(e){var t=document.createElement(\"style\"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),\"function\"==typeof e.insert)e.insert(t);else{var a=o(e.insert||\"head\");if(!a)throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");a.appendChild(t)}return t}var c,f=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join(\"\\n\")});function p(e,t,n,r){var i=n?\"\":r.media?\"@media \".concat(r.media,\" {\").concat(r.css,\"}\"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function d(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute(\"media\",i):e.removeAttribute(\"media\"),o&&btoa&&(r+=\"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o)))),\" */\")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function g(e,t){var n,r,i;if(t.singleton){var o=m++;n=h||(h=u(t)),r=p.bind(null,n,o,!1),i=p.bind(null,n,o,!0)}else n=u(t),r=d.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||\"boolean\"==typeof t.singleton||(t.singleton=i());var n=l(e=e||[],t);return function(e){if(e=e||[],\"[object Array]\"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(e,t),u=0;u<n.length;u++){var c=s(n[u]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=o}}}},function(e,t,n){\"use strict\";\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==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(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){\"use strict\";e.exports=n(138)},function(e,t,n){\"use strict\";e.exports.encode=n(139),e.exports.decode=n(140),e.exports.format=n(141),e.exports.parse=n(142)},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,l=e.delimiters.length;for(t=0;t<l;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\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t,r){var a,s;n(13).on(t,\"select\",(function(e,t){if(!a){var n,l=t.parentNode;(a=document.createElement(\"div\")).className=\"CodeMirror-hint-information\",l.appendChild(a),(s=document.createElement(\"div\")).className=\"CodeMirror-hint-deprecation\",l.appendChild(s),l.addEventListener(\"DOMNodeRemoved\",n=function(e){e.target===l&&(l.removeEventListener(\"DOMNodeRemoved\",n),a=null,s=null,n=null)})}var u=e.description?o.render(e.description):\"Self descriptive.\",c=e.type?'<span class=\"infoType\">'+function e(t){if(t instanceof i.GraphQLNonNull)return\"\".concat(e(t.ofType),\"!\");if(t instanceof i.GraphQLList)return\"[\".concat(e(t.ofType),\"]\");return'<a class=\"typeName\">'.concat(t.name,\"</a>\")}(e.type)+\"</span>\":\"\";if(a.innerHTML='<div class=\"content\">'+(\"<p>\"===u.slice(0,3)?\"<p>\"+c+u.slice(3):c+u)+\"</div>\",e.isDeprecated){var f=e.deprecationReason?o.render(e.deprecationReason):\"\";s.innerHTML='<span class=\"deprecation-label\">Deprecated</span>'+f,s.style.display=\"block\"}else s.style.display=\"none\";r&&r(a)}))};var r,i=n(14);var o=new(((r=n(56))&&r.__esModule?r:{default:r}).default)},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 l)i[o]=l[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,l=s.defaultView||s.parentWindow,u=this.hints=s.createElement(\"ul\"),c=t.cm.options.theme;u.className=\"CodeMirror-hints \"+c,this.selectedHint=n.selectedHint||0;for(var f=n.list,p=0;p<f.length;++p){var d=u.appendChild(s.createElement(\"li\")),h=f[p],m=\"CodeMirror-hint\"+(p!=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=p}var g=t.options.container||s.body,v=a.cursorCoords(t.options.alignWithWord?n.from:null),y=v.left,b=v.bottom,E=!0,w=0,T=0;if(g!==s.body){var x=-1!==[\"absolute\",\"relative\",\"fixed\"].indexOf(l.getComputedStyle(g).position)?g:g.offsetParent,k=x.getBoundingClientRect(),O=s.body.getBoundingClientRect();w=k.left-O.left-x.scrollLeft,T=k.top-O.top-x.scrollTop}u.style.left=y-w+\"px\",u.style.top=b-T+\"px\";var _=l.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),S=l.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);g.appendChild(u);var C=u.getBoundingClientRect(),N=C.bottom-S,A=u.scrollHeight>u.clientHeight+1,D=a.getScrollInfo();if(N>0){var I=C.bottom-C.top;if(v.top-(v.bottom-C.top)-I>0)u.style.top=(b=v.top-I-T)+\"px\",E=!1;else if(I>S){u.style.height=S-5+\"px\",u.style.top=(b=v.bottom-C.top-T)+\"px\";var j=a.getCursor();n.from.ch!=j.ch&&(v=a.cursorCoords(j),u.style.left=(y=v.left-w)+\"px\",C=u.getBoundingClientRect())}}var L,F=C.right-_;if(F>0&&(C.right-C.left>_&&(u.style.width=_-5+\"px\",F-=C.right-C.left-_),u.style.left=(y=v.left-F-w)+\"px\"),A)for(var M=u.firstChild;M;M=M.nextSibling)M.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:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){L=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(L)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+D.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(E||(i+=u.offsetHeight),i<=n.top||i>=n.bottom)return t.close();u.style.top=r+\"px\",u.style.left=y+D.left-e.left+\"px\"}),e.on(u,\"dblclick\",(function(e){var t=o(u,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(u,\"click\",(function(e){var n=o(u,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(u,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],u.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.completion.options.scrollMargin||0,t=this.hints.childNodes[Math.max(0,this.selectedHint-e)],n=this.hints.childNodes[Math.min(this.data.list.length-1,this.selectedHint+e)],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.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 l=[],u=0;u<n.words.length;u++){var c=n.words[u];c.slice(0,r.length)==r&&l.push(c)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var l={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(13))},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 c=l(t,a[u].head);if(!c||o.indexOf(c)%2!=0)return e.Pass}for(u=a.length-1;u>=0;u--){var f=a[u].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.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=l(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\"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var c,f=r(o,\"closeBefore\"),p=r(o,\"triples\"),d=a.charAt(l+1)==i,h=t.listSelections(),m=l%2==0,g=0;g<h.length;g++){var v,y=h[g],b=y.head,E=t.getRange(b,n(b.line,b.ch+1));if(m&&!y.empty())v=\"surround\";else if(!d&&m||E!=i)if(d&&b.ch>1&&p.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;v=\"addFour\"}else if(d){var w=0==b.ch?\" \":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(E)||w==i||e.isWordChar(w))return e.Pass;v=\"both\"}else{if(!m||!(0===E.length||/\\s/.test(E)||f.indexOf(E)>-1))return e.Pass;v=\"both\"}else v=d&&u(t,b)?\"both\":p.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?\"skipThree\":\"skip\";if(c){if(c!=v)return e.Pass}else c=v}var T=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);t.operation((function(){if(\"skip\"==c)t.execCommand(\"goCharRight\");else if(\"skipThree\"==c)for(var r=0;r<3;r++)t.execCommand(\"goCharRight\");else if(\"surround\"==c){var i=t.getSelections();for(r=0;r<i.length;r++)i[r]=T+i[r]+x;for(t.replaceSelections(i,\"around\"),i=t.listSelections().slice(),r=0;r<i.length;r++)i[r]=(o=i[r],a=void 0,a=e.cmpPos(o.anchor,o.head)>0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(i)}else\"both\"==c?(t.replaceSelection(T+x,null),t.triggerElectric(T+x),t.execCommand(\"goCharLeft\")):\"addFour\"==c&&(t.replaceSelection(T+T+T+T,\"before\"),t.execCommand(\"goCharRight\"));var o,a}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(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 u(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(13))},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(e){}else e=a(e);return(\"string\"==typeof e?\"\"==e:e.test(\"\"))&&(e=/x^/),e}function l(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 u(t,r,i,a){var s=n(t);if(s.query)return c(t,r);var u=t.getSelection()||s.lastQuery;if(u instanceof RegExp&&\"x^\"==u.source&&(u=null),i&&t.openDialog){var d=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(l(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),c(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(){f(e)},onKeyDown:i})}(t,p(t),u,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),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&u&&(l(t,s,u),c(t,r))}else o(t,p(t),\"Search for:\",u,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),c(t,r)}))}))}function c(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 f(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 p(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,l='<span class=\"CodeMirror-search-label\">'+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"</span>\";o(e,l+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),l,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{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.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(){l(t)},s,function(){d(e,n,r)}]))},l=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){f(e),u(e)},e.commands.findPersistent=function(e){f(e),u(e,!1,!0)},e.commands.findPersistentNext=function(e){u(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){u(e,!0,!0,!0)},e.commands.findNext=u,e.commands.findPrev=function(e){u(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(13),n(44),n(45))},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 l=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(l)}),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,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),u=[],c=0;c<l.length;++c){var f=l[c].__annotation;f&&u.push(f)}u.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var l=t[a];o.appendChild(s(l))}r(e,n,o,i)}(e,u,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\"),l=s;return s.className=\"CodeMirror-lint-marker-\"+i,o&&((l=s.appendChild(document.createElement(\"div\"))).className=\"CodeMirror-lint-marker-multiple\"),0!=a&&e.on(l,\"mouseover\",(function(e){r(t,e,n,l)})),s}function s(e){var t=e.severity;t||(t=\"error\");var n=document.createElement(\"div\");return n.className=\"CodeMirror-lint-message-\"+t,void 0!==e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function l(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(){u(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(){u(t,e)}))})):t.operation((function(){u(t,o)}))}}function u(e,n){o(e);for(var r,i,l=e.state.lint,u=l.options,c=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),f=0;f<c.length;++f){var p=c[f];if(p){for(var d=null,h=l.hasGutter&&document.createDocumentFragment(),m=0;m<p.length;++m){var g=p[m],v=g.severity;v||(v=\"error\"),i=v,d=\"error\"==(r=d)?r:i,u.formatAnnotation&&(g=u.formatAnnotation(g)),l.hasGutter&&h.appendChild(s(g)),g.to&&l.marked.push(e.markText(g.from,g.to,{className:\"CodeMirror-lint-mark-\"+v,__annotation:g}))}l.hasGutter&&e.setGutterMarker(f,t,a(e,h,d,p.length>1,l.options.tooltips))}}u.onUpdateLinting&&u.onUpdateLinting(n,c,e)}function c(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(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\",c),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\"),u=!1,f=0;f<s.length;++f)s[f]==t&&(u=!0);var p=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),u);!1!==p.options.lintOnChange&&n.on(\"change\",c),0!=p.options.tooltips&&\"gutter\"!=p.options.tooltips&&e.on(n.getWrapperElement(),\"mouseover\",p.onMouseOver),l(n)}var d})),e.defineExtension(\"performLint\",(function(){this.state.lint&&l(this)}))}(n(13))},function(e,t,n){\"use strict\";function r(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}Object.defineProperty(t,\"__esModule\",{value:!0}),t.offsetToPosition=a,t.locToRange=function(e,t){var n=a(e,t.start),r=a(e,t.end);return new i(n,r)};var i=t.Range=function(){function e(t,n){var i=this;r(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 e.prototype.setStart=function(e,t){this.start=new o(e,t)},e.prototype.setEnd=function(e,t){this.end=new o(e,t)},e}(),o=t.Position=function(){function e(t,n){var i=this;r(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 e.prototype.setLine=function(e){this.line=e},e.prototype.setCharacter=function(e){this.character=e},e}();function a(e,t){var n=e.slice(0,t),r=n.split(\"\\n\").length-1,i=n.lastIndexOf(\"\\n\");return new o(r,t-i-1)}},function(e,t,n){\"use strict\";(function(t){var r=n(198);\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * @license  MIT\n */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(199),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=\"foo\"===function(){}.name;function c(e){return Object.prototype.toString.call(e)}function f(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 p=e.exports=y,d=/\\s*function\\s+([^\\(\\s]*)\\s*/;function h(e){if(a.isFunction(e)){if(u)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(u||!a.isFunction(e))return a.inspect(e);var t=h(e);return\"[Function\"+(t?\": \"+t:\"\")+\"]\"}function v(e,t,n,r,i){throw new p.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||v(e,!0,t,\"==\",p.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(f(e)&&f(t)&&c(e)===c(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||null==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=E(e),o=E(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),b(e,t,n);var s,u,c=x(e),f=x(t);if(c.length!==f.length)return!1;for(c.sort(),f.sort(),u=c.length-1;u>=0;u--)if(c[u]!==f[u])return!1;for(u=c.length-1;u>=0;u--)if(s=c[u],!b(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function E(e){return\"[object Arguments]\"==Object.prototype.toString.call(e)}function w(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(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function T(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(e){t=e}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&&w(i,n)||s)&&v(i,n,\"Got unwanted exception\"+r),e&&i&&n&&!w(i,n)||!e&&i)throw i}p.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(p.AssertionError,Error),p.fail=v,p.ok=y,p.equal=function(e,t,n){e!=t&&v(e,t,n,\"==\",p.equal)},p.notEqual=function(e,t,n){e==t&&v(e,t,n,\"!=\",p.notEqual)},p.deepEqual=function(e,t,n){b(e,t,!1)||v(e,t,n,\"deepEqual\",p.deepEqual)},p.deepStrictEqual=function(e,t,n){b(e,t,!0)||v(e,t,n,\"deepStrictEqual\",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){b(e,t,!1)&&v(e,t,n,\"notDeepEqual\",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&v(t,n,r,\"notDeepStrictEqual\",e)},p.strictEqual=function(e,t,n){e!==t&&v(e,t,n,\"===\",p.strictEqual)},p.notStrictEqual=function(e,t,n){e===t&&v(e,t,n,\"!==\",p.notStrictEqual)},p.throws=function(e,t,n){T(!0,e,t,n)},p.doesNotThrow=function(e,t,n){T(!1,e,t,n)},p.ifError=function(e){if(e)throw e},p.strict=r((function e(t,n){t||v(t,!0,n,\"==\",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}}).call(this,n(43))},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};t.getOutline=function(e){var t=void 0;try{t=(0,i.parse)(e)}catch(e){return null}var n=(u=e,c=function(e){return{representativeName:e.name,startPosition:(0,o.offsetToPosition)(u,e.loc.start),endPosition:(0,o.offsetToPosition)(u,e.loc.end),children:e.selectionSet||[]}},{Field:function(e){var t=e.alias?[l(\"plain\",e.alias),l(\"plain\",\": \")]:[];return t.push(l(\"plain\",e.name)),r({tokenizedText:t},c(e))},OperationDefinition:function(e){return r({tokenizedText:[l(\"keyword\",e.operation),l(\"whitespace\",\" \"),l(\"class-name\",e.name)]},c(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,i):n.push(i)}return n}(e.selections,(function(e){return e.kind===a?e.selectionSet:e}))},Name:function(e){return e.value},FragmentDefinition:function(e){return r({tokenizedText:[l(\"keyword\",\"fragment\"),l(\"whitespace\",\" \"),l(\"class-name\",e.name)]},c(e))},FragmentSpread:function(e){return r({tokenizedText:[l(\"plain\",\"...\"),l(\"class-name\",e.name)]},c(e))},InlineFragment:function(e){return e.selectionSet}});var u,c;return{outlineTrees:(0,i.visit)(t,{leave:function(e){return s.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null}})}};var i=n(14),o=n(53),a=i.Kind.INLINE_FRAGMENT,s={Field:!0,OperationDefinition:!0,Document:!0,SelectionSet:!0,Name:!0,FragmentDefinition:!0,FragmentSpread:!0,InlineFragment:!0};function l(e,t){return{kind:e,value:t}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.GraphQLLanguageService=void 0;var r=n(14),i=n(52),o=n(69),a=n(68),s=n(67),l=n(53);var u=r.Kind.FRAGMENT_DEFINITION,c=r.Kind.OBJECT_TYPE_DEFINITION,f=r.Kind.INTERFACE_TYPE_DEFINITION,p=r.Kind.ENUM_TYPE_DEFINITION,d=r.Kind.UNION_TYPE_DEFINITION,h=r.Kind.SCALAR_TYPE_DEFINITION,m=r.Kind.INPUT_OBJECT_TYPE_DEFINITION,g=r.Kind.SCALAR_TYPE_EXTENSION,v=r.Kind.OBJECT_TYPE_EXTENSION,y=r.Kind.INTERFACE_TYPE_EXTENSION,b=r.Kind.UNION_TYPE_EXTENSION,E=r.Kind.ENUM_TYPE_EXTENSION,w=r.Kind.INPUT_OBJECT_TYPE_EXTENSION,T=r.Kind.DIRECTIVE_DEFINITION,x=r.Kind.FRAGMENT_SPREAD,k=r.Kind.OPERATION_DEFINITION,O=r.Kind.NAMED_TYPE;t.GraphQLLanguageService=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this._graphQLCache=t,this._graphQLConfig=t.getGraphQLConfig()}return e.prototype.getDiagnostics=function(e,t,i){var o,s,l,u,x,k,O,_,S,C,N,A,D,I;return regeneratorRuntime.async((function(j){for(;;)switch(j.prev=j.next){case 0:o=!1,s=this._graphQLConfig.getConfigForFile(t),l=s.schemaPath,j.prev=3,u=(0,r.parse)(e),l&&t===l||(o=u.definitions.some((function(e){switch(e.kind){case c:case f:case p:case d:case h:case m:case g:case v:case y:case b:case E:case w:case T:return!0}return!1}))),j.next=12;break;case 8:return j.prev=8,j.t0=j.catch(3),x=(0,a.getRange)(j.t0.locations[0],e),j.abrupt(\"return\",[{severity:a.SEVERITY.ERROR,message:j.t0.message,source:\"GraphQL: Syntax\",range:x}]);case 12:return k=e,j.next=15,regeneratorRuntime.awrap(this._graphQLCache.getFragmentDefinitions(s));case 15:return O=j.sent,j.next=18,regeneratorRuntime.awrap(this._graphQLCache.getFragmentDependencies(e,O));case 18:_=j.sent,S=_.reduce((function(e,t){return e+\" \"+(0,r.print)(t.definition)}),\"\"),k=k+\" \"+S,C=null,j.prev=22,C=(0,r.parse)(k),j.next=29;break;case 26:return j.prev=26,j.t1=j.catch(22),j.abrupt(\"return\",[]);case 29:return N=void 0,(A=s.extensions.customValidationRules)&&(D=n(98).resolve(\"\"+A))&&(N=n(98)(\"\"+D)(this._graphQLConfig)),j.next=34,regeneratorRuntime.awrap(this._graphQLCache.getSchema(s.projectName,o).catch((function(){return null})));case 34:if(I=j.sent){j.next=37;break}return j.abrupt(\"return\",[]);case 37:return j.abrupt(\"return\",(0,a.validateQuery)(C,I,N,i));case 38:case\"end\":return j.stop()}}),null,this,[[3,8],[22,26]])},e.prototype.getAutocompleteSuggestions=function(e,t,n){var r,o;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return r=this._graphQLConfig.getConfigForFile(n),a.next=3,regeneratorRuntime.awrap(this._graphQLCache.getSchema(r.projectName).catch((function(){return null})));case 3:if(!(o=a.sent)){a.next=6;break}return a.abrupt(\"return\",(0,i.getAutocompleteSuggestions)(o,e,t));case 6:return a.abrupt(\"return\",[]);case 7:case\"end\":return a.stop()}}),null,this)},e.prototype.getHoverInformation=function(e,t,n){var r,i;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return r=this._graphQLConfig.getConfigForFile(n),a.next=3,regeneratorRuntime.awrap(this._graphQLCache.getSchema(r.projectName).catch((function(){return null})));case 3:if(!(i=a.sent)){a.next=6;break}return a.abrupt(\"return\",(0,o.getHoverInformation)(i,e,t));case 6:return a.abrupt(\"return\",\"\");case 7:case\"end\":return a.stop()}}),null,this)},e.prototype.getDefinition=function(e,t,n){var i,o,a;return regeneratorRuntime.async((function(c){for(;;)switch(c.prev=c.next){case 0:i=this._graphQLConfig.getConfigForFile(n),o=void 0,c.prev=2,o=(0,r.parse)(e),c.next=9;break;case 6:return c.prev=6,c.t0=c.catch(2),c.abrupt(\"return\",null);case 9:if(!(a=(0,l.getASTNodeAtPosition)(e,o,t))){c.next=17;break}c.t1=a.kind,c.next=c.t1===x?14:c.t1===u||c.t1===k?15:c.t1===O?16:17;break;case 14:return c.abrupt(\"return\",this._getDefinitionForFragmentSpread(e,o,a,n,i));case 15:return c.abrupt(\"return\",(0,s.getDefinitionQueryResultForDefinitionNode)(n,e,a));case 16:return c.abrupt(\"return\",this._getDefinitionForNamedType(e,o,a,n,i));case 17:return c.abrupt(\"return\",null);case 18:case\"end\":return c.stop()}}),null,this,[[2,6]])},e.prototype._getDefinitionForNamedType=function(e,t,n,r,i){var o,a,l,u,f;return regeneratorRuntime.async((function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,regeneratorRuntime.awrap(this._graphQLCache.getObjectTypeDefinitions(i));case 2:return o=d.sent,d.next=5,regeneratorRuntime.awrap(this._graphQLCache.getObjectTypeDependenciesForAST(t,o));case 5:return a=d.sent,l=t.definitions.filter((function(e){return e.kind===c||e.kind===m||e.kind===p})),u=l.map((function(t){return{filePath:r,content:e,definition:t}})),d.next=11,regeneratorRuntime.awrap((0,s.getDefinitionQueryResultForNamedType)(e,n,a.concat(u)));case 11:return f=d.sent,d.abrupt(\"return\",f);case 13:case\"end\":return d.stop()}}),null,this)},e.prototype._getDefinitionForFragmentSpread=function(e,t,n,r,i){var o,a,l,c,f;return regeneratorRuntime.async((function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,regeneratorRuntime.awrap(this._graphQLCache.getFragmentDefinitions(i));case 2:return o=p.sent,p.next=5,regeneratorRuntime.awrap(this._graphQLCache.getFragmentDependenciesForAST(t,o));case 5:return a=p.sent,l=t.definitions.filter((function(e){return e.kind===u})),c=l.map((function(t){return{filePath:r,content:e,definition:t}})),p.next=11,regeneratorRuntime.awrap((0,s.getDefinitionQueryResultForFragmentSpread)(e,n,a.concat(c)));case 11:return f=p.sent,p.abrupt(\"return\",f);case 13:case\"end\":return p.stop()}}),null,this)},e}()},function(e,t,n){var r={\"./GraphQLLanguageService.js\":97,\"./autocompleteUtils.js\":66,\"./getAutocompleteSuggestions.js\":52,\"./getDefinition.js\":67,\"./getDiagnostics.js\":68,\"./getHoverInformation.js\":69,\"./getOutline.js\":96,\"./index.js\":65};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error(\"Cannot find module '\"+e+\"'\");throw t.code=\"MODULE_NOT_FOUND\",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=98},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,s.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?l(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&&l(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 s=(0,i.getNullableType)(n.inputType);n.inputType=s instanceof i.GraphQLList?s.ofType:null;break;case\"ObjectValue\":var u=(0,i.getNamedType)(n.inputType);n.objectFieldDefs=u instanceof i.GraphQLInputObjectType?u.getFields():null;break;case\"ObjectField\":var c=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=c&&c.type;break;case\"NamedType\":n.type=e.getType(t.name)}})),n};var r,i=n(14),o=n(9),a=n(100),s=(r=a)&&r.__esModule?r:{default:r};function l(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(14);function i(e){return\"__\"===e.name.slice(0,2)}},function(e,t,n){\"use strict\";var r,i=n(13),o=(r=i)&&r.__esModule?r:{default:r};function a(e,t){var n=e.state.info,r=t.target||t.srcElement;if(\"SPAN\"===r.nodeName&&void 0===n.hoverTimeout){var i=r.getBoundingClientRect(),a=function(e){var t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(u,a);var s=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(u,a)},l=function t(){o.default.off(document,\"mousemove\",s),o.default.off(e.getWrapperElement(),\"mouseout\",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},u=function(){o.default.off(document,\"mousemove\",s),o.default.off(e.getWrapperElement(),\"mouseout\",l),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,i=r.render||e.getHelper(n,\"info\");if(i){var a=e.getTokenAt(n,!0);if(a){var s=i(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 i=r.getBoundingClientRect(),a=r.currentStyle||window.getComputedStyle(r),s=i.right-i.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=i.bottom-i.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom),u=t.bottom;l>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(u=t.top-l);u<0&&(u=t.bottom);var c=Math.max(0,window.innerWidth-s-15);c>t.left&&(c=t.left);r.style.opacity=1,r.style.top=u+\"px\",r.style.left=c+\"px\";var f=void 0,p=function(){clearTimeout(f)},d=function(){clearTimeout(f),f=setTimeout(h,200)},h=function(){o.default.off(r,\"mouseover\",p),o.default.off(r,\"mouseout\",d),o.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)};o.default.on(r,\"mouseover\",p),o.default.on(r,\"mouseout\",d),o.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,t,s)}}}(e,i)};o.default.on(document,\"mousemove\",s),o.default.on(e.getWrapperElement(),\"mouseout\",l)}}o.default.defineOption(\"info\",!1,(function(e,t,n){if(n&&n!==o.default.Init){var r=e.state.info.onMouseOver;o.default.off(e.getWrapperElement(),\"mouseover\",r),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var i=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);i.onMouseOver=a.bind(null,e),o.default.on(e.getWrapperElement(),\"mouseover\",i.onMouseOver)}}))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=s;var r=a(n(5)),i=a(n(18)),o=n(14);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.field,n=t.type,i=t.defaultValue;return void 0!==i?r.default.createElement(\"span\",null,\" = \",r.default.createElement(\"span\",{className:\"arg-default-value\"},(0,o.print)((0,o.astFromValue)(i,n)))):null}s.propTypes={field:i.default.object.isRequired}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){n=null,t.apply(r,i)}),e)}}},function(e,t,n){\"use strict\";var r=n(41),i=n.n(r)()(!1);i.push([e.i,\".graphiql-container,\\n.graphiql-container button,\\n.graphiql-container input {\\n  color: #141823;\\n  font-family:\\n    system,\\n    -apple-system,\\n    'San Francisco',\\n    '.SFNSDisplay-Regular',\\n    'Segoe UI',\\n    Segoe,\\n    'Segoe WP',\\n    'Helvetica Neue',\\n    helvetica,\\n    'Lucida Grande',\\n    arial,\\n    sans-serif;\\n  font-size: 14px;\\n}\\n\\n.graphiql-container {\\n  display: flex;\\n  flex-direction: row;\\n  height: 100%;\\n  margin: 0;\\n  overflow: hidden;\\n  width: 100%;\\n}\\n\\n.graphiql-container .editorWrap {\\n  display: flex;\\n  flex-direction: column;\\n  flex: 1;\\n  overflow-x: hidden;\\n}\\n\\n.graphiql-container .title {\\n  font-size: 18px;\\n}\\n\\n.graphiql-container .title em {\\n  font-family: georgia;\\n  font-size: 19px;\\n}\\n\\n.graphiql-container .topBarWrap {\\n  display: flex;\\n  flex-direction: row;\\n}\\n\\n.graphiql-container .topBar {\\n  align-items: center;\\n  background: linear-gradient(#f7f7f7, #e2e2e2);\\n  border-bottom: 1px solid #d0d0d0;\\n  cursor: default;\\n  display: flex;\\n  flex-direction: row;\\n  flex: 1;\\n  height: 34px;\\n  overflow-y: visible;\\n  padding: 7px 14px 6px;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .toolbar {\\n  overflow-x: visible;\\n  display: flex;\\n}\\n\\n.graphiql-container .docExplorerShow,\\n.graphiql-container .historyShow {\\n  background: linear-gradient(#f7f7f7, #e2e2e2);\\n  border-radius: 0;\\n  border-bottom: 1px solid #d0d0d0;\\n  border-right: none;\\n  border-top: none;\\n  color: #3B5998;\\n  cursor: pointer;\\n  font-size: 14px;\\n  margin: 0;\\n  outline: 0;\\n  padding: 2px 20px 0 18px;\\n}\\n\\n.graphiql-container .docExplorerShow {\\n  border-left: 1px solid rgba(0, 0, 0, 0.2);\\n}\\n\\n.graphiql-container .historyShow {\\n  border-right: 1px solid rgba(0, 0, 0, 0.2);\\n  border-left: 0;\\n}\\n\\n.graphiql-container .docExplorerShow:before {\\n  border-left: 2px solid #3B5998;\\n  border-top: 2px solid #3B5998;\\n  content: '';\\n  display: inline-block;\\n  height: 9px;\\n  margin: 0 3px -1px 0;\\n  position: relative;\\n  -ms-transform: rotate(-45deg);\\n      transform: rotate(-45deg);\\n  width: 9px;\\n}\\n\\n.graphiql-container .editorBar {\\n  display: flex;\\n  flex-direction: row;\\n  flex: 1;\\n}\\n\\n.graphiql-container .queryWrap {\\n  display: flex;\\n  flex-direction: column;\\n  flex: 1;\\n}\\n\\n.graphiql-container .resultWrap {\\n  border-left: solid 1px #e0e0e0;\\n  display: flex;\\n  flex-direction: column;\\n  flex: 1;\\n  position: relative;\\n}\\n\\n.graphiql-container .docExplorerWrap,\\n.graphiql-container .historyPaneWrap {\\n  background: white;\\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\\n  position: relative;\\n  z-index: 3;\\n}\\n\\n.graphiql-container .historyPaneWrap {\\n  min-width: 230px;\\n  z-index: 5;\\n}\\n\\n.graphiql-container .docExplorerResizer {\\n  cursor: col-resize;\\n  height: 100%;\\n  left: -5px;\\n  position: absolute;\\n  top: 0;\\n  width: 10px;\\n  z-index: 10;\\n}\\n\\n.graphiql-container .docExplorerHide {\\n  cursor: pointer;\\n  font-size: 18px;\\n  margin: -7px -8px -6px 0;\\n  padding: 18px 16px 15px 12px;\\n}\\n\\n.graphiql-container div .query-editor {\\n  flex: 1;\\n  position: relative;\\n}\\n\\n.graphiql-container .variable-editor {\\n  display: flex;\\n  flex-direction: column;\\n  height: 30px;\\n  position: relative;\\n}\\n\\n.graphiql-container .variable-editor-title {\\n  background: #eeeeee;\\n  border-bottom: 1px solid #d6d6d6;\\n  border-top: 1px solid #e0e0e0;\\n  color: #777;\\n  font-variant: small-caps;\\n  font-weight: bold;\\n  letter-spacing: 1px;\\n  line-height: 14px;\\n  padding: 6px 0 8px 43px;\\n  text-transform: lowercase;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .codemirrorWrap {\\n  flex: 1;\\n  height: 100%;\\n  position: relative;\\n}\\n\\n.graphiql-container .result-window {\\n  flex: 1;\\n  height: 100%;\\n  position: relative;\\n}\\n\\n.graphiql-container .footer {\\n  background: #f6f7f8;\\n  border-left: 1px solid #e0e0e0;\\n  border-top: 1px solid #e0e0e0;\\n  margin-left: 12px;\\n  position: relative;\\n}\\n\\n.graphiql-container .footer:before {\\n  background: #eeeeee;\\n  bottom: 0;\\n  content: \\\" \\\";\\n  left: -13px;\\n  position: absolute;\\n  top: -1px;\\n  width: 12px;\\n}\\n\\n/* No `.graphiql-container` here so themes can overwrite */\\n.result-window .CodeMirror {\\n  background: #f6f7f8;\\n}\\n\\n.graphiql-container .result-window .CodeMirror-gutters {\\n  background-color: #eeeeee;\\n  border-color: #e0e0e0;\\n  cursor: col-resize;\\n}\\n\\n.graphiql-container .result-window .CodeMirror-foldgutter,\\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\\n  padding-left: 3px;\\n}\\n\\n.graphiql-container .toolbar-button {\\n  background: #fdfdfd;\\n  background: linear-gradient(#f9f9f9, #ececec);\\n  border-radius: 3px;\\n  box-shadow:\\n    inset 0 0 0 1px rgba(0,0,0,0.20),\\n    0 1px 0 rgba(255,255,255, 0.7),\\n    inset 0 1px #fff;\\n  color: #555;\\n  cursor: pointer;\\n  display: inline-block;\\n  margin: 0 5px;\\n  padding: 3px 11px 5px;\\n  text-decoration: none;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n  max-width: 150px;\\n}\\n\\n.graphiql-container .toolbar-button:active {\\n  background: linear-gradient(#ececec, #d5d5d5);\\n  box-shadow:\\n    0 1px 0 rgba(255, 255, 255, 0.7),\\n    inset 0 0 0 1px rgba(0,0,0,0.10),\\n    inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\\n    inset 0 0 5px rgba(0, 0, 0, 0.1);\\n}\\n\\n.graphiql-container .toolbar-button.error {\\n  background: linear-gradient(#fdf3f3, #e6d6d7);\\n  color: #b00;\\n}\\n\\n.graphiql-container .toolbar-button-group {\\n  margin: 0 5px;\\n  white-space: nowrap;\\n}\\n\\n.graphiql-container .toolbar-button-group > * {\\n  margin: 0;\\n}\\n\\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\\n  border-top-right-radius: 0;\\n  border-bottom-right-radius: 0;\\n}\\n\\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\\n  border-top-left-radius: 0;\\n  border-bottom-left-radius: 0;\\n  margin-left: -1px;\\n}\\n\\n.graphiql-container .execute-button-wrap {\\n  height: 34px;\\n  margin: 0 14px 0 28px;\\n  position: relative;\\n}\\n\\n.graphiql-container .execute-button {\\n  background: linear-gradient(#fdfdfd, #d2d3d6);\\n  border-radius: 17px;\\n  border: 1px solid rgba(0,0,0,0.25);\\n  box-shadow: 0 1px 0 #fff;\\n  cursor: pointer;\\n  fill: #444;\\n  height: 34px;\\n  margin: 0;\\n  padding: 0;\\n  width: 34px;\\n}\\n\\n.graphiql-container .execute-button svg {\\n  pointer-events: none;\\n}\\n\\n.graphiql-container .execute-button:active {\\n  background: linear-gradient(#e6e6e6, #c3c3c3);\\n  box-shadow:\\n    0 1px 0 #fff,\\n    inset 0 0 2px rgba(0, 0, 0, 0.2),\\n    inset 0 0 6px rgba(0, 0, 0, 0.1);\\n}\\n\\n.graphiql-container .execute-button:focus {\\n  outline: 0;\\n}\\n\\n.graphiql-container .toolbar-menu,\\n.graphiql-container .toolbar-select {\\n  position: relative;\\n}\\n\\n.graphiql-container .execute-options,\\n.graphiql-container .toolbar-menu-items,\\n.graphiql-container .toolbar-select-options {\\n  background: #fff;\\n  box-shadow:\\n    0 0 0 1px rgba(0,0,0,0.1),\\n    0 2px 4px rgba(0,0,0,0.25);\\n  margin: 0;\\n  padding: 6px 0;\\n  position: absolute;\\n  z-index: 100;\\n}\\n\\n.graphiql-container .execute-options {\\n  min-width: 100px;\\n  top: 37px;\\n  left: -1px;\\n}\\n\\n.graphiql-container .toolbar-menu-items {\\n  left: 1px;\\n  margin-top: -1px;\\n  min-width: 110%;\\n  top: 100%;\\n  visibility: hidden;\\n}\\n\\n.graphiql-container .toolbar-menu-items.open {\\n  visibility: visible;\\n}\\n\\n.graphiql-container .toolbar-select-options {\\n  left: 0;\\n  min-width: 100%;\\n  top: -5px;\\n  visibility: hidden;\\n}\\n\\n.graphiql-container .toolbar-select-options.open {\\n  visibility: visible;\\n}\\n\\n.graphiql-container .execute-options > li,\\n.graphiql-container .toolbar-menu-items > li,\\n.graphiql-container .toolbar-select-options > li {\\n  cursor: pointer;\\n  display: block;\\n  margin: none;\\n  max-width: 300px;\\n  overflow: hidden;\\n  padding: 2px 20px 4px 11px;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n}\\n\\n.graphiql-container .execute-options > li.selected,\\n.graphiql-container .toolbar-menu-items > li.hover,\\n.graphiql-container .toolbar-menu-items > li:active,\\n.graphiql-container .toolbar-menu-items > li:hover,\\n.graphiql-container .toolbar-select-options > li.hover,\\n.graphiql-container .toolbar-select-options > li:active,\\n.graphiql-container .toolbar-select-options > li:hover,\\n.graphiql-container .history-contents > p:hover,\\n.graphiql-container .history-contents > p:active {\\n  background: #e10098;\\n  color: #fff;\\n}\\n\\n.graphiql-container .toolbar-select-options > li > svg {\\n  display: inline;\\n  fill: #666;\\n  margin: 0 -6px 0 6px;\\n  pointer-events: none;\\n  vertical-align: middle;\\n}\\n\\n.graphiql-container .toolbar-select-options > li.hover > svg,\\n.graphiql-container .toolbar-select-options > li:active > svg,\\n.graphiql-container .toolbar-select-options > li:hover > svg {\\n  fill: #fff;\\n}\\n\\n.graphiql-container .CodeMirror-scroll {\\n  overflow-scrolling: touch;\\n}\\n\\n.graphiql-container .CodeMirror {\\n  color: #141823;\\n  font-family:\\n    'Consolas',\\n    'Inconsolata',\\n    'Droid Sans Mono',\\n    'Monaco',\\n    monospace;\\n  font-size: 13px;\\n  height: 100%;\\n  left: 0;\\n  position: absolute;\\n  top: 0;\\n  width: 100%;\\n}\\n\\n.graphiql-container .CodeMirror-lines {\\n  padding: 20px 0;\\n}\\n\\n.CodeMirror-hint-information .content {\\n  box-orient: vertical;\\n  color: #141823;\\n  display: flex;\\n  font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;\\n  font-size: 13px;\\n  line-clamp: 3;\\n  line-height: 16px;\\n  max-height: 48px;\\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: #CA9800;\\n  cursor: pointer;\\n  display: inline;\\n  margin-right: 0.5em;\\n}\\n\\n.autoInsertedLeaf.cm-property {\\n  animation-duration: 6s;\\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@keyframes insertionFade {\\n  from, to {\\n    background: rgba(255, 255, 255, 0);\\n    border-color: rgba(255, 255, 255, 0);\\n  }\\n\\n  15%, 85% {\\n    background: #fbffc9;\\n    border-color: #f0f3c0;\\n  }\\n}\\n\\ndiv.CodeMirror-lint-tooltip {\\n  background-color: white;\\n  border-radius: 2px;\\n  border: 0;\\n  color: #141823;\\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n  font-size: 13px;\\n  line-height: 16px;\\n  max-width: 430px;\\n  opacity: 0;\\n  padding: 8px 10px;\\n  transition: opacity 0.15s;\\n  white-space: pre-wrap;\\n}\\n\\ndiv.CodeMirror-lint-tooltip > * {\\n  padding-left: 23px;\\n}\\n\\ndiv.CodeMirror-lint-tooltip > * + * {\\n  margin-top: 12px;\\n}\\n\\n/* COLORS */\\n\\n.graphiql-container .CodeMirror-foldmarker {\\n  border-radius: 4px;\\n  background: #08f;\\n  background: linear-gradient(#43A8FF, #0F83E8);\\n  box-shadow:\\n    0 1px 1px rgba(0, 0, 0, 0.2),\\n    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.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\\n  color: #555;\\n  text-decoration: underline;\\n}\\n\\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\\n  color: #f00;\\n}\\n\\n/* Comment */\\n.cm-comment {\\n  color: #999;\\n}\\n\\n/* Punctuation */\\n.cm-punctuation {\\n  color: #555;\\n}\\n\\n/* Keyword */\\n.cm-keyword {\\n  color: #B11A04;\\n}\\n\\n/* OperationName, FragmentName */\\n.cm-def {\\n  color: #D2054E;\\n}\\n\\n/* FieldName */\\n.cm-property {\\n  color: #1F61A0;\\n}\\n\\n/* FieldAlias */\\n.cm-qualifier {\\n  color: #1C92A9;\\n}\\n\\n/* ArgumentName and ObjectFieldName */\\n.cm-attribute {\\n  color: #8B2BB9;\\n}\\n\\n/* Number */\\n.cm-number {\\n  color: #2882F9;\\n}\\n\\n/* String */\\n.cm-string {\\n  color: #D64292;\\n}\\n\\n/* Boolean */\\n.cm-builtin {\\n  color: #D47509;\\n}\\n\\n/* EnumValue */\\n.cm-string-2 {\\n  color: #0B7FC7;\\n}\\n\\n/* Variable */\\n.cm-variable {\\n  color: #397D13;\\n}\\n\\n/* Directive */\\n.cm-meta {\\n  color: #B33086;\\n}\\n\\n/* Type */\\n.cm-atom {\\n  color: #CA9800;\\n}\\n/* BASICS */\\n\\n.CodeMirror {\\n  /* Set height, width, borders, and global font properties here */\\n  color: black;\\n  font-family: monospace;\\n  height: 300px;\\n}\\n\\n/* PADDING */\\n\\n.CodeMirror-lines {\\n  padding: 4px 0; /* Vertical padding around content */\\n}\\n.CodeMirror pre {\\n  padding: 0 4px; /* Horizontal padding of content */\\n}\\n\\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\\n  background-color: white; /* The little square between H and V scrollbars */\\n}\\n\\n/* GUTTER */\\n\\n.CodeMirror-gutters {\\n  border-right: 1px solid #ddd;\\n  background-color: #f7f7f7;\\n  white-space: nowrap;\\n}\\n.CodeMirror-linenumbers {}\\n.CodeMirror-linenumber {\\n  color: #999;\\n  min-width: 20px;\\n  padding: 0 3px 0 5px;\\n  text-align: right;\\n  white-space: nowrap;\\n}\\n\\n.CodeMirror-guttermarker { color: black; }\\n.CodeMirror-guttermarker-subtle { color: #999; }\\n\\n/* CURSOR */\\n\\n.CodeMirror .CodeMirror-cursor {\\n  border-left: 1px solid black;\\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: #7e7;\\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  animation: blink 1.06s steps(1) infinite;\\n  border: 0;\\n  width: auto;\\n}\\n@keyframes blink {\\n  0% { background: #7e7; }\\n  50% { background: none; }\\n  100% { background: #7e7; }\\n}\\n\\n/* Can style cursor different in overwrite (non-insert) mode */\\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\\n\\n.cm-tab { display: inline-block; text-decoration: inherit; }\\n\\n.CodeMirror-ruler {\\n  border-left: 1px solid #ccc;\\n  position: absolute;\\n}\\n\\n/* DEFAULT THEME */\\n\\n.cm-s-default .cm-keyword {color: #708;}\\n.cm-s-default .cm-atom {color: #219;}\\n.cm-s-default .cm-number {color: #164;}\\n.cm-s-default .cm-def {color: #00f;}\\n.cm-s-default .cm-variable,\\n.cm-s-default .cm-punctuation,\\n.cm-s-default .cm-property,\\n.cm-s-default .cm-operator {}\\n.cm-s-default .cm-variable-2 {color: #05a;}\\n.cm-s-default .cm-variable-3 {color: #085;}\\n.cm-s-default .cm-comment {color: #a50;}\\n.cm-s-default .cm-string {color: #a11;}\\n.cm-s-default .cm-string-2 {color: #f50;}\\n.cm-s-default .cm-meta {color: #555;}\\n.cm-s-default .cm-qualifier {color: #555;}\\n.cm-s-default .cm-builtin {color: #30a;}\\n.cm-s-default .cm-bracket {color: #997;}\\n.cm-s-default .cm-tag {color: #170;}\\n.cm-s-default .cm-attribute {color: #00c;}\\n.cm-s-default .cm-header {color: blue;}\\n.cm-s-default .cm-quote {color: #090;}\\n.cm-s-default .cm-hr {color: #999;}\\n.cm-s-default .cm-link {color: #00c;}\\n\\n.cm-negative {color: #d44;}\\n.cm-positive {color: #292;}\\n.cm-header, .cm-strong {font-weight: bold;}\\n.cm-em {font-style: italic;}\\n.cm-link {text-decoration: underline;}\\n.cm-strikethrough {text-decoration: line-through;}\\n\\n.cm-s-default .cm-error {color: #f00;}\\n.cm-invalidchar {color: #f00;}\\n\\n.CodeMirror-composing { border-bottom: 2px solid; }\\n\\n/* Default styles for common addons */\\n\\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\\n.CodeMirror-activeline-background {background: #e8f2ff;}\\n\\n/* STOP */\\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  position: relative;\\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; margin-right: -30px;\\n  outline: none; /* Prevent dragging from highlighting the element */\\n  overflow: scroll !important; /* Things will break if this is overridden */\\n  padding-bottom: 30px;\\n  position: relative;\\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, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\\n  display: none;\\n  position: absolute;\\n  z-index: 6;\\n}\\n.CodeMirror-vscrollbar {\\n  overflow-x: hidden;\\n  overflow-y: scroll;\\n  right: 0; top: 0;\\n}\\n.CodeMirror-hscrollbar {\\n  bottom: 0; left: 0;\\n  overflow-x: scroll;\\n  overflow-y: hidden;\\n}\\n.CodeMirror-scrollbar-filler {\\n  right: 0; bottom: 0;\\n}\\n.CodeMirror-gutter-filler {\\n  left: 0; bottom: 0;\\n}\\n\\n.CodeMirror-gutters {\\n  min-height: 100%;\\n  position: absolute; left: 0; top: 0;\\n  z-index: 3;\\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; 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  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; right: 0; top: 0; 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.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 { position: absolute; }\\n.CodeMirror-measure pre { position: static; }\\n\\ndiv.CodeMirror-cursors {\\n  position: relative;\\n  visibility: hidden;\\n  z-index: 3;\\n}\\ndiv.CodeMirror-dragcursors {\\n  visibility: visible;\\n}\\n\\n.CodeMirror-focused div.CodeMirror-cursors {\\n  visibility: visible;\\n}\\n\\n.CodeMirror-selected { background: #d9d9d9; }\\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\\n.CodeMirror-crosshair { cursor: crosshair; }\\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\\n\\n.cm-searching {\\n  background: #ffa;\\n  background: rgba(255, 255, 0, .4);\\n}\\n\\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\\n.CodeMirror span { *vertical-align: text-bottom; }\\n\\n/* Used to force a border model for a node */\\n.cm-force-border { padding-right: .1px; }\\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 { content: ''; }\\n\\n/* Help users use markselection to safely style text background */\\nspan.CodeMirror-selectedtext { background: none; }\\n\\n.CodeMirror-dialog {\\n  background: inherit;\\n  color: inherit;\\n  left: 0; right: 0;\\n  overflow: hidden;\\n  padding: .1em .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.graphiql-container .doc-explorer {\\n  background: white;\\n}\\n\\n.graphiql-container .doc-explorer-title-bar,\\n.graphiql-container .history-title-bar {\\n  cursor: default;\\n  display: flex;\\n  height: 34px;\\n  line-height: 14px;\\n  padding: 8px 8px 5px;\\n  position: relative;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .doc-explorer-title,\\n.graphiql-container .history-title {\\n  flex: 1;\\n  font-weight: bold;\\n  overflow-x: hidden;\\n  padding: 10px 0 10px 10px;\\n  text-align: center;\\n  text-overflow: ellipsis;\\n  -webkit-user-select: text;\\n     -moz-user-select: text;\\n      -ms-user-select: text;\\n          user-select: text;\\n  white-space: nowrap;\\n}\\n\\n.graphiql-container .doc-explorer-back {\\n  color: #3B5998;\\n  cursor: pointer;\\n  margin: -7px 0 -6px -8px;\\n  overflow-x: hidden;\\n  padding: 17px 12px 16px 16px;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n}\\n\\n.doc-explorer-narrow .doc-explorer-back {\\n  width: 0;\\n}\\n\\n.graphiql-container .doc-explorer-back:before {\\n  border-left: 2px solid #3B5998;\\n  border-top: 2px solid #3B5998;\\n  content: '';\\n  display: inline-block;\\n  height: 9px;\\n  margin: 0 3px -1px 0;\\n  position: relative;\\n  -ms-transform: rotate(-45deg);\\n      transform: rotate(-45deg);\\n  width: 9px;\\n}\\n\\n.graphiql-container .doc-explorer-rhs {\\n  position: relative;\\n}\\n\\n.graphiql-container .doc-explorer-contents,\\n.graphiql-container .history-contents {\\n  background-color: #ffffff;\\n  border-top: 1px solid #d6d6d6;\\n  bottom: 0;\\n  left: 0;\\n  overflow-y: auto;\\n  padding: 20px 15px;\\n  position: absolute;\\n  right: 0;\\n  top: 47px;\\n}\\n\\n.graphiql-container .doc-explorer-contents {\\n  min-width: 300px;\\n}\\n\\n.graphiql-container .doc-type-description p:first-child ,\\n.graphiql-container .doc-type-description blockquote:first-child {\\n  margin-top: 0;\\n}\\n\\n.graphiql-container .doc-explorer-contents a {\\n  cursor: pointer;\\n  text-decoration: none;\\n}\\n\\n.graphiql-container .doc-explorer-contents a:hover {\\n  text-decoration: underline;\\n}\\n\\n.graphiql-container .doc-value-description > :first-child {\\n  margin-top: 4px;\\n}\\n\\n.graphiql-container .doc-value-description > :last-child {\\n  margin-bottom: 4px;\\n}\\n\\n.graphiql-container .doc-category {\\n  margin: 20px 0;\\n}\\n\\n.graphiql-container .doc-category-title {\\n  border-bottom: 1px solid #e0e0e0;\\n  color: #777;\\n  cursor: default;\\n  font-size: 14px;\\n  font-variant: small-caps;\\n  font-weight: bold;\\n  letter-spacing: 1px;\\n  margin: 0 -15px 10px 0;\\n  padding: 10px 0;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .doc-category-item {\\n  margin: 12px 0;\\n  color: #555;\\n}\\n\\n.graphiql-container .keyword {\\n  color: #B11A04;\\n}\\n\\n.graphiql-container .type-name {\\n  color: #CA9800;\\n}\\n\\n.graphiql-container .field-name {\\n  color: #1F61A0;\\n}\\n\\n.graphiql-container .field-short-description {\\n  color: #999;\\n  margin-left: 5px;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n}\\n\\n.graphiql-container .enum-value {\\n  color: #0B7FC7;\\n}\\n\\n.graphiql-container .arg-name {\\n  color: #8B2BB9;\\n}\\n\\n.graphiql-container .arg {\\n  display: block;\\n  margin-left: 1em;\\n}\\n\\n.graphiql-container .arg:first-child:last-child,\\n.graphiql-container .arg:first-child:nth-last-child(2),\\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\\n  display: inherit;\\n  margin: inherit;\\n}\\n\\n.graphiql-container .arg:first-child:nth-last-child(2):after {\\n  content: ', ';\\n}\\n\\n.graphiql-container .arg-default-value {\\n  color: #43A047;\\n}\\n\\n.graphiql-container .doc-deprecation {\\n  background: #fffae8;\\n  box-shadow: inset 0 0 1px #bfb063;\\n  color: #867F70;\\n  line-height: 16px;\\n  margin: 8px -8px;\\n  max-height: 80px;\\n  overflow: hidden;\\n  padding: 8px;\\n  border-radius: 3px;\\n}\\n\\n.graphiql-container .doc-deprecation:before {\\n  content: 'Deprecated:';\\n  color: #c79b2e;\\n  cursor: default;\\n  display: block;\\n  font-size: 9px;\\n  font-weight: bold;\\n  letter-spacing: 1px;\\n  line-height: 1;\\n  padding-bottom: 5px;\\n  text-transform: uppercase;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .doc-deprecation > :first-child {\\n  margin-top: 0;\\n}\\n\\n.graphiql-container .doc-deprecation > :last-child {\\n  margin-bottom: 0;\\n}\\n\\n.graphiql-container .show-btn {\\n  -webkit-appearance: initial;\\n  display: block;\\n  border-radius: 3px;\\n  border: solid 1px #ccc;\\n  text-align: center;\\n  padding: 8px 12px 10px;\\n  width: 100%;\\n  box-sizing: border-box;\\n  background: #fbfcfc;\\n  color: #555;\\n  cursor: pointer;\\n}\\n\\n.graphiql-container .search-box {\\n  border-bottom: 1px solid #d3d6db;\\n  display: block;\\n  font-size: 14px;\\n  margin: -15px -15px 12px 0;\\n  position: relative;\\n}\\n\\n.graphiql-container .search-box:before {\\n  content: '\\\\26b2';\\n  cursor: pointer;\\n  display: block;\\n  font-size: 24px;\\n  position: absolute;\\n  top: -2px;\\n  -ms-transform: rotate(-45deg);\\n      transform: rotate(-45deg);\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .search-box .search-box-clear {\\n  background-color: #d0d0d0;\\n  border-radius: 12px;\\n  color: #fff;\\n  cursor: pointer;\\n  font-size: 11px;\\n  padding: 1px 5px 2px;\\n  position: absolute;\\n  right: 3px;\\n  top: 8px;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.graphiql-container .search-box .search-box-clear:hover {\\n  background-color: #b9b9b9;\\n}\\n\\n.graphiql-container .search-box > input {\\n  border: none;\\n  box-sizing: border-box;\\n  font-size: 14px;\\n  outline: none;\\n  padding: 6px 24px 8px 20px;\\n  width: 100%;\\n}\\n\\n.graphiql-container .error-container {\\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  -ms-transform: translate(0, -50%);\\n      transform: translate(0, -50%);\\n}\\n.CodeMirror-foldmarker {\\n  color: blue;\\n  cursor: pointer;\\n  font-family: arial;\\n  line-height: .3;\\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\\n}\\n.CodeMirror-foldgutter {\\n  width: .7em;\\n}\\n.CodeMirror-foldgutter-open,\\n.CodeMirror-foldgutter-folded {\\n  cursor: pointer;\\n}\\n.CodeMirror-foldgutter-open:after {\\n  content: \\\"\\\\25BE\\\";\\n}\\n.CodeMirror-foldgutter-folded:after {\\n  content: \\\"\\\\25B8\\\";\\n}\\n.graphiql-container .history-contents,\\n.graphiql-container .history-contents input {\\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\\n  padding: 0;\\n}\\n\\n.graphiql-container .history-contents p {\\n  align-items: center;\\n  display: flex;\\n  font-size: 12px;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n  margin: 0;\\n  padding: 8px;\\n  border-bottom: 1px solid #e0e0e0;\\n}\\n\\n.graphiql-container .history-contents p.editable {\\n  padding-bottom: 6px;\\n  padding-top: 7px;\\n}\\n\\n.graphiql-container .history-contents input {\\n  flex-grow: 1;\\n  font-size: 12px;\\n}\\n\\n.graphiql-container .history-contents p:hover {\\n  cursor: pointer;\\n}\\n\\n.graphiql-container .history-contents p span.history-label {\\n  flex-grow: 1;\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n}.CodeMirror-info {\\n  background: white;\\n  border-radius: 2px;\\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n  box-sizing: border-box;\\n  color: #555;\\n  font-family:\\n    system,\\n    -apple-system,\\n    'San Francisco',\\n    '.SFNSDisplay-Regular',\\n    'Segoe UI',\\n    Segoe,\\n    'Segoe WP',\\n    'Helvetica Neue',\\n    helvetica,\\n    'Lucida Grande',\\n    arial,\\n    sans-serif;\\n  font-size: 13px;\\n  line-height: 16px;\\n  margin: 8px -8px;\\n  max-width: 400px;\\n  opacity: 0;\\n  overflow: hidden;\\n  padding: 8px 8px;\\n  position: fixed;\\n  transition: opacity 0.15s;\\n  z-index: 50;\\n}\\n\\n.CodeMirror-info :first-child {\\n  margin-top: 0;\\n}\\n\\n.CodeMirror-info :last-child {\\n  margin-bottom: 0;\\n}\\n\\n.CodeMirror-info p {\\n  margin: 1em 0;\\n}\\n\\n.CodeMirror-info .info-description {\\n  color: #777;\\n  line-height: 16px;\\n  margin-top: 1em;\\n  max-height: 80px;\\n  overflow: hidden;\\n}\\n\\n.CodeMirror-info .info-deprecation {\\n  background: #fffae8;\\n  box-shadow: inset 0 1px 1px -1px #bfb063;\\n  color: #867F70;\\n  line-height: 16px;\\n  margin: -8px;\\n  margin-top: 8px;\\n  max-height: 80px;\\n  overflow: hidden;\\n  padding: 8px;\\n}\\n\\n.CodeMirror-info .info-deprecation-label {\\n  color: #c79b2e;\\n  cursor: default;\\n  display: block;\\n  font-size: 9px;\\n  font-weight: bold;\\n  letter-spacing: 1px;\\n  line-height: 1;\\n  padding-bottom: 5px;\\n  text-transform: uppercase;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.CodeMirror-info .info-deprecation-label + * {\\n  margin-top: 0;\\n}\\n\\n.CodeMirror-info a {\\n  text-decoration: none;\\n}\\n\\n.CodeMirror-info a:hover {\\n  text-decoration: underline;\\n}\\n\\n.CodeMirror-info .type-name {\\n  color: #CA9800;\\n}\\n\\n.CodeMirror-info .field-name {\\n  color: #1F61A0;\\n}\\n\\n.CodeMirror-info .enum-value {\\n  color: #0B7FC7;\\n}\\n\\n.CodeMirror-info .arg-name {\\n  color: #8B2BB9;\\n}\\n\\n.CodeMirror-info .directive-name {\\n  color: #B33086;\\n}\\n.CodeMirror-jump-token {\\n  text-decoration: underline;\\n  cursor: pointer;\\n}\\n/* The lint marker gutter */\\n.CodeMirror-lint-markers {\\n  width: 16px;\\n}\\n\\n.CodeMirror-lint-tooltip {\\n  background-color: infobackground;\\n  border-radius: 4px 4px 4px 4px;\\n  border: 1px solid black;\\n  color: infotext;\\n  font-family: monospace;\\n  font-size: 10pt;\\n  max-width: 600px;\\n  opacity: 0;\\n  overflow: hidden;\\n  padding: 2px 5px;\\n  position: fixed;\\n  transition: opacity .4s;\\n  white-space: pre-wrap;\\n  z-index: 100;\\n}\\n\\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\\n  background-position: left bottom;\\n  background-repeat: repeat-x;\\n}\\n\\n.CodeMirror-lint-mark-error {\\n  background-image:\\n  url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\\\")\\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, .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, .CodeMirror-lint-message-warning {\\n  background-position: top left;\\n  background-repeat: no-repeat;\\n  padding-left: 18px;\\n}\\n\\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\\n  background-image: url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\\\");\\n}\\n\\n.CodeMirror-lint-marker-warning, .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%; height: 100%;\\n}\\n.graphiql-container .spinner-container {\\n  height: 36px;\\n  left: 50%;\\n  position: absolute;\\n  top: 50%;\\n  -ms-transform: translate(-50%, -50%);\\n      transform: translate(-50%, -50%);\\n  width: 36px;\\n  z-index: 10;\\n}\\n\\n.graphiql-container .spinner {\\n  animation: rotation .6s infinite linear;\\n  border-bottom: 6px solid rgba(150, 150, 150, .15);\\n  border-left: 6px solid rgba(150, 150, 150, .15);\\n  border-radius: 100%;\\n  border-right: 6px solid rgba(150, 150, 150, .15);\\n  border-top: 6px solid rgba(150, 150, 150, .8);\\n  display: inline-block;\\n  height: 24px;\\n  position: absolute;\\n  vertical-align: middle;\\n  width: 24px;\\n}\\n\\n@keyframes rotation {\\n  from { transform: rotate(0deg); }\\n  to { transform: rotate(359deg); }\\n}\\n.CodeMirror-hints {\\n  background: white;\\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\\n  font-size: 13px;\\n  list-style: none;\\n  margin-left: -6px;\\n  margin: 0;\\n  max-height: 14.5em;\\n  overflow-y: auto;\\n  overflow: hidden;\\n  padding: 0;\\n  position: absolute;\\n  z-index: 10;\\n}\\n\\n.CodeMirror-hint {\\n  border-top: solid 1px #f7f7f7;\\n  color: #141823;\\n  cursor: pointer;\\n  margin: 0;\\n  max-width: 300px;\\n  overflow: hidden;\\n  padding: 2px 6px;\\n  white-space: pre;\\n}\\n\\nli.CodeMirror-hint-active {\\n  background-color: #08f;\\n  border-top-color: white;\\n  color: white;\\n}\\n\\n.CodeMirror-hint-information {\\n  border-top: solid 1px #c0c0c0;\\n  max-width: 300px;\\n  padding: 4px 6px;\\n  position: relative;\\n  z-index: 1;\\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-deprecation {\\n  background: #fffae8;\\n  box-shadow: inset 0 1px 1px -1px #bfb063;\\n  color: #867F70;\\n  font-family:\\n    system,\\n    -apple-system,\\n    'San Francisco',\\n    '.SFNSDisplay-Regular',\\n    'Segoe UI',\\n    Segoe,\\n    'Segoe WP',\\n    'Helvetica Neue',\\n    helvetica,\\n    'Lucida Grande',\\n    arial,\\n    sans-serif;\\n  font-size: 13px;\\n  line-height: 16px;\\n  margin-top: 4px;\\n  max-height: 80px;\\n  overflow: hidden;\\n  padding: 6px;\\n}\\n\\n.CodeMirror-hint-deprecation .deprecation-label {\\n  color: #c79b2e;\\n  cursor: default;\\n  display: block;\\n  font-size: 9px;\\n  font-weight: bold;\\n  letter-spacing: 1px;\\n  line-height: 1;\\n  padding-bottom: 5px;\\n  text-transform: uppercase;\\n  -webkit-user-select: none;\\n     -moz-user-select: none;\\n      -ms-user-select: none;\\n          user-select: none;\\n}\\n\\n.CodeMirror-hint-deprecation .deprecation-label + * {\\n  margin-top: 0;\\n}\\n\\n.CodeMirror-hint-deprecation :last-child {\\n  margin-bottom: 0;\\n}\\n\",\"\"]),t.a=i},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},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){var r=n(123);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(124),i=n(22);e.exports=function(e,t){return!t||\"object\"!==r(t)&&\"function\"!=typeof t?i(e):t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return l}));var r=n(2),i=n(16),o=n(20),a=n(25),s=n(1);function l(e,t){switch(e.kind){case s.Kind.NULL:return null;case s.Kind.INT:return parseInt(e.value,10);case s.Kind.FLOAT:return parseFloat(e.value);case s.Kind.STRING:case s.Kind.ENUM:case s.Kind.BOOLEAN:return e.value;case s.Kind.LIST:return e.values.map((function(e){return l(e,t)}));case s.Kind.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return l(e.value,t)}));case s.Kind.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\";function r(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  \")}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return i}));var i=r()},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.Explorer=void 0;var r,i=n(232),o=(r=i)&&r.__esModule?r:{default:r};t.Explorer=o.default,t.default=o.default},function(e,t,n){\"use strict\";(function(e){var r=this&&this.__assign||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=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((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=a.trys,(i=i.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(e){o=[6,e],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])}}},a=this&&this.__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};Object.defineProperty(t,\"__esModule\",{value:!0}),t.SubscriptionClient=void 0;var s=void 0!==e?e:\"undefined\"!=typeof window?window:{},l=s.WebSocket||s.MozWebSocket,u=n(235),c=n(236),f=n(237),p=n(238),d=n(244),h=n(246),m=n(239),g=n(241),v=n(242),y=n(243),b=function(){function e(e,t,n,r){var i=t||{},o=i.connectionCallback,a=void 0===o?void 0:o,s=i.connectionParams,f=void 0===s?{}:s,p=i.minTimeout,d=void 0===p?v.MIN_WS_TIMEOUT:p,h=i.timeout,m=void 0===h?v.WS_TIMEOUT:h,y=i.reconnect,b=void 0!==y&&y,E=i.reconnectionAttempts,w=void 0===E?1/0:E,T=i.lazy,x=void 0!==T&&T,k=i.inactivityTimeout,O=void 0===k?0:k,_=i.wsOptionArguments,S=void 0===_?[]:_;if(this.wsImpl=n||l,!this.wsImpl)throw new Error(\"Unable to find native implementation, or alternative implementation for WebSocket!\");this.wsProtocols=r||g.GRAPHQL_WS,this.connectionCallback=a,this.url=e,this.operations={},this.nextOperationId=0,this.minWsTimeout=d,this.wsTimeout=m,this.unsentMessagesQueue=[],this.reconnect=b,this.reconnecting=!1,this.reconnectionAttempts=w,this.lazy=!!x,this.inactivityTimeout=O,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(f),this.wsOptionArguments=S,this.lazy||this.connect()}return Object.defineProperty(e.prototype,\"status\",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState},enumerable:!1,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,y.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,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={})[m.default]=function(){return this},t.subscribe=function(t,a,s){var l=r(t,a,s);return n=i(e,(function(e,t){null===e&&null===t?l.complete&&l.complete():e?l.error&&l.error(e[0]):l.next&&l.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,s;i=a(t.middlewares),o=t,(s=function(t){if(t)r(t);else if(i.length>0){var a=i.shift();a&&a.applyMiddleware.apply(o,[e,s])}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(e){return n(e)}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,y.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.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,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(!f.default(n)&&!h.getOperationAST(n,i)||i&&!f.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(r({},n),{query:\"string\"==typeof n.query?n.query:d.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(t){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,y.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,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,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,y.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,y.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit(\"error\",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(t){throw new Error(\"Message must be JSON-parseable. Got: \"+e)}if(-1===[y.default.GQL_DATA,y.default.GQL_COMPLETE,y.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case y.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case y.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?\"reconnected\":\"connected\",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case y.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case y.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case y.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case y.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&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,y.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b}).call(this,n(43))},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){var r=n(79),i=n(117);\"string\"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,\"\"]]);var o={insert:\"head\",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){\"use strict\";n.r(t);var r=n(41),i=n.n(r),o=n(105),a=i()(!1);a.i(o.a),a.push([e.i,\"html,\\nbody,\\n#root {\\n  height: 100%;\\n  margin: 0;\\n  overflow: hidden;\\n  width: 100%;\\n}\\n\\n/* Fix weird search alignment issue */\\n.graphiql-container .search-box:before {\\n  line-height: 1em;\\n  top: 1px;\\n}\\n\",\"\"]),t.default=a},function(e,t,n){\"use strict\";\n/** @license React v16.13.1\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(80),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,l=i?Symbol.for(\"react.strict_mode\"):60108,u=i?Symbol.for(\"react.profiler\"):60114,c=i?Symbol.for(\"react.provider\"):60109,f=i?Symbol.for(\"react.context\"):60110,p=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 E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function T(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}E.prototype.isReactComponent={},E.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\")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")},w.prototype=E.prototype;var x=T.prototype=new w;x.constructor=T,r(x,E.prototype),x.isPureReactComponent=!0;var k={current:null},O=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function S(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)O.call(t,r)&&!_.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:k.current}}function C(e){return\"object\"==typeof e&&null!==e&&e.$$typeof===o}var N=/\\/+/g,A=[];function D(e,t,n,r){if(A.length){var i=A.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 I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;\"undefined\"!==s&&\"boolean\"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case\"string\":case\"number\":l=!0;break;case\"object\":switch(t.$$typeof){case o:case a:l=!0}}if(l)return r(i,t,\"\"===n?\".\"+L(t,0):n),1;if(l=0,n=\"\"===n?\".\":n+\":\",Array.isArray(t))for(var u=0;u<t.length;u++){var c=n+L(s=t[u],u);l+=e(s,c,r,i)}else if(null===t||\"object\"!=typeof t?c=null:c=\"function\"==typeof(c=g&&t[g]||t[\"@@iterator\"])?c:null,\"function\"==typeof c)for(t=c.call(t),u=0;!(s=t.next()).done;)l+=e(s=s.value,c=n+L(s,u++),r,i);else if(\"object\"===s)throw r=\"\"+t,Error(v(31,\"[object Object]\"===r?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":r,\"\"));return l}(e,\"\",t,n)}function L(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 F(e,t){e.func.call(e.context,t,e.count++)}function M(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&&(C(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,\"$&/\")+\"/\")+n)),r.push(e))}function P(e,t,n,r,i){var o=\"\";null!=n&&(o=(\"\"+n).replace(N,\"$&/\")+\"/\"),j(e,M,t=D(t,o,r,i)),I(t)}var R={current:null};function V(){var e=R.current;if(null===e)throw Error(v(321));return e}var U={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:k,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;j(e,F,t=D(null,null,t,n)),I(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return P(e,t,null,(function(e){return e})),t},only:function(e){if(!C(e))throw Error(v(143));return e}},t.Component=E,t.Fragment=s,t.Profiler=u,t.PureComponent=T,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=k.current),void 0!==t.key&&(a=\"\"+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)O.call(t,c)&&!_.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=C,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 V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version=\"16.13.1\"},function(e,t,n){\"use strict\";\n/** @license React v16.13.1\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r=n(5),i=n(80),o=n(120);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,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var l=!1,u=null,c=!1,f=null,p={onError:function(e){l=!0,u=e}};function d(e,t,n,r,i,o,a,c,f){l=!1,u=null,s.apply(p,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,p,h){if(d.apply(this,arguments),l){if(!l)throw Error(a(198));var m=u;l=!1,u=null,c||(c=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function E(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!T[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in T[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,l=r;if(x.hasOwnProperty(l))throw Error(a(99,l));x[l]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&w(u[i],s,l);i=!0}else o.registrationName?(w(o.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function w(e,t,n){if(k[e])throw Error(a(100,e));k[e]=t,O[e]=t.eventTypes[n].dependencies}var T=[],x={},k={},O={};function _(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&&E()}var S=!(\"undefined\"==typeof window||void 0===window.document||void 0===window.document.createElement),C=null,N=null,A=null;function D(e){if(e=m(e)){if(\"function\"!=typeof C)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),C(e.stateNode,e.type,t))}}function I(e){N?A?A.push(e):A=[e]:N=e}function j(){if(N){var e=N,t=A;if(A=N=null,D(e),t)for(e=0;e<t.length;e++)D(t[e])}}function L(e,t){return e(t)}function F(e,t,n,r,i){return e(t,n,r,i)}function M(){}var P=L,R=!1,V=!1;function U(){null===N&&null===A||(M(),j())}function q(e,t,n){if(V)return e(t,n);V=!0;try{return P(e,t,n)}finally{V=!1,U()}}var B=/^[: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]*$/,z=Object.prototype.hasOwnProperty,H={},K={};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 Q={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach((function(e){Q[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];Q[t]=new G(t,1,!1,e[1],null,!1)})),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach((function(e){Q[e]=new G(e,2,!1,e.toLowerCase(),null,!1)})),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach((function(e){Q[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){Q[e]=new G(e,3,!1,e.toLowerCase(),null,!1)})),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach((function(e){Q[e]=new G(e,3,!0,e,null,!1)})),[\"capture\",\"download\"].forEach((function(e){Q[e]=new G(e,4,!1,e,null,!1)})),[\"cols\",\"rows\",\"size\",\"span\"].forEach((function(e){Q[e]=new G(e,6,!1,e,null,!1)})),[\"rowSpan\",\"start\"].forEach((function(e){Q[e]=new G(e,5,!1,e.toLowerCase(),null,!1)}));var W=/[\\-:]([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(W,Y);Q[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(W,Y);Q[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(W,Y);Q[t]=new G(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1)})),[\"tabIndex\",\"crossOrigin\"].forEach((function(e){Q[e]=new G(e,1,!1,e.toLowerCase(),null,!1)})),Q.xlinkHref=new G(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0),[\"src\",\"href\",\"action\",\"formAction\"].forEach((function(e){Q[e]=new G(e,1,!1,e.toLowerCase(),null,!0)}));var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(e,t,n,r){var i=Q.hasOwnProperty(t)?Q[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||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!!z.call(K,e)||!z.call(H,e)&&(B.test(e)?K[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))))}J.hasOwnProperty(\"ReactCurrentDispatcher\")||(J.ReactCurrentDispatcher={current:null}),J.hasOwnProperty(\"ReactCurrentBatchConfig\")||(J.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,le=Z?Symbol.for(\"react.forward_ref\"):60112,ue=Z?Symbol.for(\"react.suspense\"):60113,ce=Z?Symbol.for(\"react.suspense_list\"):60120,fe=Z?Symbol.for(\"react.memo\"):60115,pe=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 ue:return\"Suspense\";case ce:return\"SuspenseList\"}if(\"object\"==typeof e)switch(e.$$typeof){case ae:return\"Context.Consumer\";case oe:return\"Context.Provider\";case le:var t=e.render;return t=t.displayName||t.name||\"\",e.displayName||(\"\"!==t?\"ForwardRef(\"+t+\")\":\"ForwardRef\");case fe:return ge(e.type);case de:return ge(e.render);case pe: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 Ee(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)&&void 0!==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 we(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 Te(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 xe(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 ke(e,t){null!=(t=t.checked)&&$(e,\"checked\",t,!1)}function Oe(e,t){ke(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\")?Se(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&Se(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function _e(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 Se(e,t,n){\"number\"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}function Ce(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 Ne(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 Ae(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function De(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 Ie(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 je(e){var t=e.textContent;t===e._wrapperState.initialValue&&\"\"!==t&&null!==t&&(e.value=t)}var Le=\"http://www.w3.org/1999/xhtml\",Fe=\"http://www.w3.org/2000/svg\";function Me(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?Me(t):\"http://www.w3.org/2000/svg\"===e&&\"foreignObject\"===t?\"http://www.w3.org/1999/xhtml\":e}var Re,Ve=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!==Fe||\"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 Ue(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 qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var Be={animationend:qe(\"Animation\",\"AnimationEnd\"),animationiteration:qe(\"Animation\",\"AnimationIteration\"),animationstart:qe(\"Animation\",\"AnimationStart\"),transitionend:qe(\"Transition\",\"TransitionEnd\")},ze={},He={};function Ke(e){if(ze[e])return ze[e];if(!Be[e])return e;var t,n=Be[e];for(t in n)if(n.hasOwnProperty(t)&&t in He)return ze[e]=n[t];return e}S&&(He=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),\"TransitionEvent\"in window||delete Be.transitionend.transition);var Ge=Ke(\"animationend\"),Qe=Ke(\"animationiteration\"),We=Ke(\"animationstart\"),Ye=Ke(\"transitionend\"),Je=\"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,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.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(c)throw e=f,c=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(e){if(!S)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 ct=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function pt(e,t,n,r){if(ct.length){var i=ct.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=Sn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<T.length;l++){var u=T[l];u&&(u=u.extractEvents(r,t,o,i,a))&&(s=rt(s,u))}st(s)}}function ht(e,t,n){if(!n.has(e)){switch(e){case\"scroll\":Wt(t,\"scroll\",!0);break;case\"focus\":case\"blur\":Wt(t,\"focus\",!0),Wt(t,\"blur\",!0),n.set(\"blur\",null),n.set(\"focus\",null);break;case\"cancel\":case\"close\":ut(e)&&Wt(t,e,!0);break;case\"invalid\":case\"submit\":case\"reset\":break;default:-1===Je.indexOf(e)&&Qt(e,t)}n.set(e,null)}}var mt,gt,vt,yt=!1,bt=[],Et=null,wt=null,Tt=null,xt=new Map,kt=new Map,Ot=[],_t=\"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(\" \"),St=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \");function Ct(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Nt(e,t){switch(e){case\"focus\":case\"blur\":Et=null;break;case\"dragenter\":case\"dragleave\":wt=null;break;case\"mouseover\":case\"mouseout\":Tt=null;break;case\"pointerover\":case\"pointerout\":xt.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":kt.delete(t.pointerId)}}function At(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ct(t,n,r,i,o),null!==t&&(null!==(t=Cn(t))&&gt(t)),e):(e.eventSystemFlags|=r,e)}function Dt(e){var t=Sn(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 It(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Cn(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function jt(e,t,n){It(e)&&n.delete(t)}function Lt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Cn(e.blockedOn))&&mt(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==Et&&It(Et)&&(Et=null),null!==wt&&It(wt)&&(wt=null),null!==Tt&&It(Tt)&&(Tt=null),xt.forEach(jt),kt.forEach(jt)}function Ft(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Lt)))}function Mt(e){function t(t){return Ft(t,e)}if(0<bt.length){Ft(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Et&&Ft(Et,e),null!==wt&&Ft(wt,e),null!==Tt&&Ft(Tt,e),xt.forEach(t),kt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)Dt(n),null===n.blockedOn&&Ot.shift()}var Pt={},Rt=new Map,Vt=new Map,Ut=[\"abort\",\"abort\",Ge,\"animationEnd\",Qe,\"animationIteration\",We,\"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 qt(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},Vt.set(r,t),Rt.set(r,o),Pt[i]=o}}qt(\"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),qt(\"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),qt(Ut,2);for(var Bt=\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),zt=0;zt<Bt.length;zt++)Vt.set(Bt[zt],0);var Ht=o.unstable_UserBlockingPriority,Kt=o.unstable_runWithPriority,Gt=!0;function Qt(e,t){Wt(t,e,!1)}function Wt(e,t,n){var r=Vt.get(t);switch(void 0===r?2:r){case 0:r=Yt.bind(null,t,1,e);break;case 1:r=Jt.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||M();var i=$t,o=R;R=!0;try{F(i,e,t,n,r)}finally{(R=o)||U()}}function Jt(e,t,n,r){Kt(Ht,$t.bind(null,e,t,n,r))}function $t(e,t,n,r){if(Gt)if(0<bt.length&&-1<_t.indexOf(e))e=Ct(null,e,t,n,r),bt.push(e);else{var i=Xt(e,t,n,r);if(null===i)Nt(e,r);else if(-1<_t.indexOf(e))e=Ct(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case\"focus\":return Et=At(Et,e,t,n,r,i),!0;case\"dragenter\":return wt=At(wt,e,t,n,r,i),!0;case\"mouseover\":return Tt=At(Tt,e,t,n,r,i),!0;case\"pointerover\":var o=i.pointerId;return xt.set(o,At(xt.get(o)||null,e,t,n,r,i)),!0;case\"gotpointercapture\":return o=i.pointerId,kt.set(o,At(kt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{q(dt,e)}finally{ft(e)}}}}function Xt(e,t,n,r){if(null!==(n=Sn(n=lt(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=pt(e,r,n,t);try{q(dt,e)}finally{ft(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=Le;function ln(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)ht(t[r],e,n)}function un(){}function cn(e){if(void 0===(e=e||(\"undefined\"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(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=fn(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n=\"string\"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((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,En=\"function\"==typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Tn(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 xn=Math.random().toString(36).slice(2),kn=\"__reactInternalInstance$\"+xn,On=\"__reactEventHandlers$\"+xn,_n=\"__reactContainere$\"+xn;function Sn(e){var t=e[kn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_n]||n[kn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Tn(e);null!==e;){if(n=e[kn])return n;e=Tn(e)}return t}n=(e=n).parentNode}return null}function Cn(e){return!(e=e[kn]||e[_n])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Nn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function An(e){return e[On]||null}function Dn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(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 jn(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Dn(t);for(t=n.length;0<t--;)jn(n[t],\"captured\",e);for(t=0;t<n.length;t++)jn(n[t],\"bubbled\",e)}}function Fn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=In(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Mn(e){e&&e.dispatchConfig.registrationName&&Fn(e._targetInst,null,e)}function Pn(e){it(e,Ln)}var Rn=null,Vn=null,Un=null;function qn(){if(Un)return Un;var e,t,n=Vn,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 Un=i.slice(e,1<t?1-t:void 0)}function Bn(){return!0}function zn(){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)?Bn:zn,this.isPropagationStopped=zn,this}function Kn(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 Qn(e){e.eventPool=[],e.getPooled=Kn,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=Bn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():\"unknown\"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Bn)},persist:function(){this.isPersistent=Bn},isPersistent:zn,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=zn,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,Qn(n),n},Qn(Hn);var Wn=Hn.extend({data:null}),Yn=Hn.extend({data:null}),Jn=[9,13,27,32],$n=S&&\"CompositionEvent\"in window,Xn=null;S&&\"documentMode\"in document&&(Xn=document.documentMode);var Zn=S&&\"TextEvent\"in window&&!Xn,er=S&&(!$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!==Jn.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=qn()):(Vn=\"value\"in(Rn=r)?Rn.value:Rn.textContent,ar=!0)),o=Wn.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=qn(),Un=Vn=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]}},lr={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 ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return\"input\"===t?!!lr[e.type]:\"textarea\"===t}var cr={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}};function fr(e,t,n){return(e=Hn.getPooled(cr.change,e,t,n)).type=\"change\",I(n),Pn(e),e}var pr=null,dr=null;function hr(e){st(e)}function mr(e){if(we(Nn(e)))return e}function gr(e,t){if(\"change\"===e)return t}var vr=!1;function yr(){pr&&(pr.detachEvent(\"onpropertychange\",br),dr=pr=null)}function br(e){if(\"value\"===e.propertyName&&mr(dr))if(e=fr(dr,e,lt(e)),R)st(e);else{R=!0;try{L(hr,e)}finally{R=!1,U()}}}function Er(e,t,n){\"focus\"===e?(yr(),dr=n,(pr=t).attachEvent(\"onpropertychange\",br)):\"blur\"===e&&yr()}function wr(e){if(\"selectionchange\"===e||\"keyup\"===e||\"keydown\"===e)return mr(dr)}function Tr(e,t){if(\"click\"===e)return mr(t)}function xr(e,t){if(\"input\"===e||\"change\"===e)return mr(t)}S&&(vr=ut(\"input\")&&(!document.documentMode||9<document.documentMode));var kr={eventTypes:cr,_isInputEventSupported:vr,extractEvents:function(e,t,n,r){var i=t?Nn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if(\"select\"===o||\"input\"===o&&\"file\"===i.type)var a=gr;else if(ur(i))if(vr)a=xr;else{a=wr;var s=Er}else(o=i.nodeName)&&\"input\"===o.toLowerCase()&&(\"checkbox\"===i.type||\"radio\"===i.type)&&(a=Tr);if(a&&(a=a(e,t)))return fr(a,n,r);s&&s(e,i,t),\"blur\"===e&&(e=i._wrapperState)&&e.controlled&&\"number\"===i.type&&Se(i,\"number\",i.value)}},Or=Hn.extend({view:null,detail:null}),_r={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_r[e])&&!!t[e]}function Cr(){return Sr}var Nr=0,Ar=0,Dr=!1,Ir=!1,jr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Cr,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=Nr;return Nr=e.screenX,Dr?\"mousemove\"===e.type?e.screenX-t:0:(Dr=!0,0)},movementY:function(e){if(\"movementY\"in e)return e.movementY;var t=Ar;return Ar=e.screenY,Ir?\"mousemove\"===e.type?e.screenY-t:0:(Ir=!0,0)}}),Lr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Fr={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\"pointerover\"]}},Mr={eventTypes:Fr,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)?Sn(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=jr,l=Fr.mouseLeave,u=Fr.mouseEnter,c=\"mouse\";else\"pointerout\"!==e&&\"pointerover\"!==e||(s=Lr,l=Fr.pointerLeave,u=Fr.pointerEnter,c=\"pointer\");if(e=null==a?o:Nn(a),o=null==t?o:Nn(t),(l=s.getPooled(l,a,n,r)).type=c+\"leave\",l.target=e,l.relatedTarget=o,(n=s.getPooled(u,t,n,r)).type=c+\"enter\",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(u=c,a=0,e=s=r;e;e=Dn(e))a++;for(e=0,t=u;t;t=Dn(t))e++;for(;0<a-e;)s=Dn(s),a--;for(;0<e-a;)u=Dn(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Dn(s),u=Dn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Dn(r);for(r=[];c&&c!==u&&(null===(a=c.alternate)||a!==u);)r.push(c),c=Dn(c);for(c=0;c<s.length;c++)Fn(s[c],\"bubbled\",l);for(c=r.length;0<c--;)Fn(r[c],\"captured\",n);return 0==(64&i)?[l]:[l,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 Vr(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 Ur=S&&\"documentMode\"in document&&11>=document.documentMode,qr={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},dependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},Br=null,zr=null,Hr=null,Kr=!1;function Gr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==Br||Br!==cn(n)?null:(\"selectionStart\"in(n=Br)&&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&&Vr(Hr,n)?null:(Hr=n,(e=Hn.getPooled(qr.select,zr,e,t)).type=\"select\",e.target=Br,Pn(e),e))}var Qr={eventTypes:qr,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=O.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?Nn(t):window,e){case\"focus\":(ur(i)||\"true\"===i.contentEditable)&&(Br=i,zr=t,Hr=null);break;case\"blur\":Hr=zr=Br=null;break;case\"mousedown\":Kr=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":return Kr=!1,Gr(n,r);case\"selectionchange\":if(Ur)break;case\"keydown\":case\"keyup\":return Gr(n,r)}return null}},Wr=Hn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Yr=Hn.extend({clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),Jr=Or.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=Or.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:Cr,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=jr.extend({dataTransfer:null}),ni=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Cr}),ri=Hn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=jr.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=Jr;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=jr;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 Qe:case We:e=Wr;break;case Ye:e=ri;break;case\"scroll\":e=Or;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=Lr;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(\" \")),E(),h=An,m=Cn,g=Nn,_({SimpleEventPlugin:oi,EnterLeaveEventPlugin:Mr,ChangeEventPlugin:kr,SelectEventPlugin:Qr,BeforeInputEventPlugin:sr});var ai=[],si=-1;function li(e){0>si||(e.current=ai[si],ai[si]=null,si--)}function ui(e,t){si++,ai[si]=e.current,e.current=t}var ci={},fi={current:ci},pi={current:!1},di=ci;function hi(e,t){var n=e.type.contextTypes;if(!n)return ci;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)}function gi(){li(pi),li(fi)}function vi(e,t,n){if(fi.current!==ci)throw Error(a(168));ui(fi,t),ui(pi,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||ci,di=fi.current,ui(fi,e),ui(pi,pi.current),!0}function Ei(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=yi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,li(pi),li(fi),ui(fi,e)):li(pi),ui(pi,n)}var wi=o.unstable_runWithPriority,Ti=o.unstable_scheduleCallback,xi=o.unstable_cancelCallback,ki=o.unstable_requestPaint,Oi=o.unstable_now,_i=o.unstable_getCurrentPriorityLevel,Si=o.unstable_ImmediatePriority,Ci=o.unstable_UserBlockingPriority,Ni=o.unstable_NormalPriority,Ai=o.unstable_LowPriority,Di=o.unstable_IdlePriority,Ii={},ji=o.unstable_shouldYield,Li=void 0!==ki?ki:function(){},Fi=null,Mi=null,Pi=!1,Ri=Oi(),Vi=1e4>Ri?Oi:function(){return Oi()-Ri};function Ui(){switch(_i()){case Si:return 99;case Ci:return 98;case Ni:return 97;case Ai:return 96;case Di:return 95;default:throw Error(a(332))}}function qi(e){switch(e){case 99:return Si;case 98:return Ci;case 97:return Ni;case 96:return Ai;case 95:return Di;default:throw Error(a(332))}}function Bi(e,t){return e=qi(e),wi(e,t)}function zi(e,t,n){return e=qi(e),Ti(e,t,n)}function Hi(e){return null===Fi?(Fi=[e],Mi=Ti(Si,Gi)):Fi.push(e),Ii}function Ki(){if(null!==Mi){var e=Mi;Mi=null,xi(e)}Gi()}function Gi(){if(!Pi&&null!==Fi){Pi=!0;var e=0;try{var t=Fi;Bi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fi=null}catch(t){throw null!==Fi&&(Fi=Fi.slice(e+1)),Ti(Si,Ki),t}finally{Pi=!1}}}function Qi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Wi(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},Ji=null,$i=null,Xi=null;function Zi(){Xi=$i=Ji=null}function eo(e){var t=Yi.current;li(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){Ji=e,Xi=$i=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Aa=!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===Ji)throw Error(a(308));$i=t,Ji.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 lo(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 uo(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 co(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 l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==a){l=a.next;var u=o.baseState,c=0,f=null,p=null,d=null;if(null!==l)for(var h=l;;){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?(p=d=m,f=u):d=d.next=m,s>c&&(c=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ol(s,h.suspenseConfig);e:{var g=e,v=h;switch(s=t,m=n,v.tag){case 1:if(\"function\"==typeof(g=v.payload)){u=g.call(m,u,s);break e}u=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(s=\"function\"==typeof(g=v.payload)?g.call(m,u,s):g))break e;u=i({},u,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===l){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}null===d?f=u:d.next=p,o.baseState=f,o.baseQueue=d,al(c),e.expirationTime=c,e.memoizedState=u}}function fo(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 po=J.ReactCurrentBatchConfig,ho=(new r.Component).refs;function mo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?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=po.suspense;(i=so(r=Qs(r,e,i),i)).payload=t,null!=n&&(i.callback=n),lo(e,i),Ws(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Gs(),i=po.suspense;(i=so(r=Qs(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),lo(e,i),Ws(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Gs(),r=po.suspense;(r=so(n=Qs(n,e,r),r)).tag=2,null!=t&&(r.callback=t),lo(e,r),Ws(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||(!Vr(n,r)||!Vr(i,o))}function yo(e,t,n){var r=!1,i=ci,o=t.contextType;return\"object\"==typeof o&&null!==o?o=ro(o):(i=mi(t)?di:fi.current,o=(r=null!=(r=t.contextTypes))?hi(e,i):ci),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 Eo(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:fi.current,i.context=hi(e,o)),co(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),co(e,n,i,r),i.state=e.memoizedState),\"function\"==typeof i.componentDidMount&&(e.effectTag|=4)}var wo=Array.isArray;function To(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 xo(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 ko(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=_l(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 l(e,t,n,r){return null===t||6!==t.tag?((t=Nl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=To(e,t,n),r.return=e,r):((r=Sl(n.type,n.key,n.props,null,e.mode,r)).ref=To(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Al(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Cl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if(\"string\"==typeof t||\"number\"==typeof t)return(t=Nl(\"\"+t,e.mode,n)).return=e,t;if(\"object\"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Sl(t.type,t.key,t.props,null,e.mode,n)).ref=To(e,null,t),n.return=e,n;case te:return(t=Al(t,e.mode,n)).return=e,t}if(wo(t)||me(t))return(t=Cl(t,e.mode,n,null)).return=e,t;xo(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:l(e,t,\"\"+n,r);if(\"object\"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?f(e,t,n.props.children,r,i):u(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(wo(n)||me(n))return null!==i?null:f(e,t,n,r,null);xo(e,n)}return null}function h(e,t,n,r,i){if(\"string\"==typeof r||\"number\"==typeof r)return l(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?f(t,e,r.props.children,i,r.key):u(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(wo(r)||me(r))return f(t,e=e.get(n)||null,r,i,null);xo(t,r)}return null}function m(i,a,s,l){for(var u=null,c=null,f=a,m=a=0,g=null;null!==f&&m<s.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=d(i,f,s[m],l);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,m),null===c?u=v:c.sibling=v,c=v,f=g}if(m===s.length)return n(i,f),u;if(null===f){for(;m<s.length;m++)null!==(f=p(i,s[m],l))&&(a=o(f,a,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);m<s.length;m++)null!==(g=h(f,i,m,s[m],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(i,e)})),u}function g(i,s,l,u){var c=me(l);if(\"function\"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var f=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=d(i,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,g),null===f?c=b:f.sibling=b,f=b,m=v}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(i,y.value,u))&&(s=o(y,s,g),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=h(m,i,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=o(y,s,g),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,l){var u=\"object\"==typeof o&&null!==o&&o.type===ne&&null===o.key;u&&(o=o.props.children);var c=\"object\"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(o.type===ne){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=To(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===ne?((r=Cl(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=Sl(o.type,o.key,o.props,null,e.mode,l)).ref=To(e,r,o),l.return=e,e=l)}return s(e);case te:e:{for(u=o.key;null!==r;){if(r.key===u){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=Al(o,e.mode,l)).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=Nl(o,e.mode,l)).return=e,e=r),s(e);if(wo(o))return m(e,r,o,l);if(me(o))return g(e,r,o,l);if(c&&xo(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||\"Component\"))}return n(e,r)}}var Oo=ko(!0),_o=ko(!1),So={},Co={current:So},No={current:So},Ao={current:So};function Do(e){if(e===So)throw Error(a(174));return e}function Io(e,t){switch(ui(Ao,t),ui(No,e),ui(Co,So),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)}li(Co),ui(Co,t)}function jo(){li(Co),li(No),li(Ao)}function Lo(e){Do(Ao.current);var t=Do(Co.current),n=Pe(t,e.type);t!==n&&(ui(No,e),ui(Co,n))}function Fo(e){No.current===e&&(li(Co),li(No))}var Mo={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 Vo=J.ReactCurrentDispatcher,Uo=J.ReactCurrentBatchConfig,qo=0,Bo=null,zo=null,Ho=null,Ko=!1;function Go(){throw Error(a(321))}function Qo(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 Wo(e,t,n,r,i,o){if(qo=o,Bo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Vo.current=null===e||null===e.memoizedState?va:ya,e=n(r,i),t.expirationTime===qo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ho=zo=null,t.updateQueue=null,Vo.current=ba,e=n(r,i)}while(t.expirationTime===qo)}if(Vo.current=ga,t=null!==zo&&null!==zo.next,qo=0,Ho=zo=Bo=null,Ko=!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?Bo.memoizedState=Ho=e:Ho=Ho.next=e,Ho}function Jo(){if(null===zo){var e=Bo.alternate;e=null!==e?e.memoizedState:null}else e=zo.next;var t=null===Ho?Bo.memoizedState:Ho.next;if(null!==t)Ho=t,zo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(zo=e).memoizedState,baseState:zo.baseState,baseQueue:zo.baseQueue,queue:zo.queue,next:null},null===Ho?Bo.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=Jo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=zo,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 l=s=o=null,u=i;do{var c=u.expirationTime;if(c<qo){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=f,o=r):l=l.next=f,c>Bo.expirationTime&&(Bo.expirationTime=c,al(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),ol(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,Pr(r,t.memoizedState)||(Aa=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=Jo(),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)||(Aa=!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,Bo,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Bo.updateQueue)?(t={lastEffect:null},Bo.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 Jo().memoizedState}function ra(e,t,n,r){var i=Yo();Bo.effectTag|=e,i.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function ia(e,t,n,r){var i=Jo();r=void 0===r?null:r;var o=void 0;if(null!==zo){var a=zo.memoizedState;if(o=a.destroy,null!==r&&Qo(r,a.deps))return void ta(t,n,o,r)}Bo.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 la(e,t){return\"function\"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ua(e,t,n){return n=null!=n?n.concat([e]):null,ia(4,2,la.bind(null,t,e),n)}function ca(){}function fa(e,t){return Yo().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=Jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Qo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ha(e,t,n){var r=Ui();Bi(98>r?98:r,(function(){e(!0)})),Bi(97<r?97:r,(function(){var r=Uo.suspense;Uo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Uo.suspense=r}}))}function ma(e,t,n){var r=Gs(),i=po.suspense;i={expirationTime:r=Qs(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===Bo||null!==o&&o===Bo)Ko=!0,i.expirationTime=qo,Bo.expirationTime=qo;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(e){}Ws(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:fa,useContext:ro,useEffect:oa,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ra(4,2,la.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,Bo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yo().memoizedState=e},useState:ea,useDebugValue:ca,useResponder:Ro,useDeferredValue:function(e,t){var n=ea(e),r=n[0],i=n[1];return oa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(ha.bind(null,t,e),[t,e]),n]}},ya={readContext:ro,useCallback:pa,useContext:ro,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Xo,useRef:na,useState:function(){return Xo($o)},useDebugValue:ca,useResponder:Ro,useDeferredValue:function(e,t){var n=Xo($o),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xo($o),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},ba={readContext:ro,useCallback:pa,useContext:ro,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Zo,useRef:na,useState:function(){return Zo($o)},useDebugValue:ca,useResponder:Ro,useDeferredValue:function(e,t){var n=Zo($o),r=n[0],i=n[1];return aa((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{i(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo($o),n=t[0];return t=t[1],[pa(ha.bind(null,t,e),[t,e]),n]}},Ea=null,wa=null,Ta=!1;function xa(e,t){var n=kl(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 ka(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 Oa(e){if(Ta){var t=wa;if(t){var n=t;if(!ka(e,t)){if(!(t=wn(n.nextSibling))||!ka(e,t))return e.effectTag=-1025&e.effectTag|2,Ta=!1,void(Ea=e);xa(Ea,n)}Ea=e,wa=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ta=!1,Ea=e}}function _a(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ea=e}function Sa(e){if(e!==Ea)return!1;if(!Ta)return _a(e),Ta=!0,!1;var t=e.type;if(5!==e.tag||\"head\"!==t&&\"body\"!==t&&!yn(t,e.memoizedProps))for(t=wa;t;)xa(e,t),t=wn(t.nextSibling);if(_a(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){wa=wn(e.nextSibling);break e}t--}else\"$\"!==n&&\"$!\"!==n&&\"$?\"!==n||t++}e=e.nextSibling}wa=null}}else wa=Ea?wn(e.stateNode.nextSibling):null;return!0}function Ca(){wa=Ea=null,Ta=!1}var Na=J.ReactCurrentOwner,Aa=!1;function Da(e,t,n,r){t.child=null===e?_o(t,null,n,r):Oo(t,e.child,n,r)}function Ia(e,t,n,r,i){n=n.render;var o=t.ref;return no(t,i),r=Wo(e,t,n,r,o,i),null===e||Aa?(t.effectTag|=1,Da(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(e,t,i))}function ja(e,t,n,r,i,o){if(null===e){var a=n.type;return\"function\"!=typeof a||Ol(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Sl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,La(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Vr)(i,r)&&e.ref===t.ref)?Wa(e,t,o):(t.effectTag|=1,(e=_l(a,r)).ref=t.ref,e.return=t,t.child=e)}function La(e,t,n,r,i,o){return null!==e&&Vr(e.memoizedProps,r)&&e.ref===t.ref&&(Aa=!1,i<o)?(t.expirationTime=e.expirationTime,Wa(e,t,o)):Ma(e,t,n,r,o)}function Fa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ma(e,t,n,r,i){var o=mi(n)?di:fi.current;return o=hi(t,o),no(t,i),n=Wo(e,t,n,r,o,i),null===e||Aa?(t.effectTag|=1,Da(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(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),Eo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;\"object\"==typeof u&&null!==u?u=ro(u):u=hi(t,u=mi(n)?di:fi.current);var c=n.getDerivedStateFromProps,f=\"function\"==typeof c||\"function\"==typeof a.getSnapshotBeforeUpdate;f||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&bo(t,a,r,u),io=!1;var p=t.memoizedState;a.state=p,co(t,r,a,i),l=t.memoizedState,s!==r||p!==l||pi.current||io?(\"function\"==typeof c&&(mo(t,n,c,r),l=t.memoizedState),(s=io||vo(t,n,s,r,p,l,u))?(f||\"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=l),a.props=r,a.state=l,a.context=u,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:Wi(t.type,s),l=a.context,\"object\"==typeof(u=n.contextType)&&null!==u?u=ro(u):u=hi(t,u=mi(n)?di:fi.current),(f=\"function\"==typeof(c=n.getDerivedStateFromProps)||\"function\"==typeof a.getSnapshotBeforeUpdate)||\"function\"!=typeof a.UNSAFE_componentWillReceiveProps&&\"function\"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&bo(t,a,r,u),io=!1,l=t.memoizedState,a.state=l,co(t,r,a,i),p=t.memoizedState,s!==r||l!==p||pi.current||io?(\"function\"==typeof c&&(mo(t,n,c,r),p=t.memoizedState),(c=io||vo(t,n,s,r,l,p,u))?(f||\"function\"!=typeof a.UNSAFE_componentWillUpdate&&\"function\"!=typeof a.componentWillUpdate||(\"function\"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,u),\"function\"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,u)),\"function\"==typeof a.componentDidUpdate&&(t.effectTag|=4),\"function\"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):(\"function\"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=u,r=c):(\"function\"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),\"function\"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ra(e,t,n,r,o,i)}function Ra(e,t,n,r,i,o){Fa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ei(t,n,!1),Wa(e,t,o);r=t.stateNode,Na.current=t;var s=a&&\"function\"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oo(t,e.child,null,o),t.child=Oo(t,null,s,o)):Da(e,t,s,o),t.memoizedState=r.state,i&&Ei(t,n,!0),t.child}function Va(e){var t=e.stateNode;t.pendingContext?vi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vi(0,t.context,!1),Io(e,t.containerInfo)}var Ua,qa,Ba,za={dehydrated:null,retryTime:0};function Ha(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Mo.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),ui(Mo,1&a),null===e){if(void 0!==o.fallback&&Oa(t),s){if(s=o.fallback,(o=Cl(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=Cl(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=za,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=_o(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=_l(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=_l(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=za,t.child=n,i}return n=Oo(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Cl(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=Cl(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=za,t.child=o,n}return t.memoizedState=null,t.child=Oo(t,e,o.children,n)}function Ka(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 Qa(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Da(e,t,r.children,n),0!=(2&(r=Mo.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&&Ka(e,n);else if(19===e.tag)Ka(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(ui(Mo,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 Wa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=_l(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=_l(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 Ja(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 jo(),li(pi),li(fi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Sa(t)||(t.effectTag|=4),null;case 5:Fo(t),n=Do(Ao.current);var o=t.type;if(null!==e&&null!=t.stateNode)qa(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=Do(Co.current),Sa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[kn]=t,r[On]=s,o){case\"iframe\":case\"object\":case\"embed\":Qt(\"load\",r);break;case\"video\":case\"audio\":for(e=0;e<Je.length;e++)Qt(Je[e],r);break;case\"source\":Qt(\"error\",r);break;case\"img\":case\"image\":case\"link\":Qt(\"error\",r),Qt(\"load\",r);break;case\"form\":Qt(\"reset\",r),Qt(\"submit\",r);break;case\"details\":Qt(\"toggle\",r);break;case\"input\":xe(r,s),Qt(\"invalid\",r),ln(n,\"onChange\");break;case\"select\":r._wrapperState={wasMultiple:!!s.multiple},Qt(\"invalid\",r),ln(n,\"onChange\");break;case\"textarea\":De(r,s),Qt(\"invalid\",r),ln(n,\"onChange\")}for(var l in on(o,s),e=null,s)if(s.hasOwnProperty(l)){var u=s[l];\"children\"===l?\"string\"==typeof u?r.textContent!==u&&(e=[\"children\",u]):\"number\"==typeof u&&r.textContent!==\"\"+u&&(e=[\"children\",\"\"+u]):k.hasOwnProperty(l)&&null!=u&&ln(n,l)}switch(o){case\"input\":Ee(r),_e(r,s,!0);break;case\"textarea\":Ee(r),je(r);break;case\"select\":case\"option\":break;default:\"function\"==typeof s.onClick&&(r.onclick=un)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Me(o)),e===sn?\"script\"===o?((e=l.createElement(\"div\")).innerHTML=\"<script><\\/script>\",e=e.removeChild(e.firstChild)):\"string\"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),\"select\"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[kn]=t,e[On]=r,Ua(e,t),t.stateNode=e,l=an(o,r),o){case\"iframe\":case\"object\":case\"embed\":Qt(\"load\",e),u=r;break;case\"video\":case\"audio\":for(u=0;u<Je.length;u++)Qt(Je[u],e);u=r;break;case\"source\":Qt(\"error\",e),u=r;break;case\"img\":case\"image\":case\"link\":Qt(\"error\",e),Qt(\"load\",e),u=r;break;case\"form\":Qt(\"reset\",e),Qt(\"submit\",e),u=r;break;case\"details\":Qt(\"toggle\",e),u=r;break;case\"input\":xe(e,r),u=Te(e,r),Qt(\"invalid\",e),ln(n,\"onChange\");break;case\"option\":u=Ce(e,r);break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),Qt(\"invalid\",e),ln(n,\"onChange\");break;case\"textarea\":De(e,r),u=Ae(e,r),Qt(\"invalid\",e),ln(n,\"onChange\");break;default:u=r}on(o,u);var c=u;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];\"style\"===s?nn(e,f):\"dangerouslySetInnerHTML\"===s?null!=(f=f?f.__html:void 0)&&Ve(e,f):\"children\"===s?\"string\"==typeof f?(\"textarea\"!==o||\"\"!==f)&&Ue(e,f):\"number\"==typeof f&&Ue(e,\"\"+f):\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&\"autoFocus\"!==s&&(k.hasOwnProperty(s)?null!=f&&ln(n,s):null!=f&&$(e,s,f,l))}switch(o){case\"input\":Ee(e),_e(e,r,!1);break;case\"textarea\":Ee(e),je(e);break;case\"option\":null!=r.value&&e.setAttribute(\"value\",\"\"+ye(r.value));break;case\"select\":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:\"function\"==typeof u.onClick&&(e.onclick=un)}vn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ba(0,t,e.memoizedProps,r);else{if(\"string\"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Do(Ao.current),Do(Co.current),Sa(t)?(n=t.stateNode,r=t.memoizedProps,n[kn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[kn]=t,t.stateNode=n)}return null;case 13:return li(Mo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Sa(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&Mo.current)?Ss===Es&&(Ss=ws):(Ss!==Es&&Ss!==ws||(Ss=Ts),0!==Is&&null!==ks&&(jl(ks,_s),Ll(ks,Is)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),null;case 10:return eo(t),null;case 17:return mi(t.type)&&gi(),null;case 19:if(li(Mo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Ya(r,!1);else if(Ss!==Es||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 ui(Mo,1&Mo.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*Vi()-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=Vi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vi(),n.sibling=null,t=Mo.current,ui(Mo,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(jo(),li(pi),li(fi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Fo(e),null;case 13:return li(Mo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Mo),null;case 4:return jo(),null;case 10:return eo(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ve(t)}}Ua=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}},qa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,l,u=t.stateNode;switch(Do(Co.current),e=null,n){case\"input\":a=Te(u,a),r=Te(u,r),e=[];break;case\"option\":a=Ce(u,a),r=Ce(u,r),e=[];break;case\"select\":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case\"textarea\":a=Ae(u,a),r=Ae(u,r),e=[];break;default:\"function\"!=typeof a.onClick&&\"function\"==typeof r.onClick&&(u.onclick=un)}for(s in on(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if(\"style\"===s)for(l in u=a[s])u.hasOwnProperty(l)&&(n||(n={}),n[l]=\"\");else\"dangerouslySetInnerHTML\"!==s&&\"children\"!==s&&\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&\"autoFocus\"!==s&&(k.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==u&&(null!=c||null!=u))if(\"style\"===s)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]=\"\");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(e||(e=[]),e.push(s,n)),n=c;else\"dangerouslySetInnerHTML\"===s?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(s,c)):\"children\"===s?u===c||\"string\"!=typeof c&&\"number\"!=typeof c||(e=e||[]).push(s,\"\"+c):\"suppressContentEditableWarning\"!==s&&\"suppressHydrationWarning\"!==s&&(k.hasOwnProperty(s)?(null!=c&&ln(o,s),e||u===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push(\"style\",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ba=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(e){setTimeout((function(){throw e}))}}function ts(e){var t=e.ref;if(null!==t)if(\"function\"==typeof t)try{t(null)}catch(t){yl(e,t)}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:Wi(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:Wi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&fo(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}fo(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&&Mt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(e,t,n){switch(\"function\"==typeof Tl&&Tl(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;Bi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){yl(i,e)}}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(t){yl(e,t)}}(t,n);break;case 5:ts(t);break;case 4:cs(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 ls(e){return 5===e.tag||3===e.tag||4===e.tag}function us(e){e:{for(var t=e.return;null!==t;){if(ls(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&&(Ue(t,\"\"),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(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=un));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 cs(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 l=e,u=o,c=n,f=u;;)if(as(l,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===u)break e;for(;null===f.sibling;){if(null===f.return||f.return===u)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(l=r,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):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 fs(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[On]=r,\"input\"===e&&\"radio\"===r.type&&null!=r.name&&ke(n,r),an(e,i),t=an(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];\"style\"===s?nn(n,l):\"dangerouslySetInnerHTML\"===s?Ve(n,l):\"children\"===s?Ue(n,l):$(n,s,l,t)}switch(e){case\"input\":Oe(n,r);break;case\"textarea\":Ie(n,r);break;case\"select\":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(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,Mt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ls=Vi()),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=null!=(i=e.memoizedProps.style)&&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 ps(t);case 19:return void ps(t);case 17:return}throw Error(a(163))}function ps(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=El.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(){Ms||(Ms=!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=J.ReactCurrentDispatcher,bs=J.ReactCurrentOwner,Es=0,ws=3,Ts=4,xs=0,ks=null,Os=null,_s=0,Ss=Es,Cs=null,Ns=1073741823,As=1073741823,Ds=null,Is=0,js=!1,Ls=0,Fs=null,Ms=!1,Ps=null,Rs=null,Vs=!1,Us=null,qs=90,Bs=null,zs=0,Hs=null,Ks=0;function Gs(){return 0!=(48&xs)?1073741821-(Vi()/10|0):0!==Ks?Ks:Ks=1073741821-(Vi()/10|0)}function Qs(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ui();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&xs))return _s;if(null!==n)e=Qi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Qi(e,150,100);break;case 97:case 96:e=Qi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==ks&&e===_s&&--e,e}function Ws(e,t){if(50<zs)throw zs=0,Hs=null,Error(a(185));if(null!==(e=Ys(e,t))){var n=Ui();1073741823===t?0!=(8&xs)&&0==(48&xs)?Zs(e):($s(e),0===xs&&Ki()):$s(e),0==(4&xs)||98!==n&&99!==n||(null===Bs?Bs=new Map([[e,t]]):(void 0===(n=Bs.get(e))||n>t)&&Bs.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&&(ks===i&&(al(t),Ss===Ts&&jl(i,_s)),Ll(i,t)),i}function Js(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Il(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=Js(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!==Ii&&xi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Hi(Zs.bind(null,e)):zi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-Vi()}),e.callbackNode=t}}}function Xs(e,t){if(Ks=0,t)return Fl(e,t=Gs()),$s(e),null;var n=Js(e);if(0!==n){if(t=e.callbackNode,0!=(48&xs))throw Error(a(327));if(ml(),e===ks&&n===_s||nl(e,n),null!==Os){var r=xs;xs|=16;for(var i=il();;)try{ll();break}catch(t){rl(e,t)}if(Zi(),xs=r,ys.current=i,1===Ss)throw t=Cs,nl(e,n),jl(e,n),$s(e),t;if(null===Os)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ss,ks=null,r){case Es:case 1:throw Error(a(345));case 2:Fl(e,2<n?2:n);break;case ws:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),1073741823===Ns&&10<(i=Ls+500-Vi())){if(js){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(o=Js(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),i);break}pl(e);break;case Ts:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),js&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Js(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==As?r=10*(1073741821-As)-Vi():1073741823===Ns?r=0:(r=10*(1073741821-Ns)-5e3,0>(r=(i=Vi())-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(pl.bind(null,e),r);break}pl(e);break;case 5:if(1073741823!==Ns&&null!==Ds){o=Ns;var s=Ds;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Vi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){jl(e,n),e.timeoutHandle=bn(pl.bind(null,e),r);break}}pl(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&xs))throw Error(a(327));if(ml(),e===ks&&t===_s||nl(e,t),null!==Os){var n=xs;xs|=16;for(var r=il();;)try{sl();break}catch(t){rl(e,t)}if(Zi(),xs=n,ys.current=r,1===Ss)throw n=Cs,nl(e,t),jl(e,t),$s(e),n;if(null!==Os)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,ks=null,pl(e),$s(e)}return null}function el(e,t){var n=xs;xs|=1;try{return e(t)}finally{0===(xs=n)&&Ki()}}function tl(e,t){var n=xs;xs&=-2,xs|=8;try{return e(t)}finally{0===(xs=n)&&Ki()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,En(n)),null!==Os)for(n=Os.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&gi();break;case 3:jo(),li(pi),li(fi);break;case 5:Fo(r);break;case 4:jo();break;case 13:case 19:li(Mo);break;case 10:eo(r)}n=n.return}ks=e,Os=_l(e.current,null),_s=t,Ss=Es,Cs=null,As=Ns=1073741823,Ds=null,Is=0,js=!1}function rl(e,t){for(;;){try{if(Zi(),Vo.current=ga,Ko)for(var n=Bo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(qo=0,Ho=zo=Bo=null,Ko=!1,null===Os||null===Os.return)return Ss=1,Cs=t,Os=null;e:{var i=e,o=Os.return,a=Os,s=t;if(t=_s,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&\"object\"==typeof s&&\"function\"==typeof s.then){var l=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Mo.current),f=o;do{var p;if(p=13===f.tag){var d=f.memoizedState;if(null!==d)p=null!==d.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(p){var m=f.updateQueue;if(null===m){var g=new Set;g.add(l),f.updateQueue=g}else m.add(l);if(0==(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=so(1073741823,null);v.tag=2,lo(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(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(a)){s.add(a);var b=bl.bind(null,i,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);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!==Ss&&(Ss=2),s=Xa(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t,uo(f,hs(f,l,t));break e;case 1:l=s;var E=f.type,w=f.stateNode;if(0==(64&f.effectTag)&&(\"function\"==typeof E.getDerivedStateFromError||null!==w&&\"function\"==typeof w.componentDidCatch&&(null===Rs||!Rs.has(w)))){f.effectTag|=4096,f.expirationTime=t,uo(f,ms(f,l,t));break e}}f=f.return}while(null!==f)}Os=cl(Os)}catch(e){t=e;continue}break}}function il(){var e=ys.current;return ys.current=ga,null===e?ga:e}function ol(e,t){e<Ns&&2<e&&(Ns=e),null!==t&&e<As&&2<e&&(As=e,Ds=t)}function al(e){e>Is&&(Is=e)}function sl(){for(;null!==Os;)Os=ul(Os)}function ll(){for(;null!==Os&&!ji();)Os=ul(Os)}function ul(e){var t=gs(e.alternate,e,_s);return e.memoizedProps=e.pendingProps,null===t&&(t=cl(e)),bs.current=null,t}function cl(e){Os=e;do{var t=Os.alternate;if(e=Os.return,0==(2048&Os.effectTag)){if(t=Ja(t,Os,_s),1===_s||1!==Os.childExpirationTime){for(var n=0,r=Os.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Os.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Os.firstEffect),null!==Os.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Os.firstEffect),e.lastEffect=Os.lastEffect),1<Os.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Os:e.firstEffect=Os,e.lastEffect=Os))}else{if(null!==(t=$a(Os)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Os.sibling))return t;Os=e}while(null!==Os);return Ss===Es&&(Ss=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=Ui();return Bi(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==Us);if(0!=(48&xs))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=fl(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===ks&&(Os=ks=null,_s=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=xs;xs|=32,bs.current=null,mn=Gt;var s=dn();if(hn(s)){if(\"selectionStart\"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var c=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var p=0,d=-1,h=-1,m=0,g=0,v=s,y=null;t:for(;;){for(var b;v!==l||0!==c&&3!==v.nodeType||(d=p+c),v!==f||0!==u&&3!==v.nodeType||(h=p+u),3===v.nodeType&&(p+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===s)break t;if(y===l&&++m===c&&(d=p),y===f&&++g===u&&(h=p),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}l=-1===d||-1===h?null:{start:d,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;gn={activeElementDetached:null,focusedElem:s,selectionRange:l},Gt=!1,Fs=i;do{try{hl()}catch(e){if(null===Fs)throw Error(a(330));yl(Fs,e),Fs=Fs.nextEffect}}while(null!==Fs);Fs=i;do{try{for(s=e,l=t;null!==Fs;){var E=Fs.effectTag;if(16&E&&Ue(Fs.stateNode,\"\"),128&E){var w=Fs.alternate;if(null!==w){var T=w.ref;null!==T&&(\"function\"==typeof T?T(null):T.current=null)}}switch(1038&E){case 2:us(Fs),Fs.effectTag&=-3;break;case 6:us(Fs),Fs.effectTag&=-3,fs(Fs.alternate,Fs);break;case 1024:Fs.effectTag&=-1025;break;case 1028:Fs.effectTag&=-1025,fs(Fs.alternate,Fs);break;case 4:fs(Fs.alternate,Fs);break;case 8:cs(s,c=Fs,l),ss(c)}Fs=Fs.nextEffect}}catch(e){if(null===Fs)throw Error(a(330));yl(Fs,e),Fs=Fs.nextEffect}}while(null!==Fs);if(T=gn,w=dn(),E=T.focusedElem,l=T.selectionRange,w!==E&&E&&E.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))))}(E.ownerDocument.documentElement,E)){null!==l&&hn(E)&&(w=l.start,void 0===(T=l.end)&&(T=w),\"selectionStart\"in E?(E.selectionStart=w,E.selectionEnd=Math.min(T,E.value.length)):(T=(w=E.ownerDocument||document)&&w.defaultView||window).getSelection&&(T=T.getSelection(),c=E.textContent.length,s=Math.min(l.start,c),l=void 0===l.end?s:Math.min(l.end,c),!T.extend&&s>l&&(c=l,l=s,s=c),c=pn(E,s),f=pn(E,l),c&&f&&(1!==T.rangeCount||T.anchorNode!==c.node||T.anchorOffset!==c.offset||T.focusNode!==f.node||T.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),T.removeAllRanges(),s>l?(T.addRange(w),T.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),T.addRange(w))))),w=[];for(T=E;T=T.parentNode;)1===T.nodeType&&w.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(\"function\"==typeof E.focus&&E.focus(),E=0;E<w.length;E++)(T=w[E]).element.scrollLeft=T.left,T.element.scrollTop=T.top}Gt=!!mn,gn=mn=null,e.current=n,Fs=i;do{try{for(E=e;null!==Fs;){var x=Fs.effectTag;if(36&x&&os(E,Fs.alternate,Fs),128&x){w=void 0;var k=Fs.ref;if(null!==k){var O=Fs.stateNode;switch(Fs.tag){case 5:w=O;break;default:w=O}\"function\"==typeof k?k(w):k.current=w}}Fs=Fs.nextEffect}}catch(e){if(null===Fs)throw Error(a(330));yl(Fs,e),Fs=Fs.nextEffect}}while(null!==Fs);Fs=null,Li(),xs=o}else e.current=n;if(Vs)Vs=!1,Us=e,qs=t;else for(Fs=i;null!==Fs;)t=Fs.nextEffect,Fs.nextEffect=null,Fs=t;if(0===(t=e.firstPendingTime)&&(Rs=null),1073741823===t?e===Hs?zs++:(zs=0,Hs=e):zs=0,\"function\"==typeof wl&&wl(n.stateNode,r),$s(e),Ms)throw Ms=!1,e=Ps,Ps=null,e;return 0!=(8&xs)||Ki(),null}function hl(){for(;null!==Fs;){var e=Fs.effectTag;0!=(256&e)&&ns(Fs.alternate,Fs),0==(512&e)||Vs||(Vs=!0,zi(97,(function(){return ml(),null}))),Fs=Fs.nextEffect}}function ml(){if(90!==qs){var e=97<qs?97:qs;return qs=90,Bi(e,gl)}}function gl(){if(null===Us)return!1;var e=Us;if(Us=null,0!=(48&xs))throw Error(a(331));var t=xs;for(xs|=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(t){if(null===e)throw Error(a(330));yl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return xs=t,Ki(),!0}function vl(e,t,n){lo(e,t=hs(e,t=Xa(n,t),1073741823)),null!==(e=Ys(e,1073741823))&&$s(e)}function yl(e,t){if(3===e.tag)vl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){vl(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))){lo(n,e=ms(n,e=Xa(t,e),1073741823)),null!==(n=Ys(n,1073741823))&&$s(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),ks===e&&_s===n?Ss===Ts||Ss===ws&&1073741823===Ns&&Vi()-Ls<500?nl(e,_s):js=!0:Il(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,$s(e)))}function El(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Qs(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||pi.current)Aa=!0;else{if(r<n){switch(Aa=!1,t.tag){case 3:Va(t),Ca();break;case 5:if(Lo(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:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ui(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):(ui(Mo,1&Mo.current),null!==(t=Wa(e,t,n))?t.sibling:null);ui(Mo,1&Mo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Qa(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ui(Mo,Mo.current),!r)return null}return Wa(e,t,n)}Aa=!1}}else Aa=!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,fi.current),no(t,n),i=Wo(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,Eo(t,r,e,n),t=Ra(null,t,r,!0,o,n)}else t.tag=0,Da(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 Ol(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(i),e=Wi(i,e),o){case 0:t=Ma(null,t,i,e,n);break e;case 1:t=Pa(null,t,i,e,n);break e;case 11:t=Ia(null,t,i,e,n);break e;case 14:t=ja(null,t,i,Wi(i.type,e),r,n);break e}throw Error(a(306,i,\"\"))}return t;case 0:return r=t.type,i=t.pendingProps,Ma(e,t,r,i=t.elementType===r?i:Wi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Pa(e,t,r,i=t.elementType===r?i:Wi(r,i),n);case 3:if(Va(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),co(t,r,null,n),(r=t.memoizedState.element)===i)Ca(),t=Wa(e,t,n);else{if((i=t.stateNode.hydrate)&&(wa=wn(t.stateNode.containerInfo.firstChild),Ea=t,i=Ta=!0),i)for(n=_o(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Da(e,t,r,n),Ca();t=t.child}return t;case 5:return Lo(t),null===e&&Oa(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),Fa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Da(e,t,s,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ha(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oo(t,null,r,n):Da(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ia(e,t,r,i=t.elementType===r?i:Wi(r,i),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(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 l=t.type._context;if(ui(Yi,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0===(o=Pr(l,o)?0:0|(\"function\"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!pi.current){t=Wa(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===l.tag&&((c=so(n,null)).tag=2,lo(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),to(l.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Da(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,Da(e,t,r,n),t.child;case 14:return o=Wi(i=t.type,t.pendingProps),ja(e,t,i,o=Wi(i.type,o),r,n);case 15:return La(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wi(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),Eo(t,r,i,n),Ra(null,t,r,!0,e,n);case 19:return Qa(e,t,n)}throw Error(a(156,t.tag))};var wl=null,Tl=null;function xl(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 kl(e,t,n,r){return new xl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function _l(e,t){var n=e.alternate;return null===n?((n=kl(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 Sl(e,t,n,r,i,o){var s=2;if(r=e,\"function\"==typeof e)Ol(e)&&(s=1);else if(\"string\"==typeof e)s=5;else e:switch(e){case ne:return Cl(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=kl(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ue:return(e=kl(13,n,t,i)).type=ue,e.elementType=ue,e.expirationTime=o,e;case ce:return(e=kl(19,n,t,i)).elementType=ce,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 le:s=11;break e;case fe:s=14;break e;case pe:s=16,r=null;break e;case de:s=22;break e}throw Error(a(130,null==e?e:typeof e,\"\"))}return(t=kl(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Cl(e,t,n,r){return(e=kl(7,e,r,t)).expirationTime=n,e}function Nl(e,t,n){return(e=kl(6,e,null,t)).expirationTime=n,e}function Al(e,t,n){return(t=kl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dl(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 Il(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function jl(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 Ll(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 Fl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ml(e,t,n,r){var i=t.current,o=Gs(),s=po.suspense;o=Qs(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(mi(u)){n=yi(n,u,l);break e}}n=l}else n=ci;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),lo(i,t),Ws(i,o),o}function Pl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Rl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Vl(e,t){Rl(e,t),(e=e.alternate)&&Rl(e,t)}function Ul(e,t,n){var r=new Dl(e,t,n=null!=n&&!0===n.hydrate),i=kl(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,oo(i),e[_n]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);_t.forEach((function(e){ht(e,t,n)})),St.forEach((function(e){ht(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function ql(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||\" react-mount-point-unstable \"!==e.nodeValue))}function Bl(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=Pl(a);s.call(e)}}Ml(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 Ul(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,\"function\"==typeof i){var l=i;i=function(){var e=Pl(a);l.call(e)}}tl((function(){Ml(t,a,e,i)}))}return Pl(a)}function zl(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 Hl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ql(t))throw Error(a(200));return zl(e,t,null,n)}Ul.prototype.render=function(e){Ml(e,this._internalRoot,null,null)},Ul.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Ml(null,e,null,(function(){t[_n]=null}))},mt=function(e){if(13===e.tag){var t=Qi(Gs(),150,100);Ws(e,t),Vl(e,t)}},gt=function(e){13===e.tag&&(Ws(e,3),Vl(e,3))},vt=function(e){if(13===e.tag){var t=Gs();Ws(e,t=Qs(t,e,null)),Vl(e,t)}},C=function(e,t,n){switch(t){case\"input\":if(Oe(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=An(r);if(!i)throw Error(a(90));we(r),Oe(r,i)}}}break;case\"textarea\":Ie(e,n);break;case\"select\":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},L=el,F=function(e,t,n,r,i){var o=xs;xs|=4;try{return Bi(98,e.bind(null,t,n,r,i))}finally{0===(xs=o)&&Ki()}},M=function(){0==(49&xs)&&(function(){if(null!==Bs){var e=Bs;Bs=null,e.forEach((function(e,t){Fl(t,e),$s(t)})),Ki()}}(),ml())},P=function(e,t){var n=xs;xs|=2;try{return e(t)}finally{0===(xs=n)&&Ki()}};var Kl,Gl,Ql={Events:[Cn,Nn,An,_,x,Pn,function(e){it(e,Mn)},I,j,$t,st,ml,{current:!1}]};Gl=(Kl={findFiberByHostInstance:Sn,bundleType:0,version:\"16.13.1\",rendererPackageName:\"react-dom\"}).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);wl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Tl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},Kl,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Gl?Gl(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ql,t.createPortal=Hl,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&xs))throw Error(a(187));var n=xs;xs|=1;try{return Bi(99,e.bind(null,t))}finally{xs=n,Ki()}},t.hydrate=function(e,t,n){if(!ql(t))throw Error(a(200));return Bl(null,e,t,!0,n)},t.render=function(e,t,n){if(!ql(t))throw Error(a(200));return Bl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ql(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Bl(null,null,e,!1,(function(){e._reactRootContainer=null,e[_n]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return Hl(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ql(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Bl(e,t,n,!1,r)},t.version=\"16.13.1\"},function(e,t,n){\"use strict\";e.exports=n(121)},function(e,t,n){\"use strict\";\n/** @license React v0.19.1\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var r,i,o,a,s;if(\"undefined\"==typeof window||\"function\"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(c,0))},i=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var p=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 p&&\"function\"==typeof p.now)t.unstable_now=function(){return p.now()};else{var v=d.now();t.unstable_now=function(){return d.now()-v}}var y=!1,b=null,E=-1,w=5,T=0;a=function(){return t.unstable_now()>=T},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\"):w=0<e?Math.floor(1e3/e):5};var x=new MessageChannel,k=x.port2;x.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();T=e+w;try{b(!0,e)?k.postMessage(null):(y=!1,b=null)}catch(e){throw k.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,k.postMessage(null))},i=function(e,n){E=h((function(){e(t.unstable_now())}),n)},o=function(){m(E),E=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function _(e){return void 0===(e=e[0])?null:e}function S(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,l=e[s];if(void 0!==a&&0>C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],A=[],D=1,I=null,j=3,L=!1,F=!1,M=!1;function P(e){for(var t=_(A);null!==t;){if(null===t.callback)S(A);else{if(!(t.startTime<=e))break;S(A),t.sortIndex=t.expirationTime,O(N,t)}t=_(A)}}function R(e){if(M=!1,P(e),!F)if(null!==_(N))F=!0,r(V);else{var t=_(A);null!==t&&i(R,t.startTime-e)}}function V(e,n){F=!1,M&&(M=!1,o()),L=!0;var r=j;try{for(P(n),I=_(N);null!==I&&(!(I.expirationTime>n)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,j=I.priorityLevel;var l=s(I.expirationTime<=n);n=t.unstable_now(),\"function\"==typeof l?I.callback=l:I===_(N)&&S(N),P(n)}else S(N);I=_(N)}if(null!==I)var u=!0;else{var c=_(A);null!==c&&i(R,c.startTime-n),u=!1}return u}finally{I=null,j=r,L=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var q=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(){F||L||(F=!0,r(V))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return _(N)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=q,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if(\"object\"==typeof a&&null!==a){var l=a.delay;l=\"number\"==typeof l&&0<l?s+l:s,a=\"number\"==typeof a.timeout?a.timeout:U(e)}else a=U(e),l=s;return e={id:D++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,O(A,e),null===_(N)&&e===_(A)&&(M?o():M=!0,i(R,l-s))):(e.sortIndex=a,O(N,e),F||L||(F=!0,r(V))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();P(e);var n=_(N);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<I.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},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){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},\"\")}catch(e){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),a=new x(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 O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(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(e){return{type:\"throw\",arg:e}}}e.wrap=l;var c={};function f(){}function p(){}function d(){}var h={};h[i]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(k([])));g&&g!==t&&n.call(g,i)&&(h=g);var v=d.prototype=f.prototype=Object.create(h);function y(e){[\"next\",\"throw\",\"return\"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var l=u(e[i],e,o);if(\"throw\"!==l.type){var c=l.arg,f=c.value;return f&&\"object\"==typeof f&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){r(\"next\",e,a,s)}),(function(e){r(\"throw\",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r(\"throw\",e,a,s)}))}s(l.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function E(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,E(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 w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(w,this),this.reset(!0)}function k(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:O}}function O(){return{value:void 0,done:!0}}return p.prototype=v.constructor=d,d.constructor=p,p.displayName=s(d,a,\"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,d):(e.__proto__=d,s(e,a,\"GeneratorFunction\")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(l(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(v),s(v,a,\"Generator\"),v[i]=function(){return this},v.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=k,x.prototype={constructor:x,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(T),!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\"),l=n.call(o,\"finallyLoc\");if(s&&l){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(!l)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),T(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;T(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function(\"r\",\"regeneratorRuntime = r\")(r)}},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){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,n){\"use strict\";(function(e){Object.defineProperty(t,\"__esModule\",{value:!0}),t.GraphiQL=void 0;var r=N(n(5)),i=N(n(18)),o=N(n(54)),a=n(14),s=N(n(128)),l=n(130),u=n(131),c=n(132),f=n(133),p=n(134),d=n(135),h=n(136),m=n(207),g=n(213),v=n(215),y=n(221),b=N(n(224)),E=N(n(75)),w=N(n(225)),T=N(n(226)),x=N(n(104)),k=N(n(227)),O=n(228),_=n(229),S=n(230),C=n(231);function N(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 D(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){M(e,t,n[t])}))}return e}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 j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function F(e,t){return(F=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 P=function(t){function n(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,n),t=function(e,t){return!t||\"object\"!==A(t)&&\"function\"!=typeof t?L(e):t}(this,j(n).call(this,e)),M(L(t),\"handleClickReference\",(function(e){t.setState({docExplorerOpen:!0},(function(){t.docExplorerComponent.showDocForReference(e)}))})),M(L(t),\"handleRunQuery\",(function(e){t._editorQueryID++;var n=t._editorQueryID,r=t.autoCompleteLeafs()||t.state.query,i=t.state.variables,o=t.state.operationName;e&&e!==o&&(o=e,t.handleEditOperationName(o));try{t.setState({isWaitingForResponse:!0,response:null,operationName:o});var a=t._fetchQuery(r,i,o,(function(e){n===t._editorQueryID&&t.setState({isWaitingForResponse:!1,response:JSON.stringify(e,null,2)})}));t.setState({subscription:a})}catch(e){t.setState({isWaitingForResponse:!1,response:e.message})}})),M(L(t),\"handleStopQuery\",(function(){var e=t.state.subscription;t.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()})),M(L(t),\"handlePrettifyQuery\",(function(){var e=t.getQueryEditor();e.setValue((0,a.print)((0,a.parse)(e.getValue())))})),M(L(t),\"handleMergeQuery\",(function(){var e=t.getQueryEditor(),n=e.getValue();if(n){var r=(0,a.parse)(n);e.setValue((0,a.print)((0,S.mergeAst)(r)))}})),M(L(t),\"handleEditQuery\",(0,x.default)(100,(function(e){var n=t._updateQueryFacts(e,t.state.operationName,t.state.operations,t.state.schema);if(t.setState(D({query:e},n)),t.props.onEditQuery)return t.props.onEditQuery(e)}))),M(L(t),\"handleCopyQuery\",(function(){var e=t.getQueryEditor().getValue();if(e)return(0,s.default)(e),t.props.onCopyQuery?t.props.onCopyQuery(e):void 0})),M(L(t),\"_updateQueryFacts\",(function(e,n,r,i){var o=(0,w.default)(i,e);if(o){var a=(0,T.default)(r,n,o.operations),s=t.props.onEditOperationName;return s&&n!==a&&s(a),D({operationName:a},o)}})),M(L(t),\"handleEditVariables\",(function(e){t.setState({variables:e}),t.props.onEditVariables&&t.props.onEditVariables(e)})),M(L(t),\"handleEditOperationName\",(function(e){var n=t.props.onEditOperationName;n&&n(e)})),M(L(t),\"handleHintInformationRender\",(function(e){var n;e.addEventListener(\"click\",t._onClickHintInformation),e.addEventListener(\"DOMNodeRemoved\",n=function(){e.removeEventListener(\"DOMNodeRemoved\",n),e.removeEventListener(\"click\",t._onClickHintInformation)})})),M(L(t),\"handleEditorRunQuery\",(function(){t._runQueryAtCursor()})),M(L(t),\"_onClickHintInformation\",(function(e){if(\"typeName\"===e.target.className){var n=e.target.innerHTML,r=t.state.schema;if(r){var i=r.getType(n);i&&t.setState({docExplorerOpen:!0},(function(){t.docExplorerComponent.showDoc(i)}))}}})),M(L(t),\"handleToggleDocs\",(function(){\"function\"==typeof t.props.onToggleDocs&&t.props.onToggleDocs(!t.state.docExplorerOpen),t.setState({docExplorerOpen:!t.state.docExplorerOpen})})),M(L(t),\"handleToggleHistory\",(function(){\"function\"==typeof t.props.onToggleHistory&&t.props.onToggleHistory(!t.state.historyPaneOpen),t.setState({historyPaneOpen:!t.state.historyPaneOpen})})),M(L(t),\"handleSelectHistoryQuery\",(function(e,n,r){t.handleEditQuery(e),t.handleEditVariables(n),t.handleEditOperationName(r)})),M(L(t),\"handleResizeStart\",(function(e){if(t._didClickDragBar(e)){e.preventDefault();var n=e.clientX-(0,_.getLeft)(e.target),r=function(e){if(0===e.buttons)return i();var r=o.default.findDOMNode(t.editorBarComponent),a=e.clientX-(0,_.getLeft)(r)-n,s=r.clientWidth-a;t.setState({editorFlex:a/s})},i=function(){document.removeEventListener(\"mousemove\",r),document.removeEventListener(\"mouseup\",i),r=null,i=null};document.addEventListener(\"mousemove\",r),document.addEventListener(\"mouseup\",i)}})),M(L(t),\"handleResetResize\",(function(){t.setState({editorFlex:1})})),M(L(t),\"handleDocsResizeStart\",(function(e){e.preventDefault();var n=t.state.docExplorerWidth,r=e.clientX-(0,_.getLeft)(e.target),i=function(e){if(0===e.buttons)return a();var n=o.default.findDOMNode(L(t)),i=e.clientX-(0,_.getLeft)(n)-r,s=n.clientWidth-i;s<100?t.setState({docExplorerOpen:!1}):t.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(s,650)})},a=function(){t.state.docExplorerOpen||t.setState({docExplorerWidth:n}),document.removeEventListener(\"mousemove\",i),document.removeEventListener(\"mouseup\",a),i=null,a=null};document.addEventListener(\"mousemove\",i),document.addEventListener(\"mouseup\",a)})),M(L(t),\"handleDocsResetResize\",(function(){t.setState({docExplorerWidth:350})})),M(L(t),\"handleVariableResizeStart\",(function(e){e.preventDefault();var n=!1,r=t.state.variableEditorOpen,i=t.state.variableEditorHeight,a=e.clientY-(0,_.getTop)(e.target),s=function(e){if(0===e.buttons)return l();n=!0;var r=o.default.findDOMNode(t.editorBarComponent),s=e.clientY-(0,_.getTop)(r)-a,u=r.clientHeight-s;u<60?t.setState({variableEditorOpen:!1,variableEditorHeight:i}):t.setState({variableEditorOpen:!0,variableEditorHeight:u})},l=function(){n||t.setState({variableEditorOpen:!r}),document.removeEventListener(\"mousemove\",s),document.removeEventListener(\"mouseup\",l),s=null,l=null};document.addEventListener(\"mousemove\",s),document.addEventListener(\"mouseup\",l)})),\"function\"!=typeof e.fetcher)throw new TypeError(\"GraphiQL requires a fetcher function.\");t._storage=new E.default(e.storage);var r=void 0!==e.query?e.query:null!==t._storage.get(\"query\")?t._storage.get(\"query\"):void 0!==e.defaultQuery?e.defaultQuery:R,i=(0,w.default)(e.schema,r),l=void 0!==e.variables?e.variables:t._storage.get(\"variables\"),u=void 0!==e.operationName?e.operationName:(0,T.default)(null,t._storage.get(\"operationName\"),i&&i.operations);return t.state=D({schema:e.schema,query:r,variables:l,operationName:u,response:e.response,editorFlex:Number(t._storage.get(\"editorFlex\"))||1,variableEditorOpen:Boolean(l),variableEditorHeight:Number(t._storage.get(\"variableEditorHeight\"))||200,docExplorerOpen:\"true\"===t._storage.get(\"docExplorerOpen\")||!1,historyPaneOpen:\"true\"===t._storage.get(\"historyPaneOpen\")||!1,docExplorerWidth:Number(t._storage.get(\"docExplorerWidth\"))||350,isWaitingForResponse:!1,subscription:null},i),t._editorQueryID=0,\"object\"===(\"undefined\"==typeof window?\"undefined\":A(window))&&window.addEventListener(\"beforeunload\",(function(){return t.componentWillUnmount()})),t}var i,f,p;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(n,t),i=n,(f=[{key:\"componentDidMount\",value:function(){void 0===this.state.schema&&this._fetchSchema(),this.codeMirrorSizer=new b.default,e.g=this}},{key:\"componentWillReceiveProps\",value:function(e){var t=this,n=this.state.schema,r=this.state.query,i=this.state.variables,o=this.state.operationName,a=this.state.response;if(void 0!==e.schema&&(n=e.schema),void 0!==e.query&&(r=e.query),void 0!==e.variables&&(i=e.variables),void 0!==e.operationName&&(o=e.operationName),void 0!==e.response&&(a=e.response),n!==this.state.schema||r!==this.state.query||o!==this.state.operationName){var s=this._updateQueryFacts(r,o,this.state.operations,n);void 0!==s&&(o=s.operationName,this.setState(s))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(n=void 0),this.setState({schema:n,query:r,variables:i,operationName:o,response:a},(function(){void 0===t.state.schema&&(t.docExplorerComponent.reset(),t._fetchSchema())}))}},{key:\"componentDidUpdate\",value:function(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.resultComponent])}},{key:\"componentWillUnmount\",value:function(){this._storage.set(\"query\",this.state.query),this._storage.set(\"variables\",this.state.variables),this._storage.set(\"operationName\",this.state.operationName),this._storage.set(\"editorFlex\",this.state.editorFlex),this._storage.set(\"variableEditorHeight\",this.state.variableEditorHeight),this._storage.set(\"docExplorerWidth\",this.state.docExplorerWidth),this._storage.set(\"docExplorerOpen\",this.state.docExplorerOpen),this._storage.set(\"historyPaneOpen\",this.state.historyPaneOpen)}},{key:\"render\",value:function(){var e=this,t=r.default.Children.toArray(this.props.children),i=(0,k.default)(t,(function(e){return e.type===n.Logo}))||r.default.createElement(n.Logo,null),o=(0,k.default)(t,(function(e){return e.type===n.Toolbar}))||r.default.createElement(n.Toolbar,null,r.default.createElement(c.ToolbarButton,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),r.default.createElement(c.ToolbarButton,{onClick:this.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),r.default.createElement(c.ToolbarButton,{onClick:this.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),r.default.createElement(c.ToolbarButton,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"})),a=(0,k.default)(t,(function(e){return e.type===n.Footer})),s={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},f={display:this.state.docExplorerOpen?\"block\":\"none\",width:this.state.docExplorerWidth},p=\"docExplorerWrap\"+(this.state.docExplorerWidth<200?\" doc-explorer-narrow\":\"\"),d={display:this.state.historyPaneOpen?\"block\":\"none\",width:\"230px\",zIndex:\"7\"},b=this.state.variableEditorOpen,E={height:b?this.state.variableEditorHeight:null};return r.default.createElement(\"div\",{className:\"graphiql-container\"},r.default.createElement(\"div\",{className:\"historyPaneWrap\",style:d},r.default.createElement(y.QueryHistory,{operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,queryID:this._editorQueryID},r.default.createElement(\"div\",{className:\"docExplorerHide\",onClick:this.handleToggleHistory},\"✕\"))),r.default.createElement(\"div\",{className:\"editorWrap\"},r.default.createElement(\"div\",{className:\"topBarWrap\"},r.default.createElement(\"div\",{className:\"topBar\"},i,r.default.createElement(l.ExecuteButton,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),o),!this.state.docExplorerOpen&&r.default.createElement(\"button\",{className:\"docExplorerShow\",onClick:this.handleToggleDocs},\"Docs\")),r.default.createElement(\"div\",{ref:function(t){e.editorBarComponent=t},className:\"editorBar\",onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},r.default.createElement(\"div\",{className:\"queryWrap\",style:s},r.default.createElement(h.QueryEditor,{ref:function(t){e.queryEditorComponent=t},schema:this.state.schema,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly}),r.default.createElement(\"div\",{className:\"variable-editor\",style:E},r.default.createElement(\"div\",{className:\"variable-editor-title\",style:{cursor:b?\"row-resize\":\"n-resize\"},onMouseDown:this.handleVariableResizeStart},\"Query Variables\"),r.default.createElement(m.VariableEditor,{ref:function(t){e.variableEditorComponent=t},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly}))),r.default.createElement(\"div\",{className:\"resultWrap\"},this.state.isWaitingForResponse&&r.default.createElement(\"div\",{className:\"spinner-container\"},r.default.createElement(\"div\",{className:\"spinner\"})),r.default.createElement(g.ResultViewer,{ref:function(t){e.resultComponent=t},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:u.ImagePreview}),a))),r.default.createElement(\"div\",{className:p,style:f},r.default.createElement(\"div\",{className:\"docExplorerResizer\",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),r.default.createElement(v.DocExplorer,{ref:function(t){e.docExplorerComponent=t},schema:this.state.schema},r.default.createElement(\"div\",{className:\"docExplorerHide\",onClick:this.handleToggleDocs},\"✕\"))))}},{key:\"getQueryEditor\",value:function(){return this.queryEditorComponent.getCodeMirror()}},{key:\"getVariableEditor\",value:function(){return this.variableEditorComponent.getCodeMirror()}},{key:\"refresh\",value:function(){this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent.getCodeMirror().refresh(),this.resultComponent.getCodeMirror().refresh()}},{key:\"autoCompleteLeafs\",value:function(){var e=(0,O.fillLeafs)(this.state.schema,this.state.query,this.props.getDefaultFieldNames),t=e.insertions,n=e.result;if(t&&t.length>0){var r=this.getQueryEditor();r.operation((function(){var e=r.getCursor(),i=r.indexFromPos(e);r.setValue(n);var o=0,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);var s=i;t.forEach((function(e){var t=e.index,n=e.string;t<i&&(s+=n.length)})),r.setCursor(r.posFromIndex(s))}))}return n}},{key:\"_fetchSchema\",value:function(){var e=this,t=this.props.fetcher,n=U(t({query:C.introspectionQuery,operationName:C.introspectionQueryName}));V(n)?n.then((function(e){if(e.data)return e;var r=U(t({query:C.introspectionQuerySansSubscriptions,operationName:C.introspectionQueryName}));if(!V(n))throw new Error(\"Fetcher did not return a Promise for introspection.\");return r})).then((function(t){if(void 0===e.state.schema)if(t&&t.data){var n=(0,a.buildClientSchema)(t.data),r=(0,w.default)(n,e.state.query);e.setState(D({schema:n},r))}else{var i=\"string\"==typeof t?t:JSON.stringify(t,null,2);e.setState({schema:null,response:i})}})).catch((function(t){e.setState({schema:null,response:t&&String(t.stack||t)})})):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})}},{key:\"_fetchQuery\",value:function(e,t,n,r){var i=this,o=this.props.fetcher,a=null;try{a=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(e){throw new Error(\"Variables are invalid JSON: \".concat(e.message,\".\"))}if(\"object\"!==A(a))throw new Error(\"Variables are not a JSON object.\");var s=o({query:e,variables:a,operationName:n});if(!V(s)){if(q(s))return s.subscribe({next:r,error:function(e){i.setState({isWaitingForResponse:!1,response:e&&String(e.stack||e),subscription:null})},complete:function(){i.setState({isWaitingForResponse:!1,subscription:null})}});throw new Error(\"Fetcher did not return Promise or Observable.\")}s.then(r).catch((function(e){i.setState({isWaitingForResponse:!1,response:e&&String(e.stack||e)})}))}},{key:\"_runQueryAtCursor\",value:function(){if(this.state.subscription)this.handleStopQuery();else{var e,t=this.state.operations;if(t){var n=this.getQueryEditor();if(n.hasFocus())for(var r=n.getCursor(),i=n.indexFromPos(r),o=0;o<t.length;o++){var a=t[o];if(a.loc.start<=i&&a.loc.end>=i){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}}},{key:\"_didClickDragBar\",value:function(e){if(0!==e.button||e.ctrlKey)return!1;var t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;for(var n=o.default.findDOMNode(this.resultComponent);t;){if(t===n)return!0;t=t.parentNode}return!1}}])&&I(i.prototype,f),p&&I(i,p),n}(r.default.Component);t.GraphiQL=P,M(P,\"propTypes\",{fetcher:i.default.func.isRequired,schema:i.default.instanceOf(a.GraphQLSchema),query:i.default.string,variables:i.default.string,operationName:i.default.string,response:i.default.string,storage:i.default.shape({getItem:i.default.func,setItem:i.default.func,removeItem:i.default.func}),defaultQuery:i.default.string,onCopyQuery:i.default.func,onEditQuery:i.default.func,onEditVariables:i.default.func,onEditOperationName:i.default.func,onToggleDocs:i.default.func,getDefaultFieldNames:i.default.func,editorTheme:i.default.string,onToggleHistory:i.default.func,ResultsTooltip:i.default.any,readOnly:i.default.bool}),P.Logo=function(e){return r.default.createElement(\"div\",{className:\"title\"},e.children||r.default.createElement(\"span\",null,\"Graph\",r.default.createElement(\"em\",null,\"i\"),\"QL\"))},P.Toolbar=function(e){return r.default.createElement(\"div\",{className:\"toolbar\"},e.children)},P.QueryEditor=h.QueryEditor,P.VariableEditor=m.VariableEditor,P.ResultViewer=g.ResultViewer,P.Button=c.ToolbarButton,P.ToolbarButton=c.ToolbarButton,P.Group=f.ToolbarGroup,P.Menu=p.ToolbarMenu,P.MenuItem=p.ToolbarMenuItem,P.Select=d.ToolbarSelect,P.SelectOption=d.ToolbarSelectOption,P.Footer=function(e){return r.default.createElement(\"div\",{className:\"footer\"},e.children)};var R='# Welcome to GraphiQL\\n#\\n# GraphiQL is an in-browser tool for writing, validating, and\\n# testing GraphQL queries.\\n#\\n# Type queries into this side of the screen, and you will see intelligent\\n# typeaheads aware of the current GraphQL type schema and live syntax and\\n# validation errors highlighted within the text.\\n#\\n# GraphQL queries typically start with a \"{\" character. Lines that starts\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n#     {\\n#       field(arg: \"value\") {\\n#         subField\\n#       }\\n#     }\\n#\\n# Keyboard shortcuts:\\n#\\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\\n#\\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\\n#\\n#       Run Query:  Ctrl-Enter (or press the play button above)\\n#\\n#   Auto Complete:  Ctrl-Space (or just start typing)\\n#\\n\\n';function V(e){return\"object\"===A(e)&&\"function\"==typeof e.then}function U(e){return q(e)?new Promise((function(t,n){var r=e.subscribe((function(e){t(e),r.unsubscribe()}),n,(function(){n(new Error(\"no value resolved\"))}))})):e}function q(e){return\"object\"===A(e)&&\"function\"==typeof e.subscribe}}).call(this,n(43))},function(e,t,n){\"use strict\";var r=n(127);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=n(129),i={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,t){var n,o,a,s,l,u,c=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(u=document.createElement(\"span\")).textContent=e,u.style.all=\"unset\",u.style.position=\"fixed\",u.style.top=0,u.style.clip=\"rect(0, 0, 0, 0)\",u.style.whiteSpace=\"pre\",u.style.webkitUserSelect=\"text\",u.style.MozUserSelect=\"text\",u.style.msUserSelect=\"text\",u.style.userSelect=\"text\",u.addEventListener(\"copy\",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===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(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");c=!0}catch(r){n&&console.error(\"unable to copy using execCommand: \",r),n&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(t.format||\"text\",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(r){n&&console.error(\"unable to copy using clipboardData: \",r),n&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"⌘\":\"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{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return c}},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\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ExecuteButton=void 0;var r=o(n(5)),i=o(n(18));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){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?u(e):t}(this,l(t).call(this,e)),f(u(n),\"_onClick\",(function(){n.props.isRunning?n.props.onStop():n.props.onRun()})),f(u(n),\"_onOptionSelected\",(function(e){n.setState({optionsOpen:!1}),n.props.onRun(e.name&&e.name.value)})),f(u(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.compareDocumentPosition(e.target)&Node.DOCUMENT_POSITION_CONTAINED_BY||n.setState({optionsOpen:!1}))};document.addEventListener(\"mouseup\",i)})),n.state={optionsOpen:!1,highlight:null},n}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(i=[{key:\"render\",value:function(){var e,t,n=this,i=this.props.operations,o=this.state.optionsOpen,a=i&&i.length>1,s=null;if(a&&o){var l=this.state.highlight;s=r.default.createElement(\"ul\",{className:\"execute-options\"},i.map((function(e){return r.default.createElement(\"li\",{key:e.name?e.name.value:\"*\",className:e===l?\"selected\":void 0,onMouseOver:function(){return n.setState({highlight:e})},onMouseOut:function(){return n.setState({highlight:null})},onMouseUp:function(){return n._onOptionSelected(e)}},e.name?e.name.value:\"<Unnamed>\")})))}!this.props.isRunning&&a||(e=this._onClick),this.props.isRunning||!a||o||(t=this._onOptionsOpen);var u=this.props.isRunning?r.default.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):r.default.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return r.default.createElement(\"div\",{className:\"execute-button-wrap\"},r.default.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:t,onClick:e,title:\"Execute Query (Ctrl-Enter)\"},r.default.createElement(\"svg\",{width:\"34\",height:\"34\"},u)),s)}}])&&s(n.prototype,i),o&&s(n,o),t}(r.default.Component);t.ExecuteButton=p,f(p,\"propTypes\",{onRun:i.default.func,onStop:i.default.func,isRunning:i.default.bool,operations:i.default.array})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ImagePreview=void 0;var r=o(n(5)),i=o(n(18));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){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function u(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 c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 d(e){if(\"string\"!==e.type)return null;var t=e.string.slice(1).slice(0,-1).trim();try{var n=window.location;return new URL(t,n.protocol+\"//\"+n.host)}catch(e){return null}}var h=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?l(e):t}(this,s(t).call(this,e)),p(l(n),\"state\",{width:null,height:null,src:null,mime:null}),n}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),c(t,null,[{key:\"shouldRender\",value:function(e){var t=d(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)}}]),c(t,[{key:\"componentDidMount\",value:function(){this._updateMetadata()}},{key:\"componentDidUpdate\",value:function(){this._updateMetadata()}},{key:\"render\",value:function(){var e=this,t=null;if(null!==this.state.width&&null!==this.state.height){var n=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(n+=\" \"+this.state.mime),t=r.default.createElement(\"div\",null,n)}return r.default.createElement(\"div\",null,r.default.createElement(\"img\",{onLoad:function(){return e._updateMetadata()},ref:function(t){e._node=t},src:d(this.props.token)}),t)}},{key:\"_updateMetadata\",value:function(){var e=this;if(this._node){var t=this._node.naturalWidth,n=this._node.naturalHeight,r=this._node.src;r!==this.state.src&&(this.setState({src:r}),fetch(r,{method:\"HEAD\"}).then((function(t){e.setState({mime:t.headers.get(\"Content-Type\")})}))),t===this.state.width&&n===this.state.height||this.setState({height:n,width:t})}}}]),t}(r.default.Component);t.ImagePreview=h,p(h,\"propTypes\",{token:i.default.any})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ToolbarButton=void 0;var r=o(n(5)),i=o(n(18));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){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?u(e):t}(this,l(t).call(this,e)),f(u(n),\"handleClick\",(function(e){e.preventDefault();try{n.props.onClick(),n.setState({error:null})}catch(e){n.setState({error:e})}})),n.state={error:null},n}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(i=[{key:\"render\",value:function(){var e=this.state.error;return r.default.createElement(\"a\",{className:\"toolbar-button\"+(e?\" error\":\"\"),onMouseDown:d,onClick:this.handleClick,title:e?e.message:this.props.title},this.props.label)}}])&&s(n.prototype,i),o&&s(n,o),t}(r.default.Component);function d(e){e.preventDefault()}t.ToolbarButton=p,f(p,\"propTypes\",{onClick:i.default.func,title:i.default.string,label:i.default.string})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ToolbarGroup=function(e){var t=e.children;return i.default.createElement(\"div\",{className:\"toolbar-button-group\"},t)};var r,i=(r=n(5))&&r.__esModule?r:{default:r}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ToolbarMenuItem=d,t.ToolbarMenu=void 0;var r=o(n(5)),i=o(n(18));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){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?u(e):t}(this,l(t).call(this,e)),f(u(n),\"handleOpen\",(function(e){h(e),n.setState({visible:!0}),n._subscribe()})),n.state={visible:!1},n}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(i=[{key:\"componentWillUnmount\",value:function(){this._release()}},{key:\"render\",value:function(){var e=this,t=this.state.visible;return r.default.createElement(\"a\",{className:\"toolbar-menu toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:h,ref:function(t){e._node=t},title:this.props.title},this.props.label,r.default.createElement(\"svg\",{width:\"14\",height:\"8\"},r.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 1.5 L 14 1.5 L 9.5 7 z\"})),r.default.createElement(\"ul\",{className:\"toolbar-menu-items\"+(t?\" open\":\"\")},this.props.children))}},{key:\"_subscribe\",value:function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener(\"click\",this._listener))}},{key:\"_release\",value:function(){this._listener&&(document.removeEventListener(\"click\",this._listener),this._listener=null)}},{key:\"handleClick\",value:function(e){this._node!==e.target&&(h(e),this.setState({visible:!1}),this._release())}}])&&s(n.prototype,i),o&&s(n,o),t}(r.default.Component);function d(e){var t=e.onSelect,n=e.title,i=e.label;return r.default.createElement(\"li\",{onMouseOver:function(e){e.target.className=\"hover\"},onMouseOut:function(e){e.target.className=null},onMouseDown:h,onMouseUp:t,title:n},i)}function h(e){e.preventDefault()}t.ToolbarMenu=p,f(p,\"propTypes\",{title:i.default.string,label:i.default.string}),d.propTypes={onSelect:i.default.func,title:i.default.string,label:i.default.string}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.ToolbarSelectOption=h,t.ToolbarSelect=void 0;var r=o(n(5)),i=o(n(18));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(){return(s=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)}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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?c(e):t}(this,u(t).call(this,e)),p(c(n),\"handleOpen\",(function(e){m(e),n.setState({visible:!0}),n._subscribe()})),n.state={visible:!1},n}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(i=[{key:\"componentWillUnmount\",value:function(){this._release()}},{key:\"render\",value:function(){var e,t=this,n=this.state.visible,i=r.default.Children.map(this.props.children,(function(n,i){e&&!n.props.selected||(e=n);var o=n.props.onSelect||t.props.onSelect&&t.props.onSelect.bind(null,n.props.value,i);return r.default.createElement(h,s({},n.props,{onSelect:o}))}));return r.default.createElement(\"a\",{className:\"toolbar-select toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:m,ref:function(e){t._node=e},title:this.props.title},e.props.label,r.default.createElement(\"svg\",{width:\"13\",height:\"10\"},r.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 5 L 13 5 L 9 1 z\"}),r.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 6 L 13 6 L 9 10 z\"})),r.default.createElement(\"ul\",{className:\"toolbar-select-options\"+(n?\" open\":\"\")},i))}},{key:\"_subscribe\",value:function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener(\"click\",this._listener))}},{key:\"_release\",value:function(){this._listener&&(document.removeEventListener(\"click\",this._listener),this._listener=null)}},{key:\"handleClick\",value:function(e){this._node!==e.target&&(m(e),this.setState({visible:!1}),this._release())}}])&&l(n.prototype,i),o&&l(n,o),t}(r.default.Component);function h(e){var t=e.onSelect,n=e.label,i=e.selected;return r.default.createElement(\"li\",{onMouseOver:function(e){e.target.className=\"hover\"},onMouseOut:function(e){e.target.className=null},onMouseDown:m,onMouseUp:t},n,i&&r.default.createElement(\"svg\",{width:\"13\",height:\"13\"},r.default.createElement(\"polygon\",{points:\"4.851,10.462 0,5.611 2.314,3.297 4.851,5.835 10.686,0 13,2.314 4.851,10.462\"})))}function m(e){e.preventDefault()}t.ToolbarSelect=d,p(d,\"propTypes\",{title:i.default.string,label:i.default.string,onSelect:i.default.func}),h.propTypes={onSelect:i.default.func,selected:i.default.bool,label:i.default.string,value:i.default.any}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.QueryEditor=void 0;var r=u(n(5)),i=u(n(18)),o=n(14),a=u(n(56)),s=n(192),l=u(n(89));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c=\"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 f(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){return(p=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=new a.default,v=/^[a-zA-Z0-9_@(]$/,y=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==c(t)&&\"function\"!=typeof t?d(e):t}(this,p(t).call(this)),m(d(n),\"_onKeyUp\",(function(e,t){v.test(t.key)&&n.editor.execCommand(\"autocomplete\")})),m(d(n),\"_onEdit\",(function(){n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue))})),m(d(n),\"_onHasCompletion\",(function(e,t){(0,l.default)(e,t,n.props.onHintInformationRender)})),n.cachedValue=e.value||\"\",n}var i,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),i=t,(o=[{key:\"componentDidMount\",value:function(){var e=this,t=n(13);n(90),n(193),n(60),n(91),n(61),n(62),n(92),n(44),n(63),n(45),n(93),n(64),n(195),n(202),n(203),n(204),n(206),this.editor=t(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{schema:this.props.schema},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1},info:{schema:this.props.schema,renderDescription:function(e){return g.render(e)},onClick:function(t){return e.props.onClickReference(t)}},jump:{schema:this.props.schema,onClick:function(t){return e.props.onClickReference(t)}},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!0,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!0,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!0,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!0,container:e._node})},\"Shift-Alt-Space\":function(){return e.editor.showHint({completeSingle:!0,container:e._node})},\"Cmd-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Ctrl-Enter\":function(){e.props.onRunQuery&&e.props.onRunQuery()},\"Shift-Ctrl-C\":function(){e.props.onCopyQuery&&e.props.onCopyQuery()},\"Shift-Ctrl-P\":function(){e.props.onPrettifyQuery&&e.props.onPrettifyQuery()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()},\"Cmd-F\":\"findPersistent\",\"Ctrl-F\":\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"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),this.editor.on(\"beforeChange\",this._onBeforeChange)}},{key:\"componentDidUpdate\",value:function(e){var t=n(13);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,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}},{key:\"componentWillUnmount\",value:function(){this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null}},{key:\"render\",value:function(){var e=this;return r.default.createElement(\"div\",{className:\"query-editor\",ref:function(t){e._node=t}})}},{key:\"getCodeMirror\",value:function(){return this.editor}},{key:\"getClientHeight\",value:function(){return this._node&&this._node.clientHeight}},{key:\"_onBeforeChange\",value:function(e,t){if(\"paste\"===t.origin){var n=t.text.map(s.normalizeWhitespace);t.update(t.from,t.to,n)}}}])&&f(i.prototype,o),a&&f(i,a),t}(r.default.Component);t.QueryEditor=y,m(y,\"propTypes\",{schema:i.default.instanceOf(o.GraphQLSchema),value:i.default.string,onEdit:i.default.func,readOnly:i.default.bool,onHintInformationRender:i.default.func,onClickReference:i.default.func,onCopyQuery:i.default.func,onPrettifyQuery:i.default.func,onMergeQuery:i.default.func,onRunQuery:i.default.func,editorTheme:i.default.string})},function(e,t,n){\"use strict\";var r=n(12),i=n(145),o=n(149),a=n(150),s=n(158),l=n(172),u=n(185),c=n(82),f=n(187),p={default:n(189),zero:n(190),commonmark:n(191)},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=c.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=f.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function y(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return c.decode(c.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 l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new u,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=p[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\":\"Á\",\"aacute\":\"á\",\"Abreve\":\"Ă\",\"abreve\":\"ă\",\"ac\":\"∾\",\"acd\":\"∿\",\"acE\":\"∾̳\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"Acy\":\"А\",\"acy\":\"а\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"af\":\"⁡\",\"Afr\":\"𝔄\",\"afr\":\"𝔞\",\"Agrave\":\"À\",\"agrave\":\"à\",\"alefsym\":\"ℵ\",\"aleph\":\"ℵ\",\"Alpha\":\"Α\",\"alpha\":\"α\",\"Amacr\":\"Ā\",\"amacr\":\"ā\",\"amalg\":\"⨿\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"⩕\",\"And\":\"⩓\",\"and\":\"∧\",\"andd\":\"⩜\",\"andslope\":\"⩘\",\"andv\":\"⩚\",\"ang\":\"∠\",\"ange\":\"⦤\",\"angle\":\"∠\",\"angmsdaa\":\"⦨\",\"angmsdab\":\"⦩\",\"angmsdac\":\"⦪\",\"angmsdad\":\"⦫\",\"angmsdae\":\"⦬\",\"angmsdaf\":\"⦭\",\"angmsdag\":\"⦮\",\"angmsdah\":\"⦯\",\"angmsd\":\"∡\",\"angrt\":\"∟\",\"angrtvb\":\"⊾\",\"angrtvbd\":\"⦝\",\"angsph\":\"∢\",\"angst\":\"Å\",\"angzarr\":\"⍼\",\"Aogon\":\"Ą\",\"aogon\":\"ą\",\"Aopf\":\"𝔸\",\"aopf\":\"𝕒\",\"apacir\":\"⩯\",\"ap\":\"≈\",\"apE\":\"⩰\",\"ape\":\"≊\",\"apid\":\"≋\",\"apos\":\"\\'\",\"ApplyFunction\":\"⁡\",\"approx\":\"≈\",\"approxeq\":\"≊\",\"Aring\":\"Å\",\"aring\":\"å\",\"Ascr\":\"𝒜\",\"ascr\":\"𝒶\",\"Assign\":\"≔\",\"ast\":\"*\",\"asymp\":\"≈\",\"asympeq\":\"≍\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"awconint\":\"∳\",\"awint\":\"⨑\",\"backcong\":\"≌\",\"backepsilon\":\"϶\",\"backprime\":\"‵\",\"backsim\":\"∽\",\"backsimeq\":\"⋍\",\"Backslash\":\"∖\",\"Barv\":\"⫧\",\"barvee\":\"⊽\",\"barwed\":\"⌅\",\"Barwed\":\"⌆\",\"barwedge\":\"⌅\",\"bbrk\":\"⎵\",\"bbrktbrk\":\"⎶\",\"bcong\":\"≌\",\"Bcy\":\"Б\",\"bcy\":\"б\",\"bdquo\":\"„\",\"becaus\":\"∵\",\"because\":\"∵\",\"Because\":\"∵\",\"bemptyv\":\"⦰\",\"bepsi\":\"϶\",\"bernou\":\"ℬ\",\"Bernoullis\":\"ℬ\",\"Beta\":\"Β\",\"beta\":\"β\",\"beth\":\"ℶ\",\"between\":\"≬\",\"Bfr\":\"𝔅\",\"bfr\":\"𝔟\",\"bigcap\":\"⋂\",\"bigcirc\":\"◯\",\"bigcup\":\"⋃\",\"bigodot\":\"⨀\",\"bigoplus\":\"⨁\",\"bigotimes\":\"⨂\",\"bigsqcup\":\"⨆\",\"bigstar\":\"★\",\"bigtriangledown\":\"▽\",\"bigtriangleup\":\"△\",\"biguplus\":\"⨄\",\"bigvee\":\"⋁\",\"bigwedge\":\"⋀\",\"bkarow\":\"⤍\",\"blacklozenge\":\"⧫\",\"blacksquare\":\"▪\",\"blacktriangle\":\"▴\",\"blacktriangledown\":\"▾\",\"blacktriangleleft\":\"◂\",\"blacktriangleright\":\"▸\",\"blank\":\"␣\",\"blk12\":\"▒\",\"blk14\":\"░\",\"blk34\":\"▓\",\"block\":\"█\",\"bne\":\"=⃥\",\"bnequiv\":\"≡⃥\",\"bNot\":\"⫭\",\"bnot\":\"⌐\",\"Bopf\":\"𝔹\",\"bopf\":\"𝕓\",\"bot\":\"⊥\",\"bottom\":\"⊥\",\"bowtie\":\"⋈\",\"boxbox\":\"⧉\",\"boxdl\":\"┐\",\"boxdL\":\"╕\",\"boxDl\":\"╖\",\"boxDL\":\"╗\",\"boxdr\":\"┌\",\"boxdR\":\"╒\",\"boxDr\":\"╓\",\"boxDR\":\"╔\",\"boxh\":\"─\",\"boxH\":\"═\",\"boxhd\":\"┬\",\"boxHd\":\"╤\",\"boxhD\":\"╥\",\"boxHD\":\"╦\",\"boxhu\":\"┴\",\"boxHu\":\"╧\",\"boxhU\":\"╨\",\"boxHU\":\"╩\",\"boxminus\":\"⊟\",\"boxplus\":\"⊞\",\"boxtimes\":\"⊠\",\"boxul\":\"┘\",\"boxuL\":\"╛\",\"boxUl\":\"╜\",\"boxUL\":\"╝\",\"boxur\":\"└\",\"boxuR\":\"╘\",\"boxUr\":\"╙\",\"boxUR\":\"╚\",\"boxv\":\"│\",\"boxV\":\"║\",\"boxvh\":\"┼\",\"boxvH\":\"╪\",\"boxVh\":\"╫\",\"boxVH\":\"╬\",\"boxvl\":\"┤\",\"boxvL\":\"╡\",\"boxVl\":\"╢\",\"boxVL\":\"╣\",\"boxvr\":\"├\",\"boxvR\":\"╞\",\"boxVr\":\"╟\",\"boxVR\":\"╠\",\"bprime\":\"‵\",\"breve\":\"˘\",\"Breve\":\"˘\",\"brvbar\":\"¦\",\"bscr\":\"𝒷\",\"Bscr\":\"ℬ\",\"bsemi\":\"⁏\",\"bsim\":\"∽\",\"bsime\":\"⋍\",\"bsolb\":\"⧅\",\"bsol\":\"\\\\\\\\\",\"bsolhsub\":\"⟈\",\"bull\":\"•\",\"bullet\":\"•\",\"bump\":\"≎\",\"bumpE\":\"⪮\",\"bumpe\":\"≏\",\"Bumpeq\":\"≎\",\"bumpeq\":\"≏\",\"Cacute\":\"Ć\",\"cacute\":\"ć\",\"capand\":\"⩄\",\"capbrcup\":\"⩉\",\"capcap\":\"⩋\",\"cap\":\"∩\",\"Cap\":\"⋒\",\"capcup\":\"⩇\",\"capdot\":\"⩀\",\"CapitalDifferentialD\":\"ⅅ\",\"caps\":\"∩︀\",\"caret\":\"⁁\",\"caron\":\"ˇ\",\"Cayleys\":\"ℭ\",\"ccaps\":\"⩍\",\"Ccaron\":\"Č\",\"ccaron\":\"č\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"Ccirc\":\"Ĉ\",\"ccirc\":\"ĉ\",\"Cconint\":\"∰\",\"ccups\":\"⩌\",\"ccupssm\":\"⩐\",\"Cdot\":\"Ċ\",\"cdot\":\"ċ\",\"cedil\":\"¸\",\"Cedilla\":\"¸\",\"cemptyv\":\"⦲\",\"cent\":\"¢\",\"centerdot\":\"·\",\"CenterDot\":\"·\",\"cfr\":\"𝔠\",\"Cfr\":\"ℭ\",\"CHcy\":\"Ч\",\"chcy\":\"ч\",\"check\":\"✓\",\"checkmark\":\"✓\",\"Chi\":\"Χ\",\"chi\":\"χ\",\"circ\":\"ˆ\",\"circeq\":\"≗\",\"circlearrowleft\":\"↺\",\"circlearrowright\":\"↻\",\"circledast\":\"⊛\",\"circledcirc\":\"⊚\",\"circleddash\":\"⊝\",\"CircleDot\":\"⊙\",\"circledR\":\"®\",\"circledS\":\"Ⓢ\",\"CircleMinus\":\"⊖\",\"CirclePlus\":\"⊕\",\"CircleTimes\":\"⊗\",\"cir\":\"○\",\"cirE\":\"⧃\",\"cire\":\"≗\",\"cirfnint\":\"⨐\",\"cirmid\":\"⫯\",\"cirscir\":\"⧂\",\"ClockwiseContourIntegral\":\"∲\",\"CloseCurlyDoubleQuote\":\"”\",\"CloseCurlyQuote\":\"’\",\"clubs\":\"♣\",\"clubsuit\":\"♣\",\"colon\":\":\",\"Colon\":\"∷\",\"Colone\":\"⩴\",\"colone\":\"≔\",\"coloneq\":\"≔\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"∁\",\"compfn\":\"∘\",\"complement\":\"∁\",\"complexes\":\"ℂ\",\"cong\":\"≅\",\"congdot\":\"⩭\",\"Congruent\":\"≡\",\"conint\":\"∮\",\"Conint\":\"∯\",\"ContourIntegral\":\"∮\",\"copf\":\"𝕔\",\"Copf\":\"ℂ\",\"coprod\":\"∐\",\"Coproduct\":\"∐\",\"copy\":\"©\",\"COPY\":\"©\",\"copysr\":\"℗\",\"CounterClockwiseContourIntegral\":\"∳\",\"crarr\":\"↵\",\"cross\":\"✗\",\"Cross\":\"⨯\",\"Cscr\":\"𝒞\",\"cscr\":\"𝒸\",\"csub\":\"⫏\",\"csube\":\"⫑\",\"csup\":\"⫐\",\"csupe\":\"⫒\",\"ctdot\":\"⋯\",\"cudarrl\":\"⤸\",\"cudarrr\":\"⤵\",\"cuepr\":\"⋞\",\"cuesc\":\"⋟\",\"cularr\":\"↶\",\"cularrp\":\"⤽\",\"cupbrcap\":\"⩈\",\"cupcap\":\"⩆\",\"CupCap\":\"≍\",\"cup\":\"∪\",\"Cup\":\"⋓\",\"cupcup\":\"⩊\",\"cupdot\":\"⊍\",\"cupor\":\"⩅\",\"cups\":\"∪︀\",\"curarr\":\"↷\",\"curarrm\":\"⤼\",\"curlyeqprec\":\"⋞\",\"curlyeqsucc\":\"⋟\",\"curlyvee\":\"⋎\",\"curlywedge\":\"⋏\",\"curren\":\"¤\",\"curvearrowleft\":\"↶\",\"curvearrowright\":\"↷\",\"cuvee\":\"⋎\",\"cuwed\":\"⋏\",\"cwconint\":\"∲\",\"cwint\":\"∱\",\"cylcty\":\"⌭\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"daleth\":\"ℸ\",\"darr\":\"↓\",\"Darr\":\"↡\",\"dArr\":\"⇓\",\"dash\":\"‐\",\"Dashv\":\"⫤\",\"dashv\":\"⊣\",\"dbkarow\":\"⤏\",\"dblac\":\"˝\",\"Dcaron\":\"Ď\",\"dcaron\":\"ď\",\"Dcy\":\"Д\",\"dcy\":\"д\",\"ddagger\":\"‡\",\"ddarr\":\"⇊\",\"DD\":\"ⅅ\",\"dd\":\"ⅆ\",\"DDotrahd\":\"⤑\",\"ddotseq\":\"⩷\",\"deg\":\"°\",\"Del\":\"∇\",\"Delta\":\"Δ\",\"delta\":\"δ\",\"demptyv\":\"⦱\",\"dfisht\":\"⥿\",\"Dfr\":\"𝔇\",\"dfr\":\"𝔡\",\"dHar\":\"⥥\",\"dharl\":\"⇃\",\"dharr\":\"⇂\",\"DiacriticalAcute\":\"´\",\"DiacriticalDot\":\"˙\",\"DiacriticalDoubleAcute\":\"˝\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"˜\",\"diam\":\"⋄\",\"diamond\":\"⋄\",\"Diamond\":\"⋄\",\"diamondsuit\":\"♦\",\"diams\":\"♦\",\"die\":\"¨\",\"DifferentialD\":\"ⅆ\",\"digamma\":\"ϝ\",\"disin\":\"⋲\",\"div\":\"÷\",\"divide\":\"÷\",\"divideontimes\":\"⋇\",\"divonx\":\"⋇\",\"DJcy\":\"Ђ\",\"djcy\":\"ђ\",\"dlcorn\":\"⌞\",\"dlcrop\":\"⌍\",\"dollar\":\"$\",\"Dopf\":\"𝔻\",\"dopf\":\"𝕕\",\"Dot\":\"¨\",\"dot\":\"˙\",\"DotDot\":\"⃜\",\"doteq\":\"≐\",\"doteqdot\":\"≑\",\"DotEqual\":\"≐\",\"dotminus\":\"∸\",\"dotplus\":\"∔\",\"dotsquare\":\"⊡\",\"doublebarwedge\":\"⌆\",\"DoubleContourIntegral\":\"∯\",\"DoubleDot\":\"¨\",\"DoubleDownArrow\":\"⇓\",\"DoubleLeftArrow\":\"⇐\",\"DoubleLeftRightArrow\":\"⇔\",\"DoubleLeftTee\":\"⫤\",\"DoubleLongLeftArrow\":\"⟸\",\"DoubleLongLeftRightArrow\":\"⟺\",\"DoubleLongRightArrow\":\"⟹\",\"DoubleRightArrow\":\"⇒\",\"DoubleRightTee\":\"⊨\",\"DoubleUpArrow\":\"⇑\",\"DoubleUpDownArrow\":\"⇕\",\"DoubleVerticalBar\":\"∥\",\"DownArrowBar\":\"⤓\",\"downarrow\":\"↓\",\"DownArrow\":\"↓\",\"Downarrow\":\"⇓\",\"DownArrowUpArrow\":\"⇵\",\"DownBreve\":\"̑\",\"downdownarrows\":\"⇊\",\"downharpoonleft\":\"⇃\",\"downharpoonright\":\"⇂\",\"DownLeftRightVector\":\"⥐\",\"DownLeftTeeVector\":\"⥞\",\"DownLeftVectorBar\":\"⥖\",\"DownLeftVector\":\"↽\",\"DownRightTeeVector\":\"⥟\",\"DownRightVectorBar\":\"⥗\",\"DownRightVector\":\"⇁\",\"DownTeeArrow\":\"↧\",\"DownTee\":\"⊤\",\"drbkarow\":\"⤐\",\"drcorn\":\"⌟\",\"drcrop\":\"⌌\",\"Dscr\":\"𝒟\",\"dscr\":\"𝒹\",\"DScy\":\"Ѕ\",\"dscy\":\"ѕ\",\"dsol\":\"⧶\",\"Dstrok\":\"Đ\",\"dstrok\":\"đ\",\"dtdot\":\"⋱\",\"dtri\":\"▿\",\"dtrif\":\"▾\",\"duarr\":\"⇵\",\"duhar\":\"⥯\",\"dwangle\":\"⦦\",\"DZcy\":\"Џ\",\"dzcy\":\"џ\",\"dzigrarr\":\"⟿\",\"Eacute\":\"É\",\"eacute\":\"é\",\"easter\":\"⩮\",\"Ecaron\":\"Ě\",\"ecaron\":\"ě\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"ecir\":\"≖\",\"ecolon\":\"≕\",\"Ecy\":\"Э\",\"ecy\":\"э\",\"eDDot\":\"⩷\",\"Edot\":\"Ė\",\"edot\":\"ė\",\"eDot\":\"≑\",\"ee\":\"ⅇ\",\"efDot\":\"≒\",\"Efr\":\"𝔈\",\"efr\":\"𝔢\",\"eg\":\"⪚\",\"Egrave\":\"È\",\"egrave\":\"è\",\"egs\":\"⪖\",\"egsdot\":\"⪘\",\"el\":\"⪙\",\"Element\":\"∈\",\"elinters\":\"⏧\",\"ell\":\"ℓ\",\"els\":\"⪕\",\"elsdot\":\"⪗\",\"Emacr\":\"Ē\",\"emacr\":\"ē\",\"empty\":\"∅\",\"emptyset\":\"∅\",\"EmptySmallSquare\":\"◻\",\"emptyv\":\"∅\",\"EmptyVerySmallSquare\":\"▫\",\"emsp13\":\" \",\"emsp14\":\" \",\"emsp\":\" \",\"ENG\":\"Ŋ\",\"eng\":\"ŋ\",\"ensp\":\" \",\"Eogon\":\"Ę\",\"eogon\":\"ę\",\"Eopf\":\"𝔼\",\"eopf\":\"𝕖\",\"epar\":\"⋕\",\"eparsl\":\"⧣\",\"eplus\":\"⩱\",\"epsi\":\"ε\",\"Epsilon\":\"Ε\",\"epsilon\":\"ε\",\"epsiv\":\"ϵ\",\"eqcirc\":\"≖\",\"eqcolon\":\"≕\",\"eqsim\":\"≂\",\"eqslantgtr\":\"⪖\",\"eqslantless\":\"⪕\",\"Equal\":\"⩵\",\"equals\":\"=\",\"EqualTilde\":\"≂\",\"equest\":\"≟\",\"Equilibrium\":\"⇌\",\"equiv\":\"≡\",\"equivDD\":\"⩸\",\"eqvparsl\":\"⧥\",\"erarr\":\"⥱\",\"erDot\":\"≓\",\"escr\":\"ℯ\",\"Escr\":\"ℰ\",\"esdot\":\"≐\",\"Esim\":\"⩳\",\"esim\":\"≂\",\"Eta\":\"Η\",\"eta\":\"η\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"euro\":\"€\",\"excl\":\"!\",\"exist\":\"∃\",\"Exists\":\"∃\",\"expectation\":\"ℰ\",\"exponentiale\":\"ⅇ\",\"ExponentialE\":\"ⅇ\",\"fallingdotseq\":\"≒\",\"Fcy\":\"Ф\",\"fcy\":\"ф\",\"female\":\"♀\",\"ffilig\":\"ffi\",\"fflig\":\"ff\",\"ffllig\":\"ffl\",\"Ffr\":\"𝔉\",\"ffr\":\"𝔣\",\"filig\":\"fi\",\"FilledSmallSquare\":\"◼\",\"FilledVerySmallSquare\":\"▪\",\"fjlig\":\"fj\",\"flat\":\"♭\",\"fllig\":\"fl\",\"fltns\":\"▱\",\"fnof\":\"ƒ\",\"Fopf\":\"𝔽\",\"fopf\":\"𝕗\",\"forall\":\"∀\",\"ForAll\":\"∀\",\"fork\":\"⋔\",\"forkv\":\"⫙\",\"Fouriertrf\":\"ℱ\",\"fpartint\":\"⨍\",\"frac12\":\"½\",\"frac13\":\"⅓\",\"frac14\":\"¼\",\"frac15\":\"⅕\",\"frac16\":\"⅙\",\"frac18\":\"⅛\",\"frac23\":\"⅔\",\"frac25\":\"⅖\",\"frac34\":\"¾\",\"frac35\":\"⅗\",\"frac38\":\"⅜\",\"frac45\":\"⅘\",\"frac56\":\"⅚\",\"frac58\":\"⅝\",\"frac78\":\"⅞\",\"frasl\":\"⁄\",\"frown\":\"⌢\",\"fscr\":\"𝒻\",\"Fscr\":\"ℱ\",\"gacute\":\"ǵ\",\"Gamma\":\"Γ\",\"gamma\":\"γ\",\"Gammad\":\"Ϝ\",\"gammad\":\"ϝ\",\"gap\":\"⪆\",\"Gbreve\":\"Ğ\",\"gbreve\":\"ğ\",\"Gcedil\":\"Ģ\",\"Gcirc\":\"Ĝ\",\"gcirc\":\"ĝ\",\"Gcy\":\"Г\",\"gcy\":\"г\",\"Gdot\":\"Ġ\",\"gdot\":\"ġ\",\"ge\":\"≥\",\"gE\":\"≧\",\"gEl\":\"⪌\",\"gel\":\"⋛\",\"geq\":\"≥\",\"geqq\":\"≧\",\"geqslant\":\"⩾\",\"gescc\":\"⪩\",\"ges\":\"⩾\",\"gesdot\":\"⪀\",\"gesdoto\":\"⪂\",\"gesdotol\":\"⪄\",\"gesl\":\"⋛︀\",\"gesles\":\"⪔\",\"Gfr\":\"𝔊\",\"gfr\":\"𝔤\",\"gg\":\"≫\",\"Gg\":\"⋙\",\"ggg\":\"⋙\",\"gimel\":\"ℷ\",\"GJcy\":\"Ѓ\",\"gjcy\":\"ѓ\",\"gla\":\"⪥\",\"gl\":\"≷\",\"glE\":\"⪒\",\"glj\":\"⪤\",\"gnap\":\"⪊\",\"gnapprox\":\"⪊\",\"gne\":\"⪈\",\"gnE\":\"≩\",\"gneq\":\"⪈\",\"gneqq\":\"≩\",\"gnsim\":\"⋧\",\"Gopf\":\"𝔾\",\"gopf\":\"𝕘\",\"grave\":\"`\",\"GreaterEqual\":\"≥\",\"GreaterEqualLess\":\"⋛\",\"GreaterFullEqual\":\"≧\",\"GreaterGreater\":\"⪢\",\"GreaterLess\":\"≷\",\"GreaterSlantEqual\":\"⩾\",\"GreaterTilde\":\"≳\",\"Gscr\":\"𝒢\",\"gscr\":\"ℊ\",\"gsim\":\"≳\",\"gsime\":\"⪎\",\"gsiml\":\"⪐\",\"gtcc\":\"⪧\",\"gtcir\":\"⩺\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"≫\",\"gtdot\":\"⋗\",\"gtlPar\":\"⦕\",\"gtquest\":\"⩼\",\"gtrapprox\":\"⪆\",\"gtrarr\":\"⥸\",\"gtrdot\":\"⋗\",\"gtreqless\":\"⋛\",\"gtreqqless\":\"⪌\",\"gtrless\":\"≷\",\"gtrsim\":\"≳\",\"gvertneqq\":\"≩︀\",\"gvnE\":\"≩︀\",\"Hacek\":\"ˇ\",\"hairsp\":\" \",\"half\":\"½\",\"hamilt\":\"ℋ\",\"HARDcy\":\"Ъ\",\"hardcy\":\"ъ\",\"harrcir\":\"⥈\",\"harr\":\"↔\",\"hArr\":\"⇔\",\"harrw\":\"↭\",\"Hat\":\"^\",\"hbar\":\"ℏ\",\"Hcirc\":\"Ĥ\",\"hcirc\":\"ĥ\",\"hearts\":\"♥\",\"heartsuit\":\"♥\",\"hellip\":\"…\",\"hercon\":\"⊹\",\"hfr\":\"𝔥\",\"Hfr\":\"ℌ\",\"HilbertSpace\":\"ℋ\",\"hksearow\":\"⤥\",\"hkswarow\":\"⤦\",\"hoarr\":\"⇿\",\"homtht\":\"∻\",\"hookleftarrow\":\"↩\",\"hookrightarrow\":\"↪\",\"hopf\":\"𝕙\",\"Hopf\":\"ℍ\",\"horbar\":\"―\",\"HorizontalLine\":\"─\",\"hscr\":\"𝒽\",\"Hscr\":\"ℋ\",\"hslash\":\"ℏ\",\"Hstrok\":\"Ħ\",\"hstrok\":\"ħ\",\"HumpDownHump\":\"≎\",\"HumpEqual\":\"≏\",\"hybull\":\"⁃\",\"hyphen\":\"‐\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"ic\":\"⁣\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"Icy\":\"И\",\"icy\":\"и\",\"Idot\":\"İ\",\"IEcy\":\"Е\",\"iecy\":\"е\",\"iexcl\":\"¡\",\"iff\":\"⇔\",\"ifr\":\"𝔦\",\"Ifr\":\"ℑ\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"ii\":\"ⅈ\",\"iiiint\":\"⨌\",\"iiint\":\"∭\",\"iinfin\":\"⧜\",\"iiota\":\"℩\",\"IJlig\":\"IJ\",\"ijlig\":\"ij\",\"Imacr\":\"Ī\",\"imacr\":\"ī\",\"image\":\"ℑ\",\"ImaginaryI\":\"ⅈ\",\"imagline\":\"ℐ\",\"imagpart\":\"ℑ\",\"imath\":\"ı\",\"Im\":\"ℑ\",\"imof\":\"⊷\",\"imped\":\"Ƶ\",\"Implies\":\"⇒\",\"incare\":\"℅\",\"in\":\"∈\",\"infin\":\"∞\",\"infintie\":\"⧝\",\"inodot\":\"ı\",\"intcal\":\"⊺\",\"int\":\"∫\",\"Int\":\"∬\",\"integers\":\"ℤ\",\"Integral\":\"∫\",\"intercal\":\"⊺\",\"Intersection\":\"⋂\",\"intlarhk\":\"⨗\",\"intprod\":\"⨼\",\"InvisibleComma\":\"⁣\",\"InvisibleTimes\":\"⁢\",\"IOcy\":\"Ё\",\"iocy\":\"ё\",\"Iogon\":\"Į\",\"iogon\":\"į\",\"Iopf\":\"𝕀\",\"iopf\":\"𝕚\",\"Iota\":\"Ι\",\"iota\":\"ι\",\"iprod\":\"⨼\",\"iquest\":\"¿\",\"iscr\":\"𝒾\",\"Iscr\":\"ℐ\",\"isin\":\"∈\",\"isindot\":\"⋵\",\"isinE\":\"⋹\",\"isins\":\"⋴\",\"isinsv\":\"⋳\",\"isinv\":\"∈\",\"it\":\"⁢\",\"Itilde\":\"Ĩ\",\"itilde\":\"ĩ\",\"Iukcy\":\"І\",\"iukcy\":\"і\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"Jcirc\":\"Ĵ\",\"jcirc\":\"ĵ\",\"Jcy\":\"Й\",\"jcy\":\"й\",\"Jfr\":\"𝔍\",\"jfr\":\"𝔧\",\"jmath\":\"ȷ\",\"Jopf\":\"𝕁\",\"jopf\":\"𝕛\",\"Jscr\":\"𝒥\",\"jscr\":\"𝒿\",\"Jsercy\":\"Ј\",\"jsercy\":\"ј\",\"Jukcy\":\"Є\",\"jukcy\":\"є\",\"Kappa\":\"Κ\",\"kappa\":\"κ\",\"kappav\":\"ϰ\",\"Kcedil\":\"Ķ\",\"kcedil\":\"ķ\",\"Kcy\":\"К\",\"kcy\":\"к\",\"Kfr\":\"𝔎\",\"kfr\":\"𝔨\",\"kgreen\":\"ĸ\",\"KHcy\":\"Х\",\"khcy\":\"х\",\"KJcy\":\"Ќ\",\"kjcy\":\"ќ\",\"Kopf\":\"𝕂\",\"kopf\":\"𝕜\",\"Kscr\":\"𝒦\",\"kscr\":\"𝓀\",\"lAarr\":\"⇚\",\"Lacute\":\"Ĺ\",\"lacute\":\"ĺ\",\"laemptyv\":\"⦴\",\"lagran\":\"ℒ\",\"Lambda\":\"Λ\",\"lambda\":\"λ\",\"lang\":\"⟨\",\"Lang\":\"⟪\",\"langd\":\"⦑\",\"langle\":\"⟨\",\"lap\":\"⪅\",\"Laplacetrf\":\"ℒ\",\"laquo\":\"«\",\"larrb\":\"⇤\",\"larrbfs\":\"⤟\",\"larr\":\"←\",\"Larr\":\"↞\",\"lArr\":\"⇐\",\"larrfs\":\"⤝\",\"larrhk\":\"↩\",\"larrlp\":\"↫\",\"larrpl\":\"⤹\",\"larrsim\":\"⥳\",\"larrtl\":\"↢\",\"latail\":\"⤙\",\"lAtail\":\"⤛\",\"lat\":\"⪫\",\"late\":\"⪭\",\"lates\":\"⪭︀\",\"lbarr\":\"⤌\",\"lBarr\":\"⤎\",\"lbbrk\":\"❲\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"⦋\",\"lbrksld\":\"⦏\",\"lbrkslu\":\"⦍\",\"Lcaron\":\"Ľ\",\"lcaron\":\"ľ\",\"Lcedil\":\"Ļ\",\"lcedil\":\"ļ\",\"lceil\":\"⌈\",\"lcub\":\"{\",\"Lcy\":\"Л\",\"lcy\":\"л\",\"ldca\":\"⤶\",\"ldquo\":\"“\",\"ldquor\":\"„\",\"ldrdhar\":\"⥧\",\"ldrushar\":\"⥋\",\"ldsh\":\"↲\",\"le\":\"≤\",\"lE\":\"≦\",\"LeftAngleBracket\":\"⟨\",\"LeftArrowBar\":\"⇤\",\"leftarrow\":\"←\",\"LeftArrow\":\"←\",\"Leftarrow\":\"⇐\",\"LeftArrowRightArrow\":\"⇆\",\"leftarrowtail\":\"↢\",\"LeftCeiling\":\"⌈\",\"LeftDoubleBracket\":\"⟦\",\"LeftDownTeeVector\":\"⥡\",\"LeftDownVectorBar\":\"⥙\",\"LeftDownVector\":\"⇃\",\"LeftFloor\":\"⌊\",\"leftharpoondown\":\"↽\",\"leftharpoonup\":\"↼\",\"leftleftarrows\":\"⇇\",\"leftrightarrow\":\"↔\",\"LeftRightArrow\":\"↔\",\"Leftrightarrow\":\"⇔\",\"leftrightarrows\":\"⇆\",\"leftrightharpoons\":\"⇋\",\"leftrightsquigarrow\":\"↭\",\"LeftRightVector\":\"⥎\",\"LeftTeeArrow\":\"↤\",\"LeftTee\":\"⊣\",\"LeftTeeVector\":\"⥚\",\"leftthreetimes\":\"⋋\",\"LeftTriangleBar\":\"⧏\",\"LeftTriangle\":\"⊲\",\"LeftTriangleEqual\":\"⊴\",\"LeftUpDownVector\":\"⥑\",\"LeftUpTeeVector\":\"⥠\",\"LeftUpVectorBar\":\"⥘\",\"LeftUpVector\":\"↿\",\"LeftVectorBar\":\"⥒\",\"LeftVector\":\"↼\",\"lEg\":\"⪋\",\"leg\":\"⋚\",\"leq\":\"≤\",\"leqq\":\"≦\",\"leqslant\":\"⩽\",\"lescc\":\"⪨\",\"les\":\"⩽\",\"lesdot\":\"⩿\",\"lesdoto\":\"⪁\",\"lesdotor\":\"⪃\",\"lesg\":\"⋚︀\",\"lesges\":\"⪓\",\"lessapprox\":\"⪅\",\"lessdot\":\"⋖\",\"lesseqgtr\":\"⋚\",\"lesseqqgtr\":\"⪋\",\"LessEqualGreater\":\"⋚\",\"LessFullEqual\":\"≦\",\"LessGreater\":\"≶\",\"lessgtr\":\"≶\",\"LessLess\":\"⪡\",\"lesssim\":\"≲\",\"LessSlantEqual\":\"⩽\",\"LessTilde\":\"≲\",\"lfisht\":\"⥼\",\"lfloor\":\"⌊\",\"Lfr\":\"𝔏\",\"lfr\":\"𝔩\",\"lg\":\"≶\",\"lgE\":\"⪑\",\"lHar\":\"⥢\",\"lhard\":\"↽\",\"lharu\":\"↼\",\"lharul\":\"⥪\",\"lhblk\":\"▄\",\"LJcy\":\"Љ\",\"ljcy\":\"љ\",\"llarr\":\"⇇\",\"ll\":\"≪\",\"Ll\":\"⋘\",\"llcorner\":\"⌞\",\"Lleftarrow\":\"⇚\",\"llhard\":\"⥫\",\"lltri\":\"◺\",\"Lmidot\":\"Ŀ\",\"lmidot\":\"ŀ\",\"lmoustache\":\"⎰\",\"lmoust\":\"⎰\",\"lnap\":\"⪉\",\"lnapprox\":\"⪉\",\"lne\":\"⪇\",\"lnE\":\"≨\",\"lneq\":\"⪇\",\"lneqq\":\"≨\",\"lnsim\":\"⋦\",\"loang\":\"⟬\",\"loarr\":\"⇽\",\"lobrk\":\"⟦\",\"longleftarrow\":\"⟵\",\"LongLeftArrow\":\"⟵\",\"Longleftarrow\":\"⟸\",\"longleftrightarrow\":\"⟷\",\"LongLeftRightArrow\":\"⟷\",\"Longleftrightarrow\":\"⟺\",\"longmapsto\":\"⟼\",\"longrightarrow\":\"⟶\",\"LongRightArrow\":\"⟶\",\"Longrightarrow\":\"⟹\",\"looparrowleft\":\"↫\",\"looparrowright\":\"↬\",\"lopar\":\"⦅\",\"Lopf\":\"𝕃\",\"lopf\":\"𝕝\",\"loplus\":\"⨭\",\"lotimes\":\"⨴\",\"lowast\":\"∗\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"↙\",\"LowerRightArrow\":\"↘\",\"loz\":\"◊\",\"lozenge\":\"◊\",\"lozf\":\"⧫\",\"lpar\":\"(\",\"lparlt\":\"⦓\",\"lrarr\":\"⇆\",\"lrcorner\":\"⌟\",\"lrhar\":\"⇋\",\"lrhard\":\"⥭\",\"lrm\":\"‎\",\"lrtri\":\"⊿\",\"lsaquo\":\"‹\",\"lscr\":\"𝓁\",\"Lscr\":\"ℒ\",\"lsh\":\"↰\",\"Lsh\":\"↰\",\"lsim\":\"≲\",\"lsime\":\"⪍\",\"lsimg\":\"⪏\",\"lsqb\":\"[\",\"lsquo\":\"‘\",\"lsquor\":\"‚\",\"Lstrok\":\"Ł\",\"lstrok\":\"ł\",\"ltcc\":\"⪦\",\"ltcir\":\"⩹\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"≪\",\"ltdot\":\"⋖\",\"lthree\":\"⋋\",\"ltimes\":\"⋉\",\"ltlarr\":\"⥶\",\"ltquest\":\"⩻\",\"ltri\":\"◃\",\"ltrie\":\"⊴\",\"ltrif\":\"◂\",\"ltrPar\":\"⦖\",\"lurdshar\":\"⥊\",\"luruhar\":\"⥦\",\"lvertneqq\":\"≨︀\",\"lvnE\":\"≨︀\",\"macr\":\"¯\",\"male\":\"♂\",\"malt\":\"✠\",\"maltese\":\"✠\",\"Map\":\"⤅\",\"map\":\"↦\",\"mapsto\":\"↦\",\"mapstodown\":\"↧\",\"mapstoleft\":\"↤\",\"mapstoup\":\"↥\",\"marker\":\"▮\",\"mcomma\":\"⨩\",\"Mcy\":\"М\",\"mcy\":\"м\",\"mdash\":\"—\",\"mDDot\":\"∺\",\"measuredangle\":\"∡\",\"MediumSpace\":\" \",\"Mellintrf\":\"ℳ\",\"Mfr\":\"𝔐\",\"mfr\":\"𝔪\",\"mho\":\"℧\",\"micro\":\"µ\",\"midast\":\"*\",\"midcir\":\"⫰\",\"mid\":\"∣\",\"middot\":\"·\",\"minusb\":\"⊟\",\"minus\":\"−\",\"minusd\":\"∸\",\"minusdu\":\"⨪\",\"MinusPlus\":\"∓\",\"mlcp\":\"⫛\",\"mldr\":\"…\",\"mnplus\":\"∓\",\"models\":\"⊧\",\"Mopf\":\"𝕄\",\"mopf\":\"𝕞\",\"mp\":\"∓\",\"mscr\":\"𝓂\",\"Mscr\":\"ℳ\",\"mstpos\":\"∾\",\"Mu\":\"Μ\",\"mu\":\"μ\",\"multimap\":\"⊸\",\"mumap\":\"⊸\",\"nabla\":\"∇\",\"Nacute\":\"Ń\",\"nacute\":\"ń\",\"nang\":\"∠⃒\",\"nap\":\"≉\",\"napE\":\"⩰̸\",\"napid\":\"≋̸\",\"napos\":\"ʼn\",\"napprox\":\"≉\",\"natural\":\"♮\",\"naturals\":\"ℕ\",\"natur\":\"♮\",\"nbsp\":\" \",\"nbump\":\"≎̸\",\"nbumpe\":\"≏̸\",\"ncap\":\"⩃\",\"Ncaron\":\"Ň\",\"ncaron\":\"ň\",\"Ncedil\":\"Ņ\",\"ncedil\":\"ņ\",\"ncong\":\"≇\",\"ncongdot\":\"⩭̸\",\"ncup\":\"⩂\",\"Ncy\":\"Н\",\"ncy\":\"н\",\"ndash\":\"–\",\"nearhk\":\"⤤\",\"nearr\":\"↗\",\"neArr\":\"⇗\",\"nearrow\":\"↗\",\"ne\":\"≠\",\"nedot\":\"≐̸\",\"NegativeMediumSpace\":\"​\",\"NegativeThickSpace\":\"​\",\"NegativeThinSpace\":\"​\",\"NegativeVeryThinSpace\":\"​\",\"nequiv\":\"≢\",\"nesear\":\"⤨\",\"nesim\":\"≂̸\",\"NestedGreaterGreater\":\"≫\",\"NestedLessLess\":\"≪\",\"NewLine\":\"\\\\n\",\"nexist\":\"∄\",\"nexists\":\"∄\",\"Nfr\":\"𝔑\",\"nfr\":\"𝔫\",\"ngE\":\"≧̸\",\"nge\":\"≱\",\"ngeq\":\"≱\",\"ngeqq\":\"≧̸\",\"ngeqslant\":\"⩾̸\",\"nges\":\"⩾̸\",\"nGg\":\"⋙̸\",\"ngsim\":\"≵\",\"nGt\":\"≫⃒\",\"ngt\":\"≯\",\"ngtr\":\"≯\",\"nGtv\":\"≫̸\",\"nharr\":\"↮\",\"nhArr\":\"⇎\",\"nhpar\":\"⫲\",\"ni\":\"∋\",\"nis\":\"⋼\",\"nisd\":\"⋺\",\"niv\":\"∋\",\"NJcy\":\"Њ\",\"njcy\":\"њ\",\"nlarr\":\"↚\",\"nlArr\":\"⇍\",\"nldr\":\"‥\",\"nlE\":\"≦̸\",\"nle\":\"≰\",\"nleftarrow\":\"↚\",\"nLeftarrow\":\"⇍\",\"nleftrightarrow\":\"↮\",\"nLeftrightarrow\":\"⇎\",\"nleq\":\"≰\",\"nleqq\":\"≦̸\",\"nleqslant\":\"⩽̸\",\"nles\":\"⩽̸\",\"nless\":\"≮\",\"nLl\":\"⋘̸\",\"nlsim\":\"≴\",\"nLt\":\"≪⃒\",\"nlt\":\"≮\",\"nltri\":\"⋪\",\"nltrie\":\"⋬\",\"nLtv\":\"≪̸\",\"nmid\":\"∤\",\"NoBreak\":\"⁠\",\"NonBreakingSpace\":\" \",\"nopf\":\"𝕟\",\"Nopf\":\"ℕ\",\"Not\":\"⫬\",\"not\":\"¬\",\"NotCongruent\":\"≢\",\"NotCupCap\":\"≭\",\"NotDoubleVerticalBar\":\"∦\",\"NotElement\":\"∉\",\"NotEqual\":\"≠\",\"NotEqualTilde\":\"≂̸\",\"NotExists\":\"∄\",\"NotGreater\":\"≯\",\"NotGreaterEqual\":\"≱\",\"NotGreaterFullEqual\":\"≧̸\",\"NotGreaterGreater\":\"≫̸\",\"NotGreaterLess\":\"≹\",\"NotGreaterSlantEqual\":\"⩾̸\",\"NotGreaterTilde\":\"≵\",\"NotHumpDownHump\":\"≎̸\",\"NotHumpEqual\":\"≏̸\",\"notin\":\"∉\",\"notindot\":\"⋵̸\",\"notinE\":\"⋹̸\",\"notinva\":\"∉\",\"notinvb\":\"⋷\",\"notinvc\":\"⋶\",\"NotLeftTriangleBar\":\"⧏̸\",\"NotLeftTriangle\":\"⋪\",\"NotLeftTriangleEqual\":\"⋬\",\"NotLess\":\"≮\",\"NotLessEqual\":\"≰\",\"NotLessGreater\":\"≸\",\"NotLessLess\":\"≪̸\",\"NotLessSlantEqual\":\"⩽̸\",\"NotLessTilde\":\"≴\",\"NotNestedGreaterGreater\":\"⪢̸\",\"NotNestedLessLess\":\"⪡̸\",\"notni\":\"∌\",\"notniva\":\"∌\",\"notnivb\":\"⋾\",\"notnivc\":\"⋽\",\"NotPrecedes\":\"⊀\",\"NotPrecedesEqual\":\"⪯̸\",\"NotPrecedesSlantEqual\":\"⋠\",\"NotReverseElement\":\"∌\",\"NotRightTriangleBar\":\"⧐̸\",\"NotRightTriangle\":\"⋫\",\"NotRightTriangleEqual\":\"⋭\",\"NotSquareSubset\":\"⊏̸\",\"NotSquareSubsetEqual\":\"⋢\",\"NotSquareSuperset\":\"⊐̸\",\"NotSquareSupersetEqual\":\"⋣\",\"NotSubset\":\"⊂⃒\",\"NotSubsetEqual\":\"⊈\",\"NotSucceeds\":\"⊁\",\"NotSucceedsEqual\":\"⪰̸\",\"NotSucceedsSlantEqual\":\"⋡\",\"NotSucceedsTilde\":\"≿̸\",\"NotSuperset\":\"⊃⃒\",\"NotSupersetEqual\":\"⊉\",\"NotTilde\":\"≁\",\"NotTildeEqual\":\"≄\",\"NotTildeFullEqual\":\"≇\",\"NotTildeTilde\":\"≉\",\"NotVerticalBar\":\"∤\",\"nparallel\":\"∦\",\"npar\":\"∦\",\"nparsl\":\"⫽⃥\",\"npart\":\"∂̸\",\"npolint\":\"⨔\",\"npr\":\"⊀\",\"nprcue\":\"⋠\",\"nprec\":\"⊀\",\"npreceq\":\"⪯̸\",\"npre\":\"⪯̸\",\"nrarrc\":\"⤳̸\",\"nrarr\":\"↛\",\"nrArr\":\"⇏\",\"nrarrw\":\"↝̸\",\"nrightarrow\":\"↛\",\"nRightarrow\":\"⇏\",\"nrtri\":\"⋫\",\"nrtrie\":\"⋭\",\"nsc\":\"⊁\",\"nsccue\":\"⋡\",\"nsce\":\"⪰̸\",\"Nscr\":\"𝒩\",\"nscr\":\"𝓃\",\"nshortmid\":\"∤\",\"nshortparallel\":\"∦\",\"nsim\":\"≁\",\"nsime\":\"≄\",\"nsimeq\":\"≄\",\"nsmid\":\"∤\",\"nspar\":\"∦\",\"nsqsube\":\"⋢\",\"nsqsupe\":\"⋣\",\"nsub\":\"⊄\",\"nsubE\":\"⫅̸\",\"nsube\":\"⊈\",\"nsubset\":\"⊂⃒\",\"nsubseteq\":\"⊈\",\"nsubseteqq\":\"⫅̸\",\"nsucc\":\"⊁\",\"nsucceq\":\"⪰̸\",\"nsup\":\"⊅\",\"nsupE\":\"⫆̸\",\"nsupe\":\"⊉\",\"nsupset\":\"⊃⃒\",\"nsupseteq\":\"⊉\",\"nsupseteqq\":\"⫆̸\",\"ntgl\":\"≹\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"ntlg\":\"≸\",\"ntriangleleft\":\"⋪\",\"ntrianglelefteq\":\"⋬\",\"ntriangleright\":\"⋫\",\"ntrianglerighteq\":\"⋭\",\"Nu\":\"Ν\",\"nu\":\"ν\",\"num\":\"#\",\"numero\":\"№\",\"numsp\":\" \",\"nvap\":\"≍⃒\",\"nvdash\":\"⊬\",\"nvDash\":\"⊭\",\"nVdash\":\"⊮\",\"nVDash\":\"⊯\",\"nvge\":\"≥⃒\",\"nvgt\":\">⃒\",\"nvHarr\":\"⤄\",\"nvinfin\":\"⧞\",\"nvlArr\":\"⤂\",\"nvle\":\"≤⃒\",\"nvlt\":\"<⃒\",\"nvltrie\":\"⊴⃒\",\"nvrArr\":\"⤃\",\"nvrtrie\":\"⊵⃒\",\"nvsim\":\"∼⃒\",\"nwarhk\":\"⤣\",\"nwarr\":\"↖\",\"nwArr\":\"⇖\",\"nwarrow\":\"↖\",\"nwnear\":\"⤧\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"oast\":\"⊛\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"ocir\":\"⊚\",\"Ocy\":\"О\",\"ocy\":\"о\",\"odash\":\"⊝\",\"Odblac\":\"Ő\",\"odblac\":\"ő\",\"odiv\":\"⨸\",\"odot\":\"⊙\",\"odsold\":\"⦼\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"ofcir\":\"⦿\",\"Ofr\":\"𝔒\",\"ofr\":\"𝔬\",\"ogon\":\"˛\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ogt\":\"⧁\",\"ohbar\":\"⦵\",\"ohm\":\"Ω\",\"oint\":\"∮\",\"olarr\":\"↺\",\"olcir\":\"⦾\",\"olcross\":\"⦻\",\"oline\":\"‾\",\"olt\":\"⧀\",\"Omacr\":\"Ō\",\"omacr\":\"ō\",\"Omega\":\"Ω\",\"omega\":\"ω\",\"Omicron\":\"Ο\",\"omicron\":\"ο\",\"omid\":\"⦶\",\"ominus\":\"⊖\",\"Oopf\":\"𝕆\",\"oopf\":\"𝕠\",\"opar\":\"⦷\",\"OpenCurlyDoubleQuote\":\"“\",\"OpenCurlyQuote\":\"‘\",\"operp\":\"⦹\",\"oplus\":\"⊕\",\"orarr\":\"↻\",\"Or\":\"⩔\",\"or\":\"∨\",\"ord\":\"⩝\",\"order\":\"ℴ\",\"orderof\":\"ℴ\",\"ordf\":\"ª\",\"ordm\":\"º\",\"origof\":\"⊶\",\"oror\":\"⩖\",\"orslope\":\"⩗\",\"orv\":\"⩛\",\"oS\":\"Ⓢ\",\"Oscr\":\"𝒪\",\"oscr\":\"ℴ\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"osol\":\"⊘\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"otimesas\":\"⨶\",\"Otimes\":\"⨷\",\"otimes\":\"⊗\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"ovbar\":\"⌽\",\"OverBar\":\"‾\",\"OverBrace\":\"⏞\",\"OverBracket\":\"⎴\",\"OverParenthesis\":\"⏜\",\"para\":\"¶\",\"parallel\":\"∥\",\"par\":\"∥\",\"parsim\":\"⫳\",\"parsl\":\"⫽\",\"part\":\"∂\",\"PartialD\":\"∂\",\"Pcy\":\"П\",\"pcy\":\"п\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"‰\",\"perp\":\"⊥\",\"pertenk\":\"‱\",\"Pfr\":\"𝔓\",\"pfr\":\"𝔭\",\"Phi\":\"Φ\",\"phi\":\"φ\",\"phiv\":\"ϕ\",\"phmmat\":\"ℳ\",\"phone\":\"☎\",\"Pi\":\"Π\",\"pi\":\"π\",\"pitchfork\":\"⋔\",\"piv\":\"ϖ\",\"planck\":\"ℏ\",\"planckh\":\"ℎ\",\"plankv\":\"ℏ\",\"plusacir\":\"⨣\",\"plusb\":\"⊞\",\"pluscir\":\"⨢\",\"plus\":\"+\",\"plusdo\":\"∔\",\"plusdu\":\"⨥\",\"pluse\":\"⩲\",\"PlusMinus\":\"±\",\"plusmn\":\"±\",\"plussim\":\"⨦\",\"plustwo\":\"⨧\",\"pm\":\"±\",\"Poincareplane\":\"ℌ\",\"pointint\":\"⨕\",\"popf\":\"𝕡\",\"Popf\":\"ℙ\",\"pound\":\"£\",\"prap\":\"⪷\",\"Pr\":\"⪻\",\"pr\":\"≺\",\"prcue\":\"≼\",\"precapprox\":\"⪷\",\"prec\":\"≺\",\"preccurlyeq\":\"≼\",\"Precedes\":\"≺\",\"PrecedesEqual\":\"⪯\",\"PrecedesSlantEqual\":\"≼\",\"PrecedesTilde\":\"≾\",\"preceq\":\"⪯\",\"precnapprox\":\"⪹\",\"precneqq\":\"⪵\",\"precnsim\":\"⋨\",\"pre\":\"⪯\",\"prE\":\"⪳\",\"precsim\":\"≾\",\"prime\":\"′\",\"Prime\":\"″\",\"primes\":\"ℙ\",\"prnap\":\"⪹\",\"prnE\":\"⪵\",\"prnsim\":\"⋨\",\"prod\":\"∏\",\"Product\":\"∏\",\"profalar\":\"⌮\",\"profline\":\"⌒\",\"profsurf\":\"⌓\",\"prop\":\"∝\",\"Proportional\":\"∝\",\"Proportion\":\"∷\",\"propto\":\"∝\",\"prsim\":\"≾\",\"prurel\":\"⊰\",\"Pscr\":\"𝒫\",\"pscr\":\"𝓅\",\"Psi\":\"Ψ\",\"psi\":\"ψ\",\"puncsp\":\" \",\"Qfr\":\"𝔔\",\"qfr\":\"𝔮\",\"qint\":\"⨌\",\"qopf\":\"𝕢\",\"Qopf\":\"ℚ\",\"qprime\":\"⁗\",\"Qscr\":\"𝒬\",\"qscr\":\"𝓆\",\"quaternions\":\"ℍ\",\"quatint\":\"⨖\",\"quest\":\"?\",\"questeq\":\"≟\",\"quot\":\"\\\\\"\",\"QUOT\":\"\\\\\"\",\"rAarr\":\"⇛\",\"race\":\"∽̱\",\"Racute\":\"Ŕ\",\"racute\":\"ŕ\",\"radic\":\"√\",\"raemptyv\":\"⦳\",\"rang\":\"⟩\",\"Rang\":\"⟫\",\"rangd\":\"⦒\",\"range\":\"⦥\",\"rangle\":\"⟩\",\"raquo\":\"»\",\"rarrap\":\"⥵\",\"rarrb\":\"⇥\",\"rarrbfs\":\"⤠\",\"rarrc\":\"⤳\",\"rarr\":\"→\",\"Rarr\":\"↠\",\"rArr\":\"⇒\",\"rarrfs\":\"⤞\",\"rarrhk\":\"↪\",\"rarrlp\":\"↬\",\"rarrpl\":\"⥅\",\"rarrsim\":\"⥴\",\"Rarrtl\":\"⤖\",\"rarrtl\":\"↣\",\"rarrw\":\"↝\",\"ratail\":\"⤚\",\"rAtail\":\"⤜\",\"ratio\":\"∶\",\"rationals\":\"ℚ\",\"rbarr\":\"⤍\",\"rBarr\":\"⤏\",\"RBarr\":\"⤐\",\"rbbrk\":\"❳\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"⦌\",\"rbrksld\":\"⦎\",\"rbrkslu\":\"⦐\",\"Rcaron\":\"Ř\",\"rcaron\":\"ř\",\"Rcedil\":\"Ŗ\",\"rcedil\":\"ŗ\",\"rceil\":\"⌉\",\"rcub\":\"}\",\"Rcy\":\"Р\",\"rcy\":\"р\",\"rdca\":\"⤷\",\"rdldhar\":\"⥩\",\"rdquo\":\"”\",\"rdquor\":\"”\",\"rdsh\":\"↳\",\"real\":\"ℜ\",\"realine\":\"ℛ\",\"realpart\":\"ℜ\",\"reals\":\"ℝ\",\"Re\":\"ℜ\",\"rect\":\"▭\",\"reg\":\"®\",\"REG\":\"®\",\"ReverseElement\":\"∋\",\"ReverseEquilibrium\":\"⇋\",\"ReverseUpEquilibrium\":\"⥯\",\"rfisht\":\"⥽\",\"rfloor\":\"⌋\",\"rfr\":\"𝔯\",\"Rfr\":\"ℜ\",\"rHar\":\"⥤\",\"rhard\":\"⇁\",\"rharu\":\"⇀\",\"rharul\":\"⥬\",\"Rho\":\"Ρ\",\"rho\":\"ρ\",\"rhov\":\"ϱ\",\"RightAngleBracket\":\"⟩\",\"RightArrowBar\":\"⇥\",\"rightarrow\":\"→\",\"RightArrow\":\"→\",\"Rightarrow\":\"⇒\",\"RightArrowLeftArrow\":\"⇄\",\"rightarrowtail\":\"↣\",\"RightCeiling\":\"⌉\",\"RightDoubleBracket\":\"⟧\",\"RightDownTeeVector\":\"⥝\",\"RightDownVectorBar\":\"⥕\",\"RightDownVector\":\"⇂\",\"RightFloor\":\"⌋\",\"rightharpoondown\":\"⇁\",\"rightharpoonup\":\"⇀\",\"rightleftarrows\":\"⇄\",\"rightleftharpoons\":\"⇌\",\"rightrightarrows\":\"⇉\",\"rightsquigarrow\":\"↝\",\"RightTeeArrow\":\"↦\",\"RightTee\":\"⊢\",\"RightTeeVector\":\"⥛\",\"rightthreetimes\":\"⋌\",\"RightTriangleBar\":\"⧐\",\"RightTriangle\":\"⊳\",\"RightTriangleEqual\":\"⊵\",\"RightUpDownVector\":\"⥏\",\"RightUpTeeVector\":\"⥜\",\"RightUpVectorBar\":\"⥔\",\"RightUpVector\":\"↾\",\"RightVectorBar\":\"⥓\",\"RightVector\":\"⇀\",\"ring\":\"˚\",\"risingdotseq\":\"≓\",\"rlarr\":\"⇄\",\"rlhar\":\"⇌\",\"rlm\":\"‏\",\"rmoustache\":\"⎱\",\"rmoust\":\"⎱\",\"rnmid\":\"⫮\",\"roang\":\"⟭\",\"roarr\":\"⇾\",\"robrk\":\"⟧\",\"ropar\":\"⦆\",\"ropf\":\"𝕣\",\"Ropf\":\"ℝ\",\"roplus\":\"⨮\",\"rotimes\":\"⨵\",\"RoundImplies\":\"⥰\",\"rpar\":\")\",\"rpargt\":\"⦔\",\"rppolint\":\"⨒\",\"rrarr\":\"⇉\",\"Rrightarrow\":\"⇛\",\"rsaquo\":\"›\",\"rscr\":\"𝓇\",\"Rscr\":\"ℛ\",\"rsh\":\"↱\",\"Rsh\":\"↱\",\"rsqb\":\"]\",\"rsquo\":\"’\",\"rsquor\":\"’\",\"rthree\":\"⋌\",\"rtimes\":\"⋊\",\"rtri\":\"▹\",\"rtrie\":\"⊵\",\"rtrif\":\"▸\",\"rtriltri\":\"⧎\",\"RuleDelayed\":\"⧴\",\"ruluhar\":\"⥨\",\"rx\":\"℞\",\"Sacute\":\"Ś\",\"sacute\":\"ś\",\"sbquo\":\"‚\",\"scap\":\"⪸\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Sc\":\"⪼\",\"sc\":\"≻\",\"sccue\":\"≽\",\"sce\":\"⪰\",\"scE\":\"⪴\",\"Scedil\":\"Ş\",\"scedil\":\"ş\",\"Scirc\":\"Ŝ\",\"scirc\":\"ŝ\",\"scnap\":\"⪺\",\"scnE\":\"⪶\",\"scnsim\":\"⋩\",\"scpolint\":\"⨓\",\"scsim\":\"≿\",\"Scy\":\"С\",\"scy\":\"с\",\"sdotb\":\"⊡\",\"sdot\":\"⋅\",\"sdote\":\"⩦\",\"searhk\":\"⤥\",\"searr\":\"↘\",\"seArr\":\"⇘\",\"searrow\":\"↘\",\"sect\":\"§\",\"semi\":\";\",\"seswar\":\"⤩\",\"setminus\":\"∖\",\"setmn\":\"∖\",\"sext\":\"✶\",\"Sfr\":\"𝔖\",\"sfr\":\"𝔰\",\"sfrown\":\"⌢\",\"sharp\":\"♯\",\"SHCHcy\":\"Щ\",\"shchcy\":\"щ\",\"SHcy\":\"Ш\",\"shcy\":\"ш\",\"ShortDownArrow\":\"↓\",\"ShortLeftArrow\":\"←\",\"shortmid\":\"∣\",\"shortparallel\":\"∥\",\"ShortRightArrow\":\"→\",\"ShortUpArrow\":\"↑\",\"shy\":\"­\",\"Sigma\":\"Σ\",\"sigma\":\"σ\",\"sigmaf\":\"ς\",\"sigmav\":\"ς\",\"sim\":\"∼\",\"simdot\":\"⩪\",\"sime\":\"≃\",\"simeq\":\"≃\",\"simg\":\"⪞\",\"simgE\":\"⪠\",\"siml\":\"⪝\",\"simlE\":\"⪟\",\"simne\":\"≆\",\"simplus\":\"⨤\",\"simrarr\":\"⥲\",\"slarr\":\"←\",\"SmallCircle\":\"∘\",\"smallsetminus\":\"∖\",\"smashp\":\"⨳\",\"smeparsl\":\"⧤\",\"smid\":\"∣\",\"smile\":\"⌣\",\"smt\":\"⪪\",\"smte\":\"⪬\",\"smtes\":\"⪬︀\",\"SOFTcy\":\"Ь\",\"softcy\":\"ь\",\"solbar\":\"⌿\",\"solb\":\"⧄\",\"sol\":\"/\",\"Sopf\":\"𝕊\",\"sopf\":\"𝕤\",\"spades\":\"♠\",\"spadesuit\":\"♠\",\"spar\":\"∥\",\"sqcap\":\"⊓\",\"sqcaps\":\"⊓︀\",\"sqcup\":\"⊔\",\"sqcups\":\"⊔︀\",\"Sqrt\":\"√\",\"sqsub\":\"⊏\",\"sqsube\":\"⊑\",\"sqsubset\":\"⊏\",\"sqsubseteq\":\"⊑\",\"sqsup\":\"⊐\",\"sqsupe\":\"⊒\",\"sqsupset\":\"⊐\",\"sqsupseteq\":\"⊒\",\"square\":\"□\",\"Square\":\"□\",\"SquareIntersection\":\"⊓\",\"SquareSubset\":\"⊏\",\"SquareSubsetEqual\":\"⊑\",\"SquareSuperset\":\"⊐\",\"SquareSupersetEqual\":\"⊒\",\"SquareUnion\":\"⊔\",\"squarf\":\"▪\",\"squ\":\"□\",\"squf\":\"▪\",\"srarr\":\"→\",\"Sscr\":\"𝒮\",\"sscr\":\"𝓈\",\"ssetmn\":\"∖\",\"ssmile\":\"⌣\",\"sstarf\":\"⋆\",\"Star\":\"⋆\",\"star\":\"☆\",\"starf\":\"★\",\"straightepsilon\":\"ϵ\",\"straightphi\":\"ϕ\",\"strns\":\"¯\",\"sub\":\"⊂\",\"Sub\":\"⋐\",\"subdot\":\"⪽\",\"subE\":\"⫅\",\"sube\":\"⊆\",\"subedot\":\"⫃\",\"submult\":\"⫁\",\"subnE\":\"⫋\",\"subne\":\"⊊\",\"subplus\":\"⪿\",\"subrarr\":\"⥹\",\"subset\":\"⊂\",\"Subset\":\"⋐\",\"subseteq\":\"⊆\",\"subseteqq\":\"⫅\",\"SubsetEqual\":\"⊆\",\"subsetneq\":\"⊊\",\"subsetneqq\":\"⫋\",\"subsim\":\"⫇\",\"subsub\":\"⫕\",\"subsup\":\"⫓\",\"succapprox\":\"⪸\",\"succ\":\"≻\",\"succcurlyeq\":\"≽\",\"Succeeds\":\"≻\",\"SucceedsEqual\":\"⪰\",\"SucceedsSlantEqual\":\"≽\",\"SucceedsTilde\":\"≿\",\"succeq\":\"⪰\",\"succnapprox\":\"⪺\",\"succneqq\":\"⪶\",\"succnsim\":\"⋩\",\"succsim\":\"≿\",\"SuchThat\":\"∋\",\"sum\":\"∑\",\"Sum\":\"∑\",\"sung\":\"♪\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"sup\":\"⊃\",\"Sup\":\"⋑\",\"supdot\":\"⪾\",\"supdsub\":\"⫘\",\"supE\":\"⫆\",\"supe\":\"⊇\",\"supedot\":\"⫄\",\"Superset\":\"⊃\",\"SupersetEqual\":\"⊇\",\"suphsol\":\"⟉\",\"suphsub\":\"⫗\",\"suplarr\":\"⥻\",\"supmult\":\"⫂\",\"supnE\":\"⫌\",\"supne\":\"⊋\",\"supplus\":\"⫀\",\"supset\":\"⊃\",\"Supset\":\"⋑\",\"supseteq\":\"⊇\",\"supseteqq\":\"⫆\",\"supsetneq\":\"⊋\",\"supsetneqq\":\"⫌\",\"supsim\":\"⫈\",\"supsub\":\"⫔\",\"supsup\":\"⫖\",\"swarhk\":\"⤦\",\"swarr\":\"↙\",\"swArr\":\"⇙\",\"swarrow\":\"↙\",\"swnwar\":\"⤪\",\"szlig\":\"ß\",\"Tab\":\"\\\\t\",\"target\":\"⌖\",\"Tau\":\"Τ\",\"tau\":\"τ\",\"tbrk\":\"⎴\",\"Tcaron\":\"Ť\",\"tcaron\":\"ť\",\"Tcedil\":\"Ţ\",\"tcedil\":\"ţ\",\"Tcy\":\"Т\",\"tcy\":\"т\",\"tdot\":\"⃛\",\"telrec\":\"⌕\",\"Tfr\":\"𝔗\",\"tfr\":\"𝔱\",\"there4\":\"∴\",\"therefore\":\"∴\",\"Therefore\":\"∴\",\"Theta\":\"Θ\",\"theta\":\"θ\",\"thetasym\":\"ϑ\",\"thetav\":\"ϑ\",\"thickapprox\":\"≈\",\"thicksim\":\"∼\",\"ThickSpace\":\"  \",\"ThinSpace\":\" \",\"thinsp\":\" \",\"thkap\":\"≈\",\"thksim\":\"∼\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"tilde\":\"˜\",\"Tilde\":\"∼\",\"TildeEqual\":\"≃\",\"TildeFullEqual\":\"≅\",\"TildeTilde\":\"≈\",\"timesbar\":\"⨱\",\"timesb\":\"⊠\",\"times\":\"×\",\"timesd\":\"⨰\",\"tint\":\"∭\",\"toea\":\"⤨\",\"topbot\":\"⌶\",\"topcir\":\"⫱\",\"top\":\"⊤\",\"Topf\":\"𝕋\",\"topf\":\"𝕥\",\"topfork\":\"⫚\",\"tosa\":\"⤩\",\"tprime\":\"‴\",\"trade\":\"™\",\"TRADE\":\"™\",\"triangle\":\"▵\",\"triangledown\":\"▿\",\"triangleleft\":\"◃\",\"trianglelefteq\":\"⊴\",\"triangleq\":\"≜\",\"triangleright\":\"▹\",\"trianglerighteq\":\"⊵\",\"tridot\":\"◬\",\"trie\":\"≜\",\"triminus\":\"⨺\",\"TripleDot\":\"⃛\",\"triplus\":\"⨹\",\"trisb\":\"⧍\",\"tritime\":\"⨻\",\"trpezium\":\"⏢\",\"Tscr\":\"𝒯\",\"tscr\":\"𝓉\",\"TScy\":\"Ц\",\"tscy\":\"ц\",\"TSHcy\":\"Ћ\",\"tshcy\":\"ћ\",\"Tstrok\":\"Ŧ\",\"tstrok\":\"ŧ\",\"twixt\":\"≬\",\"twoheadleftarrow\":\"↞\",\"twoheadrightarrow\":\"↠\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"uarr\":\"↑\",\"Uarr\":\"↟\",\"uArr\":\"⇑\",\"Uarrocir\":\"⥉\",\"Ubrcy\":\"Ў\",\"ubrcy\":\"ў\",\"Ubreve\":\"Ŭ\",\"ubreve\":\"ŭ\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ucy\":\"У\",\"ucy\":\"у\",\"udarr\":\"⇅\",\"Udblac\":\"Ű\",\"udblac\":\"ű\",\"udhar\":\"⥮\",\"ufisht\":\"⥾\",\"Ufr\":\"𝔘\",\"ufr\":\"𝔲\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uHar\":\"⥣\",\"uharl\":\"↿\",\"uharr\":\"↾\",\"uhblk\":\"▀\",\"ulcorn\":\"⌜\",\"ulcorner\":\"⌜\",\"ulcrop\":\"⌏\",\"ultri\":\"◸\",\"Umacr\":\"Ū\",\"umacr\":\"ū\",\"uml\":\"¨\",\"UnderBar\":\"_\",\"UnderBrace\":\"⏟\",\"UnderBracket\":\"⎵\",\"UnderParenthesis\":\"⏝\",\"Union\":\"⋃\",\"UnionPlus\":\"⊎\",\"Uogon\":\"Ų\",\"uogon\":\"ų\",\"Uopf\":\"𝕌\",\"uopf\":\"𝕦\",\"UpArrowBar\":\"⤒\",\"uparrow\":\"↑\",\"UpArrow\":\"↑\",\"Uparrow\":\"⇑\",\"UpArrowDownArrow\":\"⇅\",\"updownarrow\":\"↕\",\"UpDownArrow\":\"↕\",\"Updownarrow\":\"⇕\",\"UpEquilibrium\":\"⥮\",\"upharpoonleft\":\"↿\",\"upharpoonright\":\"↾\",\"uplus\":\"⊎\",\"UpperLeftArrow\":\"↖\",\"UpperRightArrow\":\"↗\",\"upsi\":\"υ\",\"Upsi\":\"ϒ\",\"upsih\":\"ϒ\",\"Upsilon\":\"Υ\",\"upsilon\":\"υ\",\"UpTeeArrow\":\"↥\",\"UpTee\":\"⊥\",\"upuparrows\":\"⇈\",\"urcorn\":\"⌝\",\"urcorner\":\"⌝\",\"urcrop\":\"⌎\",\"Uring\":\"Ů\",\"uring\":\"ů\",\"urtri\":\"◹\",\"Uscr\":\"𝒰\",\"uscr\":\"𝓊\",\"utdot\":\"⋰\",\"Utilde\":\"Ũ\",\"utilde\":\"ũ\",\"utri\":\"▵\",\"utrif\":\"▴\",\"uuarr\":\"⇈\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"uwangle\":\"⦧\",\"vangrt\":\"⦜\",\"varepsilon\":\"ϵ\",\"varkappa\":\"ϰ\",\"varnothing\":\"∅\",\"varphi\":\"ϕ\",\"varpi\":\"ϖ\",\"varpropto\":\"∝\",\"varr\":\"↕\",\"vArr\":\"⇕\",\"varrho\":\"ϱ\",\"varsigma\":\"ς\",\"varsubsetneq\":\"⊊︀\",\"varsubsetneqq\":\"⫋︀\",\"varsupsetneq\":\"⊋︀\",\"varsupsetneqq\":\"⫌︀\",\"vartheta\":\"ϑ\",\"vartriangleleft\":\"⊲\",\"vartriangleright\":\"⊳\",\"vBar\":\"⫨\",\"Vbar\":\"⫫\",\"vBarv\":\"⫩\",\"Vcy\":\"В\",\"vcy\":\"в\",\"vdash\":\"⊢\",\"vDash\":\"⊨\",\"Vdash\":\"⊩\",\"VDash\":\"⊫\",\"Vdashl\":\"⫦\",\"veebar\":\"⊻\",\"vee\":\"∨\",\"Vee\":\"⋁\",\"veeeq\":\"≚\",\"vellip\":\"⋮\",\"verbar\":\"|\",\"Verbar\":\"‖\",\"vert\":\"|\",\"Vert\":\"‖\",\"VerticalBar\":\"∣\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"❘\",\"VerticalTilde\":\"≀\",\"VeryThinSpace\":\" \",\"Vfr\":\"𝔙\",\"vfr\":\"𝔳\",\"vltri\":\"⊲\",\"vnsub\":\"⊂⃒\",\"vnsup\":\"⊃⃒\",\"Vopf\":\"𝕍\",\"vopf\":\"𝕧\",\"vprop\":\"∝\",\"vrtri\":\"⊳\",\"Vscr\":\"𝒱\",\"vscr\":\"𝓋\",\"vsubnE\":\"⫋︀\",\"vsubne\":\"⊊︀\",\"vsupnE\":\"⫌︀\",\"vsupne\":\"⊋︀\",\"Vvdash\":\"⊪\",\"vzigzag\":\"⦚\",\"Wcirc\":\"Ŵ\",\"wcirc\":\"ŵ\",\"wedbar\":\"⩟\",\"wedge\":\"∧\",\"Wedge\":\"⋀\",\"wedgeq\":\"≙\",\"weierp\":\"℘\",\"Wfr\":\"𝔚\",\"wfr\":\"𝔴\",\"Wopf\":\"𝕎\",\"wopf\":\"𝕨\",\"wp\":\"℘\",\"wr\":\"≀\",\"wreath\":\"≀\",\"Wscr\":\"𝒲\",\"wscr\":\"𝓌\",\"xcap\":\"⋂\",\"xcirc\":\"◯\",\"xcup\":\"⋃\",\"xdtri\":\"▽\",\"Xfr\":\"𝔛\",\"xfr\":\"𝔵\",\"xharr\":\"⟷\",\"xhArr\":\"⟺\",\"Xi\":\"Ξ\",\"xi\":\"ξ\",\"xlarr\":\"⟵\",\"xlArr\":\"⟸\",\"xmap\":\"⟼\",\"xnis\":\"⋻\",\"xodot\":\"⨀\",\"Xopf\":\"𝕏\",\"xopf\":\"𝕩\",\"xoplus\":\"⨁\",\"xotime\":\"⨂\",\"xrarr\":\"⟶\",\"xrArr\":\"⟹\",\"Xscr\":\"𝒳\",\"xscr\":\"𝓍\",\"xsqcup\":\"⨆\",\"xuplus\":\"⨄\",\"xutri\":\"△\",\"xvee\":\"⋁\",\"xwedge\":\"⋀\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"YAcy\":\"Я\",\"yacy\":\"я\",\"Ycirc\":\"Ŷ\",\"ycirc\":\"ŷ\",\"Ycy\":\"Ы\",\"ycy\":\"ы\",\"yen\":\"¥\",\"Yfr\":\"𝔜\",\"yfr\":\"𝔶\",\"YIcy\":\"Ї\",\"yicy\":\"ї\",\"Yopf\":\"𝕐\",\"yopf\":\"𝕪\",\"Yscr\":\"𝒴\",\"yscr\":\"𝓎\",\"YUcy\":\"Ю\",\"yucy\":\"ю\",\"yuml\":\"ÿ\",\"Yuml\":\"Ÿ\",\"Zacute\":\"Ź\",\"zacute\":\"ź\",\"Zcaron\":\"Ž\",\"zcaron\":\"ž\",\"Zcy\":\"З\",\"zcy\":\"з\",\"Zdot\":\"Ż\",\"zdot\":\"ż\",\"zeetrf\":\"ℨ\",\"ZeroWidthSpace\":\"​\",\"Zeta\":\"Ζ\",\"zeta\":\"ζ\",\"zfr\":\"𝔷\",\"Zfr\":\"ℨ\",\"ZHcy\":\"Ж\",\"zhcy\":\"ж\",\"zigrarr\":\"⇝\",\"zopf\":\"𝕫\",\"Zopf\":\"ℤ\",\"Zscr\":\"𝒵\",\"zscr\":\"𝓏\",\"zwj\":\"‍\",\"zwnj\":\"‌\"}')},function(e,t,n){\"use strict\";var r={};function i(e,t,n){var o,a,s,l,u,c=\"\";for(\"string\"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),u=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)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+=\"%EF%BF%BD\"}else c+=encodeURIComponent(e[o]);return c}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,l,u=\"\";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?u+=n[i]:192==(224&i)&&t+3<r&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(u+=(l=i<<6&1984|63&o)<128?\"��\":String.fromCharCode(l),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))?(u+=(l=i<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?\"���\":String.fromCharCode(l),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))?((l=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?u+=\"����\":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+=\"�\";return u}))}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\"]),l=[\"'\"].concat(s),u=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(l),c=[\"/\",\"?\",\"#\"],f=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+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,l,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(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(l=\"//\"===m.substr(0,2))||v&&d[v]||(m=m.substr(2),this.slashes=!0)),!d[v]&&(l||v&&!h[v])){var y,b,E=-1;for(n=0;n<c.length;n++)-1!==(s=m.indexOf(c[n]))&&(-1===E||s<E)&&(E=s);for(-1!==(b=-1===E?m.lastIndexOf(\"@\"):m.lastIndexOf(\"@\",E))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),E=-1,n=0;n<u.length;n++)-1!==(s=m.indexOf(u[n]))&&(-1===E||s<E)&&(E=s);-1===E&&(E=m.length),\":\"===m[E-1]&&E--;var w=m.slice(0,E);m=m.slice(E),this.parseHost(w),this.hostname=this.hostname||\"\";var T=\"[\"===this.hostname[0]&&\"]\"===this.hostname[this.hostname.length-1];if(!T){var x=this.hostname.split(/\\./);for(n=0,r=x.length;n<r;n++){var k=x[n];if(k&&!k.match(f)){for(var O=\"\",_=0,S=k.length;_<S;_++)k.charCodeAt(_)>127?O+=\"x\":O+=k[_];if(!O.match(f)){var C=x.slice(0,n),N=x.slice(n+1),A=k.match(p);A&&(C.push(A[1]),N.unshift(A[2])),N.length&&(m=N.join(\".\")+m),this.hostname=C.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf(\"#\");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var I=m.indexOf(\"?\");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),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,n){\"use strict\";t.Any=n(83),t.Cc=n(84),t.Cf=n(144),t.P=n(57),t.Z=n(85)},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(146),t.parseLinkDestination=n(147),t.parseLinkTitle=n(148)},function(e,t,n){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,r=1;e.pos<l;){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=u,-1}return i&&(s=e.pos),e.pos=u,s}},function(e,t,n){\"use strict\";var r=n(12).isSpace,i=n(12).unescapeAll;e.exports=function(e,t,n){var o,a,s=t,l={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 l;if(62===o)return l.pos=t+1,l.str=i(e.slice(s+1,t)),l.ok=!0,l;92===o&&t+1<n?t+=2:t++}return l}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||(l.str=i(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0),l}},function(e,t,n){\"use strict\";var r=n(12).unescapeAll;e.exports=function(e,t,n){var i,o,a=0,s=t,l={ok:!1,pos:0,lines:0,str:\"\"};if(t>=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t<n;){if((i=e.charCodeAt(t))===o)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;10===i?a++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},function(e,t,n){\"use strict\";var r=n(12).assign,i=n(12).unescapeAll,o=n(12).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,l,u,c,f=e[t],p=f.info?i(f.info).trim():\"\",d=\"\";return p&&(d=p.split(/\\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||o(f.content)).indexOf(\"<pre\")?s+\"\\n\":p?(l=f.attrIndex(\"class\"),u=f.attrs?f.attrs.slice():[],l<0?u.push([\"class\",n.langPrefix+d]):u[l][1]+=\" \"+n.langPrefix+d,c={attrs:u},\"<pre><code\"+a.renderAttrs(c)+\">\"+s+\"</code></pre>\\n\"):\"<pre><code\"+a.renderAttrs(f)+\">\"+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++)void 0!==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):void 0!==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(58),i=[[\"normalize\",n(151)],[\"block\",n(152)],[\"inline\",n(153)],[\"linkify\",n(154)],[\"replacements\",n(155)],[\"smartquotes\",n(156)]];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(157),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,\"�\"),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(12).arrayReplaceAt;function i(e){return/^<\\/a\\s*>/i.test(e)}e.exports=function(e){var t,n,o,a,s,l,u,c,f,p,d,h,m,g,v,y,b,E,w=e.tokens;if(e.md.options.linkify)for(n=0,o=w.length;n<o;n++)if(\"inline\"===w[n].type&&e.md.linkify.pretest(w[n].content))for(m=0,t=(a=w[n].children).length-1;t>=0;t--)if(\"link_close\"!==(l=a[t]).type){if(\"html_inline\"===l.type&&(E=l.content,/^<a[>\\s]/i.test(E)&&m>0&&m--,i(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),u=[],h=l.level,d=0,c=0;c<b.length;c++)g=b[c].url,v=e.md.normalizeLink(g),e.md.validateLink(v)&&(y=b[c].text,y=b[c].schema?\"mailto:\"!==b[c].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText(\"mailto:\"+y).replace(/^mailto:/,\"\"):e.md.normalizeLinkText(\"http://\"+y).replace(/^http:\\/\\//,\"\"),(p=b[c].index)>d&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,u.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",v]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",u.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,u.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",u.push(s),d=b[c].lastIndex);d<f.length&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d),s.level=h,u.push(s)),w[n].children=a=r(a,t,u)}}else for(t--;a[t].level!==l.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:\"©\",r:\"®\",p:\"§\",tm:\"™\"};function s(e,t){return a[t.toLowerCase()]}function l(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 u(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,\"±\").replace(/\\.{2,}/g,\"…\").replace(/([?!])…/g,\"$1..\").replace(/([?!]){4,}/g,\"$1$1$1\").replace(/,{2,}/g,\",\").replace(/(^|[^-])---([^-]|$)/gm,\"$1—$2\").replace(/(^|\\s)--(\\s|$)/gm,\"$1–$2\").replace(/(^|[^-\\s])--([^-\\s]|$)/gm,\"$1–$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)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&u(e.tokens[t].children))}},function(e,t,n){\"use strict\";var r=n(12).isWhiteSpace,i=n(12).isPunctChar,o=n(12).isMdAsciiPunct,a=/['\"]/,s=/['\"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,a,u,c,f,p,d,h,m,g,v,y,b,E,w,T,x,k,O,_,S;for(O=[],n=0;n<e.length;n++){for(a=e[n],d=e[n].level,x=O.length-1;x>=0&&!(O[x].level<=d);x--);if(O.length=x+1,\"text\"===a.type){f=0,p=(u=a.content).length;e:for(;f<p&&(s.lastIndex=f,c=s.exec(u));){if(w=T=!0,f=c.index+1,k=\"'\"===c[0],m=32,c.index-1>=0)m=u.charCodeAt(c.index-1);else for(x=n-1;x>=0&&(\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type);x--)if(\"text\"===e[x].type){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(g=32,f<p)g=u.charCodeAt(f);else for(x=n+1;x<e.length&&(\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type);x++)if(\"text\"===e[x].type){g=e[x].content.charCodeAt(0);break}if(v=o(m)||i(String.fromCharCode(m)),y=o(g)||i(String.fromCharCode(g)),b=r(m),(E=r(g))?w=!1:y&&(b||v||(w=!1)),b?T=!1:v&&(E||y||(T=!1)),34===g&&'\"'===c[0]&&m>=48&&m<=57&&(T=w=!1),w&&T&&(w=!1,T=y),w||T){if(T)for(x=O.length-1;x>=0&&(h=O[x],!(O[x].level<d));x--)if(h.single===k&&O[x].level===d){h=O[x],k?(_=t.md.options.quotes[2],S=t.md.options.quotes[3]):(_=t.md.options.quotes[0],S=t.md.options.quotes[1]),a.content=l(a.content,c.index,S),e[h.token].content=l(e[h.token].content,h.pos,_),f+=S.length-1,h.token===n&&(f+=_.length-1),p=(u=a.content).length,O.length=x;continue e}w?O.push({token:n,pos:c.index,single:k,level:d}):T&&k&&(a.content=l(a.content,c.index,\"’\"))}else k&&(a.content=l(a.content,c.index,\"’\"))}}}}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)&&u(e.tokens[t].children,e)}},function(e,t,n){\"use strict\";var r=n(59);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(58),i=[[\"table\",n(159),[\"paragraph\",\"reference\"]],[\"code\",n(160)],[\"fence\",n(161),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(162),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(163),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(164),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(165)],[\"heading\",n(166),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(167)],[\"html_block\",n(168),[\"paragraph\",\"reference\",\"blockquote\"]],[\"paragraph\",n(170)]];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,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){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(171),e.exports=o},function(e,t,n){\"use strict\";var r=n(12).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,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=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=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,t,n,a){var s,l,u,c,f,p,d,h,m,g,v,y;if(t+2>n)return!1;if(f=t+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((u=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(u++))&&45!==s&&58!==s)return!1;for(;u<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(u))&&45!==s&&58!==s&&!r(s))return!1;u++}for(p=(l=i(e,t+1)).split(\"|\"),m=[],c=0;c<p.length;c++){if(!(g=p[c].trim())){if(0===c||c===p.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===(l=i(e,t).trim()).indexOf(\"|\"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(p=o(l.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],c=0;c<p.length;c++)(h=e.push(\"th_open\",\"th\",1)).map=[t,t+1],m[c]&&(h.attrs=[[\"style\",\"text-align:\"+m[c]]]),(h=e.push(\"inline\",\"\",0)).content=p[c].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],f=t+2;f<n&&!(e.sCount[f]<e.blkIndent)&&-1!==(l=i(e,f).trim()).indexOf(\"|\")&&!(e.sCount[f]-e.blkIndent>=4);f++){for(p=o(l.replace(/^\\||\\|$/g,\"\")),h=e.push(\"tr_open\",\"tr\",1),c=0;c<d;c++)h=e.push(\"td_open\",\"td\",1),m[c]&&(h.attrs=[[\"style\",\"text-align:\"+m[c]]]),(h=e.push(\"inline\",\"\",0)).content=p[c]?p[c].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]=f,e.line=f,!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,l,u,c,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(c=e.src.slice(l,p),(a=e.src.slice(p,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((p=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<d)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),(u=e.push(\"fence\",\"code\",0)).info=a,u.content=e.getLines(t+1,s,o,!0),u.markup=c,u.map=[t,e.line],!0}},function(e,t,n){\"use strict\";var r=n(12).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u,c,f,p,d,h,m,g,v,y,b,E,w,T,x,k,O=e.lineMax,_=e.bMarks[t]+e.tShift[t],S=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(_++))return!1;if(i)return!0;for(l=d=e.sCount[t]+_-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(_)?(_++,l++,d++,o=!1,E=!0):9===e.src.charCodeAt(_)?(E=!0,(e.bsCount[t]+d)%4==3?(_++,l++,d++,o=!1):o=!0):E=!1,h=[e.bMarks[t]],e.bMarks[t]=_;_<S&&(a=e.src.charCodeAt(_),r(a));)9===a?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,_++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(E?1:0),c=_>=S,y=[e.sCount[t]],e.sCount[t]=d-l,b=[e.tShift[t]],e.tShift[t]=_-e.bMarks[t],T=e.md.block.ruler.getRules(\"blockquote\"),v=e.parentType,e.parentType=\"blockquote\",k=!1,p=t+1;p<n&&(e.sCount[p]<e.blkIndent&&(k=!0),!((_=e.bMarks[p]+e.tShift[p])>=(S=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(_++)||k){if(c)break;for(w=!1,s=0,u=T.length;s<u;s++)if(T[s](e,p,n,!0)){w=!0;break}if(w){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=d=e.sCount[p]+_-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(_)?(_++,l++,d++,o=!1,E=!0):9===e.src.charCodeAt(_)?(E=!0,(e.bsCount[p]+d)%4==3?(_++,l++,d++,o=!1):o=!0):E=!1,h.push(e.bMarks[p]),e.bMarks[p]=_;_<S&&(a=e.src.charCodeAt(_),r(a));)9===a?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++,_++;c=_>=S,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(E?1:0),y.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=_-e.bMarks[p]}for(g=e.blkIndent,e.blkIndent=0,(x=e.push(\"blockquote_open\",\"blockquote\",1)).markup=\">\",x.map=f=[t,0],e.md.block.tokenize(e,t,p),(x=e.push(\"blockquote_close\",\"blockquote\",-1)).markup=\">\",e.lineMax=O,e.parentType=v,f[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(12).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(a=1;u<c;){if((s=e.src.charCodeAt(u++))!==o&&!r(s))return!1;s===o&&a++}return!(a<3)&&(i||(e.line=t+1,(l=e.push(\"hr\",\"hr\",0)).map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(o))),!0)}},function(e,t,n){\"use strict\";var r=n(12).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,l,u,c,f,p,d,h,m,g,v,y,b,E,w,T,x,k,O,_,S,C,N,A,D,I,j,L=!1,F=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&\"paragraph\"===e.parentType&&e.tShift[t]>=e.blkIndent&&(L=!0),(C=o(e,t))>=0){if(p=!0,A=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(A,C-A-1)),L&&1!==y)return!1}else{if(!((C=i(e,t))>=0))return!1;p=!1}if(L&&e.skipSpaces(C)>=e.eMarks[t])return!1;if(v=e.src.charCodeAt(C-1),r)return!0;for(g=e.tokens.length,p?(j=e.push(\"ordered_list_open\",\"ol\",1),1!==y&&(j.attrs=[[\"start\",y]])):j=e.push(\"bullet_list_open\",\"ul\",1),j.map=m=[t,0],j.markup=String.fromCharCode(v),E=t,N=!1,I=e.md.block.ruler.getRules(\"list\"),k=e.parentType,e.parentType=\"list\";E<n;){for(S=C,b=e.eMarks[E],f=w=e.sCount[E]+C-(e.bMarks[t]+e.tShift[t]);S<b;){if(9===(a=e.src.charCodeAt(S)))w+=4-(w+e.bsCount[E])%4;else{if(32!==a)break;w++}S++}if((c=(s=S)>=b?1:w-f)>4&&(c=1),u=f+c,(j=e.push(\"list_item_open\",\"li\",1)).markup=String.fromCharCode(v),j.map=d=[t,0],T=e.blkIndent,_=e.tight,O=e.tShift[t],x=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=w,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(F=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=T,e.tShift[t]=O,e.sCount[t]=x,e.tight=_,(j=e.push(\"list_item_close\",\"li\",-1)).markup=String.fromCharCode(v),E=t=e.line,d[1]=E,s=e.bMarks[t],E>=n)break;if(e.sCount[E]<e.blkIndent)break;for(D=!1,l=0,h=I.length;l<h;l++)if(I[l](e,E,n,!0)){D=!0;break}if(D)break;if(p){if((C=o(e,E))<0)break}else if((C=i(e,E))<0)break;if(v!==e.src.charCodeAt(C-1))break}return(j=p?e.push(\"ordered_list_close\",\"ol\",-1):e.push(\"bullet_list_close\",\"ul\",-1)).markup=String.fromCharCode(v),m[1]=E,e.line=E,e.parentType=k,F&&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(12).normalizeReference,i=n(12).isSpace;e.exports=function(e,t,n,o){var a,s,l,u,c,f,p,d,h,m,g,v,y,b,E,w,T=0,x=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],O=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<k;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===k)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(u=e.lineMax,E=e.md.block.ruler.getRules(\"reference\"),m=e.parentType,e.parentType=\"reference\";O<u&&!e.isEmpty(O);O++)if(!(e.sCount[O]-e.blkIndent>3||e.sCount[O]<0)){for(b=!1,f=0,p=E.length;f<p;f++)if(E[f](e,O,u,!0)){b=!0;break}if(b)break}for(k=(y=e.getLines(t,O,e.blkIndent,!1).trim()).length,x=1;x<k;x++){if(91===(a=y.charCodeAt(x)))return!1;if(93===a){h=x;break}(10===a||92===a&&++x<k&&10===y.charCodeAt(x))&&T++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(x=h+2;x<k;x++)if(10===(a=y.charCodeAt(x)))T++;else if(!i(a))break;if(!(g=e.md.helpers.parseLinkDestination(y,x,k)).ok)return!1;if(c=e.md.normalizeLink(g.str),!e.md.validateLink(c))return!1;for(s=x=g.pos,l=T+=g.lines,v=x;x<k;x++)if(10===(a=y.charCodeAt(x)))T++;else if(!i(a))break;for(g=e.md.helpers.parseLinkTitle(y,x,k),x<k&&v!==x&&g.ok?(w=g.str,x=g.pos,T+=g.lines):(w=\"\",x=s,T=l);x<k&&(a=y.charCodeAt(x),i(a));)x++;if(x<k&&10!==y.charCodeAt(x)&&w)for(w=\"\",x=s,T=l;x<k&&(a=y.charCodeAt(x),i(a));)x++;return!(x<k&&10!==y.charCodeAt(x))&&(!!(d=r(y.slice(1,h)))&&(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:w,href:c}),e.parentType=m,e.line=t+T+1),!0))}},function(e,t,n){\"use strict\";var r=n(12).isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(u))||u>=c)return!1;for(a=1,o=e.src.charCodeAt(++u);35===o&&u<c&&a<=6;)a++,o=e.src.charCodeAt(++u);return!(a>6||u<c&&!r(o))&&(i||(c=e.skipSpacesBack(c,u),(s=e.skipCharsBack(c,35,u))>u&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,(l=e.push(\"heading_open\",\"h\"+String(a),1)).markup=\"########\".slice(0,a),l.map=[t,e.line],(l=e.push(\"inline\",\"\",0)).content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],(l=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,l,u,c,f,p,d=t+1,h=e.md.block.ruler.getRules(\"paragraph\");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=\"paragraph\";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(u=e.eMarks[d])&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=u)){c=61===f?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!!c&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push(\"heading_open\",\"h\"+String(c),1)).markup=String.fromCharCode(f),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(c),-1)).markup=String.fromCharCode(f),e.parentType=p,!0)}},function(e,t,n){\"use strict\";var r=n(169),i=n(86).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,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),i=0;i<o.length&&!o[i][0].test(l);i++);if(i===o.length)return!1;if(r)return o[i][2];if(a=t+1,!o[i][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(u=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],l=e.src.slice(u,c),o[i][1].test(l)){0!==l.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,l=t+1,u=e.md.block.ruler.getRules(\"paragraph\"),c=e.lineMax;for(s=e.parentType,e.parentType=\"paragraph\";l<c&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=u.length;i<o;i++)if(u[i](e,l,c,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(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(59),i=n(12).isSpace;function o(e,t,n,r){var o,a,s,l,u,c,f,p;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=\"\",p=!1,s=l=c=f=0,u=(a=this.src).length;l<u;l++){if(o=a.charCodeAt(l),!p){if(i(o)){c++,9===o?f+=4-f%4:f++;continue}p=!0}10!==o&&l!==u-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(c),this.sCount.push(f),this.bsCount.push(0),p=!1,c=0,f=0,s=l+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,l,u,c,f,p=e;if(e>=t)return\"\";for(c=new Array(t-e),o=0;p<t;p++,o++){for(a=0,f=l=this.bMarks[p],u=p+1<t||r?this.eMarks[p]+1:this.eMarks[p];l<u&&a<n;){if(s=this.src.charCodeAt(l),i(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-f<this.tShift[p]))break;a++}l++}c[o]=a>n?new Array(a-n+1).join(\" \")+this.src.slice(l,u):this.src.slice(l,u)}return c.join(\"\")},o.prototype.Token=r,e.exports=o},function(e,t,n){\"use strict\";var r=n(58),i=[[\"text\",n(173)],[\"newline\",n(174)],[\"escape\",n(175)],[\"backticks\",n(176)],[\"strikethrough\",n(87).tokenize],[\"emphasis\",n(88).tokenize],[\"link\",n(177)],[\"image\",n(178)],[\"autolink\",n(179)],[\"html_inline\",n(180)],[\"entity\",n(181)]],o=[[\"balance_pairs\",n(182)],[\"strikethrough\",n(87).postProcess],[\"emphasis\",n(88).postProcess],[\"text_collapse\",n(183)]];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(void 0===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(184),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(12).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(12).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,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-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(l,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(12).normalizeReference,i=n(12).isSpace;e.exports=function(e,t){var n,o,a,s,l,u,c,f,p,d=\"\",h=e.pos,m=e.posMax,g=e.pos,v=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=s+1)<m&&40===e.src.charCodeAt(u)){for(v=!1,u++;u<m&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=m)return!1;for(g=u,(c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(d=e.md.normalizeLink(c.str),e.md.validateLink(d)?u=c.pos:d=\"\"),g=u;u<m&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(c=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<m&&g!==u&&c.ok)for(p=c.str,u=c.pos;u<m&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else p=\"\";(u>=m||41!==e.src.charCodeAt(u))&&(v=!0),u++}if(v){if(void 0===e.env.references)return!1;if(u<m&&91===e.src.charCodeAt(u)?(g=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?a=e.src.slice(g,u++):u=s+1):u=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=h,!1;d=f.href,p=f.title}return t||(e.pos=l,e.posMax=s,e.push(\"link_open\",\"a\",1).attrs=n=[[\"href\",d]],p&&n.push([\"title\",p]),e.md.inline.tokenize(e),e.push(\"link_close\",\"a\",-1)),e.pos=u,e.posMax=m,!0}},function(e,t,n){\"use strict\";var r=n(12).normalizeReference,i=n(12).isSpace;e.exports=function(e,t){var n,o,a,s,l,u,c,f,p,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(u=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=l+1)<b&&40===e.src.charCodeAt(c)){for(c++;c<b&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=b)return!1;for(g=c,(p=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(v=e.md.normalizeLink(p.str),e.md.validateLink(v)?c=p.pos:v=\"\"),g=c;c<b&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(p=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<b&&g!==c&&p.ok)for(d=p.str,c=p.pos;c<b&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else d=\"\";if(c>=b||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if(void 0===e.env.references)return!1;if(c<b&&91===e.src.charCodeAt(c)?(g=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?s=e.src.slice(g,c++):c=l+1):c=l+1,s||(s=e.src.slice(u,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,d=f.title}return t||(a=e.src.slice(u,l),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=c,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,l,u,c=e.pos;return 60===e.src.charCodeAt(c)&&(!((n=e.src.slice(c)).indexOf(\">\")<0)&&(i.test(n)?(s=(o=n.match(i))[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||((u=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],u.markup=\"autolink\",u.info=\"auto\",(u=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(u=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",u.info=\"auto\"),e.pos+=o[0].length,!0)):!!r.test(n)&&(s=(a=n.match(r))[0].slice(1,-1),l=e.md.normalizeLink(\"mailto:\"+s),!!e.md.validateLink(l)&&(t||((u=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],u.markup=\"autolink\",u.info=\"auto\",(u=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(u=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",u.info=\"auto\"),e.pos+=a[0].length,!0))))}},function(e,t,n){\"use strict\";var r=n(86).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(81),i=n(12).has,o=n(12).isValidEntityCode,a=n(12).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,u,c=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(c))return!1;if(c+1<f)if(35===e.src.charCodeAt(c+1)){if(u=e.src.slice(c).match(s))return t||(n=\"x\"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=o(n)?a(n):a(65533)),e.pos+=u[0].length,!0}else if((u=e.src.slice(c).match(l))&&i(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[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)&&void 0!==i.length&&void 0!==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(59),i=n(12).isWhiteSpace,o=n(12).isPunctChar,a=n(12).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,l,u,c,f,p,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,f=a(n)||o(String.fromCharCode(n)),d=a(r)||o(String.fromCharCode(r)),c=i(n),(p=i(r))?m=!1:d&&(c||f||(m=!1)),c?g=!1:f&&(p||d||(g=!1)),t?(l=m,u=g):(l=m&&(!g||f),u=g&&(!m||d)),{can_open:l,can_close:u,length:s}},s.prototype.Token=r,e.exports=s},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 l={\"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}}},u=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф\".split(\"|\");function c(e){var t=e.re=n(186)(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 l=[];function u(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:u(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?u(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return\"[object String]\"===i(e)}(n)?u(t,n):l.push(t)}})),l.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 c=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+c+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><|]|\"+t.src_ZPCc+\"))(\"+c+\")\",\"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 f(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 p(e,t){var n=new f(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({},l,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},c(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,c(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,l;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:\"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<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(p(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(p(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(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(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){\"use strict\";e.exports=function(e){var t={};t.src_Any=n(83).source,t.src_Cc=n(84).source,t.src_Z=n(85).source,t.src_P=n(57).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=\"(?:(?![><|]|\"+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=\"(?=$|[><|]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><|]|[()[\\\\]{}.,\\\"'?!\\\\-]).|\\\\[(?:(?!\"+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='(^|[><|]|\"|\\\\(|'+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`||]|\"+t.src_ZPCc+\"))((?![$+<=>^`||])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`||]|\"+t.src_ZPCc+\"))((?![$+<=>^`||])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var a=\"object\"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,u=/^xn--/,c=/[^\\x20-\\x7E]/,f=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={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(p[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(f,\".\")).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 E(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(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 T(e){var t,n,r,i,o,a,s,u,c,f,p,h=[],g=e.length,v=0,y=128,E=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\"),((u=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||u>d((l-v)/a))&&m(\"overflow\"),v+=u*a,!(u<(c=s<=E?1:s>=E+26?26:s-E));s+=36)a>d(l/(f=36-c))&&m(\"overflow\"),a*=f;E=w(v-o,t=h.length+1,0==o),d(v/t)>l-y&&m(\"overflow\"),y+=d(v/t),v%=t,h.splice(v++,0,y)}return b(h)}function x(e){var t,n,r,i,o,a,s,u,c,f,p,g,v,b,T,x=[];for(g=(e=y(e)).length,t=128,n=0,o=72,a=0;a<g;++a)(p=e[a])<128&&x.push(h(p));for(r=i=x.length,i&&x.push(\"-\");r<g;){for(s=l,a=0;a<g;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>d((l-n)/(v=r+1))&&m(\"overflow\"),n+=(s-t)*v,t=s,a=0;a<g;++a)if((p=e[a])<t&&++n>l&&m(\"overflow\"),p==t){for(u=n,c=36;!(u<(f=c<=o?1:c>=o+26?26:c-o));c+=36)T=u-f,b=36-f,x.push(h(E(f+T%b,0))),u=d(T/b);x.push(h(E(u,0))),o=w(n,v,r==i),n=0,++r}++n,++t}return x.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:y,encode:b},decode:T,encode:x,toASCII:function(e){return v(e,(function(e){return c.test(e)?\"xn--\"+x(e):e}))},toUnicode:function(e){return v(e,(function(e){return u.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(188)(e),n(43))},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\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"“”‘’\",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:\"“”‘’\",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:\"“”‘’\",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\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.normalizeWhitespace=function(e){return e.replace(i,\" \")},t.invalidCharacters=void 0;var r=Array.from({length:11},(function(e,t){return String.fromCharCode(8192+t)})).concat([\"\\u2028\",\"\\u2029\",\" \",\" \"]);t.invalidCharacters=r;var i=new RegExp(\"[\"+r.join(\"\")+\"]\",\"g\")},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(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o=\"un\":(this.lineComment(s,l,e),o=\"line\"):\"un\"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension(\"lineComment\",(function(e,a,s){s||(s=t);var l=this,u=o(l,e),c=l.getLine(e.line);if(null!=c&&(f=e,p=c,!/\\bstring\\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\\'\\\"\\`]/.test(p))){var f,p,d=s.lineComment||u.lineComment;if(d){var h=Math.min(0!=a.ch||a.line==e.line?a.line+1:a.line,l.lastLine()+1),m=null==s.padding?\" \":s.padding,g=s.commentBlankLines||e.line==a.line;l.operation((function(){if(s.indent){for(var t=null,o=e.line;o<h;++o){var a=(u=l.getLine(o)).slice(0,i(u));(null==t||t.length>a.length)&&(t=a)}for(o=e.line;o<h;++o){var u=l.getLine(o),c=t.length;(g||n.test(u))&&(u.slice(0,c)!=t&&(c=i(u)),l.replaceRange(t+d+m,r(o,0),r(o,c)))}}else for(o=e.line;o<h;++o)(g||n.test(l.getLine(o)))&&l.replaceRange(d+m,r(o,0))}))}else(s.blockCommentStart||u.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,a,s))}})),e.defineExtension(\"blockComment\",(function(e,i,a){a||(a=t);var s=this,l=o(s,e),u=a.blockCommentStart||l.blockCommentStart,c=a.blockCommentEnd||l.blockCommentEnd;if(u&&c){if(!/\\bcomment\\b/.test(s.getTokenTypeAt(r(e.line,0)))){var f=Math.min(i.line,s.lastLine());f!=e.line&&0==i.ch&&n.test(s.getLine(f))&&--f;var p=null==a.padding?\" \":a.padding;e.line>f||s.operation((function(){if(0!=a.fullLines){var t=n.test(s.getLine(f));s.replaceRange(p+c,r(f)),s.replaceRange(u+p,r(e.line,0));var o=a.blockCommentLead||l.blockCommentLead;if(null!=o)for(var d=e.line+1;d<=f;++d)(d!=f||t)&&s.replaceRange(o+p,r(d,0))}else s.replaceRange(c,i),s.replaceRange(u,e)}))}}else(a.lineComment||l.lineComment)&&0!=a.fullLines&&s.lineComment(e,i,a)})),e.defineExtension(\"uncomment\",(function(e,i,a){a||(a=t);var s,l=this,u=o(l,e),c=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,c),p=a.lineComment||u.lineComment,d=[],h=null==a.padding?\" \":a.padding;e:if(p){for(var m=f;m<=c;++m){var g=l.getLine(m),v=g.indexOf(p);if(v>-1&&!/comment/.test(l.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(l.operation((function(){for(var e=f;e<=c;++e){var t=d[e-f],n=t.indexOf(p),i=n+p.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange(\"\",r(e,n),r(e,i)))}})),s)return!0}var y=a.blockCommentStart||u.blockCommentStart,b=a.blockCommentEnd||u.blockCommentEnd;if(!y||!b)return!1;var E=a.blockCommentLead||u.blockCommentLead,w=l.getLine(f),T=w.indexOf(y);if(-1==T)return!1;var x=c==f?w:l.getLine(c),k=x.indexOf(b,c==f?T+y.length:0),O=r(f,T+1),_=r(c,k+1);if(-1==k||!/comment/.test(l.getTokenTypeAt(O))||!/comment/.test(l.getTokenTypeAt(_))||l.getRange(O,_,\"\\n\").indexOf(b)>-1)return!1;var S=w.lastIndexOf(y,e.ch),C=-1==S?-1:w.slice(0,e.ch).indexOf(b,S+y.length);if(-1!=S&&-1!=C&&C+b.length!=e.ch)return!1;C=x.indexOf(b,i.ch);var N=x.slice(i.ch).lastIndexOf(y,C-i.ch);return S=-1==C||-1==N?-1:i.ch+N,(-1==C||-1==S||S==i.ch)&&(l.operation((function(){l.replaceRange(\"\",r(c,k-(h&&x.slice(k-h.length,k)==h?h.length:0)),r(c,k+b.length));var e=T+y.length;if(h&&w.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange(\"\",r(f,T),r(f,e)),E)for(var t=f+1;t<=c;++t){var i=l.getLine(t),o=i.indexOf(E);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+E.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange(\"\",r(t,o),r(t,a))}}})),!0)}))}(n(13))},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 l(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;for(var i=t.findMarksAt(r.from),l=0;l<i.length;++l)if(i[l].__isFold&&\"fold\"!==o){if(!e)return null;r.cleared=!0,i[l].clear()}return r}var u=l(!0);if(r(t,i,\"scanUp\"))for(;!u&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),u=l(!1);if(u&&!u.cleared&&\"unfold\"!==o){var c=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,u);e.on(c,\"mousedown\",(function(t){f.clear(),e.e_preventDefault(t)}));var f=t.markText(u.from,u.to,{replacedWith:c,clearOnEnter:r(t,i,\"clearOnEnter\"),__isFold:!0});f.on(\"clear\",(function(n,r){e.signal(t,\"unfold\",t,n,r)})),e.signal(t,\"fold\",t,u.from,u.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:\"↔\",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(13))},function(e,t,n){\"use strict\";var r,i=n(13),o=(r=i)&&r.__esModule?r:{default:r},a=n(65);o.default.registerHelper(\"hint\",\"graphql\",(function(e,t){var n=t.schema;if(n){var r=e.getCursor(),i=e.getTokenAt(r),s=(0,a.getAutocompleteSuggestions)(n,e.getValue(),r,i),l=null!==i.type&&/\"|\\w/.test(i.string[0])?i.start:i.end,u={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:l},to:{line:r.line,column:i.end}};return u&&u.list&&u.list.length>0&&(u.from=o.default.Pos(u.from.line,u.from.column),u.to=o.default.Pos(u.to.line,u.to.column),o.default.signal(e,\"hasCompletion\",e,u,i)),u}}))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getASTNodeAtPosition=function(e,t,n){var o=i(e,n),a=void 0;return(0,r.visit)(t,{enter:function(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=o&&o<=e.loc.end))return!1;a=e},leave:function(e){if(e.loc&&e.loc.start<=o&&o<=e.loc.end)return!1}}),a},t.pointToOffset=i;n(94);var r=n(14);function i(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\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.validateWithCustomRules=function(e,t,i,o){var a=n(74).NoUnusedFragments,s=n(72).ExecutableDefinitions,l=[a,s];if(o){var u=n(73).KnownFragmentNames;l.push(u)}var c=r.specifiedRules.filter((function(e){return!l.some((function(t){return t===e}))})),f=new r.TypeInfo(e);i&&Array.prototype.push.apply(c,i);var p=(0,r.validate)(e,t,c,f);if(p.length>0)return p.filter((function(e){return-1===e.message.indexOf(\"Unknown directive\")||!(e.nodes&&e.nodes[0]&&e.nodes[0].name&&\"arguments\"===e.nodes[0].name.value||e.nodes&&e.nodes[0]&&e.nodes[0].name&&e.nodes[0].name.value&&\"argumentDefinitions\"===e.nodes[0].name.value)}));return[]};var r=n(14)},function(e,t,n){\"use strict\";\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==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(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){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(e){return\"[Circular]\"}default:return e}})),l=r[n];n<o;l=r[++n])m(l)||!E(l)?a+=\" \"+l:a+=\" \"+s(l);return a},t.deprecate=function(e,t){if(!0===(!1).noDeprecation)return e;var n=!1;return function(){if(!n){if((!1).throwDeprecation)throw new Error(t);(!1).traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:u};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=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?\"\u001B[\"+s.colors[n][0]+\"m\"+e+\"\u001B[\"+s.colors[n][1]+\"m\":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=c(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)),T(n)&&(a.indexOf(\"message\")>=0||a.indexOf(\"description\")>=0))return f(n);if(0===a.length){if(x(n)){var l=n.name?\": \"+n.name:\"\";return e.stylize(\"[Function\"+l+\"]\",\"special\")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),\"regexp\");if(w(n))return e.stylize(Date.prototype.toString.call(n),\"date\");if(T(n))return f(n)}var u,E=\"\",k=!1,O=[\"{\",\"}\"];(d(n)&&(k=!0,O=[\"[\",\"]\"]),x(n))&&(E=\" [Function\"+(n.name?\": \"+n.name:\"\")+\"]\");return b(n)&&(E=\" \"+RegExp.prototype.toString.call(n)),w(n)&&(E=\" \"+Date.prototype.toUTCString.call(n)),T(n)&&(E=\" \"+f(n)),0!==a.length||k&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(n),u=k?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)C(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push(\"\");return i.forEach((function(i){i.match(/^\\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,k)})),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]}(u,E,O)):O[0]+E+O[1]}function f(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):l.set&&(s=e.stylize(\"[Setter]\",\"special\")),C(r,i)||(a=\"[\"+i+\"]\"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?c(e,l.value,null):c(e,l.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 E(e)&&\"[object RegExp]\"===k(e)}function E(e){return\"object\"==typeof e&&null!==e}function w(e){return E(e)&&\"[object Date]\"===k(e)}function T(e){return E(e)&&(\"[object Error]\"===k(e)||e instanceof Error)}function x(e){return\"function\"==typeof e}function k(e){return Object.prototype.toString.call(e)}function O(e){return e<10?\"0\"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(o)&&(o=Object({NODE_ENV:\"production\"}).NODE_DEBUG||\"\"),e=e.toUpperCase(),!a[e])if(new RegExp(\"\\\\b\"+e+\"\\\\b\",\"i\").test(o)){var n=(!1).pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error(\"%s %d: %s\",e,n,r)}}else a[e]=function(){};return a[e]},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=E,t.isDate=w,t.isError=T,t.isFunction=x,t.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},t.isBuffer=n(200);var _=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function S(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(\":\");return[e.getDate(),_[e.getMonth()],t].join(\" \")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log(\"%s - %s\",S(),t.format.apply(t,arguments))},t.inherits=n(201),t._extend=function(e,t){if(!t||!E(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N=\"undefined\"!=typeof Symbol?Symbol(\"util.promisify.custom\"):void 0;function A(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(N&&e[N]){var t;if(\"function\"!=typeof(t=e[N]))throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(t,N,{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(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=N,t.callbackify=function(e){if(\"function\"!=typeof e)throw new TypeError('The \"original\" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if(\"function\"!=typeof r)throw new TypeError(\"The last argument must be of type Function\");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){(!1).nextTick(o,null,e)}),(function(e){(!1).nextTick(A,e,o)}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},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=n(13),o=(r=i)&&r.__esModule?r:{default:r},a=n(65);var s=[\"error\",\"warning\",\"information\",\"hint\"],l={\"GraphQL: Validation\":\"validation\",\"GraphQL: Deprecation\":\"deprecation\",\"GraphQL: Syntax\":\"syntax\"};o.default.registerHelper(\"lint\",\"graphql\",(function(e,t){var n=t.schema;return(0,a.getDiagnostics)(e,n).map((function(e){return{message:e.message,severity:s[e.severity-1],type:l[e.source],from:o.default.Pos(e.range.start.line,e.range.start.character),to:o.default.Pos(e.range.end.line,e.range.end.character)}}))}))},function(e,t,n){\"use strict\";var r=n(14),i=s(n(13)),o=s(n(99)),a=n(101);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){var r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(f(e,t,n,t.parentType),d(e,\".\")),d(e,r,\"field-name\",n,(0,a.getFieldReference)(t))}function u(e,t,n){d(e,\"@\"+t.directiveDef.name,\"directive-name\",n,(0,a.getDirectiveReference)(t))}function c(e,t,n,r){d(e,\": \"),f(e,t,n,r)}function f(e,t,n,i){i instanceof r.GraphQLNonNull?(f(e,t,n,i.ofType),d(e,\"!\")):i instanceof r.GraphQLList?(d(e,\"[\"),f(e,t,n,i.ofType),d(e,\"]\")):d(e,i.name,\"type-name\",n,(0,a.getTypeReference)(t,i))}function p(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,r,i){if(n){var o=r.onClick,a=document.createElement(o?\"a\":\"span\");o&&(a.href=\"javascript:void 0\",a.addEventListener(\"click\",(function(e){o(i,e)}))),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n(102),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){l(e,t,n),c(e,t,n,t.type)}(h,s,t),p(h,t,s.fieldDef),h}if(\"Directive\"===r&&1===i&&s.directiveDef){var m=document.createElement(\"div\");return u(m,s,t),p(m,t,s.directiveDef),m}if(\"Argument\"===r&&0===i&&s.argDef){var g=document.createElement(\"div\");return function(e,t,n){t.directiveDef?u(e,t,n):t.fieldDef&&l(e,t,n);var r=t.argDef.name;d(e,\"(\"),d(e,r,\"arg-name\",n,(0,a.getArgumentReference)(t)),c(e,t,n,t.inputType),d(e,\")\")}(g,s,t),p(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;f(e,t,n,t.inputType),d(e,\".\"),d(e,r,\"enum-value\",n,(0,a.getEnumValueReference)(t))}(v,s,t),p(v,t,s.enumValue),v}if(\"NamedType\"===r&&s.type&&s.type.description){var y=document.createElement(\"div\");return f(y,s,t,s.type),p(y,t,s.type),y}}}))},function(e,t,n){\"use strict\";var r=a(n(13)),i=a(n(99)),o=n(101);function a(e){return e&&e.__esModule?e:{default:e}}n(205),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=n(13),o=(r=i)&&r.__esModule?r:{default:r};function a(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 s(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&f(e):e.state.jump.cursor=null}function l(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)};o.default.on(document,\"keyup\",(function i(a){a.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&f(e),o.default.off(document,\"keyup\",i),o.default.off(document,\"click\",n),e.off(\"mousedown\",r))})),o.default.on(document,\"click\",n),e.on(\"mousedown\",r)}}o.default.defineOption(\"jump\",!1,(function(e,t,n){if(n&&n!==o.default.Init){var r=e.state.jump.onMouseOver;o.default.off(e.getWrapperElement(),\"mouseover\",r);var i=e.state.jump.onMouseOut;o.default.off(e.getWrapperElement(),\"mouseout\",i),o.default.off(document,\"keydown\",e.state.jump.onKeyDown),delete e.state.jump}if(t){var u=e.state.jump={options:t,onMouseOver:a.bind(null,e),onMouseOut:s.bind(null,e),onKeyDown:l.bind(null,e)};o.default.on(e.getWrapperElement(),\"mouseover\",u.onMouseOver),o.default.on(e.getWrapperElement(),\"mouseout\",u.onMouseOut),o.default.on(document,\"keydown\",u.onKeyDown)}}));var u=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 f(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,i=n(13),o=(r=i)&&r.__esModule?r:{default:r},a=n(47);function s(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}o.default.defineMode(\"graphql\",(function(e){var t=(0,a.onlineParser)({eatWhitespace:function(e){return e.eatWhile(a.isIgnored)},lexRules:a.LexRules,parseRules:a.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\\s*[})\\]]/,fold:\"brace\",lineComment:\"#\",closeBrackets:{pairs:'()[]{}\"\"',explode:\"()[]{}\"}}}))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.VariableEditor=void 0;var r=a(n(5)),i=a(n(18)),o=a(n(89));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function 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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?c(e):t}(this,u(t).call(this)),p(c(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\")})),p(c(n),\"_onEdit\",(function(){n.ignoreChangeEvent||(n.cachedValue=n.editor.getValue(),n.props.onEdit&&n.props.onEdit(n.cachedValue))})),p(c(n),\"_onHasCompletion\",(function(e,t){(0,o.default)(e,t,n.props.onHintInformationRender)})),n.cachedValue=e.value||\"\",n}var i,a,d;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),i=t,(a=[{key:\"componentDidMount\",value:function(){var e=this,t=n(13);n(90),n(60),n(91),n(62),n(61),n(93),n(44),n(63),n(45),n(64),n(208),n(210),n(212),this.editor=t(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Ctrl-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Alt-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"Shift-Space\":function(){return e.editor.showHint({completeSingle:!1,container:e._node})},\"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()},\"Shift-Ctrl-M\":function(){e.props.onMergeQuery&&e.props.onMergeQuery()},\"Cmd-F\":\"findPersistent\",\"Ctrl-F\":\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"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)}},{key:\"componentDidUpdate\",value:function(e){var t=n(13);if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,t.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){var r=this.props.value||\"\";this.cachedValue=r,this.editor.setValue(r)}this.ignoreChangeEvent=!1}},{key:\"componentWillUnmount\",value:function(){this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null}},{key:\"render\",value:function(){var e=this;return r.default.createElement(\"div\",{className:\"codemirrorWrap\",ref:function(t){e._node=t}})}},{key:\"getCodeMirror\",value:function(){return this.editor}},{key:\"getClientHeight\",value:function(){return this._node&&this._node.clientHeight}}])&&l(i.prototype,a),d&&l(i,d),t}(r.default.Component);t.VariableEditor=d,p(d,\"propTypes\",{variableToType:i.default.object,value:i.default.string,onEdit:i.default.func,readOnly:i.default.bool,onHintInformationRender:i.default.func,onPrettifyQuery:i.default.func,onMergeQuery:i.default.func,onRunQuery:i.default.func,editorTheme:i.default.string})},function(e,t,n){\"use strict\";var r=s(n(13)),i=n(14),o=s(n(100)),a=s(n(209));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),l=function(e,t,n){var r=\"Invalid\"===t.state.kind?t.state.prevState:t.state,s=r.kind,l=r.step;if(\"Document\"===s&&0===l)return(0,a.default)(e,t,[{text:\"{\"}]);var u=n.variableToType;if(!u)return;var c=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}(u,t.state);if(\"Document\"===s||\"Variable\"===s&&0===l){var f=Object.keys(u);return(0,a.default)(e,t,f.map((function(e){return{text:'\"'+e+'\": ',type:u[e]}})))}if((\"ObjectValue\"===s||\"ObjectField\"===s&&0===l)&&c.fields){var p=Object.keys(c.fields).map((function(e){return c.fields[e]}));return(0,a.default)(e,t,p.map((function(e){return{text:'\"'+e.name+'\": ',type:e.type,description:e.description}})))}if(\"StringValue\"===s||\"NumberValue\"===s||\"BooleanValue\"===s||\"NullValue\"===s||\"ListValue\"===s&&1===l||\"ObjectField\"===s&&2===l||\"Variable\"===s&&2===l){var d=(0,i.getNamedType)(c.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:'\"'+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 l&&l.list&&l.list.length>0&&(l.from=r.default.Pos(l.from.line,l.from.column),l.to=r.default.Pos(l.to.line,l.to.column),r.default.signal(e,\"hasCompletion\",e,l,s)),l}))},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=void 0,r=void 0,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=a(n(13)),i=n(14),o=a(n(211));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n){return{message:n,severity:\"error\",type:\"validation\",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function l(e,t){return Array.prototype.concat.apply([],e.map(t))}r.default.registerHelper(\"lint\",\"graphql-variables\",(function(e,t,n){if(!e)return[];var r=void 0;try{r=(0,o.default)(e)}catch(e){if(e.stack)throw e;return[s(n,e,e.message)]}var a=t.variableToType;return a?function(e,t,n){var r=[];return n.members.forEach((function(n){var o=n.key.value,a=t[o];a?function e(t,n){if(t instanceof i.GraphQLNonNull)return\"Null\"===n.kind?[[n,'Type \"'+t+'\" is non-nullable and cannot be null.']]:e(t.ofType,n);if(\"Null\"===n.kind)return[];if(t instanceof i.GraphQLList){var r=t.ofType;return\"Array\"===n.kind?l(n.values,(function(t){return e(r,t)})):e(r,n)}if(t instanceof i.GraphQLInputObjectType){if(\"Object\"!==n.kind)return[[n,'Type \"'+t+'\" must be an Object.']];var o=Object.create(null),a=l(n.members,(function(n){var r=n.key.value;o[r]=!0;var i=t.getFields()[r];if(!i)return[[n.key,'Type \"'+t+'\" does not have a field \"'+r+'\".']];var a=i?i.type:void 0;return e(a,n.value)}));return Object.keys(t.getFields()).forEach((function(e){o[e]||t.getFields()[e].type instanceof i.GraphQLNonNull&&a.push([n,'Object of type \"'+t+'\" is missing required field \"'+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 \"'+t+'\".']];if((t instanceof i.GraphQLEnumType||t instanceof i.GraphQLScalarType)&&(\"String\"!==n.kind&&\"Number\"!==n.kind&&\"Boolean\"!==n.kind&&\"Null\"!==n.kind||(null==(s=t.parseValue(n.value))||s!=s)))return[[n,'Expected value of type \"'+t+'\".']];var s;return[]}(a,n.value).forEach((function(t){var n=t[0],i=t[1];r.push(s(e,n,i))})):r.push(s(e,n.key,'Variable \"$'+o+'\" does not appear in any GraphQL query.'))})),r}(n,a,r):[]}))},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){r=e,i=e.length,o=a=s=-1,v(),y();var t=c();return h(\"EOF\"),t};var r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0;function c(){var e=o,t=[];if(h(\"{\"),!g(\"}\")){do{t.push(f())}while(g(\",\"));h(\"}\")}return{kind:\"Object\",start:e,end:s,members:t}}function f(){var e=o,t=\"String\"===u?d():null;h(\"String\"),h(\":\");var n=p();return{kind:\"Member\",start:e,end:s,key:t,value:n}}function p(){switch(u){case\"[\":return function(){var e=o,t=[];if(h(\"[\"),!g(\"]\")){do{t.push(p())}while(g(\",\"));h(\"]\")}return{kind:\"Array\",start:e,end:s,values:t}}();case\"{\":return c();case\"String\":case\"Number\":case\"Boolean\":case\"Null\":var e=d();return y(),e}return h(\"Value\")}function d(){return{kind:u,start:o,end:a,value:JSON.parse(r.slice(o,a))}}function h(e){if(u!==e){var t=void 0;if(\"EOF\"===u)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 \"+e+\" but found \"+t+\".\")}y()}function m(e){return{message:e,start:o,end:a}}function g(e){if(u===e)return y(),!0}function v(){a<i&&(a++,l=a===i?0:r.charCodeAt(a))}function y(){for(s=a;9===l||10===l||13===l||32===l;)v();if(0!==l){switch(o=a,l){case 34:return u=\"String\",function(){v();for(;34!==l&&l>31;)if(92===l)switch(v(),l){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===l)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 u=\"Number\",function(){45===l&&v();48===l?v():E();46===l&&(v(),E());69!==l&&101!==l||(v(),43!==l&&45!==l||v(),E())}();case 102:if(\"false\"!==r.slice(o,o+5))break;return a+=4,v(),void(u=\"Boolean\");case 110:if(\"null\"!==r.slice(o,o+4))break;return a+=3,v(),void(u=\"Null\");case 116:if(\"true\"!==r.slice(o,o+4))break;return a+=3,v(),void(u=\"Boolean\")}u=r[o],v()}else u=\"EOF\"}function b(){if(l>=48&&l<=57||l>=65&&l<=70||l>=97&&l<=102)return v();throw m(\"Expected hexadecimal digit.\")}function E(){if(l<48||l>57)throw m(\"Expected decimal digit.\");do{v()}while(l>=48&&l<=57)}},function(e,t,n){\"use strict\";var r,i=n(13),o=(r=i)&&r.__esModule?r:{default:r},a=n(47);function s(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}o.default.defineMode(\"graphql-variables\",(function(e){var t=(0,a.onlineParser)({eatWhitespace:function(e){return e.eatSpace()},lexRules:l,parseRules:u,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}}));var l={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,a.p)(\"{\"),(0,a.list)(\"Variable\",(0,a.opt)((0,a.p)(\",\"))),(0,a.p)(\"}\")],Variable:[c(\"variable\"),(0,a.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,a.t)(\"Number\",\"number\")],StringValue:[(0,a.t)(\"String\",\"string\")],BooleanValue:[(0,a.t)(\"Keyword\",\"builtin\")],NullValue:[(0,a.t)(\"Keyword\",\"keyword\")],ListValue:[(0,a.p)(\"[\"),(0,a.list)(\"Value\",(0,a.opt)((0,a.p)(\",\"))),(0,a.p)(\"]\")],ObjectValue:[(0,a.p)(\"{\"),(0,a.list)(\"ObjectField\",(0,a.opt)((0,a.p)(\",\"))),(0,a.p)(\"}\")],ObjectField:[c(\"attribute\"),(0,a.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.ResultViewer=void 0;var r=a(n(5)),i=a(n(54)),o=a(n(18));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function 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 u(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p,d,h,m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),u(this,c(t).call(this))}var o,a,s;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),o=t,(a=[{key:\"componentDidMount\",value:function(){var e=n(13);n(61),n(62),n(45),n(92),n(44),n(63),n(64),n(214);var t=this.props.ResultsTooltip,o=this.props.ImagePreview;if(t||o){n(102);var a=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(function(e,n,s,l){var u=[];return t&&u.push(r.default.createElement(t,{pos:l})),o&&\"function\"==typeof o.shouldRender&&o.shouldRender(e)&&u.push(r.default.createElement(o,{token:e})),u.length?(i.default.render(r.default.createElement(\"div\",null,u),a),a):(i.default.unmountComponentAtNode(a),null)}))}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:{\"Cmd-F\":\"findPersistent\",\"Ctrl-F\":\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"findPersistent\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\"}})}},{key:\"shouldComponentUpdate\",value:function(e){return this.props.value!==e.value}},{key:\"componentDidUpdate\",value:function(){this.viewer.setValue(this.props.value||\"\")}},{key:\"componentWillUnmount\",value:function(){this.viewer=null}},{key:\"render\",value:function(){var e=this;return r.default.createElement(\"div\",{className:\"result-window\",ref:function(t){e._node=t}})}},{key:\"getCodeMirror\",value:function(){return this.viewer}},{key:\"getClientHeight\",value:function(){return this._node&&this._node.clientHeight}}])&&l(o.prototype,a),s&&l(o,s),t}(r.default.Component);t.ResultViewer=m,p=m,d=\"propTypes\",h={value:o.default.string,editorTheme:o.default.string,ResultsTooltip:o.default.any,ImagePreview:o.default.any},d in p?Object.defineProperty(p,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):p[d]=h},function(e,t,n){\"use strict\";var r,i=n(13),o=(r=i)&&r.__esModule?r:{default:r},a=n(47);function s(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}o.default.defineMode(\"graphql-results\",(function(e){var t=(0,a.onlineParser)({eatWhitespace:function(e){return e.eatSpace()},lexRules:l,parseRules:u,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}}));var l={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,a.p)(\"{\"),(0,a.list)(\"Entry\",(0,a.p)(\",\")),(0,a.p)(\"}\")],Entry:[(0,a.t)(\"String\",\"def\"),(0,a.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,a.t)(\"Number\",\"number\")],StringValue:[(0,a.t)(\"String\",\"string\")],BooleanValue:[(0,a.t)(\"Keyword\",\"builtin\")],NullValue:[(0,a.t)(\"Keyword\",\"keyword\")],ListValue:[(0,a.p)(\"[\"),(0,a.list)(\"Value\",(0,a.p)(\",\")),(0,a.p)(\"]\")],ObjectValue:[(0,a.p)(\"{\"),(0,a.list)(\"ObjectField\",(0,a.p)(\",\")),(0,a.p)(\"}\")],ObjectField:[(0,a.t)(\"String\",\"property\"),(0,a.p)(\":\"),\"Value\"]}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.DocExplorer=void 0;var r=f(n(5)),i=f(n(18)),o=n(14),a=f(n(216)),s=f(n(217)),l=f(n(218)),u=f(n(219)),c=f(n(220));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p=\"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 d(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={name:\"Schema\",title:\"Documentation Explorer\"},b=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),e=function(e,t){return!t||\"object\"!==p(t)&&\"function\"!=typeof t?m(e):t}(this,h(t).call(this)),v(m(e),\"handleNavBackClick\",(function(){e.state.navStack.length>1&&e.setState({navStack:e.state.navStack.slice(0,-1)})})),v(m(e),\"handleClickTypeOrField\",(function(t){e.showDoc(t)})),v(m(e),\"handleSearch\",(function(t){e.showSearch(t)})),e.state={navStack:[y]},e}var n,i,f;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&&g(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack}},{key:\"render\",value:function(){var e,t=this.props.schema,n=this.state.navStack,i=n[n.length-1];e=void 0===t?r.default.createElement(\"div\",{className:\"spinner-container\"},r.default.createElement(\"div\",{className:\"spinner\"})):t?i.search?r.default.createElement(u.default,{searchValue:i.search,withinType:i.def,schema:t,onClickType:this.handleClickTypeOrField,onClickField:this.handleClickTypeOrField}):1===n.length?r.default.createElement(s.default,{schema:t,onClickType:this.handleClickTypeOrField}):(0,o.isType)(i.def)?r.default.createElement(c.default,{schema:t,type:i.def,onClickType:this.handleClickTypeOrField,onClickField:this.handleClickTypeOrField}):r.default.createElement(a.default,{field:i.def,onClickType:this.handleClickTypeOrField}):r.default.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");var f,p=1===n.length||(0,o.isType)(i.def)&&i.def.getFields;return n.length>1&&(f=n[n.length-2].name),r.default.createElement(\"div\",{className:\"doc-explorer\",key:i.name},r.default.createElement(\"div\",{className:\"doc-explorer-title-bar\"},f&&r.default.createElement(\"div\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick},f),r.default.createElement(\"div\",{className:\"doc-explorer-title\"},i.title||i.name),r.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),r.default.createElement(\"div\",{className:\"doc-explorer-contents\"},p&&r.default.createElement(l.default,{value:i.search,placeholder:\"Search \".concat(i.name,\"...\"),onSearch:this.handleSearch}),e))}},{key:\"showDoc\",value:function(e){var t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})}},{key:\"showDocForReference\",value:function(e){\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)}},{key:\"showSearch\",value:function(e){var t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]=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){v(e,t,n[t])}))}return e}({},n,{search:e}),this.setState({navStack:t})}},{key:\"reset\",value:function(){this.setState({navStack:[y]})}}])&&d(n.prototype,i),f&&d(n,f),t}(r.default.Component);t.DocExplorer=b,v(b,\"propTypes\",{schema:i.default.instanceOf(o.GraphQLSchema)})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=l(n(5)),i=l(n(18)),o=l(n(70)),a=l(n(71)),s=l(n(46));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function f(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\"!==u(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m,g,v,y=function(e){function t(){return c(this,t),p(this,d(t).apply(this,arguments))}var n,i,l;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e){return this.props.field!==e.field}},{key:\"render\",value:function(){var e,t=this,n=this.props.field;return n.args&&n.args.length>0&&(e=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),n.args.map((function(e){return r.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},r.default.createElement(\"div\",null,r.default.createElement(o.default,{arg:e,onClickType:t.props.onClickType})),r.default.createElement(a.default,{className:\"doc-value-description\",markdown:e.description}))})))),r.default.createElement(\"div\",null,r.default.createElement(a.default,{className:\"doc-type-description\",markdown:n.description||\"No Description\"}),n.deprecationReason&&r.default.createElement(a.default,{className:\"doc-deprecation\",markdown:n.deprecationReason}),r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),r.default.createElement(s.default,{type:n.type,onClick:this.props.onClickType})),e)}}])&&f(n.prototype,i),l&&f(n,l),t}(r.default.Component);t.default=y,m=y,g=\"propTypes\",v={field:i.default.object,onClickType:i.default.func},g in m?Object.defineProperty(m,g,{value:v,enumerable:!0,configurable:!0,writable:!0}):m[g]=v},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=s(n(5)),i=s(n(18)),o=s(n(46)),a=s(n(71));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l=\"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 u(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function c(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 f(e,t){return!t||\"object\"!==l(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h,m,g,v=function(e){function t(){return u(this,t),f(this,p(t).apply(this,arguments))}var n,i,s;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e){return this.props.schema!==e.schema}},{key:\"render\",value:function(){var e=this.props.schema,t=e.getQueryType(),n=e.getMutationType&&e.getMutationType(),i=e.getSubscriptionType&&e.getSubscriptionType();return r.default.createElement(\"div\",null,r.default.createElement(a.default,{className:\"doc-type-description\",markdown:\"A GraphQL schema provides a root type for each kind of operation.\"}),r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),r.default.createElement(\"div\",{className:\"doc-category-item\"},r.default.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",r.default.createElement(o.default,{type:t,onClick:this.props.onClickType})),n&&r.default.createElement(\"div\",{className:\"doc-category-item\"},r.default.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",r.default.createElement(o.default,{type:n,onClick:this.props.onClickType})),i&&r.default.createElement(\"div\",{className:\"doc-category-item\"},r.default.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",r.default.createElement(o.default,{type:i,onClick:this.props.onClickType}))))}}])&&c(n.prototype,i),s&&c(n,s),t}(r.default.Component);t.default=v,h=v,m=\"propTypes\",g={schema:i.default.object,onClickType:i.default.func},m in h?Object.defineProperty(h,m,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[m]=g},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=a(n(5)),i=a(n(18)),o=a(n(104));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function 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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?c(e):t}(this,u(t).call(this,e)),p(c(n),\"handleChange\",(function(e){var t=e.target.value;n.setState({value:t}),n.debouncedOnSearch(t)})),p(c(n),\"handleClear\",(function(){n.setState({value:\"\"}),n.props.onSearch(\"\")})),n.state={value:e.value||\"\"},n.debouncedOnSearch=(0,o.default)(200,n.props.onSearch),n}var n,i,a;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,(i=[{key:\"render\",value:function(){return r.default.createElement(\"label\",{className:\"search-box\"},r.default.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder}),this.state.value&&r.default.createElement(\"div\",{className:\"search-box-clear\",onClick:this.handleClear},\"✕\"))}}])&&l(n.prototype,i),a&&l(n,a),t}(r.default.Component);t.default=d,p(d,\"propTypes\",{value:i.default.string,placeholder:i.default.string,onSearch:i.default.func})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=s(n(5)),i=s(n(18)),o=s(n(70)),a=s(n(46));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l=\"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 u(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function c(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 f(e,t){return!t||\"object\"!==l(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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var h,m,g,v=function(e){function t(){return u(this,t),f(this,p(t).apply(this,arguments))}var n,i,s;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue}},{key:\"render\",value:function(){var e=this.props.searchValue,t=this.props.withinType,n=this.props.schema,i=this.props.onClickType,s=this.props.onClickField,l=[],u=[],c=[],f=n.getTypeMap(),p=Object.keys(f);t&&(p=p.filter((function(e){return e!==t.name}))).unshift(t.name);var d=!0,h=!1,m=void 0;try{for(var g,v=function(){var n=g.value;if(l.length+u.length+c.length>=100)return\"break\";var p=f[n];if(t!==p&&y(n,e)&&u.push(r.default.createElement(\"div\",{className:\"doc-category-item\",key:n},r.default.createElement(a.default,{type:p,onClick:i}))),p.getFields){var d=p.getFields();Object.keys(d).forEach((function(u){var f,h=d[u];if(!y(u,e)){if(!h.args||!h.args.length)return;if(0===(f=h.args.filter((function(t){return y(t.name,e)}))).length)return}var m=r.default.createElement(\"div\",{className:\"doc-category-item\",key:n+\".\"+u},t!==p&&[r.default.createElement(a.default,{key:\"type\",type:p,onClick:i}),\".\"],r.default.createElement(\"a\",{className:\"field-name\",onClick:function(e){return s(h,p,e)}},h.name),f&&[\"(\",r.default.createElement(\"span\",{key:\"args\"},f.map((function(e){return r.default.createElement(o.default,{key:e.name,arg:e,onClickType:i,showDefaultValue:!1})}))),\")\"]);t===p?l.push(m):c.push(m)}))}},b=p[Symbol.iterator]();!(d=(g=b.next()).done)&&\"break\"!==v();d=!0);}catch(e){h=!0,m=e}finally{try{d||null==b.return||b.return()}finally{if(h)throw m}}return l.length+u.length+c.length===0?r.default.createElement(\"span\",{className:\"doc-alert-text\"},\"No results found.\"):t&&u.length+c.length>0?r.default.createElement(\"div\",null,l,r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),u,c)):r.default.createElement(\"div\",null,l,u,c)}}])&&c(n.prototype,i),s&&c(n,s),t}(r.default.Component);function y(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(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}t.default=v,h=v,m=\"propTypes\",g={schema:i.default.object,withinType:i.default.object,searchValue:i.default.string,onClickType:i.default.func,onClickField:i.default.func},m in h?Object.defineProperty(h,m,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[m]=g},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=c(n(5)),i=c(n(18)),o=n(14),a=c(n(70)),s=c(n(71)),l=c(n(46)),u=c(n(103));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function p(e,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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==f(t)&&\"function\"!=typeof t?h(e):t}(this,d(t).call(this,e)),g(h(n),\"handleShowDeprecated\",(function(){return n.setState({showDeprecated:!0})})),n.state={showDeprecated:!1},n}var n,i,a;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(i=[{key:\"shouldComponentUpdate\",value:function(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated}},{key:\"render\",value:function(){var e,t,n,i,a,u,c,f=this.props.schema,p=this.props.type,d=this.props.onClickType,h=this.props.onClickField;if(p instanceof o.GraphQLUnionType?(e=\"possible types\",t=f.getPossibleTypes(p)):p instanceof o.GraphQLInterfaceType?(e=\"implementations\",t=f.getPossibleTypes(p)):p instanceof o.GraphQLObjectType&&(e=\"implements\",t=p.getInterfaces()),t&&t.length>0&&(n=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},e),t.map((function(e){return r.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},r.default.createElement(l.default,{type:e,onClick:d}))})))),p.getFields){var m=p.getFields(),g=Object.keys(m).map((function(e){return m[e]}));i=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),g.filter((function(e){return!e.isDeprecated})).map((function(e){return r.default.createElement(y,{key:e.name,type:p,field:e,onClickType:d,onClickField:h})})));var v=g.filter((function(e){return e.isDeprecated}));v.length>0&&(a=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?v.map((function(e){return r.default.createElement(y,{key:e.name,type:p,field:e,onClickType:d,onClickField:h})})):r.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(p instanceof o.GraphQLEnumType){var E=p.getValues();u=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),E.filter((function(e){return!e.isDeprecated})).map((function(e){return r.default.createElement(b,{key:e.name,value:e})})));var w=E.filter((function(e){return e.isDeprecated}));w.length>0&&(c=r.default.createElement(\"div\",{className:\"doc-category\"},r.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?w.map((function(e){return r.default.createElement(b,{key:e.name,value:e})})):r.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return r.default.createElement(\"div\",null,r.default.createElement(s.default,{className:\"doc-type-description\",markdown:p.description||\"No Description\"}),p instanceof o.GraphQLObjectType&&n,i,a,u,c,!(p instanceof o.GraphQLObjectType)&&n)}}])&&p(n.prototype,i),a&&p(n,a),t}(r.default.Component);function y(e){var t=e.type,n=e.field,i=e.onClickType,o=e.onClickField;return r.default.createElement(\"div\",{className:\"doc-category-item\"},r.default.createElement(\"a\",{className:\"field-name\",onClick:function(e){return o(n,t,e)}},n.name),n.args&&n.args.length>0&&[\"(\",r.default.createElement(\"span\",{key:\"args\"},n.args.map((function(e){return r.default.createElement(a.default,{key:e.name,arg:e,onClickType:i})}))),\")\"],\": \",r.default.createElement(l.default,{type:n.type,onClick:i}),r.default.createElement(u.default,{field:n}),n.description&&r.default.createElement(s.default,{className:\"field-short-description\",markdown:n.description}),n.deprecationReason&&r.default.createElement(s.default,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function b(e){var t=e.value;return r.default.createElement(\"div\",{className:\"doc-category-item\"},r.default.createElement(\"div\",{className:\"enum-value\"},t.name),r.default.createElement(s.default,{className:\"doc-value-description\",markdown:t.description}),t.deprecationReason&&r.default.createElement(s.default,{className:\"doc-deprecation\",markdown:t.deprecationReason}))}t.default=v,g(v,\"propTypes\",{schema:i.default.instanceOf(o.GraphQLSchema),type:i.default.object,onClickType:i.default.func,onClickField:i.default.func}),y.propTypes={type:i.default.object,field:i.default.object,onClickType:i.default.func,onClickField:i.default.func},b.propTypes={value:i.default.object}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.QueryHistory=void 0;var r=n(14),i=l(n(5)),o=l(n(18)),a=l(n(222)),s=l(n(223));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function c(){return(c=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)}function f(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\")}()}function p(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==u(t)&&\"function\"!=typeof t?h(e):t}(this,d(t).call(this,e)),g(h(n),\"toggleFavorite\",(function(e,t,r,i,o){var a={query:e,variables:t,operationName:r,label:i};n.favoriteStore.contains(a)?o&&(a.favorite=!1,n.favoriteStore.delete(a)):(a.favorite=!0,n.favoriteStore.push(a)),n.setState({queries:[].concat(f(n.historyStore.items),f(n.favoriteStore.items))})})),g(h(n),\"editLabel\",(function(e,t,r,i,o){var a={query:e,variables:t,operationName:r,label:i};o?n.favoriteStore.edit(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){g(e,t,n[t])}))}return e}({},a,{favorite:o})):n.historyStore.edit(a),n.setState({queries:[].concat(f(n.historyStore.items),f(n.favoriteStore.items))})})),n.historyStore=new a.default(\"queries\",e.storage),n.favoriteStore=new a.default(\"favorites\",e.storage);var r=n.historyStore.fetchAll(),i=n.favoriteStore.fetchAll(),o=r.concat(i);return n.state={queries:o},n}var n,o,l;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,(o=[{key:\"componentWillReceiveProps\",value:function(e){if(function(e,t,n){if(e.queryID===t.queryID)return!1;try{(0,r.parse)(e.query)}catch(e){return!1}if(!n)return!0;if(JSON.stringify(e.query)===JSON.stringify(n.query)){if(JSON.stringify(e.variables)===JSON.stringify(n.variables))return!1;if(!e.variables&&!n.variables)return!1}return!0}(e,this.props,this.historyStore.fetchRecent())){var t={query:e.query,variables:e.variables,operationName:e.operationName};this.historyStore.push(t),this.historyStore.length>20&&this.historyStore.shift();var n=this.historyStore.items,i=this.favoriteStore.items,o=n.concat(i);this.setState({queries:o})}}},{key:\"render\",value:function(){var e=this,t=this.state.queries.slice().reverse().map((function(t,n){return i.default.createElement(s.default,c({handleEditLabel:e.editLabel,handleToggleFavorite:e.toggleFavorite,key:n,onSelect:e.props.onSelectQuery},t))}));return i.default.createElement(\"div\",null,i.default.createElement(\"div\",{className:\"history-title-bar\"},i.default.createElement(\"div\",{className:\"history-title\"},\"History\"),i.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),i.default.createElement(\"div\",{className:\"history-contents\"},t))}}])&&p(n.prototype,o),l&&p(n,l),t}(i.default.Component);t.QueryHistory=v,g(v,\"propTypes\",{query:o.default.string,variables:o.default.string,operationName:o.default.string,queryID:o.default.number,onSelectQuery:o.default.func,storage:o.default.object})},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)}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var i=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.key=t,this.storage=n,this.items=this.fetchAll()}var t,n,i;return t=e,(n=[{key:\"contains\",value:function(e){return this.items.some((function(t){return t.query===e.query&&t.variables===e.variables&&t.operationName===e.operationName}))}},{key:\"edit\",value:function(e){var t=this.items.findIndex((function(t){return t.query===e.query&&t.variables===e.variables&&t.operationName===e.operationName}));-1!==t&&(this.items.splice(t,1,e),this.save())}},{key:\"delete\",value:function(e){var t=this.items.findIndex((function(t){return t.query===e.query&&t.variables===e.variables&&t.operationName===e.operationName}));-1!==t&&(this.items.splice(t,1),this.save())}},{key:\"fetchRecent\",value:function(){return this.items[this.items.length-1]}},{key:\"fetchAll\",value:function(){var e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}},{key:\"push\",value:function(e){this.items.push(e),this.save()}},{key:\"shift\",value:function(){this.items.shift(),this.save()}},{key:\"save\",value:function(){var e,t,n;this.storage.set(this.key,JSON.stringify((e={},t=this.key,n=this.items,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)))}},{key:\"length\",get:function(){return this.items.length}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;var r=o(n(5)),i=o(n(18));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){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var p=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),n=function(e,t){return!t||\"object\"!==a(t)&&\"function\"!=typeof t?u(e):t}(this,l(t).call(this,e)),f(u(n),\"editField\",null),n.state={showButtons:!1,editable:!1},n}var n,i,o;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,e),n=t,(i=[{key:\"render\",value:function(){var e=this,t={display:this.state.showButtons?\"\":\"none\",marginLeft:\"10px\"},n={display:this.props.favorite||this.state.showButtons?\"\":\"none\",marginLeft:\"10px\"},i=this.props.label||this.props.operationName||this.props.query.split(\"\\n\").filter((function(e){return 0!==e.indexOf(\"#\")})).join(\"\"),o=this.props.favorite?\"★\":\"☆\";return r.default.createElement(\"p\",{className:this.state.editable?\"editable\":void 0,onClick:this.handleClick.bind(this),onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this)},this.state.editable?r.default.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:function(t){return e.editField=t},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):r.default.createElement(\"span\",{className:\"history-label\"},i),r.default.createElement(\"span\",{onClick:this.handleEditClick.bind(this),style:t},\"✎\"),r.default.createElement(\"span\",{onClick:this.handleStarClick.bind(this),style:n},o))}},{key:\"handleMouseEnter\",value:function(){this.setState({showButtons:!0})}},{key:\"handleMouseLeave\",value:function(){this.setState({showButtons:!1})}},{key:\"handleClick\",value:function(){this.props.onSelect(this.props.query,this.props.variables,this.props.operationName,this.props.label)}},{key:\"handleStarClick\",value:function(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.operationName,this.props.label,this.props.favorite)}},{key:\"handleFieldBlur\",value:function(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.operationName,e.target.value,this.props.favorite)}},{key:\"handleFieldKeyDown\",value:function(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.operationName,e.target.value,this.props.favorite))}},{key:\"handleEditClick\",value:function(e){var t=this;e.stopPropagation(),this.setState({editable:!0},(function(){t.editField&&t.editField.focus()}))}}])&&s(n.prototype,i),o&&s(n,o),t}(r.default.Component);t.default=p,f(p,\"propTypes\",{favorite:i.default.bool,favoriteSize:i.default.number,handleEditLabel:i.default.func,handleToggleFavorite:i.default.func,operationName:i.default.string,onSelect:i.default.func,query:i.default.string,variables:i.default.string,label:i.default.string})},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)}}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=void 0;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.sizes=[]}var t,n,i;return t=e,(n=[{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}))}}])&&r(t.prototype,n),i&&r(t,i),e}();t.default=i},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){if(!t)return;var n;try{n=(0,r.parse)(t)}catch(e){return}var o=e?i(e,n):null,a=[];return n.definitions.forEach((function(e){\"OperationDefinition\"===e.kind&&a.push(e)})),{variableToType:o,operations:a}},t.collectVariables=i;var r=n(14);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=(0,r.typeFromAST)(e,o);a&&(n[i.name.value]=a)}))}})),n}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t,n){if(!n||n.length<1)return;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}),t.default=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}},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(e){return{insertions:s,result:t}}var l=n||i,u=new r.TypeInfo(e);return(0,r.visit)(a,{leave:function(e){u.leave(e)},enter:function(e){if(u.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)}}))}}(u.getType(),l);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(14);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\";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\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.mergeAst=function(e){var t={};e.definitions.filter((function(e){return e.kind===r.Kind.FRAGMENT_DEFINITION})).forEach((function(e){var n=Object.assign({},e);n.kind=r.Kind.INLINE_FRAGMENT,t[e.name.value]=n}));var n=Object.assign({},e);return n.definitions=e.definitions.filter((function(e){return e.kind!==r.Kind.FRAGMENT_DEFINITION})).map((function(e){return function e(t,n){var i=n;i.kind===r.Kind.FRAGMENT_SPREAD&&(i=t[i.name.value]);i.selectionSet&&(i.selectionSet.selections=i.selectionSet.selections.filter((function(e,t,n){return e.kind!==r.Kind.FRAGMENT_SPREAD||t===n.findIndex((function(t){return t.kind===r.Kind.FRAGMENT_SPREAD&&e.name.value===t.name.value}))})).map((function(n){return e(t,n)})));return i}(t,e)})),n};var r=n(1)},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),Object.defineProperty(t,\"introspectionQuery\",{enumerable:!0,get:function(){return r.introspectionQuery}}),t.introspectionQuerySansSubscriptions=t.introspectionQueryName=void 0;var r=n(14),i=(0,r.getOperationAST)((0,r.parse)(r.introspectionQuery)).name.value;t.introspectionQueryName=i;var o=\"\\n  query \".concat(i,\" {\\n    __schema {\\n      queryType { name }\\n      mutationType { 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.introspectionQuerySansSubscriptions=o},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.defaultValue=x;var o=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(5)),a=n(14);function s(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 l(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function u(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 c(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 f(e){return e.charAt(0).toUpperCase()+e.slice(1)}var p={keyword:\"#B11A04\",def:\"#D2054E\",property:\"#1F61A0\",qualifier:\"#1C92A9\",attribute:\"#8B2BB9\",number:\"#2882F9\",string:\"#D64292\",builtin:\"#D47509\",string2:\"#0B7FC7\",variable:\"#397D13\",atom:\"#CA9800\"},d=o.createElement(\"svg\",{width:\"12\",height:\"9\"},o.createElement(\"path\",{fill:\"#666\",d:\"M 0 2 L 9 2 L 4.5 7.5 z\"})),h=o.createElement(\"svg\",{width:\"12\",height:\"9\"},o.createElement(\"path\",{fill:\"#666\",d:\"M 0 0 L 0 9 L 5.5 4.5 z\"})),m=o.createElement(\"svg\",{style:{marginRight:\"3px\",marginLeft:\"-3px\"},width:\"12\",height:\"12\",viewBox:\"0 0 18 18\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},o.createElement(\"path\",{d:\"M16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM16 16H2V2H16V16ZM14.99 6L13.58 4.58L6.99 11.17L4.41 8.6L2.99 10.01L6.99 14L14.99 6Z\",fill:\"#666\"})),g=o.createElement(\"svg\",{style:{marginRight:\"3px\",marginLeft:\"-3px\"},width:\"12\",height:\"12\",viewBox:\"0 0 18 18\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\"},o.createElement(\"path\",{d:\"M16 2V16H2V2H16ZM16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0Z\",fill:\"#CCC\"}));function v(e){return e.checked?e.styleConfig.checkboxChecked:e.styleConfig.checkboxUnchecked}function y(e){var t=e.getFields();if(t.id){var n=[\"id\"];return t.email?n.push(\"email\"):t.name&&n.push(\"name\"),n}if(t.edges)return[\"edges\"];if(t.node)return[\"node\"];if(t.nodes)return[\"nodes\"];var r=[];return Object.keys(t).forEach((function(e){(0,a.isLeafType)(t[e].type)&&r.push(e)})),r.length?r.slice(0,2):[\"__typename\"]}function b(e){return(0,a.isNonNullType)(e.type)&&void 0===e.defaultValue}function E(e){for(var t=e;(0,a.isWrappingType)(t);)t=t.ofType;return t}function w(e,t){if((0,a.isScalarType)(e))try{switch(e.name){case\"String\":return{kind:\"StringValue\",value:String(e.parseValue(t))};case\"Float\":return{kind:\"FloatValue\",value:String(e.parseValue(parseFloat(t)))};case\"Int\":return{kind:\"IntValue\",value:String(e.parseValue(parseInt(t,10)))};case\"Boolean\":try{var n=JSON.parse(t);return\"boolean\"==typeof n?{kind:\"BooleanValue\",value:n}:{kind:\"BooleanValue\",value:!1}}catch(e){return{kind:\"BooleanValue\",value:!1}}default:return{kind:\"StringValue\",value:String(e.parseValue(t))}}}catch(e){return console.error(\"error coercing arg value\",e,t),{kind:\"StringValue\",value:t}}else try{var r=e.parseValue(t);return r?{kind:\"EnumValue\",value:String(r)}:{kind:\"EnumValue\",value:e.getValues()[0].name}}catch(t){return{kind:\"EnumValue\",value:e.getValues()[0].name}}}var T=function(e){function t(){var e,n,i;l(this,t);for(var o=arguments.length,c=Array(o),f=0;f<o;f++)c[f]=arguments[f];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i._getArgSelection=function(){return i.props.selection.fields.find((function(e){return e.name.value===i.props.arg.name}))},i._removeArg=function(){var e=i.props.selection,t=i._getArgSelection();i._previousArgSelection=t,i.props.modifyFields(e.fields.filter((function(e){return e!==t})))},i._addArg=function(){var e=i.props,t=e.selection,n=e.arg,r=e.getDefaultScalarArgValue,o=e.parentField,l=e.makeDefaultArg,u=E(n.type),c=null;if(i._previousArgSelection)c=i._previousArgSelection;else if((0,a.isInputObjectType)(u)){var f=u.getFields();c={kind:\"ObjectField\",name:{kind:\"Name\",value:n.name},value:{kind:\"ObjectValue\",fields:A(r,l,o,Object.keys(f).map((function(e){return f[e]})))}}}else(0,a.isLeafType)(u)&&(c={kind:\"ObjectField\",name:{kind:\"Name\",value:n.name},value:r(o,n,u)});c?i.props.modifyFields([].concat(s(t.fields||[]),[c])):console.error(\"Unable to add arg for argType\",u)},i._setArgValue=function(e){var t=i.props.selection,n=i._getArgSelection();if(n){var o=E(i.props.arg.type);if((0,a.isLeafType)(o)){var s=e.target.value;i.props.modifyFields((t.fields||[]).map((function(e){return e===n?r({},e,{value:w(o,s)}):e})))}else console.warn(\"Unable to handle non leaf types in setArgValue\")}else console.error(\"missing arg selection when setting arg value\")},i._modifyChildFields=function(e){i.props.modifyFields(i.props.selection.fields.map((function(t){return t.name.value===i.props.arg.name?r({},t,{value:{kind:\"ObjectValue\",fields:e}}):t})))},u(i,n)}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return o.createElement(C,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._modifyChildFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig})}}]),t}(o.PureComponent);function x(e){if((0,a.isEnumType)(e))return{kind:\"EnumValue\",value:e.getValues()[0].name};switch(e.name){case\"String\":return{kind:\"StringValue\",value:\"\"};case\"Float\":return{kind:\"FloatValue\",value:\"1.5\"};case\"Int\":return{kind:\"IntValue\",value:\"10\"};case\"Boolean\":return{kind:\"BooleanValue\",value:!1};default:return{kind:\"StringValue\",value:\"\"}}}function k(e,t,n){return x(n)}var O=function(e){function t(){var e,n,i;l(this,t);for(var o=arguments.length,c=Array(o),f=0;f<o;f++)c[f]=arguments[f];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),i._getArgSelection=function(){return(i.props.selection.arguments||[]).find((function(e){return e.name.value===i.props.arg.name}))},i._removeArg=function(){var e=i.props.selection,t=i._getArgSelection();i._previousArgSelection=t,i.props.modifyArguments((e.arguments||[]).filter((function(e){return e!==t})))},i._addArg=function(){var e=i.props,t=e.selection,n=e.getDefaultScalarArgValue,r=e.makeDefaultArg,o=e.parentField,l=e.arg,u=E(l.type),c=null;if(i._previousArgSelection)c=i._previousArgSelection;else if((0,a.isInputObjectType)(u)){var f=u.getFields();c={kind:\"Argument\",name:{kind:\"Name\",value:l.name},value:{kind:\"ObjectValue\",fields:A(n,r,o,Object.keys(f).map((function(e){return f[e]})))}}}else(0,a.isLeafType)(u)&&(c={kind:\"Argument\",name:{kind:\"Name\",value:l.name},value:n(o,l,u)});c?i.props.modifyArguments([].concat(s(t.arguments||[]),[c])):console.error(\"Unable to add arg for argType\",u)},i._setArgValue=function(e){var t=i.props.selection,n=i._getArgSelection();if(n){var o=E(i.props.arg.type);if((0,a.isLeafType)(o)){var s=e.target.value;i.props.modifyArguments((t.arguments||[]).map((function(e){return e===n?r({},e,{value:w(o,s)}):e})))}else console.warn(\"Unable to handle non leaf types in setArgValue\")}else console.error(\"missing arg selection when setting arg value\")},i._setArgFields=function(e){var t=i.props.selection,n=i._getArgSelection();n?i.props.modifyArguments((t.arguments||[]).map((function(t){return t===n?r({},t,{value:{kind:\"ObjectValue\",fields:e}}):t}))):console.error(\"missing arg selection when setting arg value\")},u(i,n)}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return o.createElement(C,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._setArgFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig})}}]),t}(o.PureComponent);function _(e){return e.metaKey&&\"Enter\"===e.key}var S=function(e){function t(){var e,n,r;l(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._handleChange=function(e){r.props.setArgValue(e)},u(r,n)}return c(t,e),i(t,[{key:\"componentDidMount\",value:function(){var e=this._ref,t=document.activeElement;!e||!t||t instanceof HTMLTextAreaElement||(e.focus(),e.setSelectionRange(0,e.value.length))}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.arg,r=t.argValue,i=t.styleConfig,a=E(n.type),s=\"string\"==typeof r.value?r.value:\"\",l=\"StringValue\"===this.props.argValue.kind?i.colors.string:i.colors.number;return o.createElement(\"span\",{style:{color:l}},\"String\"===a.name?'\"':\"\",o.createElement(\"input\",{style:{border:\"none\",borderBottom:\"1px solid #888\",outline:\"none\",width:Math.max(1,s.length)+\"ch\",color:l},ref:function(t){e._ref=t},type:\"text\",onKeyDown:function(t){_(t)&&e.props.onRunOperation(t)},onChange:this._handleChange,value:s}),\"String\"===a.name?'\"':\"\")}}]),t}(o.PureComponent),C=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.argValue,r=t.arg,i=t.styleConfig,s=E(r.type),l=null;if(n)if(\"Variable\"===n.kind)l=o.createElement(\"span\",{style:{color:i.colors.variable}},\"$\",n.name.value);else if((0,a.isScalarType)(s))l=\"Boolean\"===s.name?o.createElement(\"select\",{style:{color:i.colors.builtin},onChange:this.props.setArgValue,value:\"BooleanValue\"===n.kind?n.value:void 0},o.createElement(\"option\",{key:\"true\",value:\"true\"},\"true\"),o.createElement(\"option\",{key:\"false\",value:\"false\"},\"false\")):o.createElement(S,{setArgValue:this.props.setArgValue,arg:r,argValue:n,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig});else if((0,a.isEnumType)(s))\"EnumValue\"===n.kind?l=o.createElement(\"select\",{style:{backgroundColor:\"white\",color:i.colors.string2},onChange:this.props.setArgValue,value:n.value},s.getValues().map((function(e){return o.createElement(\"option\",{key:e.name,value:e.name},e.name)}))):console.error(\"arg mismatch between arg and selection\",s,n);else if((0,a.isInputObjectType)(s))if(\"ObjectValue\"===n.kind){var u=s.getFields();l=o.createElement(\"div\",{style:{marginLeft:16}},Object.keys(u).sort().map((function(t){return o.createElement(T,{key:t,arg:u[t],parentField:e.props.parentField,selection:n,modifyFields:e.props.setArgFields,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})})))}else console.error(\"arg mismatch between arg and selection\",s,n);return o.createElement(\"div\",{style:{cursor:\"pointer\",minHeight:\"16px\",WebkitUserSelect:\"none\",userSelect:\"none\"},\"data-arg-name\":r.name,\"data-arg-type\":s.name},o.createElement(\"span\",{style:{cursor:\"pointer\"},onClick:n?this.props.removeArg:this.props.addArg},(0,a.isInputObjectType)(s)?o.createElement(\"span\",null,n?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):o.createElement(v,{checked:!!n,styleConfig:this.props.styleConfig}),o.createElement(\"span\",{style:{color:i.colors.attribute},title:r.description},r.name,b(r)?\"*\":\"\",\":\")),\" \",l||o.createElement(\"span\",null))}}]),t}(o.PureComponent),N=function(e){function t(){var e,n,r;l(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addFragment=function(){r.props.modifySelections([].concat(s(r.props.selections),[r._previousSelection||{kind:\"InlineFragment\",typeCondition:{kind:\"NamedType\",name:{kind:\"Name\",value:r.props.implementingType.name}},selectionSet:{kind:\"SelectionSet\",selections:r.props.getDefaultFieldNames(r.props.implementingType).map((function(e){return{kind:\"Field\",name:{kind:\"Name\",value:e}}}))}}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return\"InlineFragment\"===e.kind&&e.typeCondition&&r.props.implementingType.name===e.typeCondition.name.value}));return e?\"InlineFragment\"===e.kind?e:void 0:null},r._modifyChildSelections=function(e){var t=r._getSelection();r.props.modifySelections(r.props.selections.map((function(n){return n===t?{directives:n.directives,kind:\"InlineFragment\",typeCondition:{kind:\"NamedType\",name:{kind:\"Name\",value:r.props.implementingType.name}},selectionSet:{kind:\"SelectionSet\",selections:e}}:n})))},u(r,n)}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.implementingType,r=t.schema,i=t.getDefaultFieldNames,a=t.styleConfig,s=this._getSelection(),l=n.getFields(),u=s&&s.selectionSet?s.selectionSet.selections:[];return o.createElement(\"div\",null,o.createElement(\"span\",{style:{cursor:\"pointer\"},onClick:s?this._removeFragment:this._addFragment},o.createElement(v,{checked:!!s,styleConfig:this.props.styleConfig}),o.createElement(\"span\",{style:{color:a.colors.atom}},this.props.implementingType.name)),s?o.createElement(\"div\",{style:{marginLeft:16}},Object.keys(l).sort().map((function(t){return o.createElement(I,{key:t,field:l[t],selections:u,modifySelections:e._modifyChildSelections,schema:r,getDefaultFieldNames:i,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})}))):null)}}]),t}(o.PureComponent);function A(e,t,n,r){var i=[],o=!0,s=!1,l=void 0;try{for(var u,c=r[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var f=u.value;if((0,a.isRequiredInputField)(f)||t&&t(n,f)){var p=E(f.type);(0,a.isInputObjectType)(p)?function(){var r=p.getFields();i.push({kind:\"ObjectField\",name:{kind:\"Name\",value:f.name},value:{kind:\"ObjectValue\",fields:A(e,t,n,Object.keys(r).map((function(e){return r[e]})))}})}():(0,a.isLeafType)(p)&&i.push({kind:\"ObjectField\",name:{kind:\"Name\",value:f.name},value:e(n,f,p)})}}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return i}function D(e,t,n){var r=[],i=!0,o=!1,s=void 0;try{for(var l,u=n.args[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var c=l.value;if(b(c)||t&&t(n,c)){var f=E(c.type);(0,a.isInputObjectType)(f)?function(){var i=f.getFields();r.push({kind:\"Argument\",name:{kind:\"Name\",value:c.name},value:{kind:\"ObjectValue\",fields:A(e,t,n,Object.keys(i).map((function(e){return i[e]})))}})}():(0,a.isLeafType)(f)&&r.push({kind:\"Argument\",name:{kind:\"Name\",value:c.name},value:e(n,c,f)})}}}catch(e){o=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw s}}return r}var I=function(e){function t(){var e,n,r;l(this,t);for(var i=arguments.length,o=Array(i),c=0;c<i;c++)o[c]=arguments[c];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._addAllFieldsToSelections=function(e){var t={kind:\"SelectionSet\",selections:e?Object.keys(e).map((function(e){return{kind:\"Field\",name:{kind:\"Name\",value:e},arguments:[]}})):[]},n=[].concat(s(r.props.selections.filter((function(e){return\"InlineFragment\"===e.kind||e.name.value!==r.props.field.name}))),[{kind:\"Field\",name:{kind:\"Name\",value:r.props.field.name},arguments:D(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field),selectionSet:t}]);r.props.modifySelections(n)},r._addFieldToSelections=function(e){var t=[].concat(s(r.props.selections),[r._previousSelection||{kind:\"Field\",name:{kind:\"Name\",value:r.props.field.name},arguments:D(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field)}]);r.props.modifySelections(t)},r._handleUpdateSelections=function(e){if(r._getSelection()&&!e.altKey)r._removeFieldFromSelections();else{var t=(0,a.getNamedType)(r.props.field.type),n=(0,a.isObjectType)(t)&&t.getFields();!!n&&e.altKey?r._addAllFieldsToSelections(n):r._addFieldToSelections(n)}},r._removeFieldFromSelections=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return\"Field\"===e.kind&&r.props.field.name===e.name.value}));return e?\"Field\"===e.kind?e:void 0:null},r._setArguments=function(e){var t=r._getSelection();t?r.props.modifySelections(r.props.selections.map((function(n){return n===t?{alias:t.alias,arguments:e,directives:t.directives,kind:\"Field\",name:t.name,selectionSet:t.selectionSet}:n}))):console.error(\"Missing selection when setting arguments\",e)},r._modifyChildSelections=function(e){r.props.modifySelections(r.props.selections.map((function(t){if(\"Field\"===t.kind&&r.props.field.name===t.name.value){if(\"Field\"!==t.kind)throw new Error(\"invalid selection\");return{alias:t.alias,arguments:t.arguments,directives:t.directives,kind:\"Field\",name:t.name,selectionSet:{kind:\"SelectionSet\",selections:e}}}return t})))},u(r,n)}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this,n=this.props,r=n.field,i=n.schema,s=n.getDefaultFieldNames,l=n.styleConfig,u=this._getSelection(),c=function(e){for(var t=e;(0,a.isWrappingType)(t);)t=t.ofType;return t}(r.type),f=r.args.sort((function(e,t){return e.name.localeCompare(t.name)})),p=o.createElement(\"div\",{className:\"graphiql-explorer-node\"},o.createElement(\"span\",{title:r.description,style:{cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",minHeight:\"16px\",WebkitUserSelect:\"none\",userSelect:\"none\"},\"data-field-name\":r.name,\"data-field-type\":c.name,onClick:this._handleUpdateSelections},(0,a.isObjectType)(c)?o.createElement(\"span\",null,u?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):null,(0,a.isObjectType)(c)?null:o.createElement(v,{checked:!!u,styleConfig:this.props.styleConfig}),o.createElement(\"span\",{style:{color:l.colors.property}},r.name)),u&&f.length?o.createElement(\"div\",{style:{marginLeft:16}},f.map((function(t){return o.createElement(O,{key:t.name,parentField:r,arg:t,selection:u,modifyArguments:e._setArguments,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})}))):null);if(u&&((0,a.isObjectType)(c)||(0,a.isInterfaceType)(c)||(0,a.isUnionType)(c))){var d=(0,a.isUnionType)(c)?{}:c.getFields(),h=u&&u.selectionSet?u.selectionSet.selections:[];return o.createElement(\"div\",null,p,o.createElement(\"div\",{style:{marginLeft:16}},Object.keys(d).sort().map((function(n){return o.createElement(t,{key:n,field:d[n],selections:h,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})})),(0,a.isInterfaceType)(c)||(0,a.isUnionType)(c)?i.getPossibleTypes(c).map((function(t){return o.createElement(N,{key:t.name,implementingType:t,selections:h,modifySelections:e._modifyChildSelections,schema:i,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})})):null))}return p}}]),t}(o.PureComponent);var j={kind:\"Document\",definitions:[{kind:\"OperationDefinition\",operation:\"query\",variableDefinitions:[],name:{kind:\"Name\",value:\"MyQuery\"},directives:[],selectionSet:{kind:\"SelectionSet\",selections:[]}}]},L=null;function F(e){if(L&&L[0]===e)return L[1];var t=function(e){try{return e.trim()?(0,a.parse)(e,{noLocation:!0}):null}catch(e){return new Error(e)}}(e);return t?t instanceof Error?L?L[1]:j:(L=[e,t],t):j}var M={buttonStyle:{fontSize:\"1.2em\",padding:\"0px\",backgroundColor:\"white\",border:\"none\",margin:\"5px 0px\",height:\"40px\",width:\"100%\",display:\"block\",maxWidth:\"none\"},explorerActionsStyle:{margin:\"4px -8px -8px\",paddingLeft:\"8px\",bottom:\"0px\",width:\"100%\",textAlign:\"center\",background:\"none\",borderTop:\"none\",borderBottom:\"none\"}},P=function(e){function t(){var e,n,i;l(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),i._modifySelections=function(e){var t=i.props.definition;0===t.selectionSet.selections.length&&i._previousOperationDef&&(t=i._previousOperationDef);var n=void 0;0===e.length?(i._previousOperationDef=t,n=null):(\"FragmentDefinition\"===t.kind||\"OperationDefinition\"===t.kind)&&(n=r({},t,{selectionSet:r({},t.selectionSet,{selections:e})})),i.props.onEdit(n)},i._onOperationRename=function(e){return i.props.onOperationRename(e.target.value)},i._handlePotentialRun=function(e){_(e)&&i.props.onRunOperation(i.props.name)},u(i,n)}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this,t=this.props,n=t.operation,r=t.name,i=t.definition,a=t.schema,s=t.getDefaultFieldNames,l=t.styleConfig,u=this.props.fields||{},c=i.selectionSet.selections,p=this.props.name||f(n)+\" Name\";return o.createElement(\"div\",{id:n+\"-\"+(r||\"unknown\"),style:{borderBottom:\"1px solid #d6d6d6\",marginBottom:\"0em\",paddingBottom:\"1em\"}},o.createElement(\"div\",{style:{color:l.colors.keyword,paddingBottom:4}},n,\" \",o.createElement(\"span\",{style:{color:l.colors.def}},o.createElement(\"input\",{style:{color:l.colors.def,border:\"none\",borderBottom:\"1px solid #888\",outline:\"none\",width:Math.max(4,p.length)+\"ch\"},autoComplete:\"false\",placeholder:f(n)+\" Name\",value:this.props.name,onKeyDown:this._handlePotentialRun,onChange:this._onOperationRename})),this.props.onTypeName?o.createElement(\"span\",null,o.createElement(\"br\",null),\"on \"+this.props.onTypeName):\"\"),Object.keys(u).sort().map((function(t){return o.createElement(I,{key:t,field:u[t],selections:c,modifySelections:e._modifySelections,schema:a,getDefaultFieldNames:s,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig})})))}}]),t}(o.PureComponent);function R(){return o.createElement(\"div\",{style:{fontFamily:\"sans-serif\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",margin:\"1em\",marginTop:0,flexGrow:1,justifyContent:\"flex-end\"}},o.createElement(\"div\",{style:{borderTop:\"1px solid #d6d6d6\",paddingTop:\"1em\",width:\"100%\",textAlign:\"center\"}},\"GraphiQL Explorer by \",o.createElement(\"a\",{href:\"https://www.onegraph.com\"},\"OneGraph\")),o.createElement(\"div\",null,\"Contribute on\",\" \",o.createElement(\"a\",{href:\"https://github.com/OneGraph/graphiql-explorer\"},\"GitHub\")))}var V=function(e){function t(){var e,n,r;l(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r._resetScroll=function(){var e=r._ref;e&&(e.scrollLeft=0)},r._onEdit=function(e){return r.props.onEdit(e)},u(r,n)}return c(t,e),i(t,[{key:\"componentDidMount\",value:function(){this._resetScroll()}},{key:\"render\",value:function(){var e=this,t=this.props,n=t.schema,i=t.query,l=t.makeDefaultArg;if(!n)return o.createElement(\"div\",{style:{fontFamily:\"sans-serif\"},className:\"error-container\"},\"No Schema Available\");var u={colors:this.props.colors||p,checkboxChecked:this.props.checkboxChecked||m,checkboxUnchecked:this.props.checkboxUnchecked||g,arrowClosed:this.props.arrowClosed||h,arrowOpen:this.props.arrowOpen||d,styles:this.props.styles?r({},M,this.props.styles):M},c=n.getQueryType(),v=n.getMutationType(),b=n.getSubscriptionType();if(!c&&!v&&!b)return o.createElement(\"div\",null,\"Missing query type\");var E=c&&c.getFields(),w=v&&v.getFields(),T=b&&b.getFields(),x=F(i),O=this.props.getDefaultFieldNames||y,_=this.props.getDefaultScalarArgValue||k,S=x.definitions.map((function(e){return\"FragmentDefinition\"===e.kind||\"OperationDefinition\"===e.kind?e:null})).filter(Boolean),C=0===S.length?j.definitions:S,N=function(t){var n=x.definitions,i=1===x.definitions.length&&x.definitions[0]===j.definitions[0],o=i?[]:n.filter((function(e){return\"OperationDefinition\"===e.kind&&e.operation===t})),l=\"My\"+f(t)+(0===o.length?\"\":o.length+1),u={kind:\"OperationDefinition\",operation:t,name:{kind:\"Name\",value:l},variableDefinitions:[],directives:[],selectionSet:{kind:\"SelectionSet\",selections:[{kind:\"Field\",name:{kind:\"Name\",value:\"__typename # Placeholder value\",loc:null},arguments:[],directives:[],selectionSet:null,loc:null}],loc:null},loc:null},c=i?[u]:[].concat(s(x.definitions),[u]),p=r({},x,{definitions:c});e.props.onEdit((0,a.print)(p))};return o.createElement(\"div\",{ref:function(t){e._ref=t},style:{fontSize:12,textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",margin:0,padding:8,fontFamily:'Consolas, Inconsolata, \"Droid Sans Mono\", Monaco, monospace'},className:\"graphiql-explorer-root\"},C.map((function(t,i){var s=t&&t.name&&t.name.value,c=\"FragmentDefinition\"===t.kind?\"fragment\":t&&t.operation||\"query\",f=\"FragmentDefinition\"===t.kind&&\"NamedType\"===t.typeCondition.kind&&n.getType(t.typeCondition.name.value),p=f instanceof a.GraphQLObjectType?f.getFields():null,d=\"query\"===c?E:\"mutation\"===c?w:\"subscription\"===c?T:\"FragmentDefinition\"===t.kind?p:null,h=\"FragmentDefinition\"===t.kind?t.typeCondition.name.value:null;return o.createElement(P,{key:i,fields:d,operation:c,name:s,definition:t,onOperationRename:function(n){var i,o,s,l,u=(s=r({},i=t,{name:null==(o=n)||\"\"===o?null:{kind:\"Name\",value:o,loc:void 0}}),l=x.definitions.map((function(e){return i===e?s:e})),r({},x,{definitions:l}));e.props.onEdit((0,a.print)(u))},onTypeName:h,onEdit:function(n){var i=r({},x,{definitions:x.definitions.map((function(e){return e===t?n:e}))}),o=(0,a.print)(i);e.props.onEdit(o)},schema:n,getDefaultFieldNames:O,getDefaultScalarArgValue:_,makeDefaultArg:l,onRunOperation:function(){e.props.onRunOperation&&e.props.onRunOperation(s)},styleConfig:u})})),o.createElement(\"div\",{className:\"variable-editor-title\",style:u.styles.explorerActionsStyle},E?o.createElement(\"button\",{className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",onClick:function(){return N(\"query\")}},\"+ ADD NEW QUERY\"):null,w?o.createElement(\"button\",{className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",onClick:function(){return N(\"mutation\")}},\"+ ADD NEW MUTATION\"):null,T?o.createElement(\"button\",{className:\"toolbar-button\",style:u.styles.buttonStyle,type:\"link\",onClick:function(){return N(\"subscription\")}},\"+ ADD NEW SUBSCRIPTION\"):null))}}]),t}(o.PureComponent);V.defaultProps={getDefaultFieldNames:y,getDefaultScalarArgValue:k};var U=function(e){function t(){var e,n,r;l(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.state={hasError:!1,error:null,errorInfo:null},u(r,n)}return c(t,e),i(t,[{key:\"componentDidCatch\",value:function(e,t){this.setState({hasError:!0,error:e,errorInfo:t}),console.error(\"Error in component\",e,t)}},{key:\"render\",value:function(){return this.state.hasError?o.createElement(\"div\",{style:{padding:18,fontFamily:\"sans-serif\"}},o.createElement(\"div\",null,\"Something went wrong\"),o.createElement(\"details\",{style:{whiteSpace:\"pre-wrap\"}},this.state.error?this.state.error.toString():null,o.createElement(\"br\",null),this.state.errorInfo?this.state.errorInfo.componentStack:null)):this.props.children}}]),t}(o.Component),q=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),i(t,[{key:\"render\",value:function(){var e=this.props.showAttribution?o.createElement(R,null):null;return o.createElement(\"div\",{className:\"historyPaneWrap\",style:{height:\"100%\",width:this.props.width,zIndex:7,display:this.props.explorerIsOpen?\"block\":\"none\"}},o.createElement(\"div\",{className:\"history-title-bar\"},o.createElement(\"div\",{className:\"history-title\"},this.props.title),o.createElement(\"div\",{className:\"doc-explorer-rhs\"},o.createElement(\"div\",{className:\"docExplorerHide\",onClick:this.props.onToggleExplorer},\"✕\"))),o.createElement(\"div\",{className:\"history-contents\"},o.createElement(\"div\",{style:{overflow:\"scroll\",width:\"100%\",display:\"flex\",flexDirection:\"column\",minHeight:\"100%\"}},o.createElement(U,null,o.createElement(V,this.props)),e)))}}]),t}(o.PureComponent);q.defaultValue=x,q.defaultProps={width:380,title:\"Explorer\"},t.default=q},function(e,t,n){var r=n(79),i=n(234);\"string\"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,\"\"]]);var o={insert:\"head\",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){\"use strict\";n.r(t);var r=n(41),i=n.n(r)()(!1);i.push([e.i,\".graphiql-container.not-really {\\n  display: block;\\n  width: auto;\\n  height: auto;\\n  border-left: 1px solid rgb(0, 0, 0, 0.2);\\n}\\n\\n.not-really .docExplorerWrap {\\n  height: 100%;\\n}\\n\\n.postgraphiql-container .graphiql-container {\\n  flex-grow: 1;\\n}\\n\\n.not-really .doc-explorer-contents {\\n  margin: 0;\\n  padding: 0;\\n}\\n.not-really textarea {\\n  height: 100%;\\n  width: 100%;\\n  border: none;\\n  outline: none;\\n  box-sizing: border-box;\\n  overflow: auto;\\n  font-size: 1rem;\\n  padding: 0.5rem;\\n}\\n\\n.postgraphiql-container {\\n  display: flex;\\n  flex-direction: row;\\n  height: 100%;\\n  width: 100%;\\n  overflow: hidden;\\n  margin: 0;\\n}\\n\\n.resultWrap .result-window {\\n  flex: 1 1 100%;\\n}\\n\\n.explain-mode .resultWrap .footer {\\n  flex: 1 1 100%;\\n  position: relative;\\n}\\n\\n.explain-mode .postgraphile-footer {\\n  position: absolute;\\n  top: 0;\\n  left: 0;\\n  right: 0;\\n  bottom: 0;\\n  overflow: auto;\\n  overflow-x: hidden;\\n}\\n\\n.postgraphile-footer {\\n  line-height: 30px;\\n  align-items: center;\\n  padding: 0 0 0 1rem;\\n  white-space: nowrap;\\n  text-overflow: ellipsis;\\n  max-height: 100%;\\n  display: flex;\\n  flex-direction: column;\\n  align-items: stretch;\\n  justify-content: space-between;\\n}\\n.postgraphile-footer a {\\n  text-decoration: none;\\n  color: #3b5998;\\n}\\n.postgraphile-footer pre {\\n  padding: 0.5rem;\\n  font-size: 0.8rem;\\n  line-height: 1.1em;\\n  background-color: rgba(0, 0, 0, 0.1);\\n}\\n\\n.explain-plan,\\n.explain-sql {\\n  max-height: 8.8em; /* line-height is 1.1em */\\n  overflow: auto;\\n}\\n.explain-plan {\\n  max-height: 13.2em; /* line-height is 1.1em */\\n}\\n\\n.resultWrap {\\n  width: 5rem;\\n}\\n\\n.postgraphiql-container .toolbar {\\n  align-items: center;\\n}\\n\\n.postgraphiql-container > .historyPaneWrap {\\n  min-width: 380px;\\n  max-width: 50%;\\n  /* Allow for longer width */\\n  width: auto !important;\\n}\\n\\n.graphiql-explorer-root {\\n  overflow: auto !important;\\n}\\n\",\"\"]),t.default=i},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),l=i?i+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function l(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.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},u.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},u.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},u.prototype.emit=function(e,t,n,r,o,a){var s=i?i+e:e;if(!this._events[s])return!1;var l,u,c=this._events[s],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,o),!0;case 6:return c.fn.call(c.context,t,n,r,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var p,d=c.length;for(u=0;u<d;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),f){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,r);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];c[u].fn.apply(c[u].context,l)}}return!0},u.prototype.on=function(e,t,n){return s(this,e,t,n,!1)},u.prototype.once=function(e,t,n){return s(this,e,t,n,!0)},u.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return l(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||l(this,o);else{for(var s=0,u=[],c=a.length;s<c;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:l(this,o)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&l(this,t)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,e.exports=u},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\";n.r(t),function(e,r){var i,o=n(115);i=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.default=a}.call(this,n(43),n(240)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,\"loaded\",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,\"id\",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,\"exports\",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.GRAPHQL_SUBSCRIPTIONS=t.GRAPHQL_WS=void 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=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;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,\"print\",(function(){return f}));var r=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):void 0;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)];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)}}var s={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\"]},l=Object.freeze({});function u(e){return Boolean(e&&\"string\"==typeof e.kind)}function c(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 f(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=void 0,i=Array.isArray(e),a=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,g=[],v=[],y=e;do{var b=++f===a.length,E=b&&0!==p.length;if(b){if(h=0===v.length?void 0:g[g.length-1],d=m,m=v.pop(),E){if(i)d=d.slice();else{for(var w={},T=0,x=Object.keys(d);T<x.length;T++){var k=x[T];w[k]=d[k]}d=w}for(var O=0,_=0;_<p.length;_++){var S=p[_][0],C=p[_][1];i&&(S-=O),i&&null===C?(d.splice(S,1),O++):d[S]=C}}f=r.index,a=r.keys,p=r.edits,i=r.inArray,r=r.prev}else{if(h=m?i?f:a[f]:void 0,null==(d=m?m[h]:y))continue;m&&g.push(h)}var N=void 0;if(!Array.isArray(d)){if(!u(d))throw new Error(\"Invalid AST Node: \"+o(d));var A=c(t,d.kind,b);if(A){if((N=A.call(t,d,h,m,g,v))===l)break;if(!1===N){if(!b){g.pop();continue}}else if(void 0!==N&&(p.push([h,N]),!b)){if(!u(N)){g.pop();continue}d=N}}}void 0===N&&E&&p.push([h,d]),b?g.pop():(r={inArray:i,index:f,keys:a,edits:p,prev:r},a=(i=Array.isArray(d))?d:n[d.kind]||[],f=-1,p=[],m&&v.push(m),m=d)}while(void 0!==r);return 0!==p.length&&(y=p[p.length-1][1]),y}(e,{leave:p})}var p={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return h(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=g(\"(\",h(e.variableDefinitions,\", \"),\")\"),i=h(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?h([t,h([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+g(\" = \",r)+g(\" \",h(i,\" \"))},SelectionSet:function(e){return m(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return h([g(\"\",t,\": \")+n+g(\"(\",h(r,\", \"),\")\"),h(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+g(\" \",h(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return h([\"...\",g(\"on \",t),h(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(g(\"(\",h(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(g(\"\",h(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?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,'\\\\\"\"\"')+'\"\"\"'}(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\"[\"+h(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+h(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+g(\"(\",h(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 h([\"schema\",h(t,\" \"),m(n)],\" \")},OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:d((function(e){return h([\"scalar\",e.name,h(e.directives,\" \")],\" \")})),ObjectTypeDefinition:d((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return h([\"type\",t,g(\"implements \",h(n,\" & \")),h(r,\" \"),m(i)],\" \")})),FieldDefinition:d((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(b(n)?g(\"(\\n\",v(h(n,\"\\n\")),\"\\n)\"):g(\"(\",h(n,\", \"),\")\"))+\": \"+r+g(\" \",h(i,\" \"))})),InputValueDefinition:d((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return h([t+\": \"+n,g(\"= \",r),h(i,\" \")],\" \")})),InterfaceTypeDefinition:d((function(e){var t=e.name,n=e.directives,r=e.fields;return h([\"interface\",t,h(n,\" \"),m(r)],\" \")})),UnionTypeDefinition:d((function(e){var t=e.name,n=e.directives,r=e.types;return h([\"union\",t,h(n,\" \"),r&&0!==r.length?\"= \"+h(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:d((function(e){var t=e.name,n=e.directives,r=e.values;return h([\"enum\",t,h(n,\" \"),m(r)],\" \")})),EnumValueDefinition:d((function(e){return h([e.name,h(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:d((function(e){var t=e.name,n=e.directives,r=e.fields;return h([\"input\",t,h(n,\" \"),m(r)],\" \")})),DirectiveDefinition:d((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(b(n)?g(\"(\\n\",v(h(n,\"\\n\")),\"\\n)\"):g(\"(\",h(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+h(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return h([\"extend schema\",h(t,\" \"),m(n)],\" \")},ScalarTypeExtension:function(e){return h([\"extend scalar\",e.name,h(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return h([\"extend type\",t,g(\"implements \",h(n,\" & \")),h(r,\" \"),m(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return h([\"extend interface\",t,h(n,\" \"),m(r)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return h([\"extend union\",t,h(n,\" \"),r&&0!==r.length?\"= \"+h(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return h([\"extend enum\",t,h(n,\" \"),m(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return h([\"extend input\",t,h(n,\" \"),m(r)],\" \")}};function d(e){return function(t){return h([t.description,e(t)],\"\\n\")}}function h(e,t){return e?e.filter((function(e){return e})).join(t||\"\"):\"\"}function m(e){return e&&0!==e.length?\"{\\n\"+v(h(e,\"\\n\"))+\"\\n}\":\"\"}function g(e,t,n){return t?e+t+(n||\"\"):\"\"}function v(e){return e&&\"  \"+e.replace(/\\n/g,\"\\n  \")}function y(e){return-1!==e.indexOf(\"\\n\")}function b(e){return e&&e.some(y)}},function(e,t,n){\"use strict\";n.r(t);n(116);var r=n(5),i=n.n(r),o=n(54),a=n.n(o),s=n(106),l=n.n(s),u=n(51),c=n.n(u),f=n(76),p=n.n(f),d=n(107),h=n.n(d),m=n(108),g=n.n(m),v=n(22),y=n.n(v),b=n(109),E=n.n(b),w=n(110),T=n.n(w),x=n(77),k=n.n(x),O=n(23),_=n.n(O),S=n(37),C=n.n(S),N=n(38),A=n(254),D=n(113),I=n.n(D),j=n(75),L=n.n(j),F=(n(233),n(112)),M=n(255),P=n(0),R=n(114);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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){_()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e){var t=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}}();return function(){var n,r=k()(e);if(t){var i=k()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var B=function(e){var t=e.query,n=e.operationName,r=Object(N.a)(t),i=Object(A.a)(r,n);return i&&\"subscription\"===i.operation},z=window.POSTGRAPHILE_CONFIG,H=void 0===z?{graphqlUrl:\"http://localhost:5000/graphql\",streamUrl:\"http://localhost:5000/graphql/stream\",enhanceGraphiql:!0,subscriptions:!0,allowExplain:!0}:z,K=function(e){try{return JSON.parse(e),!0}catch(e){return!1}},G=window.location,Q=H.graphqlUrl.match(/^https?:/)?H.graphqlUrl.replace(/^http/,\"ws\"):\"ws\".concat(\"https:\"===G.protocol?\"s\":\"\",\"://\").concat(G.hostname).concat(80!==G.port&&443!==G.port?\":\"+G.port:\"\").concat(H.graphqlUrl),W=\"PostGraphiQL:saveHeadersText\",Y=\"PostGraphiQL:headersText\",J=\"PostGraphiQL:explain\";function $(e){var t=e.children,n=e.open,r=e.value,o=e.onChange,a=e.valid,s=e.saveHeaders,l=e.toggleSaveHeaders;return i.a.createElement(\"div\",{className:\"graphiql-container not-really\",style:{display:n?\"block\":\"none\",width:\"300px\",flexBasis:\"300px\"}},i.a.createElement(\"div\",{className:\"docExplorerWrap\"},i.a.createElement(\"div\",{className:\"doc-explorer\"},i.a.createElement(\"div\",{className:\"doc-explorer-title-bar\"},i.a.createElement(\"div\",{className:\"doc-explorer-title\"},\"Edit Headers\"),i.a.createElement(\"div\",{className:\"doc-explorer-rhs\"},t)),i.a.createElement(\"div\",{className:\"doc-explorer-contents\"},i.a.createElement(\"label\",null,i.a.createElement(\"input\",{type:\"checkbox\",checked:s,onChange:l}),\"Persist headers\"),i.a.createElement(\"textarea\",{value:r,onChange:o,style:a?{}:{backgroundColor:\"#fdd\"}})))))}var X=function(e){E()(o,e);var t,n,r=q(o);function o(){var e;h()(this,o);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=r.call.apply(r,[this].concat(n)),_()(y()(e),\"_storage\",new L.a),_()(y()(e),\"state\",{schema:null,query:\"\",showHeaderEditor:!1,saveHeadersText:\"true\"===e._storage.get(W),headersText:e._storage.get(Y)||'{\\n\"Authorization\": null\\n}\\n',explain:\"true\"===e._storage.get(J),explainResult:null,headersTextValid:!0,explorerIsOpen:\"false\"!==e._storage.get(\"explorerIsOpen\"),haveActiveSubscription:!1,socketStatus:H.enhanceGraphiql&&H.subscriptions?\"pending\":null}),_()(y()(e),\"_onEditQuery\",(function(t){e.setState({query:t})})),_()(y()(e),\"subscriptionsClient\",H.enhanceGraphiql&&H.subscriptions?new R.SubscriptionClient(Q,{reconnect:!0,connectionParams:function(){return e.getHeaders()||{}}}):null),_()(y()(e),\"activeSubscription\",null),_()(y()(e),\"_handleInspectOperation\",(function(t,n){var r=Object(N.a)(e.state.query||\"\");if(!r)return console.error(\"Couldn't parse query document\"),null;var i=t.getTokenAt(n),o={line:n.line,ch:i.start},a={line:n.line,ch:i.end},s={start:t.indexFromPos(o),end:t.indexFromPos(a)},l=r.definitions.find((function(e){if(!e.loc)return console.log(\"Missing location information for definition\"),!1;var t=e.loc,n=t.start,r=t.end;return n<=s.start&&r>=s.end}));if(!l)return console.error(\"Unable to find definition corresponding to mouse position\"),null;var u=\"OperationDefinition\"===l.kind?l.operation:\"FragmentDefinition\"===l.kind?\"fragment\":\"unknown\",c=\"OperationDefinition\"===l.kind&&l.name||\"FragmentDefinition\"===l.kind&&l.name?l.name.value:\"unknown\",f=\".graphiql-explorer-root #\".concat(u,\"-\").concat(c),p=document.querySelector(f);p&&p.scrollIntoView()})),_()(y()(e),\"cancelSubscription\",(function(){null!==e.activeSubscription&&(e.activeSubscription.unsubscribe(),e.setState({haveActiveSubscription:!1}))})),_()(y()(e),\"fetcher\",(function(t){return e.cancelSubscription(),B(t)&&e.subscriptionsClient?{subscribe:function(n){n.next(\"Waiting for subscription to yield data…\");var r=n.error;n.error=function(e){var t;try{t=JSON.stringify(e,null,2)}catch(n){t=e.message||e}r.call(this,U({stack:t},e))};var i=e.subscriptionsClient.request(t).subscribe(n);return e.setState({haveActiveSubscription:!0}),e.activeSubscription=i,i}}:e.executeQuery(t)})),_()(y()(e),\"getQueryEditor\",(function(){return e.graphiql.getQueryEditor()})),_()(y()(e),\"handlePrettifyQuery\",(function(){var t=e.getQueryEditor();if(void 0===window.prettier||void 0===window.prettierPlugins)return e.graphiql.handlePrettifyQuery();t.setValue(window.prettier.format(t.getValue(),{parser:\"graphql\",plugins:window.prettierPlugins}))})),_()(y()(e),\"handleToggleHistory\",(function(t){e.graphiql.handleToggleHistory(t)})),_()(y()(e),\"handleToggleHeaders\",(function(){e.setState({showHeaderEditor:!e.state.showHeaderEditor})})),_()(y()(e),\"handleToggleExplorer\",(function(){e.setState({explorerIsOpen:!e.state.explorerIsOpen},(function(){return e._storage.set(\"explorerIsOpen\",JSON.stringify(e.state.explorerIsOpen))}))})),_()(y()(e),\"handleToggleSaveHeaders\",(function(){e.setState((function(e){return{saveHeadersText:!e.saveHeadersText}}),(function(){e._storage.set(W,JSON.stringify(e.state.saveHeadersText)),e._storage.set(Y,e.state.saveHeadersText?e.state.headersText:\"\")}))})),_()(y()(e),\"handleToggleExplain\",(function(){e.setState((function(e){return{explain:!e.explain}}),(function(){e._storage.set(J,JSON.stringify(e.state.explain));try{e.graphiql.handleRunQuery()}catch(e){}}))})),_()(y()(e),\"setGraphiqlRef\",(function(t){t&&(e.graphiql=t,e.setState({mounted:!0}))})),e}return g()(o,[{key:\"componentDidMount\",value:function(){var e=this;if(this.updateSchema(),this.subscriptionsClient){var t=this.subscriptionsClient.on(\"connected\",(function(){e.setState({socketStatus:\"connected\",error:null})})),n=this.subscriptionsClient.on(\"disconnected\",(function(){e.setState({socketStatus:\"disconnected\"})})),r=this.subscriptionsClient.on(\"connecting\",(function(){e.setState({socketStatus:\"connecting\"})})),i=this.subscriptionsClient.on(\"reconnected\",(function(){e.setState({socketStatus:\"reconnected\",error:null}),setTimeout((function(){e.setState((function(e){return\"reconnected\"===e.socketStatus?{socketStatus:\"connected\"}:{}}))}),5e3)})),o=this.subscriptionsClient.on(\"reconnecting\",(function(){e.setState({socketStatus:\"reconnecting\"})})),a=this.subscriptionsClient.on(\"error\",(function(t){console.error(\"Client connection error\",t),e.setState({error:new Error(\"Subscriptions client connection error\")})}));this.unlistenSubscriptionsClient=function(){t(),n(),r(),i(),o(),a()}}if(H.streamUrl){var s=new EventSource(H.streamUrl);s.addEventListener(\"change\",(function(){e.updateSchema()}),!1),s.addEventListener(\"open\",(function(){console.log(\"PostGraphile: Listening for server sent events\"),e.setState({error:null}),e.updateSchema()}),!1),s.addEventListener(\"error\",(function(t){console.error(\"PostGraphile: Failed to connect to event stream\",t),e.setState({error:new Error(\"Failed to connect to event stream\")})}),!1),this._eventSource=s}var l=this.graphiql;this.setState({query:l._storage.get(\"query\")||'# Welcome to PostGraphile\\'s built-in GraphiQL IDE\\n#\\n# GraphiQL is an in-browser tool for writing, validating, and\\n# testing GraphQL queries.\\n#\\n# Type queries into this side of the screen, and you will see intelligent\\n# typeaheads aware of the current GraphQL type schema and live syntax and\\n# validation errors highlighted within the text.\\n#\\n# GraphQL queries typically start with a \"{\" character. Lines that starts\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n#     {\\n#       field(arg: \"value\") {\\n#         subField\\n#       }\\n#     }\\n#\\n# Keyboard shortcuts:\\n#\\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\\n#\\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\\n#\\n#       Run Query:  Ctrl-Enter (or press the play button above)\\n#\\n#   Auto Complete:  Ctrl-Space (or just start typing)\\n#\\n'});var u=l.getQueryEditor();u.setOption(\"extraKeys\",U(U({},u.options.extraKeys||{}),{},{\"Shift-Alt-LeftClick\":this._handleInspectOperation}))}},{key:\"componentWillUnmount\",value:function(){this.unlistenSubscriptionsClient&&this.unlistenSubscriptionsClient(),this._eventSource.close(),this._eventSource=null}},{key:\"getHeaders\",value:function(){var e,t=this.state.headersText;try{for(var n in e=JSON.parse(t))null==e[n]&&delete e[n]}catch(e){}return e}},{key:\"executeQuery\",value:(n=p()(c.a.mark((function e(t){var n,r,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.getHeaders(),e.next=3,fetch(H.graphqlUrl,{method:\"POST\",headers:Object.assign(U({Accept:\"application/json\",\"Content-Type\":\"application/json\"},this.state.explain&&H.allowExplain?{\"X-PostGraphile-Explain\":\"on\"}:null),n),credentials:\"same-origin\",body:JSON.stringify(t)});case 3:return r=e.sent,e.next=6,r.json();case 6:return i=e.sent,this.setState({explainResult:i&&i.explain?i.explain:null}),e.abrupt(\"return\",i);case 9:case\"end\":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:\"updateSchema\",value:(t=p()(c.a.mark((function e(){var t,n,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.executeQuery({query:F.b});case 3:t=e.sent,n=t.data,r=Object(M.a)(n),this.setState({schema:r}),this._updateGraphiQLDocExplorerNavStack(r),console.log(\"PostGraphile: Schema updated\"),this.setState({error:null}),e.next=17;break;case 12:e.prev=12,e.t0=e.catch(0),console.error(\"Error occurred when updating the schema:\"),console.error(e.t0),this.setState({error:e.t0});case 17:case\"end\":return e.stop()}}),e,this,[[0,12]])}))),function(){return t.apply(this,arguments)})},{key:\"_updateGraphiQLDocExplorerNavStack\",value:function(e){var t=this.graphiql.docExplorerComponent.state.navStack,n=!0,r=!1,i=t.map((function(i,o){if(r||!n)return null;var a=i.def;if(a){if(Object(P.S)(a)){var s=e.getType(a.name);return s?U(U({},i),{},{def:s}):(r=!0,null)}var l=e.getType(t[o-1]?t[o-1].name:null);if(!l)return n=!1,null;if(!(l instanceof P.f))return n=!1,null;var u=l.getFields()[a.name];return u?U(U({},i),{},{def:u}):(n=!1,null)}return i})).filter((function(e){return e}));n&&this.graphiql.docExplorerComponent.setState({navStack:i})}},{key:\"renderSocketStatus\",value:function(){var e=this,t=this.state,n=t.socketStatus,r=t.error;if(null===n)return null;var o={connecting:\"🤔\",reconnecting:\"😓\",connected:\"😀\",reconnected:\"😅\",disconnected:\"☹️\"}[n]||\"😐\",a=i.a.createElement(\"path\",{fill:\"transparent\",stroke:\"white\",d:\"M30,50 L45,65 L70,30\",strokeWidth:\"8\"}),s={connecting:null,reconnecting:null,connected:a,reconnected:a,disconnected:i.a.createElement(\"path\",{fill:\"transparent\",stroke:\"white\",d:\"M30,30 L70,70 M30,70 L70,30\",strokeWidth:\"8\"})}[n]||null,l={connected:\"green\",reconnected:\"green\",connecting:\"orange\",reconnecting:\"orange\",disconnected:\"red\"}[n]||\"gray\",u=i.a.createElement(\"svg\",{width:\"25\",height:\"25\",viewBox:\"0 0 100 100\",style:{marginTop:4}},i.a.createElement(\"circle\",{fill:l,cx:\"50\",cy:\"50\",r:\"45\"}),s);return i.a.createElement(i.a.Fragment,null,r?i.a.createElement(\"div\",{style:{fontSize:\"1.5em\",marginRight:\"0.25em\"},title:r.message||\"Error occurred: \".concat(r),onClick:function(){return e.setState({error:null})}},i.a.createElement(\"span\",{\"aria-label\":\"ERROR\",role:\"img\"},\"⚠️\")):null,i.a.createElement(\"div\",{style:{fontSize:\"1.5em\",marginRight:\"0.25em\"},title:\"Websocket status: \"+n,onClick:this.cancelSubscription},i.a.createElement(\"span\",{\"aria-label\":n,role:\"img\"},u||o)))}},{key:\"render\",value:function(){var e=this,t=this.state.schema,n={ref:this.setGraphiqlRef,schema:t,fetcher:this.fetcher};return H.enhanceGraphiql?i.a.createElement(\"div\",{className:\"postgraphiql-container graphiql-container \".concat(this.state.explain&&this.state.explainResult&&this.state.explainResult.length?\"explain-mode\":\"\")},i.a.createElement(I.a,{schema:t,query:this.state.query,onEdit:this._onEditQuery,onRunOperation:function(t){return e.graphiql.handleRunQuery(t)},explorerIsOpen:this.state.explorerIsOpen,onToggleExplorer:this.handleToggleExplorer}),i.a.createElement(C.a,l()({onEditQuery:this._onEditQuery,query:this.state.query},n),i.a.createElement(C.a.Logo,null,i.a.createElement(\"div\",{style:{display:\"flex\",alignItems:\"center\"}},i.a.createElement(\"div\",null,i.a.createElement(\"img\",{src:\"https://launchql.com/assets/logo.svg\",width:\"88\",style:{marginTop:\"4px\",marginRight:\"0.5rem\"}})))),i.a.createElement(C.a.Toolbar,null,this.renderSocketStatus(),i.a.createElement(C.a.Button,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),i.a.createElement(C.a.Button,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"}),i.a.createElement(C.a.Button,{label:\"Headers\",title:\"Modify the headers to be sent with the requests\",onClick:this.handleToggleHeaders}),i.a.createElement(C.a.Button,{label:\"Explorer\",title:\"Construct a query with the GraphiQL explorer\",onClick:this.handleToggleExplorer}),H.allowExplain?i.a.createElement(C.a.Button,{label:this.state.explain?\"Explain ON\":\"Explain disabled\",title:\"View the SQL statements that this query invokes\",onClick:this.handleToggleExplain}):null),i.a.createElement(C.a.Footer,null,i.a.createElement(\"div\",{className:\"postgraphile-footer\"},this.state.explainResult&&this.state.explainResult.length?i.a.createElement(\"div\",{className:\"postgraphile-plan-footer\"},this.state.explainResult.map((function(e){return i.a.createElement(\"div\",null,i.a.createElement(\"h4\",null,\"Result from SQL\",\" \",i.a.createElement(\"a\",{href:\"https://www.postgresql.org/docs/current/sql-explain.html\"},\"EXPLAIN\"),\" \",\"on executed query:\"),i.a.createElement(\"pre\",{className:\"explain-plan\"},i.a.createElement(\"code\",null,e.plan)),i.a.createElement(\"h4\",null,\"Executed SQL query:\"),i.a.createElement(\"pre\",{className:\"explain-sql\"},i.a.createElement(\"code\",null,(t=e.query,n=0,t.replace(/\\s+/g,\" \").replace(/\\s+(?=$|\\n|\\))/g,\"\").replace(/(\\n|^|\\()\\s+/g,\"$1\").replace(/(\\(|\\)|\\), ?|, ?| (select|insert|update|delete|from|where|and|or|order|limit)(?= ))/g,(function(e,t){var r=t.replace(/ $/,\"\");return\"(\"===r?(n++,r+\"\\n\"+\"  \".repeat(n)):\")\"===r?(n--,\"\\n\"+\"  \".repeat(n)+r):\"),\"===r?(n--,\"\\n\"+\"  \".repeat(n)+r+\"\\n\"+\"  \".repeat(n)):\",\"===r?r+\"\\n\"+\"  \".repeat(n):\"\\n\"+\"  \".repeat(n)+r.replace(/^\\s+/,\"\")})).replace(/\\(\\s*([A-Za-z0-9_.\"' =]{1,50})\\s*\\)/g,\"($1)\").replace(/\\(\\s*(\\([A-Za-z0-9_.\"' =]{1,50}\\))\\s*\\)/g,\"($1)\").replace(/\\n\\s*and \\(TRUE\\)/g,\" and (TRUE)\")))));var t,n})),i.a.createElement(\"hr\",null)):null,i.a.createElement(\"div\",{className:\"postgraphile-regular-footer\"},\"LaunchQL:\",\" \",i.a.createElement(\"a\",{title:\"LaunchQL\",href:\"https://launchql.com\",target:\"new\"},\"launchql.com\"),\" \",\"|\",\" \",i.a.createElement(\"a\",{title:\"Github\",href:\"https://github.com/launchql\",target:\"new\"},\"github\"))))),i.a.createElement($,{open:this.state.showHeaderEditor,value:this.state.headersText,valid:this.state.headersTextValid,toggleSaveHeaders:this.handleToggleSaveHeaders,saveHeaders:this.state.saveHeadersText,onChange:function(t){return e.setState({headersText:t.target.value,headersTextValid:K(t.target.value)},(function(){e.state.headersTextValid&&e.state.saveHeadersText&&e._storage.set(Y,e.state.headersText),e.state.headersTextValid&&e.subscriptionsClient&&e.subscriptionsClient.close(!1,!0)}))}},i.a.createElement(\"div\",{className:\"docExplorerHide\",onClick:this.handleToggleHeaders},\"✕\"))):i.a.createElement(C.a,n)}}]),o}(i.a.PureComponent);a.a.render(i.a.createElement(X,null),document.getElementById(\"root\"))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"getOperationAST\",(function(){return i}));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 i(e,t){for(var n=null,i=0,o=e.definitions;i<o.length;i++){var a=o[i];if(a.kind===r.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\";n.d(t,\"a\",(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.Kind.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\";n.d(t,\"a\",(function(){return m}));var r=n(8),i=n(2),o=n(6),a=n(20),s=n(17),l=n(38),u=n(11),c=n(10),f=n(9),p=n(30),d=n(0),h=n(39);function m(e,t){Object(s.a)(e)&&Object(s.a)(e.__schema)||Object(o.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing \"data\" property of introspection response and no \"errors\" was returned alongside: '+Object(i.a)(e));for(var n=e.__schema,m=Object(a.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(e&&e.name&&e.kind)switch(e.kind){case f.TypeKind.SCALAR:return n=e,new d.g({name:n.name,description:n.description});case f.TypeKind.OBJECT:return function(e){if(!e.interfaces)throw new Error(\"Introspection result missing interfaces: \"+Object(i.a)(e));return new d.f({name:e.name,description:e.description,interfaces:function(){return e.interfaces.map(_)},fields:function(){return S(e)}})}(e);case f.TypeKind.INTERFACE:return t=e,new d.c({name:t.name,description:t.description,fields:function(){return S(t)}});case f.TypeKind.UNION:return function(e){if(!e.possibleTypes)throw new Error(\"Introspection result missing possibleTypes: \"+Object(i.a)(e));return new d.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(O)}})}(e);case f.TypeKind.ENUM:return function(e){if(!e.enumValues)throw new Error(\"Introspection result missing enumValues: \"+Object(i.a)(e));return new d.a({name:e.name,description:e.description,values:Object(a.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case f.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields)throw new Error(\"Introspection result missing inputFields: \"+Object(i.a)(e));return new d.b({name:e.name,description:e.description,fields:function(){return C(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(i.a)(e))}(e)})),g=0,v=[].concat(c.g,f.introspectionTypes);g<v.length;g++){var y=v[g];m[y.name]&&(m[y.name]=y)}var b=n.queryType?O(n.queryType):null,E=n.mutationType?O(n.mutationType):null,w=n.subscriptionType?O(n.subscriptionType):null,T=n.directives?n.directives.map((function(e){if(!e.args)throw new Error(\"Introspection result missing directive args: \"+Object(i.a)(e));if(!e.locations)throw new Error(\"Introspection result missing directive locations: \"+Object(i.a)(e));return new u.c({name:e.name,description:e.description,locations:e.locations.slice(),args:C(e.args)})})):[];return new p.a({query:b,mutation:E,subscription:w,types:Object(r.a)(m),directives:T,assumeValid:t&&t.assumeValid,allowedLegacyNames:t&&t.allowedLegacyNames});function x(e){if(e.kind===f.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error(\"Decorated type deeper than introspection query.\");return Object(d.d)(x(t))}if(e.kind===f.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error(\"Decorated type deeper than introspection query.\");var r=x(n);return Object(d.e)(Object(d.t)(r))}if(!e.name)throw new Error(\"Unknown type reference: \"+Object(i.a)(e));return function(e){var t=m[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 k(e){var t=x(e);if(Object(d.O)(t))return t;throw new Error(\"Introspection must provide output type for fields, but received: \"+Object(i.a)(t)+\".\")}function O(e){var t=x(e);return Object(d.u)(t)}function _(e){var t=x(e);return Object(d.o)(t)}function S(e){if(!e.fields)throw new Error(\"Introspection result missing fields: \"+Object(i.a)(e));return Object(a.a)(e.fields,(function(e){return e.name}),(function(e){if(!e.args)throw new Error(\"Introspection result missing field args: \"+Object(i.a)(e));return{description:e.description,deprecationReason:e.deprecationReason,type:k(e.type),args:C(e.args)}}))}function C(e){return Object(a.a)(e,(function(e){return e.name}),N)}function N(e){var t=function(e){var t=x(e);if(Object(d.G)(t))return t;throw new Error(\"Introspection must provide input type for arguments, but received: \"+Object(i.a)(t)+\".\")}(e.type),n=e.defaultValue?Object(h.a)(Object(l.c)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n}}}}]);</script></body></html>" | null;
export default _default;