diff --git a/assets/app/build/asset-manifest.json b/assets/app/build/asset-manifest.json
index a6685a9..fbef651 100644
--- a/assets/app/build/asset-manifest.json
+++ b/assets/app/build/asset-manifest.json
@@ -1,8 +1,8 @@
{
"main.css": "static/css/main.aafb6422.css",
"main.css.map": "static/css/main.aafb6422.css.map",
- "main.js": "static/js/main.c67f3337.js",
- "main.js.map": "static/js/main.c67f3337.js.map",
+ "main.js": "static/js/main.fe7dc498.js",
+ "main.js.map": "static/js/main.fe7dc498.js.map",
"static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.5ab204b9.flow",
"static/media/autocompleteUtils.js.flow": "static/media/autocompleteUtils.js.4ce7ba19.flow",
"static/media/getAutocompleteSuggestions.js.flow": "static/media/getAutocompleteSuggestions.js.7f98f032.flow",
diff --git a/assets/app/build/index.html b/assets/app/build/index.html
index d0b2848..8bd32ec 100644
--- a/assets/app/build/index.html
+++ b/assets/app/build/index.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/assets/app/build/service-worker.js b/assets/app/build/service-worker.js
index 0e298d3..1b14a1f 100644
--- a/assets/app/build/service-worker.js
+++ b/assets/app/build/service-worker.js
@@ -1 +1 @@
-"use strict";var precacheConfig=[["/index.html","bbc225144f0aa994d20df1167323f199"],["/static/css/main.aafb6422.css","31bb002b1eb5fb77cd3334ded1e7a5e0"],["/static/js/main.c67f3337.js","23de96b2dd3f78fc587cc3c7ed662167"],["/static/media/GraphQLLanguageService.js.5ab204b9.flow","5ab204b9b95c06640dbefae9a65b1db2"],["/static/media/autocompleteUtils.js.4ce7ba19.flow","4ce7ba191f7ebee4426768f246b2f0e0"],["/static/media/getAutocompleteSuggestions.js.7f98f032.flow","7f98f032085704c8943ec2d1925c7c84"],["/static/media/getDefinition.js.4dbec62f.flow","4dbec62f1d8e8417afb9cbd19f1268c3"],["/static/media/getDiagnostics.js.65b0979a.flow","65b0979ac23feca49e4411883fd8eaab"],["/static/media/getHoverInformation.js.d9411837.flow","d94118379d362fc161aa1246bcc14d43"],["/static/media/getOutline.js.c04e3998.flow","c04e3998712b37a96f0bfd283fa06b52"],["/static/media/index.js.02c24280.flow","02c24280c5e4a7eb3c6cfcb079a8f1e3"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,a){var r=new URL(e);return a&&r.pathname.match(a)||(r.search+=(r.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),r.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],a=new URL(t,self.location),r=createCacheKey(a,hashParamName,n,/\.\w{8}\./);return[a.toString(),r]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(a){return setOfCachedUrls(a).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return a.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,a),e=urlsToCacheKeys.has(n));var r="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(r,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
\ No newline at end of file
+"use strict";var precacheConfig=[["/index.html","f02ac2a25a9ce8af204e4965d44a28f3"],["/static/css/main.aafb6422.css","31bb002b1eb5fb77cd3334ded1e7a5e0"],["/static/js/main.fe7dc498.js","0df7a19b313676d3a5124d6041845f31"],["/static/media/GraphQLLanguageService.js.5ab204b9.flow","5ab204b9b95c06640dbefae9a65b1db2"],["/static/media/autocompleteUtils.js.4ce7ba19.flow","4ce7ba191f7ebee4426768f246b2f0e0"],["/static/media/getAutocompleteSuggestions.js.7f98f032.flow","7f98f032085704c8943ec2d1925c7c84"],["/static/media/getDefinition.js.4dbec62f.flow","4dbec62f1d8e8417afb9cbd19f1268c3"],["/static/media/getDiagnostics.js.65b0979a.flow","65b0979ac23feca49e4411883fd8eaab"],["/static/media/getHoverInformation.js.d9411837.flow","d94118379d362fc161aa1246bcc14d43"],["/static/media/getOutline.js.c04e3998.flow","c04e3998712b37a96f0bfd283fa06b52"],["/static/media/index.js.02c24280.flow","02c24280c5e4a7eb3c6cfcb079a8f1e3"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,a){var r=new URL(e);return a&&r.pathname.match(a)||(r.search+=(r.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),r.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],a=new URL(t,self.location),r=createCacheKey(a,hashParamName,n,/\.\w{8}\./);return[a.toString(),r]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(a){return setOfCachedUrls(a).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return a.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,a),e=urlsToCacheKeys.has(n));var r="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(r,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});
\ No newline at end of file
diff --git a/assets/app/build/static/js/main.c67f3337.js b/assets/app/build/static/js/main.fe7dc498.js
similarity index 99%
rename from assets/app/build/static/js/main.c67f3337.js
rename to assets/app/build/static/js/main.fe7dc498.js
index 1b8f298..66c2ef4 100644
--- a/assets/app/build/static/js/main.c67f3337.js
+++ b/assets/app/build/static/js/main.fe7dc498.js
@@ -1,2 +1,2 @@
-!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=146)}([function(e,t,n){"use strict";function r(e,t,n,i,u,l,s){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=i;!d&&c&&(d=c.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),d&&0===d.length&&(d=void 0);var h;i&&n?h=i.map(function(e){return Object(a.a)(n,e)}):c&&(h=c.reduce(function(e,t){return t.loc&&e.push(Object(a.a)(t.loc.source,t.loc.start)),e},[]));var m=s;if(null==m&&null!=l){var v=l.extensions;Object(o.a)(v)&&(m=v)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:h||void 0,enumerable:Boolean(h)},path:{value:u||void 0,enumerable:Boolean(u)},nodes:{value:c||void 0},source:{value:f||void 0},positions:{value:d||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,r):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function i(e){var t=e.message;if(e.nodes){var n=!0,r=!1,i=void 0;try{for(var o,a=e.nodes[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;l.loc&&(t+="\n\n"+Object(u.a)(l.loc))}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}}else if(e.source&&e.locations){var s=!0,c=!1,f=void 0;try{for(var p,d=e.locations[Symbol.iterator]();!(s=(p=d.next()).done);s=!0){var h=p.value;t+="\n\n"+Object(u.b)(e.source,h)}}catch(e){c=!0,f=e}finally{try{s||null==d.return||d.return()}finally{if(c)throw f}}}return t}t.a=r,t.b=i;var o=n(14),a=n(58),u=n(90);r.prototype=Object.create(Error.prototype,{constructor:{value:r},name:{value:"GraphQLError"},toString:{value:function(){return i(this)}}})},function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function t(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function n(e,n){return t(e).appendChild(n)}function r(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)return a+(t-o);a+=u-o,a+=n-a%n,o=u+1}}function p(e,t){for(var n=0;n=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function h(e){for(;Wa.length<=e;)Wa.push(m(Wa)+" ");return Wa[e]}function m(e){return e[e.length-1]}function v(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Ya.test(e))}function E(e,t){return t?!!(t.source.indexOf("\\w")>-1&&w(e))||t.test(e):w(e)}function k(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function O(e){return e.charCodeAt(0)>=768&&Ja.test(e)}function T(e,t,n){for(;(n<0?t>0:tn?-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}}function S(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;ot||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")}function x(e,t,n){var r;$a=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:$a=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:$a=i)}return null!=r?r:$a}function C(e,t){var n=e.order;return null==n&&(n=e.order=Xa(e.text,t)),n}function N(e,t){return e._handlers&&e._handlers[t]||Za}function j(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=p(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function D(e,t){var n=N(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function F(e){e.prototype.on=function(e,t){eu(this,e,t)},e.prototype.off=function(e,t){j(this,e,t)}}function P(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function M(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function R(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function V(e){P(e),M(e)}function U(e){return e.target||e.srcElement}function B(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),Da&&e.ctrlKey&&1==t&&(t=3),t}function q(e){if(null==Ba){var t=r("span","\u200b");n(e,r("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ba=t.offsetWidth<=1&&t.offsetHeight>2&&!(ba&&wa<8))}var i=Ba?r("span","\u200b"):r("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}function z(e){if(null!=qa)return qa;var r=n(e,document.createTextNode("A\u062eA")),i=Fa(r,0,1).getBoundingClientRect(),o=Fa(r,1,2).getBoundingClientRect();return t(e),!(!i||i.left==i.right)&&(qa=o.right-i.right<3)}function H(e){if(null!=ou)return ou;var t=n(e,r("span","x")),i=t.getBoundingClientRect(),o=Fa(t,0,1).getBoundingClientRect();return ou=Math.abs(i.left-o.left)>1}function K(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),au[e]=t}function G(e,t){uu[e]=t}function Q(e){if("string"==typeof e&&uu.hasOwnProperty(e))e=uu[e];else if(e&&"string"==typeof e.name&&uu.hasOwnProperty(e.name)){var t=uu[e.name];"string"==typeof t&&(t={name:t}),e=b(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Q("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Q("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function W(e,t){t=Q(t);var n=au[t.name];if(!n)return W(e,"text/plain");var r=n(e,t);if(lu.hasOwnProperty(t.name)){var i=lu[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}function Y(e,t){c(t,lu.hasOwnProperty(e)?lu[e]:lu[e]={})}function J(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 $(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 X(e,t,n){return!e.startState||e.startState(t,n)}function Z(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=e.first&&tn?ue(n,Z(e,n).text.length):me(t,Z(e,t.line).text.length)}function me(e,t){var n=e.ch;return null==n||n>t?ue(e.line,t):n<0?ue(e.line,0):e}function ve(e,t){for(var n=[],r=0;re&&i.splice(l,1,e,i[l+1],r),l+=2,s=Math.min(e,r)}if(t)if(u.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&&J(e.doc.mode,r.state),o=ye(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 be(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new fu(r,!0,t);var o=Se(e,t,n),a=o>r.first&&Z(r,o-1).stateAfter,u=a?fu.fromSaved(r,a,o):new fu(r,X(r.mode),o);return r.iter(o,t,function(n){we(e,n.text,u);var r=u.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function Oe(e,t,n,r){var i,o=e.doc,a=o.mode;t=he(o,t);var u,l=Z(o,t.line),s=be(e,t.line,n),c=new su(l.text,e.options.tabSize,s);for(r&&(u=[]);(r||c.pose.options.maxHighlightLength?(u=!1,a&&we(e,t,r,f.pos),f.pos=t.length,l=null):l=Te(ke(n,f,r.state,p),o),p){var d=p[0].name;d&&(l="m-"+(l?d+" "+l:d))}if(!u||c!=l){for(;sa;--u){if(u<=o.first)return o.first;var l=Z(o,u-1),s=l.stateAfter;if(s&&(!n||u+(s instanceof cu?s.lookAhead:0)<=o.modeFrontier))return u;var c=f(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=u-1,r=c)}return i}function xe(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=Z(e,r).stateAfter;if(i&&(!(i instanceof cu)||r+i.lookAhead=t:o.to>t);(r||(r=[])).push(new je(a,o.from,l?null:o.to))}}return r}function Fe(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t);if(u||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&u)for(var E=0;E0)){var c=[l,1],f=le(s.from,u.from),d=le(s.to,u.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:s.from,to:u.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:u.to,to:s.to}),i.splice.apply(i,c),l+=c.length-3}}return i}function Ve(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||ze(n,o.marker)<0)&&(n=o.marker)}return n}function We(e,t,n,r,i){var o=Z(e,t),a=hu&&o.markedSpans;if(a)for(var u=0;u=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?le(s.to,n)>=0:le(s.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?le(s.from,r)<=0:le(s.from,r)<0)))return!0}}}function Ye(e){for(var t;t=Ke(e);)e=t.find(-1,!0).line;return e}function Je(e){for(var t;t=Ge(e);)e=t.find(1,!0).line;return e}function $e(e){for(var t,n;t=Ge(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function Xe(e,t){var n=Z(e,t),r=Ye(n);return n==r?t:re(r)}function Ze(e,t){if(t>e.lastLine())return t;var n,r=Z(e,t);if(!et(e,r))return t;for(;n=Ge(r);)r=n.find(1,!0).line;return re(r)+1}function et(e,t){var n=hu&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function ot(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ve(e),Ue(e,n);var i=r?r(e):1;i!=e.height&&ne(e,i)}function at(e){e.parent=null,Ve(e)}function ut(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?gu:yu;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function lt(e,t){var n=i("span",null,null,Ea?"padding-right: .1px":null),r={pre:i("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var a=o?t.rest[o-1]:t.line,u=void 0;r.pos=0,r.addToken=ct,z(e.display.measure)&&(u=C(a,e.doc.direction))&&(r.addToken=pt(r.addToken,u)),r.map=[];ht(a,r,ge(e,a,t!=e.display.externalMeasured&&re(a))),a.styleClasses&&(a.styleClasses.bgClass&&(r.bgClass=l(a.styleClasses.bgClass,r.bgClass||"")),a.styleClasses.textClass&&(r.textClass=l(a.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(q(e.display.measure))),0==o?(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(Ea){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 D(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=l(r.pre.className,r.textClass||"")),r}function st(e){var t=r("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function ct(e,t,n,i,o,a,u){if(t){var l,s=e.splitSpaces?ft(t,e.trailingSpace):t,c=e.cm.state.specialChars,f=!1;if(c.test(t)){l=document.createDocumentFragment();for(var p=0;;){c.lastIndex=p;var d=c.exec(t),m=d?d.index-p:t.length-p;if(m){var v=document.createTextNode(s.slice(p,p+m));ba&&wa<9?l.appendChild(r("span",[v])):l.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!d)break;p+=m+1;var y=void 0;if("\t"==d[0]){var g=e.cm.options.tabSize,b=g-e.col%g;y=l.appendChild(r("span",h(b),"cm-tab")),y.setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=b}else"\r"==d[0]||"\n"==d[0]?(y=l.appendChild(r("span","\r"==d[0]?"\u240d":"\u2424","cm-invalidchar")),y.setAttribute("cm-text",d[0]),e.col+=1):(y=e.cm.options.specialCharPlaceholder(d[0]),y.setAttribute("cm-text",d[0]),ba&&wa<9?l.appendChild(r("span",[y])):l.appendChild(y),e.col+=1);e.map.push(e.pos,e.pos+1,y),e.pos++}}else e.col+=t.length,l=document.createTextNode(s),e.map.push(e.pos,e.pos+t.length,l),ba&&wa<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==s.charCodeAt(t.length-1),n||i||o||f||a){var w=n||"";i&&(w+=i),o&&(w+=o);var E=r("span",[l],w,a);if(u)for(var k in u)u.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&E.setAttribute(k,u[k]);return e.content.appendChild(E)}e.content.appendChild(l)}}function ft(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;is&&f.from<=s));p++);if(f.to>=c)return e(n,r,i,o,a,u,l);e(n,r.slice(0,f.to-s),i,o,null,u,l),o=null,r=r.slice(f.to-s),s=f.to}}}function dt(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 ht(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,u,l,s,c,f,p,d=i.length,h=0,m=1,v="",y=0;;){if(y==h){l=s=c=u="",p=null,f=null,y=1/0;for(var g=[],b=void 0,w=0;wh||k.collapsed&&E.to==h&&E.from==h)){if(null!=E.to&&E.to!=h&&y>E.to&&(y=E.to,s=""),k.className&&(l+=" "+k.className),k.css&&(u=(u?u+";":"")+k.css),k.startStyle&&E.from==h&&(c+=" "+k.startStyle),k.endStyle&&E.to==y&&(b||(b=[])).push(k.endStyle,E.to),k.title&&((p||(p={})).title=k.title),k.attributes)for(var O in k.attributes)(p||(p={}))[O]=k.attributes[O];k.collapsed&&(!f||ze(f.marker,k)<0)&&(f=E)}else E.from>h&&y>E.from&&(y=E.from)}if(b)for(var T=0;T=d)break;for(var S=Math.min(d,y);;){if(v){var x=h+v.length;if(!f){var C=x>S?v.slice(0,S-h):v;t.addToken(t,C,a?a+l:l,c,h+C.length==y?s:"",u,p)}if(x>=S){v=v.slice(S-h),h=S;break}h=x,c=""}v=i.slice(o,o=n[m++]),a=ut(n[m++],t.cm.options)}}else for(var N=1;N2&&o.push((l.bottom+s.top)/2-n.top)}}o.push(n.bottom-n.top)}}function zt(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Ht(e,t){t=Ye(t);var r=re(t),i=e.display.externalMeasured=new mt(e.doc,t,r);i.lineN=r;var o=i.built=lt(e,i);return i.text=o.pre,n(e.display.lineMeasure,o.pre),i}function Kt(e,t,n,r){return Wt(e,Qt(e,t),n,r)}function Gt(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=l-u,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[s+2],u==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)r=e[2+(s-=3)],a="left";if("right"==n&&i==l-u)for(;s=0&&(n=e[i]).left==n.right;i--);return n}function $t(e,t,n,r){var i,o=Yt(t.map,n,r),a=o.node,u=o.start,l=o.end,s=o.collapse;if(3==a.nodeType){for(var c=0;c<4;c++){for(;u&&O(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+l0&&(s=r="right");var f;i=e.options.lineWrapping&&(f=a.getClientRects()).length>1?f["right"==r?f.length-1:0]:a.getBoundingClientRect()}if(ba&&wa<9&&!u&&(!i||!i.left&&!i.right)){var p=a.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+wn(e.display),top:p.top,bottom:p.bottom}:Eu}for(var d=i.top-t.rect.top,h=i.bottom-t.rect.top,m=(d+h)/2,v=t.view.measure.heights,y=0;y=r.text.length?(s=r.text.length,c="before"):s<=0&&(s=0,c="after"),!l)return a("before"==c?s-1:s,"before"==c);var f=x(l,s,c),p=$a,d=u(s,f,"before"==c);return null!=p&&(d.other=u(s,p,"before"!=c)),d}function cn(e,t){var n=0;t=he(e.doc,t),e.options.lineWrapping||(n=wn(e.display)*t.ch);var r=Z(e.doc,t.line),i=nt(r)+Pt(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function fn(e,t,n,r,i){var o=ue(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function pn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return fn(r.first,0,null,!0,-1);var i=ie(r,n),o=r.first+r.size-1;if(i>o)return fn(r.first+r.size-1,Z(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=Z(r,i);;){var u=vn(e,a,i,t,n),l=Qe(a,u.ch+(u.xRel>0?1:0));if(!l)return u;var s=l.find(1);if(s.line==i)return s;a=Z(r,i=s.line)}}function dn(e,t,n,r){r-=on(t);var i=t.text.length,o=_(function(t){return Wt(e,n,t-1).bottom<=r},i,0);return i=_(function(t){return Wt(e,n,t).top>r},o,i),{begin:o,end:i}}function hn(e,t,n,r){return n||(n=Qt(e,t)),dn(e,t,n,an(e,t,Wt(e,n,r),"line").top)}function mn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function vn(e,t,n,r,i){i-=nt(t);var o=Qt(e,t),a=on(t),u=0,l=t.text.length,s=!0,c=C(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?gn:yn)(e,t,n,o,c,r,i);s=1!=f.level,u=s?f.from:f.to-1,l=s?f.to:f.from-1}var p,d,h=null,m=null,v=_(function(t){var n=Wt(e,o,t);return n.top+=a,n.bottom+=a,!!mn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)},u,l),y=!1;if(m){var g=r-m.left=w.bottom}return v=T(t.text,v,1),fn(n,v,d,y,r-p)}function yn(e,t,n,r,i,o,a){var u=_(function(u){var l=i[u],s=1!=l.level;return mn(sn(e,ue(n,s?l.to:l.from,s?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),l=i[u];if(u>0){var s=1!=l.level,c=sn(e,ue(n,s?l.from:l.to,s?"after":"before"),"line",t,r);mn(c,o,a,!0)&&c.top>a&&(l=i[u-1])}return l}function gn(e,t,n,r,i,o,a){var u=dn(e,t,r,a),l=u.begin,s=u.end;/\s/.test(t.text.charAt(s-1))&&s--;for(var c=null,f=null,p=0;p=s||d.to<=l)){var h=1!=d.level,m=Wt(e,r,h?Math.min(s,d.to)-1:Math.max(l,d.from)).right,v=mv)&&(c=d,f=v)}}return c||(c=i[i.length-1]),c.froms&&(c={from:c.from,to:s,level:c.level}),c}function bn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==vu){vu=r("pre");for(var i=0;i<49;++i)vu.appendChild(document.createTextNode("x")),vu.appendChild(r("br"));vu.appendChild(document.createTextNode("x"))}n(e.measure,vu);var o=vu.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),t(e.measure),o||1}function wn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=r("span","xxxxxxxxxx"),i=r("pre",[t]);n(e.measure,i);var o=t.getBoundingClientRect(),a=(o.right-o.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function En(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var u=e.display.gutterSpecs[a].className;n[u]=o.offsetLeft+o.clientLeft+i,r[u]=o.clientWidth}return{fixedPos:kn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function kn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function On(e){var t=bn(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/wn(e.display)-3);return function(i){if(et(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)hu&&Xe(e.doc,t)i.viewFrom?Nn(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Nn(e);else if(t<=i.viewFrom){var o=jn(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Nn(e)}else if(n>=i.viewTo){var a=jn(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Nn(e)}else{var u=jn(e,t,t,-1),l=jn(e,n,n+r,1);u&&l?(i.view=i.view.slice(0,u.index).concat(vt(e,u.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Nn(e)}var s=i.externalMeasured;s&&(n=i.lineN&&t=r.viewTo)){var o=r.view[Sn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==p(a,n)&&a.push(n)}}}function Nn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function jn(e,t,n,r){var i,o=Sn(e,t),a=e.display.view;if(!hu||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var u=e.display.viewFrom,l=0;l0){if(o==a.length-1)return null;i=u+a[o].size-t,o++}else i=u-t;t+=i,n+=i}for(;Xe(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 Dn(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=vt(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=vt(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Sn(e,n)))),r.viewTo=n}function An(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||u.to().line0?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 Vn(e){e.state.focused||(e.display.input.focus(),Bn(e))}function Un(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,qn(e))},100)}function Bn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(D(e,"focus",e,t),e.state.focused=!0,u(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),Ea&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Rn(e))}function qn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(D(e,"blur",e,t),e.state.focused=!1,Ra(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function zn(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||c<-.005)&&(ne(i.line,a),Hn(i.line),i.rest))for(var f=0;fe.display.sizerWidth){var p=Math.ceil(u/wn(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Hn(e){if(e.widgets)for(var t=0;t=a&&(o=ie(t,nt(Z(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Gn(e,t){if(!A(e,"scrollCursorIntoView")){var n=e.display,i=n.sizer.getBoundingClientRect(),o=null;if(t.top+i.top<0?o=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!xa){var a=r("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Pt(e.display))+"px;\n height: "+(t.bottom-t.top+Vt(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(a),a.scrollIntoView(o),e.display.lineSpace.removeChild(a)}}}function Qn(e,t,n,r){null==r&&(r=0);var i;e.options.lineWrapping||t!=n||(t=t.ch?ue(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?ue(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,u=sn(e,t),l=n&&n!=t?sn(e,n):u;i={left:Math.min(u.left,l.left),top:Math.min(u.top,l.top)-r,right:Math.max(u.left,l.left),bottom:Math.max(u.bottom,l.bottom)+r};var s=Yn(e,i),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=s.scrollTop&&(nr(e,s.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=s.scrollLeft&&(ir(e,s.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function Wn(e,t){var n=Yn(e,t);null!=n.scrollTop&&nr(e,n.scrollTop),null!=n.scrollLeft&&ir(e,n.scrollLeft)}function Yn(e,t){var n=e.display,r=bn(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Bt(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var u=e.doc.height+Mt(n),l=t.topu-r;if(t.topi+o){var c=Math.min(t.top,(s?u:t.bottom)-o);c!=i&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Ut(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.leftp+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Jn(e,t){null!=t&&(er(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function $n(e){er(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Xn(e,t,n){null==t&&null==n||er(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Zn(e,t){er(e),e.curOp.scrollToPos=t}function er(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;tr(e,cn(e,t.from),cn(e,t.to),t.margin)}}function tr(e,t,n,r){var i=Yn(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});Xn(e,i.scrollLeft,i.scrollTop)}function nr(e,t){Math.abs(e.doc.scrollTop-t)<2||(ma||Cr(e,{top:t}),rr(e,t,!0),ma&&Cr(e),Er(e,100))}function rr(e,t,n){t=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 ir(e,t,n,r){t=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,Ar(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function or(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Mt(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+Vt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function ar(e,t){t||(t=or(e));var n=e.display.barWidth,r=e.display.barHeight;ur(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&zn(e),ur(e,or(e)),n=e.display.barWidth,r=e.display.barHeight}function ur(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function lr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Ra(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Tu[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),eu(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?ir(e,t):nr(e,t)},e),e.display.scrollbars.addClass&&u(e.display.wrapper,e.display.scrollbars.addClass)}function sr(e){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:++_u},yt(e.curOp)}function cr(e){var t=e.curOp;t&&bt(t,function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Su(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function dr(e){e.updatedDisplay=e.mustUpdate&&Sr(e.cm,e.update)}function hr(e){var t=e.cm,n=t.display;e.updatedDisplay&&zn(t),e.barMeasure=or(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Kt(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+Vt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Ut(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function mr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=be(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,u=o.text.length>e.options.maxHighlightLength?J(t.mode,r.state):null,l=ye(e,o,r,!0);u&&(r.state=u),o.styles=l.styles;var s=o.styleClasses,c=l.classes;c?o.styleClasses=c:s&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||s!=c&&(!s||!c||s.bgClass!=c.bgClass||s.textClass!=c.textClass),p=0;!f&&pn)return Er(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&yr(e,function(){for(var t=0;t=r.viewFrom&&n.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==An(e))return!1;Ir(e)&&(Nn(e),n.dims=En(e));var o=i.first+i.size,a=Math.max(n.visible.from-e.options.viewportMargin,i.first),u=Math.min(o,n.visible.to+e.options.viewportMargin);r.viewFromu&&r.viewTo-u<20&&(u=Math.min(o,r.viewTo)),hu&&(a=Xe(e.doc,a),u=Ze(e.doc,u));var l=a!=r.viewFrom||u!=r.viewTo||r.lastWrapHeight!=n.wrapperHeight||r.lastWrapWidth!=n.wrapperWidth;Dn(e,a,u),r.viewOffset=nt(Z(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var s=An(e);if(!l&&0==s&&!n.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=Tr(e);return s>4&&(r.lineDiv.style.display="none"),Nr(e,r.updateLineNumbers,n.dims),s>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,_r(c),t(r.cursorDiv),t(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,l&&(r.lastWrapHeight=n.wrapperHeight,r.lastWrapWidth=n.wrapperWidth,Er(e,400)),r.updateLineNumbers=null,!0}function xr(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Ut(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Mt(e.display)-Bt(e),n.top)}),t.visible=Kn(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Sr(e,t);r=!1){zn(e);var i=or(e);In(e),ar(e,i),Dr(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 Cr(e,t){var n=new Su(e,t);if(Sr(e,n)){zn(e),xr(e,n);var r=or(e);In(e),ar(e,r),Dr(e,r),n.finish()}}function Nr(e,n,r){function i(t){var n=t.nextSibling;return Ea&&Da&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var o=e.display,a=e.options.lineNumbers,u=o.lineDiv,l=u.firstChild,s=o.view,c=o.viewFrom,f=0;f-1&&(h=!1),kt(e,d,c,r)),h&&(t(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(ae(e.options,c)))),l=d.node.nextSibling}else{var m=jt(e,d,c,r);u.insertBefore(m,l)}c+=d.size}for(;l;)l=i(l)}function jr(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Dr(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+Vt(e)+"px"}function Ar(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=kn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;aa.clientWidth,l=a.scrollHeight>a.clientHeight;if(r&&u||i&&l){if(i&&Da&&Ea)e:for(var s=t.target,c=o.view;s!=a;s=s.parentNode)for(var f=0;f0:l>=0){var s=pe(u.from(),a.from()),c=fe(u.to(),a.to()),f=u.empty()?a.from()==a.head:u.from()==u.head;o<=n&&--n,t.splice(--o,2,new ju(f?c:s,f?s:c))}}return new Nu(t,n)}function qr(e,t){return new Nu([new ju(e,t||e)],0)}function zr(e){return e.text?ue(e.from.line+e.text.length-1,m(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Hr(e,t){if(le(e,t.from)<0)return e;if(le(e,t.to)<=0)return zr(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+=zr(t).ch-t.to.ch),ue(n,r)}function Kr(e,t){for(var n=[],r=0;r1&&e.remove(u.line+1,h-1),e.insert(u.line+1,g)}wt(e,"change",e,t)}function Xr(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),m(e.done)):void 0}function ai(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,u=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>u-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=oi(i,i.lastOp==r)))a=m(o.changes),0==le(t.from,t.to)&&0==le(t.from,a.to)?a.to=zr(t):o.changes.push(ri(e,t));else{var l=m(i.done);for(l&&l.ranges||si(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=u,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||D(e,"historyAdded")}function ui(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)}function li(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||ui(e,o,m(i.done),t))?i.done[i.done.length-1]=t:si(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&ii(i.undone)}function si(e,t){var n=m(t);n&&n.ranges&&n.equals(e)||t.push(e)}function ci(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 fi(e){if(!e)return null;for(var t,n=0;n-1&&(m(u)[f]=s[f],delete s[f])}}}return r}function mi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=le(t,i)<0;o!=le(n,i)<0?(i=t,t=n):o!=le(t,n)<0&&(t=n)}return new ju(i,t)}return new ju(n||t,t)}function vi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),ki(e,new Nu([mi(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=t.ch:u.to>t.ch))){if(i&&(D(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:s)&&(f=Ni(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=le(f,n))&&(r<0?p<0:p>0))return xi(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?s:c)&&(d=Ni(e,d,r,d.line==t.line?o:null)),d?xi(e,d,t,r,i):null}}return t}function Ci(e,t,n,r,i){var o=r||1,a=xi(e,t,n,o,i)||!i&&xi(e,t,n,o,!0)||xi(e,t,n,-o,i)||!i&&xi(e,t,n,-o,!0);return a||(e.cantEdit=!0,ue(e.first,0))}function Ni(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?he(e,ue(t.line-1)):null:n>0&&t.ch==(r||Z(e,t.line)).text.length?t.line=0;--i)Ii(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Ii(e,t)}}function Ii(e,t){if(1!=t.text.length||""!=t.text[0]||0!=le(t.from,t.to)){var n=Kr(e,t);ai(e,t,n,e.cm?e.cm.curOp.id:NaN),Pi(e,t,n,Pe(e,t));var r=[];Xr(e,function(e,n){n||-1!=p(r,e.history)||(Bi(e.history,t),r.push(e.history)),Pi(e,t,null,Pe(e,t))})}}function Li(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,u="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,s=0;s=0;--d){var h=function(n){var r=i.changes[n];if(r.origin=t,f&&!Di(e,r,!1))return u.length=0,{};c.push(ri(e,r));var o=n?Kr(e,r):m(u);Pi(e,r,o,di(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:zr(r)});var a=[];Xr(e,function(e,t){t||-1!=p(a,e.history)||(Bi(e.history,r),a.push(e.history)),Pi(e,r,null,di(e,r))})}(d);if(h)return h.v}}}}function Fi(e,t){if(0!=t&&(e.first+=t,e.sel=new Nu(v(e.sel.ranges,function(e){return new ju(ue(e.anchor.line+t,e.anchor.ch),ue(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){xn(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:ue(o,Z(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=ee(e,t.from,t.to),n||(n=Kr(e,t)),e.cm?Mi(e.cm,t,r):$r(e,t,r),Oi(e,n,Ka)}}function Mi(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,u=!1,l=o.line;e.options.lineWrapping||(l=re(Ye(Z(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return u=!0,!0})),r.sel.contains(t.from,t.to)>-1&&I(e),$r(r,t,n,On(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=rt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,u=!1)}),u&&(e.curOp.updateMaxLine=!0)),xe(r,o.line),Er(e,400);var s=t.text.length-(a.line-o.line)-1;t.full?xn(e):o.line!=a.line||1!=t.text.length||Jr(e.doc,t)?xn(e,o.line,a.line+1,s):Cn(e,o.line,"text");var c=L(e,"changes"),f=L(e,"change");if(f||c){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&wt(e,"change",e,p),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}function Ri(e,t,n,r,i){var o;r||(r=n),le(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Ai(e,{from:n,to:r,text:t,origin:i})}function Vi(e,t,n,r){n0||0==u&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=i("span",[a.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(We(e,t.line,t,n,a)||t.line!=n.line&&We(e,n.line,t,n,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ne()}a.addToHistory&&ai(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,s=t.line,f=e.cm;if(e.iter(s,n.line+1,function(e){f&&a.collapsed&&!f.options.lineWrapping&&Ye(e)==f.display.maxLine&&(l=!0),a.collapsed&&s!=t.line&&ne(e,0),Ie(e,new je(a,s==t.line?t.ch:null,s==n.line?n.ch:null)),++s}),a.collapsed&&e.iter(t.line,n.line+1,function(t){et(e,t)&&ne(t,0)}),a.clearOnEnter&&eu(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(Ce(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),a.collapsed&&(a.id=++Au,a.atomic=!0),f){if(l&&(f.curOp.updateMaxLine=!0),a.collapsed)xn(f,t.line,n.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var p=t.line;p<=n.line;p++)Cn(f,p,"text");a.atomic&&_i(f.doc),wt(f,"markerAdded",f,a)}return a}function Wi(e,t,n,r,i){r=c(r),r.shared=!1;var o=[Qi(e,t,n,r,i)],a=o[0],u=r.widgetNode;return Xr(e,function(e){u&&(r.widgetNode=u.cloneNode(!0)),o.push(Qi(e,he(e,t),he(e,n),r,i));for(var l=0;l-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var l=e.dataTransfer.getData("Text");if(l){var s;if(t.state.draggingText&&!t.state.draggingText.copy&&(s=t.listSelections()),Oi(t.doc,qr(n,n)),s)for(var c=0;c=0;t--)Ri(e.doc,"",r[t].from,r[t].to,"+delete");$n(e)})}function mo(e,t,n){var r=T(e.text,t+n,n);return r<0||r>e.text.length?null:r}function vo(e,t,n){var r=mo(e,t.ch,n);return null==r?null:new ue(t.line,r,n<0?"after":"before")}function yo(e,t,n,r,i){if(e){var o=C(n,t.doc.direction);if(o){var a,u=i<0?m(o):o[0],l=i<0==(1==u.level),s=l?"after":"before";if(u.level>0||"rtl"==t.doc.direction){var c=Qt(t,n);a=i<0?n.text.length-1:0;var f=Wt(t,c,a).top;a=_(function(e){return Wt(t,c,e).top==f},i<0==(1==u.level)?u.from:u.to-1,a),"before"==s&&(a=mo(n,a,1))}else a=i<0?u.to:u.from;return new ue(r,a,s)}}return new ue(r,i<0?n.text.length:0,i<0?"before":"after")}function go(e,t,n,r){var i=C(t,e.doc.direction);if(!i)return vo(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=x(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=a.from&&p>=c.begin)){var d=f?"before":"after";return new ue(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new ue(n.line,l(e,1),"before"):new ue(n.line,e,"after")};e>=0&&e0==(1!=a.level),s=u?r.begin:l(r.end,-1);if(a.from<=s&&s0?c.end:l(c.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,s(v)))?null:m}function bo(e,t){var n=Z(e.doc,t),r=Ye(n);return r!=n&&(t=re(r)),yo(!0,e,r,t,1)}function wo(e,t){var n=Z(e.doc,t),r=Je(n);return r!=n&&(t=re(r)),yo(!0,e,n,t,-1)}function Eo(e,t){var n=bo(e,t.line),r=Z(e.doc,n.line),i=C(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return ue(n.line,a?0:o,n.sticky)}return n}function ko(e,t,n){if("string"==typeof t&&!(t=Hu[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)!=Ha}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function Oo(e,t,n){for(var r=0;r-1&&(le((i=u.ranges[i]).from(),t)<0||t.xRel>0)&&(le(i.to(),t)>0||t.xRel<0)?Mo(e,r,t,o):Vo(e,r,t,o)}function Mo(e,t,n,r){var i=e.display,o=!1,a=gr(e,function(t){Ea&&(i.scroller.draggable=!1),e.state.draggingText=!1,j(i.wrapper.ownerDocument,"mouseup",a),j(i.wrapper.ownerDocument,"mousemove",u),j(i.scroller,"dragstart",l),j(i.scroller,"drop",a),o||(P(t),r.addNew||vi(e.doc,n,null,null,r.extend),Ea||ba&&9==wa?setTimeout(function(){i.wrapper.ownerDocument.body.focus(),i.input.focus()},20):i.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},l=function(){return o=!0};Ea&&(i.scroller.draggable=!0),e.state.draggingText=a,a.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),eu(i.wrapper.ownerDocument,"mouseup",a),eu(i.wrapper.ownerDocument,"mousemove",u),eu(i.scroller,"dragstart",l),eu(i.scroller,"drop",a),Un(e),setTimeout(function(){return i.input.focus()},20)}function Ro(e,t,n){if("char"==n)return new ju(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ju(ue(t.line,0),he(e.doc,ue(t.line+1,0)));var r=n(e,t);return new ju(r.from,r.to)}function Vo(e,t,n,r){function i(t){if(0!=le(y,t))if(y=t,"rectangle"==r.unit){for(var i=[],o=e.options.tabSize,a=f(Z(s,n.line).text,n.ch,o),u=f(Z(s,t.line).text,t.ch,o),l=Math.min(a,u),m=Math.max(a,u),v=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));v<=g;v++){var b=Z(s,v).text,w=d(b,l,o);l==m?i.push(new ju(ue(v,w),ue(v,w))):b.length>w&&i.push(new ju(ue(v,w),ue(v,d(b,m,o))))}i.length||i.push(new ju(n,n)),ki(s,Br(e,h.ranges.slice(0,p).concat(i),p),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var E,k=c,O=Ro(e,t,r.unit),T=k.anchor;le(O.anchor,T)>0?(E=O.head,T=pe(k.from(),O.anchor)):(E=O.anchor,T=fe(k.to(),O.head));var _=h.ranges.slice(0);_[p]=Uo(e,new ju(he(s,T),E)),ki(s,Br(e,_,p),Ga)}}function o(t){var n=++b,u=_n(e,t,!0,"rectangle"==r.unit);if(u)if(0!=le(u,y)){e.curOp.focus=a(),i(u);var c=Kn(l,s);(u.line>=c.to||u.lineg.bottom?20:0;f&&setTimeout(gr(e,function(){b==n&&(l.scroller.scrollTop+=f,o(t))}),50)}}function u(t){e.state.selectingText=!1,b=1/0,t&&(P(t),l.input.focus()),j(l.wrapper.ownerDocument,"mousemove",w),j(l.wrapper.ownerDocument,"mouseup",E),s.history.lastSelOrigin=null}var l=e.display,s=e.doc;P(t);var c,p,h=s.sel,m=h.ranges;if(r.addNew&&!r.extend?(p=s.sel.contains(n),c=p>-1?m[p]:new ju(n,n)):(c=s.sel.primary(),p=s.sel.primIndex),"rectangle"==r.unit)r.addNew||(c=new ju(n,n)),n=_n(e,t,!0,!0),p=-1;else{var v=Ro(e,n,r.unit);c=r.extend?mi(c,v.anchor,v.head,r.extend):v}r.addNew?-1==p?(p=m.length,ki(s,Br(e,m.concat([c]),p),{scroll:!1,origin:"*mouse"})):m.length>1&&m[p].empty()&&"char"==r.unit&&!r.extend?(ki(s,Br(e,m.slice(0,p).concat(m.slice(p+1)),0),{scroll:!1,origin:"*mouse"}),h=s.sel):gi(s,p,c,Ga):(p=0,ki(s,new Nu([c],0),Ga),h=s.sel);var y=n,g=l.wrapper.getBoundingClientRect(),b=0,w=gr(e,function(e){0!==e.buttons&&B(e)?o(e):u(e)}),E=gr(e,u);e.state.selectingText=E,eu(l.wrapper.ownerDocument,"mousemove",w),eu(l.wrapper.ownerDocument,"mouseup",E)}function Uo(e,t){var n=t.anchor,r=t.head,i=Z(e.doc,n.line);if(0==le(n,r)&&n.sticky==r.sticky)return t;var o=C(i);if(!o)return t;var a=x(o,n.ch,n.sticky),u=o[a];if(u.from!=n.ch&&u.to!=n.ch)return t;var l=a+(u.from==n.ch==(1!=u.level)?0:1);if(0==l||l==o.length)return t;var s;if(r.line!=n.line)s=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=x(o,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==u.level?-1:1);s=c==l-1||c==l?f<0:f>0}var p=o[l+(s?-1:0)],d=s==(1==p.level),h=d?p.from:p.to,m=d?"after":"before";return n.ch==h&&n.sticky==m?t:new ju(new ue(n.line,h,m),r)}function Bo(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&P(t);var a=e.display,u=a.lineDiv.getBoundingClientRect();if(o>u.bottom||!L(e,n))return R(t);o-=u.top-a.viewOffset;for(var l=0;l=i){return D(e,n,e,ie(e.doc,o),e.display.gutterSpecs[l].className,t),R(t)}}}function qo(e,t){return Bo(e,t,"gutterClick",!0)}function zo(e,t){Ft(e.display,t)||Ho(e,t)||A(e,t,"contextmenu")||Ma||e.display.input.onContextMenu(t)}function Ho(e,t){return!!L(e,"gutterContextMenu")&&Bo(e,t,"gutterContextMenu",!1)}function Ko(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),tn(e)}function Go(e,t,n){if(!t!=!(n&&n!=Ju)){var r=e.display.dragFunctions,i=t?eu:j;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 Qo(e){e.options.lineWrapping?(u(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ra(e.display.wrapper,"CodeMirror-wrap"),it(e)),Tn(e),xn(e),tn(e),setTimeout(function(){return ar(e)},100)}function Wo(e,t){var n=this;if(!(this instanceof Wo))return new Wo(e,t);this.options=t=t?c(t):{},c($u,t,!1);var r=t.value;"string"==typeof r?r=new Pu(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Wo.inputStyles[t.inputStyle](this),o=this.display=new Mr(e,r,i,t);o.wrapper.CodeMirror=this,Ko(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),lr(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 Ua,keySeq:null,specialChars:null},t.autofocus&&!ja&&o.input.focus(),ba&&wa<11&&setTimeout(function(){return n.display.input.reset(!0)},20),Yo(this),ro(),sr(this),this.curOp.forceUpdate=!0,Zr(this,r),t.autofocus&&!ja||this.hasFocus()?setTimeout(s(Bn,this),20):qn(this);for(var a in Xu)Xu.hasOwnProperty(a)&&Xu[a](n,t[a],Ju);Ir(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}var i=e.display;eu(i.scroller,"mousedown",gr(e,Io)),ba&&wa<11?eu(i.scroller,"dblclick",gr(e,function(t){if(!A(e,t)){var n=_n(e,t);if(n&&!qo(e,t)&&!Ft(e.display,t)){P(t);var r=e.findWordAt(n);vi(e.doc,r.anchor,r.head)}}})):eu(i.scroller,"dblclick",function(t){return A(e,t)||P(t)}),eu(i.scroller,"contextmenu",function(t){return zo(e,t)});var o,a={end:0};eu(i.scroller,"touchstart",function(t){if(!A(e,t)&&!n(t)&&!qo(e,t)){i.input.ensurePolled(),clearTimeout(o);var r=+new Date;i.activeTouch={start:r,moved:!1,prev:r-a.end<=300?a:null},1==t.touches.length&&(i.activeTouch.left=t.touches[0].pageX,i.activeTouch.top=t.touches[0].pageY)}}),eu(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),eu(i.scroller,"touchend",function(n){var o=i.activeTouch;if(o&&!Ft(i,n)&&null!=o.left&&!o.moved&&new Date-o.start<300){var a,u=e.coordsChar(i.activeTouch,"page");a=!o.prev||r(o,o.prev)?new ju(u,u):!o.prev.prev||r(o,o.prev.prev)?e.findWordAt(u):new ju(ue(u.line,0),he(e.doc,ue(u.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),P(n)}t()}),eu(i.scroller,"touchcancel",t),eu(i.scroller,"scroll",function(){i.scroller.clientHeight&&(nr(e,i.scroller.scrollTop),ir(e,i.scroller.scrollLeft,!0),D(e,"scroll",e))}),eu(i.scroller,"mousewheel",function(t){return Ur(e,t)}),eu(i.scroller,"DOMMouseScroll",function(t){return Ur(e,t)}),eu(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(t){A(e,t)||V(t)},over:function(t){A(e,t)||(eo(e,t),V(t))},start:function(t){return Zi(e,t)},drop:gr(e,Xi),leave:function(t){A(e,t)||to(e)}};var u=i.input.getField();eu(u,"keyup",function(t){return jo.call(e,t)}),eu(u,"keydown",gr(e,Co)),eu(u,"keypress",gr(e,Do)),eu(u,"focus",function(t){return Bn(e,t)}),eu(u,"blur",function(t){return qn(e,t)})}function Jo(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=be(e,t).state:n="prev");var a=e.options.tabSize,u=Z(o,t),l=f(u.text,null,a);u.stateAfter&&(u.stateAfter=null);var s,c=u.text.match(/^\s*/)[0];if(r||/\S/.test(u.text)){if("smart"==n&&((s=o.mode.indent(i,u.text.slice(c.length),u.text))==Ha||s>150)){if(!r)return;n="prev"}}else s=0,n="not";"prev"==n?s=t>o.first?f(Z(o,t-1).text,null,a):0:"add"==n?s=l+e.options.indentUnit:"subtract"==n?s=l-e.options.indentUnit:"number"==typeof n&&(s=l+n),s=Math.max(0,s);var p="",d=0;if(e.options.indentWithTabs)for(var m=Math.floor(s/a);m;--m)d+=a,p+="\t";if(da,l=nu(t),s=null;if(u&&r.ranges.length>1)if(el&&el.text.join("\n")==t){if(r.ranges.length%el.text.length==0){s=[];for(var c=0;c=0;p--){var d=r.ranges[p],h=d.from(),y=d.to();d.empty()&&(n&&n>0?h=ue(h.line,h.ch-n):e.state.overwrite&&!u?y=ue(y.line,Math.min(Z(o,y.line).text.length,y.ch+m(l).length)):u&&el&&el.lineWise&&el.text.join("\n")==t&&(h=y=ue(h.line,0)));var g={from:h,to:y,text:s?s[p%s.length]:l,origin:i||(u?"paste":e.state.cutIncoming>a?"cut":"+input")};Ai(e.doc,g),wt(e,"inputRead",e,g)}t&&!u&&ea(e,t),$n(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Zo(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||yr(t,function(){return Xo(t,n,0,null,"paste")}),!0}function ea(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 u=0;u-1){a=Jo(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Z(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Jo(e,i.head.line,"smart"));a&&wt(e,"electricInput",e,i.head.line)}}}function ta(e){for(var t=[],n=[],r=0;r=e.first+e.size)&&(t=new ue(r,t.ch,t.sticky),s=Z(e,r))}function a(r){var a;if(null==(a=i?go(e.cm,s,t,n):vo(s,t,n))){if(r||!o())return!1;t=yo(i,e.cm,s,t.line,n)}else t=a;return!0}var u=t,l=n,s=Z(e,t.line);if("char"==r)a();else if("column"==r)a(!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)||a(!d);d=!1){var h=s.text.charAt(t.ch)||"\n",m=E(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,a(),t.sticky="after");break}if(m&&(c=m),n>0&&!a(!d))break}var v=Ci(e,t,u,l,!0);return se(u,v)&&(v.hitSide=!0),v}function oa(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(u-.5*bn(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var s;s=pn(e,a,i),s.outside;){if(n<0?i<=0:i>=o.height){s.hitSide=!0;break}i+=5*n}return s}function aa(e,t){var n=Gt(e,t.line);if(!n||n.hidden)return null;var r=Z(e.doc,t.line),i=zt(n,r,t.line),o=C(r,e.doc.direction),a="left";if(o){a=x(o,t.ch)%2?"right":"left"}var u=Yt(i.map,t.ch,a);return u.offset="right"==u.collapse?u.end:u.start,u}function ua(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function la(e,t){return t&&(e.bad=!0),e}function sa(e,t,n,r,i){function o(e){return function(t){return t.id==e}}function a(){c&&(s+=f,p&&(s+=f),c=p=!1)}function u(e){e&&(a(),s+=e)}function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void u(n);var s,d=t.getAttribute("cm-marker");if(d){var h=e.findMarks(ue(r,0),ue(i+1,0),o(+d));return void(h.length&&(s=h[0].find(0))&&u(ee(e.doc,s.from,s.to).join(f)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&a();for(var v=0;v=15&&(Ta=!1,Ea=!0);var Fa,Pa=Da&&(ka||Ta&&(null==La||La<12.11)),Ma=ma||ba&&wa>=9,Ra=function(t,n){var r=t.className,i=e(n).exec(r);if(i){var o=r.slice(i.index+i[0].length);t.className=r.slice(0,i.index)+(o?i[1]+o:"")}};Fa=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 Va=function(e){e.select()};Ca?Va=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ba&&(Va=function(e){try{e.select()}catch(e){}});var Ua=function(){this.id=null};Ua.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var Ba,qa,za=30,Ha={toString:function(){return"CodeMirror.Pass"}},Ka={scroll:!1},Ga={origin:"*mouse"},Qa={origin:"+move"},Wa=[""],Ya=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,Ja=/[\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]/,$a=null,Xa=function(){function e(e){return e<=247?n.charAt(e):1424<=e&&e<=1524?"R":1536<=e&&e<=1785?r.charAt(e-1536):1774<=e&&e<=2220?"r":8192<=e&&e<=8203?"w":8204==e?"b":"L"}function t(e,t,n){this.level=e,this.from=t,this.to=n}var n="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",i=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,a=/[LRr]/,u=/[Lb1n]/,l=/[1n]/;return function(n,r){var s="ltr"==r?"L":"R";if(0==n.length||"ltr"==r&&!i.test(n))return!1;for(var c=n.length,f=[],p=0;p=this.string.length},su.prototype.sol=function(){return this.pos==this.lineStart},su.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},su.prototype.next=function(){if(this.post},su.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t},su.prototype.skipToEnd=function(){this.pos=this.string.length},su.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},su.prototype.backUp=function(e){this.pos-=e},su.prototype.column=function(){return this.lastColumnPos0?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},su.prototype.current=function(){return this.string.slice(this.start,this.pos)},su.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},su.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},su.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var cu=function(e,t){this.state=e,this.lookAhead=t},fu=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};fu.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},fu.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},fu.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},fu.fromSaved=function(e,t,n){return t instanceof cu?new fu(e,J(e.mode,t.state),n,t.lookAhead):new fu(e,J(e.mode,t),n)},fu.prototype.save=function(e){var t=!1!==e?J(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new cu(t,this.maxLookAhead):t};var pu=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},du=!1,hu=!1,mu=function(e,t,n){this.text=e,Ue(this,t),this.height=n?n(this):1};mu.prototype.lineNo=function(){return re(this)},F(mu);var vu,yu={},gu={},bu=null,wu=null,Eu={left:0,right:0,top:0,bottom:0},ku=function(e,t,n){this.cm=n;var i=this.vert=r("div",[r("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=r("div",[r("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=o.tabIndex=-1,e(i),e(o),eu(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),eu(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ba&&wa<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ku.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}},ku.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ku.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ku.prototype.zeroWidthHack=function(){var e=Da&&!Sa?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ua,this.disableVert=new Ua},ku.prototype.enableZeroWidthBar=function(e,t,n){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)}e.style.pointerEvents="auto",t.set(1e3,r)},ku.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ou=function(){};Ou.prototype.update=function(){return{bottom:0,right:0}},Ou.prototype.setScrollLeft=function(){},Ou.prototype.setScrollTop=function(){},Ou.prototype.clear=function(){};var Tu={native:ku,null:Ou},_u=0,Su=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Kn(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Ut(e),this.force=n,this.dims=En(e),this.events=[]};Su.prototype.signal=function(e,t){L(e,t)&&this.events.push(arguments)},Su.prototype.finish=function(){for(var e=this,t=0;t=0&&le(e,i.to())<=0)return r}return-1};var ju=function(e,t){this.anchor=e,this.head=t};ju.prototype.from=function(){return pe(this.anchor,this.head)},ju.prototype.to=function(){return fe(this.anchor,this.head)},ju.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},zi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=this,r=e,i=e+t;r1||!(this.children[0]instanceof zi))){var l=[];this.collapse(l),this.children=[new zi(l)],this.children[0].parent=this}},collapse:function(e){for(var t=this,n=0;n50){for(var u=o.lines.length%25+25,l=u;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=this,i=0;it.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&xn(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&_i(t.doc)),t&&wt(t,"markerCleared",t,this,i,o),n&&cr(t),this.parent&&this.parent.clear()}},Iu.prototype.find=function(e,t){var n=this;null==e&&"bookmark"==this.type&&(e=1);for(var r,i,o=0;o=0;s--)Ai(r,i[s]);l?Ei(this,l):this.cm&&$n(this.cm)}),undo:wr(function(){Li(this,"undo")}),redo:wr(function(){Li(this,"redo")}),undoSelection:wr(function(){Li(this,"undo",!0)}),redoSelection:wr(function(){Li(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.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=he(this,e),t=he(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 u=0;u=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;re)return t=e,!0;e-=o,++n}),he(this,ue(n,t))},indexFromPos:function(e){e=he(this,e);var t=e.ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)i=new ue(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),ue(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Z(e.doc,i.line-1).text;a&&(i=new ue(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ue(i.line-1,a.length-1),i,"+transpose"))}n.push(new ju(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return yr(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;re&&0==le(t,this.pos)&&n==this.button};var Wu,Yu,Ju={toString:function(){return"CodeMirror.Init"}},$u={},Xu={};Wo.defaults=$u,Wo.optionHandlers=Xu;var Zu=[];Wo.defineInitHook=function(e){return Zu.push(e)};var el=null,tl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ua,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};tl.prototype.init=function(e){function t(e){if(!A(i,e)){if(i.somethingSelected())$o({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);$o({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,Ka),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=el.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var a=ra(),u=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),u.value=el.text.join("\n");var l=document.activeElement;Va(u),setTimeout(function(){i.display.lineSpace.removeChild(a),l.focus(),l==o&&r.showPrimarySelection()},50)}}var n=this,r=this,i=r.cm,o=r.div=e.lineDiv;na(o,i.options.spellcheck,i.options.autocorrect,i.options.autocapitalize),eu(o,"paste",function(e){A(i,e)||Zo(e,i)||wa<=11&&setTimeout(gr(i,function(){return n.updateFromDOM()}),20)}),eu(o,"compositionstart",function(e){n.composing={data:e.data,done:!1}}),eu(o,"compositionupdate",function(e){n.composing||(n.composing={data:e.data,done:!1})}),eu(o,"compositionend",function(e){n.composing&&(e.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),eu(o,"touchstart",function(){return r.forceCompositionEnd()}),eu(o,"input",function(){n.composing||n.readFromDOMSoon()}),eu(o,"copy",t),eu(o,"cut",t)},tl.prototype.prepareSelection=function(){var e=Ln(this.cm,!1);return e.focus=this.cm.state.focused,e},tl.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},tl.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},tl.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line=t.display.viewFrom&&aa(t,r)||{node:u[0].measure.map[2],offset:0},s=i.linee.firstLine()&&(r=ue(r.line-1,Z(e.doc,r.line-1).length)),i.ch==Z(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,a,u;r.line==t.viewFrom||0==(o=Sn(e,r.line))?(a=re(t.view[0].line),u=t.view[0].node):(a=re(t.view[o].line),u=t.view[o-1].node.nextSibling);var l,s,c=Sn(e,i.line);if(c==t.view.length-1?(l=t.viewTo-1,s=t.lineDiv.lastChild):(l=re(t.view[c+1].line)-1,s=t.view[c+1].node.previousSibling),!u)return!1;for(var f=e.doc.splitLines(sa(e,u,s,a,l)),p=ee(e.doc,ue(a,0),ue(l,Z(e.doc,l).text.length));f.length>1&&p.length>1;)if(m(f)==m(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),a++}for(var d=0,h=0,v=f[0],y=p[0],g=Math.min(v.length,y.length);dr.ch&&b.charCodeAt(b.length-h-1)==w.charCodeAt(w.length-h-1);)d--,h++;f[f.length-1]=b.slice(0,b.length-h).replace(/^\u200b+/,""),f[0]=f[0].slice(d).replace(/\u200b+$/,"");var k=ue(a,d),O=ue(l,p.length?m(p).length-h:0);return f.length>1||f[0]||le(k,O)?(Ri(e.doc,f,k,O,"+input"),!0):void 0},tl.prototype.ensurePolled=function(){this.forceCompositionEnd()},tl.prototype.reset=function(){this.forceCompositionEnd()},tl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},tl.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))},tl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||yr(this.cm,function(){return xn(e.cm)})},tl.prototype.setUneditable=function(e){e.contentEditable="false"},tl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||gr(this.cm,Xo)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},tl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},tl.prototype.onContextMenu=function(){},tl.prototype.resetPosition=function(){},tl.prototype.needsContentAttribute=!0;var nl=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Ua,this.hasSelection=!1,this.composing=null};nl.prototype.init=function(e){function t(e){if(!A(i,e)){if(i.somethingSelected())$o({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=ta(i);$o({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Ka):(r.prevInput="",o.value=t.text.join("\n"),Va(o))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}var n=this,r=this,i=this.cm;this.createField(e);var o=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),Ca&&(o.style.width="0px"),eu(o,"input",function(){ba&&wa>=9&&n.hasSelection&&(n.hasSelection=null),r.poll()}),eu(o,"paste",function(e){A(i,e)||Zo(e,i)||(i.state.pasteIncoming=+new Date,r.fastPoll())}),eu(o,"cut",t),eu(o,"copy",t),eu(e.scroller,"paste",function(t){if(!Ft(e,t)&&!A(i,t)){if(!o.dispatchEvent)return i.state.pasteIncoming=+new Date,void r.focus();var n=new Event("paste");n.clipboardData=t.clipboardData,o.dispatchEvent(n)}}),eu(e.lineSpace,"selectstart",function(t){Ft(e,t)||P(t)}),eu(o,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),eu(o,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},nl.prototype.createField=function(e){this.wrapper=ra(),this.textarea=this.wrapper.firstChild},nl.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Ln(e);if(e.options.moveInputWithCursor){var i=sn(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},nl.prototype.showSelection=function(e){var t=this.cm,r=t.display;n(r.cursorDiv,e.cursors),n(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},nl.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&&Va(this.textarea),ba&&wa>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",ba&&wa>=9&&(this.hasSelection=null))}},nl.prototype.getField=function(){return this.textarea},nl.prototype.supportsTouch=function(){return!1},nl.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!ja||a()!=this.textarea))try{this.textarea.focus()}catch(e){}},nl.prototype.blur=function(){this.textarea.blur()},nl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},nl.prototype.receivedFocus=function(){this.slowPoll()},nl.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},nl.prototype.fastPoll=function(){function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))}var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,e)},nl.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||ru(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(ba&&wa>=9&&this.hasSelection===i||Da&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,u=Math.min(r.length,i.length);a1e3||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},nl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},nl.prototype.onKeyPress=function(){ba&&wa>=9&&(this.hasSelection=null),this.fastPoll()},nl.prototype.onContextMenu=function(e){function t(){if(null!=a.selectionStart){var e=i.somethingSelected(),t="\u200b"+(e?a.value:"");a.value="\u21da",a.value=t,r.prevInput=e?"":"\u200b",a.selectionStart=1,a.selectionEnd=t.length,o.selForContextMenu=i.doc.sel}}function n(){if(r.contextMenuPending==n&&(r.contextMenuPending=!1,r.wrapper.style.cssText=c,a.style.cssText=s,ba&&wa<9&&o.scrollbars.setScrollTop(o.scroller.scrollTop=l),null!=a.selectionStart)){(!ba||ba&&wa<9)&&t();var e=0,u=function(){o.selForContextMenu==i.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"\u200b"==r.prevInput?gr(i,ji)(i):e++<10?o.detectingSelectAll=setTimeout(u,500):(o.selForContextMenu=null,o.input.reset())};o.detectingSelectAll=setTimeout(u,200)}}var r=this,i=r.cm,o=i.display,a=r.textarea;r.contextMenuPending&&r.contextMenuPending();var u=_n(i,e),l=o.scroller.scrollTop;if(u&&!Ta){i.options.resetSelectionOnContextMenu&&-1==i.doc.sel.contains(u)&&gr(i,ki)(i.doc,qr(u),Ka);var s=a.style.cssText,c=r.wrapper.style.cssText,f=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(ba?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var p;if(Ea&&(p=window.scrollY),o.input.focus(),Ea&&window.scrollTo(null,p),o.input.reset(),i.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=n,o.selForContextMenu=i.doc.sel,clearTimeout(o.detectingSelectAll),ba&&wa>=9&&t(),Ma){V(e);var d=function(){j(window,"mouseup",d),setTimeout(n,20)};eu(window,"mouseup",d)}else setTimeout(n,50)}},nl.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},nl.prototype.setUneditable=function(){},nl.prototype.needsContentAttribute=!1,function(e){function t(t,r,i,o){e.defaults[t]=r,i&&(n[t]=o?function(e,t,n){n!=Ju&&i(e,t,n)}:i)}var n=e.optionHandlers;e.defineOption=t,e.Init=Ju,t("value","",function(e,t){return e.setValue(t)},!0),t("mode",null,function(e,t){e.doc.modeOption=t,Wr(e)},!0),t("indentUnit",2,Wr,!0),t("indentWithTabs",!1),t("smartIndent",!0),t("tabSize",4,function(e){Yr(e),tn(e),xn(e)},!0),t("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(ue(r,o))}r++});for(var i=n.length-1;i>=0;i--)Ri(e.doc,t,n[i],ue(n[i].line,n[i].ch+t.length))}}),t("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ju&&e.refresh()}),t("specialCharPlaceholder",st,function(e){return e.refresh()},!0),t("electricChars",!0),t("inputStyle",ja?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),t("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),t("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),t("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),t("rtlMoveVisually",!Ia),t("wholeLineUpdateBefore",!0),t("theme","default",function(e){Ko(e),Pr(e)},!0),t("keyMap","default",function(e,t,n){var r=po(t),i=n!=Ju&&po(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),t("extraKeys",null),t("configureMouse",null),t("lineWrapping",!1,Qo,!0),t("gutters",[],function(e,t){e.display.gutterSpecs=Lr(t,e.options.lineNumbers),Pr(e)},!0),t("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?kn(e.display)+"px":"0",e.refresh()},!0),t("coverGutterNextToScrollbar",!1,function(e){return ar(e)},!0),t("scrollbarStyle","native",function(e){lr(e),ar(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),t("lineNumbers",!1,function(e,t){e.display.gutterSpecs=Lr(e.options.gutters,t),Pr(e)},!0),t("firstLineNumber",1,Pr,!0),t("lineNumberFormatter",function(e){return e},Pr,!0),t("showCursorWhenSelecting",!1,In,!0),t("resetSelectionOnContextMenu",!0),t("lineWiseCopyCut",!0),t("pasteLinesPerSelection",!0),t("selectionsMayTouch",!1),t("readOnly",!1,function(e,t){"nocursor"==t&&(qn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),t("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),t("dragDrop",!0,Go),t("allowDropFileTypes",null),t("cursorBlinkRate",530),t("cursorScrollMargin",0),t("cursorHeight",1,In,!0),t("singleCursorHeightPerLine",!0,In,!0),t("workTime",100),t("workDelay",100),t("flattenSpans",!0,Yr,!0),t("addModeClass",!1,Yr,!0),t("pollInterval",100),t("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),t("historyEventDelay",1250),t("viewportMargin",10,function(e){return e.refresh()},!0),t("maxHighlightLength",1e4,Yr,!0),t("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),t("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),t("autofocus",null),t("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),t("phrases",null)}(Wo),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)&&gr(this,t[e])(this,n,i),D(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"](po(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nr&&(Jo(t,o.head.line,e,!0),r=o.head.line,i==t.doc.sel.primIndex&&$n(t));else{var a=o.from(),u=o.to(),l=Math.max(r,a.line);r=Math.min(t.lastLine(),u.line-(u.ch?0:1))+1;for(var s=l;s0&&gi(t.doc,i,new ju(a,c[i].to()),Ka)}}}),getTokenAt:function(e,t){return Oe(this,e,t)},getLineTokens:function(e,t){return Oe(this,ue(e),t,!0)},getTokenTypeAt:function(e){e=he(this.doc,e);var t,n=ge(this,Z(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&&(e=o,i=!0),r=Z(this.doc,e)}else r=e;return an(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-nt(r):0)},defaultTextHeight:function(){return bn(this.display)},defaultCharWidth:function(){return wn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=sn(this,he(this.doc,e));var a=e.bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),s=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),u+t.offsetWidth>s&&(u=s-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(u=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&Wn(this,{left:u,top:a,right:u+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:br(Co),triggerOnKeyPress:br(Do),triggerOnKeyUp:jo,triggerOnMouseDown:br(Io),execCommand:function(e){if(Hu.hasOwnProperty(e))return Hu[e].call(null,this)},triggerElectric:br(function(e){ea(this,e)}),findPosH:function(e,t,n,r){var i=this,o=1;t<0&&(o=-1,t=-t);for(var a=he(this.doc,e),u=0;u0&&u(n.charAt(r-1));)--r;for(;i.5)&&Tn(this),D(this,"refresh",this)}),swapDoc:br(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Zr(this,e),tn(this),this.display.input.reset(),Xn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,wt(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}},F(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})}}(Wo);var rl="iter insert remove copy getEditor constructor".split(" ");for(var il in Pu.prototype)Pu.prototype.hasOwnProperty(il)&&p(rl,il)<0&&(Wo.prototype[il]=function(e){return function(){return e.apply(this.doc,arguments)}}(Pu.prototype[il]));return F(Pu),Wo.inputStyles={textarea:nl,contenteditable:tl},Wo.defineMode=function(e){Wo.defaults.mode||"null"==e||(Wo.defaults.mode=e),K.apply(this,arguments)},Wo.defineMIME=G,Wo.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Wo.defineMIME("text/plain","null"),Wo.defineExtension=function(e,t){Wo.prototype[e]=t},Wo.defineDocExtension=function(e,t){Pu.prototype[e]=t},Wo.fromTextArea=pa,function(e){e.off=j,e.on=eu,e.wheelEventPixels=Vr,e.Doc=Pu,e.splitLines=nu,e.countColumn=f,e.findColumn=d,e.isWordChar=w,e.Pass=Ha,e.signal=D,e.Line=mu,e.changeEnd=zr,e.scrollbarModel=Tu,e.Pos=ue,e.cmpPos=le,e.modes=au,e.mimeModes=uu,e.resolveMode=Q,e.getMode=W,e.modeExtensions=lu,e.extendMode=Y,e.copyState=J,e.startState=X,e.innerMode=$,e.commands=Hu,e.keyMap=zu,e.keyName=fo,e.isModifierKey=so,e.lookupKey=lo,e.normalizeKeyMap=uo,e.StringStream=su,e.SharedTextMarker=Lu,e.TextMarker=Iu,e.LineWidget=Du,e.e_preventDefault=P,e.e_stopPropagation=M,e.e_stop=V,e.addClass=u,e.contains=o,e.rmClass=Ra,e.keyNames=Vu}(Wo),Wo.version="5.48.2",Wo})},function(e,t,n){"use strict";function r(e){for(var t=1;t0?e:void 0}function K(e){var t=z(e.interfaces)||[];return Array.isArray(t)||Object(ue.a)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function G(e){var t=z(e.fields)||{};return Q(t)||Object(ue.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(ce.a)(t,function(t,n){Q(t)||Object(ue.a)(0,"".concat(e.name,".").concat(n," field config must be an object")),"isDeprecated"in t&&Object(ue.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null!=t.resolve&&"function"!==typeof t.resolve&&Object(ue.a)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(Object(ae.a)(t.resolve),"."));var i=t.args||{};Q(i)||Object(ue.a)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var o=Object(te.a)(i).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,astNode:n.astNode}});return r({},t,{isDeprecated:Boolean(t.deprecationReason),name:n,args:o})})}function Q(e){return Object(fe.a)(e)&&!Array.isArray(e)}function W(e){return Object(ce.a)(e,function(e){return{type:e.type,args:Y(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,description:e.description,astNode:e.astNode}})}function Y(e){return Object(se.a)(e,function(e){return e.name},function(e){return{type:e.type,defaultValue:e.defaultValue,description:e.description,astNode:e.astNode}})}function J(e){return E(e.type)&&void 0===e.defaultValue}function $(e){var t=z(e.types)||[];return Array.isArray(t)||Object(ue.a)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}function X(e,t){return Q(t)||Object(ue.a)(0,"".concat(e.name," values must be an object with value names as keys.")),Object(te.a)(t).map(function(t){var n=t[0],r=t[1];return Q(r)||Object(ue.a)(0,"".concat(e.name,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(Object(ae.a)(r),".")),"isDeprecated"in r&&Object(ue.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:r.description,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,astNode:r.astNode,value:"value"in r?r.value:n}})}function Z(e){var t=z(e.fields)||{};return Q(t)||Object(ue.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(ce.a)(t,function(t,n){return"resolve"in t&&Object(ue.a)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),r({},t,{name:n})})}function ee(e){return E(e.type)&&void 0===e.defaultValue}t.S=o,t.x=a,t.R=u,t.w=l,t.N=s,t.u=c,t.H=f,t.o=p,t.T=d,t.y=h,t.E=m,t.l=v,t.F=y,t.m=g,t.J=b,t.q=w,t.L=E,t.s=k,t.G=O,t.n=T,t.O=_,t.v=S,t.I=x,t.p=C,t.D=N,t.k=j,t.C=D,t.j=A,t.d=I,t.e=L,t.U=F,t.z=P,t.M=M,t.t=R,t.B=V,t.K=U,t.r=B,t.A=q,n.d(t,"g",function(){return he}),n.d(t,"f",function(){return me}),t.i=Y,t.P=J,n.d(t,"c",function(){return ve}),n.d(t,"h",function(){return ye}),n.d(t,"a",function(){return ge}),n.d(t,"b",function(){return be}),t.Q=ee;var te=n(27),ne=n(44),re=n(45),ie=n(164),oe=n(57),ae=n(4),ue=n(9),le=n(17),se=n(20),ce=n(87),fe=n(14),pe=n(7),de=n(88);I.prototype.toString=function(){return"["+String(this.ofType)+"]"},Object(re.a)(I),Object(ne.a)(I),L.prototype.toString=function(){return String(this.ofType)+"!"},Object(re.a)(L),Object(ne.a)(L);var he=function(){function e(e){var t=this;this.name=e.name,this.description=e.description,this.serialize=e.serialize||ie.a,this.parseValue=e.parseValue||ie.a,this.parseLiteral=e.parseLiteral||function(e){return t.parseValue(Object(de.a)(e))},this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),"string"!==typeof e.name&&Object(ue.a)(0,"Must provide name."),null!=e.serialize&&"function"!==typeof e.serialize&&Object(ue.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(ue.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,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(he),Object(ne.a)(he);var me=function(){function e(e){this.name=e.name,this.description=e.description,this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),this.isTypeOf=e.isTypeOf,this._fields=G.bind(void 0,e),this._interfaces=K.bind(void 0,e),"string"!==typeof e.name&&Object(ue.a)(0,"Must provide name."),null!=e.isTypeOf&&"function"!==typeof e.isTypeOf&&Object(ue.a)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(Object(ae.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,isTypeOf:this.isTypeOf,interfaces:this.getInterfaces(),fields:W(this.getFields()),astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(me),Object(ne.a)(me);var ve=function(){function e(e){this.name=e.name,this.description=e.description,this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),this.resolveType=e.resolveType,this._fields=G.bind(void 0,e),"string"!==typeof e.name&&Object(ue.a)(0,"Must provide name."),null!=e.resolveType&&"function"!==typeof e.resolveType&&Object(ue.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(ae.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,resolveType:this.resolveType,fields:W(this.getFields()),astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(ve),Object(ne.a)(ve);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),this.resolveType=e.resolveType,this._types=$.bind(void 0,e),"string"!==typeof e.name&&Object(ue.a)(0,"Must provide name."),null!=e.resolveType&&"function"!==typeof e.resolveType&&Object(ue.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(ae.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,resolveType:this.resolveType,types:this.getTypes(),astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(ye),Object(ne.a)(ye);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),this._values=X(this,e.values),this._valueLookup=new Map(this._values.map(function(e){return[e.value,e]})),this._nameLookup=Object(le.a)(this._values,function(e){return e.name}),"string"!==typeof e.name&&Object(ue.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===pe.Kind.ENUM){var n=this.getValue(e.value);if(n)return n.value}},t.toConfig=function(){var e=Object(se.a)(this.getValues(),function(e){return e.name},function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,astNode:e.astNode}});return{name:this.name,description:this.description,values:e,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(ge),Object(ne.a)(ge);var be=function(){function e(e){this.name=e.name,this.description=e.description,this.astNode=e.astNode,this.extensionASTNodes=H(e.extensionASTNodes),this._fields=Z.bind(void 0,e),"string"!==typeof e.name&&Object(ue.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(ce.a)(this.getFields(),function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,astNode:e.astNode}});return{name:this.name,description:this.description,fields:e,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(re.a)(be),Object(ne.a)(be)},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return E.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).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}function u(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function l(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 s(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e,t){var n=0;return o(S,t)?S[t]:35===t.charCodeAt(0)&&_.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),l(n))?s(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(k,"$1")}function p(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(T,function(e,t,n){return t||c(e,n)})}function d(e){return N[e]}function h(e){return x.test(e)?e.replace(C,d):e}function m(e){return e.replace(j,"\\$&")}function v(e){switch(e){case 9:case 32:return!0}return!1}function y(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}function g(e){return D.test(e)}function b(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}}function w(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var E=Object.prototype.hasOwnProperty,k=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,O=/&([a-z#][a-z0-9]{1,31});/gi,T=new RegExp(k.source+"|"+O.source,"gi"),_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,S=n(119),x=/[&<>"]/,C=/[&<>"]/g,N={"&":"&","<":"<",">":">",'"':"""},j=/[.?*+^$[\]\\(){}|-]/g,D=n(71);t.lib={},t.lib.mdurl=n(120),t.lib.ucmicro=n(214),t.assign=a,t.isString=i,t.has=o,t.unescapeMd=f,t.unescapeAll=p,t.isValidEntityCode=l,t.fromCodePoint=s,t.escapeHtml=h,t.arrayReplaceAt=u,t.isSpace=v,t.isWhiteSpace=y,t.isMdAsciiPunct=b,t.isPunctChar=g,t.escapeRE=m,t.normalizeReference=w},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 o(e,[])}function o(e,t){switch(r(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":a(e,t);default:return String(e)}}function a(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=s(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"===typeof i?i:o(i,n)}else if(Array.isArray(e))return l(e,n);return u(e,n)}function u(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>d?"["+c(e)+"]":"{ "+n.map(function(n){return n+": "+o(e[n],t)}).join(", ")+" }"}function l(e,t){if(0===e.length)return"[]";if(t.length>d)return"[Array]";for(var n=Math.min(p,e.length),r=e.length-n,i=[],a=0;a1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}function s(e){var t=e[String(f.a)];return"function"===typeof t?t:"function"===typeof e.inspect?e.inspect:void 0}function c(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)return n}return t}t.a=i;var f=n(86),p=10,d=2},function(e,t,n){"use strict";e.exports=n(153)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(162);n.d(t,"version",function(){return r.a}),n.d(t,"versionInfo",function(){return r.b});var i=n(163);n.d(t,"graphql",function(){return i.a}),n.d(t,"graphqlSync",function(){return i.b});var o=n(177);n.d(t,"GraphQLSchema",function(){return o.p}),n.d(t,"GraphQLDirective",function(){return o.d}),n.d(t,"GraphQLScalarType",function(){return o.o}),n.d(t,"GraphQLObjectType",function(){return o.n}),n.d(t,"GraphQLInterfaceType",function(){return o.k}),n.d(t,"GraphQLUnionType",function(){return o.s}),n.d(t,"GraphQLEnumType",function(){return o.e}),n.d(t,"GraphQLInputObjectType",function(){return o.i}),n.d(t,"GraphQLList",function(){return o.l}),n.d(t,"GraphQLNonNull",function(){return o.m}),n.d(t,"specifiedScalarTypes",function(){return o._27}),n.d(t,"GraphQLInt",function(){return o.j}),n.d(t,"GraphQLFloat",function(){return o.f}),n.d(t,"GraphQLString",function(){return o.r}),n.d(t,"GraphQLBoolean",function(){return o.b}),n.d(t,"GraphQLID",function(){return o.g}),n.d(t,"specifiedDirectives",function(){return o._26}),n.d(t,"GraphQLIncludeDirective",function(){return o.h}),n.d(t,"GraphQLSkipDirective",function(){return o.q}),n.d(t,"GraphQLDeprecatedDirective",function(){return o.c}),n.d(t,"TypeKind",function(){return o.u}),n.d(t,"DEFAULT_DEPRECATION_REASON",function(){return o.a}),n.d(t,"introspectionTypes",function(){return o._1}),n.d(t,"__Schema",function(){return o.C}),n.d(t,"__Directive",function(){return o.x}),n.d(t,"__DirectiveLocation",function(){return o.y}),n.d(t,"__Type",function(){return o.D}),n.d(t,"__Field",function(){return o.A}),n.d(t,"__InputValue",function(){return o.B}),n.d(t,"__EnumValue",function(){return o.z}),n.d(t,"__TypeKind",function(){return o.E}),n.d(t,"SchemaMetaFieldDef",function(){return o.t}),n.d(t,"TypeMetaFieldDef",function(){return o.v}),n.d(t,"TypeNameMetaFieldDef",function(){return o.w}),n.d(t,"isSchema",function(){return o._20}),n.d(t,"isDirective",function(){return o._4}),n.d(t,"isType",function(){return o._23}),n.d(t,"isScalarType",function(){return o._19}),n.d(t,"isObjectType",function(){return o._15}),n.d(t,"isInterfaceType",function(){return o._8}),n.d(t,"isUnionType",function(){return o._24}),n.d(t,"isEnumType",function(){return o._5}),n.d(t,"isInputObjectType",function(){return o._6}),n.d(t,"isListType",function(){return o._11}),n.d(t,"isNonNullType",function(){return o._13}),n.d(t,"isInputType",function(){return o._7}),n.d(t,"isOutputType",function(){return o._16}),n.d(t,"isLeafType",function(){return o._10}),n.d(t,"isCompositeType",function(){return o._3}),n.d(t,"isAbstractType",function(){return o._2}),n.d(t,"isWrappingType",function(){return o._25}),n.d(t,"isNullableType",function(){return o._14}),n.d(t,"isNamedType",function(){return o._12}),n.d(t,"isRequiredArgument",function(){return o._17}),n.d(t,"isRequiredInputField",function(){return o._18}),n.d(t,"isSpecifiedScalarType",function(){return o._22}),n.d(t,"isIntrospectionType",function(){return o._9}),n.d(t,"isSpecifiedDirective",function(){return o._21}),n.d(t,"assertSchema",function(){return o.U}),n.d(t,"assertDirective",function(){return o.H}),n.d(t,"assertType",function(){return o.V}),n.d(t,"assertScalarType",function(){return o.T}),n.d(t,"assertObjectType",function(){return o.R}),n.d(t,"assertInterfaceType",function(){return o.L}),n.d(t,"assertUnionType",function(){return o.W}),n.d(t,"assertEnumType",function(){return o.I}),n.d(t,"assertInputObjectType",function(){return o.J}),n.d(t,"assertListType",function(){return o.N}),n.d(t,"assertNonNullType",function(){return o.P}),n.d(t,"assertInputType",function(){return o.K}),n.d(t,"assertOutputType",function(){return o.S}),n.d(t,"assertLeafType",function(){return o.M}),n.d(t,"assertCompositeType",function(){return o.G}),n.d(t,"assertAbstractType",function(){return o.F}),n.d(t,"assertWrappingType",function(){return o.Y}),n.d(t,"assertNullableType",function(){return o.Q}),n.d(t,"assertNamedType",function(){return o.O}),n.d(t,"getNullableType",function(){return o._0}),n.d(t,"getNamedType",function(){return o.Z}),n.d(t,"validateSchema",function(){return o._28}),n.d(t,"assertValidSchema",function(){return o.X});var a=n(178);n.d(t,"Source",function(){return a.d}),n.d(t,"getLocation",function(){return a.g}),n.d(t,"printLocation",function(){return a.v}),n.d(t,"printSourceLocation",function(){return a.w}),n.d(t,"createLexer",function(){return a.f}),n.d(t,"TokenKind",function(){return a.e}),n.d(t,"parse",function(){return a.r}),n.d(t,"parseValue",function(){return a.t}),n.d(t,"parseType",function(){return a.s}),n.d(t,"print",function(){return a.u}),n.d(t,"visit",function(){return a.x}),n.d(t,"visitInParallel",function(){return a.y}),n.d(t,"visitWithTypeInfo",function(){return a.z}),n.d(t,"getVisitFn",function(){return a.h}),n.d(t,"BREAK",function(){return a.a}),n.d(t,"Kind",function(){return a.c}),n.d(t,"DirectiveLocation",function(){return a.b}),n.d(t,"isDefinitionNode",function(){return a.i}),n.d(t,"isExecutableDefinitionNode",function(){return a.j}),n.d(t,"isSelectionNode",function(){return a.k}),n.d(t,"isValueNode",function(){return a.q}),n.d(t,"isTypeNode",function(){return a.n}),n.d(t,"isTypeSystemDefinitionNode",function(){return a.o}),n.d(t,"isTypeDefinitionNode",function(){return a.l}),n.d(t,"isTypeSystemExtensionNode",function(){return a.p}),n.d(t,"isTypeExtensionNode",function(){return a.m});var u=n(179);n.d(t,"execute",function(){return u.c}),n.d(t,"defaultFieldResolver",function(){return u.a}),n.d(t,"defaultTypeResolver",function(){return u.b}),n.d(t,"responsePathAsArray",function(){return u.e}),n.d(t,"getDirectiveValues",function(){return u.d});var l=n(180);n.d(t,"subscribe",function(){return l.b}),n.d(t,"createSourceEventStream",function(){return l.a});var s=n(183);n.d(t,"validate",function(){return s.B}),n.d(t,"ValidationContext",function(){return s.w}),n.d(t,"specifiedRules",function(){return s.A}),n.d(t,"FieldsOnCorrectTypeRule",function(){return s.a}),n.d(t,"FragmentsOnCompositeTypesRule",function(){return s.b}),n.d(t,"KnownArgumentNamesRule",function(){return s.c}),n.d(t,"KnownDirectivesRule",function(){return s.d}),n.d(t,"KnownFragmentNamesRule",function(){return s.e}),n.d(t,"KnownTypeNamesRule",function(){return s.f}),n.d(t,"LoneAnonymousOperationRule",function(){return s.g}),n.d(t,"NoFragmentCyclesRule",function(){return s.h}),n.d(t,"NoUndefinedVariablesRule",function(){return s.i}),n.d(t,"NoUnusedFragmentsRule",function(){return s.j}),n.d(t,"NoUnusedVariablesRule",function(){return s.k}),n.d(t,"OverlappingFieldsCanBeMergedRule",function(){return s.l}),n.d(t,"PossibleFragmentSpreadsRule",function(){return s.m}),n.d(t,"ProvidedRequiredArgumentsRule",function(){return s.n}),n.d(t,"ScalarLeafsRule",function(){return s.o}),n.d(t,"SingleFieldSubscriptionsRule",function(){return s.p}),n.d(t,"UniqueArgumentNamesRule",function(){return s.q}),n.d(t,"UniqueDirectivesPerLocationRule",function(){return s.r}),n.d(t,"UniqueFragmentNamesRule",function(){return s.s}),n.d(t,"UniqueInputFieldNamesRule",function(){return s.t}),n.d(t,"UniqueOperationNamesRule",function(){return s.u}),n.d(t,"UniqueVariableNamesRule",function(){return s.v}),n.d(t,"ValuesOfCorrectTypeRule",function(){return s.x}),n.d(t,"VariablesAreInputTypesRule",function(){return s.y}),n.d(t,"VariablesInAllowedPositionRule",function(){return s.z});var c=n(184);n.d(t,"GraphQLError",function(){return c.a}),n.d(t,"syntaxError",function(){return c.e}),n.d(t,"locatedError",function(){return c.c}),n.d(t,"printError",function(){return c.d}),n.d(t,"formatError",function(){return c.b});var f=n(186);n.d(t,"getIntrospectionQuery",function(){return f.q}),n.d(t,"introspectionQuery",function(){return f.u}),n.d(t,"getOperationAST",function(){return f.r}),n.d(t,"getOperationRootType",function(){return f.s}),n.d(t,"introspectionFromSchema",function(){return f.t}),n.d(t,"buildClientSchema",function(){return f.g}),n.d(t,"buildASTSchema",function(){return f.f}),n.d(t,"buildSchema",function(){return f.h}),n.d(t,"getDescription",function(){return f.p}),n.d(t,"extendSchema",function(){return f.l}),n.d(t,"lexicographicSortSchema",function(){return f.A}),n.d(t,"printSchema",function(){return f.C}),n.d(t,"printType",function(){return f.D}),n.d(t,"printIntrospectionSchema",function(){return f.B}),n.d(t,"typeFromAST",function(){return f.G}),n.d(t,"valueFromAST",function(){return f.H}),n.d(t,"valueFromASTUntyped",function(){return f.I}),n.d(t,"astFromValue",function(){return f.e}),n.d(t,"TypeInfo",function(){return f.c}),n.d(t,"coerceValue",function(){return f.i}),n.d(t,"isValidJSValue",function(){return f.x}),n.d(t,"isValidLiteralValue",function(){return f.y}),n.d(t,"concatAST",function(){return f.j}),n.d(t,"separateOperations",function(){return f.E}),n.d(t,"stripIgnoredCharacters",function(){return f.F}),n.d(t,"isEqualType",function(){return f.v}),n.d(t,"isTypeSubTypeOf",function(){return f.w}),n.d(t,"doTypesOverlap",function(){return f.k}),n.d(t,"assertValidName",function(){return f.d}),n.d(t,"isValidNameError",function(){return f.z}),n.d(t,"BreakingChangeType",function(){return f.a}),n.d(t,"DangerousChangeType",function(){return f.b}),n.d(t,"findBreakingChanges",function(){return f.m}),n.d(t,"findDangerousChanges",function(){return f.n}),n.d(t,"findDeprecatedUsages",function(){return f.o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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){e.exports=n(160)()},function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}t.a=r},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";function r(e){return Object(p.a)(e,v)}function i(e){return r(e)||Object(d.a)(0,"Expected ".concat(Object(h.a)(e)," to be a GraphQL directive.")),e}function o(e){return r(e)&&E.some(function(t){return t.name===e.name})}t.g=r,t.f=i,n.d(t,"c",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return g}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return w}),n.d(t,"i",function(){return E}),t.h=o;var a=n(27),u=n(14),l=n(2),s=n(15),c=n(45),f=n(44),p=n(57),d=n(9),h=n(4),m=n(28),v=function(){function e(e){this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=e.isRepeatable&&e.isRepeatable,this.astNode=e.astNode,e.name||Object(d.a)(0,"Directive must be named."),Array.isArray(e.locations)||Object(d.a)(0,"@".concat(e.name," locations must be an Array."));var t=e.args||{};(!Object(u.a)(t)||Array.isArray(t))&&Object(d.a)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Object(a.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,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(l.i)(this.args),isRepeatable:this.isRepeatable,astNode:this.astNode}},e}();Object(c.a)(v),Object(f.a)(v);var y=new v({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[m.a.FIELD,m.a.FRAGMENT_SPREAD,m.a.INLINE_FRAGMENT],args:{if:{type:Object(l.e)(s.a),description:"Included when true."}}}),g=new v({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[m.a.FIELD,m.a.FRAGMENT_SPREAD,m.a.INLINE_FRAGMENT],args:{if:{type:Object(l.e)(s.a),description:"Skipped when true."}}}),b="No longer supported",w=new v({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[m.a.FIELD_DEFINITION,m.a.ENUM_VALUE],args:{reason:{type:s.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).",defaultValue:b}}}),E=Object.freeze([y,g,w])},function(e,t,n){"use strict";function r(e){return Object(l.K)(e)&&O.some(function(t){var n=t.name;return e.name===n})}Object.defineProperty(t,"__esModule",{value:!0}),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 v}),n.d(t,"__EnumValue",function(){return y}),n.d(t,"TypeKind",function(){return g}),n.d(t,"__TypeKind",function(){return b}),n.d(t,"SchemaMetaFieldDef",function(){return w}),n.d(t,"TypeMetaFieldDef",function(){return E}),n.d(t,"TypeNameMetaFieldDef",function(){return k}),n.d(t,"introspectionTypes",function(){return O}),t.isIntrospectionType=r;var i=n(10),o=n(4),a=n(46),u=n(13),l=n(2),s=n(15),c=n(28),f=new l.f({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:Object(l.e)(Object(l.d)(Object(l.e)(h))),resolve:function(e){return Object(i.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(l.e)(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:Object(l.e)(Object(l.d)(Object(l.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new l.f({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:Object(l.e)(s.e),resolve:function(e){return e.name}},description:{type:s.e,resolve:function(e){return e.description}},locations:{type:Object(l.e)(Object(l.d)(Object(l.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(l.e)(Object(l.d)(Object(l.e)(v))),resolve:function(e){return e.args}}}}}),d=new l.a({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:c.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:c.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:c.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:c.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:c.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:c.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:c.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:c.a.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:c.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:c.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:c.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:c.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:c.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:c.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:c.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:c.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:c.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:c.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:c.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new l.f({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:Object(l.e)(b),resolve:function(e){if(Object(l.R)(e))return g.SCALAR;if(Object(l.N)(e))return g.OBJECT;if(Object(l.H)(e))return g.INTERFACE;if(Object(l.T)(e))return g.UNION;if(Object(l.E)(e))return g.ENUM;if(Object(l.F)(e))return g.INPUT_OBJECT;if(Object(l.J)(e))return g.LIST;if(Object(l.L)(e))return g.NON_NULL;throw new Error('Unexpected type: "'.concat(Object(o.a)(e),'".'))}},name:{type:s.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:s.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(l.d)(Object(l.e)(m)),args:{includeDeprecated:{type:s.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.N)(e)||Object(l.H)(e)){var r=Object(i.a)(e.getFields());return n||(r=r.filter(function(e){return!e.deprecationReason})),r}return null}},interfaces:{type:Object(l.d)(Object(l.e)(h)),resolve:function(e){if(Object(l.N)(e))return e.getInterfaces()}},possibleTypes:{type:Object(l.d)(Object(l.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(l.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(l.d)(Object(l.e)(y)),args:{includeDeprecated:{type:s.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(l.E)(e)){var r=e.getValues();return n||(r=r.filter(function(e){return!e.deprecationReason})),r}}},inputFields:{type:Object(l.d)(Object(l.e)(v)),resolve:function(e){if(Object(l.F)(e))return Object(i.a)(e.getFields())}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new l.f({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:Object(l.e)(s.e),resolve:function(e){return e.name}},description:{type:s.e,resolve:function(e){return e.description}},args:{type:Object(l.e)(Object(l.d)(Object(l.e)(v))),resolve:function(e){return e.args}},type:{type:Object(l.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(l.e)(s.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:s.e,resolve:function(e){return e.deprecationReason}}}}}),v=new l.f({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:Object(l.e)(s.e),resolve:function(e){return e.name}},description:{type:s.e,resolve:function(e){return e.description}},type:{type:Object(l.e)(h),resolve:function(e){return e.type}},defaultValue:{type:s.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=Object(a.a)(e.defaultValue,e.type);return t?Object(u.a)(t):null}}}}}),y=new l.f({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:Object(l.e)(s.e),resolve:function(e){return e.name}},description:{type:s.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(l.e)(s.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:s.e,resolve:function(e){return e.deprecationReason}}}}}),g=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),b=new l.a({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:g.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:g.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:g.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:g.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:g.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:g.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:g.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:g.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),w={name:"__schema",type:Object(l.e)(f),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema}},E={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",type:Object(l.e)(s.e)}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)}},k={name:"__typename",type:Object(l.e)(s.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name}},O=Object.freeze([f,p,d,h,m,v,y,b])},function(e,t,n){"use strict";function r(e){return Object(f.c)(e,{leave:d})}function i(e){return function(t){return o([t.description,e(t)],"\n")}}function o(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function a(e){return e&&0!==e.length?"{\n"+l(o(e,"\n"))+"\n}":""}function u(e,t,n){return t?e+t+(n||""):""}function l(e){return e&&" "+e.replace(/\n/g,"\n ")}function s(e){return-1!==e.indexOf("\n")}function c(e){return e&&e.some(s)}t.a=r;var f=n(18),p=n(30),d={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return o(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u("(",o(e.variableDefinitions,", "),")"),i=o(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?o([t,o([n,r]),i,a]," "):a},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+u(" = ",r)+u(" ",o(i," "))},SelectionSet:function(e){return a(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet;return o([u("",t,": ")+n+u("(",o(r,", "),")"),o(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",o(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return o(["...",u("on ",t),o(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(u("(",o(r,", "),")")," ")+"on ".concat(n," ").concat(u("",o(i," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(p.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"["+o(e.values,", ")+"]"},ObjectValue:function(e){return"{"+o(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",o(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 o(["schema",o(t," "),a(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:i(function(e){return o(["scalar",e.name,o(e.directives," ")]," ")}),ObjectTypeDefinition:i(function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["type",t,u("implements ",o(n," & ")),o(r," "),a(i)]," ")}),FieldDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(c(n)?u("(\n",l(o(n,"\n")),"\n)"):u("(",o(n,", "),")"))+": "+r+u(" ",o(i," "))}),InputValueDefinition:i(function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return o([t+": "+n,u("= ",r),o(i," ")]," ")}),InterfaceTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["interface",t,o(n," "),a(r)]," ")}),UnionTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.types;return o(["union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")}),EnumTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.values;return o(["enum",t,o(n," "),a(r)]," ")}),EnumValueDefinition:i(function(e){return o([e.name,o(e.directives," ")]," ")}),InputObjectTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["input",t,o(n," "),a(r)]," ")}),DirectiveDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(c(n)?u("(\n",l(o(n,"\n")),"\n)"):u("(",o(n,", "),")"))+(r?" repeatable":"")+" on "+o(i," | ")}),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return o(["extend schema",o(t," "),a(n)]," ")},ScalarTypeExtension:function(e){return o(["extend scalar",e.name,o(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["extend type",t,u("implements ",o(n," & ")),o(r," "),a(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend interface",t,o(n," "),a(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return o(["extend union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return o(["extend enum",t,o(n," "),a(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend input",t,o(n," "),a(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}t.a=i},function(e,t,n){"use strict";function r(e){if("boolean"===typeof e)return e?1:0;var t=e;if("string"===typeof e&&""!==e&&(t=Number(e)),!Object(v.a)(t))throw new TypeError("Int cannot represent non-integer value: ".concat(Object(y.a)(e)));if(t>E||tE||e=k)return t}}}),T=new b.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:o,parseValue:a,parseLiteral:function(e){return e.kind===w.Kind.FLOAT||e.kind===w.Kind.INT?parseFloat(e.value):void 0}}),_=new b.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:l,parseValue:s,parseLiteral:function(e){return e.kind===w.Kind.STRING?e.value:void 0}}),S=new b.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:c,parseValue:f,parseLiteral:function(e){return e.kind===w.Kind.BOOLEAN?e.value:void 0}}),x=new b.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:p,parseValue:d,parseLiteral:function(e){return e.kind===w.Kind.STRING||e.kind===w.Kind.INT?e.value:void 0}}),C=Object.freeze([_,O,T,S,x])},function(e,t,n){"use strict";function r(e,t){var n;if(t.kind===o.Kind.LIST_TYPE)return(n=r(e,t.type))&&Object(a.d)(n);if(t.kind===o.Kind.NON_NULL_TYPE)return(n=r(e,t.type))&&Object(a.e)(n);if(t.kind===o.Kind.NAMED_TYPE)return e.getType(t.name.value);throw new Error('Unexpected type node: "'.concat(Object(i.a)(t),'".'))}t.a=r;var i=n(4),o=n(7),a=n(2)},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))}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=void 0,o=Array.isArray(e),a=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],y=[],g=e;do{f++;var b=f===a.length,w=b&&0!==p.length;if(b){if(h=0===y.length?void 0:v[v.length-1],d=m,m=y.pop(),w){if(o)d=d.slice();else{for(var E={},k=0,O=Object.keys(d);k1&&r>1&&o[n-1]===a[r-2]&&o[n-2]===a[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+s))}return i[u][l]}t.a=r},function(e,t,n){"use strict";function r(e,t){var n="string"===typeof e?[e,t]:[void 0,e],r=n[0],o=n[1],a=" Did you mean ";switch(r&&(a+=r+" "),o.length){case 0:return"";case 1:return a+o[0]+"?";case 2:return a+o[0]+" or "+o[1]+"?"}var u=o.slice(0,i),l=u.pop();return a+u.join(", ")+", or "+l+"?"}t.a=r;var i=5},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51);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(36);Object.defineProperty(t,"getAutocompleteSuggestions",{enumerable:!0,get:function(){return i.getAutocompleteSuggestions}});var o=n(52);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(54);Object.defineProperty(t,"getDiagnostics",{enumerable:!0,get:function(){return a.getDiagnostics}}),Object.defineProperty(t,"validateQuery",{enumerable:!0,get:function(){return a.validateQuery}});var u=n(79);Object.defineProperty(t,"getOutline",{enumerable:!0,get:function(){return u.getOutline}});var l=n(55);Object.defineProperty(t,"getHoverInformation",{enumerable:!0,get:function(){return l.getHoverInformation}});var s=n(80);Object.defineProperty(t,"GraphQLLanguageService",{enumerable:!0,get:function(){return s.GraphQLLanguageService}})},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=0&&t%1===0}function o(e){return Object(e)===e&&(i(e)||r(e))}function a(e){var t=u(e);if(t)return t.call(e)}function u(e){if(null!=e){var t=m&&e[m]||e["@@iterator"];if("function"===typeof t)return t}}function l(e){this._o=e,this._i=0}function s(e,t,n){if(null!=e){if("function"===typeof e.forEach)return e.forEach(t,n);var r=0,o=a(e);if(o){for(var u;!(u=o.next()).done;)if(t.call(n,u.value,r++,e),r>9999999)throw new TypeError("Near-infinite iteration.")}else if(i(e))for(;r=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}};var y=h&&h.asyncIterator,g=y||"@@asyncIterator";d.prototype[g]=function(){return this},d.prototype.next=function(){var e=this._i.next();return Promise.resolve(e.value).then(function(t){return{value:t,done:e.done}})}},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;r0&&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;n1&&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,u="";return!a||r&&i||(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,a&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}t.a=r,t.b=i,t.c=u},function(e,t,n){"use strict";function r(e,t){var n="string"===typeof e?new Te.a(e):e;if(!(n instanceof Te.a))throw new TypeError("Must provide Source. Received: ".concat(Object(ke.a)(n)));return u(Object(xe.a)(n,t||{}))}function i(e,t){var n="string"===typeof e?new Te.a(e):e,r=Object(xe.a)(n,t||{});me(r,Se.a.SOF);var i=T(r,!1);return me(r,Se.a.EOF),i}function o(e,t){var n="string"===typeof e?new Te.a(e):e,r=Object(xe.a)(n,t||{});me(r,Se.a.SOF);var i=I(r);return me(r,Se.a.EOF),i}function a(e){var t=me(e,Se.a.NAME);return{kind:Ce.Kind.NAME,value:t.value,loc:pe(e,t)}}function u(e){var t=e.token;return{kind:Ce.Kind.DOCUMENT,definitions:Ee(e,Se.a.SOF,l,Se.a.EOF),loc:pe(e,t)}}function l(e){if(he(e,Se.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return s(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return F(e);case"extend":return te(e)}else{if(he(e,Se.a.BRACE_L))return s(e);if(P(e))return F(e)}throw be(e)}function s(e){if(he(e,Se.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return c(e);case"fragment":return k(e)}else if(he(e,Se.a.BRACE_L))return c(e);throw be(e)}function c(e){var t=e.token;if(he(e,Se.a.BRACE_L))return{kind:Ce.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:m(e),loc:pe(e,t)};var n,r=f(e);return he(e,Se.a.NAME)&&(n=a(e)),{kind:Ce.Kind.OPERATION_DEFINITION,operation:r,name:n,variableDefinitions:p(e),directives:D(e,!1),selectionSet:m(e),loc:pe(e,t)}}function f(e){var t=me(e,Se.a.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw be(e,t)}function p(e){return he(e,Se.a.PAREN_L)?Ee(e,Se.a.PAREN_L,d,Se.a.PAREN_R):[]}function d(e){var t=e.token;return{kind:Ce.Kind.VARIABLE_DEFINITION,variable:h(e),type:(me(e,Se.a.COLON),I(e)),defaultValue:ve(e,Se.a.EQUALS)?T(e,!0):void 0,directives:D(e,!0),loc:pe(e,t)}}function h(e){var t=e.token;return me(e,Se.a.DOLLAR),{kind:Ce.Kind.VARIABLE,name:a(e),loc:pe(e,t)}}function m(e){var t=e.token;return{kind:Ce.Kind.SELECTION_SET,selections:Ee(e,Se.a.BRACE_L,v,Se.a.BRACE_R),loc:pe(e,t)}}function v(e){return he(e,Se.a.SPREAD)?E(e):y(e)}function y(e){var t,n,r=e.token,i=a(e);return ve(e,Se.a.COLON)?(t=i,n=a(e)):n=i,{kind:Ce.Kind.FIELD,alias:t,name:n,arguments:g(e,!1),directives:D(e,!1),selectionSet:he(e,Se.a.BRACE_L)?m(e):void 0,loc:pe(e,r)}}function g(e,t){var n=t?w:b;return he(e,Se.a.PAREN_L)?Ee(e,Se.a.PAREN_L,n,Se.a.PAREN_R):[]}function b(e){var t=e.token,n=a(e);return me(e,Se.a.COLON),{kind:Ce.Kind.ARGUMENT,name:n,value:T(e,!1),loc:pe(e,t)}}function w(e){var t=e.token;return{kind:Ce.Kind.ARGUMENT,name:a(e),value:(me(e,Se.a.COLON),S(e)),loc:pe(e,t)}}function E(e){var t=e.token;me(e,Se.a.SPREAD);var n=ge(e,"on");return!n&&he(e,Se.a.NAME)?{kind:Ce.Kind.FRAGMENT_SPREAD,name:O(e),directives:D(e,!1),loc:pe(e,t)}:{kind:Ce.Kind.INLINE_FRAGMENT,typeCondition:n?L(e):void 0,directives:D(e,!1),selectionSet:m(e),loc:pe(e,t)}}function k(e){var t=e.token;return ye(e,"fragment"),e.options.experimentalFragmentVariables?{kind:Ce.Kind.FRAGMENT_DEFINITION,name:O(e),variableDefinitions:p(e),typeCondition:(ye(e,"on"),L(e)),directives:D(e,!1),selectionSet:m(e),loc:pe(e,t)}:{kind:Ce.Kind.FRAGMENT_DEFINITION,name:O(e),typeCondition:(ye(e,"on"),L(e)),directives:D(e,!1),selectionSet:m(e),loc:pe(e,t)}}function O(e){if("on"===e.token.value)throw be(e);return a(e)}function T(e,t){var n=e.token;switch(n.kind){case Se.a.BRACKET_L:return C(e,t);case Se.a.BRACE_L:return N(e,t);case Se.a.INT:return e.advance(),{kind:Ce.Kind.INT,value:n.value,loc:pe(e,n)};case Se.a.FLOAT:return e.advance(),{kind:Ce.Kind.FLOAT,value:n.value,loc:pe(e,n)};case Se.a.STRING:case Se.a.BLOCK_STRING:return _(e);case Se.a.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:Ce.Kind.BOOLEAN,value:"true"===n.value,loc:pe(e,n)}):"null"===n.value?(e.advance(),{kind:Ce.Kind.NULL,loc:pe(e,n)}):(e.advance(),{kind:Ce.Kind.ENUM,value:n.value,loc:pe(e,n)});case Se.a.DOLLAR:if(!t)return h(e)}throw be(e)}function _(e){var t=e.token;return e.advance(),{kind:Ce.Kind.STRING,value:t.value,block:t.kind===Se.a.BLOCK_STRING,loc:pe(e,t)}}function S(e){return T(e,!0)}function x(e){return T(e,!1)}function C(e,t){var n=e.token,r=t?S:x;return{kind:Ce.Kind.LIST,values:we(e,Se.a.BRACKET_L,r,Se.a.BRACKET_R),loc:pe(e,n)}}function N(e,t){var n=e.token,r=function(){return j(e,t)};return{kind:Ce.Kind.OBJECT,fields:we(e,Se.a.BRACE_L,r,Se.a.BRACE_R),loc:pe(e,n)}}function j(e,t){var n=e.token,r=a(e);return me(e,Se.a.COLON),{kind:Ce.Kind.OBJECT_FIELD,name:r,value:T(e,t),loc:pe(e,n)}}function D(e,t){for(var n=[];he(e,Se.a.AT);)n.push(A(e,t));return n}function A(e,t){var n=e.token;return me(e,Se.a.AT),{kind:Ce.Kind.DIRECTIVE,name:a(e),arguments:g(e,t),loc:pe(e,n)}}function I(e){var t,n=e.token;return ve(e,Se.a.BRACKET_L)?(t=I(e),me(e,Se.a.BRACKET_R),t={kind:Ce.Kind.LIST_TYPE,type:t,loc:pe(e,n)}):t=L(e),ve(e,Se.a.BANG)?{kind:Ce.Kind.NON_NULL_TYPE,type:t,loc:pe(e,n)}:t}function L(e){var t=e.token;return{kind:Ce.Kind.NAMED_TYPE,name:a(e),loc:pe(e,t)}}function F(e){var t=P(e)?e.lookahead():e.token;if(t.kind===Se.a.NAME)switch(t.value){case"schema":return R(e);case"scalar":return U(e);case"type":return B(e);case"interface":return Q(e);case"union":return W(e);case"enum":return J(e);case"input":return Z(e);case"directive":return se(e)}throw be(e,t)}function P(e){return he(e,Se.a.STRING)||he(e,Se.a.BLOCK_STRING)}function M(e){if(P(e))return _(e)}function R(e){var t=e.token;ye(e,"schema");var n=D(e,!0),r=Ee(e,Se.a.BRACE_L,V,Se.a.BRACE_R);return{kind:Ce.Kind.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:pe(e,t)}}function V(e){var t=e.token,n=f(e);me(e,Se.a.COLON);var r=L(e);return{kind:Ce.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:pe(e,t)}}function U(e){var t=e.token,n=M(e);ye(e,"scalar");var r=a(e),i=D(e,!0);return{kind:Ce.Kind.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}function B(e){var t=e.token,n=M(e);ye(e,"type");var r=a(e),i=q(e),o=D(e,!0),u=z(e);return{kind:Ce.Kind.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:u,loc:pe(e,t)}}function q(e){var t=[];if(ge(e,"implements")){ve(e,Se.a.AMP);do{t.push(L(e))}while(ve(e,Se.a.AMP)||e.options.allowLegacySDLImplementsInterfaces&&he(e,Se.a.NAME))}return t}function z(e){return e.options.allowLegacySDLEmptyFields&&he(e,Se.a.BRACE_L)&&e.lookahead().kind===Se.a.BRACE_R?(e.advance(),e.advance(),[]):he(e,Se.a.BRACE_L)?Ee(e,Se.a.BRACE_L,H,Se.a.BRACE_R):[]}function H(e){var t=e.token,n=M(e),r=a(e),i=K(e);me(e,Se.a.COLON);var o=I(e),u=D(e,!0);return{kind:Ce.Kind.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:u,loc:pe(e,t)}}function K(e){return he(e,Se.a.PAREN_L)?Ee(e,Se.a.PAREN_L,G,Se.a.PAREN_R):[]}function G(e){var t=e.token,n=M(e),r=a(e);me(e,Se.a.COLON);var i,o=I(e);ve(e,Se.a.EQUALS)&&(i=S(e));var u=D(e,!0);return{kind:Ce.Kind.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:i,directives:u,loc:pe(e,t)}}function Q(e){var t=e.token,n=M(e);ye(e,"interface");var r=a(e),i=D(e,!0),o=z(e);return{kind:Ce.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}function W(e){var t=e.token,n=M(e);ye(e,"union");var r=a(e),i=D(e,!0),o=Y(e);return{kind:Ce.Kind.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:pe(e,t)}}function Y(e){var t=[];if(ve(e,Se.a.EQUALS)){ve(e,Se.a.PIPE);do{t.push(L(e))}while(ve(e,Se.a.PIPE))}return t}function J(e){var t=e.token,n=M(e);ye(e,"enum");var r=a(e),i=D(e,!0),o=$(e);return{kind:Ce.Kind.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:pe(e,t)}}function $(e){return he(e,Se.a.BRACE_L)?Ee(e,Se.a.BRACE_L,X,Se.a.BRACE_R):[]}function X(e){var t=e.token,n=M(e),r=a(e),i=D(e,!0);return{kind:Ce.Kind.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}function Z(e){var t=e.token,n=M(e);ye(e,"input");var r=a(e),i=D(e,!0),o=ee(e);return{kind:Ce.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}function ee(e){return he(e,Se.a.BRACE_L)?Ee(e,Se.a.BRACE_L,G,Se.a.BRACE_R):[]}function te(e){var t=e.lookahead();if(t.kind===Se.a.NAME)switch(t.value){case"schema":return ne(e);case"scalar":return re(e);case"type":return ie(e);case"interface":return oe(e);case"union":return ae(e);case"enum":return ue(e);case"input":return le(e)}throw be(e,t)}function ne(e){var t=e.token;ye(e,"extend"),ye(e,"schema");var n=D(e,!0),r=he(e,Se.a.BRACE_L)?Ee(e,Se.a.BRACE_L,V,Se.a.BRACE_R):[];if(0===n.length&&0===r.length)throw be(e);return{kind:Ce.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:r,loc:pe(e,t)}}function re(e){var t=e.token;ye(e,"extend"),ye(e,"scalar");var n=a(e),r=D(e,!0);if(0===r.length)throw be(e);return{kind:Ce.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:pe(e,t)}}function ie(e){var t=e.token;ye(e,"extend"),ye(e,"type");var n=a(e),r=q(e),i=D(e,!0),o=z(e);if(0===r.length&&0===i.length&&0===o.length)throw be(e);return{kind:Ce.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:pe(e,t)}}function oe(e){var t=e.token;ye(e,"extend"),ye(e,"interface");var n=a(e),r=D(e,!0),i=z(e);if(0===r.length&&0===i.length)throw be(e);return{kind:Ce.Kind.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}function ae(e){var t=e.token;ye(e,"extend"),ye(e,"union");var n=a(e),r=D(e,!0),i=Y(e);if(0===r.length&&0===i.length)throw be(e);return{kind:Ce.Kind.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:pe(e,t)}}function ue(e){var t=e.token;ye(e,"extend"),ye(e,"enum");var n=a(e),r=D(e,!0),i=$(e);if(0===r.length&&0===i.length)throw be(e);return{kind:Ce.Kind.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:pe(e,t)}}function le(e){var t=e.token;ye(e,"extend"),ye(e,"input");var n=a(e),r=D(e,!0),i=ee(e);if(0===r.length&&0===i.length)throw be(e);return{kind:Ce.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}function se(e){var t=e.token,n=M(e);ye(e,"directive"),me(e,Se.a.AT);var r=a(e),i=K(e),o=ge(e,"repeatable");ye(e,"on");var u=ce(e);return{kind:Ce.Kind.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:o,locations:u,loc:pe(e,t)}}function ce(e){ve(e,Se.a.PIPE);var t=[];do{t.push(fe(e))}while(ve(e,Se.a.PIPE));return t}function fe(e){var t=e.token,n=a(e);if(void 0!==Ne.a[n.value])return n;throw be(e,t)}function pe(e,t){if(!e.options.noLocation)return new de(t,e.lastToken,e.source)}function de(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function he(e,t){return e.token.kind===t}function me(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw Object(_e.a)(e.source,n.start,"Expected ".concat(t,", found ").concat(Object(xe.b)(n)))}function ve(e,t){var n=e.token;if(n.kind===t)return e.advance(),n}function ye(e,t){var n=e.token;if(n.kind!==Se.a.NAME||n.value!==t)throw Object(_e.a)(e.source,n.start,'Expected "'.concat(t,'", found ').concat(Object(xe.b)(n)));e.advance()}function ge(e,t){var n=e.token;return n.kind===Se.a.NAME&&n.value===t&&(e.advance(),!0)}function be(e,t){var n=t||e.token;return Object(_e.a)(e.source,n.start,"Unexpected ".concat(Object(xe.b)(n)))}function we(e,t,n,r){me(e,t);for(var i=[];!ve(e,r);)i.push(n(e));return i}function Ee(e,t,n,r){me(e,t);for(var i=[n(e)];!ve(e,r);)i.push(n(e));return i}t.a=r,t.c=i,t.b=o;var ke=n(4),Oe=n(44),Te=n(59),_e=n(60),Se=n(32),xe=n(61),Ce=n(7),Ne=n(28);Object(Oe.a)(de,function(){return{start:this.start,end:this.end}})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({SOF:"",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";function r(e,t,n){var r=n.name.value;return r===u.SchemaMetaFieldDef.name&&e.getQueryType()===t?u.SchemaMetaFieldDef:r===u.TypeMetaFieldDef.name&&e.getQueryType()===t?u.TypeMetaFieldDef:r===u.TypeNameMetaFieldDef.name&&Object(a.D)(t)?u.TypeNameMetaFieldDef:Object(a.N)(t)||Object(a.H)(t)?t.getFields()[r]:void 0}n.d(t,"a",function(){return s});var i=n(26),o=n(7),a=n(2),u=n(12),l=n(16),s=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||r,n&&(Object(a.G)(n)&&this._inputTypeStack.push(n),Object(a.D)(n)&&this._parentTypeStack.push(n),Object(a.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 o.Kind.SELECTION_SET:var n=Object(a.A)(this.getType());this._parentTypeStack.push(Object(a.D)(n)?n:void 0);break;case o.Kind.FIELD:var r,u,s=this.getParentType();s&&(r=this._getFieldDef(t,s,e))&&(u=r.type),this._fieldDefStack.push(r),this._typeStack.push(Object(a.O)(u)?u:void 0);break;case o.Kind.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case o.Kind.OPERATION_DEFINITION:var c;"query"===e.operation?c=t.getQueryType():"mutation"===e.operation?c=t.getMutationType():"subscription"===e.operation&&(c=t.getSubscriptionType()),this._typeStack.push(Object(a.N)(c)?c:void 0);break;case o.Kind.INLINE_FRAGMENT:case o.Kind.FRAGMENT_DEFINITION:var f=e.typeCondition,p=f?Object(l.a)(t,f):Object(a.A)(this.getType());this._typeStack.push(Object(a.O)(p)?p:void 0);break;case o.Kind.VARIABLE_DEFINITION:var d=Object(l.a)(t,e.type);this._inputTypeStack.push(Object(a.G)(d)?d:void 0);break;case o.Kind.ARGUMENT:var h,m,v=this.getDirective()||this.getFieldDef();v&&(h=Object(i.a)(v.args,function(t){return t.name===e.name.value}))&&(m=h.type),this._argument=h,this._defaultValueStack.push(h?h.defaultValue:void 0),this._inputTypeStack.push(Object(a.G)(m)?m:void 0);break;case o.Kind.LIST:var y=Object(a.B)(this.getInputType()),g=Object(a.J)(y)?y.ofType:y;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(a.G)(g)?g:void 0);break;case o.Kind.OBJECT_FIELD:var b,w,E=Object(a.A)(this.getInputType());Object(a.F)(E)&&(w=E.getFields()[e.name.value])&&(b=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(a.G)(b)?b:void 0);break;case o.Kind.ENUM:var k,O=Object(a.A)(this.getInputType());Object(a.E)(O)&&(k=O.getValue(e.value)),this._enumValue=k}},t.leave=function(e){switch(e.kind){case o.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case o.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case o.Kind.DIRECTIVE:this._directive=null;break;case o.Kind.OPERATION_DEFINITION:case o.Kind.INLINE_FRAGMENT:case o.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case o.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case o.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.Kind.LIST:case o.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.Kind.ENUM:this._enumValue=null}},e}()},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function n(e,n){for(var r=t(e),i=r,o=0;os);c++){var f=e.getLine(l++);a=null==a?f:a+"\n"+f}u*=2,t.lastIndex=o.ch;var p=t.exec(a);if(p){var d=a.slice(0,p.index).split("\n"),h=p[0].split("\n"),v=o.line+d.length-1,y=d[d.length-1].length;return{from:m(v,y),to:m(v+h.length-1,1==h.length?y+h[0].length:h[h.length-1].length),match:p}}}}function a(e,t){for(var n,r=0;;){t.lastIndex=r;var i=t.exec(e);if(!i)return n;if(n=i,(r=n.index+(n[0].length||1))==e.length)return n}}function u(e,t,r){t=n(t,"g");for(var i=r.line,o=r.ch,u=e.firstLine();i>=u;i--,o=-1){var l=e.getLine(i);o>-1&&(l=l.slice(0,o));var s=a(l,t);if(s)return{from:m(i,s.index),to:m(i,s.index+s[0].length),match:s}}}function l(e,t,r){t=n(t,"gm");for(var i,o=1,u=r.line,l=e.firstLine();u>=l;){for(var s=0;s>1,u=r(e.slice(0,a)).length;if(u==n)return a;u>n?o=a:i=a+1}}function c(e,t,n,r){if(!t.length)return null;var i=r?d:h,o=i(t).split(/\r|\n\r?/);e:for(var a=n.line,u=n.ch,l=e.lastLine()+1-o.length;a<=l;a++,u=0){var c=e.getLine(a).slice(u),f=i(c);if(1==o.length){var p=f.indexOf(o[0]);if(-1==p)continue e;var n=s(c,f,p,i)+u;return{from:m(a,s(c,f,p,i)+u),to:m(a,s(c,f,p+o[0].length,i)+u)}}var v=f.length-o[0].length;if(f.slice(v)==o[0]){for(var y=1;y=l;a--,u=-1){var c=e.getLine(a);u>-1&&(c=c.slice(0,u));var f=i(c);if(1==o.length){var p=f.lastIndexOf(o[0]);if(-1==p)continue e;return{from:m(a,s(c,f,p,i)),to:m(a,s(c,f,p+o[0].length,i))}}var v=o[o.length-1];if(f.slice(0,v.length)==v){for(var y=1,n=a-o.length+1;y0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})},function(e,t,n){!function(e){e(n(1))}(function(e){function t(t,n,r){var i,o=t.getWrapperElement();return i=o.appendChild(document.createElement("div")),i.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){function a(t){if("string"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),c.focus(),o.onClose&&o.onClose(l)}}o||(o={}),n(this,null);var u,l=t(this,r,o.bottom),s=!1,c=this,f=l.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,a)}),o.onKeyUp&&e.on(f,"keyup",function(e){o.onKeyUp(e,f.value,a)}),e.on(f,"keydown",function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,a)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),a()),13==t.keyCode&&i(f.value,t))}),!1!==o.closeOnBlur&&e.on(f,"blur",a)):(u=l.getElementsByTagName("button")[0])&&(e.on(u,"click",function(){a(),c.focus()}),!1!==o.closeOnBlur&&e.on(u,"blur",a),u.focus()),a}),e.defineExtension("openConfirm",function(r,i,o){function a(){s||(s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}n(this,null);var u=t(this,r,o&&o.bottom),l=u.getElementsByTagName("button"),s=!1,c=this,f=1;l[0].focus();for(var p=0;p=t.character)return n=a,r=v({},o),i=e.current(),"BREAK"});return{start:o.start,end:o.end,string:i||o.string,state:r||o.state,style:n||o.style}}function p(e,t){for(var n=e.split("\n"),r=(0,g.onlineParser)(),i=r.startState(),o="",a=new g.CharacterStream(""),u=0;u1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}t.a=r;var i=n(86)},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}})}t.a=r},function(e,t,n){"use strict";function r(e,t){if(Object(f.L)(t)){var n=r(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(f.J)(t)){var h=t.ofType;if(Object(i.e)(e)){var m=[];return Object(i.b)(e,function(e){var t=r(e,h);t&&m.push(t)}),{kind:c.Kind.LIST,values:m}}return r(e,h)}if(Object(f.F)(t)){if(!Object(s.a)(e))return null;var v=[],y=!0,g=!1,b=void 0;try{for(var w,E=Object(o.a)(t.getFields())[Symbol.iterator]();!(y=(w=E.next()).done);y=!0){var k=w.value,O=r(e[k.name],k.type);O&&v.push({kind:c.Kind.OBJECT_FIELD,name:{kind:c.Kind.NAME,value:k.name},value:O})}}catch(e){g=!0,b=e}finally{try{y||null==E.return||E.return()}finally{if(g)throw b}}return{kind:c.Kind.OBJECT,fields:v}}if(Object(f.I)(t)){var T=t.serialize(e);if(Object(u.a)(T))return null;if("boolean"===typeof T)return{kind:c.Kind.BOOLEAN,value:T};if("number"===typeof T){var _=String(T);return d.test(_)?{kind:c.Kind.INT,value:_}:{kind:c.Kind.FLOAT,value:_}}if("string"===typeof T)return Object(f.E)(t)?{kind:c.Kind.ENUM,value:T}:t===p.c&&d.test(T)?{kind:c.Kind.INT,value:T}:{kind:c.Kind.STRING,value:T};throw new TypeError("Cannot convert value to AST: ".concat(Object(a.a)(T)))}throw new Error('Unexpected input type: "'.concat(Object(a.a)(t),'".'))}t.a=r;var i=n(29),o=n(10),a=n(4),u=n(89),l=n(21),s=n(14),c=n(7),f=n(2),p=n(15),d=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){"use strict";function r(e,t){return e===t||(Object(a.L)(e)&&Object(a.L)(t)?r(e.ofType,t.ofType):!(!Object(a.J)(e)||!Object(a.J)(t))&&r(e.ofType,t.ofType))}function i(e,t,n){return t===n||(Object(a.L)(n)?!!Object(a.L)(t)&&i(e,t.ofType,n.ofType):Object(a.L)(t)?i(e,t.ofType,n):Object(a.J)(n)?!!Object(a.J)(t)&&i(e,t.ofType,n.ofType):!Object(a.J)(t)&&!!(Object(a.C)(n)&&Object(a.N)(t)&&e.isPossibleType(n,t)))}function o(e,t,n){return t===n||(Object(a.C)(t)?Object(a.C)(n)?e.getPossibleTypes(t).some(function(t){return e.isPossibleType(n,t)}):e.isPossibleType(t,n):!!Object(a.C)(n)&&e.isPossibleType(n,t))}t.b=r,t.c=i,t.a=o;var a=n(2)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new c.a(e);t||Object(u.a)(0,"Must provide document"),Object(s.a)(e);var i=new p.b(e,t,r),o=Object(l.d)(n.map(function(e){return e(i)}));return Object(l.c)(t,Object(l.e)(r,o)),i.getErrors()}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.b,r=new p.a(e,t),i=n.map(function(e){return e(r)});return Object(l.c)(e,Object(l.d)(i)),r.getErrors()}function o(e){var t=i(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}function a(e,t){var n=i(e,t);if(0!==n.length)throw new Error(n.map(function(e){return e.message}).join("\n\n"))}t.c=r,t.a=o,t.b=a;var u=n(9),l=n(18),s=n(42),c=n(33),f=n(92),p=n(65)},function(e,t,n){"use strict";function r(e,t,n,r,o,a,u,l){return i(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:o,operationName:a,fieldResolver:u,typeResolver:l})}function i(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,u=e.operationName,f=e.fieldResolver,p=e.typeResolver;l(t,n,a);var d=s(t,n,r,i,a,u,f,p);return Array.isArray(d)?{errors:d}:o(d,c(d,d.operation,r))}function o(e,t){return Object(U.a)(t)?t.then(function(t){return o(e,t)}):0===e.errors.length?{data:t}:{errors:e.errors,data:t}}function a(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function u(e,t){return{prev:e,key:t}}function l(e,t,n){t||Object(M.a)(0,"Must provide document"),Object(X.a)(e),null==n||Object(B.a)(n)||Object(M.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 s(e,t,n,r,i,o,a,u){for(var l,s=[],c=!1,f=Object.create(null),p=0;p=0;i--)t(n[i])}function a(e){for(var t=Object.keys(e),n=t.length,r=new Array(n),i=0;it.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}function p(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 u=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]+u),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]+u))}return i[o][a]}Object.defineProperty(t,"__esModule",{value:!0}),t.getDefinitionState=r,t.getFieldDef=i,t.forEachState=o,t.objectValues=a,t.hintList=u;var d=n(6),h=n(12)},function(e,t,n){"use strict";(function(e){function r(e,t){var n=t.loc;return(0,p.default)(n,"Expected ASTNode to have a location."),(0,c.locToRange)(e,n)}function i(e,t){var n=t.loc;return(0,p.default)(n,"Expected ASTNode to have a location."),(0,c.offsetToPosition)(e,n.start)}function o(t,n,i){var o,a,u;return regeneratorRuntime.async(function(l){for(;;)switch(l.prev=l.next){case 0:if(o=n.name.value,a=i.filter(function(e){var t=e.definition;return t.name&&t.name.value===o}),0!==a.length){l.next=5;break}return e.stderr.write("Definition not found for GraphQL type "+o),l.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=a.map(function(e){var t=e.filePath,n=e.content,r=e.definition;return s(t||"",n,r)}),l.abrupt("return",{definitions:u,queryRange:u.map(function(e){return r(t,n)})});case 7:case"end":return l.stop()}},null,this)}function a(t,n,i){var o,a,u;return regeneratorRuntime.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(o=n.name.value,a=i.filter(function(e){return e.definition.name.value===o}),0!==a.length){s.next=5;break}return e.stderr.write("Definition not found for GraphQL fragment "+o),s.abrupt("return",{queryRange:[],definitions:[]});case 5:return u=a.map(function(e){var t=e.filePath,n=e.content,r=e.definition;return l(t||"",n,r)}),s.abrupt("return",{definitions:u,queryRange:u.map(function(e){return r(t,n)})});case 7:case"end":return s.stop()}},null,this)}function u(e,t,n){return{definitions:[l(e,t,n)],queryRange:n.name?[r(t,n.name)]:[]}}function l(e,t,n){var o=n.name;return(0,p.default)(o,"Expected ASTNode to have a Name."),{path:e,position:i(t,n),range:r(t,n),name:o.value||"",language:d,projectRoot:e}}function s(e,t,n){var o=n.name;return(0,p.default)(o,"Expected ASTNode to have a Name."),{path:e,position:i(t,n),range:r(t,n),name:o.value||"",language:d,projectRoot:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.LANGUAGE=void 0,t.getDefinitionQueryResultForNamedType=o,t.getDefinitionQueryResultForFragmentSpread=a,t.getDefinitionQueryResultForDefinitionNode=u;var c=n(53),f=n(136),p=function(e){return e&&e.__esModule?e:{default:e}}(f),d=t.LANGUAGE="GraphQL"}).call(t,n(134))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(269);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(135);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(270);Object.defineProperty(t,"validateWithCustomRules",{enumerable:!0,get:function(){return o.validateWithCustomRules}})},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3],o=null;try{o=(0,f.parse)(e)}catch(t){var a=u(t.locations[0],e);return[{severity:h.ERROR,message:t.message,source:"GraphQL: Syntax",range:a}]}return i(o,t,n,r)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments[2],r=arguments[3];if(!t)return[];var i=o((0,d.validateWithCustomRules)(t,e,n,r),function(e){return a(e,h.ERROR,"Validation")}),u=f.findDeprecatedUsages?o((0,f.findDeprecatedUsages)(t,e),function(e){return a(e,h.WARNING,"Deprecation")}):[];return i.concat(u)}function o(e,t){return Array.prototype.concat.apply([],e.map(t))}function a(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,c.default)(e.locations,"GraphQL validation error requires locations.");var o=e.locations[0],a=l(i),u=o.column+(a.end-a.start);return{source:"GraphQL: "+n,message:e.message,severity:t,range:new d.Range(new d.Position(o.line-1,o.column-1),new d.Position(o.line-1,u))}}):[]}function u(e,t){var n=(0,p.onlineParser)(),r=n.startState(),i=t.split("\n");(0,c.default)(i.length>=e.line,"Query text must have more lines than where the error happened");for(var o=null,a=0;a0||Object(r.a)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Object(r.a)(0,"column in locationOffset is 1-indexed and must be positive")};Object(i.a)(o)},function(e,t,n){"use strict";function r(e,t,n){return new i.a("Syntax Error: ".concat(n),void 0,e,[t])}t.a=r;var i=n(0)},function(e,t,n){"use strict";function r(e,t){var n=new l(k.a.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:i,lookahead:o}}function i(){return this.lastToken=this.token,this.token=this.lookahead()}function o(){var e=this.token;if(e.kind!==k.a.EOF)do{e=e.next||(e.next=c(this,e))}while(e.kind===k.a.COMMENT);return e}function a(e){var t=e.kind;return t===k.a.BANG||t===k.a.DOLLAR||t===k.a.AMP||t===k.a.PAREN_L||t===k.a.PAREN_R||t===k.a.SPREAD||t===k.a.COLON||t===k.a.EQUALS||t===k.a.AT||t===k.a.BRACKET_L||t===k.a.BRACKET_R||t===k.a.BRACE_L||t===k.a.PIPE||t===k.a.BRACE_R}function u(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}function l(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 s(e){return isNaN(e)?k.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function c(e,t){var n=e.source,r=n.body,i=r.length,o=p(r,t.end,e),a=e.line,u=1+o-e.lineStart;if(o>=i)return new l(k.a.EOF,i,i,a,u,t);var s=r.charCodeAt(o);switch(s){case 33:return new l(k.a.BANG,o,o+1,a,u,t);case 35:return d(n,o,a,u,t);case 36:return new l(k.a.DOLLAR,o,o+1,a,u,t);case 38:return new l(k.a.AMP,o,o+1,a,u,t);case 40:return new l(k.a.PAREN_L,o,o+1,a,u,t);case 41:return new l(k.a.PAREN_R,o,o+1,a,u,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new l(k.a.SPREAD,o,o+3,a,u,t);break;case 58:return new l(k.a.COLON,o,o+1,a,u,t);case 61:return new l(k.a.EQUALS,o,o+1,a,u,t);case 64:return new l(k.a.AT,o,o+1,a,u,t);case 91:return new l(k.a.BRACKET_L,o,o+1,a,u,t);case 93:return new l(k.a.BRACKET_R,o,o+1,a,u,t);case 123:return new l(k.a.BRACE_L,o,o+1,a,u,t);case 124:return new l(k.a.PIPE,o,o+1,a,u,t);case 125:return new l(k.a.BRACE_R,o,o+1,a,u,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 w(n,o,a,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return h(n,o,s,a,u,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?y(n,o,a,u,t,e):v(n,o,a,u,t)}throw Object(O.a)(n,o,f(s))}function f(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(s(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(s(e),".")}function p(e,t,n){for(var r=e.length,i=t;i31||9===o));return new l(k.a.COMMENT,t,u,n,r,i,a.slice(t+1,u))}function h(e,t,n,r,i,o){var a=e.body,u=n,c=t,f=!1;if(45===u&&(u=a.charCodeAt(++c)),48===u){if((u=a.charCodeAt(++c))>=48&&u<=57)throw Object(O.a)(e,c,"Invalid number, unexpected digit after 0: ".concat(s(u),"."))}else c=m(e,c,u),u=a.charCodeAt(c);return 46===u&&(f=!0,u=a.charCodeAt(++c),c=m(e,c,u),u=a.charCodeAt(c)),69!==u&&101!==u||(f=!0,u=a.charCodeAt(++c),43!==u&&45!==u||(u=a.charCodeAt(++c)),c=m(e,c,u)),new l(f?k.a.FLOAT:k.a.INT,t,c,r,i,o,a.slice(t,c))}function m(e,t,n){var r=e.body,i=t,o=n;if(o>=48&&o<=57){do{o=r.charCodeAt(++i)}while(o>=48&&o<=57);return i}throw Object(O.a)(e,i,"Invalid number, expected digit but got: ".concat(s(o),"."))}function v(e,t,n,r,i){for(var o=e.body,a=t+1,u=a,c=0,f="";a=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function w(e,t,n,r,i){for(var o=e.body,a=o.length,u=t+1,s=0;u!==a&&!isNaN(s=o.charCodeAt(u))&&(95===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122);)++u;return new l(k.a.NAME,t,u,n,r,i,o.slice(t,u))}t.a=r,t.c=a,t.b=u;var E=n(44),k=n(32),O=n(60),T=n(30);Object(E.a)(l,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}})},function(e,t,n){"use strict";function r(e){return'Unknown fragment "'.concat(e,'".')}function i(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new o.a(r(n),t.name))}}}Object.defineProperty(t,"__esModule",{value:!0}),t.unknownFragmentMessage=r,t.KnownFragmentNames=i;var o=n(0)},function(e,t,n){"use strict";function r(e){return'Fragment "'.concat(e,'" is never used.')}function i(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 i=Object.create(null),a=0,u=t;a=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){e(n(1))}(function(e){function t(e){return e&&e.bracketRegex||/[(){}[\]]/}function n(e,n,i){var o=e.getLineHandle(n.line),a=n.ch-1,s=i&&i.afterCursor;null==s&&(s=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var c=t(i),f=!s&&a>=0&&c.test(o.text.charAt(a))&&l[o.text.charAt(a)]||c.test(o.text.charAt(a+1))&&l[o.text.charAt(++a)];if(!f)return null;var p=">"==f.charAt(1)?1:-1;if(i&&i.strict&&p>0!=(a==n.ch))return null;var d=e.getTokenTypeAt(u(n.line,a+1)),h=r(e,u(n.line,a+(p>0?1:0)),p,d||null,i);return null==h?null:{from:u(n.line,a),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function r(e,n,r,i,o){for(var a=o&&o.maxScanLineLength||1e4,s=o&&o.maxScanLines||1e3,c=[],f=t(o),p=r>0?Math.min(n.line+s,e.lastLine()+1):Math.max(e.firstLine()-1,n.line-s),d=n.line;d!=p;d+=r){var h=e.getLine(d);if(h){var m=r>0?0:h.length-1,v=r>0?h.length:-1;if(!(h.length>a))for(d==n.line&&(m=n.ch-(r<0?1:0));m!=v;m+=r){var y=h.charAt(m);if(f.test(y)&&(void 0===i||e.getTokenTypeAt(u(d,m+1))==i)){var g=l[y];if(g&&">"==g.charAt(1)==r>0)c.push(y);else{if(!c.length)return{pos:u(d,m),ch:y};c.pop()}}}}}return d-r!=(r>0?e.lastLine():e.firstLine())&&null}function i(e,t,r){for(var i=e.state.matchBrackets.maxHighlightLineLength||1e3,o=[],l=e.listSelections(),s=0;s",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",o),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",o))}),e.defineExtension("matchBrackets",function(){i(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,r){return(r||"boolean"==typeof t)&&(r?(r.strict=t,t=r):t=t?{strict:!0}:null),n(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,i){return r(this,e,t,n,i)})})},function(e,t,n){!function(e){e(n(1),n(265))}(function(e){"use strict";function t(e){this.options=e,this.from=this.to=0}function n(e){return!0===e&&(e={}),null==e.gutter&&(e.gutter="CodeMirror-foldgutter"),null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open"),null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded"),e}function r(e,t){for(var n=e.findMarks(f(t,0),f(t+1,0)),r=0;r=u&&(n=i(o.indicatorOpen))}e.setGutterMarker(t,o.gutter,n),++a})}function a(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){o(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function u(e,t,n){var i=e.state.foldGutter;if(i){var o=i.options;if(n==o.gutter){var a=r(e,t);a?a.clear():e.foldCode(f(t,0),o.rangeFinder)}}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},n.foldOnChangeTimeSpan||600)}}function s(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?a(e):e.operation(function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function c(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&rt.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),u=a.indexOf(";");if(-1!=u)return{startCh:r.end,end:e.Pos(i,u)}}}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 u=a.end;;){var l=r(u.line+1);if(null==l)break;u=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:u}}),e.registerHelper("fold","include",function(t,n){function r(n){if(nt.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;;){if(null==r(a+1))break;++a}return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}})})},function(e,t,n){!function(e){e(n(1),n(35))}(function(e){"use strict";function t(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function n(e){return e.phrase("Jump to line:")+' '+e.phrase("(Use line:column or scroll% syntax)")+""}function r(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var i=e.getCursor();t(e,n(e),e.phrase("Jump to line:"),i.line+1+":"+i.ch,function(t){if(t){var n;if(n=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(t))e.setCursor(r(e,n[1]),Number(n[2]));else if(n=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(t)){var o=Math.round(e.lineCount()*Number(n[1])/100);/^[-+]/.test(n[1])&&(o=i.line+o+1),e.setCursor(o-1,i.ch)}else(n=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(t))&&e.setCursor(r(e,n[1]),i.ch)}})},e.keyMap.default["Alt-G"]="jumpToLine"})},function(e,t,n){!function(e){e(n(1),n(34),n(74))}(function(e){"use strict";function t(t,n,r){if(r<0&&0==n.ch)return t.clipPos(d(n.line-1));var i=t.getLine(n.line);if(r>0&&n.ch>=i.length)return t.clipPos(d(n.line+1,0));for(var o,a="start",u=n.ch,l=r<0?0:i.length,s=0;u!=l;u+=r,s++){var c=i.charAt(r<0?u-1:u),f="_"!=c&&e.isWordChar(c)?"w":"o";if("w"==f&&c.toUpperCase()==c&&(f="W"),"start"==a)"o"!=f&&(a="in",o=f);else if("in"==a&&o!=f){if("w"==o&&"W"==f&&r<0&&u--,"W"==o&&"w"==f&&r>0){o="w";continue}break}}return d(n.line,u)}function n(e,n){e.extendSelectionsBy(function(r){return e.display.shift||e.doc.extend||r.empty()?t(e.doc,r.head,n):n<0?r.from():r.to()})}function r(t,n){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,r=[],i=-1,o=0;o=0;u--){var l=r[o[u]];if(!(s&&e.cmpPos(l.head,s)>0)){var c=i(t,l.head);s=c.from,t.replaceRange(n(c.word),c.from,c.to)}}})}function c(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=i(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function f(e,t){var n=c(e);if(n){var r=n.query,i=e.getSearchCursor(r,t?n.to:n.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(r,t?d(e.firstLine(),0):e.clipPos(d(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):n.word&&e.setSelection(n.from,n.to))}}var p=e.commands,d=e.Pos;p.goSubwordLeft=function(e){n(e,-1)},p.goSubwordRight=function(e){n(e,1)},p.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())},p.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())},p.splitSelectionByLine=function(e){for(var t=e.listSelections(),n=[],r=0;ri.line&&a==o.line&&0==o.ch||n.push({anchor:a==i.line?i:d(a,0),head:a==o.line?o:d(a)});e.setSelections(n,0)},p.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},p.selectLine=function(e){for(var t=e.listSelections(),n=[],r=0;ri?r.push(l,s):r.length&&(r[r.length-1]=s),i=s}t.operation(function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+a,d(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",d(i,0),null,"+swapLine")}t.setSelections(o),t.scrollIntoView()})},p.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var n=t.listSelections(),r=[],i=t.lastLine()+1,o=n.length-1;o>=0;o--){var a=n[o],u=a.to().line+1,l=a.from().line;0!=a.to().ch||a.empty()||u--,u=0;e-=2){var n=r[e],i=r[e+1],o=t.getLine(n);n==t.lastLine()?t.replaceRange("",d(n-1),d(n),"+swapLine"):t.replaceRange("",d(n,0),d(n+1,0),"+swapLine"),t.replaceRange(o+"\n",d(i,0),null,"+swapLine")}t.scrollIntoView()})},p.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},p.joinLines=function(e){for(var t=e.listSelections(),n=[],r=0;r=0;i--){var o=n[i].head,a=t.getRange({line:o.line,ch:0},o),u=e.countColumn(a,null,t.getOption("tabSize")),l=t.findPosH(o,-1,"char",!1);if(a&&!/\S/.test(a)&&u%r==0){var s=new d(o.line,e.findColumn(a,u-r,r));s.ch!=o.ch&&(l=s)}t.replaceRange("",l,o,"+delete")}})},p.delLineRight=function(e){e.operation(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange("",t[n].anchor,d(t[n].to().line),"+delete");e.scrollIntoView()})},p.upcaseAtCursor=function(e){s(e,function(e){return e.toUpperCase()})},p.downcaseAtCursor=function(e){s(e,function(e){return e.toLowerCase()})},p.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},p.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},p.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)}},p.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))},p.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},p.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},p.findUnder=function(e){f(e,!0)},p.findUnderPrevious=function(e){f(e,!1)},p.findAllUnder=function(e){var t=c(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 m=e.keyMap;m.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-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-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(m.macSublime),m.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-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-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(m.pcSublime);var v=m.default==m.macDefault;m.sublime=v?m.macSublime:m.pcSublime})},function(e,t,n){"use strict";function r(e){var t=void 0;try{t=(0,l.parse)(e)}catch(e){return null}var n=i(e);return{outlineTrees:(0,l.visit)(t,{leave:function(e){return f.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null}})}}function i(e){var t=function(t){return{representativeName:t.name,startPosition:(0,s.offsetToPosition)(e,t.loc.start),endPosition:(0,s.offsetToPosition)(e,t.loc.end),children:t.selectionSet||[]}};return{Field:function(e){var n=e.alias?[o("plain",e.alias),o("plain",": ")]:[];return n.push(o("plain",e.name)),u({tokenizedText:n},t(e))},OperationDefinition:function(e){return u({tokenizedText:[o("keyword",e.operation),o("whitespace"," "),o("class-name",e.name)]},t(e))},Document:function(e){return e.definitions},SelectionSet:function(e){return a(e.selections,function(e){return e.kind===c?e.selectionSet:e})},Name:function(e){return e.value},FragmentDefinition:function(e){return u({tokenizedText:[o("keyword","fragment"),o("whitespace"," "),o("class-name",e.name)]},t(e))},FragmentSpread:function(e){return u({tokenizedText:[o("plain","..."),o("class-name",e.name)]},t(e))},InlineFragment:function(e){return e.selectionSet}}}function o(e,t){return{kind:e,value:t}}function a(e,t){for(var n=[],r=0;r120){for(var h=Math.floor(c/80),m=c%80,v=[],y=0;y1&&"_"===e[0]&&"_"===e[1]?new o.a('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'),t):u.test(e)?void 0:new o.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'),t)}t.a=r,t.b=i;var o=n(0),a=n(9),u=/^[_a-zA-Z][_a-zA-Z0-9]*$/},function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"b",function(){return M});var r=n(93),i=n(94),o=n(95),a=n(96),u=n(97),l=n(98),s=n(99),c=n(100),f=n(101),p=n(102),d=n(62),h=n(63),m=n(103),v=n(104),y=n(105),g=n(106),b=n(107),w=n(108),E=n(109),k=n(110),O=n(111),T=n(64),_=n(112),S=n(113),x=n(114),C=n(115),N=n(167),j=n(168),D=n(169),A=n(170),I=n(171),L=n(172),F=n(173),P=Object.freeze([r.ExecutableDefinitions,i.a,o.a,a.a,u.a,l.a,s.a,c.a,f.a,p.a,d.KnownFragmentNames,h.NoUnusedFragments,m.a,v.a,y.a,g.a,b.a,w.a,E.a,k.a,O.a,T.a,_.a,S.a,x.a,C.a]),M=Object.freeze([N.a,j.a,D.a,A.a,I.a,L.a,u.a,w.a,E.a,F.a,k.b,O.a,C.a,_.b])},function(e,t,n){"use strict";function r(e){return"The ".concat(e," definition is not executable.")}function i(e){return{Document:function(t){var n=!0,i=!1,l=void 0;try{for(var s,c=t.definitions[Symbol.iterator]();!(n=(s=c.next()).done);n=!0){var f=s.value;Object(u.b)(f)||e.reportError(new o.a(r(f.kind===a.Kind.SCHEMA_DEFINITION||f.kind===a.Kind.SCHEMA_EXTENSION?"schema":f.name.value),f))}}catch(e){i=!0,l=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw l}}return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.nonExecutableDefinitionMessage=r,t.ExecutableDefinitions=i;var o=n(0),a=n(7),u=n(22)},function(e,t,n){"use strict";function r(e){return'There can be only one operation named "'.concat(e,'".')}function i(e){var t=Object.create(null);return{OperationDefinition:function(n){var i=n.name;return i&&(t[i.value]?e.reportError(new o.a(r(i.value),[t[i.value],i])):t[i.value]=i),!1},FragmentDefinition:function(){return!1}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(){return"This anonymous operation must be the only defined operation."}function i(e){var t=0;return{Document:function(e){t=e.definitions.filter(function(e){return e.kind===a.Kind.OPERATION_DEFINITION}).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new o.a(r(),n))}}}t.a=i;var o=n(0),a=n(7)},function(e,t,n){"use strict";function r(e){return e?'Subscription "'.concat(e,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field."}function i(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new o.a(r(t.name&&t.name.value),t.selectionSet.selections.slice(1)))}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t){return'Unknown type "'.concat(e,'".')+Object(s.a)(t.map(function(e){return'"'.concat(e,'"')}))}function i(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null),s=!0,f=!1,d=void 0;try{for(var h,m=e.getDocument().definitions[Symbol.iterator]();!(s=(h=m.next()).done);s=!0){var v=h.value;Object(c.d)(v)&&(i[v.name.value]=!0)}}catch(e){f=!0,d=e}finally{try{s||null==m.return||m.return()}finally{if(f)throw d}}var y=Object.keys(n).concat(Object.keys(i));return{NamedType:function(t,s,c,f,d){var h=t.name.value;if(!n[h]&&!i[h]){var m=d[2]||c,v=a(m);if(v&&o(h))return;var g=Object(l.a)(h,v?p.concat(y):y);e.reportError(new u.a(r(h,g),t))}}}}function o(e){return-1!==p.indexOf(e)}function a(e){return Boolean(e&&!Array.isArray(e)&&(Object(c.g)(e)||Object(c.h)(e)))}t.a=i;var u=n(0),l=n(23),s=n(24),c=n(22),f=n(15),p=f.g.map(function(e){return e.name})},function(e,t,n){"use strict";function r(e){return'Fragment cannot condition on non composite type "'.concat(e,'".')}function i(e,t){return'Fragment "'.concat(e,'" cannot condition on non composite type "').concat(t,'".')}function o(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var i=Object(s.a)(e.getSchema(),n);i&&!Object(l.D)(i)&&e.reportError(new a.a(r(Object(u.a)(n)),n))}},FragmentDefinition:function(t){var n=Object(s.a)(e.getSchema(),t.typeCondition);n&&!Object(l.D)(n)&&e.reportError(new a.a(i(t.name.value,Object(u.a)(t.typeCondition)),t.typeCondition))}}}t.a=o;var a=n(0),u=n(13),l=n(2),s=n(16)},function(e,t,n){"use strict";function r(e,t){return'Variable "$'.concat(e,'" cannot be non-input type "').concat(t,'".')}function i(e){return{VariableDefinition:function(t){var n=Object(l.a)(e.getSchema(),t.type);if(n&&!Object(u.G)(n)){var i=t.variable.name.value;e.reportError(new o.a(r(i,Object(a.a)(t.type)),t.type))}}}}t.a=i;var o=n(0),a=n(13),u=n(2),l=n(16)},function(e,t,n){"use strict";function r(e,t){return'Field "'.concat(e,'" must not have a selection since type "').concat(t,'" has no subfields.')}function i(e,t){return'Field "'.concat(e,'" of type "').concat(t,'" must have a selection of subfields. Did you mean "').concat(e,' { ... }"?')}function o(e){return{Field:function(t){var n=e.getType(),o=t.selectionSet;n&&(Object(l.I)(Object(l.A)(n))?o&&e.reportError(new u.a(r(t.name.value,Object(a.a)(n)),o)):o||e.reportError(new u.a(i(t.name.value,Object(a.a)(n)),t)))}}}t.a=o;var a=n(4),u=n(0),l=n(2)},function(e,t,n){"use strict";function r(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,'".')+(Object(s.a)("to use an inline fragment on",i)||Object(s.a)(o))}function i(e){return{Field:function(t){var n=e.getParentType();if(n){if(!e.getFieldDef()){var i=e.getSchema(),l=t.name.value,s=o(i,n,l),c=0!==s.length?[]:a(i,n,l);e.reportError(new u.a(r(l,n.name,s,c),t))}}}}}function o(e,t,n){if(Object(c.C)(t)){var r=[],i=Object.create(null),o=!0,a=!1,u=void 0;try{for(var l,s=e.getPossibleTypes(t)[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){var f=l.value;if(f.getFields()[n]){r.push(f.name);var p=!0,d=!1,h=void 0;try{for(var m,v=f.getInterfaces()[Symbol.iterator]();!(p=(m=v.next()).done);p=!0){var y=m.value;y.getFields()[n]&&(i[y.name]=(i[y.name]||0)+1)}}catch(e){d=!0,h=e}finally{try{p||null==v.return||v.return()}finally{if(d)throw h}}}}}catch(e){a=!0,u=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw u}}return Object.keys(i).sort(function(e,t){return i[t]-i[e]}).concat(r)}return[]}function a(e,t,n){if(Object(c.N)(t)||Object(c.H)(t)){var r=Object.keys(t.getFields());return Object(l.a)(n,r)}return[]}t.a=i;var u=n(0),l=n(23),s=n(24),c=n(2)},function(e,t,n){"use strict";function r(e){return'There can be only one fragment named "'.concat(e,'".')}function i(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var i=n.name.value;return t[i]?e.reportError(new o.a(r(i),[t[i],n.name])):t[i]=n.name,!1}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t,n){return'Fragment "'.concat(e,'" cannot be spread here as objects of type "').concat(t,'" can never be of type "').concat(n,'".')}function i(e,t){return'Fragment cannot be spread here as objects of type "'.concat(e,'" can never be of type "').concat(t,'".')}function o(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();Object(f.D)(n)&&Object(f.D)(r)&&!Object(s.a)(e.getSchema(),n,r)&&e.reportError(new l.a(i(Object(u.a)(r),Object(u.a)(n)),t))},FragmentSpread:function(t){var n=t.name.value,i=a(e,n),o=e.getParentType();i&&o&&!Object(s.a)(e.getSchema(),i,o)&&e.reportError(new l.a(r(n,Object(u.a)(o),Object(u.a)(i)),t))}}}function a(e,t){var n=e.getFragment(t);if(n){var r=Object(c.a)(e.getSchema(),n.typeCondition);if(Object(f.D)(r))return r}}t.a=o;var u=n(4),l=n(0),s=n(47),c=n(16),f=n(2)},function(e,t,n){"use strict";function r(e,t){var n=t.length?" via "+t.join(", "):"";return'Cannot spread fragment "'.concat(e,'" within itself').concat(n,".")}function i(e){function t(u){if(!n[u.name.value]){var l=u.name.value;n[l]=!0;var s=e.getFragmentSpreads(u.selectionSet);if(0!==s.length){a[l]=i.length;var c=!0,f=!1,p=void 0;try{for(var d,h=s[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value,v=m.name.value,y=a[v];if(i.push(m),void 0===y){var g=e.getFragment(v);g&&t(g)}else{var b=i.slice(y),w=b.slice(0,-1).map(function(e){return e.name.value});e.reportError(new o.a(r(v,w),b))}i.pop()}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}a[l]=void 0}}}var n=Object.create(null),i=[],a=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return t(e),!1}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e){return'There can be only one variable named "'.concat(e,'".')}function i(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var i=n.variable.name.value;t[i]?e.reportError(new o.a(r(i),[t[i],n.variable.name])):t[i]=n.variable.name}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t){return t?'Variable "$'.concat(e,'" is not defined by operation "').concat(t,'".'):'Variable "$'.concat(e,'" is not defined.')}function i(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){var i=e.getRecursiveVariableUsages(n),a=!0,u=!1,l=void 0;try{for(var s,c=i[Symbol.iterator]();!(a=(s=c.next()).done);a=!0){var f=s.value,p=f.node,d=p.name.value;!0!==t[d]&&e.reportError(new o.a(r(d,n.name&&n.name.value),[p,n]))}}catch(e){u=!0,l=e}finally{try{a||null==c.return||c.return()}finally{if(u)throw l}}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}t.a=i;var o=n(0)},function(e,t,n){"use strict";function r(e,t){return t?'Variable "$'.concat(e,'" is never used in operation "').concat(t,'".'):'Variable "$'.concat(e,'" is never used.')}function i(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){var i=Object.create(null),a=e.getRecursiveVariableUsages(n),u=n.name?n.name.value:null,l=!0,s=!1,c=void 0;try{for(var f,p=a[Symbol.iterator]();!(l=(f=p.next()).done);l=!0){i[f.value.node.name.value]=!0}}catch(e){s=!0,c=e}finally{try{l||null==p.return||p.return()}finally{if(s)throw c}}for(var d=0,h=t;d1)for(var h=0;h0)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 w(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}t.a=o;var E=n(26),k=n(27),O=n(0),T=n(4),_=n(7),S=n(13),x=n(2),C=n(16),N=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){w(this._data,e,t,n),w(this._data,t,e,n)},e}()},function(e,t,n){"use strict";function r(e){return'There can be only one input field named "'.concat(e,'".')}function i(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var i=t.name.value;n[i]?e.reportError(new o.a(r(i),[n[i],t.name])):n[i]=t.name}}}t.a=i;var o=n(0)},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 ")}t.a=r,n.d(t,"b",function(){return i});var i=r()},function(e,t,n){"use strict";function r(e,t){e&&e.kind===w.Kind.DOCUMENT||Object(f.a)(0,"Must provide valid Document AST"),t&&(t.assumeValid||t.assumeValidSDL)||Object(m.a)(e);var n,r=[],o=[],a=!0,u=!1,l=void 0;try{for(var c,p=e.definitions[Symbol.iterator]();!(a=(c=p.next()).done);a=!0){var d=c.value;d.kind===w.Kind.SCHEMA_DEFINITION?n=d:Object(E.d)(d)?r.push(d):d.kind===w.Kind.DIRECTIVE_DEFINITION&&o.push(d)}}catch(e){u=!0,l=e}finally{try{a||null==p.return||p.return()}finally{if(u)throw l}}var h=new C(t,function(e){var t=v[e];return t||Object(f.a)(0,'Type "'.concat(e,'" not found in document.')),t}),v=i(r,function(e){return h.buildType(e)}),y=n?function(e){var t={},n=!0,r=!1,i=void 0;try{for(var o,a=e.operationTypes[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value;t[u.operation]=u.type.name.value}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return t}(n):{query:"Query",mutation:"Mutation",subscription:"Subscription"},g=o.map(function(e){return h.buildDirective(e)});return g.some(function(e){return"skip"===e.name})||g.push(O.e),g.some(function(e){return"include"===e.name})||g.push(O.d),g.some(function(e){return"deprecated"===e.name})||g.push(O.b),new S.a({query:y.query?v[y.query]:null,mutation:y.mutation?v[y.mutation]:null,subscription:y.subscription?v[y.subscription]:null,types:Object(s.a)(v),directives:g,astNode:n,assumeValid:t&&t.assumeValid,allowedLegacyNames:t&&t.allowedLegacyNames})}function i(e,t){return Object(d.a)(e,function(e){return e.name.value},t)}function o(e){var t=Object(b.b)(O.b,e);return t&&t.reason}function a(e,t){if(e.description)return e.description.value;if(t&&t.commentDescriptions){var n=u(e);if(void 0!==n)return Object(v.a)("\n"+n)}}function u(e){var t=e.loc;if(t){for(var n=[],r=t.startToken.prev;r&&r.kind===y.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")}}function l(e,t){return r(Object(g.a)(e,t),t)}t.b=r,n.d(t,"a",function(){return C}),t.d=a,t.c=l;var s=n(10),c=n(4),f=n(9),p=n(17),d=n(20),h=n(50),m=n(48),v=n(30),y=n(32),g=n(31),b=n(68),w=n(7),E=n(22),k=n(2),O=n(11),T=n(12),_=n(15),S=n(19),x=Object(p.a)(_.g.concat(T.introspectionTypes),function(e){return e.name}),C=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 x[t]||this._resolveType(t)},t.getWrappedType=function(e){return e.kind===w.Kind.LIST_TYPE?new k.d(this.getWrappedType(e.type)):e.kind===w.Kind.NON_NULL_TYPE?new k.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 O.c({name:e.name.value,description:a(e,this._options),locations:n,isRepeatable:e.repeatable,args:i(e.arguments||[],function(e){return t.buildArg(e)}),astNode:e})},t.buildField=function(e){var t=this;return{type:this.getWrappedType(e.type),description:a(e,this._options),args:i(e.arguments||[],function(e){return t.buildArg(e)}),deprecationReason:o(e),astNode:e}},t.buildArg=function(e){var t=this.getWrappedType(e.type);return{type:t,description:a(e,this._options),defaultValue:Object(h.a)(e.defaultValue,t),astNode:e}},t.buildInputField=function(e){var t=this.getWrappedType(e.type);return{type:t,description:a(e,this._options),defaultValue:Object(h.a)(e.defaultValue,t),astNode:e}},t.buildEnumValue=function(e){return{description:a(e,this._options),deprecationReason:o(e),astNode:e}},t.buildType=function(e){var t=e.name.value;if(x[t])return x[t];switch(e.kind){case w.Kind.OBJECT_TYPE_DEFINITION:return this._makeTypeDef(e);case w.Kind.INTERFACE_TYPE_DEFINITION:return this._makeInterfaceDef(e);case w.Kind.ENUM_TYPE_DEFINITION:return this._makeEnumDef(e);case w.Kind.UNION_TYPE_DEFINITION:return this._makeUnionDef(e);case w.Kind.SCALAR_TYPE_DEFINITION:return this._makeScalarDef(e);case w.Kind.INPUT_OBJECT_TYPE_DEFINITION:return this._makeInputObjectDef(e)}throw new Error('Unexpected type definition node: "'.concat(Object(c.a)(e),'".'))},t._makeTypeDef=function(e){var t=this,n=e.interfaces,r=e.fields,o=n&&n.length>0?function(){return n.map(function(e){return t.getNamedType(e)})}:[],u=r&&r.length>0?function(){return i(r,function(e){return t.buildField(e)})}:Object.create(null);return new k.f({name:e.name.value,description:a(e,this._options),interfaces:o,fields:u,astNode:e})},t._makeInterfaceDef=function(e){var t=this,n=e.fields,r=n&&n.length>0?function(){return i(n,function(e){return t.buildField(e)})}:Object.create(null);return new k.c({name:e.name.value,description:a(e,this._options),fields:r,astNode:e})},t._makeEnumDef=function(e){var t=this,n=e.values||[];return new k.a({name:e.name.value,description:a(e,this._options),values:i(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 k.h({name:e.name.value,description:a(e,this._options),types:r,astNode:e})},t._makeScalarDef=function(e){return new k.g({name:e.name.value,description:a(e,this._options),astNode:e})},t._makeInputObjectDef=function(e){var t=this,n=e.fields;return new k.b({name:e.name.value,description:a(e,this._options),fields:n?function(){return i(n,function(e){return t.buildInputField(e)})}:Object.create(null),astNode:e})},e}()},function(e,t,n){"use strict";function r(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function i(e,t){var n,i,u,l,s,c,f=!1;t||(t={}),n=t.debug||!1;try{u=o(),l=document.createRange(),s=document.getSelection(),c=document.createElement("span"),c.textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(n){n.stopPropagation(),t.format&&(n.preventDefault(),n.clipboardData.clearData(),n.clipboardData.setData(t.format,e))}),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l);if(!document.execCommand("copy"))throw new Error("copy command was unsuccessful");f=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),f=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),i=r("message"in t?t.message:a),window.prompt(i,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),u()}return f}var o=n(200),a="Copy to clipboard: #{key}, Enter";e.exports=i},function(e,t,n){"use strict";e.exports=n(209)},function(e,t,n){"use strict";e.exports.encode=n(210),e.exports.decode=n(211),e.exports.format=n(212),e.exports.parse=n(213)},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=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,u=e.pos,l=e.src.charCodeAt(u);if(t)return!1;if(126!==l)return!1;if(r=e.scanDelims(e.pos,!0),o=r.length,a=String.fromCharCode(l),o<2)return!1;for(o%2&&(i=e.push("text","",0),i.content=a,o--),n=0;n=0;t--)n=u[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=u[n.end],a=t>0&&u[t-1].end===n.end+1&&u[t-1].token===n.token-1&&u[n.end+1].token===r.token+1&&u[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.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],i.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[u[t-1].token].content="",e.tokens[u[n.end+1].token].content="",t--))}},function(e,t,n){"use strict";function r(e,t,r){var o,a,l=n(1);l.on(t,"select",function(e,t){if(!o){var n=t.parentNode;o=document.createElement("div"),o.className="CodeMirror-hint-information",n.appendChild(o),a=document.createElement("div"),a.className="CodeMirror-hint-deprecation",n.appendChild(a);var l;n.addEventListener("DOMNodeRemoved",l=function(e){e.target===n&&(n.removeEventListener("DOMNodeRemoved",l),o=null,a=null,l=null)})}var s=e.description?u.render(e.description):"Self descriptive.",c=e.type?''+i(e.type)+"":"";if(o.innerHTML=''+("
"===s.slice(0,3)?"
"+c+s.slice(3):c+s)+"
",e.isDeprecated){var f=e.deprecationReason?u.render(e.deprecationReason):"";a.innerHTML='Deprecated'+f,a.style.display="block"}else a.style.display="none";r&&r(o)})}function i(e){return e instanceof o.GraphQLNonNull?"".concat(i(e.ofType),"!"):e instanceof o.GraphQLList?"[".concat(i(e.ofType),"]"):''.concat(e.name,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(6),a=function(e){return e&&e.__esModule?e:{default:e}}(n(70)),u=new a.default},function(e,t,n){!function(e){e(n(1))}(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()})}function n(e,t,n){var r=e.options.hintOptions,i={};for(var o in h)i[o]=h[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}function r(e){return"string"==typeof e?e:e.text}function i(e,t){function n(e,n){var i;i="string"!=typeof n?function(e){return n(e,t)}:r.hasOwnProperty(n)?r[n]:n,o[e]=i}var r={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)&&(r["Ctrl-P"]=function(){t.moveFocus(-1)},r["Ctrl-N"]=function(){t.moveFocus(1)});var i=e.options.customKeys,o=i?{}:r;if(i)for(var a in i)i.hasOwnProperty(a)&&n(a,i[a]);var u=e.options.extraKeys;if(u)for(var a in u)u.hasOwnProperty(a)&&n(a,u[a]);return o}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 a=this,u=t.cm,l=u.getInputField().ownerDocument,s=l.defaultView||l.parentWindow,p=this.hints=l.createElement("ul"),d=t.cm.options.theme;p.className="CodeMirror-hints "+d,this.selectedHint=n.selectedHint||0;for(var h=n.list,m=0;mp.clientHeight+1,F=u.getScrollInfo();if(I>0){var P=A.bottom-A.top;if(w.top-(w.bottom-A.top)-P>0)p.style.top=(k=w.top-P-_)+"px",O=!1;else if(P>D){p.style.height=D-5+"px",p.style.top=(k=w.bottom-A.top-_)+"px";var M=u.getCursor();n.from.ch!=M.ch&&(w=u.cursorCoords(M),p.style.left=(E=w.left-T)+"px",A=p.getBoundingClientRect())}}var R=A.right-j;if(R>0&&(A.right-A.left>j&&(p.style.width=j-5+"px",R-=A.right-A.left-j),p.style.left=(E=w.left-R-T)+"px"),L)for(var V=p.firstChild;V;V=V.nextSibling)V.style.paddingRight=u.display.nativeBarWidth+"px";if(u.addKeyMap(this.keyMap=i(t,{moveFocus:function(e,t){a.changeActive(a.selectedHint+e,t)},setFocus:function(e){a.changeActive(e)},menuSize:function(){return a.screenAmount()},length:h.length,close:function(){t.close()},pick:function(){a.pick()},data:n})),t.options.closeOnUnfocus){var U;u.on("blur",this.onBlur=function(){U=setTimeout(function(){t.close()},100)}),u.on("focus",this.onFocus=function(){clearTimeout(U)})}return u.on("scroll",this.onScroll=function(){var e=u.getScrollInfo(),n=u.getWrapperElement().getBoundingClientRect(),r=k+F.top-e.top,i=r-(s.pageYOffset||(l.documentElement||l.body).scrollTop);if(O||(i+=p.offsetHeight),i<=n.top||i>=n.bottom)return t.close();p.style.top=r+"px",p.style.left=E+F.left-e.left+"px"}),e.on(p,"dblclick",function(e){var t=o(p,e.target||e.srcElement);t&&null!=t.hintId&&(a.changeActive(t.hintId),a.pick())}),e.on(p,"click",function(e){var n=o(p,e.target||e.srcElement);n&&null!=n.hintId&&(a.changeActive(n.hintId),t.options.completeOnSingleClick&&a.pick())}),e.on(p,"mousedown",function(){setTimeout(function(){u.focus()},20)}),e.signal(n,"select",h[this.selectedHint],p.childNodes[this.selectedHint]),!0}function u(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r0?t(e):r(i+1)})}var o=u(e,i);r(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(){}}var c="CodeMirror-hint",f="CodeMirror-hint-active";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(r){r=n(this,this.getCursor("start"),r);var i=this.listSelections();if(!(i.length>1)){if(this.somethingSelected()){if(!r.hint.supportsSelection)return;for(var o=0;o=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(" "+f,"")),r=this.hints.childNodes[this.selectedHint=t],r.className+=" "+f,r.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=r.offsetTop+r.offsetHeight-this.hints.clientHeight+3),e.signal(this.data,"select",this.data.list[this.selectedHint],r)}},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:s}),e.registerHelper("hint","fromList",function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),u=i;o.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)})},function(e,t,n){!function(e){e(n(1))}(function(e){function t(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:f[t]}function n(e){for(var t=0;t=0;u--){var c=a[u].head;n.replaceRange("",p(c.line,c.ch-1),p(c.line,c.ch+1),"+delete")}}function a(n){var r=i(n),o=r&&t(r,"explode");if(!o||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),u=0;u0;return{anchor:new p(t.anchor.line,t.anchor.ch+(n?-1:1)),head:new p(t.head.line,t.head.ch+(n?1:-1))}}function l(n,r){var o=i(n);if(!o||n.getOption("disableInput"))return e.Pass;var a=t(o,"pairs"),l=a.indexOf(r);if(-1==l)return e.Pass;for(var s,f=t(o,"closeBefore"),d=t(o,"triples"),h=a.charAt(l+1)==r,m=n.listSelections(),v=l%2==0,y=0;y1&&d.indexOf(r)>=0&&n.getRange(p(w.line,w.ch-2),w)==r+r){if(w.ch>2&&/\bstring/.test(n.getTokenTypeAt(p(w.line,w.ch-2))))return e.Pass;g="addFour"}else if(h){var k=0==w.ch?" ":n.getRange(p(w.line,w.ch-1),w);if(e.isWordChar(E)||k==r||e.isWordChar(k))return e.Pass;g="both"}else{if(!v||!(0===E.length||/\s/.test(E)||f.indexOf(E)>-1))return e.Pass;g="both"}else g=h&&c(n,w)?"both":d.indexOf(r)>=0&&n.getRange(w,p(w.line,w.ch+3))==r+r+r?"skipThree":"skip";if(s){if(s!=g)return e.Pass}else s=g}var O=l%2?a.charAt(l-1):r,T=l%2?r:a.charAt(l+1);n.operation(function(){if("skip"==s)n.execCommand("goCharRight");else if("skipThree"==s)for(var e=0;e<3;e++)n.execCommand("goCharRight");else if("surround"==s){for(var t=n.getSelections(),e=0;e",triples:"",explode:"[]{}"},p=e.Pos;e.defineOption("autoCloseBrackets",!1,function(r,i,o){o&&o!=e.Init&&(r.removeKeyMap(d),r.state.closeBrackets=null),i&&(n(t(i,"pairs")),r.state.closeBrackets=i,r.addKeyMap(d))});var d={Backspace:o,Enter:a};n(f.pairs+"`")})},function(e,t,n){!function(e){e(n(1),n(34),n(35))}(function(e){"use strict";function t(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()}}}function n(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function r(e){return e.state.search||(e.state.search=new n)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function o(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function a(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){h(e)},onKeyDown:i})}function u(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function l(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}function s(e){return e.replace(/\\([nrt\\])/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e})}function c(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=s(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function f(e,n,r){n.queryText=r,n.query=c(r),e.removeOverlay(n.overlay,i(n.query)),n.overlay=t(n.query,i(n.query)),e.addOverlay(n.overlay),e.showMatchesOnScrollbar&&(n.annotate&&(n.annotate.clear(),n.annotate=null),n.annotate=e.showMatchesOnScrollbar(n.query,i(n.query)))}function p(t,n,i,o){var l=r(t);if(l.query)return d(t,n);var s=t.getSelection()||l.lastQuery;if(s instanceof RegExp&&"x^"==s.source&&(s=null),i&&t.openDialog){var c=null,p=function(n,r){e.e_stop(r),n&&(n!=l.queryText&&(f(t,l,n),l.posFrom=l.posTo=t.getCursor()),c&&(c.style.opacity=1),d(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&&((c=r).style.opacity=.4)}))};a(t,m(t),s,p,function(n,i){var o=e.keyName(n),a=t.getOption("extraKeys"),u=a&&a[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==u||"findPrev"==u||"findPersistentNext"==u||"findPersistentPrev"==u?(e.e_stop(n),f(t,r(t),i),t.execCommand(u)):"find"!=u&&"findPersistent"!=u||(e.e_stop(n),p(i,n))}),o&&s&&(f(t,l,s),d(t,n))}else u(t,m(t),"Search for:",s,function(e){e&&!l.query&&t.operation(function(){f(t,l,e),l.posFrom=l.posTo=t.getCursor(),d(t,n)})})}function d(t,n,i){t.operation(function(){var a=r(t),u=o(t,a.query,n?a.posFrom:a.posTo);(u.find(n)||(u=o(t,a.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0)),u.find(n)))&&(t.setSelection(u.from(),u.to()),t.scrollIntoView({from:u.from(),to:u.to()},20),a.posFrom=u.from(),a.posTo=u.to(),i&&i(u.from(),u.to()))})}function h(e){e.operation(function(){var t=r(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 m(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function v(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function y(e){return''+e.phrase("With:")+' '}function g(e){return''+e.phrase("Replace?")+" "}function b(e,t,n){e.operation(function(){for(var r=o(e,t);r.findNext();)if("string"!=typeof t){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function w(e,t){if(!e.getOption("readOnly")){var n=e.getSelection()||r(e).lastQuery,i=''+(t?e.phrase("Replace all:"):e.phrase("Replace:"))+"";u(e,i+v(e),i,n,function(n){n&&(n=c(n),u(e,y(e),e.phrase("Replace with:"),"",function(r){if(r=s(r),t)b(e,n,r);else{h(e);var i=o(e,n,e.getCursor("from")),a=function(){var t,s=i.from();!(t=i.findNext())&&(i=o(e,n),!(t=i.findNext())||s&&i.from().line==s.line&&i.from().ch==s.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),l(e,g(e),e.phrase("Replace?"),[function(){u(t)},a,function(){b(e,n,r)}]))},u=function(e){i.replace("string"==typeof n?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}e.commands.find=function(e){h(e),p(e)},e.commands.findPersistent=function(e){h(e),p(e,!1,!0)},e.commands.findPersistentNext=function(e){p(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){p(e,!0,!0,!0)},e.commands.findNext=p,e.commands.findPrev=function(e){p(e,!0)},e.commands.clearSearch=h,e.commands.replace=w,e.commands.replaceAll=function(e){w(e,!0)}})},function(e,t,n){!function(e){e(n(1))}(function(e){"use strict";function t(t,n){function r(t){if(!i.parentNode)return e.off(document,"mousemove",r);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+"px",i.style.left=t.clientX+5+"px"}var i=document.createElement("div");return i.className="CodeMirror-lint-tooltip",i.appendChild(n.cloneNode(!0)),document.body.appendChild(i),e.on(document,"mousemove",r),r(t),null!=i.style.opacity&&(i.style.opacity=1),i}function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(e){e.parentNode&&(null==e.style.opacity&&n(e),e.style.opacity=0,setTimeout(function(){n(e)},600))}function i(n,i,o){function a(){e.off(o,"mouseout",a),u&&(r(u),u=null)}var u=t(n,i),l=setInterval(function(){if(u)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){a();break}}if(!u)return clearInterval(l)},400);e.on(o,"mouseout",a)}function o(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){y(e,t)},this.waitingFor=0}function a(e,t){return t instanceof Function?{getAnnotations:t}:(t&&!0!==t||(t={}),t)}function u(e){var t=e.state.lint;t.hasGutter&&e.clearGutter(g);for(var n=0;n1,n.options.tooltips))}}r.onUpdateLinting&&r.onUpdateLinting(t,i,e)}function m(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(function(){d(e)},t.options.delay||500))}function v(e,t){for(var n=t.target||t.srcElement,r=document.createDocumentFragment(),o=0;o1)for(var n=1;n=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 u(e,t)},e.prototype.setEnd=function(e,t){this.end=new u(e,t)},e}(),u=t.Position=function(){function e(t,n){var i=this;r(this,e),this.lessThanOrEqualTo=function(e){return i.line=0;u--)if(l[u]!==s[u])return!1;for(u=l.length-1;u>=0;u--)if(a=l[u],!d(e[a],t[a],n,r))return!1;return!0}function v(e,t,n){d(e,t,!0)&&f(e,t,n,"notDeepStrictEqual",v)}function y(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 g(e){var t;try{e()}catch(e){t=e}return t}function b(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=g(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&f(i,n,"Missing expected exception"+r);var o="string"===typeof r,a=!e&&k.isError(i),u=!e&&i&&!n;if((a&&o&&y(i,n)||u)&&f(i,n,"Got unwanted exception"+r),e&&i&&n&&!y(i,n)||!e&&i)throw i}function w(e,t){e||f(e,!0,t,"==",w)}var E=n(40),k=n(271),O=Object.prototype.hasOwnProperty,T=Array.prototype.slice,_=function(){return"foo"===function(){}.name}(),S=e.exports=p,x=/\s*function\s+([^\(\s]*)\s*/;S.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=c(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=u(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},k.inherits(S.AssertionError,Error),S.fail=f,S.ok=p,S.equal=function(e,t,n){e!=t&&f(e,t,n,"==",S.equal)},S.notEqual=function(e,t,n){e==t&&f(e,t,n,"!=",S.notEqual)},S.deepEqual=function(e,t,n){d(e,t,!1)||f(e,t,n,"deepEqual",S.deepEqual)},S.deepStrictEqual=function(e,t,n){d(e,t,!0)||f(e,t,n,"deepStrictEqual",S.deepStrictEqual)},S.notDeepEqual=function(e,t,n){d(e,t,!1)&&f(e,t,n,"notDeepEqual",S.notDeepEqual)},S.notDeepStrictEqual=v,S.strictEqual=function(e,t,n){e!==t&&f(e,t,n,"===",S.strictEqual)},S.notStrictEqual=function(e,t,n){e===t&&f(e,t,n,"!==",S.notStrictEqual)},S.throws=function(e,t,n){b(!0,e,t,n)},S.doesNotThrow=function(e,t,n){b(!1,e,t,n)},S.ifError=function(e){if(e)throw e},S.strict=E(w,S,{equal:S.strictEqual,deepEqual:S.deepStrictEqual,notEqual:S.notStrictEqual,notDeepEqual:S.notDeepStrictEqual}),S.strict.strict=S.strict;var C=Object.keys||function(e){var t=[];for(var n in e)O.call(e,n)&&t.push(n);return t}}).call(t,n(39))},function(e,t,n){function r(e){return n(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={".":25,"./":25,"./GraphQLLanguageService":80,"./GraphQLLanguageService.js":80,"./GraphQLLanguageService.js.flow":274,"./autocompleteUtils":51,"./autocompleteUtils.js":51,"./autocompleteUtils.js.flow":275,"./getAutocompleteSuggestions":36,"./getAutocompleteSuggestions.js":36,"./getAutocompleteSuggestions.js.flow":276,"./getDefinition":52,"./getDefinition.js":52,"./getDefinition.js.flow":277,"./getDiagnostics":54,"./getDiagnostics.js":54,"./getDiagnostics.js.flow":278,"./getHoverInformation":55,"./getHoverInformation.js":55,"./getHoverInformation.js.flow":279,"./getOutline":79,"./getOutline.js":79,"./getOutline.js.flow":280,"./index":25,"./index.js":25,"./index.js.flow":281};r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=137},function(e,t,n){"use strict";function r(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?i(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=(0,a.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&&i(e,n.parentType,t.prevState.name):null;n.argDefs=r&&r.args;break;case"Argument":if(n.argDef=null,n.argDefs)for(var u=0;u=0;i--)t(n[i])}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:l(e.fieldDef)?null:e.parentType}}function i(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function o(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:l(e.fieldDef)?null:e.parentType}}function a(e){return{kind:"EnumValue",value:e.enumValue,type:(0,s.getNamedType)(e.inputType)}}function u(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function l(e){return"__"===e.name.slice(0,2)}Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldReference=r,t.getDirectiveReference=i,t.getArgumentReference=o,t.getEnumValueReference=a,t.getTypeReference=u;var s=n(6)},function(e,t,n){"use strict";function r(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function i(e){var t=e.state.info.options;return t&&t.hoverTime||500}function o(e,t){var n=e.state.info,r=t.target||t.srcElement;if("SPAN"===r.nodeName&&void 0===n.hoverTimeout){var o=r.getBoundingClientRect(),u=i(e);n.hoverTimeout=setTimeout(f,u);var l=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(f,u)},c=function t(){s.default.off(document,"mousemove",l),s.default.off(e.getWrapperElement(),"mouseout",t),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},f=function(){s.default.off(document,"mousemove",l),s.default.off(e.getWrapperElement(),"mouseout",c),n.hoverTimeout=void 0,a(e,o)};s.default.on(document,"mousemove",l),s.default.on(e.getWrapperElement(),"mouseout",c)}}function a(e,t){var n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),r=e.state.info,i=r.options,o=i.render||e.getHelper(n,"info");if(o){var a=e.getTokenAt(n,!0);if(a){var l=o(a,i,e,n);l&&u(e,t,l)}}}function u(e,t,n){var r=document.createElement("div");r.className="CodeMirror-info",r.appendChild(n),document.body.appendChild(r);var i=r.getBoundingClientRect(),o=r.currentStyle||window.getComputedStyle(r),a=i.right-i.left+parseFloat(o.marginLeft)+parseFloat(o.marginRight),u=i.bottom-i.top+parseFloat(o.marginTop)+parseFloat(o.marginBottom),l=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(l=t.top-u),l<0&&(l=t.bottom);var c=Math.max(0,window.innerWidth-a-15);c>t.left&&(c=t.left),r.style.opacity=1,r.style.top=l+"px",r.style.left=c+"px";var f=void 0,p=function(){clearTimeout(f)},d=function(){clearTimeout(f),f=setTimeout(h,200)},h=function(){s.default.off(r,"mouseover",p),s.default.off(r,"mouseout",d),s.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)};s.default.on(r,"mouseover",p),s.default.on(r,"mouseout",d),s.default.on(e.getWrapperElement(),"mouseout",d)}var l=n(1),s=function(e){return e&&e.__esModule?e:{default:e}}(l);s.default.defineOption("info",!1,function(e,t,n){if(n&&n!==s.default.Init){var i=e.state.info.onMouseOver;s.default.off(e.getWrapperElement(),"mouseover",i),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){var a=e.state.info=r(t);a.onMouseOver=o.bind(null,e),s.default.on(e.getWrapperElement(),"mouseover",a.onMouseOver)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.field,n=t.type,r=t.defaultValue;return void 0!==r?o.default.createElement("span",null," = ",o.default.createElement("span",{className:"arg-default-value"},(0,u.print)((0,u.astFromValue)(r,n)))):null}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=r(n(5)),a=r(n(8)),u=n(6);i.propTypes={field:a.default.object.isRequired}},function(e,t,n){"use strict";function r(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){n=null,t.apply(r,i)},e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t"))return i("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return i("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),i("number","number");if("/"==n)return e.eat("*")?(t.tokenize=u,u(e,t)):e.eat("/")?(e.skipToEnd(),i("comment","comment")):Ve(e,t,1)?(r(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),i("regexp","string-2")):(e.eat("="),i("operator","operator",e.current()));if("`"==n)return t.tokenize=l,l(e,t);if("#"==n)return e.skipToEnd(),i("error","error");if(Ye.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),i("operator","operator",e.current());if(Qe.test(n)){e.eatWhile(Qe);var o=e.current();if("."!=t.lastType){if(We.propertyIsEnumerable(o)){var s=We[o];return i(s.type,s.style,o)}if("async"==o&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return i("async","keyword",o)}return i("variable","variable",o)}}function a(e){return function(t,n){var r,a=!1;if(He&&"@"==t.peek()&&t.match(Je))return n.tokenize=o,i("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||a);)a=!a&&"\\"==r;return a||(n.tokenize=o),i("string","string")}}function u(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=o;break}r="*"==n}return i("comment","comment")}function l(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=o;break}r=!r&&"\\"==n}return i("quasi","string-2",e.current())}function s(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(Ge){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,a=n-1;a>=0;--a){var u=e.string.charAt(a),l=$e.indexOf(u);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){"("==u&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(Qe.test(u))o=!0;else if(/["'\/`]/.test(u))for(;;--a){if(0==a)return;var s=e.string.charAt(a-1);if(s==u&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}function c(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function f(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}function p(e,t,n,r,i){var o=e.cc;for(Ze.state=e,Ze.stream=i,Ze.marked=null,Ze.cc=o,Ze.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){if((o.length?o.pop():Ke?N:x)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return Ze.marked?Ze.marked:"variable"==n&&f(e,r)?"variable-2":t}}}function d(){for(var e=arguments.length-1;e>=0;e--)Ze.cc.push(arguments[e])}function h(){return d.apply(null,arguments),!0}function m(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function v(e){var t=Ze.state;if(Ze.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=y(e,t.context);if(null!=r)return void(t.context=r)}else if(!m(e,t.localVars))return void(t.localVars=new w(e,t.localVars));n.globalVars&&!m(e,t.globalVars)&&(t.globalVars=new w(e,t.globalVars))}function y(e,t){if(t){if(t.block){var n=y(e,t.prev);return n?n==t.prev?t:new b(n,t.vars,!0):null}return m(e,t.vars)?t:new b(t.prev,new w(e,t.vars),!1)}return null}function g(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function b(e,t,n){this.prev=e,this.vars=t,this.block=n}function w(e,t){this.name=e,this.next=t}function E(){Ze.state.context=new b(Ze.state.context,Ze.state.localVars,!1),Ze.state.localVars=et}function k(){Ze.state.context=new b(Ze.state.context,Ze.state.localVars,!0),Ze.state.localVars=null}function O(){Ze.state.localVars=Ze.state.context.vars,Ze.state.context=Ze.state.context.prev}function T(e,t){var n=function(){var n=Ze.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new c(r,Ze.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function _(){var e=Ze.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function S(e){function t(n){return n==e?h():";"==e||"}"==n||")"==n||"]"==n?d():h(t)}return t}function x(e,t){return"var"==e?h(T("vardef",t),se,S(";"),_):"keyword a"==e?h(T("form"),D,x,_):"keyword b"==e?h(T("form"),x,_):"keyword d"==e?Ze.stream.match(/^\s*$/,!1)?h():h(T("stat"),I,S(";"),_):"debugger"==e?h(S(";")):"{"==e?h(T("}"),k,J,_,O):";"==e?h():"if"==e?("else"==Ze.state.lexical.info&&Ze.state.cc[Ze.state.cc.length-1]==_&&Ze.state.cc.pop()(),h(T("form"),D,x,_,me)):"function"==e?h(be):"for"==e?h(T("form"),ve,x,_):"class"==e||Ge&&"interface"==t?(Ze.marked="keyword",h(T("form","class"==e?e:t),Te,_)):"variable"==e?Ge&&"declare"==t?(Ze.marked="keyword",h(x)):Ge&&("module"==t||"enum"==t||"type"==t)&&Ze.stream.match(/^\s*\w/,!1)?(Ze.marked="keyword","enum"==t?h(Pe):"type"==t?h(Ee,S("operator"),te,S(";")):h(T("form"),ce,S("{"),T("}"),J,_,_)):Ge&&"namespace"==t?(Ze.marked="keyword",h(T("form"),N,x,_)):Ge&&"abstract"==t?(Ze.marked="keyword",h(x)):h(T("stat"),z):"switch"==e?h(T("form"),D,S("{"),T("}","switch"),k,J,_,_,O):"case"==e?h(N,S(":")):"default"==e?h(S(":")):"catch"==e?h(T("form"),E,C,x,_,O):"export"==e?h(T("stat"),Ce,_):"import"==e?h(T("stat"),je,_):"async"==e?h(x):"@"==t?h(N,x):d(T("stat"),N,S(";"),_)}function C(e){if("("==e)return h(ke,S(")"))}function N(e,t){return A(e,t,!1)}function j(e,t){return A(e,t,!0)}function D(e){return"("!=e?d():h(T(")"),N,S(")"),_)}function A(e,t,n){if(Ze.state.fatArrowAt==Ze.stream.start){var r=n?V:R;if("("==e)return h(E,T(")"),W(ke,")"),_,S("=>"),r,O);if("variable"==e)return d(E,ce,S("=>"),r,O)}var i=n?F:L;return Xe.hasOwnProperty(e)?h(i):"function"==e?h(be,i):"class"==e||Ge&&"interface"==t?(Ze.marked="keyword",h(T("form"),Oe,_)):"keyword c"==e||"async"==e?h(n?j:N):"("==e?h(T(")"),I,S(")"),_,i):"operator"==e||"spread"==e?h(n?j:N):"["==e?h(T("]"),Fe,_,i):"{"==e?Y(K,"}",null,i):"quasi"==e?d(P,i):"new"==e?h(U(n)):"import"==e?h(N):h()}function I(e){return e.match(/[;\}\)\],]/)?d():d(N)}function L(e,t){return","==e?h(N):F(e,t,!1)}function F(e,t,n){var r=0==n?L:F,i=0==n?N:j;return"=>"==e?h(E,n?V:R,O):"operator"==e?/\+\+|--/.test(t)||Ge&&"!"==t?h(r):Ge&&"<"==t&&Ze.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?h(T(">"),W(te,">"),_,r):"?"==t?h(N,S(":"),i):h(i):"quasi"==e?d(P,r):";"!=e?"("==e?Y(j,")","call",r):"."==e?h(H,r):"["==e?h(T("]"),I,S("]"),_,r):Ge&&"as"==t?(Ze.marked="keyword",h(te,r)):"regexp"==e?(Ze.state.lastType=Ze.marked="operator",Ze.stream.backUp(Ze.stream.pos-Ze.stream.start-1),h(i)):void 0:void 0}function P(e,t){return"quasi"!=e?d():"${"!=t.slice(t.length-2)?h(P):h(N,M)}function M(e){if("}"==e)return Ze.marked="string-2",Ze.state.tokenize=l,h(P)}function R(e){return s(Ze.stream,Ze.state),d("{"==e?x:N)}function V(e){return s(Ze.stream,Ze.state),d("{"==e?x:j)}function U(e){return function(t){return"."==t?h(e?q:B):"variable"==t&&Ge?h(ae,e?F:L):d(e?j:N)}}function B(e,t){if("target"==t)return Ze.marked="keyword",h(L)}function q(e,t){if("target"==t)return Ze.marked="keyword",h(F)}function z(e){return":"==e?h(_,x):d(L,S(";"),_)}function H(e){if("variable"==e)return Ze.marked="property",h()}function K(e,t){if("async"==e)return Ze.marked="property",h(K);if("variable"==e||"keyword"==Ze.style){if(Ze.marked="property","get"==t||"set"==t)return h(G);var n;return Ge&&Ze.state.fatArrowAt==Ze.stream.start&&(n=Ze.stream.match(/^\s*:\s*/,!1))&&(Ze.state.fatArrowAt=Ze.stream.pos+n[0].length),h(Q)}return"number"==e||"string"==e?(Ze.marked=He?"property":Ze.style+" property",h(Q)):"jsonld-keyword"==e?h(Q):Ge&&g(t)?(Ze.marked="keyword",h(K)):"["==e?h(N,$,S("]"),Q):"spread"==e?h(j,Q):"*"==t?(Ze.marked="keyword",h(K)):":"==e?d(Q):void 0}function G(e){return"variable"!=e?d(Q):(Ze.marked="property",h(be))}function Q(e){return":"==e?h(j):"("==e?d(be):void 0}function W(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:","==i){var a=Ze.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),h(function(n,r){return n==t||r==t?d():d(e)},r)}return i==t||o==t?h():n&&n.indexOf(";")>-1?d(e):h(S(t))}return function(n,i){return n==t||i==t?h():d(e,r)}}function Y(e,t,n){for(var r=3;r"),te):void 0}function ne(e){if("=>"==e)return h(te)}function re(e,t){return"variable"==e||"keyword"==Ze.style?(Ze.marked="property",h(re)):"?"==t||"number"==e||"string"==e?h(re):":"==e?h(te):"["==e?h(S("variable"),X,S("]"),re):"("==e?d(we,re):void 0}function ie(e,t){return"variable"==e&&Ze.stream.match(/^\s*[?:]/,!1)||"?"==t?h(ie):":"==e?h(te):"spread"==e?h(ie):d(te)}function oe(e,t){return"<"==t?h(T(">"),W(te,">"),_,oe):"|"==t||"."==e||"&"==t?h(te):"["==e?h(te,S("]"),oe):"extends"==t||"implements"==t?(Ze.marked="keyword",h(te)):"?"==t?h(te,S(":"),te):void 0}function ae(e,t){if("<"==t)return h(T(">"),W(te,">"),_,oe)}function ue(){return d(te,le)}function le(e,t){if("="==t)return h(te)}function se(e,t){return"enum"==t?(Ze.marked="keyword",h(Pe)):d(ce,$,de,he)}function ce(e,t){return Ge&&g(t)?(Ze.marked="keyword",h(ce)):"variable"==e?(v(t),h()):"spread"==e?h(ce):"["==e?Y(pe,"]"):"{"==e?Y(fe,"}"):void 0}function fe(e,t){return"variable"!=e||Ze.stream.match(/^\s*:/,!1)?("variable"==e&&(Ze.marked="property"),"spread"==e?h(ce):"}"==e?d():"["==e?h(N,S("]"),S(":"),fe):h(S(":"),ce,de)):(v(t),h(de))}function pe(){return d(ce,de)}function de(e,t){if("="==t)return h(j)}function he(e){if(","==e)return h(se)}function me(e,t){if("keyword b"==e&&"else"==t)return h(T("form","else"),x,_)}function ve(e,t){return"await"==t?h(ve):"("==e?h(T(")"),ye,_):void 0}function ye(e){return"var"==e?h(se,ge):"variable"==e?h(ge):d(ge)}function ge(e,t){return")"==e?h():";"==e?h(ge):"in"==t||"of"==t?(Ze.marked="keyword",h(N,ge)):d(N,ge)}function be(e,t){return"*"==t?(Ze.marked="keyword",h(be)):"variable"==e?(v(t),h(be)):"("==e?h(E,T(")"),W(ke,")"),_,Z,x,O):Ge&&"<"==t?h(T(">"),W(ue,">"),_,be):void 0}function we(e,t){return"*"==t?(Ze.marked="keyword",h(we)):"variable"==e?(v(t),h(we)):"("==e?h(E,T(")"),W(ke,")"),_,Z,O):Ge&&"<"==t?h(T(">"),W(ue,">"),_,we):void 0}function Ee(e,t){return"keyword"==e||"variable"==e?(Ze.marked="type",h(Ee)):"<"==t?h(T(">"),W(ue,">"),_):void 0}function ke(e,t){return"@"==t&&h(N,ke),"spread"==e?h(ke):Ge&&g(t)?(Ze.marked="keyword",h(ke)):Ge&&"this"==e?h($,de):d(ce,$,de)}function Oe(e,t){return"variable"==e?Te(e,t):_e(e,t)}function Te(e,t){if("variable"==e)return v(t),h(_e)}function _e(e,t){return"<"==t?h(T(">"),W(ue,">"),_,_e):"extends"==t||"implements"==t||Ge&&","==e?("implements"==t&&(Ze.marked="keyword"),h(Ge?te:N,_e)):"{"==e?h(T("}"),Se,_):void 0}function Se(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||Ge&&g(t))&&Ze.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(Ze.marked="keyword",h(Se)):"variable"==e||"keyword"==Ze.style?(Ze.marked="property",h(Ge?xe:be,Se)):"number"==e||"string"==e?h(Ge?xe:be,Se):"["==e?h(N,$,S("]"),Ge?xe:be,Se):"*"==t?(Ze.marked="keyword",h(Se)):Ge&&"("==e?d(we,Se):";"==e||","==e?h(Se):"}"==e?h():"@"==t?h(N,Se):void 0}function xe(e,t){if("?"==t)return h(xe);if(":"==e)return h(te,de);if("="==t)return h(j);var n=Ze.state.lexical.prev;return d(n&&"interface"==n.info?we:be)}function Ce(e,t){return"*"==t?(Ze.marked="keyword",h(Le,S(";"))):"default"==t?(Ze.marked="keyword",h(N,S(";"))):"{"==e?h(W(Ne,"}"),Le,S(";")):d(x)}function Ne(e,t){return"as"==t?(Ze.marked="keyword",h(S("variable"))):"variable"==e?d(j,Ne):void 0}function je(e){return"string"==e?h():"("==e?d(N):d(De,Ae,Le)}function De(e,t){return"{"==e?Y(De,"}"):("variable"==e&&v(t),"*"==t&&(Ze.marked="keyword"),h(Ie))}function Ae(e){if(","==e)return h(De,Ae)}function Ie(e,t){if("as"==t)return Ze.marked="keyword",h(De)}function Le(e,t){if("from"==t)return Ze.marked="keyword",h(N)}function Fe(e){return"]"==e?h():d(W(j,"]"))}function Pe(){return d(T("form"),ce,S("{"),T("}"),W(Me,"}"),_,_)}function Me(){return d(ce,de)}function Re(e,t){return"operator"==e.lastType||","==e.lastType||Ye.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}function Ve(e,t,n){return t.tokenize==o&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var Ue,Be,qe=t.indentUnit,ze=n.statementIndent,He=n.jsonld,Ke=n.json||He,Ge=n.typescript,Qe=n.wordCharacters||/[\w$\xa1-\uffff]/,We=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),Ye=/[+\-*&%=<>!?|~^@]/,Je=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,$e="([{}])",Xe={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},Ze={state:null,column:null,marked:null,cc:null},et=new w("this",new w("arguments",null));return O.lex=!0,_.lex=!0,{startState:function(e){var t={tokenize:o,lastType:"sof",cc:[],lexical:new c((e||0)-qe,0,"block",!1),localVars:n.localVars,context:n.localVars&&new b(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),s(e,t)),t.tokenize!=u&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==Ue?n:(t.lastType="operator"!=Ue||"++"!=Be&&"--"!=Be?Ue:"incdec",p(t,n,Ue,Be,e))},indent:function(t,r){if(t.tokenize==u)return e.Pass;if(t.tokenize!=o)return 0;var i,a=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var s=t.cc.length-1;s>=0;--s){var c=t.cc[s];if(c==_)l=l.prev;else if(c!=me)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==L||i==F)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;ze&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var f=l.type,p=a==f;return"vardef"==f?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==f&&"{"==a?l.indented:"form"==f?l.indented+qe:"stat"==f?l.indented+(Re(t,r)?ze||qe:0):"switch"!=l.info||p||0==n.doubleIndentSwitch?l.align?l.column+(p?0:1):l.indented+(p?0:qe):l.indented+(/^(?:case|default)\b/.test(r)?qe:2*qe)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:Ke?null:"/*",blockCommentEnd:Ke?null:"*/",blockCommentContinue:Ke?null:" * ",lineComment:Ke?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:Ke?"json":"javascript",jsonldMode:He,jsonMode:Ke,expressionAllowed:Ve,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=N&&t!=j||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},function(e,t,n){n(147),e.exports=n(152)},function(e,t,n){"use strict";"undefined"===typeof Promise&&(n(148).enable(),window.Promise=n(150)),n(151),Object.assign=n(40)},function(e,t,n){"use strict";function r(){s=!1,u._47=null,u._71=null}function i(e){function t(t){(e.allRejections||a(f[t].error,e.whitelist||l))&&(f[t].displayId=c++,e.onUnhandled?(f[t].logged=!0,e.onUnhandled(f[t].displayId,f[t].error)):(f[t].logged=!0,o(f[t].displayId,f[t].error)))}function n(t){f[t].logged&&(e.onHandled?e.onHandled(f[t].displayId,f[t].error):f[t].onUnhandled||(console.warn("Promise Rejection Handled (id: "+f[t].displayId+"):"),console.warn(' This means you can ignore any previous messages of the form "Possible Unhandled Promise Rejection" with id '+f[t].displayId+".")))}e=e||{},s&&r(),s=!0;var i=0,c=0,f={};u._47=function(e){2===e._83&&f[e._56]&&(f[e._56].logged?n(e._56):clearTimeout(f[e._56].timeout),delete f[e._56])},u._71=function(e,n){0===e._75&&(e._56=i++,f[e._56]={displayId:null,error:n,timeout:setTimeout(t.bind(null,e._56),a(n,l)?100:2e3),logged:!1})}}function o(e,t){console.warn("Possible Unhandled Promise Rejection (id: "+e+"):"),((t&&(t.stack||t))+"").split("\n").forEach(function(e){console.warn(" "+e)})}function a(e,t){return t.some(function(t){return e instanceof t})}var u=n(85),l=[ReferenceError,TypeError,RangeError],s=!1;t.disable=r,t.enable=i},function(e,t,n){"use strict";(function(t){function n(e){a.length||(o(),u=!0),a[a.length]=e}function r(){for(;ls){for(var t=0,n=a.length-l;t-1?t:e}function d(e,t){t=t||{};var n=t.body;if(e instanceof d){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=p(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t}function v(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var y={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(y.arrayBuffer)var g=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(e){return e&&DataView.prototype.isPrototypeOf(e)},w=ArrayBuffer.isView||function(e){return e&&g.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,r){e=t(e),r=n(r);var i=this.map[e];this.map[e]=i?i+","+r:r},i.prototype.delete=function(e){delete this.map[t(e)]},i.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,r){this.map[t(e)]=n(r)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},y.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},f.call(d.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];v.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=d,e.Response=v,e.fetch=function(e,t){return new Promise(function(n,r){var i=new d(e,t),o=new XMLHttpRequest;o.onload=function(){var e={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var t="response"in o?o.response:o.responseText;n(new v(t,e))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials&&(o.withCredentials=!0),"responseType"in o&&y.blob&&(o.responseType="blob"),i.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"===typeof i._bodyInit?null:i._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!==typeof self?self:this)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),i=n.n(r),o=n(56),a=n.n(o),u=n(157);a.a.render(i.a.createElement(u.a,null),document.getElementById("wp-graphiql"))},function(e,t,n){"use strict";function r(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;rH.length&&H.push(e)}function d(e,t,n,i){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case k:case O:a=!0}}if(a)return n(i,e,""===t?"."+m(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;uthis.eventPool.length&&this.eventPool.push(e)}function I(e){e.eventPool=[],e.getPooled=D,e.release=A}function L(e,t){switch(e){case"keyup":return-1!==Ui.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function F(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function P(e,t){switch(e){case"compositionend":return F(t);case"keypress":return 32!==t.which?null:(Qi=!0,Ki);case"textInput":return e=t.data,e===Ki&&Qi?null:e;default:return null}}function M(e,t){if(Wi)return"compositionend"===e||!Bi&&L(e,t)?(e=x(),Mi=Pi=Fi=null,Wi=!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&&1t}return!1}function ie(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}function oe(e){return e[1].toUpperCase()}function ae(e,t,n,r){var i=To.hasOwnProperty(t)?To[t]:null;(null!==i?0===i.type:!r&&(2ca.length&&ca.push(e)}}}function Ue(e){var t=pa.get(e);return void 0===t&&(t=new Set,pa.set(e,t)),t}function Be(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function qe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ze(e,t){var n=qe(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qe(n)}}function He(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?He(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ke(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=Be(e.document)}return t}function Ge(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return ga||null==ma||ma!==Be(n)?null:(n=ma,"selectionStart"in n&&Ge(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ya&&xe(ya,n)?null:(ya=n,e=j.getPooled(ha.select,va,e,t),e.type="select",e.target=ma,T(e),e))}function We(e){var t="";return ii.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}function Ye(e,t){return e=oi({children:void 0},t),(t=We(t.children))&&(e.children=t),e}function Je(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i=t.length))throw r(Error(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:ue(n)}}function Ze(e,t){var n=ue(t.value),r=ue(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function et(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function tt(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 nt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?tt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function rt(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 it(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Oa.hasOwnProperty(e)&&Oa[e]?(""+t).trim():t+"px"}function ot(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=it(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}function at(e,t){if(t){if(_a[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw r(Error(137),e,"");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw r(Error(60));if(!("object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw r(Error(61))}if(null!=t.style&&"object"!==typeof t.style)throw r(Error(62),"")}}function ut(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function lt(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ue(e);t=pi[t];for(var r=0;rDa||(e.current=ja[Da],ja[Da]=null,Da--)}function ht(e,t){Da++,ja[Da]=e.current,e.current=t}function mt(e,t){var n=e.type.contextTypes;if(!n)return Aa;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,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vt(e){return null!==(e=e.childContextTypes)&&void 0!==e}function yt(e){dt(La,e),dt(Ia,e)}function gt(e){dt(La,e),dt(Ia,e)}function bt(e,t,n){if(Ia.current!==Aa)throw r(Error(168));ht(Ia,t,e),ht(La,n,e)}function wt(e,t,n){var i=e.stateNode;if(e=t.childContextTypes,"function"!==typeof i.getChildContext)return n;i=i.getChildContext();for(var o in i)if(!(o in e))throw r(Error(108),Z(t)||"Unknown",o);return oi({},n,i)}function Et(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Aa,Fa=Ia.current,ht(Ia,t,e),ht(La,La.current,e),!0}function kt(e,t,n){var i=e.stateNode;if(!i)throw r(Error(169));n?(t=wt(e,t,Fa),i.__reactInternalMemoizedMergedChildContext=t,dt(La,e),dt(Ia,e),ht(Ia,t,e)):dt(La,e),ht(La,n,e)}function Ot(){switch(qa()){case za:return 99;case Ha:return 98;case Ka:return 97;case Ga:return 96;case Qa:return 95;default:throw r(Error(332))}}function Tt(e){switch(e){case 99:return za;case 98:return Ha;case 97:return Ka;case 96:return Ga;case 95:return Qa;default:throw r(Error(332))}}function _t(e,t){return e=Tt(e),Pa(e,t)}function St(e,t,n){return e=Tt(e),Ma(e,t,n)}function xt(e){return null===Ja?(Ja=[e],$a=Ma(za,Nt)):Ja.push(e),Wa}function Ct(){null!==$a&&Ra($a),Nt()}function Nt(){if(!Xa&&null!==Ja){Xa=!0;var e=0;try{var t=Ja;_t(99,function(){for(;e=e?99:250>=e?98:5250>=e?97:95)}function Dt(e,t){if(e&&e.defaultProps){t=oi({},t),e=e.defaultProps;for(var n in e)void 0===t[n]&&(t[n]=e[n])}return t}function At(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,t=e._ctor,t=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)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}function It(){iu=ru=nu=null}function Lt(e,t){var n=e.type._context;ht(tu,n._currentValue,e),n._currentValue=t}function Ft(e){var t=tu.current;dt(tu,e),e.type._context._currentValue=t}function Pt(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime=t&&(Yu=!0),e.firstContext=null)}function Rt(e,t){if(iu!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(iu=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ru){if(null===nu)throw r(Error(308));ru=t,nu.dependencies={expirationTime:0,firstContext:t,responders:null}}else ru=ru.next=t;return e._currentValue}function Vt(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ut(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Bt(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function qt(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function zt(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=Vt(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=Vt(e.memoizedState),i=n.updateQueue=Vt(n.memoizedState)):r=e.updateQueue=Ut(i):null===i&&(i=n.updateQueue=Ut(r));null===i||r===i?qt(r,t):null===r.lastUpdate||null===i.lastUpdate?(qt(r,t),qt(i,t)):(qt(r,t),i.lastUpdate=t)}function Ht(e,t){var n=e.updateQueue;n=null===n?e.updateQueue=Vt(e.memoizedState):Kt(e,n),null===n.lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Kt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Ut(t)),t}function Gt(e,t,n,r,i,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(e=n.payload,null===(i="function"===typeof e?e.call(o,r,i):e)||void 0===i)break;return oi({},r,i);case 2:ou=!0}return r}function Qt(e,t,n,r,i){ou=!1,t=Kt(e,t);for(var o=t.baseState,a=null,u=0,l=t.firstUpdate,s=o;null!==l;){var c=l.expirationTime;cm?(v=f,f=null):v=f.sibling;var y=d(r,f,u[m],l);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(r,f),o=a(y,o,m),null===c?s=y:c.sibling=y,c=y,f=v}if(m===u.length)return n(r,f),s;if(null===f){for(;mv?(y=m,m=null):y=m.sibling;var b=d(o,m,g.value,s);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),u=a(b,u,v),null===f?c=b:f.sibling=b,f=b,m=y}if(g.done)return n(o,m),c;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=p(o,g.value,s))&&(u=a(g,u,v),null===f?c=g:f.sibling=g,f=g);return c}for(m=i(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,s))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),u=a(g,u,v),null===f?c=g:f.sibling=g,f=g);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,i,a,l){var s="object"===typeof a&&null!==a&&a.type===uo&&null===a.key;s&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case oo:e:{for(c=a.key,s=i;null!==s;){if(s.key===c){if(7===s.tag?a.type===uo:s.elementType===a.type){n(e,s.sibling),i=o(s,a.type===uo?a.props.children:a.props,l),i.ref=tn(e,s,a),i.return=e,e=i;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===uo?(i=Vr(a.props.children,e.mode,l,a.key),i.return=e,e=i):(l=Rr(a.type,a.key,a.props,null,e.mode,l),l.ref=tn(e,i,a),l.return=e,e=l)}return u(e);case ao:e:{for(s=a.key;null!==i;){if(i.key===s){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(e,i.sibling),i=o(i,a.children||[],l),i.return=e,e=i;break e}n(e,i);break}t(e,i),i=i.sibling}i=Br(a,e.mode,l),i.return=e,e=i}return u(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==i&&6===i.tag?(n(e,i.sibling),i=o(i,a,l),i.return=e,e=i):(n(e,i),i=Ur(a,e.mode,l),i.return=e,e=i),u(e);if(su(a))return m(e,i,a,l);if(X(a))return v(e,i,a,l);if(c&&nn(e,a),"undefined"===typeof a&&!s)switch(e.tag){case 1:case 0:throw e=e.type,r(Error(152),e.displayName||e.name||"Component")}return n(e,i)}}function on(e){if(e===pu)throw r(Error(174));return e}function an(e,t){ht(mu,t,e),ht(hu,e,e),ht(du,pu,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nt(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=nt(t,n)}dt(du,e),ht(du,t,e)}function un(e){dt(du,e),dt(hu,e),dt(mu,e)}function ln(e){on(mu.current);var t=on(du.current),n=nt(t,e.type);t!==n&&(ht(hu,e,e),ht(du,n,e))}function sn(e){hu.current===e&&(dt(du,e),dt(hu,e))}function cn(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)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 fn(){throw r(Error(321))}function pn(e,t){if(null===t)return!1;for(var n=0;nPu&&(Pu=f)):(Er(f,s.suspenseConfig),a=s.eagerReducer===e?s.eagerState:e(a,s.action)),u=s,s=s.next}while(null!==s&&s!==i);c||(l=u,o=a),Se(a,t.memoizedState)||(Yu=!0),t.memoizedState=a,t.baseUpdate=l,t.baseState=o,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function bn(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Mu?(Mu={lastEffect:null},Mu.lastEffect=e.next=e):(t=Mu.lastEffect,null===t?Mu.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Mu.lastEffect=e)),e}function wn(e,t,n,r){var i=mn();Ru|=e,i.memoizedState=bn(t,n,void 0,void 0===r?null:r)}function En(e,t,n,r){var i=vn();r=void 0===r?null:r;var o=void 0;if(null!==Du){var a=Du.memoizedState;if(o=a.destroy,null!==r&&pn(r,a.deps))return void bn(wu,n,o,r)}Ru|=e,i.memoizedState=bn(t,n,o,r)}function kn(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function On(){}function Tn(e,t,n){if(!(25>Bu))throw r(Error(301));var i=e.alternate;if(e===ju||null!==i&&i===ju)if(Vu=!0,e={expirationTime:Nu,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Uu&&(Uu=new Map),void 0===(n=Uu.get(t)))Uu.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var o=ur(),a=au.suspense;o=lr(o,e,a),a={expirationTime:o,suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var u=t.last;if(null===u)a.next=a;else{var l=u.next;null!==l&&(a.next=l),u.next=a}if(t.last=a,0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=i(s,n);if(a.eagerReducer=i,a.eagerState=c,Se(c,s))return}catch(e){}sr(e,o)}}function _n(e,t){var n=Lr(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 Sn(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 xn(e){if(Qu){var t=Gu;if(t){var n=t;if(!Sn(e,t)){if(!(t=pt(n.nextSibling))||!Sn(e,t))return e.effectTag|=2,Qu=!1,void(Ku=e);_n(Ku,n)}Ku=e,Gu=pt(t.firstChild)}else e.effectTag|=2,Qu=!1,Ku=e}}function Cn(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;Ku=e}function Nn(e){if(e!==Ku)return!1;if(!Qu)return Cn(e),Qu=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!ft(t,e.memoizedProps))for(t=Gu;t;)_n(e,t),t=pt(t.nextSibling);return Cn(e),Gu=Ku?pt(e.stateNode.nextSibling):null,!0}function jn(){Gu=Ku=null,Qu=!1}function Dn(e,t,n,r){t.child=null===e?fu(t,null,n,r):cu(t,e.child,n,r)}function An(e,t,n,r,i){n=n.render;var o=t.ref;return Mt(t,i),r=dn(e,t,n,r,o,i),null===e||Yu?(t.effectTag|=1,Dn(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),zn(e,t,i))}function In(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||Fr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?(e=Rr(n.type,null,r,null,t.mode,o),e.ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ln(e,t,a,r,i,o))}return a=e.child,it)&&Ll.set(e,t))}}function cr(e,t){e.expirationTimei.firstPendingTime&&(i.firstPendingTime=t),0===(e=i.lastPendingTime)||t=t)&&(St(97,function(){return n._onComplete(),null}),!0)}function mr(){if(null!==Ll){var e=Ll;Ll=null,e.forEach(function(e,t){xt(wr.bind(null,t,e))}),Ct()}}function vr(e,t){var n=ml;ml|=1;try{return e(t)}finally{(ml=n)===al&&Ct()}}function yr(e,t,n,r){var i=ml;ml|=4;try{return _t(98,e.bind(null,t,n,r))}finally{(ml=i)===al&&Ct()}}function gr(e,t){var n=ml;ml&=-2,ml|=ul;try{return e(t)}finally{(ml=n)===al&&Ct()}}function br(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Na(n)),null!==yl)for(n=yl.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!==i&&void 0!==i&&yt(r);break;case 3:un(r),gt(r);break;case 5:sn(r);break;case 4:un(r);break;case 13:case 19:dt(bu,r);break;case 10:Ft(r)}n=n.return}vl=e,yl=Mr(e.current,null),gl=t,bl=cl,El=wl=1073741823,kl=null,Ol=!1}function wr(e,t,n){if((ml&(ll|sl))!==al)throw r(Error(327));if(e.firstPendingTime component higher in the tree to provide a loading indicator or placeholder to display."+ee(s))}bl!==hl&&(bl=fl),c=Qn(c,s),s=l;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=f,f=or(s,c,f),Ht(s,f);break e;case 1:if(p=c,u=s.type,l=s.stateNode,0===(64&s.effectTag)&&("function"===typeof u.getDerivedStateFromError||null!==l&&"function"===typeof l.componentDidCatch&&(null===Nl||!Nl.has(l)))){s.effectTag|=2048,s.expirationTime=f,f=ar(s,p,f),Ht(s,f);break e}}s=s.return}while(null!==s)}yl=Or(a)}if(ml=i,It(),il.current=o,null!==yl)return wr.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,hr(e,t))return null;switch(vl=null,bl){case cl:throw r(Error(328));case fl:return i=e.lastPendingTime,in&&(n=0),n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*rl(n/1960))-n,t=t?t=0:(n=0|o.busyDelayMs,i=eu()-(10*(1073741821-i)-(0|o.timeoutMs||5e3)),t=i<=n?0:n+t-i),10<\/script>",c=s.removeChild(s.firstChild)):"string"===typeof n.is?c=c.createElement(s,{is:n.is}):(c=c.createElement(s),"select"===s&&(s=c,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):c=c.createElementNS(u,s),s=c,s[Ti]=l,s[_i]=n,n=s,$u(n,t,!1,!1),l=n;var f=i,p=ut(a,o);switch(a){case"iframe":case"object":case"embed":Fe("load",l),i=o;break;case"video":case"audio":for(i=0;io.tailExpiration&&1n&&(n=a),l>n&&(n=l),o=o.sibling;i.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=yl.firstEffect),null!==yl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=yl.firstEffect),e.lastEffect=yl.lastEffect),1o?a:o,e.firstPendingTime=o,ow&&(E=w,w=C,C=E),E=ze(_,C),k=ze(_,w),E&&k&&(1!==x.rangeCount||x.anchorNode!==E.node||x.anchorOffset!==E.offset||x.focusNode!==k.node||x.focusOffset!==k.offset)&&(S=S.createRange(),S.setStart(E.node,E.offset),x.removeAllRanges(),C>w?(x.addRange(S),x.extend(k.node,k.offset)):(S.setEnd(k.node,k.offset),x.addRange(S)))))),S=[];for(x=_;x=x.parentNode;)1===x.nodeType&&S.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"===typeof _.focus&&_.focus(),_=0;_=qi),Ki=String.fromCharCode(32),Gi={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(" ")}},Qi=!1,Wi=!1,Yi={eventTypes:Gi,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(Bi)e:{switch(e){case"compositionstart":i=Gi.compositionStart;break e;case"compositionend":i=Gi.compositionEnd;break e;case"compositionupdate":i=Gi.compositionUpdate;break e}i=void 0}else Wi?L(e,n)&&(i=Gi.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Gi.compositionStart);return i?(Hi&&"ko"!==n.locale&&(Wi||i!==Gi.compositionStart?i===Gi.compositionEnd&&Wi&&(o=x()):(Fi=r,Pi="value"in Fi?Fi.value:Fi.textContent,Wi=!0)),i=Ri.getPooled(i,t,n,r),o?i.data=o:null!==(o=F(n))&&(i.data=o),T(i),o=i):o=null,(e=zi?P(e,n):M(e,n))?(t=Vi.getPooled(Gi.beforeInput,t,n,r),t.data=e,T(t)):t=null,null===o?t:null===t?o:[o,t]}},Ji=null,$i=null,Xi=null,Zi=B,eo=!1,to={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},no=ii.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;no.hasOwnProperty("ReactCurrentDispatcher")||(no.ReactCurrentDispatcher={current:null}),no.hasOwnProperty("ReactCurrentBatchConfig")||(no.ReactCurrentBatchConfig={suspense:null});var ro=/^(.*)[\\\/]/,io="function"===typeof Symbol&&Symbol.for,oo=io?Symbol.for("react.element"):60103,ao=io?Symbol.for("react.portal"):60106,uo=io?Symbol.for("react.fragment"):60107,lo=io?Symbol.for("react.strict_mode"):60108,so=io?Symbol.for("react.profiler"):60114,co=io?Symbol.for("react.provider"):60109,fo=io?Symbol.for("react.context"):60110,po=io?Symbol.for("react.concurrent_mode"):60111,ho=io?Symbol.for("react.forward_ref"):60112,mo=io?Symbol.for("react.suspense"):60113,vo=io?Symbol.for("react.suspense_list"):60120,yo=io?Symbol.for("react.memo"):60115,go=io?Symbol.for("react.lazy"):60116;io&&Symbol.for("react.fundamental"),io&&Symbol.for("react.responder");var bo="function"===typeof Symbol&&Symbol.iterator,wo=/^[: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]*$/,Eo=Object.prototype.hasOwnProperty,ko={},Oo={},To={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){To[e]=new ie(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];To[t]=new ie(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){To[e]=new ie(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){To[e]=new ie(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){To[e]=new ie(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){To[e]=new ie(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){To[e]=new ie(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){To[e]=new ie(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){To[e]=new ie(e,5,!1,e.toLowerCase(),null,!1)});var _o=/[\-:]([a-z])/g;"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(_o,oe);To[t]=new ie(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(_o,oe);To[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_o,oe);To[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){To[e]=new ie(e,1,!1,e.toLowerCase(),null,!1)}),To.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){To[e]=new ie(e,1,!1,e.toLowerCase(),null,!0)});var So={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},xo=null,Co=null,No=!1;Si&&(No=Q("input")&&(!document.documentMode||9=document.documentMode,ha={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ma=null,va=null,ya=null,ga=!1,ba={eventTypes:ha,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Ue(o),i=pi.onSelect;for(var a=0;a"+t+"",t=Ea.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Oa={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},Ta=["Webkit","ms","Moz","O"];Object.keys(Oa).forEach(function(e){Ta.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oa[t]=Oa[e]})});var _a=oi({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}),Sa=null,xa=null,Ca="function"===typeof setTimeout?setTimeout:void 0,Na="function"===typeof clearTimeout?clearTimeout:void 0;new Set;var ja=[],Da=-1,Aa={},Ia={current:Aa},La={current:!1},Fa=Aa,Pa=ai.unstable_runWithPriority,Ma=ai.unstable_scheduleCallback,Ra=ai.unstable_cancelCallback,Va=ai.unstable_shouldYield,Ua=ai.unstable_requestPaint,Ba=ai.unstable_now,qa=ai.unstable_getCurrentPriorityLevel,za=ai.unstable_ImmediatePriority,Ha=ai.unstable_UserBlockingPriority,Ka=ai.unstable_NormalPriority,Ga=ai.unstable_LowPriority,Qa=ai.unstable_IdlePriority,Wa={},Ya=void 0!==Ua?Ua:function(){},Ja=null,$a=null,Xa=!1,Za=Ba(),eu=1e4>Za?Ba:function(){return Ba()-Za},tu={current:null},nu=null,ru=null,iu=null,ou=!1,au=no.ReactCurrentBatchConfig,uu=(new ii.Component).refs,lu={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===Ne(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ur(),i=au.suspense;r=lr(r,e,i),i=Bt(r,i),i.payload=t,void 0!==n&&null!==n&&(i.callback=n),zt(e,i),sr(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ur(),i=au.suspense;r=lr(r,e,i),i=Bt(r,i),i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),zt(e,i),sr(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ur(),r=au.suspense;n=lr(n,e,r),r=Bt(n,r),r.tag=2,void 0!==t&&null!==t&&(r.callback=t),zt(e,r),sr(e,n)}},su=Array.isArray,cu=rn(!0),fu=rn(!1),pu={},du={current:pu},hu={current:pu},mu={current:pu},vu=1,yu=1,gu=2,bu={current:0},wu=0,Eu=2,ku=4,Ou=8,Tu=16,_u=32,Su=64,xu=128,Cu=no.ReactCurrentDispatcher,Nu=0,ju=null,Du=null,Au=null,Iu=null,Lu=null,Fu=null,Pu=0,Mu=null,Ru=0,Vu=!1,Uu=null,Bu=0,qu={readContext:Rt,useCallback:fn,useContext:fn,useEffect:fn,useImperativeHandle:fn,useLayoutEffect:fn,useMemo:fn,useReducer:fn,useRef:fn,useState:fn,useDebugValue:fn,useResponder:fn},zu={readContext:Rt,useCallback:function(e,t){return mn().memoizedState=[e,void 0===t?null:t],e},useContext:Rt,useEffect:function(e,t){return wn(516,xu|Su,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wn(4,ku|_u,kn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wn(4,ku|_u,e,t)},useMemo:function(e,t){var n=mn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=mn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Tn.bind(null,ju,e),[r.memoizedState,e]},useRef:function(e){var t=mn();return e={current:e},t.memoizedState=e},useState:function(e){var t=mn();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={last:null,dispatch:null,lastRenderedReducer:yn,lastRenderedState:e},e=e.dispatch=Tn.bind(null,ju,e),[t.memoizedState,e]},useDebugValue:On,useResponder:Ce},Hu={readContext:Rt,useCallback:function(e,t){var n=vn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pn(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Rt,useEffect:function(e,t){return En(516,xu|Su,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,En(4,ku|_u,kn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return En(4,ku|_u,e,t)},useMemo:function(e,t){var n=vn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pn(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:gn,useRef:function(){return vn().memoizedState},useState:function(e){return gn(yn)},useDebugValue:On,useResponder:Ce},Ku=null,Gu=null,Qu=!1,Wu=no.ReactCurrentOwner,Yu=!1,Ju={},$u=void 0,Xu=void 0,Zu=void 0,el=void 0;$u=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(20===n.tag)e.appendChild(n.stateNode.instance);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}},Xu=function(){},Zu=function(e,t,n,r,i){var o=e.memoizedProps;if(o!==r){var a=t.stateNode;switch(on(du.current),e=null,n){case"input":o=le(a,o),r=le(a,r),e=[];break;case"option":o=Ye(a,o),r=Ye(a,r),e=[];break;case"select":o=oi({},o,{value:void 0}),r=oi({},r,{value:void 0}),e=[];break;case"textarea":o=$e(a,o),r=$e(a,r),e=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(a.onclick=st)}at(n,r),a=n=void 0;var u=null;for(n in o)if(!r.hasOwnProperty(n)&&o.hasOwnProperty(n)&&null!=o[n])if("style"===n){var l=o[n];for(a in l)l.hasOwnProperty(a)&&(u||(u={}),u[a]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(fi.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(l=null!=o?o[n]:void 0,r.hasOwnProperty(n)&&s!==l&&(null!=s||null!=l))if("style"===n)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(u||(u={}),u[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(u||(u={}),u[a]=s[a])}else u||(e||(e=[]),e.push(n,u)),u=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(e=e||[]).push(n,""+s)):"children"===n?l===s||"string"!==typeof s&&"number"!==typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(fi.hasOwnProperty(n)?(null!=s&<(i,n),e||l===s||(e=[])):(e=e||[]).push(n,s))}u&&(e=e||[]).push("style",u),i=e,(t.updateQueue=i)&&Hn(t)}},el=function(e,t,n,r){n!==r&&Hn(t)};var tl="function"===typeof WeakSet?WeakSet:Set,nl="function"===typeof WeakMap?WeakMap:Map,rl=Math.ceil,il=no.ReactCurrentDispatcher,ol=no.ReactCurrentOwner,al=0,ul=8,ll=16,sl=32,cl=0,fl=1,pl=2,dl=3,hl=4,ml=al,vl=null,yl=null,gl=0,bl=cl,wl=1073741823,El=1073741823,kl=null,Ol=!1,Tl=0,_l=500,Sl=null,xl=!1,Cl=null,Nl=null,jl=!1,Dl=null,Al=90,Il=0,Ll=null,Fl=0,Pl=null,Ml=0,Rl=0,Vl=void 0;Vl=function(e,t,n){var i=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||La.current)Yu=!0;else if(i=n?Un(e,t,n):(ht(bu,bu.current&vu,t),t=zn(e,t,n),null!==t?t.sibling:null);ht(bu,bu.current&vu,t);break;case 19:if(i=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(i)return qn(e,t,n);t.effectTag|=64}if(o=t.memoizedState,null!==o&&(o.rendering=null,o.tail=null),ht(bu,bu.current,t),!i)return null}return zn(e,t,n)}}else Yu=!1;switch(t.expirationTime=0,t.tag){case 2:if(i=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=mt(t,Ia.current),Mt(t,n),o=dn(null,t,i,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,hn(),vt(i)){var a=!0;Et(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var u=i.getDerivedStateFromProps;"function"===typeof u&&Jt(t,i,u,e),o.updater=lu,t.stateNode=o,o._reactInternalFiber=t,en(t,i,e,n),t=Rn(null,t,i,!0,a,n)}else t.tag=0,Dn(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=At(o),t.type=o,a=t.tag=Pr(o),e=Dt(o,e),a){case 0:t=Pn(null,t,o,e,n);break;case 1:t=Mn(null,t,o,e,n);break;case 11:t=An(null,t,o,e,n);break;case 14:t=In(null,t,o,Dt(o.type,e),i,n);break;default:throw r(Error(306),o,"")}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Dt(i,o),Pn(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Dt(i,o),Mn(e,t,i,o,n);case 3:if(Vn(t),null===(i=t.updateQueue))throw r(Error(282));return o=t.memoizedState,o=null!==o?o.element:null,Qt(t,i,t.pendingProps,null,n),i=t.memoizedState.element,i===o?(jn(),t=zn(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(Gu=pt(t.stateNode.containerInfo.firstChild),Ku=t,o=Qu=!0),o?(t.effectTag|=2,t.child=fu(t,null,i,n)):(Dn(e,t,i,n),jn()),t=t.child),t;case 5:return ln(t),null===e&&xn(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,u=o.children,ft(i,o)?u=null:null!==a&&ft(i,a)&&(t.effectTag|=16),Fn(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Dn(e,t,u,n),t=t.child),t;case 6:return null===e&&xn(t),null;case 13:return Un(e,t,n);case 4:return an(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=cu(t,null,i,n):Dn(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Dt(i,o),An(e,t,i,o,n);case 7:return Dn(e,t,t.pendingProps,n),t.child;case 8:case 12:return Dn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,u=t.memoizedProps,a=o.value,Lt(t,a),null!==u){var l=u.value;if(0===(a=Se(l,a)?0:0|("function"===typeof i._calculateChangedBits?i._calculateChangedBits(l,a):1073741823))){if(u.children===o.children&&!La.current){t=zn(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){u=l.child;for(var c=s.firstContext;null!==c;){if(c.context===i&&0!==(c.observedBits&a)){1===l.tag&&(c=Bt(n,null),c.tag=2,zt(l,c)),l.expirationTime=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},B=vr,q=yr,z=dr,Zi=function(e,t){var n=ml;ml|=2;try{return e(t)}finally{(ml=n)===al&&Ct()}};var ql={createPortal:ti,findDOMNode:function(e){if(null==e)e=null;else if(1!==e.nodeType){var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw r(Error(188));throw r(Error(268),Object.keys(e))}e=Ae(t),e=null===e?null:e.stateNode}return e},hydrate:function(e,t,n){if(!Xr(t))throw r(Error(200));return ei(null,e,t,!0,n)},render:function(e,t,n){if(!Xr(t))throw r(Error(200));return ei(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,i){if(!Xr(n))throw r(Error(200));if(null==e||void 0===e._reactInternalFiber)throw r(Error(38));return ei(e,t,n,!1,i)},unmountComponentAtNode:function(e){if(!Xr(e))throw r(Error(40));return!!e._reactRootContainer&&(gr(function(){ei(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return ti.apply(void 0,arguments)},unstable_batchedUpdates:vr,unstable_interactiveUpdates:function(e,t,n,r){return dr(),yr(e,t,n,r)},unstable_discreteUpdates:yr,unstable_flushDiscreteUpdates:dr,flushSync:function(e,t){if((ml&(ll|sl))!==al)throw r(Error(187));var n=ml;ml|=1;try{return _t(99,e.bind(null,t))}finally{ml=n,Ct()}},unstable_createRoot:ni,unstable_createSyncRoot:ri,unstable_flushControlled:function(e){var t=ml;ml|=1;try{_t(99,e)}finally{(ml=t)===al&&Ct()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[v,y,g,ki.injectEventPluginsByName,ci,T,function(e){f(e,O)},V,U,Ve,d,Sr,{current:!1}]}};!function(e){var t=e.findFiberByHostInstance;Ar(oi({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:no.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ae(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:m,bundleType:0,version:"16.9.0",rendererPackageName:"react-dom"});var zl={default:ql},Hl=zl&&ql||zl;e.exports=Hl.default||Hl},function(e,t,n){"use strict";e.exports=n(156)},function(e,t,n){"use strict";function r(e,t){var n=e.next;if(n===e)P=null;else{e===P&&(P=n);var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,n=e.callback,r=V;var i=R;V=e.priorityLevel,R=e;try{var o=e.expirationTime<=t;switch(V){case 1:var a=n(o);break;case 2:case 3:case 4:a=n(o);break;case 5:a=n(o)}}catch(e){throw e}finally{V=r,R=i}if("function"===typeof a)if(t=e.expirationTime,e.callback=a,null===P)P=e.next=e.previous=e;else{a=null,o=P;do{if(t<=o.expirationTime){a=o;break}o=o.next}while(o!==P);null===a?a=P:a===P&&(P=e),t=a.previous,t.next=a.previous=e,e.next=a,e.previous=t}}function i(e){if(null!==M&&M.startTime<=e)do{var t=M,n=t.next;if(t===n)M=null;else{M=n;var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,l(t,t.expirationTime)}while(null!==M&&M.startTime<=e)}function o(e){q=!1,i(e),B||(null!==P?(B=!0,s(a)):null!==M&&c(o,M.startTime-e))}function a(e,n){B=!1,q&&(q=!1,f()),i(n),U=!0;try{if(e){if(null!==P)do{r(P,n),n=t.unstable_now(),i(n)}while(null!==P&&!p())}else for(;null!==P&&P.expirationTime<=n;)r(P,n),n=t.unstable_now(),i(n);return null!==P||(null!==M&&c(o,M.startTime-n),!1)}finally{U=!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}}function l(e,t){if(null===P)P=e.next=e.previous=e;else{var n=null,r=P;do{if(t=j},d=function(){},t.unstable_forceFrameRate=function(e){0>e||125(x=ri){if(r=p,null===M)M=e.next=e.previous=e;else{n=null;var d=M;do{if(r=0&&(_[decodeURIComponent(e.slice(0,t))]=decodeURIComponent(e.slice(t+1).replace(/\+/g,"%20")))});var S={query:!0,variables:!0,operationName:!0,explorerIsOpen:!0},x={};for(var C in _)_.hasOwnProperty(C)&&!0!==S[C]&&(x[C]=_[C]);var N=window.wpGraphiQLSettings&&window.wpGraphiQLSettings.nonce?window.wpGraphiQLSettings.nonce:null,j=window.wpGraphiQLSettings&&window.wpGraphiQLSettings.graphqlEndpoint?window.wpGraphiQLSettings.graphqlEndpoint:window.location.origin,D=_.query&&Object(b.print)(Object(b.parse)(_.query))||window.localStorage&&window.localStorage.getItem("graphiql:query")||null,A="undefined"!==typeof _.explorerIsOpen?"false"!==_.explorerIsOpen:!window.localStorage||"false"!==window.localStorage.getItem("graphiql:graphiqlExplorerOpen"),I="undefined"!==typeof _.codeExporterIsOpen?"false"!==_.codeExporterIsOpen:!!window.localStorage&&"true"===window.localStorage.getItem("graphiql:graphiqlCodeExporterOpen"),L=function(e){function t(){var e,n,o,a;r(this,t);for(var u=arguments.length,l=Array(u),s=0;s=l.end});if(!s)return console.error("Unable to find definition corresponding to mouse position"),null;var c="OperationDefinition"===s.kind?s.operation:"FragmentDefinition"===s.kind?"fragment":"unknown",f="OperationDefinition"===s.kind&&s.name?s.name.value:"FragmentDefinition"===s.kind&&s.name?s.name.value:"unknown",p=".graphiql-explorer-root #"+c+"-"+f,d=document.querySelector(p);return!!d&&(d.scrollIntoView(),!0)},o._handleEditQuery=function(e){_.query=e,c(),o.setState({query:e})},o._handleToggleExplorer=function(){var e=!o.state.explorerIsOpen;window.localStorage&&window.localStorage.setItem("graphiql:graphiqlExplorerOpen",e),_.explorerIsOpen=e,c(),o.setState({explorerIsOpen:e})},o._handleToggleExporter=function(){var e=!o.state.codeExporterIsOpen;window.localStorage&&window.localStorage.setItem("graphiql:graphiqlCodeExporterOpen",e),_.codeExporterIsOpen=e,c(),o.setState({codeExporterIsOpen:e})},a=n,i(o,a)}return o(t,e),T(t,[{key:"componentDidMount",value:function(){var e=this;u({query:Object(b.getIntrospectionQuery)()}).then(function(t){var n={schema:Object(b.buildClientSchema)(t.data)};if(null===e.state.query){try{var r=t.data.__schema.types.find(function(e){return"SiteSiteMetadata"===e.name&&"OBJECT"===e.kind});if(r){r.fields.find(function(e){return"title"===e.name&&e.type&&"SCALAR"===e.type.kind&&"String"===e.type.name})&&(n.query=f("# {\n# generalSettings {\n# url\n# title\n# }\n# }"))}}catch(e){console.error(e)}n.query||(n.query=f("# {\n# posts {\n# nodes {\n# title\n# uri\n# }\n# }\n# }"))}e.setState(n)});var t=this._graphiql.getQueryEditor();t.setOption("extraKeys",Object.assign({},t.options.extraKeys||{},{"Shift-Alt-LeftClick":this._handleInspectOperation}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.query,r=t.schema,i=t.codeExporterIsOpen,o=i?d.a.createElement(g.a,{hideCodeExporter:this._handleToggleExporter,snippets:w.a,query:n,codeMirrorTheme:"default"}):null;return d.a.createElement(d.a.Fragment,null,d.a.createElement(y.a,{schema:r,query:n,onEdit:this._handleEditQuery,explorerIsOpen:this.state.explorerIsOpen,onToggleExplorer:this._handleToggleExplorer,onRunOperation:function(t){return e._graphiql.handleRunQuery(t)}}),d.a.createElement(m.a,{ref:function(t){return e._graphiql=t},fetcher:u,schema:r,query:n,onEditQuery:this._handleEditQuery,onEditVariables:l,onEditOperationName:s},d.a.createElement(m.a.Toolbar,null,d.a.createElement(m.a.Button,{onClick:function(){return e._graphiql.handlePrettifyQuery()},label:"Prettify",title:"Prettify Query (Shift-Ctrl-P)"}),d.a.createElement(m.a.Button,{onClick:function(){return e._graphiql.handleToggleHistory()},label:"History",title:"Show History"}),d.a.createElement(m.a.Button,{onClick:this._handleToggleExplorer,label:"Explorer",title:"Toggle Explorer"}),d.a.createElement(m.a.Button,{onClick:this._handleToggleExporter,label:"Code Exporter",title:"Toggle Code Exporter"}))),o)}}]),t}(d.a.Component);t.a=L},function(e,t,n){"use strict";e.exports=n(159).GraphiQL},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=1;t0){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 u=i;t.forEach(function(e){var t=e.index,n=e.string;t=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=w.default.findDOMNode(this.resultComponent);t;){if(t===n)return!0;t=t.parentNode}return!1}}]),n}(g.default.Component);t.GraphiQL=K,h(K,"propTypes",{fetcher:b.default.func.isRequired,schema:b.default.instanceOf(E.GraphQLSchema),query:b.default.string,variables:b.default.string,operationName:b.default.string,response:b.default.string,storage:b.default.shape({getItem:b.default.func,setItem:b.default.func,removeItem:b.default.func}),defaultQuery:b.default.string,onCopyQuery:b.default.func,onEditQuery:b.default.func,onEditVariables:b.default.func,onEditOperationName:b.default.func,onToggleDocs:b.default.func,getDefaultFieldNames:b.default.func,editorTheme:b.default.string,onToggleHistory:b.default.func,ResultsTooltip:b.default.any,readOnly:b.default.bool}),K.Logo=function(e){return g.default.createElement("div",{className:"title"},e.children||g.default.createElement("span",null,"Graph",g.default.createElement("em",null,"i"),"QL"))},K.Toolbar=function(e){return g.default.createElement("div",{className:"toolbar"},e.children)},K.QueryEditor=N.QueryEditor,K.VariableEditor=j.VariableEditor,K.ResultViewer=D.ResultViewer,K.Button=_.ToolbarButton,K.ToolbarButton=_.ToolbarButton,K.Group=S.ToolbarGroup,K.Menu=x.ToolbarMenu,K.MenuItem=x.ToolbarMenuItem,K.Select=C.ToolbarSelect,K.SelectOption=C.ToolbarSelectOption,K.Footer=function(e){return g.default.createElement("div",{className:"footer"},e.children)};var G='# 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'}).call(t,n(39))},function(e,t,n){"use strict";function r(){}function i(){}var o=n(161);i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var u=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 u.name="Invariant Violation",u}}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:i,resetWarningCache:r};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";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r="14.4.2",i=Object.freeze({major:14,minor:4,patch:2,preReleaseTag:null})},function(e,t,n){"use strict";function r(e,t,n,r,i,a,u,l){var s=arguments;return new Promise(function(c){return c(o(1===s.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:u,typeResolver:l}))})}function i(e,t,n,r,i,u,l,s){var c=o(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:u,fieldResolver:l,typeResolver:s});if(Object(a.a)(c))throw new Error("GraphQL execution failed to complete synchronously.");return c}function o(e){var t=e.schema,n=e.source,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,f=e.fieldResolver,p=e.typeResolver,d=Object(u.b)(t);if(d.length>0)return{errors:d};var h;try{h=Object(l.a)(n)}catch(e){return{errors:[e]}}var m=Object(s.c)(t,h);return m.length>0?{errors:m}:Object(c.h)({schema:t,document:h,rootValue:r,contextValue:i,variableValues:o,operationName:a,fieldResolver:f,typeResolver:p})}t.a=r,t.b=i;var a=n(41),u=n(42),l=n(31),s=n(48),c=n(49)},function(e,t,n){"use strict";function r(e){return e}t.a=r},function(e,t,n){"use strict";var r=Number.isFinite||function(e){return"number"===typeof e&&r(e)};t.a=r},function(e,t,n){"use strict";var r=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e};t.a=r},function(e,t,n){"use strict";function r(){return"Must provide only one schema definition."}function i(){return"Cannot define a new schema within a schema extension."}function o(e){var t=e.getSchema(),n=t&&(t.astNode||t.getQueryType()||t.getMutationType()||t.getSubscriptionType()),o=0;return{SchemaDefinition:function(t){if(n)return void e.reportError(new a.a(i(),t));o>0&&e.reportError(new a.a(r(),t)),++o}}}t.a=o;var a=n(0)},function(e,t,n){"use strict";function r(e){return"There can be only one ".concat(e," type in schema.")}function i(e){return"Type for ".concat(e," already defined in the schema. It cannot be redefined.")}function o(e){function t(t){if(t.operationTypes){var n=!0,l=!1,s=void 0;try{for(var c,f=(t.operationTypes||[])[Symbol.iterator]();!(n=(c=f.next()).done);n=!0){var p=c.value,d=p.operation,h=o[d];u[d]?e.reportError(new a.a(i(d),p)):h?e.reportError(new a.a(r(d),[h,p])):o[d]=p}}catch(e){l=!0,s=e}finally{try{n||null==f.return||f.return()}finally{if(l)throw s}}}return!1}var n=e.getSchema(),o=Object.create(null),u=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:t,SchemaExtension:t}}t.a=o;var a=n(0)},function(e,t,n){"use strict";function r(e){return'There can be only one type named "'.concat(e,'".')}function i(e){return'Type "'.concat(e,'" already exists in the schema. It cannot also be defined in this type definition.')}function o(e){function t(t){var u=t.name.value;return o&&o.getType(u)?void e.reportError(new a.a(i(u),t.name)):(n[u]?e.reportError(new a.a(r(u),[n[u],t.name])):n[u]=t.name,!1)}var n=Object.create(null),o=e.getSchema();return{ScalarTypeDefinition:t,ObjectTypeDefinition:t,InterfaceTypeDefinition:t,UnionTypeDefinition:t,EnumTypeDefinition:t,InputObjectTypeDefinition:t}}t.a=o;var a=n(0)},function(e,t,n){"use strict";function r(e,t){return'Enum value "'.concat(e,".").concat(t,'" can only be defined once.')}function i(e,t){return'Enum value "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function o(e){function t(t){var n=t.name.value;if(l[n]||(l[n]=Object.create(null)),t.values){var s=l[n],c=!0,f=!1,p=void 0;try{for(var d,h=t.values[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value,v=m.name.value,y=o[n];Object(u.E)(y)&&y.getValue(v)?e.reportError(new a.a(i(n,v),m.name)):s[v]?e.reportError(new a.a(r(n,v),[s[v],m.name])):s[v]=m.name}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}}return!1}var n=e.getSchema(),o=n?n.getTypeMap():Object.create(null),l=Object.create(null);return{EnumTypeDefinition:t,EnumTypeExtension:t}}t.a=o;var a=n(0),u=n(2)},function(e,t,n){"use strict";function r(e,t){return'Field "'.concat(e,".").concat(t,'" can only be defined once.')}function i(e,t){return'Field "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function o(e){function t(t){var n=t.name.value;if(l[n]||(l[n]=Object.create(null)),t.fields){var s=l[n],c=!0,f=!1,p=void 0;try{for(var d,h=t.fields[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value,v=m.name.value;a(o[n],v)?e.reportError(new u.a(i(n,v),m.name)):s[v]?e.reportError(new u.a(r(n,v),[s[v],m.name])):s[v]=m.name}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}}return!1}var n=e.getSchema(),o=n?n.getTypeMap():Object.create(null),l=Object.create(null);return{InputObjectTypeDefinition:t,InputObjectTypeExtension:t,InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t}}function a(e,t){return!!(Object(l.N)(e)||Object(l.H)(e)||Object(l.F)(e))&&e.getFields()[t]}t.a=o;var u=n(0),l=n(2)},function(e,t,n){"use strict";function r(e){return'There can be only one directive named "'.concat(e,'".')}function i(e){return'Directive "'.concat(e,'" already exists in the schema. It cannot be redefined.')}function o(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(o){var u=o.name.value;return n&&n.getDirective(u)?void e.reportError(new a.a(i(u),o.name)):(t[u]?e.reportError(new a.a(r(u),[t[u],o.name])):t[u]=o.name,!1)}}}t.a=o;var a=n(0)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return'Cannot extend type "'.concat(e,'" because it is not defined.')+Object(c.a)(t.map(function(e){return'"'.concat(e,'"')}))}function o(e,t){return"Cannot extend non-".concat(t,' type "').concat(e,'".')}function a(e){function t(t){var a=t.name.value,s=r[a],c=n&&n.getType(a);if(s){var d=v[s.kind];d!==t.kind&&e.reportError(new p.a(o(a,l(d)),[s,t]))}else if(c){var h=u(c);h!==t.kind&&e.reportError(new p.a(o(a,l(h)),t))}else{var m=Object.keys(r);n&&(m=m.concat(Object.keys(n.getTypeMap())));var y=Object(f.a)(a,m);e.reportError(new p.a(i(a,y),t.name))}}var n=e.getSchema(),r=Object.create(null),a=!0,s=!1,c=void 0;try{for(var d,m=e.getDocument().definitions[Symbol.iterator]();!(a=(d=m.next()).done);a=!0){var y=d.value;Object(h.d)(y)&&(r[y.name.value]=y)}}catch(e){s=!0,c=e}finally{try{a||null==m.return||m.return()}finally{if(s)throw c}}return{ScalarTypeExtension:t,ObjectTypeExtension:t,InterfaceTypeExtension:t,UnionTypeExtension:t,EnumTypeExtension:t,InputObjectTypeExtension:t}}function u(e){return Object(m.R)(e)?d.Kind.SCALAR_TYPE_EXTENSION:Object(m.N)(e)?d.Kind.OBJECT_TYPE_EXTENSION:Object(m.H)(e)?d.Kind.INTERFACE_TYPE_EXTENSION:Object(m.T)(e)?d.Kind.UNION_TYPE_EXTENSION:Object(m.E)(e)?d.Kind.ENUM_TYPE_EXTENSION:Object(m.F)(e)?d.Kind.INPUT_OBJECT_TYPE_EXTENSION:void 0}function l(e){switch(e){case d.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case d.Kind.OBJECT_TYPE_EXTENSION:return"object";case d.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case d.Kind.UNION_TYPE_EXTENSION:return"union";case d.Kind.ENUM_TYPE_EXTENSION:return"enum";case d.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:return"unknown type"}}t.a=a;var s,c=n(24),f=n(23),p=n(0),d=n(7),h=n(22),m=n(2),v=(s={},r(s,d.Kind.SCALAR_TYPE_DEFINITION,d.Kind.SCALAR_TYPE_EXTENSION),r(s,d.Kind.OBJECT_TYPE_DEFINITION,d.Kind.OBJECT_TYPE_EXTENSION),r(s,d.Kind.INTERFACE_TYPE_DEFINITION,d.Kind.INTERFACE_TYPE_EXTENSION),r(s,d.Kind.UNION_TYPE_DEFINITION,d.Kind.UNION_TYPE_EXTENSION),r(s,d.Kind.ENUM_TYPE_DEFINITION,d.Kind.ENUM_TYPE_EXTENSION),r(s,d.Kind.INPUT_OBJECT_TYPE_DEFINITION,d.Kind.INPUT_OBJECT_TYPE_EXTENSION),s)},function(e,t,n){"use strict";function r(e){function t(t,r,i){n||(n=new WeakMap);var o,a=n.get(t);if(a){if(o=a.get(r)){var u=o.get(i);if(void 0!==u)return u}}else a=new WeakMap,n.set(t,a);o||(o=new WeakMap,a.set(r,o));var l=e(t,r,i);return o.set(i,l),l}var n;return t}t.a=r},function(e,t,n){"use strict";function r(e){var t=Object.keys(e),n=t.map(function(t){return e[t]});return Promise.all(n).then(function(e){return e.reduce(function(e,n,r){return e[t[r]]=n,e},Object.create(null))})}t.a=r},function(e,t,n){"use strict";function r(e,t,n){return e.reduce(function(e,n){return Object(i.a)(e)?e.then(function(e){return t(e,n)}):t(e,n)},n)}t.a=r;var i=n(41)},function(e,t,n){"use strict";var r=n(19);n.d(t,"_20",function(){return r.c}),n.d(t,"U",function(){return r.b}),n.d(t,"p",function(){return r.a});var i=n(2);n.d(t,"_23",function(){return i.S}),n.d(t,"_19",function(){return i.R}),n.d(t,"_15",function(){return i.N}),n.d(t,"_8",function(){return i.H}),n.d(t,"_24",function(){return i.T}),n.d(t,"_5",function(){return i.E}),n.d(t,"_6",function(){return i.F}),n.d(t,"_11",function(){return i.J}),n.d(t,"_13",function(){return i.L}),n.d(t,"_7",function(){return i.G}),n.d(t,"_16",function(){return i.O}),n.d(t,"_10",function(){return i.I}),n.d(t,"_3",function(){return i.D}),n.d(t,"_2",function(){return i.C}),n.d(t,"_25",function(){return i.U}),n.d(t,"_14",function(){return i.M}),n.d(t,"_12",function(){return i.K}),n.d(t,"_17",function(){return i.P}),n.d(t,"_18",function(){return i.Q}),n.d(t,"V",function(){return i.x}),n.d(t,"T",function(){return i.w}),n.d(t,"R",function(){return i.u}),n.d(t,"L",function(){return i.o}),n.d(t,"W",function(){return i.y}),n.d(t,"I",function(){return i.l}),n.d(t,"J",function(){return i.m}),n.d(t,"N",function(){return i.q}),n.d(t,"P",function(){return i.s}),n.d(t,"K",function(){return i.n}),n.d(t,"S",function(){return i.v}),n.d(t,"M",function(){return i.p}),n.d(t,"G",function(){return i.k}),n.d(t,"F",function(){return i.j}),n.d(t,"Y",function(){return i.z}),n.d(t,"Q",function(){return i.t}),n.d(t,"O",function(){return i.r}),n.d(t,"_0",function(){return i.B}),n.d(t,"Z",function(){return i.A}),n.d(t,"o",function(){return i.g}),n.d(t,"n",function(){return i.f}),n.d(t,"k",function(){return i.c}),n.d(t,"s",function(){return i.h}),n.d(t,"e",function(){return i.a}),n.d(t,"i",function(){return i.b}),n.d(t,"l",function(){return i.d}),n.d(t,"m",function(){return i.e});var o=n(11);n.d(t,"_4",function(){return o.g}),n.d(t,"H",function(){return o.f}),n.d(t,"d",function(){return o.c}),n.d(t,"_21",function(){return o.h}),n.d(t,"_26",function(){return o.i}),n.d(t,"h",function(){return o.d}),n.d(t,"q",function(){return o.e}),n.d(t,"c",function(){return o.b}),n.d(t,"a",function(){return o.a});var a=n(15);n.d(t,"_22",function(){return a.f}),n.d(t,"_27",function(){return a.g}),n.d(t,"j",function(){return a.d}),n.d(t,"f",function(){return a.b}),n.d(t,"r",function(){return a.e}),n.d(t,"b",function(){return a.a}),n.d(t,"g",function(){return a.c});var u=n(12);n.d(t,"_9",function(){return u.isIntrospectionType}),n.d(t,"_1",function(){return u.introspectionTypes}),n.d(t,"C",function(){return u.__Schema}),n.d(t,"x",function(){return u.__Directive}),n.d(t,"y",function(){return u.__DirectiveLocation}),n.d(t,"D",function(){return u.__Type}),n.d(t,"A",function(){return u.__Field}),n.d(t,"B",function(){return u.__InputValue}),n.d(t,"z",function(){return u.__EnumValue}),n.d(t,"E",function(){return u.__TypeKind}),n.d(t,"u",function(){return u.TypeKind}),n.d(t,"t",function(){return u.SchemaMetaFieldDef}),n.d(t,"v",function(){return u.TypeMetaFieldDef}),n.d(t,"w",function(){return u.TypeNameMetaFieldDef});var l=n(42);n.d(t,"_28",function(){return l.b}),n.d(t,"X",function(){return l.a})},function(e,t,n){"use strict";var r=n(59);n.d(t,"d",function(){return r.a});var i=n(58);n.d(t,"g",function(){return i.a});var o=n(90);n.d(t,"v",function(){return o.a}),n.d(t,"w",function(){return o.b});var a=n(7);n.d(t,"c",function(){return a.Kind});var u=n(32);n.d(t,"e",function(){return u.a});var l=n(61);n.d(t,"f",function(){return l.a});var s=n(31);n.d(t,"r",function(){return s.a}),n.d(t,"t",function(){return s.c}),n.d(t,"s",function(){return s.b});var c=n(13);n.d(t,"u",function(){return c.a});var f=n(18);n.d(t,"x",function(){return f.c}),n.d(t,"y",function(){return f.d}),n.d(t,"z",function(){return f.e}),n.d(t,"h",function(){return f.b}),n.d(t,"a",function(){return f.a});var p=n(22);n.d(t,"i",function(){return p.a}),n.d(t,"j",function(){return p.b}),n.d(t,"k",function(){return p.c}),n.d(t,"q",function(){return p.i}),n.d(t,"n",function(){return p.f}),n.d(t,"o",function(){return p.g}),n.d(t,"l",function(){return p.d}),n.d(t,"p",function(){return p.h}),n.d(t,"m",function(){return p.e});var d=n(28);n.d(t,"b",function(){return d.a})},function(e,t,n){"use strict";var r=n(49);n.d(t,"c",function(){return r.h}),n.d(t,"a",function(){return r.f}),n.d(t,"b",function(){return r.g}),n.d(t,"e",function(){return r.k});var i=n(68);n.d(t,"d",function(){return i.b})},function(e,t,n){"use strict";var r=n(181);n.d(t,"b",function(){return r.b}),n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";function r(e,t,n,r,i,a,u,l){return o(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:u,subscribeFieldResolver:l})}function i(e){if(e instanceof s.a)return{errors:[e]};throw e}function o(e){var t=e.schema,n=e.document,r=e.rootValue,o=e.contextValue,l=e.variableValues,s=e.operationName,c=e.fieldResolver,d=e.subscribeFieldResolver,h=function(e){return Object(f.h)(t,n,e,o,l,s,c)};return a(t,n,r,o,l,s,d).then(function(e){return Object(u.d)(e)?Object(p.a)(e,h,i):e},i)}function a(e,t,n,r,i,o,a){Object(f.b)(e,t,i);try{var p=Object(f.c)(e,t,n,r,i,o,a);if(Array.isArray(p))return Promise.resolve({errors:p});var h=Object(d.a)(e,p.operation),m=Object(f.e)(p,h,p.operation.selectionSet,Object.create(null),Object.create(null)),v=Object.keys(m),y=v[0],g=m[y],b=g[0],w=b.name.value,E=Object(f.i)(e,h,w);if(!E)throw new s.a('The subscription field "'.concat(w,'" is not defined.'),g);var k=E.subscribe||p.fieldResolver,O=Object(f.a)(void 0,y),T=Object(f.d)(p,E,g,h,O),_=Object(f.j)(p,E,g,k,n,T);return Promise.resolve(_).then(function(e){if(e instanceof Error)throw Object(c.a)(e,g,Object(f.k)(O));if(Object(u.d)(e))return e;throw new Error("Subscription field must return Async Iterable. Received: "+Object(l.a)(e))})}catch(e){return Promise.reject(e)}}t.b=r,t.a=a;var u=n(29),l=n(4),s=n(0),c=n(66),f=n(49),p=n(182),d=n(67)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n){function i(e){return e.done?e:o(e.value,t).then(a,s)}var l,s,c=Object(u.c)(e);"function"===typeof c.return&&(l=c.return,s=function(e){var t=function(){return Promise.reject(e)};return l.call(c).then(t,t)});var f;if(n){var p=n;f=function(e){return o(e,p).then(a,s)}}return r({next:function(){return c.next().then(i,f)},return:function(){return l?l.call(c).then(i,f):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"===typeof c.throw?c.throw(e).then(i,f):Promise.reject(e).catch(s)}},u.a,function(){return this})}function o(e,t){return new Promise(function(n){return n(t(e))})}function a(e){return{value:e,done:!1}}t.a=i;var u=n(29)},function(e,t,n){"use strict";var r=n(48);n.d(t,"B",function(){return r.c});var i=n(65);n.d(t,"w",function(){return i.b});var o=n(92);n.d(t,"A",function(){return o.a});var a=n(101);n.d(t,"a",function(){return a.a});var u=n(98);n.d(t,"b",function(){return u.a});var l=n(110);n.d(t,"c",function(){return l.a});var s=n(108);n.d(t,"d",function(){return s.a});var c=n(62);n.d(t,"e",function(){return c.KnownFragmentNames});var f=n(97);n.d(t,"f",function(){return f.a});var p=n(95);n.d(t,"g",function(){return p.a});var d=n(104);n.d(t,"h",function(){return d.a});var h=n(106);n.d(t,"i",function(){return h.a});var m=n(63);n.d(t,"j",function(){return m.NoUnusedFragments});var v=n(107);n.d(t,"k",function(){return v.a});var y=n(114);n.d(t,"l",function(){return y.a});var g=n(103);n.d(t,"m",function(){return g.a});var b=n(112);n.d(t,"n",function(){return b.a});var w=n(100);n.d(t,"o",function(){return w.a});var E=n(96);n.d(t,"p",function(){return E.a});var k=n(111);n.d(t,"q",function(){return k.a});var O=n(109);n.d(t,"r",function(){return O.a});var T=n(102);n.d(t,"s",function(){return T.a});var _=n(115);n.d(t,"t",function(){return _.a});var S=n(94);n.d(t,"u",function(){return S.a});var x=n(105);n.d(t,"v",function(){return x.a});var C=n(64);n.d(t,"x",function(){return C.a});var N=n(99);n.d(t,"y",function(){return N.a});var j=n(113);n.d(t,"z",function(){return j.a})},function(e,t,n){"use strict";var r=n(0);n.d(t,"a",function(){return r.a}),n.d(t,"d",function(){return r.b});var i=n(60);n.d(t,"e",function(){return i.a});var o=n(66);n.d(t,"c",function(){return o.a});var a=n(185);n.d(t,"b",function(){return a.a})},function(e,t,n){"use strict";function r(e){e||Object(i.a)(0,"Received null or undefined error.");var t=e.message||"An unknown error occurred.",n=e.locations,r=e.path,o=e.extensions;return o?{message:t,locations:n,path:r,extensions:o}:{message:t,locations:n,path:r}}t.a=r;var i=n(9)},function(e,t,n){"use strict";var r=n(116);n.d(t,"q",function(){return r.a}),n.d(t,"u",function(){return r.b});var i=n(187);n.d(t,"r",function(){return i.a});var o=n(67);n.d(t,"s",function(){return o.a});var a=n(188);n.d(t,"t",function(){return a.a});var u=n(189);n.d(t,"g",function(){return u.a});var l=n(117);n.d(t,"f",function(){return l.b}),n.d(t,"h",function(){return l.c}),n.d(t,"p",function(){return l.d});var s=n(190);n.d(t,"l",function(){return s.a});var c=n(191);n.d(t,"A",function(){return c.a});var f=n(192);n.d(t,"C",function(){return f.b}),n.d(t,"D",function(){return f.c}),n.d(t,"B",function(){return f.a});var p=n(16);n.d(t,"G",function(){return p.a});var d=n(50);n.d(t,"H",function(){return d.a});var h=n(88);n.d(t,"I",function(){return h.a});var m=n(46);n.d(t,"e",function(){return m.a});var v=n(33);n.d(t,"c",function(){return v.a});var y=n(69);n.d(t,"i",function(){return y.a});var g=n(193);n.d(t,"x",function(){return g.a});var b=n(194);n.d(t,"y",function(){return b.a});var w=n(195);n.d(t,"j",function(){return w.a});var E=n(196);n.d(t,"E",function(){return E.a});var k=n(197);n.d(t,"F",function(){return k.a});var O=n(47);n.d(t,"v",function(){return O.b}),n.d(t,"w",function(){return O.c}),n.d(t,"k",function(){return O.a});var T=n(91);n.d(t,"d",function(){return T.a}),n.d(t,"z",function(){return T.b});var _=n(198);n.d(t,"a",function(){return _.a}),n.d(t,"b",function(){return _.b}),n.d(t,"m",function(){return _.c}),n.d(t,"n",function(){return _.d});var S=n(199);n.d(t,"o",function(){return S.a})},function(e,t,n){"use strict";function r(e,t){var n=null,r=!0,o=!1,a=void 0;try{for(var u,l=e.definitions[Symbol.iterator]();!(r=(u=l.next()).done);r=!0){var s=u.value;if(s.kind===i.Kind.OPERATION_DEFINITION)if(t){if(s.name&&s.name.value===t)return s}else{if(n)return null;n=s}}}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}t.a=r;var i=n(7)},function(e,t,n){"use strict";function r(e,t){var n=Object(u.a)(Object(l.a)(t)),r=Object(a.h)(e,n);return(Object(o.a)(r)||r.errors||!r.data)&&Object(i.a)(0),r.data}t.a=r;var i=n(9),o=n(41),a=n(49),u=n(31),l=n(116)},function(e,t,n){"use strict";function r(e,t){function n(e){if(e.kind===h.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return Object(p.d)(n(t))}if(e.kind===h.TypeKind.NON_NULL){var i=e.ofType;if(!i)throw new Error("Decorated type deeper than introspection query.");var a=n(i);return Object(p.e)(Object(p.t)(a))}if(!e.name)throw new Error("Unknown type reference: "+Object(o.a)(e));return r(e.name)}function r(e){var t=A[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}function v(e){var t=n(e);return Object(p.G)(t)||Object(a.a)(0,"Introspection must provide input type for arguments, but received: "+Object(o.a)(t)+"."),t}function y(e){var t=n(e);return Object(p.O)(t)||Object(a.a)(0,"Introspection must provide output type for fields, but received: "+Object(o.a)(t)+"."),t}function g(e){var t=n(e);return Object(p.u)(t)}function b(e){var t=n(e);return Object(p.o)(t)}function w(e){if(e&&e.name&&e.kind)switch(e.kind){case h.TypeKind.SCALAR:return E(e);case h.TypeKind.OBJECT:return k(e);case h.TypeKind.INTERFACE:return O(e);case h.TypeKind.UNION:return T(e);case h.TypeKind.ENUM:return _(e);case h.TypeKind.INPUT_OBJECT:return S(e)}throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema:"+Object(o.a)(e))}function E(e){return new p.g({name:e.name,description:e.description})}function k(e){if(!e.interfaces)throw new Error("Introspection result missing interfaces: "+Object(o.a)(e));return new p.f({name:e.name,description:e.description,interfaces:function(){return e.interfaces.map(b)},fields:function(){return x(e)}})}function O(e){return new p.c({name:e.name,description:e.description,fields:function(){return x(e)}})}function T(e){if(!e.possibleTypes)throw new Error("Introspection result missing possibleTypes: "+Object(o.a)(e));return new p.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(g)}})}function _(e){if(!e.enumValues)throw new Error("Introspection result missing enumValues: "+Object(o.a)(e));return new p.a({name:e.name,description:e.description,values:Object(u.a)(e.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})})}function S(e){if(!e.inputFields)throw new Error("Introspection result missing inputFields: "+Object(o.a)(e));return new p.b({name:e.name,description:e.description,fields:function(){return C(e.inputFields)}})}function x(e){if(!e.fields)throw new Error("Introspection result missing fields: "+Object(o.a)(e));return Object(u.a)(e.fields,function(e){return e.name},function(e){if(!e.args)throw new Error("Introspection result missing field args: "+Object(o.a)(e));return{description:e.description,deprecationReason:e.deprecationReason,type:y(e.type),args:C(e.args)}})}function C(e){return Object(u.a)(e,function(e){return e.name},N)}function N(e){var t=v(e.type),n=e.defaultValue?Object(s.a)(Object(c.c)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n}}function j(e){if(!e.args)throw new Error("Introspection result missing directive args: "+Object(o.a)(e));if(!e.locations)throw new Error("Introspection result missing directive locations: "+Object(o.a)(e));return new d.c({name:e.name,description:e.description,locations:e.locations.slice(),args:C(e.args)})}Object(l.a)(e)&&Object(l.a)(e.__schema)||Object(a.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '+Object(o.a)(e));for(var D=e.__schema,A=Object(u.a)(D.types,function(e){return e.name},function(e){return w(e)}),I=0,L=[].concat(m.g,h.introspectionTypes);I2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(b).join(", ")+")":"(\n"+t.map(function(t,r){return k(e,t," "+n,!r)+" "+n+b(t)}).join("\n")+"\n"+n+")"}function b(e){var t=Object(N.a)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat(Object(j.a)(t))),n}function w(e,t){return k(t,e)+"directive @"+e.name+g(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function E(e){if(!e.isDeprecated)return"";var t=e.deprecationReason,n=Object(N.a)(t,I.e);return n&&""!==t&&t!==L.a?" @deprecated(reason: "+Object(j.a)(n)+")":" @deprecated"}function k(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=T(t.description,120-n.length);if(e&&e.commentDescriptions)return O(i,n,r);var o=i.join("\n"),a=o.length>70,u=Object(D.c)(o,"",a);return(n&&!r?"\n"+n:n)+u.replace(/\n/g,"\n"+n)+"\n"}function O(e,t,n){var r=t&&!n?"\n":"",i=!0,o=!1,a=void 0;try{for(var u,l=e[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;r+=""===s?t+"#\n":t+"# "+s+"\n"}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return r}function T(e,t){var n=e.split("\n");return Object(S.a)(n,function(e){return e.length0&&(n="\n"+n);var i=n[n.length-1];return('"'===i&&'\\"""'!==n.slice(-4)||"\\"===i)&&(n+="\n"),'"""'+n+'"""'}t.a=r;var o=n(4),a=n(59),u=n(32),l=n(61),s=n(30)},function(e,t,n){"use strict";function r(e,t){return o(e,t).filter(function(e){return e.type in S})}function i(e,t){return o(e,t).filter(function(e){return e.type in x})}function o(e,t){return[].concat(u(e,t),a(e,t))}function a(e,t){var n=[],r=g(e.getDirectives(),t.getDirectives()),i=!0,o=!1,a=void 0;try{for(var u,l=r.removed[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;n.push({type:S.DIRECTIVE_REMOVED,description:"".concat(s.name," was removed.")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,p=void 0;try{for(var d,h=r.persisted[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value,v=m[0],y=m[1],b=g(v.args,y.args),w=!0,E=!1,k=void 0;try{for(var O,_=b.added[Symbol.iterator]();!(w=(O=_.next()).done);w=!0){var x=O.value;Object(T.P)(x)&&n.push({type:S.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(x.name," on directive ").concat(v.name," was added.")})}}catch(e){E=!0,k=e}finally{try{w||null==_.return||_.return()}finally{if(E)throw k}}var C=!0,N=!1,j=void 0;try{for(var D,A=b.removed[Symbol.iterator]();!(C=(D=A.next()).done);C=!0){var I=D.value;n.push({type:S.DIRECTIVE_ARG_REMOVED,description:"".concat(I.name," was removed from ").concat(v.name,".")})}}catch(e){N=!0,j=e}finally{try{C||null==A.return||A.return()}finally{if(N)throw j}}var L=!0,F=!1,P=void 0;try{for(var M,R=v.locations[Symbol.iterator]();!(L=(M=R.next()).done);L=!0){var V=M.value;-1===y.locations.indexOf(V)&&n.push({type:S.DIRECTIVE_LOCATION_REMOVED,description:"".concat(V," was removed from ").concat(v.name,".")})}}catch(e){F=!0,P=e}finally{try{L||null==R.return||R.return()}finally{if(F)throw P}}}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}return n}function u(e,t){var n=[],r=g(Object(b.a)(e.getTypeMap()),Object(b.a)(t.getTypeMap())),i=!0,o=!1,a=void 0;try{for(var u,d=r.removed[Symbol.iterator]();!(i=(u=d.next()).done);i=!0){var h=u.value;n.push({type:S.TYPE_REMOVED,description:"".concat(h.name," was removed.")})}}catch(e){o=!0,a=e}finally{try{i||null==d.return||d.return()}finally{if(o)throw a}}var m=!0,y=!1,w=void 0;try{for(var E,k=r.persisted[Symbol.iterator]();!(m=(E=k.next()).done);m=!0){var O=E.value,_=O[0],x=O[1];Object(T.E)(_)&&Object(T.E)(x)?n.push.apply(n,c(_,x)):Object(T.T)(_)&&Object(T.T)(x)?n.push.apply(n,s(_,x)):Object(T.F)(_)&&Object(T.F)(x)?n.push.apply(n,l(_,x)):Object(T.N)(_)&&Object(T.N)(x)?n.push.apply(n,f(_,x)):Object(T.H)(_)&&Object(T.H)(x)?n.push.apply(n,p(_,x)):_.constructor!==x.constructor&&n.push({type:S.TYPE_CHANGED_KIND,description:"".concat(_.name," changed from ")+"".concat(v(_)," to ").concat(v(x),".")})}}catch(e){y=!0,w=e}finally{try{m||null==k.return||k.return()}finally{if(y)throw w}}return n}function l(e,t){var n=[],r=g(Object(b.a)(e.getFields()),Object(b.a)(t.getFields())),i=!0,o=!1,a=void 0;try{for(var u,l=r.added[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;Object(T.Q)(s)?n.push({type:S.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(s.name," on input type ").concat(e.name," was added.")}):n.push({type:x.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(s.name," on input type ").concat(e.name," was added.")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,p=void 0;try{for(var d,h=r.removed[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var v=d.value;n.push({type:S.FIELD_REMOVED,description:"".concat(e.name,".").concat(v.name," was removed.")})}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}var y=!0,w=!1,E=void 0;try{for(var k,O=r.persisted[Symbol.iterator]();!(y=(k=O.next()).done);y=!0){var _=k.value,C=_[0],N=_[1];m(C.type,N.type)||n.push({type:S.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(C.name," changed type from ")+"".concat(String(C.type)," to ").concat(String(N.type),".")})}}catch(e){w=!0,E=e}finally{try{y||null==O.return||O.return()}finally{if(w)throw E}}return n}function s(e,t){var n=[],r=g(e.getTypes(),t.getTypes()),i=!0,o=!1,a=void 0;try{for(var u,l=r.added[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;n.push({type:x.TYPE_ADDED_TO_UNION,description:"".concat(s.name," was added to union type ").concat(e.name,".")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,p=void 0;try{for(var d,h=r.removed[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value;n.push({type:S.TYPE_REMOVED_FROM_UNION,description:"".concat(m.name," was removed from union type ").concat(e.name,".")})}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}return n}function c(e,t){var n=[],r=g(e.getValues(),t.getValues()),i=!0,o=!1,a=void 0;try{for(var u,l=r.added[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;n.push({type:x.VALUE_ADDED_TO_ENUM,description:"".concat(s.name," was added to enum type ").concat(e.name,".")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,p=void 0;try{for(var d,h=r.removed[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value;n.push({type:S.VALUE_REMOVED_FROM_ENUM,description:"".concat(m.name," was removed from enum type ").concat(e.name,".")})}}catch(e){f=!0,p=e}finally{try{c||null==h.return||h.return()}finally{if(f)throw p}}return n}function f(e,t){var n=p(e,t),r=g(e.getInterfaces(),t.getInterfaces()),i=!0,o=!1,a=void 0;try{for(var u,l=r.added[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;n.push({type:x.INTERFACE_ADDED_TO_OBJECT,description:"".concat(s.name," added to interfaces implemented by ").concat(e.name,".")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,d=void 0;try{for(var h,m=r.removed[Symbol.iterator]();!(c=(h=m.next()).done);c=!0){var v=h.value;n.push({type:S.INTERFACE_REMOVED_FROM_OBJECT,description:"".concat(e.name," no longer implements interface ").concat(v.name,".")})}}catch(e){f=!0,d=e}finally{try{c||null==m.return||m.return()}finally{if(f)throw d}}return n}function p(e,t){var n=[],r=g(Object(b.a)(e.getFields()),Object(b.a)(t.getFields())),i=!0,o=!1,a=void 0;try{for(var u,l=r.removed[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var s=u.value;n.push({type:S.FIELD_REMOVED,description:"".concat(e.name,".").concat(s.name," was removed.")})}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}var c=!0,f=!1,p=void 0;try{for(var m,v=r.persisted[Symbol.iterator]();!(c=(m=v.next()).done);c=!0){var y=m.value,w=y[0],E=y[1];n.push.apply(n,d(e,w,E));h(w.type,E.type)||n.push({type:S.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(w.name," changed type from ")+"".concat(String(w.type)," to ").concat(String(E.type),".")})}}catch(e){f=!0,p=e}finally{try{c||null==v.return||v.return()}finally{if(f)throw p}}return n}function d(e,t,n){var r=[],i=g(t.args,n.args),o=!0,a=!1,u=void 0;try{for(var l,s=i.removed[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){var c=l.value;r.push({type:S.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(c.name," was removed.")})}}catch(e){a=!0,u=e}finally{try{o||null==s.return||s.return()}finally{if(a)throw u}}var f=!0,p=!1,d=void 0;try{for(var h,v=i.persisted[Symbol.iterator]();!(f=(h=v.next()).done);f=!0){var b=h.value,w=b[0],E=b[1];if(m(w.type,E.type)){if(void 0!==w.defaultValue)if(void 0===E.defaultValue)r.push({type:x.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(w.name," defaultValue was removed.")});else{var k=y(w.defaultValue,w.type),O=y(E.defaultValue,E.type);k!==O&&r.push({type:x.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(w.name," has changed defaultValue from ").concat(k," to ").concat(O,".")})}}else r.push({type:S.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(w.name," has changed type from ")+"".concat(String(w.type)," to ").concat(String(E.type),".")})}}catch(e){p=!0,d=e}finally{try{f||null==v.return||v.return()}finally{if(p)throw d}}var _=!0,C=!1,N=void 0;try{for(var j,D=i.added[Symbol.iterator]();!(_=(j=D.next()).done);_=!0){var A=j.value;Object(T.P)(A)?r.push({type:S.REQUIRED_ARG_ADDED,description:"A required arg ".concat(A.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:x.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(A.name," on ").concat(e.name,".").concat(t.name," was added.")})}}catch(e){C=!0,N=e}finally{try{_||null==D.return||D.return()}finally{if(C)throw N}}return r}function h(e,t){return Object(T.J)(e)?Object(T.J)(t)&&h(e.ofType,t.ofType)||Object(T.L)(t)&&h(e,t.ofType):Object(T.L)(e)?Object(T.L)(t)&&h(e.ofType,t.ofType):Object(T.K)(t)&&e.name===t.name||Object(T.L)(t)&&h(e,t.ofType)}function m(e,t){return Object(T.J)(e)?Object(T.J)(t)&&m(e.ofType,t.ofType):Object(T.L)(e)?Object(T.L)(t)&&m(e.ofType,t.ofType)||!Object(T.L)(t)&&m(e.ofType,t):Object(T.K)(t)&&e.name===t.name}function v(e){if(Object(T.R)(e))return"a Scalar type";if(Object(T.N)(e))return"an Object type";if(Object(T.H)(e))return"an Interface type";if(Object(T.T)(e))return"a Union type";if(Object(T.E)(e))return"an Enum type";if(Object(T.F)(e))return"an Input type";throw new TypeError("Unexpected type: ".concat(Object(E.a)(e),"."))}function y(e,t){var n=Object(_.a)(e,t);return null==n&&Object(k.a)(0),Object(O.a)(n)}function g(e,t){var n=[],r=[],i=[],o=Object(w.a)(e,function(e){return e.name}),a=Object(w.a)(t,function(e){return e.name}),u=!0,l=!1,s=void 0;try{for(var c,f=e[Symbol.iterator]();!(u=(c=f.next()).done);u=!0){var p=c.value,d=a[p.name];void 0===d?r.push(p):i.push([p,d])}}catch(e){l=!0,s=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw s}}var h=!0,m=!1,v=void 0;try{for(var y,g=t[Symbol.iterator]();!(h=(y=g.next()).done);h=!0){var b=y.value;void 0===o[b.name]&&n.push(b)}}catch(e){m=!0,v=e}finally{try{h||null==g.return||g.return()}finally{if(m)throw v}}return{added:n,persisted:i,removed:r}}n.d(t,"a",function(){return S}),n.d(t,"b",function(){return x}),t.c=r,t.d=i;var b=n(10),w=n(17),E=n(4),k=n(9),O=n(13),T=n(2),_=n(46),S=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"}),x=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(e,t,n){"use strict";function r(e,t){var n=[],r=new u.a(e);return Object(o.c)(t,Object(o.e)(r,{Field:function(e){var t=r.getFieldDef();if(t&&t.isDeprecated){var o=r.getParentType();if(o){var a=t.deprecationReason;n.push(new i.a("The field ".concat(o.name,".").concat(t.name," is deprecated.")+(a?" "+a:""),e))}}},EnumValue:function(e){var t=r.getEnumValue();if(t&&t.isDeprecated){var o=Object(a.A)(r.getInputType());if(o){var u=t.deprecationReason;n.push(new i.a("The enum value ".concat(o.name,".").concat(t.name," is deprecated.")+(u?" "+u:""),e))}}}})),n}t.a=r;var i=n(0),o=n(18),a=n(2),u=n(33)},function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r1,i=null;if(r&&n){var o=this.state.highlight;i=h.default.createElement("ul",{className:"execute-options"},t.map(function(t){return h.default.createElement("li",{key:t.name?t.name.value:"*",className:t===o?"selected":void 0,onMouseOver:function(){return e.setState({highlight:t})},onMouseOut:function(){return e.setState({highlight:null})},onMouseUp:function(){return e._onOptionSelected(t)}},t.name?t.name.value:"")}))}var a;!this.props.isRunning&&r||(a=this._onClick);var u;this.props.isRunning||!r||n||(u=this._onOptionsOpen);var l=this.props.isRunning?h.default.createElement("path",{d:"M 10 10 L 23 10 L 23 23 L 10 23 z"}):h.default.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"});return h.default.createElement("div",{className:"execute-button-wrap"},h.default.createElement("button",{type:"button",className:"execute-button",onMouseDown:u,onClick:a,title:"Execute Query (Ctrl-Enter)"},h.default.createElement("svg",{width:"34",height:"34"},l)),i)}}]),t}(h.default.Component);t.ExecuteButton=v,d(v,"propTypes",{onRun:m.default.func,onStop:m.default.func,isRunning:m.default.bool,operations:m.default.array})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?l(e):t}function u(e){return(u=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 s(e,t){for(var n=0;n=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return h.encode(h.format(t))}function o(e){var t=h.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return h.decode(h.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||u.isString(e)||(t=e||{},e="default"),this.inline=new p,this.block=new f,this.core=new c,this.renderer=new s,this.linkify=new d,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=u,this.helpers=u.assign({},l),this.options={},this.configure(e),t&&this.set(t)}var u=n(3),l=n(216),s=n(220),c=n(221),f=n(229),p=n(243),d=n(256),h=n(120),m=n(258),v={default:n(260),zero:n(261),commonmark:n(262)},y=/^(vbscript|javascript|file|data):/,g=/^data:image\/(gif|png|jpeg|webp);/,b=["http:","https:","mailto:"];a.prototype.set=function(e){return u.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(u.isString(e)&&(t=e,!(e=v[t])))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},a.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},a.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},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.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},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=a},function(e,t){e.exports={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",Cdot:"\u010a",cdot:"\u010b",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03a7",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25cb",cirE:"\u29c3",cire:"\u2257",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2a74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",Cscr:"\ud835\udc9e",cscr:"\ud835\udcb8",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cup:"\u222a",Cup:"\u22d3",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21a1",dArr:"\u21d3",dash:"\u2010",Dashv:"\u2ae4",dashv:"\u22a3",dbkarow:"\u290f",dblac:"\u02dd",Dcaron:"\u010e",dcaron:"\u010f",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21ca",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",Delta:"\u0394",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",Dfr:"\ud835\udd07",dfr:"\ud835\udd21",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",Dopf:"\ud835\udd3b",dopf:"\ud835\udd55",Dot:"\xa8",dot:"\u02d9",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21d3",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21bd",DownRightTeeVector:"\u295f",DownRightVectorBar:"\u2957",DownRightVector:"\u21c1",DownTeeArrow:"\u21a7",DownTee:"\u22a4",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",Dscr:"\ud835\udc9f",dscr:"\ud835\udcb9",DScy:"\u0405",dscy:"\u0455",dsol:"\u29f6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",DZcy:"\u040f",dzcy:"\u045f",dzigrarr:"\u27ff",Eacute:"\xc9",eacute:"\xe9",easter:"\u2a6e",Ecaron:"\u011a",ecaron:"\u011b",Ecirc:"\xca",ecirc:"\xea",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042d",ecy:"\u044d",eDDot:"\u2a77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\ud835\udd08",efr:"\ud835\udd22",eg:"\u2a9a",Egrave:"\xc8",egrave:"\xe8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014a",eng:"\u014b",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\ud835\udd3c",eopf:"\ud835\udd56",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",Epsilon:"\u0395",epsilon:"\u03b5",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",Esim:"\u2a73",esim:"\u2242",Eta:"\u0397",eta:"\u03b7",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",Ffr:"\ud835\udd09",ffr:"\ud835\udd23",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",Fopf:"\ud835\udd3d",fopf:"\ud835\udd57",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",Gamma:"\u0393",gamma:"\u03b3",Gammad:"\u03dc",gammad:"\u03dd",gap:"\u2a86",Gbreve:"\u011e",gbreve:"\u011f",Gcedil:"\u0122",Gcirc:"\u011c",gcirc:"\u011d",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2a8c",gel:"\u22db",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",gescc:"\u2aa9",ges:"\u2a7e",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",Gfr:"\ud835\udd0a",gfr:"\ud835\udd24",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2aa5",gl:"\u2277",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",Gopf:"\ud835\udd3e",gopf:"\ud835\udd58",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Gscr:"\ud835\udca2",gscr:"\u210a",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gt:">",GT:">",Gt:"\u226b",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",HARDcy:"\u042a",hardcy:"\u044a",harrcir:"\u2948",harr:"\u2194",hArr:"\u21d4",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xcd",iacute:"\xed",ic:"\u2063",Icirc:"\xce",icirc:"\xee",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",incare:"\u2105",in:"\u2208",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",intcal:"\u22ba",int:"\u222b",Int:"\u222c",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012e",iogon:"\u012f",Iopf:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xcf",iuml:"\xef",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larrb:"\u21e4",larrbfs:"\u291f",larr:"\u2190",Larr:"\u219e",lArr:"\u21d0",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",latail:"\u2919",lAtail:"\u291b",lat:"\u2aab",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",Lcaron:"\u013d",lcaron:"\u013e",Lcedil:"\u013b",lcedil:"\u013c",lceil:"\u2308",lcub:"{",Lcy:"\u041b",lcy:"\u043b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",LeftArrowBar:"\u21e4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21d0",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21c3",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTeeArrow:"\u21a4",LeftTee:"\u22a3",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangleBar:"\u29cf",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21bf",LeftVectorBar:"\u2952",LeftVector:"\u21bc",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",lescc:"\u2aa8",les:"\u2a7d",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",Lfr:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21c7",ll:"\u226a",Ll:"\u22d8",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoustache:"\u23b0",lmoust:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftrightarrow:"\u27f7",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longmapsto:"\u27fc",longrightarrow:"\u27f6",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",lt:"<",LT:"<",Lt:"\u226a",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21a6",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",Mcy:"\u041c",mcy:"\u043c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",Mfr:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",midast:"*",midcir:"\u2af0",mid:"\u2223",middot:"\xb7",minusb:"\u229f",minus:"\u2212",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",Mu:"\u039c",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266e",naturals:"\u2115",natur:"\u266e",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",Ncy:"\u041d",ncy:"\u043d",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",Nfr:"\ud835\udd11",nfr:"\ud835\udd2b",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",nGt:"\u226b\u20d2",ngt:"\u226f",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nLt:"\u226a\u20d2",nlt:"\u226e",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",Not:"\u2aec",not:"\xac",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",nprec:"\u2280",npreceq:"\u2aaf\u0338",npre:"\u2aaf\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsube:"\u2288",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",Nu:"\u039d",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",Ocirc:"\xd4",ocirc:"\xf4",ocir:"\u229a",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",ogon:"\u02db",Ograve:"\xd2",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",Omacr:"\u014c",omacr:"\u014d",Omega:"\u03a9",omega:"\u03c9",Omicron:"\u039f",omicron:"\u03bf",omid:"\u29b6",ominus:"\u2296",Oopf:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",orarr:"\u21bb",Or:"\u2a54",or:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",otimesas:"\u2a36",Otimes:"\u2a37",otimes:"\u2297",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",para:"\xb6",parallel:"\u2225",par:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plus:"+",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",prap:"\u2ab7",Pr:"\u2abb",pr:"\u227a",prcue:"\u227c",precapprox:"\u2ab7",prec:"\u227a",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",pre:"\u2aaf",prE:"\u2ab3",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportional:"\u221d",Proportion:"\u2237",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21a0",rArr:"\u21d2",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",Re:"\u211c",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrowBar:"\u21e5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21d2",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVectorBar:"\u2955",RightDownVector:"\u21c2",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTeeArrow:"\u21a6",RightTee:"\u22a2",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangleBar:"\u29d0",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVectorBar:"\u2954",RightUpVector:"\u21be",RightVectorBar:"\u2953",RightVector:"\u21c0",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoustache:"\u23b1",rmoust:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",Sacute:"\u015a",sacute:"\u015b",sbquo:"\u201a",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2abc",sc:"\u227b",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdotb:"\u22a1",sdot:"\u22c5",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",sfrown:"\u2322",sharp:"\u266f",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",Sigma:"\u03a3",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",SOFTcy:"\u042c",softcy:"\u044c",solbar:"\u233f",solb:"\u29c4",sol:"/",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squ:"\u25a1",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succapprox:"\u2ab8",succ:"\u227b",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"\u2283",Sup:"\u22d1",supdot:"\u2abe",supdsub:"\u2ad8",supE:"\u2ac6",supe:"\u2287",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supne:"\u228b",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",Tau:"\u03a4",tau:"\u03c4",tbrk:"\u23b4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20db",telrec:"\u2315",Tfr:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2a31",timesb:"\u22a0",times:"\xd7",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",topbot:"\u2336",topcir:"\u2af1",top:"\u22a4",Topf:"\ud835\udd4b",topf:"\ud835\udd65",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",Tscr:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",uarr:"\u2191",Uarr:"\u219f",uArr:"\u21d1",Uarrocir:"\u2949",Ubrcy:"\u040e",ubrcy:"\u045e",Ubreve:"\u016c",ubreve:"\u016d",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21c5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296e",ufisht:"\u297e",Ufr:"\ud835\udd18",ufr:"\ud835\udd32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",Umacr:"\u016a",umacr:"\u016b",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",Uogon:"\u0172",uogon:"\u0173",Uopf:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21d1",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21d5",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTeeArrow:"\u21a5",UpTee:"\u22a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",utdot:"\u22f0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",Uuml:"\xdc",uuml:"\xfc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",veebar:"\u22bb",vee:"\u2228",Vee:"\u22c1",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xharr:"\u27f7",xhArr:"\u27fa",Xi:"\u039e",xi:"\u03be",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",Yacute:"\xdd",yacute:"\xfd",YAcy:"\u042f",yacy:"\u044f",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042b",ycy:"\u044b",yen:"\xa5",Yfr:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",yuml:"\xff",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017a",Zcaron:"\u017d",zcaron:"\u017e",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017b",zdot:"\u017c",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",Zeta:"\u0396",zeta:"\u03b6",zfr:"\ud835\udd37",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"}},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&u<=57343){if(u>=55296&&u<=56319&&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}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),t+=6):240===(248&i)&&t+91114111?s+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,s+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):s+="\ufffd";return s})}var o={};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}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],s=["{","}","|","\\","^","`"].concat(l),c=["'"].concat(s),f=["%","/","?",";","#"].concat(c),p=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={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,i,a,l,s=e;if(s=s.trim(),!t&&1===e.split("#").length){var c=u.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var y=o.exec(s);if(y&&(y=y[0],i=y.toLowerCase(),this.protocol=y,s=s.substr(y.length)),(t||y||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===s.substr(0,2))||y&&m[y]||(s=s.substr(2),this.slashes=!0)),!m[y]&&(l||y&&!v[y])){var g=-1;for(n=0;n127?_+="x":_+=T[S];if(!_.match(d)){var C=O.slice(0,n),N=O.slice(n+1),j=T.match(h);j&&(C.push(j[1]),N.unshift(j[2])),N.length&&(s=N.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=s.indexOf("#");-1!==D&&(this.hash=s.substr(D),s=s.slice(0,D));var A=s.indexOf("?");return-1!==A&&(this.search=s.substr(A),s=s.slice(0,A)),s&&(this.pathname=s),v[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=i},function(e,t,n){"use strict";t.Any=n(121),t.Cc=n(122),t.Cf=n(215),t.P=n(71),t.Z=n(123)},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(217),t.parseLinkDestination=n(218),t.parseLinkTitle=n(219)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,u=-1,l=e.posMax,s=e.pos;for(e.pos=t+1,r=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t"+a(e[t].content)+""},u.code_block=function(e,t,n,r,i){var o=e[t];return""+a(e[t].content)+"
\n"},u.fence=function(e,t,n,r,i){var u,l,s,c,f=e[t],p=f.info?o(f.info).trim():"",d="";return p&&(d=p.split(/\s+/g)[0]),u=n.highlight?n.highlight(f.content,d)||a(f.content):a(f.content),0===u.indexOf(""+u+"
\n"):""+u+"
\n"},u.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)},u.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},u.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},u.text=function(e,t){return a(e[t].content)},u.html_block=function(e,t){return e[t].content},u.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,u=e.length;a\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=n(3).arrayReplaceAt;e.exports=function(e){var t,n,a,u,l,s,c,f,p,d,h,m,v,y,g,b,w,E=e.tokens;if(e.md.options.linkify)for(n=0,a=E.length;n=0;t--)if(s=u[t],"link_close"!==s.type){if("html_inline"===s.type&&(r(s.content)&&v>0&&v--,i(s.content)&&v++),!(v>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,w=e.md.linkify.match(p),c=[],m=s.level,h=0,f=0;fh&&(l=new e.Token("text","",0),l.content=p.slice(h,d),l.level=m,c.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",g]],l.level=m++,l.markup="linkify",l.info="auto",c.push(l),l=new e.Token("text","",0),l.content=b,l.level=m,c.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",c.push(l),h=w[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,s={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};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&&(u.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,p,d,h,m,v,y,g,b,w,E,k,O,T,_,S,x,C;for(S=[],n=0;n=0&&!(S[T].level<=h);T--);if(S.length=T+1,"text"===i.type){l=i.content,p=0,d=l.length;e:for(;p=0)v=l.charCodeAt(f.index-1);else for(T=n-1;T>=0&&("softbreak"!==e[T].type&&"hardbreak"!==e[T].type);T--)if("text"===e[T].type){v=e[T].content.charCodeAt(e[T].content.length-1);break}if(y=32,p=48&&v<=57&&(O=k=!1),k&&O&&(k=!1,O=b),k||O){if(O)for(T=S.length-1;T>=0&&(m=S[T],!(S[T].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=n(73);r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((s=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(u=e.src.charCodeAt(s++))&&45!==u&&58!==u)return!1;for(;s=4)return!1;if(p=i(l.replace(/^\||\|$/g,"")),(d=p.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=y=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],c=0;c=4);f++){for(p=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),c=0;c=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.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,u,l,s,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,p=e.skipChars(p,i),(o=p-l)<3)return!1;if(c=e.src.slice(l,p),a=e.src.slice(p,d),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(u=t;!(++u>=n)&&(p=l=e.bMarks[u]+e.tShift[u],d=e.eMarks[u],!(p=4)&&!((p=e.skipChars(p,i))-l=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(l=d=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,l++,d++,o=!1,w=!0):9===e.src.charCodeAt(S)?(w=!0,(e.bsCount[t]+d)%4===3?(S++,l++,d++,o=!1):o=!0):w=!1,h=[e.bMarks[t]],e.bMarks[t]=S;S=x,g=[e.sCount[t]],e.sCount[t]=d-l,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",T=!1,p=t+1;p=x));p++)if(62!==e.src.charCodeAt(S++)||T){if(c)break;for(E=!1,u=0,s=k.length;u=x,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(w?1:0),g.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=S-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,O=e.push("blockquote_open","blockquote",1),O.markup=">",O.map=f=[t,0],e.md.block.tokenize(e,t,p),O=e.push("blockquote_close","blockquote",-1),O.markup=">",e.lineMax=_,e.parentType=y,f[1]=e.line,u=0;u=4)return!1;if(42!==(o=e.src.charCodeAt(s++))&&45!==o&&95!==o)return!1;for(a=1;s=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(F=!0),(N=i(e,t))>=0){if(d=!0,D=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(D,N-D-1)),F&&1!==b)return!1}else{if(!((N=r(e,t))>=0))return!1;d=!1}if(F&&e.skipSpaces(N)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(N-1),a)return!0;for(y=e.tokens.length,d?(L=e.push("ordered_list_open","ol",1),1!==b&&(L.attrs=[["start",b]])):L=e.push("bullet_list_open","ul",1),L.map=v=[t,0],L.markup=String.fromCharCode(g),E=t,j=!1,I=e.md.block.ruler.getRules("list"),_=e.parentType,e.parentType="list";E=w?1:k-p,f>4&&(f=1),c=p+f,L=e.push("list_item_open","li",1),L.markup=String.fromCharCode(g),L.map=h=[t,0],O=e.blkIndent,x=e.tight,S=e.tShift[t],T=e.sCount[t],e.blkIndent=c,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=k,l>=w&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!j||(P=!1),j=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=O,e.tShift[t]=S,e.sCount[t]=T,e.tight=x,L=e.push("list_item_close","li",-1),L.markup=String.fromCharCode(g),E=t=e.line,h[1]=E,l=e.bMarks[t],E>=n)break;if(e.sCount[E]=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O3)&&!(e.sCount[_]<0)){for(b=!1,f=0,p=w.length;f=4)return!1;if(35!==(o=e.src.charCodeAt(s))||s>=c)return!1;for(a=1,o=e.src.charCodeAt(++s);35===o&&s6||ss&&r(e.src.charCodeAt(u-1))&&(c=u),e.line=t+1,l=e.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(s,c).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,o,a,u,l,s,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";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d],s=e.eMarks[d],l=s))){c=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,u,l,s=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(s))return!1;for(l=e.src.slice(s,c),i=0;i3)&&!(e.sCount[l]<0)){for(r=!1,i=0,o=s.length;i0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,u,l,s,c,f,p=e;if(e>=t)return"";for(c=new Array(t-e),i=0;pn?new Array(a-n+1).join(" ")+this.src.slice(l,s):this.src.slice(l,s)}return c.join("")},r.prototype.Token=i,e.exports=r},function(e,t,n){"use strict";function r(){var e;for(this.ruler=new i,e=0;e=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,u=new this.State(e,t,n,r);for(this.tokenize(u),o=this.ruler2.getRules(""),a=o.length,i=0;i=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?@[]^_`{|}~-".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=v)return!1;for(y=s,c=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),c.ok&&(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?s=c.pos:h=""),y=s;s=v||41!==e.src.charCodeAt(s))&&(g=!0),s++}if(g){if("undefined"===typeof e.env.references)return!1;if(s