function renderGraphiQL(data, options) {
    const queryString = data.query;
    const variablesString = data.variables != null ? JSON.stringify(data.variables, null, 2) : null;
    const resultString = data.result != null ? JSON.stringify(data.result, null, 2) : null;
    const operationName = data.operationName;
    const defaultQuery = options === null || options === void 0 ? void 0 : options.defaultQuery;
    const headerEditorEnabled = options === null || options === void 0 ? void 0 : options.headerEditorEnabled;
    return `<!--
The request to this GraphQL server provided the header "Accept: text/html"
and as a result has been presented GraphiQL - an in-browser IDE for
exploring GraphQL.

If you wish to receive JSON, provide the header "Accept: application/json" or
add "&raw" to the end of the URL within a browser.
-->
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>GraphiQL</title>
  <meta name="robots" content="noindex" />
  <meta name="referrer" content="origin" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <style>
    body {
      margin: 0;
      overflow: hidden;
    }
    #graphiql {
      height: 100vh;
    }
  </style>
  <style>
    /* graphiql/graphiql.css */
    ${".graphiql-container,\n.graphiql-container button,\n.graphiql-container input {\n  color: #141823;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 14px;\n}\n\n.graphiql-container {\n  display: flex;\n  flex-direction: row;\n  height: 100%;\n  margin: 0;\n  overflow: hidden;\n  width: 100%;\n}\n\n.graphiql-container .editorWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  overflow-x: hidden;\n}\n\n.graphiql-container .title {\n  font-size: 18px;\n}\n\n.graphiql-container .title em {\n  font-family: georgia;\n  font-size: 19px;\n}\n\n.graphiql-container .topBarWrap {\n  display: flex;\n  flex-direction: row;\n}\n\n.graphiql-container .topBar {\n  align-items: center;\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-bottom: 1px solid #d0d0d0;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n  height: 34px;\n  overflow-y: visible;\n  padding: 7px 14px 6px;\n  user-select: none;\n}\n\n.graphiql-container .toolbar {\n  overflow-x: visible;\n  display: flex;\n}\n\n.graphiql-container .docExplorerShow,\n.graphiql-container .historyShow {\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-radius: 0;\n  border-bottom: 1px solid #d0d0d0;\n  border-right: none;\n  border-top: none;\n  color: #3B5998;\n  cursor: pointer;\n  font-size: 14px;\n  margin: 0;\n  padding: 2px 20px 0 18px;\n}\n\n.graphiql-container .docExplorerShow {\n  border-left: 1px solid rgba(0, 0, 0, 0.2);\n}\n\n.graphiql-container .historyShow {\n  border-right: 1px solid rgba(0, 0, 0, 0.2);\n  border-left: 0;\n}\n\n.graphiql-container .docExplorerShow:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .editorBar {\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n}\n\n.graphiql-container .queryWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n}\n\n.graphiql-container .resultWrap {\n  border-left: solid 1px #e0e0e0;\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  flex-basis: 1em;\n  position: relative;\n}\n\n.graphiql-container .docExplorerWrap,\n.graphiql-container .historyPaneWrap {\n  background: white;\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n  position: relative;\n  z-index: 3;\n}\n\n.graphiql-container .historyPaneWrap {\n  min-width: 230px;\n  z-index: 5;\n}\n\n.graphiql-container .docExplorerResizer {\n  cursor: col-resize;\n  height: 100%;\n  left: -5px;\n  position: absolute;\n  top: 0;\n  width: 10px;\n  z-index: 10;\n}\n\n.graphiql-container .docExplorerHide {\n  cursor: pointer;\n  font-size: 18px;\n  margin: -7px -8px -6px 0;\n  padding: 18px 16px 15px 12px;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.graphiql-container div .query-editor {\n  flex: 1;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor {\n  display: flex;\n  flex-direction: column;\n  height: 30px;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor-title {\n  background: #eeeeee;\n  border-bottom: 1px solid #d6d6d6;\n  border-top: 1px solid #e0e0e0;\n  color: #777;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 14px;\n  padding: 6px 0 8px 43px;\n  text-transform: lowercase;\n  user-select: none;\n}\n\n.graphiql-container .codemirrorWrap {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .result-window {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .footer {\n  background: #f6f7f8;\n  border-left: 1px solid #e0e0e0;\n  border-top: 1px solid #e0e0e0;\n  margin-left: 12px;\n  position: relative;\n}\n\n.graphiql-container .footer:before {\n  background: #eeeeee;\n  bottom: 0;\n  content: \" \";\n  left: -13px;\n  position: absolute;\n  top: -1px;\n  width: 12px;\n}\n\n/* No `.graphiql-container` here so themes can overwrite */\n\n.result-window .CodeMirror {\n  background: #f6f7f8;\n}\n\n.graphiql-container .result-window .CodeMirror-gutters {\n  background-color: #eeeeee;\n  border-color: #e0e0e0;\n  cursor: col-resize;\n}\n\n.graphiql-container .result-window .CodeMirror-foldgutter,\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\n  padding-left: 3px;\n}\n\n.graphiql-container .toolbar-button {\n  background: #fdfdfd;\n  background: linear-gradient(#f9f9f9, #ececec);\n  border: 0;\n  border-radius: 3px;\n  box-shadow:\n    inset 0 0 0 1px rgba(0,0,0,0.20),\n    0 1px 0 rgba(255,255,255, 0.7),\n    inset 0 1px #fff;\n  color: #555;\n  cursor: pointer;\n  display: inline-block;\n  margin: 0 5px;\n  padding: 3px 11px 5px;\n  text-decoration: none;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  max-width: 150px;\n}\n\n.graphiql-container .toolbar-button:active {\n  background: linear-gradient(#ececec, #d5d5d5);\n  box-shadow:\n    0 1px 0 rgba(255, 255, 255, 0.7),\n    inset 0 0 0 1px rgba(0,0,0,0.10),\n    inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\n    inset 0 0 5px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-button.error {\n  background: linear-gradient(#fdf3f3, #e6d6d7);\n  color: #b00;\n}\n\n.graphiql-container .toolbar-button-group {\n  margin: 0 5px;\n  white-space: nowrap;\n}\n\n.graphiql-container .toolbar-button-group > * {\n  margin: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  margin-left: -1px;\n}\n\n.graphiql-container .execute-button-wrap {\n  height: 34px;\n  margin: 0 14px 0 28px;\n  position: relative;\n}\n\n.graphiql-container .execute-button {\n  background: linear-gradient(#fdfdfd, #d2d3d6);\n  border-radius: 17px;\n  border: 1px solid rgba(0,0,0,0.25);\n  box-shadow: 0 1px 0 #fff;\n  cursor: pointer;\n  fill: #444;\n  height: 34px;\n  margin: 0;\n  padding: 0;\n  width: 34px;\n}\n\n.graphiql-container .execute-button svg {\n  pointer-events: none;\n}\n\n.graphiql-container .execute-button:active {\n  background: linear-gradient(#e6e6e6, #c3c3c3);\n  box-shadow:\n    0 1px 0 #fff,\n    inset 0 0 2px rgba(0, 0, 0, 0.2),\n    inset 0 0 6px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-menu,\n.graphiql-container .toolbar-select {\n  position: relative;\n}\n\n.graphiql-container .execute-options,\n.graphiql-container .toolbar-menu-items,\n.graphiql-container .toolbar-select-options {\n  background: #fff;\n  box-shadow:\n    0 0 0 1px rgba(0,0,0,0.1),\n    0 2px 4px rgba(0,0,0,0.25);\n  margin: 0;\n  padding: 6px 0;\n  position: absolute;\n  z-index: 100;\n}\n\n.graphiql-container .execute-options {\n  min-width: 100px;\n  top: 37px;\n  left: -1px;\n}\n\n.graphiql-container .toolbar-menu-items {\n  left: 1px;\n  margin-top: -1px;\n  min-width: 110%;\n  top: 100%;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-menu-items.open {\n  visibility: visible;\n}\n\n.graphiql-container .toolbar-select-options {\n  left: 0;\n  min-width: 100%;\n  top: -5px;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-select-options.open {\n  visibility: visible;\n}\n\n.graphiql-container .execute-options > li,\n.graphiql-container .toolbar-menu-items > li,\n.graphiql-container .toolbar-select-options > li {\n  cursor: pointer;\n  display: block;\n  margin: none;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 20px 4px 11px;\n  white-space: nowrap;\n}\n\n.graphiql-container .execute-options > li.selected,\n.graphiql-container .toolbar-menu-items > li.hover,\n.graphiql-container .toolbar-menu-items > li:active,\n.graphiql-container .toolbar-menu-items > li:hover,\n.graphiql-container .toolbar-select-options > li.hover,\n.graphiql-container .toolbar-select-options > li:active,\n.graphiql-container .toolbar-select-options > li:hover,\n.graphiql-container .history-contents > li:hover,\n.graphiql-container .history-contents > li:active {\n  background: #e10098;\n  color: #fff;\n}\n\n.graphiql-container .toolbar-select-options > li > svg {\n  display: inline;\n  fill: #666;\n  margin: 0 -6px 0 6px;\n  pointer-events: none;\n  vertical-align: middle;\n}\n\n.graphiql-container .toolbar-select-options > li.hover > svg,\n.graphiql-container .toolbar-select-options > li:active > svg,\n.graphiql-container .toolbar-select-options > li:hover > svg {\n  fill: #fff;\n}\n\n.graphiql-container .CodeMirror-scroll {\n  overflow-scrolling: touch;\n}\n\n.graphiql-container .CodeMirror {\n  color: #141823;\n  font-family:\n    'Consolas',\n    'Inconsolata',\n    'Droid Sans Mono',\n    'Monaco',\n    monospace;\n  font-size: 13px;\n  height: 100%;\n  left: 0;\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n\n.graphiql-container .CodeMirror-lines {\n  padding: 20px 0;\n}\n\n.CodeMirror-hint-information .content {\n  box-orient: vertical;\n  color: #141823;\n  display: flex;\n  font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;\n  font-size: 13px;\n  line-clamp: 3;\n  line-height: 16px;\n  max-height: 48px;\n  overflow: hidden;\n  text-overflow: -o-ellipsis-lastline;\n}\n\n.CodeMirror-hint-information .content p:first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-information .content p:last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-hint-information .infoType {\n  color: #CA9800;\n  cursor: pointer;\n  display: inline;\n  margin-right: 0.5em;\n}\n\n.autoInsertedLeaf.cm-property {\n  animation-duration: 6s;\n  animation-name: insertionFade;\n  border-bottom: 2px solid rgba(255, 255, 255, 0);\n  border-radius: 2px;\n  margin: -2px -4px -1px;\n  padding: 2px 4px 1px;\n}\n\n@keyframes insertionFade {\n  from, to {\n    background: rgba(255, 255, 255, 0);\n    border-color: rgba(255, 255, 255, 0);\n  }\n\n  15%, 85% {\n    background: #fbffc9;\n    border-color: #f0f3c0;\n  }\n}\n\ndiv.CodeMirror-lint-tooltip {\n  background-color: white;\n  border-radius: 2px;\n  border: 0;\n  color: #141823;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-size: 13px;\n  line-height: 16px;\n  max-width: 430px;\n  opacity: 0;\n  padding: 8px 10px;\n  transition: opacity 0.15s;\n  white-space: pre-wrap;\n}\n\ndiv.CodeMirror-lint-tooltip > * {\n  padding-left: 23px;\n}\n\ndiv.CodeMirror-lint-tooltip > * + * {\n  margin-top: 12px;\n}\n\n/* COLORS */\n\n.graphiql-container .CodeMirror-foldmarker {\n  border-radius: 4px;\n  background: #08f;\n  background: linear-gradient(#43A8FF, #0F83E8);\n  box-shadow:\n    0 1px 1px rgba(0, 0, 0, 0.2),\n    inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n  color: white;\n  font-family: arial;\n  font-size: 12px;\n  line-height: 0;\n  margin: 0 3px;\n  padding: 0px 4px 1px;\n  text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\n  color: #555;\n  text-decoration: underline;\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\n  color: #f00;\n}\n\n/* Comment */\n\n.cm-comment {\n  color: #999;\n}\n\n/* Punctuation */\n\n.cm-punctuation {\n  color: #555;\n}\n\n/* Keyword */\n\n.cm-keyword {\n  color: #B11A04;\n}\n\n/* OperationName, FragmentName */\n\n.cm-def {\n  color: #D2054E;\n}\n\n/* FieldName */\n\n.cm-property {\n  color: #1F61A0;\n}\n\n/* FieldAlias */\n\n.cm-qualifier {\n  color: #1C92A9;\n}\n\n/* ArgumentName and ObjectFieldName */\n\n.cm-attribute {\n  color: #8B2BB9;\n}\n\n/* Number */\n\n.cm-number {\n  color: #2882F9;\n}\n\n/* String */\n\n.cm-string {\n  color: #D64292;\n}\n\n/* Boolean */\n\n.cm-builtin {\n  color: #D47509;\n}\n\n/* EnumValue */\n\n.cm-string-2 {\n  color: #0B7FC7;\n}\n\n/* Variable */\n\n.cm-variable {\n  color: #397D13;\n}\n\n/* Directive */\n\n.cm-meta {\n  color: #B33086;\n}\n\n/* Type */\n\n.cm-atom {\n  color: #CA9800;\n}\n\n/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  color: black;\n  font-family: monospace;\n  height: 300px;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n\n.CodeMirror-linenumbers {}\n\n.CodeMirror-linenumber {\n  color: #999;\n  min-width: 20px;\n  padding: 0 3px 0 5px;\n  text-align: right;\n  white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror .CodeMirror-cursor {\n  border-left: 1px solid black;\n}\n\n/* Shown when moving in bi-directional text */\n\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n  background: #7e7;\n  border: 0;\n  width: auto;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n  z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n  animation: blink 1.06s steps(1) infinite;\n  border: 0;\n  width: auto;\n}\n\n@keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-ruler {\n  border-left: 1px solid #ccc;\n  position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {color: #708;}\n\n.cm-s-default .cm-atom {color: #219;}\n\n.cm-s-default .cm-number {color: #164;}\n\n.cm-s-default .cm-def {color: #00f;}\n\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n\n.cm-s-default .cm-variable-2 {color: #05a;}\n\n.cm-s-default .cm-variable-3 {color: #085;}\n\n.cm-s-default .cm-comment {color: #a50;}\n\n.cm-s-default .cm-string {color: #a11;}\n\n.cm-s-default .cm-string-2 {color: #f50;}\n\n.cm-s-default .cm-meta {color: #555;}\n\n.cm-s-default .cm-qualifier {color: #555;}\n\n.cm-s-default .cm-builtin {color: #30a;}\n\n.cm-s-default .cm-bracket {color: #997;}\n\n.cm-s-default .cm-tag {color: #170;}\n\n.cm-s-default .cm-attribute {color: #00c;}\n\n.cm-s-default .cm-header {color: blue;}\n\n.cm-s-default .cm-quote {color: #090;}\n\n.cm-s-default .cm-hr {color: #999;}\n\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-negative {color: #d44;}\n\n.cm-positive {color: #292;}\n\n.cm-header, .cm-strong {font-weight: bold;}\n\n.cm-em {font-style: italic;}\n\n.cm-link {text-decoration: underline;}\n\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-error {color: #f00;}\n\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\n\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  background: white;\n  overflow: hidden;\n  position: relative;\n}\n\n.CodeMirror-scroll {\n  height: 100%;\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  outline: none; /* Prevent dragging from highlighting the element */\n  overflow: scroll !important; /* Things will break if this is overridden */\n  padding-bottom: 30px;\n  position: relative;\n}\n\n.CodeMirror-sizer {\n  border-right: 30px solid transparent;\n  position: relative;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actual scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  display: none;\n  position: absolute;\n  z-index: 6;\n}\n\n.CodeMirror-vscrollbar {\n  overflow-x: hidden;\n  overflow-y: scroll;\n  right: 0; top: 0;\n}\n\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-x: scroll;\n  overflow-y: hidden;\n}\n\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  min-height: 100%;\n  position: absolute; left: 0; top: 0;\n  z-index: 3;\n}\n\n.CodeMirror-gutter {\n  display: inline-block;\n  height: 100%;\n  margin-bottom: -30px;\n  vertical-align: top;\n  white-space: normal;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n\n.CodeMirror-gutter-wrapper {\n  background: none !important;\n  border: none !important;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-background {\n  position: absolute;\n  top: 0; bottom: 0;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-elt {\n  cursor: default;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-wrapper {\n  user-select: none;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n  min-height: 1px; /* prevents collapsing before first draw */\n}\n\n.CodeMirror pre {\n  -webkit-tap-highlight-color: transparent;\n  /* Reset some styles that the rest of the page might have set */\n  background: transparent;\n  border-radius: 0;\n  border-width: 0;\n  color: inherit;\n  font-family: inherit;\n  font-size: inherit;\n  font-variant-ligatures: none;\n  line-height: inherit;\n  margin: 0;\n  overflow: visible;\n  position: relative;\n  white-space: pre;\n  word-wrap: normal;\n  z-index: 2;\n}\n\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  overflow: auto;\n  position: relative;\n  z-index: 2;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-code {\n  outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n  box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n  height: 0;\n  overflow: hidden;\n  position: absolute;\n  visibility: hidden;\n  width: 100%;\n}\n\n.CodeMirror-cursor { position: absolute; }\n\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n  position: relative;\n  visibility: hidden;\n  z-index: 3;\n}\n\ndiv.CodeMirror-dragcursors {\n  visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n\n.CodeMirror-crosshair { cursor: crosshair; }\n\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n\n.CodeMirror span { *vertical-align: text-bottom; }\n\n/* Used to force a border model for a node */\n\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursors {\n    visibility: hidden;\n  }\n}\n\n/* See issue #2901 */\n\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\n\nspan.CodeMirror-selectedtext { background: none; }\n\n.CodeMirror-dialog {\n  background: inherit;\n  color: inherit;\n  left: 0; right: 0;\n  overflow: hidden;\n  padding: .1em .8em;\n  position: absolute;\n  z-index: 15;\n}\n\n.CodeMirror-dialog-top {\n  border-bottom: 1px solid #eee;\n  top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n  border-top: 1px solid #eee;\n  bottom: 0;\n}\n\n.CodeMirror-dialog input {\n  background: transparent;\n  border: 1px solid #d3d6db;\n  color: inherit;\n  font-family: monospace;\n  outline: none;\n  width: 20em;\n}\n\n.CodeMirror-dialog button {\n  font-size: 70%;\n}\n\n.CodeMirror-foldmarker {\n  color: blue;\n  cursor: pointer;\n  font-family: arial;\n  line-height: .3;\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n}\n.CodeMirror-foldgutter {\n  width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n  cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n  content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n  content: \"\\25B8\";\n}\n\n.CodeMirror-info {\n  background: white;\n  border-radius: 2px;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  box-sizing: border-box;\n  color: #555;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-width: 400px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 8px 8px;\n  position: fixed;\n  transition: opacity 0.15s;\n  z-index: 50;\n}\n\n.CodeMirror-info :first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-info :last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-info p {\n  margin: 1em 0;\n}\n\n.CodeMirror-info .info-description {\n  color: #777;\n  line-height: 16px;\n  margin-top: 1em;\n  max-height: 80px;\n  overflow: hidden;\n}\n\n.CodeMirror-info .info-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: -8px;\n  margin-top: 8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n}\n\n.CodeMirror-info .info-deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-info .info-deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-info a {\n  text-decoration: none;\n}\n\n.CodeMirror-info a:hover {\n  text-decoration: underline;\n}\n\n.CodeMirror-info .type-name {\n  color: #CA9800;\n}\n\n.CodeMirror-info .field-name {\n  color: #1F61A0;\n}\n\n.CodeMirror-info .enum-value {\n  color: #0B7FC7;\n}\n\n.CodeMirror-info .arg-name {\n  color: #8B2BB9;\n}\n\n.CodeMirror-info .directive-name {\n  color: #B33086;\n}\n\n.CodeMirror-jump-token {\n  text-decoration: underline;\n  cursor: pointer;\n}\n\n/* The lint marker gutter */\n.CodeMirror-lint-markers {\n  width: 16px;\n}\n.CodeMirror-lint-tooltip {\n  background-color: infobackground;\n  border-radius: 4px 4px 4px 4px;\n  border: 1px solid black;\n  color: infotext;\n  font-family: monospace;\n  font-size: 10pt;\n  max-width: 600px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 2px 5px;\n  position: fixed;\n  transition: opacity .4s;\n  white-space: pre-wrap;\n  z-index: 100;\n}\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\n  background-position: left bottom;\n  background-repeat: repeat-x;\n}\n.CodeMirror-lint-mark-error {\n  background-image:\n  url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")\n  ;\n}\n.CodeMirror-lint-mark-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\n  background-position: center center;\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  height: 16px;\n  position: relative;\n  vertical-align: middle;\n  width: 16px;\n}\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\n  background-position: top left;\n  background-repeat: no-repeat;\n  padding-left: 18px;\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-multiple {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n  background-position: right bottom;\n  background-repeat: no-repeat;\n  width: 100%; height: 100%;\n}\n\n.graphiql-container .spinner-container {\n  height: 36px;\n  left: 50%;\n  position: absolute;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  width: 36px;\n  z-index: 10;\n}\n\n.graphiql-container .spinner {\n  animation: rotation .6s infinite linear;\n  border-bottom: 6px solid rgba(150, 150, 150, .15);\n  border-left: 6px solid rgba(150, 150, 150, .15);\n  border-radius: 100%;\n  border-right: 6px solid rgba(150, 150, 150, .15);\n  border-top: 6px solid rgba(150, 150, 150, .8);\n  display: inline-block;\n  height: 24px;\n  position: absolute;\n  vertical-align: middle;\n  width: 24px;\n}\n\n@keyframes rotation {\n  from { transform: rotate(0deg); }\n  to { transform: rotate(359deg); }\n}\n\n.CodeMirror-hints {\n  background: white;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n  font-size: 13px;\n  list-style: none;\n  margin-left: -6px;\n  margin: 0;\n  max-height: 14.5em;\n  overflow: hidden;\n  overflow-y: auto;\n  padding: 0;\n  position: absolute;\n  z-index: 10;\n}\n\n.CodeMirror-hint {\n  border-top: solid 1px #f7f7f7;\n  color: #141823;\n  cursor: pointer;\n  margin: 0;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 6px;\n  white-space: pre;\n}\n\nli.CodeMirror-hint-active {\n  background-color: #08f;\n  border-top-color: white;\n  color: white;\n}\n\n.CodeMirror-hint-information {\n  border-top: solid 1px #c0c0c0;\n  max-width: 300px;\n  padding: 4px 6px;\n  position: relative;\n  z-index: 1;\n}\n\n.CodeMirror-hint-information:first-child {\n  border-bottom: solid 1px #c0c0c0;\n  border-top: none;\n  margin-bottom: -1px;\n}\n\n.CodeMirror-hint-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin-top: 4px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 6px;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-deprecation :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .doc-explorer {\n  background: white;\n}\n\n.graphiql-container .doc-explorer-title-bar,\n.graphiql-container .history-title-bar {\n  cursor: default;\n  display: flex;\n  height: 34px;\n  line-height: 14px;\n  padding: 8px 8px 5px;\n  position: relative;\n  user-select: none;\n}\n\n.graphiql-container .doc-explorer-title,\n.graphiql-container .history-title {\n  flex: 1;\n  font-weight: bold;\n  overflow-x: hidden;\n  padding: 10px 0 10px 10px;\n  text-align: center;\n  text-overflow: ellipsis;\n  user-select: text;\n  white-space: nowrap;\n}\n\n.graphiql-container .doc-explorer-back {\n  color: #3B5998;\n  cursor: pointer;\n  margin: -7px 0 -6px -8px;\n  overflow-x: hidden;\n  padding: 17px 12px 16px 16px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.doc-explorer-narrow .doc-explorer-back {\n  width: 0;\n}\n\n.graphiql-container .doc-explorer-back:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .doc-explorer-rhs {\n  position: relative;\n}\n\n.graphiql-container .doc-explorer-contents,\n.graphiql-container .history-contents {\n  background-color: #ffffff;\n  border-top: 1px solid #d6d6d6;\n  bottom: 0;\n  left: 0;\n  overflow-y: auto;\n  padding: 20px 15px;\n  position: absolute;\n  right: 0;\n  top: 47px;\n}\n\n.graphiql-container .doc-explorer-contents {\n  min-width: 300px;\n}\n\n.graphiql-container .doc-type-description p:first-child ,\n.graphiql-container .doc-type-description blockquote:first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-explorer-contents a {\n  cursor: pointer;\n  text-decoration: none;\n}\n\n.graphiql-container .doc-explorer-contents a:hover {\n  text-decoration: underline;\n}\n\n.graphiql-container .doc-value-description > :first-child {\n  margin-top: 4px;\n}\n\n.graphiql-container .doc-value-description > :last-child {\n  margin-bottom: 4px;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-type-description pre,\n.graphiql-container .doc-category code,\n.graphiql-container .doc-category pre {\n  --saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13);\n  font-size: 12px;\n  line-height: 1.50001;\n  font-variant-ligatures: none;\n  white-space: pre;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  word-break: normal;\n  -webkit-tab-size: 4;\n  -moz-tab-size: 4;\n  tab-size: 4;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-category code {\n  padding: 2px 3px 1px;\n  border: 1px solid var(--saf-0);\n  border-radius: 3px;\n  background-color: rgba(var(--sk_foreground_min,29,28,29),.04);\n  color: #e01e5a;\n  background-color: white;\n}\n\n.graphiql-container .doc-category {\n  margin: 20px 0;\n}\n\n.graphiql-container .doc-category-title {\n  border-bottom: 1px solid #e0e0e0;\n  color: #777;\n  cursor: default;\n  font-size: 14px;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  margin: 0 -15px 10px 0;\n  padding: 10px 0;\n  user-select: none;\n}\n\n.graphiql-container .doc-category-item {\n  margin: 12px 0;\n  color: #555;\n}\n\n.graphiql-container .keyword {\n  color: #B11A04;\n}\n\n.graphiql-container .type-name {\n  color: #CA9800;\n}\n\n.graphiql-container .field-name {\n  color: #1F61A0;\n}\n\n.graphiql-container .field-short-description {\n  color: #999;\n  margin-left: 5px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.graphiql-container .enum-value {\n  color: #0B7FC7;\n}\n\n.graphiql-container .arg-name {\n  color: #8B2BB9;\n}\n\n.graphiql-container .arg {\n  display: block;\n  margin-left: 1em;\n}\n\n.graphiql-container .arg:first-child:last-child,\n.graphiql-container .arg:first-child:nth-last-child(2),\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\n  display: inherit;\n  margin: inherit;\n}\n\n.graphiql-container .arg:first-child:nth-last-child(2):after {\n  content: ', ';\n}\n\n.graphiql-container .arg-default-value {\n  color: #43A047;\n}\n\n.graphiql-container .doc-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 0 1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n  border-radius: 3px;\n}\n\n.graphiql-container .doc-deprecation:before {\n  content: 'Deprecated:';\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.graphiql-container .doc-deprecation > :first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-deprecation > :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .show-btn {\n  -webkit-appearance: initial;\n  display: block;\n  border-radius: 3px;\n  border: solid 1px #ccc;\n  text-align: center;\n  padding: 8px 12px 10px;\n  width: 100%;\n  box-sizing: border-box;\n  background: #fbfcfc;\n  color: #555;\n  cursor: pointer;\n}\n\n.graphiql-container .search-box {\n  border-bottom: 1px solid #d3d6db;\n  display: block;\n  font-size: 14px;\n  margin: -15px -15px 12px 0;\n  position: relative;\n}\n\n.graphiql-container .search-box-icon {\n  cursor: pointer;\n  display: block;\n  font-size: 24px;\n  position: absolute;\n  top: -2px;\n  transform: rotate(-45deg);\n  user-select: none;\n}\n\n.graphiql-container .search-box .search-box-clear {\n  background-color: #d0d0d0;\n  border-radius: 12px;\n  color: #fff;\n  cursor: pointer;\n  font-size: 11px;\n  padding: 1px 5px 2px;\n  position: absolute;\n  right: 3px;\n  top: 8px;\n  user-select: none;\n  border: 0;\n}\n\n.graphiql-container .search-box .search-box-clear:hover {\n  background-color: #b9b9b9;\n}\n\n.graphiql-container .search-box > input {\n  border: none;\n  box-sizing: border-box;\n  font-size: 14px;\n  outline: none;\n  padding: 6px 24px 8px 20px;\n  width: 100%;\n}\n\n.graphiql-container .error-container {\n  font-weight: bold;\n  left: 0;\n  letter-spacing: 1px;\n  opacity: 0.5;\n  position: absolute;\n  right: 0;\n  text-align: center;\n  text-transform: uppercase;\n  top: 50%;\n  transform: translate(0, -50%);\n}\n\n.graphiql-container .history-contents {\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n}\n\n.graphiql-container .history-contents {\n  margin: 0;\n  padding: 0;\n}\n\n.graphiql-container .history-contents li {\n  align-items: center;\n  display: flex;\n  font-size: 12px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  margin: 0;\n  padding: 8px;\n  border-bottom: 1px solid #e0e0e0;\n}\n\n.graphiql-container .history-contents li button:not(.history-label) {\n  display: none;\n  margin-left: 10px;\n}\n\n.graphiql-container .history-contents li:hover button:not(.history-label),\n.graphiql-container .history-contents li:focus-within button:not(.history-label) {\n  display: inline-block;\n}\n\n.graphiql-container .history-contents input,\n.graphiql-container .history-contents button {\n  padding: 0;\n  background: 0;\n  border: 0;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: 14px;\n  color: inherit;\n}\n\n.graphiql-container .history-contents input {\n  flex-grow: 1;\n}\n\n.graphiql-container .history-contents input::placeholder {\n  color: inherit;\n}\n\n.graphiql-container .history-contents button {\n  cursor: pointer;\n  text-align: left;\n}\n\n.graphiql-container .history-contents .history-label {\n  flex-grow: 1;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n"}
  </style>
  <script>
    // promise-polyfill/dist/polyfill.min.js
    ${"!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t():\"function\"==typeof define&&define.amd?define(t):t()}(0,function(){\"use strict\";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){function o(e,n){if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var f=n.then;if(\"function\"==typeof f)return void f.call(n,function(t){o(e,t)},function(n){r[e]={status:\"rejected\",reason:n},0==--i&&t(r)})}r[e]={status:\"fulfilled\",value:n},0==--i&&t(r)}if(!e||\"undefined\"==typeof e.length)return n(new TypeError(typeof e+\" \"+e+\" is not iterable(cannot read property Symbol(Symbol.iterator))\"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})}function n(e){return!(!e||\"undefined\"==typeof e.length)}function o(){}function r(e){if(!(this instanceof r))throw new TypeError(\"Promises must be constructed via new\");if(\"function\"!=typeof e)throw new TypeError(\"not a function\");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],l(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(r){return void u(t.promise,r)}f(t.promise,o)}else(1===e._state?f:u)(t.promise,e._value)})):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError(\"A promise cannot be resolved with itself.\");if(t&&(\"object\"==typeof t||\"function\"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void c(e);if(\"function\"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,c(e)}catch(o){u(e,o)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;n>t;t++)i(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,u(t,e))})}catch(o){if(n)return;n=!0,u(t,o)}}var a=setTimeout;r.prototype[\"catch\"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled=\"function\"==typeof e?e:null,this.onRejected=\"function\"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype[\"finally\"]=e,r.all=function(e){return new r(function(t,o){function r(e,n){try{if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var u=n.then;if(\"function\"==typeof u)return void u.call(n,function(t){r(e,t)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError(\"Promise.all accepts an array\"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},r.allSettled=t,r.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,o){if(!n(e))return o(new TypeError(\"Promise.race accepts an array\"));for(var i=0,f=e.length;f>i;i++)r.resolve(e[i]).then(t,o)})},r._immediateFn=\"function\"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn(\"Possible Unhandled Promise Rejection:\",e)};var s=function(){if(\"undefined\"!=typeof self)return self;if(\"undefined\"!=typeof window)return window;if(\"undefined\"!=typeof global)return global;throw Error(\"unable to locate global object\")}();\"function\"!=typeof s.Promise?s.Promise=r:s.Promise.prototype[\"finally\"]?s.Promise.allSettled||(s.Promise.allSettled=t):s.Promise.prototype[\"finally\"]=e});\n"}
  </script>
  <script>
    // unfetch/dist/unfetch.umd.js
    ${"!function(e,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof define&&define.amd?define(n):e.unfetch=n()}(this,function(){return function(e,n){return n=n||{},new Promise(function(t,o){var r=new XMLHttpRequest,s=[],u=[],i={},f=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:f,headers:{keys:function(){return s},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var a in r.open(n.method||\"get\",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(e,n,t){s.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+\",\"+t:t}),t(f())},r.onerror=o,r.withCredentials=\"include\"==n.credentials,n.headers)r.setRequestHeader(a,n.headers[a]);r.send(n.body||null)})}});\n//# sourceMappingURL=unfetch.umd.js.map\n"}
  </script>
  <script>
    // react/umd/react.production.min.js
    ${"/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';(function(d,r){\"object\"===typeof exports&&\"undefined\"!==typeof module?r(exports):\"function\"===typeof define&&define.amd?define([\"exports\"],r):(d=d||self,r(d.React={}))})(this,function(d){function r(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction w(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function da(){}function L(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function ea(a,b,c){var g,e={},fa=null,d=null;if(null!=b)for(g in void 0!==b.ref&&(d=b.ref),void 0!==b.key&&(fa=\"\"+b.key),b)ha.call(b,g)&&!ia.hasOwnProperty(g)&&(e[g]=b[g]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),f=0;f<h;f++)k[f]=arguments[f+2];e.children=k}if(a&&a.defaultProps)for(g in h=a.defaultProps,\nh)void 0===e[g]&&(e[g]=h[g]);return{$$typeof:x,type:a,key:fa,ref:d,props:e,_owner:M.current}}function va(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===x}function wa(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,g){if(C.length){var e=C.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=g;e.count=0;return e}return{result:a,keyPrefix:b,func:c,\ncontext:g,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>C.length&&C.push(a)}function O(a,b,c,g){var e=typeof a;if(\"undefined\"===e||\"boolean\"===e)a=null;var d=!1;if(null===a)d=!0;else switch(e){case \"string\":case \"number\":d=!0;break;case \"object\":switch(a.$$typeof){case x:case xa:d=!0}}if(d)return c(g,a,\"\"===b?\".\"+P(a,0):b),1;d=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+P(e,f);d+=O(e,h,c,g)}else if(null===a||\n\"object\"!==typeof a?h=null:(h=la&&a[la]||a[\"@@iterator\"],h=\"function\"===typeof h?h:null),\"function\"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+P(e,f++),d+=O(e,h,c,g);else if(\"object\"===e)throw c=\"\"+a,Error(r(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return d}function Q(a,b,c){return null==a?0:O(a,\"\",b,c)}function P(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,\na.count++)}function za(a,b,c){var g=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?R(a,g,c,function(a){return a}):null!=a&&(N(a)&&(a=va(a,e+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(ma,\"$&/\")+\"/\")+c)),g.push(a))}function R(a,b,c,g,e){var d=\"\";null!=c&&(d=(\"\"+c).replace(ma,\"$&/\")+\"/\");b=ja(b,d,g,e);Q(a,za,b);ka(b)}function t(){var a=na.current;if(null===a)throw Error(r(321));return a}function S(a,b){var c=a.length;a.push(b);a:for(;;){var g=c-1>>>1,e=a[g];if(void 0!==\ne&&0<D(e,b))a[g]=b,a[c]=e,c=g;else break a}}function n(a){a=a[0];return void 0===a?null:a}function E(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var g=0,e=a.length;g<e;){var d=2*(g+1)-1,f=a[d],h=d+1,k=a[h];if(void 0!==f&&0>D(f,c))void 0!==k&&0>D(k,f)?(a[g]=k,a[h]=c,g=h):(a[g]=f,a[d]=c,g=d);else if(void 0!==k&&0>D(k,c))a[g]=k,a[h]=c,g=h;else break a}}return b}return null}function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function F(a){for(var b=n(u);null!==\nb;){if(null===b.callback)E(u);else if(b.startTime<=a)E(u),b.sortIndex=b.expirationTime,S(p,b);else break;b=n(u)}}function T(a){y=!1;F(a);if(!v)if(null!==n(p))v=!0,z(U);else{var b=n(u);null!==b&&G(T,b.startTime-a)}}function U(a,b){v=!1;y&&(y=!1,V());H=!0;var c=m;try{F(b);for(l=n(p);null!==l&&(!(l.expirationTime>b)||a&&!W());){var g=l.callback;if(null!==g){l.callback=null;m=l.priorityLevel;var e=g(l.expirationTime<=b);b=q();\"function\"===typeof e?l.callback=e:l===n(p)&&E(p);F(b)}else E(p);l=n(p)}if(null!==\nl)var d=!0;else{var f=n(u);null!==f&&G(T,f.startTime-b);d=!1}return d}finally{l=null,m=c,H=!1}}function oa(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var f=\"function\"===typeof Symbol&&Symbol.for,x=f?Symbol.for(\"react.element\"):60103,xa=f?Symbol.for(\"react.portal\"):60106,Aa=f?Symbol.for(\"react.fragment\"):60107,Ba=f?Symbol.for(\"react.strict_mode\"):60108,Ca=f?Symbol.for(\"react.profiler\"):60114,Da=f?Symbol.for(\"react.provider\"):60109,\nEa=f?Symbol.for(\"react.context\"):60110,Fa=f?Symbol.for(\"react.forward_ref\"):60112,Ga=f?Symbol.for(\"react.suspense\"):60113,Ha=f?Symbol.for(\"react.memo\"):60115,Ia=f?Symbol.for(\"react.lazy\"):60116,la=\"function\"===typeof Symbol&&Symbol.iterator,pa=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Ka=Object.prototype.propertyIsEnumerable,I=function(){try{if(!Object.assign)return!1;var a=new String(\"abc\");a[5]=\"de\";if(\"5\"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b[\"_\"+\nString.fromCharCode(a)]=a;if(\"0123456789\"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(\"\"))return!1;var c={};\"abcdefghijklmnopqrst\".split(\"\").forEach(function(a){c[a]=a});return\"abcdefghijklmnopqrst\"!==Object.keys(Object.assign({},c)).join(\"\")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError(\"Object.assign cannot be called with null or undefined\");var c=Object(a);for(var g,e=1;e<arguments.length;e++){var d=Object(arguments[e]);\nfor(var f in d)Ja.call(d,f)&&(c[f]=d[f]);if(pa){g=pa(d);for(var h=0;h<g.length;h++)Ka.call(d,g[h])&&(c[g[h]]=d[g[h]])}}return c},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ba={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(r(85));this.updater.enqueueSetState(this,a,b,\"setState\")};w.prototype.forceUpdate=\nfunction(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};da.prototype=w.prototype;f=L.prototype=new da;f.constructor=L;I(f,w.prototype);f.isPureReactComponent=!0;var M={current:null},ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\\/+/g,C=[],na={current:null},X;if(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var A=null,qa=null,ra=function(){if(null!==A)try{var a=q();A(!0,a);A=null}catch(b){throw setTimeout(ra,0),b;}},La=Date.now();var q=\nfunction(){return Date.now()-La};var z=function(a){null!==A?setTimeout(z,0,a):(A=a,setTimeout(ra,0))};var G=function(a,b){qa=setTimeout(a,b)};var V=function(){clearTimeout(qa)};var W=function(){return!1};f=X=function(){}}else{var Y=window.performance,sa=window.Date,Ma=window.setTimeout,Na=window.clearTimeout;\"undefined\"!==typeof console&&(f=window.cancelAnimationFrame,\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\n\"function\"!==typeof f&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));if(\"object\"===typeof Y&&\"function\"===typeof Y.now)q=function(){return Y.now()};else{var Oa=sa.now();q=function(){return sa.now()-Oa}}var J=!1,K=null,Z=-1,ta=5,ua=0;W=function(){return q()>=ua};f=function(){};X=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):\nta=0<a?Math.floor(1E3/a):5};var B=new MessageChannel,aa=B.port2;B.port1.onmessage=function(){if(null!==K){var a=q();ua=a+ta;try{K(!0,a)?aa.postMessage(null):(J=!1,K=null)}catch(b){throw aa.postMessage(null),b;}}else J=!1};z=function(a){K=a;J||(J=!0,aa.postMessage(null))};G=function(a,b){Z=Ma(function(){a(q())},b)};V=function(){Na(Z);Z=-1}}var p=[],u=[],Pa=1,l=null,m=3,H=!1,v=!1,y=!1,Qa=0;B={ReactCurrentDispatcher:na,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},assign:I};I(B,{Scheduler:{__proto__:null,\nunstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m;m=a;try{return b()}finally{m=c}},unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var c=m;m=b;try{return a()}finally{m=c}},unstable_scheduleCallback:function(a,b,c){var d=q();if(\"object\"===typeof c&&null!==c){var e=c.delay;\ne=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:oa(a)}else c=oa(a),e=d;c=e+c;a={id:Pa++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,S(u,a),null===n(p)&&a===n(u)&&(y?V():y=!0,G(T,e-d))):(a.sortIndex=c,S(p,a),v||H||(v=!0,z(U)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=m;return function(){var c=m;m=b;try{return a.apply(this,arguments)}finally{m=c}}},unstable_getCurrentPriorityLevel:function(){return m},\nunstable_shouldYield:function(){var a=q();F(a);var b=n(p);return b!==l&&null!==l&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<l.expirationTime||W()},unstable_requestPaint:f,unstable_continueExecution:function(){v||H||(v=!0,z(U))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(p)},get unstable_now(){return q},get unstable_forceFrameRate(){return X},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,\nunstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Qa},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}});d.Children={map:function(a,b,c){if(null==a)return a;var d=[];R(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);Q(a,ya,b);ka(b)},count:function(a){return Q(a,function(){return null},null)},\ntoArray:function(a){var b=[];R(a,b,null,function(a){return a});return b},only:function(a){if(!N(a))throw Error(r(143));return a}};d.Component=w;d.Fragment=Aa;d.Profiler=Ca;d.PureComponent=L;d.StrictMode=Ba;d.Suspense=Ga;d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B;d.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(r(267,a));var d=I({},a.props),e=a.key,f=a.ref,m=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,m=M.current);void 0!==b.key&&(e=\"\"+b.key);if(a.type&&a.type.defaultProps)var h=\na.type.defaultProps;for(k in b)ha.call(b,k)&&!ia.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k);for(var l=0;l<k;l++)h[l]=arguments[l+2];d.children=h}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:m}};d.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:Ea,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Da,_context:a};return a.Consumer=\na};d.createElement=ea;d.createFactory=function(a){var b=ea.bind(null,a);b.type=a;return b};d.createRef=function(){return{current:null}};d.forwardRef=function(a){return{$$typeof:Fa,render:a}};d.isValidElement=N;d.lazy=function(a){return{$$typeof:Ia,_ctor:a,_status:-1,_result:null}};d.memo=function(a,b){return{$$typeof:Ha,type:a,compare:void 0===b?null:b}};d.useCallback=function(a,b){return t().useCallback(a,b)};d.useContext=function(a,b){return t().useContext(a,b)};d.useDebugValue=function(a,b){};\nd.useEffect=function(a,b){return t().useEffect(a,b)};d.useImperativeHandle=function(a,b,c){return t().useImperativeHandle(a,b,c)};d.useLayoutEffect=function(a,b){return t().useLayoutEffect(a,b)};d.useMemo=function(a,b){return t().useMemo(a,b)};d.useReducer=function(a,b,c){return t().useReducer(a,b,c)};d.useRef=function(a){return t().useRef(a)};d.useState=function(a){return t().useState(a)};d.version=\"16.14.0\"});\n"}
  </script>
  <script>
    // react-dom/umd/react-dom.production.min.js
    ${"/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';(function(I,ea){\"object\"===typeof exports&&\"undefined\"!==typeof module?ea(exports,require(\"react\")):\"function\"===typeof define&&define.amd?define([\"exports\",\"react\"],ea):(I=I||self,ea(I.ReactDOM={},I.React))})(this,function(I,ea){function k(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction ji(a,b,c,d,e,f,g,h,m){yb=!1;gc=null;ki.apply(li,arguments)}function mi(a,b,c,d,e,f,g,h,m){ji.apply(this,arguments);if(yb){if(yb){var n=gc;yb=!1;gc=null}else throw Error(k(198));hc||(hc=!0,pd=n)}}function lf(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=mf(c);mi(d,b,void 0,a);a.currentTarget=null}function nf(){if(ic)for(var a in cb){var b=cb[a],c=ic.indexOf(a);if(!(-1<c))throw Error(k(96,a));if(!jc[c]){if(!b.extractEvents)throw Error(k(97,a));jc[c]=b;c=b.eventTypes;for(var d in c){var e=\nvoid 0;var f=c[d],g=b,h=d;if(qd.hasOwnProperty(h))throw Error(k(99,h));qd[h]=f;var m=f.phasedRegistrationNames;if(m){for(e in m)m.hasOwnProperty(e)&&of(m[e],g,h);e=!0}else f.registrationName?(of(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(k(98,d,a));}}}}function of(a,b,c){if(db[a])throw Error(k(100,a));db[a]=b;rd[a]=b.eventTypes[c].dependencies}function pf(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!cb.hasOwnProperty(c)||cb[c]!==d){if(cb[c])throw Error(k(102,c));cb[c]=\nd;b=!0}}b&&nf()}function qf(a){if(a=rf(a)){if(\"function\"!==typeof sd)throw Error(k(280));var b=a.stateNode;b&&(b=td(b),sd(a.stateNode,a.type,b))}}function sf(a){eb?fb?fb.push(a):fb=[a]:eb=a}function tf(){if(eb){var a=eb,b=fb;fb=eb=null;qf(a);if(b)for(a=0;a<b.length;a++)qf(b[a])}}function ud(){if(null!==eb||null!==fb)vd(),tf()}function uf(a,b,c){if(wd)return a(b,c);wd=!0;try{return vf(a,b,c)}finally{wd=!1,ud()}}function ni(a){if(wf.call(xf,a))return!0;if(wf.call(yf,a))return!1;if(oi.test(a))return xf[a]=\n!0;yf[a]=!0;return!1}function pi(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}function qi(a,b,c,d){if(null===b||\"undefined\"===typeof b||pi(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function L(a,\nb,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}function xd(a,b,c,d){var e=E.hasOwnProperty(b)?E[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(qi(b,c,e,d)&&(c=null),d||null===e?ni(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,\nd=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function zb(a){if(null===a||\"object\"!==typeof a)return null;a=zf&&a[zf]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function ri(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}function na(a){if(null==a)return null;\nif(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case Ma:return\"Fragment\";case gb:return\"Portal\";case kc:return\"Profiler\";case Af:return\"StrictMode\";case lc:return\"Suspense\";case yd:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Bf:return\"Context.Consumer\";case Cf:return\"Context.Provider\";case zd:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\"ForwardRef\");case Ad:return na(a.type);\ncase Df:return na(a.render);case Ef:if(a=1===a._status?a._result:null)return na(a)}return null}function Bd(a){var b=\"\";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c=\"\";break a;default:var d=a._debugOwner,e=a._debugSource,f=na(a.type);c=null;d&&(c=na(d.type));d=f;f=\"\";e?f=\" (at \"+e.fileName.replace(si,\"\")+\":\"+e.lineNumber+\")\":c&&(f=\" (created by \"+c+\")\");c=\"\\n    in \"+(d||\"Unknown\")+f}b+=c;a=a.return}while(a);return b}function va(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;\ndefault:return\"\"}}function Ff(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}function ti(a){var b=Ff(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,\nb,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function mc(a){a._valueTracker||(a._valueTracker=ti(a))}function Gf(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ff(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Cd(a,b){var c=b.checked;return M({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=\nc?c:a._wrapperState.initialChecked})}function Hf(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=va(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function If(a,b){b=b.checked;null!=b&&xd(a,\"checked\",b,!1)}function Dd(a,b){If(a,b);var c=va(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\n\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?Ed(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&Ed(a,b.type,va(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function Jf(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=\nb);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}function Ed(a,b,c){if(\"number\"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function ui(a){var b=\"\";ea.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Fd(a,b){a=M({children:void 0},b);if(b=ui(b.children))a.children=b;return a}function hb(a,b,c,d){a=a.options;if(b){b={};\nfor(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+va(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Gd(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(k(91));return M({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}\nfunction Kf(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(k(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(k(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:va(c)}}function Lf(a,b){var c=va(b.value),d=va(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Mf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==\nb&&null!==b&&(a.value=b)}function Nf(a){switch(a){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 Hd(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nf(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}function nc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}function oc(a){if(Id[a])return Id[a];\nif(!ib[a])return a;var b=ib[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Of)return Id[a]=b[c];return a}function Jd(a){var b=Pf.get(a);void 0===b&&(b=new Map,Pf.set(a,b));return b}function Na(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Qf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Rf(a){if(Na(a)!==\na)throw Error(k(188));}function vi(a){var b=a.alternate;if(!b){b=Na(a);if(null===b)throw Error(k(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Rf(e),a;if(f===d)return Rf(e),b;f=f.sibling}throw Error(k(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=\nf.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(k(189));}}if(c.alternate!==d)throw Error(k(190));}if(3!==c.tag)throw Error(k(188));return c.stateNode.current===c?a:b}function Sf(a){a=vi(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function jb(a,b){if(null==\nb)throw Error(k(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Kd(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function pc(a){null!==a&&(Ab=jb(Ab,a));a=Ab;Ab=null;if(a){Kd(a,wi);if(Ab)throw Error(k(95));if(hc)throw a=pd,hc=!1,pd=null,a;}}function Ld(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:\na}function Tf(a){if(!wa)return!1;a=\"on\"+a;var b=a in document;b||(b=document.createElement(\"div\"),b.setAttribute(a,\"return;\"),b=\"function\"===typeof b[a]);return b}function Uf(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>qc.length&&qc.push(a)}function Vf(a,b,c,d){if(qc.length){var e=qc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}function Wf(a){var b=\na.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Bb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Ld(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,m=0;m<jc.length;m++){var n=jc[m];n&&(n=n.extractEvents(d,b,f,e,g))&&(h=jb(h,n))}pc(h)}}function Md(a,\nb,c){if(!c.has(a)){switch(a){case \"scroll\":Cb(b,\"scroll\",!0);break;case \"focus\":case \"blur\":Cb(b,\"focus\",!0);Cb(b,\"blur\",!0);c.set(\"blur\",null);c.set(\"focus\",null);break;case \"cancel\":case \"close\":Tf(a)&&Cb(b,a,!0);break;case \"invalid\":case \"submit\":case \"reset\":break;default:-1===Db.indexOf(a)&&w(a,b)}c.set(a,null)}}function xi(a,b){var c=Jd(b);Nd.forEach(function(a){Md(a,b,c)});yi.forEach(function(a){Md(a,b,c)})}function Od(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,\ncontainer:d}}function Xf(a,b){switch(a){case \"focus\":case \"blur\":xa=null;break;case \"dragenter\":case \"dragleave\":ya=null;break;case \"mouseover\":case \"mouseout\":za=null;break;case \"pointerover\":case \"pointerout\":Eb.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Fb.delete(b.pointerId)}}function Gb(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Od(b,c,d,e,f),null!==b&&(b=Hb(b),null!==b&&Yf(b)),a;a.eventSystemFlags|=d;return a}function zi(a,b,c,d,e){switch(b){case \"focus\":return xa=\nGb(xa,a,b,c,d,e),!0;case \"dragenter\":return ya=Gb(ya,a,b,c,d,e),!0;case \"mouseover\":return za=Gb(za,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Eb.set(f,Gb(Eb.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Fb.set(f,Gb(Fb.get(f)||null,a,b,c,d,e)),!0}return!1}function Ai(a){var b=Bb(a.target);if(null!==b){var c=Na(b);if(null!==c)if(b=c.tag,13===b){if(b=Qf(c),null!==b){a.blockedOn=b;Pd(a.priority,function(){Bi(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=\n3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function rc(a){if(null!==a.blockedOn)return!1;var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Hb(b);null!==c&&Yf(c);a.blockedOn=b;return!1}return!0}function Zf(a,b,c){rc(a)&&c.delete(b)}function Ci(){for(Rd=!1;0<fa.length;){var a=fa[0];if(null!==a.blockedOn){a=Hb(a.blockedOn);null!==a&&Di(a);break}var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:fa.shift()}null!==\nxa&&rc(xa)&&(xa=null);null!==ya&&rc(ya)&&(ya=null);null!==za&&rc(za)&&(za=null);Eb.forEach(Zf);Fb.forEach(Zf)}function Ib(a,b){a.blockedOn===b&&(a.blockedOn=null,Rd||(Rd=!0,$f(ag,Ci)))}function bg(a){if(0<fa.length){Ib(fa[0],a);for(var b=1;b<fa.length;b++){var c=fa[b];c.blockedOn===a&&(c.blockedOn=null)}}null!==xa&&Ib(xa,a);null!==ya&&Ib(ya,a);null!==za&&Ib(za,a);b=function(b){return Ib(b,a)};Eb.forEach(b);Fb.forEach(b);for(b=0;b<Jb.length;b++)c=Jb[b],c.blockedOn===a&&(c.blockedOn=null);for(;0<Jb.length&&\n(b=Jb[0],null===b.blockedOn);)Ai(b),null===b.blockedOn&&Jb.shift()}function Sd(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f=\"on\"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+\"Capture\"},dependencies:[d],eventPriority:b};Td.set(d,b);cg.set(d,f);dg[e]=f}}function w(a,b){Cb(b,a,!1)}function Cb(a,b,c){var d=Td.get(b);switch(void 0===d?2:d){case 0:d=Ei.bind(null,b,1,a);break;case 1:d=Fi.bind(null,b,1,a);break;default:d=sc.bind(null,b,1,a)}c?a.addEventListener(b,\nd,!0):a.addEventListener(b,d,!1)}function Ei(a,b,c,d){Oa||vd();var e=sc,f=Oa;Oa=!0;try{eg(e,a,b,c,d)}finally{(Oa=f)||ud()}}function Fi(a,b,c,d){Gi(Hi,sc.bind(null,a,b,c,d))}function sc(a,b,c,d){if(tc)if(0<fa.length&&-1<Nd.indexOf(a))a=Od(null,a,b,c,d),fa.push(a);else{var e=Qd(a,b,c,d);if(null===e)Xf(a,d);else if(-1<Nd.indexOf(a))a=Od(e,a,b,c,d),fa.push(a);else if(!zi(e,a,b,c,d)){Xf(a,d);a=Vf(a,d,null,b);try{uf(Wf,a)}finally{Uf(a)}}}}function Qd(a,b,c,d){c=Ld(d);c=Bb(c);if(null!==c){var e=Na(c);if(null===\ne)c=null;else{var f=e.tag;if(13===f){c=Qf(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=Vf(a,d,c,b);try{uf(Wf,a)}finally{Uf(a)}return null}function fg(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||Kb.hasOwnProperty(a)&&Kb[a]?(\"\"+b).trim():b+\"px\"}function gg(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=fg(c,b[c],d);\"float\"===\nc&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}function Ud(a,b){if(b){if(Ii[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(k(137,a,\"\"));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(k(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(k(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(k(62,\"\"));}}function Vd(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){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;\ndefault:return!0}}function oa(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Jd(a);b=rd[b];for(var d=0;d<b.length;d++)Md(b[d],a,c)}function uc(){}function Wd(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function hg(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function ig(a,b){var c=hg(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,\noffset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=hg(c)}}function jg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?jg(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function kg(){for(var a=window,b=Wd();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Wd(a.document)}return b}\nfunction Xd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}function lg(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}function Yd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&\nnull!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function kb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function mg(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ng||c===Zd||c===$d){if(0===b)return a;b--}else c===og&&b++}a=a.previousSibling}return null}function Bb(a){var b=a[Aa];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Lb]||c[Aa]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=mg(a);null!==\na;){if(c=a[Aa])return c;a=mg(a)}return b}a=c;c=a.parentNode}return null}function Hb(a){a=a[Aa]||a[Lb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pa(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(k(33));}function ae(a){return a[vc]||null}function pa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function pg(a,b){var c=a.stateNode;if(!c)return null;var d=td(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=\n!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(k(231,b,typeof c));return c}function qg(a,b,c){if(b=pg(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a)}function Ji(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=pa(b);for(b=c.length;0<b--;)qg(c[b],\n\"captured\",a);for(b=0;b<c.length;b++)qg(c[b],\"bubbled\",a)}}function be(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=pg(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a))}function Ki(a){a&&a.dispatchConfig.registrationName&&be(a._targetInst,null,a)}function lb(a){Kd(a,Ji)}function rg(){if(wc)return wc;var a,b=ce,c=b.length,d,e=\"value\"in Ba?Ba.value:Ba.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=\nc-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return wc=e.slice(a,1<d?1-d:void 0)}function xc(){return!0}function yc(){return!1}function R(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):\"target\"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?xc:yc;this.isPropagationStopped=yc;return this}function Li(a,b,c,d){if(this.eventPool.length){var e=\nthis.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}function Mi(a){if(!(a instanceof this))throw Error(k(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function sg(a){a.eventPool=[];a.getPooled=Li;a.release=Mi}function tg(a,b){switch(a){case \"keyup\":return-1!==Ni.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function ug(a){a=a.detail;return\"object\"===typeof a&&\"data\"in\na?a.data:null}function Oi(a,b){switch(a){case \"compositionend\":return ug(b);case \"keypress\":if(32!==b.which)return null;vg=!0;return wg;case \"textInput\":return a=b.data,a===wg&&vg?null:a;default:return null}}function Pi(a,b){if(mb)return\"compositionend\"===a||!de&&tg(a,b)?(a=rg(),wc=ce=Ba=null,mb=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;\ncase \"compositionend\":return xg&&\"ko\"!==b.locale?null:b.data;default:return null}}function yg(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!Qi[a.type]:\"textarea\"===b?!0:!1}function zg(a,b,c){a=R.getPooled(Ag.change,a,b,c);a.type=\"change\";sf(c);lb(a);return a}function Ri(a){pc(a)}function zc(a){var b=Pa(a);if(Gf(b))return a}function Si(a,b){if(\"change\"===a)return b}function Bg(){Mb&&(Mb.detachEvent(\"onpropertychange\",Cg),Nb=Mb=null)}function Cg(a){if(\"value\"===a.propertyName&&\nzc(Nb))if(a=zg(Nb,a,Ld(a)),Oa)pc(a);else{Oa=!0;try{ee(Ri,a)}finally{Oa=!1,ud()}}}function Ti(a,b,c){\"focus\"===a?(Bg(),Mb=b,Nb=c,Mb.attachEvent(\"onpropertychange\",Cg)):\"blur\"===a&&Bg()}function Ui(a,b){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return zc(Nb)}function Vi(a,b){if(\"click\"===a)return zc(b)}function Wi(a,b){if(\"input\"===a||\"change\"===a)return zc(b)}function Xi(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Yi[a])?!!b[a]:!1}function fe(a){return Xi}\nfunction Zi(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function Ob(a,b){if(Qa(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!$i.call(b,c[d])||!Qa(a[c[d]],b[c[d]]))return!1;return!0}function Dg(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ge||null==nb||nb!==Wd(c))return null;c=nb;\"selectionStart\"in c&&Xd(c)?c={start:c.selectionStart,\nend:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return Pb&&Ob(Pb,c)?null:(Pb=c,a=R.getPooled(Eg.select,he,a,b),a.type=\"select\",a.target=nb,lb(a),a)}function Ac(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function q(a,b){0>ob||(a.current=ie[ob],ie[ob]=null,ob--)}function y(a,b,c){ob++;\nie[ob]=a.current;a.current=b}function pb(a,b){var c=a.type.contextTypes;if(!c)return Ca;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function N(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Fg(a,b,c){if(B.current!==Ca)throw Error(k(168));y(B,b);y(G,c)}\nfunction Gg(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(k(108,na(b)||\"Unknown\",e));return M({},c,{},d)}function Bc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ca;Ra=B.current;y(B,a);y(G,G.current);return!0}function Hg(a,b,c){var d=a.stateNode;if(!d)throw Error(k(169));c?(a=Gg(a,b,Ra),d.__reactInternalMemoizedMergedChildContext=a,q(G),q(B),y(B,a)):q(G);y(G,c)}function Cc(){switch(aj()){case Dc:return 99;\ncase Ig:return 98;case Jg:return 97;case Kg:return 96;case Lg:return 95;default:throw Error(k(332));}}function Mg(a){switch(a){case 99:return Dc;case 98:return Ig;case 97:return Jg;case 96:return Kg;case 95:return Lg;default:throw Error(k(332));}}function Da(a,b){a=Mg(a);return bj(a,b)}function Ng(a,b,c){a=Mg(a);return je(a,b,c)}function Og(a){null===qa?(qa=[a],Ec=je(Dc,Pg)):qa.push(a);return Qg}function ha(){if(null!==Ec){var a=Ec;Ec=null;Rg(a)}Pg()}function Pg(){if(!ke&&null!==qa){ke=!0;var a=0;\ntry{var b=qa;Da(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});qa=null}catch(c){throw null!==qa&&(qa=qa.slice(a+1)),je(Dc,ha),c;}finally{ke=!1}}}function Fc(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function aa(a,b){if(a&&a.defaultProps){b=M({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function le(){Gc=qb=Hc=null}function me(a){var b=Ic.current;q(Ic);a.type._context._currentValue=b}function Sg(a,b){for(;null!==a;){var c=\na.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}function rb(a,b){Hc=a;Gc=qb=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(ia=!0),a.firstContext=null)}function W(a,b){if(Gc!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)Gc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===qb){if(null===\nHc)throw Error(k(308));qb=b;Hc.dependencies={expirationTime:0,firstContext:b,responders:null}}else qb=qb.next=b}return a._currentValue}function ne(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oe(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function Ea(a,b){a={expirationTime:a,suspenseConfig:b,tag:Tg,payload:null,callback:null,next:null};return a.next=\na}function Fa(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function Ug(a,b){var c=a.alternate;null!==c&&oe(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}function Qb(a,b,c,d){var e=a.updateQueue;Ga=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&\n(h.baseQueue=g))}if(null!==f){h=f.next;var m=e.baseState,n=0,k=null,ba=null,l=null;if(null!==h){var p=h;do{g=p.expirationTime;if(g<d){var t={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===l?(ba=l=t,k=m):l=l.next=t;g>n&&(n=g)}else{null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null});Vg(g,p.suspenseConfig);a:{var q=a,r=p;g=b;t=c;switch(r.tag){case 1:q=\nr.payload;if(\"function\"===typeof q){m=q.call(t,m,g);break a}m=q;break a;case 3:q.effectTag=q.effectTag&-4097|64;case Tg:q=r.payload;g=\"function\"===typeof q?q.call(t,m,g):q;if(null===g||void 0===g)break a;m=M({},m,g);break a;case Jc:Ga=!0}}null!==p.callback&&(a.effectTag|=32,g=e.effects,null===g?e.effects=[p]:g.push(p))}p=p.next;if(null===p||p===h)if(g=e.shared.pending,null===g)break;else p=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===l?k=m:l.next=ba;e.baseState=k;e.baseQueue=\nl;Kc(n);a.expirationTime=n;a.memoizedState=m}}function Wg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if(\"function\"!==typeof d)throw Error(k(191,d));d.call(e)}}}function Lc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:M({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}function Xg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,\nf,g):b.prototype&&b.prototype.isPureReactComponent?!Ob(c,d)||!Ob(e,f):!0}function Yg(a,b,c){var d=!1,e=Ca;var f=b.contextType;\"object\"===typeof f&&null!==f?f=W(f):(e=N(b)?Ra:B.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?pb(a,e):Ca);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Mc;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}function Zg(a,\nb,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Mc.enqueueReplaceState(b,b.state,null)}function pe(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=$g;ne(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=W(f):(f=N(b)?Ra:B.current,e.context=pb(a,f));Qb(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\n\"function\"===typeof f&&(Lc(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Mc.enqueueReplaceState(e,e.state,null),Qb(a,c,e,d),e.state=a.memoizedState);\"function\"===\ntypeof e.componentDidMount&&(a.effectTag|=4)}function Rb(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(k(309));var d=c.stateNode}if(!d)throw Error(k(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===$g&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(k(284));if(!c._owner)throw Error(k(290,\na));}return a}function Nc(a,b){if(\"textarea\"!==a.type)throw Error(k(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b,\"\"));}function ah(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,\nb),b=b.sibling;return a}function e(a,b){a=Sa(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=qe(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function m(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Rb(a,b,c),d.return=a,d;d=Oc(c.type,\nc.key,c.props,null,a.mode,d);d.ref=Rb(a,b,c);d.return=a;return d}function n(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=re(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function l(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ha(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function ba(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=qe(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===\ntypeof b&&null!==b){switch(b.$$typeof){case Pc:return c=Oc(b.type,b.key,b.props,null,a.mode,c),c.ref=Rb(a,null,b),c.return=a,c;case gb:return b=re(b,a.mode,c),b.return=a,b}if(Qc(b)||zb(b))return b=Ha(b,a.mode,c,null),b.return=a,b;Nc(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case Pc:return c.key===e?c.type===Ma?l(a,b,c.props.children,d,e):m(a,b,c,\nd):null;case gb:return c.key===e?n(a,b,c,d):null}if(Qc(c)||zb(c))return null!==e?null:l(a,b,c,d,null);Nc(a,c)}return null}function t(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=a.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case Pc:return a=a.get(null===d.key?c:d.key)||null,d.type===Ma?l(b,a,d.props.children,e,d.key):m(b,a,d,e);case gb:return a=a.get(null===d.key?c:d.key)||null,n(b,a,d,e)}if(Qc(d)||zb(d))return a=a.get(c)||null,l(b,a,d,e,null);\nNc(b,d)}return null}function q(e,g,h,m){for(var n=null,k=null,l=g,r=g=0,C=null;null!==l&&r<h.length;r++){l.index>r?(C=l,l=null):C=l.sibling;var O=p(e,l,h[r],m);if(null===O){null===l&&(l=C);break}a&&l&&null===O.alternate&&b(e,l);g=f(O,g,r);null===k?n=O:k.sibling=O;k=O;l=C}if(r===h.length)return c(e,l),n;if(null===l){for(;r<h.length;r++)l=ba(e,h[r],m),null!==l&&(g=f(l,g,r),null===k?n=l:k.sibling=l,k=l);return n}for(l=d(e,l);r<h.length;r++)C=t(l,e,r,h[r],m),null!==C&&(a&&null!==C.alternate&&l.delete(null===\nC.key?r:C.key),g=f(C,g,r),null===k?n=C:k.sibling=C,k=C);a&&l.forEach(function(a){return b(e,a)});return n}function w(e,g,h,n){var m=zb(h);if(\"function\"!==typeof m)throw Error(k(150));h=m.call(h);if(null==h)throw Error(k(151));for(var l=m=null,r=g,C=g=0,O=null,v=h.next();null!==r&&!v.done;C++,v=h.next()){r.index>C?(O=r,r=null):O=r.sibling;var q=p(e,r,v.value,n);if(null===q){null===r&&(r=O);break}a&&r&&null===q.alternate&&b(e,r);g=f(q,g,C);null===l?m=q:l.sibling=q;l=q;r=O}if(v.done)return c(e,r),m;\nif(null===r){for(;!v.done;C++,v=h.next())v=ba(e,v.value,n),null!==v&&(g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);return m}for(r=d(e,r);!v.done;C++,v=h.next())v=t(r,e,C,v.value,n),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?C:v.key),g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);a&&r.forEach(function(a){return b(e,a)});return m}return function(a,d,f,h){var m=\"object\"===typeof f&&null!==f&&f.type===Ma&&null===f.key;m&&(f=f.props.children);var n=\"object\"===typeof f&&null!==f;if(n)switch(f.$$typeof){case Pc:a:{n=\nf.key;for(m=d;null!==m;){if(m.key===n){switch(m.tag){case 7:if(f.type===Ma){c(a,m.sibling);d=e(m,f.props.children);d.return=a;a=d;break a}break;default:if(m.elementType===f.type){c(a,m.sibling);d=e(m,f.props);d.ref=Rb(a,m,f);d.return=a;a=d;break a}}c(a,m);break}else b(a,m);m=m.sibling}f.type===Ma?(d=Ha(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Oc(f.type,f.key,f.props,null,a.mode,h),h.ref=Rb(a,d,f),h.return=a,a=h)}return g(a);case gb:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo===\nf.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=re(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=qe(f,a.mode,h),d.return=a,a=d),g(a);if(Qc(f))return q(a,d,f,h);if(zb(f))return w(a,d,f,h);n&&Nc(a,f);if(\"undefined\"===typeof f&&!m)switch(a.tag){case 1:case 0:throw a=\na.type,Error(k(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}function Ta(a){if(a===Sb)throw Error(k(174));return a}function se(a,b){y(Tb,b);y(Ub,a);y(ja,Sb);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Hd(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Hd(b,a)}q(ja);y(ja,b)}function tb(a){q(ja);q(Ub);q(Tb)}function bh(a){Ta(Tb.current);var b=Ta(ja.current);var c=Hd(b,a.type);b!==c&&(y(Ub,a),y(ja,c))}function te(a){Ub.current===\na&&(q(ja),q(Ub))}function Rc(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===$d||c.data===Zd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ue(a,b){return{responder:a,props:b}}\nfunction S(){throw Error(k(321));}function ve(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!Qa(a[c],b[c]))return!1;return!0}function we(a,b,c,d,e,f){Ia=f;z=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;Sc.current=null===a||null===a.memoizedState?dj:ej;a=c(d,e);if(b.expirationTime===Ia){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(k(301));f+=1;J=K=null;b.updateQueue=null;Sc.current=fj;a=c(d,e)}while(b.expirationTime===Ia)}Sc.current=Tc;b=null!==K&&null!==K.next;\nIa=0;J=K=z=null;Uc=!1;if(b)throw Error(k(300));return a}function ub(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===J?z.memoizedState=J=a:J=J.next=a;return J}function vb(){if(null===K){var a=z.alternate;a=null!==a?a.memoizedState:null}else a=K.next;var b=null===J?z.memoizedState:J.next;if(null!==b)J=b,K=a;else{if(null===a)throw Error(k(310));K=a;a={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null};null===J?z.memoizedState=\nJ=a:J=J.next=a}return J}function Ua(a,b){return\"function\"===typeof b?b(a):b}function Vc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=K,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,m=e;do{var n=m.expirationTime;if(n<Ia){var l={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,\nnext:null};null===h?(g=h=l,f=d):h=h.next=l;n>z.expirationTime&&(z.expirationTime=n,Kc(n))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null}),Vg(n,m.suspenseConfig),d=m.eagerReducer===a?m.eagerState:a(d,m.action);m=m.next}while(null!==m&&m!==e);null===h?f=d:h.next=g;Qa(d,b.memoizedState)||(ia=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,\nc.dispatch]}function Wc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);Qa(f,b.memoizedState)||(ia=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function xe(a){var b=ub();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Ua,\nlastRenderedState:a};a=a.dispatch=ch.bind(null,z,a);return[b.memoizedState,a]}function ye(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=z.updateQueue;null===b?(b={lastEffect:null},z.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function dh(a){return vb().memoizedState}function ze(a,b,c,d){var e=ub();z.effectTag|=a;e.memoizedState=ye(1|b,c,void 0,void 0===d?null:d)}function Ae(a,b,c,d){var e=vb();\nd=void 0===d?null:d;var f=void 0;if(null!==K){var g=K.memoizedState;f=g.destroy;if(null!==d&&ve(d,g.deps)){ye(b,c,f,d);return}}z.effectTag|=a;e.memoizedState=ye(1|b,c,f,d)}function eh(a,b){return ze(516,4,a,b)}function Xc(a,b){return Ae(516,4,a,b)}function fh(a,b){return Ae(4,2,a,b)}function gh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function hh(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;\nreturn Ae(4,2,gh.bind(null,b,a),c)}function Be(a,b){}function ih(a,b){ub().memoizedState=[a,void 0===b?null:b];return a}function Yc(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function jh(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Ce(a,b,c){var d=Cc();Da(98>d?98:d,function(){a(!0)});Da(97<d?97:d,function(){var d=\nX.suspense;X.suspense=void 0===b?null:b;try{a(!1),c()}finally{X.suspense=d}})}function ch(a,b,c){var d=ka(),e=Vb.suspense;d=Va(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===z||null!==f&&f===z)Uc=!0,e.expirationTime=Ia,z.expirationTime=Ia;else{if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,\nh=f(g,c);e.eagerReducer=f;e.eagerState=h;if(Qa(h,g))return}catch(m){}finally{}Ja(a,d)}}function kh(a,b){var c=la(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function lh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?\nnull:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function De(a){if(Wa){var b=Ka;if(b){var c=b;if(!lh(a,b)){b=kb(c.nextSibling);if(!b||!lh(a,b)){a.effectTag=a.effectTag&-1025|2;Wa=!1;ra=a;return}kh(ra,c)}ra=a;Ka=kb(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Wa=!1,ra=a}}function mh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ra=a}function Zc(a){if(a!==ra)return!1;if(!Wa)return mh(a),Wa=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==\nb&&!Yd(b,a.memoizedProps))for(b=Ka;b;)kh(a,b),b=kb(b.nextSibling);mh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(k(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===og){if(0===b){Ka=kb(a.nextSibling);break a}b--}else c!==ng&&c!==Zd&&c!==$d||b++}a=a.nextSibling}Ka=null}}else Ka=ra?kb(a.stateNode.nextSibling):null;return!0}function Ee(){Ka=ra=null;Wa=!1}function T(a,b,c,d){b.child=null===a?Fe(b,null,c,d):wb(b,a.child,c,d)}function nh(a,\nb,c,d,e){c=c.render;var f=b.ref;rb(b,e);d=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,d,e);return b.child}function oh(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!Ge(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ph(a,b,g,d,e,f);a=Oc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<\nf&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Ob,c(e,d)&&a.ref===b.ref))return sa(a,b,f);b.effectTag|=1;a=Sa(g,d);a.ref=b.ref;a.return=b;return b.child=a}function ph(a,b,c,d,e,f){return null!==a&&Ob(a.memoizedProps,d)&&a.ref===b.ref&&(ia=!1,e<f)?(b.expirationTime=a.expirationTime,sa(a,b,f)):He(a,b,c,d,f)}function qh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function He(a,b,c,d,e){var f=N(c)?Ra:B.current;f=pb(b,f);rb(b,e);c=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=\na.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,c,e);return b.child}function rh(a,b,c,d,e){if(N(c)){var f=!0;Bc(b)}else f=!1;rb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Yg(b,c,d),pe(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var m=g.context,n=c.contextType;\"object\"===typeof n&&null!==n?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n));var l=c.getDerivedStateFromProps,k=\"function\"===\ntypeof l||\"function\"===typeof g.getSnapshotBeforeUpdate;k||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n);Ga=!1;var p=b.memoizedState;g.state=p;Qb(b,d,g,e);m=b.memoizedState;h!==d||p!==m||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),m=b.memoizedState),(h=Ga||Xg(b,c,h,d,p,m,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&\ng.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===typeof g.componentDidMount&&(b.effectTag|=4)):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=m),g.props=d,g.state=m,g.context=n,d=h):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,oe(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:aa(b.type,h),m=g.context,n=c.contextType,\"object\"===typeof n&&null!==\nn?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n)),l=c.getDerivedStateFromProps,(k=\"function\"===typeof l||\"function\"===typeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n),Ga=!1,m=b.memoizedState,g.state=m,Qb(b,d,g,e),p=b.memoizedState,h!==d||m!==p||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),p=b.memoizedState),(l=Ga||Xg(b,c,h,d,m,p,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\n\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,n),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,n)),\"function\"===typeof g.componentDidUpdate&&(b.effectTag|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===\na.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=n,d=l):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=256),d=!1);return Ie(a,b,c,d,f,e)}function Ie(a,b,c,d,e,f){qh(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hg(b,c,!1),sa(a,b,f);d=b.stateNode;gj.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?\nnull:d.render();b.effectTag|=1;null!==a&&g?(b.child=wb(b,a.child,null,f),b.child=wb(b,null,h,f)):T(a,b,h,f);b.memoizedState=d.state;e&&Hg(b,c,!0);return b.child}function sh(a){var b=a.stateNode;b.pendingContext?Fg(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Fg(a,b.context,!1);se(a,b.containerInfo)}function th(a,b,c){var d=b.mode,e=b.pendingProps,f=D.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===\na.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);y(D,f&1);if(null===a){void 0!==e.fallback&&De(b);if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;b.memoizedState=Je;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Fe(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;\nc=Sa(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sa(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=Je;b.child=c;return d}c=wb(b,a.child,e.children,c);b.memoizedState=null;return b.child=c}a=a.child;if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==\na;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=Je;b.child=e;return c}b.memoizedState=null;return b.child=wb(b,a,e.children,c)}function uh(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);Sg(a.return,b)}function Ke(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,\nlastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}function vh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;T(a,b,d.children,c);d=D.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&uh(a,c);else if(19===a.tag)uh(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===\na.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}y(D,d);if(0===(b.mode&2))b.memoizedState=null;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Rc(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ke(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Rc(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ke(b,\n!0,c,null,f,b.lastEffect);break;case \"together\":Ke(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}function sa(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Kc(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(k(153));if(null!==b.child){a=b.child;c=Sa(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sa(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}\nfunction $c(a,b){switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}function hj(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return N(b.type)&&(q(G),q(B)),\nnull;case 3:return tb(),q(G),q(B),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Zc(b)||(b.effectTag|=4),wh(b),null;case 5:te(b);c=Ta(Tb.current);var e=b.type;if(null!==a&&null!=b.stateNode)ij(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(k(166));return null}a=Ta(ja.current);if(Zc(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Aa]=b;d[vc]=f;switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",\nd);break;case \"video\":case \"audio\":for(a=0;a<Db.length;a++)w(Db[a],d);break;case \"source\":w(\"error\",d);break;case \"img\":case \"image\":case \"link\":w(\"error\",d);w(\"load\",d);break;case \"form\":w(\"reset\",d);w(\"submit\",d);break;case \"details\":w(\"toggle\",d);break;case \"input\":Hf(d,f);w(\"invalid\",d);oa(c,\"onChange\");break;case \"select\":d._wrapperState={wasMultiple:!!f.multiple};w(\"invalid\",d);oa(c,\"onChange\");break;case \"textarea\":Kf(d,f),w(\"invalid\",d),oa(c,\"onChange\")}Ud(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=\nf[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(a=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(a=[\"children\",\"\"+h]):db.hasOwnProperty(g)&&null!=h&&oa(c,g)}switch(e){case \"input\":mc(d);Jf(d,f,!0);break;case \"textarea\":mc(d);Mf(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&(d.onclick=uc)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;\"http://www.w3.org/1999/xhtml\"===a&&(a=Nf(e));\"http://www.w3.org/1999/xhtml\"===\na?\"script\"===e?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Aa]=b;a[vc]=d;jj(a,b,!1,!1);b.stateNode=a;g=Vd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",a);h=d;break;case \"video\":case \"audio\":for(h=0;h<Db.length;h++)w(Db[h],a);h=d;break;case \"source\":w(\"error\",a);\nh=d;break;case \"img\":case \"image\":case \"link\":w(\"error\",a);w(\"load\",a);h=d;break;case \"form\":w(\"reset\",a);w(\"submit\",a);h=d;break;case \"details\":w(\"toggle\",a);h=d;break;case \"input\":Hf(a,d);h=Cd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;case \"option\":h=Fd(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};h=M({},d,{value:void 0});w(\"invalid\",a);oa(c,\"onChange\");break;case \"textarea\":Kf(a,d);h=Gd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;default:h=d}Ud(e,h);var m=h;for(f in m)if(m.hasOwnProperty(f)){var n=\nm[f];\"style\"===f?gg(a,n):\"dangerouslySetInnerHTML\"===f?(n=n?n.__html:void 0,null!=n&&xh(a,n)):\"children\"===f?\"string\"===typeof n?(\"textarea\"!==e||\"\"!==n)&&Wb(a,n):\"number\"===typeof n&&Wb(a,\"\"+n):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(db.hasOwnProperty(f)?null!=n&&oa(c,f):null!=n&&xd(a,f,n,g))}switch(e){case \"input\":mc(a);Jf(a,d,!1);break;case \"textarea\":mc(a);Mf(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+va(d.value));break;case \"select\":a.multiple=\n!!d.multiple;c=d.value;null!=c?hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&hb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof h.onClick&&(a.onclick=uc)}lg(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)kj(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(k(166));c=Ta(Tb.current);Ta(ja.current);Zc(b)?(c=b.stateNode,d=b.memoizedProps,c[Aa]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?\nc:c.ownerDocument).createTextNode(d),c[Aa]=b,b.stateNode=c)}return null;case 13:q(D);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Zc(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=e,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||\n0!==(D.current&1))F===Xa&&(F=ad);else{if(F===Xa||F===ad)F=bd;0!==Xb&&null!==U&&(Ya(U,P),yh(U,Xb))}if(c||d)b.effectTag|=4;return null;case 4:return tb(),wh(b),null;case 10:return me(b),null;case 17:return N(b.type)&&(q(G),q(B)),null;case 19:q(D);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)$c(d,!1);else{if(F!==Xa||null!==a&&0!==(a.effectTag&64))for(f=b.child;null!==f;){a=Rc(f);if(null!==a){b.effectTag|=64;$c(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=\ne,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,e.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,\ne.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;y(D,D.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=Rc(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),$c(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!f.alternate)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*Y()-d.renderingStartTime>d.tailExpiration&&\n1<c&&(b.effectTag|=64,e=!0,$c(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=Y()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=Y(),c.sibling=null,b=D.current,y(D,e?b&1|2:b&1),c):null}throw Error(k(156,b.tag));}function lj(a,b){switch(a.tag){case 1:return N(a.type)&&(q(G),q(B)),b=a.effectTag,b&4096?\n(a.effectTag=b&-4097|64,a):null;case 3:tb();q(G);q(B);b=a.effectTag;if(0!==(b&64))throw Error(k(285));a.effectTag=b&-4097|64;return a;case 5:return te(a),null;case 13:return q(D),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return q(D),null;case 4:return tb(),null;case 10:return me(a),null;default:return null}}function Le(a,b){return{value:a,source:b,stack:Bd(b)}}function Me(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Bd(c));null!==c&&na(c.type);b=b.value;null!==a&&1===a.tag&&\nna(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function mj(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Za(a,c)}}function zh(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Za(a,c)}else b.current=null}function nj(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===\nb.type?c:aa(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(k(163));}function Ah(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Bh(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function oj(a,b,c,d){switch(c.tag){case 0:case 11:case 15:case 22:Bh(3,\nc);return;case 1:a=c.stateNode;c.effectTag&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:aa(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&Wg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Wg(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.effectTag&4&&lg(c.type,c.memoizedProps)&&\na.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&bg(c))));return;case 19:case 17:case 20:case 21:return}throw Error(k(163));}function Ch(a,b,c){\"function\"===typeof Ne&&Ne(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;Da(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Za(g,\nh)}}a=a.next}while(a!==d)})}break;case 1:zh(b);c=b.stateNode;\"function\"===typeof c.componentWillUnmount&&mj(b,c);break;case 5:zh(b);break;case 4:Dh(a,b,c)}}function Eh(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Eh(b)}function Fh(a){return 5===a.tag||3===a.tag||4===a.tag}function Gh(a){a:{for(var b=a.return;null!==\nb;){if(Fh(b)){var c=b;break a}b=b.return}throw Error(k(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(k(161));}c.effectTag&16&&(Wb(b,\"\"),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Fh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;\nelse c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Oe(a,c,b):Pe(a,c,b)}function Oe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=uc));else if(4!==d&&(a=a.child,null!==a))for(Oe(a,b,c),a=a.sibling;null!==a;)Oe(a,b,c),a=a.sibling}\nfunction Pe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Pe(a,b,c),a=a.sibling;null!==a;)Pe(a,b,c),a=a.sibling}function Dh(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(k(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=\na,m=d,n=c,l=m;;)if(Ch(h,l,n),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===m)break a;for(;null===l.sibling;){if(null===l.return||l.return===m)break a;l=l.return}l.sibling.return=l.return;l=l.sibling}g?(h=f,m=d.stateNode,8===h.nodeType?h.parentNode.removeChild(m):h.removeChild(m)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ch(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===\nb)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}function Qe(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Ah(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[vc]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&If(c,d);Vd(a,e);b=Vd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],\nh=f[e+1];\"style\"===g?gg(c,h):\"dangerouslySetInnerHTML\"===g?xh(c,h):\"children\"===g?Wb(c,h):xd(c,g,h,b)}switch(a){case \"input\":Dd(c,d);break;case \"textarea\":Lf(c,d);break;case \"select\":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?hb(c,!!d.multiple,d.defaultValue,!0):hb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(k(162));b.stateNode.nodeValue=b.memoizedProps;\nreturn;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,bg(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?d=!1:(d=!0,c=b.child,Re=Y());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null,f.style.display=fg(\"display\",e));else if(6===a.tag)a.stateNode.nodeValue=d?\n\"\":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=f;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Hh(b);return;case 19:Hh(b);return;case 17:return}throw Error(k(163));}function Hh(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=\nnew pj);b.forEach(function(b){var d=qj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}function Ih(a,b,c){c=Ea(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){cd||(cd=!0,Se=d);Me(a,b)};return c}function Jh(a,b,c){c=Ea(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Me(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&\n(null===La?La=new Set([this]):La.add(this),Me(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}function ka(){return(p&(ca|ma))!==H?1073741821-(Y()/10|0):0!==dd?dd:dd=1073741821-(Y()/10|0)}function Va(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=Cc();if(0===(b&4))return 99===d?1073741823:1073741822;if((p&ca)!==H)return P;if(null!==c)a=Fc(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=Fc(a,150,100);break;case 97:case 96:a=\nFc(a,5E3,250);break;case 95:a=2;break;default:throw Error(k(326));}null!==U&&a===P&&--a;return a}function ed(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&\n(U===e&&(Kc(b),F===bd&&Ya(e,P)),yh(e,b));return e}function fd(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Kh(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}function V(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=Og(Te.bind(null,a));else{var b=fd(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=ka();\n1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Qg&&Rg(c)}a.callbackExpirationTime=b;a.callbackPriority=d;b=1073741823===b?Og(Te.bind(null,a)):Ng(d,Lh.bind(null,a),{timeout:10*(1073741821-b)-Y()});a.callbackNode=b}}}function Lh(a,b){dd=0;if(b)return b=ka(),Ue(a,b),V(a),null;var c=fd(a);if(0!==c){b=a.callbackNode;if((p&(ca|ma))!==H)throw Error(k(327));\nxb();a===U&&c===P||$a(a,c);if(null!==t){var d=p;p|=ca;var e=Mh();do try{rj();break}catch(h){Nh(a,h)}while(1);le();p=d;gd.current=e;if(F===hd)throw b=id,$a(a,c),Ya(a,c),V(a),b;if(null===t)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=F,U=null,d){case Xa:case hd:throw Error(k(345));case Oh:Ue(a,2<c?2:c);break;case ad:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(1073741823===ta&&(e=Re+Ph-Y(),10<e)){if(jd){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=\nc;$a(a,c);break}}f=fd(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=We(ab.bind(null,a),e);break}ab(a);break;case bd:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(jd&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;$a(a,c);break}e=fd(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}1073741823!==Yb?d=10*(1073741821-Yb)-Y():1073741823===ta?d=0:(d=10*(1073741821-ta)-5E3,e=Y(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=\n(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*sj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=We(ab.bind(null,a),d);break}ab(a);break;case Xe:if(1073741823!==ta&&null!==kd){f=ta;var g=kd;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=Y()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){Ya(a,c);a.timeoutHandle=We(ab.bind(null,a),d);break}}ab(a);break;default:throw Error(k(329));}V(a);if(a.callbackNode===b)return Lh.bind(null,a)}}return null}function Te(a){var b=\na.lastExpiredTime;b=0!==b?b:1073741823;if((p&(ca|ma))!==H)throw Error(k(327));xb();a===U&&b===P||$a(a,b);if(null!==t){var c=p;p|=ca;var d=Mh();do try{tj();break}catch(e){Nh(a,e)}while(1);le();p=c;gd.current=d;if(F===hd)throw c=id,$a(a,b),Ya(a,b),V(a),c;if(null!==t)throw Error(k(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;U=null;ab(a);V(a)}return null}function uj(){if(null!==bb){var a=bb;bb=null;a.forEach(function(a,c){Ue(c,a);V(c)});ha()}}function Qh(a,b){var c=p;p|=1;try{return a(b)}finally{p=\nc,p===H&&ha()}}function Rh(a,b){var c=p;p&=-2;p|=Ye;try{return a(b)}finally{p=c,p===H&&ha()}}function $a(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,vj(c));if(null!==t)for(c=t.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&(q(G),q(B));break;case 3:tb();q(G);q(B);break;case 5:te(d);break;case 4:tb();break;case 13:q(D);break;case 19:q(D);break;case 10:me(d)}c=c.return}U=a;t=Sa(a.current,null);\nP=b;F=Xa;id=null;Yb=ta=1073741823;kd=null;Xb=0;jd=!1}function Nh(a,b){do{try{le();Sc.current=Tc;if(Uc)for(var c=z.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}Ia=0;J=K=z=null;Uc=!1;if(null===t||null===t.return)return F=hd,id=b,t=null;a:{var e=a,f=t.return,g=t,h=b;b=P;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&\"object\"===typeof h&&\"function\"===typeof h.then){var m=h;if(0===(g.mode&2)){var n=g.alternate;n?(g.updateQueue=n.updateQueue,g.memoizedState=\nn.memoizedState,g.expirationTime=n.expirationTime):(g.updateQueue=null,g.memoizedState=null)}var l=0!==(D.current&1),k=f;do{var p;if(p=13===k.tag){var q=k.memoizedState;if(null!==q)p=null!==q.dehydrated?!0:!1;else{var w=k.memoizedProps;p=void 0===w.fallback?!1:!0!==w.unstable_avoidThisFallback?!0:l?!1:!0}}if(p){var y=k.updateQueue;if(null===y){var r=new Set;r.add(m);k.updateQueue=r}else y.add(m);if(0===(k.mode&2)){k.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var O=\nEa(1073741823,null);O.tag=Jc;Fa(g,O)}g.expirationTime=1073741823;break a}h=void 0;g=b;var v=e.pingCache;null===v?(v=e.pingCache=new wj,h=new Set,v.set(m,h)):(h=v.get(m),void 0===h&&(h=new Set,v.set(m,h)));if(!h.has(g)){h.add(g);var x=xj.bind(null,e,m,g);m.then(x,x)}k.effectTag|=4096;k.expirationTime=b;break a}k=k.return}while(null!==k);h=Error((na(g.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+\nBd(g))}F!==Xe&&(F=Oh);h=Le(h,g);k=f;do{switch(k.tag){case 3:m=h;k.effectTag|=4096;k.expirationTime=b;var A=Ih(k,m,b);Ug(k,A);break a;case 1:m=h;var u=k.type,B=k.stateNode;if(0===(k.effectTag&64)&&(\"function\"===typeof u.getDerivedStateFromError||null!==B&&\"function\"===typeof B.componentDidCatch&&(null===La||!La.has(B)))){k.effectTag|=4096;k.expirationTime=b;var H=Jh(k,m,b);Ug(k,H);break a}}k=k.return}while(null!==k)}t=Sh(t)}catch(cj){b=cj;continue}break}while(1)}function Mh(a){a=gd.current;gd.current=\nTc;return null===a?Tc:a}function Vg(a,b){a<ta&&2<a&&(ta=a);null!==b&&a<Yb&&2<a&&(Yb=a,kd=b)}function Kc(a){a>Xb&&(Xb=a)}function tj(){for(;null!==t;)t=Th(t)}function rj(){for(;null!==t&&!yj();)t=Th(t)}function Th(a){var b=zj(a.alternate,a,P);a.memoizedProps=a.pendingProps;null===b&&(b=Sh(a));Uh.current=null;return b}function Sh(a){t=a;do{var b=t.alternate;a=t.return;if(0===(t.effectTag&2048)){b=hj(b,t,P);if(1===P||1!==t.childExpirationTime){for(var c=0,d=t.child;null!==d;){var e=d.expirationTime,\nf=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}t.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=t.firstEffect),a.lastEffect=t.lastEffect),1<t.effectTag&&(null!==a.lastEffect?a.lastEffect.nextEffect=t:a.firstEffect=t,a.lastEffect=t))}else{b=lj(t);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=\n2048)}b=t.sibling;if(null!==b)return b;t=a}while(null!==t);F===Xa&&(F=Xe);return null}function Ve(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function ab(a){var b=Cc();Da(99,Aj.bind(null,a,b));return null}function Aj(a,b){do xb();while(null!==Zb);if((p&(ca|ma))!==H)throw Error(k(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(k(177));a.callbackNode=null;a.callbackExpirationTime=\n0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ve(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(t=U=null,P=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=p;p|=ma;Uh.current=null;Ze=tc;var g=kg();if(Xd(g)){if(\"selectionStart\"in\ng)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var m=h.getSelection&&h.getSelection();if(m&&0!==m.rangeCount){h=m.anchorNode;var n=m.anchorOffset,q=m.focusNode;m=m.focusOffset;try{h.nodeType,q.nodeType}catch(sb){h=null;break a}var ba=0,w=-1,y=-1,B=0,D=0,r=g,z=null;b:for(;;){for(var v;;){r!==h||0!==n&&3!==r.nodeType||(w=ba+n);r!==q||0!==m&&3!==r.nodeType||(y=ba+m);3===r.nodeType&&(ba+=r.nodeValue.length);if(null===(v=r.firstChild))break;z=r;\nr=v}for(;;){if(r===g)break b;z===h&&++B===n&&(w=ba);z===q&&++D===m&&(y=ba);if(null!==(v=r.nextSibling))break;r=z;z=r.parentNode}r=v}h=-1===w||-1===y?null:{start:w,end:y}}else h=null}h=h||{start:0,end:0}}else h=null;$e={activeElementDetached:null,focusedElem:g,selectionRange:h};tc=!1;l=e;do try{Bj()}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=e;do try{for(g=a,h=b;null!==l;){var x=l.effectTag;x&16&&Wb(l.stateNode,\"\");if(x&128){var A=l.alternate;if(null!==A){var u=\nA.ref;null!==u&&(\"function\"===typeof u?u(null):u.current=null)}}switch(x&1038){case 2:Gh(l);l.effectTag&=-3;break;case 6:Gh(l);l.effectTag&=-3;Qe(l.alternate,l);break;case 1024:l.effectTag&=-1025;break;case 1028:l.effectTag&=-1025;Qe(l.alternate,l);break;case 4:Qe(l.alternate,l);break;case 8:n=l,Dh(g,n,h),Eh(n)}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);u=$e;A=kg();x=u.focusedElem;h=u.selectionRange;if(A!==x&&x&&x.ownerDocument&&jg(x.ownerDocument.documentElement,\nx)){null!==h&&Xd(x)&&(A=h.start,u=h.end,void 0===u&&(u=A),\"selectionStart\"in x?(x.selectionStart=A,x.selectionEnd=Math.min(u,x.value.length)):(u=(A=x.ownerDocument||document)&&A.defaultView||window,u.getSelection&&(u=u.getSelection(),n=x.textContent.length,g=Math.min(h.start,n),h=void 0===h.end?g:Math.min(h.end,n),!u.extend&&g>h&&(n=h,h=g,g=n),n=ig(x,g),q=ig(x,h),n&&q&&(1!==u.rangeCount||u.anchorNode!==n.node||u.anchorOffset!==n.offset||u.focusNode!==q.node||u.focusOffset!==q.offset)&&(A=A.createRange(),\nA.setStart(n.node,n.offset),u.removeAllRanges(),g>h?(u.addRange(A),u.extend(q.node,q.offset)):(A.setEnd(q.node,q.offset),u.addRange(A))))));A=[];for(u=x;u=u.parentNode;)1===u.nodeType&&A.push({element:u,left:u.scrollLeft,top:u.scrollTop});\"function\"===typeof x.focus&&x.focus();for(x=0;x<A.length;x++)u=A[x],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}tc=!!Ze;$e=Ze=null;a.current=c;l=e;do try{for(x=a;null!==l;){var F=l.effectTag;F&36&&oj(x,l.alternate,l);if(F&128){A=void 0;var E=l.ref;if(null!==\nE){var G=l.stateNode;switch(l.tag){case 5:A=G;break;default:A=G}\"function\"===typeof E?E(A):E.current=A}}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=null;Cj();p=f}else a.current=c;if(ld)ld=!1,Zb=a,$b=b;else for(l=e;null!==l;)b=l.nextEffect,l.nextEffect=null,l=b;b=a.firstPendingTime;0===b&&(La=null);1073741823===b?a===af?ac++:(ac=0,af=a):ac=0;\"function\"===typeof bf&&bf(c.stateNode,d);V(a);if(cd)throw cd=!1,a=Se,Se=null,a;if((p&Ye)!==H)return null;\nha();return null}function Bj(){for(;null!==l;){var a=l.effectTag;0!==(a&256)&&nj(l.alternate,l);0===(a&512)||ld||(ld=!0,Ng(97,function(){xb();return null}));l=l.nextEffect}}function xb(){if(90!==$b){var a=97<$b?97:$b;$b=90;return Da(a,Dj)}}function Dj(){if(null===Zb)return!1;var a=Zb;Zb=null;if((p&(ca|ma))!==H)throw Error(k(331));var b=p;p|=ma;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Ah(5,c),Bh(5,c)}}catch(d){if(null===\na)throw Error(k(330));Za(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}p=b;ha();return!0}function Vh(a,b,c){b=Le(c,b);b=Ih(a,b,1073741823);Fa(a,b);a=ed(a,1073741823);null!==a&&V(a)}function Za(a,b){if(3===a.tag)Vh(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Vh(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===La||!La.has(d))){a=Le(b,a);a=Jh(c,a,1073741823);Fa(c,a);c=ed(c,1073741823);null!==\nc&&V(c);break}}c=c.return}}function xj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);U===a&&P===c?F===bd||F===ad&&1073741823===ta&&Y()-Re<Ph?$a(a,P):jd=!0:Kh(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,V(a)))}function qj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=ka(),b=Va(b,a,null));a=ed(a,b);null!==a&&V(a)}function Ej(a){if(\"undefined\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=\nb.inject(a);bf=function(a,e){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(f){}};Ne=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}function Fj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=\nnull;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Ge(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Gj(a){if(\"function\"===typeof a)return Ge(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===zd)return 11;if(a===Ad)return 14}return 2}function Sa(a,b){var c=a.alternate;null===c?(c=la(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=\nnull,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function Oc(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)Ge(a)&&(g=1);else if(\"string\"===typeof a)g=\n5;else a:switch(a){case Ma:return Ha(c.children,e,f,b);case Hj:g=8;e|=7;break;case Af:g=8;e|=1;break;case kc:return a=la(12,c,b,e|8),a.elementType=kc,a.type=kc,a.expirationTime=f,a;case lc:return a=la(13,c,b,e),a.type=lc,a.elementType=lc,a.expirationTime=f,a;case yd:return a=la(19,c,b,e),a.elementType=yd,a.expirationTime=f,a;default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Cf:g=10;break a;case Bf:g=9;break a;case zd:g=11;break a;case Ad:g=14;break a;case Ef:g=16;d=null;break a;case Df:g=\n22;break a}throw Error(k(130,null==a?a:typeof a,\"\"));}b=la(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ha(a,b,c,d){a=la(7,a,d,b);a.expirationTime=c;return a}function qe(a,b,c){a=la(6,a,null,b);a.expirationTime=c;return a}function re(a,b,c){b=la(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Ij(a,b,c){this.tag=b;this.current=null;this.containerInfo=\na;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Kh(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function Ya(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;\nc<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}function yh(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Ue(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction md(a,b,c,d){var e=b.current,f=ka(),g=Vb.suspense;f=Va(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(Na(c)!==c||1!==c.tag)throw Error(k(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(N(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(k(171));}if(1===c.tag){var m=c.type;if(N(m)){c=Gg(c,m,h);break a}}c=h}else c=Ca;null===b.context?b.context=c:b.pendingContext=c;b=Ea(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);Fa(e,b);Ja(e,f);return f}function cf(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Wh(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function df(a,b){Wh(a,b);(a=a.alternate)&&Wh(a,b)}function ef(a,b,c){c=null!=c&&!0===c.hydrate;var d=new Ij(a,b,c),e=la(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ne(e);a[Lb]=d.current;c&&0!==b&&\nxi(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}function bc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function Jj(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new ef(a,0,b?{hydrate:!0}:void 0)}function nd(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;\nif(\"function\"===typeof e){var h=e;e=function(){var a=cf(g);h.call(a)}}md(b,g,a,e)}else{f=c._reactRootContainer=Jj(c,d);g=f._internalRoot;if(\"function\"===typeof e){var m=e;e=function(){var a=cf(g);m.call(a)}}Rh(function(){md(b,g,a,e)})}return cf(g)}function Kj(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:gb,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}function Xh(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;\nif(!bc(b))throw Error(k(200));return Kj(a,b,null,c)}if(!ea)throw Error(k(227));var ki=function(a,b,c,d,e,f,g,h,m){var n=Array.prototype.slice.call(arguments,3);try{b.apply(c,n)}catch(C){this.onError(C)}},yb=!1,gc=null,hc=!1,pd=null,li={onError:function(a){yb=!0;gc=a}},td=null,rf=null,mf=null,ic=null,cb={},jc=[],qd={},db={},rd={},wa=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),M=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,\nsd=null,eb=null,fb=null,ee=function(a,b){return a(b)},eg=function(a,b,c,d,e){return a(b,c,d,e)},vd=function(){},vf=ee,Oa=!1,wd=!1,Z=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,Lj=Z.unstable_cancelCallback,ff=Z.unstable_now,$f=Z.unstable_scheduleCallback,Mj=Z.unstable_shouldYield,Yh=Z.unstable_requestPaint,Pd=Z.unstable_runWithPriority,Nj=Z.unstable_getCurrentPriorityLevel,Oj=Z.unstable_ImmediatePriority,Zh=Z.unstable_UserBlockingPriority,ag=Z.unstable_NormalPriority,Pj=Z.unstable_LowPriority,\nQj=Z.unstable_IdlePriority,oi=/^[: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]*$/,wf=Object.prototype.hasOwnProperty,yf={},xf={},E={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){E[a]=\nnew L(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];E[b]=new L(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){E[a]=new L(a,2,!1,a.toLowerCase(),null,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){E[a]=new L(a,2,!1,a,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(a){E[a]=\nnew L(a,3,!1,a.toLowerCase(),null,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){E[a]=new L(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){E[a]=new L(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){E[a]=new L(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){E[a]=new L(a,5,!1,a.toLowerCase(),null,!1)});var gf=/[\\-:]([a-z])/g,hf=function(a){return a[1].toUpperCase()};\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=\na.replace(gf,hf);E[b]=new L(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!1)});E.xlinkHref=new L(\"xlinkHref\",1,\n!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!0)});var da=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;da.hasOwnProperty(\"ReactCurrentDispatcher\")||(da.ReactCurrentDispatcher={current:null});da.hasOwnProperty(\"ReactCurrentBatchConfig\")||(da.ReactCurrentBatchConfig={suspense:null});var si=/^(.*)[\\\\\\/]/,Q=\"function\"===typeof Symbol&&Symbol.for,Pc=Q?Symbol.for(\"react.element\"):60103,gb=Q?Symbol.for(\"react.portal\"):\n60106,Ma=Q?Symbol.for(\"react.fragment\"):60107,Af=Q?Symbol.for(\"react.strict_mode\"):60108,kc=Q?Symbol.for(\"react.profiler\"):60114,Cf=Q?Symbol.for(\"react.provider\"):60109,Bf=Q?Symbol.for(\"react.context\"):60110,Hj=Q?Symbol.for(\"react.concurrent_mode\"):60111,zd=Q?Symbol.for(\"react.forward_ref\"):60112,lc=Q?Symbol.for(\"react.suspense\"):60113,yd=Q?Symbol.for(\"react.suspense_list\"):60120,Ad=Q?Symbol.for(\"react.memo\"):60115,Ef=Q?Symbol.for(\"react.lazy\"):60116,Df=Q?Symbol.for(\"react.block\"):60121,zf=\"function\"===\ntypeof Symbol&&Symbol.iterator,od,xh=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(\"http://www.w3.org/2000/svg\"!==a.namespaceURI||\"innerHTML\"in a)a.innerHTML=b;else{od=od||document.createElement(\"div\");od.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=od.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),Wb=function(a,\nb){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b},ib={animationend:nc(\"Animation\",\"AnimationEnd\"),animationiteration:nc(\"Animation\",\"AnimationIteration\"),animationstart:nc(\"Animation\",\"AnimationStart\"),transitionend:nc(\"Transition\",\"TransitionEnd\")},Id={},Of={};wa&&(Of=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete ib.animationend.animation,delete ib.animationiteration.animation,delete ib.animationstart.animation),\"TransitionEvent\"in\nwindow||delete ib.transitionend.transition);var $h=oc(\"animationend\"),ai=oc(\"animationiteration\"),bi=oc(\"animationstart\"),ci=oc(\"transitionend\"),Db=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Pf=new (\"function\"===typeof WeakMap?WeakMap:Map),Ab=null,wi=function(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;\nif(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)lf(a,b[d],c[d]);else b&&lf(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},qc=[],Rd=!1,fa=[],xa=null,ya=null,za=null,Eb=new Map,Fb=new Map,Jb=[],Nd=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),\nyi=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \"),dg={},cg=new Map,Td=new Map,Rj=[\"abort\",\"abort\",$h,\"animationEnd\",ai,\"animationIteration\",bi,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\n\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",ci,\"transitionEnd\",\"waiting\",\"waiting\"];Sd(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),\n0);Sd(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);Sd(Rj,2);(function(a,b){for(var c=0;c<a.length;c++)Td.set(a[c],b)})(\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),0);var Hi=Zh,Gi=Pd,tc=!0,Kb={animationIterationCount:!0,\nborderImageOutset:!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,\nstrokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sj=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(Kb).forEach(function(a){Sj.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Kb[b]=Kb[a]})});var Ii=M({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}),ng=\"$\",og=\"/$\",$d=\"$?\",Zd=\"$!\",Ze=null,$e=null,We=\"function\"===typeof setTimeout?setTimeout:void 0,vj=\"function\"===\ntypeof clearTimeout?clearTimeout:void 0,jf=Math.random().toString(36).slice(2),Aa=\"__reactInternalInstance$\"+jf,vc=\"__reactEventHandlers$\"+jf,Lb=\"__reactContainere$\"+jf,Ba=null,ce=null,wc=null;M(R.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=xc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==\ntypeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=xc)},persist:function(){this.isPersistent=xc},isPersistent:yc,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=yc;this._dispatchInstances=this._dispatchListeners=null}});R.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||\nDate.now()},defaultPrevented:null,isTrusted:null};R.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;M(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=M({},c.Interface,a);b.extend=c.extend;sg(b);return b};sg(R);var Tj=R.extend({data:null}),Uj=R.extend({data:null}),Ni=[9,13,27,32],de=wa&&\"CompositionEvent\"in window,cc=null;wa&&\"documentMode\"in document&&(cc=document.documentMode);var Vj=wa&&\"TextEvent\"in window&&\n!cc,xg=wa&&(!de||cc&&8<cc&&11>=cc),wg=String.fromCharCode(32),ua={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\"},\ndependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},vg=!1,mb=!1,Wj={eventTypes:ua,extractEvents:function(a,b,c,d,e){var f;if(de)b:{switch(a){case \"compositionstart\":var g=ua.compositionStart;break b;case \"compositionend\":g=ua.compositionEnd;break b;case \"compositionupdate\":g=\nua.compositionUpdate;break b}g=void 0}else mb?tg(a,c)&&(g=ua.compositionEnd):\"keydown\"===a&&229===c.keyCode&&(g=ua.compositionStart);g?(xg&&\"ko\"!==c.locale&&(mb||g!==ua.compositionStart?g===ua.compositionEnd&&mb&&(f=rg()):(Ba=d,ce=\"value\"in Ba?Ba.value:Ba.textContent,mb=!0)),e=Tj.getPooled(g,b,c,d),f?e.data=f:(f=ug(c),null!==f&&(e.data=f)),lb(e),f=e):f=null;(a=Vj?Oi(a,c):Pi(a,c))?(b=Uj.getPooled(ua.beforeInput,b,c,d),b.data=a,lb(b)):b=null;return null===f?b:null===b?f:[f,b]}},Qi={color:!0,date:!0,\ndatetime:!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},Ag={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}},Mb=null,Nb=null,kf=!1;wa&&(kf=Tf(\"input\")&&(!document.documentMode||9<document.documentMode));var Xj={eventTypes:Ag,_isInputEventSupported:kf,extractEvents:function(a,b,c,d,e){e=b?Pa(b):window;var f=\ne.nodeName&&e.nodeName.toLowerCase();if(\"select\"===f||\"input\"===f&&\"file\"===e.type)var g=Si;else if(yg(e))if(kf)g=Wi;else{g=Ui;var h=Ti}else(f=e.nodeName)&&\"input\"===f.toLowerCase()&&(\"checkbox\"===e.type||\"radio\"===e.type)&&(g=Vi);if(g&&(g=g(a,b)))return zg(g,c,d);h&&h(a,e,b);\"blur\"===a&&(a=e._wrapperState)&&a.controlled&&\"number\"===e.type&&Ed(e,\"number\",e.value)}},dc=R.extend({view:null,detail:null}),Yi={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"},di=0,ei=0,fi=!1,gi=!1,ec=dc.extend({screenX:null,\nscreenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:fe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if(\"movementX\"in a)return a.movementX;var b=di;di=a.screenX;return fi?\"mousemove\"===a.type?a.screenX-b:0:(fi=!0,0)},movementY:function(a){if(\"movementY\"in a)return a.movementY;var b=ei;ei=a.screenY;return gi?\"mousemove\"===\na.type?a.screenY-b:0:(gi=!0,0)}}),hi=ec.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),fc={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\n\"pointerover\"]}},Yj={eventTypes:fc,extractEvents:function(a,b,c,d,e){var f=\"mouseover\"===a||\"pointerover\"===a,g=\"mouseout\"===a||\"pointerout\"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?Bb(b):null,null!==b){var h=Na(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null}}else g=null;if(g===b)return null;if(\"mouseout\"===a||\"mouseover\"===a){var m=ec;var n=fc.mouseLeave;\nvar l=fc.mouseEnter;var k=\"mouse\"}else if(\"pointerout\"===a||\"pointerover\"===a)m=hi,n=fc.pointerLeave,l=fc.pointerEnter,k=\"pointer\";a=null==g?f:Pa(g);f=null==b?f:Pa(b);n=m.getPooled(n,g,c,d);n.type=k+\"leave\";n.target=a;n.relatedTarget=f;c=m.getPooled(l,b,c,d);c.type=k+\"enter\";c.target=f;c.relatedTarget=a;d=g;k=b;if(d&&k)a:{m=d;l=k;g=0;for(a=m;a;a=pa(a))g++;a=0;for(b=l;b;b=pa(b))a++;for(;0<g-a;)m=pa(m),g--;for(;0<a-g;)l=pa(l),a--;for(;g--;){if(m===l||m===l.alternate)break a;m=pa(m);l=pa(l)}m=null}else m=\nnull;l=m;for(m=[];d&&d!==l;){g=d.alternate;if(null!==g&&g===l)break;m.push(d);d=pa(d)}for(d=[];k&&k!==l;){g=k.alternate;if(null!==g&&g===l)break;d.push(k);k=pa(k)}for(k=0;k<m.length;k++)be(m[k],\"bubbled\",n);for(k=d.length;0<k--;)be(d[k],\"captured\",c);return 0===(e&64)?[n]:[n,c]}},Qa=\"function\"===typeof Object.is?Object.is:Zi,$i=Object.prototype.hasOwnProperty,Zj=wa&&\"documentMode\"in document&&11>=document.documentMode,Eg={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},\ndependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},nb=null,he=null,Pb=null,ge=!1,ak={eventTypes:Eg,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=Jd(e);f=rd.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pa(b):window;switch(a){case \"focus\":if(yg(e)||\"true\"===e.contentEditable)nb=e,he=b,Pb=null;break;case \"blur\":Pb=he=nb=null;\nbreak;case \"mousedown\":ge=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":return ge=!1,Dg(c,d);case \"selectionchange\":if(Zj)break;case \"keydown\":case \"keyup\":return Dg(c,d)}return null}},bk=R.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ck=R.extend({clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),dk=dc.extend({relatedTarget:null}),ek={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",\nDel:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},fk={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",\n224:\"Meta\"},gk=dc.extend({key:function(a){if(a.key){var b=ek[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=Ac(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?fk[a.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:fe,charCode:function(a){return\"keypress\"===a.type?Ac(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===\na.type?Ac(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),hk=ec.extend({dataTransfer:null}),ik=dc.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:fe}),jk=R.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),kk=ec.extend({deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?\n-a.wheelDelta:0},deltaZ:null,deltaMode:null}),lk={eventTypes:dg,extractEvents:function(a,b,c,d,e){e=cg.get(a);if(!e)return null;switch(a){case \"keypress\":if(0===Ac(c))return null;case \"keydown\":case \"keyup\":a=gk;break;case \"blur\":case \"focus\":a=dk;break;case \"click\":if(2===c.button)return null;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":a=ec;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":a=\nhk;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":a=ik;break;case $h:case ai:case bi:a=bk;break;case ci:a=jk;break;case \"scroll\":a=dc;break;case \"wheel\":a=kk;break;case \"copy\":case \"cut\":case \"paste\":a=ck;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":a=hi;break;default:a=R}b=a.getPooled(e,b,c,d);lb(b);return b}};(function(a){if(ic)throw Error(k(101));\nic=Array.prototype.slice.call(a);nf()})(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));(function(a,b,c){td=a;rf=b;mf=c})(ae,Hb,Pa);pf({SimpleEventPlugin:lk,EnterLeaveEventPlugin:Yj,ChangeEventPlugin:Xj,SelectEventPlugin:ak,BeforeInputEventPlugin:Wj});var ie=[],ob=-1,Ca={},B={current:Ca},G={current:!1},Ra=Ca,bj=Pd,je=$f,Rg=Lj,aj=Nj,Dc=Oj,Ig=Zh,Jg=ag,Kg=Pj,Lg=Qj,Qg={},yj=Mj,Cj=void 0!==Yh?Yh:function(){},qa=null,\nEc=null,ke=!1,ii=ff(),Y=1E4>ii?ff:function(){return ff()-ii},Ic={current:null},Hc=null,qb=null,Gc=null,Tg=0,Jc=2,Ga=!1,Vb=da.ReactCurrentBatchConfig,$g=(new ea.Component).refs,Mc={isMounted:function(a){return(a=a._reactInternalFiber)?Na(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;d=Va(d,a,e);e=Ea(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;\nd=Va(d,a,e);e=Ea(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=ka(),d=Vb.suspense;c=Va(c,a,d);d=Ea(c,d);d.tag=Jc;void 0!==b&&null!==b&&(d.callback=b);Fa(a,d);Ja(a,c)}},Qc=Array.isArray,wb=ah(!0),Fe=ah(!1),Sb={},ja={current:Sb},Ub={current:Sb},Tb={current:Sb},D={current:0},Sc=da.ReactCurrentDispatcher,X=da.ReactCurrentBatchConfig,Ia=0,z=null,K=null,J=null,Uc=!1,Tc={readContext:W,useCallback:S,useContext:S,\nuseEffect:S,useImperativeHandle:S,useLayoutEffect:S,useMemo:S,useReducer:S,useRef:S,useState:S,useDebugValue:S,useResponder:S,useDeferredValue:S,useTransition:S},dj={readContext:W,useCallback:ih,useContext:W,useEffect:eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ze(4,2,gh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ze(4,2,a,b)},useMemo:function(a,b){var c=ub();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=\nub();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=ch.bind(null,z,a);return[d.memoizedState,a]},useRef:function(a){var b=ub();a={current:a};return b.memoizedState=a},useState:xe,useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=xe(a),d=c[0],e=c[1];eh(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=\nxe(!1),c=b[0];b=b[1];return[ih(Ce.bind(null,b,a),[b,a]),c]}},ej={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Vc,useRef:dh,useState:function(a){return Vc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Vc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Vc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,\nb,a),[b,a]),c]}},fj={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Wc,useRef:dh,useState:function(a){return Wc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Wc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Wc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,b,a),[b,a]),c]}},ra=null,Ka=null,Wa=\n!1,gj=da.ReactCurrentOwner,ia=!1,Je={dehydrated:null,retryTime:0};var jj=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};var wh=function(a){};var ij=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ta(ja.current);a=null;switch(c){case \"input\":f=\nCd(g,f);d=Cd(g,d);a=[];break;case \"option\":f=Fd(g,f);d=Fd(g,d);a=[];break;case \"select\":f=M({},f,{value:void 0});d=M({},d,{value:void 0});a=[];break;case \"textarea\":f=Gd(g,f);d=Gd(g,d);a=[];break;default:\"function\"!==typeof f.onClick&&\"function\"===typeof d.onClick&&(g.onclick=uc)}Ud(c,d);var h,m;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if(\"style\"===h)for(m in g=f[h],g)g.hasOwnProperty(m)&&(c||(c={}),c[m]=\"\");else\"dangerouslySetInnerHTML\"!==h&&\"children\"!==h&&\"suppressContentEditableWarning\"!==\nh&&\"suppressHydrationWarning\"!==h&&\"autoFocus\"!==h&&(db.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var k=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&k!==g&&(null!=k||null!=g))if(\"style\"===h)if(g){for(m in g)!g.hasOwnProperty(m)||k&&k.hasOwnProperty(m)||(c||(c={}),c[m]=\"\");for(m in k)k.hasOwnProperty(m)&&g[m]!==k[m]&&(c||(c={}),c[m]=k[m])}else c||(a||(a=[]),a.push(h,c)),c=k;else\"dangerouslySetInnerHTML\"===h?(k=k?k.__html:void 0,g=g?g.__html:void 0,null!=k&&g!==k&&(a=a||\n[]).push(h,k)):\"children\"===h?g===k||\"string\"!==typeof k&&\"number\"!==typeof k||(a=a||[]).push(h,\"\"+k):\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&(db.hasOwnProperty(h)?(null!=k&&oa(e,h),a||g===k||(a=[])):(a=a||[]).push(h,k))}c&&(a=a||[]).push(\"style\",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};var kj=function(a,b,c,d){c!==d&&(b.effectTag|=4)};var pj=\"function\"===typeof WeakSet?WeakSet:Set,wj=\"function\"===typeof WeakMap?WeakMap:Map,sj=Math.ceil,gd=da.ReactCurrentDispatcher,\nUh=da.ReactCurrentOwner,H=0,Ye=8,ca=16,ma=32,Xa=0,hd=1,Oh=2,ad=3,bd=4,Xe=5,p=H,U=null,t=null,P=0,F=Xa,id=null,ta=1073741823,Yb=1073741823,kd=null,Xb=0,jd=!1,Re=0,Ph=500,l=null,cd=!1,Se=null,La=null,ld=!1,Zb=null,$b=90,bb=null,ac=0,af=null,dd=0,Ja=function(a,b){if(50<ac)throw ac=0,af=null,Error(k(185));a=ed(a,b);if(null!==a){var c=Cc();1073741823===b?(p&Ye)!==H&&(p&(ca|ma))===H?Te(a):(V(a),p===H&&ha()):V(a);(p&4)===H||98!==c&&99!==c||(null===bb?bb=new Map([[a,b]]):(c=bb.get(a),(void 0===c||c>b)&&bb.set(a,\nb)))}};var zj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||G.current)ia=!0;else{if(d<c){ia=!1;switch(b.tag){case 3:sh(b);Ee();break;case 5:bh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:N(b.type)&&Bc(b);break;case 4:se(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;y(Ic,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;\nif(0!==d&&d>=c)return th(a,b,c);y(D,D.current&1);b=sa(a,b,c);return null!==b?b.sibling:null}y(D,D.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return vh(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);y(D,D.current);if(!d)return null}return sa(a,b,c)}ia=!1}}else ia=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=pb(b,B.current);rb(b,c);e=we(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(N(d)){var f=!0;Bc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ne(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Lc(b,d,g,a);e.updater=Mc;b.stateNode=e;e._reactInternalFiber=b;pe(b,d,a,c);b=Ie(null,b,d,!0,f,c)}else b.tag=0,T(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ri(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Gj(e);a=aa(e,a);switch(f){case 0:b=He(null,b,e,a,c);break a;case 1:b=rh(null,b,e,a,c);break a;case 11:b=nh(null,b,e,a,c);break a;case 14:b=oh(null,b,e,aa(e.type,a),d,c);break a}throw Error(k(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),He(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),rh(a,b,d,e,c);\ncase 3:sh(b);d=b.updateQueue;if(null===a||null===d)throw Error(k(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;oe(a,b);Qb(b,d,null,c);d=b.memoizedState.element;if(d===e)Ee(),b=sa(a,b,c);else{if(e=b.stateNode.hydrate)Ka=kb(b.stateNode.containerInfo.firstChild),ra=b,e=Wa=!0;if(e)for(c=Fe(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else T(a,b,d,c),Ee();b=b.child}return b;case 5:return bh(b),null===a&&De(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Yd(d,e)?g=null:null!==f&&Yd(d,f)&&(b.effectTag|=16),qh(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(T(a,b,g,c),b=b.child),b;case 6:return null===a&&De(b),null;case 13:return th(a,b,c);case 4:return se(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=wb(b,null,d,c):T(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),nh(a,b,d,e,c);case 7:return T(a,b,b.pendingProps,c),b.child;case 8:return T(a,\nb,b.pendingProps.children,c),b.child;case 12:return T(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;y(Ic,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=Qa(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!G.current){b=sa(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var m=h.dependencies;if(null!==\nm){g=h.child;for(var l=m.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Ea(c,null),l.tag=Jc,Fa(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);Sg(h.return,c);m.expirationTime<c&&(m.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=\ng}T(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,rb(b,c),e=W(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,T(a,b,d,c),b.child;case 14:return e=b.type,f=aa(e,b.pendingProps),f=aa(e.type,f),oh(a,b,e,f,d,c);case 15:return ph(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,N(d)?(a=!0,Bc(b)):a=!1,rb(b,c),Yg(b,d,e),pe(b,d,e,c),Ie(null,\nb,d,!0,a,c);case 19:return vh(a,b,c)}throw Error(k(156,b.tag));};var bf=null,Ne=null,la=function(a,b,c,d){return new Fj(a,b,c,d)};ef.prototype.render=function(a){md(a,this._internalRoot,null,null)};ef.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;md(null,a,null,function(){b[Lb]=null})};var Di=function(a){if(13===a.tag){var b=Fc(ka(),150,100);Ja(a,b);df(a,b)}};var Yf=function(a){13===a.tag&&(Ja(a,3),df(a,3))};var Bi=function(a){if(13===a.tag){var b=ka();b=Va(b,a,null);Ja(a,\nb);df(a,b)}};sd=function(a,b,c){switch(b){case \"input\":Dd(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=ae(d);if(!e)throw Error(k(90));Gf(d);Dd(d,e)}}}break;case \"textarea\":Lf(a,c);break;case \"select\":b=c.value,null!=b&&hb(a,!!c.multiple,b,!1)}};(function(a,b,c,d){ee=a;eg=b;vd=c;vf=d})(Qh,function(a,b,c,d,e){var f=p;p|=4;\ntry{return Da(98,a.bind(null,b,c,d,e))}finally{p=f,p===H&&ha()}},function(){(p&(1|ca|ma))===H&&(uj(),xb())},function(a,b){var c=p;p|=2;try{return a(b)}finally{p=c,p===H&&ha()}});var mk={Events:[Hb,Pa,ae,pf,qd,lb,function(a){Kd(a,Ki)},sf,tf,sc,pc,xb,{current:!1}]};(function(a){var b=a.findFiberByHostInstance;return Ej(M({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Sf(a);\nreturn null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Bb,bundleType:0,version:\"16.14.0\",rendererPackageName:\"react-dom\"});I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mk;I.createPortal=Xh;I.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===\nb){if(\"function\"===typeof a.render)throw Error(k(188));throw Error(k(268,Object.keys(a)));}a=Sf(b);a=null===a?null:a.stateNode;return a};I.flushSync=function(a,b){if((p&(ca|ma))!==H)throw Error(k(187));var c=p;p|=1;try{return Da(99,a.bind(null,b))}finally{p=c,ha()}};I.hydrate=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!0,c)};I.render=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!1,c)};I.unmountComponentAtNode=function(a){if(!bc(a))throw Error(k(40));return a._reactRootContainer?\n(Rh(function(){nd(null,null,a,!1,function(){a._reactRootContainer=null;a[Lb]=null})}),!0):!1};I.unstable_batchedUpdates=Qh;I.unstable_createPortal=function(a,b){return Xh(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};I.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!bc(c))throw Error(k(200));if(null==a||void 0===a._reactInternalFiber)throw Error(k(38));return nd(a,b,c,!1,d)};I.version=\"16.14.0\"});\n"}
  </script>
  <script>
    // graphiql/graphiql.min.js
    ${"window.GraphiQL=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=87)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return x})),n.d(t,\"x\",(function(){return _})),n.d(t,\"R\",(function(){return k})),n.d(t,\"w\",(function(){return w})),n.d(t,\"N\",(function(){return C})),n.d(t,\"u\",(function(){return S})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return D})),n.d(t,\"T\",(function(){return I})),n.d(t,\"y\",(function(){return A})),n.d(t,\"E\",(function(){return L})),n.d(t,\"l\",(function(){return j})),n.d(t,\"F\",(function(){return F})),n.d(t,\"m\",(function(){return M})),n.d(t,\"J\",(function(){return R})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return B})),n.d(t,\"n\",(function(){return q})),n.d(t,\"O\",(function(){return H})),n.d(t,\"v\",(function(){return z})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return K})),n.d(t,\"D\",(function(){return Q})),n.d(t,\"k\",(function(){return W})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),n.d(t,\"e\",(function(){return X})),n.d(t,\"U\",(function(){return Z})),n.d(t,\"z\",(function(){return ee})),n.d(t,\"M\",(function(){return te})),n.d(t,\"t\",(function(){return ne})),n.d(t,\"B\",(function(){return re})),n.d(t,\"K\",(function(){return ie})),n.d(t,\"r\",(function(){return oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Te})),n.d(t,\"b\",(function(){return Oe})),n.d(t,\"Q\",(function(){return _e}));var r=n(27),i=n(15),o=n(3),a=n(18),s=n(29),l=n(21),c=n(4),u=n(26),f=n(25),p=n(20),d=n(17);function h(e){return e}var m=n(24),v=n(22),g=n(1),y=n(9),b=n(2),T=n(86);function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function x(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)||R(e)||V(e)}function _(e){if(!x(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL type.\"));return e}function k(e){return Object(f.a)(e,ce)}function w(e){if(!k(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Scalar type.\"));return e}function C(e){return Object(f.a)(e,ue)}function S(e){if(!C(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Object type.\"));return e}function N(e){return Object(f.a)(e,ge)}function D(e){if(!N(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Interface type.\"));return e}function I(e){return Object(f.a)(e,ye)}function A(e){if(!I(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Union type.\"));return e}function L(e){return Object(f.a)(e,Te)}function j(e){if(!L(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Enum type.\"));return e}function F(e){return Object(f.a)(e,Oe)}function M(e){if(!F(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Input Object type.\"));return e}function R(e){return Object(f.a)(e,$)}function P(e){if(!R(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL List type.\"));return e}function V(e){return Object(f.a)(e,X)}function U(e){if(!V(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function B(e){return k(e)||L(e)||F(e)||Z(e)&&B(e.ofType)}function q(e){if(!B(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL input type.\"));return e}function H(e){return k(e)||C(e)||N(e)||I(e)||L(e)||Z(e)&&H(e.ofType)}function z(e){if(!H(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL output type.\"));return e}function G(e){return k(e)||L(e)}function K(e){if(!G(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL leaf type.\"));return e}function Q(e){return C(e)||N(e)||I(e)}function W(e){if(!Q(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL composite type.\"));return e}function Y(e){return N(e)||I(e)}function J(e){if(!Y(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL abstract type.\"));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=_(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return R(e)||V(e)}function ee(e){if(!Z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL wrapping type.\"));return e}function te(e){return x(e)&&!V(e)}function ne(e){if(!te(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL nullable type.\"));return e}function re(e){if(e)return V(e)?e.ofType:e}function ie(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)}function oe(e){if(!ie(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL named type.\"));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return\"function\"==typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),X.prototype.toString=function(){return String(this.ofType)+\"!\"},Object.defineProperty(X.prototype,i.c,{get:function(){return\"GraphQLNonNull\"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e){return i(Object(T.a)(e))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.serialize||\"function\"==typeof e.serialize||Object(c.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(c.a)(0,\"\".concat(this.name,' must provide both \"parseValue\" and \"parseLiteral\" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"==typeof e.isTypeOf||Object(c.a)(0,\"\".concat(this.name,' must provide \"isTypeOf\" as a function, ')+\"but got: \".concat(Object(o.a)(e.isTypeOf),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),n}function pe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object.\")),!(\"isDeprecated\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"==typeof t.resolve||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field resolver must be a function if \")+\"provided, but got: \".concat(Object(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}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(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.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(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||Object(c.a)(0,\"Must provide Array of types or a function which returns such an array for Union \".concat(e.name,\".\")),t}Object(m.a)(ye);var Te=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,\"\".concat(t,\" values must be an object with value names as keys.\")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' must refer to an object with a \"value\" key ')+\"representing an internal value but got: \".concat(Object(o.a)(r),\".\")),!(\"isDeprecated\"in r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.a)(this._values,(function(e){return e.name})),\"string\"==typeof e.name||Object(c.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(void 0===t)throw new b.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!=typeof e){var t=Object(o.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+Ee(this,t))}var n=this.getValue(e);if(null==n)throw new b.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==g.a.ENUM){var n=Object(y.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+Ee(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(y.a)(e);throw new b.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function Ee(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Te);var Oe=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=xe.bind(void 0,e),\"string\"==typeof e.name||Object(c.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,t=Object(s.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function xe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){return!(\"resolve\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field has a resolve property, but Input Types cannot define resolvers.\")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function _e(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(Oe)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({NAME:\"Name\",DOCUMENT:\"Document\",OPERATION_DEFINITION:\"OperationDefinition\",VARIABLE_DEFINITION:\"VariableDefinition\",SELECTION_SET:\"SelectionSet\",FIELD:\"Field\",ARGUMENT:\"Argument\",FRAGMENT_SPREAD:\"FragmentSpread\",INLINE_FRAGMENT:\"InlineFragment\",FRAGMENT_DEFINITION:\"FragmentDefinition\",VARIABLE:\"Variable\",INT:\"IntValue\",FLOAT:\"FloatValue\",STRING:\"StringValue\",BOOLEAN:\"BooleanValue\",NULL:\"NullValue\",ENUM:\"EnumValue\",LIST:\"ListValue\",OBJECT:\"ObjectValue\",OBJECT_FIELD:\"ObjectField\",DIRECTIVE:\"Directive\",NAMED_TYPE:\"NamedType\",LIST_TYPE:\"ListType\",NON_NULL_TYPE:\"NonNullType\",SCHEMA_DEFINITION:\"SchemaDefinition\",OPERATION_TYPE_DEFINITION:\"OperationTypeDefinition\",SCALAR_TYPE_DEFINITION:\"ScalarTypeDefinition\",OBJECT_TYPE_DEFINITION:\"ObjectTypeDefinition\",FIELD_DEFINITION:\"FieldDefinition\",INPUT_VALUE_DEFINITION:\"InputValueDefinition\",INTERFACE_TYPE_DEFINITION:\"InterfaceTypeDefinition\",UNION_TYPE_DEFINITION:\"UnionTypeDefinition\",ENUM_TYPE_DEFINITION:\"EnumTypeDefinition\",ENUM_VALUE_DEFINITION:\"EnumValueDefinition\",INPUT_OBJECT_TYPE_DEFINITION:\"InputObjectTypeDefinition\",DIRECTIVE_DEFINITION:\"DirectiveDefinition\",SCHEMA_EXTENSION:\"SchemaExtension\",SCALAR_TYPE_EXTENSION:\"ScalarTypeExtension\",OBJECT_TYPE_EXTENSION:\"ObjectTypeExtension\",INTERFACE_TYPE_EXTENSION:\"InterfaceTypeExtension\",UNION_TYPE_EXTENSION:\"UnionTypeExtension\",ENUM_TYPE_EXTENSION:\"EnumTypeExtension\",INPUT_OBJECT_TYPE_EXTENSION:\"InputObjectTypeExtension\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(17),i=n(15),o=n(39),a=n(60);function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e){var t=\"function\"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf(\"[native code]\")))return e;var n;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function p(e,t,n){return(p=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function d(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,a,s,f=(t=p,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function p(e,t,n,i,a,s,l){var d,h,m,v,g;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,p),g=f.call(this,e);var y,b=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,T=n;!T&&b&&(T=null===(y=b[0].loc)||void 0===y?void 0:y.source);var E,O=i;!O&&b&&(O=b.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),O&&0===O.length&&(O=void 0),i&&n?E=i.map((function(e){return Object(o.a)(n,e)})):b&&(E=b.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var x=l;if(null==x&&null!=s){var _=s.extensions;Object(r.a)(_)&&(x=_)}return Object.defineProperties(u(g),{name:{value:\"GraphQLError\"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(d=E)&&void 0!==d?d:void 0,enumerable:null!=E},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=b?b:void 0},source:{value:null!==(h=T)&&void 0!==h?h:void 0},positions:{value:null!==(m=O)&&void 0!==m?m:void 0},originalError:{value:s},extensions:{value:null!==(v=x)&&void 0!==v?v:void 0,enumerable:null!=x}}),(null==s?void 0:s.stack)?(Object.defineProperty(u(g),\"stack\",{value:s.stack,writable:!0,configurable:!0}),c(g)):(Error.captureStackTrace?Error.captureStackTrace(u(g),p):Object.defineProperty(u(g),\"stack\",{value:Error().stack,writable:!0,configurable:!0}),g)}return n=p,(a=[{key:\"toString\",value:function(){return g(this)}},{key:i.c,get:function(){return\"Object\"}}])&&l(n.prototype,a),s&&l(n,s),p}(f(Error));function g(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+=\"\\n\\n\"+Object(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var l=s[o];t+=\"\\n\\n\"+Object(a.b)(e.source,l)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(38);function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case\"string\":return JSON.stringify(e);case\"function\":return e.name?\"[function \".concat(e.name,\"]\"):\"[function]\";case\"object\":return null===e?\"null\":function(e,t){if(-1!==t.indexOf(e))return\"[Circular]\";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if(\"function\"==typeof t)return t;if(\"function\"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return\"[]\";if(t.length>2)return\"[Array]\";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push(\"... 1 more item\"):r>1&&i.push(\"... \".concat(r,\" more items\"));return\"[\"+i.join(\", \")+\"]\"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return\"{}\";if(t.length>2)return\"[\"+function(e){var t=Object.prototype.toString.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\");if(\"Object\"===t&&\"function\"==typeof e.constructor){var n=e.constructor.name;if(\"string\"==typeof n&&\"\"!==n)return n}return t}(e)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({QUERY:\"QUERY\",MUTATION:\"MUTATION\",SUBSCRIPTION:\"SUBSCRIPTION\",FIELD:\"FIELD\",FRAGMENT_DEFINITION:\"FRAGMENT_DEFINITION\",FRAGMENT_SPREAD:\"FRAGMENT_SPREAD\",INLINE_FRAGMENT:\"INLINE_FRAGMENT\",VARIABLE_DEFINITION:\"VARIABLE_DEFINITION\",SCHEMA:\"SCHEMA\",SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",FIELD_DEFINITION:\"FIELD_DEFINITION\",ARGUMENT_DEFINITION:\"ARGUMENT_DEFINITION\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",ENUM_VALUE:\"ENUM_VALUE\",INPUT_OBJECT:\"INPUT_OBJECT\",INPUT_FIELD_DEFINITION:\"INPUT_FIELD_DEFINITION\"})},function(e,t,n){\"use strict\";n.d(t,\"d\",(function(){return f})),n.d(t,\"b\",(function(){return p})),n.d(t,\"e\",(function(){return h})),n.d(t,\"a\",(function(){return m})),n.d(t,\"c\",(function(){return v})),n.d(t,\"g\",(function(){return g})),n.d(t,\"f\",(function(){return y}));var r=n(32),i=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},o=n(3),a=n(17),s=n(1),l=n(9),c=n(2),u=n(0);var f=new u.g({name:\"Int\",description:\"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!i(n))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(t)));if(n>2147483647||n<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \"+Object(o.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.a.INT)throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(l.a)(e)),e);var t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e.value),e);return t}});var p=new u.g({name:\"Float\",description:\"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!Object(r.a)(n))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.FLOAT&&e.kind!==s.a.INT)throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(l.a)(e)),e);return parseFloat(e.value)}});function d(e){if(Object(a.a)(e)){if(\"function\"==typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if(\"function\"==typeof e.toJSON)return e.toJSON()}return e}var h=new u.g({name:\"String\",description:\"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.\",serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(\"boolean\"==typeof t)return t?\"true\":\"false\";if(Object(r.a)(t))return t.toString();throw new c.a(\"String cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"!=typeof e)throw new c.a(\"String cannot represent a non string value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.STRING)throw new c.a(\"String cannot represent a non string value: \".concat(Object(l.a)(e)),e);return e.value}});var m=new u.g({name:\"Boolean\",description:\"The `Boolean` scalar type represents `true` or `false`.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t;if(Object(r.a)(t))return 0!==t;throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(t)))},parseValue:function(e){if(\"boolean\"!=typeof e)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.BOOLEAN)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(l.a)(e)),e);return e.value}});var v=new u.g({name:\"ID\",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(i(t))return String(t);throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"==typeof e)return e;if(i(e))return e.toString();throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseLiteral:function(e){if(e.kind!==s.a.STRING&&e.kind!==s.a.INT)throw new c.a(\"ID cannot represent a non-string and non-integer value: \"+Object(l.a)(e),e);return e.value}}),g=Object.freeze([h,f,p,m,v]);function y(e){return g.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),n.d(t,\"__DirectiveLocation\",(function(){return d})),n.d(t,\"__Type\",(function(){return h})),n.d(t,\"__Field\",(function(){return m})),n.d(t,\"__InputValue\",(function(){return v})),n.d(t,\"__EnumValue\",(function(){return g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return T})),n.d(t,\"TypeMetaFieldDef\",(function(){return E})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return O})),n.d(t,\"introspectionTypes\",(function(){return x})),n.d(t,\"isIntrospectionType\",(function(){return _}));var r=n(7),i=n(3),o=n(11),a=n(9),s=n(5),l=n(31),c=n(6),u=n(0),f=new u.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{description:{type:c.e,resolve:function(e){return e.description}},types:{description:\"A list of all types supported by this server.\",type:Object(u.e)(Object(u.d)(Object(u.e)(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:Object(u.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(u.e)(Object(u.d)(Object(u.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:Object(u.e)(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:Object(u.e)(Object(u.d)(Object(u.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}}}}}),d=new u.a({name:\"__DirectiveLocation\",description:\"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.\",values:{QUERY:{value:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.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(u.e)(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.a)(!1,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(u.d)(Object(u.e)(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n||(i=i.filter((function(e){return!e.isDeprecated}))),i}return null}},interfaces:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(u.d)(Object(u.e)(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n||(r=r.filter((function(e){return!e.isDeprecated}))),r}}},inputFields:{type:Object(u.d)(Object(u.e)(v)),resolve:function(e){if(Object(u.F)(e))return Object(r.a)(e.getFields())}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(l.a)(n,t);return r?Object(a.a)(r):null}}}}}),g=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),T={name:\"__schema\",type:Object(u.e)(f),description:\"Access the current type schema of this server.\",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},E={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:Object(u.e)(c.e),defaultValue:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},O={name:\"__typename\",type:Object(u.e)(c.e),description:\"The name of the current Object type at runtime.\",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},x=Object.freeze([f,p,d,h,m,v,g,b]);function _(e){return x.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(19),i=n(28);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+u(\" = \",r)+u(\" \",l(i,\" \"))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return l([u(\"\",t,\": \")+n+u(\"(\",l(r,\", \"),\")\"),l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+u(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",u(\"on \",t),l(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(u(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(u(\"\",l(i,\" \"),\" \"))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,\"description\"===t?\"\":\"  \"):JSON.stringify(n)},BooleanValue:function(e){return e.value?\"true\":\"false\"},NullValue:function(){return\"null\"},EnumValue:function(e){return e.value},ListValue:function(e){return\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+u(\"(\",l(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l([\"schema\",l(t,\" \"),c(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+\": \"+r+u(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,u(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),c(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),c(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),c(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),c(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),c(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function c(e){return e&&0!==e.length?\"{\\n\"+f(l(e,\"\\n\"))+\"\\n}\":\"\"}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return t?e+t+n:\"\"}function f(e){return e&&\"  \"+e.replace(/\\n/g,\"\\n  \")}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return e&&e.some(p)}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\\/\\d/i.test(e),r=/MSIE \\d/.test(e),i=/Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(e),o=/Edge\\/(\\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\\//.test(e),c=l&&/Qt\\/\\d+\\.\\d+/.test(e),u=!o&&/Chrome\\//.test(e),f=/Opera\\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(e),h=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\\/\\w+/.test(e),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\\bCrOS\\b/.test(e),T=/win/i.test(t),E=f&&e.match(/Version\\/(\\d*\\.\\d*)/);E&&(E=Number(E[1])),E&&E>=15&&(f=!1,l=!0);var O=y&&(c||f&&(null==E||E<12.11)),x=n||a&&s>=9;function _(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var k,w=function(e,t){var n=e.className,r=_(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:\"\")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return C(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),\"string\"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function D(e,t,n,r){var i=N(e,t,n,r);return i.setAttribute(\"role\",\"presentation\"),i}function I(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function A(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function L(e,t){var n=e.className;_(t).test(n)||(e.className+=(n?\" \":\"\")+t)}function j(e,t){for(var n=e.split(\" \"),r=0;r<n.length;r++)n[r]&&!_(n[r]).test(t)&&(t+=\" \"+n[r]);return t}k=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd(\"character\",n),r.moveStart(\"character\",t),r};var F=function(e){e.select()};function M(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function P(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\\s\\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf(\"\\t\",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=M(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}V.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},V.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var B={toString:function(){return\"CodeMirror.Pass\"}},q={scroll:!1},H={origin:\"*mouse\"},z={origin:\"+move\"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(\"\\t\",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var K=[\"\"];function Q(e){for(;K.length<=e;)K.push(W(K)+\" \");return K[e]}function W(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&R(t,n),n}var X=/[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;function Z(e){return/\\w/.test(e)||e>\"\u0080\"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf(\"\\\\w\")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&\"before\"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&\"before\"!=n?r=i:ae=i)}return null!=r?r:ae}var le=function(){var e=/[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var c,u=a.length,f=[],p=0;p<u;++p)f.push((c=a.charCodeAt(p))<=247?\"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\".charAt(c):1424<=c&&c<=1524?\"R\":1536<=c&&c<=1785?\"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\".charAt(c-1536):1774<=c&&c<=2220?\"r\":8192<=c&&c<=8203?\"w\":8204==c?\"b\":\"L\");for(var d=0,h=l;d<u;++d){var m=f[d];\"m\"==m?f[d]=h:h=m}for(var v=0,g=l;v<u;++v){var y=f[v];\"1\"==y&&\"r\"==g?f[v]=\"n\":n.test(y)&&(g=y,\"r\"==y&&(f[v]=\"R\"))}for(var b=1,T=f[0];b<u-1;++b){var E=f[b];\"+\"==E&&\"1\"==T&&\"1\"==f[b+1]?f[b]=\"1\":\",\"!=E||T!=f[b+1]||\"1\"!=T&&\"n\"!=T||(f[b]=T),T=E}for(var O=0;O<u;++O){var x=f[O];if(\",\"==x)f[O]=\"N\";else if(\"%\"==x){var _=void 0;for(_=O+1;_<u&&\"%\"==f[_];++_);for(var k=O&&\"!\"==f[O-1]||_<u&&\"1\"==f[_]?\"1\":\"N\",w=O;w<_;++w)f[w]=k;O=_-1}}for(var C=0,S=l;C<u;++C){var N=f[C];\"L\"==S&&\"1\"==N?f[C]=\"L\":n.test(N)&&(S=N)}for(var D=0;D<u;++D)if(t.test(f[D])){var I=void 0;for(I=D+1;I<u&&t.test(f[I]);++I);for(var A=\"L\"==(D?f[D-1]:l),L=A==(\"L\"==(I<u?f[I]:l))?A?\"L\":\"R\":l,j=D;j<I;++j)f[j]=L;D=I-1}for(var F,M=[],R=0;R<u;)if(r.test(f[R])){var P=R;for(++R;R<u&&r.test(f[R]);++R);M.push(new o(0,P,R))}else{var V=R,U=M.length,B=\"rtl\"==s?1:0;for(++R;R<u&&\"L\"!=f[R];++R);for(var q=V;q<R;)if(i.test(f[q])){V<q&&(M.splice(U,0,new o(1,V,q)),U+=B);var H=q;for(++q;q<R&&i.test(f[q]);++q);M.splice(U,0,new o(2,H,q)),U+=B,V=q}else++q;V<R&&M.splice(U,0,new o(1,V,R))}return\"ltr\"==s&&(1==M[0].level&&(F=a.match(/^\\s+/))&&(M[0].from=F[0].length,M.unshift(new o(0,0,F[0].length))),1==W(M).level&&(F=a.match(/\\s+$/))&&(W(M).to-=F[0].length,M.push(new o(0,u-F[0].length,u)))),\"rtl\"==s?M.reverse():M}}();function ce(e,t){var n=e.order;return null==n&&(n=e.order=le(e.text,t)),n}var ue=[],fe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(\"on\"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||ue).concat(n)}};function pe(e,t){return e._handlers&&e._handlers[t]||ue}function de(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(\"on\"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return\"string\"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),he(e,n||t.type,e,t),Ee(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function ge(e,t){return pe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Te(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){be(e),Te(e)}function xe(e){return e.target||e.srcElement}function _e(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var ke,we,Ce=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function Se(e){if(null==ke){var t=N(\"span\",\"\u200B\");S(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(ke=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ke?N(\"span\",\"\u200B\"):N(\"span\",\"\u00A0\",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=we)return we;var t=S(e,document.createTextNode(\"A\u062EA\")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(we=r.right-n.right<3)}var De,Ie=3!=\"\\n\\nb\".split(/\\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(\"\\n\",t);-1==i&&(i=e.length);var o=e.slice(t,\"\\r\"==e.charAt(i-1)?i-1:i),a=o.indexOf(\"\\r\");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\\r\\n?|\\n/)},Ae=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},Le=\"oncopy\"in(De=N(\"div\"))||(De.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof De.oncopy),je=null,Fe={},Me={};function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function Pe(e){if(\"string\"==typeof e&&Me.hasOwnProperty(e))e=Me[e];else if(e&&\"string\"==typeof e.name&&Me.hasOwnProperty(e.name)){var t=Me[e.name];\"string\"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(e))return Pe(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Pe(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Ve(e,t){t=Pe(t);var n=Fe[t.name];if(!n)return Ve(e,\"text/plain\");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r[\"_\"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function Be(e,t){R(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function qe(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 He(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 ze(e,t,n){return!e.startState||e.startState(t,n)}var Ge=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ke(e,t){if((t-=e.first)<0||t>=e.size)throw new Error(\"There is no line \"+(t+e.first)+\" in the document.\");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function We(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Je(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function $e(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Xe(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,Ke(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,Ke(e,t.line).text.length)}function lt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}Ge.prototype.eol=function(){return this.pos>=this.string.length},Ge.prototype.sol=function(){return this.pos==this.lineStart},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(\"string\"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ge.prototype.skipToEnd=function(){this.pos=this.string.length},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ge.prototype.backUp=function(e){this.pos-=e},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=P(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.indentation=function(){return P(this.string,null,this.tabSize)-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.match=function(e,t,n){if(\"string\"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ft(e,t,n,r){var i=[e.state.modeGen],o={};Tt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Tt(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+\" \":\"\")+\"overlay \"+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function pt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=dt(e,Je(t)),i=t.text.length>e.options.maxHighlightLength&&qe(e.doc.mode,r.state),o=ft(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ut(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ke(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ct?c.lookAhead:0)<=o.modeFrontier))return s;var u=P(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&Ke(r,o-1).stateAfter,s=a?ut.fromSaved(r,a,o):new ut(r,ze(r.mode),o);return r.iter(o,t,(function(n){ht(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function ht(e,t,n,r){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,n);for(o.start=o.pos=r||0,\"\"==t&&mt(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=He(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=He(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error(\"Mode \"+e.name+\" failed to advance stream.\")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,\"\"),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ut.fromSaved=function(e,t,n){return t instanceof ct?new ut(e,qe(e.mode,t.state),n,t.lookAhead):new ut(e,qe(e.mode,t),n)},ut.prototype.save=function(e){var t=!1!==e?qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ke(a,(t=st(a,t)).line),c=dt(e,t.line,n),u=new Ge(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=vt(s,u,c.state),r&&o.push(new gt(u,i,qe(a.mode,c.state)));return r?o:new gt(u,i,c.state)}function bt(e,t){if(e)for(;;){var n=e.match(/(?:^|\\s+)line-(background-)?(\\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?\"bgClass\":\"textClass\";null==t[r]?t[r]=n[2]:new RegExp(\"(?:^|\\\\s)\"+n[2]+\"(?:$|\\\\s)\").test(t[r])||(t[r]+=\" \"+n[2])}return e}function Tt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ge(t,e.options.tabSize,r),p=e.options.addModeClass&&[null];for(\"\"==t&&bt(mt(n,r.state),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&ht(e,t,r,f.pos),f.pos=t.length,l=null):l=bt(vt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||u!=l){for(;c<f.start;)i(c=Math.min(f.start,c+5e3),u);u=l}f.start=f.pos}for(;c<f.pos;){var h=Math.min(f.pos,c+5e3);i(h,u),c=h}}var Et=!1,Ot=!1;function xt(e,t,n){this.marker=e,this.from=t,this.to=n}function _t(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function kt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function wt(e,t){if(t.full)return null;var n=Xe(e,t.from.line)&&Ke(e,t.from.line).markedSpans,r=Xe(e,t.to.line)&&Ke(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&\"bookmark\"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new xt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&\"bookmark\"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new xt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=W(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=_t(l,p.marker);d?c&&(p.to=null==d.to?null:d.to+u):p.to=i}}if(l)for(var h=0;h<l.length;++h){var m=l[h];null!=m.to&&(m.to+=u),null==m.from?_t(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=Ct(s)),l&&l!=s&&(l=Ct(l));var v=[s];if(!c){var g,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(g||(g=[])).push(new xt(s[b].marker,null,null));for(var T=0;T<y;++T)v.push(g);v.push(l)}return v}function Ct(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function St(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Nt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Dt(e){return e.inclusiveLeft?-1:0}function It(e){return e.inclusiveRight?1:0}function At(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||Dt(e)-Dt(t);if(o)return-o;var a=tt(r.to,i.to)||It(e)-It(t);return a||t.id-e.id}function Lt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||At(n,i.marker)<0)&&(n=i.marker);return n}function jt(e){return Lt(e,!0)}function Ft(e){return Lt(e,!1)}function Mt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||At(n,o.marker)<0)&&(n=o.marker)}return n}function Rt(e,t,n,r,i){var o=Ke(e,t),a=Ot&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=tt(c.from,n)||Dt(l.marker)-Dt(i),f=tt(c.to,r)||It(l.marker)-It(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.to,n)>=0:tt(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.from,r)<=0:tt(c.from,r)<0)))return!0}}}function Pt(e){for(var t;t=jt(e);)e=t.find(-1,!0).line;return e}function Vt(e,t){var n=Ke(e,t),r=Pt(n);return n==r?t:Je(r)}function Ut(e,t){if(t>e.lastLine())return t;var n,r=Ke(e,t);if(!Bt(e,r))return t;for(;n=Ft(r);)r=n.find(1,!0).line;return Je(r)+1}function Bt(e,t){var n=Ot&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&qt(e,t,r))return!0}}function qt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return qt(e,r.line,_t(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&qt(e,t,i))return!0}function Ht(e){for(var t=0,n=(e=Pt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function zt(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=jt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Ft(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Gt(e){var t=e.display,n=e.doc;t.maxLine=Ke(n,n.first),t.maxLineLength=zt(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=zt(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Kt=function(e,t,n){this.text=e,Nt(this,t),this.height=n?n(this):1};function Qt(e){e.parent=null,St(e)}Kt.prototype.lineNo=function(){return Je(this)},ye(Kt);var Wt={},Yt={};function Jt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Yt:Wt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function $t(e,t){var n=D(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:D(\"pre\",[n],\"CodeMirror-line\"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(\"lineWrapping\")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Zt,Ne(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,pt(e,o,t!=e.display.externalMeasured&&Je(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=j(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=j(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Se(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\\bcm-tab\\b/.test(s.className)||s.querySelector&&s.querySelector(\".cm-tab\"))&&(r.content.className=\"cm-tab-wrap-hack\")}return he(e,\"renderLine\",e,t.line,r.pre),r.pre.className&&(r.textClass=j(r.pre.className,r.textClass||\"\")),r}function Xt(e){var t=N(\"span\",\"\u2022\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Zt(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e;for(var n=t,r=\"\",i=0;i<e.length;i++){var o=e.charAt(i);\" \"!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=\"\u00A0\"),r+=o,n=\" \"==o}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){c=document.createDocumentFragment();for(var d=0;;){f.lastIndex=d;var h=f.exec(t),m=h?h.index-d:t.length-d;if(m){var v=document.createTextNode(u.slice(d,d+m));a&&s<9?c.appendChild(N(\"span\",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var g=void 0;if(\"\\t\"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(g=c.appendChild(N(\"span\",Q(b),\"cm-tab\"))).setAttribute(\"role\",\"presentation\"),g.setAttribute(\"cm-text\",\"\\t\"),e.col+=b}else\"\\r\"==h[0]||\"\\n\"==h[0]?((g=c.appendChild(N(\"span\",\"\\r\"==h[0]?\"\u240D\":\"\u2424\",\"cm-invalidchar\"))).setAttribute(\"cm-text\",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute(\"cm-text\",h[0]),a&&s<9?c.appendChild(N(\"span\",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||o){var T=n||\"\";r&&(T+=r),i&&(T+=i);var E=N(\"span\",[c],T,o);if(l)for(var O in l)l.hasOwnProperty(O)&&\"style\"!=O&&\"class\"!=O&&E.setAttribute(O,l[O]);return e.content.appendChild(E)}e.content.appendChild(c)}}function en(e,t){return function(n,r,i,o,a,s,l){i=i?i+\" cm-force-border\":\"cm-force-border\";for(var c=n.pos,u=c+r.length;;){for(var f=void 0,p=0;p<t.length&&!((f=t[p]).to>c&&f.from<=c);p++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function tn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement(\"span\"))),i.setAttribute(\"cm-marker\",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,p,d=i.length,h=0,m=1,v=\"\",g=0;;){if(g==h){l=c=u=s=\"\",p=null,f=null,g=1/0;for(var y=[],b=void 0,T=0;T<r.length;++T){var E=r[T],O=E.marker;if(\"bookmark\"==O.type&&E.from==h&&O.widgetNode)y.push(O);else if(E.from<=h&&(null==E.to||E.to>h||O.collapsed&&E.to==h&&E.from==h)){if(null!=E.to&&E.to!=h&&g>E.to&&(g=E.to,c=\"\"),O.className&&(l+=\" \"+O.className),O.css&&(s=(s?s+\";\":\"\")+O.css),O.startStyle&&E.from==h&&(u+=\" \"+O.startStyle),O.endStyle&&E.to==g&&(b||(b=[])).push(O.endStyle,E.to),O.title&&((p||(p={})).title=O.title),O.attributes)for(var x in O.attributes)(p||(p={}))[x]=O.attributes[x];O.collapsed&&(!f||At(f.marker,O)<0)&&(f=E)}else E.from>h&&g>E.from&&(g=E.from)}if(b)for(var _=0;_<b.length;_+=2)b[_+1]==g&&(c+=\" \"+b[_]);if(!f||f.from==h)for(var k=0;k<y.length;++k)tn(t,0,y[k]);if(f&&(f.from||0)==h){if(tn(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;for(var w=Math.min(d,g);;){if(v){var C=h+v.length;if(!f){var S=C>w?v.slice(0,w-h):v;t.addToken(t,S,a?a+l:l,u,h+S.length==g?c:\"\",s,p)}if(C>=w){v=v.slice(w-h),h=w;break}h=C,u=\"\"}v=i.slice(o,o=n[m++]),a=Jt(n[m++],t.cm.options)}}else for(var N=1;N<n.length;N+=2)t.addToken(t,i.slice(o,o=n[N]),Jt(n[N+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Ft(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Je(W(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Bt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,Ke(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function ln(e,t){var n=pe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],setTimeout(cn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function cn(){var e=sn;sn=null;for(var t=0;t<e.length;++t)e[t]()}function un(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];\"text\"==o?dn(e,t):\"gutter\"==o?mn(e,t,n,r):\"class\"==o?hn(e,t):\"widget\"==o&&vn(e,t,r)}t.changes=null}function fn(e){return e.node==e.text&&(e.node=N(\"div\",null,null,\"position: relative\"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function pn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):$t(e,t)}function dn(e,t){var n=t.text.className,r=pn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,hn(e,t)):n&&(t.text.className=n)}function hn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+\" \"+(t.line.bgClass||\"\"):t.line.bgClass;if(n&&(n+=\" CodeMirror-linebackground\"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=fn(t);t.background=r.insertBefore(N(\"div\",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?fn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className=\"\");var n=t.textClass?t.textClass+\" \"+(t.line.textClass||\"\"):t.line.textClass;t.text.className=n||\"\"}function mn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=fn(t);t.gutterBackground=N(\"div\",null,\"CodeMirror-gutter-background \"+t.line.gutterClass,\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px; width: \"+r.gutterTotalWidth+\"px\"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=fn(t),s=t.gutter=N(\"div\",null,\"CodeMirror-gutter-wrapper\",\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px\");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=\" \"+t.line.gutterClass),!e.options.lineNumbers||o&&o[\"CodeMirror-linenumbers\"]||(t.lineNumber=s.appendChild(N(\"div\",Ze(e.options,n),\"CodeMirror-linenumber CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[\"CodeMirror-linenumbers\"]+\"px; width: \"+e.display.lineNumInnerWidth+\"px\"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(N(\"div\",[u],\"CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[c]+\"px; width: \"+r.gutterWidth[c]+\"px\"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=_(\"CodeMirror-linewidget\"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function gn(e,t,n,r){var i=pn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=fn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=N(\"div\",[l.node],\"CodeMirror-linewidget\"+(l.className?\" \"+l.className:\"\"));l.handleMouseEvents||c.setAttribute(\"cm-ignore-events\",\"true\"),Tn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),ln(l,\"redraw\")}}function Tn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+\"px\",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+\"px\"),t.style.width=i+\"px\"}e.coverGutter&&(t.style.zIndex=5,t.style.position=\"relative\",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+\"px\"))}function En(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!I(document.body,e.node)){var n=\"position: relative;\";e.coverGutter&&(n+=\"margin-left: -\"+t.display.gutters.offsetWidth+\"px;\"),e.noHScroll&&(n+=\"width: \"+t.display.wrapper.clientWidth+\"px;\"),S(t.display.measure,N(\"div\",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function On(e,t){for(var n=xe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&\"true\"==n.getAttribute(\"cm-ignore-events\")||n.parentNode==e.sizer&&n!=e.mover)return!0}function xn(e){return e.lineSpace.offsetTop}function _n(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function kn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=S(e.measure,N(\"pre\",\"x\",\"CodeMirror-line-like\")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function wn(e){return 50-e.display.nativeBarWidth}function Cn(e){return e.display.scroller.clientWidth-wn(e)-e.display.barWidth}function Sn(e){return e.display.scroller.clientHeight-wn(e)-e.display.barHeight}function Nn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Je(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Dn(e,t,n,r){return Ln(e,An(e,t),n,r)}function In(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ur(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function An(e,t){var n=Je(t),r=In(e,n);r&&!r.text?r=null:r&&r.changes&&(un(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Je(t=Pt(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=$t(e,r);return r.text=i.pre,S(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ln(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||\"\");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Cn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Mn(t.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&re(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Rn(k(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,f=\"right\"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=je)return je;var t=S(e,N(\"span\",\"x\")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return je=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+ir(e.display),top:h.top,bottom:h.bottom}:Fn}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(g<y[b]);b++);var T=b?y[b-1]:0,E=y[b],O={left:(\"right\"==f?i.right:i.left)-t.rect.left,right:(\"left\"==f?i.left:i.right)-t.rect.left,top:T,bottom:E};return i.left||i.right||(O.bogus=!0),e.options.singleCursorHeightPerLine||(O.rtop=m,O.rbottom=v),O}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var jn,Fn={left:0,right:0,top:0,bottom:0};function Mn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a=\"left\"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a=\"right\";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Rn(e,t){var n=Fn;if(\"left\"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Pn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Vn(e){e.display.externalMeasure=null,C(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Pn(e.display.view[t])}function Un(e){Vn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Bn(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function qn(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Hn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=En(e.widgets[n]));return t}function zn(e,t,n,r,i){if(!i){var o=Hn(t);n.top+=o,n.bottom+=o}if(\"line\"==r)return n;r||(r=\"local\");var a=Ht(t);if(\"local\"==r?a+=xn(e.display):a-=e.display.viewOffset,\"page\"==r||\"window\"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+(\"window\"==r?0:qn());var l=s.left+(\"window\"==r?0:Bn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function Gn(e,t,n){if(\"div\"==n)return t;var r=t.left,i=t.top;if(\"page\"==n)r-=Bn(),i-=qn();else if(\"local\"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Kn(e,t,n,r,i){return r||(r=Ke(e.doc,t.line)),zn(e,r,Dn(e,r,t.ch,i),n)}function Qn(e,t,n,r,i,o){function a(t,a){var s=Ln(e,i,t,a?\"right\":\"left\",o);return a?s.left=s.right:s.right=s.left,zn(e,r,s,n)}r=r||Ke(e.doc,t.line),i||(i=An(e,r));var s=ce(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c=\"before\"):l<=0&&(l=0,c=\"after\"),!s)return a(\"before\"==c?l-1:l,\"before\"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,c),p=ae,d=u(l,f,\"before\"==c);return null!=p&&(d.other=u(l,p,\"before\"!=c)),d}function Wn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=Ke(e.doc,t.line),i=Ht(r)+xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Yn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Jn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Yn(r.first,0,null,-1,-1);var i=$e(r,n),o=r.first+r.size-1;if(i>o)return Yn(r.first+r.size-1,Ke(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ke(r,i);;){var s=er(e,a,i,t,n),l=Mt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ke(r,i=c.line)}}function $n(e,t,n,r){r-=Hn(t);var i=t.text.length,o=oe((function(t){return Ln(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Ln(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=An(e,t)),$n(e,t,n,zn(e,t,Ln(e,n,r),\"line\").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=Ht(t);var o=An(e,t),a=Hn(t),s=0,l=t.text.length,c=!0,u=ce(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?nr:tr)(e,t,n,o,u,r,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var p,d,h=null,m=null,v=oe((function(t){var n=Ln(e,o,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left<m.right-r,b=y==c;v=h+(b?0:1),d=b?\"after\":\"before\",p=y?m.left:m.right}else{c||v!=l&&v!=s||v++,d=0==v?\"after\":v==t.text.length?\"before\":Ln(e,o,v-(c?1:0)).bottom+a<=i==c?\"after\":\"before\";var T=Qn(e,et(n,v,d),\"line\",t,o);p=T.left,g=i<T.top?-1:i>=T.bottom?1:0}return Yn(n,v=ie(t.text,v,1),d,g,r-p)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],c=1!=l.level;return Zn(Qn(e,et(n,c?l.to:l.from,c?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Qn(e,et(n,c?l.from:l.to,c?\"after\":\"before\"),\"line\",t,r);Zn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function nr(e,t,n,r,i,o,a){var s=$n(e,t,r,a),l=s.begin,c=s.end;/\\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=c||d.to<=l)){var h=Ln(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=h<o?o-h+1e9:h-o;(!u||f>m)&&(u=d,f=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==jn){jn=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)jn.appendChild(document.createTextNode(\"x\")),jn.appendChild(N(\"br\"));jn.appendChild(document.createTextNode(\"x\"))}S(e.measure,jn);var n=jn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");S(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(Bt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function lr(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ye(e,t)}))}function cr(e,t,n,r){var i=e.display;if(!n&&\"true\"==xe(t).getAttribute(\"cm-not-content\"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Jn(e,o,a);if(r&&c.xRel>0&&(l=Ke(e.doc,c.line).text).length==c.ch){var u=P(l,l.length,e.options.tabSize)-l.length;c=et(c.line,Math.max(0,Math.round((o-kn(e.display).left)/ir(e.display))-u))}return c}function ur(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function fr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ot&&Vt(e.doc,t)<i.viewTo&&dr(e);else if(n<=i.viewFrom)Ot&&Ut(e.doc,n+r)>i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=hr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=hr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=hr(e,t,t,-1),l=hr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):dr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function pr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[ur(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hr(e,t,n,r){var i,o=ur(e,t),a=e.display.view;if(!Ot||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Vt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),l||Tr(e,s,o)}}return r}function yr(e,t,n){var r=Qn(e,t,\"div\",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor\"));if(i.style.left=r.left+\"px\",i.style.top=r.top+\"px\",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+\"px\",r.other){var o=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor CodeMirror-secondarycursor\"));o.style.display=\"\",o.style.left=r.other.left+\"px\",o.style.top=r.other.top+\"px\",o.style.height=.85*(r.other.bottom-r.other.top)+\"px\"}}function br(e,t){return e.top-t.top||e.left-t.left}function Tr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=kn(e.display),s=a.left,l=Math.max(r.sizerWidth,Cn(e)-r.sizer.offsetLeft)-a.right,c=\"ltr\"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N(\"div\",null,\"CodeMirror-selected\",\"position: absolute; left: \"+e+\"px;\\n                             top: \"+t+\"px; width: \"+(null==n?l-e:n)+\"px;\\n                             height: \"+(r-t)+\"px\"))}function f(t,n,r){var o,a,f=Ke(i,t),p=f.text.length;function d(n,r){return Kn(e,et(t,n),\"div\",f,r)}function h(t,n,r){var i=Xn(e,f,null,t),o=\"ltr\"==n==(\"after\"==r)?\"left\":\"right\";return d(\"after\"==r?i.begin:i.end-(/\\s/.test(f.text.charAt(i.end-1))?2:1),o)[o]}var m=ce(f,i.direction);return function(e,t,n,r){if(!e)return r(t,n,\"ltr\",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?\"rtl\":\"ltr\",o),i=!0)}i||r(t,n,\"ltr\")}(m,n||0,null==r?p:r,(function(e,t,i,f){var v=\"ltr\"==i,g=d(e,v?\"left\":\"right\"),y=d(t-1,v?\"right\":\"left\"),b=null==n&&0==e,T=null==r&&t==p,E=0==f,O=!m||f==m.length-1;if(y.top-g.top<=3){var x=(c?T:b)&&O,_=(c?b:T)&&E?s:(v?g:y).left,k=x?l:(v?y:g).right;u(_,g.top,k-_,g.bottom)}else{var w,C,S,N;v?(w=c&&b&&E?s:g.left,C=c?l:h(e,i,\"before\"),S=c?s:h(t,i,\"after\"),N=c&&T&&O?l:y.right):(w=c?h(e,i,\"before\"):s,C=!c&&b&&E?l:g.right,S=!c&&T&&O?s:y.left,N=c?h(t,i,\"after\"):l),u(w,g.top,C-w,g.bottom),g.bottom<y.top&&u(s,g.bottom,null,y.top),u(S,y.top,N-S,y.bottom)}(!o||br(g,o)<0)&&(o=g),br(y,o)<0&&(o=y),(!a||br(g,a)<0)&&(a=g),br(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Ke(i,p.line),m=Ke(i,d.line),v=Pt(h)==Pt(m),g=f(p.line,p.ch,v?h.text.length+1:null).end,y=f(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(u(g.right,g.top,null,g.bottom),u(s,y.top,y.left,y.bottom)):u(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&u(s,g.bottom,null,y.top)}n.appendChild(o)}function Er(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility=\"\",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?\"\":\"hidden\"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility=\"hidden\")}}function Or(e){e.state.focused||(e.display.input.focus(),_r(e))}function xr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,kr(e))}),100)}function _r(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),\"nocursor\"!=e.options.readOnly&&(e.state.focused||(he(e,\"focus\",e,t),e.state.focused=!0,L(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Er(e))}function kr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,w(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function wr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-n,n=u}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var p=i.line.height-l;if((p>.005||p<-.005)&&(Ye(i.line,l),Cr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Cr(i.rest[d]);if(c>e.display.sizerWidth){var h=Math.ceil(c/ir(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Cr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function Sr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-xn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=$e(t,r),a=$e(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=$e(t,Ht(Ke(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=$e(t,Ht(Ke(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Nr(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Sn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+_n(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Cn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Dr(e,t){null!=t&&(Lr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ir(e){Lr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Lr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Lr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Wn(e,t.from),Wn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Nr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Fr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Mr(e,t,!0),n&&li(e),ri(e,100))}function Mr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+_n(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+wn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Vr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Vr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Vr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Vr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Vr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Vr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Vr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ur=function(){};function Br(e,t){t||(t=Pr(e));var n=e.display.barWidth,r=e.display.barHeight;qr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&wr(e),qr(e,Pr(e)),n=e.display.barWidth,r=e.display.barHeight}function qr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var Hr={native:Vr,null:Ur};function zr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&w(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Hr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Fr(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Gr=0;function Kr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gr},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Qr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{an=null,t(n)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Wr(t[n]);for(var r=0;r<t.length;r++)Yr(t[r]);for(var i=0;i<t.length;i++)Jr(t[i]);for(var o=0;o<t.length;o++)$r(t[o]);for(var a=0;a<t.length;a++)Xr(t[a])}(e)}))}function Wr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=wn(e)+\"px\",t.sizer.style.marginBottom=-t.nativeBarWidth+\"px\",t.sizer.style.borderRightWidth=wn(e)+\"px\",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Jr(e){var t=e.cm,n=t.display;e.updatedDisplay&&wr(t),e.barMeasure=Pr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Dn(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+wn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Cn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function $r(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft<t.doc.scrollLeft&&Rr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==A();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Br(t,e.barMeasure),e.updatedDisplay&&ui(t,e.barMeasure),e.selectionChanged&&Er(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Or(e.cm)}function Xr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Mr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Rr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,\"scrollCursorIntoView\")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"\u200B\",null,\"position: absolute;\\n                         top: \"+(t.top-n.viewOffset-xn(e.display))+\"px;\\n                         height: \"+(t.bottom-t.top+wn(e)+n.barHeight)+\"px;\\n                         left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==(t=t.ch?et(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?et(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Qn(e,t),l=n&&n!=t?Qn(e,n):s,c=Nr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Fr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Rr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||he(i[a],\"hide\");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&he(o[s],\"unhide\");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&he(t,\"changes\",t,e.changeObjs),e.update&&e.update.finish()}function Zr(e,t){if(e.curOp)return t();Kr(e);try{return t()}finally{Qr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kr(e);try{return t.apply(e,arguments)}finally{Qr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Kr(this);try{return e.apply(this,arguments)}finally{Qr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kr(t);try{return e.apply(this,arguments)}finally{Qr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,M(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?qe(t.mode,r.state):null,l=ft(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&ht(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Zr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],\"text\")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Sr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Cn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return dr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;pi(e)&&(dr(e),t.dims=or(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ot&&(o=Vt(e.doc,o),a=Ut(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(ur(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=Ht(Ke(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var c=mr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=A();if(!t||!I(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&I(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,f=0;f<c.length;f++){var p=c[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(U(p.changes,\"gutter\")>-1&&(d=!1),un(e,p,u,n)),d&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Ze(e.options,u)))),a=p.node.nextSibling}else{var h=gn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=A()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&I(document.body,e.anchorNode)&&I(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Cn(e))r&&(t.visible=Sr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+_n(e.display)-Sn(e),n.top)}),t.visible=Sr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;wr(e);var i=Pr(e);vr(e),Br(e,i),ui(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){wr(e),si(e,n);var r=Pr(e);vr(e),Br(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\"}function ui(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+wn(e)+\"px\"}function fi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+\"px\")}}function pi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Ze(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(N(\"div\",[N(\"div\",n)],\"CodeMirror-linenumber CodeMirror-gutter-elt\")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width=\"\",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+\"px\",ci(e.display),!0}return!1}function di(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if(\"string\"!=typeof o&&(a=o.style,o=o.className),\"CodeMirror-linenumbers\"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:\"CodeMirror-linenumbers\",style:null}),n}function hi(e){var t=e.gutters,n=e.gutterSpecs;C(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(N(\"div\",null,\"CodeMirror-gutter \"+o));a&&(s.style.cssText=a),\"CodeMirror-linenumbers\"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+\"px\")}t.style.display=n.length?\"\":\"none\",ci(e)}function mi(e){hi(e.display),fr(e),fi(e)}function vi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=N(\"div\",null,\"CodeMirror-scrollbar-filler\"),o.scrollbarFiller.setAttribute(\"cm-not-content\",\"true\"),o.gutterFiller=N(\"div\",null,\"CodeMirror-gutter-filler\"),o.gutterFiller.setAttribute(\"cm-not-content\",\"true\"),o.lineDiv=D(\"div\",null,\"CodeMirror-code\"),o.selectionDiv=N(\"div\",null,null,\"position: relative; z-index: 1\"),o.cursorDiv=N(\"div\",null,\"CodeMirror-cursors\"),o.measure=N(\"div\",null,\"CodeMirror-measure\"),o.lineMeasure=N(\"div\",null,\"CodeMirror-measure\"),o.lineSpace=D(\"div\",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,\"position: relative; outline: none\");var c=D(\"div\",[o.lineSpace],\"CodeMirror-lines\");o.mover=N(\"div\",[c],null,\"position: relative\"),o.sizer=N(\"div\",[o.mover],\"CodeMirror-sizer\"),o.sizerWidth=null,o.heightForcer=N(\"div\",null,null,\"position: absolute; height: 50px; width: 1px;\"),o.gutters=N(\"div\",null,\"CodeMirror-gutters\"),o.lineGutter=null,o.scroller=N(\"div\",[o.sizer,o.heightForcer,o.gutters],\"CodeMirror-scroll\"),o.scroller.setAttribute(\"tabIndex\",\"-1\"),o.wrapper=N(\"div\",[o.scrollbarFiller,o.gutterFiller,o.scroller],\"CodeMirror\"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=di(i.gutters,i.lineNumbers),hi(o),r.init(o)}oi.prototype.signal=function(e,t){ge(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var gi=0,yi=null;function bi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Ti(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function Ei(e,t){var r=bi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==p){e.display.currentWheelTarget=p;break e}if(i&&!n&&!f&&null!=yi)return o&&u&&Fr(e,Math.max(0,s.scrollTop+o*yi)),Rr(e,Math.max(0,s.scrollLeft+i*yi)),(!o||o&&u)&&be(t),void(a.wheelStartX=null);if(o&&null!=yi){var m=o*yi,v=e.doc.scrollTop,g=v+a.wrapper.clientHeight;m<0?v=Math.max(0,v+m-50):g=Math.min(e.doc.height,g+m+50),li(e,{top:v,bottom:g})}gi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(yi=(yi*gi+n)/(gi+1),++gi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?yi=-.53:n?yi=15:u?yi=-.7:p&&(yi=-1/3);var Oi=function(e,t){this.ranges=e,this.primIndex=t};Oi.prototype.primary=function(){return this.ranges[this.primIndex]},Oi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},Oi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new xi(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new Oi(e,this.primIndex)},Oi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Oi.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var xi=function(e,t){this.anchor=e,this.head=t};function _i(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ot(s.from(),a.from()),u=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new xi(f?u:c,f?c:u))}}return new Oi(t,n)}function ki(e,t){return new Oi([new xi(e,t||e)],0)}function wi(e){return e.text?et(e.from.line+e.text.length-1,W(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Ci(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return wi(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+=wi(t).ch-t.to.ch),et(n,r)}function Si(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new xi(Ci(i.anchor,t),Ci(i.head,t)))}return _i(e.cm,n,e.sel.primIndex)}function Ni(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Di(e){e.doc.mode=Ve(e.options,e.doc.modeOption),Ii(e)}function Ii(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&fr(e)}function Ai(e,t){return 0==t.from.ch&&0==t.to.ch&&\"\"==W(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Li(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),St(e),Nt(e,n);var i=r?r(e):1;i!=e.height&&Ye(e,i)}(e,n,i,r),ln(e,\"change\",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Kt(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ke(e,s.line),f=Ke(e,l.line),p=W(c),d=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ai(e,t)){var m=a(0,c.length-1);o(f,f.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),d);else{var v=a(1,c.length-1);v.push(new Kt(p+u.text.slice(l.ch),d,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,p+f.text.slice(l.ch),d);var g=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}ln(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Fi(e,t){if(t.cm)throw new Error(\"This document is already in use.\");e.doc=t,t.cm=e,lr(e),Di(e),Mi(e),e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fr(e)}function Mi(e){(\"rtl\"==e.doc.direction?L:w)(e.display.lineDiv,\"CodeMirror-rtl\")}function Ri(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Pi(e,t){var n={from:rt(t.from),to:wi(t),text:Qe(e,t.from,t.to)};return Hi(e,n,t.from.line,t.to.line+1),ji(e,(function(e){return Hi(e,n,t.from.line,t.to.line+1)}),!0),n}function Vi(e){for(;e.length&&W(e).ranges;)e.pop()}function Ui(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(\"+\"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Vi(e.done),W(e.done)):e.done.length&&!W(e.done).ranges?W(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),W(e.done)):void 0}(i,i.lastOp==r)))a=W(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=wi(t):o.changes.push(Pi(e,t));else{var l=W(i.done);for(l&&l.ranges||qi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function Bi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,W(i.done),t))?i.done[i.done.length-1]=t:qi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Vi(i.undone)}function qi(e,t){var n=W(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Hi(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 zi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Gi(e,t){var n=function(e,t){var n=t[\"spans_\"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(zi(n[i]));return r}(e,t),r=wt(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Ki(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Oi.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\\d+)$/))&&U(t,Number(u[1]))>-1&&(W(s)[f]=c[f],delete c[f])}}}return r}function Qi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new xi(i,t)}return new xi(n||t,t)}function Wi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Zi(e,new Oi([Qi(e.sel.primary(),t,n,i)],0),r)}function Yi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Qi(e.sel.ranges[o],t[o],null,i);Zi(e,_i(e.cm,r,e.sel.primIndex),n)}function Ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Zi(e,_i(e.cm,i,e.sel.primIndex),r)}function $i(e,t,n,r){Zi(e,ki(t,n),r)}function Xi(e,t,n){var r=e.history.done,i=W(r);i&&i.ranges?(r[r.length-1]=t,eo(e,t,n)):Zi(e,t,n)}function Zi(e,t,n){eo(e,t,n),Bi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function eo(e,t,n){(ge(e,\"beforeSelectionChange\")||e.cm&&ge(e.cm,\"beforeSelectionChange\"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new xi(st(e,t[n].anchor),st(e,t[n].head))},origin:n&&n.origin};return he(e,\"beforeSelectionChange\",e,r),e.cm&&he(e.cm,\"beforeSelectionChange\",e.cm,r),r.ranges!=t.ranges?_i(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,ro(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Ir(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),ln(e,\"cursorActivity\",e))}function no(e){to(e,ro(e,e.sel,null,!1))}function ro(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=oo(e,a.anchor,s&&s.anchor,n,r),c=oo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new xi(l,c))}return i?_i(e.cm,i,t.primIndex):t}function io(e,t,n,r,i){var o=Ke(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c=\"selectLeft\"in l?!l.selectLeft:l.inclusiveLeft,u=\"selectRight\"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(f=ao(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=tt(f,n))&&(r<0?p<0:p>0))return io(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?c:u)&&(d=ao(e,d,r,d.line==t.line?o:null)),d?io(e,d,t,r,i):null}}return t}function oo(e,t,n,r,i){var o=r||1,a=io(e,t,n,o,i)||!i&&io(e,t,n,o,!0)||io(e,t,n,-o,i)||!i&&io(e,t,n,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function ao(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||Ke(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function so(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),q)}function lo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=st(e,t)),n&&(r.to=st(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),he(e,\"beforeChange\",e,r),e.cm&&he(e.cm,\"beforeChange\",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function co(e,t,n){if(e.cm){if(!e.cm.curOp)return ei(e.cm,co)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"))||(t=lo(e,t,!0))){var r=Et&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(tt(c.to,s.from)<0||tt(c.from,s.to)>0)){var u=[l,1],f=tt(c.from,s.from),p=tt(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)uo(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=tt(t.from,t.to)){var n=Si(e,t);Ui(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,wt(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(yo(e.history,t),r.push(e.history)),ho(e,t,null,wt(e,t))}))}}function fo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(qi(i,l),n&&!i.equals(e.sel))return void Zi(e,i,{clearRedo:!1});a=i}var u=[];qi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"),p=function(n){var r=i.changes[n];if(r.origin=t,f&&!lo(e,r,!1))return s.length=0,{};u.push(Pi(e,r));var o=n?Si(e,r):W(s);ho(e,r,o,Gi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:wi(r)});var a=[];ji(e,(function(e,t){t||-1!=U(a,e.history)||(yo(e.history,r),a.push(e.history)),ho(e,r,null,Gi(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Oi(Y(e.sel.ranges,(function(e){return new xi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){fr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)pr(e.cm,r,\"gutter\")}}function ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(e,t,n,r);if(t.to.line<e.first)po(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);po(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[W(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ke(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=Si(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Je(Pt(Ke(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Li(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=zt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ke(e,r).stateAfter;if(i&&(!(i instanceof ct)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fr(e):o.line!=a.line||1!=t.text.length||Ai(e.doc,t)?fr(e,o.line,a.line+1,c):pr(e,o.line,\"text\");var u=ge(e,\"changes\"),f=ge(e,\"change\");if(f||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ln(e,\"change\",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Li(e,t,r),eo(e,n,q),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function mo(e,t,n,r,i){var o;r||(r=n),tt(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),\"string\"==typeof t&&(t=e.splitLines(t)),co(e,{from:n,to:r,text:t,origin:i})}function vo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function go(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)vo(o.ranges[s].anchor,t,n,r),vo(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=et(c.from.line+r,c.from.ch),c.to=et(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function yo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;go(e.done,n,r,i),go(e.undone,n,r,i)}function bo(e,t,n,r){var i=t,o=t;return\"number\"==typeof t?o=Ke(e,at(e,t)):i=Je(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function To(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function Eo(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}xi.prototype.from=function(){return ot(this.anchor,this.head)},xi.prototype.to=function(){return it(this.anchor,this.head)},xi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},To.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Qt(i),ln(i,\"delete\")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},Eo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof To))){var s=[];this.collapse(s),this.children=[new To(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new To(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new Eo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=U(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new Eo(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Oo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function xo(e,t,n){Ht(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Dr(e,n)}Oo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Je(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=En(this);Ye(n,Math.max(0,n.height-o)),e&&(Zr(e,(function(){xo(e,n,-o),pr(e,r,\"widget\")})),ln(e,\"lineWidgetCleared\",e,this,r))}},Oo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=En(this)-t;i&&(Bt(this.doc,r)||Ye(r,r.height+i),n&&Zr(n,(function(){n.curOp.forceUpdate=!0,xo(n,r,i),ln(n,\"lineWidgetChanged\",n,e,Je(r))})))},ye(Oo);var _o=0,ko=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++_o};function wo(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=R(r)).shared=!1;var o=[wo(e,t,n,r,i)],a=o[0],s=r.widgetNode;return ji(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(wo(e,st(e,t),st(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=W(o)})),new Co(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,wo)(e,t,n,r,i);var o=new ko(e,i),a=tt(t,n);if(r&&R(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");Ot=!0}o.addToHistory&&Ui(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Pt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new xt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Bt(e,t)&&Ye(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++_o,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)pr(c,u,\"text\");o.atomic&&no(c.doc),ln(c,\"markerAdded\",c,o)}return o}ko.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kr(e),ge(this,\"clear\")){var n=this.find();n&&ln(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=_t(a.markedSpans,this);e&&!this.collapsed?pr(e,Je(a),\"text\"):e&&(null!=s.to&&(i=Je(a)),null!=s.from&&(r=Je(a))),a.markedSpans=kt(a.markedSpans,s),null==s.from&&this.collapsed&&!Bt(this.doc,a)&&e&&Ye(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Pt(this.lines[l]),u=zt(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&fr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&no(e.doc)),e&&ln(e,\"markerCleared\",e,this,r,i),t&&Qr(e),this.parent&&this.parent.clear()}},ko.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=_t(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Je(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Je(o),a.to),1==e))return r}return n&&{from:n,to:r}},ko.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Zr(r,(function(){var i=t.line,o=Je(t.line),a=In(r,o);if(a&&(Pn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!Bt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=En(n)-s;l&&Ye(i,i.height+l)}ln(r,\"markerChanged\",r,e)}))},ko.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ko.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(ko);var Co=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function So(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function No(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];ji(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}Co.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ln(this,\"clear\")}},Co.prototype.find=function(e,t){return this.primary.find(e,t)},ye(Co);var Do=0,Io=function(e,t,n,r,i){if(!(this instanceof Io))return new Io(e,t,n,r,i);null==n&&(n=0),Eo.call(this,[new To([new Kt(\"\",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=et(n,0);this.sel=ki(o),this.history=new Ri(null),this.id=++Do,this.modeOption=t,this.lineSep=r,this.direction=\"rtl\"==i?\"rtl\":\"ltr\",this.extend=!1,\"string\"==typeof e&&(e=this.splitLines(e)),Li(this,{from:o,to:o,text:e}),Zi(this,ki(o),q)};Io.prototype=$(Eo.prototype,{constructor:Io,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=We(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;co(this,{from:t,to:et(n,Ke(this,n).text.length),text:this.splitLines(e),origin:\"setValue\",full:!0},!0),this.cm&&Ar(this.cm,0,0),Zi(this,ki(t),q)})),replaceRange:function(e,t,n,r){mo(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,st(this,e),st(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Xe(this,e))return Ke(this,e)},getLineNumber:function(e){return Je(e)},getLineHandleVisualStart:function(e){return\"number\"==typeof e&&(e=Ke(this,e)),Pt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||\"head\"==e?t.head:\"anchor\"==e?t.anchor:\"end\"==e||\"to\"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ni((function(e,t,n){$i(this,st(this,\"number\"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){$i(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Wi(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){Yi(this,lt(this,e),t)})),extendSelectionsBy:ni((function(e,t){Yi(this,lt(this,Y(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new xi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Zi(this,_i(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new xi(st(this,e),st(this,t||e))),Zi(this,_i(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||\"+input\")},replaceSelections:ni((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&\"end\"!=t&&function(e,t,n){for(var r=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ni(s.from,i,o),c=Ni(wi(s),i,o);if(i=s.to,o=c,\"around\"==n){var u=e.sel.ranges[a],f=tt(u.head,u.anchor)<0;r[a]=new xi(f?c:l,f?l:c)}else r[a]=new xi(l,l)}return new Oi(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)co(this,r[l]);s?Xi(this,s):this.cm&&Ir(this.cm)})),undo:ni((function(){fo(this,\"undo\")})),redo:ni((function(){fo(this,\"redo\")})),undoSelection:ni((function(){fo(this,\"undo\",!0)})),redoSelection:ni((function(){fo(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Ri(this.history.maxGeneration),ji(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ki(this.history.done),undone:Ki(this.history.undone)}},setHistory:function(e){var t=this.history=new Ri(this.history.maxGeneration);t.done=Ki(e.done.slice(0),null,!0),t.undone=Ki(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return bo(this,e,\"gutter\",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&bo(t,n,\"gutter\",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if(\"number\"==typeof e){if(!Xe(this,e))return null;if(t=e,!(e=Ke(this,e)))return null}else if(null==(t=Je(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\";if(e[r]){if(_(n).test(e[r]))return!1;e[r]+=\" \"+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(_(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?\" \":\"\")+i.slice(a)||null}return!0}))})),addLineWidget:ni((function(e,t,n){return function(e,t,n,r){var i=new Oo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),bo(e,t,\"widget\",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Bt(e,t)){var r=Ht(t)<e.scrollTop;Ye(t,t.height+En(i)),r&&Dr(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&ln(o,\"lineWidgetAdded\",o,i,\"number\"==typeof t?t:Je(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return wo(this,st(this,e),st(this,t),n,n&&n.type||\"range\")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return wo(this,e=st(this,e),e,n,\"bookmark\")},findMarksAt:function(e){var t=[],n=Ke(this,(e=st(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new Io(We(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Io(We(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=wo(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,So(this)),r},unlinkDoc:function(e){if(e instanceof Ca&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),No(So(this));break}if(e.history==this.history){var n=[e.id];ji(e,(function(e){return n.push(e.id)}),!0),e.history=new Ri(null),e.history.done=Ki(this.history.done,n),e.history.undone=Ki(this.history.undone,n)}},iterLinkedDocs:function(e){ji(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ie(e)},lineSeparator:function(){return this.lineSep||\"\\n\"},setDirection:ni((function(e){var t;\"rtl\"!=e&&(e=\"ltr\"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Zr(t=this.cm,(function(){Mi(t),fr(t)})))}))}),Io.prototype.eachLine=Io.prototype.iter;var Ao=0;function Lo(e){var t=this;if(jo(t),!me(t,e)&&!On(t.display,e)){be(e),a&&(Ao=+new Date);var n=cr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&ei(t,(function(){var e={from:n=st(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:\"paste\"};co(t.doc,e),Xi(t.doc,ki(st(t.doc,n),st(t.doc,wi(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),eo(t.doc,ki(n,n)),p)for(var d=0;d<p.length;++d)mo(t.doc,\"\",p[d].anchor,p[d].head,\"drag\");t.replaceSelection(f,\"around\",\"paste\"),t.display.input.focus()}}catch(e){}}}}function jo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Fo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName(\"CodeMirror\"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Mo=!1;function Ro(){var e;Mo||(fe(window,\"resize\",(function(){null==e&&(e=setTimeout((function(){e=null,Fo(Po)}),100))})),fe(window,\"blur\",(function(){return Fo(kr)})),Mo=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Vo={3:\"Pause\",8:\"Backspace\",9:\"Tab\",13:\"Enter\",16:\"Shift\",17:\"Ctrl\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Esc\",32:\"Space\",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"Left\",38:\"Up\",39:\"Right\",40:\"Down\",44:\"PrintScrn\",45:\"Insert\",46:\"Delete\",59:\";\",61:\"=\",91:\"Mod\",92:\"Mod\",93:\"Mod\",106:\"*\",107:\"=\",109:\"-\",110:\".\",111:\"/\",145:\"ScrollLock\",173:\"-\",186:\";\",187:\"=\",188:\",\",189:\"-\",190:\".\",191:\"/\",192:\"`\",219:\"[\",220:\"\\\\\",221:\"]\",222:\"'\",224:\"Mod\",63232:\"Up\",63233:\"Down\",63234:\"Left\",63235:\"Right\",63272:\"Delete\",63273:\"Home\",63275:\"End\",63276:\"PageUp\",63277:\"PageDown\",63302:\"Insert\"},Uo=0;Uo<10;Uo++)Vo[Uo+48]=Vo[Uo+96]=String(Uo);for(var Bo=65;Bo<=90;Bo++)Vo[Bo]=String.fromCharCode(Bo);for(var qo=1;qo<=12;qo++)Vo[qo+111]=Vo[qo+63235]=\"F\"+qo;var Ho={};function zo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error(\"Unrecognized modifier name: \"+s);r=!0}}return t&&(e=\"Alt-\"+e),n&&(e=\"Ctrl-\"+e),i&&(e=\"Cmd-\"+e),r&&(e=\"Shift-\"+e),e}function Go(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if(\"...\"==r){delete e[n];continue}for(var i=Y(n.split(\" \"),zo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(\" \"),a=r):(s=i.slice(0,o+1).join(\" \"),a=\"...\");var l=t[s];if(l){if(l!=a)throw new Error(\"Inconsistent bindings for \"+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Ko(e,t,n,r){var i=(t=Jo(t)).call?t.call(e,r):t[e];if(!1===i)return\"nothing\";if(\"...\"===i)return\"multi\";if(null!=i&&n(i))return\"handled\";if(t.fallthrough){if(\"[object Array]\"!=Object.prototype.toString.call(t.fallthrough))return Ko(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Ko(e,t.fallthrough[o],n,r);if(a)return a}}}function Qo(e){var t=\"string\"==typeof e?e:Vo[e.keyCode];return\"Ctrl\"==t||\"Alt\"==t||\"Shift\"==t||\"Mod\"==t}function Wo(e,t,n){var r=e;return t.altKey&&\"Alt\"!=r&&(e=\"Alt-\"+e),(O?t.metaKey:t.ctrlKey)&&\"Ctrl\"!=r&&(e=\"Ctrl-\"+e),(O?t.ctrlKey:t.metaKey)&&\"Mod\"!=r&&(e=\"Cmd-\"+e),!n&&t.shiftKey&&\"Shift\"!=r&&(e=\"Shift-\"+e),e}function Yo(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Vo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wo(n,e,t))}function Jo(e){return\"string\"==typeof e?Ho[e]:e}function $o(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,W(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Zr(e,(function(){for(var t=r.length-1;t>=0;t--)mo(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Ir(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?\"after\":\"before\")}function ea(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?W(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var c=An(t,n);a=i<0?n.text.length-1:0;var u=Ln(t,c,a).top;a=oe((function(e){return Ln(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,l)}}return new et(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}Ho.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},Ho.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},Ho.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Alt-F\":\"goWordRight\",\"Alt-B\":\"goWordLeft\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-D\":\"delWordAfter\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},Ho.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},Ho.default=y?Ho.macDefault:Ho.pcDefault;var ta={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),q)},killLine:function(e){return $o(e,(function(t){if(t.empty()){var n=Ke(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return $o(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return $o(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5;return{from:e.coordsChar({left:0,top:n},\"div\"),to:t.from()}}))},delWrappedLineRight:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head.line)}),{origin:\"+move\",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:\"+move\",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=Ke(e.doc,t),r=function(e){for(var t;t=Ft(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Je(r)),ea(!0,e,n,t,-1)}(e,t.head.line)}),{origin:\"+move\",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\")}),z)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:0,top:n},\"div\")}),z)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5,r=e.coordsChar({left:0,top:n},\"div\");return r.ch<e.getLine(r.line).search(/\\S/)?ra(e,t.head):r}),z)},goLineUp:function(e){return e.moveV(-1,\"line\")},goLineDown:function(e){return e.moveV(1,\"line\")},goPageUp:function(e){return e.moveV(-1,\"page\")},goPageDown:function(e){return e.moveV(1,\"page\")},goCharLeft:function(e){return e.moveH(-1,\"char\")},goCharRight:function(e){return e.moveH(1,\"char\")},goColumnLeft:function(e){return e.moveH(-1,\"column\")},goColumnRight:function(e){return e.moveH(1,\"column\")},goWordLeft:function(e){return e.moveH(-1,\"word\")},goGroupRight:function(e){return e.moveH(1,\"group\")},goGroupLeft:function(e){return e.moveH(-1,\"group\")},goWordRight:function(e){return e.moveH(1,\"word\")},delCharBefore:function(e){return e.deleteH(-1,\"char\")},delCharAfter:function(e){return e.deleteH(1,\"char\")},delWordBefore:function(e){return e.deleteH(-1,\"word\")},delWordAfter:function(e){return e.deleteH(1,\"word\")},delGroupBefore:function(e){return e.deleteH(-1,\"group\")},delGroupAfter:function(e){return e.deleteH(1,\"group\")},indentAuto:function(e){return e.indentSelection(\"smart\")},indentMore:function(e){return e.indentSelection(\"add\")},indentLess:function(e){return e.indentSelection(\"subtract\")},insertTab:function(e){return e.replaceSelection(\"\\t\")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=P(e.getLine(o.line),o.ch,r);t.push(Q(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection(\"add\"):e.execCommand(\"insertTab\")},transposeChars:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ke(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ke(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new xi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Ir(e)}))},openLine:function(e){return e.replaceSelection(\"\\n\",\"start\")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function na(e,t){var n=Ke(e.doc,t),r=Pt(n);return r!=n&&(t=Je(r)),ea(!0,e,r,t,1)}function ra(e,t){var n=na(e,t.line),r=Ke(e.doc,n.line),i=ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return et(n.line,a?0:o,n.sticky)}return n}function ia(e,t,n){if(\"string\"==typeof t&&!(t=ta[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=B}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var oa=new V;function aa(e,t,n,r){var i=e.state.keySeq;if(i){if(Qo(t))return\"handled\";if(/\\'$/.test(t)?e.state.keySeq=null:oa.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),sa(e,i+\" \"+t,n,r))return!0}return sa(e,t,n,r)}function sa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Ko(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Ko(t,e.options.extraKeys,n,e)||Ko(t,e.options.keyMap,n,e)}(e,t,r);return\"multi\"==i&&(e.state.keySeq=t),\"handled\"==i&&ln(e,\"keyHandled\",e,t,n),\"handled\"!=i&&\"multi\"!=i||(be(n),Er(e)),!!i}function la(e,t){var n=Yo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?aa(e,\"Shift-\"+n,t,(function(t){return ia(e,t,!0)}))||aa(e,n,t,(function(t){if(\"string\"==typeof t?/^go[A-Z]/.test(t):t.motion)return ia(e,t)})):aa(e,n,t,(function(t){return ia(e,t)})))}var ca=null;function ua(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=A(),me(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=la(t,e);f&&(ca=i?r:null,i||88!=r||Le||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection(\"\",null,\"cut\")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand(\"cut\"),18!=r||/\\bCodeMirror-crosshair\\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(w(t,\"CodeMirror-crosshair\"),de(document,\"keyup\",n),de(document,\"mouseover\",n))}L(t,\"CodeMirror-crosshair\"),fe(document,\"keyup\",n),fe(document,\"mouseover\",n)}(t)}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||On(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ca)return ca=null,void be(e);if(!f||e.which&&!(e.which<10)||!la(t,e)){var i=String.fromCharCode(null==r?n:r);\"\\b\"!=i&&(function(e,t,n){return aa(e,\"'\"+n+\"'\",t,(function(t){return ia(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,ha,ma=function(e,t,n){this.time=e,this.pos=t,this.button=n};function va(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,On(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ba(t,e)){var r=cr(t,e),i=_e(e),o=r?function(e,t){var n=+new Date;return ha&&ha.compare(n,e,t)?(da=ha=null,\"triple\"):da&&da.compare(n,e,t)?(ha=new ma(n,e,t),da=null,\"double\"):(da=new ma(n,e,t),ha=null,\"single\")}(r,i):\"single\";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o=\"Click\";return\"double\"==r?o=\"Double\"+o:\"triple\"==r&&(o=\"Triple\"+o),aa(e,Wo(o=(1==t?\"Left\":2==t?\"Middle\":\"Right\")+o,i),i,(function(t){if(\"string\"==typeof t&&(t=ta[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=B}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(M(Or,e),0):e.curOp.focus=A();var i,o=function(e,t,n){var r=e.getOption(\"configureMouse\"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?\"rectangle\":\"single\"==t?\"char\":\"double\"==t?\"word\":\"line\"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&Ce&&!e.isReadOnly()&&\"single\"==n&&(i=c.contains(t))>-1&&(tt((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=ei(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,de(i.wrapper.ownerDocument,\"mouseup\",c),de(i.wrapper.ownerDocument,\"mousemove\",u),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",c),o||(be(t),r.addNew||Wi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,\"mouseup\",c),fe(i.wrapper.ownerDocument,\"mousemove\",u),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",c),xr(e),setTimeout((function(){return i.input.focus()}),20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;be(t);var a,s,l=o.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new xi(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(a=new xi(n,n)),n=cr(e,t,!0,!0),s=-1;else{var u=ga(e,n,r.unit);a=r.extend?Qi(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,Zi(o,_i(e,c.concat([a]),s),{scroll:!1,origin:\"*mouse\"})):c.length>1&&c[s].empty()&&\"char\"==r.unit&&!r.extend?(Zi(o,_i(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:\"*mouse\"}),l=o.sel):Ji(o,s,a,H):(s=0,Zi(o,new Oi([a],0),H),l=o.sel);var f=n;function p(t){if(0!=tt(f,t))if(f=t,\"rectangle\"==r.unit){for(var i=[],c=e.options.tabSize,u=P(Ke(o,n.line).text,n.ch,c),p=P(Ke(o,t.line).text,t.ch,c),d=Math.min(u,p),h=Math.max(u,p),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Ke(o,m).text,y=G(g,d,c);d==h?i.push(new xi(et(m,y),et(m,y))):g.length>y&&i.push(new xi(et(m,y),et(m,G(g,h,c))))}i.length||i.push(new xi(n,n)),Zi(o,_i(e,l.ranges.slice(0,s).concat(i),s),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,T=a,E=ga(e,t,r.unit),O=T.anchor;tt(E.anchor,O)>0?(b=E.head,O=ot(T.from(),E.anchor)):(b=E.anchor,O=it(T.to(),E.head));var x=l.ranges.slice(0);x[s]=function(e,t){var n=t.anchor,r=t.head,i=Ke(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var p=o[c+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new xi(new et(n.line,h,m),r)}(e,new xi(st(o,O),b)),Zi(o,_i(e,x,s),H)}}var d=i.wrapper.getBoundingClientRect(),h=0;function m(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",v),de(i.wrapper.ownerDocument,\"mouseup\",g),o.history.lastSelOrigin=null}var v=ei(e,(function(t){0!==t.buttons&&_e(t)?function t(n){var a=++h,s=cr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=tt(s,f)){e.curOp.focus=A(),p(s);var l=Sr(i,o);(s.line>=l.to||s.line<l.from)&&setTimeout(ei(e,(function(){h==a&&t(n)})),150)}else{var c=n.clientY<d.top?-20:n.clientY>d.bottom?20:0;c&&setTimeout(ei(e,(function(){h==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):m(t)})),g=ei(e,m);e.state.selectingText=g,fe(i.wrapper.ownerDocument,\"mousemove\",v),fe(i.wrapper.ownerDocument,\"mouseup\",g)}(e,r,t,o)}(t,r,o,e):xe(e)==n.scroller&&be(e):2==i?(r&&Wi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(x?t.display.input.onContextMenu(e):xr(t)))}}function ga(e,t,n){if(\"char\"==n)return new xi(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new xi(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new xi(r.from,r.to)}function ya(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return Ee(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return he(e,n,e,$e(e.doc,o),e.display.gutterSpecs[l].className,t),Ee(t)}}function ba(e,t){return ya(e,t,\"gutterClick\",!0)}function Ta(e,t){On(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ya(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||x||e.display.input.onContextMenu(t)}function Ea(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Un(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var Oa={toString:function(){return\"CodeMirror.Init\"}},xa={},_a={};function ka(e,t,n){if(!t!=!(n&&n!=Oa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function wa(e){e.options.lineWrapping?(L(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(w(e.display.wrapper,\"CodeMirror-wrap\"),Gt(e)),lr(e),fr(e),Un(e),setTimeout((function(){return Br(e)}),100)}function Ca(e,t){var n=this;if(!(this instanceof Ca))return new Ca(e,t);this.options=t=t?R(t):{},R(xa,t,!1);var r=t.value;\"string\"==typeof r?r=new Io(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ca.inputStyles[t.inputStyle](this),o=this.display=new vi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ea(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),zr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",ei(e,va)),fe(t.scroller,\"dblclick\",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=cr(e,t);if(n&&!ba(e,t)&&!On(e.display,t)){be(t);var r=e.findWordAt(n);Wi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return Ta(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||Ta(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ba(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!On(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new xi(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new xi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Fr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return Ei(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return Ei(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Oe(t)},over:function(t){me(e,t)||(function(e,t){var n=cr(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),S(e.display.dragCursor,r)}}(e,t),Oe(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))Oe(t);else if(!me(e,t)&&!On(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,Lo),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return fa.call(e,t)})),fe(l,\"keydown\",ei(e,ua)),fe(l,\"keypress\",ei(e,pa)),fe(l,\"focus\",(function(t){return _r(e,t)})),fe(l,\"blur\",(function(t){return kr(e,t)}))}(this),Ro(),Kr(this),this.curOp.forceUpdate=!0,Fi(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout(M(_r,this),20):kr(this),_a)_a.hasOwnProperty(c)&&_a[c](this,t[c],Oa);pi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Sa.length;++u)Sa[u](this);Qr(this),l&&t.lineWrapping&&\"optimizelegibility\"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering=\"auto\")}Ca.defaults=xa,Ca.optionHandlers=_a;var Sa=[];function Na(e,t,n,r){var i,o=e.doc;null==n&&(n=\"add\"),\"smart\"==n&&(o.mode.indent?i=dt(e,t).state:n=\"prev\");var a=e.options.tabSize,s=Ke(o,t),l=P(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\\s*/)[0];if(r||/\\S/.test(s.text)){if(\"smart\"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==B||c>150)){if(!r)return;n=\"prev\"}}else c=0,n=\"not\";\"prev\"==n?c=t>o.first?P(Ke(o,t-1).text,null,a):0:\"add\"==n?c=l+e.options.indentUnit:\"subtract\"==n?c=l-e.options.indentUnit:\"number\"==typeof n&&(c=l+n),c=Math.max(0,c);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,f+=\"\\t\";if(p<c&&(f+=Q(c-p)),f!=u)return mo(o,f,et(t,0),et(t,u.length),\"+input\"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var m=o.sel.ranges[h];if(m.head.line==t&&m.head.ch<u.length){var v=et(t,u.length);Ji(o,h,new xi(v,v));break}}}Ca.defineInitHook=function(e){return Sa.push(e)};var Da=null;function Ia(e){Da=e}function Aa(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s=\"paste\"==i||e.state.pasteIncoming>a,l=Ie(t),c=null;if(s&&r.ranges.length>1)if(Da&&Da.text.join(\"\\n\")==t){if(r.ranges.length%Da.text.length==0){c=[];for(var u=0;u<Da.text.length;u++)c.push(o.splitLines(Da.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=r.ranges.length-1;p>=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=et(h.line,h.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(Ke(o,m.line).text.length,m.ch+W(l).length)):s&&Da&&Da.lineWise&&Da.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=et(h.line,0)));var v={from:h,to:m,text:c?c[p%c.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};co(e.doc,v),ln(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Ir(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function La(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zr(t,(function(){return Aa(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Na(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ke(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Na(e,i.head.line,\"smart\"));a&&ln(e,\"electricInput\",e,i.head.line)}}}function Fa(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ma(e,t,n,r){e.setAttribute(\"autocorrect\",n?\"\":\"off\"),e.setAttribute(\"autocapitalize\",r?\"\":\"off\"),e.setAttribute(\"spellcheck\",!!t)}function Ra(){var e=N(\"textarea\",null,null,\"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none\"),t=N(\"div\",[e],null,\"overflow: hidden; position: relative; width: 3px; height: 0px;\");return l?e.style.width=\"1000px\":e.setAttribute(\"wrap\",\"off\"),m&&(e.style.border=\"1px solid black\"),Ma(e),t}function Pa(e,t,n,r,i){var o=t,a=n,s=Ke(e,t.line),l=i&&\"rtl\"==e.direction?-n:n;function c(r){var o,a;if(null==(o=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Zo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Zo(t,n,r);var s,l=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||An(e,t),Xn(e,t,s,n)):{begin:0,end:t.text.length}},u=c(\"before\"==n.sticky?l(n,-1):n.ch);if(\"rtl\"==e.doc.direction||1==a.level){var f=1==a.level==r<0,p=l(n,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var d=f?\"before\":\"after\";return new et(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,l(e,1),\"before\"):new et(n.line,e,\"after\")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,c(v)))?null:m}(e.cm,s,t,n):Zo(s,t,n))){if(r||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new et(a,t.ch,t.sticky),!(s=Ke(e,a))))return!1;t=ea(i,e.cm,s,t.line,l)}else t=o;return!0}if(\"char\"==r)c();else if(\"column\"==r)c(!0);else if(\"word\"==r||\"group\"==r)for(var u=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),u&&u!=m){n<0&&(n=1,c(),t.sticky=\"after\");break}if(m&&(u=m),n>0&&!c(!d))break}var v=oo(e,t,o,a,!0);return nt(o,v)&&(v.hitSide=!0),v}function Va(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Jn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ua=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ba(e,t){var n=In(e,t.line);if(!n||n.hidden)return null;var r=Ke(e.doc,t.line),i=Nn(n,r,t.line),o=ce(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Mn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function qa(e,t){return t&&(e.bad=!0),e}function Ha(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return qa(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return za(o,t,n)}}function za(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!I(r,t))return qa(et(Je(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?W(e.rest):e.line;return qa(et(Je(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=Je(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),et(u,f)}}}var f=u(a,s,n);if(f)return qa(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(f=u(p,p.firstChild,0))return qa(et(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(f=u(h,h.firstChild,-1))return qa(et(f.line,f.ch+m),i);m+=h.textContent.length}}Ua.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\\bCodeMirror-(?:line)?widget\\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()}),\"cut\"==e.type&&r.replaceSelection(\"\",null,\"cut\");else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection(\"\",null,\"cut\")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Da.text.join(\"\\n\");if(e.clipboardData.setData(\"Text\",a),e.clipboardData.getData(\"Text\")==a)return void e.preventDefault()}var s=Ra(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Da.text.join(\"\\n\");var c=document.activeElement;F(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}Ma(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),fe(i,\"paste\",(function(e){!o(e)||me(r,e)||La(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),fe(i,\"compositionstart\",(function(e){t.composing={data:e.data,done:!1}})),fe(i,\"compositionupdate\",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),fe(i,\"compositionend\",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),fe(i,\"touchstart\",(function(){return n.forceCompositionEnd()})),fe(i,\"input\",(function(){t.composing||t.readFromDOMSoon()})),fe(i,\"copy\",a),fe(i,\"cut\",a)},Ua.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute(\"aria-label\",e):this.div.removeAttribute(\"aria-label\")},Ua.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ua.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ua.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ua.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=Ha(t,e.anchorNode,e.anchorOffset),s=Ha(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Ba(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Ba(t,o);if(!u){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(c&&u){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=k(c.node,c.offset,u.offset,u.node)}catch(e){}d&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ua.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ua.prototype.showMultipleSelections=function(e){S(this.cm.display.cursorDiv,e.cursors),S(this.cm.display.selectionDiv,e.selection)},Ua.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ua.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return I(this.div,t)},Ua.prototype.focus=function(){\"nocursor\"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ua.prototype.blur=function(){this.div.blur()},Ua.prototype.getField=function(){return this.div},Ua.prototype.supportsTouch=function(){return!0},Ua.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Zr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ua.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ua.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:\"keydown\",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Ha(t,e.anchorNode,e.anchorOffset),r=Ha(t,e.focusNode,e.focusOffset);n&&r&&Zr(t,(function(){Zi(t.doc,ki(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ua.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=et(a.line-1,Ke(r.doc,a.line-1).length)),s.ch==Ke(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=ur(r,a.line))?(t=Je(i.view[0].line),n=i.view[0].node):(t=Je(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=ur(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Je(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function u(e){e&&(c(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void u(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(et(r,0),et(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&u(Qe(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m<t.childNodes.length;m++)f(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0)}else 3==t.nodeType&&u(t.nodeValue.replace(/\\u200b/g,\"\").replace(/\\u00a0/g,\" \"));var v}for(;f(t),t!=n;)t=t.nextSibling,l=!1;return o}(r,n,c,t,l)),p=Qe(r.doc,et(t,0),et(l,Ke(r.doc,l).text.length));f.length>1&&p.length>1;)if(W(f)==W(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);d<g&&m.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=W(f),b=W(p),T=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));h<T&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var E=et(t,d),O=et(l,p.length?W(p).length-h:0);return f.length>1||f[0]||tt(E,O)?(mo(r.doc,f,E,O,\"+input\"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ua.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zr(this.cm,(function(){return fr(e.cm)}))},Ua.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Ua.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ua.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Ga=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ga.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||La(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!On(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){On(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ga.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Qn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ga.prototype.showSelection=function(e){var t=this.cm.display;S(t.cursorDiv,e.cursors),S(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ga.prototype.getField=function(){return this.textarea},Ga.prototype.supportsTouch=function(){return!1},Ga.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||A()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur()},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ga.prototype.receivedFocus=function(){this.slowPoll()},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ga.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"\u200B\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Zr(t,(function(){Aa(t,i.slice(l),r.length-l,null,e.composing?\"*compose\":null),i.length>1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ga.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ga.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=cr(n,e),c=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Zi)(n.doc,ki(o),q);var u,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n      top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n      z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),x){Oe(e);var m=function(){de(window,\"mouseup\",m),setTimeout(g,20)};fe(window,\"mouseup\",m)}else setTimeout(g,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"\u200B\"+(e?i.value:\"\");i.value=\"\u21DA\",i.value=o,t.prevInput=e?\"\":\"\u200B\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"\u200B\"==t.prevInput?ei(n,so)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Oa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Oa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Di(e)}),!0),n(\"indentUnit\",2,Di,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Ii(e),Un(e),fr(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=Oa&&e.refresh()})),n(\"specialCharPlaceholder\",Xt,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!T),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){Ea(e),mi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Jo(t),i=n!=Oa&&Jo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,wa,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return Br(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){zr(e),Br(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=di(e.options.gutters,t),mi(e)}),!0),n(\"firstLineNumber\",1,mi,!0),n(\"lineNumberFormatter\",(function(e){return e}),mi,!0),n(\"showCursorWhenSelecting\",!1,vr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(kr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,ka),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,vr,!0),n(\"singleCursorHeightPerLine\",!0,vr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Ii,!0),n(\"addModeClass\",!1,Ii,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Ii,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(Ca),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&ei(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Jo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ti((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error(\"Overlays may not be stateful.\");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,fr(this)})),removeOverlay:ti((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||\"string\"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void fr(this)}})),indentLine:ti((function(e,t,n){\"string\"!=typeof t&&\"number\"!=typeof t&&(t=null==t?this.options.smartIndent?\"smart\":\"prev\":t?\"add\":\"subtract\"),Xe(this.doc,e)&&Na(this,e,t,n)})),indentSelection:ti((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Na(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Ir(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Na(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Ji(this.doc,r,new xi(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=pt(this,Ke(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf(\"overlay \"):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if(\"string\"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return dt(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Qn(this,null==e?n.head:\"object\"==typeof e?st(this.doc,e):e?n.from():n.to(),t||\"page\")},charCoords:function(e,t){return Kn(this,st(this.doc,e),t||\"page\")},coordsChar:function(e,t){return Jn(this,(e=Gn(this,e,t||\"page\")).left,e.top)},lineAtHeight:function(e,t){return e=Gn(this,{top:e,left:0},t||\"page\").top,$e(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if(\"number\"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ke(this.doc,e)}else r=e;return zn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-Ht(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Qn(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),l.sizer.appendChild(t),\"over\"==r)c=e.top;else if(\"above\"==r||\"near\"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?u=0:\"middle\"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+\"px\"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Nr(o,a)).scrollTop&&Fr(o,s.scrollTop),null!=s.scrollLeft&&Rr(o,s.scrollLeft))},triggerOnKeyDown:ti(ua),triggerOnKeyPress:ti(pa),triggerOnKeyUp:fa,triggerOnMouseDown:ti(va),execCommand:function(e){if(ta.hasOwnProperty(e))return ta[e].call(null,this)},triggerElectric:ti((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Pa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Pa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),z)})),deleteH:ti((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection(\"\",null,\"+delete\"):$o(this,(function(n){var i=Pa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var l=Qn(this,a,\"div\");if(null==o?o=l.left:l.left=o,(a=Va(this,l,i,n)).hitSide)break}return a},moveV:ti((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Qn(n,a.head,\"div\");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Va(n,s,e,t);return\"page\"==t&&a==r.sel.primary()&&Dr(n,Kn(n,l,\"div\").top-s.top),l}),z),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Ke(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,\"wordChars\");\"before\"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\\s/.test(o)?function(e){return/\\s/.test(e)}:function(e){return!/\\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new xi(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,\"CodeMirror-overwrite\"):w(this.display.cursorDiv,\"CodeMirror-overwrite\"),he(this,\"overwriteToggle\",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==A()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Ar(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-wn(this)-this.display.barHeight,width:e.scrollWidth-wn(this)-this.display.barWidth,clientHeight:Sn(this),clientWidth:Cn(this)}},scrollIntoView:ti((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):\"number\"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Lr(e),e.curOp.scrollToPos=t}(this,e):jr(this,e.from,e.to,e.margin)})),setSize:ti((function(e,t){var n=this,r=function(e){return\"number\"==typeof e||/^\\d+$/.test(String(e))?e+\"px\":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Vn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pr(n,i,\"widget\");break}++i})),this.curOp.forceUpdate=!0,he(this,\"refresh\",this)})),operation:function(e){return Zr(this,e)},startOperation:function(){return Kr(this)},endOperation:function(){return Qr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;fr(this),this.curOp.forceUpdate=!0,Un(this),Ar(this,this.doc.scrollLeft,this.doc.scrollTop),ci(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&lr(this),he(this,\"refresh\",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,e),Un(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ln(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Ca);var Ka=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Qa in Io.prototype)Io.prototype.hasOwnProperty(Qa)&&U(Ka,Qa)<0&&(Ca.prototype[Qa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Io.prototype[Qa]));return ye(Io),Ca.inputStyles={textarea:Ga,contenteditable:Ua},Ca.defineMode=function(e){Ca.defaults.mode||\"null\"==e||(Ca.defaults.mode=e),Re.apply(this,arguments)},Ca.defineMIME=function(e,t){Me[e]=t},Ca.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),Ca.defineMIME(\"text/plain\",\"null\"),Ca.defineExtension=function(e,t){Ca.prototype[e]=t},Ca.defineDocExtension=function(e,t){Io.prototype[e]=t},Ca.fromTextArea=function(e,t){if((t=t?R(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=A();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=Ca((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=Ti,e.Doc=Io,e.splitLines=Ie,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=B,e.signal=he,e.Line=Kt,e.changeEnd=wi,e.scrollbarModel=Hr,e.Pos=et,e.cmpPos=tt,e.modes=Fe,e.mimeModes=Me,e.resolveMode=Pe,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=Be,e.copyState=qe,e.startState=ze,e.innerMode=He,e.commands=ta,e.keyMap=Ho,e.keyName=Yo,e.isModifierKey=Qo,e.lookupKey=Ko,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=Co,e.TextMarker=ko,e.LineWidget=Oo,e.e_preventDefault=be,e.e_stopPropagation=Te,e.e_stop=Oe,e.addClass=L,e.contains=I,e.rmClass=w,e.keyNames=Vo}(Ca),Ca.version=\"5.57.0\",Ca}()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:\"Unexpected invariant triggered.\")}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=Object.prototype.hasOwnProperty;function r(t,n){return e.call(t,n)}function i(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 o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var a=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,s=new RegExp(a.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(61),u=/[&<>\"]/,f=/[&<>\"]/g,p={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"};function d(e){return p[e]}var h=/[.?*+^$[\\]\\\\(){}|-]/g,m=n(50);t.lib={},t.lib.mdurl=n(62),t.lib.ucmicro=n(117),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if(\"object\"!=typeof t)throw new TypeError(t+\"must be object\");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return\"[object String]\"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=r,t.unescapeMd=function(e){return e.indexOf(\"\\\\\")<0?e:e.replace(a,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return r(c,t)?c[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return u.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(h,\"\\\\$&\")},t.normalizeReference=function(e){return e=e.trim().replace(/\\s+/g,\" \"),\"\u1E7E\"===\"\u1E9E\".toLowerCase()&&(e=e.replace(/\u1E9E/g,\"\u00DF\")),e.toLowerCase().toUpperCase()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(24),i=function(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n};Object(r.a)(i,(function(){return{start:this.start,end:this.end}}));var o=function(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null};function a(e){return null!=e&&\"string\"==typeof e.kind}Object(r.a)(o,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return Vn})),n.d(t,\"graphqlSync\",(function(){return Un})),n.d(t,\"GraphQLSchema\",(function(){return ue})),n.d(t,\"GraphQLDirective\",(function(){return X})),n.d(t,\"GraphQLScalarType\",(function(){return V.g})),n.d(t,\"GraphQLObjectType\",(function(){return V.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return V.c})),n.d(t,\"GraphQLUnionType\",(function(){return V.h})),n.d(t,\"GraphQLEnumType\",(function(){return V.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return V.b})),n.d(t,\"GraphQLList\",(function(){return V.d})),n.d(t,\"GraphQLNonNull\",(function(){return V.e})),n.d(t,\"specifiedScalarTypes\",(function(){return W.g})),n.d(t,\"GraphQLInt\",(function(){return W.d})),n.d(t,\"GraphQLFloat\",(function(){return W.b})),n.d(t,\"GraphQLString\",(function(){return W.e})),n.d(t,\"GraphQLBoolean\",(function(){return W.a})),n.d(t,\"GraphQLID\",(function(){return W.c})),n.d(t,\"specifiedDirectives\",(function(){return re})),n.d(t,\"GraphQLIncludeDirective\",(function(){return Z})),n.d(t,\"GraphQLSkipDirective\",(function(){return ee})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return ne})),n.d(t,\"TypeKind\",(function(){return oe.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return te})),n.d(t,\"introspectionTypes\",(function(){return oe.introspectionTypes})),n.d(t,\"__Schema\",(function(){return oe.__Schema})),n.d(t,\"__Directive\",(function(){return oe.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return oe.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return oe.__Type})),n.d(t,\"__Field\",(function(){return oe.__Field})),n.d(t,\"__InputValue\",(function(){return oe.__InputValue})),n.d(t,\"__EnumValue\",(function(){return oe.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return oe.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return oe.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return oe.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return oe.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return le})),n.d(t,\"isDirective\",(function(){return J})),n.d(t,\"isType\",(function(){return V.S})),n.d(t,\"isScalarType\",(function(){return V.R})),n.d(t,\"isObjectType\",(function(){return V.N})),n.d(t,\"isInterfaceType\",(function(){return V.H})),n.d(t,\"isUnionType\",(function(){return V.T})),n.d(t,\"isEnumType\",(function(){return V.E})),n.d(t,\"isInputObjectType\",(function(){return V.F})),n.d(t,\"isListType\",(function(){return V.J})),n.d(t,\"isNonNullType\",(function(){return V.L})),n.d(t,\"isInputType\",(function(){return V.G})),n.d(t,\"isOutputType\",(function(){return V.O})),n.d(t,\"isLeafType\",(function(){return V.I})),n.d(t,\"isCompositeType\",(function(){return V.D})),n.d(t,\"isAbstractType\",(function(){return V.C})),n.d(t,\"isWrappingType\",(function(){return V.U})),n.d(t,\"isNullableType\",(function(){return V.M})),n.d(t,\"isNamedType\",(function(){return V.K})),n.d(t,\"isRequiredArgument\",(function(){return V.P})),n.d(t,\"isRequiredInputField\",(function(){return V.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return W.f})),n.d(t,\"isIntrospectionType\",(function(){return oe.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return ie})),n.d(t,\"assertSchema\",(function(){return ce})),n.d(t,\"assertDirective\",(function(){return $})),n.d(t,\"assertType\",(function(){return V.x})),n.d(t,\"assertScalarType\",(function(){return V.w})),n.d(t,\"assertObjectType\",(function(){return V.u})),n.d(t,\"assertInterfaceType\",(function(){return V.o})),n.d(t,\"assertUnionType\",(function(){return V.y})),n.d(t,\"assertEnumType\",(function(){return V.l})),n.d(t,\"assertInputObjectType\",(function(){return V.m})),n.d(t,\"assertListType\",(function(){return V.q})),n.d(t,\"assertNonNullType\",(function(){return V.s})),n.d(t,\"assertInputType\",(function(){return V.n})),n.d(t,\"assertOutputType\",(function(){return V.v})),n.d(t,\"assertLeafType\",(function(){return V.p})),n.d(t,\"assertCompositeType\",(function(){return V.k})),n.d(t,\"assertAbstractType\",(function(){return V.j})),n.d(t,\"assertWrappingType\",(function(){return V.z})),n.d(t,\"assertNullableType\",(function(){return V.t})),n.d(t,\"assertNamedType\",(function(){return V.r})),n.d(t,\"getNullableType\",(function(){return V.B})),n.d(t,\"getNamedType\",(function(){return V.A})),n.d(t,\"validateSchema\",(function(){return pe})),n.d(t,\"assertValidSchema\",(function(){return de})),n.d(t,\"Source\",(function(){return d})),n.d(t,\"getLocation\",(function(){return qn.a})),n.d(t,\"printLocation\",(function(){return Hn.a})),n.d(t,\"printSourceLocation\",(function(){return Hn.b})),n.d(t,\"Lexer\",(function(){return y})),n.d(t,\"TokenKind\",(function(){return m})),n.d(t,\"parse\",(function(){return _})),n.d(t,\"parseValue\",(function(){return k})),n.d(t,\"parseType\",(function(){return w})),n.d(t,\"print\",(function(){return qe.a})),n.d(t,\"visit\",(function(){return D.c})),n.d(t,\"visitInParallel\",(function(){return D.d})),n.d(t,\"getVisitFn\",(function(){return D.b})),n.d(t,\"BREAK\",(function(){return D.a})),n.d(t,\"Kind\",(function(){return u.a})),n.d(t,\"DirectiveLocation\",(function(){return h.a})),n.d(t,\"isDefinitionNode\",(function(){return Ve.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return Ve.b})),n.d(t,\"isSelectionNode\",(function(){return Ve.c})),n.d(t,\"isValueNode\",(function(){return Ve.i})),n.d(t,\"isTypeNode\",(function(){return Ve.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return Ve.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return Ve.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return Ve.h})),n.d(t,\"isTypeExtensionNode\",(function(){return Ve.e})),n.d(t,\"execute\",(function(){return hn})),n.d(t,\"defaultFieldResolver\",(function(){return Rn})),n.d(t,\"defaultTypeResolver\",(function(){return Mn})),n.d(t,\"responsePathAsArray\",(function(){return tn})),n.d(t,\"getDirectiveValues\",(function(){return pn})),n.d(t,\"subscribe\",(function(){return Wn})),n.d(t,\"createSourceEventStream\",(function(){return $n})),n.d(t,\"validate\",(function(){return $t})),n.d(t,\"ValidationContext\",(function(){return Jt})),n.d(t,\"specifiedRules\",(function(){return Ut})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Le.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return Ke})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return He})),n.d(t,\"KnownArgumentNamesRule\",(function(){return ot})),n.d(t,\"KnownDirectivesRule\",(function(){return tt})),n.d(t,\"KnownFragmentNamesRule\",(function(){return We})),n.d(t,\"KnownTypeNamesRule\",(function(){return Ue})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Fe})),n.d(t,\"NoFragmentCyclesRule\",(function(){return $e})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Ze})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return Ye})),n.d(t,\"NoUnusedVariablesRule\",(function(){return et})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return bt})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return Je})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return dt})),n.d(t,\"ScalarLeafsRule\",(function(){return Ge})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return Me})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return st})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return nt})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return Qe})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return Nt})),n.d(t,\"UniqueOperationNamesRule\",(function(){return je})),n.d(t,\"UniqueVariableNamesRule\",(function(){return Xe})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return ct})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return ze})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return vt})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return Dt})),n.d(t,\"UniqueOperationTypesRule\",(function(){return It})),n.d(t,\"UniqueTypeNamesRule\",(function(){return At})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return Lt})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return jt})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return Mt})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return Pt})),n.d(t,\"GraphQLError\",(function(){return l.a})),n.d(t,\"syntaxError\",(function(){return c})),n.d(t,\"locatedError\",(function(){return F})),n.d(t,\"printError\",(function(){return l.b})),n.d(t,\"formatError\",(function(){return Zn})),n.d(t,\"getIntrospectionQuery\",(function(){return nr})),n.d(t,\"getOperationAST\",(function(){return rr})),n.d(t,\"getOperationRootType\",(function(){return nn})),n.d(t,\"introspectionFromSchema\",(function(){return ar})),n.d(t,\"buildClientSchema\",(function(){return lr})),n.d(t,\"buildASTSchema\",(function(){return yr})),n.d(t,\"buildSchema\",(function(){return Tr})),n.d(t,\"getDescription\",(function(){return gr})),n.d(t,\"extendSchema\",(function(){return dr})),n.d(t,\"lexicographicSortSchema\",(function(){return _r})),n.d(t,\"printSchema\",(function(){return Nr})),n.d(t,\"printType\",(function(){return jr})),n.d(t,\"printIntrospectionSchema\",(function(){return Dr})),n.d(t,\"typeFromAST\",(function(){return Ne})),n.d(t,\"valueFromAST\",(function(){return on})),n.d(t,\"valueFromASTUntyped\",(function(){return Hr.a})),n.d(t,\"astFromValue\",(function(){return Sr.a})),n.d(t,\"TypeInfo\",(function(){return De})),n.d(t,\"visitWithTypeInfo\",(function(){return Ae})),n.d(t,\"coerceInputValue\",(function(){return sn})),n.d(t,\"concatAST\",(function(){return zr})),n.d(t,\"separateOperations\",(function(){return Gr})),n.d(t,\"stripIgnoredCharacters\",(function(){return Qr})),n.d(t,\"isEqualType\",(function(){return U})),n.d(t,\"isTypeSubTypeOf\",(function(){return B})),n.d(t,\"doTypesOverlap\",(function(){return q})),n.d(t,\"assertValidName\",(function(){return R})),n.d(t,\"isValidNameError\",(function(){return P})),n.d(t,\"BreakingChangeType\",(function(){return $r})),n.d(t,\"DangerousChangeType\",(function(){return Xr})),n.d(t,\"findBreakingChanges\",(function(){return Zr})),n.d(t,\"findDangerousChanges\",(function(){return ei})),n.d(t,\"findDeprecatedUsages\",(function(){return di}));var r=\"15.0.0\",i=Object.freeze({major:15,minor:0,patch:0,preReleaseTag:null});function o(e){return\"function\"==typeof(null==e?void 0:e.then)}var a=n(3),s=n(4),l=n(2);function c(e,t,n){return new l.a(\"Syntax Error: \".concat(n),void 0,e,[t])}var u=n(1),f=n(15);function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"GraphQL request\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(s.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(s.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,r;return t=e,(n=[{key:f.c,get:function(){return\"Source\"}}])&&p(t.prototype,n),r&&p(t,r),e}(),h=n(5),m=Object.freeze({SOF:\"<SOF>\",EOF:\"<EOF>\",BANG:\"!\",DOLLAR:\"$\",AMP:\"&\",PAREN_L:\"(\",PAREN_R:\")\",SPREAD:\"...\",COLON:\":\",EQUALS:\"=\",AT:\"@\",BRACKET_L:\"[\",BRACKET_R:\"]\",BRACE_L:\"{\",PIPE:\"|\",BRACE_R:\"}\",NAME:\"Name\",INT:\"Int\",FLOAT:\"Float\",STRING:\"String\",BLOCK_STRING:\"BlockString\",COMMENT:\"Comment\"}),v=n(13),g=n(28),y=function(){function e(e){var t=new v.b(m.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==m.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=E(this,e)}while(e.kind===m.COMMENT);return e},e}();function b(e){return e===m.BANG||e===m.DOLLAR||e===m.AMP||e===m.PAREN_L||e===m.PAREN_R||e===m.SPREAD||e===m.COLON||e===m.EQUALS||e===m.AT||e===m.BRACKET_L||e===m.BRACKET_R||e===m.BRACE_L||e===m.PIPE||e===m.BRACE_R}function T(e){return isNaN(e)?m.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function E(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,t.end,e),a=e.line,s=1+o-e.lineStart;if(o>=i)return new v.b(m.EOF,i,i,a,s,t);var l=r.charCodeAt(o);switch(l){case 33:return new v.b(m.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new v.b(m.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new v.b(m.DOLLAR,o,o+1,a,s,t);case 38:return new v.b(m.AMP,o,o+1,a,s,t);case 40:return new v.b(m.PAREN_L,o,o+1,a,s,t);case 41:return new v.b(m.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new v.b(m.SPREAD,o,o+3,a,s,t);break;case 58:return new v.b(m.COLON,o,o+1,a,s,t);case 61:return new v.b(m.EQUALS,o,o+1,a,s,t);case 64:return new v.b(m.AT,o,o+1,a,s,t);case 91:return new v.b(m.BRACKET_L,o,o+1,a,s,t);case 93:return new v.b(m.BRACKET_R,o,o+1,a,s,t);case 123:return new v.b(m.BRACE_L,o,o+1,a,s,t);case 124:return new v.b(m.PIPE,o,o+1,a,s,t);case 125:return new v.b(m.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,l=0;for(;s!==a&&!isNaN(l=o.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new v.b(m.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,l=t,u=!1;45===s&&(s=a.charCodeAt(++l));if(48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw c(e,l,\"Invalid number, unexpected digit after 0: \".concat(T(s),\".\"))}else l=O(e,l,s),s=a.charCodeAt(l);46===s&&(u=!0,s=a.charCodeAt(++l),l=O(e,l,s),s=a.charCodeAt(l));69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=O(e,l,s),s=a.charCodeAt(l));if(46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw c(e,l,\"Invalid number, expected digit but got: \".concat(T(s),\".\"));return new v.b(u?m.FLOAT:m.INT,t,l,r,i,o,a.slice(t,l))}(n,o,l,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,l=s,u=0,f=\"\";for(;s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return f+=a.slice(l,s),new v.b(m.BLOCK_STRING,t,s+3,n,r,i,Object(g.a)(f));if(u<32&&9!==u&&10!==u&&13!==u)throw c(e,s,\"Invalid character within String: \".concat(T(u),\".\"));10===u?(++s,++o.line,o.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(f+=a.slice(l,s)+'\"\"\"',l=s+=4):++s}throw c(e,s,\"Unterminated string.\")}(n,o,a,s,t,e):function(e,t,n,r,i){var o=e.body,a=t+1,s=a,l=0,u=\"\";for(;a<o.length&&!isNaN(l=o.charCodeAt(a))&&10!==l&&13!==l;){if(34===l)return u+=o.slice(s,a),new v.b(m.STRING,t,a+1,n,r,i,u);if(l<32&&9!==l)throw c(e,a,\"Invalid character within String: \".concat(T(l),\".\"));if(++a,92===l){switch(u+=o.slice(s,a-1),l=o.charCodeAt(a)){case 34:u+='\"';break;case 47:u+=\"/\";break;case 92:u+=\"\\\\\";break;case 98:u+=\"\\b\";break;case 102:u+=\"\\f\";break;case 110:u+=\"\\n\";break;case 114:u+=\"\\r\";break;case 116:u+=\"\\t\";break;case 117:var f=(d=o.charCodeAt(a+1),h=o.charCodeAt(a+2),g=o.charCodeAt(a+3),y=o.charCodeAt(a+4),x(d)<<12|x(h)<<8|x(g)<<4|x(y));if(f<0){var p=o.slice(a+1,a+5);throw c(e,a,\"Invalid character escape sequence: \\\\u\".concat(p,\".\"))}u+=String.fromCharCode(f),a+=4;break;default:throw c(e,a,\"Invalid character escape sequence: \\\\\".concat(String.fromCharCode(l),\".\"))}++a,s=a}}var d,h,g,y;throw c(e,a,\"Unterminated string.\")}(n,o,a,s,t)}throw c(n,o,function(e){if(e<32&&9!==e&&10!==e&&13!==e)return\"Cannot contain the invalid character \".concat(T(e),\".\");if(39===e)return\"Unexpected single quote character ('), did you mean to use a double quote (\\\")?\";return\"Cannot parse the unexpected character \".concat(T(e),\".\")}(l))}function O(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 c(e,i,\"Invalid number, expected digit but got: \".concat(T(o),\".\"))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function _(e,t){return new C(e,t).parseDocument()}function k(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(m.EOF),r}function w(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseTypeReference();return n.expectToken(m.EOF),r}var C=function(){function e(e,t){var n=\"string\"==typeof e?new d(e):e;n instanceof d||Object(s.a)(0,\"Must provide Source. Received: \".concat(Object(a.a)(n),\".\")),this._lexer=new y(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(m.NAME);return{kind:u.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:u.a.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(m.NAME))switch(this._lexer.token.value){case\"query\":case\"mutation\":case\"subscription\":return this.parseOperationDefinition();case\"fragment\":return this.parseFragmentDefinition();case\"schema\":case\"scalar\":case\"type\":case\"interface\":case\"union\":case\"enum\":case\"input\":case\"directive\":return this.parseTypeSystemDefinition();case\"extend\":return this.parseTypeSystemExtension()}else{if(this.peek(m.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(m.BRACE_L))return{kind:u.a.OPERATION_DEFINITION,operation:\"query\",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(m.NAME)&&(t=this.parseName()),{kind:u.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(m.NAME);switch(e.value){case\"query\":return\"query\";case\"mutation\":return\"mutation\";case\"subscription\":return\"subscription\"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(m.DOLLAR),{kind:u.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.a.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(m.COLON)?(e=r,t=this.parseName()):t=r,{kind:u.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,t,m.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(m.COLON),{kind:u.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(m.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(m.SPREAD);var t=this.expectOptionalKeyword(\"on\");return!t&&this.peek(m.NAME)?{kind:u.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword(\"fragment\"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if(\"on\"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case m.BRACKET_L:return this.parseList(e);case m.BRACE_L:return this.parseObject(e);case m.INT:return this._lexer.advance(),{kind:u.a.INT,value:t.value,loc:this.loc(t)};case m.FLOAT:return this._lexer.advance(),{kind:u.a.FLOAT,value:t.value,loc:this.loc(t)};case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this._lexer.advance(),t.value){case\"true\":return{kind:u.a.BOOLEAN,value:!0,loc:this.loc(t)};case\"false\":return{kind:u.a.BOOLEAN,value:!1,loc:this.loc(t)};case\"null\":return{kind:u.a.NULL,loc:this.loc(t)};default:return{kind:u.a.ENUM,value:t.value,loc:this.loc(t)}}case m.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.a.STRING,value:e.value,block:e.kind===m.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:u.a.LIST,values:this.any(m.BRACKET_L,(function(){return t.parseValueLiteral(e)}),m.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:u.a.OBJECT,fields:this.any(m.BRACE_L,(function(){return t.parseObjectField(e)}),m.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(m.COLON),{kind:u.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(m.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(m.AT),{kind:u.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(m.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(m.BRACKET_R),e={kind:u.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(m.BANG)?{kind:u.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:u.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaDefinition();case\"scalar\":return this.parseScalarTypeDefinition();case\"type\":return this.parseObjectTypeDefinition();case\"interface\":return this.parseInterfaceTypeDefinition();case\"union\":return this.parseUnionTypeDefinition();case\"enum\":return this.parseEnumTypeDefinition();case\"input\":return this.parseInputObjectTypeDefinition();case\"directive\":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"schema\");var n=this.parseDirectives(!0),r=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return{kind:u.a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(m.COLON);var n=this.parseNamedType();return{kind:u.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"scalar\");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"type\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword(\"implements\")){this.expectOptionalToken(m.AMP);do{var t;e.push(this.parseNamedType())}while(this.expectOptionalToken(m.AMP)||!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)&&this.peek(m.NAME))}return e},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(m.BRACE_L)&&this._lexer.lookahead().kind===m.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(m.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(m.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(m.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"interface\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"union\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:u.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(m.EQUALS)){this.expectOptionalToken(m.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(m.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"enum\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:u.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"input\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:u.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaExtension();case\"scalar\":return this.parseScalarTypeExtension();case\"type\":return this.parseObjectTypeExtension();case\"interface\":return this.parseInterfaceTypeExtension();case\"union\":return this.parseUnionTypeExtension();case\"enum\":return this.parseEnumTypeExtension();case\"input\":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"schema\");var t=this.parseDirectives(!0),n=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:u.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"scalar\");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:u.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"type\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"interface\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"union\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"enum\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"input\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"directive\"),this.expectToken(m.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword(\"repeatable\");this.expectKeyword(\"on\");var o=this.parseDirectiveLocations();return{kind:u.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(m.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(m.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==h.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new v.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw c(this._lexer.source,t.start,\"Expected \".concat(N(e),\", found \").concat(S(t),\".\"))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==m.NAME||t.value!==e)throw c(this._lexer.source,t.start,'Expected \"'.concat(e,'\", found ').concat(S(t),\".\"));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===m.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return c(this._lexer.source,t.start,\"Unexpected \".concat(S(t),\".\"))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function S(e){var t=e.value;return N(e.kind)+(null!=t?' \"'.concat(t,'\"'):\"\")}function N(e){return b(e)?'\"'.concat(e,'\"'):e}var D=n(19),I=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}},A=Array.prototype.flatMap,L=A?function(e,t){return A.call(e,t)}:function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r]);Array.isArray(i)?n=n.concat(i):n.push(i)}return n},j=n(7);function F(e,t,n){var r;return Array.isArray(e.path)?e:new l.a(e.message,null!==(r=e.nodes)&&void 0!==r?r:t,e.source,e.positions,n,e)}var M=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function R(e){var t=P(e);if(t)throw t;return e}function P(e){return\"string\"==typeof e||Object(s.a)(0,\"Expected name to be a string.\"),e.length>1&&\"_\"===e[0]&&\"_\"===e[1]?new l.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.')):M.test(e)?void 0:new l.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}var V=n(0);function U(e,t){return e===t||(Object(V.L)(e)&&Object(V.L)(t)||!(!Object(V.J)(e)||!Object(V.J)(t)))&&U(e.ofType,t.ofType)}function B(e,t,n){return t===n||(Object(V.L)(n)?!!Object(V.L)(t)&&B(e,t.ofType,n.ofType):Object(V.L)(t)?B(e,t.ofType,n):Object(V.J)(n)?!!Object(V.J)(t)&&B(e,t.ofType,n.ofType):!Object(V.J)(t)&&(Object(V.C)(n)&&(Object(V.H)(t)||Object(V.N)(t))&&e.isSubType(n,t)))}function q(e,t,n){return t===n||(Object(V.C)(t)?Object(V.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!Object(V.C)(n)&&e.isSubType(n,t))}var H=n(27),z=n(21),G=n(25),K=n(24),Q=n(17),W=n(6);function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e){return Object(G.a)(e,X)}function $(e){if(!J(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL directive.\"));return e}var X=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,e.name||Object(s.a)(0,\"Directive must be named.\"),Array.isArray(e.locations)||Object(s.a)(0,\"@\".concat(e.name,\" locations must be an Array.\"));var r=null!==(n=e.args)&&void 0!==n?n:{};Object(Q.a)(r)&&!Array.isArray(r)||Object(s.a)(0,\"@\".concat(e.name,\" args must be an object with argument names as keys.\")),this.args=Object(H.a)(r).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(z.a)(n.extensions),astNode:n.astNode}}))}var t,n,r,i=e.prototype;return i.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(V.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},i.toString=function(){return\"@\"+this.name},t=e,(n=[{key:f.c,get:function(){return\"GraphQLDirective\"}}])&&Y(t.prototype,n),r&&Y(t,r),e}();Object(K.a)(X);var Z=new X({name:\"include\",description:\"Directs the executor to include this field or fragment only when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Included when true.\"}}}),ee=new X({name:\"skip\",description:\"Directs the executor to skip this field or fragment when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Skipped when true.\"}}}),te=\"No longer supported\",ne=new X({name:\"deprecated\",description:\"Marks an element of a GraphQL schema as no longer supported.\",locations:[h.a.FIELD_DEFINITION,h.a.ENUM_VALUE],args:{reason:{type:W.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:te}}}),re=Object.freeze([Z,ee,ne]);function ie(e){return re.some((function(t){return t.name===e.name}))}var oe=n(8),ae=n(30);function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e){return Object(G.a)(e,ue)}function ce(e){if(!le(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL schema.\"));return e}var ue=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,Object(Q.a)(e)||Object(s.a)(0,\"Must provide configuration object.\"),!e.types||Array.isArray(e.types)||Object(s.a)(0,'\"types\" must be Array if provided but got: '.concat(Object(a.a)(e.types),\".\")),!e.directives||Array.isArray(e.directives)||Object(s.a)(0,'\"directives\" must be Array if provided but got: '+\"\".concat(Object(a.a)(e.directives),\".\")),this.description=e.description,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:re;var n=new Set(e.types);if(null!=e.types)for(var r=0,i=e.types;r<i.length;r++){var o=i[r];n.delete(o),fe(o,n)}null!=this._queryType&&fe(this._queryType,n),null!=this._mutationType&&fe(this._mutationType,n),null!=this._subscriptionType&&fe(this._subscriptionType,n);for(var l=0,c=this._directives;l<c.length;l++){var u=c[l];if(J(u))for(var f=0,p=u.args;f<p.length;f++){fe(p[f].type,n)}}fe(oe.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var d=0,h=Object(ae.a)(n);d<h.length;d++){var m=h[d];if(null!=m){var v=m.name;if(v||Object(s.a)(0,\"One of the provided types for building the Schema is missing a name.\"),void 0!==this._typeMap[v])throw new Error('Schema must contain uniquely named types but contains multiple types named \"'.concat(v,'\".'));if(this._typeMap[v]=m,Object(V.H)(m))for(var g=0,y=m.getInterfaces();g<y.length;g++){var b=y[g];if(Object(V.H)(b)){var T=this._implementationsMap[b.name];void 0===T&&(T=this._implementationsMap[b.name]={objects:[],interfaces:[]}),T.interfaces.push(m)}}else if(Object(V.N)(m))for(var E=0,O=m.getInterfaces();E<O.length;E++){var x=O[E];if(Object(V.H)(x)){var _=this._implementationsMap[x.name];void 0===_&&(_=this._implementationsMap[x.name]={objects:[],interfaces:[]}),_.objects.push(m)}}}}}var t,n,r,i=e.prototype;return i.getQueryType=function(){return this._queryType},i.getMutationType=function(){return this._mutationType},i.getSubscriptionType=function(){return this._subscriptionType},i.getTypeMap=function(){return this._typeMap},i.getType=function(e){return this.getTypeMap()[e]},i.getPossibleTypes=function(e){return Object(V.T)(e)?e.getTypes():this.getImplementations(e).objects},i.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},i.isPossibleType=function(e,t){return this.isSubType(e,t)},i.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),Object(V.T)(e))for(var r=0,i=e.getTypes();r<i.length;r++){n[i[r].name]=!0}else{for(var o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++){n[s[a].name]=!0}for(var l=0,c=o.interfaces;l<c.length;l++){n[c[l].name]=!0}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},i.getDirectives=function(){return this._directives},i.getDirective=function(e){return I(this.getDirectives(),(function(t){return t.name===e}))},i.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object(j.a)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:f.c,get:function(){return\"GraphQLSchema\"}}])&&se(t.prototype,n),r&&se(t,r),e}();function fe(e,t){var n=Object(V.A)(e);if(!t.has(n))if(t.add(n),Object(V.T)(n))for(var r=0,i=n.getTypes();r<i.length;r++){fe(i[r],t)}else if(Object(V.N)(n)||Object(V.H)(n)){for(var o=0,a=n.getInterfaces();o<a.length;o++){fe(a[o],t)}for(var s=0,l=Object(j.a)(n.getFields());s<l.length;s++){var c=l[s];fe(c.type,t);for(var u=0,f=c.args;u<f.length;u++){fe(f[u].type,t)}}}else if(Object(V.F)(n))for(var p=0,d=Object(j.a)(n.getFields());p<d.length;p++){fe(d[p].type,t)}return t}function pe(e){if(ce(e),e.__validationErrors)return e.__validationErrors;var t=new he(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(V.N)(n)||e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(a.a)(n),\".\"),me(t,n,\"query\")):e.reportError(\"Query root type must be provided.\",t.astNode);var r=t.getMutationType();r&&!Object(V.N)(r)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(r),\".\"),me(t,r,\"mutation\"));var i=t.getSubscriptionType();i&&!Object(V.N)(i)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(i),\".\"),me(t,i,\"subscription\"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(J(r)){ve(e,r);for(var i=0,o=r.args;i<o.length;i++){var s=o[i];ve(e,s),Object(V.G)(s.type)||e.reportError(\"The type of @\".concat(r.name,\"(\").concat(s.name,\":) must be Input Type \")+\"but got: \".concat(Object(a.a)(s.type),\".\"),s.astNode)}}else e.reportError(\"Expected directive but got: \".concat(Object(a.a)(r),\".\"),null==r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;for(var a=Object(j.a)(o.getFields()),s=0;s<a.length;s++){var l=a[s];if(Object(V.L)(l.type)&&Object(V.F)(l.type.ofType)){var c=l.type.ofType,u=r[c.name];if(n.push(l),void 0===u)i(c);else{var f=n.slice(u),p=f.map((function(e){return e.name})).join(\".\");e.reportError('Cannot reference Input Object \"'.concat(c.name,'\" within itself through a series of non-null fields: \"').concat(p,'\".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,i=Object(j.a)(n);r<i.length;r++){var o=i[r];Object(V.K)(o)?(Object(oe.isIntrospectionType)(o)||ve(e,o),Object(V.N)(o)||Object(V.H)(o)?(ge(e,o),ye(e,o)):Object(V.T)(o)?Ee(e,o):Object(V.E)(o)?Oe(e,o):Object(V.F)(o)&&(xe(e,o),t(o))):e.reportError(\"Expected GraphQL named type but got: \".concat(Object(a.a)(o),\".\"),o.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function de(e){var t=pe(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}var he=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new l.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function me(e,t,n){for(var r=ke(e,(function(e){return e.operationTypes})),i=0;i<r.length;i++){var o=r[i];if(o.operation===n)return o.type}return t.astNode}function ve(e,t){var n=P(t.name);n&&e.addError(F(n,t.astNode))}function ge(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.O)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Output Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type);for(var s=0,l=o.args;s<l.length;s++){var c,u=l[s],f=u.name;if(ve(e,u),!Object(V.G)(u.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\"(\").concat(f,\":) must be Input \")+\"Type but got: \".concat(Object(a.a)(u.type),\".\"),null===(c=u.astNode)||void 0===c?void 0:c.type)}}}function ye(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(V.H)(o)?t!==o?n[o.name]?e.reportError(\"Type \".concat(t.name,\" can only implement \").concat(o.name,\" once.\"),we(t,o)):(n[o.name]=!0,Te(e,t,o),be(e,t,o)):e.reportError(\"Type \".concat(t.name,\" cannot implement itself because it would create a circular reference.\"),we(t,o)):e.reportError(\"Type \".concat(Object(a.a)(t),\" must only implement Interface types, \")+\"it cannot implement \".concat(Object(a.a)(o),\".\"),we(t,o))}}function be(e,t,n){for(var r=t.getFields(),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i],l=s.name,c=r[l];if(c){B(e.schema,c.type,s.type)||e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expects type \")+\"\".concat(Object(a.a)(s.type),\" but \").concat(t.name,\".\").concat(l,\" \")+\"is type \".concat(Object(a.a)(c.type),\".\"),[s.astNode.type,c.astNode.type]);for(var u=function(r,i){var o=i[r],s=o.name,u=I(c.args,(function(e){return e.name===s}));if(!u)return e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) expected but \").concat(t.name,\".\").concat(l,\" does not provide it.\"),[o.astNode,c.astNode]),\"continue\";U(o.type,u.type)||e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) \")+\"expects type \".concat(Object(a.a)(o.type),\" but \")+\"\".concat(t.name,\".\").concat(l,\"(\").concat(s,\":) is type \")+\"\".concat(Object(a.a)(u.type),\".\"),[o.astNode.type,u.astNode.type])},f=0,p=s.args;f<p.length;f++)u(f,p);for(var d=function(r,i){var o=i[r],a=o.name;!I(s.args,(function(e){return e.name===a}))&&Object(V.P)(o)&&e.reportError(\"Object field \".concat(t.name,\".\").concat(l,\" includes required argument \").concat(a,\" that is missing from the Interface field \").concat(n.name,\".\").concat(l,\".\"),[o.astNode,s.astNode])},h=0,m=c.args;h<m.length;h++)d(h,m)}else e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expected but \").concat(t.name,\" does not provide it.\"),[s.astNode].concat(_e(t)))}}function Te(e,t,n){for(var r=t.getInterfaces(),i=0,o=n.getInterfaces();i<o.length;i++){var a=o[i];-1===r.indexOf(a)&&e.reportError(a===t?\"Type \".concat(t.name,\" cannot implement \").concat(n.name,\" because it would create a circular reference.\"):\"Type \".concat(t.name,\" must implement \").concat(a.name,\" because it is implemented by \").concat(n.name,\".\"),[].concat(we(n,a),we(t,n)))}}function Ee(e,t){var n=t.getTypes();0===n.length&&e.reportError(\"Union type \".concat(t.name,\" must define one or more member types.\"),_e(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError(\"Union type \".concat(t.name,\" can only include type \").concat(o.name,\" once.\"),Ce(t,o.name)):(r[o.name]=!0,Object(V.N)(o)||e.reportError(\"Union type \".concat(t.name,\" can only include Object types, \")+\"it cannot include \".concat(Object(a.a)(o),\".\"),Ce(t,String(o))))}}function Oe(e,t){var n=t.getValues();0===n.length&&e.reportError(\"Enum type \".concat(t.name,\" must define one or more values.\"),_e(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;ve(e,i),\"true\"!==o&&\"false\"!==o&&\"null\"!==o||e.reportError(\"Enum type \".concat(t.name,\" cannot include value: \").concat(o,\".\"),i.astNode)}}function xe(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Input Object type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.G)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Input Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type)}}function _e(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!=n?n:[]}function ke(e,t){return L(_e(e),(function(e){var n;return null!==(n=t(e))&&void 0!==n?n:[]}))}function we(e,t){return ke(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function Ce(e,t){return ke(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}var Se=n(11);function Ne(e,t){var n;return t.kind===u.a.LIST_TYPE?(n=Ne(e,t.type))&&Object(V.d)(n):t.kind===u.a.NON_NULL_TYPE?(n=Ne(e,t.type))&&Object(V.e)(n):t.kind===u.a.NAMED_TYPE?e.getType(t.name.value):void Object(Se.a)(!1,\"Unexpected type node: \"+Object(a.a)(t))}var De=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=null!=t?t:Ie,n&&(Object(V.G)(n)&&this._inputTypeStack.push(n),Object(V.D)(n)&&this._parentTypeStack.push(n),Object(V.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 u.a.SELECTION_SET:var n=Object(V.A)(this.getType());this._parentTypeStack.push(Object(V.D)(n)?n:void 0);break;case u.a.FIELD:var r,i,o=this.getParentType();o&&(r=this._getFieldDef(t,o,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(Object(V.O)(i)?i:void 0);break;case u.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case u.a.OPERATION_DEFINITION:var a;switch(e.operation){case\"query\":a=t.getQueryType();break;case\"mutation\":a=t.getMutationType();break;case\"subscription\":a=t.getSubscriptionType()}this._typeStack.push(Object(V.N)(a)?a:void 0);break;case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:var s=e.typeCondition,l=s?Ne(t,s):Object(V.A)(this.getType());this._typeStack.push(Object(V.O)(l)?l:void 0);break;case u.a.VARIABLE_DEFINITION:var c=Ne(t,e.type);this._inputTypeStack.push(Object(V.G)(c)?c:void 0);break;case u.a.ARGUMENT:var f,p,d,h=null!==(f=this.getDirective())&&void 0!==f?f:this.getFieldDef();h&&(p=I(h.args,(function(t){return t.name===e.name.value})))&&(d=p.type),this._argument=p,this._defaultValueStack.push(p?p.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(d)?d:void 0);break;case u.a.LIST:var m=Object(V.B)(this.getInputType()),v=Object(V.J)(m)?m.ofType:m;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(V.G)(v)?v:void 0);break;case u.a.OBJECT_FIELD:var g,y,b=Object(V.A)(this.getInputType());Object(V.F)(b)&&(y=b.getFields()[e.name.value])&&(g=y.type),this._defaultValueStack.push(y?y.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(g)?g:void 0);break;case u.a.ENUM:var T,E=Object(V.A)(this.getInputType());Object(V.E)(E)&&(T=E.getValue(e.value)),this._enumValue=T}},t.leave=function(e){switch(e.kind){case u.a.SELECTION_SET:this._parentTypeStack.pop();break;case u.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case u.a.DIRECTIVE:this._directive=null;break;case u.a.OPERATION_DEFINITION:case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case u.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case u.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.LIST:case u.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.ENUM:this._enumValue=null}},e}();function Ie(e,t,n){var r=n.name.value;return r===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:r===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:r===oe.TypeNameMetaFieldDef.name&&Object(V.D)(t)?oe.TypeNameMetaFieldDef:Object(V.N)(t)||Object(V.H)(t)?t.getFields()[r]:void 0}function Ae(e,t){return{enter:function(n){e.enter(n);var r=Object(D.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(v.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(D.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}var Le=n(47);function je(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new l.a('There can be only one operation named \"'.concat(r.value,'\".'),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function Fe(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===u.a.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new l.a(\"This anonymous operation must be the only defined operation.\",n))}}}function Me(e){return{OperationDefinition:function(t){\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new l.a(t.name?'Subscription \"'.concat(t.name.value,'\" must select only one top level field.'):\"Anonymous Subscription must select only one top level field.\",t.selectionSet.selections.slice(1)))}}}var Re=n(20),Pe=n(22),Ve=n(23);function Ue(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];Object(Ve.d)(a)&&(r[a.name.value]=!0)}var s=Object.keys(n).concat(Object.keys(r));return{NamedType:function(t,i,o,a,c){var u,f=t.name.value;if(!n[f]&&!r[f]){var p,d=null!==(p=c[2])&&void 0!==p?p:o,h=null!=d&&(u=d,!Array.isArray(u)&&(Object(Ve.g)(u)||Object(Ve.h)(u)));if(h&&function(e){return-1!==Be.indexOf(e)}(f))return;var m=Object(Pe.a)(f,h?Be.concat(s):s);e.reportError(new l.a('Unknown type \"'.concat(f,'\".')+Object(Re.a)(m),t))}}}}var Be=W.g.map((function(e){return e.name}));var qe=n(9);function He(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=Ne(e.getSchema(),n);if(r&&!Object(V.D)(r)){var i=Object(qe.a)(n);e.reportError(new l.a('Fragment cannot condition on non composite type \"'.concat(i,'\".'),n))}}},FragmentDefinition:function(t){var n=Ne(e.getSchema(),t.typeCondition);if(n&&!Object(V.D)(n)){var r=Object(qe.a)(t.typeCondition);e.reportError(new l.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(r,'\".'),t.typeCondition))}}}}function ze(e){return{VariableDefinition:function(t){var n=Ne(e.getSchema(),t.type);if(n&&!Object(V.G)(n)){var r=t.variable.name.value,i=Object(qe.a)(t.type);e.reportError(new l.a('Variable \"$'.concat(r,'\" cannot be non-input type \"').concat(i,'\".'),t.type))}}}}function Ge(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;if(n)if(Object(V.I)(Object(V.A)(n))){if(r){var i=t.name.value,o=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(i,'\" must not have a selection since type \"').concat(o,'\" has no subfields.'),r))}}else if(!r){var s=t.name.value,c=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(s,'\" of type \"').concat(c,'\" must have a selection of subfields. Did you mean \"').concat(s,' { ... }\"?'),t))}}}}function Ke(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r=e.getSchema(),i=t.name.value,o=Object(Re.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(V.C)(t))return[];for(var r=new Set,i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[n]){r.add(s),i[s.name]=1;for(var l=0,c=s.getInterfaces();l<c.length;l++){var u,f=c[l];f.getFields()[n]&&(r.add(f),i[f.name]=(null!==(u=i[f.name])&&void 0!==u?u:0)+1)}}}return Object(ae.a)(r).sort((function(t,n){var r=i[n.name]-i[t.name];return 0!==r?r:Object(V.H)(t)&&e.isSubType(t,n)?-1:Object(V.H)(n)&&e.isSubType(n,t)?1:t.name.localeCompare(n.name)})).map((function(e){return e.name}))}(r,n,i));\"\"===o&&(o=Object(Re.a)(function(e,t){if(Object(V.N)(e)||Object(V.H)(e)){var n=Object.keys(e.getFields());return Object(Pe.a)(t,n)}return[]}(n,i))),e.reportError(new l.a('Cannot query field \"'.concat(i,'\" on type \"').concat(n.name,'\".')+o,t))}}}}function Qe(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one fragment named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}function We(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new l.a('Unknown fragment \"'.concat(n,'\".'),t.name))}}}function Ye(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 r=Object.create(null),i=0;i<t.length;i++)for(var o=t[i],a=0,s=e.getRecursivelyReferencedFragments(o);a<s.length;a++){r[s[a].name.value]=!0}for(var c=0;c<n.length;c++){var u=n[c],f=u.name.value;!0!==r[f]&&e.reportError(new l.a('Fragment \"'.concat(f,'\" is never used.'),u))}}}}}function Je(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();if(Object(V.D)(n)&&Object(V.D)(r)&&!q(e.getSchema(),n,r)){var i=Object(a.a)(r),o=Object(a.a)(n);e.reportError(new l.a('Fragment cannot be spread here as objects of type \"'.concat(i,'\" can never be of type \"').concat(o,'\".'),t))}},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=Ne(e.getSchema(),n.typeCondition);if(Object(V.D)(r))return r}}(e,n),i=e.getParentType();if(r&&i&&!q(e.getSchema(),r,i)){var o=Object(a.a)(i),s=Object(a.a)(r);e.reportError(new l.a('Fragment \"'.concat(n,'\" cannot be spread here as objects of type \"').concat(o,'\" can never be of type \"').concat(s,'\".'),t))}}}}function $e(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(o){if(t[o.name.value])return;var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0===s.length)return;r[a]=n.length;for(var c=0;c<s.length;c++){var u=s[c],f=u.name.value,p=r[f];if(n.push(u),void 0===p){var d=e.getFragment(f);d&&i(d)}else{var h=n.slice(p),m=h.slice(0,-1).map((function(e){return'\"'+e.name.value+'\"'})).join(\", \");e.reportError(new l.a('Cannot spread fragment \"'.concat(f,'\" within itself')+(\"\"!==m?\" via \".concat(m,\".\"):\".\"),h))}n.pop()}r[a]=void 0}(i),!1}}}function Xe(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var r=n.variable.name.value;t[r]?e.reportError(new l.a('There can be only one variable named \"$'.concat(r,'\".'),[t[r],n.variable.name])):t[r]=n.variable.name}}}function Ze(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(a,'\" is not defined by operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(a,'\" is not defined.'),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function et(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var r=Object.create(null),i=e.getRecursiveVariableUsages(n),o=0;o<i.length;o++){r[i[o].node.name.value]=!0}for(var a=0,s=t;a<s.length;a++){var c=s[a],u=c.variable.name.value;!0!==r[u]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(u,'\" is never used in operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(u,'\" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}function tt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.locations}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];f.kind===u.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=f.locations.map((function(e){return e.value})))}return{Directive:function(n,r,i,o,s){var c=n.name.value,f=t[c];if(f){var p=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||Object(Se.a)(0),t.kind){case u.a.OPERATION_DEFINITION:return function(e){switch(e){case\"query\":return h.a.QUERY;case\"mutation\":return h.a.MUTATION;case\"subscription\":return h.a.SUBSCRIPTION}Object(Se.a)(!1,\"Unexpected operation: \"+Object(a.a)(e))}(t.operation);case u.a.FIELD:return h.a.FIELD;case u.a.FRAGMENT_SPREAD:return h.a.FRAGMENT_SPREAD;case u.a.INLINE_FRAGMENT:return h.a.INLINE_FRAGMENT;case u.a.FRAGMENT_DEFINITION:return h.a.FRAGMENT_DEFINITION;case u.a.VARIABLE_DEFINITION:return h.a.VARIABLE_DEFINITION;case u.a.SCHEMA_DEFINITION:case u.a.SCHEMA_EXTENSION:return h.a.SCHEMA;case u.a.SCALAR_TYPE_DEFINITION:case u.a.SCALAR_TYPE_EXTENSION:return h.a.SCALAR;case u.a.OBJECT_TYPE_DEFINITION:case u.a.OBJECT_TYPE_EXTENSION:return h.a.OBJECT;case u.a.FIELD_DEFINITION:return h.a.FIELD_DEFINITION;case u.a.INTERFACE_TYPE_DEFINITION:case u.a.INTERFACE_TYPE_EXTENSION:return h.a.INTERFACE;case u.a.UNION_TYPE_DEFINITION:case u.a.UNION_TYPE_EXTENSION:return h.a.UNION;case u.a.ENUM_TYPE_DEFINITION:case u.a.ENUM_TYPE_EXTENSION:return h.a.ENUM;case u.a.ENUM_VALUE_DEFINITION:return h.a.ENUM_VALUE;case u.a.INPUT_OBJECT_TYPE_DEFINITION:case u.a.INPUT_OBJECT_TYPE_EXTENSION:return h.a.INPUT_OBJECT;case u.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===u.a.INPUT_OBJECT_TYPE_DEFINITION?h.a.INPUT_FIELD_DEFINITION:h.a.ARGUMENT_DEFINITION}}(s);p&&-1===f.indexOf(p)&&e.reportError(new l.a('Directive \"@'.concat(c,'\" may not be used on ').concat(p,\".\"),n))}else e.reportError(new l.a('Unknown directive \"@'.concat(c,'\".'),n))}}}function nt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===u.a.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable)}var f=Object.create(null),p=Object.create(null);return{enter:function(n){if(null!=n.directives){var r;if(n.kind===u.a.SCHEMA_DEFINITION||n.kind===u.a.SCHEMA_EXTENSION)r=f;else if(Object(Ve.d)(n)||Object(Ve.e)(n)){var i=n.name.value;void 0===(r=p[i])&&(p[i]=r=Object.create(null))}else r=Object.create(null);for(var o=0,a=n.directives;o<a.length;o++){var s=a[o],c=s.name.value;t[c]&&(r[c]?e.reportError(new l.a('The directive \"@'.concat(c,'\" can only be used once at this location.'),[r[c],s])):r[c]=s)}}}}}function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach((function(t){it(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},at(e),{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var o=t.name.value,a=r.args.map((function(e){return e.name})),s=Object(Pe.a)(o,a);e.reportError(new l.a('Unknown argument \"'.concat(o,'\" on field \"').concat(i.name,\".\").concat(r.name,'\".')+Object(Re.a)(s),t))}}})}function at(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.args.map((function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===u.a.DIRECTIVE_DEFINITION){var f,p=null!==(f=c.arguments)&&void 0!==f?f:[];t[c.name.value]=p.map((function(e){return e.name.value}))}}return{Directive:function(n){var r=n.name.value,i=t[r];if(n.arguments&&i)for(var o=0,a=n.arguments;o<a.length;o++){var s=a[o],c=s.name.value;if(-1===i.indexOf(c)){var u=Object(Pe.a)(c,i);e.reportError(new l.a('Unknown argument \"'.concat(c,'\" on directive \"@').concat(r,'\".')+Object(Re.a)(u),s))}}return!1}}}function st(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one argument named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}var lt=n(18);function ct(e){return{ListValue:function(t){var n=Object(V.B)(e.getParentInputType());if(!Object(V.J)(n))return ut(e,t),!1},ObjectValue:function(t){var n=Object(V.A)(e.getInputType());if(!Object(V.F)(n))return ut(e,t),!1;for(var r=Object(lt.a)(t.fields,(function(e){return e.name.value})),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i];if(!r[s.name]&&Object(V.Q)(s)){var c=Object(a.a)(s.type);e.reportError(new l.a('Field \"'.concat(n.name,\".\").concat(s.name,'\" of required type \"').concat(c,'\" was not provided.'),t))}}},ObjectField:function(t){var n=Object(V.A)(e.getParentInputType());if(!e.getInputType()&&Object(V.F)(n)){var r=Object(Pe.a)(t.name.value,Object.keys(n.getFields()));e.reportError(new l.a('Field \"'.concat(t.name.value,'\" is not defined by type \"').concat(n.name,'\".')+Object(Re.a)(r),t))}},NullValue:function(t){var n=e.getInputType();Object(V.L)(n)&&e.reportError(new l.a('Expected value of type \"'.concat(Object(a.a)(n),'\", found ').concat(Object(qe.a)(t),\".\"),t))},EnumValue:function(t){return ut(e,t)},IntValue:function(t){return ut(e,t)},FloatValue:function(t){return ut(e,t)},StringValue:function(t){return ut(e,t)},BooleanValue:function(t){return ut(e,t)}}}function ut(e,t){var n=e.getInputType();if(n){var r=Object(V.A)(n);if(Object(V.I)(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(i,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}catch(r){var o=Object(a.a)(n);r instanceof l.a?e.reportError(r):e.reportError(new l.a('Expected value of type \"'.concat(o,'\", found ').concat(Object(qe.a)(t),\"; \")+r.message,t,void 0,void 0,void 0,r))}else{var s=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(s,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}}function ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dt(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ht(e),{Field:{leave:function(t){var n,r=e.getFieldDef();if(!r)return!1;for(var i=null!==(n=t.arguments)&&void 0!==n?n:[],o=Object(lt.a)(i,(function(e){return e.name.value})),s=0,c=r.args;s<c.length;s++){var u=c[s];if(!o[u.name]&&Object(V.P)(u)){var f=Object(a.a)(u.type);e.reportError(new l.a('Field \"'.concat(r.name,'\" argument \"').concat(u.name,'\" of type \"').concat(f,'\" is required, but it was not provided.'),t))}}}}})}function ht(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=Object(lt.a)(o.args.filter(V.P),(function(e){return e.name}))}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];if(f.kind===u.a.DIRECTIVE_DEFINITION){var p,d=null!==(p=f.arguments)&&void 0!==p?p:[];t[f.name.value]=Object(lt.a)(d.filter(mt),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var r=n.name.value,i=t[r];if(i)for(var o,s=null!==(o=n.arguments)&&void 0!==o?o:[],c=Object(lt.a)(s,(function(e){return e.name.value})),u=0,f=Object.keys(i);u<f.length;u++){var p=f[u];if(!c[p]){var d=i[p].type,h=Object(V.S)(d)?Object(a.a)(d):Object(qe.a)(d);e.reportError(new l.a('Directive \"@'.concat(r,'\" argument \"').concat(p,'\" of type \"').concat(h,'\" is required, but it was not provided.'),n))}}}}}}function mt(e){return e.type.kind===u.a.NON_NULL_TYPE&&null==e.defaultValue}function vt(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i],s=o.node,c=o.type,u=o.defaultValue,f=s.name.value,p=t[f];if(p&&c){var d=e.getSchema(),h=Ne(d,p.type);if(h&&!gt(d,h,p.defaultValue,c,u)){var m=Object(a.a)(h),v=Object(a.a)(c);e.reportError(new l.a('Variable \"$'.concat(f,'\" of type \"').concat(m,'\" used in position expecting type \"').concat(v,'\".'),[p,s]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function gt(e,t,n,r,i){return Object(V.L)(r)&&!Object(V.L)(t)?(null!=n&&n.kind!==u.a.NULL||void 0!==i)&&B(e,t,r.ofType):B(e,t,r)}function yt(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields \"'.concat(t,'\" conflict because ')+yt(n)})).join(\" and \"):e}function bt(e){var t=new Ct,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var o=[],a=_t(e,t,r,i),s=a[0],l=a[1];if(function(e,t,n,r,i){for(var o=0,a=Object(H.a)(i);o<a.length;o++){var s=a[o],l=s[0],c=s[1];if(c.length>1)for(var u=0;u<c.length;u++)for(var f=u+1;f<c.length;f++){var p=xt(e,n,r,!1,l,c[u],c[f]);p&&t.push(p)}}}(e,o,t,n,s),0!==l.length)for(var c=0;c<l.length;c++){Tt(e,o,t,n,!1,s,l[c]);for(var u=c+1;u<l.length;u++)Et(e,o,t,n,!1,l[c],l[u])}return o}(e,n,t,e.getParentType(),r),o=0;o<i.length;o++){var a=i[o],s=a[0],c=s[0],u=s[1],f=a[1],p=a[2],d=yt(u);e.reportError(new l.a('Fields \"'.concat(c,'\" conflict because ').concat(d,\". Use different aliases on the fields to fetch both if this was intentional.\"),f.concat(p)))}}}}function Tt(e,t,n,r,i,o,a){var s=e.getFragment(a);if(s){var l=kt(e,n,s),c=l[0],u=l[1];if(o!==c){Ot(e,t,n,r,i,o,c);for(var f=0;f<u.length;f++)Tt(e,t,n,r,i,o,u[f])}}}function Et(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),l=e.getFragment(a);if(s&&l){var c=kt(e,n,s),u=c[0],f=c[1],p=kt(e,n,l),d=p[0],h=p[1];Ot(e,t,n,r,i,u,d);for(var m=0;m<h.length;m++)Et(e,t,n,r,i,o,h[m]);for(var v=0;v<f.length;v++)Et(e,t,n,r,i,f[v],a)}}}function Ot(e,t,n,r,i,o,a){for(var s=0,l=Object.keys(o);s<l.length;s++){var c=l[s],u=a[c];if(u)for(var f=o[c],p=0;p<f.length;p++)for(var d=0;d<u.length;d++){var h=xt(e,n,r,i,c,f[p],u[d]);h&&t.push(h)}}}function xt(e,t,n,r,i,o,s){var l=o[0],c=o[1],u=o[2],f=s[0],p=s[1],d=s[2],h=r||l!==f&&Object(V.N)(l)&&Object(V.N)(f);if(!h){var m,v,g=c.name.value,y=p.name.value;if(g!==y)return[[i,'\"'.concat(g,'\" and \"').concat(y,'\" are different fields')],[c],[p]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,r,i=I(t,(function(t){return t.name.value===e.name.value}));return!!i&&(n=e.value,r=i.value,Object(qe.a)(n)===Object(qe.a)(r))}))}(null!==(m=c.arguments)&&void 0!==m?m:[],null!==(v=p.arguments)&&void 0!==v?v:[]))return[[i,\"they have differing arguments\"],[c],[p]]}var b=null==u?void 0:u.type,T=null==d?void 0:d.type;if(b&&T&&function e(t,n){if(Object(V.J)(t))return!Object(V.J)(n)||e(t.ofType,n.ofType);if(Object(V.J)(n))return!0;if(Object(V.L)(t))return!Object(V.L)(n)||e(t.ofType,n.ofType);if(Object(V.L)(n))return!0;if(Object(V.I)(t)||Object(V.I)(n))return t!==n;return!1}(b,T))return[[i,'they return conflicting types \"'.concat(Object(a.a)(b),'\" and \"').concat(Object(a.a)(T),'\"')],[c],[p]];var E=c.selectionSet,O=p.selectionSet;return E&&O?function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var l=[],c=_t(e,t,i,o),u=c[0],f=c[1],p=_t(e,t,a,s),d=p[0],h=p[1];if(Ot(e,l,t,n,r,u,d),0!==h.length)for(var m=0;m<h.length;m++)Tt(e,l,t,n,r,u,h[m]);if(0!==f.length)for(var v=0;v<f.length;v++)Tt(e,l,t,n,r,d,f[v]);for(var g=0;g<f.length;g++)for(var y=0;y<h.length;y++)Et(e,l,t,n,r,f[g],h[y]);return l}(e,t,n,h,Object(V.A)(b),E,Object(V.A)(T),O),i,c,p):void 0}function _t(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(var a=0,s=r.selections;a<s.length;a++){var l=s[a];switch(l.kind){case u.a.FIELD:var c=l.name.value,f=void 0;(Object(V.N)(n)||Object(V.H)(n))&&(f=n.getFields()[c]);var p=l.alias?l.alias.value:c;i[p]||(i[p]=[]),i[p].push([n,l,f]);break;case u.a.FRAGMENT_SPREAD:o[l.name.value]=!0;break;case u.a.INLINE_FRAGMENT:var d=l.typeCondition,h=d?Ne(t.getSchema(),d):n;e(t,h,l.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function kt(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Ne(e.getSchema(),n.typeCondition);return _t(e,t,i,n.selectionSet)}var wt,Ct=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){St(this._data,e,t,n),St(this._data,t,e,n)},e}();function St(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}function Nt(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new l.a('There can be only one input field named \"'.concat(r,'\".'),[n[r],t.name])):n[r]=t.name}}}function Dt(e){var t,n,r,i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){o?e.reportError(new l.a(\"Cannot define a new schema within a schema extension.\",t)):(a>0&&e.reportError(new l.a(\"Must provide only one schema definition.\",t)),++a)}}}function It(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,o=null!==(i=t.operationTypes)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],c=s.operation,u=n[c];r[c]?e.reportError(new l.a(\"Type for \".concat(c,\" already defined in the schema. It cannot be redefined.\"),s)):u?e.reportError(new l.a(\"There can be only one \".concat(c,\" type in schema.\"),[u,s])):n[c]=s}return!1}}function At(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;if(!(null==n?void 0:n.getType(i)))return t[i]?e.reportError(new l.a('There can be only one type named \"'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Type \"'.concat(i,'\" already exists in the schema. It cannot also be defined in this type definition.'),r.name))}}function Lt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value,p=n[o];Object(V.E)(p)&&p.getValue(f)?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function jt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.fields)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value;Ft(n[o],f)?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function Ft(e,t){return!!(Object(V.N)(e)||Object(V.H)(e)||Object(V.F)(e))&&e.getFields()[t]}function Mt(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;if(!(null==n?void 0:n.getDirective(i)))return t[i]?e.reportError(new l.a('There can be only one directive named \"@'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Directive \"@'.concat(i,'\" already exists in the schema. It cannot be redefined.'),r.name))}}}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e){for(var t=e.getSchema(),n=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var o=i[r];Object(Ve.d)(o)&&(n[o.name.value]=o)}return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(r){var i,o=r.name.value,s=n[o],c=null==t?void 0:t.getType(o);if(s?i=Vt[s.kind]:c&&(i=function(e){if(Object(V.R)(e))return u.a.SCALAR_TYPE_EXTENSION;if(Object(V.N)(e))return u.a.OBJECT_TYPE_EXTENSION;if(Object(V.H)(e))return u.a.INTERFACE_TYPE_EXTENSION;if(Object(V.T)(e))return u.a.UNION_TYPE_EXTENSION;if(Object(V.E)(e))return u.a.ENUM_TYPE_EXTENSION;if(Object(V.F)(e))return u.a.INPUT_OBJECT_TYPE_EXTENSION;Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}(c)),i){if(i!==r.kind){var f=function(e){switch(e){case u.a.SCALAR_TYPE_EXTENSION:return\"scalar\";case u.a.OBJECT_TYPE_EXTENSION:return\"object\";case u.a.INTERFACE_TYPE_EXTENSION:return\"interface\";case u.a.UNION_TYPE_EXTENSION:return\"union\";case u.a.ENUM_TYPE_EXTENSION:return\"enum\";case u.a.INPUT_OBJECT_TYPE_EXTENSION:return\"input object\"}Object(Se.a)(!1,\"Unexpected kind: \"+Object(a.a)(e))}(r.kind);e.reportError(new l.a(\"Cannot extend non-\".concat(f,' type \"').concat(o,'\".'),s?[s,r]:r))}}else{var p=Object.keys(n);t&&(p=p.concat(Object.keys(t.getTypeMap())));var d=Object(Pe.a)(o,p);e.reportError(new l.a('Cannot extend type \"'.concat(o,'\" because it is not defined.')+Object(Re.a)(d),r.name))}}}var Vt=(Rt(wt={},u.a.SCALAR_TYPE_DEFINITION,u.a.SCALAR_TYPE_EXTENSION),Rt(wt,u.a.OBJECT_TYPE_DEFINITION,u.a.OBJECT_TYPE_EXTENSION),Rt(wt,u.a.INTERFACE_TYPE_DEFINITION,u.a.INTERFACE_TYPE_EXTENSION),Rt(wt,u.a.UNION_TYPE_DEFINITION,u.a.UNION_TYPE_EXTENSION),Rt(wt,u.a.ENUM_TYPE_DEFINITION,u.a.ENUM_TYPE_EXTENSION),Rt(wt,u.a.INPUT_OBJECT_TYPE_DEFINITION,u.a.INPUT_OBJECT_TYPE_EXTENSION),wt);var Ut=Object.freeze([Le.a,je,Fe,Me,Ue,He,ze,Ge,Ke,Qe,We,Ye,Je,$e,Xe,Ze,et,tt,nt,ot,st,ct,dt,vt,bt,Nt]),Bt=Object.freeze([Dt,It,At,Lt,jt,Mt,Ue,tt,nt,Pt,at,st,Nt,ht]);function qt(e){return(qt=\"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 Ht(e){return function(){var t,n=Kt(e);if(Gt()){var r=Kt(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return zt(this,t)}}function zt(e,t){return!t||\"object\"!==qt(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function Gt(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Kt(e){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Wt=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===u.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var r=0,i=n.pop().selections;r<i.length;r++){var o=i[r];o.kind===u.a.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Yt=function(e){Qt(t,e);Ht(t);function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return t.prototype.getSchema=function(){return this._schema},t}(Wt),Jt=function(e){Qt(t,e);Ht(t);function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new De(this._schema);Object(D.c)(e,Ae(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},t}(Wt);function $t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new De(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(s.a)(0,\"Must provide document.\"),de(e);var o=Object.freeze({}),a=[],c=new Jt(e,t,r,(function(e){if(null!=i.maxErrors&&a.length>=i.maxErrors)throw a.push(new l.a(\"Too many validation errors, error limit reached. Validation aborted.\")),o;a.push(e)})),u=Object(D.d)(n.map((function(e){return e(c)})));try{Object(D.c)(t,Ae(r,u))}catch(e){if(e!==o)throw e}return a}function Xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bt,r=[],i=new Yt(e,t,(function(e){r.push(e)})),o=n.map((function(e){return e(i)}));return Object(D.c)(e,Object(D.d)(o)),r}var Zt=n(35);function en(e,t){return{prev:e,key:t}}function tn(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function nn(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new l.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new l.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new l.a(\"Schema is not configured for subscriptions.\",t);return i}throw new l.a(\"Can only have query, mutation and subscription operations.\",t)}function rn(e){return e.map((function(e){return\"number\"==typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}function on(e,t,n){if(e){if(e.kind===u.a.VARIABLE){var r=e.name.value;if(null==n||void 0===n[r])return;var i=n[r];if(null===i&&Object(V.L)(t))return;return i}if(Object(V.L)(t)){if(e.kind===u.a.NULL)return;return on(e,t.ofType,n)}if(e.kind===u.a.NULL)return null;if(Object(V.J)(t)){var o=t.ofType;if(e.kind===u.a.LIST){for(var s=[],l=0,c=e.values;l<c.length;l++){var f=c[l];if(an(f,n)){if(Object(V.L)(o))return;s.push(null)}else{var p=on(f,o,n);if(void 0===p)return;s.push(p)}}return s}var d=on(e,o,n);if(void 0===d)return;return[d]}if(Object(V.F)(t)){if(e.kind!==u.a.OBJECT)return;for(var h=Object.create(null),m=Object(lt.a)(e.fields,(function(e){return e.name.value})),v=0,g=Object(j.a)(t.getFields());v<g.length;v++){var y=g[v],b=m[y.name];if(b&&!an(b.value,n)){var T=on(b.value,y.type,n);if(void 0===T)return;h[y.name]=T}else if(void 0!==y.defaultValue)h[y.name]=y.defaultValue;else if(Object(V.L)(y.type))return}return h}if(Object(V.I)(t)){var E;try{E=t.parseLiteral(e,n)}catch(e){return}if(void 0===E)return;return E}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}}function an(e,t){return e.kind===u.a.VARIABLE&&(null==t||void 0===t[e.name.value])}function sn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ln;return cn(e,t,n)}function ln(e,t,n){var r=\"Invalid value \"+Object(a.a)(t);throw e.length>0&&(r+=' at \"value'.concat(rn(e),'\"')),n.message=r+\": \"+n.message,n}function cn(e,t,n,r){if(Object(V.L)(t))return null!=e?cn(e,t.ofType,n,r):void n(tn(r),e,new l.a('Expected non-nullable type \"'.concat(Object(a.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(V.J)(t)){var i=t.ofType;return Object(Zt.a)(e)?Object(ae.a)(e,(function(e,t){var o=en(r,t);return cn(e,i,n,o)})):[cn(e,i,n,r)]}if(Object(V.F)(t)){if(!Object(Q.a)(e))return void n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var o={},s=t.getFields(),c=0,u=Object(j.a)(s);c<u.length;c++){var f=u[c],p=e[f.name];if(void 0!==p)o[f.name]=cn(p,f.type,n,en(r,f.name));else if(void 0!==f.defaultValue)o[f.name]=f.defaultValue;else if(Object(V.L)(f.type)){var d=Object(a.a)(f.type);n(tn(r),e,new l.a('Field \"'.concat(f.name,'\" of required type \"').concat(d,'\" was not provided.')))}}for(var h=0,m=Object.keys(e);h<m.length;h++){var v=m[h];if(!s[v]){var g=Object(Pe.a)(v,Object.keys(t.getFields()));n(tn(r),e,new l.a('Field \"'.concat(v,'\" is not defined by type \"').concat(t.name,'\".')+Object(Re.a)(g)))}}return o}if(Object(V.I)(t)){var y;try{y=t.parseValue(e)}catch(i){return void(i instanceof l.a?n(tn(r),e,i):n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\". ')+i.message,void 0,void 0,void 0,void 0,i)))}return void 0===y&&n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\".'))),y}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}function un(e,t,n,r){var i=[],o=null==r?void 0:r.maxErrors;try{var s=function(e,t,n,r){for(var i={},o=function(o){var s=t[o],c=s.variable.name.value,u=Ne(e,s.type);if(!Object(V.G)(u)){var f=Object(qe.a)(s.type);return r(new l.a('Variable \"$'.concat(c,'\" expected value of type \"').concat(f,'\" which cannot be used as an input type.'),s.type)),\"continue\"}if(!dn(n,c)){if(s.defaultValue)i[c]=on(s.defaultValue,u);else if(Object(V.L)(u)){var p=Object(a.a)(u);r(new l.a('Variable \"$'.concat(c,'\" of required type \"').concat(p,'\" was not provided.'),s))}return\"continue\"}var d=n[c];if(null===d&&Object(V.L)(u)){var h=Object(a.a)(u);return r(new l.a('Variable \"$'.concat(c,'\" of non-null type \"').concat(h,'\" must not be null.'),s)),\"continue\"}i[c]=sn(d,u,(function(e,t,n){var i='Variable \"$'.concat(c,'\" got invalid value ')+Object(a.a)(t);e.length>0&&(i+=' at \"'.concat(c).concat(rn(e),'\"')),r(new l.a(i+\"; \"+n.message,s,void 0,void 0,void 0,n.originalError))}))},s=0;s<t.length;s++)o(s);return i}(e,t,n,(function(e){if(null!=o&&i.length>=o)throw new l.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:s}}catch(e){i.push(e)}return{errors:i}}function fn(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],s=Object(lt.a)(o,(function(e){return e.name.value})),c=0,f=e.args;c<f.length;c++){var p=f[c],d=p.name,h=p.type,m=s[d];if(m){var v=m.value,g=v.kind===u.a.NULL;if(v.kind===u.a.VARIABLE){var y=v.name.value;if(null==n||!dn(n,y)){if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+'was provided the variable \"$'.concat(y,'\" which was not provided a runtime value.'),v);continue}g=null==n[y]}if(g&&Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of non-null type \"').concat(Object(a.a)(h),'\" ')+\"must not be null.\",v);var b=on(v,h,n);if(void 0===b)throw new l.a('Argument \"'.concat(d,'\" has invalid value ').concat(Object(qe.a)(v),\".\"),v);i[d]=b}else if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+\"was not provided.\",t)}return i}function pn(e,t,n){var r=t.directives&&I(t.directives,(function(t){return t.name.value===e.name}));if(r)return fn(e,r,n)}function dn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hn(e,t,n,r,i,o,a,s){return mn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function mn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver;vn(t,n,a);var u=gn(t,n,r,i,a,s,l,c);if(Array.isArray(u))return{errors:u};var f=function(e,t,n){var r=nn(e.schema,t),i=bn(e,r,t.selectionSet,Object.create(null),Object.create(null));try{var a=\"mutation\"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(a,s){var l=i[s],c=en(r,s),u=On(e,t,n,l,c);return void 0===u?a:o(u)?u.then((function(e){return a[s]=e,a})):(a[s]=u,a)},l=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,void 0,i):yn(e,r,n,void 0,i);return o(a)?a.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):a}catch(t){return e.errors.push(t),null}}(u,u.operation,r);return function e(t,n){if(o(n))return n.then((function(n){return e(t,n)}));return 0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(u,f)}function vn(e,t,n){t||Object(s.a)(0,\"Must provide document.\"),de(e),null==n||Object(Q.a)(n)||Object(s.a)(0,\"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.\")}function gn(e,t,n,r,i,o,a,s){for(var c,f,p,d=Object.create(null),h=0,m=t.definitions;h<m.length;h++){var v=m[h];switch(v.kind){case u.a.OPERATION_DEFINITION:if(null==o){if(void 0!==p)return[new l.a(\"Must provide operation name if query contains multiple operations.\")];p=v}else(null===(c=v.name)||void 0===c?void 0:c.value)===o&&(p=v);break;case u.a.FRAGMENT_DEFINITION:d[v.name.value]=v}}if(!p)return null!=o?[new l.a('Unknown operation named \"'.concat(o,'\".'))]:[new l.a(\"Must provide an operation.\")];var g=un(e,null!==(f=p.variableDefinitions)&&void 0!==f?f:[],null!=i?i:{},{maxErrors:50});return g.errors?g.errors:{schema:e,fragments:d,rootValue:n,contextValue:r,operation:p,variableValues:g.coerced,fieldResolver:null!=a?a:Rn,typeResolver:null!=s?s:Mn,errors:[]}}function yn(e,t,n,r,i){for(var a,s,l,c=Object.create(null),u=!1,f=0,p=Object.keys(i);f<p.length;f++){var d=p[f],h=On(e,t,n,i[d],en(r,d));void 0!==h&&(c[d]=h,!u&&o(h)&&(u=!0))}return u?(a=c,s=Object.keys(a),l=s.map((function(e){return a[e]})),Promise.all(l).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):c}function bn(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case u.a.FIELD:if(!Tn(e,s))continue;var l=(p=s).alias?p.alias.value:p.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case u.a.INLINE_FRAGMENT:if(!Tn(e,s)||!En(e,s,t))continue;bn(e,t,s.selectionSet,r,i);break;case u.a.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!Tn(e,s))continue;i[c]=!0;var f=e.fragments[c];if(!f||!En(e,f,t))continue;bn(e,t,f.selectionSet,r,i)}}var p;return r}function Tn(e,t){var n=pn(ee,t,e.variableValues);if(!0===(null==n?void 0:n.if))return!1;var r=pn(Z,t,e.variableValues);return!1!==(null==r?void 0:r.if)}function En(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=Ne(e.schema,r);return i===n||!!Object(V.C)(i)&&e.schema.isSubType(i,n)}function On(e,t,n,r,i){var o,a=r[0].name.value,s=Pn(e.schema,t,a);if(s){var l=null!==(o=s.resolve)&&void 0!==o?o:e.fieldResolver,c=xn(e,s,r,t,i),u=_n(e,s,r,l,n,c);return wn(e,s.type,r,c,i,u)}}function xn(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function _n(e,t,n,r,i,a){try{var s=r(i,fn(t,n[0],e.variableValues),e.contextValue,a);return o(s)?s.then(void 0,kn):s}catch(e){return kn(e)}}function kn(e){return e instanceof Error?e:new Error(\"Unexpected error value: \"+Object(a.a)(e))}function wn(e,t,n,r,i,a){try{var s;return s=o(a)?a.then((function(o){return Sn(e,t,n,r,i,o)})):Sn(e,t,n,r,i,a),o(s)?s.then(void 0,(function(r){return Cn(r,n,i,t,e)})):s}catch(r){return Cn(r,n,i,t,e)}}function Cn(e,t,n,r,i){var o=F(kn(e),t,tn(n));if(Object(V.L)(r))throw o;return i.errors.push(o),null}function Sn(e,t,n,r,i,s){if(s instanceof Error)throw s;if(Object(V.L)(t)){var c=Sn(e,t.ofType,n,r,i,s);if(null===c)throw new Error(\"Cannot return null for non-nullable field \".concat(r.parentType.name,\".\").concat(r.fieldName,\".\"));return c}return null==s?null:Object(V.J)(t)?function(e,t,n,r,i,a){if(!Object(Zt.a)(a))throw new l.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));var s=t.ofType,c=!1,u=Object(ae.a)(a,(function(t,a){var l=en(i,a),u=wn(e,s,n,r,l,t);return!c&&o(u)&&(c=!0),u}));return c?Promise.all(u):u}(e,t,n,r,i,s):Object(V.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(a.a)(e),'\" but ')+\"received: \".concat(Object(a.a)(t)));return n}(t,s):Object(V.C)(t)?function(e,t,n,r,i,a){var s,l=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,u=l(a,c,r,t);if(o(u))return u.then((function(o){return Dn(e,Nn(o,e,t,n,r,a),n,r,i,a)}));return Dn(e,Nn(u,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,s):Object(V.N)(t)?Dn(e,t,n,r,i,s):void Object(Se.a)(!1,\"Cannot complete value of unexpected output type: \"+Object(a.a)(t))}function Nn(e,t,n,r,i,o){var s=\"string\"==typeof e?t.schema.getType(e):e;if(!Object(V.N)(s))throw new l.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(a.a)(o),', received \"').concat(Object(a.a)(s),'\". ')+'Either the \"'.concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);if(!t.schema.isSubType(n,s))throw new l.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function Dn(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw In(t,a,n);return An(e,t,n,i,a)}));if(!s)throw In(t,a,n)}return An(e,t,n,i,a)}function In(e,t,n){return new l.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(a.a)(t),\".\"),n)}function An(e,t,n,r,i){return yn(e,t,i,r,Fn(e,t,n))}var Ln,jn,Fn=(Ln=function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=bn(e,t,a.selectionSet,r,i))}return r},function(e,t,n){jn||(jn=new WeakMap);var r,i=jn.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,jn.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=Ln(e,t,n);return r.set(n,a),a});var Mn=function(e,t,n,r){if(Object(Q.a)(e)&&\"string\"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var l=i[s];if(l.isTypeOf){var c=l.isTypeOf(e,t,n);if(o(c))a[s]=c;else if(c)return l}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t]})):void 0},Rn=function(e,t,n,r){if(Object(Q.a)(e)||\"function\"==typeof e){var i=e[r.fieldName];return\"function\"==typeof i?e[r.fieldName](t,n,r):i}};function Pn(e,t,n){return n===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:n===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:n===oe.TypeNameMetaFieldDef.name?oe.TypeNameMetaFieldDef:t.getFields()[n]}function Vn(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(c){return c(1===l.length?Bn(e):Bn({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function Un(e,t,n,r,i,a,s,l){var c=Bn(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(c))throw new Error(\"GraphQL execution failed to complete synchronously.\");return c}function Bn(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver,u=pe(n);if(u.length>0)return{errors:u};try{t=_(r)}catch(e){return{errors:[e]}}var f=$t(n,t);return f.length>0?{errors:f}:hn({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:l,typeResolver:c})}var qn=n(39),Hn=n(60);function zn(e,t,n){var r,i,o,a,s,l,c=e[f.a].call(e);function u(e){return e.done?e:Gn(e.value,t).then(Kn,i)}if(\"function\"==typeof c.return&&(r=c.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var p=n;o=function(e){return Gn(e,p).then(Kn,i)}}return a={next:function(){return c.next().then(u,o)},return:function(){return r?r.call(c).then(u,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"==typeof c.throw?c.throw(e).then(u,o):Promise.reject(e).catch(i)}},s=f.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Gn(e,t){return new Promise((function(n){return n(t(e))}))}function Kn(e){return{value:e,done:!1}}function Qn(e){return(Qn=\"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 Wn(e,t,n,r,i,o,a,s){return Jn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Yn(e){if(e instanceof l.a)return{errors:[e]};throw e}function Jn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=$n(t,n,r,i,o,a,l),u=function(e){return hn({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return c.then((function(e){return Xn(e)?zn(e,u,Yn):e}))}function $n(e,t,n,r,i,o,s){vn(e,t,i);try{var c,u=gn(e,t,n,r,i,o,s);if(Array.isArray(u))return Promise.resolve({errors:u});var f=nn(e,u.operation),p=bn(u,f,u.operation.selectionSet,Object.create(null),Object.create(null)),d=Object.keys(p)[0],h=p[d],m=h[0].name.value,v=Pn(e,f,m);if(!v)throw new l.a('The subscription field \"'.concat(m,'\" is not defined.'),h);var g=null!==(c=v.subscribe)&&void 0!==c?c:u.fieldResolver,y=en(void 0,d),b=xn(u,v,h,f,y),T=_n(u,v,h,g,n,b);return Promise.resolve(T).then((function(e){if(e instanceof Error)return{errors:[F(e,h,tn(y))]};if(Xn(e))return e;throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(a.a)(e),\".\"))}))}catch(e){return e instanceof l.a?Promise.resolve({errors:[e]}):Promise.reject(e)}}function Xn(e){return null!=e&&\"object\"===Qn(e)&&\"function\"==typeof e[f.a]}function Zn(e){var t;e||Object(s.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",r=e.locations,i=e.path,o=e.extensions;return o?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,directiveIsRepeatable:!1,schemaDescription:!1},e),n=t.descriptions?\"description\":\"\",r=t.directiveIsRepeatable?\"isRepeatable\":\"\",i=t.schemaDescription?n:\"\";return\"\\n    query IntrospectionQuery {\\n      __schema {\\n        \".concat(i,\"\\n        queryType { name }\\n        mutationType { name }\\n        subscriptionType { name }\\n        types {\\n          ...FullType\\n        }\\n        directives {\\n          name\\n          \").concat(n,\"\\n          \").concat(r,\"\\n          locations\\n          args {\\n            ...InputValue\\n          }\\n        }\\n      }\\n    }\\n\\n    fragment FullType on __Type {\\n      kind\\n      name\\n      \").concat(n,\"\\n      fields(includeDeprecated: true) {\\n        name\\n        \").concat(n,\"\\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(n,\"\\n        isDeprecated\\n        deprecationReason\\n      }\\n      possibleTypes {\\n        ...TypeRef\\n      }\\n    }\\n\\n    fragment InputValue on __InputValue {\\n      name\\n      \").concat(n,\"\\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  \")}function rr(e,t){for(var n=null,r=0,i=e.definitions;r<i.length;r++){var o,a=i[r];if(a.kind===u.a.OPERATION_DEFINITION)if(null==t){if(n)return null;n=a}else if((null===(o=a.name)||void 0===o?void 0:o.value)===t)return a}return n}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t){var n=hn({schema:e,document:_(nr(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){or(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({directiveIsRepeatable:!0,schemaDescription:!0},t)))});return!o(n)&&!n.errors&&n.data||Object(Se.a)(0),n.data}var sr=n(26);function lr(e,t){Object(Q.a)(e)&&Object(Q.a)(e.__schema)||Object(s.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing \"data\" property of introspection response and no \"errors\" was returned alongside: '.concat(Object(a.a)(e),\".\"));for(var n=e.__schema,r=Object(sr.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case oe.TypeKind.SCALAR:return r=e,new V.g({name:r.name,description:r.description});case oe.TypeKind.OBJECT:return n=e,new V.f({name:n.name,description:n.description,interfaces:function(){return g(n)},fields:function(){return y(n)}});case oe.TypeKind.INTERFACE:return t=e,new V.c({name:t.name,description:t.description,interfaces:function(){return g(t)},fields:function(){return y(t)}});case oe.TypeKind.UNION:return function(e){if(!e.possibleTypes){var t=Object(a.a)(e);throw new Error(\"Introspection result missing possibleTypes: \".concat(t,\".\"))}return new V.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(m)}})}(e);case oe.TypeKind.ENUM:return function(e){if(!e.enumValues){var t=Object(a.a)(e);throw new Error(\"Introspection result missing enumValues: \".concat(t,\".\"))}return new V.a({name:e.name,description:e.description,values:Object(sr.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case oe.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=Object(a.a)(e);throw new Error(\"Introspection result missing inputFields: \".concat(t,\".\"))}return new V.b({name:e.name,description:e.description,fields:function(){return T(e.inputFields)}})}(e)}var t;var n;var r;var i=Object(a.a)(e);throw new Error(\"Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: \".concat(i,\".\"))}(e)})),i=0,o=[].concat(W.g,oe.introspectionTypes);i<o.length;i++){var l=o[i];r[l.name]&&(r[l.name]=l)}var c=n.queryType?m(n.queryType):null,u=n.mutationType?m(n.mutationType):null,f=n.subscriptionType?m(n.subscriptionType):null,p=n.directives?n.directives.map((function(e){if(!e.args){var t=Object(a.a)(e);throw new Error(\"Introspection result missing directive args: \".concat(t,\".\"))}if(!e.locations){var n=Object(a.a)(e);throw new Error(\"Introspection result missing directive locations: \".concat(n,\".\"))}return new X({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:T(e.args)})})):[];return new ue({description:n.description,query:c,mutation:u,subscription:f,types:Object(j.a)(r),directives:p,assumeValid:null==t?void 0:t.assumeValid});function d(e){if(e.kind===oe.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error(\"Decorated type deeper than introspection query.\");return Object(V.d)(d(t))}if(e.kind===oe.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error(\"Decorated type deeper than introspection query.\");var r=d(n);return Object(V.e)(Object(V.t)(r))}return h(e)}function h(e){var t=e.name;if(!t)throw new Error(\"Unknown type reference: \".concat(Object(a.a)(e),\".\"));var n=r[t];if(!n)throw new Error(\"Invalid or incomplete schema, unknown type: \".concat(t,\". Ensure that a full introspection query is used in order to build a client schema.\"));return n}function m(e){return Object(V.u)(h(e))}function v(e){return Object(V.o)(h(e))}function g(e){if(null===e.interfaces&&e.kind===oe.TypeKind.INTERFACE)return[];if(!e.interfaces){var t=Object(a.a)(e);throw new Error(\"Introspection result missing interfaces: \".concat(t,\".\"))}return e.interfaces.map(v)}function y(e){if(!e.fields)throw new Error(\"Introspection result missing fields: \".concat(Object(a.a)(e),\".\"));return Object(sr.a)(e.fields,(function(e){return e.name}),b)}function b(e){var t=d(e.type);if(!Object(V.O)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide output type for fields, but received: \".concat(n,\".\"))}if(!e.args){var r=Object(a.a)(e);throw new Error(\"Introspection result missing field args: \".concat(r,\".\"))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:T(e.args)}}function T(e){return Object(sr.a)(e,(function(e){return e.name}),E)}function E(e){var t=d(e.type);if(!Object(V.G)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide input type for arguments, but received: \".concat(n,\".\"))}var r=null!=e.defaultValue?on(k(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r}}}var cr=n(29);function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t,n){ce(e),null!=t&&t.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&function(e,t){var n=Xt(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}(t,e);var r=e.toConfig(),i=hr(r,t,n);return r===i?e:new ue(i)}function hr(e,t,n){for(var r,i,o,s,l,c=[],f=Object.create(null),p=[],d=[],h=0,m=t.definitions;h<m.length;h++){var v=m[h];if(v.kind===u.a.SCHEMA_DEFINITION)l=v;else if(v.kind===u.a.SCHEMA_EXTENSION)d.push(v);else if(Object(Ve.d)(v))c.push(v);else if(Object(Ve.e)(v)){var g=v.name.value,y=f[g];f[g]=y?y.concat([v]):[v]}else v.kind===u.a.DIRECTIVE_DEFINITION&&p.push(v)}if(0===Object.keys(f).length&&0===c.length&&0===p.length&&0===d.length&&null==l)return e;for(var b=Object.create(null),T=0,E=e.types;T<E.length;T++){var O=E[T];b[O.name]=D(O)}for(var x=0;x<c.length;x++){var _,k=c[x],w=k.name.value;b[w]=null!==(_=mr[w])&&void 0!==_?_:z(k)}var C=fr({query:e.query&&N(e.query),mutation:e.mutation&&N(e.mutation),subscription:e.subscription&&N(e.subscription)},l&&L([l]),{},L(d));return fr({description:null===(r=l)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},C,{types:Object(j.a)(b),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new X(fr({},t,{args:Object(cr.a)(t.args,A)}))})),p.map((function(e){var t=e.locations.map((function(e){return e.value}));return new X({name:e.name.value,description:gr(e,n),locations:t,isRepeatable:e.repeatable,args:P(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(o=l)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(s=null==n?void 0:n.assumeValid)&&void 0!==s&&s});function S(e){return Object(V.J)(e)?new V.d(S(e.ofType)):Object(V.L)(e)?new V.e(S(e.ofType)):N(e)}function N(e){return b[e.name]}function D(e){return Object(oe.isIntrospectionType)(e)||Object(W.f)(e)?e:Object(V.R)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.g(fr({},n,{extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.N)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.f(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.H)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.c(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.T)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.h(fr({},n,{types:function(){return[].concat(e.getTypes().map(N),H(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.E)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[e.name])&&void 0!==t?t:[];return new V.a(fr({},n,{values:fr({},n.values,{},B(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.F)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.b(fr({},n,{fields:function(){return fr({},Object(cr.a)(n.fields,(function(e){return fr({},e,{type:S(e.type)})})),{},U(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function I(e){return fr({},e,{type:S(e.type),args:Object(cr.a)(e.args,A)})}function A(e){return fr({},e,{type:S(e.type)})}function L(e){for(var t={},n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=F(a.type)}return t}function F(e){var t,n=e.name.value,r=null!==(t=mr[n])&&void 0!==t?t:b[n];if(void 0===r)throw new Error('Unknown type: \"'.concat(n,'\".'));return r}function M(e){return e.kind===u.a.LIST_TYPE?new V.d(M(e.type)):e.kind===u.a.NON_NULL_TYPE?new V.e(M(e.type)):F(e)}function R(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:M(s.type),description:gr(s,n),args:P(s.arguments),deprecationReason:vr(s),astNode:s}}return t}function P(e){for(var t=null!=e?e:[],r=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=M(o.type);r[o.name.value]={type:a,description:gr(o,n),defaultValue:on(o.defaultValue,a),astNode:o}}return r}function U(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],l=M(s.type);t[s.name.value]={type:l,description:gr(s,n),defaultValue:on(s.defaultValue,l),astNode:s}}return t}function B(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].values)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:gr(s,n),deprecationReason:vr(s),astNode:s}}return t}function q(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].interfaces)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function H(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].types)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function z(e){var t,r=e.name.value,i=gr(e,n),o=null!==(t=f[r])&&void 0!==t?t:[];switch(e.kind){case u.a.OBJECT_TYPE_DEFINITION:var s=o,l=[e].concat(s);return new V.f({name:r,description:i,interfaces:function(){return q(l)},fields:function(){return R(l)},astNode:e,extensionASTNodes:s});case u.a.INTERFACE_TYPE_DEFINITION:var c=o,p=[e].concat(c);return new V.c({name:r,description:i,interfaces:function(){return q(p)},fields:function(){return R(p)},astNode:e,extensionASTNodes:c});case u.a.ENUM_TYPE_DEFINITION:var d=o,h=[e].concat(d);return new V.a({name:r,description:i,values:B(h),astNode:e,extensionASTNodes:d});case u.a.UNION_TYPE_DEFINITION:var m=o,v=[e].concat(m);return new V.h({name:r,description:i,types:function(){return H(v)},astNode:e,extensionASTNodes:m});case u.a.SCALAR_TYPE_DEFINITION:var g=o;return new V.g({name:r,description:i,astNode:e,extensionASTNodes:g});case u.a.INPUT_OBJECT_TYPE_DEFINITION:var y=o,b=[e].concat(y);return new V.b({name:r,description:i,fields:function(){return U(b)},astNode:e,extensionASTNodes:y})}Object(Se.a)(!1,\"Unexpected type definition node: \"+Object(a.a)(e))}}var mr=Object(lt.a)(W.g.concat(oe.introspectionTypes),(function(e){return e.name}));function vr(e){var t=pn(ne,e);return null==t?void 0:t.reason}function gr(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;null!=r&&r.kind===m.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.length>0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(g.a)(\"\\n\"+n)}}function yr(e,t){null!=e&&e.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Xt(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}(e);var n=hr(br,e,t);if(null==n.astNode)for(var r=0,i=n.types;r<i.length;r++){var o=i[r];switch(o.name){case\"Query\":n.query=o;break;case\"Mutation\":n.mutation=o;break;case\"Subscription\":n.subscription=o}}var a=n.directives;return a.some((function(e){return\"skip\"===e.name}))||a.push(ee),a.some((function(e){return\"include\"===e.name}))||a.push(Z),a.some((function(e){return\"deprecated\"===e.name}))||a.push(ne),new ue(n)}var br=new ue({directives:[]}).toConfig();function Tr(e,t){return yr(_(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function Er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach((function(t){xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){var t=e.toConfig(),n=Object(sr.a)(wr(t.types),(function(e){return e.name}),(function(e){if(Object(V.R)(e)||Object(oe.isIntrospectionType)(e))return e;if(Object(V.N)(e)){var t=e.toConfig();return new V.f(Or({},t,{interfaces:function(){return c(t.interfaces)},fields:function(){return l(t.fields)}}))}if(Object(V.H)(e)){var n=e.toConfig();return new V.c(Or({},n,{interfaces:function(){return c(n.interfaces)},fields:function(){return l(n.fields)}}))}if(Object(V.T)(e)){var i=e.toConfig();return new V.h(Or({},i,{types:function(){return c(i.types)}}))}if(Object(V.E)(e)){var o=e.toConfig();return new V.a(Or({},o,{values:kr(o.values)}))}if(Object(V.F)(e)){var s=e.toConfig();return new V.b(Or({},s,{fields:function(){return kr(s.fields,(function(e){return Or({},e,{type:r(e.type)})}))}}))}Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}));return new ue(Or({},t,{types:Object(j.a)(n),directives:wr(t.directives).map((function(e){var t=e.toConfig();return new X(Or({},t,{locations:Cr(t.locations,(function(e){return e})),args:s(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return Object(V.J)(e)?new V.d(r(e.ofType)):Object(V.L)(e)?new V.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function s(e){return kr(e,(function(e){return Or({},e,{type:r(e.type)})}))}function l(e){return kr(e,(function(e){return Or({},e,{type:r(e.type),args:s(e.args)})}))}function c(e){return wr(e).map(i)}}function kr(e,t){for(var n=Object.create(null),r=Cr(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function wr(e){return Cr(e,(function(e){return e.name}))}function Cr(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return r.localeCompare(i)}))}var Sr=n(31);function Nr(e,t){return Ar(e,(function(e){return!ie(e)}),Ir,t)}function Dr(e,t){return Ar(e,ie,oe.isIntrospectionType,t)}function Ir(e){return!Object(W.f)(e)&&!Object(oe.isIntrospectionType)(e)}function Ar(e,t,n,r){var i=e.getDirectives().filter(t),o=Object(j.a)(e.getTypeMap()).filter(n);return[Lr(e)].concat(i.map((function(e){return function(e,t){return Br(t,e)+\"directive @\"+e.name+Pr(t,e.args)+(e.isRepeatable?\" repeatable\":\"\")+\" on \"+e.locations.join(\" | \")}(e,r)})),o.map((function(e){return jr(e,r)}))).filter(Boolean).join(\"\\n\\n\")+\"\\n\"}function Lr(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&\"Query\"!==t.name)return!1;var n=e.getMutationType();if(n&&\"Mutation\"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&\"Subscription\"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push(\"  query: \".concat(n.name));var r=e.getMutationType();r&&t.push(\"  mutation: \".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(\"  subscription: \".concat(i.name)),Br({},e)+\"schema {\\n\".concat(t.join(\"\\n\"),\"\\n}\")}}function jr(e,t){return Object(V.R)(e)?function(e,t){return Br(t,e)+\"scalar \".concat(e.name)}(e,t):Object(V.N)(e)?function(e,t){return Br(t,e)+\"type \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.H)(e)?function(e,t){return Br(t,e)+\"interface \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?\" = \"+n.join(\" | \"):\"\";return Br(t,e)+\"union \"+e.name+r}(e,t):Object(V.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+e.name+Ur(e)}));return Br(t,e)+\"enum \".concat(e.name)+Rr(n)}(e,t):Object(V.F)(e)?function(e,t){var n=Object(j.a)(e.getFields()).map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+Vr(e)}));return Br(t,e)+\"input \".concat(e.name)+Rr(n)}(e,t):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function Fr(e){var t=e.getInterfaces();return t.length?\" implements \"+t.map((function(e){return e.name})).join(\" & \"):\"\"}function Mr(e,t){return Rr(Object(j.a)(t.getFields()).map((function(t,n){return Br(e,t,\"  \",!n)+\"  \"+t.name+Pr(e,t.args,\"  \")+\": \"+String(t.type)+Ur(t)})))}function Rr(e){return 0!==e.length?\" {\\n\"+e.join(\"\\n\")+\"\\n}\":\"\"}function Pr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(Vr).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return Br(e,t,\"  \"+n,!r)+\"  \"+n+Vr(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function Vr(e){var t=Object(Sr.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(qe.a)(t))),n}function Ur(e){if(!e.isDeprecated)return\"\";var t=e.deprecationReason,n=Object(Sr.a)(t,W.e);return n&&t!==te?\" @deprecated(reason: \"+Object(qe.a)(n)+\")\":\" @deprecated\"}function Br(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null==e?void 0:e.commentDescriptions))return qr(i,n,r);var o=i.length>70,a=Object(g.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function qr(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var Hr=n(86);function zr(e){return{kind:\"Document\",definitions:L(e,(function(e){return e.definitions}))}}function Gr(e){var t,n=[],r=Object.create(null);Object(D.c)(e,{OperationDefinition:function(e){t=Kr(e),n.push(e)},FragmentDefinition:function(e){t=e.name.value},FragmentSpread:function(e){var n=e.name.value,i=r[t];void 0===i&&(i=r[t]=Object.create(null)),i[n]=!0}});for(var i=Object.create(null),o=function(t){var o=n[t],a=Kr(o),s=Object.create(null);!function e(t,n,r){var i=n[r];if(i)for(var o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];t[s]||(t[s]=!0,e(t,n,s))}}(s,r,a),i[a]={kind:u.a.DOCUMENT,definitions:e.definitions.filter((function(e){return e===o||e.kind===u.a.FRAGMENT_DEFINITION&&s[e.name.value]}))}},a=0;a<n.length;a++)o(a);return i}function Kr(e){return e.name?e.name.value:\"\"}function Qr(e){var t=\"string\"==typeof e?new d(e):e;if(!(t instanceof d))throw new TypeError(\"Must provide string or Source. Received: \".concat(Object(a.a)(t),\".\"));for(var n=t.body,r=new y(t),i=\"\",o=!1;r.advance().kind!==m.EOF;){var s=r.token,l=s.kind,c=!b(s.kind);o&&(c||s.kind===m.SPREAD)&&(i+=\" \");var u=n.slice(s.start,s.end);l===m.BLOCK_STRING?i+=Wr(u):i+=u,o=c}return i}function Wr(e){var t=e.slice(3,-3),n=Object(g.a)(t),r=n.split(/\\r\\n|[\\n\\r]/g);Object(g.b)(r)>0&&(n=\"\\n\"+n);var i=n[n.length-1];return('\"'===i&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===i)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $r=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\",IMPLEMENTED_INTERFACE_REMOVED:\"IMPLEMENTED_INTERFACE_REMOVED\",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_REPEATABLE_REMOVED:\"DIRECTIVE_REPEATABLE_REMOVED\",DIRECTIVE_LOCATION_REMOVED:\"DIRECTIVE_LOCATION_REMOVED\"}),Xr=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\",IMPLEMENTED_INTERFACE_ADDED:\"IMPLEMENTED_INTERFACE_ADDED\",ARG_DEFAULT_VALUE_CHANGE:\"ARG_DEFAULT_VALUE_CHANGE\"});function Zr(e,t){return ti(e,t).filter((function(e){return e.type in $r}))}function ei(e,t){return ti(e,t).filter((function(e){return e.type in Xr}))}function ti(e,t){return[].concat(function(e,t){for(var n=[],r=pi(Object(j.a)(e.getTypeMap()),Object(j.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.TYPE_REMOVED,description:Object(W.f)(a)?\"Standard scalar \".concat(a.name,\" was removed because it is not referenced anymore.\"):\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];Object(V.E)(u)&&Object(V.E)(f)?n.push.apply(n,ii(u,f)):Object(V.T)(u)&&Object(V.T)(f)?n.push.apply(n,ri(u,f)):Object(V.F)(u)&&Object(V.F)(f)?n.push.apply(n,ni(u,f)):Object(V.N)(u)&&Object(V.N)(f)||Object(V.H)(u)&&Object(V.H)(f)?n.push.apply(n,ai(u,f).concat(oi(u,f))):u.constructor!==f.constructor&&n.push({type:$r.TYPE_CHANGED_KIND,description:\"\".concat(u.name,\" changed from \")+\"\".concat(ui(u),\" to \").concat(ui(f),\".\")})}return n}(e,t),function(e,t){for(var n=[],r=pi(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.DIRECTIVE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var c=l[s],u=c[0],f=c[1],p=pi(u.args,f.args),d=0,h=p.added;d<h.length;d++){var m=h[d];Object(V.P)(m)&&n.push({type:$r.REQUIRED_DIRECTIVE_ARG_ADDED,description:\"A required arg \".concat(m.name,\" on directive \").concat(u.name,\" was added.\")})}for(var v=0,g=p.removed;v<g.length;v++){var y=g[v];n.push({type:$r.DIRECTIVE_ARG_REMOVED,description:\"\".concat(y.name,\" was removed from \").concat(u.name,\".\")})}u.isRepeatable&&!f.isRepeatable&&n.push({type:$r.DIRECTIVE_REPEATABLE_REMOVED,description:\"Repeatable flag was removed from \".concat(u.name,\".\")});for(var b=0,T=u.locations;b<T.length;b++){var E=T[b];-1===f.locations.indexOf(E)&&n.push({type:$r.DIRECTIVE_LOCATION_REMOVED,description:\"\".concat(E,\" was removed from \").concat(u.name,\".\")})}}return n}(e,t))}function ni(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(V.Q)(a)?n.push({type:$r.REQUIRED_INPUT_FIELD_ADDED,description:\"A required field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")}):n.push({type:Xr.OPTIONAL_INPUT_FIELD_ADDED,description:\"An optional field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(c.name,\" was removed.\")})}for(var u=0,f=r.persisted;u<f.length;u++){var p=f[u],d=p[0],h=p[1];ci(d.type,h.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(d.name,\" changed type from \")+\"\".concat(String(d.type),\" to \").concat(String(h.type),\".\")})}return n}function ri(e,t){for(var n=[],r=pi(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.TYPE_ADDED_TO_UNION,description:\"\".concat(a.name,\" was added to union type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.TYPE_REMOVED_FROM_UNION,description:\"\".concat(c.name,\" was removed from union type \").concat(e.name,\".\")})}return n}function ii(e,t){for(var n=[],r=pi(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.VALUE_ADDED_TO_ENUM,description:\"\".concat(a.name,\" was added to enum type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.VALUE_REMOVED_FROM_ENUM,description:\"\".concat(c.name,\" was removed from enum type \").concat(e.name,\".\")})}return n}function oi(e,t){for(var n=[],r=pi(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.IMPLEMENTED_INTERFACE_ADDED,description:\"\".concat(a.name,\" added to interfaces implemented by \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.IMPLEMENTED_INTERFACE_REMOVED,description:\"\".concat(e.name,\" no longer implements interface \").concat(c.name,\".\")})}return n}function ai(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];n.push.apply(n,si(e,u,f)),li(u.type,f.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(u.name,\" changed type from \")+\"\".concat(String(u.type),\" to \").concat(String(f.type),\".\")})}return n}function si(e,t,n){for(var r=[],i=pi(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:$r.ARG_REMOVED,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(s.name,\" was removed.\")})}for(var l=0,c=i.persisted;l<c.length;l++){var u=c[l],f=u[0],p=u[1];if(ci(f.type,p.type)){if(void 0!==f.defaultValue)if(void 0===p.defaultValue)r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" defaultValue was removed.\")});else{var d=fi(f.defaultValue,f.type),h=fi(p.defaultValue,p.type);d!==h&&r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed defaultValue from \").concat(d,\" to \").concat(h,\".\")})}}else r.push({type:$r.ARG_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed type from \")+\"\".concat(String(f.type),\" to \").concat(String(p.type),\".\")})}for(var m=0,v=i.added;m<v.length;m++){var g=v[m];Object(V.P)(g)?r.push({type:$r.REQUIRED_ARG_ADDED,description:\"A required arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")}):r.push({type:Xr.OPTIONAL_ARG_ADDED,description:\"An optional arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")})}return r}function li(e,t){return Object(V.J)(e)?Object(V.J)(t)&&li(e.ofType,t.ofType)||Object(V.L)(t)&&li(e,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&li(e.ofType,t.ofType):Object(V.K)(t)&&e.name===t.name||Object(V.L)(t)&&li(e,t.ofType)}function ci(e,t){return Object(V.J)(e)?Object(V.J)(t)&&ci(e.ofType,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&ci(e.ofType,t.ofType)||!Object(V.L)(t)&&ci(e.ofType,t):Object(V.K)(t)&&e.name===t.name}function ui(e){return Object(V.R)(e)?\"a Scalar type\":Object(V.N)(e)?\"an Object type\":Object(V.H)(e)?\"an Interface type\":Object(V.T)(e)?\"a Union type\":Object(V.E)(e)?\"an Enum type\":Object(V.F)(e)?\"an Input type\":void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function fi(e,t){var n=Object(Sr.a)(e,t);null!=n||Object(Se.a)(0);var r=Object(D.c)(n,{ObjectValue:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{fields:[].concat(e.fields).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}))})}});return Object(qe.a)(r)}function pi(e,t){for(var n=[],r=[],i=[],o=Object(lt.a)(e,(function(e){return e.name})),a=Object(lt.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],c=a[l.name];void 0===c?r.push(l):i.push([l,c])}for(var u=0;u<t.length;u++){var f=t[u];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function di(e,t){var n=[],r=new De(e);return Object(D.c)(t,Ae(r,{Field:function(e){var t=r.getParentType(),i=r.getFieldDef();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The field \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))},EnumValue:function(e){var t=Object(V.A)(r.getInputType()),i=r.getEnumValue();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The enum value \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))}})),n}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return r})),n.d(t,\"a\",(function(){return i})),n.d(t,\"c\",(function(){return o}));var r=\"function\"==typeof Symbol?Symbol.iterator:\"@@iterator\",i=\"function\"==typeof Symbol?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"==typeof Symbol?Symbol.toStringTag:\"@@toStringTag\"},function(e,t){e.exports=window.React},function(e,t,n){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(3),i=n(13),o={Name:[],Document:[\"definitions\"],OperationDefinition:[\"name\",\"variableDefinitions\",\"directives\",\"selectionSet\"],VariableDefinition:[\"variable\",\"type\",\"defaultValue\",\"directives\"],Variable:[\"name\"],SelectionSet:[\"selections\"],Field:[\"alias\",\"name\",\"arguments\",\"directives\",\"selectionSet\"],Argument:[\"name\",\"value\"],FragmentSpread:[\"name\",\"directives\"],InlineFragment:[\"typeCondition\",\"directives\",\"selectionSet\"],FragmentDefinition:[\"name\",\"variableDefinitions\",\"typeCondition\",\"directives\",\"selectionSet\"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[\"values\"],ObjectValue:[\"fields\"],ObjectField:[\"name\",\"value\"],Directive:[\"name\",\"arguments\"],NamedType:[\"name\"],ListType:[\"type\"],NonNullType:[\"type\"],SchemaDefinition:[\"description\",\"directives\",\"operationTypes\"],OperationTypeDefinition:[\"type\"],ScalarTypeDefinition:[\"description\",\"name\",\"directives\"],ObjectTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],FieldDefinition:[\"description\",\"name\",\"arguments\",\"type\",\"directives\"],InputValueDefinition:[\"description\",\"name\",\"type\",\"defaultValue\",\"directives\"],InterfaceTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeDefinition:[\"description\",\"name\",\"directives\",\"types\"],EnumTypeDefinition:[\"description\",\"name\",\"directives\",\"values\"],EnumValueDefinition:[\"description\",\"name\",\"directives\"],InputObjectTypeDefinition:[\"description\",\"name\",\"directives\",\"fields\"],DirectiveDefinition:[\"description\",\"name\",\"arguments\",\"locations\"],SchemaExtension:[\"directives\",\"operationTypes\"],ScalarTypeExtension:[\"name\",\"directives\"],ObjectTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],InterfaceTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeExtension:[\"name\",\"directives\",\"types\"],EnumTypeExtension:[\"name\",\"directives\",\"values\"],InputObjectTypeExtension:[\"name\",\"directives\",\"fields\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===u.length,T=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),T){if(l)d=d.slice();else{for(var E={},O=0,x=Object.keys(d);O<x.length;O++){var _=x[O];E[_]=d[_]}d=E}for(var k=0,w=0;w<p.length;w++){var C=p[w][0],S=p[w][1];l&&(C-=k),l&&null===S?(d.splice(C,1),k++):d[C]=S}}f=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else{if(h=m?l?f:u[f]:void 0,null==(d=m?m[h]:y))continue;m&&v.push(h)}var N,D=void 0;if(!Array.isArray(d)){if(!Object(i.c)(d))throw new Error(\"Invalid AST Node: \".concat(Object(r.a)(d),\".\"));var I=c(t,d.kind,b);if(I){if((D=I.call(t,d,h,m,v,g))===a)break;if(!1===D){if(!b){v.pop();continue}}else if(void 0!==D&&(p.push([h,D]),!b)){if(!Object(i.c)(D)){v.pop();continue}d=D}}}if(void 0===D&&T&&p.push([h,d]),b)v.pop();else s={inArray:l,index:f,keys:u,edits:p,prev:s},u=(l=Array.isArray(d))?d:null!==(N=n[d.kind])&&void 0!==N?N:[],f=-1,p=[],m&&g.push(m),m=d}while(void 0!==s);return 0!==p.length&&(y=p[p.length-1][1]),y}function l(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&\"function\"==typeof r)return r;var i=n?r.leave:r.enter;if(\"function\"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if(\"function\"==typeof o)return o;var a=o[t];if(\"function\"==typeof a)return a}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));function r(e,t){var n=\"string\"==typeof e?[e,t]:[void 0,e],r=n[0],i=\" Did you mean \";r&&(i+=r+\" \");var o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];t[a]=s}return t}},function(e,t,n){\"use strict\";function r(e,t){for(var n=Object.create(null),r=new i(e),o=Math.floor(.4*e.length)+1,a=0;a<t.length;a++){var s=t[a],l=r.measure(s,o);void 0!==l&&(n[s]=l)}return Object.keys(n).sort((function(e,t){var r=n[e]-n[t];return 0!==r?r:e.localeCompare(t)}))}n.d(t,\"a\",(function(){return r}));var i=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=o(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=o(n),i=this._inputArray;if(r.length<i.length){var a=r;r=i,i=a}var s=r.length,l=i.length;if(!(s-l>t)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var f=1;f<=s;f++){for(var p=c[(f-1)%3],d=c[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=c[(f-2)%3][m-2];g=Math.min(g,y+1)}g<h&&(h=g),d[m]=g}if(h>t)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a})),n.d(t,\"i\",(function(){return s})),n.d(t,\"f\",(function(){return l})),n.d(t,\"g\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"h\",(function(){return f})),n.d(t,\"e\",(function(){return p}));var r=n(1);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function a(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function s(e){return e.kind===r.a.VARIABLE||e.kind===r.a.INT||e.kind===r.a.FLOAT||e.kind===r.a.STRING||e.kind===r.a.BOOLEAN||e.kind===r.a.NULL||e.kind===r.a.ENUM||e.kind===r.a.LIST||e.kind===r.a.OBJECT}function l(e){return e.kind===r.a.NAMED_TYPE||e.kind===r.a.LIST_TYPE||e.kind===r.a.NON_NULL_TYPE}function c(e){return e.kind===r.a.SCHEMA_DEFINITION||u(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function u(e){return e.kind===r.a.SCALAR_TYPE_DEFINITION||e.kind===r.a.OBJECT_TYPE_DEFINITION||e.kind===r.a.INTERFACE_TYPE_DEFINITION||e.kind===r.a.UNION_TYPE_DEFINITION||e.kind===r.a.ENUM_TYPE_DEFINITION||e.kind===r.a.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.a.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.a.SCALAR_TYPE_EXTENSION||e.kind===r.a.OBJECT_TYPE_EXTENSION||e.kind===r.a.INTERFACE_TYPE_EXTENSION||e.kind===r.a.UNION_TYPE_EXTENSION||e.kind===r.a.ENUM_TYPE_EXTENSION||e.kind===r.a.INPUT_OBJECT_TYPE_EXTENSION}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(38);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}},function(e,t,n){\"use strict\";t.a=function(e,t){return e instanceof t}},function(e,t,n){\"use strict\";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){\"use strict\";function r(e){var t=e.split(/\\r\\n|[\\n\\r]/g),n=i(t);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(;t.length>0&&a(t[0]);)t.shift();for(;t.length>0&&a(t[t.length-1]);)t.pop();return t.join(\"\\n\")}function i(e){for(var t=null,n=1;n<e.length;n++){var r=e[n],i=o(r);if(i!==r.length&&((null===t||i<t)&&0===(t=i)))break}return null===t?0:t}function o(e){for(var t=0;t<e.length&&(\" \"===e[t]||\"\\t\"===e[t]);)t++;return t}function a(e){return o(e)===e.length}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf(\"\\n\"),i=\" \"===e[0]||\"\\t\"===e[0],o='\"'===e[e.length-1],a=!r||o||n,s=\"\";return!a||r&&i||(s+=\"\\n\"+t),s+=t?e.replace(/\\n/g,\"\\n\"+t):e,a&&(s+=\"\\n\"),'\"\"\"'+s.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return i})),n.d(t,\"c\",(function(){return s}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e,t){for(var n=Object.create(null),i=0,o=Object(r.a)(e);i<o.length;i++){var a=o[i],s=a[0],l=a[1];n[s]=t(l,s)}return n}},function(e,t,n){\"use strict\";var r=n(15),i=Array.from||function(e,t,n){if(null==e)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");var i=e[r.b];if(\"function\"==typeof i){for(var o,a=i.call(e),s=[],l=0;!(o=a.next()).done;++l)if(s.push(t.call(n,o.value,l)),l>9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var c=e.length;if(\"number\"==typeof c&&c>=0&&c%1==0){for(var u=[],f=0;f<c;++f)Object.prototype.hasOwnProperty.call(e,f)&&u.push(t.call(n,e[f],f));return u}return[]};t.a=i},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(32),i=n(30),o=n(7),a=n(3),s=n(11),l=n(17),c=n(35),u=n(1),f=n(6),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return(null==n?void 0:n.kind)===u.a.NULL?null:n}if(null===e)return{kind:u.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var m=t.ofType;if(Object(c.a)(e)){for(var v=[],g=0,y=Object(i.a)(e);g<y.length;g++){var b=d(y[g],m);null!=b&&v.push(b)}return{kind:u.a.LIST,values:v}}return d(e,m)}if(Object(p.F)(t)){if(!Object(l.a)(e))return null;for(var T=[],E=0,O=Object(o.a)(t.getFields());E<O.length;E++){var x=O[E],_=d(e[x.name],x.type);_&&T.push({kind:u.a.OBJECT_FIELD,name:{kind:u.a.NAME,value:x.name},value:_})}return{kind:u.a.OBJECT,fields:T}}if(Object(p.I)(t)){var k=t.serialize(e);if(null==k)return null;if(\"boolean\"==typeof k)return{kind:u.a.BOOLEAN,value:k};if(\"number\"==typeof k&&Object(r.a)(k)){var w=String(k);return h.test(w)?{kind:u.a.INT,value:w}:{kind:u.a.FLOAT,value:w}}if(\"string\"==typeof k)return Object(p.E)(t)?{kind:u.a.ENUM,value:k}:t===f.c&&h.test(k)?{kind:u.a.INT,value:k}:{kind:u.a.STRING,value:k};throw new TypeError(\"Cannot convert value to AST: \".concat(Object(a.a)(k),\".\"))}Object(s.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}var h=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){\"use strict\";var r=Number.isFinite||function(e){return\"number\"==typeof e&&isFinite(e)};t.a=r},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?\"i\":\"\")+(e.global?\"g\":\"\")+(e.multiline?\"m\":\"\")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\\\s|\\\\n|\\n|\\\\W|\\\\D|\\[\\^/.test(e.source)}function a(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.lastLine();o<=s;o++,a=0){t.lastIndex=a;var l=e.getLine(o),c=t.exec(l);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,\"gm\");for(var s,l=1,c=n.line,u=e.lastLine();c<=u;){for(var f=0;f<l&&!(c>u);f++){var p=e.getLine(c++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),u=l(c,t,a<0?0:c.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return c(e,t,n);t=i(t,\"gm\");for(var a,s=1,u=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d<s&&f>=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,u);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.lastLine()+1-l.length;c<=p;c++,u=0){var d=e.getLine(c).slice(u),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+u,{from:r(c,f(d,h,m,s)+u),to:r(c,f(d,h,m+l[0].length,s)+u)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g<l.length-1;g++)if(s(e.getLine(c+g))!=l[g])continue e;var y=e.getLine(c+l.length-1),b=s(y),T=l[l.length-1];if(b.slice(0,T.length)==T)return{from:r(c,f(d,h,v,s)+u),to:r(c+l.length-1,f(y,b,T.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.firstLine()-1+l.length;c>=p;c--,u=-1){var d=e.getLine(c);u>-1&&(d=d.slice(0,u));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(c,f(d,h,m,s)),to:r(c,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=c-l.length+1;g<l.length-1;g++)if(s(e.getLine(o+g))!=l[g])continue e;var y=e.getLine(c+1-l.length),b=s(y);if(b.slice(b.length-l[0].length)==l[0])return{from:r(c+1-l.length,f(y,b,y.length-l[0].length,s)),to:r(c,f(d,h,v.length,s))}}}}function h(e,t,n,o){var l;this.atOccurrence=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},\"object\"==typeof o?l=o.caseFold:(l=o,o=null),\"string\"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,l)}):(t=i(t,\"gm\"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:a)(e,t,r)}:this.matches=function(n,r){return(n?u:s)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize(\"NFD\").toLowerCase()},n=function(e){return e.normalize(\"NFD\")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension(\"getSearchCursor\",(function(e,t,n){return new h(this.doc,e,t,n)})),e.defineDocExtension(\"getSearchCursor\",(function(e,t,n){return new h(this,e,t,n)})),e.defineExtension(\"selectMatches\",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(\"from\"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(\"to\"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function c(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var u,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,c)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,c)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),c()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&c()}))):(u=a.getElementsByTagName(\"button\")[0])&&(e.on(u,\"click\",(function(){c(),l.focus()})),!1!==o.closeOnBlur&&e.on(u,\"blur\",c),u.focus()),c})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,c=this,u=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p<s.length;++p){var d=s[p];!function(t){e.on(d,\"click\",(function(n){e.e_preventDefault(n),f(),t&&t(c)}))}(i[p]),e.on(d,\"blur\",(function(){--u,setTimeout((function(){u<=0&&f()}),200)})),e.on(d,\"focus\",(function(){++u}))}})),e.defineExtension(\"openNotification\",(function(r,i){n(this,c);var o,a=t(this,r,i&&i.bottom),s=!1,l=i&&void 0!==i.duration?i.duration:5e3;function c(){s||(s=!0,clearTimeout(o),e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a))}return e.on(a,\"click\",(function(t){e.e_preventDefault(t),c()})),l&&(o=setTimeout(c,l)),c}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(15);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){if(null==e||\"object\"!==i(e))return!1;var t=e.length;return\"number\"==typeof t&&t>=0&&t%1==0||\"function\"==typeof e[r.b]}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(170),n(73),n(74),n(171),n(172)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var a={CharacterStream:!0,LexRules:!0,ParseRules:!0,isIgnored:!0,butNot:!0,list:!0,opt:!0,p:!0,t:!0,onlineParser:!0};function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"CharacterStream\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,\"LexRules\",{enumerable:!0,get:function(){return n.LexRules}}),Object.defineProperty(e,\"ParseRules\",{enumerable:!0,get:function(){return n.ParseRules}}),Object.defineProperty(e,\"isIgnored\",{enumerable:!0,get:function(){return n.isIgnored}}),Object.defineProperty(e,\"butNot\",{enumerable:!0,get:function(){return r.butNot}}),Object.defineProperty(e,\"list\",{enumerable:!0,get:function(){return r.list}}),Object.defineProperty(e,\"opt\",{enumerable:!0,get:function(){return r.opt}}),Object.defineProperty(e,\"p\",{enumerable:!0,get:function(){return r.p}}),Object.defineProperty(e,\"t\",{enumerable:!0,get:function(){return r.t}}),Object.defineProperty(e,\"onlineParser\",{enumerable:!0,get:function(){return i.default}}),t=s(t),i=s(i),Object.keys(o).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e){const r=e.onClick?e.onClick:()=>null;return function e(r,i){return r instanceof n.GraphQLNonNull?t.default.createElement(\"span\",null,e(r.ofType,i),\"!\"):r instanceof n.GraphQLList?t.default.createElement(\"span\",null,\"[\",e(r.ofType,i),\"]\"):t.default.createElement(\"a\",{className:\"type-name\",onClick:e=>{e.preventDefault(),i(r,e)},href:\"#\"},null==r?void 0:r.name)}(e.type,r)},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";var r=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):void 0;t.a=r},function(e,t,n){\"use strict\";function r(e,t){for(var n,r=/\\r\\n|[\\n\\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;let t=!1;\"object\"==typeof window&&(t=\"MacIntel\"===window.navigator.platform);var n={[t?\"Cmd-F\":\"Ctrl-F\"]:\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"findPersistent\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\"};e.default=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),f=!c&&l>=0&&u.test(s.text.charAt(l))&&r[s.text.charAt(l)]||u.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d||null,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],f=i(s),p=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||e.getTokenTypeAt(n(d,m+1))==a)){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)u.push(g);else{if(!u.length)return{pos:n(d,m),ch:g};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),c=0;c<l.length;c++){var u=l[c].empty()&&o(e,l[c].head,i);if(u&&e.getLine(u.from.line).length<=a){var f=u.match?\"CodeMirror-matchingbracket\":\"CodeMirror-nonmatchingbracket\";s.push(e.markText(u.from,n(u.from.line,u.from.ch+1),{className:f})),u.to&&e.getLine(u.to.line).length<=a&&s.push(e.markText(u.to,n(u.to.line,u.to.ch+1),{className:f}))}}if(s.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return p;setTimeout(p,800)}}function l(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}e.defineOption(\"matchBrackets\",!1,(function(t,n,r){function i(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}r&&r!=e.Init&&(t.off(\"cursorActivity\",l),t.off(\"focus\",l),t.off(\"blur\",i),i(t)),n&&(t.state.matchBrackets=\"object\"==typeof n?n:{},t.on(\"cursorActivity\",l),t.on(\"focus\",l),t.on(\"blur\",i))})),e.defineExtension(\"matchBrackets\",(function(){s(this,!0)})),e.defineExtension(\"findMatchingBracket\",(function(e,t,n){return(n||\"boolean\"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension(\"scanForBracket\",(function(e,t,n,r){return a(this,e,t,n,r)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){e.defineOption(\"foldGutter\",!1,(function(t,r,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(\"gutterClick\",l),t.off(\"changes\",c),t.off(\"viewportChange\",u),t.off(\"fold\",f),t.off(\"unfold\",f),t.off(\"swapDoc\",c)),r&&(t.state.foldGutter=new n((!0===(o=r)&&(o={}),null==o.gutter&&(o.gutter=\"CodeMirror-foldgutter\"),null==o.indicatorOpen&&(o.indicatorOpen=\"CodeMirror-foldgutter-open\"),null==o.indicatorFolded&&(o.indicatorFolded=\"CodeMirror-foldgutter-folded\"),o)),s(t),t.on(\"gutterClick\",l),t.on(\"changes\",c),t.on(\"viewportChange\",u),t.on(\"fold\",f),t.on(\"unfold\",f),t.on(\"swapDoc\",c))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var o=r[i].find(-1);if(o&&o.line===n)return r[i]}}function i(e){if(\"string\"==typeof e){var t=document.createElement(\"div\");return t.className=e+\" CodeMirror-guttermarker-subtle\",t}return e.cloneNode(!0)}function o(e,n,o){var s=e.state.foldGutter.options,l=n-1,c=e.foldOption(s,\"minFoldSize\"),u=e.foldOption(s,\"rangeFinder\"),f=\"string\"==typeof s.indicatorFolded&&a(s.indicatorFolded),p=\"string\"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++l;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,l)){if(f&&a&&f.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(l,0),h=u&&u(e,d);if(h&&h.to.line-h.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.from<t.from&&(o(e,n.from,t.from),t.from=n.from),n.to>t.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&o(e,r,r+1)}}}(n(10),n(168))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).registerHelper(\"fold\",\"brace\",(function(t,n){var r,i=n.line,o=t.getLine(i);function a(a){for(var s=n.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(r))return c+1;s=c-1}else{if(1==l)break;l=1,s=o.length}}}var s=\"{\",l=\"}\",c=a(\"{\");if(null==c&&(s=\"[\",l=\"]\",c=a(\"[\")),null!=c){var u,f,p=1,d=t.lastLine();e:for(var h=i;h<=d;++h)for(var m=t.getLine(h),v=h==i?c:0;;){var g=m.indexOf(s,v),y=m.indexOf(l,v);if(g<0&&(g=m.length),y<0&&(y=m.length),(v=Math.min(g,y))==m.length)break;if(t.getTokenTypeAt(e.Pos(h,v+1))==r)if(v==g)++p;else if(!--p){u=h,f=v;break e}++v}if(null!=u&&i!=u)return{from:e.Pos(i,c),to:e.Pos(u,f)}}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use line:column or scroll% syntax)\")+\"</span>\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(10),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,c=l,u=i<0?0:o.length,f=0;c!=u;c+=i,f++){var p=o.charAt(i<0?c-1:c),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=c+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&c--,\"W\"==a&&\"w\"==d&&i>0){if(c==l+1){a=\"w\";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a<e;a++){var s=t.listSelections()[a].head;if(!(s.line<=o)){var l=n(s.line+(r?0:1),0);t.replaceRange(\"\\n\",l,null,\"+insertLine\"),t.indentLine(l.line,null,!0),i.push({head:l,anchor:l}),o=s.line+1}}t.setSelections(i)})),t.execCommand(\"indentAuto\")}function o(t,r){for(var i=r.ch,o=i,a=t.getLine(r.line);i&&e.isWordChar(a.charAt(i-1));)--i;for(;o<a.length&&e.isWordChar(a.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:a.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,\"line\",o.anchor.goalColumn),s=e.findPosV(o.head,t,\"line\",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,\"div\").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,\"div\").left;var l={anchor:a,head:s};r.push(o),r.push(l)}e.setSelections(r)}function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var a=r[o],s=a.head,l=t.scanForBracket(s,-1);if(!l)return!1;for(;;){var c=t.scanForBracket(s,1);if(!c)return!1;if(c.ch==\"(){}[]\".charAt(\"(){}[]\".indexOf(l.ch)+1)){var u=n(l.pos.line,l.pos.ch+1);if(0!=e.cmpPos(u,a.from())||0!=e.cmpPos(c.pos,a.to())){i.push({anchor:u,head:c.pos});break}if(!(l=t.scanForBracket(l.pos,-1)))return!1}s=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(i),!0}function l(e){return e?/\\bpunctuation\\b/.test(e)?e:void 0:null}function c(t,r){if(t.isReadOnly())return e.Pass;for(var i,o=t.listSelections(),a=[],s=0;s<o.length;s++){var l=o[s];if(!l.empty()){for(var c=l.from().line,u=l.to().line;s<o.length-1&&o[s+1].from().line==u;)u=o[++s].to().line;o[s].to().ch||u--,a.push(c,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],o=0;o<a.length;o+=2){var s=a[o],l=a[o+1],c=n(s,0),u=n(l),f=t.getRange(c,u,!1);r?f.sort():f.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-1:e==t?0:1})),t.replaceRange(f,c,u),i&&e.push({anchor:c,head:n(l+1,0)})}i&&t.setSelections(e,0)}))}function u(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(c=r[s]).empty()?(i.push(s),a.push(\"\")):a.push(n(t.getRange(c.from(),c.to())));var l;for(t.replaceSelections(a,\"around\",\"case\"),s=i.length-1;s>=0;s--){var c=r[i[s]];if(!(l&&e.cmpPos(c.head,l)>0)){var u=o(t,c.head);l=u.from,t.replaceRange(n(u.word),u.from,u.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),a=t[i].to(),s=o.line;s<=a.line;++s)a.line>o.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor(\"from\"),i=t.getCursor(\"to\"),a=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var s=o(t,r);if(!s.word)return;t.setSelection(s.from,s.to),a=!0}else{var l=t.getRange(r,i),c=a?new RegExp(\"\\\\b\"+l+\"\\\\b\"):l,u=t.getSearchCursor(c,i),f=u.findNext();if(f||(f=(u=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!f||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}a&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor(\"anchor\"),i=n.getCursor(\"head\");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){a(e,-1)},t.addCursorToNextLine=function(e){a(e,1)},t.selectScope=function(e){s(e)||e.execCommand(\"selectAll\")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,l(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,l(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;s<r.length;s++){var l=r[s],c=l.from().line-1,u=l.to().line;a.push({anchor:n(l.anchor.line-1,l.anchor.ch),head:n(l.head.line-1,l.head.ch)}),0!=l.to().ch||l.empty()||--u,c>o?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],s=t.getLine(r);t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),o>t.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l<o?i.push(l,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],a=o.from(),s=a.line,l=o.to().line;i<t.length-1&&t[i+1].from().line==l;)l=t[++i].to().line;r.push({start:s,end:l,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],l=s.anchor&&n(s.anchor.line-t,s.anchor.ch),c=s.start;c<=s.end;c++){var u=c-t;c==s.end&&(a=n(u,e.getLine(u).length+1)),u<e.lastLine()&&(e.replaceRange(\" \",n(u),n(u+1,/^\\s*/.exec(e.getLine(u+1))[0].length)),++t)}i.push({anchor:l||a,head:a})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+\"\\n\",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){c(e,!0)},t.sortLinesInsensitive=function(e){c(e,!1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption(\"indentUnit\"),o=r.length-1;o>=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),c=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange(\"\",c,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){u(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){u(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(10),n(33),n(41))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(173),n(174),n(175)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),Object.defineProperty(e,\"getASTNodeAtPosition\",{enumerable:!0,get:function(){return t.getASTNodeAtPosition}}),Object.defineProperty(e,\"pointToOffset\",{enumerable:!0,get:function(){return t.pointToOffset}}),Object.defineProperty(e,\"Position\",{enumerable:!0,get:function(){return n.Position}}),Object.defineProperty(e,\"Range\",{enumerable:!0,get:function(){return n.Range}}),Object.defineProperty(e,\"locToRange\",{enumerable:!0,get:function(){return n.locToRange}}),Object.defineProperty(e,\"offsetToPosition\",{enumerable:!0,get:function(){return n.offsetToPosition}}),Object.defineProperty(e,\"validateWithCustomRules\",{enumerable:!0,get:function(){return r.validateWithCustomRules}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(2),i=n(1),o=n(23);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n<a.length;n++){var s=a[n];if(!Object(o.b)(s)){var l=s.kind===i.a.SCHEMA_DEFINITION||s.kind===i.a.SCHEMA_EXTENSION?\"schema\":'\"'+s.name.value+'\"';e.reportError(new r.a(\"The \".concat(l,\" definition is not executable.\"),s))}}return!1}}}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t;t=function(){return this}();try{t=t||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(t=window)}e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(111)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4E\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD803[\\uDF55-\\uDF59]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[\"\"];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error(\"Parser rule not found: \"+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content=\"\",this.markup=\"\",this.info=\"\",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.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=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r,o){let a,s;n(10).on(r,\"select\",(e,n)=>{if(!a){const e=n.parentNode;let t;a=document.createElement(\"div\"),a.className=\"CodeMirror-hint-information\",e.appendChild(a),s=document.createElement(\"div\"),s.className=\"CodeMirror-hint-deprecation\",e.appendChild(s),e.addEventListener(\"DOMNodeRemoved\",t=n=>{n.target===e&&(e.removeEventListener(\"DOMNodeRemoved\",t),a=null,s=null,t=null)})}const r=e.description?i.render(e.description):\"Self descriptive.\",l=e.type?'<span class=\"infoType\">'+function e(n){return n instanceof t.GraphQLNonNull?e(n.ofType)+\"!\":n instanceof t.GraphQLList?`[${e(n.ofType)}]`:`<a class=\"typeName\">${n.name}</a>`}(e.type)+\"</span>\":\"\";if(a.innerHTML='<div class=\"content\">'+(\"<p>\"===r.slice(0,3)?\"<p>\"+l+r.slice(3):l+r)+\"</div>\",e&&s&&e.isDeprecated){const t=e.deprecationReason?i.render(e.deprecationReason):\"\";s.innerHTML='<span class=\"deprecation-label\">Deprecated</span>'+t,s.style.display=\"block\"}else s&&(s.style.display=\"none\");o&&o(a)})};const i=new(o=r,r=o&&o.__esModule?o:{default:o}).default;var o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\"start\"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on(\"cursorActivity\",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(\"showHint\",(function(n){n=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in l)i[o]=l[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor(\"start\"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new t(this,n);o.options.hint&&(e.signal(this,\"startCompletion\",this),o.update(!0))}})),e.defineExtension(\"closeHint\",(function(){this.state.completionActive&&this.state.completionActive.close()}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function i(e){return\"string\"==typeof e?e:e.text}function o(e,t){for(;t&&t!=e;){if(\"LI\"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=a.getInputField().ownerDocument,l=s.defaultView||s.parentWindow,c=this.hints=s.createElement(\"ul\"),u=t.cm.options.theme;c.className=\"CodeMirror-hints \"+u,this.selectedHint=n.selectedHint||0;for(var f=n.list,p=0;p<f.length;++p){var d=c.appendChild(s.createElement(\"li\")),h=f[p],m=\"CodeMirror-hint\"+(p!=this.selectedHint?\"\":\" CodeMirror-hint-active\");null!=h.className&&(m=h.className+\" \"+m),d.className=m,h.render?h.render(d,n,h):d.appendChild(s.createTextNode(h.displayText||i(h))),d.hintId=p}var v=t.options.container||s.body,g=a.cursorCoords(t.options.alignWithWord?n.from:null),y=g.left,b=g.bottom,T=!0,E=0,O=0;if(v!==s.body){var x=-1!==[\"absolute\",\"relative\",\"fixed\"].indexOf(l.getComputedStyle(v).position)?v:v.offsetParent,_=x.getBoundingClientRect(),k=s.body.getBoundingClientRect();E=_.left-k.left-x.scrollLeft,O=_.top-k.top-x.scrollTop}c.style.left=y-E+\"px\",c.style.top=b-O+\"px\";var w=l.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),C=l.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);v.appendChild(c);var S=c.getBoundingClientRect(),N=S.bottom-C,D=c.scrollHeight>c.clientHeight+1,I=a.getScrollInfo();if(N>0){var A=S.bottom-S.top;if(g.top-(g.bottom-S.top)-A>0)c.style.top=(b=g.top-A-O)+\"px\",T=!1;else if(A>C){c.style.height=C-5+\"px\",c.style.top=(b=g.bottom-S.top-O)+\"px\";var L=a.getCursor();n.from.ch!=L.ch&&(g=a.cursorCoords(L),c.style.left=(y=g.left-E)+\"px\",S=c.getBoundingClientRect())}}var j,F=S.right-w;if(F>0&&(S.right-S.left>w&&(c.style.width=w-5+\"px\",F-=S.right-S.left-w),c.style.left=(y=g.left-F-E)+\"px\"),D)for(var M=c.firstChild;M;M=M.nextSibling)M.style.paddingRight=a.display.nativeBarWidth+\"px\";return a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){j=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(j)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+I.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(T||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+\"px\",c.style.left=y+I.left-e.left+\"px\"}),e.on(c,\"dblclick\",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,\"click\",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off(\"cursorActivity\",this.activityFunc),this.widget&&this.data&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(i.charAt(t.ch-1)))this.close();else{var o=this;this.debounce=n((function(){o.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;s(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,\"update\");var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&1==t.list.length?this.pick(t,0):(this.widget=new a(this,t),e.signal(t,\"shown\")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off(\"blur\",this.onBlur),e.off(\"focus\",this.onFocus)),e.off(\"scroll\",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.completion.options.scrollMargin||0,t=this.hints.childNodes[Math.max(0,this.selectedHint-e)],n=this.hints.childNodes[Math.min(this.data.list.length-1,this.selectedHint+e)],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);s(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\\w/.test(o.string.charAt(i.ch-o.start-1))?r=o.string.substr(0,i.ch-o.start):(r=\"\",a=i);for(var l=[],c=0;c<n.words.length;c++){var u=n.words[c];u.slice(0,r.length)==r&&l.push(u)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var l={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\\s()\\[\\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption(\"hintOptions\",null)}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),c=0;c<a.length;c++){if(!a[c].empty())return e.Pass;var u=l(t,a[c].head);if(!u||o.indexOf(u)%2!=0)return e.Pass}for(c=a.length-1;c>=0;c--){var f=a[c].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var c=l(t,o[a].head);if(!c||i.indexOf(c)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||\"\\n\";t.replaceSelection(e+e,null),t.execCommand(\"goCharLeft\"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r=\"'\"+n+\"'\";i[r]||(i[r]=a(n))}}function a(t){return function(i){return function(t,i){var o=s(t);if(!o||t.getOption(\"disableInput\"))return e.Pass;var a=r(o,\"pairs\"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var u,f=r(o,\"closeBefore\"),p=r(o,\"triples\"),d=a.charAt(l+1)==i,h=t.listSelections(),m=l%2==0,v=0;v<h.length;v++){var g,y=h[v],b=y.head,T=t.getRange(b,n(b.line,b.ch+1));if(m&&!y.empty())g=\"surround\";else if(!d&&m||T!=i)if(d&&b.ch>1&&p.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;g=\"addFour\"}else if(d){var E=0==b.ch?\" \":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(T)||E==i||e.isWordChar(E))return e.Pass;g=\"both\"}else{if(!m||!(0===T.length||/\\s/.test(T)||f.indexOf(T)>-1))return e.Pass;g=\"both\"}else g=d&&c(t,b)?\"both\":p.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?\"skipThree\":\"skip\";if(u){if(u!=g)return e.Pass}else u=g}var O=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);t.operation((function(){if(\"skip\"==u)t.execCommand(\"goCharRight\");else if(\"skipThree\"==u)for(var r=0;r<3;r++)t.execCommand(\"goCharRight\");else if(\"surround\"==u){var i=t.getSelections();for(r=0;r<i.length;r++)i[r]=O+i[r]+x;for(t.replaceSelections(i,\"around\"),i=t.listSelections().slice(),r=0;r<i.length;r++)i[r]=(o=i[r],a=void 0,a=e.cmpPos(o.anchor,o.head)>0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(i)}else\"both\"==u?(t.replaceSelection(O+x,null),t.triggerElectric(O+x),t.execCommand(\"goCharLeft\")):\"addFour\"==u&&(t.replaceSelection(O+O+O+O,\"before\"),t.execCommand(\"goCharRight\"));var o,a}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function c(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),c=[],u=0;u<l.length;++u){var f=l[u].__annotation;f&&c.push(f)}c.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var l=t[a];o.appendChild(s(l))}r(e,n,o,i)}(e,c,t)}}(e,t)},this.waitingFor=0}function o(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function a(t,n,i,o,a){var s=document.createElement(\"div\"),l=s;return s.className=\"CodeMirror-lint-marker-\"+i,o&&((l=s.appendChild(document.createElement(\"div\"))).className=\"CodeMirror-lint-marker-multiple\"),0!=a&&e.on(l,\"mouseover\",(function(e){r(t,e,n,l)})),s}function s(e){var t=e.severity;t||(t=\"error\");var n=document.createElement(\"div\");return n.className=\"CodeMirror-lint-message-\"+t,void 0!==e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function l(t){var n=t.state.lint.options,r=n.options||n,i=n.getAnnotations||t.getHelper(e.Pos(0,0),\"lint\");if(i)if(n.async||i.async)!function(t,n,r){var i=t.state.lint,o=++i.waitingFor;function a(){o=-1,t.off(\"change\",a)}t.on(\"change\",a),n(t.getValue(),(function(n,r){t.off(\"change\",a),i.waitingFor==o&&(r&&n instanceof e&&(n=r),t.operation((function(){c(t,n)})))}),r,t)}(t,i,r);else{var o=i(t.getValue(),r,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){c(t,e)}))})):t.operation((function(){c(t,o)}))}}function c(e,n){o(e);for(var r,i,l=e.state.lint,c=l.options,u=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),f=0;f<u.length;++f){var p=u[f];if(p){for(var d=null,h=l.hasGutter&&document.createDocumentFragment(),m=0;m<p.length;++m){var v=p[m],g=v.severity;g||(g=\"error\"),i=g,d=\"error\"==(r=d)?r:i,c.formatAnnotation&&(v=c.formatAnnotation(v)),l.hasGutter&&h.appendChild(s(v)),v.to&&l.marked.push(e.markText(v.from,v.to,{className:\"CodeMirror-lint-mark-\"+g,__annotation:v}))}l.hasGutter&&e.setGutterMarker(f,t,a(e,h,d,p.length>1,l.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,u,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption(\"lint\",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",u),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),c=!1,f=0;f<s.length;++f)s[f]==t&&(c=!0);var p=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),c);!1!==p.options.lintOnChange&&n.on(\"change\",u),0!=p.options.tooltips&&\"gutter\"!=p.options.tooltips&&e.on(n.getWrapperElement(),\"mouseover\",p.onMouseOver),l(n)}var d})),e.defineExtension(\"performLint\",(function(){this.state.lint&&l(this)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(36),n(71)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){const t=[];return s(e,(e,n)=>{n.kind===r.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:r.RuleKinds.FRAGMENT_DEFINITION,name:{kind:\"Name\",value:n.name},selectionSet:{kind:r.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:r.RuleKinds.NAMED_TYPE,name:{kind:\"Name\",value:n.type}}})}),t}function a(e,t){let n=null,r=null,i=null;const o=s(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},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 s(e,t){const n=e.split(\"\\n\"),i=(0,r.onlineParser)();let o=i.startState(),a=\"\",s=new r.CharacterStream(\"\");for(let e=0;e<n.length;e++){for(s=new r.CharacterStream(n[e]);!s.eol()&&(a=i.token(s,o),\"BREAK\"!==t(s,o,a,e)););t(s,o,a,e),o.kind||(o=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:o,style:a}}function l(e,t){if(!e||!e.kind)return!1;const n=e.kind,i=t.locations;switch(n){case r.RuleKinds.QUERY:return-1!==i.indexOf(\"QUERY\");case r.RuleKinds.MUTATION:return-1!==i.indexOf(\"MUTATION\");case r.RuleKinds.SUBSCRIPTION:return-1!==i.indexOf(\"SUBSCRIPTION\");case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:return-1!==i.indexOf(\"FIELD\");case r.RuleKinds.FRAGMENT_DEFINITION:return-1!==i.indexOf(\"FRAGMENT_DEFINITION\");case r.RuleKinds.FRAGMENT_SPREAD:return-1!==i.indexOf(\"FRAGMENT_SPREAD\");case r.RuleKinds.INLINE_FRAGMENT:return-1!==i.indexOf(\"INLINE_FRAGMENT\");case r.RuleKinds.SCHEMA_DEF:return-1!==i.indexOf(\"SCHEMA\");case r.RuleKinds.SCALAR_DEF:return-1!==i.indexOf(\"SCALAR\");case r.RuleKinds.OBJECT_TYPE_DEF:return-1!==i.indexOf(\"OBJECT\");case r.RuleKinds.FIELD_DEF:return-1!==i.indexOf(\"FIELD_DEFINITION\");case r.RuleKinds.INTERFACE_DEF:return-1!==i.indexOf(\"INTERFACE\");case r.RuleKinds.UNION_DEF:return-1!==i.indexOf(\"UNION\");case r.RuleKinds.ENUM_DEF:return-1!==i.indexOf(\"ENUM\");case r.RuleKinds.ENUM_VALUE:return-1!==i.indexOf(\"ENUM_VALUE\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_OBJECT\");case r.RuleKinds.INPUT_VALUE_DEF:switch(e.prevState&&e.prevState.kind){case r.RuleKinds.ARGUMENTS_DEF:return-1!==i.indexOf(\"ARGUMENT_DEFINITION\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_FIELD_DEFINITION\")}}return!1}function c(e,t){let o,a,s,l,c,u,f,p,d;return(0,i.forEachState)(t,t=>{switch(t.kind){case r.RuleKinds.QUERY:case\"ShortQuery\":d=e.getQueryType();break;case r.RuleKinds.MUTATION:d=e.getMutationType();break;case r.RuleKinds.SUBSCRIPTION:d=e.getSubscriptionType();break;case r.RuleKinds.INLINE_FRAGMENT:case r.RuleKinds.FRAGMENT_DEFINITION:t.type&&(d=e.getType(t.type));break;case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:d&&t.name?(c=p?(0,i.getFieldDef)(e,p,t.name):null,d=c?c.type:null):c=null;break;case r.RuleKinds.SELECTION_SET:p=(0,n.getNamedType)(d);break;case r.RuleKinds.DIRECTIVE:s=t.name?e.getDirective(t.name):null;break;case r.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case r.RuleKinds.FIELD:a=c&&c.args;break;case r.RuleKinds.DIRECTIVE:a=s&&s.args;break;case r.RuleKinds.ALIASED_FIELD:const n=t.prevState&&t.prevState.name;if(!n){a=null;break}const o=p?(0,i.getFieldDef)(e,p,n):null;if(!o){a=null;break}a=o.args;break;default:a=null}else a=null;break;case r.RuleKinds.ARGUMENT:if(a)for(let e=0;e<a.length;e++)if(a[e].name===t.name){o=a[e];break}u=o&&o.type;break;case r.RuleKinds.ENUM_VALUE:const h=(0,n.getNamedType)(u);l=h instanceof n.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}(h.getValues(),e=>e.value===t.name):null;break;case r.RuleKinds.LIST_VALUE:const m=(0,n.getNullableType)(u);u=m instanceof n.GraphQLList?m.ofType:null;break;case r.RuleKinds.OBJECT_VALUE:const v=(0,n.getNamedType)(u);f=v instanceof n.GraphQLInputObjectType?v.getFields():null;break;case r.RuleKinds.OBJECT_FIELD:const g=t.name&&f?f[t.name]:null;u=g&&g.type;break;case r.RuleKinds.NAMED_TYPE:t.name&&(d=e.getType(t.name))}}),{argDef:o,argDefs:a,directiveDef:s,enumValue:l,fieldDef:c,inputType:u,objectFieldDefs:f,parentType:p,type:d}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getAutocompleteSuggestions=function(e,s,u,f,p){const d=f||a(s,u),h=\"Invalid\"===d.state.kind?d.state.prevState:d.state;if(!h)return[];const m=h.kind,v=h.step,g=c(e,d.state);if(m===r.RuleKinds.DOCUMENT)return(0,i.hintList)(d,[{label:\"query\",kind:t.CompletionItemKind.Function},{label:\"mutation\",kind:t.CompletionItemKind.Function},{label:\"subscription\",kind:t.CompletionItemKind.Function},{label:\"fragment\",kind:t.CompletionItemKind.Function},{label:\"{\",kind:t.CompletionItemKind.Constructor}]);if(m===r.RuleKinds.SELECTION_SET||m===r.RuleKinds.FIELD||m===r.RuleKinds.ALIASED_FIELD)return function(e,r,o,a){if(r.parentType){const a=r.parentType;let s=[];return\"getFields\"in a&&(s=(0,i.objectValues)(a.getFields())),(0,n.isCompositeType)(a)&&s.push(n.TypeNameMetaFieldDef),a===o.getQueryType()&&s.push(n.SchemaMetaFieldDef,n.TypeMetaFieldDef),(0,i.hintList)(e,s.map((e,n)=>{var r;return{sortText:String(n)+e.name,label:e.name,detail:String(e.type),documentation:null!==(r=e.description)&&void 0!==r?r:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.Field}}))}return[]}(d,g,e);if(m===r.RuleKinds.ARGUMENTS||m===r.RuleKinds.ARGUMENT&&0===v){const e=g.argDefs;if(e)return(0,i.hintList)(d,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t.CompletionItemKind.Variable}}))}if((m===r.RuleKinds.OBJECT_VALUE||m===r.RuleKinds.OBJECT_FIELD&&0===v)&&g.objectFieldDefs){const e=(0,i.objectValues)(g.objectFieldDefs),n=m===r.RuleKinds.OBJECT_VALUE?t.CompletionItemKind.Value:t.CompletionItemKind.Field;return(0,i.hintList)(d,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:n}}))}if(m===r.RuleKinds.ENUM_VALUE||m===r.RuleKinds.LIST_VALUE&&1===v||m===r.RuleKinds.OBJECT_FIELD&&2===v||m===r.RuleKinds.ARGUMENT&&2===v)return function(e,r,o){const a=(0,n.getNamedType)(r.inputType);if(a instanceof n.GraphQLEnumType){const n=a.getValues();return(0,i.hintList)(e,n.map(e=>{var n;return{label:e.name,detail:String(a),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.EnumMember}}))}return a===n.GraphQLBoolean?(0,i.hintList)(e,[{label:\"true\",detail:String(n.GraphQLBoolean),documentation:\"Not false.\",kind:t.CompletionItemKind.Variable},{label:\"false\",detail:String(n.GraphQLBoolean),documentation:\"Not true.\",kind:t.CompletionItemKind.Variable}]):[]}(d,g);if(m===r.RuleKinds.VARIABLE&&1===v){const e=[];return(0,n.visit)((0,n.parse)(s,{allowLegacySDLEmptyFields:!0,allowLegacySDLImplementsInterfaces:!0}),{VariableDefinition(t){e.push(t)}}),(0,i.hintList)(d,e.map(e=>({label:\"$\"+e.variable.name.value,kind:t.CompletionItemKind.Variable,detail:\"name\"in e.type?e.type.name.value:\"Variable\"})))}return m===r.RuleKinds.TYPE_CONDITION&&1===v||m===r.RuleKinds.NAMED_TYPE&&null!=h.prevState&&h.prevState.kind===r.RuleKinds.TYPE_CONDITION?function(e,r,o,a){let s;if(r.parentType)if((0,n.isAbstractType)(r.parentType)){const e=(0,n.assertAbstractType)(r.parentType),t=o.getPossibleTypes(e),a=Object.create(null);t.forEach(e=>{e.getInterfaces().forEach(e=>{a[e.name]=e})}),s=t.concat((0,i.objectValues)(a))}else s=[r.parentType];else{const e=o.getTypeMap();s=(0,i.objectValues)(e).filter(n.isCompositeType)}return(0,i.hintList)(e,s.map(e=>{const r=(0,n.getNamedType)(e);return{label:String(e),documentation:r&&r.description||\"\",kind:t.CompletionItemKind.Field}}))}(d,g,e):m===r.RuleKinds.FRAGMENT_SPREAD&&1===v?function(e,a,s,l,c){const u=s.getTypeMap(),f=(0,i.getDefinitionState)(e.state),p=o(l);c&&p.push(...c);const d=p.filter(e=>u[e.typeCondition.name.value]&&!(f&&f.kind===r.RuleKinds.FRAGMENT_DEFINITION&&f.name===e.name.value)&&(0,n.isCompositeType)(a.parentType)&&(0,n.isCompositeType)(u[e.typeCondition.name.value])&&(0,n.doTypesOverlap)(s,a.parentType,u[e.typeCondition.name.value]));return(0,i.hintList)(e,d.map(e=>({label:e.name.value,detail:String(u[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:t.CompletionItemKind.Field})))}(d,g,e,s,p):m===r.RuleKinds.VARIABLE_DEFINITION&&2===v||m===r.RuleKinds.LIST_TYPE&&1===v||m===r.RuleKinds.NAMED_TYPE&&h.prevState&&(h.prevState.kind===r.RuleKinds.VARIABLE_DEFINITION||h.prevState.kind===r.RuleKinds.LIST_TYPE||h.prevState.kind===r.RuleKinds.NON_NULL_TYPE)?function(e,r,o){const a=r.getTypeMap(),s=(0,i.objectValues)(a).filter(n.isInputType);return(0,i.hintList)(e,s.map(e=>({label:e.name,documentation:e.description,kind:t.CompletionItemKind.Variable})))}(d,e):m===r.RuleKinds.DIRECTIVE?function(e,n,r,o){if(n.prevState&&n.prevState.kind){const o=r.getDirectives().filter(e=>l(n.prevState,e));return(0,i.hintList)(e,o.map(e=>({label:e.name,documentation:e.description||\"\",kind:t.CompletionItemKind.Function})))}return[]}(d,h,e):[]},e.getFragmentDefinitions=o,e.getTokenAtPosition=a,e.runOnlineParser=s,e.canUseDirective=l,e.getTypeInfo=c})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({arg:e,onClickType:i,showDefaultValue:o}){return t.default.createElement(\"span\",{className:\"arg\"},t.default.createElement(\"span\",{className:\"arg-name\"},e.name),\": \",t.default.createElement(n.default,{type:e.type,onClick:i}),!1!==o&&t.default.createElement(r.default,{field:e}))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({markdown:e,className:n}){return e?t.default.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:i.render(e)}}):t.default.createElement(\"div\",null)},t=r(t);const i=new((n=r(n)).default)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(39);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,c=1===t.line?n:0,u=t.column+c,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(u,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],g=0;g<d.length;g+=80)v.push(d.slice(g,g+80));return f+a([[\"\".concat(l),v[0]]].concat(v.slice(1,h+1).map((function(e){return[\"\",e]})),[[\" \",s(m-1)+\"^\"],[\"\",v[h+1]]]))}return f+a([[\"\".concat(l-1),p[i-1]],[\"\".concat(l),d],[\"\",s(u-1)+\"^\"],[\"\".concat(l+1),p[i+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return s(n-(t=r).length)+t+(i?\" | \"+i:\" |\")})).join(\"\\n\")}function s(e){return Array(e+1).join(\" \")}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(112)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports.encode=n(113),e.exports.decode=n(114),e.exports.format=n(115),e.exports.parse=n(116)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\x1F\\x7F-\\x9F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=\"<[A-Za-z][A-Za-z0-9\\\\-]*(?:\\\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\\\s*=\\\\s*(?:[^\\\"'=<>`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",n=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",r=new RegExp(\"^(?:\"+t+\"|\"+n+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?].*?[?]>|<![A-Z]+\\\\s+[^>]*>|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>)\"),i=new RegExp(\"^(?:\"+t+\"|\"+n+\")\");e.exports.HTML_TAG_RE=r,e.exports.HTML_OPEN_CLOSE_TAG_RE=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n<l;n++)126===(i=t[n]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type=\"s_open\",a.tag=\"s\",a.nesting=1,a.markup=\"~~\",a.content=\"\",(a=e.tokens[o.token]).type=\"s_close\",a.tag=\"s\",a.nesting=-1,a.markup=\"~~\",a.content=\"\",\"text\"===e.tokens[o.token-1].type&&\"~\"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&\"s_close\"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push(\"text\",\"\",0).content=o,i--),n=0;n<i;n+=2)e.push(\"text\",\"\",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(e.tokens[t[n-1].token].content=\"\",e.tokens[t[r.end+1].token].content=\"\",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push(\"text\",\"\",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return\"string\"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:r(t),multiline:!0})}function o(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function a(e){return e.replace(/\\\\([nrt\\\\])/g,(function(e,t){return\"n\"==t?\"\\n\":\"r\"==t?\"\\r\":\"t\"==t?\"\\t\":\"\\\\\"==t?\"\\\\\":e}))}function s(e){var t=e.match(/^\\/(.*)\\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf(\"i\")?\"\":\"i\")}catch(e){}else e=a(e);return(\"string\"==typeof e?\"\"==e:e.test(\"\"))&&(e=/x^/),e}function l(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return\"string\"==typeof e?e=new RegExp(e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\"),t?\"gi\":\"g\"):e.global||(e=new RegExp(e.source,e.ignoreCase?\"gi\":\"g\")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,\"searching\";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,i,a){var s=n(t);if(s.query)return u(t,r);var c=t.getSelection()||s.lastQuery;if(c instanceof RegExp&&\"x^\"==c.source&&(c=null),i&&t.openDialog){var d=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(l(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),u(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(\".CodeMirror-dialog\"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,\"window\").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i})}(t,p(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(l(t,s,c),u(t,r))}else o(t,p(t),\"Search for:\",c,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),u(t,r)}))}))}function u(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Search:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l='<span class=\"CodeMirror-search-label\">'+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"</span>\";o(e,l+function(e){return' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}(e),l,r,(function(n){n&&(n=s(n),o(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"With:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/>'}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)d(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Replace?\")+\"</span> <button>\"+e.phrase(\"Yes\")+\"</button> <button>\"+e.phrase(\"No\")+\"</button> <button>\"+e.phrase(\"All\")+\"</button> <button>\"+e.phrase(\"Stop\")+\"</button> \"}(e),e.phrase(\"Replace?\"),[function(){l(t)},s,function(){d(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.commands.find=function(e){f(e),c(e)},e.commands.findPersistent=function(e){f(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(10),n(33),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(71),n(57),n(75),n(77),n(78),n(79),n(182)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var l={getOutline:!0,getHoverInformation:!0};Object.defineProperty(e,\"getOutline\",{enumerable:!0,get:function(){return o.getOutline}}),Object.defineProperty(e,\"getHoverInformation\",{enumerable:!0,get:function(){return a.getHoverInformation}}),Object.keys(t).forEach((function(n){\"default\"!==n&&\"__esModule\"!==n&&(Object.prototype.hasOwnProperty.call(l,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))})),Object.keys(n).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))})),Object.keys(r).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})),Object.keys(i).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))})),Object.keys(s).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(8)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function i(e,t){const n=e.filter(t);return 0===n.length?e:n}function o(e){return e.toLowerCase().replace(/\\W/g,\"\")}function a(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionState=function(e){let t;return r(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t},e.getFieldDef=function(e,r,i){return i===n.SchemaMetaFieldDef.name&&e.getQueryType()===r?n.SchemaMetaFieldDef:i===n.TypeMetaFieldDef.name&&e.getQueryType()===r?n.TypeMetaFieldDef:i===n.TypeNameMetaFieldDef.name&&(0,t.isCompositeType)(r)?n.TypeNameMetaFieldDef:\"getFields\"in r?r.getFields()[i]:null},e.forEachState=r,e.objectValues=function(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r},e.hintList=function(e,t){return function(e,t){return t?i(i(e.map(e=>({proximity:a(o(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):i(e,e=>!e.isDeprecated)}(t,o(e.string))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";var t,n,r,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T;Object.defineProperty(e,\"__esModule\",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.TextEdit=e.Command=e.Diagnostic=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=void 0,e.Position=t,function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.number(t.line)&&$.number(t.character)}}(t||(e.Position=t={})),e.Range=n,function(e){e.create=function(e,n,r,i){if($.number(e)&&$.number(n)&&$.number(r)&&$.number(i))return{start:t.create(e,n),end:t.create(r,i)};if(t.is(e)&&t.is(n))return{start:e,end:n};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+n+\", \"+r+\", \"+i+\"]\")},e.is=function(e){var n=e;return $.objectLiteral(n)&&t.is(n.start)&&t.is(n.end)}}(n||(e.Range=n={})),e.Location=r,function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.string(t.uri)||$.undefined(t.uri))}}(r||(e.Location=r={})),e.LocationLink=i,function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.targetRange)&&$.string(t.targetUri)&&(n.is(t.targetSelectionRange)||$.undefined(t.targetSelectionRange))&&(n.is(t.originSelectionRange)||$.undefined(t.originSelectionRange))}}(i||(e.LocationLink=i={})),e.Color=o,function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return $.number(t.red)&&$.number(t.green)&&$.number(t.blue)&&$.number(t.alpha)}}(o||(e.Color=o={})),e.ColorInformation=a,function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return n.is(t.range)&&o.is(t.color)}}(a||(e.ColorInformation=a={})),e.ColorPresentation=s,function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return $.string(t.label)&&($.undefined(t.textEdit)||m.is(t))&&($.undefined(t.additionalTextEdits)||$.typedArray(t.additionalTextEdits,m.is))}}(s||(e.ColorPresentation=s={})),e.FoldingRangeKind=l,function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(l||(e.FoldingRangeKind=l={})),e.FoldingRange=c,function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return $.defined(n)&&(o.startCharacter=n),$.defined(r)&&(o.endCharacter=r),$.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return $.number(t.startLine)&&$.number(t.startLine)&&($.undefined(t.startCharacter)||$.number(t.startCharacter))&&($.undefined(t.endCharacter)||$.number(t.endCharacter))&&($.undefined(t.kind)||$.string(t.kind))}}(c||(e.FoldingRange=c={})),e.DiagnosticRelatedInformation=u,function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return $.defined(t)&&r.is(t.location)&&$.string(t.message)}}(u||(e.DiagnosticRelatedInformation=u={})),e.DiagnosticSeverity=f,function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(e.DiagnosticSeverity=f={})),e.DiagnosticTag=p,function(e){e.Unnecessary=1,e.Deprecated=2}(p||(e.DiagnosticTag=p={})),e.Diagnostic=d,function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return $.defined(n)&&(a.severity=n),$.defined(r)&&(a.code=r),$.defined(i)&&(a.source=i),$.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&$.string(t.message)&&($.number(t.severity)||$.undefined(t.severity))&&($.number(t.code)||$.string(t.code)||$.undefined(t.code))&&($.string(t.source)||$.undefined(t.source))&&($.undefined(t.relatedInformation)||$.typedArray(t.relatedInformation,u.is))}}(d||(e.Diagnostic=d={})),e.Command=h,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return $.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.title)&&$.string(t.command)}}(h||(e.Command=h={})),e.TextEdit=m,function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:\"\"}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.string(t.newText)&&n.is(t.range)}}(m||(e.TextEdit=m={})),e.TextDocumentEdit=v,function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return $.defined(t)&&O.is(t.textDocument)&&Array.isArray(t.edits)}}(v||(e.TextDocumentEdit=v={})),e.CreateFile=g,function(e){e.create=function(e,t){var n={kind:\"create\",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"create\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(g||(e.CreateFile=g={})),e.RenameFile=y,function(e){e.create=function(e,t,n){var r={kind:\"rename\",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&\"rename\"===t.kind&&$.string(t.oldUri)&&$.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(y||(e.RenameFile=y={})),e.DeleteFile=b,function(e){e.create=function(e,t){var n={kind:\"delete\",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"delete\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||$.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||$.boolean(t.options.ignoreIfNotExists)))}}(b||(e.DeleteFile=b={})),e.WorkspaceEdit=T,function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return $.string(e.kind)?g.is(e)||y.is(e)||b.is(e):v.is(e)})))}}(T||(e.WorkspaceEdit=T={}));var E,O,x,_,k,w,C,S,N,D,I,A,L,j,F,M,R,P,V,U,B,q,H,z,G,K,Q,W,Y=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(m.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(m.replace(e,t))},e.prototype.delete=function(e){this.edits.push(m.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),J=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(v.is(e)){var n=new Y(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Y(e.changes[n]);t._textEditChanges[n]=r})))}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(O.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new Y(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new Y(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(g.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\")},e}();e.WorkspaceChange=J,e.TextDocumentIdentifier=E,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)}}(E||(e.TextDocumentIdentifier=E={})),e.VersionedTextDocumentIdentifier=O,function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&(null===t.version||$.number(t.version))}}(O||(e.VersionedTextDocumentIdentifier=O={})),e.TextDocumentItem=x,function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&$.string(t.languageId)&&$.number(t.version)&&$.string(t.text)}}(x||(e.TextDocumentItem=x={})),e.MarkupKind=_,function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(_||(e.MarkupKind=_={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(_||(e.MarkupKind=_={})),e.MarkupContent=k,function(e){e.is=function(e){var t=e;return $.objectLiteral(e)&&_.is(t.kind)&&$.string(t.value)}}(k||(e.MarkupContent=k={})),e.CompletionItemKind=w,function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(w||(e.CompletionItemKind=w={})),e.InsertTextFormat=C,function(e){e.PlainText=1,e.Snippet=2}(C||(e.InsertTextFormat=C={})),e.CompletionItemTag=S,function(e){e.Deprecated=1}(S||(e.CompletionItemTag=S={})),e.CompletionItem=N,function(e){e.create=function(e){return{label:e}}}(N||(e.CompletionItem=N={})),e.CompletionList=D,function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(D||(e.CompletionList=D={})),e.MarkedString=I,function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return $.string(t)||$.objectLiteral(t)&&$.string(t.language)&&$.string(t.value)}}(I||(e.MarkedString=I={})),e.Hover=A,function(e){e.is=function(e){var t=e;return!!t&&$.objectLiteral(t)&&(k.is(t.contents)||I.is(t.contents)||$.typedArray(t.contents,I.is))&&(void 0===e.range||n.is(e.range))}}(A||(e.Hover=A={})),e.ParameterInformation=L,function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(L||(e.ParameterInformation=L={})),e.SignatureInformation=j,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return $.defined(t)&&(i.documentation=t),$.defined(n)?i.parameters=n:i.parameters=[],i}}(j||(e.SignatureInformation=j={})),e.DocumentHighlightKind=F,function(e){e.Text=1,e.Read=2,e.Write=3}(F||(e.DocumentHighlightKind=F={})),e.DocumentHighlight=M,function(e){e.create=function(e,t){var n={range:e};return $.number(t)&&(n.kind=t),n}}(M||(e.DocumentHighlight=M={})),e.SymbolKind=R,function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(R||(e.SymbolKind=R={})),e.SymbolTag=P,function(e){e.Deprecated=1}(P||(e.SymbolTag=P={})),e.SymbolInformation=V,function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(V||(e.SymbolInformation=V={})),e.DocumentSymbol=U,function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&$.string(t.name)&&$.number(t.kind)&&n.is(t.range)&&n.is(t.selectionRange)&&(void 0===t.detail||$.string(t.detail))&&(void 0===t.deprecated||$.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(U||(e.DocumentSymbol=U={})),e.CodeActionKind=B,function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"}(B||(e.CodeActionKind=B={})),e.CodeActionContext=q,function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return $.defined(t)&&$.typedArray(t.diagnostics,d.is)&&(void 0===t.only||$.typedArray(t.only,$.string))}}(q||(e.CodeActionContext=q={})),e.CodeAction=H,function(e){e.create=function(e,t,n){var r={title:e};return h.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&$.string(t.title)&&(void 0===t.diagnostics||$.typedArray(t.diagnostics,d.is))&&(void 0===t.kind||$.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||h.is(t.command))&&(void 0===t.isPreferred||$.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(H||(e.CodeAction=H={})),e.CodeLens=z,function(e){e.create=function(e,t){var n={range:e};return $.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.command)||h.is(t.command))}}(z||(e.CodeLens=z={})),e.FormattingOptions=G,function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return $.defined(t)&&$.number(t.tabSize)&&$.boolean(t.insertSpaces)}}(G||(e.FormattingOptions=G={})),e.DocumentLink=K,function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.target)||$.string(t.target))}}(K||(e.DocumentLink=K={})),e.SelectionRange=Q,function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&n.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(Q||(e.SelectionRange=Q={})),e.EOL=[\"\\n\",\"\\r\\n\",\"\\r\"],e.TextDocument=W,function(e){e.create=function(e,t,n,r){return new X(e,t,n,r)},e.is=function(e){var t=e;return!!($.defined(t)&&$.string(t.uri)&&($.undefined(t.languageId)||$.string(t.languageId))&&$.number(t.lineCount)&&$.func(t.getText)&&$.func(t.positionAt)&&$.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var a=0,s=0,l=0;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[l++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[l++]=i[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(W||(e.TextDocument=W={}));var $,X=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n=\"\\r\"===i||\"\\n\"===i,\"\\r\"===i&&r+1<t.length&&\"\\n\"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(0===i)return t.create(0,e);for(;r<i;){var o=Math.floor((r+i)/2);n[o]>e?i=o:r=o+1}var a=r-1;return t.create(a,e-n[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return\"[object String]\"===t.call(e)},e.number=function(e){return\"[object Number]\"===t.call(e)},e.func=function(e){return\"[object Function]\"===t.call(e)},e.objectLiteral=function(e){return null!==e&&\"object\"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}($||($={}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(74)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ParseRules=e.LexRules=e.isIgnored=void 0,e.isIgnored=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\"\u00A0\"===e,e.LexRules={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\\$|\\(|\\)|\\.\\.\\.|:|=|@|\\[|]|\\{|\\||\\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:\"\"\"(?:\\\\\"\"\"|[^\"]|\"[^\"]|\"\"[^\"])*(?:\"\"\")?|\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?)/,Comment:/^#.*/};const n={Document:[(0,t.list)(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return\"FragmentDefinition\";case\"schema\":return\"SchemaDef\";case\"scalar\":return\"ScalarDef\";case\"type\":return\"ObjectTypeDef\";case\"interface\":return\"InterfaceDef\";case\"union\":return\"UnionDef\";case\"enum\":return\"EnumDef\";case\"input\":return\"InputDef\";case\"extend\":return\"ExtendDef\";case\"directive\":return\"DirectiveDef\"}},ShortQuery:[\"SelectionSet\"],Query:[i(\"query\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Mutation:[i(\"mutation\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Subscription:[i(\"subscription\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[(0,t.p)(\"(\"),(0,t.list)(\"VariableDefinition\"),(0,t.p)(\")\")],VariableDefinition:[\"Variable\",(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\")],Variable:[(0,t.p)(\"$\",\"variable\"),o(\"variable\")],DefaultValue:[(0,t.p)(\"=\"),\"Value\"],SelectionSet:[(0,t.p)(\"{\"),(0,t.list)(\"Selection\"),(0,t.p)(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[o(\"property\"),(0,t.p)(\":\"),o(\"qualifier\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Field:[o(\"property\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Arguments:[(0,t.p)(\"(\"),(0,t.list)(\"Argument\"),(0,t.p)(\")\")],Argument:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],FragmentSpread:[(0,t.p)(\"...\"),o(\"def\"),(0,t.list)(\"Directive\")],InlineFragment:[(0,t.p)(\"...\"),(0,t.opt)(\"TypeCondition\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[i(\"fragment\"),(0,t.opt)((0,t.butNot)(o(\"def\"),[i(\"on\")])),\"TypeCondition\",(0,t.list)(\"Directive\"),\"SelectionSet\"],TypeCondition:[i(\"on\"),\"NamedType\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\";case\"$\":return\"Variable\"}return null;case\"Name\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\"}return\"null\"===e.value?\"NullValue\":\"EnumValue\"}},NumberValue:[(0,t.t)(\"Number\",\"number\")],StringValue:[(0,t.t)(\"String\",\"string\")],BooleanValue:[(0,t.t)(\"Name\",\"builtin\")],NullValue:[(0,t.t)(\"Name\",\"keyword\")],EnumValue:[o(\"string-2\")],ListValue:[(0,t.p)(\"[\"),(0,t.list)(\"Value\"),(0,t.p)(\"]\")],ObjectValue:[(0,t.p)(\"{\"),(0,t.list)(\"ObjectField\"),(0,t.p)(\"}\")],ObjectField:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[(0,t.p)(\"[\"),\"Type\",(0,t.p)(\"]\"),(0,t.opt)((0,t.p)(\"!\"))],NonNullType:[\"NamedType\",(0,t.opt)((0,t.p)(\"!\"))],NamedType:[(r=\"atom\",{style:r,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"Arguments\")],SchemaDef:[i(\"schema\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"OperationTypeDef\"),(0,t.p)(\"}\")],OperationTypeDef:[o(\"keyword\"),(0,t.p)(\":\"),o(\"atom\")],ScalarDef:[i(\"scalar\"),o(\"atom\"),(0,t.list)(\"Directive\")],ObjectTypeDef:[i(\"type\"),o(\"atom\"),(0,t.opt)(\"Implements\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],Implements:[i(\"implements\"),(0,t.list)(\"NamedType\")],FieldDef:[o(\"property\"),(0,t.opt)(\"ArgumentsDef\"),(0,t.p)(\":\"),\"Type\",(0,t.list)(\"Directive\")],ArgumentsDef:[(0,t.p)(\"(\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\")\")],InputValueDef:[o(\"attribute\"),(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\"),(0,t.list)(\"Directive\")],InterfaceDef:[i(\"interface\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],UnionDef:[i(\"union\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"=\"),(0,t.list)(\"UnionMember\",(0,t.p)(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[i(\"enum\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"EnumValueDef\"),(0,t.p)(\"}\")],EnumValueDef:[o(\"string-2\"),(0,t.list)(\"Directive\")],InputDef:[i(\"input\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\"}\")],ExtendDef:[i(\"extend\"),\"ObjectTypeDef\"],DirectiveDef:[i(\"directive\"),(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"ArgumentsDef\"),i(\"on\"),(0,t.list)(\"DirectiveLocation\",(0,t.p)(\"|\"))],DirectiveLocation:[o(\"string-2\")]};var r;function i(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function o(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}e.ParseRules=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.opt=function(e){return{ofRule:e}},e.list=function(e,t){return{ofRule:e,isList:!0,separator:t}},e.butNot=function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e},e.t=function(e,t){return{style:t,match:t=>t.kind===e}},e.p=function(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(46),n(76)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionQueryResultForNamedType=function(e,t,r){return i(this,void 0,void 0,(function*(){const i=t.name.value,s=r.filter(({definition:e})=>e.name&&e.name.value===i);if(0===s.length)throw Error(\"Definition not found for GraphQL type \"+i);const l=s.map(({filePath:e,content:t,definition:r})=>function(e,t,r){const i=r.name;return(0,n.default)(i,\"Expected ASTNode to have a Name.\"),{path:e,position:a(t,r),range:o(t,r),name:i.value||\"\",language:\"GraphQL\",projectRoot:e}}(e||\"\",t,r));return{definitions:l,queryRange:l.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForFragmentSpread=function(e,t,n){return i(this,void 0,void 0,(function*(){const r=t.name.value,i=n.filter(({definition:e})=>e.name.value===r);if(0===i.length)throw Error(\"Definition not found for GraphQL fragment \"+r);const a=i.map(({filePath:e,content:t,definition:n})=>s(e||\"\",t,n));return{definitions:a,queryRange:a.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForDefinitionNode=function(e,t,n){return{definitions:[s(e,t,n)],queryRange:n.name?[o(t,n.name)]:[]}},e.LANGUAGE=void 0,n=(r=n)&&r.__esModule?r:{default:r};var i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};function o(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.locToRange)(e,i)}function a(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.offsetToPosition)(e,i.start)}function s(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:a(t,n),range:o(t,n),name:r.value||\"\",language:\"GraphQL\",projectRoot:e}}e.LANGUAGE=\"GraphQL\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var t=n(177);\n/*!\n   * The buffer module from node.js, for the browser.\n   *\n   * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n   * @license  MIT\n   */function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return r.Buffer&&\"function\"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(178),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c=\"foo\"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&\"function\"==typeof r.ArrayBuffer&&(\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var p=e.exports=y,d=/\\s*function\\s+([^\\(\\s]*)\\s*/;function h(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString().match(d);return t&&t[1]}}function m(e,t){return\"string\"==typeof e?e.length<t?e:e.slice(0,t):e}function v(e){if(c||!a.isFunction(e))return a.inspect(e);var t=h(e);return\"[Function\"+(t?\": \"+t:\"\")+\"]\"}function g(e,t,n,r,i){throw new p.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||g(e,!0,t,\"==\",p.ok)}function b(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&\"object\"==typeof e||null!==t&&\"object\"==typeof t){if(f(e)&&f(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=T(e),o=T(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),b(e,t,n);var s,c,u=x(e),f=x(t);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),c=u.length-1;c>=0;c--)if(u[c]!==f[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!b(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function T(e){return\"[object Arguments]\"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if(\"[object RegExp]\"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e,t,n,r){var i;if(\"function\"!=typeof t)throw new TypeError('\"block\" argument must be a function');\"string\"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?\" (\"+n.name+\").\":\".\")+(r?\" \"+r:\".\"),e&&!i&&g(i,n,\"Missing expected exception\"+r);var o=\"string\"==typeof r,s=!e&&i&&!n;if((!e&&a.isError(i)&&o&&E(i,n)||s)&&g(i,n,\"Got unwanted exception\"+r),e&&i&&n&&!E(i,n)||!e&&i)throw i}p.AssertionError=function(e){this.name=\"AssertionError\",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(v(e.actual),128)+\" \"+e.operator+\" \"+m(v(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf(\"\\n\"+i);if(o>=0){var a=r.indexOf(\"\\n\",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=g,p.ok=y,p.equal=function(e,t,n){e!=t&&g(e,t,n,\"==\",p.equal)},p.notEqual=function(e,t,n){e==t&&g(e,t,n,\"!=\",p.notEqual)},p.deepEqual=function(e,t,n){b(e,t,!1)||g(e,t,n,\"deepEqual\",p.deepEqual)},p.deepStrictEqual=function(e,t,n){b(e,t,!0)||g(e,t,n,\"deepStrictEqual\",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){b(e,t,!1)&&g(e,t,n,\"notDeepEqual\",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&g(t,n,r,\"notDeepStrictEqual\",e)},p.strictEqual=function(e,t,n){e!==t&&g(e,t,n,\"===\",p.strictEqual)},p.notStrictEqual=function(e,t,n){e===t&&g(e,t,n,\"!==\",p.notStrictEqual)},p.throws=function(e,t,n){O(!0,e,t,n)},p.doesNotThrow=function(e,t,n){O(!1,e,t,n)},p.ifError=function(e){if(e)throw e},p.strict=t((function e(t,n){t||g(t,!0,n,\"==\",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(76),n(14),n(36),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";var o;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDiagnostics=function(e,t=null,r,i){let o=null;try{o=(0,n.parse)(e)}catch(t){const n=f(t.locations[0],e);return[{severity:s.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}return l(o,t,r,i)},e.validateQuery=l,e.getRange=f,e.DIAGNOSTIC_SEVERITY=e.SEVERITY=void 0,t=(o=t)&&o.__esModule?o:{default:o};const a={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"};e.SEVERITY=a;const s={[a.Error]:1,[a.Warning]:2,[a.Information]:3,[a.Hint]:4};function l(e,t=null,r,o){if(!t)return[];const a=c((0,i.validateWithCustomRules)(t,e,r,o),e=>u(e,s.Error,\"Validation\")),l=n.findDeprecatedUsages?c((0,n.findDeprecatedUsages)(t,e),e=>u(e,s.Warning,\"Deprecation\")):[];return a.concat(l)}function c(e,t){return Array.prototype.concat.apply([],e.map(t))}function u(e,n,r){if(!e.nodes)return[];const o=[];return e.nodes.forEach(a=>{const s=\"Variable\"!==a.kind&&\"name\"in a&&void 0!==a.name?a.name:\"variable\"in a&&void 0!==a.variable?a.variable:a;if(s){(0,t.default)(e.locations,\"GraphQL validation error requires locations.\");const a=e.locations[0],l=function(e){const n=e.loc;return(0,t.default)(n,\"Expected ASTNode to have a location.\"),n}(s),c=a.column+(l.end-l.start);o.push({source:\"GraphQL: \"+r,message:e.message,severity:n,range:new i.Range(new i.Position(a.line-1,a.column-1),new i.Position(a.line-1,c))})}}),o}function f(e,n){const o=(0,r.onlineParser)(),a=o.startState(),s=n.split(\"\\n\");(0,t.default)(s.length>=e.line,\"Query text must have more lines than where the error happened\");let l=null;for(let t=0;t<e.line;t++)for(l=new r.CharacterStream(s[t]);!l.eol()&&\"invalidchar\"!==o.token(l,a););(0,t.default)(l,\"Expected Parser stream to be available.\");const c=e.line-1,u=l.getStartOfToken(),f=l.getCurrentPosition();return new i.Range(new i.Position(c,u),new i.Position(c,f))}e.DIAGNOSTIC_SEVERITY=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getOutline=function(e){let o;try{o=(0,t.parse)(e)}catch(e){return null}const a=function(e){const t=t=>({representativeName:t.name,startPosition:(0,n.offsetToPosition)(e,t.loc.start),endPosition:(0,n.offsetToPosition)(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[i(\"plain\",e.alias),i(\"plain\",\": \")]:[];return n.push(i(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",e.operation),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);Array.isArray(i)?n.push(...i):n.push(i)}return n}(e.selections,e=>e.kind===r?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"fragment\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"interface\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"enum\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"type\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"input\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[i(\"plain\",\"...\"),i(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:(0,t.visit)(o,{leave:e=>void 0!==a&&e.kind in a?a[e.kind](e):null})}};const{INLINE_FRAGMENT:r}=t.Kind;function i(e,t){return{kind:e,value:t}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(57)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(a(e,t,n,t.parentType),l(e,\".\")),l(e,r)}function i(e,t,n){t.directiveDef&&l(e,\"@\"+t.directiveDef.name)}function o(e,t,n,r){l(e,\": \"),a(e,t,n,r)}function a(e,n,r,i){i&&(i instanceof t.GraphQLNonNull?(a(e,n,r,i.ofType),l(e,\"!\")):i instanceof t.GraphQLList?(l(e,\"[\"),a(e,n,r,i.ofType),l(e,\"]\")):l(e,i.name))}function s(e,t,n){if(!n)return;const r=\"string\"==typeof n.description?n.description:null;r&&(l(e,\"\\n\\n\"),l(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;r&&(l(e,\"\\n\\n\"),l(e,\"Deprecated: \"),l(e,r))}(e,0,n)}function l(e,t){e.push(t)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getHoverInformation=function(e,t,c,u){const f=u||(0,n.getTokenAtPosition)(t,c);if(!e||!f||!f.state)return\"\";const p=f.state,d=p.kind,h=p.step,m=(0,n.getTypeInfo)(e,f.state),v={schema:e};if(\"Field\"===d&&0===h&&m.fieldDef||\"AliasedField\"===d&&2===h&&m.fieldDef){const e=[];return function(e,t,n){r(e,t,n),o(e,t,n,t.type)}(e,m,v),s(e,0,m.fieldDef),e.join(\"\").trim()}if(\"Directive\"===d&&1===h&&m.directiveDef){const e=[];return i(e,m),s(e,0,m.directiveDef),e.join(\"\").trim()}if(\"Argument\"===d&&0===h&&m.argDef){const e=[];return function(e,t,n){if(t.directiveDef?i(e,t):t.fieldDef&&r(e,t,n),!t.argDef)return;const a=t.argDef.name;l(e,\"(\"),l(e,a),o(e,t,n,t.inputType),l(e,\")\")}(e,m,v),s(e,0,m.argDef),e.join(\"\").trim()}if(\"EnumValue\"===d&&m.enumValue&&\"description\"in m.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;a(e,t,n,t.inputType),l(e,\".\"),l(e,r)}(e,m,v),s(e,0,m.enumValue),e.join(\"\").trim()}if(\"NamedType\"===d&&m.type&&\"description\"in m.type){const e=[];return a(e,m,v,m.type),s(e,0,m.type),e.join(\"\").trim()}return\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,o.default)(t,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?a(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=(0,r.getNamedType)(n.type);break;case\"Directive\":n.directiveDef=t.name&&e.getDirective(t.name);break;case\"Arguments\":const i=\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&a(e,n.parentType,t.prevState.name):null;n.argDefs=i&&i.args;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=n.argDef&&n.argDef.type;break;case\"EnumValue\":const o=(0,r.getNamedType)(n.inputType);n.enumValue=o instanceof r.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}(o.getValues(),e=>e.value===t.name):null;break;case\"ListValue\":const s=(0,r.getNullableType)(n.inputType);n.inputType=s instanceof r.GraphQLList?s.ofType:null;break;case\"ObjectValue\":const l=(0,r.getNamedType)(n.inputType);n.objectFieldDefs=l instanceof r.GraphQLInputObjectType?l.getFields():null;break;case\"ObjectField\":const c=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=c&&c.type;break;case\"NamedType\":n.type=e.getType(t.name)}}),n};var e,r=n(14),i=n(8),o=(e=n(81))&&e.__esModule?e:{default:e};function a(e,t,n){return n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t?i.SchemaMetaFieldDef:n===i.TypeMetaFieldDef.name&&e.getQueryType()===t?i.TypeMetaFieldDef:n===i.TypeNameMetaFieldDef.name&&(0,r.isCompositeType)(t)?i.TypeNameMetaFieldDef:t.getFields?t.getFields()[n]:void 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(t){return{kind:\"EnumValue\",value:t.enumValue,type:(0,e.getNamedType)(t.inputType)}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}};var e=n(14);function r(e){return\"__\"===e.name.slice(0,2)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,n){const r=e.state.info,i=n.target||n.srcElement;if(\"SPAN\"!==i.nodeName||void 0!==r.hoverTimeout)return;const o=i.getBoundingClientRect(),a=function(){clearTimeout(r.hoverTimeout),r.hoverTimeout=setTimeout(l,c)},s=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),clearTimeout(r.hoverTimeout),r.hoverTimeout=void 0},l=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),r.hoverTimeout=void 0,function(e,n){const r=e.coordsChar({left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}),i=e.state.info.options,o=i.render||e.getHelper(r,\"info\");if(o){const a=e.getTokenAt(r,!0);if(a){const s=o(a,i,e,r);s&&function(e,n,r){const i=document.createElement(\"div\");i.className=\"CodeMirror-info\",i.appendChild(r),document.body.appendChild(i);const o=i.getBoundingClientRect(),a=i.currentStyle||window.getComputedStyle(i),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom);let c=n.bottom;l>window.innerHeight-n.bottom-15&&n.top>window.innerHeight-n.bottom&&(c=n.top-l),c<0&&(c=n.bottom);let u,f=Math.max(0,window.innerWidth-s-15);f>n.left&&(f=n.left),i.style.opacity=1,i.style.top=c+\"px\",i.style.left=f+\"px\";const p=function(){clearTimeout(u)},d=function(){clearTimeout(u),u=setTimeout(h,200)},h=function(){t.default.off(i,\"mouseover\",p),t.default.off(i,\"mouseout\",d),t.default.off(e.getWrapperElement(),\"mouseout\",d),i.style.opacity?(i.style.opacity=0,setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)};t.default.on(i,\"mouseover\",p),t.default.on(i,\"mouseout\",d),t.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,n,s)}}}(e,o)},c=function(e){const t=e.state.info.options;return t&&t.hoverTime||500}(e);r.hoverTimeout=setTimeout(l,c),t.default.on(document,\"mousemove\",a),t.default.on(e.getWrapperElement(),\"mouseout\",s)}t.default.defineOption(\"info\",!1,(e,n,i)=>{if(i&&i!==t.default.Init){const n=e.state.info.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(n){const i=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(n);i.onMouseOver=r.bind(null,e),t.default.on(e.getWrapperElement(),\"mouseover\",i.onMouseOver)}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e}){return\"defaultValue\"in e&&void 0!==e.defaultValue?t.default.createElement(\"span\",null,\" = \",t.default.createElement(\"span\",{className:\"arg-default-value\"},(r=(0,n.astFromValue)(e.defaultValue,e.type))?(0,n.print)(r):\"\")):null;var r},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t.apply(this,r)},e)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(11),o=n(26),a=n(1);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null==t?void 0:t[e.name.value]}Object(i.a)(!1,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(88),n(89),n(90),n(91),n(92),n(93),n(94),n(95),n(96),n(97),n(98),n(99)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l,c,u,f,p){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;var d=p.GraphiQL;e.default=d})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=\"function\"==typeof Symbol?Symbol:{},i=r.iterator||\"@@iterator\",o=r.asyncIterator||\"@@asyncIterator\",a=r.toStringTag||\"@@toStringTag\";function s(e,t,n,r){var i=t&&t.prototype instanceof u?t:u,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=\"suspendedStart\";return function(i,o){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=l(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===c)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(e){return{type:\"throw\",arg:e}}}e.wrap=s;var c={};function u(){}function f(){}function p(){}var d={};d[i]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,i)&&(d=m);var v=p.prototype=u.prototype=Object.create(d);function g(e){[\"next\",\"throw\",\"return\"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var c=l(e[i],e,o);if(\"throw\"!==c.type){var u=c.arg,f=u.value;return f&&\"object\"==typeof f&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){r(\"next\",e,a,s)}),(function(e){r(\"throw\",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r(\"throw\",e,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator.return&&(t.method=\"return\",t.arg=void 0,b(e,t),\"throw\"===t.method))return c;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return c}var r=l(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,c):i:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,c)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(T,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return f.prototype=v.constructor=p,p.constructor=f,p[a]=f.displayName=\"GeneratorFunction\",e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===f||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,a in e||(e[a]=\"GeneratorFunction\")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[o]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]=\"Generator\",v[i]=function(){return this},v.toString=function(){return\"[object Generator]\"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if(\"root\"===o.tryLoc)return r(\"end\");if(o.tryLoc<=this.prev){var s=n.call(o,\"catchLoc\"),l=n.call(o,\"finallyLoc\");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,\"finallyLoc\")&&this.prev<i.finallyLoc){var o=i;break}}o&&(\"break\"===e||\"continue\"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=\"next\",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;E(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function(\"r\",\"regeneratorRuntime = r\")(t)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(e,t,n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k){\"use strict\";function w(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphiQL=void 0,t=w(t),i=w(i),v=w(v),g=w(g),y=w(y),b=w(b),T=w(T),E=w(E),_=w(_),parseInt(t.default.version.slice(0,2),10)<16)throw Error([\"GraphiQL 0.18.0 and after is not compatible with React 15 or below.\",\"If you are using a CDN source (jsdelivr, unpkg, etc), follow this example:\",\"https://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49\"].join(\"\\n\"));class S extends t.default.Component{static formatResult(e){return JSON.stringify(e,null,2)}static formatError(e){const t=Array.isArray(e)?e.map(A):A(e);return JSON.stringify(t,null,2)}constructor(e){var t,r;if(super(e),C(this,\"_editorQueryID\",0),C(this,\"_storage\",void 0),C(this,\"codeMirrorSizer\",void 0),C(this,\"componentIsMounted\",void 0),C(this,\"docExplorerComponent\",void 0),C(this,\"graphiqlContainer\",void 0),C(this,\"resultComponent\",void 0),C(this,\"variableEditorComponent\",void 0),C(this,\"headerEditorComponent\",void 0),C(this,\"_queryHistory\",void 0),C(this,\"editorBarComponent\",void 0),C(this,\"queryEditorComponent\",void 0),C(this,\"resultViewerElement\",void 0),C(this,\"safeSetState\",(e,t)=>{this.componentIsMounted&&this.setState(e,t)}),C(this,\"handleClickReference\",e=>{this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDocForReference(e)}),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))}),C(this,\"handleRunQuery\",e=>{this._editorQueryID++;const t=this._editorQueryID,n=this.autoCompleteLeafs()||this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.shouldPersistHeaders;let a=this.state.operationName;e&&e!==a&&(a=e,this.handleEditOperationName(a));try{this.setState({isWaitingForResponse:!0,response:void 0,operationName:a}),this._storage.set(\"operationName\",a),this._queryHistory&&this._queryHistory.updateHistory(n,r,i,a);const e=this._fetchQuery(n,r,i,a,o,e=>{t===this._editorQueryID&&this.setState({isWaitingForResponse:!1,response:S.formatResult(e)})});this.setState({subscription:e})}catch(e){this.setState({isWaitingForResponse:!1,response:e.message})}}),C(this,\"handleStopQuery\",()=>{const e=this.state.subscription;this.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()}),C(this,\"handlePrettifyQuery\",()=>{var e,t,r;const i=this.getQueryEditor(),o=null!==(e=null==i?void 0:i.getValue())&&void 0!==e?e:\"\",a=(0,n.print)((0,n.parse)(o));a!==o&&(null==i||i.setValue(a));const s=this.getVariableEditor(),l=null!==(t=null==s?void 0:s.getValue())&&void 0!==t?t:\"\";try{const e=JSON.stringify(JSON.parse(l),null,2);e!==l&&(null==s||s.setValue(e))}catch{}const c=this.getHeaderEditor(),u=null!==(r=null==c?void 0:c.getValue())&&void 0!==r?r:\"\";try{const e=JSON.stringify(JSON.parse(u),null,2);e!==u&&(null==c||c.setValue(e))}catch{}}),C(this,\"handleMergeQuery\",()=>{const e=this.getQueryEditor(),t=e.getValue();if(!t)return;const r=(0,n.parse)(t);e.setValue((0,n.print)((0,_.default)(r)))}),C(this,\"handleEditQuery\",(0,T.default)(100,e=>{const t=this._updateQueryFacts(e,this.state.operationName,this.state.operations,this.state.schema);if(this.setState({query:e,...t}),this._storage.set(\"query\",e),this.props.onEditQuery)return this.props.onEditQuery(e)})),C(this,\"handleCopyQuery\",()=>{const e=this.getQueryEditor(),t=e&&e.getValue();if(t)return(0,i.default)(t),this.props.onCopyQuery?this.props.onCopyQuery(t):void 0}),C(this,\"_updateQueryFacts\",(e,t,n,r)=>{const i=(0,y.default)(r,e);if(i){const e=(0,b.default)(n,t,i.operations),r=this.props.onEditOperationName;return r&&e&&t!==e&&r(e),{operationName:e,...i}}}),C(this,\"handleEditVariables\",e=>{this.setState({variables:e}),(0,T.default)(500,()=>this._storage.set(\"variables\",e))(),this.props.onEditVariables&&this.props.onEditVariables(e)}),C(this,\"handleEditHeaders\",e=>{this.setState({headers:e}),this.props.shouldPersistHeaders&&(0,T.default)(500,()=>this._storage.set(\"headers\",e))(),this.props.onEditHeaders&&this.props.onEditHeaders(e)}),C(this,\"handleEditOperationName\",e=>{const t=this.props.onEditOperationName;t&&t(e)}),C(this,\"handleHintInformationRender\",e=>{let t;e.addEventListener(\"click\",this._onClickHintInformation),e.addEventListener(\"DOMNodeRemoved\",t=()=>{e.removeEventListener(\"DOMNodeRemoved\",t),e.removeEventListener(\"click\",this._onClickHintInformation)})}),C(this,\"handleEditorRunQuery\",()=>{this._runQueryAtCursor()}),C(this,\"_onClickHintInformation\",e=>{if((null==e?void 0:e.currentTarget)&&\"className\"in e.currentTarget&&\"typeName\"===e.currentTarget.className){const t=e.currentTarget.innerHTML,n=this.state.schema;if(n){const e=n.getType(t);e&&(this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDoc(e)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen)))())}}}),C(this,\"handleToggleDocs\",()=>{\"function\"==typeof this.props.onToggleDocs&&this.props.onToggleDocs(!this.state.docExplorerOpen),this._storage.set(\"docExplorerOpen\",JSON.stringify(!this.state.docExplorerOpen)),this.setState({docExplorerOpen:!this.state.docExplorerOpen})}),C(this,\"handleToggleHistory\",()=>{\"function\"==typeof this.props.onToggleHistory&&this.props.onToggleHistory(!this.state.historyPaneOpen),this._storage.set(\"historyPaneOpen\",JSON.stringify(!this.state.historyPaneOpen)),this.setState({historyPaneOpen:!this.state.historyPaneOpen})}),C(this,\"handleSelectHistoryQuery\",(e,t,n,r)=>{e&&this.handleEditQuery(e),t&&this.handleEditVariables(t),n&&this.handleEditHeaders(n),r&&this.handleEditOperationName(r)}),C(this,\"handleResizeStart\",e=>{if(!this._didClickDragBar(e))return;e.preventDefault();const t=e.clientX-(0,x.getLeft)(e.target);let n=e=>{if(0===e.buttons)return r();const n=this.editorBarComponent,i=e.clientX-(0,x.getLeft)(n)-t,o=n.clientWidth-i;this.setState({editorFlex:i/o}),(0,T.default)(500,()=>this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex)))()},r=()=>{document.removeEventListener(\"mousemove\",n),document.removeEventListener(\"mouseup\",r),n=null,r=null};document.addEventListener(\"mousemove\",n),document.addEventListener(\"mouseup\",r)}),C(this,\"handleResetResize\",()=>{this.setState({editorFlex:1}),this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex))}),C(this,\"handleDocsResizeStart\",e=>{e.preventDefault();const t=this.state.docExplorerWidth,n=e.clientX-(0,x.getLeft)(e.target);let r=e=>{if(0===e.buttons)return i();const t=this.graphiqlContainer,r=e.clientX-(0,x.getLeft)(t)-n,o=t.clientWidth-r;o<100?this.setState({docExplorerOpen:!1}):(this.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(o,650)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))},i=()=>{this.state.docExplorerOpen||(this.setState({docExplorerWidth:t}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),document.removeEventListener(\"mousemove\",r),document.removeEventListener(\"mouseup\",i),r=null,i=null};document.addEventListener(\"mousemove\",r),document.addEventListener(\"mouseup\",i)}),C(this,\"handleDocsResetResize\",()=>{this.setState({docExplorerWidth:350}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()}),C(this,\"handleTabClickPropogation\",e=>{e.preventDefault(),e.stopPropagation()}),C(this,\"handleOpenHeaderEditorTab\",e=>{this.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})}),C(this,\"handleOpenVariableEditorTab\",e=>{this.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})}),C(this,\"handleSecondaryEditorResizeStart\",e=>{e.preventDefault();let t=!1;const n=this.state.secondaryEditorOpen,r=this.state.secondaryEditorHeight,i=e.clientY-(0,x.getTop)(e.target);let o=e=>{if(0===e.buttons)return a();t=!0;const n=this.editorBarComponent,o=e.clientY-(0,x.getTop)(n)-i,s=n.clientHeight-o;s<60?this.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):this.setState({secondaryEditorOpen:!0,secondaryEditorHeight:s}),(0,T.default)(500,()=>this._storage.set(\"secondaryEditorHeight\",JSON.stringify(this.state.secondaryEditorHeight)))()},a=()=>{t||this.setState({secondaryEditorOpen:!n}),document.removeEventListener(\"mousemove\",o),document.removeEventListener(\"mouseup\",a),o=null,a=null};document.addEventListener(\"mousemove\",o),document.addEventListener(\"mouseup\",a)}),\"function\"!=typeof e.fetcher)throw new TypeError(\"GraphiQL requires a fetcher function.\");this._storage=new g.default(e.storage),this.componentIsMounted=!1;const o=void 0!==e.query?e.query:this._storage.get(\"query\")?this._storage.get(\"query\"):void 0!==e.defaultQuery?e.defaultQuery:L,a=(0,y.default)(e.schema,o),s=void 0!==e.variables?e.variables:this._storage.get(\"variables\"),l=void 0!==e.headers?e.headers:this._storage.get(\"headers\"),c=void 0!==e.operationName?e.operationName:(0,b.default)(void 0,this._storage.get(\"operationName\"),a&&a.operations);let u,f=e.docExplorerOpen||!1;this._storage.get(\"docExplorerOpen\")&&(f=\"true\"===this._storage.get(\"docExplorerOpen\")),u=void 0!==e.defaultVariableEditorOpen?e.defaultVariableEditorOpen:void 0!==e.defaultSecondaryEditorOpen?e.defaultSecondaryEditorOpen:Boolean(s||l);const p=null!==(t=e.headerEditorEnabled)&&void 0!==t&&t,d=null!==(r=e.shouldPersistHeaders)&&void 0!==r&&r;this.state={schema:e.schema,query:o,variables:s,headers:l,operationName:c,docExplorerOpen:f,response:e.response,editorFlex:Number(this._storage.get(\"editorFlex\"))||1,secondaryEditorOpen:u,secondaryEditorHeight:Number(this._storage.get(\"secondaryEditorHeight\"))||200,variableEditorActive:\"true\"!==this._storage.get(\"variableEditorActive\")&&!e.headerEditorEnabled||\"true\"!==this._storage.get(\"headerEditorActive\"),headerEditorActive:\"true\"===this._storage.get(\"headerEditorActive\"),headerEditorEnabled:p,shouldPersistHeaders:d,historyPaneOpen:\"true\"===this._storage.get(\"historyPaneOpen\")||!1,docExplorerWidth:Number(this._storage.get(\"docExplorerWidth\"))||350,isWaitingForResponse:!1,subscription:null,...a}}componentDidMount(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new v.default,r.g=this}UNSAFE_componentWillMount(){this.componentIsMounted=!1}UNSAFE_componentWillReceiveProps(e){let t=this.state.schema,n=this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.operationName,a=this.state.response;if(void 0!==e.schema&&(t=e.schema),void 0!==e.query&&this.props.query!==e.query&&(n=e.query),void 0!==e.variables&&this.props.variables!==e.variables&&(r=e.variables),void 0!==e.headers&&this.props.headers!==e.headers&&(i=e.headers),void 0!==e.operationName&&(o=e.operationName),void 0!==e.response&&(a=e.response),n&&t&&(t!==this.state.schema||n!==this.state.query||o!==this.state.operationName)){const e=this._updateQueryFacts(n,o,this.state.operations,t);void 0!==e&&(o=e.operationName,this.setState(e))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(t=void 0),this._storage.set(\"operationName\",o),this.setState({schema:t,query:n,variables:r,headers:i,operationName:o,response:a},()=>{void 0===this.state.schema&&(this.docExplorerComponent&&this.docExplorerComponent.reset(),this.fetchSchema())})}componentDidUpdate(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])}render(){const e=t.default.Children.toArray(this.props.children),n=(0,E.default)(e,e=>R(e,S.Logo))||t.default.createElement(S.Logo,null),r=(0,E.default)(e,e=>R(e,S.Toolbar))||t.default.createElement(S.Toolbar,null,t.default.createElement(s.ToolbarButton,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"})),i=(0,E.default)(e,e=>R(e,S.Footer)),l={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:\"block\",width:this.state.docExplorerWidth},v=\"docExplorerWrap\"+(this.state.docExplorerWidth<200?\" doc-explorer-narrow\":\"\"),g={display:this.state.historyPaneOpen?\"block\":\"none\",width:\"230px\",zIndex:7},y=this.state.secondaryEditorOpen,b={height:y?this.state.secondaryEditorHeight:void 0};return t.default.createElement(\"div\",{ref:e=>{this.graphiqlContainer=e},className:\"graphiql-container\"},t.default.createElement(\"div\",{className:\"historyPaneWrap\",style:g},t.default.createElement(m.QueryHistory,{ref:e=>{this._queryHistory=e},operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,queryID:this._editorQueryID},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleHistory,\"aria-label\":\"Close History\"},\"\u2715\"))),t.default.createElement(\"div\",{className:\"editorWrap\"},t.default.createElement(\"div\",{className:\"topBarWrap\"},t.default.createElement(\"div\",{className:\"topBar\"},n,t.default.createElement(o.ExecuteButton,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),r),!this.state.docExplorerOpen&&t.default.createElement(\"button\",{className:\"docExplorerShow\",onClick:this.handleToggleDocs,\"aria-label\":\"Open Documentation Explorer\"},\"Docs\")),t.default.createElement(\"div\",{ref:e=>{this.editorBarComponent=e},className:\"editorBar\",onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},t.default.createElement(\"div\",{className:\"queryWrap\",style:l},t.default.createElement(u.QueryEditor,{ref:e=>{this.queryEditorComponent=e},schema:this.state.schema,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly}),t.default.createElement(\"section\",{className:\"variable-editor secondary-editor\",style:b,\"aria-label\":this.state.variableEditorActive?\"Query Variables\":\"Request Headers\"},t.default.createElement(\"div\",{className:\"secondary-editor-title variable-editor-title\",id:\"secondary-editor-title\",style:{cursor:y?\"row-resize\":\"n-resize\"},onMouseDown:this.handleSecondaryEditorResizeStart},t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.variableEditorActive?\"#000\":\"gray\",display:\"inline-block\"},onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},\"Query Variables\"),this.state.headerEditorEnabled&&t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.headerEditorActive?\"#000\":\"gray\",display:\"inline-block\",marginLeft:\"20px\"},onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},\"Request Headers\")),t.default.createElement(f.VariableEditor,{ref:e=>{this.variableEditorComponent=e},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.variableEditorActive}),this.state.headerEditorEnabled&&t.default.createElement(p.HeaderEditor,{ref:e=>{this.headerEditorComponent=e},value:this.state.headers,onEdit:this.handleEditHeaders,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.headerEditorActive}))),t.default.createElement(\"div\",{className:\"resultWrap\"},this.state.isWaitingForResponse&&t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})),t.default.createElement(d.ResultViewer,{registerRef:e=>{this.resultViewerElement=e},ref:e=>{this.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:a.ImagePreview}),i))),this.state.docExplorerOpen&&t.default.createElement(\"div\",{className:v,style:c},t.default.createElement(\"div\",{className:\"docExplorerResizer\",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),t.default.createElement(h.DocExplorer,{ref:e=>{this.docExplorerComponent=e},schema:this.state.schema},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleDocs,\"aria-label\":\"Close Documentation Explorer\"},\"\u2715\"))))}getQueryEditor(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()}getVariableEditor(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null}getHeaderEditor(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null}refresh(){this.queryEditorComponent&&this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent&&this.variableEditorComponent.getCodeMirror().refresh(),this.headerEditorComponent&&this.headerEditorComponent.getCodeMirror().refresh(),this.resultComponent&&this.resultComponent.getCodeMirror().refresh()}autoCompleteLeafs(){const{insertions:e,result:t}=(0,O.fillLeafs)(this.state.schema,this.state.query,this.props.getDefaultFieldNames);if(e&&e.length>0){const n=this.getQueryEditor();n&&n.operation(()=>{const r=n.getCursor(),i=n.indexFromPos(r);n.setValue(t||\"\");let o=0;const a=e.map(({index:e,string:t})=>n.markText(n.posFromIndex(e+o),n.posFromIndex(e+(o+=t.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"}));setTimeout(()=>a.forEach(e=>e.clear()),7e3);let s=i;e.forEach(({index:e,string:t})=>{e<i&&(s+=t.length)}),n.setCursor(n.posFromIndex(s))})}return t}fetchSchema(){const e=this.props.fetcher,t={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders)};this.state.headers&&this.state.headers.trim().length>2?t.headers=JSON.parse(this.state.headers):this.props.headers&&(t.headers=JSON.parse(this.props.headers));const r=F(e({query:k.introspectionQuery,operationName:k.introspectionQueryName},t));j(r)?r.then(n=>{if(\"string\"!=typeof n&&\"data\"in n)return n;const i=F(e({query:k.introspectionQuerySansSubscriptions,operationName:k.introspectionQueryName},t));if(!j(r))throw new Error(\"Fetcher did not return a Promise for introspection.\");return i}).then(e=>{if(void 0===this.state.schema)if(\"string\"!=typeof e&&\"data\"in e){const t=(0,n.buildClientSchema)(e.data),r=(0,y.default)(t,this.state.query);this.safeSetState({schema:t,...r})}else{const t=\"string\"==typeof e?e:S.formatResult(e);this.safeSetState({schema:void 0,response:t})}}).catch(e=>{this.safeSetState({schema:void 0,response:e?S.formatError(e):void 0})}):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})}_fetchQuery(e,t,n,r,i,o){const a=this.props.fetcher;let s=null,l=null;try{s=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(e){throw new Error(`Variables are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof s)throw new Error(\"Variables are not a JSON object.\");try{l=n&&\"\"!==n.trim()?JSON.parse(n):null}catch(e){throw new Error(`Headers are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof l)throw new Error(\"Headers are not a JSON object.\");const c=a({query:e,variables:s,operationName:r},{headers:l,shouldPersistHeaders:i});if(!j(c)){if(M(c))return c.subscribe({next:o,error:e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0,subscription:null})},complete:()=>{this.safeSetState({isWaitingForResponse:!1,subscription:null})}});throw new Error(\"Fetcher did not return Promise or Observable.\")}c.then(o).catch(e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0})})}_runQueryAtCursor(){if(this.state.subscription)return void this.handleStopQuery();let e;const t=this.state.operations;if(t){const n=this.getQueryEditor();if(n&&n.hasFocus()){const r=n.getCursor(),i=n.indexFromPos(r);for(let n=0;n<t.length;n++){const r=t[n];if(r.loc&&r.loc.start<=i&&r.loc.end>=i){e=r.name&&r.name.value;break}}}}this.handleRunQuery(e)}_didClickDragBar(e){if(0!==e.button||e.ctrlKey)return!1;let t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;const n=this.resultViewerElement;for(;t;){if(t===n)return!0;t=t.parentNode}return!1}}function N(e){return t.default.createElement(\"div\",{className:\"title\"},e.children||t.default.createElement(\"span\",null,\"Graph\",t.default.createElement(\"em\",null,\"i\"),\"QL\"))}function D(e){return t.default.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function I(e){return t.default.createElement(\"div\",{className:\"footer\"},e.children)}e.GraphiQL=S,C(S,\"Logo\",N),C(S,\"Toolbar\",D),C(S,\"Footer\",I),C(S,\"QueryEditor\",u.QueryEditor),C(S,\"VariableEditor\",f.VariableEditor),C(S,\"HeaderEditor\",p.HeaderEditor),C(S,\"ResultViewer\",d.ResultViewer),C(S,\"Button\",s.ToolbarButton),C(S,\"ToolbarButton\",s.ToolbarButton),C(S,\"Group\",l.ToolbarGroup),C(S,\"Menu\",c.ToolbarMenu),C(S,\"MenuItem\",c.ToolbarMenuItem),N.displayName=\"GraphiQLLogo\",D.displayName=\"GraphiQLToolbar\",I.displayName=\"GraphiQLFooter\";const A=e=>({...e,message:e.message,stack:e.stack}),L='# 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 start\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n#     {\\n#       field(arg: \"value\") {\\n#         subField\\n#       }\\n#     }\\n#\\n# Keyboard shortcuts:\\n#\\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\\n#\\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\\n#\\n#       Run Query:  Ctrl-Enter (or press the play button above)\\n#\\n#   Auto Complete:  Ctrl-Space (or just start typing)\\n#\\n\\n';function j(e){return\"object\"==typeof e&&\"function\"==typeof e.then}function F(e){return M(e)?new Promise((t,n)=>{const r=e.subscribe(e=>{t(e),r.unsubscribe()},n,()=>{n(new Error(\"no value resolved\"))})}):e}function M(e){return\"object\"==typeof e&&\"subscribe\"in e&&\"function\"==typeof e.subscribe}function R(e,t){var n;return!(!(null==e||null===(n=e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}},o=[t,n(16),n(14),n(100),n(102),n(103),n(107),n(108),n(109),n(110),n(188),n(194),n(196),n(199),n(206),n(209),n(210),n(211),n(212),n(85),n(213),n(214),n(215),n(216),n(217)],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(101),r={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,n){var i,o,a,s,l,c,u=!1;n||(n={}),i=n.debug||!1;try{if(a=t(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(t){if(t.stopPropagation(),n.format)if(t.preventDefault(),void 0===t.clipboardData){i&&console.warn(\"unable to use e.clipboardData\"),i&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=r[n.format]||r.default;window.clipboardData.setData(o,e)}else t.clipboardData.clearData(),t.clipboardData.setData(n.format,e);n.onCopy&&(t.preventDefault(),n.onCopy(t.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(t){i&&console.error(\"unable to copy using execCommand: \",t),i&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(n.format||\"text\",e),n.onCopy&&n.onCopy(window.clipboardData),u=!0}catch(t){i&&console.error(\"unable to copy using clipboardData: \",t),i&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in n?n.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":t.blur();break;default:t=null}return e.removeAllRanges(),function(){\"Caret\"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ExecuteButton=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_onClick\",()=>{this.props.isRunning?this.props.onStop():this.props.onRun()}),n(this,\"_onOptionSelected\",e=>{this.setState({optionsOpen:!1}),this.props.onRun(e.name&&e.name.value)}),n(this,\"_onOptionsOpen\",e=>{let t=!0;const n=e.currentTarget;this.setState({highlight:null,optionsOpen:!0});let r=e=>{var i;t&&e.target===n?t=!1:(document.removeEventListener(\"mouseup\",r),r=null,e.currentTarget&&(null===(i=n.parentNode)||void 0===i?void 0:i.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||this.setState({optionsOpen:!1}))};document.addEventListener(\"mouseup\",r)}),this.state={optionsOpen:!1,highlight:null}}render(){const e=this.props.operations||[],n=this.state.optionsOpen,r=e&&e.length>1;let i,o=null;if(r&&n){const n=this.state.highlight;o=t.default.createElement(\"ul\",{className:\"execute-options\"},e.map((e,r)=>{const i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return t.default.createElement(\"li\",{key:`${i}-${r}`,className:e===n?\"selected\":void 0,onMouseOver:()=>this.setState({highlight:e}),onMouseOut:()=>this.setState({highlight:null}),onMouseUp:()=>this._onOptionSelected(e)},i)}))}!this.props.isRunning&&r||(i=this._onClick);let a=()=>{};this.props.isRunning||!r||n||(a=this._onOptionsOpen);const s=this.props.isRunning?t.default.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):t.default.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return t.default.createElement(\"div\",{className:\"execute-button-wrap\"},t.default.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:a,onClick:i,title:\"Execute Query (Ctrl-Enter)\"},t.default.createElement(\"svg\",{width:\"34\",height:\"34\"},s)),o)}}e.ExecuteButton=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(104)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(\"string\"!==e.type)return;const t=e.string.slice(1).slice(0,-1).trim();try{const e=window.location;return new URL(t,e.protocol+\"//\"+e.host)}catch(e){return}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ImagePreview=void 0,t=r(t),n=r(n);class a extends t.default.Component{constructor(...e){super(...e),i(this,\"_node\",null),i(this,\"state\",{width:null,height:null,src:null,mime:null})}static shouldRender(e){const t=o(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)}componentDidMount(){this._updateMetadata()}componentDidUpdate(){this._updateMetadata()}render(){var e;let n=null;if(null!==this.state.width&&null!==this.state.height){let e=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(e+=\" \"+this.state.mime),n=t.default.createElement(\"div\",null,e)}return t.default.createElement(\"div\",null,t.default.createElement(\"img\",{onLoad:()=>this._updateMetadata(),ref:e=>{this._node=e},src:null===(e=o(this.props.token))||void 0===e?void 0:e.href}),n)}_updateMetadata(){if(!this._node)return;const e=this._node.naturalWidth,t=this._node.naturalHeight,n=this._node.src;n!==this.state.src&&(this.setState({src:n}),fetch(n,{method:\"HEAD\"}).then(e=>{this.setState({mime:e.headers.get(\"Content-Type\")})})),e===this.state.width&&t===this.state.height||this.setState({height:t,width:e})}}e.ImagePreview=a,i(a,\"propTypes\",{token:n.default.any})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(105)()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(106);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,n,r,i,o,a){if(a!==t){var s=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw s.name=\"Invariant Violation\",s}}function n(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarButton=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"handleClick\",()=>{try{this.props.onClick(),this.setState({error:null})}catch(e){this.setState({error:e})}}),this.state={error:null}}render(){const{error:e}=this.state;return t.default.createElement(\"button\",{className:\"toolbar-button\"+(e?\" error\":\"\"),onClick:this.handleClick,title:e?e.message:this.props.title,\"aria-invalid\":e?\"true\":\"false\"},this.props.label)}}e.ToolbarButton=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarGroup=function({children:e}){return t.default.createElement(\"div\",{className:\"toolbar-button-group\"},e)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarMenuItem=e.ToolbarMenu=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_node\",null),n(this,\"_listener\",null),n(this,\"handleOpen\",e=>{o(e),this.setState({visible:!0}),this._subscribe()}),this.state={visible:!1}}componentWillUnmount(){this._release()}render(){const e=this.state.visible;return t.default.createElement(\"a\",{className:\"toolbar-menu toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:o,ref:e=>{e&&(this._node=e)},title:this.props.title},this.props.label,t.default.createElement(\"svg\",{width:\"14\",height:\"8\"},t.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 1.5 L 14 1.5 L 9.5 7 z\"})),t.default.createElement(\"ul\",{className:\"toolbar-menu-items\"+(e?\" open\":\"\")},this.props.children))}_subscribe(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener(\"click\",this._listener))}_release(){this._listener&&(document.removeEventListener(\"click\",this._listener),this._listener=null)}handleClick(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())}}function o(e){e.preventDefault()}e.ToolbarMenu=i,e.ToolbarMenuItem=({onSelect:e,title:n,label:r})=>t.default.createElement(\"li\",{onMouseOver:e=>{e.currentTarget.className=\"hover\"},onMouseOut:e=>{e.currentTarget.className=\"\"},onMouseDown:o,onMouseUp:e,title:n},r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49),n(166),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryEditor=void 0,t=s(t),r=s(r),o=s(o),a=s(a);const c=new r.default,u=/^[a-zA-Z0-9_@(]$/;class f extends t.default.Component{constructor(e){super(e),l(this,\"cachedValue\",void 0),l(this,\"editor\",null),l(this,\"ignoreChangeEvent\",!1),l(this,\"_node\",null),l(this,\"_onKeyUp\",(e,t)=>{u.test(t.key)&&this.editor&&this.editor.execCommand(\"autocomplete\")}),l(this,\"_onEdit\",()=>{!this.ignoreChangeEvent&&this.editor&&(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue))}),l(this,\"_onHasCompletion\",(e,t)=>{(0,o.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){const e=n(10);n(54),n(167),n(41),n(55),n(42),n(43),n(69),n(33),n(44),n(34),n(56),n(45),n(169),n(183),n(184),n(185),n(187);const t=this.editor=e(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{schema:this.props.schema},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1,container:this._node},info:{schema:this.props.schema,renderDescription:e=>c.render(e),onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},jump:{schema:this.props.schema,onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Ctrl-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-C\":()=>{this.props.onCopyQuery&&this.props.onCopyQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-F\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...a.default,\"Cmd-S\":()=>{this.props.onRunQuery},\"Ctrl-S\":()=>{this.props.onRunQuery}}});t&&(t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion),t.on(\"beforeChange\",this._onBeforeChange))}componentDidUpdate(e){const t=n(10);this.ignoreChangeEvent=!0,this.props.schema!==e.schema&&this.editor&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,t.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue&&this.editor&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"section\",{className:\"query-editor\",\"aria-label\":\"Query Editor\",ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}_onBeforeChange(e,t){if(\"paste\"===t.origin){const e=t.text.map(i.normalizeWhitespace);t.update(t.from,t.to,e)}}}e.QueryEditor=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12),r=n(119),i=n(123),o=n(124),a=n(132),s=n(146),l=n(159),c=n(62),u=n(161),f={default:n(163),zero:n(164),commonmark:n(165)},p=/^(vbscript|javascript|file|data):/,d=/^data:image\\/(gif|png|jpeg|webp);/;function h(e){var t=e.trim().toLowerCase();return!p.test(t)||!!d.test(t)}var m=[\"http:\",\"https:\",\"mailto:\"];function v(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function g(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t))}function y(e,n){if(!(this instanceof y))return new y(e,n);n||t.isString(e)||(n=e||{},e=\"default\"),this.inline=new s,this.block=new a,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=h,this.normalizeLink=v,this.normalizeLinkText=g,this.utils=t,this.helpers=t.assign({},r),this.options={},this.configure(e),n&&this.set(n)}y.prototype.set=function(e){return t.assign(this.options,e),this},y.prototype.configure=function(e){var n,r=this;if(t.isString(e)&&!(e=f[n=e]))throw new Error('Wrong `markdown-it` preset \"'+n+'\", check name');if(!e)throw new Error(\"Wrong `markdown-it` preset, can't be empty\");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.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},y.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},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.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},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y})?r.apply(t,i):r)||(e.exports=o)},function(e){e.exports=JSON.parse('{\"Aacute\":\"\u00C1\",\"aacute\":\"\u00E1\",\"Abreve\":\"\u0102\",\"abreve\":\"\u0103\",\"ac\":\"\u223E\",\"acd\":\"\u223F\",\"acE\":\"\u223E\u0333\",\"Acirc\":\"\u00C2\",\"acirc\":\"\u00E2\",\"acute\":\"\u00B4\",\"Acy\":\"\u0410\",\"acy\":\"\u0430\",\"AElig\":\"\u00C6\",\"aelig\":\"\u00E6\",\"af\":\"\u2061\",\"Afr\":\"\uD835\uDD04\",\"afr\":\"\uD835\uDD1E\",\"Agrave\":\"\u00C0\",\"agrave\":\"\u00E0\",\"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\":\"\u00C5\",\"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\":\"\u00C5\",\"aring\":\"\u00E5\",\"Ascr\":\"\uD835\uDC9C\",\"ascr\":\"\uD835\uDCB6\",\"Assign\":\"\u2254\",\"ast\":\"*\",\"asymp\":\"\u2248\",\"asympeq\":\"\u224D\",\"Atilde\":\"\u00C3\",\"atilde\":\"\u00E3\",\"Auml\":\"\u00C4\",\"auml\":\"\u00E4\",\"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\":\"\u00A6\",\"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\":\"\u00C7\",\"ccedil\":\"\u00E7\",\"Ccirc\":\"\u0108\",\"ccirc\":\"\u0109\",\"Cconint\":\"\u2230\",\"ccups\":\"\u2A4C\",\"ccupssm\":\"\u2A50\",\"Cdot\":\"\u010A\",\"cdot\":\"\u010B\",\"cedil\":\"\u00B8\",\"Cedilla\":\"\u00B8\",\"cemptyv\":\"\u29B2\",\"cent\":\"\u00A2\",\"centerdot\":\"\u00B7\",\"CenterDot\":\"\u00B7\",\"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\":\"\u00AE\",\"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\":\"\u00A9\",\"COPY\":\"\u00A9\",\"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\":\"\u00A4\",\"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\":\"\u00B0\",\"Del\":\"\u2207\",\"Delta\":\"\u0394\",\"delta\":\"\u03B4\",\"demptyv\":\"\u29B1\",\"dfisht\":\"\u297F\",\"Dfr\":\"\uD835\uDD07\",\"dfr\":\"\uD835\uDD21\",\"dHar\":\"\u2965\",\"dharl\":\"\u21C3\",\"dharr\":\"\u21C2\",\"DiacriticalAcute\":\"\u00B4\",\"DiacriticalDot\":\"\u02D9\",\"DiacriticalDoubleAcute\":\"\u02DD\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"\u02DC\",\"diam\":\"\u22C4\",\"diamond\":\"\u22C4\",\"Diamond\":\"\u22C4\",\"diamondsuit\":\"\u2666\",\"diams\":\"\u2666\",\"die\":\"\u00A8\",\"DifferentialD\":\"\u2146\",\"digamma\":\"\u03DD\",\"disin\":\"\u22F2\",\"div\":\"\u00F7\",\"divide\":\"\u00F7\",\"divideontimes\":\"\u22C7\",\"divonx\":\"\u22C7\",\"DJcy\":\"\u0402\",\"djcy\":\"\u0452\",\"dlcorn\":\"\u231E\",\"dlcrop\":\"\u230D\",\"dollar\":\"$\",\"Dopf\":\"\uD835\uDD3B\",\"dopf\":\"\uD835\uDD55\",\"Dot\":\"\u00A8\",\"dot\":\"\u02D9\",\"DotDot\":\"\u20DC\",\"doteq\":\"\u2250\",\"doteqdot\":\"\u2251\",\"DotEqual\":\"\u2250\",\"dotminus\":\"\u2238\",\"dotplus\":\"\u2214\",\"dotsquare\":\"\u22A1\",\"doublebarwedge\":\"\u2306\",\"DoubleContourIntegral\":\"\u222F\",\"DoubleDot\":\"\u00A8\",\"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\":\"\u00C9\",\"eacute\":\"\u00E9\",\"easter\":\"\u2A6E\",\"Ecaron\":\"\u011A\",\"ecaron\":\"\u011B\",\"Ecirc\":\"\u00CA\",\"ecirc\":\"\u00EA\",\"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\":\"\u00C8\",\"egrave\":\"\u00E8\",\"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\":\"\u00D0\",\"eth\":\"\u00F0\",\"Euml\":\"\u00CB\",\"euml\":\"\u00EB\",\"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\":\"\u00BD\",\"frac13\":\"\u2153\",\"frac14\":\"\u00BC\",\"frac15\":\"\u2155\",\"frac16\":\"\u2159\",\"frac18\":\"\u215B\",\"frac23\":\"\u2154\",\"frac25\":\"\u2156\",\"frac34\":\"\u00BE\",\"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\":\"\u00BD\",\"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\":\"\u00CD\",\"iacute\":\"\u00ED\",\"ic\":\"\u2063\",\"Icirc\":\"\u00CE\",\"icirc\":\"\u00EE\",\"Icy\":\"\u0418\",\"icy\":\"\u0438\",\"Idot\":\"\u0130\",\"IEcy\":\"\u0415\",\"iecy\":\"\u0435\",\"iexcl\":\"\u00A1\",\"iff\":\"\u21D4\",\"ifr\":\"\uD835\uDD26\",\"Ifr\":\"\u2111\",\"Igrave\":\"\u00CC\",\"igrave\":\"\u00EC\",\"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\":\"\u00BF\",\"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\":\"\u00CF\",\"iuml\":\"\u00EF\",\"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\":\"\u00AB\",\"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\":\"\u00AF\",\"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\":\"\u00B5\",\"midast\":\"*\",\"midcir\":\"\u2AF0\",\"mid\":\"\u2223\",\"middot\":\"\u00B7\",\"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\":\"\u00A0\",\"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\":\"\u00A0\",\"nopf\":\"\uD835\uDD5F\",\"Nopf\":\"\u2115\",\"Not\":\"\u2AEC\",\"not\":\"\u00AC\",\"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\":\"\u00D1\",\"ntilde\":\"\u00F1\",\"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\":\"\u00D3\",\"oacute\":\"\u00F3\",\"oast\":\"\u229B\",\"Ocirc\":\"\u00D4\",\"ocirc\":\"\u00F4\",\"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\":\"\u00D2\",\"ograve\":\"\u00F2\",\"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\":\"\u00AA\",\"ordm\":\"\u00BA\",\"origof\":\"\u22B6\",\"oror\":\"\u2A56\",\"orslope\":\"\u2A57\",\"orv\":\"\u2A5B\",\"oS\":\"\u24C8\",\"Oscr\":\"\uD835\uDCAA\",\"oscr\":\"\u2134\",\"Oslash\":\"\u00D8\",\"oslash\":\"\u00F8\",\"osol\":\"\u2298\",\"Otilde\":\"\u00D5\",\"otilde\":\"\u00F5\",\"otimesas\":\"\u2A36\",\"Otimes\":\"\u2A37\",\"otimes\":\"\u2297\",\"Ouml\":\"\u00D6\",\"ouml\":\"\u00F6\",\"ovbar\":\"\u233D\",\"OverBar\":\"\u203E\",\"OverBrace\":\"\u23DE\",\"OverBracket\":\"\u23B4\",\"OverParenthesis\":\"\u23DC\",\"para\":\"\u00B6\",\"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\":\"\u00B1\",\"plusmn\":\"\u00B1\",\"plussim\":\"\u2A26\",\"plustwo\":\"\u2A27\",\"pm\":\"\u00B1\",\"Poincareplane\":\"\u210C\",\"pointint\":\"\u2A15\",\"popf\":\"\uD835\uDD61\",\"Popf\":\"\u2119\",\"pound\":\"\u00A3\",\"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\":\"\u00BB\",\"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\":\"\u00AE\",\"REG\":\"\u00AE\",\"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\":\"\u00A7\",\"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\":\"\u00AD\",\"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\":\"\u00AF\",\"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\":\"\u00B9\",\"sup2\":\"\u00B2\",\"sup3\":\"\u00B3\",\"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\":\"\u00DF\",\"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\":\"\u00DE\",\"thorn\":\"\u00FE\",\"tilde\":\"\u02DC\",\"Tilde\":\"\u223C\",\"TildeEqual\":\"\u2243\",\"TildeFullEqual\":\"\u2245\",\"TildeTilde\":\"\u2248\",\"timesbar\":\"\u2A31\",\"timesb\":\"\u22A0\",\"times\":\"\u00D7\",\"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\":\"\u00DA\",\"uacute\":\"\u00FA\",\"uarr\":\"\u2191\",\"Uarr\":\"\u219F\",\"uArr\":\"\u21D1\",\"Uarrocir\":\"\u2949\",\"Ubrcy\":\"\u040E\",\"ubrcy\":\"\u045E\",\"Ubreve\":\"\u016C\",\"ubreve\":\"\u016D\",\"Ucirc\":\"\u00DB\",\"ucirc\":\"\u00FB\",\"Ucy\":\"\u0423\",\"ucy\":\"\u0443\",\"udarr\":\"\u21C5\",\"Udblac\":\"\u0170\",\"udblac\":\"\u0171\",\"udhar\":\"\u296E\",\"ufisht\":\"\u297E\",\"Ufr\":\"\uD835\uDD18\",\"ufr\":\"\uD835\uDD32\",\"Ugrave\":\"\u00D9\",\"ugrave\":\"\u00F9\",\"uHar\":\"\u2963\",\"uharl\":\"\u21BF\",\"uharr\":\"\u21BE\",\"uhblk\":\"\u2580\",\"ulcorn\":\"\u231C\",\"ulcorner\":\"\u231C\",\"ulcrop\":\"\u230F\",\"ultri\":\"\u25F8\",\"Umacr\":\"\u016A\",\"umacr\":\"\u016B\",\"uml\":\"\u00A8\",\"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\":\"\u00DC\",\"uuml\":\"\u00FC\",\"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\":\"\u00DD\",\"yacute\":\"\u00FD\",\"YAcy\":\"\u042F\",\"yacy\":\"\u044F\",\"Ycirc\":\"\u0176\",\"ycirc\":\"\u0177\",\"Ycy\":\"\u042B\",\"ycy\":\"\u044B\",\"yen\":\"\u00A5\",\"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\":\"\u00FF\",\"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){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r,i){var o,a,s,l,c,u=\"\";for(\"string\"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),c=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push(\"%\"+(\"0\"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)i[e.charCodeAt(n)]=e[n];return i}(r),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),i&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+=\"%EF%BF%BD\"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=\";/?:@&=+$,-_.!~*'()#\",n.componentChars=\"-_.!~*'()\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r){var i;return\"string\"!=typeof r&&(r=n.defaultChars),i=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n<e.length;n++)i[r=e.charCodeAt(n)]=\"%\"+(\"0\"+r.toString(16).toUpperCase()).slice(-2);return i}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,a,s,l,c=\"\";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=i[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?\"\uFFFD\uFFFD\":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(c+=(l=r<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?\"\uFFFD\uFFFD\uFFFD\":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+=\"\uFFFD\uFFFD\uFFFD\uFFFD\":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+=\"\uFFFD\";return c}))}n.defaultChars=\";/?:@&=+$,#\",n.componentChars=\"\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"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||\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,o=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),a=[\"'\"].concat(o),s=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(a),l=[\"/\",\"?\",\"#\"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,\"javascript:\":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0};t.prototype.parse=function(e,t){var r,o,a,d,h,m=e;if(m=m.trim(),!t&&1===e.split(\"#\").length){var v=i.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=n.exec(m);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(h=\"//\"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(h||g&&!p[g])){var y,b,T=-1;for(r=0;r<l.length;r++)-1!==(d=m.indexOf(l[r]))&&(-1===T||d<T)&&(T=d);for(-1!==(b=-1===T?m.lastIndexOf(\"@\"):m.lastIndexOf(\"@\",T))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),T=-1,r=0;r<s.length;r++)-1!==(d=m.indexOf(s[r]))&&(-1===T||d<T)&&(T=d);-1===T&&(T=m.length),\":\"===m[T-1]&&T--;var E=m.slice(0,T);m=m.slice(T),this.parseHost(E),this.hostname=this.hostname||\"\";var O=\"[\"===this.hostname[0]&&\"]\"===this.hostname[this.hostname.length-1];if(!O){var x=this.hostname.split(/\\./);for(r=0,o=x.length;r<o;r++){var _=x[r];if(_&&!_.match(c)){for(var k=\"\",w=0,C=_.length;w<C;w++)_.charCodeAt(w)>127?k+=\"x\":k+=_[w];if(!k.match(c)){var S=x.slice(0,r),N=x.slice(r+1),D=_.match(u);D&&(S.push(D[1]),N.unshift(D[2])),N.length&&(m=N.join(\".\")+m),this.hostname=S.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf(\"#\");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var A=m.indexOf(\"?\");return-1!==A&&(this.search=m.substr(A),m=m.slice(0,A)),m&&(this.pathname=m),p[a]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(\":\"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.Any=n(63),t.Cc=n(64),t.Cf=n(118),t.P=n(50),t.Z=n(65)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";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]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.parseLinkLabel=n(120),t.parseLinkDestination=n(121),t.parseLinkTitle=n(122)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=n,s={ok:!1,pos:0,lines:0,str:\"\"};if(60===e.charCodeAt(n)){for(n++;n<r;){if(10===(i=e.charCodeAt(n)))return s;if(62===i)return s.pos=n+1,s.str=t(e.slice(a+1,n)),s.ok=!0,s;92===i&&n+1<r?n+=2:n++}return s}for(o=0;n<r&&32!==(i=e.charCodeAt(n))&&!(i<32||127===i);)if(92===i&&n+1<r)n+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}n++}return a===n||0!==o||(s.str=t(e.slice(a,n)),s.lines=0,s.pos=n,s.ok=!0),s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=0,s=n,l={ok:!1,pos:0,lines:0,str:\"\"};if(n>=r)return l;if(34!==(o=e.charCodeAt(n))&&39!==o&&40!==o)return l;for(n++,40===o&&(o=41);n<r;){if((i=e.charCodeAt(n))===o)return l.pos=n+1,l.lines=a,l.str=t(e.slice(s+1,n)),l.ok=!0,l;10===i?a++:92===i&&n+1<r&&(n++,10===e.charCodeAt(n)&&a++),n++}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).assign,r=n(12).unescapeAll,i=n(12).escapeHtml,o={};function a(){this.rules=t({},o)}o.code_inline=function(e,t,n,r,o){var a=e[t];return\"<code\"+o.renderAttrs(a)+\">\"+i(e[t].content)+\"</code>\"},o.code_block=function(e,t,n,r,o){var a=e[t];return\"<pre\"+o.renderAttrs(a)+\"><code>\"+i(e[t].content)+\"</code></pre>\\n\"},o.fence=function(e,t,n,o,a){var s,l,c,u,f=e[t],p=f.info?r(f.info).trim():\"\",d=\"\";return p&&(d=p.split(/\\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||i(f.content)).indexOf(\"<pre\")?s+\"\\n\":p?(l=f.attrIndex(\"class\"),c=f.attrs?f.attrs.slice():[],l<0?c.push([\"class\",n.langPrefix+d]):c[l][1]+=\" \"+n.langPrefix+d,u={attrs:c},\"<pre><code\"+a.renderAttrs(u)+\">\"+s+\"</code></pre>\\n\"):\"<pre><code\"+a.renderAttrs(f)+\">\"+s+\"</code></pre>\\n\"},o.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)},o.hardbreak=function(e,t,n){return n.xhtmlOut?\"<br />\\n\":\"<br>\\n\"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?\"<br />\\n\":\"<br>\\n\":\"\\n\"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return\"\";for(r=\"\",t=0,n=e.attrs.length;t<n;t++)r+=\" \"+i(e.attrs[t][0])+'=\"'+i(e.attrs[t][1])+'\"';return r},a.prototype.renderToken=function(e,t,n){var r,i=\"\",o=!1,a=e[t];return a.hidden?\"\":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+=\"\\n\"),i+=(-1===a.nesting?\"</\":\"<\")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=\" /\"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(\"inline\"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?\">\\n\":\">\")},a.prototype.renderInline=function(e,t,n){for(var r,i=\"\",o=this.rules,a=0,s=e.length;a<s;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},a.prototype.renderInlineAsText=function(e,t,n){for(var r=\"\",i=0,o=e.length;i<o;i++)\"text\"===e[i].type?r+=e[i].content:\"image\"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},a.prototype.render=function(e,t,n){var r,i,o,a=\"\",s=this.rules;for(r=0,i=e.length;r<i;r++)\"inline\"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"normalize\",n(125)],[\"block\",n(126)],[\"inline\",n(127)],[\"linkify\",n(128)],[\"replacements\",n(129)],[\"smartquotes\",n(130)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules(\"\")).length;t<n;t++)r[t](e)},i.prototype.State=n(131),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\r\\n?|\\n/g,n=/\\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,\"\\n\")).replace(n,\"\uFFFD\"),e.src=r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t;e.inlineMode?((t=new e.Token(\"inline\",\"\",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)\"inline\"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).arrayReplaceAt;function r(e){return/^<\\/a\\s*>/i.test(e)}e.exports=function(e){var n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E=e.tokens;if(e.md.options.linkify)for(i=0,o=E.length;i<o;i++)if(\"inline\"===E[i].type&&e.md.linkify.pretest(E[i].content))for(m=0,n=(a=E[i].children).length-1;n>=0;n--)if(\"link_close\"!==(l=a[n]).type){if(\"html_inline\"===l.type&&(T=l.content,/^<a[>\\s]/i.test(T)&&m>0&&m--,r(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),c=[],h=l.level,d=0,u=0;u<b.length;u++)v=b[u].url,g=e.md.normalizeLink(v),e.md.validateLink(g)&&(y=b[u].text,y=b[u].schema?\"mailto:\"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText(\"mailto:\"+y).replace(/^mailto:/,\"\"):e.md.normalizeLinkText(\"http://\"+y).replace(/^http:\\/\\//,\"\"),(p=b[u].index)>d&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,c.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",g]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",c.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,c.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",c.push(s),d=b[u].lastIndex);d<f.length&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d),s.level=h,c.push(s)),E[i].children=a=t(a,n,c)}}else for(n--;a[n].level!==l.level&&\"link_open\"!==a[n].type;)n--}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/,n=/\\((c|tm|r|p)\\)/i,r=/\\((c|tm|r|p)\\)/gi,i={c:\"\u00A9\",r:\"\u00AE\",p:\"\u00A7\",tm:\"\u2122\"};function o(e,t){return i[t.toLowerCase()]}function a(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)\"text\"!==(n=e[t]).type||i||(n.content=n.content.replace(r,o)),\"link_open\"===n.type&&\"auto\"===n.info&&i--,\"link_close\"===n.type&&\"auto\"===n.info&&i++}function s(e){var n,r,i=0;for(n=e.length-1;n>=0;n--)\"text\"!==(r=e[n]).type||i||t.test(r.content)&&(r.content=r.content.replace(/\\+-/g,\"\u00B1\").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\"===r.type&&\"auto\"===r.info&&i--,\"link_close\"===r.type&&\"auto\"===r.info&&i++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)\"inline\"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isWhiteSpace,r=n(12).isPunctChar,i=n(12).isMdAsciiPunct,o=/['\"]/,a=/['\"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,n){var o,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C;for(k=[],o=0;o<e.length;o++){for(l=e[o],d=e[o].level,x=k.length-1;x>=0&&!(k[x].level<=d);x--);if(k.length=x+1,\"text\"===l.type){f=0,p=(c=l.content).length;e:for(;f<p&&(a.lastIndex=f,u=a.exec(c));){if(E=O=!0,f=u.index+1,_=\"'\"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(x=o-1;x>=0&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x--)if(\"text\"===e[x].type){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(v=32,f<p)v=c.charCodeAt(f);else for(x=o+1;x<e.length&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x++)if(\"text\"===e[x].type){v=e[x].content.charCodeAt(0);break}if(g=i(m)||r(String.fromCharCode(m)),y=i(v)||r(String.fromCharCode(v)),b=t(m),(T=t(v))?E=!1:y&&(b||g||(E=!1)),b?O=!1:g&&(T||y||(O=!1)),34===v&&'\"'===u[0]&&m>=48&&m<=57&&(O=E=!1),E&&O&&(E=!1,O=y),E||O){if(O)for(x=k.length-1;x>=0&&(h=k[x],!(k[x].level<d));x--)if(h.single===_&&k[x].level===d){h=k[x],_?(w=n.md.options.quotes[2],C=n.md.options.quotes[3]):(w=n.md.options.quotes[0],C=n.md.options.quotes[1]),l.content=s(l.content,u.index,C),e[h.token].content=s(e[h.token].content,h.pos,w),f+=C.length-1,h.token===o&&(f+=w.length-1),p=(c=l.content).length,k.length=x;continue e}E?k.push({token:o,pos:u.index,single:_,level:d}):O&&_&&(l.content=s(l.content,u.index,\"\u2019\"))}else _&&(l.content=s(l.content,u.index,\"\u2019\"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)\"inline\"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52);function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=t,e.exports=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"table\",n(133),[\"paragraph\",\"reference\"]],[\"code\",n(134)],[\"fence\",n(135),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(136),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(137),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(138),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(139)],[\"heading\",n(140),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(141)],[\"html_block\",n(142),[\"paragraph\",\"reference\",\"blockquote\"]],[\"paragraph\",n(144)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1],{alt:(r[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(\"\"),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},i.prototype.State=n(145),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&s&&(s=!1,r=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,n,o,a){var s,l,c,u,f,p,d,h,m,v,g,y;if(n+2>o)return!1;if(f=n+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!t(s))return!1;c++}for(p=(l=r(e,n+1)).split(\"|\"),m=[],u=0;u<p.length;u++){if(!(v=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?\"center\":\"right\"):58===v.charCodeAt(0)?m.push(\"left\"):m.push(\"\")}if(-1===(l=r(e,n).trim()).indexOf(\"|\"))return!1;if(e.sCount[n]-e.blkIndent>=4)return!1;if((d=(p=i(l.replace(/^\\||\\|$/g,\"\"))).length)>m.length)return!1;if(a)return!0;for((h=e.push(\"table_open\",\"table\",1)).map=g=[n,0],(h=e.push(\"thead_open\",\"thead\",1)).map=[n,n+1],(h=e.push(\"tr_open\",\"tr\",1)).map=[n,n+1],u=0;u<p.length;u++)(h=e.push(\"th_open\",\"th\",1)).map=[n,n+1],m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u].trim(),h.map=[n,n+1],h.children=[],h=e.push(\"th_close\",\"th\",-1);for(h=e.push(\"tr_close\",\"tr\",-1),h=e.push(\"thead_close\",\"thead\",-1),(h=e.push(\"tbody_open\",\"tbody\",1)).map=y=[n+2,0],f=n+2;f<o&&!(e.sCount[f]<e.blkIndent)&&-1!==(l=r(e,f).trim()).indexOf(\"|\")&&!(e.sCount[f]-e.blkIndent>=4);f++){for(p=i(l.replace(/^\\||\\|$/g,\"\")),h=e.push(\"tr_open\",\"tr\",1),u=0;u<d;u++)h=e.push(\"td_open\",\"td\",1),m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u]?p[u].trim():\"\",h.children=[],h=e.push(\"td_close\",\"td\",-1);h=e.push(\"tr_close\",\"tr\",-1)}return h=e.push(\"tbody_close\",\"tbody\",-1),h=e.push(\"table_close\",\"table\",-1),g[1]=y[1]=f,e.line=f,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push(\"code_block\",\"code\",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n,r){var i,o,a,s,l,c,u,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(p=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<d)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),(c=e.push(\"fence\",\"code\",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k=e.lineMax,w=e.bMarks[n]+e.tShift[n],C=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(i)return!0;for(l=d=e.sCount[n]+w-(e.bMarks[n]+e.tShift[n]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[n]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h=[e.bMarks[n]],e.bMarks[n]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[n]+(o?1:0))%4:d++,w++;for(m=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(T?1:0),u=w>=C,y=[e.sCount[n]],e.sCount[n]=d-l,b=[e.tShift[n]],e.tShift[n]=w-e.bMarks[n],O=e.md.block.ruler.getRules(\"blockquote\"),g=e.parentType,e.parentType=\"blockquote\",_=!1,p=n+1;p<r&&(e.sCount[p]<e.blkIndent&&(_=!0),!((w=e.bMarks[p]+e.tShift[p])>=(C=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||_){if(u)break;for(E=!1,s=0,c=O.length;s<c;s++)if(O[s](e,p,r,!0)){E=!0;break}if(E){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=d=e.sCount[p]+w-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[p]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h.push(e.bMarks[p]),e.bMarks[p]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++,w++;u=w>=C,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(T?1:0),y.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,(x=e.push(\"blockquote_open\",\"blockquote\",1)).markup=\">\",x.map=f=[n,0],e.md.block.tokenize(e,n,p),(x=e.push(\"blockquote_close\",\"blockquote\",-1)).markup=\">\",e.lineMax=k,e.parentType=g,f[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+n]=h[s],e.tShift[s+n]=b[s],e.sCount[s+n]=y[s],e.bsCount[s+n]=m[s];return e.blkIndent=v,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!t(s))return!1;s===o&&a++}return!(a<3||(i||(e.line=n+1,(l=e.push(\"hr\",\"hr\",0)).map=[n,e.line],l.markup=Array(a+1).join(String.fromCharCode(o))),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,n){var r,i,o,a;return i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],42!==(r=e.src.charCodeAt(i++))&&45!==r&&43!==r||i<o&&(a=e.src.charCodeAt(i),!t(a))?-1:i}function i(e,n){var r,i=e.bMarks[n]+e.tShift[n],o=i,a=e.eMarks[n];if(o+1>=a)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=a)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-i>=10)return-1}return o<a&&(r=e.src.charCodeAt(o),!t(r))?-1:o}e.exports=function(e,t,n,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C,S,N,D,I,A,L,j=!1,F=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&\"paragraph\"===e.parentType&&e.tShift[t]>=e.blkIndent&&(j=!0),(S=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,S-D-1)),j&&1!==y)return!1}else{if(!((S=r(e,t))>=0))return!1;p=!1}if(j&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),o)return!0;for(v=e.tokens.length,p?(L=e.push(\"ordered_list_open\",\"ol\",1),1!==y&&(L.attrs=[[\"start\",y]])):L=e.push(\"bullet_list_open\",\"ul\",1),L.map=m=[t,0],L.markup=String.fromCharCode(g),T=t,N=!1,A=e.md.block.ruler.getRules(\"list\"),x=e.parentType,e.parentType=\"list\";T<n;){for(C=S,b=e.eMarks[T],f=E=e.sCount[T]+S-(e.bMarks[t]+e.tShift[t]);C<b;){if(9===(a=e.src.charCodeAt(C)))E+=4-(E+e.bsCount[T])%4;else{if(32!==a)break;E++}C++}if((u=(s=C)>=b?1:E-f)>4&&(u=1),c=f+u,(L=e.push(\"list_item_open\",\"li\",1)).markup=String.fromCharCode(g),L.map=d=[t,0],w=e.tight,k=e.tShift[t],_=e.sCount[t],O=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(F=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=O,e.tShift[t]=k,e.sCount[t]=_,e.tight=w,(L=e.push(\"list_item_close\",\"li\",-1)).markup=String.fromCharCode(g),T=t=e.line,d[1]=T,s=e.bMarks[t],T>=n)break;if(e.sCount[T]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(I=!1,l=0,h=A.length;l<h;l++)if(A[l](e,T,n,!0)){I=!0;break}if(I)break;if(p){if((S=i(e,T))<0)break}else if((S=r(e,T))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(L=p?e.push(\"ordered_list_close\",\"ol\",-1):e.push(\"bullet_list_close\",\"ul\",-1)).markup=String.fromCharCode(g),m[1]=T,e.line=T,e.parentType=x,F&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&\"paragraph_open\"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n,i,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O=0,x=e.bMarks[n]+e.tShift[n],_=e.eMarks[n],k=n+1;if(e.sCount[n]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<_;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===_)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(c=e.lineMax,T=e.md.block.ruler.getRules(\"reference\"),m=e.parentType,e.parentType=\"reference\";k<c&&!e.isEmpty(k);k++)if(!(e.sCount[k]-e.blkIndent>3||e.sCount[k]<0)){for(b=!1,f=0,p=T.length;f<p;f++)if(T[f](e,k,c,!0)){b=!0;break}if(b)break}for(_=(y=e.getLines(n,k,e.blkIndent,!1).trim()).length,x=1;x<_;x++){if(91===(a=y.charCodeAt(x)))return!1;if(93===a){h=x;break}(10===a||92===a&&++x<_&&10===y.charCodeAt(x))&&O++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(x=h+2;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;if(!(v=e.md.helpers.parseLinkDestination(y,x,_)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=x=v.pos,l=O+=v.lines,g=x;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;for(v=e.md.helpers.parseLinkTitle(y,x,_),x<_&&g!==x&&v.ok?(E=v.str,x=v.pos,O+=v.lines):(E=\"\",x=s,O=l);x<_&&(a=y.charCodeAt(x),r(a));)x++;if(x<_&&10!==y.charCodeAt(x)&&E)for(E=\"\",x=s,O=l;x<_&&(a=y.charCodeAt(x),r(a));)x++;return!(x<_&&10!==y.charCodeAt(x)||!(d=t(y.slice(1,h)))||(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:E,href:u}),e.parentType=m,e.line=n+O+1),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!t(o)||(i||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&t(e.src.charCodeAt(s-1))&&(u=s),e.line=n+1,(l=e.push(\"heading_open\",\"h\"+String(a),1)).markup=\"########\".slice(0,a),l.map=[n,e.line],(l=e.push(\"inline\",\"\",0)).content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],(l=e.push(\"heading_close\",\"h\"+String(a),-1)).markup=\"########\".slice(0,a)),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s,l,c,u,f,p,d=t+1,h=e.md.block.ruler.getRules(\"paragraph\");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=\"paragraph\";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=c)){u=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push(\"heading_open\",\"h\"+String(u),1)).markup=String.fromCharCode(f),s.map=[t,e.line],(s=e.push(\"inline\",\"\",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push(\"heading_close\",\"h\"+String(u),-1)).markup=String.fromCharCode(f),e.parentType=p,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(143),r=n(66).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\\s|>|$))/i,/<\\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\\?/,/\\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\\[CDATA\\[/,/\\]\\]>/,!0],[new RegExp(\"^</?(\"+t.join(\"|\")+\")(?=(\\\\s|/?>|$))\",\"i\"),/^$/,!0],[new RegExp(r.source+\"\\\\s*$\"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o<i.length&&!i[o][0].test(l);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),i[o][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push(\"html_block\",\"\",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"meta\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"section\",\"source\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"]})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules(\"paragraph\"),u=e.lineMax;for(s=e.parentType,e.parentType=\"paragraph\";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push(\"paragraph_open\",\"p\",1)).map=[t,e.line],(a=e.push(\"inline\",\"\",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push(\"paragraph_close\",\"p\",-1),e.parentType=s,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isSpace;function i(e,t,n,i){var o,a,s,l,c,u,f,p;for(this.src=e,this.md=t,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=\"root\",this.level=0,this.result=\"\",p=!1,s=l=u=f=0,c=(a=this.src).length;l<c;l++){if(o=a.charCodeAt(l),!p){if(r(o)){u++,9===o?f+=4-f%4:f++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(f),this.bsCount.push(0),p=!1,u=0,f=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,n,r){var i=new t(e,n,r);return i.block=!0,r<0&&this.level--,i.level=this.level,r>0&&this.level++,this.tokens.push(i),i},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),r(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,i){var o,a,s,l,c,u,f,p=e;if(e>=t)return\"\";for(u=new Array(t-e),o=0;p<t;p++,o++){for(a=0,f=l=this.bMarks[p],c=p+1<t||i?this.eMarks[p]+1:this.eMarks[p];l<c&&a<n;){if(s=this.src.charCodeAt(l),r(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-f<this.tShift[p]))break;a++}l++}u[o]=a>n?new Array(a-n+1).join(\" \")+this.src.slice(l,c):this.src.slice(l,c)}return u.join(\"\")},i.prototype.Token=t,e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"text\",n(147)],[\"newline\",n(148)],[\"escape\",n(149)],[\"backticks\",n(150)],[\"strikethrough\",n(67).tokenize],[\"emphasis\",n(68).tokenize],[\"link\",n(151)],[\"image\",n(152)],[\"autolink\",n(153)],[\"html_inline\",n(154)],[\"entity\",n(155)]],i=[[\"balance_pairs\",n(156)],[\"strikethrough\",n(67).postProcess],[\"emphasis\",n(68).postProcess],[\"text_collapse\",n(157)]];function o(){var e;for(this.ruler=new t,e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1]);for(this.ruler2=new t,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(\"\"),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(\"\"),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules(\"\")).length,i=0;i<a;i++)o[i](s)},o.prototype.State=n(158),e.exports=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n){var r,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,i=e.posMax,n||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,\"\"),e.push(\"hardbreak\",\"br\",0)):(e.pending=e.pending.slice(0,-1),e.push(\"softbreak\",\"br\",0)):e.push(\"softbreak\",\"br\",0)),o++;o<i&&t(e.src.charCodeAt(o));)o++;return e.pos=o,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";for(var t=n(12).isSpace,r=[],i=0;i<256;i++)r.push(0);\"\\\\!\\\"#$%&'()*+,./:;<=>?@[]^_`{|}~-\".split(\"\").forEach((function(e){r[e.charCodeAt(0)]=1})),e.exports=function(e,n){var i,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((i=e.src.charCodeAt(o))<256&&0!==r[i])return n||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===i){for(n||e.push(\"hardbreak\",\"br\",0),o++;o<a&&(i=e.src.charCodeAt(o),t(i));)o++;return e.pos=o,!0}}return n||(e.pending+=\"\\\\\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-1!==(o=e.src.indexOf(\"`\",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push(\"code_inline\",\"code\",0)).markup=i,s.content=e.src.slice(l,o).replace(/\\n/g,\" \").replace(/^ (.+) $/,\"$1\")),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d=\"\",h=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(g=!1,c++;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(c>=m)return!1;for(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d=\"\"),v=c;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(p=u.str,c=u.pos;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);else p=\"\";(c>=m||41!==e.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[t(a)]))return e.pos=h,!1;d=f.href,p=f.title}return n||(e.pos=l,e.posMax=s,e.push(\"link_open\",\"a\",1).attrs=i=[[\"href\",d]],p&&i.push([\"title\",p]),e.md.inline.tokenize(e),e.push(\"link_close\",\"a\",-1)),e.pos=c,e.posMax=m,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d,h,m,v,g=\"\",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(u>=b)return!1;for(v=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=\"\"),v=u;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&p.ok)for(d=p.str,u=p.pos;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);else d=\"\";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[t(s)]))return e.pos=y,!1;g=f.href,d=f.title}return n||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push(\"image\",\"img\",0)).attrs=i=[[\"src\",g],[\"alt\",\"\"]],h.children=m,h.content=a,d&&i.push([\"title\",d])),e.pos=u,e.posMax=b,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/^<([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,n=/^<([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)>/;e.exports=function(e,r){var i,o,a,s,l,c,u=e.pos;return!(60!==e.src.charCodeAt(u)||(i=e.src.slice(u)).indexOf(\">\")<0||(n.test(i)?(s=(o=i.match(n))[0].slice(1,-1),l=e.md.normalizeLink(s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=o[0].length,0)):!t.test(i)||(s=(a=i.match(t))[0].slice(1,-1),l=e.md.normalizeLink(\"mailto:\"+s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=a[0].length,0))))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(66).HTML_TAG_RE;e.exports=function(e,n){var r,i,o,a=e.pos;return!(!e.md.options.html||(o=e.posMax,60!==e.src.charCodeAt(a)||a+2>=o||33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r)||!(i=e.src.slice(a).match(t))||(n||(e.push(\"html_inline\",\"\",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,0)))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(61),r=n(12).has,i=n(12).isValidEntityCode,o=n(12).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,n){var l,c,u=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<f)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(a))return n||(l=\"x\"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=i(l)?o(l):o(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(s))&&r(t,c[1]))return n||(e.pending+=t[c[1]]),e.pos+=c[0].length,!0;return n||(e.pending+=\"&\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s,l,c,u={},f=t.length;for(n=0;n<f;n++)if((i=t[n]).length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1]),a=u[i.marker][i.length%3],s=-1,r=n-i.jump-1;r>a;r-=o.jump+1)if((o=t[r]).marker===i.marker&&(-1===s&&(s=r),o.open&&o.end<0&&o.level===i.level&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l))){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+c,i.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,\"text\"===i[t].type&&t+1<o&&\"text\"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isWhiteSpace,i=n(12).isPunctChar,o=n(12).isMdAsciiPunct;function a(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=\"\",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}a.prototype.pushPending=function(){var e=new t(\"text\",\"\",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=\"\",e},a.prototype.push=function(e,n,r){this.pending&&this.pushPending();var i=new t(e,n,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},a.prototype.scanDelims=function(e,t){var n,a,s,l,c,u,f,p,d,h=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<g&&this.src.charCodeAt(h)===y;)h++;return s=h-e,a=h<g?this.src.charCodeAt(h):32,f=o(n)||i(String.fromCharCode(n)),d=o(a)||i(String.fromCharCode(a)),u=r(n),(p=r(a))?m=!1:d&&(u||f||(m=!1)),u?v=!1:f&&(p||d||(v=!1)),t?(l=m,c=v):(l=m&&(!v||f),c=v&&(!m||d)),{can_open:l,can_close:c,length:s}},a.prototype.Token=t,e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function r(e){return Object.prototype.toString.call(e)}function i(e){return\"[object Function]\"===r(e)}function o(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={\"http:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp(\"^\\\\/\\\\/\"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,\"i\")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},\"https:\":\"http:\",\"ftp:\":\"http:\",\"//\":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp(\"^\"+n.re.src_auth+\"(?:localhost|(?:(?:\"+n.re.src_domain+\")\\\\.)+\"+n.re.src_domain_root+\")\"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,\"i\")),n.re.no_http.test(r)?t>=3&&\":\"===e[t-3]||t>=3&&\"/\"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},\"mailto:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(\"^\"+n.re.src_email_name+\"@\"+n.re.src_host_strict,\"i\")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444\".split(\"|\");function c(e){var t=e.re=n(160)(e.__opts__),a=e.__tlds__.slice();function s(e){return e.replace(\"%TLDS%\",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push(\"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]\"),a.push(t.src_xn),t.src_tlds=a.join(\"|\"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),\"i\"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),\"i\"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),\"i\"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),\"i\");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema \"'+e+'\": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var o={validate:null,link:null};if(e.__compiled__[t]=o,\"[object Object]\"===r(n))return function(e){return\"[object RegExp]\"===r(e)}(n.validate)?o.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):i(n.validate)?o.validate=n.validate:c(t,n),void(i(n.normalize)?o.normalize=n.normalize:n.normalize?c(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return\"[object String]\"===r(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[\"\"]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"ig\"),e.re.pretest=RegExp(\"(\"+e.re.schema_test.source+\")|(\"+e.re.host_fuzzy_test.source+\")|@\",\"i\"),function(e){e.__index__=-1,e.__text_cache__=\"\"}(e)}function u(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new u(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,n){if(!(this instanceof p))return new p(e,n);var r;n||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(n=e,e={})),this.__opts__=t({},a,n),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=t({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},c(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,c(this),this},p.prototype.set=function(e){return this.__opts__=t(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__[\"http:\"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__=\"\",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__[\"mailto:\"]&&e.indexOf(\"@\")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__=\"mailto:\",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(this),this)},p.prototype.normalize=function(e){e.schema||(e.url=\"http://\"+e.url),\"mailto:\"!==e.schema||/^mailto:/i.test(e.url)||(e.url=\"mailto:\"+e.url)},p.prototype.onCompile=function(){},e.exports=p})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t={};return t.src_Any=n(63).source,t.src_Cc=n(64).source,t.src_Z=n(65).source,t.src_P=n(50).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(\"|\"),t.src_ZCc=[t.src_Z,t.src_Cc].join(\"|\"),t.src_pseudo_letter=\"(?:(?![><\uFF5C]|\"+t.src_ZPCc+\")\"+t.src_Any+\")\",t.src_ip4=\"(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\",t.src_auth=\"(?:(?:(?!\"+t.src_ZCc+\"|[@/\\\\[\\\\]()]).)+@)?\",t.src_port=\"(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?\",t.src_host_terminator=\"(?=$|[><\uFF5C]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><\uFF5C]|[()[\\\\]{}.,\\\"'?!\\\\-]).|\\\\[(?:(?!\"+t.src_ZCc+\"|\\\\]).)*\\\\]|\\\\((?:(?!\"+t.src_ZCc+\"|[)]).)*\\\\)|\\\\{(?:(?!\"+t.src_ZCc+'|[}]).)*\\\\}|\\\\\"(?:(?!'+t.src_ZCc+'|[\"]).)+\\\\\"|\\\\\\'(?:(?!'+t.src_ZCc+\"|[']).)+\\\\'|\\\\'(?=\"+t.src_pseudo_letter+\"|[-]).|\\\\.{2,4}[a-zA-Z0-9%/]|\\\\.(?!\"+t.src_ZCc+\"|[.]).|\"+(e&&e[\"---\"]?\"\\\\-(?!--(?:[^-]|$))(?:-*)|\":\"\\\\-+|\")+\"\\\\,(?!\"+t.src_ZCc+\").|\\\\!(?!\"+t.src_ZCc+\"|[!]).|\\\\?(?!\"+t.src_ZCc+\"|[?]).)+|\\\\/)?\",t.src_email_name='[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*',t.src_xn=\"xn--[a-z0-9\\\\-]{1,59}\",t.src_domain_root=\"(?:\"+t.src_xn+\"|\"+t.src_pseudo_letter+\"{1,63})\",t.src_domain=\"(?:\"+t.src_xn+\"|(?:\"+t.src_pseudo_letter+\")|(?:\"+t.src_pseudo_letter+\"(?:-|\"+t.src_pseudo_letter+\"){0,61}\"+t.src_pseudo_letter+\"))\",t.src_host=\"(?:(?:(?:(?:\"+t.src_domain+\")\\\\.)*\"+t.src_domain+\"))\",t.tpl_host_fuzzy=\"(?:\"+t.src_ip4+\"|(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%)))\",t.tpl_host_no_ip_fuzzy=\"(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%))\",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=\"localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:\"+t.src_ZPCc+\"|>|$))\",t.tpl_email_fuzzy='(^|[><\uFF5C]|\"|\\\\(|'+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(e,r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(){\"use strict\";\n/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o=\"object\"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,c=/^xn--/,u=/[^\\x20-\\x7E]/,f=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},d=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(p[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split(\"@\"),r=\"\";return n.length>1&&(r=n[0]+\"@\",e=n[1]),r+v((e=e.replace(f,\".\")).split(\".\"),t).join(\".\")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t=\"\";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join(\"\")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function O(e){var t,n,r,i,o,a,s,c,u,f,p,h=[],v=e.length,g=0,y=128,T=72;for((n=e.lastIndexOf(\"-\"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m(\"not-basic\"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<v;){for(o=g,a=1,s=36;i>=v&&m(\"invalid-input\"),((c=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>d((l-g)/a))&&m(\"overflow\"),g+=c*a,!(c<(u=s<=T?1:s>=T+26?26:s-T));s+=36)a>d(l/(f=36-u))&&m(\"overflow\"),a*=f;T=E(g-o,t=h.length+1,0==o),d(g/t)>l-y&&m(\"overflow\"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function x(e){var t,n,r,i,o,a,s,c,u,f,p,v,g,b,O,x=[];for(v=(e=y(e)).length,t=128,n=0,o=72,a=0;a<v;++a)(p=e[a])<128&&x.push(h(p));for(r=i=x.length,i&&x.push(\"-\");r<v;){for(s=l,a=0;a<v;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>d((l-n)/(g=r+1))&&m(\"overflow\"),n+=(s-t)*g,t=s,a=0;a<v;++a)if((p=e[a])<t&&++n>l&&m(\"overflow\"),p==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)O=c-f,b=36-f,x.push(h(T(f+O%b,0))),c=d(O/b);x.push(h(T(c,0))),o=E(n,g,r==i),n=0,++r}++n,++t}return x.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:y,encode:b},decode:O,encode:x,toASCII:function(e){return g(e,(function(e){return u.test(e)?\"xn--\"+x(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(a=function(){return s}.call(t,n,t,e))||(e.exports=a)}()},o=[],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(162)(e),n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,\"loaded\",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,\"id\",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"paragraph\"]},inline:{rules:[\"text\"],rules2:[\"balance_pairs\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"blockquote\",\"code\",\"fence\",\"heading\",\"hr\",\"html_block\",\"lheading\",\"list\",\"reference\",\"paragraph\"]},inline:{rules:[\"autolink\",\"backticks\",\"emphasis\",\"entity\",\"escape\",\"html_inline\",\"image\",\"link\",\"newline\",\"text\"],rules2:[\"balance_pairs\",\"emphasis\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.normalizeWhitespace=function(e){return e.replace(n,\" \")},e.invalidCharacters=void 0;const t=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat([\"\\u2028\",\"\\u2029\",\"\u202F\",\"\u00A0\"]);e.invalidCharacters=t;const n=new RegExp(\"[\"+t.join(\"\")+\"]\",\"g\")})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={},n=/[^\\s\\u00a0]/,r=e.Pos,i=e.cmpPos;function o(e){var t=e.search(n);return-1==t?0:t}function a(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension(\"toggleComment\",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o=\"un\":(this.lineComment(s,l,e),o=\"line\"):\"un\"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension(\"lineComment\",(function(e,i,s){s||(s=t);var l=this,c=a(l,e),u=l.getLine(e.line);if(null!=u&&(f=e,p=u,!/\\bstring\\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\\'\\\"\\`]/.test(p))){var f,p,d=s.lineComment||c.lineComment;if(d){var h=Math.min(0!=i.ch||i.line==e.line?i.line+1:i.line,l.lastLine()+1),m=null==s.padding?\" \":s.padding,v=s.commentBlankLines||e.line==i.line;l.operation((function(){if(s.indent){for(var t=null,i=e.line;i<h;++i){var a=(c=l.getLine(i)).slice(0,o(c));(null==t||t.length>a.length)&&(t=a)}for(i=e.line;i<h;++i){var c=l.getLine(i),u=t.length;(v||n.test(c))&&(c.slice(0,u)!=t&&(u=o(c)),l.replaceRange(t+d+m,r(i,0),r(i,u)))}}else for(i=e.line;i<h;++i)(v||n.test(l.getLine(i)))&&l.replaceRange(d+m,r(i,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,i,s))}})),e.defineExtension(\"blockComment\",(function(e,o,s){s||(s=t);var l=this,c=a(l,e),u=s.blockCommentStart||c.blockCommentStart,f=s.blockCommentEnd||c.blockCommentEnd;if(u&&f){if(!/\\bcomment\\b/.test(l.getTokenTypeAt(r(e.line,0)))){var p=Math.min(o.line,l.lastLine());p!=e.line&&0==o.ch&&n.test(l.getLine(p))&&--p;var d=null==s.padding?\" \":s.padding;e.line>p||l.operation((function(){if(0!=s.fullLines){var t=n.test(l.getLine(p));l.replaceRange(d+f,r(p)),l.replaceRange(u+d,r(e.line,0));var a=s.blockCommentLead||c.blockCommentLead;if(null!=a)for(var h=e.line+1;h<=p;++h)(h!=p||t)&&l.replaceRange(a+d,r(h,0))}else{var m=0==i(l.getCursor(\"to\"),o),v=!l.somethingSelected();l.replaceRange(f,o),m&&l.setSelection(v?o:l.getCursor(\"from\"),o),l.replaceRange(u,e)}}))}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&l.lineComment(e,o,s)})),e.defineExtension(\"uncomment\",(function(e,i,o){o||(o=t);var s,l=this,c=a(l,e),u=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,u),p=o.lineComment||c.lineComment,d=[],h=null==o.padding?\" \":o.padding;e:if(p){for(var m=f;m<=u;++m){var v=l.getLine(m),g=v.indexOf(p);if(g>-1&&!/comment/.test(l.getTokenTypeAt(r(m,g+1)))&&(g=-1),-1==g&&n.test(v))break e;if(g>-1&&n.test(v.slice(0,g)))break e;d.push(v)}if(l.operation((function(){for(var e=f;e<=u;++e){var t=d[e-f],n=t.indexOf(p),i=n+p.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange(\"\",r(e,n),r(e,i)))}})),s)return!0}var y=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var T=o.blockCommentLead||c.blockCommentLead,E=l.getLine(f),O=E.indexOf(y);if(-1==O)return!1;var x=u==f?E:l.getLine(u),_=x.indexOf(b,u==f?O+y.length:0),k=r(f,O+1),w=r(u,_+1);if(-1==_||!/comment/.test(l.getTokenTypeAt(k))||!/comment/.test(l.getTokenTypeAt(w))||l.getRange(k,w,\"\\n\").indexOf(b)>-1)return!1;var C=E.lastIndexOf(y,e.ch),S=-1==C?-1:E.slice(0,e.ch).indexOf(b,C+y.length);if(-1!=C&&-1!=S&&S+b.length!=e.ch)return!1;S=x.indexOf(b,i.ch);var N=x.slice(i.ch).lastIndexOf(y,S-i.ch);return C=-1==S||-1==N?-1:i.ch+N,(-1==S||-1==C||C==i.ch)&&(l.operation((function(){l.replaceRange(\"\",r(u,_-(h&&x.slice(_-h.length,_)==h?h.length:0)),r(u,_+b.length));var e=O+y.length;if(h&&E.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange(\"\",r(f,O),r(f,e)),T)for(var t=f+1;t<=u;++t){var i=l.getLine(t),o=i.indexOf(T);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+T.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange(\"\",r(t,o),r(t,a))}}})),!0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,i,o){if(i&&i.call){var a=i;i=null}else a=r(t,i,\"rangeFinder\");\"number\"==typeof n&&(n=e.Pos(n,0));var s=r(t,i,\"minFoldSize\");function l(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;for(var i=t.findMarksAt(r.from),l=0;l<i.length;++l)if(i[l].__isFold&&\"fold\"!==o){if(!e)return null;r.cleared=!0,i[l].clear()}return r}var c=l(!0);if(r(t,i,\"scanUp\"))for(;!c&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),c=l(!1);if(c&&!c.cleared&&\"unfold\"!==o){var u=function(e,t,n){var i=r(e,t,\"widget\");if(\"function\"==typeof i&&(i=i(n.from,n.to)),\"string\"==typeof i){var o=document.createTextNode(i);(i=document.createElement(\"span\")).appendChild(o),i.className=\"CodeMirror-foldmarker\"}else i&&(i=i.cloneNode(!0));return i}(t,i,c);e.on(u,\"mousedown\",(function(t){f.clear(),e.e_preventDefault(t)}));var f=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:r(t,i,\"clearOnEnter\"),__isFold:!0});f.on(\"clear\",(function(n,r){e.signal(t,\"unfold\",t,n,r)})),e.signal(t,\"fold\",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,i){t(r,i,{rangeFinder:e,widget:n})}},e.defineExtension(\"foldCode\",(function(e,n,r){t(this,e,n,r)})),e.defineExtension(\"isFolded\",(function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,\"fold\")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),null,\"unfold\")},e.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"fold\")}))},e.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"unfold\")}))},e.registerHelper(\"fold\",\"combine\",(function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}})),e.registerHelper(\"fold\",\"auto\",(function(e,t){for(var n=e.getHelpers(t,\"fold\"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}}));var n={rangeFinder:e.fold.auto,widget:\"\u2194\",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,t,r){if(t&&void 0!==t[r])return t[r];var i=e.options.foldOptions;return i&&void 0!==i[r]?i[r]:n[r]}e.defineOption(\"foldOptions\",null),e.defineExtension(\"foldOption\",(function(e,t){return r(this,e,t)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70),i=n(14);function o(e,t,n){const o=\"Invalid\"===n.state.kind?n.state.prevState:n.state;if(!o)return[];const a=o.kind,s=o.step,l=(0,r.getTypeInfo)(e,n.state);if(\"Document\"===a)return(0,r.hintList)(n,[{label:\"query\"},{label:\"mutation\"},{label:\"subscription\"},{label:\"fragment\"},{label:\"{\"}]);if(\"SelectionSet\"===a||\"Field\"===a||\"AliasedField\"===a)return function(e,t,n){if(t.parentType){const o=t.parentType,a=(0,i.isObjectType)(o)||(0,i.isInterfaceType)(o)?(0,r.objectValues)(o.getFields()):[];return(0,i.isCompositeType)(o)&&a.push(i.TypeNameMetaFieldDef),o===n.getQueryType()&&a.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),(0,r.hintList)(e,a.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return[]}(n,l,e);if(\"Arguments\"===a||\"Argument\"===a&&0===s){const e=l.argDefs;if(e)return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}if((\"ObjectValue\"===a||\"ObjectField\"===a&&0===s)&&l.objectFieldDefs){const e=(0,r.objectValues)(l.objectFieldDefs);return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}return\"EnumValue\"===a||\"ListValue\"===a&&1===s||\"ObjectField\"===a&&2===s||\"Argument\"===a&&2===s?function(e,t){const n=(0,i.getNamedType)(t.inputType);if(n instanceof i.GraphQLEnumType){const t=n.getValues();return(0,r.hintList)(e,t.map(e=>{var t;return{label:e.name,type:n,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return n===i.GraphQLBoolean?(0,r.hintList)(e,[{label:\"true\",type:i.GraphQLBoolean,documentation:\"Not false.\"},{label:\"false\",type:i.GraphQLBoolean,documentation:\"Not true.\"}]):[]}(n,l):\"TypeCondition\"===a&&1===s||\"NamedType\"===a&&null!=o.prevState&&\"TypeCondition\"===o.prevState.kind?function(e,t,n){let o;if(t.parentType)if((0,i.isAbstractType)(t.parentType)){const e=(0,i.assertAbstractType)(t.parentType),a=n.getPossibleTypes(e),s=Object.create(null);a.forEach(e=>{e.getInterfaces().forEach(e=>{s[e.name]=e})}),o=a.concat((0,r.objectValues)(s))}else o=[t.parentType];else{const e=n.getTypeMap();o=(0,r.objectValues)(e).filter(i.isCompositeType)}return(0,r.hintList)(e,o.map(e=>{const t=(0,i.getNamedType)(e);return{label:String(e),documentation:t&&t.description||\"\"}}))}(n,l,e):\"FragmentSpread\"===a&&1===s?function(e,t,n,o){const a=n.getTypeMap(),s=(0,r.getDefinitionState)(e.state),l=(0,r.getFragmentDefinitions)(o).filter(e=>a[e.typeCondition.name.value]&&!(s&&\"FragmentDefinition\"===s.kind&&s.name===e.name.value)&&(0,i.isCompositeType)(t.parentType)&&(0,i.isCompositeType)(a[e.typeCondition.name.value])&&(0,i.doTypesOverlap)(n,t.parentType,a[e.typeCondition.name.value]));return(0,r.hintList)(e,l.map(e=>({label:e.name.value,type:a[e.typeCondition.name.value],documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`})))}(n,l,e,t):\"VariableDefinition\"===a&&2===s||\"ListType\"===a&&1===s||\"NamedType\"===a&&o.prevState&&(\"VariableDefinition\"===o.prevState.kind||\"ListType\"===o.prevState.kind)?function(e,t){const n=t.getTypeMap(),o=(0,r.objectValues)(n).filter(i.isInputType);return(0,r.hintList)(e,o.map(e=>({label:e.name,documentation:e.description})))}(n,e):\"Directive\"===a?function(e,t,n){if(t.prevState&&t.prevState.kind){const i=n.getDirectives().filter(e=>(0,r.canUseDirective)(t.prevState,e));return(0,r.hintList)(e,i.map(e=>({label:e.name,documentation:e.description||\"\"})))}return[]}(n,o,e):[]}t.default.registerHelper(\"hint\",\"graphql\",(e,n)=>{const r=n.schema;if(!r)return;const i=e.getCursor(),a=e.getTokenAt(i),s=o(r,e.getValue(),a),l=null!==a.type&&/\"|\\w/.test(a.string[0])?a.start:a.end,c={list:s.map(e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})),from:{line:i.line,column:l},to:{line:i.line,column:a.end}};return c&&c.list&&c.list.length>0&&(c.from=t.default.Pos(c.from.line,c.from.column),c.to=t.default.Pos(c.to.line,c.to.column),t.default.signal(e,\"hasCompletion\",e,c,a)),c})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;return\"string\"==typeof e?(i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e):e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]),!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0===e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(73)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e={eatWhitespace:e=>e.eatWhile(t.isIgnored),lexRules:t.LexRules,parseRules:t.ParseRules,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return i(e.parseRules,t,\"Document\"),t},token:(t,s)=>function(e,t,s){const{lexRules:c,parseRules:u,eatWhitespace:f,editorConfig:p}=s;if(t.rule&&0===t.rule.length?o(t):t.needsAdvance&&(t.needsAdvance=!1,a(t,!0)),e.sol()){const n=p&&p.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(f(e))return\"ws\";const d=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(c,e);if(!d)return e.match(/\\S+/)||e.match(/\\s/),i(r,t,\"Invalid\"),\"invalidchar\";if(\"Comment\"===d.kind)return i(r,t,\"Comment\"),\"comment\";const h=n({},t);if(\"Punctuation\"===d.kind)if(/^[{([]/.test(d.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\\]]/.test(d.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(d,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&n.separator),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){i(u,t,n);continue}if(n.match&&n.match(d))return n.update&&n.update(t,d),\"Punctuation\"===d.kind?a(t,!0):t.needsAdvance=!0,n.style}l(t)}return n(t,h),i(r,t,\"Invalid\"),\"invalidchar\"}(t,s,e)}};const r={Invalid:[],Comment:[]};function i(e,t,n){if(!e[n])throw new TypeError(\"Unknown rule: \"+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function o(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function a(e,t){if(s(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)o(e),e.rule&&(s(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function s(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function l(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)o(e);e.rule&&a(e,!1)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.RuleKinds=e.AdditionalRuleKinds=void 0;const n={ALIASED_FIELD:\"AliasedField\",ARGUMENTS:\"Arguments\",SHORT_QUERY:\"ShortQuery\",QUERY:\"Query\",MUTATION:\"Mutation\",SUBSCRIPTION:\"Subscription\",TYPE_CONDITION:\"TypeCondition\",INVALID:\"Invalid\",COMMENT:\"Comment\",SCHEMA_DEF:\"SchemaDef\",SCALAR_DEF:\"ScalarDef\",OBJECT_TYPE_DEF:\"ObjectTypeDef\",OBJECT_VALUE:\"ObjectValue\",LIST_VALUE:\"ListValue\",INTERFACE_DEF:\"InterfaceDef\",UNION_DEF:\"UnionDef\",ENUM_DEF:\"EnumDef\",ENUM_VALUE:\"EnumValue\",FIELD_DEF:\"FieldDef\",INPUT_DEF:\"InputDef\",INPUT_VALUE_DEF:\"InputValueDef\",ARGUMENTS_DEF:\"ArgumentsDef\",EXTEND_DEF:\"ExtendDef\",DIRECTIVE_DEF:\"DirectiveDef\"};e.AdditionalRuleKinds=n;const r=Object.assign(Object.assign({},t.Kind),n);e.RuleKinds=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getASTNodeAtPosition=function(e,r,i){const o=n(e,i);let a;return(0,t.visit)(r,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=o&&o<=e.loc.end))return!1;a=e},leave(e){if(e.loc&&e.loc.start<=o&&o<=e.loc.end)return!1}}),a},e.pointToOffset=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.offsetToPosition=r,e.locToRange=function(e,n){const i=r(e,n.start),o=r(e,n.end);return new t(i,o)},e.Position=e.Range=void 0;class t{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new n(e,t)}setEnd(e,t){this.end=new n(e,t)}}e.Range=t;class n{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function r(e,t){const r=e.slice(0,t),i=r.split(\"\\n\").length-1,o=r.lastIndexOf(\"\\n\");return new n(i,t-o-1)}e.Position=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(176)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.validateWithCustomRules=function(e,r,i,o){const a=t.specifiedRules.filter(e=>e!==t.NoUnusedFragmentsRule&&e!==n.ExecutableDefinitions&&(!o||e!==t.KnownFragmentNamesRule));return i&&Array.prototype.push.apply(a,i),(0,t.validate)(e,r,a).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const n=e.nodes[0];if(n&&n.kind===t.Kind.DIRECTIVE){const e=n.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.r(t);var r=n(47);n.d(t,\"ExecutableDefinitions\",(function(){return r.a}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\n/*\n  object-assign\n  (c) Sindre Sorhus\n  @license MIT\n  */\n\"use strict\";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var f=0;f<s.length;f++)r.call(a,s[f])&&(l[s[f]]=a[s[f]])}}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var e=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(\" \")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if(\"%%\"===e)return\"%\";if(n>=o)return e;switch(e){case\"%s\":return String(r[n++]);case\"%d\":return Number(r[n++]);case\"%j\":try{return JSON.stringify(r[n++])}catch(e){return\"[Circular]\"}default:return e}})),l=r[n];n<o;l=r[++n])m(l)||!T(l)?a+=\" \"+l:a+=\" \"+s(l);return a},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),u(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?\"\u001B[\"+s.colors[n][0]+\"m\"+e+\"\u001B[\"+s.colors[n][1]+\"m\":e}function c(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=u(e,i,r)),i}var o=function(e,t){if(y(t))return e.stylize(\"undefined\",\"undefined\");if(g(t)){var n=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(n,\"string\")}return v(t)?e.stylize(\"\"+t,\"number\"):h(t)?e.stylize(\"\"+t,\"boolean\"):m(t)?e.stylize(\"null\",\"null\"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf(\"message\")>=0||a.indexOf(\"description\")>=0))return f(n);if(0===a.length){if(x(n)){var l=n.name?\": \"+n.name:\"\";return e.stylize(\"[Function\"+l+\"]\",\"special\")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),\"regexp\");if(E(n))return e.stylize(Date.prototype.toString.call(n),\"date\");if(O(n))return f(n)}var c,T=\"\",_=!1,k=[\"{\",\"}\"];return d(n)&&(_=!0,k=[\"[\",\"]\"]),x(n)&&(T=\" [Function\"+(n.name?\": \"+n.name:\"\")+\"]\"),b(n)&&(T=\" \"+RegExp.prototype.toString.call(n)),E(n)&&(T=\" \"+Date.prototype.toUTCString.call(n)),O(n)&&(T=\" \"+f(n)),0!==a.length||_&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(n),c=_?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)S(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push(\"\");return i.forEach((function(i){i.match(/^\\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,_)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf(\"\\n\"),e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1}),0)>60?n[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n  \")+\" \"+n[1]:n[0]+t+\" \"+e.join(\", \")+\" \"+n[1]}(c,T,k)):k[0]+T+k[1]}function f(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):l.set&&(s=e.stylize(\"[Setter]\",\"special\")),S(r,i)||(a=\"[\"+i+\"]\"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf(\"\\n\")>-1&&(s=o?s.split(\"\\n\").map((function(e){return\"  \"+e})).join(\"\\n\").substr(2):\"\\n\"+s.split(\"\\n\").map((function(e){return\"   \"+e})).join(\"\\n\")):s=e.stylize(\"[Circular]\",\"special\")),y(a)){if(o&&i.match(/^\\d+$/))return s;(a=JSON.stringify(\"\"+i)).match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,\"name\")):(a=a.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),a=e.stylize(a,\"string\"))}return a+\": \"+s}function d(e){return Array.isArray(e)}function h(e){return\"boolean\"==typeof e}function m(e){return null===e}function v(e){return\"number\"==typeof e}function g(e){return\"string\"==typeof e}function y(e){return void 0===e}function b(e){return T(e)&&\"[object RegExp]\"===_(e)}function T(e){return\"object\"==typeof e&&null!==e}function E(e){return T(e)&&\"[object Date]\"===_(e)}function O(e){return T(e)&&(\"[object Error]\"===_(e)||e instanceof Error)}function x(e){return\"function\"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?\"0\"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(o)&&(o=r.env.NODE_DEBUG||\"\"),e=e.toUpperCase(),!a[e])if(new RegExp(\"\\\\b\"+e+\"\\\\b\",\"i\").test(o)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error(\"%s %d: %s\",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return\"symbol\"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=T,t.isDate=E,t.isError=O,t.isFunction=x,t.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},t.isBuffer=n(180);var w=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function C(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(\":\");return[e.getDate(),w[e.getMonth()],t].join(\" \")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log(\"%s - %s\",C(),t.format.apply(t,arguments))},t.inherits=n(181),t._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N=\"undefined\"!=typeof Symbol?Symbol(\"util.promisify.custom\"):void 0;function D(e,t){if(!e){var n=new Error(\"Promise was rejected with a falsy value\");n.reason=e,e=n}return t(e)}t.promisify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');if(N&&t[N]){var n;if(\"function\"!=typeof(n=t[N]))throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),N&&Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,e(t))},t.promisify.custom=N,t.callbackify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');function n(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var i=e.pop();if(\"function\"!=typeof i)throw new TypeError(\"The last argument must be of type Function\");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(e){r.nextTick(a,null,e)}),(function(e){r.nextTick(D,e,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,e(t)),n}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(179))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t,n,r=e.exports={};function i(){throw new Error(\"setTimeout has not been defined\")}function o(){throw new Error(\"clearTimeout has not been defined\")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t=\"function\"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n=\"function\"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function f(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title=\"browser\",r.browser=!0,r.env={},r.argv=[],r.version=\"\",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error(\"process.binding is not supported\")},r.cwd=function(){return\"/\"},r.chdir=function(e){throw new Error(\"process.chdir is not supported\")},r.umask=function(){return 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";\"function\"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(57),n(79),n(77),n(75),n(78),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphQLLanguageService=void 0;var c=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{FRAGMENT_DEFINITION:u,OBJECT_TYPE_DEFINITION:f,INTERFACE_TYPE_DEFINITION:p,ENUM_TYPE_DEFINITION:d,UNION_TYPE_DEFINITION:h,SCALAR_TYPE_DEFINITION:m,INPUT_OBJECT_TYPE_DEFINITION:v,SCALAR_TYPE_EXTENSION:g,OBJECT_TYPE_EXTENSION:y,INTERFACE_TYPE_EXTENSION:b,UNION_TYPE_EXTENSION:T,ENUM_TYPE_EXTENSION:E,INPUT_OBJECT_TYPE_EXTENSION:O,DIRECTIVE_DEFINITION:x,FRAGMENT_SPREAD:_,OPERATION_DEFINITION:k,NAMED_TYPE:w}=n.Kind,C={[n.Kind.FIELD]:t.SymbolKind.Field,[n.Kind.OPERATION_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_SPREAD]:t.SymbolKind.Struct,[n.Kind.OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.ENUM_TYPE_DEFINITION]:t.SymbolKind.Enum,[n.Kind.ENUM_VALUE_DEFINITION]:t.SymbolKind.EnumMember,[n.Kind.INPUT_OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.INPUT_VALUE_DEFINITION]:t.SymbolKind.Field,[n.Kind.FIELD_DEFINITION]:t.SymbolKind.Field,[n.Kind.INTERFACE_TYPE_DEFINITION]:t.SymbolKind.Interface,[n.Kind.DOCUMENT]:t.SymbolKind.File,FieldWithArguments:t.SymbolKind.Method};function S(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?C.FieldWithArguments:C[e.kind]}e.GraphQLLanguageService=class{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \"+e)}getDiagnostics(e,t,r){return c(this,void 0,void 0,(function*(){let i=!1;const a=this.getConfigForURI(t);if(!a)return[];const{schema:s,name:l,extensions:c}=a;try{const r=(0,n.parse)(e);s&&t===s||(i=r.definitions.some(e=>{switch(e.kind){case f:case p:case d:case h:case m:case v:case g:case y:case b:case T:case E:case O:case x:return!0}return!1}))}catch(t){const n=(0,o.getRange)(t.locations[0],e);return[{severity:o.DIAGNOSTIC_SEVERITY.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}let u=e;const _=yield this._graphQLCache.getFragmentDefinitions(a);u=`${u} ${(yield this._graphQLCache.getFragmentDependencies(e,_)).reduce((e,t)=>`${e} ${(0,n.print)(t.definition)}`,\"\")}`;let k=null;try{k=(0,n.parse)(u)}catch(e){return[]}let w=null;(null==c?void 0:c.customValidationRules)&&\"function\"==typeof c.customValidationRules&&(w=c.customValidationRules(this._graphQLConfig));const C=yield this._graphQLCache.getSchema(l,i);return C?(0,o.validateQuery)(k,C,w,r):[]}))}getAutocompleteSuggestions(e,t,n){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(i.name),a=yield this._graphQLCache.getFragmentDefinitions(i),s=Array.from(a).map(([,e])=>e);return o?(0,r.getAutocompleteSuggestions)(o,e,t,void 0,s.map(({definition:e})=>e)):[]}))}getHoverInformation(e,t,n){return c(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(r.name);return o?(0,i.getHoverInformation)(o,e,t):\"\"}))}getDefinition(e,t,r){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(r);let o;try{o=(0,n.parse)(e)}catch(e){return null}const s=(0,l.getASTNodeAtPosition)(e,o,t);if(s)switch(s.kind){case _:return this._getDefinitionForFragmentSpread(e,o,s,r,i);case u:case k:return(0,a.getDefinitionQueryResultForDefinitionNode)(r,e,s);case w:return this._getDefinitionForNamedType(e,o,s,r,i)}return null}))}getDocumentSymbols(e,t){return c(this,void 0,void 0,(function*(){const n=yield this.getOutline(e);if(!n)return[];const r=[],i=n.outlineTrees.map(e=>[null,e]);for(;i.length>0;){const e=i.pop();if(!e)return[];const[n,o]=e;if(!o)return[];r.push({name:o.representativeName,kind:S(o),location:{uri:t,range:{start:o.startPosition,end:o.endPosition}},containerName:n?n.representativeName:void 0}),i.push(...o.children.map(e=>[o,e]))}return r}))}_getDefinitionForNamedType(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getObjectTypeDefinitions(i),s=yield this._graphQLCache.getObjectTypeDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===f||e.kind===v||e.kind===d||e.kind===m||e.kind===p).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForNamedType)(e,n,s.concat(l))}))}_getDefinitionForFragmentSpread(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getFragmentDefinitions(i),s=yield this._graphQLCache.getFragmentDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===u).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForFragmentSpread)(e,n,s.concat(l))}))}getOutline(e){return c(this,void 0,void 0,(function*(){return(0,s.getOutline)(e)}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70);const i=[\"error\",\"warning\",\"information\",\"hint\"],o={\"GraphQL: Validation\":\"validation\",\"GraphQL: Deprecation\":\"deprecation\",\"GraphQL: Syntax\":\"syntax\"};t.default.registerHelper(\"lint\",\"graphql\",(e,n)=>{const a=n.schema;return(0,r.getDiagnostics)(e,a).map(e=>({message:e.message,severity:i[e.severity-1],type:o[e.source],from:t.default.Pos(e.range.start.line,e.range.start.character),to:t.default.Pos(e.range.end.line,e.range.end.character)}))})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=n(14),t=o(n(10)),r=o(n(80)),i=n(82);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(c(e,t,n,t.parentType),f(e,\".\")),f(e,r,\"field-name\",n,(0,i.getFieldReference)(t))}function s(e,t,n){f(e,\"@\"+t.directiveDef.name,\"directive-name\",n,(0,i.getDirectiveReference)(t))}function l(e,t,n,r){f(e,\": \"),c(e,t,n,r)}function c(t,n,r,o){o instanceof e.GraphQLNonNull?(c(t,n,r,o.ofType),f(t,\"!\")):o instanceof e.GraphQLList?(f(t,\"[\"),c(t,n,r,o.ofType),f(t,\"]\")):f(t,o.name,\"type-name\",r,(0,i.getTypeReference)(n,o))}function u(e,t,n){const r=n.description;if(r){const n=document.createElement(\"div\");n.className=\"info-description\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r)),e.appendChild(n)}!function(e,t,n){const r=n.deprecationReason;if(r){const n=document.createElement(\"div\");n.className=\"info-deprecation\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r));const i=document.createElement(\"span\");i.className=\"info-deprecation-label\",i.appendChild(document.createTextNode(\"Deprecated: \")),n.insertBefore(i,n.firstChild),e.appendChild(n)}}(e,t,n)}function f(e,t,n,r={onClick:null},i){if(n){const o=r.onClick;let a;o?(a=document.createElement(\"a\"),a.href=\"javascript:void 0\",a.addEventListener(\"click\",e=>{o(i,e)})):a=document.createElement(\"span\"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n(83),t.default.registerHelper(\"info\",\"graphql\",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,o=n.kind,p=n.step,d=(0,r.default)(t.schema,e.state);if(\"Field\"===o&&0===p&&d.fieldDef||\"AliasedField\"===o&&2===p&&d.fieldDef){const e=document.createElement(\"div\");return function(e,t,n){a(e,t,n),l(e,t,n,t.type)}(e,d,t),u(e,t,d.fieldDef),e}if(\"Directive\"===o&&1===p&&d.directiveDef){const e=document.createElement(\"div\");return s(e,d,t),u(e,t,d.directiveDef),e}if(\"Argument\"===o&&0===p&&d.argDef){const e=document.createElement(\"div\");return function(e,t,n){t.directiveDef?s(e,t,n):t.fieldDef&&a(e,t,n);const r=t.argDef.name;f(e,\"(\"),f(e,r,\"arg-name\",n,(0,i.getArgumentReference)(t)),l(e,t,n,t.inputType),f(e,\")\")}(e,d,t),u(e,t,d.argDef),e}if(\"EnumValue\"===o&&d.enumValue&&d.enumValue.description){const e=document.createElement(\"div\");return function(e,t,n){const r=t.enumValue.name;c(e,t,n,t.inputType),f(e,\".\"),f(e,r,\"enum-value\",n,(0,i.getEnumValueReference)(t))}(e,d,t),u(e,t,d.enumValue),e}if(\"NamedType\"===o&&d.type&&d.type.description){const e=document.createElement(\"div\");return c(e,d,t,d.type),u(e,t,d.type),e}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=i(n(80)),r=n(82);function i(e){return e&&e.__esModule?e:{default:e}}n(186),e.default.registerHelper(\"jump\",\"graphql\",(e,n)=>{if(!n.schema||!n.onClick||!e.state)return;const i=e.state,o=i.kind,a=i.step,s=(0,t.default)(n.schema,i);return\"Field\"===o&&0===a&&s.fieldDef||\"AliasedField\"===o&&2===a&&s.fieldDef?(0,r.getFieldReference)(s):\"Directive\"===o&&1===a&&s.directiveDef?(0,r.getDirectiveReference)(s):\"Argument\"===o&&0===a&&s.argDef?(0,r.getArgumentReference)(s):\"EnumValue\"===o&&s.enumValue?(0,r.getEnumValueReference)(s):\"NamedType\"===o&&s.type?(0,r.getTypeReference)(s):void 0})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,t){const n=t.target||t.srcElement;if(\"SPAN\"!==n.nodeName)return;const r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&s(e)}function i(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&l(e):e.state.jump.cursor=null}function o(e,n){if(e.state.jump.isHoldingModifier||n.key!==(a?\"Meta\":\"Control\"))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&s(e);const r=a=>{a.code===n.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&l(e),t.default.off(document,\"keyup\",r),t.default.off(document,\"click\",i),e.off(\"mousedown\",o))},i=t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=(t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)};t.default.on(document,\"keyup\",r),t.default.on(document,\"click\",i),e.on(\"mousedown\",o)}t.default.defineOption(\"jump\",!1,(e,n,a)=>{if(a&&a!==t.default.Init){const n=e.state.jump.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n);const r=e.state.jump.onMouseOut;t.default.off(e.getWrapperElement(),\"mouseout\",r),t.default.off(document,\"keydown\",e.state.jump.onKeyDown),delete e.state.jump}if(n){const a=e.state.jump={options:n,onMouseOver:r.bind(null,e),onMouseOut:i.bind(null,e),onKeyDown:o.bind(null,e)};t.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver),t.default.on(e.getWrapperElement(),\"mouseout\",a.onMouseOut),t.default.on(document,\"keydown\",a.onKeyDown)}});const a=\"undefined\"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf(\"Mac\");function s(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,\"jump\");if(o){const t=o(r,i,e);if(t){const i=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:\"CodeMirror-jump-token\"});e.state.jump.marker=i,e.state.jump.destination=t}}}function l(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatWhile(r.isIgnored),lexRules:r.LexRules,parseRules:r.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[})\\]]/,fold:\"brace\",lineComment:\"#\",closeBrackets:{pairs:'()[]{}\"\"',explode:\"()[]{}\"}}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.VariableEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(45),n(189),n(191),n(193);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.VariableEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=o(n(10)),t=n(14),r=o(n(81)),i=o(n(190));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,n,o){const a=\"Invalid\"===n.state.kind?n.state.prevState:n.state,s=a.kind,l=a.step;if(\"Document\"===s&&0===l)return(0,i.default)(e,n,[{text:\"{\"}]);const c=o.variableToType;if(!c)return;const u=function(e,n){const i={type:null,fields:null};return(0,r.default)(n,n=>{if(\"Variable\"===n.kind)i.type=e[n.name];else if(\"ListValue\"===n.kind){const e=(0,t.getNullableType)(i.type);i.type=e instanceof t.GraphQLList?e.ofType:null}else if(\"ObjectValue\"===n.kind){const e=(0,t.getNamedType)(i.type);i.fields=e instanceof t.GraphQLInputObjectType?e.getFields():null}else if(\"ObjectField\"===n.kind){const e=n.name&&i.fields?i.fields[n.name]:null;i.type=e&&e.type}}),i}(c,n.state);if(\"Document\"===s||\"Variable\"===s&&0===l){const t=Object.keys(c);return(0,i.default)(e,n,t.map(e=>({text:`\"${e}\": `,type:c[e]})))}if((\"ObjectValue\"===s||\"ObjectField\"===s&&0===l)&&u.fields){const t=Object.keys(u.fields).map(e=>u.fields[e]);return(0,i.default)(e,n,t.map(e=>({text:`\"${e.name}\": `,type:e.type,description:e.description})))}if(\"StringValue\"===s||\"NumberValue\"===s||\"BooleanValue\"===s||\"NullValue\"===s||\"ListValue\"===s&&1===l||\"ObjectField\"===s&&2===l||\"Variable\"===s&&2===l){const r=(0,t.getNamedType)(u.type);if(r instanceof t.GraphQLInputObjectType)return(0,i.default)(e,n,[{text:\"{\"}]);if(r instanceof t.GraphQLEnumType){const t=r.getValues(),o=Object.keys(t).map(e=>t[e]);return(0,i.default)(e,n,o.map(e=>({text:`\"${e.name}\"`,type:r,description:e.description})))}if(r===t.GraphQLBoolean)return(0,i.default)(e,n,[{text:\"true\",type:t.GraphQLBoolean,description:\"Not false.\"},{text:\"false\",type:t.GraphQLBoolean,description:\"Not true.\"}])}}e.default.registerHelper(\"hint\",\"graphql-variables\",(t,n)=>{const r=t.getCursor(),i=t.getTokenAt(r),o=a(r,i,n);return o&&o.list&&o.list.length>0&&(o.from=e.default.Pos(o.from.line,o.from.column),o.to=e.default.Pos(o.to.line,o.to.column),e.default.signal(t,\"hasCompletion\",t,o,i)),o})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function e(e,t){const n=e.filter(t);return 0===n.length?e:n}function n(e){return e.toLowerCase().replace(/\\W/g,\"\")}function r(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t,i,o){const a=function(t,i){if(!i)return e(t,e=>!e.isDeprecated);const o=e(e(t.map(e=>({proximity:r(n(e.text),i),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated);return o.sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length).map(e=>e.entry)}(o,n(i.string));if(!a)return;const s=null!==i.type&&/\"|\\w/.test(i.string[0])?i.start:i.end;return{list:a,from:{line:t.line,column:s},to:{line:t.line,column:i.end}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=n(14),r=i(n(192));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,n,r){const i=[];return r.members.forEach(r=>{const o=r.key.value,l=n[o];l?function e(n,r){if(n instanceof t.GraphQLNonNull)return\"Null\"===r.kind?[[r,`Type \"${n}\" is non-nullable and cannot be null.`]]:e(n.ofType,r);if(\"Null\"===r.kind)return[];if(n instanceof t.GraphQLList){const t=n.ofType;return\"Array\"===r.kind?s(r.values,n=>e(t,n)):e(t,r)}if(n instanceof t.GraphQLInputObjectType){if(\"Object\"!==r.kind)return[[r,`Type \"${n}\" must be an Object.`]];const i=Object.create(null),o=s(r.members,t=>{const r=t.key.value;i[r]=!0;const o=n.getFields()[r];if(!o)return[[t.key,`Type \"${n}\" does not have a field \"${r}\".`]];const a=o?o.type:void 0;return e(a,t.value)});return Object.keys(n.getFields()).forEach(e=>{i[e]||n.getFields()[e].type instanceof t.GraphQLNonNull&&o.push([r,`Object of type \"${n}\" is missing required field \"${e}\".`])}),o}return\"Boolean\"===n.name&&\"Boolean\"!==r.kind||\"String\"===n.name&&\"String\"!==r.kind||\"ID\"===n.name&&\"Number\"!==r.kind&&\"String\"!==r.kind||\"Float\"===n.name&&\"Number\"!==r.kind||\"Int\"===n.name&&(\"Number\"!==r.kind||(0|r.value)!==r.value)||(n instanceof t.GraphQLEnumType||n instanceof t.GraphQLScalarType)&&(\"String\"!==r.kind&&\"Number\"!==r.kind&&\"Boolean\"!==r.kind&&\"Null\"!==r.kind||null==(i=n.parseValue(r.value))||i!=i)?[[r,`Expected value of type \"${n}\".`]]:[];var i}(l,r.value).forEach(([t,n])=>{i.push(a(e,t,n))}):i.push(a(e,r.key,`Variable \"$${o}\" does not appear in any GraphQL query.`))}),i}function a(e,t,n){return{message:n,severity:\"error\",type:\"validation\",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function s(e,t){return Array.prototype.concat.apply([],e.map(t))}e.default.registerHelper(\"lint\",\"graphql-variables\",(e,t,n)=>{if(!e)return[];let i;try{i=(0,r.default)(e)}catch(e){if(e.stack)throw e;return[a(n,e,e.message)]}const s=t.variableToType;return s?o(n,s,i):[]})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";let e,n,r,i,o,a,s;function l(){const e=r,t=[];if(p(\"{\"),!h(\"}\")){do{t.push(c())}while(h(\",\"));p(\"}\")}return{kind:\"Object\",start:e,end:o,members:t}}function c(){const e=r,t=\"String\"===s?f():null;p(\"String\"),p(\":\");const n=u();return{kind:\"Member\",start:e,end:o,key:t,value:n}}function u(){switch(s){case\"[\":return function(){const e=r,t=[];if(p(\"[\"),!h(\"]\")){do{t.push(u())}while(h(\",\"));p(\"]\")}return{kind:\"Array\",start:e,end:o,values:t}}();case\"{\":return l();case\"String\":case\"Number\":case\"Boolean\":case\"Null\":const e=f();return v(),e}return p(\"Value\")}function f(){return{kind:s,start:r,end:i,value:JSON.parse(e.slice(r,i))}}function p(t){if(s===t)return void v();let n;if(\"EOF\"===s)n=\"[end of file]\";else if(i-r>1)n=\"`\"+e.slice(r,i)+\"`\";else{const t=e.slice(r).match(/^.+?\\b/);n=\"`\"+(t?t[0]:e[r])+\"`\"}throw d(`Expected ${t} but found ${n}.`)}function d(e){return{message:e,start:r,end:i}}function h(e){if(s===e)return v(),!0}function m(){i<n&&(i++,a=i===n?0:e.charCodeAt(i))}function v(){for(o=i;9===a||10===a||13===a||32===a;)m();if(0!==a){switch(r=i,a){case 34:return s=\"String\",function(){for(m();34!==a&&a>31;)if(92===a)switch(m(),a){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:m();break;case 117:m(),g(),g(),g(),g();break;default:throw d(\"Bad character escape sequence.\")}else{if(i===n)throw d(\"Unterminated string.\");m()}if(34!==a)throw d(\"Unterminated string.\");m()}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s=\"Number\",45===a&&m(),48===a?m():y(),46===a&&(m(),y()),void(69!==a&&101!==a||(m(),43!==a&&45!==a||m(),y()));case 102:if(\"false\"!==e.slice(r,r+5))break;return i+=4,m(),void(s=\"Boolean\");case 110:if(\"null\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Null\");case 116:if(\"true\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Boolean\")}s=e[r],m()}else s=\"EOF\"}function g(){if(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)return m();throw d(\"Expected hexadecimal digit.\")}function y(){if(a<48||a>57)throw d(\"Expected decimal digit.\");do{m()}while(a>=48&&a<=57)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t){e=t,n=t.length,r=i=o=-1,m(),v();const a=l();return p(\"EOF\"),a}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-variables\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Variable\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],Variable:[s(\"variable\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],ObjectField:[s(\"attribute\"),(0,r.p)(\":\"),\"Value\"]};function s(e){return{style:e,match:e=>\"String\"===e.kind,update(e,t){e.name=t.value.slice(1,-1)}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.HeaderEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(195),n(45);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:{name:\"javascript\",json:!0},theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.HeaderEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).defineMode(\"javascript\",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\\w$\\xa1-\\uffff]/,f=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}}(),p=/[+\\-*&%=<>!?|~^@]/,d=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;function h(e,t,n){return r=e,i=n,t}function m(e,t){var n,r=e.next();if('\"'==r||\"'\"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(s&&\"@\"==e.peek()&&e.match(d))return t.tokenize=m,h(\"jsonld-keyword\",\"meta\");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&\"\\\\\"==r;return i||(t.tokenize=m),h(\"string\",\"string\")}),t.tokenize(e,t);if(\".\"==r&&e.match(/^\\d[\\d_]*(?:[eE][+\\-]?[\\d_]+)?/))return h(\"number\",\"number\");if(\".\"==r&&e.match(\"..\"))return h(\"spread\",\"meta\");if(/[\\[\\]{}\\(\\),;\\:\\.]/.test(r))return h(r);if(\"=\"==r&&e.eat(\">\"))return h(\"=>\",\"operator\");if(\"0\"==r&&e.match(/^(?:x[\\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h(\"number\",\"number\");if(/\\d/.test(r))return e.match(/^[\\d_]*(?:n|(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)?/),h(\"number\",\"number\");if(\"/\"==r)return e.eat(\"*\")?(t.tokenize=v,v(e,t)):e.eat(\"/\")?(e.skipToEnd(),h(\"comment\",\"comment\")):Qe(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if(\"/\"==t&&!r)return;\"[\"==t?r=!0:r&&\"]\"==t&&(r=!1)}n=!n&&\"\\\\\"==t}}(e),e.match(/^\\b(([gimyus])(?![gimyus]*\\2))+\\b/),h(\"regexp\",\"string-2\")):(e.eat(\"=\"),h(\"operator\",\"operator\",e.current()));if(\"`\"==r)return t.tokenize=g,g(e,t);if(\"#\"==r&&\"!\"==e.peek())return e.skipToEnd(),h(\"meta\",\"meta\");if(\"#\"==r&&e.eatWhile(u))return h(\"variable\",\"property\");if(\"<\"==r&&e.match(\"!--\")||\"-\"==r&&e.match(\"->\")&&!/\\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),h(\"comment\",\"comment\");if(p.test(r))return\">\"==r&&t.lexical&&\">\"==t.lexical.type||(e.eat(\"=\")?\"!\"!=r&&\"=\"!=r||e.eat(\"=\"):/[<>*+\\-]/.test(r)&&(e.eat(r),\">\"==r&&e.eat(r))),\"?\"==r&&e.eat(\".\")?h(\".\"):h(\"operator\",\"operator\",e.current());if(u.test(r)){e.eatWhile(u);var i=e.current();if(\".\"!=t.lastType){if(f.propertyIsEnumerable(i)){var o=f[i];return h(o.type,o.style,i)}if(\"async\"==i&&e.match(/^(\\s|\\/\\*.*?\\*\\/)*[\\[\\(\\w]/,!1))return h(\"async\",\"keyword\",i)}return h(\"variable\",\"variable\",i)}}function v(e,t){for(var n,r=!1;n=e.next();){if(\"/\"==n&&r){t.tokenize=m;break}r=\"*\"==n}return h(\"comment\",\"comment\")}function g(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&(\"`\"==n||\"$\"==n&&e.eat(\"{\"))){t.tokenize=m;break}r=!r&&\"\\\\\"==n}return h(\"quasi\",\"string-2\",e.current())}function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf(\"=>\",e.start);if(!(n<0)){if(c){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 s=e.string.charAt(a),l=\"([{}])\".indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){\"(\"==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(u.test(s))o=!0;else if(/[\"'\\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&\"\\\\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,\"jsonld-keyword\":!0};function T(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 E(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(n=r.vars;n;n=n.next)if(n.name==t)return!0}var O={state:null,column:null,marked:null,cc:null};function x(){for(var e=arguments.length-1;e>=0;e--)O.cc.push(arguments[e])}function _(){return x.apply(null,arguments),!0}function k(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function w(e){var t=O.state;if(O.marked=\"def\",t.context)if(\"var\"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new S(r,n.vars,!0):null}return k(t,n.vars)?n:new S(n.prev,new N(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!k(e,t.localVars))return void(t.localVars=new N(e,t.localVars));n.globalVars&&!k(e,t.globalVars)&&(t.globalVars=new N(e,t.globalVars))}function C(e){return\"public\"==e||\"private\"==e||\"protected\"==e||\"abstract\"==e||\"readonly\"==e}function S(e,t,n){this.prev=e,this.vars=t,this.block=n}function N(e,t){this.name=e,this.next=t}var D=new N(\"this\",new N(\"arguments\",null));function I(){O.state.context=new S(O.state.context,O.state.localVars,!1),O.state.localVars=D}function A(){O.state.context=new S(O.state.context,O.state.localVars,!0),O.state.localVars=null}function L(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}function j(e,t){var n=function(){var n=O.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 T(r,O.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function F(){var e=O.state;e.lexical.prev&&(\")\"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function M(e){return function t(n){return n==e?_():\";\"==e||\"}\"==n||\")\"==n||\"]\"==n?x():_(t)}}function R(e,t){return\"var\"==e?_(j(\"vardef\",t),ye,M(\";\"),F):\"keyword a\"==e?_(j(\"form\"),B,R,F):\"keyword b\"==e?_(j(\"form\"),R,F):\"keyword d\"==e?O.stream.match(/^\\s*$/,!1)?_():_(j(\"stat\"),H,M(\";\"),F):\"debugger\"==e?_(M(\";\")):\"{\"==e?_(j(\"}\"),A,oe,F,L):\";\"==e?_():\"if\"==e?(\"else\"==O.state.lexical.info&&O.state.cc[O.state.cc.length-1]==F&&O.state.cc.pop()(),_(j(\"form\"),B,R,F,_e)):\"function\"==e?_(Se):\"for\"==e?_(j(\"form\"),ke,R,F):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\",\"class\"==e?e:t),Le,F)):\"variable\"==e?c&&\"declare\"==t?(O.marked=\"keyword\",_(R)):c&&(\"module\"==t||\"enum\"==t||\"type\"==t)&&O.stream.match(/^\\s*\\w/,!1)?(O.marked=\"keyword\",\"enum\"==t?_(Ge):\"type\"==t?_(De,M(\"operator\"),ue,M(\";\")):_(j(\"form\"),be,M(\"{\"),j(\"}\"),oe,F,F)):c&&\"namespace\"==t?(O.marked=\"keyword\",_(j(\"form\"),V,R,F)):c&&\"abstract\"==t?(O.marked=\"keyword\",_(R)):_(j(\"stat\"),X):\"switch\"==e?_(j(\"form\"),B,M(\"{\"),j(\"}\",\"switch\"),A,oe,F,F,L):\"case\"==e?_(V,M(\":\")):\"default\"==e?_(M(\":\")):\"catch\"==e?_(j(\"form\"),I,P,R,F,L):\"export\"==e?_(j(\"stat\"),Re,F):\"import\"==e?_(j(\"stat\"),Ve,F):\"async\"==e?_(R):\"@\"==t?_(V,R):x(j(\"stat\"),V,M(\";\"),F)}function P(e){if(\"(\"==e)return _(Ie,M(\")\"))}function V(e,t){return q(e,t,!1)}function U(e,t){return q(e,t,!0)}function B(e){return\"(\"!=e?x():_(j(\")\"),H,M(\")\"),F)}function q(e,t,n){if(O.state.fatArrowAt==O.stream.start){var r=n?Y:W;if(\"(\"==e)return _(I,j(\")\"),re(Ie,\")\"),F,M(\"=>\"),r,L);if(\"variable\"==e)return x(I,be,M(\"=>\"),r,L)}var i=n?G:z;return b.hasOwnProperty(e)?_(i):\"function\"==e?_(Se,i):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\"),Ae,F)):\"keyword c\"==e||\"async\"==e?_(n?U:V):\"(\"==e?_(j(\")\"),H,M(\")\"),F,i):\"operator\"==e||\"spread\"==e?_(n?U:V):\"[\"==e?_(j(\"]\"),ze,F,i):\"{\"==e?ie(ee,\"}\",null,i):\"quasi\"==e?x(K,i):\"new\"==e?_(function(e){return function(t){return\".\"==t?_(e?$:J):\"variable\"==t&&c?_(me,e?G:z):x(e?U:V)}}(n)):\"import\"==e?_(V):_()}function H(e){return e.match(/[;\\}\\)\\],]/)?x():x(V)}function z(e,t){return\",\"==e?_(H):G(e,t,!1)}function G(e,t,n){var r=0==n?z:G,i=0==n?V:U;return\"=>\"==e?_(I,n?Y:W,L):\"operator\"==e?/\\+\\+|--/.test(t)||c&&\"!\"==t?_(r):c&&\"<\"==t&&O.stream.match(/^([^<>]|<[^<>]*>)*>\\s*\\(/,!1)?_(j(\">\"),re(ue,\">\"),F,r):\"?\"==t?_(V,M(\":\"),i):_(i):\"quasi\"==e?x(K,r):\";\"!=e?\"(\"==e?ie(U,\")\",\"call\",r):\".\"==e?_(Z,r):\"[\"==e?_(j(\"]\"),H,M(\"]\"),F,r):c&&\"as\"==t?(O.marked=\"keyword\",_(ue,r)):\"regexp\"==e?(O.state.lastType=O.marked=\"operator\",O.stream.backUp(O.stream.pos-O.stream.start-1),_(i)):void 0:void 0}function K(e,t){return\"quasi\"!=e?x():\"${\"!=t.slice(t.length-2)?_(K):_(V,Q)}function Q(e){if(\"}\"==e)return O.marked=\"string-2\",O.state.tokenize=g,_(K)}function W(e){return y(O.stream,O.state),x(\"{\"==e?R:V)}function Y(e){return y(O.stream,O.state),x(\"{\"==e?R:U)}function J(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(z)}function $(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(G)}function X(e){return\":\"==e?_(F,R):x(z,M(\";\"),F)}function Z(e){if(\"variable\"==e)return O.marked=\"property\",_()}function ee(e,t){return\"async\"==e?(O.marked=\"property\",_(ee)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",\"get\"==t||\"set\"==t?_(te):(c&&O.state.fatArrowAt==O.stream.start&&(n=O.stream.match(/^\\s*:\\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+n[0].length),_(ne))):\"number\"==e||\"string\"==e?(O.marked=s?\"property\":O.style+\" property\",_(ne)):\"jsonld-keyword\"==e?_(ne):c&&C(t)?(O.marked=\"keyword\",_(ee)):\"[\"==e?_(V,ae,M(\"]\"),ne):\"spread\"==e?_(U,ne):\"*\"==t?(O.marked=\"keyword\",_(ee)):\":\"==e?x(ne):void 0;var n}function te(e){return\"variable\"!=e?x(ne):(O.marked=\"property\",_(Se))}function ne(e){return\":\"==e?_(U):\"(\"==e?x(Se):void 0}function re(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:\",\"==i){var a=O.state.lexical;return\"call\"==a.info&&(a.pos=(a.pos||0)+1),_((function(n,r){return n==t||r==t?x():x(e)}),r)}return i==t||o==t?_():n&&n.indexOf(\";\")>-1?x(e):_(M(t))}return function(n,i){return n==t||i==t?_():x(e,r)}}function ie(e,t,n){for(var r=3;r<arguments.length;r++)O.cc.push(arguments[r]);return _(j(t,n),re(e,t),F)}function oe(e){return\"}\"==e?_():x(R,oe)}function ae(e,t){if(c){if(\":\"==e)return _(ue);if(\"?\"==t)return _(ae)}}function se(e,t){if(c&&(\":\"==e||\"in\"==t))return _(ue)}function le(e){if(c&&\":\"==e)return O.stream.match(/^\\s*\\w+\\s+is\\b/,!1)?_(V,ce,ue):_(ue)}function ce(e,t){if(\"is\"==t)return O.marked=\"keyword\",_()}function ue(e,t){return\"keyof\"==t||\"typeof\"==t||\"infer\"==t?(O.marked=\"keyword\",_(\"typeof\"==t?U:ue)):\"variable\"==e||\"void\"==t?(O.marked=\"type\",_(he)):\"|\"==t||\"&\"==t?_(ue):\"string\"==e||\"number\"==e||\"atom\"==e?_(he):\"[\"==e?_(j(\"]\"),re(ue,\"]\",\",\"),F,he):\"{\"==e?_(j(\"}\"),re(pe,\"}\",\",;\"),F,he):\"(\"==e?_(re(de,\")\"),fe,he):\"<\"==e?_(re(ue,\">\"),ue):void 0}function fe(e){if(\"=>\"==e)return _(ue)}function pe(e,t){return\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(pe)):\"?\"==t||\"number\"==e||\"string\"==e?_(pe):\":\"==e?_(ue):\"[\"==e?_(M(\"variable\"),se,M(\"]\"),pe):\"(\"==e?x(Ne,pe):void 0}function de(e,t){return\"variable\"==e&&O.stream.match(/^\\s*[?:]/,!1)||\"?\"==t?_(de):\":\"==e?_(ue):\"spread\"==e?_(de):x(ue)}function he(e,t){return\"<\"==t?_(j(\">\"),re(ue,\">\"),F,he):\"|\"==t||\".\"==e||\"&\"==t?_(ue):\"[\"==e?_(ue,M(\"]\"),he):\"extends\"==t||\"implements\"==t?(O.marked=\"keyword\",_(ue)):\"?\"==t?_(ue,M(\":\"),ue):void 0}function me(e,t){if(\"<\"==t)return _(j(\">\"),re(ue,\">\"),F,he)}function ve(){return x(ue,ge)}function ge(e,t){if(\"=\"==t)return _(ue)}function ye(e,t){return\"enum\"==t?(O.marked=\"keyword\",_(Ge)):x(be,ae,Oe,xe)}function be(e,t){return c&&C(t)?(O.marked=\"keyword\",_(be)):\"variable\"==e?(w(t),_()):\"spread\"==e?_(be):\"[\"==e?ie(Ee,\"]\"):\"{\"==e?ie(Te,\"}\"):void 0}function Te(e,t){return\"variable\"!=e||O.stream.match(/^\\s*:/,!1)?(\"variable\"==e&&(O.marked=\"property\"),\"spread\"==e?_(be):\"}\"==e?x():\"[\"==e?_(V,M(\"]\"),M(\":\"),Te):_(M(\":\"),be,Oe)):(w(t),_(Oe))}function Ee(){return x(be,Oe)}function Oe(e,t){if(\"=\"==t)return _(U)}function xe(e){if(\",\"==e)return _(ye)}function _e(e,t){if(\"keyword b\"==e&&\"else\"==t)return _(j(\"form\",\"else\"),R,F)}function ke(e,t){return\"await\"==t?_(ke):\"(\"==e?_(j(\")\"),we,F):void 0}function we(e){return\"var\"==e?_(ye,Ce):\"variable\"==e?_(Ce):x(Ce)}function Ce(e,t){return\")\"==e?_():\";\"==e?_(Ce):\"in\"==t||\"of\"==t?(O.marked=\"keyword\",_(V,Ce)):x(V,Ce)}function Se(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Se)):\"variable\"==e?(w(t),_(Se)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,R,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Se):void 0}function Ne(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Ne)):\"variable\"==e?(w(t),_(Ne)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Ne):void 0}function De(e,t){return\"keyword\"==e||\"variable\"==e?(O.marked=\"type\",_(De)):\"<\"==t?_(j(\">\"),re(ve,\">\"),F):void 0}function Ie(e,t){return\"@\"==t&&_(V,Ie),\"spread\"==e?_(Ie):c&&C(t)?(O.marked=\"keyword\",_(Ie)):c&&\"this\"==e?_(ae,Oe):x(be,ae,Oe)}function Ae(e,t){return\"variable\"==e?Le(e,t):je(e,t)}function Le(e,t){if(\"variable\"==e)return w(t),_(je)}function je(e,t){return\"<\"==t?_(j(\">\"),re(ve,\">\"),F,je):\"extends\"==t||\"implements\"==t||c&&\",\"==e?(\"implements\"==t&&(O.marked=\"keyword\"),_(c?ue:V,je)):\"{\"==e?_(j(\"}\"),Fe,F):void 0}function Fe(e,t){return\"async\"==e||\"variable\"==e&&(\"static\"==t||\"get\"==t||\"set\"==t||c&&C(t))&&O.stream.match(/^\\s+[\\w$\\xa1-\\uffff]/,!1)?(O.marked=\"keyword\",_(Fe)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(Me,Fe)):\"number\"==e||\"string\"==e?_(Me,Fe):\"[\"==e?_(V,ae,M(\"]\"),Me,Fe):\"*\"==t?(O.marked=\"keyword\",_(Fe)):c&&\"(\"==e?x(Ne,Fe):\";\"==e||\",\"==e?_(Fe):\"}\"==e?_():\"@\"==t?_(V,Fe):void 0}function Me(e,t){if(\"?\"==t)return _(Me);if(\":\"==e)return _(ue,Oe);if(\"=\"==t)return _(U);var n=O.state.lexical.prev;return x(n&&\"interface\"==n.info?Ne:Se)}function Re(e,t){return\"*\"==t?(O.marked=\"keyword\",_(He,M(\";\"))):\"default\"==t?(O.marked=\"keyword\",_(V,M(\";\"))):\"{\"==e?_(re(Pe,\"}\"),He,M(\";\")):x(R)}function Pe(e,t){return\"as\"==t?(O.marked=\"keyword\",_(M(\"variable\"))):\"variable\"==e?x(U,Pe):void 0}function Ve(e){return\"string\"==e?_():\"(\"==e?x(V):x(Ue,Be,He)}function Ue(e,t){return\"{\"==e?ie(Ue,\"}\"):(\"variable\"==e&&w(t),\"*\"==t&&(O.marked=\"keyword\"),_(qe))}function Be(e){if(\",\"==e)return _(Ue,Be)}function qe(e,t){if(\"as\"==t)return O.marked=\"keyword\",_(Ue)}function He(e,t){if(\"from\"==t)return O.marked=\"keyword\",_(V)}function ze(e){return\"]\"==e?_():x(re(U,\"]\"))}function Ge(){return x(j(\"form\"),be,M(\"{\"),j(\"}\"),re(Ke,\"}\"),F,F)}function Ke(){return x(be,Oe)}function Qe(e,t,n){return t.tokenize==m&&/^(?: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)))}return L.lex=!0,F.lex=!0,{startState:function(e){var t={tokenize:m,lastType:\"sof\",cc:[],lexical:new T((e||0)-o,0,\"block\",!1),localVars:n.localVars,context:n.localVars&&new S(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(),y(e,t)),t.tokenize!=v&&e.eatSpace())return null;var n=t.tokenize(e,t);return\"comment\"==r?n:(t.lastType=\"operator\"!=r||\"++\"!=i&&\"--\"!=i?r:\"incdec\",function(e,t,n,r,i){var o=e.cc;for(O.state=e,O.stream=i,O.marked=null,O.cc=o,O.style=t,e.lexical.hasOwnProperty(\"align\")||(e.lexical.align=!0);;)if((o.length?o.pop():l?V:R)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return O.marked?O.marked:\"variable\"==n&&E(e,r)?\"variable-2\":t}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==v)return e.Pass;if(t.tokenize!=m)return 0;var i,s=r&&r.charAt(0),l=t.lexical;if(!/^\\s*else\\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==F)l=l.prev;else if(u!=_e)break}for(;(\"stat\"==l.type||\"form\"==l.type)&&(\"}\"==s||(i=t.cc[t.cc.length-1])&&(i==z||i==G)&&!/^[,\\.=+\\-*:?[\\(]/.test(r));)l=l.prev;a&&\")\"==l.type&&\"stat\"==l.prev.type&&(l=l.prev);var f=l.type,d=s==f;return\"vardef\"==f?l.indented+(\"operator\"==t.lastType||\",\"==t.lastType?l.info.length+1:0):\"form\"==f&&\"{\"==s?l.indented:\"form\"==f?l.indented+o:\"stat\"==f?l.indented+(function(e,t){return\"operator\"==e.lastType||\",\"==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||o:0):\"switch\"!=l.info||d||0==n.doubleIndentSwitch?l.align?l.column+(d?0:1):l.indented+(d?0:o):l.indented+(/^(?:case|default)\\b/.test(r)?o:2*o)},electricInput:/^\\s*(?:case .*?:|default:|\\{|\\})$/,blockCommentStart:l?null:\"/*\",blockCommentEnd:l?null:\"*/\",blockCommentContinue:l?null:\" * \",lineComment:l?null:\"//\",fold:\"brace\",closeBrackets:\"()[]{}''\\\"\\\"``\",helperType:l?\"json\":\"javascript\",jsonldMode:s,jsonMode:l,expressionAllowed:Qe,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=V&&t!=U||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})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(197),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ResultViewer=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(...e){super(...e),a(this,\"viewer\",null),a(this,\"_node\",null)}componentDidMount(){const e=n(10);n(42),n(43),n(34),n(69),n(33),n(44),n(45),n(198);const o=this.props.ResultsTooltip,a=this.props.ImagePreview;if(o||a){n(83);const i=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(e,n,s,l)=>{const c=[];return o&&c.push(t.default.createElement(o,{pos:l})),a&&\"function\"==typeof a.shouldRender&&a.shouldRender(e)&&c.push(t.default.createElement(a,{token:e})),c.length?(r.default.render(t.default.createElement(\"div\",null,c),i),i):(r.default.unmountComponentAtNode(i),null)})}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:i.default})}shouldComponentUpdate(e){return this.props.value!==e.value}componentDidUpdate(){this.viewer&&this.viewer.setValue(this.props.value||\"\")}componentWillUnmount(){this.viewer=null}render(){return t.default.createElement(\"section\",{className:\"result-window\",\"aria-label\":\"Result Window\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",ref:e=>{e&&(this.props.registerRef(e),this._node=e)}})}getCodeMirror(){return this.viewer}getClientHeight(){return this._node&&this._node.clientHeight}}e.ResultViewer=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t){e.exports=window.ReactDOM},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-results\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Entry\",(0,r.p)(\",\")),(0,r.p)(\"}\")],Entry:[(0,r.t)(\"String\",\"def\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.p)(\",\")),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.p)(\",\")),(0,r.p)(\"}\")],ObjectField:[(0,r.t)(\"String\",\"property\"),(0,r.p)(\":\"),\"Value\"]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(200),n(202),n(203),n(204),n(205)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.DocExplorer=void 0,t=l(t),r=l(r),i=l(i),o=l(o),a=l(a),s=l(s);const u={name:\"Schema\",title:\"Documentation Explorer\"};class f extends t.default.Component{constructor(e){super(e),c(this,\"handleNavBackClick\",()=>{this.state.navStack.length>1&&this.setState({navStack:this.state.navStack.slice(0,-1)})}),c(this,\"handleClickType\",e=>{this.showDoc(e)}),c(this,\"handleClickField\",e=>{this.showDoc(e)}),c(this,\"handleSearch\",e=>{this.showSearch(e)}),this.state={navStack:[u]}}shouldComponentUpdate(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack}render(){const{schema:e}=this.props,l=this.state.navStack,c=l[l.length-1];let u;u=void 0===e?t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})):e?c.search?t.default.createElement(a.default,{searchValue:c.search,withinType:c.def,schema:e,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===l.length?t.default.createElement(i.default,{schema:e,onClickType:this.handleClickType}):(0,n.isType)(c.def)?t.default.createElement(s.default,{schema:e,type:c.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):t.default.createElement(r.default,{field:c.def,onClickType:this.handleClickType}):t.default.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");const f=1===l.length||(0,n.isType)(c.def)&&\"getFields\"in c.def;let p;return l.length>1&&(p=l[l.length-2].name),t.default.createElement(\"section\",{className:\"doc-explorer\",key:c.name,\"aria-label\":\"Documentation Explorer\"},t.default.createElement(\"div\",{className:\"doc-explorer-title-bar\"},p&&t.default.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+p},p),t.default.createElement(\"div\",{className:\"doc-explorer-title\"},c.title||c.name),t.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),t.default.createElement(\"div\",{className:\"doc-explorer-contents\"},f&&t.default.createElement(o.default,{value:c.search,placeholder:`Search ${c.name}...`,onSearch:this.handleSearch}),u))}showDoc(e){const t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})}showDocForReference(e){e&&\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)}showSearch(e){const t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]={...n,search:e},this.setState({navStack:t})}reset(){this.setState({navStack:[u]})}}e.DocExplorer=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(201),n(59),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e,onClickType:a}){let s,l;return e&&\"args\"in e&&e.args.length>0&&(s=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),e.args.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(n.default,{arg:e,onClickType:a})),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}))))),e&&e.astNode&&e.astNode.directives&&e.astNode.directives.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),e.astNode.directives.map(e=>t.default.createElement(\"div\",{key:e.name.value,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(r.default,{directive:e})))))),t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:(null==e?void 0:e.description)||\"No Description\"}),e&&\"deprecationReason\"in e&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:null==e?void 0:e.deprecationReason}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),t.default.createElement(o.default,{type:null==e?void 0:e.type,onClick:a})),s,l)},t=a(t),n=a(n),r=a(r),i=a(i),o=a(o)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({directive:e}){return t.default.createElement(\"span\",{className:\"doc-category-item\",id:e.name.value},\"@\",e.name.value)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(59)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({schema:e,onClickType:i}){const o=e.getQueryType(),a=e.getMutationType&&e.getMutationType(),s=e.getSubscriptionType&&e.getSubscriptionType();return t.default.createElement(\"div\",null,t.default.createElement(r.default,{className:\"doc-type-description\",markdown:\"A GraphQL schema provides a root type for each kind of operation.\"}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",t.default.createElement(n.default,{type:o,onClick:i})),a&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",t.default.createElement(n.default,{type:a,onClick:i})),s&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",t.default.createElement(n.default,{type:s,onClick:i}))))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(85)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=r(t),n=r(n);class o extends t.default.Component{constructor(e){super(e),i(this,\"debouncedOnSearch\",void 0),i(this,\"handleChange\",e=>{const t=e.currentTarget.value;this.setState({value:t}),this.debouncedOnSearch(t)}),i(this,\"handleClear\",()=>{this.setState({value:\"\"}),this.props.onSearch(\"\")}),this.state={value:e.value||\"\"},this.debouncedOnSearch=(0,n.default)(200,this.props.onSearch)}render(){return t.default.createElement(\"label\",{className:\"search-box\"},t.default.createElement(\"div\",{className:\"search-box-icon\",\"aria-hidden\":\"true\"},\"\u26B2\"),t.default.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder,\"aria-label\":this.props.placeholder}),this.state.value&&t.default.createElement(\"button\",{className:\"search-box-clear\",onClick:this.handleClear,\"aria-label\":\"Clear search input\"},\"\u2715\"))}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=i(t),n=i(n),r=i(r);class o extends t.default.Component{shouldComponentUpdate(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue}render(){const e=this.props.searchValue,i=this.props.withinType,o=this.props.schema,s=this.props.onClickType,l=this.props.onClickField,c=[],u=[],f=[],p=o.getTypeMap();let d=Object.keys(p);i&&(d=d.filter(e=>e!==i.name),d.unshift(i.name));for(const o of d){if(c.length+u.length+f.length>=100)break;const d=p[o];if(i!==d&&a(o,e)&&u.push(t.default.createElement(\"div\",{className:\"doc-category-item\",key:o},t.default.createElement(r.default,{type:d,onClick:s}))),\"getFields\"in d){const u=d.getFields();Object.keys(u).forEach(p=>{const h=u[p];let m;if(!a(p,e)){if(!(\"args\"in h)||!h.args.length)return;if(m=h.args.filter(t=>a(t.name,e)),0===m.length)return}const v=t.default.createElement(\"div\",{className:\"doc-category-item\",key:o+\".\"+p},i!==d&&[t.default.createElement(r.default,{key:\"type\",type:d,onClick:s}),\".\"],t.default.createElement(\"a\",{className:\"field-name\",onClick:e=>l(h,d,e)},h.name),m&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},m.map(e=>t.default.createElement(n.default,{key:e.name,arg:e,onClickType:s,showDefaultValue:!1}))),\")\"]);i===d?c.push(v):f.push(v)})}}return c.length+u.length+f.length===0?t.default.createElement(\"span\",{className:\"doc-alert-text\"},\"No results found.\"):i&&u.length+f.length>0?t.default.createElement(\"div\",null,c,t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),u,f)):t.default.createElement(\"div\",null,c,u,f)}}function a(e,t){try{const n=t.replace(/[^_0-9A-Za-z]/g,e=>\"\\\\\"+e);return-1!==e.search(new RegExp(n,\"i\"))}catch(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(58),n(59),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=s(t),r=s(r),i=s(i),o=s(o),a=s(a);class l extends t.default.Component{constructor(e){var t,n,r;super(e),r=()=>this.setState({showDeprecated:!0}),(n=\"handleShowDeprecated\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.state={showDeprecated:!1}}shouldComponentUpdate(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated}render(){const e=this.props.schema,r=this.props.type,a=this.props.onClickType,s=this.props.onClickField;let l,f,p,d,h,m=null,v=[];if(r instanceof n.GraphQLUnionType?(m=\"possible types\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLInterfaceType?(m=\"implementations\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLObjectType&&(m=\"implements\",v=r.getInterfaces()),v&&v.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},m),v.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(o.default,{type:e,onClick:a}))))),\"getFields\"in r){const e=r.getFields(),n=Object.keys(e).map(t=>e[t]);f=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),n.filter(e=>!(\"isDeprecated\"in e)||!e.isDeprecated).map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})));const i=n.filter(e=>\"isDeprecated\"in e&&e.isDeprecated);i.length>0&&(p=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?i.map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(r instanceof n.GraphQLEnumType){const e=r.getValues();d=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),e.filter(e=>!e.isDeprecated).map(e=>t.default.createElement(u,{key:e.name,value:e})));const n=e.filter(e=>e.isDeprecated);n.length>0&&(h=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?n.map(e=>t.default.createElement(u,{key:e.name,value:e})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:\"description\"in r&&r.description||\"No Description\"}),r instanceof n.GraphQLObjectType&&l,f,p,d,h,!(r instanceof n.GraphQLObjectType)&&l)}}function c({type:e,field:n,onClickType:s,onClickField:l}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"a\",{className:\"field-name\",onClick:t=>l(n,e,t)},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},n.args.map(e=>t.default.createElement(r.default,{key:e.name,arg:e,onClickType:s}))),\")\"],\": \",t.default.createElement(o.default,{type:n.type,onClick:s}),t.default.createElement(a.default,{field:n}),n.description&&t.default.createElement(i.default,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function u({value:e}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"div\",{className:\"enum-value\"},e.name),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}),e.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:e.deprecationReason}))}e.default=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(16),n(207),n(208)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryHistory=void 0,n=o(n),r=o(r),i=o(i);class l extends n.default.Component{constructor(e){super(e),s(this,\"historyStore\",void 0),s(this,\"favoriteStore\",void 0),s(this,\"updateHistory\",(e,n,r,i)=>{if(((e,n,r,i)=>{if(!e)return!1;try{(0,t.parse)(e)}catch(e){return!1}if(e.length>1e5)return!1;if(!i)return!0;if(JSON.stringify(e)===JSON.stringify(i.query)){if(JSON.stringify(n)===JSON.stringify(i.variables)){if(JSON.stringify(r)===JSON.stringify(i.headers))return!1;if(r&&!i.headers)return!1}if(n&&!i.variables)return!1}return!0})(e,n,r,this.historyStore.fetchRecent())){this.historyStore.push({query:e,variables:n,headers:r,operationName:i});const t=this.historyStore.items,o=this.favoriteStore.items,a=t.concat(o);this.setState({queries:a})}}),s(this,\"toggleFavorite\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};this.favoriteStore.contains(a)?o&&(a.favorite=!1,this.favoriteStore.delete(a)):(a.favorite=!0,this.favoriteStore.push(a)),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),s(this,\"editLabel\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};o?this.favoriteStore.edit({...a,favorite:o}):this.historyStore.edit(a),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),this.historyStore=new r.default(\"queries\",e.storage,20),this.favoriteStore=new r.default(\"favorites\",e.storage,null);const n=this.historyStore.fetchAll(),i=this.favoriteStore.fetchAll(),o=n.concat(i);this.state={queries:o}}render(){const e=this.state.queries.slice().reverse().map((e,t)=>n.default.createElement(i.default,a({handleEditLabel:this.editLabel,handleToggleFavorite:this.toggleFavorite,key:`${t}:${e.label||e.query}`,onSelect:this.props.onSelectQuery},e)));return n.default.createElement(\"section\",{\"aria-label\":\"History\"},n.default.createElement(\"div\",{className:\"history-title-bar\"},n.default.createElement(\"div\",{className:\"history-title\"},\"History\"),n.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),n.default.createElement(\"ul\",{className:\"history-contents\"},e))}}e.QueryHistory=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"items\",void 0),this.items=this.fetchAll()}get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1,e),this.save())}delete(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items[this.items.length-1]}fetchAll(){const e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){const t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){const e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(e&&e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"editField\",void 0),this.state={editable:!1},this.editField=null}render(){var e;const n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split(\"\\n\").filter(e=>0!==e.indexOf(\"#\")).join(\"\")),r=this.props.favorite?\"\u2605\":\"\u2606\";return t.default.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?t.default.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:e=>{this.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):t.default.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),t.default.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"\u270E\"),t.default.createElement(\"button\",{className:this.props.favorite?\"favorited\":void 0,onClick:this.handleStarClick.bind(this),\"aria-label\":this.props.favorite?\"Remove favorite\":\"Add favorite\"},r))}handleClick(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)}handleStarClick(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)}handleFieldBlur(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)}handleFieldKeyDown(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))}handleEditClick(e){e.stopPropagation(),this.setState({editable:!0},()=>{this.editField&&this.editField.focus()})}}e.default=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(){var e,t,n;n=[],(t=\"sizes\")in(e=this)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}updateSizes(e){e.forEach((e,t)=>{if(e){const n=e.getClientHeight();if(t<=this.sizes.length&&n!==this.sizes[t]){const t=e.getCodeMirror();t&&t.setSize(null,null)}this.sizes[t]=n}})}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){var t,n,r;r=void 0,(n=\"storage\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.storage=e||(\"undefined\"!=typeof window?window.localStorage:null)}get(e){if(this.storage){const t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"===t||\"undefined\"===t)return this.storage.removeItem(\"graphiql:\"+e),null;if(t)return t}return null}set(e,t){let n=!1,r=null;if(this.storage){const i=\"graphiql:\"+e;if(t)try{this.storage.setItem(i,t)}catch(e){r=e,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}(this.storage,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,n){const r=Object.create(null);return n.definitions.forEach(n=>{if(\"OperationDefinition\"===n.kind){const i=n.variableDefinitions;i&&i.forEach(({variable:n,type:i})=>{const o=(0,t.typeFromAST)(e,i);o&&(r[n.name.value]=o)})}}),r}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r){if(!r)return;let i;try{i=(0,t.parse)(r)}catch{return}const o=e?n(e,i):void 0,a=[];return i.definitions.forEach(e=>{\"OperationDefinition\"===e.kind&&a.push(e)}),{variableToType:o,operations:a}},e.collectVariables=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t,n){if(!n||n.length<1)return;const r=n.map(e=>e.name&&e.name.value);if(t&&-1!==r.indexOf(t))return t;if(t&&e){const n=e.map(e=>e.name&&e.name.value).indexOf(t);if(-1!==n&&n<r.length)return r[n]}return r[0]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e){if(!(\"getFields\"in e))return[];const n=e.getFields();if(n.id)return[\"id\"];if(n.edges)return[\"edges\"];if(n.node)return[\"node\"];const r=[];return Object.keys(n).forEach(e=>{(0,t.isLeafType)(n[e].type)&&r.push(e)}),r}function r(e,t){if(0===t.length)return e;let n=\"\",r=0;return t.forEach(({index:t,string:i})=>{n+=e.slice(r,t)+i,r=t}),n+=e.slice(r),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.fillLeafs=function(e,i,o){const a=[];if(!e||!i)return{insertions:a,result:i};let s;try{s=(0,t.parse)(i)}catch(e){return{insertions:a,result:i}}const l=o||n,c=new t.TypeInfo(e);return(0,t.visit)(s,{leave(e){c.leave(e)},enter(e){if(c.enter(e),\"Field\"===e.kind&&!e.selectionSet){const n=function e(n,r){const i=(0,t.getNamedType)(n);if(!n||(0,t.isLeafType)(n))return;const o=r(i);return Array.isArray(o)&&0!==o.length&&\"getFields\"in i?{kind:\"SelectionSet\",selections:o.map(t=>{const n=i.getFields()[t],o=n?n.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,r)}})}:void 0}(function(e){if(e)return e}(c.getType()),l);if(n&&e.loc){const r=function(e,t){let n=t,r=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.substring(n,r)}(i,e.loc.start);a.push({index:e.loc.end,string:\" \"+(0,t.print)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:a,result:r(i,a)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getLeft=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t},e.getTop=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=new Map,r=[];for(const i of e)if(\"Field\"===i.kind){const e=t(i),o=n.get(e);if(i.directives&&i.directives.length){const e={...i};r.push(e)}else if(o&&o.selectionSet&&i.selectionSet)o.selectionSet.selections=[...o.selectionSet.selections,...i.selectionSet.selections];else if(!o){const t={...i};n.set(e,t),r.push(t)}}else r.push(i);return r}function r(e,n,i){const o=i?(0,t.getNamedType)(i).name:null,a=[],s=[];for(let t of n){var l;if(\"FragmentSpread\"===t.kind){const n=t.name.value;if(!t.directives||0===t.directives.length){if(s.indexOf(n)>=0)continue;s.push(n)}const r=e[t.name.value];if(r){const{typeCondition:e,directives:n,selectionSet:i}=r;t={kind:\"InlineFragment\",typeCondition:e,directives:n,selectionSet:i}}}if(\"InlineFragment\"===t.kind&&(!t.directives||0===(null===(l=t.directives)||void 0===l?void 0:l.length))){const n=t.typeCondition?t.typeCondition.name.value:null;if(!n||n===o){a.push(...r(e,t.selectionSet.selections,i));continue}}a.push(t)}return a}Object.defineProperty(e,\"__esModule\",{value:!0}),e.uniqueBy=n,e.inlineRelevantFragmentSpreads=r,e.default=function(e,i){const o=i?new t.TypeInfo(i):null,a=Object.create(null);for(const t of e.definitions)\"FragmentDefinition\"===t.kind&&(a[t.name.value]=t);const s={SelectionSet(e){const t=o?o.getParentType():null;let{selections:i}=e;return i=r(a,i,t),i=n(i,e=>e.alias?e.alias.value:e.name.value),{...e,selections:i}},FragmentDefinition:()=>null};return(0,t.visit)(e,o?(0,t.visitWithTypeInfo)(o,s):s)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.introspectionQuerySansSubscriptions=e.introspectionQueryName=e.staticName=e.introspectionQuery=void 0;const n=(0,t.getIntrospectionQuery)();e.introspectionQuery=n,e.staticName=\"IntrospectionQuery\",e.introspectionQueryName=\"IntrospectionQuery\";const r=n.replace(\"subscriptionType { name }\",\"\");e.introspectionQuerySansSubscriptions=r})?r.apply(t,i):r)||(e.exports=o)}]).default;\n//# sourceMappingURL=graphiql.min.js.map"}
  </script>
</head>
<body>
  <div id="graphiql">Loading...</div>
  <script>
    // Collect the URL parameters
    var parameters = {};
    window.location.search.substr(1).split('&').forEach(function (entry) {
      var eq = entry.indexOf('=');
      if (eq >= 0) {
        parameters[decodeURIComponent(entry.slice(0, eq))] =
          decodeURIComponent(entry.slice(eq + 1));
      }
    });

    // Produce a Location query string from a parameter object.
    function locationQuery(params) {
      return '?' + Object.keys(params).filter(function (key) {
        return Boolean(params[key]);
      }).map(function (key) {
        return encodeURIComponent(key) + '=' +
          encodeURIComponent(params[key]);
      }).join('&');
    }

    // Derive a fetch URL from the current URL, sans the GraphQL parameters.
    var graphqlParamNames = {
      query: true,
      variables: true,
      operationName: true
    };

    var otherParams = {};
    for (var k in parameters) {
      if (parameters.hasOwnProperty(k) && graphqlParamNames[k] !== true) {
        otherParams[k] = parameters[k];
      }
    }
    var fetchURL = locationQuery(otherParams);

    // Defines a GraphQL fetcher using the fetch API.
    function graphQLFetcher(graphQLParams, opts) {
      return fetch(fetchURL, {
        method: 'post',
        headers: Object.assign(
          {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
          },
          opts && opts.headers,
        ),
        body: JSON.stringify(graphQLParams),
        credentials: 'include',
      }).then(function (response) {
        return response.json();
      });
    }

    // When the query and variables string is edited, update the URL bar so
    // that it can be easily shared.
    function onEditQuery(newQuery) {
      parameters.query = newQuery;
      updateURL();
    }

    function onEditVariables(newVariables) {
      parameters.variables = newVariables;
      updateURL();
    }

    function onEditOperationName(newOperationName) {
      parameters.operationName = newOperationName;
      updateURL();
    }

    function updateURL() {
      history.replaceState(null, null, locationQuery(parameters));
    }

    // Render <GraphiQL /> into the body.
    ReactDOM.render(
      React.createElement(GraphiQL, {
        fetcher: graphQLFetcher,
        onEditQuery: onEditQuery,
        onEditVariables: onEditVariables,
        onEditOperationName: onEditOperationName,
        query: ${safeSerialize(queryString)},
        response: ${safeSerialize(resultString)},
        variables: ${safeSerialize(variablesString)},
        operationName: ${safeSerialize(operationName)},
        defaultQuery: ${safeSerialize(defaultQuery)},
        headerEditorEnabled: ${safeSerialize(headerEditorEnabled)},
      }),
      document.getElementById('graphiql')
    );
  </script>
</body>
</html>`;
}
/**
 * When express-graphql receives a request which does not Accept JSON, but does
 * Accept HTML, it may present GraphiQL, the in-browser GraphQL explorer IDE.
 *
 * When shown, it will be pre-populated with the result of having executed the
 * requested query.
 */
When express-graphql receives a request which does not Accept JSON, but does
Accept HTML, it may present GraphiQL, the in-browser GraphQL explorer IDE.

When shown, it will be pre-populated with the result of having executed the
requested query.
When express - graphql receives a request which does not Accept JSON but does Accept HTML it may present GraphiQL the in - browser GraphQL explorer IDE . When shown it will be pre - populated with the result of having executed the requested query .
function renderGraphiQL(data, options) {
    const queryString = data.query;
    const variablesString = data.variables != null ? JSON.stringify(data.variables, null, 2) : null;
    const resultString = data.result != null ? JSON.stringify(data.result, null, 2) : null;
    const operationName = data.operationName;
    const defaultQuery = options === null || options === void 0 ? void 0 : options.defaultQuery;
    const headerEditorEnabled = options === null || options === void 0 ? void 0 : options.headerEditorEnabled;
    return `<!--
The request to this GraphQL server provided the header "Accept: text/html"
and as a result has been presented GraphiQL - an in-browser IDE for
exploring GraphQL.
If you wish to receive JSON, provide the header "Accept: application/json" or
add "&raw" to the end of the URL within a browser.
-->
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>GraphiQL</title>
  <meta name="robots" content="noindex" />
  <meta name="referrer" content="origin" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <style>
    body {
      margin: 0;
      overflow: hidden;
    }
    #graphiql {
      height: 100vh;
    }
  </style>
  <style>
    /* graphiql/graphiql.css */
    ${".graphiql-container,\n.graphiql-container button,\n.graphiql-container input {\n  color: #141823;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 14px;\n}\n\n.graphiql-container {\n  display: flex;\n  flex-direction: row;\n  height: 100%;\n  margin: 0;\n  overflow: hidden;\n  width: 100%;\n}\n\n.graphiql-container .editorWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  overflow-x: hidden;\n}\n\n.graphiql-container .title {\n  font-size: 18px;\n}\n\n.graphiql-container .title em {\n  font-family: georgia;\n  font-size: 19px;\n}\n\n.graphiql-container .topBarWrap {\n  display: flex;\n  flex-direction: row;\n}\n\n.graphiql-container .topBar {\n  align-items: center;\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-bottom: 1px solid #d0d0d0;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n  height: 34px;\n  overflow-y: visible;\n  padding: 7px 14px 6px;\n  user-select: none;\n}\n\n.graphiql-container .toolbar {\n  overflow-x: visible;\n  display: flex;\n}\n\n.graphiql-container .docExplorerShow,\n.graphiql-container .historyShow {\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-radius: 0;\n  border-bottom: 1px solid #d0d0d0;\n  border-right: none;\n  border-top: none;\n  color: #3B5998;\n  cursor: pointer;\n  font-size: 14px;\n  margin: 0;\n  padding: 2px 20px 0 18px;\n}\n\n.graphiql-container .docExplorerShow {\n  border-left: 1px solid rgba(0, 0, 0, 0.2);\n}\n\n.graphiql-container .historyShow {\n  border-right: 1px solid rgba(0, 0, 0, 0.2);\n  border-left: 0;\n}\n\n.graphiql-container .docExplorerShow:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .editorBar {\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n}\n\n.graphiql-container .queryWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n}\n\n.graphiql-container .resultWrap {\n  border-left: solid 1px #e0e0e0;\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  flex-basis: 1em;\n  position: relative;\n}\n\n.graphiql-container .docExplorerWrap,\n.graphiql-container .historyPaneWrap {\n  background: white;\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n  position: relative;\n  z-index: 3;\n}\n\n.graphiql-container .historyPaneWrap {\n  min-width: 230px;\n  z-index: 5;\n}\n\n.graphiql-container .docExplorerResizer {\n  cursor: col-resize;\n  height: 100%;\n  left: -5px;\n  position: absolute;\n  top: 0;\n  width: 10px;\n  z-index: 10;\n}\n\n.graphiql-container .docExplorerHide {\n  cursor: pointer;\n  font-size: 18px;\n  margin: -7px -8px -6px 0;\n  padding: 18px 16px 15px 12px;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.graphiql-container div .query-editor {\n  flex: 1;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor {\n  display: flex;\n  flex-direction: column;\n  height: 30px;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor-title {\n  background: #eeeeee;\n  border-bottom: 1px solid #d6d6d6;\n  border-top: 1px solid #e0e0e0;\n  color: #777;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 14px;\n  padding: 6px 0 8px 43px;\n  text-transform: lowercase;\n  user-select: none;\n}\n\n.graphiql-container .codemirrorWrap {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .result-window {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .footer {\n  background: #f6f7f8;\n  border-left: 1px solid #e0e0e0;\n  border-top: 1px solid #e0e0e0;\n  margin-left: 12px;\n  position: relative;\n}\n\n.graphiql-container .footer:before {\n  background: #eeeeee;\n  bottom: 0;\n  content: \" \";\n  left: -13px;\n  position: absolute;\n  top: -1px;\n  width: 12px;\n}\n\n/* No `.graphiql-container` here so themes can overwrite */\n\n.result-window .CodeMirror {\n  background: #f6f7f8;\n}\n\n.graphiql-container .result-window .CodeMirror-gutters {\n  background-color: #eeeeee;\n  border-color: #e0e0e0;\n  cursor: col-resize;\n}\n\n.graphiql-container .result-window .CodeMirror-foldgutter,\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\n  padding-left: 3px;\n}\n\n.graphiql-container .toolbar-button {\n  background: #fdfdfd;\n  background: linear-gradient(#f9f9f9, #ececec);\n  border: 0;\n  border-radius: 3px;\n  box-shadow:\n    inset 0 0 0 1px rgba(0,0,0,0.20),\n    0 1px 0 rgba(255,255,255, 0.7),\n    inset 0 1px #fff;\n  color: #555;\n  cursor: pointer;\n  display: inline-block;\n  margin: 0 5px;\n  padding: 3px 11px 5px;\n  text-decoration: none;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  max-width: 150px;\n}\n\n.graphiql-container .toolbar-button:active {\n  background: linear-gradient(#ececec, #d5d5d5);\n  box-shadow:\n    0 1px 0 rgba(255, 255, 255, 0.7),\n    inset 0 0 0 1px rgba(0,0,0,0.10),\n    inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\n    inset 0 0 5px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-button.error {\n  background: linear-gradient(#fdf3f3, #e6d6d7);\n  color: #b00;\n}\n\n.graphiql-container .toolbar-button-group {\n  margin: 0 5px;\n  white-space: nowrap;\n}\n\n.graphiql-container .toolbar-button-group > * {\n  margin: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  margin-left: -1px;\n}\n\n.graphiql-container .execute-button-wrap {\n  height: 34px;\n  margin: 0 14px 0 28px;\n  position: relative;\n}\n\n.graphiql-container .execute-button {\n  background: linear-gradient(#fdfdfd, #d2d3d6);\n  border-radius: 17px;\n  border: 1px solid rgba(0,0,0,0.25);\n  box-shadow: 0 1px 0 #fff;\n  cursor: pointer;\n  fill: #444;\n  height: 34px;\n  margin: 0;\n  padding: 0;\n  width: 34px;\n}\n\n.graphiql-container .execute-button svg {\n  pointer-events: none;\n}\n\n.graphiql-container .execute-button:active {\n  background: linear-gradient(#e6e6e6, #c3c3c3);\n  box-shadow:\n    0 1px 0 #fff,\n    inset 0 0 2px rgba(0, 0, 0, 0.2),\n    inset 0 0 6px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-menu,\n.graphiql-container .toolbar-select {\n  position: relative;\n}\n\n.graphiql-container .execute-options,\n.graphiql-container .toolbar-menu-items,\n.graphiql-container .toolbar-select-options {\n  background: #fff;\n  box-shadow:\n    0 0 0 1px rgba(0,0,0,0.1),\n    0 2px 4px rgba(0,0,0,0.25);\n  margin: 0;\n  padding: 6px 0;\n  position: absolute;\n  z-index: 100;\n}\n\n.graphiql-container .execute-options {\n  min-width: 100px;\n  top: 37px;\n  left: -1px;\n}\n\n.graphiql-container .toolbar-menu-items {\n  left: 1px;\n  margin-top: -1px;\n  min-width: 110%;\n  top: 100%;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-menu-items.open {\n  visibility: visible;\n}\n\n.graphiql-container .toolbar-select-options {\n  left: 0;\n  min-width: 100%;\n  top: -5px;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-select-options.open {\n  visibility: visible;\n}\n\n.graphiql-container .execute-options > li,\n.graphiql-container .toolbar-menu-items > li,\n.graphiql-container .toolbar-select-options > li {\n  cursor: pointer;\n  display: block;\n  margin: none;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 20px 4px 11px;\n  white-space: nowrap;\n}\n\n.graphiql-container .execute-options > li.selected,\n.graphiql-container .toolbar-menu-items > li.hover,\n.graphiql-container .toolbar-menu-items > li:active,\n.graphiql-container .toolbar-menu-items > li:hover,\n.graphiql-container .toolbar-select-options > li.hover,\n.graphiql-container .toolbar-select-options > li:active,\n.graphiql-container .toolbar-select-options > li:hover,\n.graphiql-container .history-contents > li:hover,\n.graphiql-container .history-contents > li:active {\n  background: #e10098;\n  color: #fff;\n}\n\n.graphiql-container .toolbar-select-options > li > svg {\n  display: inline;\n  fill: #666;\n  margin: 0 -6px 0 6px;\n  pointer-events: none;\n  vertical-align: middle;\n}\n\n.graphiql-container .toolbar-select-options > li.hover > svg,\n.graphiql-container .toolbar-select-options > li:active > svg,\n.graphiql-container .toolbar-select-options > li:hover > svg {\n  fill: #fff;\n}\n\n.graphiql-container .CodeMirror-scroll {\n  overflow-scrolling: touch;\n}\n\n.graphiql-container .CodeMirror {\n  color: #141823;\n  font-family:\n    'Consolas',\n    'Inconsolata',\n    'Droid Sans Mono',\n    'Monaco',\n    monospace;\n  font-size: 13px;\n  height: 100%;\n  left: 0;\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n\n.graphiql-container .CodeMirror-lines {\n  padding: 20px 0;\n}\n\n.CodeMirror-hint-information .content {\n  box-orient: vertical;\n  color: #141823;\n  display: flex;\n  font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;\n  font-size: 13px;\n  line-clamp: 3;\n  line-height: 16px;\n  max-height: 48px;\n  overflow: hidden;\n  text-overflow: -o-ellipsis-lastline;\n}\n\n.CodeMirror-hint-information .content p:first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-information .content p:last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-hint-information .infoType {\n  color: #CA9800;\n  cursor: pointer;\n  display: inline;\n  margin-right: 0.5em;\n}\n\n.autoInsertedLeaf.cm-property {\n  animation-duration: 6s;\n  animation-name: insertionFade;\n  border-bottom: 2px solid rgba(255, 255, 255, 0);\n  border-radius: 2px;\n  margin: -2px -4px -1px;\n  padding: 2px 4px 1px;\n}\n\n@keyframes insertionFade {\n  from, to {\n    background: rgba(255, 255, 255, 0);\n    border-color: rgba(255, 255, 255, 0);\n  }\n\n  15%, 85% {\n    background: #fbffc9;\n    border-color: #f0f3c0;\n  }\n}\n\ndiv.CodeMirror-lint-tooltip {\n  background-color: white;\n  border-radius: 2px;\n  border: 0;\n  color: #141823;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-size: 13px;\n  line-height: 16px;\n  max-width: 430px;\n  opacity: 0;\n  padding: 8px 10px;\n  transition: opacity 0.15s;\n  white-space: pre-wrap;\n}\n\ndiv.CodeMirror-lint-tooltip > * {\n  padding-left: 23px;\n}\n\ndiv.CodeMirror-lint-tooltip > * + * {\n  margin-top: 12px;\n}\n\n/* COLORS */\n\n.graphiql-container .CodeMirror-foldmarker {\n  border-radius: 4px;\n  background: #08f;\n  background: linear-gradient(#43A8FF, #0F83E8);\n  box-shadow:\n    0 1px 1px rgba(0, 0, 0, 0.2),\n    inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n  color: white;\n  font-family: arial;\n  font-size: 12px;\n  line-height: 0;\n  margin: 0 3px;\n  padding: 0px 4px 1px;\n  text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\n  color: #555;\n  text-decoration: underline;\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\n  color: #f00;\n}\n\n/* Comment */\n\n.cm-comment {\n  color: #999;\n}\n\n/* Punctuation */\n\n.cm-punctuation {\n  color: #555;\n}\n\n/* Keyword */\n\n.cm-keyword {\n  color: #B11A04;\n}\n\n/* OperationName, FragmentName */\n\n.cm-def {\n  color: #D2054E;\n}\n\n/* FieldName */\n\n.cm-property {\n  color: #1F61A0;\n}\n\n/* FieldAlias */\n\n.cm-qualifier {\n  color: #1C92A9;\n}\n\n/* ArgumentName and ObjectFieldName */\n\n.cm-attribute {\n  color: #8B2BB9;\n}\n\n/* Number */\n\n.cm-number {\n  color: #2882F9;\n}\n\n/* String */\n\n.cm-string {\n  color: #D64292;\n}\n\n/* Boolean */\n\n.cm-builtin {\n  color: #D47509;\n}\n\n/* EnumValue */\n\n.cm-string-2 {\n  color: #0B7FC7;\n}\n\n/* Variable */\n\n.cm-variable {\n  color: #397D13;\n}\n\n/* Directive */\n\n.cm-meta {\n  color: #B33086;\n}\n\n/* Type */\n\n.cm-atom {\n  color: #CA9800;\n}\n\n/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  color: black;\n  font-family: monospace;\n  height: 300px;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n\n.CodeMirror-linenumbers {}\n\n.CodeMirror-linenumber {\n  color: #999;\n  min-width: 20px;\n  padding: 0 3px 0 5px;\n  text-align: right;\n  white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror .CodeMirror-cursor {\n  border-left: 1px solid black;\n}\n\n/* Shown when moving in bi-directional text */\n\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n  background: #7e7;\n  border: 0;\n  width: auto;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n  z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n  animation: blink 1.06s steps(1) infinite;\n  border: 0;\n  width: auto;\n}\n\n@keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-ruler {\n  border-left: 1px solid #ccc;\n  position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {color: #708;}\n\n.cm-s-default .cm-atom {color: #219;}\n\n.cm-s-default .cm-number {color: #164;}\n\n.cm-s-default .cm-def {color: #00f;}\n\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n\n.cm-s-default .cm-variable-2 {color: #05a;}\n\n.cm-s-default .cm-variable-3 {color: #085;}\n\n.cm-s-default .cm-comment {color: #a50;}\n\n.cm-s-default .cm-string {color: #a11;}\n\n.cm-s-default .cm-string-2 {color: #f50;}\n\n.cm-s-default .cm-meta {color: #555;}\n\n.cm-s-default .cm-qualifier {color: #555;}\n\n.cm-s-default .cm-builtin {color: #30a;}\n\n.cm-s-default .cm-bracket {color: #997;}\n\n.cm-s-default .cm-tag {color: #170;}\n\n.cm-s-default .cm-attribute {color: #00c;}\n\n.cm-s-default .cm-header {color: blue;}\n\n.cm-s-default .cm-quote {color: #090;}\n\n.cm-s-default .cm-hr {color: #999;}\n\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-negative {color: #d44;}\n\n.cm-positive {color: #292;}\n\n.cm-header, .cm-strong {font-weight: bold;}\n\n.cm-em {font-style: italic;}\n\n.cm-link {text-decoration: underline;}\n\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-error {color: #f00;}\n\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\n\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  background: white;\n  overflow: hidden;\n  position: relative;\n}\n\n.CodeMirror-scroll {\n  height: 100%;\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  outline: none; /* Prevent dragging from highlighting the element */\n  overflow: scroll !important; /* Things will break if this is overridden */\n  padding-bottom: 30px;\n  position: relative;\n}\n\n.CodeMirror-sizer {\n  border-right: 30px solid transparent;\n  position: relative;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actual scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  display: none;\n  position: absolute;\n  z-index: 6;\n}\n\n.CodeMirror-vscrollbar {\n  overflow-x: hidden;\n  overflow-y: scroll;\n  right: 0; top: 0;\n}\n\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-x: scroll;\n  overflow-y: hidden;\n}\n\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  min-height: 100%;\n  position: absolute; left: 0; top: 0;\n  z-index: 3;\n}\n\n.CodeMirror-gutter {\n  display: inline-block;\n  height: 100%;\n  margin-bottom: -30px;\n  vertical-align: top;\n  white-space: normal;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n\n.CodeMirror-gutter-wrapper {\n  background: none !important;\n  border: none !important;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-background {\n  position: absolute;\n  top: 0; bottom: 0;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-elt {\n  cursor: default;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-wrapper {\n  user-select: none;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n  min-height: 1px; /* prevents collapsing before first draw */\n}\n\n.CodeMirror pre {\n  -webkit-tap-highlight-color: transparent;\n  /* Reset some styles that the rest of the page might have set */\n  background: transparent;\n  border-radius: 0;\n  border-width: 0;\n  color: inherit;\n  font-family: inherit;\n  font-size: inherit;\n  font-variant-ligatures: none;\n  line-height: inherit;\n  margin: 0;\n  overflow: visible;\n  position: relative;\n  white-space: pre;\n  word-wrap: normal;\n  z-index: 2;\n}\n\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  overflow: auto;\n  position: relative;\n  z-index: 2;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-code {\n  outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n  box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n  height: 0;\n  overflow: hidden;\n  position: absolute;\n  visibility: hidden;\n  width: 100%;\n}\n\n.CodeMirror-cursor { position: absolute; }\n\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n  position: relative;\n  visibility: hidden;\n  z-index: 3;\n}\n\ndiv.CodeMirror-dragcursors {\n  visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n\n.CodeMirror-crosshair { cursor: crosshair; }\n\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n\n.CodeMirror span { *vertical-align: text-bottom; }\n\n/* Used to force a border model for a node */\n\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursors {\n    visibility: hidden;\n  }\n}\n\n/* See issue #2901 */\n\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\n\nspan.CodeMirror-selectedtext { background: none; }\n\n.CodeMirror-dialog {\n  background: inherit;\n  color: inherit;\n  left: 0; right: 0;\n  overflow: hidden;\n  padding: .1em .8em;\n  position: absolute;\n  z-index: 15;\n}\n\n.CodeMirror-dialog-top {\n  border-bottom: 1px solid #eee;\n  top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n  border-top: 1px solid #eee;\n  bottom: 0;\n}\n\n.CodeMirror-dialog input {\n  background: transparent;\n  border: 1px solid #d3d6db;\n  color: inherit;\n  font-family: monospace;\n  outline: none;\n  width: 20em;\n}\n\n.CodeMirror-dialog button {\n  font-size: 70%;\n}\n\n.CodeMirror-foldmarker {\n  color: blue;\n  cursor: pointer;\n  font-family: arial;\n  line-height: .3;\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n}\n.CodeMirror-foldgutter {\n  width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n  cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n  content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n  content: \"\\25B8\";\n}\n\n.CodeMirror-info {\n  background: white;\n  border-radius: 2px;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  box-sizing: border-box;\n  color: #555;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-width: 400px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 8px 8px;\n  position: fixed;\n  transition: opacity 0.15s;\n  z-index: 50;\n}\n\n.CodeMirror-info :first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-info :last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-info p {\n  margin: 1em 0;\n}\n\n.CodeMirror-info .info-description {\n  color: #777;\n  line-height: 16px;\n  margin-top: 1em;\n  max-height: 80px;\n  overflow: hidden;\n}\n\n.CodeMirror-info .info-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: -8px;\n  margin-top: 8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n}\n\n.CodeMirror-info .info-deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-info .info-deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-info a {\n  text-decoration: none;\n}\n\n.CodeMirror-info a:hover {\n  text-decoration: underline;\n}\n\n.CodeMirror-info .type-name {\n  color: #CA9800;\n}\n\n.CodeMirror-info .field-name {\n  color: #1F61A0;\n}\n\n.CodeMirror-info .enum-value {\n  color: #0B7FC7;\n}\n\n.CodeMirror-info .arg-name {\n  color: #8B2BB9;\n}\n\n.CodeMirror-info .directive-name {\n  color: #B33086;\n}\n\n.CodeMirror-jump-token {\n  text-decoration: underline;\n  cursor: pointer;\n}\n\n/* The lint marker gutter */\n.CodeMirror-lint-markers {\n  width: 16px;\n}\n.CodeMirror-lint-tooltip {\n  background-color: infobackground;\n  border-radius: 4px 4px 4px 4px;\n  border: 1px solid black;\n  color: infotext;\n  font-family: monospace;\n  font-size: 10pt;\n  max-width: 600px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 2px 5px;\n  position: fixed;\n  transition: opacity .4s;\n  white-space: pre-wrap;\n  z-index: 100;\n}\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\n  background-position: left bottom;\n  background-repeat: repeat-x;\n}\n.CodeMirror-lint-mark-error {\n  background-image:\n  url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")\n  ;\n}\n.CodeMirror-lint-mark-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\n  background-position: center center;\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  height: 16px;\n  position: relative;\n  vertical-align: middle;\n  width: 16px;\n}\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\n  background-position: top left;\n  background-repeat: no-repeat;\n  padding-left: 18px;\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-multiple {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n  background-position: right bottom;\n  background-repeat: no-repeat;\n  width: 100%; height: 100%;\n}\n\n.graphiql-container .spinner-container {\n  height: 36px;\n  left: 50%;\n  position: absolute;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  width: 36px;\n  z-index: 10;\n}\n\n.graphiql-container .spinner {\n  animation: rotation .6s infinite linear;\n  border-bottom: 6px solid rgba(150, 150, 150, .15);\n  border-left: 6px solid rgba(150, 150, 150, .15);\n  border-radius: 100%;\n  border-right: 6px solid rgba(150, 150, 150, .15);\n  border-top: 6px solid rgba(150, 150, 150, .8);\n  display: inline-block;\n  height: 24px;\n  position: absolute;\n  vertical-align: middle;\n  width: 24px;\n}\n\n@keyframes rotation {\n  from { transform: rotate(0deg); }\n  to { transform: rotate(359deg); }\n}\n\n.CodeMirror-hints {\n  background: white;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n  font-size: 13px;\n  list-style: none;\n  margin-left: -6px;\n  margin: 0;\n  max-height: 14.5em;\n  overflow: hidden;\n  overflow-y: auto;\n  padding: 0;\n  position: absolute;\n  z-index: 10;\n}\n\n.CodeMirror-hint {\n  border-top: solid 1px #f7f7f7;\n  color: #141823;\n  cursor: pointer;\n  margin: 0;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 6px;\n  white-space: pre;\n}\n\nli.CodeMirror-hint-active {\n  background-color: #08f;\n  border-top-color: white;\n  color: white;\n}\n\n.CodeMirror-hint-information {\n  border-top: solid 1px #c0c0c0;\n  max-width: 300px;\n  padding: 4px 6px;\n  position: relative;\n  z-index: 1;\n}\n\n.CodeMirror-hint-information:first-child {\n  border-bottom: solid 1px #c0c0c0;\n  border-top: none;\n  margin-bottom: -1px;\n}\n\n.CodeMirror-hint-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin-top: 4px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 6px;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-deprecation :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .doc-explorer {\n  background: white;\n}\n\n.graphiql-container .doc-explorer-title-bar,\n.graphiql-container .history-title-bar {\n  cursor: default;\n  display: flex;\n  height: 34px;\n  line-height: 14px;\n  padding: 8px 8px 5px;\n  position: relative;\n  user-select: none;\n}\n\n.graphiql-container .doc-explorer-title,\n.graphiql-container .history-title {\n  flex: 1;\n  font-weight: bold;\n  overflow-x: hidden;\n  padding: 10px 0 10px 10px;\n  text-align: center;\n  text-overflow: ellipsis;\n  user-select: text;\n  white-space: nowrap;\n}\n\n.graphiql-container .doc-explorer-back {\n  color: #3B5998;\n  cursor: pointer;\n  margin: -7px 0 -6px -8px;\n  overflow-x: hidden;\n  padding: 17px 12px 16px 16px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.doc-explorer-narrow .doc-explorer-back {\n  width: 0;\n}\n\n.graphiql-container .doc-explorer-back:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .doc-explorer-rhs {\n  position: relative;\n}\n\n.graphiql-container .doc-explorer-contents,\n.graphiql-container .history-contents {\n  background-color: #ffffff;\n  border-top: 1px solid #d6d6d6;\n  bottom: 0;\n  left: 0;\n  overflow-y: auto;\n  padding: 20px 15px;\n  position: absolute;\n  right: 0;\n  top: 47px;\n}\n\n.graphiql-container .doc-explorer-contents {\n  min-width: 300px;\n}\n\n.graphiql-container .doc-type-description p:first-child ,\n.graphiql-container .doc-type-description blockquote:first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-explorer-contents a {\n  cursor: pointer;\n  text-decoration: none;\n}\n\n.graphiql-container .doc-explorer-contents a:hover {\n  text-decoration: underline;\n}\n\n.graphiql-container .doc-value-description > :first-child {\n  margin-top: 4px;\n}\n\n.graphiql-container .doc-value-description > :last-child {\n  margin-bottom: 4px;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-type-description pre,\n.graphiql-container .doc-category code,\n.graphiql-container .doc-category pre {\n  --saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13);\n  font-size: 12px;\n  line-height: 1.50001;\n  font-variant-ligatures: none;\n  white-space: pre;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  word-break: normal;\n  -webkit-tab-size: 4;\n  -moz-tab-size: 4;\n  tab-size: 4;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-category code {\n  padding: 2px 3px 1px;\n  border: 1px solid var(--saf-0);\n  border-radius: 3px;\n  background-color: rgba(var(--sk_foreground_min,29,28,29),.04);\n  color: #e01e5a;\n  background-color: white;\n}\n\n.graphiql-container .doc-category {\n  margin: 20px 0;\n}\n\n.graphiql-container .doc-category-title {\n  border-bottom: 1px solid #e0e0e0;\n  color: #777;\n  cursor: default;\n  font-size: 14px;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  margin: 0 -15px 10px 0;\n  padding: 10px 0;\n  user-select: none;\n}\n\n.graphiql-container .doc-category-item {\n  margin: 12px 0;\n  color: #555;\n}\n\n.graphiql-container .keyword {\n  color: #B11A04;\n}\n\n.graphiql-container .type-name {\n  color: #CA9800;\n}\n\n.graphiql-container .field-name {\n  color: #1F61A0;\n}\n\n.graphiql-container .field-short-description {\n  color: #999;\n  margin-left: 5px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.graphiql-container .enum-value {\n  color: #0B7FC7;\n}\n\n.graphiql-container .arg-name {\n  color: #8B2BB9;\n}\n\n.graphiql-container .arg {\n  display: block;\n  margin-left: 1em;\n}\n\n.graphiql-container .arg:first-child:last-child,\n.graphiql-container .arg:first-child:nth-last-child(2),\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\n  display: inherit;\n  margin: inherit;\n}\n\n.graphiql-container .arg:first-child:nth-last-child(2):after {\n  content: ', ';\n}\n\n.graphiql-container .arg-default-value {\n  color: #43A047;\n}\n\n.graphiql-container .doc-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 0 1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n  border-radius: 3px;\n}\n\n.graphiql-container .doc-deprecation:before {\n  content: 'Deprecated:';\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.graphiql-container .doc-deprecation > :first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-deprecation > :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .show-btn {\n  -webkit-appearance: initial;\n  display: block;\n  border-radius: 3px;\n  border: solid 1px #ccc;\n  text-align: center;\n  padding: 8px 12px 10px;\n  width: 100%;\n  box-sizing: border-box;\n  background: #fbfcfc;\n  color: #555;\n  cursor: pointer;\n}\n\n.graphiql-container .search-box {\n  border-bottom: 1px solid #d3d6db;\n  display: block;\n  font-size: 14px;\n  margin: -15px -15px 12px 0;\n  position: relative;\n}\n\n.graphiql-container .search-box-icon {\n  cursor: pointer;\n  display: block;\n  font-size: 24px;\n  position: absolute;\n  top: -2px;\n  transform: rotate(-45deg);\n  user-select: none;\n}\n\n.graphiql-container .search-box .search-box-clear {\n  background-color: #d0d0d0;\n  border-radius: 12px;\n  color: #fff;\n  cursor: pointer;\n  font-size: 11px;\n  padding: 1px 5px 2px;\n  position: absolute;\n  right: 3px;\n  top: 8px;\n  user-select: none;\n  border: 0;\n}\n\n.graphiql-container .search-box .search-box-clear:hover {\n  background-color: #b9b9b9;\n}\n\n.graphiql-container .search-box > input {\n  border: none;\n  box-sizing: border-box;\n  font-size: 14px;\n  outline: none;\n  padding: 6px 24px 8px 20px;\n  width: 100%;\n}\n\n.graphiql-container .error-container {\n  font-weight: bold;\n  left: 0;\n  letter-spacing: 1px;\n  opacity: 0.5;\n  position: absolute;\n  right: 0;\n  text-align: center;\n  text-transform: uppercase;\n  top: 50%;\n  transform: translate(0, -50%);\n}\n\n.graphiql-container .history-contents {\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n}\n\n.graphiql-container .history-contents {\n  margin: 0;\n  padding: 0;\n}\n\n.graphiql-container .history-contents li {\n  align-items: center;\n  display: flex;\n  font-size: 12px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  margin: 0;\n  padding: 8px;\n  border-bottom: 1px solid #e0e0e0;\n}\n\n.graphiql-container .history-contents li button:not(.history-label) {\n  display: none;\n  margin-left: 10px;\n}\n\n.graphiql-container .history-contents li:hover button:not(.history-label),\n.graphiql-container .history-contents li:focus-within button:not(.history-label) {\n  display: inline-block;\n}\n\n.graphiql-container .history-contents input,\n.graphiql-container .history-contents button {\n  padding: 0;\n  background: 0;\n  border: 0;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: 14px;\n  color: inherit;\n}\n\n.graphiql-container .history-contents input {\n  flex-grow: 1;\n}\n\n.graphiql-container .history-contents input::placeholder {\n  color: inherit;\n}\n\n.graphiql-container .history-contents button {\n  cursor: pointer;\n  text-align: left;\n}\n\n.graphiql-container .history-contents .history-label {\n  flex-grow: 1;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n"}
  </style>
  <script>
    // promise-polyfill/dist/polyfill.min.js
    ${"!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t():\"function\"==typeof define&&define.amd?define(t):t()}(0,function(){\"use strict\";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){function o(e,n){if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var f=n.then;if(\"function\"==typeof f)return void f.call(n,function(t){o(e,t)},function(n){r[e]={status:\"rejected\",reason:n},0==--i&&t(r)})}r[e]={status:\"fulfilled\",value:n},0==--i&&t(r)}if(!e||\"undefined\"==typeof e.length)return n(new TypeError(typeof e+\" \"+e+\" is not iterable(cannot read property Symbol(Symbol.iterator))\"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})}function n(e){return!(!e||\"undefined\"==typeof e.length)}function o(){}function r(e){if(!(this instanceof r))throw new TypeError(\"Promises must be constructed via new\");if(\"function\"!=typeof e)throw new TypeError(\"not a function\");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],l(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(r){return void u(t.promise,r)}f(t.promise,o)}else(1===e._state?f:u)(t.promise,e._value)})):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError(\"A promise cannot be resolved with itself.\");if(t&&(\"object\"==typeof t||\"function\"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void c(e);if(\"function\"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,c(e)}catch(o){u(e,o)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;n>t;t++)i(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,u(t,e))})}catch(o){if(n)return;n=!0,u(t,o)}}var a=setTimeout;r.prototype[\"catch\"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled=\"function\"==typeof e?e:null,this.onRejected=\"function\"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype[\"finally\"]=e,r.all=function(e){return new r(function(t,o){function r(e,n){try{if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var u=n.then;if(\"function\"==typeof u)return void u.call(n,function(t){r(e,t)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError(\"Promise.all accepts an array\"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},r.allSettled=t,r.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,o){if(!n(e))return o(new TypeError(\"Promise.race accepts an array\"));for(var i=0,f=e.length;f>i;i++)r.resolve(e[i]).then(t,o)})},r._immediateFn=\"function\"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn(\"Possible Unhandled Promise Rejection:\",e)};var s=function(){if(\"undefined\"!=typeof self)return self;if(\"undefined\"!=typeof window)return window;if(\"undefined\"!=typeof global)return global;throw Error(\"unable to locate global object\")}();\"function\"!=typeof s.Promise?s.Promise=r:s.Promise.prototype[\"finally\"]?s.Promise.allSettled||(s.Promise.allSettled=t):s.Promise.prototype[\"finally\"]=e});\n"}
  </script>
  <script>
    // unfetch/dist/unfetch.umd.js
    ${"!function(e,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof define&&define.amd?define(n):e.unfetch=n()}(this,function(){return function(e,n){return n=n||{},new Promise(function(t,o){var r=new XMLHttpRequest,s=[],u=[],i={},f=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:f,headers:{keys:function(){return s},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var a in r.open(n.method||\"get\",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(e,n,t){s.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+\",\"+t:t}),t(f())},r.onerror=o,r.withCredentials=\"include\"==n.credentials,n.headers)r.setRequestHeader(a,n.headers[a]);r.send(n.body||null)})}});\n//# sourceMappingURL=unfetch.umd.js.map\n"}
  </script>
  <script>
    // react/umd/react.production.min.js
    ${"/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';(function(d,r){\"object\"===typeof exports&&\"undefined\"!==typeof module?r(exports):\"function\"===typeof define&&define.amd?define([\"exports\"],r):(d=d||self,r(d.React={}))})(this,function(d){function r(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction w(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function da(){}function L(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function ea(a,b,c){var g,e={},fa=null,d=null;if(null!=b)for(g in void 0!==b.ref&&(d=b.ref),void 0!==b.key&&(fa=\"\"+b.key),b)ha.call(b,g)&&!ia.hasOwnProperty(g)&&(e[g]=b[g]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),f=0;f<h;f++)k[f]=arguments[f+2];e.children=k}if(a&&a.defaultProps)for(g in h=a.defaultProps,\nh)void 0===e[g]&&(e[g]=h[g]);return{$$typeof:x,type:a,key:fa,ref:d,props:e,_owner:M.current}}function va(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===x}function wa(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,g){if(C.length){var e=C.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=g;e.count=0;return e}return{result:a,keyPrefix:b,func:c,\ncontext:g,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>C.length&&C.push(a)}function O(a,b,c,g){var e=typeof a;if(\"undefined\"===e||\"boolean\"===e)a=null;var d=!1;if(null===a)d=!0;else switch(e){case \"string\":case \"number\":d=!0;break;case \"object\":switch(a.$$typeof){case x:case xa:d=!0}}if(d)return c(g,a,\"\"===b?\".\"+P(a,0):b),1;d=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+P(e,f);d+=O(e,h,c,g)}else if(null===a||\n\"object\"!==typeof a?h=null:(h=la&&a[la]||a[\"@@iterator\"],h=\"function\"===typeof h?h:null),\"function\"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+P(e,f++),d+=O(e,h,c,g);else if(\"object\"===e)throw c=\"\"+a,Error(r(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return d}function Q(a,b,c){return null==a?0:O(a,\"\",b,c)}function P(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,\na.count++)}function za(a,b,c){var g=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?R(a,g,c,function(a){return a}):null!=a&&(N(a)&&(a=va(a,e+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(ma,\"$&/\")+\"/\")+c)),g.push(a))}function R(a,b,c,g,e){var d=\"\";null!=c&&(d=(\"\"+c).replace(ma,\"$&/\")+\"/\");b=ja(b,d,g,e);Q(a,za,b);ka(b)}function t(){var a=na.current;if(null===a)throw Error(r(321));return a}function S(a,b){var c=a.length;a.push(b);a:for(;;){var g=c-1>>>1,e=a[g];if(void 0!==\ne&&0<D(e,b))a[g]=b,a[c]=e,c=g;else break a}}function n(a){a=a[0];return void 0===a?null:a}function E(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var g=0,e=a.length;g<e;){var d=2*(g+1)-1,f=a[d],h=d+1,k=a[h];if(void 0!==f&&0>D(f,c))void 0!==k&&0>D(k,f)?(a[g]=k,a[h]=c,g=h):(a[g]=f,a[d]=c,g=d);else if(void 0!==k&&0>D(k,c))a[g]=k,a[h]=c,g=h;else break a}}return b}return null}function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function F(a){for(var b=n(u);null!==\nb;){if(null===b.callback)E(u);else if(b.startTime<=a)E(u),b.sortIndex=b.expirationTime,S(p,b);else break;b=n(u)}}function T(a){y=!1;F(a);if(!v)if(null!==n(p))v=!0,z(U);else{var b=n(u);null!==b&&G(T,b.startTime-a)}}function U(a,b){v=!1;y&&(y=!1,V());H=!0;var c=m;try{F(b);for(l=n(p);null!==l&&(!(l.expirationTime>b)||a&&!W());){var g=l.callback;if(null!==g){l.callback=null;m=l.priorityLevel;var e=g(l.expirationTime<=b);b=q();\"function\"===typeof e?l.callback=e:l===n(p)&&E(p);F(b)}else E(p);l=n(p)}if(null!==\nl)var d=!0;else{var f=n(u);null!==f&&G(T,f.startTime-b);d=!1}return d}finally{l=null,m=c,H=!1}}function oa(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var f=\"function\"===typeof Symbol&&Symbol.for,x=f?Symbol.for(\"react.element\"):60103,xa=f?Symbol.for(\"react.portal\"):60106,Aa=f?Symbol.for(\"react.fragment\"):60107,Ba=f?Symbol.for(\"react.strict_mode\"):60108,Ca=f?Symbol.for(\"react.profiler\"):60114,Da=f?Symbol.for(\"react.provider\"):60109,\nEa=f?Symbol.for(\"react.context\"):60110,Fa=f?Symbol.for(\"react.forward_ref\"):60112,Ga=f?Symbol.for(\"react.suspense\"):60113,Ha=f?Symbol.for(\"react.memo\"):60115,Ia=f?Symbol.for(\"react.lazy\"):60116,la=\"function\"===typeof Symbol&&Symbol.iterator,pa=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Ka=Object.prototype.propertyIsEnumerable,I=function(){try{if(!Object.assign)return!1;var a=new String(\"abc\");a[5]=\"de\";if(\"5\"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b[\"_\"+\nString.fromCharCode(a)]=a;if(\"0123456789\"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(\"\"))return!1;var c={};\"abcdefghijklmnopqrst\".split(\"\").forEach(function(a){c[a]=a});return\"abcdefghijklmnopqrst\"!==Object.keys(Object.assign({},c)).join(\"\")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError(\"Object.assign cannot be called with null or undefined\");var c=Object(a);for(var g,e=1;e<arguments.length;e++){var d=Object(arguments[e]);\nfor(var f in d)Ja.call(d,f)&&(c[f]=d[f]);if(pa){g=pa(d);for(var h=0;h<g.length;h++)Ka.call(d,g[h])&&(c[g[h]]=d[g[h]])}}return c},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ba={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(r(85));this.updater.enqueueSetState(this,a,b,\"setState\")};w.prototype.forceUpdate=\nfunction(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};da.prototype=w.prototype;f=L.prototype=new da;f.constructor=L;I(f,w.prototype);f.isPureReactComponent=!0;var M={current:null},ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\\/+/g,C=[],na={current:null},X;if(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var A=null,qa=null,ra=function(){if(null!==A)try{var a=q();A(!0,a);A=null}catch(b){throw setTimeout(ra,0),b;}},La=Date.now();var q=\nfunction(){return Date.now()-La};var z=function(a){null!==A?setTimeout(z,0,a):(A=a,setTimeout(ra,0))};var G=function(a,b){qa=setTimeout(a,b)};var V=function(){clearTimeout(qa)};var W=function(){return!1};f=X=function(){}}else{var Y=window.performance,sa=window.Date,Ma=window.setTimeout,Na=window.clearTimeout;\"undefined\"!==typeof console&&(f=window.cancelAnimationFrame,\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\n\"function\"!==typeof f&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));if(\"object\"===typeof Y&&\"function\"===typeof Y.now)q=function(){return Y.now()};else{var Oa=sa.now();q=function(){return sa.now()-Oa}}var J=!1,K=null,Z=-1,ta=5,ua=0;W=function(){return q()>=ua};f=function(){};X=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):\nta=0<a?Math.floor(1E3/a):5};var B=new MessageChannel,aa=B.port2;B.port1.onmessage=function(){if(null!==K){var a=q();ua=a+ta;try{K(!0,a)?aa.postMessage(null):(J=!1,K=null)}catch(b){throw aa.postMessage(null),b;}}else J=!1};z=function(a){K=a;J||(J=!0,aa.postMessage(null))};G=function(a,b){Z=Ma(function(){a(q())},b)};V=function(){Na(Z);Z=-1}}var p=[],u=[],Pa=1,l=null,m=3,H=!1,v=!1,y=!1,Qa=0;B={ReactCurrentDispatcher:na,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},assign:I};I(B,{Scheduler:{__proto__:null,\nunstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m;m=a;try{return b()}finally{m=c}},unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var c=m;m=b;try{return a()}finally{m=c}},unstable_scheduleCallback:function(a,b,c){var d=q();if(\"object\"===typeof c&&null!==c){var e=c.delay;\ne=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:oa(a)}else c=oa(a),e=d;c=e+c;a={id:Pa++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,S(u,a),null===n(p)&&a===n(u)&&(y?V():y=!0,G(T,e-d))):(a.sortIndex=c,S(p,a),v||H||(v=!0,z(U)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=m;return function(){var c=m;m=b;try{return a.apply(this,arguments)}finally{m=c}}},unstable_getCurrentPriorityLevel:function(){return m},\nunstable_shouldYield:function(){var a=q();F(a);var b=n(p);return b!==l&&null!==l&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<l.expirationTime||W()},unstable_requestPaint:f,unstable_continueExecution:function(){v||H||(v=!0,z(U))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(p)},get unstable_now(){return q},get unstable_forceFrameRate(){return X},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,\nunstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Qa},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}});d.Children={map:function(a,b,c){if(null==a)return a;var d=[];R(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);Q(a,ya,b);ka(b)},count:function(a){return Q(a,function(){return null},null)},\ntoArray:function(a){var b=[];R(a,b,null,function(a){return a});return b},only:function(a){if(!N(a))throw Error(r(143));return a}};d.Component=w;d.Fragment=Aa;d.Profiler=Ca;d.PureComponent=L;d.StrictMode=Ba;d.Suspense=Ga;d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B;d.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(r(267,a));var d=I({},a.props),e=a.key,f=a.ref,m=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,m=M.current);void 0!==b.key&&(e=\"\"+b.key);if(a.type&&a.type.defaultProps)var h=\na.type.defaultProps;for(k in b)ha.call(b,k)&&!ia.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k);for(var l=0;l<k;l++)h[l]=arguments[l+2];d.children=h}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:m}};d.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:Ea,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Da,_context:a};return a.Consumer=\na};d.createElement=ea;d.createFactory=function(a){var b=ea.bind(null,a);b.type=a;return b};d.createRef=function(){return{current:null}};d.forwardRef=function(a){return{$$typeof:Fa,render:a}};d.isValidElement=N;d.lazy=function(a){return{$$typeof:Ia,_ctor:a,_status:-1,_result:null}};d.memo=function(a,b){return{$$typeof:Ha,type:a,compare:void 0===b?null:b}};d.useCallback=function(a,b){return t().useCallback(a,b)};d.useContext=function(a,b){return t().useContext(a,b)};d.useDebugValue=function(a,b){};\nd.useEffect=function(a,b){return t().useEffect(a,b)};d.useImperativeHandle=function(a,b,c){return t().useImperativeHandle(a,b,c)};d.useLayoutEffect=function(a,b){return t().useLayoutEffect(a,b)};d.useMemo=function(a,b){return t().useMemo(a,b)};d.useReducer=function(a,b,c){return t().useReducer(a,b,c)};d.useRef=function(a){return t().useRef(a)};d.useState=function(a){return t().useState(a)};d.version=\"16.14.0\"});\n"}
  </script>
  <script>
    // react-dom/umd/react-dom.production.min.js
    ${"/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';(function(I,ea){\"object\"===typeof exports&&\"undefined\"!==typeof module?ea(exports,require(\"react\")):\"function\"===typeof define&&define.amd?define([\"exports\",\"react\"],ea):(I=I||self,ea(I.ReactDOM={},I.React))})(this,function(I,ea){function k(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction ji(a,b,c,d,e,f,g,h,m){yb=!1;gc=null;ki.apply(li,arguments)}function mi(a,b,c,d,e,f,g,h,m){ji.apply(this,arguments);if(yb){if(yb){var n=gc;yb=!1;gc=null}else throw Error(k(198));hc||(hc=!0,pd=n)}}function lf(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=mf(c);mi(d,b,void 0,a);a.currentTarget=null}function nf(){if(ic)for(var a in cb){var b=cb[a],c=ic.indexOf(a);if(!(-1<c))throw Error(k(96,a));if(!jc[c]){if(!b.extractEvents)throw Error(k(97,a));jc[c]=b;c=b.eventTypes;for(var d in c){var e=\nvoid 0;var f=c[d],g=b,h=d;if(qd.hasOwnProperty(h))throw Error(k(99,h));qd[h]=f;var m=f.phasedRegistrationNames;if(m){for(e in m)m.hasOwnProperty(e)&&of(m[e],g,h);e=!0}else f.registrationName?(of(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(k(98,d,a));}}}}function of(a,b,c){if(db[a])throw Error(k(100,a));db[a]=b;rd[a]=b.eventTypes[c].dependencies}function pf(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!cb.hasOwnProperty(c)||cb[c]!==d){if(cb[c])throw Error(k(102,c));cb[c]=\nd;b=!0}}b&&nf()}function qf(a){if(a=rf(a)){if(\"function\"!==typeof sd)throw Error(k(280));var b=a.stateNode;b&&(b=td(b),sd(a.stateNode,a.type,b))}}function sf(a){eb?fb?fb.push(a):fb=[a]:eb=a}function tf(){if(eb){var a=eb,b=fb;fb=eb=null;qf(a);if(b)for(a=0;a<b.length;a++)qf(b[a])}}function ud(){if(null!==eb||null!==fb)vd(),tf()}function uf(a,b,c){if(wd)return a(b,c);wd=!0;try{return vf(a,b,c)}finally{wd=!1,ud()}}function ni(a){if(wf.call(xf,a))return!0;if(wf.call(yf,a))return!1;if(oi.test(a))return xf[a]=\n!0;yf[a]=!0;return!1}function pi(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}function qi(a,b,c,d){if(null===b||\"undefined\"===typeof b||pi(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function L(a,\nb,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}function xd(a,b,c,d){var e=E.hasOwnProperty(b)?E[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(qi(b,c,e,d)&&(c=null),d||null===e?ni(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,\nd=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function zb(a){if(null===a||\"object\"!==typeof a)return null;a=zf&&a[zf]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function ri(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}function na(a){if(null==a)return null;\nif(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case Ma:return\"Fragment\";case gb:return\"Portal\";case kc:return\"Profiler\";case Af:return\"StrictMode\";case lc:return\"Suspense\";case yd:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Bf:return\"Context.Consumer\";case Cf:return\"Context.Provider\";case zd:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\"ForwardRef\");case Ad:return na(a.type);\ncase Df:return na(a.render);case Ef:if(a=1===a._status?a._result:null)return na(a)}return null}function Bd(a){var b=\"\";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c=\"\";break a;default:var d=a._debugOwner,e=a._debugSource,f=na(a.type);c=null;d&&(c=na(d.type));d=f;f=\"\";e?f=\" (at \"+e.fileName.replace(si,\"\")+\":\"+e.lineNumber+\")\":c&&(f=\" (created by \"+c+\")\");c=\"\\n    in \"+(d||\"Unknown\")+f}b+=c;a=a.return}while(a);return b}function va(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;\ndefault:return\"\"}}function Ff(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}function ti(a){var b=Ff(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,\nb,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function mc(a){a._valueTracker||(a._valueTracker=ti(a))}function Gf(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ff(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Cd(a,b){var c=b.checked;return M({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=\nc?c:a._wrapperState.initialChecked})}function Hf(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=va(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function If(a,b){b=b.checked;null!=b&&xd(a,\"checked\",b,!1)}function Dd(a,b){If(a,b);var c=va(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\n\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?Ed(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&Ed(a,b.type,va(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function Jf(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=\nb);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}function Ed(a,b,c){if(\"number\"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function ui(a){var b=\"\";ea.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Fd(a,b){a=M({children:void 0},b);if(b=ui(b.children))a.children=b;return a}function hb(a,b,c,d){a=a.options;if(b){b={};\nfor(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+va(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Gd(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(k(91));return M({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}\nfunction Kf(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(k(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(k(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:va(c)}}function Lf(a,b){var c=va(b.value),d=va(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Mf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==\nb&&null!==b&&(a.value=b)}function Nf(a){switch(a){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 Hd(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nf(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}function nc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}function oc(a){if(Id[a])return Id[a];\nif(!ib[a])return a;var b=ib[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Of)return Id[a]=b[c];return a}function Jd(a){var b=Pf.get(a);void 0===b&&(b=new Map,Pf.set(a,b));return b}function Na(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Qf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Rf(a){if(Na(a)!==\na)throw Error(k(188));}function vi(a){var b=a.alternate;if(!b){b=Na(a);if(null===b)throw Error(k(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Rf(e),a;if(f===d)return Rf(e),b;f=f.sibling}throw Error(k(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=\nf.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(k(189));}}if(c.alternate!==d)throw Error(k(190));}if(3!==c.tag)throw Error(k(188));return c.stateNode.current===c?a:b}function Sf(a){a=vi(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function jb(a,b){if(null==\nb)throw Error(k(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Kd(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function pc(a){null!==a&&(Ab=jb(Ab,a));a=Ab;Ab=null;if(a){Kd(a,wi);if(Ab)throw Error(k(95));if(hc)throw a=pd,hc=!1,pd=null,a;}}function Ld(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:\na}function Tf(a){if(!wa)return!1;a=\"on\"+a;var b=a in document;b||(b=document.createElement(\"div\"),b.setAttribute(a,\"return;\"),b=\"function\"===typeof b[a]);return b}function Uf(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>qc.length&&qc.push(a)}function Vf(a,b,c,d){if(qc.length){var e=qc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}function Wf(a){var b=\na.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Bb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Ld(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,m=0;m<jc.length;m++){var n=jc[m];n&&(n=n.extractEvents(d,b,f,e,g))&&(h=jb(h,n))}pc(h)}}function Md(a,\nb,c){if(!c.has(a)){switch(a){case \"scroll\":Cb(b,\"scroll\",!0);break;case \"focus\":case \"blur\":Cb(b,\"focus\",!0);Cb(b,\"blur\",!0);c.set(\"blur\",null);c.set(\"focus\",null);break;case \"cancel\":case \"close\":Tf(a)&&Cb(b,a,!0);break;case \"invalid\":case \"submit\":case \"reset\":break;default:-1===Db.indexOf(a)&&w(a,b)}c.set(a,null)}}function xi(a,b){var c=Jd(b);Nd.forEach(function(a){Md(a,b,c)});yi.forEach(function(a){Md(a,b,c)})}function Od(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,\ncontainer:d}}function Xf(a,b){switch(a){case \"focus\":case \"blur\":xa=null;break;case \"dragenter\":case \"dragleave\":ya=null;break;case \"mouseover\":case \"mouseout\":za=null;break;case \"pointerover\":case \"pointerout\":Eb.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Fb.delete(b.pointerId)}}function Gb(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Od(b,c,d,e,f),null!==b&&(b=Hb(b),null!==b&&Yf(b)),a;a.eventSystemFlags|=d;return a}function zi(a,b,c,d,e){switch(b){case \"focus\":return xa=\nGb(xa,a,b,c,d,e),!0;case \"dragenter\":return ya=Gb(ya,a,b,c,d,e),!0;case \"mouseover\":return za=Gb(za,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Eb.set(f,Gb(Eb.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Fb.set(f,Gb(Fb.get(f)||null,a,b,c,d,e)),!0}return!1}function Ai(a){var b=Bb(a.target);if(null!==b){var c=Na(b);if(null!==c)if(b=c.tag,13===b){if(b=Qf(c),null!==b){a.blockedOn=b;Pd(a.priority,function(){Bi(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=\n3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function rc(a){if(null!==a.blockedOn)return!1;var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Hb(b);null!==c&&Yf(c);a.blockedOn=b;return!1}return!0}function Zf(a,b,c){rc(a)&&c.delete(b)}function Ci(){for(Rd=!1;0<fa.length;){var a=fa[0];if(null!==a.blockedOn){a=Hb(a.blockedOn);null!==a&&Di(a);break}var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:fa.shift()}null!==\nxa&&rc(xa)&&(xa=null);null!==ya&&rc(ya)&&(ya=null);null!==za&&rc(za)&&(za=null);Eb.forEach(Zf);Fb.forEach(Zf)}function Ib(a,b){a.blockedOn===b&&(a.blockedOn=null,Rd||(Rd=!0,$f(ag,Ci)))}function bg(a){if(0<fa.length){Ib(fa[0],a);for(var b=1;b<fa.length;b++){var c=fa[b];c.blockedOn===a&&(c.blockedOn=null)}}null!==xa&&Ib(xa,a);null!==ya&&Ib(ya,a);null!==za&&Ib(za,a);b=function(b){return Ib(b,a)};Eb.forEach(b);Fb.forEach(b);for(b=0;b<Jb.length;b++)c=Jb[b],c.blockedOn===a&&(c.blockedOn=null);for(;0<Jb.length&&\n(b=Jb[0],null===b.blockedOn);)Ai(b),null===b.blockedOn&&Jb.shift()}function Sd(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f=\"on\"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+\"Capture\"},dependencies:[d],eventPriority:b};Td.set(d,b);cg.set(d,f);dg[e]=f}}function w(a,b){Cb(b,a,!1)}function Cb(a,b,c){var d=Td.get(b);switch(void 0===d?2:d){case 0:d=Ei.bind(null,b,1,a);break;case 1:d=Fi.bind(null,b,1,a);break;default:d=sc.bind(null,b,1,a)}c?a.addEventListener(b,\nd,!0):a.addEventListener(b,d,!1)}function Ei(a,b,c,d){Oa||vd();var e=sc,f=Oa;Oa=!0;try{eg(e,a,b,c,d)}finally{(Oa=f)||ud()}}function Fi(a,b,c,d){Gi(Hi,sc.bind(null,a,b,c,d))}function sc(a,b,c,d){if(tc)if(0<fa.length&&-1<Nd.indexOf(a))a=Od(null,a,b,c,d),fa.push(a);else{var e=Qd(a,b,c,d);if(null===e)Xf(a,d);else if(-1<Nd.indexOf(a))a=Od(e,a,b,c,d),fa.push(a);else if(!zi(e,a,b,c,d)){Xf(a,d);a=Vf(a,d,null,b);try{uf(Wf,a)}finally{Uf(a)}}}}function Qd(a,b,c,d){c=Ld(d);c=Bb(c);if(null!==c){var e=Na(c);if(null===\ne)c=null;else{var f=e.tag;if(13===f){c=Qf(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=Vf(a,d,c,b);try{uf(Wf,a)}finally{Uf(a)}return null}function fg(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||Kb.hasOwnProperty(a)&&Kb[a]?(\"\"+b).trim():b+\"px\"}function gg(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=fg(c,b[c],d);\"float\"===\nc&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}function Ud(a,b){if(b){if(Ii[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(k(137,a,\"\"));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(k(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(k(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(k(62,\"\"));}}function Vd(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){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;\ndefault:return!0}}function oa(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Jd(a);b=rd[b];for(var d=0;d<b.length;d++)Md(b[d],a,c)}function uc(){}function Wd(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function hg(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function ig(a,b){var c=hg(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,\noffset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=hg(c)}}function jg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?jg(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function kg(){for(var a=window,b=Wd();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Wd(a.document)}return b}\nfunction Xd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}function lg(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}function Yd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&\nnull!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function kb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function mg(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ng||c===Zd||c===$d){if(0===b)return a;b--}else c===og&&b++}a=a.previousSibling}return null}function Bb(a){var b=a[Aa];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Lb]||c[Aa]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=mg(a);null!==\na;){if(c=a[Aa])return c;a=mg(a)}return b}a=c;c=a.parentNode}return null}function Hb(a){a=a[Aa]||a[Lb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pa(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(k(33));}function ae(a){return a[vc]||null}function pa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function pg(a,b){var c=a.stateNode;if(!c)return null;var d=td(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=\n!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(k(231,b,typeof c));return c}function qg(a,b,c){if(b=pg(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a)}function Ji(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=pa(b);for(b=c.length;0<b--;)qg(c[b],\n\"captured\",a);for(b=0;b<c.length;b++)qg(c[b],\"bubbled\",a)}}function be(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=pg(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a))}function Ki(a){a&&a.dispatchConfig.registrationName&&be(a._targetInst,null,a)}function lb(a){Kd(a,Ji)}function rg(){if(wc)return wc;var a,b=ce,c=b.length,d,e=\"value\"in Ba?Ba.value:Ba.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=\nc-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return wc=e.slice(a,1<d?1-d:void 0)}function xc(){return!0}function yc(){return!1}function R(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):\"target\"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?xc:yc;this.isPropagationStopped=yc;return this}function Li(a,b,c,d){if(this.eventPool.length){var e=\nthis.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}function Mi(a){if(!(a instanceof this))throw Error(k(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function sg(a){a.eventPool=[];a.getPooled=Li;a.release=Mi}function tg(a,b){switch(a){case \"keyup\":return-1!==Ni.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function ug(a){a=a.detail;return\"object\"===typeof a&&\"data\"in\na?a.data:null}function Oi(a,b){switch(a){case \"compositionend\":return ug(b);case \"keypress\":if(32!==b.which)return null;vg=!0;return wg;case \"textInput\":return a=b.data,a===wg&&vg?null:a;default:return null}}function Pi(a,b){if(mb)return\"compositionend\"===a||!de&&tg(a,b)?(a=rg(),wc=ce=Ba=null,mb=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;\ncase \"compositionend\":return xg&&\"ko\"!==b.locale?null:b.data;default:return null}}function yg(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!Qi[a.type]:\"textarea\"===b?!0:!1}function zg(a,b,c){a=R.getPooled(Ag.change,a,b,c);a.type=\"change\";sf(c);lb(a);return a}function Ri(a){pc(a)}function zc(a){var b=Pa(a);if(Gf(b))return a}function Si(a,b){if(\"change\"===a)return b}function Bg(){Mb&&(Mb.detachEvent(\"onpropertychange\",Cg),Nb=Mb=null)}function Cg(a){if(\"value\"===a.propertyName&&\nzc(Nb))if(a=zg(Nb,a,Ld(a)),Oa)pc(a);else{Oa=!0;try{ee(Ri,a)}finally{Oa=!1,ud()}}}function Ti(a,b,c){\"focus\"===a?(Bg(),Mb=b,Nb=c,Mb.attachEvent(\"onpropertychange\",Cg)):\"blur\"===a&&Bg()}function Ui(a,b){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return zc(Nb)}function Vi(a,b){if(\"click\"===a)return zc(b)}function Wi(a,b){if(\"input\"===a||\"change\"===a)return zc(b)}function Xi(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Yi[a])?!!b[a]:!1}function fe(a){return Xi}\nfunction Zi(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function Ob(a,b){if(Qa(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!$i.call(b,c[d])||!Qa(a[c[d]],b[c[d]]))return!1;return!0}function Dg(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ge||null==nb||nb!==Wd(c))return null;c=nb;\"selectionStart\"in c&&Xd(c)?c={start:c.selectionStart,\nend:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return Pb&&Ob(Pb,c)?null:(Pb=c,a=R.getPooled(Eg.select,he,a,b),a.type=\"select\",a.target=nb,lb(a),a)}function Ac(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function q(a,b){0>ob||(a.current=ie[ob],ie[ob]=null,ob--)}function y(a,b,c){ob++;\nie[ob]=a.current;a.current=b}function pb(a,b){var c=a.type.contextTypes;if(!c)return Ca;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function N(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Fg(a,b,c){if(B.current!==Ca)throw Error(k(168));y(B,b);y(G,c)}\nfunction Gg(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(k(108,na(b)||\"Unknown\",e));return M({},c,{},d)}function Bc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ca;Ra=B.current;y(B,a);y(G,G.current);return!0}function Hg(a,b,c){var d=a.stateNode;if(!d)throw Error(k(169));c?(a=Gg(a,b,Ra),d.__reactInternalMemoizedMergedChildContext=a,q(G),q(B),y(B,a)):q(G);y(G,c)}function Cc(){switch(aj()){case Dc:return 99;\ncase Ig:return 98;case Jg:return 97;case Kg:return 96;case Lg:return 95;default:throw Error(k(332));}}function Mg(a){switch(a){case 99:return Dc;case 98:return Ig;case 97:return Jg;case 96:return Kg;case 95:return Lg;default:throw Error(k(332));}}function Da(a,b){a=Mg(a);return bj(a,b)}function Ng(a,b,c){a=Mg(a);return je(a,b,c)}function Og(a){null===qa?(qa=[a],Ec=je(Dc,Pg)):qa.push(a);return Qg}function ha(){if(null!==Ec){var a=Ec;Ec=null;Rg(a)}Pg()}function Pg(){if(!ke&&null!==qa){ke=!0;var a=0;\ntry{var b=qa;Da(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});qa=null}catch(c){throw null!==qa&&(qa=qa.slice(a+1)),je(Dc,ha),c;}finally{ke=!1}}}function Fc(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function aa(a,b){if(a&&a.defaultProps){b=M({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function le(){Gc=qb=Hc=null}function me(a){var b=Ic.current;q(Ic);a.type._context._currentValue=b}function Sg(a,b){for(;null!==a;){var c=\na.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}function rb(a,b){Hc=a;Gc=qb=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(ia=!0),a.firstContext=null)}function W(a,b){if(Gc!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)Gc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===qb){if(null===\nHc)throw Error(k(308));qb=b;Hc.dependencies={expirationTime:0,firstContext:b,responders:null}}else qb=qb.next=b}return a._currentValue}function ne(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oe(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function Ea(a,b){a={expirationTime:a,suspenseConfig:b,tag:Tg,payload:null,callback:null,next:null};return a.next=\na}function Fa(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function Ug(a,b){var c=a.alternate;null!==c&&oe(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}function Qb(a,b,c,d){var e=a.updateQueue;Ga=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&\n(h.baseQueue=g))}if(null!==f){h=f.next;var m=e.baseState,n=0,k=null,ba=null,l=null;if(null!==h){var p=h;do{g=p.expirationTime;if(g<d){var t={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===l?(ba=l=t,k=m):l=l.next=t;g>n&&(n=g)}else{null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null});Vg(g,p.suspenseConfig);a:{var q=a,r=p;g=b;t=c;switch(r.tag){case 1:q=\nr.payload;if(\"function\"===typeof q){m=q.call(t,m,g);break a}m=q;break a;case 3:q.effectTag=q.effectTag&-4097|64;case Tg:q=r.payload;g=\"function\"===typeof q?q.call(t,m,g):q;if(null===g||void 0===g)break a;m=M({},m,g);break a;case Jc:Ga=!0}}null!==p.callback&&(a.effectTag|=32,g=e.effects,null===g?e.effects=[p]:g.push(p))}p=p.next;if(null===p||p===h)if(g=e.shared.pending,null===g)break;else p=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===l?k=m:l.next=ba;e.baseState=k;e.baseQueue=\nl;Kc(n);a.expirationTime=n;a.memoizedState=m}}function Wg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if(\"function\"!==typeof d)throw Error(k(191,d));d.call(e)}}}function Lc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:M({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}function Xg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,\nf,g):b.prototype&&b.prototype.isPureReactComponent?!Ob(c,d)||!Ob(e,f):!0}function Yg(a,b,c){var d=!1,e=Ca;var f=b.contextType;\"object\"===typeof f&&null!==f?f=W(f):(e=N(b)?Ra:B.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?pb(a,e):Ca);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Mc;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}function Zg(a,\nb,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Mc.enqueueReplaceState(b,b.state,null)}function pe(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=$g;ne(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=W(f):(f=N(b)?Ra:B.current,e.context=pb(a,f));Qb(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\n\"function\"===typeof f&&(Lc(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Mc.enqueueReplaceState(e,e.state,null),Qb(a,c,e,d),e.state=a.memoizedState);\"function\"===\ntypeof e.componentDidMount&&(a.effectTag|=4)}function Rb(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(k(309));var d=c.stateNode}if(!d)throw Error(k(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===$g&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(k(284));if(!c._owner)throw Error(k(290,\na));}return a}function Nc(a,b){if(\"textarea\"!==a.type)throw Error(k(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b,\"\"));}function ah(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,\nb),b=b.sibling;return a}function e(a,b){a=Sa(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=qe(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function m(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Rb(a,b,c),d.return=a,d;d=Oc(c.type,\nc.key,c.props,null,a.mode,d);d.ref=Rb(a,b,c);d.return=a;return d}function n(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=re(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function l(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ha(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function ba(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=qe(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===\ntypeof b&&null!==b){switch(b.$$typeof){case Pc:return c=Oc(b.type,b.key,b.props,null,a.mode,c),c.ref=Rb(a,null,b),c.return=a,c;case gb:return b=re(b,a.mode,c),b.return=a,b}if(Qc(b)||zb(b))return b=Ha(b,a.mode,c,null),b.return=a,b;Nc(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case Pc:return c.key===e?c.type===Ma?l(a,b,c.props.children,d,e):m(a,b,c,\nd):null;case gb:return c.key===e?n(a,b,c,d):null}if(Qc(c)||zb(c))return null!==e?null:l(a,b,c,d,null);Nc(a,c)}return null}function t(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=a.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case Pc:return a=a.get(null===d.key?c:d.key)||null,d.type===Ma?l(b,a,d.props.children,e,d.key):m(b,a,d,e);case gb:return a=a.get(null===d.key?c:d.key)||null,n(b,a,d,e)}if(Qc(d)||zb(d))return a=a.get(c)||null,l(b,a,d,e,null);\nNc(b,d)}return null}function q(e,g,h,m){for(var n=null,k=null,l=g,r=g=0,C=null;null!==l&&r<h.length;r++){l.index>r?(C=l,l=null):C=l.sibling;var O=p(e,l,h[r],m);if(null===O){null===l&&(l=C);break}a&&l&&null===O.alternate&&b(e,l);g=f(O,g,r);null===k?n=O:k.sibling=O;k=O;l=C}if(r===h.length)return c(e,l),n;if(null===l){for(;r<h.length;r++)l=ba(e,h[r],m),null!==l&&(g=f(l,g,r),null===k?n=l:k.sibling=l,k=l);return n}for(l=d(e,l);r<h.length;r++)C=t(l,e,r,h[r],m),null!==C&&(a&&null!==C.alternate&&l.delete(null===\nC.key?r:C.key),g=f(C,g,r),null===k?n=C:k.sibling=C,k=C);a&&l.forEach(function(a){return b(e,a)});return n}function w(e,g,h,n){var m=zb(h);if(\"function\"!==typeof m)throw Error(k(150));h=m.call(h);if(null==h)throw Error(k(151));for(var l=m=null,r=g,C=g=0,O=null,v=h.next();null!==r&&!v.done;C++,v=h.next()){r.index>C?(O=r,r=null):O=r.sibling;var q=p(e,r,v.value,n);if(null===q){null===r&&(r=O);break}a&&r&&null===q.alternate&&b(e,r);g=f(q,g,C);null===l?m=q:l.sibling=q;l=q;r=O}if(v.done)return c(e,r),m;\nif(null===r){for(;!v.done;C++,v=h.next())v=ba(e,v.value,n),null!==v&&(g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);return m}for(r=d(e,r);!v.done;C++,v=h.next())v=t(r,e,C,v.value,n),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?C:v.key),g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);a&&r.forEach(function(a){return b(e,a)});return m}return function(a,d,f,h){var m=\"object\"===typeof f&&null!==f&&f.type===Ma&&null===f.key;m&&(f=f.props.children);var n=\"object\"===typeof f&&null!==f;if(n)switch(f.$$typeof){case Pc:a:{n=\nf.key;for(m=d;null!==m;){if(m.key===n){switch(m.tag){case 7:if(f.type===Ma){c(a,m.sibling);d=e(m,f.props.children);d.return=a;a=d;break a}break;default:if(m.elementType===f.type){c(a,m.sibling);d=e(m,f.props);d.ref=Rb(a,m,f);d.return=a;a=d;break a}}c(a,m);break}else b(a,m);m=m.sibling}f.type===Ma?(d=Ha(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Oc(f.type,f.key,f.props,null,a.mode,h),h.ref=Rb(a,d,f),h.return=a,a=h)}return g(a);case gb:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo===\nf.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=re(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=qe(f,a.mode,h),d.return=a,a=d),g(a);if(Qc(f))return q(a,d,f,h);if(zb(f))return w(a,d,f,h);n&&Nc(a,f);if(\"undefined\"===typeof f&&!m)switch(a.tag){case 1:case 0:throw a=\na.type,Error(k(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}function Ta(a){if(a===Sb)throw Error(k(174));return a}function se(a,b){y(Tb,b);y(Ub,a);y(ja,Sb);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Hd(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Hd(b,a)}q(ja);y(ja,b)}function tb(a){q(ja);q(Ub);q(Tb)}function bh(a){Ta(Tb.current);var b=Ta(ja.current);var c=Hd(b,a.type);b!==c&&(y(Ub,a),y(ja,c))}function te(a){Ub.current===\na&&(q(ja),q(Ub))}function Rc(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===$d||c.data===Zd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ue(a,b){return{responder:a,props:b}}\nfunction S(){throw Error(k(321));}function ve(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!Qa(a[c],b[c]))return!1;return!0}function we(a,b,c,d,e,f){Ia=f;z=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;Sc.current=null===a||null===a.memoizedState?dj:ej;a=c(d,e);if(b.expirationTime===Ia){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(k(301));f+=1;J=K=null;b.updateQueue=null;Sc.current=fj;a=c(d,e)}while(b.expirationTime===Ia)}Sc.current=Tc;b=null!==K&&null!==K.next;\nIa=0;J=K=z=null;Uc=!1;if(b)throw Error(k(300));return a}function ub(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===J?z.memoizedState=J=a:J=J.next=a;return J}function vb(){if(null===K){var a=z.alternate;a=null!==a?a.memoizedState:null}else a=K.next;var b=null===J?z.memoizedState:J.next;if(null!==b)J=b,K=a;else{if(null===a)throw Error(k(310));K=a;a={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null};null===J?z.memoizedState=\nJ=a:J=J.next=a}return J}function Ua(a,b){return\"function\"===typeof b?b(a):b}function Vc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=K,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,m=e;do{var n=m.expirationTime;if(n<Ia){var l={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,\nnext:null};null===h?(g=h=l,f=d):h=h.next=l;n>z.expirationTime&&(z.expirationTime=n,Kc(n))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null}),Vg(n,m.suspenseConfig),d=m.eagerReducer===a?m.eagerState:a(d,m.action);m=m.next}while(null!==m&&m!==e);null===h?f=d:h.next=g;Qa(d,b.memoizedState)||(ia=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,\nc.dispatch]}function Wc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);Qa(f,b.memoizedState)||(ia=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function xe(a){var b=ub();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Ua,\nlastRenderedState:a};a=a.dispatch=ch.bind(null,z,a);return[b.memoizedState,a]}function ye(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=z.updateQueue;null===b?(b={lastEffect:null},z.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function dh(a){return vb().memoizedState}function ze(a,b,c,d){var e=ub();z.effectTag|=a;e.memoizedState=ye(1|b,c,void 0,void 0===d?null:d)}function Ae(a,b,c,d){var e=vb();\nd=void 0===d?null:d;var f=void 0;if(null!==K){var g=K.memoizedState;f=g.destroy;if(null!==d&&ve(d,g.deps)){ye(b,c,f,d);return}}z.effectTag|=a;e.memoizedState=ye(1|b,c,f,d)}function eh(a,b){return ze(516,4,a,b)}function Xc(a,b){return Ae(516,4,a,b)}function fh(a,b){return Ae(4,2,a,b)}function gh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function hh(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;\nreturn Ae(4,2,gh.bind(null,b,a),c)}function Be(a,b){}function ih(a,b){ub().memoizedState=[a,void 0===b?null:b];return a}function Yc(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function jh(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Ce(a,b,c){var d=Cc();Da(98>d?98:d,function(){a(!0)});Da(97<d?97:d,function(){var d=\nX.suspense;X.suspense=void 0===b?null:b;try{a(!1),c()}finally{X.suspense=d}})}function ch(a,b,c){var d=ka(),e=Vb.suspense;d=Va(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===z||null!==f&&f===z)Uc=!0,e.expirationTime=Ia,z.expirationTime=Ia;else{if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,\nh=f(g,c);e.eagerReducer=f;e.eagerState=h;if(Qa(h,g))return}catch(m){}finally{}Ja(a,d)}}function kh(a,b){var c=la(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function lh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?\nnull:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function De(a){if(Wa){var b=Ka;if(b){var c=b;if(!lh(a,b)){b=kb(c.nextSibling);if(!b||!lh(a,b)){a.effectTag=a.effectTag&-1025|2;Wa=!1;ra=a;return}kh(ra,c)}ra=a;Ka=kb(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Wa=!1,ra=a}}function mh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ra=a}function Zc(a){if(a!==ra)return!1;if(!Wa)return mh(a),Wa=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==\nb&&!Yd(b,a.memoizedProps))for(b=Ka;b;)kh(a,b),b=kb(b.nextSibling);mh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(k(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===og){if(0===b){Ka=kb(a.nextSibling);break a}b--}else c!==ng&&c!==Zd&&c!==$d||b++}a=a.nextSibling}Ka=null}}else Ka=ra?kb(a.stateNode.nextSibling):null;return!0}function Ee(){Ka=ra=null;Wa=!1}function T(a,b,c,d){b.child=null===a?Fe(b,null,c,d):wb(b,a.child,c,d)}function nh(a,\nb,c,d,e){c=c.render;var f=b.ref;rb(b,e);d=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,d,e);return b.child}function oh(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!Ge(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ph(a,b,g,d,e,f);a=Oc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<\nf&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Ob,c(e,d)&&a.ref===b.ref))return sa(a,b,f);b.effectTag|=1;a=Sa(g,d);a.ref=b.ref;a.return=b;return b.child=a}function ph(a,b,c,d,e,f){return null!==a&&Ob(a.memoizedProps,d)&&a.ref===b.ref&&(ia=!1,e<f)?(b.expirationTime=a.expirationTime,sa(a,b,f)):He(a,b,c,d,f)}function qh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function He(a,b,c,d,e){var f=N(c)?Ra:B.current;f=pb(b,f);rb(b,e);c=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=\na.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,c,e);return b.child}function rh(a,b,c,d,e){if(N(c)){var f=!0;Bc(b)}else f=!1;rb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Yg(b,c,d),pe(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var m=g.context,n=c.contextType;\"object\"===typeof n&&null!==n?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n));var l=c.getDerivedStateFromProps,k=\"function\"===\ntypeof l||\"function\"===typeof g.getSnapshotBeforeUpdate;k||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n);Ga=!1;var p=b.memoizedState;g.state=p;Qb(b,d,g,e);m=b.memoizedState;h!==d||p!==m||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),m=b.memoizedState),(h=Ga||Xg(b,c,h,d,p,m,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&\ng.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===typeof g.componentDidMount&&(b.effectTag|=4)):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=m),g.props=d,g.state=m,g.context=n,d=h):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,oe(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:aa(b.type,h),m=g.context,n=c.contextType,\"object\"===typeof n&&null!==\nn?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n)),l=c.getDerivedStateFromProps,(k=\"function\"===typeof l||\"function\"===typeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n),Ga=!1,m=b.memoizedState,g.state=m,Qb(b,d,g,e),p=b.memoizedState,h!==d||m!==p||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),p=b.memoizedState),(l=Ga||Xg(b,c,h,d,m,p,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\n\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,n),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,n)),\"function\"===typeof g.componentDidUpdate&&(b.effectTag|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===\na.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=n,d=l):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=256),d=!1);return Ie(a,b,c,d,f,e)}function Ie(a,b,c,d,e,f){qh(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hg(b,c,!1),sa(a,b,f);d=b.stateNode;gj.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?\nnull:d.render();b.effectTag|=1;null!==a&&g?(b.child=wb(b,a.child,null,f),b.child=wb(b,null,h,f)):T(a,b,h,f);b.memoizedState=d.state;e&&Hg(b,c,!0);return b.child}function sh(a){var b=a.stateNode;b.pendingContext?Fg(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Fg(a,b.context,!1);se(a,b.containerInfo)}function th(a,b,c){var d=b.mode,e=b.pendingProps,f=D.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===\na.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);y(D,f&1);if(null===a){void 0!==e.fallback&&De(b);if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;b.memoizedState=Je;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Fe(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;\nc=Sa(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sa(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=Je;b.child=c;return d}c=wb(b,a.child,e.children,c);b.memoizedState=null;return b.child=c}a=a.child;if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==\na;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=Je;b.child=e;return c}b.memoizedState=null;return b.child=wb(b,a,e.children,c)}function uh(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);Sg(a.return,b)}function Ke(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,\nlastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}function vh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;T(a,b,d.children,c);d=D.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&uh(a,c);else if(19===a.tag)uh(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===\na.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}y(D,d);if(0===(b.mode&2))b.memoizedState=null;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Rc(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ke(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Rc(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ke(b,\n!0,c,null,f,b.lastEffect);break;case \"together\":Ke(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}function sa(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Kc(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(k(153));if(null!==b.child){a=b.child;c=Sa(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sa(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}\nfunction $c(a,b){switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}function hj(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return N(b.type)&&(q(G),q(B)),\nnull;case 3:return tb(),q(G),q(B),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Zc(b)||(b.effectTag|=4),wh(b),null;case 5:te(b);c=Ta(Tb.current);var e=b.type;if(null!==a&&null!=b.stateNode)ij(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(k(166));return null}a=Ta(ja.current);if(Zc(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Aa]=b;d[vc]=f;switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",\nd);break;case \"video\":case \"audio\":for(a=0;a<Db.length;a++)w(Db[a],d);break;case \"source\":w(\"error\",d);break;case \"img\":case \"image\":case \"link\":w(\"error\",d);w(\"load\",d);break;case \"form\":w(\"reset\",d);w(\"submit\",d);break;case \"details\":w(\"toggle\",d);break;case \"input\":Hf(d,f);w(\"invalid\",d);oa(c,\"onChange\");break;case \"select\":d._wrapperState={wasMultiple:!!f.multiple};w(\"invalid\",d);oa(c,\"onChange\");break;case \"textarea\":Kf(d,f),w(\"invalid\",d),oa(c,\"onChange\")}Ud(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=\nf[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(a=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(a=[\"children\",\"\"+h]):db.hasOwnProperty(g)&&null!=h&&oa(c,g)}switch(e){case \"input\":mc(d);Jf(d,f,!0);break;case \"textarea\":mc(d);Mf(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&(d.onclick=uc)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;\"http://www.w3.org/1999/xhtml\"===a&&(a=Nf(e));\"http://www.w3.org/1999/xhtml\"===\na?\"script\"===e?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Aa]=b;a[vc]=d;jj(a,b,!1,!1);b.stateNode=a;g=Vd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",a);h=d;break;case \"video\":case \"audio\":for(h=0;h<Db.length;h++)w(Db[h],a);h=d;break;case \"source\":w(\"error\",a);\nh=d;break;case \"img\":case \"image\":case \"link\":w(\"error\",a);w(\"load\",a);h=d;break;case \"form\":w(\"reset\",a);w(\"submit\",a);h=d;break;case \"details\":w(\"toggle\",a);h=d;break;case \"input\":Hf(a,d);h=Cd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;case \"option\":h=Fd(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};h=M({},d,{value:void 0});w(\"invalid\",a);oa(c,\"onChange\");break;case \"textarea\":Kf(a,d);h=Gd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;default:h=d}Ud(e,h);var m=h;for(f in m)if(m.hasOwnProperty(f)){var n=\nm[f];\"style\"===f?gg(a,n):\"dangerouslySetInnerHTML\"===f?(n=n?n.__html:void 0,null!=n&&xh(a,n)):\"children\"===f?\"string\"===typeof n?(\"textarea\"!==e||\"\"!==n)&&Wb(a,n):\"number\"===typeof n&&Wb(a,\"\"+n):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(db.hasOwnProperty(f)?null!=n&&oa(c,f):null!=n&&xd(a,f,n,g))}switch(e){case \"input\":mc(a);Jf(a,d,!1);break;case \"textarea\":mc(a);Mf(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+va(d.value));break;case \"select\":a.multiple=\n!!d.multiple;c=d.value;null!=c?hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&hb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof h.onClick&&(a.onclick=uc)}lg(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)kj(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(k(166));c=Ta(Tb.current);Ta(ja.current);Zc(b)?(c=b.stateNode,d=b.memoizedProps,c[Aa]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?\nc:c.ownerDocument).createTextNode(d),c[Aa]=b,b.stateNode=c)}return null;case 13:q(D);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Zc(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=e,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||\n0!==(D.current&1))F===Xa&&(F=ad);else{if(F===Xa||F===ad)F=bd;0!==Xb&&null!==U&&(Ya(U,P),yh(U,Xb))}if(c||d)b.effectTag|=4;return null;case 4:return tb(),wh(b),null;case 10:return me(b),null;case 17:return N(b.type)&&(q(G),q(B)),null;case 19:q(D);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)$c(d,!1);else{if(F!==Xa||null!==a&&0!==(a.effectTag&64))for(f=b.child;null!==f;){a=Rc(f);if(null!==a){b.effectTag|=64;$c(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=\ne,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,e.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,\ne.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;y(D,D.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=Rc(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),$c(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!f.alternate)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*Y()-d.renderingStartTime>d.tailExpiration&&\n1<c&&(b.effectTag|=64,e=!0,$c(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=Y()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=Y(),c.sibling=null,b=D.current,y(D,e?b&1|2:b&1),c):null}throw Error(k(156,b.tag));}function lj(a,b){switch(a.tag){case 1:return N(a.type)&&(q(G),q(B)),b=a.effectTag,b&4096?\n(a.effectTag=b&-4097|64,a):null;case 3:tb();q(G);q(B);b=a.effectTag;if(0!==(b&64))throw Error(k(285));a.effectTag=b&-4097|64;return a;case 5:return te(a),null;case 13:return q(D),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return q(D),null;case 4:return tb(),null;case 10:return me(a),null;default:return null}}function Le(a,b){return{value:a,source:b,stack:Bd(b)}}function Me(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Bd(c));null!==c&&na(c.type);b=b.value;null!==a&&1===a.tag&&\nna(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function mj(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Za(a,c)}}function zh(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Za(a,c)}else b.current=null}function nj(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===\nb.type?c:aa(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(k(163));}function Ah(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Bh(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function oj(a,b,c,d){switch(c.tag){case 0:case 11:case 15:case 22:Bh(3,\nc);return;case 1:a=c.stateNode;c.effectTag&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:aa(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&Wg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Wg(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.effectTag&4&&lg(c.type,c.memoizedProps)&&\na.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&bg(c))));return;case 19:case 17:case 20:case 21:return}throw Error(k(163));}function Ch(a,b,c){\"function\"===typeof Ne&&Ne(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;Da(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Za(g,\nh)}}a=a.next}while(a!==d)})}break;case 1:zh(b);c=b.stateNode;\"function\"===typeof c.componentWillUnmount&&mj(b,c);break;case 5:zh(b);break;case 4:Dh(a,b,c)}}function Eh(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Eh(b)}function Fh(a){return 5===a.tag||3===a.tag||4===a.tag}function Gh(a){a:{for(var b=a.return;null!==\nb;){if(Fh(b)){var c=b;break a}b=b.return}throw Error(k(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(k(161));}c.effectTag&16&&(Wb(b,\"\"),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Fh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;\nelse c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Oe(a,c,b):Pe(a,c,b)}function Oe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=uc));else if(4!==d&&(a=a.child,null!==a))for(Oe(a,b,c),a=a.sibling;null!==a;)Oe(a,b,c),a=a.sibling}\nfunction Pe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Pe(a,b,c),a=a.sibling;null!==a;)Pe(a,b,c),a=a.sibling}function Dh(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(k(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=\na,m=d,n=c,l=m;;)if(Ch(h,l,n),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===m)break a;for(;null===l.sibling;){if(null===l.return||l.return===m)break a;l=l.return}l.sibling.return=l.return;l=l.sibling}g?(h=f,m=d.stateNode,8===h.nodeType?h.parentNode.removeChild(m):h.removeChild(m)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ch(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===\nb)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}function Qe(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Ah(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[vc]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&If(c,d);Vd(a,e);b=Vd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],\nh=f[e+1];\"style\"===g?gg(c,h):\"dangerouslySetInnerHTML\"===g?xh(c,h):\"children\"===g?Wb(c,h):xd(c,g,h,b)}switch(a){case \"input\":Dd(c,d);break;case \"textarea\":Lf(c,d);break;case \"select\":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?hb(c,!!d.multiple,d.defaultValue,!0):hb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(k(162));b.stateNode.nodeValue=b.memoizedProps;\nreturn;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,bg(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?d=!1:(d=!0,c=b.child,Re=Y());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null,f.style.display=fg(\"display\",e));else if(6===a.tag)a.stateNode.nodeValue=d?\n\"\":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=f;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Hh(b);return;case 19:Hh(b);return;case 17:return}throw Error(k(163));}function Hh(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=\nnew pj);b.forEach(function(b){var d=qj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}function Ih(a,b,c){c=Ea(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){cd||(cd=!0,Se=d);Me(a,b)};return c}function Jh(a,b,c){c=Ea(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Me(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&\n(null===La?La=new Set([this]):La.add(this),Me(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}function ka(){return(p&(ca|ma))!==H?1073741821-(Y()/10|0):0!==dd?dd:dd=1073741821-(Y()/10|0)}function Va(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=Cc();if(0===(b&4))return 99===d?1073741823:1073741822;if((p&ca)!==H)return P;if(null!==c)a=Fc(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=Fc(a,150,100);break;case 97:case 96:a=\nFc(a,5E3,250);break;case 95:a=2;break;default:throw Error(k(326));}null!==U&&a===P&&--a;return a}function ed(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&\n(U===e&&(Kc(b),F===bd&&Ya(e,P)),yh(e,b));return e}function fd(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Kh(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}function V(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=Og(Te.bind(null,a));else{var b=fd(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=ka();\n1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Qg&&Rg(c)}a.callbackExpirationTime=b;a.callbackPriority=d;b=1073741823===b?Og(Te.bind(null,a)):Ng(d,Lh.bind(null,a),{timeout:10*(1073741821-b)-Y()});a.callbackNode=b}}}function Lh(a,b){dd=0;if(b)return b=ka(),Ue(a,b),V(a),null;var c=fd(a);if(0!==c){b=a.callbackNode;if((p&(ca|ma))!==H)throw Error(k(327));\nxb();a===U&&c===P||$a(a,c);if(null!==t){var d=p;p|=ca;var e=Mh();do try{rj();break}catch(h){Nh(a,h)}while(1);le();p=d;gd.current=e;if(F===hd)throw b=id,$a(a,c),Ya(a,c),V(a),b;if(null===t)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=F,U=null,d){case Xa:case hd:throw Error(k(345));case Oh:Ue(a,2<c?2:c);break;case ad:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(1073741823===ta&&(e=Re+Ph-Y(),10<e)){if(jd){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=\nc;$a(a,c);break}}f=fd(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=We(ab.bind(null,a),e);break}ab(a);break;case bd:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(jd&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;$a(a,c);break}e=fd(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}1073741823!==Yb?d=10*(1073741821-Yb)-Y():1073741823===ta?d=0:(d=10*(1073741821-ta)-5E3,e=Y(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=\n(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*sj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=We(ab.bind(null,a),d);break}ab(a);break;case Xe:if(1073741823!==ta&&null!==kd){f=ta;var g=kd;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=Y()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){Ya(a,c);a.timeoutHandle=We(ab.bind(null,a),d);break}}ab(a);break;default:throw Error(k(329));}V(a);if(a.callbackNode===b)return Lh.bind(null,a)}}return null}function Te(a){var b=\na.lastExpiredTime;b=0!==b?b:1073741823;if((p&(ca|ma))!==H)throw Error(k(327));xb();a===U&&b===P||$a(a,b);if(null!==t){var c=p;p|=ca;var d=Mh();do try{tj();break}catch(e){Nh(a,e)}while(1);le();p=c;gd.current=d;if(F===hd)throw c=id,$a(a,b),Ya(a,b),V(a),c;if(null!==t)throw Error(k(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;U=null;ab(a);V(a)}return null}function uj(){if(null!==bb){var a=bb;bb=null;a.forEach(function(a,c){Ue(c,a);V(c)});ha()}}function Qh(a,b){var c=p;p|=1;try{return a(b)}finally{p=\nc,p===H&&ha()}}function Rh(a,b){var c=p;p&=-2;p|=Ye;try{return a(b)}finally{p=c,p===H&&ha()}}function $a(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,vj(c));if(null!==t)for(c=t.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&(q(G),q(B));break;case 3:tb();q(G);q(B);break;case 5:te(d);break;case 4:tb();break;case 13:q(D);break;case 19:q(D);break;case 10:me(d)}c=c.return}U=a;t=Sa(a.current,null);\nP=b;F=Xa;id=null;Yb=ta=1073741823;kd=null;Xb=0;jd=!1}function Nh(a,b){do{try{le();Sc.current=Tc;if(Uc)for(var c=z.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}Ia=0;J=K=z=null;Uc=!1;if(null===t||null===t.return)return F=hd,id=b,t=null;a:{var e=a,f=t.return,g=t,h=b;b=P;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&\"object\"===typeof h&&\"function\"===typeof h.then){var m=h;if(0===(g.mode&2)){var n=g.alternate;n?(g.updateQueue=n.updateQueue,g.memoizedState=\nn.memoizedState,g.expirationTime=n.expirationTime):(g.updateQueue=null,g.memoizedState=null)}var l=0!==(D.current&1),k=f;do{var p;if(p=13===k.tag){var q=k.memoizedState;if(null!==q)p=null!==q.dehydrated?!0:!1;else{var w=k.memoizedProps;p=void 0===w.fallback?!1:!0!==w.unstable_avoidThisFallback?!0:l?!1:!0}}if(p){var y=k.updateQueue;if(null===y){var r=new Set;r.add(m);k.updateQueue=r}else y.add(m);if(0===(k.mode&2)){k.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var O=\nEa(1073741823,null);O.tag=Jc;Fa(g,O)}g.expirationTime=1073741823;break a}h=void 0;g=b;var v=e.pingCache;null===v?(v=e.pingCache=new wj,h=new Set,v.set(m,h)):(h=v.get(m),void 0===h&&(h=new Set,v.set(m,h)));if(!h.has(g)){h.add(g);var x=xj.bind(null,e,m,g);m.then(x,x)}k.effectTag|=4096;k.expirationTime=b;break a}k=k.return}while(null!==k);h=Error((na(g.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+\nBd(g))}F!==Xe&&(F=Oh);h=Le(h,g);k=f;do{switch(k.tag){case 3:m=h;k.effectTag|=4096;k.expirationTime=b;var A=Ih(k,m,b);Ug(k,A);break a;case 1:m=h;var u=k.type,B=k.stateNode;if(0===(k.effectTag&64)&&(\"function\"===typeof u.getDerivedStateFromError||null!==B&&\"function\"===typeof B.componentDidCatch&&(null===La||!La.has(B)))){k.effectTag|=4096;k.expirationTime=b;var H=Jh(k,m,b);Ug(k,H);break a}}k=k.return}while(null!==k)}t=Sh(t)}catch(cj){b=cj;continue}break}while(1)}function Mh(a){a=gd.current;gd.current=\nTc;return null===a?Tc:a}function Vg(a,b){a<ta&&2<a&&(ta=a);null!==b&&a<Yb&&2<a&&(Yb=a,kd=b)}function Kc(a){a>Xb&&(Xb=a)}function tj(){for(;null!==t;)t=Th(t)}function rj(){for(;null!==t&&!yj();)t=Th(t)}function Th(a){var b=zj(a.alternate,a,P);a.memoizedProps=a.pendingProps;null===b&&(b=Sh(a));Uh.current=null;return b}function Sh(a){t=a;do{var b=t.alternate;a=t.return;if(0===(t.effectTag&2048)){b=hj(b,t,P);if(1===P||1!==t.childExpirationTime){for(var c=0,d=t.child;null!==d;){var e=d.expirationTime,\nf=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}t.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=t.firstEffect),a.lastEffect=t.lastEffect),1<t.effectTag&&(null!==a.lastEffect?a.lastEffect.nextEffect=t:a.firstEffect=t,a.lastEffect=t))}else{b=lj(t);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=\n2048)}b=t.sibling;if(null!==b)return b;t=a}while(null!==t);F===Xa&&(F=Xe);return null}function Ve(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function ab(a){var b=Cc();Da(99,Aj.bind(null,a,b));return null}function Aj(a,b){do xb();while(null!==Zb);if((p&(ca|ma))!==H)throw Error(k(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(k(177));a.callbackNode=null;a.callbackExpirationTime=\n0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ve(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(t=U=null,P=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=p;p|=ma;Uh.current=null;Ze=tc;var g=kg();if(Xd(g)){if(\"selectionStart\"in\ng)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var m=h.getSelection&&h.getSelection();if(m&&0!==m.rangeCount){h=m.anchorNode;var n=m.anchorOffset,q=m.focusNode;m=m.focusOffset;try{h.nodeType,q.nodeType}catch(sb){h=null;break a}var ba=0,w=-1,y=-1,B=0,D=0,r=g,z=null;b:for(;;){for(var v;;){r!==h||0!==n&&3!==r.nodeType||(w=ba+n);r!==q||0!==m&&3!==r.nodeType||(y=ba+m);3===r.nodeType&&(ba+=r.nodeValue.length);if(null===(v=r.firstChild))break;z=r;\nr=v}for(;;){if(r===g)break b;z===h&&++B===n&&(w=ba);z===q&&++D===m&&(y=ba);if(null!==(v=r.nextSibling))break;r=z;z=r.parentNode}r=v}h=-1===w||-1===y?null:{start:w,end:y}}else h=null}h=h||{start:0,end:0}}else h=null;$e={activeElementDetached:null,focusedElem:g,selectionRange:h};tc=!1;l=e;do try{Bj()}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=e;do try{for(g=a,h=b;null!==l;){var x=l.effectTag;x&16&&Wb(l.stateNode,\"\");if(x&128){var A=l.alternate;if(null!==A){var u=\nA.ref;null!==u&&(\"function\"===typeof u?u(null):u.current=null)}}switch(x&1038){case 2:Gh(l);l.effectTag&=-3;break;case 6:Gh(l);l.effectTag&=-3;Qe(l.alternate,l);break;case 1024:l.effectTag&=-1025;break;case 1028:l.effectTag&=-1025;Qe(l.alternate,l);break;case 4:Qe(l.alternate,l);break;case 8:n=l,Dh(g,n,h),Eh(n)}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);u=$e;A=kg();x=u.focusedElem;h=u.selectionRange;if(A!==x&&x&&x.ownerDocument&&jg(x.ownerDocument.documentElement,\nx)){null!==h&&Xd(x)&&(A=h.start,u=h.end,void 0===u&&(u=A),\"selectionStart\"in x?(x.selectionStart=A,x.selectionEnd=Math.min(u,x.value.length)):(u=(A=x.ownerDocument||document)&&A.defaultView||window,u.getSelection&&(u=u.getSelection(),n=x.textContent.length,g=Math.min(h.start,n),h=void 0===h.end?g:Math.min(h.end,n),!u.extend&&g>h&&(n=h,h=g,g=n),n=ig(x,g),q=ig(x,h),n&&q&&(1!==u.rangeCount||u.anchorNode!==n.node||u.anchorOffset!==n.offset||u.focusNode!==q.node||u.focusOffset!==q.offset)&&(A=A.createRange(),\nA.setStart(n.node,n.offset),u.removeAllRanges(),g>h?(u.addRange(A),u.extend(q.node,q.offset)):(A.setEnd(q.node,q.offset),u.addRange(A))))));A=[];for(u=x;u=u.parentNode;)1===u.nodeType&&A.push({element:u,left:u.scrollLeft,top:u.scrollTop});\"function\"===typeof x.focus&&x.focus();for(x=0;x<A.length;x++)u=A[x],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}tc=!!Ze;$e=Ze=null;a.current=c;l=e;do try{for(x=a;null!==l;){var F=l.effectTag;F&36&&oj(x,l.alternate,l);if(F&128){A=void 0;var E=l.ref;if(null!==\nE){var G=l.stateNode;switch(l.tag){case 5:A=G;break;default:A=G}\"function\"===typeof E?E(A):E.current=A}}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=null;Cj();p=f}else a.current=c;if(ld)ld=!1,Zb=a,$b=b;else for(l=e;null!==l;)b=l.nextEffect,l.nextEffect=null,l=b;b=a.firstPendingTime;0===b&&(La=null);1073741823===b?a===af?ac++:(ac=0,af=a):ac=0;\"function\"===typeof bf&&bf(c.stateNode,d);V(a);if(cd)throw cd=!1,a=Se,Se=null,a;if((p&Ye)!==H)return null;\nha();return null}function Bj(){for(;null!==l;){var a=l.effectTag;0!==(a&256)&&nj(l.alternate,l);0===(a&512)||ld||(ld=!0,Ng(97,function(){xb();return null}));l=l.nextEffect}}function xb(){if(90!==$b){var a=97<$b?97:$b;$b=90;return Da(a,Dj)}}function Dj(){if(null===Zb)return!1;var a=Zb;Zb=null;if((p&(ca|ma))!==H)throw Error(k(331));var b=p;p|=ma;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Ah(5,c),Bh(5,c)}}catch(d){if(null===\na)throw Error(k(330));Za(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}p=b;ha();return!0}function Vh(a,b,c){b=Le(c,b);b=Ih(a,b,1073741823);Fa(a,b);a=ed(a,1073741823);null!==a&&V(a)}function Za(a,b){if(3===a.tag)Vh(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Vh(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===La||!La.has(d))){a=Le(b,a);a=Jh(c,a,1073741823);Fa(c,a);c=ed(c,1073741823);null!==\nc&&V(c);break}}c=c.return}}function xj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);U===a&&P===c?F===bd||F===ad&&1073741823===ta&&Y()-Re<Ph?$a(a,P):jd=!0:Kh(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,V(a)))}function qj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=ka(),b=Va(b,a,null));a=ed(a,b);null!==a&&V(a)}function Ej(a){if(\"undefined\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=\nb.inject(a);bf=function(a,e){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(f){}};Ne=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}function Fj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=\nnull;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Ge(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Gj(a){if(\"function\"===typeof a)return Ge(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===zd)return 11;if(a===Ad)return 14}return 2}function Sa(a,b){var c=a.alternate;null===c?(c=la(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=\nnull,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function Oc(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)Ge(a)&&(g=1);else if(\"string\"===typeof a)g=\n5;else a:switch(a){case Ma:return Ha(c.children,e,f,b);case Hj:g=8;e|=7;break;case Af:g=8;e|=1;break;case kc:return a=la(12,c,b,e|8),a.elementType=kc,a.type=kc,a.expirationTime=f,a;case lc:return a=la(13,c,b,e),a.type=lc,a.elementType=lc,a.expirationTime=f,a;case yd:return a=la(19,c,b,e),a.elementType=yd,a.expirationTime=f,a;default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Cf:g=10;break a;case Bf:g=9;break a;case zd:g=11;break a;case Ad:g=14;break a;case Ef:g=16;d=null;break a;case Df:g=\n22;break a}throw Error(k(130,null==a?a:typeof a,\"\"));}b=la(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ha(a,b,c,d){a=la(7,a,d,b);a.expirationTime=c;return a}function qe(a,b,c){a=la(6,a,null,b);a.expirationTime=c;return a}function re(a,b,c){b=la(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Ij(a,b,c){this.tag=b;this.current=null;this.containerInfo=\na;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Kh(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function Ya(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;\nc<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}function yh(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Ue(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction md(a,b,c,d){var e=b.current,f=ka(),g=Vb.suspense;f=Va(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(Na(c)!==c||1!==c.tag)throw Error(k(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(N(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(k(171));}if(1===c.tag){var m=c.type;if(N(m)){c=Gg(c,m,h);break a}}c=h}else c=Ca;null===b.context?b.context=c:b.pendingContext=c;b=Ea(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);Fa(e,b);Ja(e,f);return f}function cf(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Wh(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function df(a,b){Wh(a,b);(a=a.alternate)&&Wh(a,b)}function ef(a,b,c){c=null!=c&&!0===c.hydrate;var d=new Ij(a,b,c),e=la(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ne(e);a[Lb]=d.current;c&&0!==b&&\nxi(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}function bc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function Jj(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new ef(a,0,b?{hydrate:!0}:void 0)}function nd(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;\nif(\"function\"===typeof e){var h=e;e=function(){var a=cf(g);h.call(a)}}md(b,g,a,e)}else{f=c._reactRootContainer=Jj(c,d);g=f._internalRoot;if(\"function\"===typeof e){var m=e;e=function(){var a=cf(g);m.call(a)}}Rh(function(){md(b,g,a,e)})}return cf(g)}function Kj(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:gb,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}function Xh(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;\nif(!bc(b))throw Error(k(200));return Kj(a,b,null,c)}if(!ea)throw Error(k(227));var ki=function(a,b,c,d,e,f,g,h,m){var n=Array.prototype.slice.call(arguments,3);try{b.apply(c,n)}catch(C){this.onError(C)}},yb=!1,gc=null,hc=!1,pd=null,li={onError:function(a){yb=!0;gc=a}},td=null,rf=null,mf=null,ic=null,cb={},jc=[],qd={},db={},rd={},wa=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),M=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,\nsd=null,eb=null,fb=null,ee=function(a,b){return a(b)},eg=function(a,b,c,d,e){return a(b,c,d,e)},vd=function(){},vf=ee,Oa=!1,wd=!1,Z=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,Lj=Z.unstable_cancelCallback,ff=Z.unstable_now,$f=Z.unstable_scheduleCallback,Mj=Z.unstable_shouldYield,Yh=Z.unstable_requestPaint,Pd=Z.unstable_runWithPriority,Nj=Z.unstable_getCurrentPriorityLevel,Oj=Z.unstable_ImmediatePriority,Zh=Z.unstable_UserBlockingPriority,ag=Z.unstable_NormalPriority,Pj=Z.unstable_LowPriority,\nQj=Z.unstable_IdlePriority,oi=/^[: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]*$/,wf=Object.prototype.hasOwnProperty,yf={},xf={},E={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){E[a]=\nnew L(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];E[b]=new L(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){E[a]=new L(a,2,!1,a.toLowerCase(),null,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){E[a]=new L(a,2,!1,a,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(a){E[a]=\nnew L(a,3,!1,a.toLowerCase(),null,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){E[a]=new L(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){E[a]=new L(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){E[a]=new L(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){E[a]=new L(a,5,!1,a.toLowerCase(),null,!1)});var gf=/[\\-:]([a-z])/g,hf=function(a){return a[1].toUpperCase()};\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=\na.replace(gf,hf);E[b]=new L(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!1)});E.xlinkHref=new L(\"xlinkHref\",1,\n!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!0)});var da=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;da.hasOwnProperty(\"ReactCurrentDispatcher\")||(da.ReactCurrentDispatcher={current:null});da.hasOwnProperty(\"ReactCurrentBatchConfig\")||(da.ReactCurrentBatchConfig={suspense:null});var si=/^(.*)[\\\\\\/]/,Q=\"function\"===typeof Symbol&&Symbol.for,Pc=Q?Symbol.for(\"react.element\"):60103,gb=Q?Symbol.for(\"react.portal\"):\n60106,Ma=Q?Symbol.for(\"react.fragment\"):60107,Af=Q?Symbol.for(\"react.strict_mode\"):60108,kc=Q?Symbol.for(\"react.profiler\"):60114,Cf=Q?Symbol.for(\"react.provider\"):60109,Bf=Q?Symbol.for(\"react.context\"):60110,Hj=Q?Symbol.for(\"react.concurrent_mode\"):60111,zd=Q?Symbol.for(\"react.forward_ref\"):60112,lc=Q?Symbol.for(\"react.suspense\"):60113,yd=Q?Symbol.for(\"react.suspense_list\"):60120,Ad=Q?Symbol.for(\"react.memo\"):60115,Ef=Q?Symbol.for(\"react.lazy\"):60116,Df=Q?Symbol.for(\"react.block\"):60121,zf=\"function\"===\ntypeof Symbol&&Symbol.iterator,od,xh=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(\"http://www.w3.org/2000/svg\"!==a.namespaceURI||\"innerHTML\"in a)a.innerHTML=b;else{od=od||document.createElement(\"div\");od.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=od.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),Wb=function(a,\nb){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b},ib={animationend:nc(\"Animation\",\"AnimationEnd\"),animationiteration:nc(\"Animation\",\"AnimationIteration\"),animationstart:nc(\"Animation\",\"AnimationStart\"),transitionend:nc(\"Transition\",\"TransitionEnd\")},Id={},Of={};wa&&(Of=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete ib.animationend.animation,delete ib.animationiteration.animation,delete ib.animationstart.animation),\"TransitionEvent\"in\nwindow||delete ib.transitionend.transition);var $h=oc(\"animationend\"),ai=oc(\"animationiteration\"),bi=oc(\"animationstart\"),ci=oc(\"transitionend\"),Db=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Pf=new (\"function\"===typeof WeakMap?WeakMap:Map),Ab=null,wi=function(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;\nif(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)lf(a,b[d],c[d]);else b&&lf(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},qc=[],Rd=!1,fa=[],xa=null,ya=null,za=null,Eb=new Map,Fb=new Map,Jb=[],Nd=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),\nyi=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \"),dg={},cg=new Map,Td=new Map,Rj=[\"abort\",\"abort\",$h,\"animationEnd\",ai,\"animationIteration\",bi,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\n\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",ci,\"transitionEnd\",\"waiting\",\"waiting\"];Sd(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),\n0);Sd(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);Sd(Rj,2);(function(a,b){for(var c=0;c<a.length;c++)Td.set(a[c],b)})(\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),0);var Hi=Zh,Gi=Pd,tc=!0,Kb={animationIterationCount:!0,\nborderImageOutset:!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,\nstrokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sj=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(Kb).forEach(function(a){Sj.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Kb[b]=Kb[a]})});var Ii=M({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}),ng=\"$\",og=\"/$\",$d=\"$?\",Zd=\"$!\",Ze=null,$e=null,We=\"function\"===typeof setTimeout?setTimeout:void 0,vj=\"function\"===\ntypeof clearTimeout?clearTimeout:void 0,jf=Math.random().toString(36).slice(2),Aa=\"__reactInternalInstance$\"+jf,vc=\"__reactEventHandlers$\"+jf,Lb=\"__reactContainere$\"+jf,Ba=null,ce=null,wc=null;M(R.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=xc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==\ntypeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=xc)},persist:function(){this.isPersistent=xc},isPersistent:yc,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=yc;this._dispatchInstances=this._dispatchListeners=null}});R.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||\nDate.now()},defaultPrevented:null,isTrusted:null};R.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;M(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=M({},c.Interface,a);b.extend=c.extend;sg(b);return b};sg(R);var Tj=R.extend({data:null}),Uj=R.extend({data:null}),Ni=[9,13,27,32],de=wa&&\"CompositionEvent\"in window,cc=null;wa&&\"documentMode\"in document&&(cc=document.documentMode);var Vj=wa&&\"TextEvent\"in window&&\n!cc,xg=wa&&(!de||cc&&8<cc&&11>=cc),wg=String.fromCharCode(32),ua={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\"},\ndependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},vg=!1,mb=!1,Wj={eventTypes:ua,extractEvents:function(a,b,c,d,e){var f;if(de)b:{switch(a){case \"compositionstart\":var g=ua.compositionStart;break b;case \"compositionend\":g=ua.compositionEnd;break b;case \"compositionupdate\":g=\nua.compositionUpdate;break b}g=void 0}else mb?tg(a,c)&&(g=ua.compositionEnd):\"keydown\"===a&&229===c.keyCode&&(g=ua.compositionStart);g?(xg&&\"ko\"!==c.locale&&(mb||g!==ua.compositionStart?g===ua.compositionEnd&&mb&&(f=rg()):(Ba=d,ce=\"value\"in Ba?Ba.value:Ba.textContent,mb=!0)),e=Tj.getPooled(g,b,c,d),f?e.data=f:(f=ug(c),null!==f&&(e.data=f)),lb(e),f=e):f=null;(a=Vj?Oi(a,c):Pi(a,c))?(b=Uj.getPooled(ua.beforeInput,b,c,d),b.data=a,lb(b)):b=null;return null===f?b:null===b?f:[f,b]}},Qi={color:!0,date:!0,\ndatetime:!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},Ag={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}},Mb=null,Nb=null,kf=!1;wa&&(kf=Tf(\"input\")&&(!document.documentMode||9<document.documentMode));var Xj={eventTypes:Ag,_isInputEventSupported:kf,extractEvents:function(a,b,c,d,e){e=b?Pa(b):window;var f=\ne.nodeName&&e.nodeName.toLowerCase();if(\"select\"===f||\"input\"===f&&\"file\"===e.type)var g=Si;else if(yg(e))if(kf)g=Wi;else{g=Ui;var h=Ti}else(f=e.nodeName)&&\"input\"===f.toLowerCase()&&(\"checkbox\"===e.type||\"radio\"===e.type)&&(g=Vi);if(g&&(g=g(a,b)))return zg(g,c,d);h&&h(a,e,b);\"blur\"===a&&(a=e._wrapperState)&&a.controlled&&\"number\"===e.type&&Ed(e,\"number\",e.value)}},dc=R.extend({view:null,detail:null}),Yi={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"},di=0,ei=0,fi=!1,gi=!1,ec=dc.extend({screenX:null,\nscreenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:fe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if(\"movementX\"in a)return a.movementX;var b=di;di=a.screenX;return fi?\"mousemove\"===a.type?a.screenX-b:0:(fi=!0,0)},movementY:function(a){if(\"movementY\"in a)return a.movementY;var b=ei;ei=a.screenY;return gi?\"mousemove\"===\na.type?a.screenY-b:0:(gi=!0,0)}}),hi=ec.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),fc={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\n\"pointerover\"]}},Yj={eventTypes:fc,extractEvents:function(a,b,c,d,e){var f=\"mouseover\"===a||\"pointerover\"===a,g=\"mouseout\"===a||\"pointerout\"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?Bb(b):null,null!==b){var h=Na(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null}}else g=null;if(g===b)return null;if(\"mouseout\"===a||\"mouseover\"===a){var m=ec;var n=fc.mouseLeave;\nvar l=fc.mouseEnter;var k=\"mouse\"}else if(\"pointerout\"===a||\"pointerover\"===a)m=hi,n=fc.pointerLeave,l=fc.pointerEnter,k=\"pointer\";a=null==g?f:Pa(g);f=null==b?f:Pa(b);n=m.getPooled(n,g,c,d);n.type=k+\"leave\";n.target=a;n.relatedTarget=f;c=m.getPooled(l,b,c,d);c.type=k+\"enter\";c.target=f;c.relatedTarget=a;d=g;k=b;if(d&&k)a:{m=d;l=k;g=0;for(a=m;a;a=pa(a))g++;a=0;for(b=l;b;b=pa(b))a++;for(;0<g-a;)m=pa(m),g--;for(;0<a-g;)l=pa(l),a--;for(;g--;){if(m===l||m===l.alternate)break a;m=pa(m);l=pa(l)}m=null}else m=\nnull;l=m;for(m=[];d&&d!==l;){g=d.alternate;if(null!==g&&g===l)break;m.push(d);d=pa(d)}for(d=[];k&&k!==l;){g=k.alternate;if(null!==g&&g===l)break;d.push(k);k=pa(k)}for(k=0;k<m.length;k++)be(m[k],\"bubbled\",n);for(k=d.length;0<k--;)be(d[k],\"captured\",c);return 0===(e&64)?[n]:[n,c]}},Qa=\"function\"===typeof Object.is?Object.is:Zi,$i=Object.prototype.hasOwnProperty,Zj=wa&&\"documentMode\"in document&&11>=document.documentMode,Eg={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},\ndependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},nb=null,he=null,Pb=null,ge=!1,ak={eventTypes:Eg,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=Jd(e);f=rd.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pa(b):window;switch(a){case \"focus\":if(yg(e)||\"true\"===e.contentEditable)nb=e,he=b,Pb=null;break;case \"blur\":Pb=he=nb=null;\nbreak;case \"mousedown\":ge=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":return ge=!1,Dg(c,d);case \"selectionchange\":if(Zj)break;case \"keydown\":case \"keyup\":return Dg(c,d)}return null}},bk=R.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ck=R.extend({clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),dk=dc.extend({relatedTarget:null}),ek={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",\nDel:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},fk={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",\n224:\"Meta\"},gk=dc.extend({key:function(a){if(a.key){var b=ek[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=Ac(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?fk[a.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:fe,charCode:function(a){return\"keypress\"===a.type?Ac(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===\na.type?Ac(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),hk=ec.extend({dataTransfer:null}),ik=dc.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:fe}),jk=R.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),kk=ec.extend({deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?\n-a.wheelDelta:0},deltaZ:null,deltaMode:null}),lk={eventTypes:dg,extractEvents:function(a,b,c,d,e){e=cg.get(a);if(!e)return null;switch(a){case \"keypress\":if(0===Ac(c))return null;case \"keydown\":case \"keyup\":a=gk;break;case \"blur\":case \"focus\":a=dk;break;case \"click\":if(2===c.button)return null;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":a=ec;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":a=\nhk;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":a=ik;break;case $h:case ai:case bi:a=bk;break;case ci:a=jk;break;case \"scroll\":a=dc;break;case \"wheel\":a=kk;break;case \"copy\":case \"cut\":case \"paste\":a=ck;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":a=hi;break;default:a=R}b=a.getPooled(e,b,c,d);lb(b);return b}};(function(a){if(ic)throw Error(k(101));\nic=Array.prototype.slice.call(a);nf()})(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));(function(a,b,c){td=a;rf=b;mf=c})(ae,Hb,Pa);pf({SimpleEventPlugin:lk,EnterLeaveEventPlugin:Yj,ChangeEventPlugin:Xj,SelectEventPlugin:ak,BeforeInputEventPlugin:Wj});var ie=[],ob=-1,Ca={},B={current:Ca},G={current:!1},Ra=Ca,bj=Pd,je=$f,Rg=Lj,aj=Nj,Dc=Oj,Ig=Zh,Jg=ag,Kg=Pj,Lg=Qj,Qg={},yj=Mj,Cj=void 0!==Yh?Yh:function(){},qa=null,\nEc=null,ke=!1,ii=ff(),Y=1E4>ii?ff:function(){return ff()-ii},Ic={current:null},Hc=null,qb=null,Gc=null,Tg=0,Jc=2,Ga=!1,Vb=da.ReactCurrentBatchConfig,$g=(new ea.Component).refs,Mc={isMounted:function(a){return(a=a._reactInternalFiber)?Na(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;d=Va(d,a,e);e=Ea(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;\nd=Va(d,a,e);e=Ea(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=ka(),d=Vb.suspense;c=Va(c,a,d);d=Ea(c,d);d.tag=Jc;void 0!==b&&null!==b&&(d.callback=b);Fa(a,d);Ja(a,c)}},Qc=Array.isArray,wb=ah(!0),Fe=ah(!1),Sb={},ja={current:Sb},Ub={current:Sb},Tb={current:Sb},D={current:0},Sc=da.ReactCurrentDispatcher,X=da.ReactCurrentBatchConfig,Ia=0,z=null,K=null,J=null,Uc=!1,Tc={readContext:W,useCallback:S,useContext:S,\nuseEffect:S,useImperativeHandle:S,useLayoutEffect:S,useMemo:S,useReducer:S,useRef:S,useState:S,useDebugValue:S,useResponder:S,useDeferredValue:S,useTransition:S},dj={readContext:W,useCallback:ih,useContext:W,useEffect:eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ze(4,2,gh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ze(4,2,a,b)},useMemo:function(a,b){var c=ub();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=\nub();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=ch.bind(null,z,a);return[d.memoizedState,a]},useRef:function(a){var b=ub();a={current:a};return b.memoizedState=a},useState:xe,useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=xe(a),d=c[0],e=c[1];eh(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=\nxe(!1),c=b[0];b=b[1];return[ih(Ce.bind(null,b,a),[b,a]),c]}},ej={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Vc,useRef:dh,useState:function(a){return Vc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Vc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Vc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,\nb,a),[b,a]),c]}},fj={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Wc,useRef:dh,useState:function(a){return Wc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Wc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Wc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,b,a),[b,a]),c]}},ra=null,Ka=null,Wa=\n!1,gj=da.ReactCurrentOwner,ia=!1,Je={dehydrated:null,retryTime:0};var jj=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};var wh=function(a){};var ij=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ta(ja.current);a=null;switch(c){case \"input\":f=\nCd(g,f);d=Cd(g,d);a=[];break;case \"option\":f=Fd(g,f);d=Fd(g,d);a=[];break;case \"select\":f=M({},f,{value:void 0});d=M({},d,{value:void 0});a=[];break;case \"textarea\":f=Gd(g,f);d=Gd(g,d);a=[];break;default:\"function\"!==typeof f.onClick&&\"function\"===typeof d.onClick&&(g.onclick=uc)}Ud(c,d);var h,m;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if(\"style\"===h)for(m in g=f[h],g)g.hasOwnProperty(m)&&(c||(c={}),c[m]=\"\");else\"dangerouslySetInnerHTML\"!==h&&\"children\"!==h&&\"suppressContentEditableWarning\"!==\nh&&\"suppressHydrationWarning\"!==h&&\"autoFocus\"!==h&&(db.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var k=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&k!==g&&(null!=k||null!=g))if(\"style\"===h)if(g){for(m in g)!g.hasOwnProperty(m)||k&&k.hasOwnProperty(m)||(c||(c={}),c[m]=\"\");for(m in k)k.hasOwnProperty(m)&&g[m]!==k[m]&&(c||(c={}),c[m]=k[m])}else c||(a||(a=[]),a.push(h,c)),c=k;else\"dangerouslySetInnerHTML\"===h?(k=k?k.__html:void 0,g=g?g.__html:void 0,null!=k&&g!==k&&(a=a||\n[]).push(h,k)):\"children\"===h?g===k||\"string\"!==typeof k&&\"number\"!==typeof k||(a=a||[]).push(h,\"\"+k):\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&(db.hasOwnProperty(h)?(null!=k&&oa(e,h),a||g===k||(a=[])):(a=a||[]).push(h,k))}c&&(a=a||[]).push(\"style\",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};var kj=function(a,b,c,d){c!==d&&(b.effectTag|=4)};var pj=\"function\"===typeof WeakSet?WeakSet:Set,wj=\"function\"===typeof WeakMap?WeakMap:Map,sj=Math.ceil,gd=da.ReactCurrentDispatcher,\nUh=da.ReactCurrentOwner,H=0,Ye=8,ca=16,ma=32,Xa=0,hd=1,Oh=2,ad=3,bd=4,Xe=5,p=H,U=null,t=null,P=0,F=Xa,id=null,ta=1073741823,Yb=1073741823,kd=null,Xb=0,jd=!1,Re=0,Ph=500,l=null,cd=!1,Se=null,La=null,ld=!1,Zb=null,$b=90,bb=null,ac=0,af=null,dd=0,Ja=function(a,b){if(50<ac)throw ac=0,af=null,Error(k(185));a=ed(a,b);if(null!==a){var c=Cc();1073741823===b?(p&Ye)!==H&&(p&(ca|ma))===H?Te(a):(V(a),p===H&&ha()):V(a);(p&4)===H||98!==c&&99!==c||(null===bb?bb=new Map([[a,b]]):(c=bb.get(a),(void 0===c||c>b)&&bb.set(a,\nb)))}};var zj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||G.current)ia=!0;else{if(d<c){ia=!1;switch(b.tag){case 3:sh(b);Ee();break;case 5:bh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:N(b.type)&&Bc(b);break;case 4:se(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;y(Ic,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;\nif(0!==d&&d>=c)return th(a,b,c);y(D,D.current&1);b=sa(a,b,c);return null!==b?b.sibling:null}y(D,D.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return vh(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);y(D,D.current);if(!d)return null}return sa(a,b,c)}ia=!1}}else ia=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=pb(b,B.current);rb(b,c);e=we(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(N(d)){var f=!0;Bc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ne(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Lc(b,d,g,a);e.updater=Mc;b.stateNode=e;e._reactInternalFiber=b;pe(b,d,a,c);b=Ie(null,b,d,!0,f,c)}else b.tag=0,T(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ri(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Gj(e);a=aa(e,a);switch(f){case 0:b=He(null,b,e,a,c);break a;case 1:b=rh(null,b,e,a,c);break a;case 11:b=nh(null,b,e,a,c);break a;case 14:b=oh(null,b,e,aa(e.type,a),d,c);break a}throw Error(k(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),He(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),rh(a,b,d,e,c);\ncase 3:sh(b);d=b.updateQueue;if(null===a||null===d)throw Error(k(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;oe(a,b);Qb(b,d,null,c);d=b.memoizedState.element;if(d===e)Ee(),b=sa(a,b,c);else{if(e=b.stateNode.hydrate)Ka=kb(b.stateNode.containerInfo.firstChild),ra=b,e=Wa=!0;if(e)for(c=Fe(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else T(a,b,d,c),Ee();b=b.child}return b;case 5:return bh(b),null===a&&De(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Yd(d,e)?g=null:null!==f&&Yd(d,f)&&(b.effectTag|=16),qh(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(T(a,b,g,c),b=b.child),b;case 6:return null===a&&De(b),null;case 13:return th(a,b,c);case 4:return se(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=wb(b,null,d,c):T(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),nh(a,b,d,e,c);case 7:return T(a,b,b.pendingProps,c),b.child;case 8:return T(a,\nb,b.pendingProps.children,c),b.child;case 12:return T(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;y(Ic,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=Qa(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!G.current){b=sa(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var m=h.dependencies;if(null!==\nm){g=h.child;for(var l=m.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Ea(c,null),l.tag=Jc,Fa(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);Sg(h.return,c);m.expirationTime<c&&(m.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=\ng}T(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,rb(b,c),e=W(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,T(a,b,d,c),b.child;case 14:return e=b.type,f=aa(e,b.pendingProps),f=aa(e.type,f),oh(a,b,e,f,d,c);case 15:return ph(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,N(d)?(a=!0,Bc(b)):a=!1,rb(b,c),Yg(b,d,e),pe(b,d,e,c),Ie(null,\nb,d,!0,a,c);case 19:return vh(a,b,c)}throw Error(k(156,b.tag));};var bf=null,Ne=null,la=function(a,b,c,d){return new Fj(a,b,c,d)};ef.prototype.render=function(a){md(a,this._internalRoot,null,null)};ef.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;md(null,a,null,function(){b[Lb]=null})};var Di=function(a){if(13===a.tag){var b=Fc(ka(),150,100);Ja(a,b);df(a,b)}};var Yf=function(a){13===a.tag&&(Ja(a,3),df(a,3))};var Bi=function(a){if(13===a.tag){var b=ka();b=Va(b,a,null);Ja(a,\nb);df(a,b)}};sd=function(a,b,c){switch(b){case \"input\":Dd(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=ae(d);if(!e)throw Error(k(90));Gf(d);Dd(d,e)}}}break;case \"textarea\":Lf(a,c);break;case \"select\":b=c.value,null!=b&&hb(a,!!c.multiple,b,!1)}};(function(a,b,c,d){ee=a;eg=b;vd=c;vf=d})(Qh,function(a,b,c,d,e){var f=p;p|=4;\ntry{return Da(98,a.bind(null,b,c,d,e))}finally{p=f,p===H&&ha()}},function(){(p&(1|ca|ma))===H&&(uj(),xb())},function(a,b){var c=p;p|=2;try{return a(b)}finally{p=c,p===H&&ha()}});var mk={Events:[Hb,Pa,ae,pf,qd,lb,function(a){Kd(a,Ki)},sf,tf,sc,pc,xb,{current:!1}]};(function(a){var b=a.findFiberByHostInstance;return Ej(M({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Sf(a);\nreturn null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Bb,bundleType:0,version:\"16.14.0\",rendererPackageName:\"react-dom\"});I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mk;I.createPortal=Xh;I.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===\nb){if(\"function\"===typeof a.render)throw Error(k(188));throw Error(k(268,Object.keys(a)));}a=Sf(b);a=null===a?null:a.stateNode;return a};I.flushSync=function(a,b){if((p&(ca|ma))!==H)throw Error(k(187));var c=p;p|=1;try{return Da(99,a.bind(null,b))}finally{p=c,ha()}};I.hydrate=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!0,c)};I.render=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!1,c)};I.unmountComponentAtNode=function(a){if(!bc(a))throw Error(k(40));return a._reactRootContainer?\n(Rh(function(){nd(null,null,a,!1,function(){a._reactRootContainer=null;a[Lb]=null})}),!0):!1};I.unstable_batchedUpdates=Qh;I.unstable_createPortal=function(a,b){return Xh(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};I.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!bc(c))throw Error(k(200));if(null==a||void 0===a._reactInternalFiber)throw Error(k(38));return nd(a,b,c,!1,d)};I.version=\"16.14.0\"});\n"}
  </script>
  <script>
    // graphiql/graphiql.min.js
    ${"window.GraphiQL=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=87)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return x})),n.d(t,\"x\",(function(){return _})),n.d(t,\"R\",(function(){return k})),n.d(t,\"w\",(function(){return w})),n.d(t,\"N\",(function(){return C})),n.d(t,\"u\",(function(){return S})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return D})),n.d(t,\"T\",(function(){return I})),n.d(t,\"y\",(function(){return A})),n.d(t,\"E\",(function(){return L})),n.d(t,\"l\",(function(){return j})),n.d(t,\"F\",(function(){return F})),n.d(t,\"m\",(function(){return M})),n.d(t,\"J\",(function(){return R})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return B})),n.d(t,\"n\",(function(){return q})),n.d(t,\"O\",(function(){return H})),n.d(t,\"v\",(function(){return z})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return K})),n.d(t,\"D\",(function(){return Q})),n.d(t,\"k\",(function(){return W})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),n.d(t,\"e\",(function(){return X})),n.d(t,\"U\",(function(){return Z})),n.d(t,\"z\",(function(){return ee})),n.d(t,\"M\",(function(){return te})),n.d(t,\"t\",(function(){return ne})),n.d(t,\"B\",(function(){return re})),n.d(t,\"K\",(function(){return ie})),n.d(t,\"r\",(function(){return oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Te})),n.d(t,\"b\",(function(){return Oe})),n.d(t,\"Q\",(function(){return _e}));var r=n(27),i=n(15),o=n(3),a=n(18),s=n(29),l=n(21),c=n(4),u=n(26),f=n(25),p=n(20),d=n(17);function h(e){return e}var m=n(24),v=n(22),g=n(1),y=n(9),b=n(2),T=n(86);function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function x(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)||R(e)||V(e)}function _(e){if(!x(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL type.\"));return e}function k(e){return Object(f.a)(e,ce)}function w(e){if(!k(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Scalar type.\"));return e}function C(e){return Object(f.a)(e,ue)}function S(e){if(!C(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Object type.\"));return e}function N(e){return Object(f.a)(e,ge)}function D(e){if(!N(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Interface type.\"));return e}function I(e){return Object(f.a)(e,ye)}function A(e){if(!I(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Union type.\"));return e}function L(e){return Object(f.a)(e,Te)}function j(e){if(!L(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Enum type.\"));return e}function F(e){return Object(f.a)(e,Oe)}function M(e){if(!F(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Input Object type.\"));return e}function R(e){return Object(f.a)(e,$)}function P(e){if(!R(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL List type.\"));return e}function V(e){return Object(f.a)(e,X)}function U(e){if(!V(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function B(e){return k(e)||L(e)||F(e)||Z(e)&&B(e.ofType)}function q(e){if(!B(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL input type.\"));return e}function H(e){return k(e)||C(e)||N(e)||I(e)||L(e)||Z(e)&&H(e.ofType)}function z(e){if(!H(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL output type.\"));return e}function G(e){return k(e)||L(e)}function K(e){if(!G(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL leaf type.\"));return e}function Q(e){return C(e)||N(e)||I(e)}function W(e){if(!Q(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL composite type.\"));return e}function Y(e){return N(e)||I(e)}function J(e){if(!Y(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL abstract type.\"));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=_(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return R(e)||V(e)}function ee(e){if(!Z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL wrapping type.\"));return e}function te(e){return x(e)&&!V(e)}function ne(e){if(!te(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL nullable type.\"));return e}function re(e){if(e)return V(e)?e.ofType:e}function ie(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)}function oe(e){if(!ie(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL named type.\"));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return\"function\"==typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),X.prototype.toString=function(){return String(this.ofType)+\"!\"},Object.defineProperty(X.prototype,i.c,{get:function(){return\"GraphQLNonNull\"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e){return i(Object(T.a)(e))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.serialize||\"function\"==typeof e.serialize||Object(c.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(c.a)(0,\"\".concat(this.name,' must provide both \"parseValue\" and \"parseLiteral\" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"==typeof e.isTypeOf||Object(c.a)(0,\"\".concat(this.name,' must provide \"isTypeOf\" as a function, ')+\"but got: \".concat(Object(o.a)(e.isTypeOf),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),n}function pe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object.\")),!(\"isDeprecated\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"==typeof t.resolve||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field resolver must be a function if \")+\"provided, but got: \".concat(Object(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}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(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.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(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||Object(c.a)(0,\"Must provide Array of types or a function which returns such an array for Union \".concat(e.name,\".\")),t}Object(m.a)(ye);var Te=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,\"\".concat(t,\" values must be an object with value names as keys.\")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' must refer to an object with a \"value\" key ')+\"representing an internal value but got: \".concat(Object(o.a)(r),\".\")),!(\"isDeprecated\"in r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.a)(this._values,(function(e){return e.name})),\"string\"==typeof e.name||Object(c.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(void 0===t)throw new b.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!=typeof e){var t=Object(o.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+Ee(this,t))}var n=this.getValue(e);if(null==n)throw new b.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==g.a.ENUM){var n=Object(y.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+Ee(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(y.a)(e);throw new b.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function Ee(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Te);var Oe=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=xe.bind(void 0,e),\"string\"==typeof e.name||Object(c.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,t=Object(s.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function xe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){return!(\"resolve\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field has a resolve property, but Input Types cannot define resolvers.\")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function _e(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(Oe)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({NAME:\"Name\",DOCUMENT:\"Document\",OPERATION_DEFINITION:\"OperationDefinition\",VARIABLE_DEFINITION:\"VariableDefinition\",SELECTION_SET:\"SelectionSet\",FIELD:\"Field\",ARGUMENT:\"Argument\",FRAGMENT_SPREAD:\"FragmentSpread\",INLINE_FRAGMENT:\"InlineFragment\",FRAGMENT_DEFINITION:\"FragmentDefinition\",VARIABLE:\"Variable\",INT:\"IntValue\",FLOAT:\"FloatValue\",STRING:\"StringValue\",BOOLEAN:\"BooleanValue\",NULL:\"NullValue\",ENUM:\"EnumValue\",LIST:\"ListValue\",OBJECT:\"ObjectValue\",OBJECT_FIELD:\"ObjectField\",DIRECTIVE:\"Directive\",NAMED_TYPE:\"NamedType\",LIST_TYPE:\"ListType\",NON_NULL_TYPE:\"NonNullType\",SCHEMA_DEFINITION:\"SchemaDefinition\",OPERATION_TYPE_DEFINITION:\"OperationTypeDefinition\",SCALAR_TYPE_DEFINITION:\"ScalarTypeDefinition\",OBJECT_TYPE_DEFINITION:\"ObjectTypeDefinition\",FIELD_DEFINITION:\"FieldDefinition\",INPUT_VALUE_DEFINITION:\"InputValueDefinition\",INTERFACE_TYPE_DEFINITION:\"InterfaceTypeDefinition\",UNION_TYPE_DEFINITION:\"UnionTypeDefinition\",ENUM_TYPE_DEFINITION:\"EnumTypeDefinition\",ENUM_VALUE_DEFINITION:\"EnumValueDefinition\",INPUT_OBJECT_TYPE_DEFINITION:\"InputObjectTypeDefinition\",DIRECTIVE_DEFINITION:\"DirectiveDefinition\",SCHEMA_EXTENSION:\"SchemaExtension\",SCALAR_TYPE_EXTENSION:\"ScalarTypeExtension\",OBJECT_TYPE_EXTENSION:\"ObjectTypeExtension\",INTERFACE_TYPE_EXTENSION:\"InterfaceTypeExtension\",UNION_TYPE_EXTENSION:\"UnionTypeExtension\",ENUM_TYPE_EXTENSION:\"EnumTypeExtension\",INPUT_OBJECT_TYPE_EXTENSION:\"InputObjectTypeExtension\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(17),i=n(15),o=n(39),a=n(60);function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e){var t=\"function\"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf(\"[native code]\")))return e;var n;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function p(e,t,n){return(p=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function d(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,a,s,f=(t=p,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function p(e,t,n,i,a,s,l){var d,h,m,v,g;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,p),g=f.call(this,e);var y,b=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,T=n;!T&&b&&(T=null===(y=b[0].loc)||void 0===y?void 0:y.source);var E,O=i;!O&&b&&(O=b.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),O&&0===O.length&&(O=void 0),i&&n?E=i.map((function(e){return Object(o.a)(n,e)})):b&&(E=b.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var x=l;if(null==x&&null!=s){var _=s.extensions;Object(r.a)(_)&&(x=_)}return Object.defineProperties(u(g),{name:{value:\"GraphQLError\"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(d=E)&&void 0!==d?d:void 0,enumerable:null!=E},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=b?b:void 0},source:{value:null!==(h=T)&&void 0!==h?h:void 0},positions:{value:null!==(m=O)&&void 0!==m?m:void 0},originalError:{value:s},extensions:{value:null!==(v=x)&&void 0!==v?v:void 0,enumerable:null!=x}}),(null==s?void 0:s.stack)?(Object.defineProperty(u(g),\"stack\",{value:s.stack,writable:!0,configurable:!0}),c(g)):(Error.captureStackTrace?Error.captureStackTrace(u(g),p):Object.defineProperty(u(g),\"stack\",{value:Error().stack,writable:!0,configurable:!0}),g)}return n=p,(a=[{key:\"toString\",value:function(){return g(this)}},{key:i.c,get:function(){return\"Object\"}}])&&l(n.prototype,a),s&&l(n,s),p}(f(Error));function g(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+=\"\\n\\n\"+Object(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var l=s[o];t+=\"\\n\\n\"+Object(a.b)(e.source,l)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(38);function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case\"string\":return JSON.stringify(e);case\"function\":return e.name?\"[function \".concat(e.name,\"]\"):\"[function]\";case\"object\":return null===e?\"null\":function(e,t){if(-1!==t.indexOf(e))return\"[Circular]\";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if(\"function\"==typeof t)return t;if(\"function\"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return\"[]\";if(t.length>2)return\"[Array]\";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push(\"... 1 more item\"):r>1&&i.push(\"... \".concat(r,\" more items\"));return\"[\"+i.join(\", \")+\"]\"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return\"{}\";if(t.length>2)return\"[\"+function(e){var t=Object.prototype.toString.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\");if(\"Object\"===t&&\"function\"==typeof e.constructor){var n=e.constructor.name;if(\"string\"==typeof n&&\"\"!==n)return n}return t}(e)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({QUERY:\"QUERY\",MUTATION:\"MUTATION\",SUBSCRIPTION:\"SUBSCRIPTION\",FIELD:\"FIELD\",FRAGMENT_DEFINITION:\"FRAGMENT_DEFINITION\",FRAGMENT_SPREAD:\"FRAGMENT_SPREAD\",INLINE_FRAGMENT:\"INLINE_FRAGMENT\",VARIABLE_DEFINITION:\"VARIABLE_DEFINITION\",SCHEMA:\"SCHEMA\",SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",FIELD_DEFINITION:\"FIELD_DEFINITION\",ARGUMENT_DEFINITION:\"ARGUMENT_DEFINITION\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",ENUM_VALUE:\"ENUM_VALUE\",INPUT_OBJECT:\"INPUT_OBJECT\",INPUT_FIELD_DEFINITION:\"INPUT_FIELD_DEFINITION\"})},function(e,t,n){\"use strict\";n.d(t,\"d\",(function(){return f})),n.d(t,\"b\",(function(){return p})),n.d(t,\"e\",(function(){return h})),n.d(t,\"a\",(function(){return m})),n.d(t,\"c\",(function(){return v})),n.d(t,\"g\",(function(){return g})),n.d(t,\"f\",(function(){return y}));var r=n(32),i=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},o=n(3),a=n(17),s=n(1),l=n(9),c=n(2),u=n(0);var f=new u.g({name:\"Int\",description:\"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!i(n))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(t)));if(n>2147483647||n<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \"+Object(o.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.a.INT)throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(l.a)(e)),e);var t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e.value),e);return t}});var p=new u.g({name:\"Float\",description:\"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!Object(r.a)(n))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.FLOAT&&e.kind!==s.a.INT)throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(l.a)(e)),e);return parseFloat(e.value)}});function d(e){if(Object(a.a)(e)){if(\"function\"==typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if(\"function\"==typeof e.toJSON)return e.toJSON()}return e}var h=new u.g({name:\"String\",description:\"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.\",serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(\"boolean\"==typeof t)return t?\"true\":\"false\";if(Object(r.a)(t))return t.toString();throw new c.a(\"String cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"!=typeof e)throw new c.a(\"String cannot represent a non string value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.STRING)throw new c.a(\"String cannot represent a non string value: \".concat(Object(l.a)(e)),e);return e.value}});var m=new u.g({name:\"Boolean\",description:\"The `Boolean` scalar type represents `true` or `false`.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t;if(Object(r.a)(t))return 0!==t;throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(t)))},parseValue:function(e){if(\"boolean\"!=typeof e)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.BOOLEAN)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(l.a)(e)),e);return e.value}});var v=new u.g({name:\"ID\",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(i(t))return String(t);throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"==typeof e)return e;if(i(e))return e.toString();throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseLiteral:function(e){if(e.kind!==s.a.STRING&&e.kind!==s.a.INT)throw new c.a(\"ID cannot represent a non-string and non-integer value: \"+Object(l.a)(e),e);return e.value}}),g=Object.freeze([h,f,p,m,v]);function y(e){return g.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),n.d(t,\"__DirectiveLocation\",(function(){return d})),n.d(t,\"__Type\",(function(){return h})),n.d(t,\"__Field\",(function(){return m})),n.d(t,\"__InputValue\",(function(){return v})),n.d(t,\"__EnumValue\",(function(){return g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return T})),n.d(t,\"TypeMetaFieldDef\",(function(){return E})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return O})),n.d(t,\"introspectionTypes\",(function(){return x})),n.d(t,\"isIntrospectionType\",(function(){return _}));var r=n(7),i=n(3),o=n(11),a=n(9),s=n(5),l=n(31),c=n(6),u=n(0),f=new u.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{description:{type:c.e,resolve:function(e){return e.description}},types:{description:\"A list of all types supported by this server.\",type:Object(u.e)(Object(u.d)(Object(u.e)(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:Object(u.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(u.e)(Object(u.d)(Object(u.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:Object(u.e)(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:Object(u.e)(Object(u.d)(Object(u.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}}}}}),d=new u.a({name:\"__DirectiveLocation\",description:\"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.\",values:{QUERY:{value:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.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(u.e)(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.a)(!1,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(u.d)(Object(u.e)(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n||(i=i.filter((function(e){return!e.isDeprecated}))),i}return null}},interfaces:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(u.d)(Object(u.e)(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n||(r=r.filter((function(e){return!e.isDeprecated}))),r}}},inputFields:{type:Object(u.d)(Object(u.e)(v)),resolve:function(e){if(Object(u.F)(e))return Object(r.a)(e.getFields())}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(l.a)(n,t);return r?Object(a.a)(r):null}}}}}),g=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),T={name:\"__schema\",type:Object(u.e)(f),description:\"Access the current type schema of this server.\",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},E={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:Object(u.e)(c.e),defaultValue:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},O={name:\"__typename\",type:Object(u.e)(c.e),description:\"The name of the current Object type at runtime.\",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},x=Object.freeze([f,p,d,h,m,v,g,b]);function _(e){return x.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(19),i=n(28);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+u(\" = \",r)+u(\" \",l(i,\" \"))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return l([u(\"\",t,\": \")+n+u(\"(\",l(r,\", \"),\")\"),l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+u(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",u(\"on \",t),l(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(u(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(u(\"\",l(i,\" \"),\" \"))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,\"description\"===t?\"\":\"  \"):JSON.stringify(n)},BooleanValue:function(e){return e.value?\"true\":\"false\"},NullValue:function(){return\"null\"},EnumValue:function(e){return e.value},ListValue:function(e){return\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+u(\"(\",l(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l([\"schema\",l(t,\" \"),c(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+\": \"+r+u(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,u(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),c(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),c(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),c(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),c(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),c(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function c(e){return e&&0!==e.length?\"{\\n\"+f(l(e,\"\\n\"))+\"\\n}\":\"\"}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return t?e+t+n:\"\"}function f(e){return e&&\"  \"+e.replace(/\\n/g,\"\\n  \")}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return e&&e.some(p)}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\\/\\d/i.test(e),r=/MSIE \\d/.test(e),i=/Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(e),o=/Edge\\/(\\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\\//.test(e),c=l&&/Qt\\/\\d+\\.\\d+/.test(e),u=!o&&/Chrome\\//.test(e),f=/Opera\\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(e),h=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\\/\\w+/.test(e),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\\bCrOS\\b/.test(e),T=/win/i.test(t),E=f&&e.match(/Version\\/(\\d*\\.\\d*)/);E&&(E=Number(E[1])),E&&E>=15&&(f=!1,l=!0);var O=y&&(c||f&&(null==E||E<12.11)),x=n||a&&s>=9;function _(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var k,w=function(e,t){var n=e.className,r=_(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:\"\")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return C(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),\"string\"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function D(e,t,n,r){var i=N(e,t,n,r);return i.setAttribute(\"role\",\"presentation\"),i}function I(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function A(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function L(e,t){var n=e.className;_(t).test(n)||(e.className+=(n?\" \":\"\")+t)}function j(e,t){for(var n=e.split(\" \"),r=0;r<n.length;r++)n[r]&&!_(n[r]).test(t)&&(t+=\" \"+n[r]);return t}k=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd(\"character\",n),r.moveStart(\"character\",t),r};var F=function(e){e.select()};function M(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function P(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\\s\\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf(\"\\t\",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=M(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}V.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},V.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var B={toString:function(){return\"CodeMirror.Pass\"}},q={scroll:!1},H={origin:\"*mouse\"},z={origin:\"+move\"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(\"\\t\",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var K=[\"\"];function Q(e){for(;K.length<=e;)K.push(W(K)+\" \");return K[e]}function W(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&R(t,n),n}var X=/[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;function Z(e){return/\\w/.test(e)||e>\"\u0080\"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf(\"\\\\w\")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&\"before\"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&\"before\"!=n?r=i:ae=i)}return null!=r?r:ae}var le=function(){var e=/[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var c,u=a.length,f=[],p=0;p<u;++p)f.push((c=a.charCodeAt(p))<=247?\"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\".charAt(c):1424<=c&&c<=1524?\"R\":1536<=c&&c<=1785?\"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\".charAt(c-1536):1774<=c&&c<=2220?\"r\":8192<=c&&c<=8203?\"w\":8204==c?\"b\":\"L\");for(var d=0,h=l;d<u;++d){var m=f[d];\"m\"==m?f[d]=h:h=m}for(var v=0,g=l;v<u;++v){var y=f[v];\"1\"==y&&\"r\"==g?f[v]=\"n\":n.test(y)&&(g=y,\"r\"==y&&(f[v]=\"R\"))}for(var b=1,T=f[0];b<u-1;++b){var E=f[b];\"+\"==E&&\"1\"==T&&\"1\"==f[b+1]?f[b]=\"1\":\",\"!=E||T!=f[b+1]||\"1\"!=T&&\"n\"!=T||(f[b]=T),T=E}for(var O=0;O<u;++O){var x=f[O];if(\",\"==x)f[O]=\"N\";else if(\"%\"==x){var _=void 0;for(_=O+1;_<u&&\"%\"==f[_];++_);for(var k=O&&\"!\"==f[O-1]||_<u&&\"1\"==f[_]?\"1\":\"N\",w=O;w<_;++w)f[w]=k;O=_-1}}for(var C=0,S=l;C<u;++C){var N=f[C];\"L\"==S&&\"1\"==N?f[C]=\"L\":n.test(N)&&(S=N)}for(var D=0;D<u;++D)if(t.test(f[D])){var I=void 0;for(I=D+1;I<u&&t.test(f[I]);++I);for(var A=\"L\"==(D?f[D-1]:l),L=A==(\"L\"==(I<u?f[I]:l))?A?\"L\":\"R\":l,j=D;j<I;++j)f[j]=L;D=I-1}for(var F,M=[],R=0;R<u;)if(r.test(f[R])){var P=R;for(++R;R<u&&r.test(f[R]);++R);M.push(new o(0,P,R))}else{var V=R,U=M.length,B=\"rtl\"==s?1:0;for(++R;R<u&&\"L\"!=f[R];++R);for(var q=V;q<R;)if(i.test(f[q])){V<q&&(M.splice(U,0,new o(1,V,q)),U+=B);var H=q;for(++q;q<R&&i.test(f[q]);++q);M.splice(U,0,new o(2,H,q)),U+=B,V=q}else++q;V<R&&M.splice(U,0,new o(1,V,R))}return\"ltr\"==s&&(1==M[0].level&&(F=a.match(/^\\s+/))&&(M[0].from=F[0].length,M.unshift(new o(0,0,F[0].length))),1==W(M).level&&(F=a.match(/\\s+$/))&&(W(M).to-=F[0].length,M.push(new o(0,u-F[0].length,u)))),\"rtl\"==s?M.reverse():M}}();function ce(e,t){var n=e.order;return null==n&&(n=e.order=le(e.text,t)),n}var ue=[],fe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(\"on\"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||ue).concat(n)}};function pe(e,t){return e._handlers&&e._handlers[t]||ue}function de(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(\"on\"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return\"string\"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),he(e,n||t.type,e,t),Ee(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function ge(e,t){return pe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Te(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){be(e),Te(e)}function xe(e){return e.target||e.srcElement}function _e(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var ke,we,Ce=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function Se(e){if(null==ke){var t=N(\"span\",\"\u200B\");S(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(ke=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ke?N(\"span\",\"\u200B\"):N(\"span\",\"\u00A0\",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=we)return we;var t=S(e,document.createTextNode(\"A\u062EA\")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(we=r.right-n.right<3)}var De,Ie=3!=\"\\n\\nb\".split(/\\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(\"\\n\",t);-1==i&&(i=e.length);var o=e.slice(t,\"\\r\"==e.charAt(i-1)?i-1:i),a=o.indexOf(\"\\r\");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\\r\\n?|\\n/)},Ae=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},Le=\"oncopy\"in(De=N(\"div\"))||(De.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof De.oncopy),je=null,Fe={},Me={};function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function Pe(e){if(\"string\"==typeof e&&Me.hasOwnProperty(e))e=Me[e];else if(e&&\"string\"==typeof e.name&&Me.hasOwnProperty(e.name)){var t=Me[e.name];\"string\"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(e))return Pe(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Pe(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Ve(e,t){t=Pe(t);var n=Fe[t.name];if(!n)return Ve(e,\"text/plain\");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r[\"_\"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function Be(e,t){R(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function qe(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 He(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 ze(e,t,n){return!e.startState||e.startState(t,n)}var Ge=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ke(e,t){if((t-=e.first)<0||t>=e.size)throw new Error(\"There is no line \"+(t+e.first)+\" in the document.\");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function We(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Je(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function $e(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Xe(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,Ke(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,Ke(e,t.line).text.length)}function lt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}Ge.prototype.eol=function(){return this.pos>=this.string.length},Ge.prototype.sol=function(){return this.pos==this.lineStart},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(\"string\"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ge.prototype.skipToEnd=function(){this.pos=this.string.length},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ge.prototype.backUp=function(e){this.pos-=e},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=P(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.indentation=function(){return P(this.string,null,this.tabSize)-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.match=function(e,t,n){if(\"string\"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ft(e,t,n,r){var i=[e.state.modeGen],o={};Tt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Tt(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+\" \":\"\")+\"overlay \"+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function pt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=dt(e,Je(t)),i=t.text.length>e.options.maxHighlightLength&&qe(e.doc.mode,r.state),o=ft(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ut(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ke(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ct?c.lookAhead:0)<=o.modeFrontier))return s;var u=P(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&Ke(r,o-1).stateAfter,s=a?ut.fromSaved(r,a,o):new ut(r,ze(r.mode),o);return r.iter(o,t,(function(n){ht(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function ht(e,t,n,r){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,n);for(o.start=o.pos=r||0,\"\"==t&&mt(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=He(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=He(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error(\"Mode \"+e.name+\" failed to advance stream.\")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,\"\"),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ut.fromSaved=function(e,t,n){return t instanceof ct?new ut(e,qe(e.mode,t.state),n,t.lookAhead):new ut(e,qe(e.mode,t),n)},ut.prototype.save=function(e){var t=!1!==e?qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ke(a,(t=st(a,t)).line),c=dt(e,t.line,n),u=new Ge(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=vt(s,u,c.state),r&&o.push(new gt(u,i,qe(a.mode,c.state)));return r?o:new gt(u,i,c.state)}function bt(e,t){if(e)for(;;){var n=e.match(/(?:^|\\s+)line-(background-)?(\\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?\"bgClass\":\"textClass\";null==t[r]?t[r]=n[2]:new RegExp(\"(?:^|\\\\s)\"+n[2]+\"(?:$|\\\\s)\").test(t[r])||(t[r]+=\" \"+n[2])}return e}function Tt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ge(t,e.options.tabSize,r),p=e.options.addModeClass&&[null];for(\"\"==t&&bt(mt(n,r.state),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&ht(e,t,r,f.pos),f.pos=t.length,l=null):l=bt(vt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||u!=l){for(;c<f.start;)i(c=Math.min(f.start,c+5e3),u);u=l}f.start=f.pos}for(;c<f.pos;){var h=Math.min(f.pos,c+5e3);i(h,u),c=h}}var Et=!1,Ot=!1;function xt(e,t,n){this.marker=e,this.from=t,this.to=n}function _t(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function kt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function wt(e,t){if(t.full)return null;var n=Xe(e,t.from.line)&&Ke(e,t.from.line).markedSpans,r=Xe(e,t.to.line)&&Ke(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&\"bookmark\"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new xt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&\"bookmark\"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new xt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=W(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=_t(l,p.marker);d?c&&(p.to=null==d.to?null:d.to+u):p.to=i}}if(l)for(var h=0;h<l.length;++h){var m=l[h];null!=m.to&&(m.to+=u),null==m.from?_t(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=Ct(s)),l&&l!=s&&(l=Ct(l));var v=[s];if(!c){var g,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(g||(g=[])).push(new xt(s[b].marker,null,null));for(var T=0;T<y;++T)v.push(g);v.push(l)}return v}function Ct(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function St(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Nt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Dt(e){return e.inclusiveLeft?-1:0}function It(e){return e.inclusiveRight?1:0}function At(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||Dt(e)-Dt(t);if(o)return-o;var a=tt(r.to,i.to)||It(e)-It(t);return a||t.id-e.id}function Lt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||At(n,i.marker)<0)&&(n=i.marker);return n}function jt(e){return Lt(e,!0)}function Ft(e){return Lt(e,!1)}function Mt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||At(n,o.marker)<0)&&(n=o.marker)}return n}function Rt(e,t,n,r,i){var o=Ke(e,t),a=Ot&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=tt(c.from,n)||Dt(l.marker)-Dt(i),f=tt(c.to,r)||It(l.marker)-It(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.to,n)>=0:tt(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.from,r)<=0:tt(c.from,r)<0)))return!0}}}function Pt(e){for(var t;t=jt(e);)e=t.find(-1,!0).line;return e}function Vt(e,t){var n=Ke(e,t),r=Pt(n);return n==r?t:Je(r)}function Ut(e,t){if(t>e.lastLine())return t;var n,r=Ke(e,t);if(!Bt(e,r))return t;for(;n=Ft(r);)r=n.find(1,!0).line;return Je(r)+1}function Bt(e,t){var n=Ot&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&qt(e,t,r))return!0}}function qt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return qt(e,r.line,_t(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&qt(e,t,i))return!0}function Ht(e){for(var t=0,n=(e=Pt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function zt(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=jt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Ft(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Gt(e){var t=e.display,n=e.doc;t.maxLine=Ke(n,n.first),t.maxLineLength=zt(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=zt(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Kt=function(e,t,n){this.text=e,Nt(this,t),this.height=n?n(this):1};function Qt(e){e.parent=null,St(e)}Kt.prototype.lineNo=function(){return Je(this)},ye(Kt);var Wt={},Yt={};function Jt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Yt:Wt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function $t(e,t){var n=D(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:D(\"pre\",[n],\"CodeMirror-line\"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(\"lineWrapping\")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Zt,Ne(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,pt(e,o,t!=e.display.externalMeasured&&Je(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=j(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=j(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Se(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\\bcm-tab\\b/.test(s.className)||s.querySelector&&s.querySelector(\".cm-tab\"))&&(r.content.className=\"cm-tab-wrap-hack\")}return he(e,\"renderLine\",e,t.line,r.pre),r.pre.className&&(r.textClass=j(r.pre.className,r.textClass||\"\")),r}function Xt(e){var t=N(\"span\",\"\u2022\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Zt(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e;for(var n=t,r=\"\",i=0;i<e.length;i++){var o=e.charAt(i);\" \"!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=\"\u00A0\"),r+=o,n=\" \"==o}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){c=document.createDocumentFragment();for(var d=0;;){f.lastIndex=d;var h=f.exec(t),m=h?h.index-d:t.length-d;if(m){var v=document.createTextNode(u.slice(d,d+m));a&&s<9?c.appendChild(N(\"span\",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var g=void 0;if(\"\\t\"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(g=c.appendChild(N(\"span\",Q(b),\"cm-tab\"))).setAttribute(\"role\",\"presentation\"),g.setAttribute(\"cm-text\",\"\\t\"),e.col+=b}else\"\\r\"==h[0]||\"\\n\"==h[0]?((g=c.appendChild(N(\"span\",\"\\r\"==h[0]?\"\u240D\":\"\u2424\",\"cm-invalidchar\"))).setAttribute(\"cm-text\",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute(\"cm-text\",h[0]),a&&s<9?c.appendChild(N(\"span\",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||o){var T=n||\"\";r&&(T+=r),i&&(T+=i);var E=N(\"span\",[c],T,o);if(l)for(var O in l)l.hasOwnProperty(O)&&\"style\"!=O&&\"class\"!=O&&E.setAttribute(O,l[O]);return e.content.appendChild(E)}e.content.appendChild(c)}}function en(e,t){return function(n,r,i,o,a,s,l){i=i?i+\" cm-force-border\":\"cm-force-border\";for(var c=n.pos,u=c+r.length;;){for(var f=void 0,p=0;p<t.length&&!((f=t[p]).to>c&&f.from<=c);p++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function tn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement(\"span\"))),i.setAttribute(\"cm-marker\",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,p,d=i.length,h=0,m=1,v=\"\",g=0;;){if(g==h){l=c=u=s=\"\",p=null,f=null,g=1/0;for(var y=[],b=void 0,T=0;T<r.length;++T){var E=r[T],O=E.marker;if(\"bookmark\"==O.type&&E.from==h&&O.widgetNode)y.push(O);else if(E.from<=h&&(null==E.to||E.to>h||O.collapsed&&E.to==h&&E.from==h)){if(null!=E.to&&E.to!=h&&g>E.to&&(g=E.to,c=\"\"),O.className&&(l+=\" \"+O.className),O.css&&(s=(s?s+\";\":\"\")+O.css),O.startStyle&&E.from==h&&(u+=\" \"+O.startStyle),O.endStyle&&E.to==g&&(b||(b=[])).push(O.endStyle,E.to),O.title&&((p||(p={})).title=O.title),O.attributes)for(var x in O.attributes)(p||(p={}))[x]=O.attributes[x];O.collapsed&&(!f||At(f.marker,O)<0)&&(f=E)}else E.from>h&&g>E.from&&(g=E.from)}if(b)for(var _=0;_<b.length;_+=2)b[_+1]==g&&(c+=\" \"+b[_]);if(!f||f.from==h)for(var k=0;k<y.length;++k)tn(t,0,y[k]);if(f&&(f.from||0)==h){if(tn(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;for(var w=Math.min(d,g);;){if(v){var C=h+v.length;if(!f){var S=C>w?v.slice(0,w-h):v;t.addToken(t,S,a?a+l:l,u,h+S.length==g?c:\"\",s,p)}if(C>=w){v=v.slice(w-h),h=w;break}h=C,u=\"\"}v=i.slice(o,o=n[m++]),a=Jt(n[m++],t.cm.options)}}else for(var N=1;N<n.length;N+=2)t.addToken(t,i.slice(o,o=n[N]),Jt(n[N+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Ft(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Je(W(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Bt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,Ke(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function ln(e,t){var n=pe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],setTimeout(cn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function cn(){var e=sn;sn=null;for(var t=0;t<e.length;++t)e[t]()}function un(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];\"text\"==o?dn(e,t):\"gutter\"==o?mn(e,t,n,r):\"class\"==o?hn(e,t):\"widget\"==o&&vn(e,t,r)}t.changes=null}function fn(e){return e.node==e.text&&(e.node=N(\"div\",null,null,\"position: relative\"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function pn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):$t(e,t)}function dn(e,t){var n=t.text.className,r=pn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,hn(e,t)):n&&(t.text.className=n)}function hn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+\" \"+(t.line.bgClass||\"\"):t.line.bgClass;if(n&&(n+=\" CodeMirror-linebackground\"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=fn(t);t.background=r.insertBefore(N(\"div\",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?fn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className=\"\");var n=t.textClass?t.textClass+\" \"+(t.line.textClass||\"\"):t.line.textClass;t.text.className=n||\"\"}function mn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=fn(t);t.gutterBackground=N(\"div\",null,\"CodeMirror-gutter-background \"+t.line.gutterClass,\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px; width: \"+r.gutterTotalWidth+\"px\"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=fn(t),s=t.gutter=N(\"div\",null,\"CodeMirror-gutter-wrapper\",\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px\");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=\" \"+t.line.gutterClass),!e.options.lineNumbers||o&&o[\"CodeMirror-linenumbers\"]||(t.lineNumber=s.appendChild(N(\"div\",Ze(e.options,n),\"CodeMirror-linenumber CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[\"CodeMirror-linenumbers\"]+\"px; width: \"+e.display.lineNumInnerWidth+\"px\"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(N(\"div\",[u],\"CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[c]+\"px; width: \"+r.gutterWidth[c]+\"px\"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=_(\"CodeMirror-linewidget\"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function gn(e,t,n,r){var i=pn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=fn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=N(\"div\",[l.node],\"CodeMirror-linewidget\"+(l.className?\" \"+l.className:\"\"));l.handleMouseEvents||c.setAttribute(\"cm-ignore-events\",\"true\"),Tn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),ln(l,\"redraw\")}}function Tn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+\"px\",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+\"px\"),t.style.width=i+\"px\"}e.coverGutter&&(t.style.zIndex=5,t.style.position=\"relative\",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+\"px\"))}function En(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!I(document.body,e.node)){var n=\"position: relative;\";e.coverGutter&&(n+=\"margin-left: -\"+t.display.gutters.offsetWidth+\"px;\"),e.noHScroll&&(n+=\"width: \"+t.display.wrapper.clientWidth+\"px;\"),S(t.display.measure,N(\"div\",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function On(e,t){for(var n=xe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&\"true\"==n.getAttribute(\"cm-ignore-events\")||n.parentNode==e.sizer&&n!=e.mover)return!0}function xn(e){return e.lineSpace.offsetTop}function _n(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function kn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=S(e.measure,N(\"pre\",\"x\",\"CodeMirror-line-like\")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function wn(e){return 50-e.display.nativeBarWidth}function Cn(e){return e.display.scroller.clientWidth-wn(e)-e.display.barWidth}function Sn(e){return e.display.scroller.clientHeight-wn(e)-e.display.barHeight}function Nn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Je(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Dn(e,t,n,r){return Ln(e,An(e,t),n,r)}function In(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ur(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function An(e,t){var n=Je(t),r=In(e,n);r&&!r.text?r=null:r&&r.changes&&(un(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Je(t=Pt(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=$t(e,r);return r.text=i.pre,S(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ln(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||\"\");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Cn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Mn(t.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&re(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Rn(k(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,f=\"right\"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=je)return je;var t=S(e,N(\"span\",\"x\")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return je=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+ir(e.display),top:h.top,bottom:h.bottom}:Fn}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(g<y[b]);b++);var T=b?y[b-1]:0,E=y[b],O={left:(\"right\"==f?i.right:i.left)-t.rect.left,right:(\"left\"==f?i.left:i.right)-t.rect.left,top:T,bottom:E};return i.left||i.right||(O.bogus=!0),e.options.singleCursorHeightPerLine||(O.rtop=m,O.rbottom=v),O}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var jn,Fn={left:0,right:0,top:0,bottom:0};function Mn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a=\"left\"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a=\"right\";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Rn(e,t){var n=Fn;if(\"left\"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Pn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Vn(e){e.display.externalMeasure=null,C(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Pn(e.display.view[t])}function Un(e){Vn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Bn(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function qn(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Hn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=En(e.widgets[n]));return t}function zn(e,t,n,r,i){if(!i){var o=Hn(t);n.top+=o,n.bottom+=o}if(\"line\"==r)return n;r||(r=\"local\");var a=Ht(t);if(\"local\"==r?a+=xn(e.display):a-=e.display.viewOffset,\"page\"==r||\"window\"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+(\"window\"==r?0:qn());var l=s.left+(\"window\"==r?0:Bn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function Gn(e,t,n){if(\"div\"==n)return t;var r=t.left,i=t.top;if(\"page\"==n)r-=Bn(),i-=qn();else if(\"local\"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Kn(e,t,n,r,i){return r||(r=Ke(e.doc,t.line)),zn(e,r,Dn(e,r,t.ch,i),n)}function Qn(e,t,n,r,i,o){function a(t,a){var s=Ln(e,i,t,a?\"right\":\"left\",o);return a?s.left=s.right:s.right=s.left,zn(e,r,s,n)}r=r||Ke(e.doc,t.line),i||(i=An(e,r));var s=ce(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c=\"before\"):l<=0&&(l=0,c=\"after\"),!s)return a(\"before\"==c?l-1:l,\"before\"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,c),p=ae,d=u(l,f,\"before\"==c);return null!=p&&(d.other=u(l,p,\"before\"!=c)),d}function Wn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=Ke(e.doc,t.line),i=Ht(r)+xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Yn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Jn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Yn(r.first,0,null,-1,-1);var i=$e(r,n),o=r.first+r.size-1;if(i>o)return Yn(r.first+r.size-1,Ke(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ke(r,i);;){var s=er(e,a,i,t,n),l=Mt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ke(r,i=c.line)}}function $n(e,t,n,r){r-=Hn(t);var i=t.text.length,o=oe((function(t){return Ln(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Ln(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=An(e,t)),$n(e,t,n,zn(e,t,Ln(e,n,r),\"line\").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=Ht(t);var o=An(e,t),a=Hn(t),s=0,l=t.text.length,c=!0,u=ce(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?nr:tr)(e,t,n,o,u,r,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var p,d,h=null,m=null,v=oe((function(t){var n=Ln(e,o,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left<m.right-r,b=y==c;v=h+(b?0:1),d=b?\"after\":\"before\",p=y?m.left:m.right}else{c||v!=l&&v!=s||v++,d=0==v?\"after\":v==t.text.length?\"before\":Ln(e,o,v-(c?1:0)).bottom+a<=i==c?\"after\":\"before\";var T=Qn(e,et(n,v,d),\"line\",t,o);p=T.left,g=i<T.top?-1:i>=T.bottom?1:0}return Yn(n,v=ie(t.text,v,1),d,g,r-p)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],c=1!=l.level;return Zn(Qn(e,et(n,c?l.to:l.from,c?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Qn(e,et(n,c?l.from:l.to,c?\"after\":\"before\"),\"line\",t,r);Zn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function nr(e,t,n,r,i,o,a){var s=$n(e,t,r,a),l=s.begin,c=s.end;/\\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=c||d.to<=l)){var h=Ln(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=h<o?o-h+1e9:h-o;(!u||f>m)&&(u=d,f=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==jn){jn=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)jn.appendChild(document.createTextNode(\"x\")),jn.appendChild(N(\"br\"));jn.appendChild(document.createTextNode(\"x\"))}S(e.measure,jn);var n=jn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");S(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(Bt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function lr(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ye(e,t)}))}function cr(e,t,n,r){var i=e.display;if(!n&&\"true\"==xe(t).getAttribute(\"cm-not-content\"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Jn(e,o,a);if(r&&c.xRel>0&&(l=Ke(e.doc,c.line).text).length==c.ch){var u=P(l,l.length,e.options.tabSize)-l.length;c=et(c.line,Math.max(0,Math.round((o-kn(e.display).left)/ir(e.display))-u))}return c}function ur(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function fr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ot&&Vt(e.doc,t)<i.viewTo&&dr(e);else if(n<=i.viewFrom)Ot&&Ut(e.doc,n+r)>i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=hr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=hr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=hr(e,t,t,-1),l=hr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):dr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function pr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[ur(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hr(e,t,n,r){var i,o=ur(e,t),a=e.display.view;if(!Ot||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Vt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),l||Tr(e,s,o)}}return r}function yr(e,t,n){var r=Qn(e,t,\"div\",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor\"));if(i.style.left=r.left+\"px\",i.style.top=r.top+\"px\",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+\"px\",r.other){var o=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor CodeMirror-secondarycursor\"));o.style.display=\"\",o.style.left=r.other.left+\"px\",o.style.top=r.other.top+\"px\",o.style.height=.85*(r.other.bottom-r.other.top)+\"px\"}}function br(e,t){return e.top-t.top||e.left-t.left}function Tr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=kn(e.display),s=a.left,l=Math.max(r.sizerWidth,Cn(e)-r.sizer.offsetLeft)-a.right,c=\"ltr\"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N(\"div\",null,\"CodeMirror-selected\",\"position: absolute; left: \"+e+\"px;\\n                             top: \"+t+\"px; width: \"+(null==n?l-e:n)+\"px;\\n                             height: \"+(r-t)+\"px\"))}function f(t,n,r){var o,a,f=Ke(i,t),p=f.text.length;function d(n,r){return Kn(e,et(t,n),\"div\",f,r)}function h(t,n,r){var i=Xn(e,f,null,t),o=\"ltr\"==n==(\"after\"==r)?\"left\":\"right\";return d(\"after\"==r?i.begin:i.end-(/\\s/.test(f.text.charAt(i.end-1))?2:1),o)[o]}var m=ce(f,i.direction);return function(e,t,n,r){if(!e)return r(t,n,\"ltr\",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?\"rtl\":\"ltr\",o),i=!0)}i||r(t,n,\"ltr\")}(m,n||0,null==r?p:r,(function(e,t,i,f){var v=\"ltr\"==i,g=d(e,v?\"left\":\"right\"),y=d(t-1,v?\"right\":\"left\"),b=null==n&&0==e,T=null==r&&t==p,E=0==f,O=!m||f==m.length-1;if(y.top-g.top<=3){var x=(c?T:b)&&O,_=(c?b:T)&&E?s:(v?g:y).left,k=x?l:(v?y:g).right;u(_,g.top,k-_,g.bottom)}else{var w,C,S,N;v?(w=c&&b&&E?s:g.left,C=c?l:h(e,i,\"before\"),S=c?s:h(t,i,\"after\"),N=c&&T&&O?l:y.right):(w=c?h(e,i,\"before\"):s,C=!c&&b&&E?l:g.right,S=!c&&T&&O?s:y.left,N=c?h(t,i,\"after\"):l),u(w,g.top,C-w,g.bottom),g.bottom<y.top&&u(s,g.bottom,null,y.top),u(S,y.top,N-S,y.bottom)}(!o||br(g,o)<0)&&(o=g),br(y,o)<0&&(o=y),(!a||br(g,a)<0)&&(a=g),br(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Ke(i,p.line),m=Ke(i,d.line),v=Pt(h)==Pt(m),g=f(p.line,p.ch,v?h.text.length+1:null).end,y=f(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(u(g.right,g.top,null,g.bottom),u(s,y.top,y.left,y.bottom)):u(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&u(s,g.bottom,null,y.top)}n.appendChild(o)}function Er(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility=\"\",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?\"\":\"hidden\"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility=\"hidden\")}}function Or(e){e.state.focused||(e.display.input.focus(),_r(e))}function xr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,kr(e))}),100)}function _r(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),\"nocursor\"!=e.options.readOnly&&(e.state.focused||(he(e,\"focus\",e,t),e.state.focused=!0,L(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Er(e))}function kr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,w(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function wr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-n,n=u}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var p=i.line.height-l;if((p>.005||p<-.005)&&(Ye(i.line,l),Cr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Cr(i.rest[d]);if(c>e.display.sizerWidth){var h=Math.ceil(c/ir(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Cr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function Sr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-xn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=$e(t,r),a=$e(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=$e(t,Ht(Ke(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=$e(t,Ht(Ke(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Nr(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Sn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+_n(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Cn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Dr(e,t){null!=t&&(Lr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ir(e){Lr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Lr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Lr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Wn(e,t.from),Wn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Nr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Fr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Mr(e,t,!0),n&&li(e),ri(e,100))}function Mr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+_n(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+wn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Vr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Vr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Vr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Vr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Vr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Vr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Vr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ur=function(){};function Br(e,t){t||(t=Pr(e));var n=e.display.barWidth,r=e.display.barHeight;qr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&wr(e),qr(e,Pr(e)),n=e.display.barWidth,r=e.display.barHeight}function qr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var Hr={native:Vr,null:Ur};function zr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&w(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Hr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Fr(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Gr=0;function Kr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gr},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Qr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{an=null,t(n)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Wr(t[n]);for(var r=0;r<t.length;r++)Yr(t[r]);for(var i=0;i<t.length;i++)Jr(t[i]);for(var o=0;o<t.length;o++)$r(t[o]);for(var a=0;a<t.length;a++)Xr(t[a])}(e)}))}function Wr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=wn(e)+\"px\",t.sizer.style.marginBottom=-t.nativeBarWidth+\"px\",t.sizer.style.borderRightWidth=wn(e)+\"px\",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Jr(e){var t=e.cm,n=t.display;e.updatedDisplay&&wr(t),e.barMeasure=Pr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Dn(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+wn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Cn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function $r(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft<t.doc.scrollLeft&&Rr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==A();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Br(t,e.barMeasure),e.updatedDisplay&&ui(t,e.barMeasure),e.selectionChanged&&Er(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Or(e.cm)}function Xr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Mr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Rr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,\"scrollCursorIntoView\")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"\u200B\",null,\"position: absolute;\\n                         top: \"+(t.top-n.viewOffset-xn(e.display))+\"px;\\n                         height: \"+(t.bottom-t.top+wn(e)+n.barHeight)+\"px;\\n                         left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==(t=t.ch?et(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?et(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Qn(e,t),l=n&&n!=t?Qn(e,n):s,c=Nr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Fr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Rr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||he(i[a],\"hide\");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&he(o[s],\"unhide\");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&he(t,\"changes\",t,e.changeObjs),e.update&&e.update.finish()}function Zr(e,t){if(e.curOp)return t();Kr(e);try{return t()}finally{Qr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kr(e);try{return t.apply(e,arguments)}finally{Qr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Kr(this);try{return e.apply(this,arguments)}finally{Qr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kr(t);try{return e.apply(this,arguments)}finally{Qr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,M(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?qe(t.mode,r.state):null,l=ft(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&ht(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Zr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],\"text\")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Sr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Cn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return dr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;pi(e)&&(dr(e),t.dims=or(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ot&&(o=Vt(e.doc,o),a=Ut(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(ur(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=Ht(Ke(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var c=mr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=A();if(!t||!I(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&I(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,f=0;f<c.length;f++){var p=c[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(U(p.changes,\"gutter\")>-1&&(d=!1),un(e,p,u,n)),d&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Ze(e.options,u)))),a=p.node.nextSibling}else{var h=gn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=A()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&I(document.body,e.anchorNode)&&I(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Cn(e))r&&(t.visible=Sr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+_n(e.display)-Sn(e),n.top)}),t.visible=Sr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;wr(e);var i=Pr(e);vr(e),Br(e,i),ui(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){wr(e),si(e,n);var r=Pr(e);vr(e),Br(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\"}function ui(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+wn(e)+\"px\"}function fi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+\"px\")}}function pi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Ze(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(N(\"div\",[N(\"div\",n)],\"CodeMirror-linenumber CodeMirror-gutter-elt\")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width=\"\",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+\"px\",ci(e.display),!0}return!1}function di(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if(\"string\"!=typeof o&&(a=o.style,o=o.className),\"CodeMirror-linenumbers\"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:\"CodeMirror-linenumbers\",style:null}),n}function hi(e){var t=e.gutters,n=e.gutterSpecs;C(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(N(\"div\",null,\"CodeMirror-gutter \"+o));a&&(s.style.cssText=a),\"CodeMirror-linenumbers\"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+\"px\")}t.style.display=n.length?\"\":\"none\",ci(e)}function mi(e){hi(e.display),fr(e),fi(e)}function vi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=N(\"div\",null,\"CodeMirror-scrollbar-filler\"),o.scrollbarFiller.setAttribute(\"cm-not-content\",\"true\"),o.gutterFiller=N(\"div\",null,\"CodeMirror-gutter-filler\"),o.gutterFiller.setAttribute(\"cm-not-content\",\"true\"),o.lineDiv=D(\"div\",null,\"CodeMirror-code\"),o.selectionDiv=N(\"div\",null,null,\"position: relative; z-index: 1\"),o.cursorDiv=N(\"div\",null,\"CodeMirror-cursors\"),o.measure=N(\"div\",null,\"CodeMirror-measure\"),o.lineMeasure=N(\"div\",null,\"CodeMirror-measure\"),o.lineSpace=D(\"div\",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,\"position: relative; outline: none\");var c=D(\"div\",[o.lineSpace],\"CodeMirror-lines\");o.mover=N(\"div\",[c],null,\"position: relative\"),o.sizer=N(\"div\",[o.mover],\"CodeMirror-sizer\"),o.sizerWidth=null,o.heightForcer=N(\"div\",null,null,\"position: absolute; height: 50px; width: 1px;\"),o.gutters=N(\"div\",null,\"CodeMirror-gutters\"),o.lineGutter=null,o.scroller=N(\"div\",[o.sizer,o.heightForcer,o.gutters],\"CodeMirror-scroll\"),o.scroller.setAttribute(\"tabIndex\",\"-1\"),o.wrapper=N(\"div\",[o.scrollbarFiller,o.gutterFiller,o.scroller],\"CodeMirror\"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=di(i.gutters,i.lineNumbers),hi(o),r.init(o)}oi.prototype.signal=function(e,t){ge(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var gi=0,yi=null;function bi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Ti(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function Ei(e,t){var r=bi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==p){e.display.currentWheelTarget=p;break e}if(i&&!n&&!f&&null!=yi)return o&&u&&Fr(e,Math.max(0,s.scrollTop+o*yi)),Rr(e,Math.max(0,s.scrollLeft+i*yi)),(!o||o&&u)&&be(t),void(a.wheelStartX=null);if(o&&null!=yi){var m=o*yi,v=e.doc.scrollTop,g=v+a.wrapper.clientHeight;m<0?v=Math.max(0,v+m-50):g=Math.min(e.doc.height,g+m+50),li(e,{top:v,bottom:g})}gi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(yi=(yi*gi+n)/(gi+1),++gi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?yi=-.53:n?yi=15:u?yi=-.7:p&&(yi=-1/3);var Oi=function(e,t){this.ranges=e,this.primIndex=t};Oi.prototype.primary=function(){return this.ranges[this.primIndex]},Oi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},Oi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new xi(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new Oi(e,this.primIndex)},Oi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Oi.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var xi=function(e,t){this.anchor=e,this.head=t};function _i(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ot(s.from(),a.from()),u=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new xi(f?u:c,f?c:u))}}return new Oi(t,n)}function ki(e,t){return new Oi([new xi(e,t||e)],0)}function wi(e){return e.text?et(e.from.line+e.text.length-1,W(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Ci(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return wi(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+=wi(t).ch-t.to.ch),et(n,r)}function Si(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new xi(Ci(i.anchor,t),Ci(i.head,t)))}return _i(e.cm,n,e.sel.primIndex)}function Ni(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Di(e){e.doc.mode=Ve(e.options,e.doc.modeOption),Ii(e)}function Ii(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&fr(e)}function Ai(e,t){return 0==t.from.ch&&0==t.to.ch&&\"\"==W(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Li(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),St(e),Nt(e,n);var i=r?r(e):1;i!=e.height&&Ye(e,i)}(e,n,i,r),ln(e,\"change\",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Kt(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ke(e,s.line),f=Ke(e,l.line),p=W(c),d=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ai(e,t)){var m=a(0,c.length-1);o(f,f.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),d);else{var v=a(1,c.length-1);v.push(new Kt(p+u.text.slice(l.ch),d,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,p+f.text.slice(l.ch),d);var g=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}ln(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Fi(e,t){if(t.cm)throw new Error(\"This document is already in use.\");e.doc=t,t.cm=e,lr(e),Di(e),Mi(e),e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fr(e)}function Mi(e){(\"rtl\"==e.doc.direction?L:w)(e.display.lineDiv,\"CodeMirror-rtl\")}function Ri(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Pi(e,t){var n={from:rt(t.from),to:wi(t),text:Qe(e,t.from,t.to)};return Hi(e,n,t.from.line,t.to.line+1),ji(e,(function(e){return Hi(e,n,t.from.line,t.to.line+1)}),!0),n}function Vi(e){for(;e.length&&W(e).ranges;)e.pop()}function Ui(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(\"+\"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Vi(e.done),W(e.done)):e.done.length&&!W(e.done).ranges?W(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),W(e.done)):void 0}(i,i.lastOp==r)))a=W(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=wi(t):o.changes.push(Pi(e,t));else{var l=W(i.done);for(l&&l.ranges||qi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function Bi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,W(i.done),t))?i.done[i.done.length-1]=t:qi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Vi(i.undone)}function qi(e,t){var n=W(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Hi(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 zi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Gi(e,t){var n=function(e,t){var n=t[\"spans_\"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(zi(n[i]));return r}(e,t),r=wt(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Ki(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Oi.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\\d+)$/))&&U(t,Number(u[1]))>-1&&(W(s)[f]=c[f],delete c[f])}}}return r}function Qi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new xi(i,t)}return new xi(n||t,t)}function Wi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Zi(e,new Oi([Qi(e.sel.primary(),t,n,i)],0),r)}function Yi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Qi(e.sel.ranges[o],t[o],null,i);Zi(e,_i(e.cm,r,e.sel.primIndex),n)}function Ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Zi(e,_i(e.cm,i,e.sel.primIndex),r)}function $i(e,t,n,r){Zi(e,ki(t,n),r)}function Xi(e,t,n){var r=e.history.done,i=W(r);i&&i.ranges?(r[r.length-1]=t,eo(e,t,n)):Zi(e,t,n)}function Zi(e,t,n){eo(e,t,n),Bi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function eo(e,t,n){(ge(e,\"beforeSelectionChange\")||e.cm&&ge(e.cm,\"beforeSelectionChange\"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new xi(st(e,t[n].anchor),st(e,t[n].head))},origin:n&&n.origin};return he(e,\"beforeSelectionChange\",e,r),e.cm&&he(e.cm,\"beforeSelectionChange\",e.cm,r),r.ranges!=t.ranges?_i(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,ro(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Ir(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),ln(e,\"cursorActivity\",e))}function no(e){to(e,ro(e,e.sel,null,!1))}function ro(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=oo(e,a.anchor,s&&s.anchor,n,r),c=oo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new xi(l,c))}return i?_i(e.cm,i,t.primIndex):t}function io(e,t,n,r,i){var o=Ke(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c=\"selectLeft\"in l?!l.selectLeft:l.inclusiveLeft,u=\"selectRight\"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(f=ao(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=tt(f,n))&&(r<0?p<0:p>0))return io(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?c:u)&&(d=ao(e,d,r,d.line==t.line?o:null)),d?io(e,d,t,r,i):null}}return t}function oo(e,t,n,r,i){var o=r||1,a=io(e,t,n,o,i)||!i&&io(e,t,n,o,!0)||io(e,t,n,-o,i)||!i&&io(e,t,n,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function ao(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||Ke(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function so(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),q)}function lo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=st(e,t)),n&&(r.to=st(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),he(e,\"beforeChange\",e,r),e.cm&&he(e.cm,\"beforeChange\",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function co(e,t,n){if(e.cm){if(!e.cm.curOp)return ei(e.cm,co)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"))||(t=lo(e,t,!0))){var r=Et&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(tt(c.to,s.from)<0||tt(c.from,s.to)>0)){var u=[l,1],f=tt(c.from,s.from),p=tt(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)uo(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=tt(t.from,t.to)){var n=Si(e,t);Ui(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,wt(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(yo(e.history,t),r.push(e.history)),ho(e,t,null,wt(e,t))}))}}function fo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(qi(i,l),n&&!i.equals(e.sel))return void Zi(e,i,{clearRedo:!1});a=i}var u=[];qi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"),p=function(n){var r=i.changes[n];if(r.origin=t,f&&!lo(e,r,!1))return s.length=0,{};u.push(Pi(e,r));var o=n?Si(e,r):W(s);ho(e,r,o,Gi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:wi(r)});var a=[];ji(e,(function(e,t){t||-1!=U(a,e.history)||(yo(e.history,r),a.push(e.history)),ho(e,r,null,Gi(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Oi(Y(e.sel.ranges,(function(e){return new xi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){fr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)pr(e.cm,r,\"gutter\")}}function ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(e,t,n,r);if(t.to.line<e.first)po(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);po(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[W(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ke(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=Si(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Je(Pt(Ke(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Li(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=zt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ke(e,r).stateAfter;if(i&&(!(i instanceof ct)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fr(e):o.line!=a.line||1!=t.text.length||Ai(e.doc,t)?fr(e,o.line,a.line+1,c):pr(e,o.line,\"text\");var u=ge(e,\"changes\"),f=ge(e,\"change\");if(f||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ln(e,\"change\",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Li(e,t,r),eo(e,n,q),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function mo(e,t,n,r,i){var o;r||(r=n),tt(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),\"string\"==typeof t&&(t=e.splitLines(t)),co(e,{from:n,to:r,text:t,origin:i})}function vo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function go(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)vo(o.ranges[s].anchor,t,n,r),vo(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=et(c.from.line+r,c.from.ch),c.to=et(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function yo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;go(e.done,n,r,i),go(e.undone,n,r,i)}function bo(e,t,n,r){var i=t,o=t;return\"number\"==typeof t?o=Ke(e,at(e,t)):i=Je(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function To(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function Eo(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}xi.prototype.from=function(){return ot(this.anchor,this.head)},xi.prototype.to=function(){return it(this.anchor,this.head)},xi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},To.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Qt(i),ln(i,\"delete\")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},Eo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof To))){var s=[];this.collapse(s),this.children=[new To(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new To(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new Eo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=U(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new Eo(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Oo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function xo(e,t,n){Ht(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Dr(e,n)}Oo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Je(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=En(this);Ye(n,Math.max(0,n.height-o)),e&&(Zr(e,(function(){xo(e,n,-o),pr(e,r,\"widget\")})),ln(e,\"lineWidgetCleared\",e,this,r))}},Oo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=En(this)-t;i&&(Bt(this.doc,r)||Ye(r,r.height+i),n&&Zr(n,(function(){n.curOp.forceUpdate=!0,xo(n,r,i),ln(n,\"lineWidgetChanged\",n,e,Je(r))})))},ye(Oo);var _o=0,ko=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++_o};function wo(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=R(r)).shared=!1;var o=[wo(e,t,n,r,i)],a=o[0],s=r.widgetNode;return ji(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(wo(e,st(e,t),st(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=W(o)})),new Co(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,wo)(e,t,n,r,i);var o=new ko(e,i),a=tt(t,n);if(r&&R(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");Ot=!0}o.addToHistory&&Ui(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Pt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new xt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Bt(e,t)&&Ye(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++_o,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)pr(c,u,\"text\");o.atomic&&no(c.doc),ln(c,\"markerAdded\",c,o)}return o}ko.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kr(e),ge(this,\"clear\")){var n=this.find();n&&ln(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=_t(a.markedSpans,this);e&&!this.collapsed?pr(e,Je(a),\"text\"):e&&(null!=s.to&&(i=Je(a)),null!=s.from&&(r=Je(a))),a.markedSpans=kt(a.markedSpans,s),null==s.from&&this.collapsed&&!Bt(this.doc,a)&&e&&Ye(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Pt(this.lines[l]),u=zt(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&fr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&no(e.doc)),e&&ln(e,\"markerCleared\",e,this,r,i),t&&Qr(e),this.parent&&this.parent.clear()}},ko.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=_t(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Je(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Je(o),a.to),1==e))return r}return n&&{from:n,to:r}},ko.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Zr(r,(function(){var i=t.line,o=Je(t.line),a=In(r,o);if(a&&(Pn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!Bt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=En(n)-s;l&&Ye(i,i.height+l)}ln(r,\"markerChanged\",r,e)}))},ko.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ko.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(ko);var Co=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function So(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function No(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];ji(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}Co.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ln(this,\"clear\")}},Co.prototype.find=function(e,t){return this.primary.find(e,t)},ye(Co);var Do=0,Io=function(e,t,n,r,i){if(!(this instanceof Io))return new Io(e,t,n,r,i);null==n&&(n=0),Eo.call(this,[new To([new Kt(\"\",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=et(n,0);this.sel=ki(o),this.history=new Ri(null),this.id=++Do,this.modeOption=t,this.lineSep=r,this.direction=\"rtl\"==i?\"rtl\":\"ltr\",this.extend=!1,\"string\"==typeof e&&(e=this.splitLines(e)),Li(this,{from:o,to:o,text:e}),Zi(this,ki(o),q)};Io.prototype=$(Eo.prototype,{constructor:Io,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=We(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;co(this,{from:t,to:et(n,Ke(this,n).text.length),text:this.splitLines(e),origin:\"setValue\",full:!0},!0),this.cm&&Ar(this.cm,0,0),Zi(this,ki(t),q)})),replaceRange:function(e,t,n,r){mo(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,st(this,e),st(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Xe(this,e))return Ke(this,e)},getLineNumber:function(e){return Je(e)},getLineHandleVisualStart:function(e){return\"number\"==typeof e&&(e=Ke(this,e)),Pt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||\"head\"==e?t.head:\"anchor\"==e?t.anchor:\"end\"==e||\"to\"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ni((function(e,t,n){$i(this,st(this,\"number\"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){$i(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Wi(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){Yi(this,lt(this,e),t)})),extendSelectionsBy:ni((function(e,t){Yi(this,lt(this,Y(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new xi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Zi(this,_i(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new xi(st(this,e),st(this,t||e))),Zi(this,_i(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||\"+input\")},replaceSelections:ni((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&\"end\"!=t&&function(e,t,n){for(var r=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ni(s.from,i,o),c=Ni(wi(s),i,o);if(i=s.to,o=c,\"around\"==n){var u=e.sel.ranges[a],f=tt(u.head,u.anchor)<0;r[a]=new xi(f?c:l,f?l:c)}else r[a]=new xi(l,l)}return new Oi(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)co(this,r[l]);s?Xi(this,s):this.cm&&Ir(this.cm)})),undo:ni((function(){fo(this,\"undo\")})),redo:ni((function(){fo(this,\"redo\")})),undoSelection:ni((function(){fo(this,\"undo\",!0)})),redoSelection:ni((function(){fo(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Ri(this.history.maxGeneration),ji(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ki(this.history.done),undone:Ki(this.history.undone)}},setHistory:function(e){var t=this.history=new Ri(this.history.maxGeneration);t.done=Ki(e.done.slice(0),null,!0),t.undone=Ki(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return bo(this,e,\"gutter\",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&bo(t,n,\"gutter\",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if(\"number\"==typeof e){if(!Xe(this,e))return null;if(t=e,!(e=Ke(this,e)))return null}else if(null==(t=Je(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\";if(e[r]){if(_(n).test(e[r]))return!1;e[r]+=\" \"+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(_(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?\" \":\"\")+i.slice(a)||null}return!0}))})),addLineWidget:ni((function(e,t,n){return function(e,t,n,r){var i=new Oo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),bo(e,t,\"widget\",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Bt(e,t)){var r=Ht(t)<e.scrollTop;Ye(t,t.height+En(i)),r&&Dr(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&ln(o,\"lineWidgetAdded\",o,i,\"number\"==typeof t?t:Je(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return wo(this,st(this,e),st(this,t),n,n&&n.type||\"range\")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return wo(this,e=st(this,e),e,n,\"bookmark\")},findMarksAt:function(e){var t=[],n=Ke(this,(e=st(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new Io(We(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Io(We(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=wo(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,So(this)),r},unlinkDoc:function(e){if(e instanceof Ca&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),No(So(this));break}if(e.history==this.history){var n=[e.id];ji(e,(function(e){return n.push(e.id)}),!0),e.history=new Ri(null),e.history.done=Ki(this.history.done,n),e.history.undone=Ki(this.history.undone,n)}},iterLinkedDocs:function(e){ji(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ie(e)},lineSeparator:function(){return this.lineSep||\"\\n\"},setDirection:ni((function(e){var t;\"rtl\"!=e&&(e=\"ltr\"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Zr(t=this.cm,(function(){Mi(t),fr(t)})))}))}),Io.prototype.eachLine=Io.prototype.iter;var Ao=0;function Lo(e){var t=this;if(jo(t),!me(t,e)&&!On(t.display,e)){be(e),a&&(Ao=+new Date);var n=cr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&ei(t,(function(){var e={from:n=st(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:\"paste\"};co(t.doc,e),Xi(t.doc,ki(st(t.doc,n),st(t.doc,wi(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),eo(t.doc,ki(n,n)),p)for(var d=0;d<p.length;++d)mo(t.doc,\"\",p[d].anchor,p[d].head,\"drag\");t.replaceSelection(f,\"around\",\"paste\"),t.display.input.focus()}}catch(e){}}}}function jo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Fo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName(\"CodeMirror\"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Mo=!1;function Ro(){var e;Mo||(fe(window,\"resize\",(function(){null==e&&(e=setTimeout((function(){e=null,Fo(Po)}),100))})),fe(window,\"blur\",(function(){return Fo(kr)})),Mo=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Vo={3:\"Pause\",8:\"Backspace\",9:\"Tab\",13:\"Enter\",16:\"Shift\",17:\"Ctrl\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Esc\",32:\"Space\",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"Left\",38:\"Up\",39:\"Right\",40:\"Down\",44:\"PrintScrn\",45:\"Insert\",46:\"Delete\",59:\";\",61:\"=\",91:\"Mod\",92:\"Mod\",93:\"Mod\",106:\"*\",107:\"=\",109:\"-\",110:\".\",111:\"/\",145:\"ScrollLock\",173:\"-\",186:\";\",187:\"=\",188:\",\",189:\"-\",190:\".\",191:\"/\",192:\"`\",219:\"[\",220:\"\\\\\",221:\"]\",222:\"'\",224:\"Mod\",63232:\"Up\",63233:\"Down\",63234:\"Left\",63235:\"Right\",63272:\"Delete\",63273:\"Home\",63275:\"End\",63276:\"PageUp\",63277:\"PageDown\",63302:\"Insert\"},Uo=0;Uo<10;Uo++)Vo[Uo+48]=Vo[Uo+96]=String(Uo);for(var Bo=65;Bo<=90;Bo++)Vo[Bo]=String.fromCharCode(Bo);for(var qo=1;qo<=12;qo++)Vo[qo+111]=Vo[qo+63235]=\"F\"+qo;var Ho={};function zo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error(\"Unrecognized modifier name: \"+s);r=!0}}return t&&(e=\"Alt-\"+e),n&&(e=\"Ctrl-\"+e),i&&(e=\"Cmd-\"+e),r&&(e=\"Shift-\"+e),e}function Go(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if(\"...\"==r){delete e[n];continue}for(var i=Y(n.split(\" \"),zo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(\" \"),a=r):(s=i.slice(0,o+1).join(\" \"),a=\"...\");var l=t[s];if(l){if(l!=a)throw new Error(\"Inconsistent bindings for \"+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Ko(e,t,n,r){var i=(t=Jo(t)).call?t.call(e,r):t[e];if(!1===i)return\"nothing\";if(\"...\"===i)return\"multi\";if(null!=i&&n(i))return\"handled\";if(t.fallthrough){if(\"[object Array]\"!=Object.prototype.toString.call(t.fallthrough))return Ko(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Ko(e,t.fallthrough[o],n,r);if(a)return a}}}function Qo(e){var t=\"string\"==typeof e?e:Vo[e.keyCode];return\"Ctrl\"==t||\"Alt\"==t||\"Shift\"==t||\"Mod\"==t}function Wo(e,t,n){var r=e;return t.altKey&&\"Alt\"!=r&&(e=\"Alt-\"+e),(O?t.metaKey:t.ctrlKey)&&\"Ctrl\"!=r&&(e=\"Ctrl-\"+e),(O?t.ctrlKey:t.metaKey)&&\"Mod\"!=r&&(e=\"Cmd-\"+e),!n&&t.shiftKey&&\"Shift\"!=r&&(e=\"Shift-\"+e),e}function Yo(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Vo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wo(n,e,t))}function Jo(e){return\"string\"==typeof e?Ho[e]:e}function $o(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,W(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Zr(e,(function(){for(var t=r.length-1;t>=0;t--)mo(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Ir(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?\"after\":\"before\")}function ea(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?W(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var c=An(t,n);a=i<0?n.text.length-1:0;var u=Ln(t,c,a).top;a=oe((function(e){return Ln(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,l)}}return new et(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}Ho.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},Ho.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},Ho.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Alt-F\":\"goWordRight\",\"Alt-B\":\"goWordLeft\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-D\":\"delWordAfter\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},Ho.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},Ho.default=y?Ho.macDefault:Ho.pcDefault;var ta={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),q)},killLine:function(e){return $o(e,(function(t){if(t.empty()){var n=Ke(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return $o(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return $o(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5;return{from:e.coordsChar({left:0,top:n},\"div\"),to:t.from()}}))},delWrappedLineRight:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head.line)}),{origin:\"+move\",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:\"+move\",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=Ke(e.doc,t),r=function(e){for(var t;t=Ft(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Je(r)),ea(!0,e,n,t,-1)}(e,t.head.line)}),{origin:\"+move\",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\")}),z)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:0,top:n},\"div\")}),z)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5,r=e.coordsChar({left:0,top:n},\"div\");return r.ch<e.getLine(r.line).search(/\\S/)?ra(e,t.head):r}),z)},goLineUp:function(e){return e.moveV(-1,\"line\")},goLineDown:function(e){return e.moveV(1,\"line\")},goPageUp:function(e){return e.moveV(-1,\"page\")},goPageDown:function(e){return e.moveV(1,\"page\")},goCharLeft:function(e){return e.moveH(-1,\"char\")},goCharRight:function(e){return e.moveH(1,\"char\")},goColumnLeft:function(e){return e.moveH(-1,\"column\")},goColumnRight:function(e){return e.moveH(1,\"column\")},goWordLeft:function(e){return e.moveH(-1,\"word\")},goGroupRight:function(e){return e.moveH(1,\"group\")},goGroupLeft:function(e){return e.moveH(-1,\"group\")},goWordRight:function(e){return e.moveH(1,\"word\")},delCharBefore:function(e){return e.deleteH(-1,\"char\")},delCharAfter:function(e){return e.deleteH(1,\"char\")},delWordBefore:function(e){return e.deleteH(-1,\"word\")},delWordAfter:function(e){return e.deleteH(1,\"word\")},delGroupBefore:function(e){return e.deleteH(-1,\"group\")},delGroupAfter:function(e){return e.deleteH(1,\"group\")},indentAuto:function(e){return e.indentSelection(\"smart\")},indentMore:function(e){return e.indentSelection(\"add\")},indentLess:function(e){return e.indentSelection(\"subtract\")},insertTab:function(e){return e.replaceSelection(\"\\t\")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=P(e.getLine(o.line),o.ch,r);t.push(Q(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection(\"add\"):e.execCommand(\"insertTab\")},transposeChars:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ke(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ke(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new xi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Ir(e)}))},openLine:function(e){return e.replaceSelection(\"\\n\",\"start\")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function na(e,t){var n=Ke(e.doc,t),r=Pt(n);return r!=n&&(t=Je(r)),ea(!0,e,r,t,1)}function ra(e,t){var n=na(e,t.line),r=Ke(e.doc,n.line),i=ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return et(n.line,a?0:o,n.sticky)}return n}function ia(e,t,n){if(\"string\"==typeof t&&!(t=ta[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=B}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var oa=new V;function aa(e,t,n,r){var i=e.state.keySeq;if(i){if(Qo(t))return\"handled\";if(/\\'$/.test(t)?e.state.keySeq=null:oa.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),sa(e,i+\" \"+t,n,r))return!0}return sa(e,t,n,r)}function sa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Ko(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Ko(t,e.options.extraKeys,n,e)||Ko(t,e.options.keyMap,n,e)}(e,t,r);return\"multi\"==i&&(e.state.keySeq=t),\"handled\"==i&&ln(e,\"keyHandled\",e,t,n),\"handled\"!=i&&\"multi\"!=i||(be(n),Er(e)),!!i}function la(e,t){var n=Yo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?aa(e,\"Shift-\"+n,t,(function(t){return ia(e,t,!0)}))||aa(e,n,t,(function(t){if(\"string\"==typeof t?/^go[A-Z]/.test(t):t.motion)return ia(e,t)})):aa(e,n,t,(function(t){return ia(e,t)})))}var ca=null;function ua(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=A(),me(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=la(t,e);f&&(ca=i?r:null,i||88!=r||Le||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection(\"\",null,\"cut\")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand(\"cut\"),18!=r||/\\bCodeMirror-crosshair\\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(w(t,\"CodeMirror-crosshair\"),de(document,\"keyup\",n),de(document,\"mouseover\",n))}L(t,\"CodeMirror-crosshair\"),fe(document,\"keyup\",n),fe(document,\"mouseover\",n)}(t)}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||On(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ca)return ca=null,void be(e);if(!f||e.which&&!(e.which<10)||!la(t,e)){var i=String.fromCharCode(null==r?n:r);\"\\b\"!=i&&(function(e,t,n){return aa(e,\"'\"+n+\"'\",t,(function(t){return ia(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,ha,ma=function(e,t,n){this.time=e,this.pos=t,this.button=n};function va(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,On(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ba(t,e)){var r=cr(t,e),i=_e(e),o=r?function(e,t){var n=+new Date;return ha&&ha.compare(n,e,t)?(da=ha=null,\"triple\"):da&&da.compare(n,e,t)?(ha=new ma(n,e,t),da=null,\"double\"):(da=new ma(n,e,t),ha=null,\"single\")}(r,i):\"single\";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o=\"Click\";return\"double\"==r?o=\"Double\"+o:\"triple\"==r&&(o=\"Triple\"+o),aa(e,Wo(o=(1==t?\"Left\":2==t?\"Middle\":\"Right\")+o,i),i,(function(t){if(\"string\"==typeof t&&(t=ta[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=B}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(M(Or,e),0):e.curOp.focus=A();var i,o=function(e,t,n){var r=e.getOption(\"configureMouse\"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?\"rectangle\":\"single\"==t?\"char\":\"double\"==t?\"word\":\"line\"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&Ce&&!e.isReadOnly()&&\"single\"==n&&(i=c.contains(t))>-1&&(tt((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=ei(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,de(i.wrapper.ownerDocument,\"mouseup\",c),de(i.wrapper.ownerDocument,\"mousemove\",u),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",c),o||(be(t),r.addNew||Wi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,\"mouseup\",c),fe(i.wrapper.ownerDocument,\"mousemove\",u),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",c),xr(e),setTimeout((function(){return i.input.focus()}),20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;be(t);var a,s,l=o.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new xi(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(a=new xi(n,n)),n=cr(e,t,!0,!0),s=-1;else{var u=ga(e,n,r.unit);a=r.extend?Qi(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,Zi(o,_i(e,c.concat([a]),s),{scroll:!1,origin:\"*mouse\"})):c.length>1&&c[s].empty()&&\"char\"==r.unit&&!r.extend?(Zi(o,_i(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:\"*mouse\"}),l=o.sel):Ji(o,s,a,H):(s=0,Zi(o,new Oi([a],0),H),l=o.sel);var f=n;function p(t){if(0!=tt(f,t))if(f=t,\"rectangle\"==r.unit){for(var i=[],c=e.options.tabSize,u=P(Ke(o,n.line).text,n.ch,c),p=P(Ke(o,t.line).text,t.ch,c),d=Math.min(u,p),h=Math.max(u,p),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Ke(o,m).text,y=G(g,d,c);d==h?i.push(new xi(et(m,y),et(m,y))):g.length>y&&i.push(new xi(et(m,y),et(m,G(g,h,c))))}i.length||i.push(new xi(n,n)),Zi(o,_i(e,l.ranges.slice(0,s).concat(i),s),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,T=a,E=ga(e,t,r.unit),O=T.anchor;tt(E.anchor,O)>0?(b=E.head,O=ot(T.from(),E.anchor)):(b=E.anchor,O=it(T.to(),E.head));var x=l.ranges.slice(0);x[s]=function(e,t){var n=t.anchor,r=t.head,i=Ke(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var p=o[c+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new xi(new et(n.line,h,m),r)}(e,new xi(st(o,O),b)),Zi(o,_i(e,x,s),H)}}var d=i.wrapper.getBoundingClientRect(),h=0;function m(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",v),de(i.wrapper.ownerDocument,\"mouseup\",g),o.history.lastSelOrigin=null}var v=ei(e,(function(t){0!==t.buttons&&_e(t)?function t(n){var a=++h,s=cr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=tt(s,f)){e.curOp.focus=A(),p(s);var l=Sr(i,o);(s.line>=l.to||s.line<l.from)&&setTimeout(ei(e,(function(){h==a&&t(n)})),150)}else{var c=n.clientY<d.top?-20:n.clientY>d.bottom?20:0;c&&setTimeout(ei(e,(function(){h==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):m(t)})),g=ei(e,m);e.state.selectingText=g,fe(i.wrapper.ownerDocument,\"mousemove\",v),fe(i.wrapper.ownerDocument,\"mouseup\",g)}(e,r,t,o)}(t,r,o,e):xe(e)==n.scroller&&be(e):2==i?(r&&Wi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(x?t.display.input.onContextMenu(e):xr(t)))}}function ga(e,t,n){if(\"char\"==n)return new xi(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new xi(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new xi(r.from,r.to)}function ya(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return Ee(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return he(e,n,e,$e(e.doc,o),e.display.gutterSpecs[l].className,t),Ee(t)}}function ba(e,t){return ya(e,t,\"gutterClick\",!0)}function Ta(e,t){On(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ya(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||x||e.display.input.onContextMenu(t)}function Ea(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Un(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var Oa={toString:function(){return\"CodeMirror.Init\"}},xa={},_a={};function ka(e,t,n){if(!t!=!(n&&n!=Oa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function wa(e){e.options.lineWrapping?(L(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(w(e.display.wrapper,\"CodeMirror-wrap\"),Gt(e)),lr(e),fr(e),Un(e),setTimeout((function(){return Br(e)}),100)}function Ca(e,t){var n=this;if(!(this instanceof Ca))return new Ca(e,t);this.options=t=t?R(t):{},R(xa,t,!1);var r=t.value;\"string\"==typeof r?r=new Io(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ca.inputStyles[t.inputStyle](this),o=this.display=new vi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ea(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),zr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",ei(e,va)),fe(t.scroller,\"dblclick\",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=cr(e,t);if(n&&!ba(e,t)&&!On(e.display,t)){be(t);var r=e.findWordAt(n);Wi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return Ta(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||Ta(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ba(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!On(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new xi(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new xi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Fr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return Ei(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return Ei(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Oe(t)},over:function(t){me(e,t)||(function(e,t){var n=cr(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),S(e.display.dragCursor,r)}}(e,t),Oe(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))Oe(t);else if(!me(e,t)&&!On(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,Lo),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return fa.call(e,t)})),fe(l,\"keydown\",ei(e,ua)),fe(l,\"keypress\",ei(e,pa)),fe(l,\"focus\",(function(t){return _r(e,t)})),fe(l,\"blur\",(function(t){return kr(e,t)}))}(this),Ro(),Kr(this),this.curOp.forceUpdate=!0,Fi(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout(M(_r,this),20):kr(this),_a)_a.hasOwnProperty(c)&&_a[c](this,t[c],Oa);pi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Sa.length;++u)Sa[u](this);Qr(this),l&&t.lineWrapping&&\"optimizelegibility\"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering=\"auto\")}Ca.defaults=xa,Ca.optionHandlers=_a;var Sa=[];function Na(e,t,n,r){var i,o=e.doc;null==n&&(n=\"add\"),\"smart\"==n&&(o.mode.indent?i=dt(e,t).state:n=\"prev\");var a=e.options.tabSize,s=Ke(o,t),l=P(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\\s*/)[0];if(r||/\\S/.test(s.text)){if(\"smart\"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==B||c>150)){if(!r)return;n=\"prev\"}}else c=0,n=\"not\";\"prev\"==n?c=t>o.first?P(Ke(o,t-1).text,null,a):0:\"add\"==n?c=l+e.options.indentUnit:\"subtract\"==n?c=l-e.options.indentUnit:\"number\"==typeof n&&(c=l+n),c=Math.max(0,c);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,f+=\"\\t\";if(p<c&&(f+=Q(c-p)),f!=u)return mo(o,f,et(t,0),et(t,u.length),\"+input\"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var m=o.sel.ranges[h];if(m.head.line==t&&m.head.ch<u.length){var v=et(t,u.length);Ji(o,h,new xi(v,v));break}}}Ca.defineInitHook=function(e){return Sa.push(e)};var Da=null;function Ia(e){Da=e}function Aa(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s=\"paste\"==i||e.state.pasteIncoming>a,l=Ie(t),c=null;if(s&&r.ranges.length>1)if(Da&&Da.text.join(\"\\n\")==t){if(r.ranges.length%Da.text.length==0){c=[];for(var u=0;u<Da.text.length;u++)c.push(o.splitLines(Da.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=r.ranges.length-1;p>=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=et(h.line,h.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(Ke(o,m.line).text.length,m.ch+W(l).length)):s&&Da&&Da.lineWise&&Da.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=et(h.line,0)));var v={from:h,to:m,text:c?c[p%c.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};co(e.doc,v),ln(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Ir(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function La(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zr(t,(function(){return Aa(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Na(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ke(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Na(e,i.head.line,\"smart\"));a&&ln(e,\"electricInput\",e,i.head.line)}}}function Fa(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ma(e,t,n,r){e.setAttribute(\"autocorrect\",n?\"\":\"off\"),e.setAttribute(\"autocapitalize\",r?\"\":\"off\"),e.setAttribute(\"spellcheck\",!!t)}function Ra(){var e=N(\"textarea\",null,null,\"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none\"),t=N(\"div\",[e],null,\"overflow: hidden; position: relative; width: 3px; height: 0px;\");return l?e.style.width=\"1000px\":e.setAttribute(\"wrap\",\"off\"),m&&(e.style.border=\"1px solid black\"),Ma(e),t}function Pa(e,t,n,r,i){var o=t,a=n,s=Ke(e,t.line),l=i&&\"rtl\"==e.direction?-n:n;function c(r){var o,a;if(null==(o=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Zo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Zo(t,n,r);var s,l=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||An(e,t),Xn(e,t,s,n)):{begin:0,end:t.text.length}},u=c(\"before\"==n.sticky?l(n,-1):n.ch);if(\"rtl\"==e.doc.direction||1==a.level){var f=1==a.level==r<0,p=l(n,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var d=f?\"before\":\"after\";return new et(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,l(e,1),\"before\"):new et(n.line,e,\"after\")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,c(v)))?null:m}(e.cm,s,t,n):Zo(s,t,n))){if(r||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new et(a,t.ch,t.sticky),!(s=Ke(e,a))))return!1;t=ea(i,e.cm,s,t.line,l)}else t=o;return!0}if(\"char\"==r)c();else if(\"column\"==r)c(!0);else if(\"word\"==r||\"group\"==r)for(var u=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),u&&u!=m){n<0&&(n=1,c(),t.sticky=\"after\");break}if(m&&(u=m),n>0&&!c(!d))break}var v=oo(e,t,o,a,!0);return nt(o,v)&&(v.hitSide=!0),v}function Va(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Jn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ua=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ba(e,t){var n=In(e,t.line);if(!n||n.hidden)return null;var r=Ke(e.doc,t.line),i=Nn(n,r,t.line),o=ce(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Mn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function qa(e,t){return t&&(e.bad=!0),e}function Ha(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return qa(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return za(o,t,n)}}function za(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!I(r,t))return qa(et(Je(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?W(e.rest):e.line;return qa(et(Je(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=Je(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),et(u,f)}}}var f=u(a,s,n);if(f)return qa(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(f=u(p,p.firstChild,0))return qa(et(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(f=u(h,h.firstChild,-1))return qa(et(f.line,f.ch+m),i);m+=h.textContent.length}}Ua.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\\bCodeMirror-(?:line)?widget\\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()}),\"cut\"==e.type&&r.replaceSelection(\"\",null,\"cut\");else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection(\"\",null,\"cut\")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Da.text.join(\"\\n\");if(e.clipboardData.setData(\"Text\",a),e.clipboardData.getData(\"Text\")==a)return void e.preventDefault()}var s=Ra(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Da.text.join(\"\\n\");var c=document.activeElement;F(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}Ma(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),fe(i,\"paste\",(function(e){!o(e)||me(r,e)||La(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),fe(i,\"compositionstart\",(function(e){t.composing={data:e.data,done:!1}})),fe(i,\"compositionupdate\",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),fe(i,\"compositionend\",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),fe(i,\"touchstart\",(function(){return n.forceCompositionEnd()})),fe(i,\"input\",(function(){t.composing||t.readFromDOMSoon()})),fe(i,\"copy\",a),fe(i,\"cut\",a)},Ua.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute(\"aria-label\",e):this.div.removeAttribute(\"aria-label\")},Ua.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ua.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ua.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ua.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=Ha(t,e.anchorNode,e.anchorOffset),s=Ha(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Ba(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Ba(t,o);if(!u){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(c&&u){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=k(c.node,c.offset,u.offset,u.node)}catch(e){}d&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ua.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ua.prototype.showMultipleSelections=function(e){S(this.cm.display.cursorDiv,e.cursors),S(this.cm.display.selectionDiv,e.selection)},Ua.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ua.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return I(this.div,t)},Ua.prototype.focus=function(){\"nocursor\"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ua.prototype.blur=function(){this.div.blur()},Ua.prototype.getField=function(){return this.div},Ua.prototype.supportsTouch=function(){return!0},Ua.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Zr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ua.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ua.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:\"keydown\",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Ha(t,e.anchorNode,e.anchorOffset),r=Ha(t,e.focusNode,e.focusOffset);n&&r&&Zr(t,(function(){Zi(t.doc,ki(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ua.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=et(a.line-1,Ke(r.doc,a.line-1).length)),s.ch==Ke(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=ur(r,a.line))?(t=Je(i.view[0].line),n=i.view[0].node):(t=Je(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=ur(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Je(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function u(e){e&&(c(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void u(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(et(r,0),et(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&u(Qe(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m<t.childNodes.length;m++)f(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0)}else 3==t.nodeType&&u(t.nodeValue.replace(/\\u200b/g,\"\").replace(/\\u00a0/g,\" \"));var v}for(;f(t),t!=n;)t=t.nextSibling,l=!1;return o}(r,n,c,t,l)),p=Qe(r.doc,et(t,0),et(l,Ke(r.doc,l).text.length));f.length>1&&p.length>1;)if(W(f)==W(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);d<g&&m.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=W(f),b=W(p),T=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));h<T&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var E=et(t,d),O=et(l,p.length?W(p).length-h:0);return f.length>1||f[0]||tt(E,O)?(mo(r.doc,f,E,O,\"+input\"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ua.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zr(this.cm,(function(){return fr(e.cm)}))},Ua.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Ua.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ua.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Ga=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ga.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||La(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!On(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){On(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ga.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Qn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ga.prototype.showSelection=function(e){var t=this.cm.display;S(t.cursorDiv,e.cursors),S(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ga.prototype.getField=function(){return this.textarea},Ga.prototype.supportsTouch=function(){return!1},Ga.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||A()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur()},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ga.prototype.receivedFocus=function(){this.slowPoll()},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ga.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"\u200B\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Zr(t,(function(){Aa(t,i.slice(l),r.length-l,null,e.composing?\"*compose\":null),i.length>1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ga.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ga.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=cr(n,e),c=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Zi)(n.doc,ki(o),q);var u,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n      top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n      z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),x){Oe(e);var m=function(){de(window,\"mouseup\",m),setTimeout(g,20)};fe(window,\"mouseup\",m)}else setTimeout(g,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"\u200B\"+(e?i.value:\"\");i.value=\"\u21DA\",i.value=o,t.prevInput=e?\"\":\"\u200B\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"\u200B\"==t.prevInput?ei(n,so)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Oa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Oa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Di(e)}),!0),n(\"indentUnit\",2,Di,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Ii(e),Un(e),fr(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=Oa&&e.refresh()})),n(\"specialCharPlaceholder\",Xt,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!T),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){Ea(e),mi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Jo(t),i=n!=Oa&&Jo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,wa,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return Br(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){zr(e),Br(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=di(e.options.gutters,t),mi(e)}),!0),n(\"firstLineNumber\",1,mi,!0),n(\"lineNumberFormatter\",(function(e){return e}),mi,!0),n(\"showCursorWhenSelecting\",!1,vr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(kr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,ka),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,vr,!0),n(\"singleCursorHeightPerLine\",!0,vr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Ii,!0),n(\"addModeClass\",!1,Ii,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Ii,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(Ca),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&ei(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Jo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ti((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error(\"Overlays may not be stateful.\");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,fr(this)})),removeOverlay:ti((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||\"string\"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void fr(this)}})),indentLine:ti((function(e,t,n){\"string\"!=typeof t&&\"number\"!=typeof t&&(t=null==t?this.options.smartIndent?\"smart\":\"prev\":t?\"add\":\"subtract\"),Xe(this.doc,e)&&Na(this,e,t,n)})),indentSelection:ti((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Na(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Ir(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Na(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Ji(this.doc,r,new xi(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=pt(this,Ke(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf(\"overlay \"):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if(\"string\"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return dt(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Qn(this,null==e?n.head:\"object\"==typeof e?st(this.doc,e):e?n.from():n.to(),t||\"page\")},charCoords:function(e,t){return Kn(this,st(this.doc,e),t||\"page\")},coordsChar:function(e,t){return Jn(this,(e=Gn(this,e,t||\"page\")).left,e.top)},lineAtHeight:function(e,t){return e=Gn(this,{top:e,left:0},t||\"page\").top,$e(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if(\"number\"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ke(this.doc,e)}else r=e;return zn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-Ht(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Qn(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),l.sizer.appendChild(t),\"over\"==r)c=e.top;else if(\"above\"==r||\"near\"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?u=0:\"middle\"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+\"px\"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Nr(o,a)).scrollTop&&Fr(o,s.scrollTop),null!=s.scrollLeft&&Rr(o,s.scrollLeft))},triggerOnKeyDown:ti(ua),triggerOnKeyPress:ti(pa),triggerOnKeyUp:fa,triggerOnMouseDown:ti(va),execCommand:function(e){if(ta.hasOwnProperty(e))return ta[e].call(null,this)},triggerElectric:ti((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Pa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Pa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),z)})),deleteH:ti((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection(\"\",null,\"+delete\"):$o(this,(function(n){var i=Pa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var l=Qn(this,a,\"div\");if(null==o?o=l.left:l.left=o,(a=Va(this,l,i,n)).hitSide)break}return a},moveV:ti((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Qn(n,a.head,\"div\");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Va(n,s,e,t);return\"page\"==t&&a==r.sel.primary()&&Dr(n,Kn(n,l,\"div\").top-s.top),l}),z),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Ke(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,\"wordChars\");\"before\"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\\s/.test(o)?function(e){return/\\s/.test(e)}:function(e){return!/\\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new xi(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,\"CodeMirror-overwrite\"):w(this.display.cursorDiv,\"CodeMirror-overwrite\"),he(this,\"overwriteToggle\",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==A()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Ar(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-wn(this)-this.display.barHeight,width:e.scrollWidth-wn(this)-this.display.barWidth,clientHeight:Sn(this),clientWidth:Cn(this)}},scrollIntoView:ti((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):\"number\"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Lr(e),e.curOp.scrollToPos=t}(this,e):jr(this,e.from,e.to,e.margin)})),setSize:ti((function(e,t){var n=this,r=function(e){return\"number\"==typeof e||/^\\d+$/.test(String(e))?e+\"px\":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Vn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pr(n,i,\"widget\");break}++i})),this.curOp.forceUpdate=!0,he(this,\"refresh\",this)})),operation:function(e){return Zr(this,e)},startOperation:function(){return Kr(this)},endOperation:function(){return Qr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;fr(this),this.curOp.forceUpdate=!0,Un(this),Ar(this,this.doc.scrollLeft,this.doc.scrollTop),ci(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&lr(this),he(this,\"refresh\",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,e),Un(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ln(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Ca);var Ka=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Qa in Io.prototype)Io.prototype.hasOwnProperty(Qa)&&U(Ka,Qa)<0&&(Ca.prototype[Qa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Io.prototype[Qa]));return ye(Io),Ca.inputStyles={textarea:Ga,contenteditable:Ua},Ca.defineMode=function(e){Ca.defaults.mode||\"null\"==e||(Ca.defaults.mode=e),Re.apply(this,arguments)},Ca.defineMIME=function(e,t){Me[e]=t},Ca.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),Ca.defineMIME(\"text/plain\",\"null\"),Ca.defineExtension=function(e,t){Ca.prototype[e]=t},Ca.defineDocExtension=function(e,t){Io.prototype[e]=t},Ca.fromTextArea=function(e,t){if((t=t?R(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=A();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=Ca((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=Ti,e.Doc=Io,e.splitLines=Ie,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=B,e.signal=he,e.Line=Kt,e.changeEnd=wi,e.scrollbarModel=Hr,e.Pos=et,e.cmpPos=tt,e.modes=Fe,e.mimeModes=Me,e.resolveMode=Pe,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=Be,e.copyState=qe,e.startState=ze,e.innerMode=He,e.commands=ta,e.keyMap=Ho,e.keyName=Yo,e.isModifierKey=Qo,e.lookupKey=Ko,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=Co,e.TextMarker=ko,e.LineWidget=Oo,e.e_preventDefault=be,e.e_stopPropagation=Te,e.e_stop=Oe,e.addClass=L,e.contains=I,e.rmClass=w,e.keyNames=Vo}(Ca),Ca.version=\"5.57.0\",Ca}()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:\"Unexpected invariant triggered.\")}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=Object.prototype.hasOwnProperty;function r(t,n){return e.call(t,n)}function i(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 o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var a=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,s=new RegExp(a.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(61),u=/[&<>\"]/,f=/[&<>\"]/g,p={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"};function d(e){return p[e]}var h=/[.?*+^$[\\]\\\\(){}|-]/g,m=n(50);t.lib={},t.lib.mdurl=n(62),t.lib.ucmicro=n(117),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if(\"object\"!=typeof t)throw new TypeError(t+\"must be object\");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return\"[object String]\"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=r,t.unescapeMd=function(e){return e.indexOf(\"\\\\\")<0?e:e.replace(a,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return r(c,t)?c[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return u.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(h,\"\\\\$&\")},t.normalizeReference=function(e){return e=e.trim().replace(/\\s+/g,\" \"),\"\u1E7E\"===\"\u1E9E\".toLowerCase()&&(e=e.replace(/\u1E9E/g,\"\u00DF\")),e.toLowerCase().toUpperCase()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(24),i=function(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n};Object(r.a)(i,(function(){return{start:this.start,end:this.end}}));var o=function(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null};function a(e){return null!=e&&\"string\"==typeof e.kind}Object(r.a)(o,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return Vn})),n.d(t,\"graphqlSync\",(function(){return Un})),n.d(t,\"GraphQLSchema\",(function(){return ue})),n.d(t,\"GraphQLDirective\",(function(){return X})),n.d(t,\"GraphQLScalarType\",(function(){return V.g})),n.d(t,\"GraphQLObjectType\",(function(){return V.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return V.c})),n.d(t,\"GraphQLUnionType\",(function(){return V.h})),n.d(t,\"GraphQLEnumType\",(function(){return V.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return V.b})),n.d(t,\"GraphQLList\",(function(){return V.d})),n.d(t,\"GraphQLNonNull\",(function(){return V.e})),n.d(t,\"specifiedScalarTypes\",(function(){return W.g})),n.d(t,\"GraphQLInt\",(function(){return W.d})),n.d(t,\"GraphQLFloat\",(function(){return W.b})),n.d(t,\"GraphQLString\",(function(){return W.e})),n.d(t,\"GraphQLBoolean\",(function(){return W.a})),n.d(t,\"GraphQLID\",(function(){return W.c})),n.d(t,\"specifiedDirectives\",(function(){return re})),n.d(t,\"GraphQLIncludeDirective\",(function(){return Z})),n.d(t,\"GraphQLSkipDirective\",(function(){return ee})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return ne})),n.d(t,\"TypeKind\",(function(){return oe.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return te})),n.d(t,\"introspectionTypes\",(function(){return oe.introspectionTypes})),n.d(t,\"__Schema\",(function(){return oe.__Schema})),n.d(t,\"__Directive\",(function(){return oe.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return oe.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return oe.__Type})),n.d(t,\"__Field\",(function(){return oe.__Field})),n.d(t,\"__InputValue\",(function(){return oe.__InputValue})),n.d(t,\"__EnumValue\",(function(){return oe.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return oe.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return oe.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return oe.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return oe.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return le})),n.d(t,\"isDirective\",(function(){return J})),n.d(t,\"isType\",(function(){return V.S})),n.d(t,\"isScalarType\",(function(){return V.R})),n.d(t,\"isObjectType\",(function(){return V.N})),n.d(t,\"isInterfaceType\",(function(){return V.H})),n.d(t,\"isUnionType\",(function(){return V.T})),n.d(t,\"isEnumType\",(function(){return V.E})),n.d(t,\"isInputObjectType\",(function(){return V.F})),n.d(t,\"isListType\",(function(){return V.J})),n.d(t,\"isNonNullType\",(function(){return V.L})),n.d(t,\"isInputType\",(function(){return V.G})),n.d(t,\"isOutputType\",(function(){return V.O})),n.d(t,\"isLeafType\",(function(){return V.I})),n.d(t,\"isCompositeType\",(function(){return V.D})),n.d(t,\"isAbstractType\",(function(){return V.C})),n.d(t,\"isWrappingType\",(function(){return V.U})),n.d(t,\"isNullableType\",(function(){return V.M})),n.d(t,\"isNamedType\",(function(){return V.K})),n.d(t,\"isRequiredArgument\",(function(){return V.P})),n.d(t,\"isRequiredInputField\",(function(){return V.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return W.f})),n.d(t,\"isIntrospectionType\",(function(){return oe.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return ie})),n.d(t,\"assertSchema\",(function(){return ce})),n.d(t,\"assertDirective\",(function(){return $})),n.d(t,\"assertType\",(function(){return V.x})),n.d(t,\"assertScalarType\",(function(){return V.w})),n.d(t,\"assertObjectType\",(function(){return V.u})),n.d(t,\"assertInterfaceType\",(function(){return V.o})),n.d(t,\"assertUnionType\",(function(){return V.y})),n.d(t,\"assertEnumType\",(function(){return V.l})),n.d(t,\"assertInputObjectType\",(function(){return V.m})),n.d(t,\"assertListType\",(function(){return V.q})),n.d(t,\"assertNonNullType\",(function(){return V.s})),n.d(t,\"assertInputType\",(function(){return V.n})),n.d(t,\"assertOutputType\",(function(){return V.v})),n.d(t,\"assertLeafType\",(function(){return V.p})),n.d(t,\"assertCompositeType\",(function(){return V.k})),n.d(t,\"assertAbstractType\",(function(){return V.j})),n.d(t,\"assertWrappingType\",(function(){return V.z})),n.d(t,\"assertNullableType\",(function(){return V.t})),n.d(t,\"assertNamedType\",(function(){return V.r})),n.d(t,\"getNullableType\",(function(){return V.B})),n.d(t,\"getNamedType\",(function(){return V.A})),n.d(t,\"validateSchema\",(function(){return pe})),n.d(t,\"assertValidSchema\",(function(){return de})),n.d(t,\"Source\",(function(){return d})),n.d(t,\"getLocation\",(function(){return qn.a})),n.d(t,\"printLocation\",(function(){return Hn.a})),n.d(t,\"printSourceLocation\",(function(){return Hn.b})),n.d(t,\"Lexer\",(function(){return y})),n.d(t,\"TokenKind\",(function(){return m})),n.d(t,\"parse\",(function(){return _})),n.d(t,\"parseValue\",(function(){return k})),n.d(t,\"parseType\",(function(){return w})),n.d(t,\"print\",(function(){return qe.a})),n.d(t,\"visit\",(function(){return D.c})),n.d(t,\"visitInParallel\",(function(){return D.d})),n.d(t,\"getVisitFn\",(function(){return D.b})),n.d(t,\"BREAK\",(function(){return D.a})),n.d(t,\"Kind\",(function(){return u.a})),n.d(t,\"DirectiveLocation\",(function(){return h.a})),n.d(t,\"isDefinitionNode\",(function(){return Ve.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return Ve.b})),n.d(t,\"isSelectionNode\",(function(){return Ve.c})),n.d(t,\"isValueNode\",(function(){return Ve.i})),n.d(t,\"isTypeNode\",(function(){return Ve.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return Ve.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return Ve.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return Ve.h})),n.d(t,\"isTypeExtensionNode\",(function(){return Ve.e})),n.d(t,\"execute\",(function(){return hn})),n.d(t,\"defaultFieldResolver\",(function(){return Rn})),n.d(t,\"defaultTypeResolver\",(function(){return Mn})),n.d(t,\"responsePathAsArray\",(function(){return tn})),n.d(t,\"getDirectiveValues\",(function(){return pn})),n.d(t,\"subscribe\",(function(){return Wn})),n.d(t,\"createSourceEventStream\",(function(){return $n})),n.d(t,\"validate\",(function(){return $t})),n.d(t,\"ValidationContext\",(function(){return Jt})),n.d(t,\"specifiedRules\",(function(){return Ut})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Le.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return Ke})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return He})),n.d(t,\"KnownArgumentNamesRule\",(function(){return ot})),n.d(t,\"KnownDirectivesRule\",(function(){return tt})),n.d(t,\"KnownFragmentNamesRule\",(function(){return We})),n.d(t,\"KnownTypeNamesRule\",(function(){return Ue})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Fe})),n.d(t,\"NoFragmentCyclesRule\",(function(){return $e})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Ze})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return Ye})),n.d(t,\"NoUnusedVariablesRule\",(function(){return et})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return bt})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return Je})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return dt})),n.d(t,\"ScalarLeafsRule\",(function(){return Ge})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return Me})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return st})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return nt})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return Qe})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return Nt})),n.d(t,\"UniqueOperationNamesRule\",(function(){return je})),n.d(t,\"UniqueVariableNamesRule\",(function(){return Xe})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return ct})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return ze})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return vt})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return Dt})),n.d(t,\"UniqueOperationTypesRule\",(function(){return It})),n.d(t,\"UniqueTypeNamesRule\",(function(){return At})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return Lt})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return jt})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return Mt})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return Pt})),n.d(t,\"GraphQLError\",(function(){return l.a})),n.d(t,\"syntaxError\",(function(){return c})),n.d(t,\"locatedError\",(function(){return F})),n.d(t,\"printError\",(function(){return l.b})),n.d(t,\"formatError\",(function(){return Zn})),n.d(t,\"getIntrospectionQuery\",(function(){return nr})),n.d(t,\"getOperationAST\",(function(){return rr})),n.d(t,\"getOperationRootType\",(function(){return nn})),n.d(t,\"introspectionFromSchema\",(function(){return ar})),n.d(t,\"buildClientSchema\",(function(){return lr})),n.d(t,\"buildASTSchema\",(function(){return yr})),n.d(t,\"buildSchema\",(function(){return Tr})),n.d(t,\"getDescription\",(function(){return gr})),n.d(t,\"extendSchema\",(function(){return dr})),n.d(t,\"lexicographicSortSchema\",(function(){return _r})),n.d(t,\"printSchema\",(function(){return Nr})),n.d(t,\"printType\",(function(){return jr})),n.d(t,\"printIntrospectionSchema\",(function(){return Dr})),n.d(t,\"typeFromAST\",(function(){return Ne})),n.d(t,\"valueFromAST\",(function(){return on})),n.d(t,\"valueFromASTUntyped\",(function(){return Hr.a})),n.d(t,\"astFromValue\",(function(){return Sr.a})),n.d(t,\"TypeInfo\",(function(){return De})),n.d(t,\"visitWithTypeInfo\",(function(){return Ae})),n.d(t,\"coerceInputValue\",(function(){return sn})),n.d(t,\"concatAST\",(function(){return zr})),n.d(t,\"separateOperations\",(function(){return Gr})),n.d(t,\"stripIgnoredCharacters\",(function(){return Qr})),n.d(t,\"isEqualType\",(function(){return U})),n.d(t,\"isTypeSubTypeOf\",(function(){return B})),n.d(t,\"doTypesOverlap\",(function(){return q})),n.d(t,\"assertValidName\",(function(){return R})),n.d(t,\"isValidNameError\",(function(){return P})),n.d(t,\"BreakingChangeType\",(function(){return $r})),n.d(t,\"DangerousChangeType\",(function(){return Xr})),n.d(t,\"findBreakingChanges\",(function(){return Zr})),n.d(t,\"findDangerousChanges\",(function(){return ei})),n.d(t,\"findDeprecatedUsages\",(function(){return di}));var r=\"15.0.0\",i=Object.freeze({major:15,minor:0,patch:0,preReleaseTag:null});function o(e){return\"function\"==typeof(null==e?void 0:e.then)}var a=n(3),s=n(4),l=n(2);function c(e,t,n){return new l.a(\"Syntax Error: \".concat(n),void 0,e,[t])}var u=n(1),f=n(15);function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"GraphQL request\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(s.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(s.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,r;return t=e,(n=[{key:f.c,get:function(){return\"Source\"}}])&&p(t.prototype,n),r&&p(t,r),e}(),h=n(5),m=Object.freeze({SOF:\"<SOF>\",EOF:\"<EOF>\",BANG:\"!\",DOLLAR:\"$\",AMP:\"&\",PAREN_L:\"(\",PAREN_R:\")\",SPREAD:\"...\",COLON:\":\",EQUALS:\"=\",AT:\"@\",BRACKET_L:\"[\",BRACKET_R:\"]\",BRACE_L:\"{\",PIPE:\"|\",BRACE_R:\"}\",NAME:\"Name\",INT:\"Int\",FLOAT:\"Float\",STRING:\"String\",BLOCK_STRING:\"BlockString\",COMMENT:\"Comment\"}),v=n(13),g=n(28),y=function(){function e(e){var t=new v.b(m.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==m.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=E(this,e)}while(e.kind===m.COMMENT);return e},e}();function b(e){return e===m.BANG||e===m.DOLLAR||e===m.AMP||e===m.PAREN_L||e===m.PAREN_R||e===m.SPREAD||e===m.COLON||e===m.EQUALS||e===m.AT||e===m.BRACKET_L||e===m.BRACKET_R||e===m.BRACE_L||e===m.PIPE||e===m.BRACE_R}function T(e){return isNaN(e)?m.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function E(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,t.end,e),a=e.line,s=1+o-e.lineStart;if(o>=i)return new v.b(m.EOF,i,i,a,s,t);var l=r.charCodeAt(o);switch(l){case 33:return new v.b(m.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new v.b(m.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new v.b(m.DOLLAR,o,o+1,a,s,t);case 38:return new v.b(m.AMP,o,o+1,a,s,t);case 40:return new v.b(m.PAREN_L,o,o+1,a,s,t);case 41:return new v.b(m.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new v.b(m.SPREAD,o,o+3,a,s,t);break;case 58:return new v.b(m.COLON,o,o+1,a,s,t);case 61:return new v.b(m.EQUALS,o,o+1,a,s,t);case 64:return new v.b(m.AT,o,o+1,a,s,t);case 91:return new v.b(m.BRACKET_L,o,o+1,a,s,t);case 93:return new v.b(m.BRACKET_R,o,o+1,a,s,t);case 123:return new v.b(m.BRACE_L,o,o+1,a,s,t);case 124:return new v.b(m.PIPE,o,o+1,a,s,t);case 125:return new v.b(m.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,l=0;for(;s!==a&&!isNaN(l=o.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new v.b(m.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,l=t,u=!1;45===s&&(s=a.charCodeAt(++l));if(48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw c(e,l,\"Invalid number, unexpected digit after 0: \".concat(T(s),\".\"))}else l=O(e,l,s),s=a.charCodeAt(l);46===s&&(u=!0,s=a.charCodeAt(++l),l=O(e,l,s),s=a.charCodeAt(l));69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=O(e,l,s),s=a.charCodeAt(l));if(46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw c(e,l,\"Invalid number, expected digit but got: \".concat(T(s),\".\"));return new v.b(u?m.FLOAT:m.INT,t,l,r,i,o,a.slice(t,l))}(n,o,l,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,l=s,u=0,f=\"\";for(;s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return f+=a.slice(l,s),new v.b(m.BLOCK_STRING,t,s+3,n,r,i,Object(g.a)(f));if(u<32&&9!==u&&10!==u&&13!==u)throw c(e,s,\"Invalid character within String: \".concat(T(u),\".\"));10===u?(++s,++o.line,o.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(f+=a.slice(l,s)+'\"\"\"',l=s+=4):++s}throw c(e,s,\"Unterminated string.\")}(n,o,a,s,t,e):function(e,t,n,r,i){var o=e.body,a=t+1,s=a,l=0,u=\"\";for(;a<o.length&&!isNaN(l=o.charCodeAt(a))&&10!==l&&13!==l;){if(34===l)return u+=o.slice(s,a),new v.b(m.STRING,t,a+1,n,r,i,u);if(l<32&&9!==l)throw c(e,a,\"Invalid character within String: \".concat(T(l),\".\"));if(++a,92===l){switch(u+=o.slice(s,a-1),l=o.charCodeAt(a)){case 34:u+='\"';break;case 47:u+=\"/\";break;case 92:u+=\"\\\\\";break;case 98:u+=\"\\b\";break;case 102:u+=\"\\f\";break;case 110:u+=\"\\n\";break;case 114:u+=\"\\r\";break;case 116:u+=\"\\t\";break;case 117:var f=(d=o.charCodeAt(a+1),h=o.charCodeAt(a+2),g=o.charCodeAt(a+3),y=o.charCodeAt(a+4),x(d)<<12|x(h)<<8|x(g)<<4|x(y));if(f<0){var p=o.slice(a+1,a+5);throw c(e,a,\"Invalid character escape sequence: \\\\u\".concat(p,\".\"))}u+=String.fromCharCode(f),a+=4;break;default:throw c(e,a,\"Invalid character escape sequence: \\\\\".concat(String.fromCharCode(l),\".\"))}++a,s=a}}var d,h,g,y;throw c(e,a,\"Unterminated string.\")}(n,o,a,s,t)}throw c(n,o,function(e){if(e<32&&9!==e&&10!==e&&13!==e)return\"Cannot contain the invalid character \".concat(T(e),\".\");if(39===e)return\"Unexpected single quote character ('), did you mean to use a double quote (\\\")?\";return\"Cannot parse the unexpected character \".concat(T(e),\".\")}(l))}function O(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 c(e,i,\"Invalid number, expected digit but got: \".concat(T(o),\".\"))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function _(e,t){return new C(e,t).parseDocument()}function k(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(m.EOF),r}function w(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseTypeReference();return n.expectToken(m.EOF),r}var C=function(){function e(e,t){var n=\"string\"==typeof e?new d(e):e;n instanceof d||Object(s.a)(0,\"Must provide Source. Received: \".concat(Object(a.a)(n),\".\")),this._lexer=new y(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(m.NAME);return{kind:u.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:u.a.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(m.NAME))switch(this._lexer.token.value){case\"query\":case\"mutation\":case\"subscription\":return this.parseOperationDefinition();case\"fragment\":return this.parseFragmentDefinition();case\"schema\":case\"scalar\":case\"type\":case\"interface\":case\"union\":case\"enum\":case\"input\":case\"directive\":return this.parseTypeSystemDefinition();case\"extend\":return this.parseTypeSystemExtension()}else{if(this.peek(m.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(m.BRACE_L))return{kind:u.a.OPERATION_DEFINITION,operation:\"query\",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(m.NAME)&&(t=this.parseName()),{kind:u.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(m.NAME);switch(e.value){case\"query\":return\"query\";case\"mutation\":return\"mutation\";case\"subscription\":return\"subscription\"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(m.DOLLAR),{kind:u.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.a.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(m.COLON)?(e=r,t=this.parseName()):t=r,{kind:u.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,t,m.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(m.COLON),{kind:u.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(m.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(m.SPREAD);var t=this.expectOptionalKeyword(\"on\");return!t&&this.peek(m.NAME)?{kind:u.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword(\"fragment\"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if(\"on\"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case m.BRACKET_L:return this.parseList(e);case m.BRACE_L:return this.parseObject(e);case m.INT:return this._lexer.advance(),{kind:u.a.INT,value:t.value,loc:this.loc(t)};case m.FLOAT:return this._lexer.advance(),{kind:u.a.FLOAT,value:t.value,loc:this.loc(t)};case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this._lexer.advance(),t.value){case\"true\":return{kind:u.a.BOOLEAN,value:!0,loc:this.loc(t)};case\"false\":return{kind:u.a.BOOLEAN,value:!1,loc:this.loc(t)};case\"null\":return{kind:u.a.NULL,loc:this.loc(t)};default:return{kind:u.a.ENUM,value:t.value,loc:this.loc(t)}}case m.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.a.STRING,value:e.value,block:e.kind===m.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:u.a.LIST,values:this.any(m.BRACKET_L,(function(){return t.parseValueLiteral(e)}),m.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:u.a.OBJECT,fields:this.any(m.BRACE_L,(function(){return t.parseObjectField(e)}),m.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(m.COLON),{kind:u.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(m.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(m.AT),{kind:u.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(m.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(m.BRACKET_R),e={kind:u.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(m.BANG)?{kind:u.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:u.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaDefinition();case\"scalar\":return this.parseScalarTypeDefinition();case\"type\":return this.parseObjectTypeDefinition();case\"interface\":return this.parseInterfaceTypeDefinition();case\"union\":return this.parseUnionTypeDefinition();case\"enum\":return this.parseEnumTypeDefinition();case\"input\":return this.parseInputObjectTypeDefinition();case\"directive\":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"schema\");var n=this.parseDirectives(!0),r=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return{kind:u.a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(m.COLON);var n=this.parseNamedType();return{kind:u.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"scalar\");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"type\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword(\"implements\")){this.expectOptionalToken(m.AMP);do{var t;e.push(this.parseNamedType())}while(this.expectOptionalToken(m.AMP)||!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)&&this.peek(m.NAME))}return e},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(m.BRACE_L)&&this._lexer.lookahead().kind===m.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(m.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(m.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(m.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"interface\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"union\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:u.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(m.EQUALS)){this.expectOptionalToken(m.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(m.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"enum\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:u.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"input\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:u.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaExtension();case\"scalar\":return this.parseScalarTypeExtension();case\"type\":return this.parseObjectTypeExtension();case\"interface\":return this.parseInterfaceTypeExtension();case\"union\":return this.parseUnionTypeExtension();case\"enum\":return this.parseEnumTypeExtension();case\"input\":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"schema\");var t=this.parseDirectives(!0),n=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:u.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"scalar\");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:u.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"type\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"interface\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"union\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"enum\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"input\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"directive\"),this.expectToken(m.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword(\"repeatable\");this.expectKeyword(\"on\");var o=this.parseDirectiveLocations();return{kind:u.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(m.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(m.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==h.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new v.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw c(this._lexer.source,t.start,\"Expected \".concat(N(e),\", found \").concat(S(t),\".\"))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==m.NAME||t.value!==e)throw c(this._lexer.source,t.start,'Expected \"'.concat(e,'\", found ').concat(S(t),\".\"));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===m.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return c(this._lexer.source,t.start,\"Unexpected \".concat(S(t),\".\"))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function S(e){var t=e.value;return N(e.kind)+(null!=t?' \"'.concat(t,'\"'):\"\")}function N(e){return b(e)?'\"'.concat(e,'\"'):e}var D=n(19),I=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}},A=Array.prototype.flatMap,L=A?function(e,t){return A.call(e,t)}:function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r]);Array.isArray(i)?n=n.concat(i):n.push(i)}return n},j=n(7);function F(e,t,n){var r;return Array.isArray(e.path)?e:new l.a(e.message,null!==(r=e.nodes)&&void 0!==r?r:t,e.source,e.positions,n,e)}var M=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function R(e){var t=P(e);if(t)throw t;return e}function P(e){return\"string\"==typeof e||Object(s.a)(0,\"Expected name to be a string.\"),e.length>1&&\"_\"===e[0]&&\"_\"===e[1]?new l.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.')):M.test(e)?void 0:new l.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}var V=n(0);function U(e,t){return e===t||(Object(V.L)(e)&&Object(V.L)(t)||!(!Object(V.J)(e)||!Object(V.J)(t)))&&U(e.ofType,t.ofType)}function B(e,t,n){return t===n||(Object(V.L)(n)?!!Object(V.L)(t)&&B(e,t.ofType,n.ofType):Object(V.L)(t)?B(e,t.ofType,n):Object(V.J)(n)?!!Object(V.J)(t)&&B(e,t.ofType,n.ofType):!Object(V.J)(t)&&(Object(V.C)(n)&&(Object(V.H)(t)||Object(V.N)(t))&&e.isSubType(n,t)))}function q(e,t,n){return t===n||(Object(V.C)(t)?Object(V.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!Object(V.C)(n)&&e.isSubType(n,t))}var H=n(27),z=n(21),G=n(25),K=n(24),Q=n(17),W=n(6);function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e){return Object(G.a)(e,X)}function $(e){if(!J(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL directive.\"));return e}var X=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,e.name||Object(s.a)(0,\"Directive must be named.\"),Array.isArray(e.locations)||Object(s.a)(0,\"@\".concat(e.name,\" locations must be an Array.\"));var r=null!==(n=e.args)&&void 0!==n?n:{};Object(Q.a)(r)&&!Array.isArray(r)||Object(s.a)(0,\"@\".concat(e.name,\" args must be an object with argument names as keys.\")),this.args=Object(H.a)(r).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(z.a)(n.extensions),astNode:n.astNode}}))}var t,n,r,i=e.prototype;return i.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(V.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},i.toString=function(){return\"@\"+this.name},t=e,(n=[{key:f.c,get:function(){return\"GraphQLDirective\"}}])&&Y(t.prototype,n),r&&Y(t,r),e}();Object(K.a)(X);var Z=new X({name:\"include\",description:\"Directs the executor to include this field or fragment only when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Included when true.\"}}}),ee=new X({name:\"skip\",description:\"Directs the executor to skip this field or fragment when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Skipped when true.\"}}}),te=\"No longer supported\",ne=new X({name:\"deprecated\",description:\"Marks an element of a GraphQL schema as no longer supported.\",locations:[h.a.FIELD_DEFINITION,h.a.ENUM_VALUE],args:{reason:{type:W.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:te}}}),re=Object.freeze([Z,ee,ne]);function ie(e){return re.some((function(t){return t.name===e.name}))}var oe=n(8),ae=n(30);function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e){return Object(G.a)(e,ue)}function ce(e){if(!le(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL schema.\"));return e}var ue=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,Object(Q.a)(e)||Object(s.a)(0,\"Must provide configuration object.\"),!e.types||Array.isArray(e.types)||Object(s.a)(0,'\"types\" must be Array if provided but got: '.concat(Object(a.a)(e.types),\".\")),!e.directives||Array.isArray(e.directives)||Object(s.a)(0,'\"directives\" must be Array if provided but got: '+\"\".concat(Object(a.a)(e.directives),\".\")),this.description=e.description,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:re;var n=new Set(e.types);if(null!=e.types)for(var r=0,i=e.types;r<i.length;r++){var o=i[r];n.delete(o),fe(o,n)}null!=this._queryType&&fe(this._queryType,n),null!=this._mutationType&&fe(this._mutationType,n),null!=this._subscriptionType&&fe(this._subscriptionType,n);for(var l=0,c=this._directives;l<c.length;l++){var u=c[l];if(J(u))for(var f=0,p=u.args;f<p.length;f++){fe(p[f].type,n)}}fe(oe.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var d=0,h=Object(ae.a)(n);d<h.length;d++){var m=h[d];if(null!=m){var v=m.name;if(v||Object(s.a)(0,\"One of the provided types for building the Schema is missing a name.\"),void 0!==this._typeMap[v])throw new Error('Schema must contain uniquely named types but contains multiple types named \"'.concat(v,'\".'));if(this._typeMap[v]=m,Object(V.H)(m))for(var g=0,y=m.getInterfaces();g<y.length;g++){var b=y[g];if(Object(V.H)(b)){var T=this._implementationsMap[b.name];void 0===T&&(T=this._implementationsMap[b.name]={objects:[],interfaces:[]}),T.interfaces.push(m)}}else if(Object(V.N)(m))for(var E=0,O=m.getInterfaces();E<O.length;E++){var x=O[E];if(Object(V.H)(x)){var _=this._implementationsMap[x.name];void 0===_&&(_=this._implementationsMap[x.name]={objects:[],interfaces:[]}),_.objects.push(m)}}}}}var t,n,r,i=e.prototype;return i.getQueryType=function(){return this._queryType},i.getMutationType=function(){return this._mutationType},i.getSubscriptionType=function(){return this._subscriptionType},i.getTypeMap=function(){return this._typeMap},i.getType=function(e){return this.getTypeMap()[e]},i.getPossibleTypes=function(e){return Object(V.T)(e)?e.getTypes():this.getImplementations(e).objects},i.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},i.isPossibleType=function(e,t){return this.isSubType(e,t)},i.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),Object(V.T)(e))for(var r=0,i=e.getTypes();r<i.length;r++){n[i[r].name]=!0}else{for(var o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++){n[s[a].name]=!0}for(var l=0,c=o.interfaces;l<c.length;l++){n[c[l].name]=!0}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},i.getDirectives=function(){return this._directives},i.getDirective=function(e){return I(this.getDirectives(),(function(t){return t.name===e}))},i.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object(j.a)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:f.c,get:function(){return\"GraphQLSchema\"}}])&&se(t.prototype,n),r&&se(t,r),e}();function fe(e,t){var n=Object(V.A)(e);if(!t.has(n))if(t.add(n),Object(V.T)(n))for(var r=0,i=n.getTypes();r<i.length;r++){fe(i[r],t)}else if(Object(V.N)(n)||Object(V.H)(n)){for(var o=0,a=n.getInterfaces();o<a.length;o++){fe(a[o],t)}for(var s=0,l=Object(j.a)(n.getFields());s<l.length;s++){var c=l[s];fe(c.type,t);for(var u=0,f=c.args;u<f.length;u++){fe(f[u].type,t)}}}else if(Object(V.F)(n))for(var p=0,d=Object(j.a)(n.getFields());p<d.length;p++){fe(d[p].type,t)}return t}function pe(e){if(ce(e),e.__validationErrors)return e.__validationErrors;var t=new he(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(V.N)(n)||e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(a.a)(n),\".\"),me(t,n,\"query\")):e.reportError(\"Query root type must be provided.\",t.astNode);var r=t.getMutationType();r&&!Object(V.N)(r)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(r),\".\"),me(t,r,\"mutation\"));var i=t.getSubscriptionType();i&&!Object(V.N)(i)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(i),\".\"),me(t,i,\"subscription\"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(J(r)){ve(e,r);for(var i=0,o=r.args;i<o.length;i++){var s=o[i];ve(e,s),Object(V.G)(s.type)||e.reportError(\"The type of @\".concat(r.name,\"(\").concat(s.name,\":) must be Input Type \")+\"but got: \".concat(Object(a.a)(s.type),\".\"),s.astNode)}}else e.reportError(\"Expected directive but got: \".concat(Object(a.a)(r),\".\"),null==r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;for(var a=Object(j.a)(o.getFields()),s=0;s<a.length;s++){var l=a[s];if(Object(V.L)(l.type)&&Object(V.F)(l.type.ofType)){var c=l.type.ofType,u=r[c.name];if(n.push(l),void 0===u)i(c);else{var f=n.slice(u),p=f.map((function(e){return e.name})).join(\".\");e.reportError('Cannot reference Input Object \"'.concat(c.name,'\" within itself through a series of non-null fields: \"').concat(p,'\".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,i=Object(j.a)(n);r<i.length;r++){var o=i[r];Object(V.K)(o)?(Object(oe.isIntrospectionType)(o)||ve(e,o),Object(V.N)(o)||Object(V.H)(o)?(ge(e,o),ye(e,o)):Object(V.T)(o)?Ee(e,o):Object(V.E)(o)?Oe(e,o):Object(V.F)(o)&&(xe(e,o),t(o))):e.reportError(\"Expected GraphQL named type but got: \".concat(Object(a.a)(o),\".\"),o.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function de(e){var t=pe(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}var he=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new l.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function me(e,t,n){for(var r=ke(e,(function(e){return e.operationTypes})),i=0;i<r.length;i++){var o=r[i];if(o.operation===n)return o.type}return t.astNode}function ve(e,t){var n=P(t.name);n&&e.addError(F(n,t.astNode))}function ge(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.O)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Output Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type);for(var s=0,l=o.args;s<l.length;s++){var c,u=l[s],f=u.name;if(ve(e,u),!Object(V.G)(u.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\"(\").concat(f,\":) must be Input \")+\"Type but got: \".concat(Object(a.a)(u.type),\".\"),null===(c=u.astNode)||void 0===c?void 0:c.type)}}}function ye(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(V.H)(o)?t!==o?n[o.name]?e.reportError(\"Type \".concat(t.name,\" can only implement \").concat(o.name,\" once.\"),we(t,o)):(n[o.name]=!0,Te(e,t,o),be(e,t,o)):e.reportError(\"Type \".concat(t.name,\" cannot implement itself because it would create a circular reference.\"),we(t,o)):e.reportError(\"Type \".concat(Object(a.a)(t),\" must only implement Interface types, \")+\"it cannot implement \".concat(Object(a.a)(o),\".\"),we(t,o))}}function be(e,t,n){for(var r=t.getFields(),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i],l=s.name,c=r[l];if(c){B(e.schema,c.type,s.type)||e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expects type \")+\"\".concat(Object(a.a)(s.type),\" but \").concat(t.name,\".\").concat(l,\" \")+\"is type \".concat(Object(a.a)(c.type),\".\"),[s.astNode.type,c.astNode.type]);for(var u=function(r,i){var o=i[r],s=o.name,u=I(c.args,(function(e){return e.name===s}));if(!u)return e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) expected but \").concat(t.name,\".\").concat(l,\" does not provide it.\"),[o.astNode,c.astNode]),\"continue\";U(o.type,u.type)||e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) \")+\"expects type \".concat(Object(a.a)(o.type),\" but \")+\"\".concat(t.name,\".\").concat(l,\"(\").concat(s,\":) is type \")+\"\".concat(Object(a.a)(u.type),\".\"),[o.astNode.type,u.astNode.type])},f=0,p=s.args;f<p.length;f++)u(f,p);for(var d=function(r,i){var o=i[r],a=o.name;!I(s.args,(function(e){return e.name===a}))&&Object(V.P)(o)&&e.reportError(\"Object field \".concat(t.name,\".\").concat(l,\" includes required argument \").concat(a,\" that is missing from the Interface field \").concat(n.name,\".\").concat(l,\".\"),[o.astNode,s.astNode])},h=0,m=c.args;h<m.length;h++)d(h,m)}else e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expected but \").concat(t.name,\" does not provide it.\"),[s.astNode].concat(_e(t)))}}function Te(e,t,n){for(var r=t.getInterfaces(),i=0,o=n.getInterfaces();i<o.length;i++){var a=o[i];-1===r.indexOf(a)&&e.reportError(a===t?\"Type \".concat(t.name,\" cannot implement \").concat(n.name,\" because it would create a circular reference.\"):\"Type \".concat(t.name,\" must implement \").concat(a.name,\" because it is implemented by \").concat(n.name,\".\"),[].concat(we(n,a),we(t,n)))}}function Ee(e,t){var n=t.getTypes();0===n.length&&e.reportError(\"Union type \".concat(t.name,\" must define one or more member types.\"),_e(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError(\"Union type \".concat(t.name,\" can only include type \").concat(o.name,\" once.\"),Ce(t,o.name)):(r[o.name]=!0,Object(V.N)(o)||e.reportError(\"Union type \".concat(t.name,\" can only include Object types, \")+\"it cannot include \".concat(Object(a.a)(o),\".\"),Ce(t,String(o))))}}function Oe(e,t){var n=t.getValues();0===n.length&&e.reportError(\"Enum type \".concat(t.name,\" must define one or more values.\"),_e(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;ve(e,i),\"true\"!==o&&\"false\"!==o&&\"null\"!==o||e.reportError(\"Enum type \".concat(t.name,\" cannot include value: \").concat(o,\".\"),i.astNode)}}function xe(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Input Object type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.G)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Input Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type)}}function _e(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!=n?n:[]}function ke(e,t){return L(_e(e),(function(e){var n;return null!==(n=t(e))&&void 0!==n?n:[]}))}function we(e,t){return ke(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function Ce(e,t){return ke(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}var Se=n(11);function Ne(e,t){var n;return t.kind===u.a.LIST_TYPE?(n=Ne(e,t.type))&&Object(V.d)(n):t.kind===u.a.NON_NULL_TYPE?(n=Ne(e,t.type))&&Object(V.e)(n):t.kind===u.a.NAMED_TYPE?e.getType(t.name.value):void Object(Se.a)(!1,\"Unexpected type node: \"+Object(a.a)(t))}var De=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=null!=t?t:Ie,n&&(Object(V.G)(n)&&this._inputTypeStack.push(n),Object(V.D)(n)&&this._parentTypeStack.push(n),Object(V.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 u.a.SELECTION_SET:var n=Object(V.A)(this.getType());this._parentTypeStack.push(Object(V.D)(n)?n:void 0);break;case u.a.FIELD:var r,i,o=this.getParentType();o&&(r=this._getFieldDef(t,o,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(Object(V.O)(i)?i:void 0);break;case u.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case u.a.OPERATION_DEFINITION:var a;switch(e.operation){case\"query\":a=t.getQueryType();break;case\"mutation\":a=t.getMutationType();break;case\"subscription\":a=t.getSubscriptionType()}this._typeStack.push(Object(V.N)(a)?a:void 0);break;case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:var s=e.typeCondition,l=s?Ne(t,s):Object(V.A)(this.getType());this._typeStack.push(Object(V.O)(l)?l:void 0);break;case u.a.VARIABLE_DEFINITION:var c=Ne(t,e.type);this._inputTypeStack.push(Object(V.G)(c)?c:void 0);break;case u.a.ARGUMENT:var f,p,d,h=null!==(f=this.getDirective())&&void 0!==f?f:this.getFieldDef();h&&(p=I(h.args,(function(t){return t.name===e.name.value})))&&(d=p.type),this._argument=p,this._defaultValueStack.push(p?p.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(d)?d:void 0);break;case u.a.LIST:var m=Object(V.B)(this.getInputType()),v=Object(V.J)(m)?m.ofType:m;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(V.G)(v)?v:void 0);break;case u.a.OBJECT_FIELD:var g,y,b=Object(V.A)(this.getInputType());Object(V.F)(b)&&(y=b.getFields()[e.name.value])&&(g=y.type),this._defaultValueStack.push(y?y.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(g)?g:void 0);break;case u.a.ENUM:var T,E=Object(V.A)(this.getInputType());Object(V.E)(E)&&(T=E.getValue(e.value)),this._enumValue=T}},t.leave=function(e){switch(e.kind){case u.a.SELECTION_SET:this._parentTypeStack.pop();break;case u.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case u.a.DIRECTIVE:this._directive=null;break;case u.a.OPERATION_DEFINITION:case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case u.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case u.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.LIST:case u.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.ENUM:this._enumValue=null}},e}();function Ie(e,t,n){var r=n.name.value;return r===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:r===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:r===oe.TypeNameMetaFieldDef.name&&Object(V.D)(t)?oe.TypeNameMetaFieldDef:Object(V.N)(t)||Object(V.H)(t)?t.getFields()[r]:void 0}function Ae(e,t){return{enter:function(n){e.enter(n);var r=Object(D.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(v.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(D.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}var Le=n(47);function je(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new l.a('There can be only one operation named \"'.concat(r.value,'\".'),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function Fe(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===u.a.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new l.a(\"This anonymous operation must be the only defined operation.\",n))}}}function Me(e){return{OperationDefinition:function(t){\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new l.a(t.name?'Subscription \"'.concat(t.name.value,'\" must select only one top level field.'):\"Anonymous Subscription must select only one top level field.\",t.selectionSet.selections.slice(1)))}}}var Re=n(20),Pe=n(22),Ve=n(23);function Ue(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];Object(Ve.d)(a)&&(r[a.name.value]=!0)}var s=Object.keys(n).concat(Object.keys(r));return{NamedType:function(t,i,o,a,c){var u,f=t.name.value;if(!n[f]&&!r[f]){var p,d=null!==(p=c[2])&&void 0!==p?p:o,h=null!=d&&(u=d,!Array.isArray(u)&&(Object(Ve.g)(u)||Object(Ve.h)(u)));if(h&&function(e){return-1!==Be.indexOf(e)}(f))return;var m=Object(Pe.a)(f,h?Be.concat(s):s);e.reportError(new l.a('Unknown type \"'.concat(f,'\".')+Object(Re.a)(m),t))}}}}var Be=W.g.map((function(e){return e.name}));var qe=n(9);function He(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=Ne(e.getSchema(),n);if(r&&!Object(V.D)(r)){var i=Object(qe.a)(n);e.reportError(new l.a('Fragment cannot condition on non composite type \"'.concat(i,'\".'),n))}}},FragmentDefinition:function(t){var n=Ne(e.getSchema(),t.typeCondition);if(n&&!Object(V.D)(n)){var r=Object(qe.a)(t.typeCondition);e.reportError(new l.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(r,'\".'),t.typeCondition))}}}}function ze(e){return{VariableDefinition:function(t){var n=Ne(e.getSchema(),t.type);if(n&&!Object(V.G)(n)){var r=t.variable.name.value,i=Object(qe.a)(t.type);e.reportError(new l.a('Variable \"$'.concat(r,'\" cannot be non-input type \"').concat(i,'\".'),t.type))}}}}function Ge(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;if(n)if(Object(V.I)(Object(V.A)(n))){if(r){var i=t.name.value,o=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(i,'\" must not have a selection since type \"').concat(o,'\" has no subfields.'),r))}}else if(!r){var s=t.name.value,c=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(s,'\" of type \"').concat(c,'\" must have a selection of subfields. Did you mean \"').concat(s,' { ... }\"?'),t))}}}}function Ke(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r=e.getSchema(),i=t.name.value,o=Object(Re.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(V.C)(t))return[];for(var r=new Set,i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[n]){r.add(s),i[s.name]=1;for(var l=0,c=s.getInterfaces();l<c.length;l++){var u,f=c[l];f.getFields()[n]&&(r.add(f),i[f.name]=(null!==(u=i[f.name])&&void 0!==u?u:0)+1)}}}return Object(ae.a)(r).sort((function(t,n){var r=i[n.name]-i[t.name];return 0!==r?r:Object(V.H)(t)&&e.isSubType(t,n)?-1:Object(V.H)(n)&&e.isSubType(n,t)?1:t.name.localeCompare(n.name)})).map((function(e){return e.name}))}(r,n,i));\"\"===o&&(o=Object(Re.a)(function(e,t){if(Object(V.N)(e)||Object(V.H)(e)){var n=Object.keys(e.getFields());return Object(Pe.a)(t,n)}return[]}(n,i))),e.reportError(new l.a('Cannot query field \"'.concat(i,'\" on type \"').concat(n.name,'\".')+o,t))}}}}function Qe(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one fragment named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}function We(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new l.a('Unknown fragment \"'.concat(n,'\".'),t.name))}}}function Ye(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 r=Object.create(null),i=0;i<t.length;i++)for(var o=t[i],a=0,s=e.getRecursivelyReferencedFragments(o);a<s.length;a++){r[s[a].name.value]=!0}for(var c=0;c<n.length;c++){var u=n[c],f=u.name.value;!0!==r[f]&&e.reportError(new l.a('Fragment \"'.concat(f,'\" is never used.'),u))}}}}}function Je(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();if(Object(V.D)(n)&&Object(V.D)(r)&&!q(e.getSchema(),n,r)){var i=Object(a.a)(r),o=Object(a.a)(n);e.reportError(new l.a('Fragment cannot be spread here as objects of type \"'.concat(i,'\" can never be of type \"').concat(o,'\".'),t))}},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=Ne(e.getSchema(),n.typeCondition);if(Object(V.D)(r))return r}}(e,n),i=e.getParentType();if(r&&i&&!q(e.getSchema(),r,i)){var o=Object(a.a)(i),s=Object(a.a)(r);e.reportError(new l.a('Fragment \"'.concat(n,'\" cannot be spread here as objects of type \"').concat(o,'\" can never be of type \"').concat(s,'\".'),t))}}}}function $e(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(o){if(t[o.name.value])return;var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0===s.length)return;r[a]=n.length;for(var c=0;c<s.length;c++){var u=s[c],f=u.name.value,p=r[f];if(n.push(u),void 0===p){var d=e.getFragment(f);d&&i(d)}else{var h=n.slice(p),m=h.slice(0,-1).map((function(e){return'\"'+e.name.value+'\"'})).join(\", \");e.reportError(new l.a('Cannot spread fragment \"'.concat(f,'\" within itself')+(\"\"!==m?\" via \".concat(m,\".\"):\".\"),h))}n.pop()}r[a]=void 0}(i),!1}}}function Xe(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var r=n.variable.name.value;t[r]?e.reportError(new l.a('There can be only one variable named \"$'.concat(r,'\".'),[t[r],n.variable.name])):t[r]=n.variable.name}}}function Ze(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(a,'\" is not defined by operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(a,'\" is not defined.'),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function et(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var r=Object.create(null),i=e.getRecursiveVariableUsages(n),o=0;o<i.length;o++){r[i[o].node.name.value]=!0}for(var a=0,s=t;a<s.length;a++){var c=s[a],u=c.variable.name.value;!0!==r[u]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(u,'\" is never used in operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(u,'\" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}function tt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.locations}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];f.kind===u.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=f.locations.map((function(e){return e.value})))}return{Directive:function(n,r,i,o,s){var c=n.name.value,f=t[c];if(f){var p=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||Object(Se.a)(0),t.kind){case u.a.OPERATION_DEFINITION:return function(e){switch(e){case\"query\":return h.a.QUERY;case\"mutation\":return h.a.MUTATION;case\"subscription\":return h.a.SUBSCRIPTION}Object(Se.a)(!1,\"Unexpected operation: \"+Object(a.a)(e))}(t.operation);case u.a.FIELD:return h.a.FIELD;case u.a.FRAGMENT_SPREAD:return h.a.FRAGMENT_SPREAD;case u.a.INLINE_FRAGMENT:return h.a.INLINE_FRAGMENT;case u.a.FRAGMENT_DEFINITION:return h.a.FRAGMENT_DEFINITION;case u.a.VARIABLE_DEFINITION:return h.a.VARIABLE_DEFINITION;case u.a.SCHEMA_DEFINITION:case u.a.SCHEMA_EXTENSION:return h.a.SCHEMA;case u.a.SCALAR_TYPE_DEFINITION:case u.a.SCALAR_TYPE_EXTENSION:return h.a.SCALAR;case u.a.OBJECT_TYPE_DEFINITION:case u.a.OBJECT_TYPE_EXTENSION:return h.a.OBJECT;case u.a.FIELD_DEFINITION:return h.a.FIELD_DEFINITION;case u.a.INTERFACE_TYPE_DEFINITION:case u.a.INTERFACE_TYPE_EXTENSION:return h.a.INTERFACE;case u.a.UNION_TYPE_DEFINITION:case u.a.UNION_TYPE_EXTENSION:return h.a.UNION;case u.a.ENUM_TYPE_DEFINITION:case u.a.ENUM_TYPE_EXTENSION:return h.a.ENUM;case u.a.ENUM_VALUE_DEFINITION:return h.a.ENUM_VALUE;case u.a.INPUT_OBJECT_TYPE_DEFINITION:case u.a.INPUT_OBJECT_TYPE_EXTENSION:return h.a.INPUT_OBJECT;case u.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===u.a.INPUT_OBJECT_TYPE_DEFINITION?h.a.INPUT_FIELD_DEFINITION:h.a.ARGUMENT_DEFINITION}}(s);p&&-1===f.indexOf(p)&&e.reportError(new l.a('Directive \"@'.concat(c,'\" may not be used on ').concat(p,\".\"),n))}else e.reportError(new l.a('Unknown directive \"@'.concat(c,'\".'),n))}}}function nt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===u.a.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable)}var f=Object.create(null),p=Object.create(null);return{enter:function(n){if(null!=n.directives){var r;if(n.kind===u.a.SCHEMA_DEFINITION||n.kind===u.a.SCHEMA_EXTENSION)r=f;else if(Object(Ve.d)(n)||Object(Ve.e)(n)){var i=n.name.value;void 0===(r=p[i])&&(p[i]=r=Object.create(null))}else r=Object.create(null);for(var o=0,a=n.directives;o<a.length;o++){var s=a[o],c=s.name.value;t[c]&&(r[c]?e.reportError(new l.a('The directive \"@'.concat(c,'\" can only be used once at this location.'),[r[c],s])):r[c]=s)}}}}}function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach((function(t){it(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},at(e),{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var o=t.name.value,a=r.args.map((function(e){return e.name})),s=Object(Pe.a)(o,a);e.reportError(new l.a('Unknown argument \"'.concat(o,'\" on field \"').concat(i.name,\".\").concat(r.name,'\".')+Object(Re.a)(s),t))}}})}function at(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.args.map((function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===u.a.DIRECTIVE_DEFINITION){var f,p=null!==(f=c.arguments)&&void 0!==f?f:[];t[c.name.value]=p.map((function(e){return e.name.value}))}}return{Directive:function(n){var r=n.name.value,i=t[r];if(n.arguments&&i)for(var o=0,a=n.arguments;o<a.length;o++){var s=a[o],c=s.name.value;if(-1===i.indexOf(c)){var u=Object(Pe.a)(c,i);e.reportError(new l.a('Unknown argument \"'.concat(c,'\" on directive \"@').concat(r,'\".')+Object(Re.a)(u),s))}}return!1}}}function st(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one argument named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}var lt=n(18);function ct(e){return{ListValue:function(t){var n=Object(V.B)(e.getParentInputType());if(!Object(V.J)(n))return ut(e,t),!1},ObjectValue:function(t){var n=Object(V.A)(e.getInputType());if(!Object(V.F)(n))return ut(e,t),!1;for(var r=Object(lt.a)(t.fields,(function(e){return e.name.value})),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i];if(!r[s.name]&&Object(V.Q)(s)){var c=Object(a.a)(s.type);e.reportError(new l.a('Field \"'.concat(n.name,\".\").concat(s.name,'\" of required type \"').concat(c,'\" was not provided.'),t))}}},ObjectField:function(t){var n=Object(V.A)(e.getParentInputType());if(!e.getInputType()&&Object(V.F)(n)){var r=Object(Pe.a)(t.name.value,Object.keys(n.getFields()));e.reportError(new l.a('Field \"'.concat(t.name.value,'\" is not defined by type \"').concat(n.name,'\".')+Object(Re.a)(r),t))}},NullValue:function(t){var n=e.getInputType();Object(V.L)(n)&&e.reportError(new l.a('Expected value of type \"'.concat(Object(a.a)(n),'\", found ').concat(Object(qe.a)(t),\".\"),t))},EnumValue:function(t){return ut(e,t)},IntValue:function(t){return ut(e,t)},FloatValue:function(t){return ut(e,t)},StringValue:function(t){return ut(e,t)},BooleanValue:function(t){return ut(e,t)}}}function ut(e,t){var n=e.getInputType();if(n){var r=Object(V.A)(n);if(Object(V.I)(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(i,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}catch(r){var o=Object(a.a)(n);r instanceof l.a?e.reportError(r):e.reportError(new l.a('Expected value of type \"'.concat(o,'\", found ').concat(Object(qe.a)(t),\"; \")+r.message,t,void 0,void 0,void 0,r))}else{var s=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(s,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}}function ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dt(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ht(e),{Field:{leave:function(t){var n,r=e.getFieldDef();if(!r)return!1;for(var i=null!==(n=t.arguments)&&void 0!==n?n:[],o=Object(lt.a)(i,(function(e){return e.name.value})),s=0,c=r.args;s<c.length;s++){var u=c[s];if(!o[u.name]&&Object(V.P)(u)){var f=Object(a.a)(u.type);e.reportError(new l.a('Field \"'.concat(r.name,'\" argument \"').concat(u.name,'\" of type \"').concat(f,'\" is required, but it was not provided.'),t))}}}}})}function ht(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=Object(lt.a)(o.args.filter(V.P),(function(e){return e.name}))}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];if(f.kind===u.a.DIRECTIVE_DEFINITION){var p,d=null!==(p=f.arguments)&&void 0!==p?p:[];t[f.name.value]=Object(lt.a)(d.filter(mt),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var r=n.name.value,i=t[r];if(i)for(var o,s=null!==(o=n.arguments)&&void 0!==o?o:[],c=Object(lt.a)(s,(function(e){return e.name.value})),u=0,f=Object.keys(i);u<f.length;u++){var p=f[u];if(!c[p]){var d=i[p].type,h=Object(V.S)(d)?Object(a.a)(d):Object(qe.a)(d);e.reportError(new l.a('Directive \"@'.concat(r,'\" argument \"').concat(p,'\" of type \"').concat(h,'\" is required, but it was not provided.'),n))}}}}}}function mt(e){return e.type.kind===u.a.NON_NULL_TYPE&&null==e.defaultValue}function vt(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i],s=o.node,c=o.type,u=o.defaultValue,f=s.name.value,p=t[f];if(p&&c){var d=e.getSchema(),h=Ne(d,p.type);if(h&&!gt(d,h,p.defaultValue,c,u)){var m=Object(a.a)(h),v=Object(a.a)(c);e.reportError(new l.a('Variable \"$'.concat(f,'\" of type \"').concat(m,'\" used in position expecting type \"').concat(v,'\".'),[p,s]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function gt(e,t,n,r,i){return Object(V.L)(r)&&!Object(V.L)(t)?(null!=n&&n.kind!==u.a.NULL||void 0!==i)&&B(e,t,r.ofType):B(e,t,r)}function yt(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields \"'.concat(t,'\" conflict because ')+yt(n)})).join(\" and \"):e}function bt(e){var t=new Ct,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var o=[],a=_t(e,t,r,i),s=a[0],l=a[1];if(function(e,t,n,r,i){for(var o=0,a=Object(H.a)(i);o<a.length;o++){var s=a[o],l=s[0],c=s[1];if(c.length>1)for(var u=0;u<c.length;u++)for(var f=u+1;f<c.length;f++){var p=xt(e,n,r,!1,l,c[u],c[f]);p&&t.push(p)}}}(e,o,t,n,s),0!==l.length)for(var c=0;c<l.length;c++){Tt(e,o,t,n,!1,s,l[c]);for(var u=c+1;u<l.length;u++)Et(e,o,t,n,!1,l[c],l[u])}return o}(e,n,t,e.getParentType(),r),o=0;o<i.length;o++){var a=i[o],s=a[0],c=s[0],u=s[1],f=a[1],p=a[2],d=yt(u);e.reportError(new l.a('Fields \"'.concat(c,'\" conflict because ').concat(d,\". Use different aliases on the fields to fetch both if this was intentional.\"),f.concat(p)))}}}}function Tt(e,t,n,r,i,o,a){var s=e.getFragment(a);if(s){var l=kt(e,n,s),c=l[0],u=l[1];if(o!==c){Ot(e,t,n,r,i,o,c);for(var f=0;f<u.length;f++)Tt(e,t,n,r,i,o,u[f])}}}function Et(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),l=e.getFragment(a);if(s&&l){var c=kt(e,n,s),u=c[0],f=c[1],p=kt(e,n,l),d=p[0],h=p[1];Ot(e,t,n,r,i,u,d);for(var m=0;m<h.length;m++)Et(e,t,n,r,i,o,h[m]);for(var v=0;v<f.length;v++)Et(e,t,n,r,i,f[v],a)}}}function Ot(e,t,n,r,i,o,a){for(var s=0,l=Object.keys(o);s<l.length;s++){var c=l[s],u=a[c];if(u)for(var f=o[c],p=0;p<f.length;p++)for(var d=0;d<u.length;d++){var h=xt(e,n,r,i,c,f[p],u[d]);h&&t.push(h)}}}function xt(e,t,n,r,i,o,s){var l=o[0],c=o[1],u=o[2],f=s[0],p=s[1],d=s[2],h=r||l!==f&&Object(V.N)(l)&&Object(V.N)(f);if(!h){var m,v,g=c.name.value,y=p.name.value;if(g!==y)return[[i,'\"'.concat(g,'\" and \"').concat(y,'\" are different fields')],[c],[p]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,r,i=I(t,(function(t){return t.name.value===e.name.value}));return!!i&&(n=e.value,r=i.value,Object(qe.a)(n)===Object(qe.a)(r))}))}(null!==(m=c.arguments)&&void 0!==m?m:[],null!==(v=p.arguments)&&void 0!==v?v:[]))return[[i,\"they have differing arguments\"],[c],[p]]}var b=null==u?void 0:u.type,T=null==d?void 0:d.type;if(b&&T&&function e(t,n){if(Object(V.J)(t))return!Object(V.J)(n)||e(t.ofType,n.ofType);if(Object(V.J)(n))return!0;if(Object(V.L)(t))return!Object(V.L)(n)||e(t.ofType,n.ofType);if(Object(V.L)(n))return!0;if(Object(V.I)(t)||Object(V.I)(n))return t!==n;return!1}(b,T))return[[i,'they return conflicting types \"'.concat(Object(a.a)(b),'\" and \"').concat(Object(a.a)(T),'\"')],[c],[p]];var E=c.selectionSet,O=p.selectionSet;return E&&O?function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var l=[],c=_t(e,t,i,o),u=c[0],f=c[1],p=_t(e,t,a,s),d=p[0],h=p[1];if(Ot(e,l,t,n,r,u,d),0!==h.length)for(var m=0;m<h.length;m++)Tt(e,l,t,n,r,u,h[m]);if(0!==f.length)for(var v=0;v<f.length;v++)Tt(e,l,t,n,r,d,f[v]);for(var g=0;g<f.length;g++)for(var y=0;y<h.length;y++)Et(e,l,t,n,r,f[g],h[y]);return l}(e,t,n,h,Object(V.A)(b),E,Object(V.A)(T),O),i,c,p):void 0}function _t(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(var a=0,s=r.selections;a<s.length;a++){var l=s[a];switch(l.kind){case u.a.FIELD:var c=l.name.value,f=void 0;(Object(V.N)(n)||Object(V.H)(n))&&(f=n.getFields()[c]);var p=l.alias?l.alias.value:c;i[p]||(i[p]=[]),i[p].push([n,l,f]);break;case u.a.FRAGMENT_SPREAD:o[l.name.value]=!0;break;case u.a.INLINE_FRAGMENT:var d=l.typeCondition,h=d?Ne(t.getSchema(),d):n;e(t,h,l.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function kt(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Ne(e.getSchema(),n.typeCondition);return _t(e,t,i,n.selectionSet)}var wt,Ct=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){St(this._data,e,t,n),St(this._data,t,e,n)},e}();function St(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}function Nt(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new l.a('There can be only one input field named \"'.concat(r,'\".'),[n[r],t.name])):n[r]=t.name}}}function Dt(e){var t,n,r,i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){o?e.reportError(new l.a(\"Cannot define a new schema within a schema extension.\",t)):(a>0&&e.reportError(new l.a(\"Must provide only one schema definition.\",t)),++a)}}}function It(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,o=null!==(i=t.operationTypes)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],c=s.operation,u=n[c];r[c]?e.reportError(new l.a(\"Type for \".concat(c,\" already defined in the schema. It cannot be redefined.\"),s)):u?e.reportError(new l.a(\"There can be only one \".concat(c,\" type in schema.\"),[u,s])):n[c]=s}return!1}}function At(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;if(!(null==n?void 0:n.getType(i)))return t[i]?e.reportError(new l.a('There can be only one type named \"'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Type \"'.concat(i,'\" already exists in the schema. It cannot also be defined in this type definition.'),r.name))}}function Lt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value,p=n[o];Object(V.E)(p)&&p.getValue(f)?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function jt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.fields)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value;Ft(n[o],f)?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function Ft(e,t){return!!(Object(V.N)(e)||Object(V.H)(e)||Object(V.F)(e))&&e.getFields()[t]}function Mt(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;if(!(null==n?void 0:n.getDirective(i)))return t[i]?e.reportError(new l.a('There can be only one directive named \"@'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Directive \"@'.concat(i,'\" already exists in the schema. It cannot be redefined.'),r.name))}}}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e){for(var t=e.getSchema(),n=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var o=i[r];Object(Ve.d)(o)&&(n[o.name.value]=o)}return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(r){var i,o=r.name.value,s=n[o],c=null==t?void 0:t.getType(o);if(s?i=Vt[s.kind]:c&&(i=function(e){if(Object(V.R)(e))return u.a.SCALAR_TYPE_EXTENSION;if(Object(V.N)(e))return u.a.OBJECT_TYPE_EXTENSION;if(Object(V.H)(e))return u.a.INTERFACE_TYPE_EXTENSION;if(Object(V.T)(e))return u.a.UNION_TYPE_EXTENSION;if(Object(V.E)(e))return u.a.ENUM_TYPE_EXTENSION;if(Object(V.F)(e))return u.a.INPUT_OBJECT_TYPE_EXTENSION;Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}(c)),i){if(i!==r.kind){var f=function(e){switch(e){case u.a.SCALAR_TYPE_EXTENSION:return\"scalar\";case u.a.OBJECT_TYPE_EXTENSION:return\"object\";case u.a.INTERFACE_TYPE_EXTENSION:return\"interface\";case u.a.UNION_TYPE_EXTENSION:return\"union\";case u.a.ENUM_TYPE_EXTENSION:return\"enum\";case u.a.INPUT_OBJECT_TYPE_EXTENSION:return\"input object\"}Object(Se.a)(!1,\"Unexpected kind: \"+Object(a.a)(e))}(r.kind);e.reportError(new l.a(\"Cannot extend non-\".concat(f,' type \"').concat(o,'\".'),s?[s,r]:r))}}else{var p=Object.keys(n);t&&(p=p.concat(Object.keys(t.getTypeMap())));var d=Object(Pe.a)(o,p);e.reportError(new l.a('Cannot extend type \"'.concat(o,'\" because it is not defined.')+Object(Re.a)(d),r.name))}}}var Vt=(Rt(wt={},u.a.SCALAR_TYPE_DEFINITION,u.a.SCALAR_TYPE_EXTENSION),Rt(wt,u.a.OBJECT_TYPE_DEFINITION,u.a.OBJECT_TYPE_EXTENSION),Rt(wt,u.a.INTERFACE_TYPE_DEFINITION,u.a.INTERFACE_TYPE_EXTENSION),Rt(wt,u.a.UNION_TYPE_DEFINITION,u.a.UNION_TYPE_EXTENSION),Rt(wt,u.a.ENUM_TYPE_DEFINITION,u.a.ENUM_TYPE_EXTENSION),Rt(wt,u.a.INPUT_OBJECT_TYPE_DEFINITION,u.a.INPUT_OBJECT_TYPE_EXTENSION),wt);var Ut=Object.freeze([Le.a,je,Fe,Me,Ue,He,ze,Ge,Ke,Qe,We,Ye,Je,$e,Xe,Ze,et,tt,nt,ot,st,ct,dt,vt,bt,Nt]),Bt=Object.freeze([Dt,It,At,Lt,jt,Mt,Ue,tt,nt,Pt,at,st,Nt,ht]);function qt(e){return(qt=\"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 Ht(e){return function(){var t,n=Kt(e);if(Gt()){var r=Kt(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return zt(this,t)}}function zt(e,t){return!t||\"object\"!==qt(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function Gt(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Kt(e){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Wt=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===u.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var r=0,i=n.pop().selections;r<i.length;r++){var o=i[r];o.kind===u.a.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Yt=function(e){Qt(t,e);Ht(t);function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return t.prototype.getSchema=function(){return this._schema},t}(Wt),Jt=function(e){Qt(t,e);Ht(t);function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new De(this._schema);Object(D.c)(e,Ae(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},t}(Wt);function $t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new De(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(s.a)(0,\"Must provide document.\"),de(e);var o=Object.freeze({}),a=[],c=new Jt(e,t,r,(function(e){if(null!=i.maxErrors&&a.length>=i.maxErrors)throw a.push(new l.a(\"Too many validation errors, error limit reached. Validation aborted.\")),o;a.push(e)})),u=Object(D.d)(n.map((function(e){return e(c)})));try{Object(D.c)(t,Ae(r,u))}catch(e){if(e!==o)throw e}return a}function Xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bt,r=[],i=new Yt(e,t,(function(e){r.push(e)})),o=n.map((function(e){return e(i)}));return Object(D.c)(e,Object(D.d)(o)),r}var Zt=n(35);function en(e,t){return{prev:e,key:t}}function tn(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function nn(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new l.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new l.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new l.a(\"Schema is not configured for subscriptions.\",t);return i}throw new l.a(\"Can only have query, mutation and subscription operations.\",t)}function rn(e){return e.map((function(e){return\"number\"==typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}function on(e,t,n){if(e){if(e.kind===u.a.VARIABLE){var r=e.name.value;if(null==n||void 0===n[r])return;var i=n[r];if(null===i&&Object(V.L)(t))return;return i}if(Object(V.L)(t)){if(e.kind===u.a.NULL)return;return on(e,t.ofType,n)}if(e.kind===u.a.NULL)return null;if(Object(V.J)(t)){var o=t.ofType;if(e.kind===u.a.LIST){for(var s=[],l=0,c=e.values;l<c.length;l++){var f=c[l];if(an(f,n)){if(Object(V.L)(o))return;s.push(null)}else{var p=on(f,o,n);if(void 0===p)return;s.push(p)}}return s}var d=on(e,o,n);if(void 0===d)return;return[d]}if(Object(V.F)(t)){if(e.kind!==u.a.OBJECT)return;for(var h=Object.create(null),m=Object(lt.a)(e.fields,(function(e){return e.name.value})),v=0,g=Object(j.a)(t.getFields());v<g.length;v++){var y=g[v],b=m[y.name];if(b&&!an(b.value,n)){var T=on(b.value,y.type,n);if(void 0===T)return;h[y.name]=T}else if(void 0!==y.defaultValue)h[y.name]=y.defaultValue;else if(Object(V.L)(y.type))return}return h}if(Object(V.I)(t)){var E;try{E=t.parseLiteral(e,n)}catch(e){return}if(void 0===E)return;return E}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}}function an(e,t){return e.kind===u.a.VARIABLE&&(null==t||void 0===t[e.name.value])}function sn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ln;return cn(e,t,n)}function ln(e,t,n){var r=\"Invalid value \"+Object(a.a)(t);throw e.length>0&&(r+=' at \"value'.concat(rn(e),'\"')),n.message=r+\": \"+n.message,n}function cn(e,t,n,r){if(Object(V.L)(t))return null!=e?cn(e,t.ofType,n,r):void n(tn(r),e,new l.a('Expected non-nullable type \"'.concat(Object(a.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(V.J)(t)){var i=t.ofType;return Object(Zt.a)(e)?Object(ae.a)(e,(function(e,t){var o=en(r,t);return cn(e,i,n,o)})):[cn(e,i,n,r)]}if(Object(V.F)(t)){if(!Object(Q.a)(e))return void n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var o={},s=t.getFields(),c=0,u=Object(j.a)(s);c<u.length;c++){var f=u[c],p=e[f.name];if(void 0!==p)o[f.name]=cn(p,f.type,n,en(r,f.name));else if(void 0!==f.defaultValue)o[f.name]=f.defaultValue;else if(Object(V.L)(f.type)){var d=Object(a.a)(f.type);n(tn(r),e,new l.a('Field \"'.concat(f.name,'\" of required type \"').concat(d,'\" was not provided.')))}}for(var h=0,m=Object.keys(e);h<m.length;h++){var v=m[h];if(!s[v]){var g=Object(Pe.a)(v,Object.keys(t.getFields()));n(tn(r),e,new l.a('Field \"'.concat(v,'\" is not defined by type \"').concat(t.name,'\".')+Object(Re.a)(g)))}}return o}if(Object(V.I)(t)){var y;try{y=t.parseValue(e)}catch(i){return void(i instanceof l.a?n(tn(r),e,i):n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\". ')+i.message,void 0,void 0,void 0,void 0,i)))}return void 0===y&&n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\".'))),y}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}function un(e,t,n,r){var i=[],o=null==r?void 0:r.maxErrors;try{var s=function(e,t,n,r){for(var i={},o=function(o){var s=t[o],c=s.variable.name.value,u=Ne(e,s.type);if(!Object(V.G)(u)){var f=Object(qe.a)(s.type);return r(new l.a('Variable \"$'.concat(c,'\" expected value of type \"').concat(f,'\" which cannot be used as an input type.'),s.type)),\"continue\"}if(!dn(n,c)){if(s.defaultValue)i[c]=on(s.defaultValue,u);else if(Object(V.L)(u)){var p=Object(a.a)(u);r(new l.a('Variable \"$'.concat(c,'\" of required type \"').concat(p,'\" was not provided.'),s))}return\"continue\"}var d=n[c];if(null===d&&Object(V.L)(u)){var h=Object(a.a)(u);return r(new l.a('Variable \"$'.concat(c,'\" of non-null type \"').concat(h,'\" must not be null.'),s)),\"continue\"}i[c]=sn(d,u,(function(e,t,n){var i='Variable \"$'.concat(c,'\" got invalid value ')+Object(a.a)(t);e.length>0&&(i+=' at \"'.concat(c).concat(rn(e),'\"')),r(new l.a(i+\"; \"+n.message,s,void 0,void 0,void 0,n.originalError))}))},s=0;s<t.length;s++)o(s);return i}(e,t,n,(function(e){if(null!=o&&i.length>=o)throw new l.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:s}}catch(e){i.push(e)}return{errors:i}}function fn(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],s=Object(lt.a)(o,(function(e){return e.name.value})),c=0,f=e.args;c<f.length;c++){var p=f[c],d=p.name,h=p.type,m=s[d];if(m){var v=m.value,g=v.kind===u.a.NULL;if(v.kind===u.a.VARIABLE){var y=v.name.value;if(null==n||!dn(n,y)){if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+'was provided the variable \"$'.concat(y,'\" which was not provided a runtime value.'),v);continue}g=null==n[y]}if(g&&Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of non-null type \"').concat(Object(a.a)(h),'\" ')+\"must not be null.\",v);var b=on(v,h,n);if(void 0===b)throw new l.a('Argument \"'.concat(d,'\" has invalid value ').concat(Object(qe.a)(v),\".\"),v);i[d]=b}else if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+\"was not provided.\",t)}return i}function pn(e,t,n){var r=t.directives&&I(t.directives,(function(t){return t.name.value===e.name}));if(r)return fn(e,r,n)}function dn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hn(e,t,n,r,i,o,a,s){return mn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function mn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver;vn(t,n,a);var u=gn(t,n,r,i,a,s,l,c);if(Array.isArray(u))return{errors:u};var f=function(e,t,n){var r=nn(e.schema,t),i=bn(e,r,t.selectionSet,Object.create(null),Object.create(null));try{var a=\"mutation\"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(a,s){var l=i[s],c=en(r,s),u=On(e,t,n,l,c);return void 0===u?a:o(u)?u.then((function(e){return a[s]=e,a})):(a[s]=u,a)},l=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,void 0,i):yn(e,r,n,void 0,i);return o(a)?a.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):a}catch(t){return e.errors.push(t),null}}(u,u.operation,r);return function e(t,n){if(o(n))return n.then((function(n){return e(t,n)}));return 0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(u,f)}function vn(e,t,n){t||Object(s.a)(0,\"Must provide document.\"),de(e),null==n||Object(Q.a)(n)||Object(s.a)(0,\"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.\")}function gn(e,t,n,r,i,o,a,s){for(var c,f,p,d=Object.create(null),h=0,m=t.definitions;h<m.length;h++){var v=m[h];switch(v.kind){case u.a.OPERATION_DEFINITION:if(null==o){if(void 0!==p)return[new l.a(\"Must provide operation name if query contains multiple operations.\")];p=v}else(null===(c=v.name)||void 0===c?void 0:c.value)===o&&(p=v);break;case u.a.FRAGMENT_DEFINITION:d[v.name.value]=v}}if(!p)return null!=o?[new l.a('Unknown operation named \"'.concat(o,'\".'))]:[new l.a(\"Must provide an operation.\")];var g=un(e,null!==(f=p.variableDefinitions)&&void 0!==f?f:[],null!=i?i:{},{maxErrors:50});return g.errors?g.errors:{schema:e,fragments:d,rootValue:n,contextValue:r,operation:p,variableValues:g.coerced,fieldResolver:null!=a?a:Rn,typeResolver:null!=s?s:Mn,errors:[]}}function yn(e,t,n,r,i){for(var a,s,l,c=Object.create(null),u=!1,f=0,p=Object.keys(i);f<p.length;f++){var d=p[f],h=On(e,t,n,i[d],en(r,d));void 0!==h&&(c[d]=h,!u&&o(h)&&(u=!0))}return u?(a=c,s=Object.keys(a),l=s.map((function(e){return a[e]})),Promise.all(l).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):c}function bn(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case u.a.FIELD:if(!Tn(e,s))continue;var l=(p=s).alias?p.alias.value:p.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case u.a.INLINE_FRAGMENT:if(!Tn(e,s)||!En(e,s,t))continue;bn(e,t,s.selectionSet,r,i);break;case u.a.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!Tn(e,s))continue;i[c]=!0;var f=e.fragments[c];if(!f||!En(e,f,t))continue;bn(e,t,f.selectionSet,r,i)}}var p;return r}function Tn(e,t){var n=pn(ee,t,e.variableValues);if(!0===(null==n?void 0:n.if))return!1;var r=pn(Z,t,e.variableValues);return!1!==(null==r?void 0:r.if)}function En(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=Ne(e.schema,r);return i===n||!!Object(V.C)(i)&&e.schema.isSubType(i,n)}function On(e,t,n,r,i){var o,a=r[0].name.value,s=Pn(e.schema,t,a);if(s){var l=null!==(o=s.resolve)&&void 0!==o?o:e.fieldResolver,c=xn(e,s,r,t,i),u=_n(e,s,r,l,n,c);return wn(e,s.type,r,c,i,u)}}function xn(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function _n(e,t,n,r,i,a){try{var s=r(i,fn(t,n[0],e.variableValues),e.contextValue,a);return o(s)?s.then(void 0,kn):s}catch(e){return kn(e)}}function kn(e){return e instanceof Error?e:new Error(\"Unexpected error value: \"+Object(a.a)(e))}function wn(e,t,n,r,i,a){try{var s;return s=o(a)?a.then((function(o){return Sn(e,t,n,r,i,o)})):Sn(e,t,n,r,i,a),o(s)?s.then(void 0,(function(r){return Cn(r,n,i,t,e)})):s}catch(r){return Cn(r,n,i,t,e)}}function Cn(e,t,n,r,i){var o=F(kn(e),t,tn(n));if(Object(V.L)(r))throw o;return i.errors.push(o),null}function Sn(e,t,n,r,i,s){if(s instanceof Error)throw s;if(Object(V.L)(t)){var c=Sn(e,t.ofType,n,r,i,s);if(null===c)throw new Error(\"Cannot return null for non-nullable field \".concat(r.parentType.name,\".\").concat(r.fieldName,\".\"));return c}return null==s?null:Object(V.J)(t)?function(e,t,n,r,i,a){if(!Object(Zt.a)(a))throw new l.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));var s=t.ofType,c=!1,u=Object(ae.a)(a,(function(t,a){var l=en(i,a),u=wn(e,s,n,r,l,t);return!c&&o(u)&&(c=!0),u}));return c?Promise.all(u):u}(e,t,n,r,i,s):Object(V.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(a.a)(e),'\" but ')+\"received: \".concat(Object(a.a)(t)));return n}(t,s):Object(V.C)(t)?function(e,t,n,r,i,a){var s,l=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,u=l(a,c,r,t);if(o(u))return u.then((function(o){return Dn(e,Nn(o,e,t,n,r,a),n,r,i,a)}));return Dn(e,Nn(u,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,s):Object(V.N)(t)?Dn(e,t,n,r,i,s):void Object(Se.a)(!1,\"Cannot complete value of unexpected output type: \"+Object(a.a)(t))}function Nn(e,t,n,r,i,o){var s=\"string\"==typeof e?t.schema.getType(e):e;if(!Object(V.N)(s))throw new l.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(a.a)(o),', received \"').concat(Object(a.a)(s),'\". ')+'Either the \"'.concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);if(!t.schema.isSubType(n,s))throw new l.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function Dn(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw In(t,a,n);return An(e,t,n,i,a)}));if(!s)throw In(t,a,n)}return An(e,t,n,i,a)}function In(e,t,n){return new l.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(a.a)(t),\".\"),n)}function An(e,t,n,r,i){return yn(e,t,i,r,Fn(e,t,n))}var Ln,jn,Fn=(Ln=function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=bn(e,t,a.selectionSet,r,i))}return r},function(e,t,n){jn||(jn=new WeakMap);var r,i=jn.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,jn.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=Ln(e,t,n);return r.set(n,a),a});var Mn=function(e,t,n,r){if(Object(Q.a)(e)&&\"string\"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var l=i[s];if(l.isTypeOf){var c=l.isTypeOf(e,t,n);if(o(c))a[s]=c;else if(c)return l}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t]})):void 0},Rn=function(e,t,n,r){if(Object(Q.a)(e)||\"function\"==typeof e){var i=e[r.fieldName];return\"function\"==typeof i?e[r.fieldName](t,n,r):i}};function Pn(e,t,n){return n===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:n===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:n===oe.TypeNameMetaFieldDef.name?oe.TypeNameMetaFieldDef:t.getFields()[n]}function Vn(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(c){return c(1===l.length?Bn(e):Bn({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function Un(e,t,n,r,i,a,s,l){var c=Bn(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(c))throw new Error(\"GraphQL execution failed to complete synchronously.\");return c}function Bn(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver,u=pe(n);if(u.length>0)return{errors:u};try{t=_(r)}catch(e){return{errors:[e]}}var f=$t(n,t);return f.length>0?{errors:f}:hn({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:l,typeResolver:c})}var qn=n(39),Hn=n(60);function zn(e,t,n){var r,i,o,a,s,l,c=e[f.a].call(e);function u(e){return e.done?e:Gn(e.value,t).then(Kn,i)}if(\"function\"==typeof c.return&&(r=c.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var p=n;o=function(e){return Gn(e,p).then(Kn,i)}}return a={next:function(){return c.next().then(u,o)},return:function(){return r?r.call(c).then(u,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"==typeof c.throw?c.throw(e).then(u,o):Promise.reject(e).catch(i)}},s=f.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Gn(e,t){return new Promise((function(n){return n(t(e))}))}function Kn(e){return{value:e,done:!1}}function Qn(e){return(Qn=\"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 Wn(e,t,n,r,i,o,a,s){return Jn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Yn(e){if(e instanceof l.a)return{errors:[e]};throw e}function Jn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=$n(t,n,r,i,o,a,l),u=function(e){return hn({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return c.then((function(e){return Xn(e)?zn(e,u,Yn):e}))}function $n(e,t,n,r,i,o,s){vn(e,t,i);try{var c,u=gn(e,t,n,r,i,o,s);if(Array.isArray(u))return Promise.resolve({errors:u});var f=nn(e,u.operation),p=bn(u,f,u.operation.selectionSet,Object.create(null),Object.create(null)),d=Object.keys(p)[0],h=p[d],m=h[0].name.value,v=Pn(e,f,m);if(!v)throw new l.a('The subscription field \"'.concat(m,'\" is not defined.'),h);var g=null!==(c=v.subscribe)&&void 0!==c?c:u.fieldResolver,y=en(void 0,d),b=xn(u,v,h,f,y),T=_n(u,v,h,g,n,b);return Promise.resolve(T).then((function(e){if(e instanceof Error)return{errors:[F(e,h,tn(y))]};if(Xn(e))return e;throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(a.a)(e),\".\"))}))}catch(e){return e instanceof l.a?Promise.resolve({errors:[e]}):Promise.reject(e)}}function Xn(e){return null!=e&&\"object\"===Qn(e)&&\"function\"==typeof e[f.a]}function Zn(e){var t;e||Object(s.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",r=e.locations,i=e.path,o=e.extensions;return o?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,directiveIsRepeatable:!1,schemaDescription:!1},e),n=t.descriptions?\"description\":\"\",r=t.directiveIsRepeatable?\"isRepeatable\":\"\",i=t.schemaDescription?n:\"\";return\"\\n    query IntrospectionQuery {\\n      __schema {\\n        \".concat(i,\"\\n        queryType { name }\\n        mutationType { name }\\n        subscriptionType { name }\\n        types {\\n          ...FullType\\n        }\\n        directives {\\n          name\\n          \").concat(n,\"\\n          \").concat(r,\"\\n          locations\\n          args {\\n            ...InputValue\\n          }\\n        }\\n      }\\n    }\\n\\n    fragment FullType on __Type {\\n      kind\\n      name\\n      \").concat(n,\"\\n      fields(includeDeprecated: true) {\\n        name\\n        \").concat(n,\"\\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(n,\"\\n        isDeprecated\\n        deprecationReason\\n      }\\n      possibleTypes {\\n        ...TypeRef\\n      }\\n    }\\n\\n    fragment InputValue on __InputValue {\\n      name\\n      \").concat(n,\"\\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  \")}function rr(e,t){for(var n=null,r=0,i=e.definitions;r<i.length;r++){var o,a=i[r];if(a.kind===u.a.OPERATION_DEFINITION)if(null==t){if(n)return null;n=a}else if((null===(o=a.name)||void 0===o?void 0:o.value)===t)return a}return n}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t){var n=hn({schema:e,document:_(nr(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){or(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({directiveIsRepeatable:!0,schemaDescription:!0},t)))});return!o(n)&&!n.errors&&n.data||Object(Se.a)(0),n.data}var sr=n(26);function lr(e,t){Object(Q.a)(e)&&Object(Q.a)(e.__schema)||Object(s.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing \"data\" property of introspection response and no \"errors\" was returned alongside: '.concat(Object(a.a)(e),\".\"));for(var n=e.__schema,r=Object(sr.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case oe.TypeKind.SCALAR:return r=e,new V.g({name:r.name,description:r.description});case oe.TypeKind.OBJECT:return n=e,new V.f({name:n.name,description:n.description,interfaces:function(){return g(n)},fields:function(){return y(n)}});case oe.TypeKind.INTERFACE:return t=e,new V.c({name:t.name,description:t.description,interfaces:function(){return g(t)},fields:function(){return y(t)}});case oe.TypeKind.UNION:return function(e){if(!e.possibleTypes){var t=Object(a.a)(e);throw new Error(\"Introspection result missing possibleTypes: \".concat(t,\".\"))}return new V.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(m)}})}(e);case oe.TypeKind.ENUM:return function(e){if(!e.enumValues){var t=Object(a.a)(e);throw new Error(\"Introspection result missing enumValues: \".concat(t,\".\"))}return new V.a({name:e.name,description:e.description,values:Object(sr.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case oe.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=Object(a.a)(e);throw new Error(\"Introspection result missing inputFields: \".concat(t,\".\"))}return new V.b({name:e.name,description:e.description,fields:function(){return T(e.inputFields)}})}(e)}var t;var n;var r;var i=Object(a.a)(e);throw new Error(\"Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: \".concat(i,\".\"))}(e)})),i=0,o=[].concat(W.g,oe.introspectionTypes);i<o.length;i++){var l=o[i];r[l.name]&&(r[l.name]=l)}var c=n.queryType?m(n.queryType):null,u=n.mutationType?m(n.mutationType):null,f=n.subscriptionType?m(n.subscriptionType):null,p=n.directives?n.directives.map((function(e){if(!e.args){var t=Object(a.a)(e);throw new Error(\"Introspection result missing directive args: \".concat(t,\".\"))}if(!e.locations){var n=Object(a.a)(e);throw new Error(\"Introspection result missing directive locations: \".concat(n,\".\"))}return new X({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:T(e.args)})})):[];return new ue({description:n.description,query:c,mutation:u,subscription:f,types:Object(j.a)(r),directives:p,assumeValid:null==t?void 0:t.assumeValid});function d(e){if(e.kind===oe.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error(\"Decorated type deeper than introspection query.\");return Object(V.d)(d(t))}if(e.kind===oe.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error(\"Decorated type deeper than introspection query.\");var r=d(n);return Object(V.e)(Object(V.t)(r))}return h(e)}function h(e){var t=e.name;if(!t)throw new Error(\"Unknown type reference: \".concat(Object(a.a)(e),\".\"));var n=r[t];if(!n)throw new Error(\"Invalid or incomplete schema, unknown type: \".concat(t,\". Ensure that a full introspection query is used in order to build a client schema.\"));return n}function m(e){return Object(V.u)(h(e))}function v(e){return Object(V.o)(h(e))}function g(e){if(null===e.interfaces&&e.kind===oe.TypeKind.INTERFACE)return[];if(!e.interfaces){var t=Object(a.a)(e);throw new Error(\"Introspection result missing interfaces: \".concat(t,\".\"))}return e.interfaces.map(v)}function y(e){if(!e.fields)throw new Error(\"Introspection result missing fields: \".concat(Object(a.a)(e),\".\"));return Object(sr.a)(e.fields,(function(e){return e.name}),b)}function b(e){var t=d(e.type);if(!Object(V.O)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide output type for fields, but received: \".concat(n,\".\"))}if(!e.args){var r=Object(a.a)(e);throw new Error(\"Introspection result missing field args: \".concat(r,\".\"))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:T(e.args)}}function T(e){return Object(sr.a)(e,(function(e){return e.name}),E)}function E(e){var t=d(e.type);if(!Object(V.G)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide input type for arguments, but received: \".concat(n,\".\"))}var r=null!=e.defaultValue?on(k(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r}}}var cr=n(29);function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t,n){ce(e),null!=t&&t.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&function(e,t){var n=Xt(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}(t,e);var r=e.toConfig(),i=hr(r,t,n);return r===i?e:new ue(i)}function hr(e,t,n){for(var r,i,o,s,l,c=[],f=Object.create(null),p=[],d=[],h=0,m=t.definitions;h<m.length;h++){var v=m[h];if(v.kind===u.a.SCHEMA_DEFINITION)l=v;else if(v.kind===u.a.SCHEMA_EXTENSION)d.push(v);else if(Object(Ve.d)(v))c.push(v);else if(Object(Ve.e)(v)){var g=v.name.value,y=f[g];f[g]=y?y.concat([v]):[v]}else v.kind===u.a.DIRECTIVE_DEFINITION&&p.push(v)}if(0===Object.keys(f).length&&0===c.length&&0===p.length&&0===d.length&&null==l)return e;for(var b=Object.create(null),T=0,E=e.types;T<E.length;T++){var O=E[T];b[O.name]=D(O)}for(var x=0;x<c.length;x++){var _,k=c[x],w=k.name.value;b[w]=null!==(_=mr[w])&&void 0!==_?_:z(k)}var C=fr({query:e.query&&N(e.query),mutation:e.mutation&&N(e.mutation),subscription:e.subscription&&N(e.subscription)},l&&L([l]),{},L(d));return fr({description:null===(r=l)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},C,{types:Object(j.a)(b),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new X(fr({},t,{args:Object(cr.a)(t.args,A)}))})),p.map((function(e){var t=e.locations.map((function(e){return e.value}));return new X({name:e.name.value,description:gr(e,n),locations:t,isRepeatable:e.repeatable,args:P(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(o=l)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(s=null==n?void 0:n.assumeValid)&&void 0!==s&&s});function S(e){return Object(V.J)(e)?new V.d(S(e.ofType)):Object(V.L)(e)?new V.e(S(e.ofType)):N(e)}function N(e){return b[e.name]}function D(e){return Object(oe.isIntrospectionType)(e)||Object(W.f)(e)?e:Object(V.R)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.g(fr({},n,{extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.N)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.f(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.H)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.c(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.T)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.h(fr({},n,{types:function(){return[].concat(e.getTypes().map(N),H(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.E)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[e.name])&&void 0!==t?t:[];return new V.a(fr({},n,{values:fr({},n.values,{},B(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.F)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.b(fr({},n,{fields:function(){return fr({},Object(cr.a)(n.fields,(function(e){return fr({},e,{type:S(e.type)})})),{},U(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function I(e){return fr({},e,{type:S(e.type),args:Object(cr.a)(e.args,A)})}function A(e){return fr({},e,{type:S(e.type)})}function L(e){for(var t={},n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=F(a.type)}return t}function F(e){var t,n=e.name.value,r=null!==(t=mr[n])&&void 0!==t?t:b[n];if(void 0===r)throw new Error('Unknown type: \"'.concat(n,'\".'));return r}function M(e){return e.kind===u.a.LIST_TYPE?new V.d(M(e.type)):e.kind===u.a.NON_NULL_TYPE?new V.e(M(e.type)):F(e)}function R(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:M(s.type),description:gr(s,n),args:P(s.arguments),deprecationReason:vr(s),astNode:s}}return t}function P(e){for(var t=null!=e?e:[],r=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=M(o.type);r[o.name.value]={type:a,description:gr(o,n),defaultValue:on(o.defaultValue,a),astNode:o}}return r}function U(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],l=M(s.type);t[s.name.value]={type:l,description:gr(s,n),defaultValue:on(s.defaultValue,l),astNode:s}}return t}function B(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].values)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:gr(s,n),deprecationReason:vr(s),astNode:s}}return t}function q(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].interfaces)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function H(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].types)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function z(e){var t,r=e.name.value,i=gr(e,n),o=null!==(t=f[r])&&void 0!==t?t:[];switch(e.kind){case u.a.OBJECT_TYPE_DEFINITION:var s=o,l=[e].concat(s);return new V.f({name:r,description:i,interfaces:function(){return q(l)},fields:function(){return R(l)},astNode:e,extensionASTNodes:s});case u.a.INTERFACE_TYPE_DEFINITION:var c=o,p=[e].concat(c);return new V.c({name:r,description:i,interfaces:function(){return q(p)},fields:function(){return R(p)},astNode:e,extensionASTNodes:c});case u.a.ENUM_TYPE_DEFINITION:var d=o,h=[e].concat(d);return new V.a({name:r,description:i,values:B(h),astNode:e,extensionASTNodes:d});case u.a.UNION_TYPE_DEFINITION:var m=o,v=[e].concat(m);return new V.h({name:r,description:i,types:function(){return H(v)},astNode:e,extensionASTNodes:m});case u.a.SCALAR_TYPE_DEFINITION:var g=o;return new V.g({name:r,description:i,astNode:e,extensionASTNodes:g});case u.a.INPUT_OBJECT_TYPE_DEFINITION:var y=o,b=[e].concat(y);return new V.b({name:r,description:i,fields:function(){return U(b)},astNode:e,extensionASTNodes:y})}Object(Se.a)(!1,\"Unexpected type definition node: \"+Object(a.a)(e))}}var mr=Object(lt.a)(W.g.concat(oe.introspectionTypes),(function(e){return e.name}));function vr(e){var t=pn(ne,e);return null==t?void 0:t.reason}function gr(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;null!=r&&r.kind===m.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.length>0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(g.a)(\"\\n\"+n)}}function yr(e,t){null!=e&&e.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Xt(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}(e);var n=hr(br,e,t);if(null==n.astNode)for(var r=0,i=n.types;r<i.length;r++){var o=i[r];switch(o.name){case\"Query\":n.query=o;break;case\"Mutation\":n.mutation=o;break;case\"Subscription\":n.subscription=o}}var a=n.directives;return a.some((function(e){return\"skip\"===e.name}))||a.push(ee),a.some((function(e){return\"include\"===e.name}))||a.push(Z),a.some((function(e){return\"deprecated\"===e.name}))||a.push(ne),new ue(n)}var br=new ue({directives:[]}).toConfig();function Tr(e,t){return yr(_(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function Er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach((function(t){xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){var t=e.toConfig(),n=Object(sr.a)(wr(t.types),(function(e){return e.name}),(function(e){if(Object(V.R)(e)||Object(oe.isIntrospectionType)(e))return e;if(Object(V.N)(e)){var t=e.toConfig();return new V.f(Or({},t,{interfaces:function(){return c(t.interfaces)},fields:function(){return l(t.fields)}}))}if(Object(V.H)(e)){var n=e.toConfig();return new V.c(Or({},n,{interfaces:function(){return c(n.interfaces)},fields:function(){return l(n.fields)}}))}if(Object(V.T)(e)){var i=e.toConfig();return new V.h(Or({},i,{types:function(){return c(i.types)}}))}if(Object(V.E)(e)){var o=e.toConfig();return new V.a(Or({},o,{values:kr(o.values)}))}if(Object(V.F)(e)){var s=e.toConfig();return new V.b(Or({},s,{fields:function(){return kr(s.fields,(function(e){return Or({},e,{type:r(e.type)})}))}}))}Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}));return new ue(Or({},t,{types:Object(j.a)(n),directives:wr(t.directives).map((function(e){var t=e.toConfig();return new X(Or({},t,{locations:Cr(t.locations,(function(e){return e})),args:s(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return Object(V.J)(e)?new V.d(r(e.ofType)):Object(V.L)(e)?new V.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function s(e){return kr(e,(function(e){return Or({},e,{type:r(e.type)})}))}function l(e){return kr(e,(function(e){return Or({},e,{type:r(e.type),args:s(e.args)})}))}function c(e){return wr(e).map(i)}}function kr(e,t){for(var n=Object.create(null),r=Cr(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function wr(e){return Cr(e,(function(e){return e.name}))}function Cr(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return r.localeCompare(i)}))}var Sr=n(31);function Nr(e,t){return Ar(e,(function(e){return!ie(e)}),Ir,t)}function Dr(e,t){return Ar(e,ie,oe.isIntrospectionType,t)}function Ir(e){return!Object(W.f)(e)&&!Object(oe.isIntrospectionType)(e)}function Ar(e,t,n,r){var i=e.getDirectives().filter(t),o=Object(j.a)(e.getTypeMap()).filter(n);return[Lr(e)].concat(i.map((function(e){return function(e,t){return Br(t,e)+\"directive @\"+e.name+Pr(t,e.args)+(e.isRepeatable?\" repeatable\":\"\")+\" on \"+e.locations.join(\" | \")}(e,r)})),o.map((function(e){return jr(e,r)}))).filter(Boolean).join(\"\\n\\n\")+\"\\n\"}function Lr(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&\"Query\"!==t.name)return!1;var n=e.getMutationType();if(n&&\"Mutation\"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&\"Subscription\"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push(\"  query: \".concat(n.name));var r=e.getMutationType();r&&t.push(\"  mutation: \".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(\"  subscription: \".concat(i.name)),Br({},e)+\"schema {\\n\".concat(t.join(\"\\n\"),\"\\n}\")}}function jr(e,t){return Object(V.R)(e)?function(e,t){return Br(t,e)+\"scalar \".concat(e.name)}(e,t):Object(V.N)(e)?function(e,t){return Br(t,e)+\"type \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.H)(e)?function(e,t){return Br(t,e)+\"interface \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?\" = \"+n.join(\" | \"):\"\";return Br(t,e)+\"union \"+e.name+r}(e,t):Object(V.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+e.name+Ur(e)}));return Br(t,e)+\"enum \".concat(e.name)+Rr(n)}(e,t):Object(V.F)(e)?function(e,t){var n=Object(j.a)(e.getFields()).map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+Vr(e)}));return Br(t,e)+\"input \".concat(e.name)+Rr(n)}(e,t):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function Fr(e){var t=e.getInterfaces();return t.length?\" implements \"+t.map((function(e){return e.name})).join(\" & \"):\"\"}function Mr(e,t){return Rr(Object(j.a)(t.getFields()).map((function(t,n){return Br(e,t,\"  \",!n)+\"  \"+t.name+Pr(e,t.args,\"  \")+\": \"+String(t.type)+Ur(t)})))}function Rr(e){return 0!==e.length?\" {\\n\"+e.join(\"\\n\")+\"\\n}\":\"\"}function Pr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(Vr).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return Br(e,t,\"  \"+n,!r)+\"  \"+n+Vr(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function Vr(e){var t=Object(Sr.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(qe.a)(t))),n}function Ur(e){if(!e.isDeprecated)return\"\";var t=e.deprecationReason,n=Object(Sr.a)(t,W.e);return n&&t!==te?\" @deprecated(reason: \"+Object(qe.a)(n)+\")\":\" @deprecated\"}function Br(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null==e?void 0:e.commentDescriptions))return qr(i,n,r);var o=i.length>70,a=Object(g.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function qr(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var Hr=n(86);function zr(e){return{kind:\"Document\",definitions:L(e,(function(e){return e.definitions}))}}function Gr(e){var t,n=[],r=Object.create(null);Object(D.c)(e,{OperationDefinition:function(e){t=Kr(e),n.push(e)},FragmentDefinition:function(e){t=e.name.value},FragmentSpread:function(e){var n=e.name.value,i=r[t];void 0===i&&(i=r[t]=Object.create(null)),i[n]=!0}});for(var i=Object.create(null),o=function(t){var o=n[t],a=Kr(o),s=Object.create(null);!function e(t,n,r){var i=n[r];if(i)for(var o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];t[s]||(t[s]=!0,e(t,n,s))}}(s,r,a),i[a]={kind:u.a.DOCUMENT,definitions:e.definitions.filter((function(e){return e===o||e.kind===u.a.FRAGMENT_DEFINITION&&s[e.name.value]}))}},a=0;a<n.length;a++)o(a);return i}function Kr(e){return e.name?e.name.value:\"\"}function Qr(e){var t=\"string\"==typeof e?new d(e):e;if(!(t instanceof d))throw new TypeError(\"Must provide string or Source. Received: \".concat(Object(a.a)(t),\".\"));for(var n=t.body,r=new y(t),i=\"\",o=!1;r.advance().kind!==m.EOF;){var s=r.token,l=s.kind,c=!b(s.kind);o&&(c||s.kind===m.SPREAD)&&(i+=\" \");var u=n.slice(s.start,s.end);l===m.BLOCK_STRING?i+=Wr(u):i+=u,o=c}return i}function Wr(e){var t=e.slice(3,-3),n=Object(g.a)(t),r=n.split(/\\r\\n|[\\n\\r]/g);Object(g.b)(r)>0&&(n=\"\\n\"+n);var i=n[n.length-1];return('\"'===i&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===i)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $r=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\",IMPLEMENTED_INTERFACE_REMOVED:\"IMPLEMENTED_INTERFACE_REMOVED\",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_REPEATABLE_REMOVED:\"DIRECTIVE_REPEATABLE_REMOVED\",DIRECTIVE_LOCATION_REMOVED:\"DIRECTIVE_LOCATION_REMOVED\"}),Xr=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\",IMPLEMENTED_INTERFACE_ADDED:\"IMPLEMENTED_INTERFACE_ADDED\",ARG_DEFAULT_VALUE_CHANGE:\"ARG_DEFAULT_VALUE_CHANGE\"});function Zr(e,t){return ti(e,t).filter((function(e){return e.type in $r}))}function ei(e,t){return ti(e,t).filter((function(e){return e.type in Xr}))}function ti(e,t){return[].concat(function(e,t){for(var n=[],r=pi(Object(j.a)(e.getTypeMap()),Object(j.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.TYPE_REMOVED,description:Object(W.f)(a)?\"Standard scalar \".concat(a.name,\" was removed because it is not referenced anymore.\"):\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];Object(V.E)(u)&&Object(V.E)(f)?n.push.apply(n,ii(u,f)):Object(V.T)(u)&&Object(V.T)(f)?n.push.apply(n,ri(u,f)):Object(V.F)(u)&&Object(V.F)(f)?n.push.apply(n,ni(u,f)):Object(V.N)(u)&&Object(V.N)(f)||Object(V.H)(u)&&Object(V.H)(f)?n.push.apply(n,ai(u,f).concat(oi(u,f))):u.constructor!==f.constructor&&n.push({type:$r.TYPE_CHANGED_KIND,description:\"\".concat(u.name,\" changed from \")+\"\".concat(ui(u),\" to \").concat(ui(f),\".\")})}return n}(e,t),function(e,t){for(var n=[],r=pi(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.DIRECTIVE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var c=l[s],u=c[0],f=c[1],p=pi(u.args,f.args),d=0,h=p.added;d<h.length;d++){var m=h[d];Object(V.P)(m)&&n.push({type:$r.REQUIRED_DIRECTIVE_ARG_ADDED,description:\"A required arg \".concat(m.name,\" on directive \").concat(u.name,\" was added.\")})}for(var v=0,g=p.removed;v<g.length;v++){var y=g[v];n.push({type:$r.DIRECTIVE_ARG_REMOVED,description:\"\".concat(y.name,\" was removed from \").concat(u.name,\".\")})}u.isRepeatable&&!f.isRepeatable&&n.push({type:$r.DIRECTIVE_REPEATABLE_REMOVED,description:\"Repeatable flag was removed from \".concat(u.name,\".\")});for(var b=0,T=u.locations;b<T.length;b++){var E=T[b];-1===f.locations.indexOf(E)&&n.push({type:$r.DIRECTIVE_LOCATION_REMOVED,description:\"\".concat(E,\" was removed from \").concat(u.name,\".\")})}}return n}(e,t))}function ni(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(V.Q)(a)?n.push({type:$r.REQUIRED_INPUT_FIELD_ADDED,description:\"A required field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")}):n.push({type:Xr.OPTIONAL_INPUT_FIELD_ADDED,description:\"An optional field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(c.name,\" was removed.\")})}for(var u=0,f=r.persisted;u<f.length;u++){var p=f[u],d=p[0],h=p[1];ci(d.type,h.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(d.name,\" changed type from \")+\"\".concat(String(d.type),\" to \").concat(String(h.type),\".\")})}return n}function ri(e,t){for(var n=[],r=pi(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.TYPE_ADDED_TO_UNION,description:\"\".concat(a.name,\" was added to union type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.TYPE_REMOVED_FROM_UNION,description:\"\".concat(c.name,\" was removed from union type \").concat(e.name,\".\")})}return n}function ii(e,t){for(var n=[],r=pi(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.VALUE_ADDED_TO_ENUM,description:\"\".concat(a.name,\" was added to enum type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.VALUE_REMOVED_FROM_ENUM,description:\"\".concat(c.name,\" was removed from enum type \").concat(e.name,\".\")})}return n}function oi(e,t){for(var n=[],r=pi(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.IMPLEMENTED_INTERFACE_ADDED,description:\"\".concat(a.name,\" added to interfaces implemented by \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.IMPLEMENTED_INTERFACE_REMOVED,description:\"\".concat(e.name,\" no longer implements interface \").concat(c.name,\".\")})}return n}function ai(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];n.push.apply(n,si(e,u,f)),li(u.type,f.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(u.name,\" changed type from \")+\"\".concat(String(u.type),\" to \").concat(String(f.type),\".\")})}return n}function si(e,t,n){for(var r=[],i=pi(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:$r.ARG_REMOVED,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(s.name,\" was removed.\")})}for(var l=0,c=i.persisted;l<c.length;l++){var u=c[l],f=u[0],p=u[1];if(ci(f.type,p.type)){if(void 0!==f.defaultValue)if(void 0===p.defaultValue)r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" defaultValue was removed.\")});else{var d=fi(f.defaultValue,f.type),h=fi(p.defaultValue,p.type);d!==h&&r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed defaultValue from \").concat(d,\" to \").concat(h,\".\")})}}else r.push({type:$r.ARG_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed type from \")+\"\".concat(String(f.type),\" to \").concat(String(p.type),\".\")})}for(var m=0,v=i.added;m<v.length;m++){var g=v[m];Object(V.P)(g)?r.push({type:$r.REQUIRED_ARG_ADDED,description:\"A required arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")}):r.push({type:Xr.OPTIONAL_ARG_ADDED,description:\"An optional arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")})}return r}function li(e,t){return Object(V.J)(e)?Object(V.J)(t)&&li(e.ofType,t.ofType)||Object(V.L)(t)&&li(e,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&li(e.ofType,t.ofType):Object(V.K)(t)&&e.name===t.name||Object(V.L)(t)&&li(e,t.ofType)}function ci(e,t){return Object(V.J)(e)?Object(V.J)(t)&&ci(e.ofType,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&ci(e.ofType,t.ofType)||!Object(V.L)(t)&&ci(e.ofType,t):Object(V.K)(t)&&e.name===t.name}function ui(e){return Object(V.R)(e)?\"a Scalar type\":Object(V.N)(e)?\"an Object type\":Object(V.H)(e)?\"an Interface type\":Object(V.T)(e)?\"a Union type\":Object(V.E)(e)?\"an Enum type\":Object(V.F)(e)?\"an Input type\":void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function fi(e,t){var n=Object(Sr.a)(e,t);null!=n||Object(Se.a)(0);var r=Object(D.c)(n,{ObjectValue:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{fields:[].concat(e.fields).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}))})}});return Object(qe.a)(r)}function pi(e,t){for(var n=[],r=[],i=[],o=Object(lt.a)(e,(function(e){return e.name})),a=Object(lt.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],c=a[l.name];void 0===c?r.push(l):i.push([l,c])}for(var u=0;u<t.length;u++){var f=t[u];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function di(e,t){var n=[],r=new De(e);return Object(D.c)(t,Ae(r,{Field:function(e){var t=r.getParentType(),i=r.getFieldDef();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The field \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))},EnumValue:function(e){var t=Object(V.A)(r.getInputType()),i=r.getEnumValue();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The enum value \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))}})),n}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return r})),n.d(t,\"a\",(function(){return i})),n.d(t,\"c\",(function(){return o}));var r=\"function\"==typeof Symbol?Symbol.iterator:\"@@iterator\",i=\"function\"==typeof Symbol?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"==typeof Symbol?Symbol.toStringTag:\"@@toStringTag\"},function(e,t){e.exports=window.React},function(e,t,n){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(3),i=n(13),o={Name:[],Document:[\"definitions\"],OperationDefinition:[\"name\",\"variableDefinitions\",\"directives\",\"selectionSet\"],VariableDefinition:[\"variable\",\"type\",\"defaultValue\",\"directives\"],Variable:[\"name\"],SelectionSet:[\"selections\"],Field:[\"alias\",\"name\",\"arguments\",\"directives\",\"selectionSet\"],Argument:[\"name\",\"value\"],FragmentSpread:[\"name\",\"directives\"],InlineFragment:[\"typeCondition\",\"directives\",\"selectionSet\"],FragmentDefinition:[\"name\",\"variableDefinitions\",\"typeCondition\",\"directives\",\"selectionSet\"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[\"values\"],ObjectValue:[\"fields\"],ObjectField:[\"name\",\"value\"],Directive:[\"name\",\"arguments\"],NamedType:[\"name\"],ListType:[\"type\"],NonNullType:[\"type\"],SchemaDefinition:[\"description\",\"directives\",\"operationTypes\"],OperationTypeDefinition:[\"type\"],ScalarTypeDefinition:[\"description\",\"name\",\"directives\"],ObjectTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],FieldDefinition:[\"description\",\"name\",\"arguments\",\"type\",\"directives\"],InputValueDefinition:[\"description\",\"name\",\"type\",\"defaultValue\",\"directives\"],InterfaceTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeDefinition:[\"description\",\"name\",\"directives\",\"types\"],EnumTypeDefinition:[\"description\",\"name\",\"directives\",\"values\"],EnumValueDefinition:[\"description\",\"name\",\"directives\"],InputObjectTypeDefinition:[\"description\",\"name\",\"directives\",\"fields\"],DirectiveDefinition:[\"description\",\"name\",\"arguments\",\"locations\"],SchemaExtension:[\"directives\",\"operationTypes\"],ScalarTypeExtension:[\"name\",\"directives\"],ObjectTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],InterfaceTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeExtension:[\"name\",\"directives\",\"types\"],EnumTypeExtension:[\"name\",\"directives\",\"values\"],InputObjectTypeExtension:[\"name\",\"directives\",\"fields\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===u.length,T=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),T){if(l)d=d.slice();else{for(var E={},O=0,x=Object.keys(d);O<x.length;O++){var _=x[O];E[_]=d[_]}d=E}for(var k=0,w=0;w<p.length;w++){var C=p[w][0],S=p[w][1];l&&(C-=k),l&&null===S?(d.splice(C,1),k++):d[C]=S}}f=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else{if(h=m?l?f:u[f]:void 0,null==(d=m?m[h]:y))continue;m&&v.push(h)}var N,D=void 0;if(!Array.isArray(d)){if(!Object(i.c)(d))throw new Error(\"Invalid AST Node: \".concat(Object(r.a)(d),\".\"));var I=c(t,d.kind,b);if(I){if((D=I.call(t,d,h,m,v,g))===a)break;if(!1===D){if(!b){v.pop();continue}}else if(void 0!==D&&(p.push([h,D]),!b)){if(!Object(i.c)(D)){v.pop();continue}d=D}}}if(void 0===D&&T&&p.push([h,d]),b)v.pop();else s={inArray:l,index:f,keys:u,edits:p,prev:s},u=(l=Array.isArray(d))?d:null!==(N=n[d.kind])&&void 0!==N?N:[],f=-1,p=[],m&&g.push(m),m=d}while(void 0!==s);return 0!==p.length&&(y=p[p.length-1][1]),y}function l(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&\"function\"==typeof r)return r;var i=n?r.leave:r.enter;if(\"function\"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if(\"function\"==typeof o)return o;var a=o[t];if(\"function\"==typeof a)return a}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));function r(e,t){var n=\"string\"==typeof e?[e,t]:[void 0,e],r=n[0],i=\" Did you mean \";r&&(i+=r+\" \");var o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];t[a]=s}return t}},function(e,t,n){\"use strict\";function r(e,t){for(var n=Object.create(null),r=new i(e),o=Math.floor(.4*e.length)+1,a=0;a<t.length;a++){var s=t[a],l=r.measure(s,o);void 0!==l&&(n[s]=l)}return Object.keys(n).sort((function(e,t){var r=n[e]-n[t];return 0!==r?r:e.localeCompare(t)}))}n.d(t,\"a\",(function(){return r}));var i=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=o(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=o(n),i=this._inputArray;if(r.length<i.length){var a=r;r=i,i=a}var s=r.length,l=i.length;if(!(s-l>t)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var f=1;f<=s;f++){for(var p=c[(f-1)%3],d=c[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=c[(f-2)%3][m-2];g=Math.min(g,y+1)}g<h&&(h=g),d[m]=g}if(h>t)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a})),n.d(t,\"i\",(function(){return s})),n.d(t,\"f\",(function(){return l})),n.d(t,\"g\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"h\",(function(){return f})),n.d(t,\"e\",(function(){return p}));var r=n(1);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function a(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function s(e){return e.kind===r.a.VARIABLE||e.kind===r.a.INT||e.kind===r.a.FLOAT||e.kind===r.a.STRING||e.kind===r.a.BOOLEAN||e.kind===r.a.NULL||e.kind===r.a.ENUM||e.kind===r.a.LIST||e.kind===r.a.OBJECT}function l(e){return e.kind===r.a.NAMED_TYPE||e.kind===r.a.LIST_TYPE||e.kind===r.a.NON_NULL_TYPE}function c(e){return e.kind===r.a.SCHEMA_DEFINITION||u(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function u(e){return e.kind===r.a.SCALAR_TYPE_DEFINITION||e.kind===r.a.OBJECT_TYPE_DEFINITION||e.kind===r.a.INTERFACE_TYPE_DEFINITION||e.kind===r.a.UNION_TYPE_DEFINITION||e.kind===r.a.ENUM_TYPE_DEFINITION||e.kind===r.a.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.a.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.a.SCALAR_TYPE_EXTENSION||e.kind===r.a.OBJECT_TYPE_EXTENSION||e.kind===r.a.INTERFACE_TYPE_EXTENSION||e.kind===r.a.UNION_TYPE_EXTENSION||e.kind===r.a.ENUM_TYPE_EXTENSION||e.kind===r.a.INPUT_OBJECT_TYPE_EXTENSION}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(38);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}},function(e,t,n){\"use strict\";t.a=function(e,t){return e instanceof t}},function(e,t,n){\"use strict\";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){\"use strict\";function r(e){var t=e.split(/\\r\\n|[\\n\\r]/g),n=i(t);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(;t.length>0&&a(t[0]);)t.shift();for(;t.length>0&&a(t[t.length-1]);)t.pop();return t.join(\"\\n\")}function i(e){for(var t=null,n=1;n<e.length;n++){var r=e[n],i=o(r);if(i!==r.length&&((null===t||i<t)&&0===(t=i)))break}return null===t?0:t}function o(e){for(var t=0;t<e.length&&(\" \"===e[t]||\"\\t\"===e[t]);)t++;return t}function a(e){return o(e)===e.length}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf(\"\\n\"),i=\" \"===e[0]||\"\\t\"===e[0],o='\"'===e[e.length-1],a=!r||o||n,s=\"\";return!a||r&&i||(s+=\"\\n\"+t),s+=t?e.replace(/\\n/g,\"\\n\"+t):e,a&&(s+=\"\\n\"),'\"\"\"'+s.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return i})),n.d(t,\"c\",(function(){return s}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e,t){for(var n=Object.create(null),i=0,o=Object(r.a)(e);i<o.length;i++){var a=o[i],s=a[0],l=a[1];n[s]=t(l,s)}return n}},function(e,t,n){\"use strict\";var r=n(15),i=Array.from||function(e,t,n){if(null==e)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");var i=e[r.b];if(\"function\"==typeof i){for(var o,a=i.call(e),s=[],l=0;!(o=a.next()).done;++l)if(s.push(t.call(n,o.value,l)),l>9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var c=e.length;if(\"number\"==typeof c&&c>=0&&c%1==0){for(var u=[],f=0;f<c;++f)Object.prototype.hasOwnProperty.call(e,f)&&u.push(t.call(n,e[f],f));return u}return[]};t.a=i},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(32),i=n(30),o=n(7),a=n(3),s=n(11),l=n(17),c=n(35),u=n(1),f=n(6),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return(null==n?void 0:n.kind)===u.a.NULL?null:n}if(null===e)return{kind:u.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var m=t.ofType;if(Object(c.a)(e)){for(var v=[],g=0,y=Object(i.a)(e);g<y.length;g++){var b=d(y[g],m);null!=b&&v.push(b)}return{kind:u.a.LIST,values:v}}return d(e,m)}if(Object(p.F)(t)){if(!Object(l.a)(e))return null;for(var T=[],E=0,O=Object(o.a)(t.getFields());E<O.length;E++){var x=O[E],_=d(e[x.name],x.type);_&&T.push({kind:u.a.OBJECT_FIELD,name:{kind:u.a.NAME,value:x.name},value:_})}return{kind:u.a.OBJECT,fields:T}}if(Object(p.I)(t)){var k=t.serialize(e);if(null==k)return null;if(\"boolean\"==typeof k)return{kind:u.a.BOOLEAN,value:k};if(\"number\"==typeof k&&Object(r.a)(k)){var w=String(k);return h.test(w)?{kind:u.a.INT,value:w}:{kind:u.a.FLOAT,value:w}}if(\"string\"==typeof k)return Object(p.E)(t)?{kind:u.a.ENUM,value:k}:t===f.c&&h.test(k)?{kind:u.a.INT,value:k}:{kind:u.a.STRING,value:k};throw new TypeError(\"Cannot convert value to AST: \".concat(Object(a.a)(k),\".\"))}Object(s.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}var h=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){\"use strict\";var r=Number.isFinite||function(e){return\"number\"==typeof e&&isFinite(e)};t.a=r},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?\"i\":\"\")+(e.global?\"g\":\"\")+(e.multiline?\"m\":\"\")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\\\s|\\\\n|\\n|\\\\W|\\\\D|\\[\\^/.test(e.source)}function a(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.lastLine();o<=s;o++,a=0){t.lastIndex=a;var l=e.getLine(o),c=t.exec(l);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,\"gm\");for(var s,l=1,c=n.line,u=e.lastLine();c<=u;){for(var f=0;f<l&&!(c>u);f++){var p=e.getLine(c++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),u=l(c,t,a<0?0:c.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return c(e,t,n);t=i(t,\"gm\");for(var a,s=1,u=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d<s&&f>=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,u);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.lastLine()+1-l.length;c<=p;c++,u=0){var d=e.getLine(c).slice(u),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+u,{from:r(c,f(d,h,m,s)+u),to:r(c,f(d,h,m+l[0].length,s)+u)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g<l.length-1;g++)if(s(e.getLine(c+g))!=l[g])continue e;var y=e.getLine(c+l.length-1),b=s(y),T=l[l.length-1];if(b.slice(0,T.length)==T)return{from:r(c,f(d,h,v,s)+u),to:r(c+l.length-1,f(y,b,T.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.firstLine()-1+l.length;c>=p;c--,u=-1){var d=e.getLine(c);u>-1&&(d=d.slice(0,u));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(c,f(d,h,m,s)),to:r(c,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=c-l.length+1;g<l.length-1;g++)if(s(e.getLine(o+g))!=l[g])continue e;var y=e.getLine(c+1-l.length),b=s(y);if(b.slice(b.length-l[0].length)==l[0])return{from:r(c+1-l.length,f(y,b,y.length-l[0].length,s)),to:r(c,f(d,h,v.length,s))}}}}function h(e,t,n,o){var l;this.atOccurrence=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},\"object\"==typeof o?l=o.caseFold:(l=o,o=null),\"string\"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,l)}):(t=i(t,\"gm\"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:a)(e,t,r)}:this.matches=function(n,r){return(n?u:s)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize(\"NFD\").toLowerCase()},n=function(e){return e.normalize(\"NFD\")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension(\"getSearchCursor\",(function(e,t,n){return new h(this.doc,e,t,n)})),e.defineDocExtension(\"getSearchCursor\",(function(e,t,n){return new h(this,e,t,n)})),e.defineExtension(\"selectMatches\",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(\"from\"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(\"to\"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function c(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var u,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,c)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,c)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),c()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&c()}))):(u=a.getElementsByTagName(\"button\")[0])&&(e.on(u,\"click\",(function(){c(),l.focus()})),!1!==o.closeOnBlur&&e.on(u,\"blur\",c),u.focus()),c})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,c=this,u=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p<s.length;++p){var d=s[p];!function(t){e.on(d,\"click\",(function(n){e.e_preventDefault(n),f(),t&&t(c)}))}(i[p]),e.on(d,\"blur\",(function(){--u,setTimeout((function(){u<=0&&f()}),200)})),e.on(d,\"focus\",(function(){++u}))}})),e.defineExtension(\"openNotification\",(function(r,i){n(this,c);var o,a=t(this,r,i&&i.bottom),s=!1,l=i&&void 0!==i.duration?i.duration:5e3;function c(){s||(s=!0,clearTimeout(o),e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a))}return e.on(a,\"click\",(function(t){e.e_preventDefault(t),c()})),l&&(o=setTimeout(c,l)),c}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(15);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){if(null==e||\"object\"!==i(e))return!1;var t=e.length;return\"number\"==typeof t&&t>=0&&t%1==0||\"function\"==typeof e[r.b]}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(170),n(73),n(74),n(171),n(172)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var a={CharacterStream:!0,LexRules:!0,ParseRules:!0,isIgnored:!0,butNot:!0,list:!0,opt:!0,p:!0,t:!0,onlineParser:!0};function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"CharacterStream\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,\"LexRules\",{enumerable:!0,get:function(){return n.LexRules}}),Object.defineProperty(e,\"ParseRules\",{enumerable:!0,get:function(){return n.ParseRules}}),Object.defineProperty(e,\"isIgnored\",{enumerable:!0,get:function(){return n.isIgnored}}),Object.defineProperty(e,\"butNot\",{enumerable:!0,get:function(){return r.butNot}}),Object.defineProperty(e,\"list\",{enumerable:!0,get:function(){return r.list}}),Object.defineProperty(e,\"opt\",{enumerable:!0,get:function(){return r.opt}}),Object.defineProperty(e,\"p\",{enumerable:!0,get:function(){return r.p}}),Object.defineProperty(e,\"t\",{enumerable:!0,get:function(){return r.t}}),Object.defineProperty(e,\"onlineParser\",{enumerable:!0,get:function(){return i.default}}),t=s(t),i=s(i),Object.keys(o).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e){const r=e.onClick?e.onClick:()=>null;return function e(r,i){return r instanceof n.GraphQLNonNull?t.default.createElement(\"span\",null,e(r.ofType,i),\"!\"):r instanceof n.GraphQLList?t.default.createElement(\"span\",null,\"[\",e(r.ofType,i),\"]\"):t.default.createElement(\"a\",{className:\"type-name\",onClick:e=>{e.preventDefault(),i(r,e)},href:\"#\"},null==r?void 0:r.name)}(e.type,r)},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";var r=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):void 0;t.a=r},function(e,t,n){\"use strict\";function r(e,t){for(var n,r=/\\r\\n|[\\n\\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;let t=!1;\"object\"==typeof window&&(t=\"MacIntel\"===window.navigator.platform);var n={[t?\"Cmd-F\":\"Ctrl-F\"]:\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"findPersistent\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\"};e.default=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),f=!c&&l>=0&&u.test(s.text.charAt(l))&&r[s.text.charAt(l)]||u.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d||null,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],f=i(s),p=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||e.getTokenTypeAt(n(d,m+1))==a)){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)u.push(g);else{if(!u.length)return{pos:n(d,m),ch:g};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),c=0;c<l.length;c++){var u=l[c].empty()&&o(e,l[c].head,i);if(u&&e.getLine(u.from.line).length<=a){var f=u.match?\"CodeMirror-matchingbracket\":\"CodeMirror-nonmatchingbracket\";s.push(e.markText(u.from,n(u.from.line,u.from.ch+1),{className:f})),u.to&&e.getLine(u.to.line).length<=a&&s.push(e.markText(u.to,n(u.to.line,u.to.ch+1),{className:f}))}}if(s.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return p;setTimeout(p,800)}}function l(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}e.defineOption(\"matchBrackets\",!1,(function(t,n,r){function i(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}r&&r!=e.Init&&(t.off(\"cursorActivity\",l),t.off(\"focus\",l),t.off(\"blur\",i),i(t)),n&&(t.state.matchBrackets=\"object\"==typeof n?n:{},t.on(\"cursorActivity\",l),t.on(\"focus\",l),t.on(\"blur\",i))})),e.defineExtension(\"matchBrackets\",(function(){s(this,!0)})),e.defineExtension(\"findMatchingBracket\",(function(e,t,n){return(n||\"boolean\"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension(\"scanForBracket\",(function(e,t,n,r){return a(this,e,t,n,r)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){e.defineOption(\"foldGutter\",!1,(function(t,r,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(\"gutterClick\",l),t.off(\"changes\",c),t.off(\"viewportChange\",u),t.off(\"fold\",f),t.off(\"unfold\",f),t.off(\"swapDoc\",c)),r&&(t.state.foldGutter=new n((!0===(o=r)&&(o={}),null==o.gutter&&(o.gutter=\"CodeMirror-foldgutter\"),null==o.indicatorOpen&&(o.indicatorOpen=\"CodeMirror-foldgutter-open\"),null==o.indicatorFolded&&(o.indicatorFolded=\"CodeMirror-foldgutter-folded\"),o)),s(t),t.on(\"gutterClick\",l),t.on(\"changes\",c),t.on(\"viewportChange\",u),t.on(\"fold\",f),t.on(\"unfold\",f),t.on(\"swapDoc\",c))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var o=r[i].find(-1);if(o&&o.line===n)return r[i]}}function i(e){if(\"string\"==typeof e){var t=document.createElement(\"div\");return t.className=e+\" CodeMirror-guttermarker-subtle\",t}return e.cloneNode(!0)}function o(e,n,o){var s=e.state.foldGutter.options,l=n-1,c=e.foldOption(s,\"minFoldSize\"),u=e.foldOption(s,\"rangeFinder\"),f=\"string\"==typeof s.indicatorFolded&&a(s.indicatorFolded),p=\"string\"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++l;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,l)){if(f&&a&&f.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(l,0),h=u&&u(e,d);if(h&&h.to.line-h.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.from<t.from&&(o(e,n.from,t.from),t.from=n.from),n.to>t.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&o(e,r,r+1)}}}(n(10),n(168))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).registerHelper(\"fold\",\"brace\",(function(t,n){var r,i=n.line,o=t.getLine(i);function a(a){for(var s=n.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(r))return c+1;s=c-1}else{if(1==l)break;l=1,s=o.length}}}var s=\"{\",l=\"}\",c=a(\"{\");if(null==c&&(s=\"[\",l=\"]\",c=a(\"[\")),null!=c){var u,f,p=1,d=t.lastLine();e:for(var h=i;h<=d;++h)for(var m=t.getLine(h),v=h==i?c:0;;){var g=m.indexOf(s,v),y=m.indexOf(l,v);if(g<0&&(g=m.length),y<0&&(y=m.length),(v=Math.min(g,y))==m.length)break;if(t.getTokenTypeAt(e.Pos(h,v+1))==r)if(v==g)++p;else if(!--p){u=h,f=v;break e}++v}if(null!=u&&i!=u)return{from:e.Pos(i,c),to:e.Pos(u,f)}}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use line:column or scroll% syntax)\")+\"</span>\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(10),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,c=l,u=i<0?0:o.length,f=0;c!=u;c+=i,f++){var p=o.charAt(i<0?c-1:c),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=c+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&c--,\"W\"==a&&\"w\"==d&&i>0){if(c==l+1){a=\"w\";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a<e;a++){var s=t.listSelections()[a].head;if(!(s.line<=o)){var l=n(s.line+(r?0:1),0);t.replaceRange(\"\\n\",l,null,\"+insertLine\"),t.indentLine(l.line,null,!0),i.push({head:l,anchor:l}),o=s.line+1}}t.setSelections(i)})),t.execCommand(\"indentAuto\")}function o(t,r){for(var i=r.ch,o=i,a=t.getLine(r.line);i&&e.isWordChar(a.charAt(i-1));)--i;for(;o<a.length&&e.isWordChar(a.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:a.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,\"line\",o.anchor.goalColumn),s=e.findPosV(o.head,t,\"line\",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,\"div\").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,\"div\").left;var l={anchor:a,head:s};r.push(o),r.push(l)}e.setSelections(r)}function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var a=r[o],s=a.head,l=t.scanForBracket(s,-1);if(!l)return!1;for(;;){var c=t.scanForBracket(s,1);if(!c)return!1;if(c.ch==\"(){}[]\".charAt(\"(){}[]\".indexOf(l.ch)+1)){var u=n(l.pos.line,l.pos.ch+1);if(0!=e.cmpPos(u,a.from())||0!=e.cmpPos(c.pos,a.to())){i.push({anchor:u,head:c.pos});break}if(!(l=t.scanForBracket(l.pos,-1)))return!1}s=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(i),!0}function l(e){return e?/\\bpunctuation\\b/.test(e)?e:void 0:null}function c(t,r){if(t.isReadOnly())return e.Pass;for(var i,o=t.listSelections(),a=[],s=0;s<o.length;s++){var l=o[s];if(!l.empty()){for(var c=l.from().line,u=l.to().line;s<o.length-1&&o[s+1].from().line==u;)u=o[++s].to().line;o[s].to().ch||u--,a.push(c,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],o=0;o<a.length;o+=2){var s=a[o],l=a[o+1],c=n(s,0),u=n(l),f=t.getRange(c,u,!1);r?f.sort():f.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-1:e==t?0:1})),t.replaceRange(f,c,u),i&&e.push({anchor:c,head:n(l+1,0)})}i&&t.setSelections(e,0)}))}function u(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(c=r[s]).empty()?(i.push(s),a.push(\"\")):a.push(n(t.getRange(c.from(),c.to())));var l;for(t.replaceSelections(a,\"around\",\"case\"),s=i.length-1;s>=0;s--){var c=r[i[s]];if(!(l&&e.cmpPos(c.head,l)>0)){var u=o(t,c.head);l=u.from,t.replaceRange(n(u.word),u.from,u.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),a=t[i].to(),s=o.line;s<=a.line;++s)a.line>o.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor(\"from\"),i=t.getCursor(\"to\"),a=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var s=o(t,r);if(!s.word)return;t.setSelection(s.from,s.to),a=!0}else{var l=t.getRange(r,i),c=a?new RegExp(\"\\\\b\"+l+\"\\\\b\"):l,u=t.getSearchCursor(c,i),f=u.findNext();if(f||(f=(u=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!f||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}a&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor(\"anchor\"),i=n.getCursor(\"head\");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){a(e,-1)},t.addCursorToNextLine=function(e){a(e,1)},t.selectScope=function(e){s(e)||e.execCommand(\"selectAll\")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,l(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,l(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;s<r.length;s++){var l=r[s],c=l.from().line-1,u=l.to().line;a.push({anchor:n(l.anchor.line-1,l.anchor.ch),head:n(l.head.line-1,l.head.ch)}),0!=l.to().ch||l.empty()||--u,c>o?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],s=t.getLine(r);t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),o>t.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l<o?i.push(l,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],a=o.from(),s=a.line,l=o.to().line;i<t.length-1&&t[i+1].from().line==l;)l=t[++i].to().line;r.push({start:s,end:l,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],l=s.anchor&&n(s.anchor.line-t,s.anchor.ch),c=s.start;c<=s.end;c++){var u=c-t;c==s.end&&(a=n(u,e.getLine(u).length+1)),u<e.lastLine()&&(e.replaceRange(\" \",n(u),n(u+1,/^\\s*/.exec(e.getLine(u+1))[0].length)),++t)}i.push({anchor:l||a,head:a})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+\"\\n\",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){c(e,!0)},t.sortLinesInsensitive=function(e){c(e,!1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption(\"indentUnit\"),o=r.length-1;o>=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),c=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange(\"\",c,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){u(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){u(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(10),n(33),n(41))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(173),n(174),n(175)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),Object.defineProperty(e,\"getASTNodeAtPosition\",{enumerable:!0,get:function(){return t.getASTNodeAtPosition}}),Object.defineProperty(e,\"pointToOffset\",{enumerable:!0,get:function(){return t.pointToOffset}}),Object.defineProperty(e,\"Position\",{enumerable:!0,get:function(){return n.Position}}),Object.defineProperty(e,\"Range\",{enumerable:!0,get:function(){return n.Range}}),Object.defineProperty(e,\"locToRange\",{enumerable:!0,get:function(){return n.locToRange}}),Object.defineProperty(e,\"offsetToPosition\",{enumerable:!0,get:function(){return n.offsetToPosition}}),Object.defineProperty(e,\"validateWithCustomRules\",{enumerable:!0,get:function(){return r.validateWithCustomRules}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(2),i=n(1),o=n(23);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n<a.length;n++){var s=a[n];if(!Object(o.b)(s)){var l=s.kind===i.a.SCHEMA_DEFINITION||s.kind===i.a.SCHEMA_EXTENSION?\"schema\":'\"'+s.name.value+'\"';e.reportError(new r.a(\"The \".concat(l,\" definition is not executable.\"),s))}}return!1}}}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t;t=function(){return this}();try{t=t||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(t=window)}e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(111)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4E\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD803[\\uDF55-\\uDF59]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[\"\"];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error(\"Parser rule not found: \"+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content=\"\",this.markup=\"\",this.info=\"\",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.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=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r,o){let a,s;n(10).on(r,\"select\",(e,n)=>{if(!a){const e=n.parentNode;let t;a=document.createElement(\"div\"),a.className=\"CodeMirror-hint-information\",e.appendChild(a),s=document.createElement(\"div\"),s.className=\"CodeMirror-hint-deprecation\",e.appendChild(s),e.addEventListener(\"DOMNodeRemoved\",t=n=>{n.target===e&&(e.removeEventListener(\"DOMNodeRemoved\",t),a=null,s=null,t=null)})}const r=e.description?i.render(e.description):\"Self descriptive.\",l=e.type?'<span class=\"infoType\">'+function e(n){return n instanceof t.GraphQLNonNull?e(n.ofType)+\"!\":n instanceof t.GraphQLList?`[${e(n.ofType)}]`:`<a class=\"typeName\">${n.name}</a>`}(e.type)+\"</span>\":\"\";if(a.innerHTML='<div class=\"content\">'+(\"<p>\"===r.slice(0,3)?\"<p>\"+l+r.slice(3):l+r)+\"</div>\",e&&s&&e.isDeprecated){const t=e.deprecationReason?i.render(e.deprecationReason):\"\";s.innerHTML='<span class=\"deprecation-label\">Deprecated</span>'+t,s.style.display=\"block\"}else s&&(s.style.display=\"none\");o&&o(a)})};const i=new(o=r,r=o&&o.__esModule?o:{default:o}).default;var o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\"start\"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on(\"cursorActivity\",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(\"showHint\",(function(n){n=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in l)i[o]=l[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor(\"start\"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new t(this,n);o.options.hint&&(e.signal(this,\"startCompletion\",this),o.update(!0))}})),e.defineExtension(\"closeHint\",(function(){this.state.completionActive&&this.state.completionActive.close()}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function i(e){return\"string\"==typeof e?e:e.text}function o(e,t){for(;t&&t!=e;){if(\"LI\"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=a.getInputField().ownerDocument,l=s.defaultView||s.parentWindow,c=this.hints=s.createElement(\"ul\"),u=t.cm.options.theme;c.className=\"CodeMirror-hints \"+u,this.selectedHint=n.selectedHint||0;for(var f=n.list,p=0;p<f.length;++p){var d=c.appendChild(s.createElement(\"li\")),h=f[p],m=\"CodeMirror-hint\"+(p!=this.selectedHint?\"\":\" CodeMirror-hint-active\");null!=h.className&&(m=h.className+\" \"+m),d.className=m,h.render?h.render(d,n,h):d.appendChild(s.createTextNode(h.displayText||i(h))),d.hintId=p}var v=t.options.container||s.body,g=a.cursorCoords(t.options.alignWithWord?n.from:null),y=g.left,b=g.bottom,T=!0,E=0,O=0;if(v!==s.body){var x=-1!==[\"absolute\",\"relative\",\"fixed\"].indexOf(l.getComputedStyle(v).position)?v:v.offsetParent,_=x.getBoundingClientRect(),k=s.body.getBoundingClientRect();E=_.left-k.left-x.scrollLeft,O=_.top-k.top-x.scrollTop}c.style.left=y-E+\"px\",c.style.top=b-O+\"px\";var w=l.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),C=l.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);v.appendChild(c);var S=c.getBoundingClientRect(),N=S.bottom-C,D=c.scrollHeight>c.clientHeight+1,I=a.getScrollInfo();if(N>0){var A=S.bottom-S.top;if(g.top-(g.bottom-S.top)-A>0)c.style.top=(b=g.top-A-O)+\"px\",T=!1;else if(A>C){c.style.height=C-5+\"px\",c.style.top=(b=g.bottom-S.top-O)+\"px\";var L=a.getCursor();n.from.ch!=L.ch&&(g=a.cursorCoords(L),c.style.left=(y=g.left-E)+\"px\",S=c.getBoundingClientRect())}}var j,F=S.right-w;if(F>0&&(S.right-S.left>w&&(c.style.width=w-5+\"px\",F-=S.right-S.left-w),c.style.left=(y=g.left-F-E)+\"px\"),D)for(var M=c.firstChild;M;M=M.nextSibling)M.style.paddingRight=a.display.nativeBarWidth+\"px\";return a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){j=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(j)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+I.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(T||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+\"px\",c.style.left=y+I.left-e.left+\"px\"}),e.on(c,\"dblclick\",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,\"click\",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off(\"cursorActivity\",this.activityFunc),this.widget&&this.data&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(i.charAt(t.ch-1)))this.close();else{var o=this;this.debounce=n((function(){o.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;s(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,\"update\");var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&1==t.list.length?this.pick(t,0):(this.widget=new a(this,t),e.signal(t,\"shown\")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off(\"blur\",this.onBlur),e.off(\"focus\",this.onFocus)),e.off(\"scroll\",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.completion.options.scrollMargin||0,t=this.hints.childNodes[Math.max(0,this.selectedHint-e)],n=this.hints.childNodes[Math.min(this.data.list.length-1,this.selectedHint+e)],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);s(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\\w/.test(o.string.charAt(i.ch-o.start-1))?r=o.string.substr(0,i.ch-o.start):(r=\"\",a=i);for(var l=[],c=0;c<n.words.length;c++){var u=n.words[c];u.slice(0,r.length)==r&&l.push(u)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var l={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\\s()\\[\\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption(\"hintOptions\",null)}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),c=0;c<a.length;c++){if(!a[c].empty())return e.Pass;var u=l(t,a[c].head);if(!u||o.indexOf(u)%2!=0)return e.Pass}for(c=a.length-1;c>=0;c--){var f=a[c].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var c=l(t,o[a].head);if(!c||i.indexOf(c)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||\"\\n\";t.replaceSelection(e+e,null),t.execCommand(\"goCharLeft\"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r=\"'\"+n+\"'\";i[r]||(i[r]=a(n))}}function a(t){return function(i){return function(t,i){var o=s(t);if(!o||t.getOption(\"disableInput\"))return e.Pass;var a=r(o,\"pairs\"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var u,f=r(o,\"closeBefore\"),p=r(o,\"triples\"),d=a.charAt(l+1)==i,h=t.listSelections(),m=l%2==0,v=0;v<h.length;v++){var g,y=h[v],b=y.head,T=t.getRange(b,n(b.line,b.ch+1));if(m&&!y.empty())g=\"surround\";else if(!d&&m||T!=i)if(d&&b.ch>1&&p.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;g=\"addFour\"}else if(d){var E=0==b.ch?\" \":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(T)||E==i||e.isWordChar(E))return e.Pass;g=\"both\"}else{if(!m||!(0===T.length||/\\s/.test(T)||f.indexOf(T)>-1))return e.Pass;g=\"both\"}else g=d&&c(t,b)?\"both\":p.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?\"skipThree\":\"skip\";if(u){if(u!=g)return e.Pass}else u=g}var O=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);t.operation((function(){if(\"skip\"==u)t.execCommand(\"goCharRight\");else if(\"skipThree\"==u)for(var r=0;r<3;r++)t.execCommand(\"goCharRight\");else if(\"surround\"==u){var i=t.getSelections();for(r=0;r<i.length;r++)i[r]=O+i[r]+x;for(t.replaceSelections(i,\"around\"),i=t.listSelections().slice(),r=0;r<i.length;r++)i[r]=(o=i[r],a=void 0,a=e.cmpPos(o.anchor,o.head)>0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(i)}else\"both\"==u?(t.replaceSelection(O+x,null),t.triggerElectric(O+x),t.execCommand(\"goCharLeft\")):\"addFour\"==u&&(t.replaceSelection(O+O+O+O,\"before\"),t.execCommand(\"goCharRight\"));var o,a}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function c(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),c=[],u=0;u<l.length;++u){var f=l[u].__annotation;f&&c.push(f)}c.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var l=t[a];o.appendChild(s(l))}r(e,n,o,i)}(e,c,t)}}(e,t)},this.waitingFor=0}function o(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function a(t,n,i,o,a){var s=document.createElement(\"div\"),l=s;return s.className=\"CodeMirror-lint-marker-\"+i,o&&((l=s.appendChild(document.createElement(\"div\"))).className=\"CodeMirror-lint-marker-multiple\"),0!=a&&e.on(l,\"mouseover\",(function(e){r(t,e,n,l)})),s}function s(e){var t=e.severity;t||(t=\"error\");var n=document.createElement(\"div\");return n.className=\"CodeMirror-lint-message-\"+t,void 0!==e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function l(t){var n=t.state.lint.options,r=n.options||n,i=n.getAnnotations||t.getHelper(e.Pos(0,0),\"lint\");if(i)if(n.async||i.async)!function(t,n,r){var i=t.state.lint,o=++i.waitingFor;function a(){o=-1,t.off(\"change\",a)}t.on(\"change\",a),n(t.getValue(),(function(n,r){t.off(\"change\",a),i.waitingFor==o&&(r&&n instanceof e&&(n=r),t.operation((function(){c(t,n)})))}),r,t)}(t,i,r);else{var o=i(t.getValue(),r,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){c(t,e)}))})):t.operation((function(){c(t,o)}))}}function c(e,n){o(e);for(var r,i,l=e.state.lint,c=l.options,u=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),f=0;f<u.length;++f){var p=u[f];if(p){for(var d=null,h=l.hasGutter&&document.createDocumentFragment(),m=0;m<p.length;++m){var v=p[m],g=v.severity;g||(g=\"error\"),i=g,d=\"error\"==(r=d)?r:i,c.formatAnnotation&&(v=c.formatAnnotation(v)),l.hasGutter&&h.appendChild(s(v)),v.to&&l.marked.push(e.markText(v.from,v.to,{className:\"CodeMirror-lint-mark-\"+g,__annotation:v}))}l.hasGutter&&e.setGutterMarker(f,t,a(e,h,d,p.length>1,l.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,u,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption(\"lint\",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",u),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),c=!1,f=0;f<s.length;++f)s[f]==t&&(c=!0);var p=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),c);!1!==p.options.lintOnChange&&n.on(\"change\",u),0!=p.options.tooltips&&\"gutter\"!=p.options.tooltips&&e.on(n.getWrapperElement(),\"mouseover\",p.onMouseOver),l(n)}var d})),e.defineExtension(\"performLint\",(function(){this.state.lint&&l(this)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(36),n(71)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){const t=[];return s(e,(e,n)=>{n.kind===r.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:r.RuleKinds.FRAGMENT_DEFINITION,name:{kind:\"Name\",value:n.name},selectionSet:{kind:r.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:r.RuleKinds.NAMED_TYPE,name:{kind:\"Name\",value:n.type}}})}),t}function a(e,t){let n=null,r=null,i=null;const o=s(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},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 s(e,t){const n=e.split(\"\\n\"),i=(0,r.onlineParser)();let o=i.startState(),a=\"\",s=new r.CharacterStream(\"\");for(let e=0;e<n.length;e++){for(s=new r.CharacterStream(n[e]);!s.eol()&&(a=i.token(s,o),\"BREAK\"!==t(s,o,a,e)););t(s,o,a,e),o.kind||(o=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:o,style:a}}function l(e,t){if(!e||!e.kind)return!1;const n=e.kind,i=t.locations;switch(n){case r.RuleKinds.QUERY:return-1!==i.indexOf(\"QUERY\");case r.RuleKinds.MUTATION:return-1!==i.indexOf(\"MUTATION\");case r.RuleKinds.SUBSCRIPTION:return-1!==i.indexOf(\"SUBSCRIPTION\");case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:return-1!==i.indexOf(\"FIELD\");case r.RuleKinds.FRAGMENT_DEFINITION:return-1!==i.indexOf(\"FRAGMENT_DEFINITION\");case r.RuleKinds.FRAGMENT_SPREAD:return-1!==i.indexOf(\"FRAGMENT_SPREAD\");case r.RuleKinds.INLINE_FRAGMENT:return-1!==i.indexOf(\"INLINE_FRAGMENT\");case r.RuleKinds.SCHEMA_DEF:return-1!==i.indexOf(\"SCHEMA\");case r.RuleKinds.SCALAR_DEF:return-1!==i.indexOf(\"SCALAR\");case r.RuleKinds.OBJECT_TYPE_DEF:return-1!==i.indexOf(\"OBJECT\");case r.RuleKinds.FIELD_DEF:return-1!==i.indexOf(\"FIELD_DEFINITION\");case r.RuleKinds.INTERFACE_DEF:return-1!==i.indexOf(\"INTERFACE\");case r.RuleKinds.UNION_DEF:return-1!==i.indexOf(\"UNION\");case r.RuleKinds.ENUM_DEF:return-1!==i.indexOf(\"ENUM\");case r.RuleKinds.ENUM_VALUE:return-1!==i.indexOf(\"ENUM_VALUE\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_OBJECT\");case r.RuleKinds.INPUT_VALUE_DEF:switch(e.prevState&&e.prevState.kind){case r.RuleKinds.ARGUMENTS_DEF:return-1!==i.indexOf(\"ARGUMENT_DEFINITION\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_FIELD_DEFINITION\")}}return!1}function c(e,t){let o,a,s,l,c,u,f,p,d;return(0,i.forEachState)(t,t=>{switch(t.kind){case r.RuleKinds.QUERY:case\"ShortQuery\":d=e.getQueryType();break;case r.RuleKinds.MUTATION:d=e.getMutationType();break;case r.RuleKinds.SUBSCRIPTION:d=e.getSubscriptionType();break;case r.RuleKinds.INLINE_FRAGMENT:case r.RuleKinds.FRAGMENT_DEFINITION:t.type&&(d=e.getType(t.type));break;case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:d&&t.name?(c=p?(0,i.getFieldDef)(e,p,t.name):null,d=c?c.type:null):c=null;break;case r.RuleKinds.SELECTION_SET:p=(0,n.getNamedType)(d);break;case r.RuleKinds.DIRECTIVE:s=t.name?e.getDirective(t.name):null;break;case r.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case r.RuleKinds.FIELD:a=c&&c.args;break;case r.RuleKinds.DIRECTIVE:a=s&&s.args;break;case r.RuleKinds.ALIASED_FIELD:const n=t.prevState&&t.prevState.name;if(!n){a=null;break}const o=p?(0,i.getFieldDef)(e,p,n):null;if(!o){a=null;break}a=o.args;break;default:a=null}else a=null;break;case r.RuleKinds.ARGUMENT:if(a)for(let e=0;e<a.length;e++)if(a[e].name===t.name){o=a[e];break}u=o&&o.type;break;case r.RuleKinds.ENUM_VALUE:const h=(0,n.getNamedType)(u);l=h instanceof n.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}(h.getValues(),e=>e.value===t.name):null;break;case r.RuleKinds.LIST_VALUE:const m=(0,n.getNullableType)(u);u=m instanceof n.GraphQLList?m.ofType:null;break;case r.RuleKinds.OBJECT_VALUE:const v=(0,n.getNamedType)(u);f=v instanceof n.GraphQLInputObjectType?v.getFields():null;break;case r.RuleKinds.OBJECT_FIELD:const g=t.name&&f?f[t.name]:null;u=g&&g.type;break;case r.RuleKinds.NAMED_TYPE:t.name&&(d=e.getType(t.name))}}),{argDef:o,argDefs:a,directiveDef:s,enumValue:l,fieldDef:c,inputType:u,objectFieldDefs:f,parentType:p,type:d}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getAutocompleteSuggestions=function(e,s,u,f,p){const d=f||a(s,u),h=\"Invalid\"===d.state.kind?d.state.prevState:d.state;if(!h)return[];const m=h.kind,v=h.step,g=c(e,d.state);if(m===r.RuleKinds.DOCUMENT)return(0,i.hintList)(d,[{label:\"query\",kind:t.CompletionItemKind.Function},{label:\"mutation\",kind:t.CompletionItemKind.Function},{label:\"subscription\",kind:t.CompletionItemKind.Function},{label:\"fragment\",kind:t.CompletionItemKind.Function},{label:\"{\",kind:t.CompletionItemKind.Constructor}]);if(m===r.RuleKinds.SELECTION_SET||m===r.RuleKinds.FIELD||m===r.RuleKinds.ALIASED_FIELD)return function(e,r,o,a){if(r.parentType){const a=r.parentType;let s=[];return\"getFields\"in a&&(s=(0,i.objectValues)(a.getFields())),(0,n.isCompositeType)(a)&&s.push(n.TypeNameMetaFieldDef),a===o.getQueryType()&&s.push(n.SchemaMetaFieldDef,n.TypeMetaFieldDef),(0,i.hintList)(e,s.map((e,n)=>{var r;return{sortText:String(n)+e.name,label:e.name,detail:String(e.type),documentation:null!==(r=e.description)&&void 0!==r?r:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.Field}}))}return[]}(d,g,e);if(m===r.RuleKinds.ARGUMENTS||m===r.RuleKinds.ARGUMENT&&0===v){const e=g.argDefs;if(e)return(0,i.hintList)(d,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t.CompletionItemKind.Variable}}))}if((m===r.RuleKinds.OBJECT_VALUE||m===r.RuleKinds.OBJECT_FIELD&&0===v)&&g.objectFieldDefs){const e=(0,i.objectValues)(g.objectFieldDefs),n=m===r.RuleKinds.OBJECT_VALUE?t.CompletionItemKind.Value:t.CompletionItemKind.Field;return(0,i.hintList)(d,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:n}}))}if(m===r.RuleKinds.ENUM_VALUE||m===r.RuleKinds.LIST_VALUE&&1===v||m===r.RuleKinds.OBJECT_FIELD&&2===v||m===r.RuleKinds.ARGUMENT&&2===v)return function(e,r,o){const a=(0,n.getNamedType)(r.inputType);if(a instanceof n.GraphQLEnumType){const n=a.getValues();return(0,i.hintList)(e,n.map(e=>{var n;return{label:e.name,detail:String(a),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.EnumMember}}))}return a===n.GraphQLBoolean?(0,i.hintList)(e,[{label:\"true\",detail:String(n.GraphQLBoolean),documentation:\"Not false.\",kind:t.CompletionItemKind.Variable},{label:\"false\",detail:String(n.GraphQLBoolean),documentation:\"Not true.\",kind:t.CompletionItemKind.Variable}]):[]}(d,g);if(m===r.RuleKinds.VARIABLE&&1===v){const e=[];return(0,n.visit)((0,n.parse)(s,{allowLegacySDLEmptyFields:!0,allowLegacySDLImplementsInterfaces:!0}),{VariableDefinition(t){e.push(t)}}),(0,i.hintList)(d,e.map(e=>({label:\"$\"+e.variable.name.value,kind:t.CompletionItemKind.Variable,detail:\"name\"in e.type?e.type.name.value:\"Variable\"})))}return m===r.RuleKinds.TYPE_CONDITION&&1===v||m===r.RuleKinds.NAMED_TYPE&&null!=h.prevState&&h.prevState.kind===r.RuleKinds.TYPE_CONDITION?function(e,r,o,a){let s;if(r.parentType)if((0,n.isAbstractType)(r.parentType)){const e=(0,n.assertAbstractType)(r.parentType),t=o.getPossibleTypes(e),a=Object.create(null);t.forEach(e=>{e.getInterfaces().forEach(e=>{a[e.name]=e})}),s=t.concat((0,i.objectValues)(a))}else s=[r.parentType];else{const e=o.getTypeMap();s=(0,i.objectValues)(e).filter(n.isCompositeType)}return(0,i.hintList)(e,s.map(e=>{const r=(0,n.getNamedType)(e);return{label:String(e),documentation:r&&r.description||\"\",kind:t.CompletionItemKind.Field}}))}(d,g,e):m===r.RuleKinds.FRAGMENT_SPREAD&&1===v?function(e,a,s,l,c){const u=s.getTypeMap(),f=(0,i.getDefinitionState)(e.state),p=o(l);c&&p.push(...c);const d=p.filter(e=>u[e.typeCondition.name.value]&&!(f&&f.kind===r.RuleKinds.FRAGMENT_DEFINITION&&f.name===e.name.value)&&(0,n.isCompositeType)(a.parentType)&&(0,n.isCompositeType)(u[e.typeCondition.name.value])&&(0,n.doTypesOverlap)(s,a.parentType,u[e.typeCondition.name.value]));return(0,i.hintList)(e,d.map(e=>({label:e.name.value,detail:String(u[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:t.CompletionItemKind.Field})))}(d,g,e,s,p):m===r.RuleKinds.VARIABLE_DEFINITION&&2===v||m===r.RuleKinds.LIST_TYPE&&1===v||m===r.RuleKinds.NAMED_TYPE&&h.prevState&&(h.prevState.kind===r.RuleKinds.VARIABLE_DEFINITION||h.prevState.kind===r.RuleKinds.LIST_TYPE||h.prevState.kind===r.RuleKinds.NON_NULL_TYPE)?function(e,r,o){const a=r.getTypeMap(),s=(0,i.objectValues)(a).filter(n.isInputType);return(0,i.hintList)(e,s.map(e=>({label:e.name,documentation:e.description,kind:t.CompletionItemKind.Variable})))}(d,e):m===r.RuleKinds.DIRECTIVE?function(e,n,r,o){if(n.prevState&&n.prevState.kind){const o=r.getDirectives().filter(e=>l(n.prevState,e));return(0,i.hintList)(e,o.map(e=>({label:e.name,documentation:e.description||\"\",kind:t.CompletionItemKind.Function})))}return[]}(d,h,e):[]},e.getFragmentDefinitions=o,e.getTokenAtPosition=a,e.runOnlineParser=s,e.canUseDirective=l,e.getTypeInfo=c})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({arg:e,onClickType:i,showDefaultValue:o}){return t.default.createElement(\"span\",{className:\"arg\"},t.default.createElement(\"span\",{className:\"arg-name\"},e.name),\": \",t.default.createElement(n.default,{type:e.type,onClick:i}),!1!==o&&t.default.createElement(r.default,{field:e}))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({markdown:e,className:n}){return e?t.default.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:i.render(e)}}):t.default.createElement(\"div\",null)},t=r(t);const i=new((n=r(n)).default)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(39);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,c=1===t.line?n:0,u=t.column+c,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(u,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],g=0;g<d.length;g+=80)v.push(d.slice(g,g+80));return f+a([[\"\".concat(l),v[0]]].concat(v.slice(1,h+1).map((function(e){return[\"\",e]})),[[\" \",s(m-1)+\"^\"],[\"\",v[h+1]]]))}return f+a([[\"\".concat(l-1),p[i-1]],[\"\".concat(l),d],[\"\",s(u-1)+\"^\"],[\"\".concat(l+1),p[i+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return s(n-(t=r).length)+t+(i?\" | \"+i:\" |\")})).join(\"\\n\")}function s(e){return Array(e+1).join(\" \")}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(112)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports.encode=n(113),e.exports.decode=n(114),e.exports.format=n(115),e.exports.parse=n(116)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\x1F\\x7F-\\x9F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=\"<[A-Za-z][A-Za-z0-9\\\\-]*(?:\\\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\\\s*=\\\\s*(?:[^\\\"'=<>`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",n=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",r=new RegExp(\"^(?:\"+t+\"|\"+n+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?].*?[?]>|<![A-Z]+\\\\s+[^>]*>|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>)\"),i=new RegExp(\"^(?:\"+t+\"|\"+n+\")\");e.exports.HTML_TAG_RE=r,e.exports.HTML_OPEN_CLOSE_TAG_RE=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n<l;n++)126===(i=t[n]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type=\"s_open\",a.tag=\"s\",a.nesting=1,a.markup=\"~~\",a.content=\"\",(a=e.tokens[o.token]).type=\"s_close\",a.tag=\"s\",a.nesting=-1,a.markup=\"~~\",a.content=\"\",\"text\"===e.tokens[o.token-1].type&&\"~\"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&\"s_close\"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push(\"text\",\"\",0).content=o,i--),n=0;n<i;n+=2)e.push(\"text\",\"\",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(e.tokens[t[n-1].token].content=\"\",e.tokens[t[r.end+1].token].content=\"\",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push(\"text\",\"\",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return\"string\"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:r(t),multiline:!0})}function o(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function a(e){return e.replace(/\\\\([nrt\\\\])/g,(function(e,t){return\"n\"==t?\"\\n\":\"r\"==t?\"\\r\":\"t\"==t?\"\\t\":\"\\\\\"==t?\"\\\\\":e}))}function s(e){var t=e.match(/^\\/(.*)\\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf(\"i\")?\"\":\"i\")}catch(e){}else e=a(e);return(\"string\"==typeof e?\"\"==e:e.test(\"\"))&&(e=/x^/),e}function l(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return\"string\"==typeof e?e=new RegExp(e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\"),t?\"gi\":\"g\"):e.global||(e=new RegExp(e.source,e.ignoreCase?\"gi\":\"g\")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,\"searching\";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,i,a){var s=n(t);if(s.query)return u(t,r);var c=t.getSelection()||s.lastQuery;if(c instanceof RegExp&&\"x^\"==c.source&&(c=null),i&&t.openDialog){var d=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(l(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),u(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(\".CodeMirror-dialog\"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,\"window\").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i})}(t,p(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(l(t,s,c),u(t,r))}else o(t,p(t),\"Search for:\",c,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),u(t,r)}))}))}function u(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Search:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l='<span class=\"CodeMirror-search-label\">'+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"</span>\";o(e,l+function(e){return' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}(e),l,r,(function(n){n&&(n=s(n),o(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"With:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/>'}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)d(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Replace?\")+\"</span> <button>\"+e.phrase(\"Yes\")+\"</button> <button>\"+e.phrase(\"No\")+\"</button> <button>\"+e.phrase(\"All\")+\"</button> <button>\"+e.phrase(\"Stop\")+\"</button> \"}(e),e.phrase(\"Replace?\"),[function(){l(t)},s,function(){d(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.commands.find=function(e){f(e),c(e)},e.commands.findPersistent=function(e){f(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(10),n(33),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(71),n(57),n(75),n(77),n(78),n(79),n(182)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var l={getOutline:!0,getHoverInformation:!0};Object.defineProperty(e,\"getOutline\",{enumerable:!0,get:function(){return o.getOutline}}),Object.defineProperty(e,\"getHoverInformation\",{enumerable:!0,get:function(){return a.getHoverInformation}}),Object.keys(t).forEach((function(n){\"default\"!==n&&\"__esModule\"!==n&&(Object.prototype.hasOwnProperty.call(l,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))})),Object.keys(n).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))})),Object.keys(r).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})),Object.keys(i).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))})),Object.keys(s).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(8)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function i(e,t){const n=e.filter(t);return 0===n.length?e:n}function o(e){return e.toLowerCase().replace(/\\W/g,\"\")}function a(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionState=function(e){let t;return r(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t},e.getFieldDef=function(e,r,i){return i===n.SchemaMetaFieldDef.name&&e.getQueryType()===r?n.SchemaMetaFieldDef:i===n.TypeMetaFieldDef.name&&e.getQueryType()===r?n.TypeMetaFieldDef:i===n.TypeNameMetaFieldDef.name&&(0,t.isCompositeType)(r)?n.TypeNameMetaFieldDef:\"getFields\"in r?r.getFields()[i]:null},e.forEachState=r,e.objectValues=function(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r},e.hintList=function(e,t){return function(e,t){return t?i(i(e.map(e=>({proximity:a(o(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):i(e,e=>!e.isDeprecated)}(t,o(e.string))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";var t,n,r,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T;Object.defineProperty(e,\"__esModule\",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.TextEdit=e.Command=e.Diagnostic=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=void 0,e.Position=t,function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.number(t.line)&&$.number(t.character)}}(t||(e.Position=t={})),e.Range=n,function(e){e.create=function(e,n,r,i){if($.number(e)&&$.number(n)&&$.number(r)&&$.number(i))return{start:t.create(e,n),end:t.create(r,i)};if(t.is(e)&&t.is(n))return{start:e,end:n};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+n+\", \"+r+\", \"+i+\"]\")},e.is=function(e){var n=e;return $.objectLiteral(n)&&t.is(n.start)&&t.is(n.end)}}(n||(e.Range=n={})),e.Location=r,function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.string(t.uri)||$.undefined(t.uri))}}(r||(e.Location=r={})),e.LocationLink=i,function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.targetRange)&&$.string(t.targetUri)&&(n.is(t.targetSelectionRange)||$.undefined(t.targetSelectionRange))&&(n.is(t.originSelectionRange)||$.undefined(t.originSelectionRange))}}(i||(e.LocationLink=i={})),e.Color=o,function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return $.number(t.red)&&$.number(t.green)&&$.number(t.blue)&&$.number(t.alpha)}}(o||(e.Color=o={})),e.ColorInformation=a,function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return n.is(t.range)&&o.is(t.color)}}(a||(e.ColorInformation=a={})),e.ColorPresentation=s,function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return $.string(t.label)&&($.undefined(t.textEdit)||m.is(t))&&($.undefined(t.additionalTextEdits)||$.typedArray(t.additionalTextEdits,m.is))}}(s||(e.ColorPresentation=s={})),e.FoldingRangeKind=l,function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(l||(e.FoldingRangeKind=l={})),e.FoldingRange=c,function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return $.defined(n)&&(o.startCharacter=n),$.defined(r)&&(o.endCharacter=r),$.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return $.number(t.startLine)&&$.number(t.startLine)&&($.undefined(t.startCharacter)||$.number(t.startCharacter))&&($.undefined(t.endCharacter)||$.number(t.endCharacter))&&($.undefined(t.kind)||$.string(t.kind))}}(c||(e.FoldingRange=c={})),e.DiagnosticRelatedInformation=u,function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return $.defined(t)&&r.is(t.location)&&$.string(t.message)}}(u||(e.DiagnosticRelatedInformation=u={})),e.DiagnosticSeverity=f,function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(e.DiagnosticSeverity=f={})),e.DiagnosticTag=p,function(e){e.Unnecessary=1,e.Deprecated=2}(p||(e.DiagnosticTag=p={})),e.Diagnostic=d,function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return $.defined(n)&&(a.severity=n),$.defined(r)&&(a.code=r),$.defined(i)&&(a.source=i),$.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&$.string(t.message)&&($.number(t.severity)||$.undefined(t.severity))&&($.number(t.code)||$.string(t.code)||$.undefined(t.code))&&($.string(t.source)||$.undefined(t.source))&&($.undefined(t.relatedInformation)||$.typedArray(t.relatedInformation,u.is))}}(d||(e.Diagnostic=d={})),e.Command=h,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return $.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.title)&&$.string(t.command)}}(h||(e.Command=h={})),e.TextEdit=m,function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:\"\"}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.string(t.newText)&&n.is(t.range)}}(m||(e.TextEdit=m={})),e.TextDocumentEdit=v,function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return $.defined(t)&&O.is(t.textDocument)&&Array.isArray(t.edits)}}(v||(e.TextDocumentEdit=v={})),e.CreateFile=g,function(e){e.create=function(e,t){var n={kind:\"create\",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"create\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(g||(e.CreateFile=g={})),e.RenameFile=y,function(e){e.create=function(e,t,n){var r={kind:\"rename\",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&\"rename\"===t.kind&&$.string(t.oldUri)&&$.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(y||(e.RenameFile=y={})),e.DeleteFile=b,function(e){e.create=function(e,t){var n={kind:\"delete\",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"delete\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||$.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||$.boolean(t.options.ignoreIfNotExists)))}}(b||(e.DeleteFile=b={})),e.WorkspaceEdit=T,function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return $.string(e.kind)?g.is(e)||y.is(e)||b.is(e):v.is(e)})))}}(T||(e.WorkspaceEdit=T={}));var E,O,x,_,k,w,C,S,N,D,I,A,L,j,F,M,R,P,V,U,B,q,H,z,G,K,Q,W,Y=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(m.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(m.replace(e,t))},e.prototype.delete=function(e){this.edits.push(m.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),J=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(v.is(e)){var n=new Y(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Y(e.changes[n]);t._textEditChanges[n]=r})))}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(O.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new Y(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new Y(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(g.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\")},e}();e.WorkspaceChange=J,e.TextDocumentIdentifier=E,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)}}(E||(e.TextDocumentIdentifier=E={})),e.VersionedTextDocumentIdentifier=O,function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&(null===t.version||$.number(t.version))}}(O||(e.VersionedTextDocumentIdentifier=O={})),e.TextDocumentItem=x,function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&$.string(t.languageId)&&$.number(t.version)&&$.string(t.text)}}(x||(e.TextDocumentItem=x={})),e.MarkupKind=_,function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(_||(e.MarkupKind=_={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(_||(e.MarkupKind=_={})),e.MarkupContent=k,function(e){e.is=function(e){var t=e;return $.objectLiteral(e)&&_.is(t.kind)&&$.string(t.value)}}(k||(e.MarkupContent=k={})),e.CompletionItemKind=w,function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(w||(e.CompletionItemKind=w={})),e.InsertTextFormat=C,function(e){e.PlainText=1,e.Snippet=2}(C||(e.InsertTextFormat=C={})),e.CompletionItemTag=S,function(e){e.Deprecated=1}(S||(e.CompletionItemTag=S={})),e.CompletionItem=N,function(e){e.create=function(e){return{label:e}}}(N||(e.CompletionItem=N={})),e.CompletionList=D,function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(D||(e.CompletionList=D={})),e.MarkedString=I,function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return $.string(t)||$.objectLiteral(t)&&$.string(t.language)&&$.string(t.value)}}(I||(e.MarkedString=I={})),e.Hover=A,function(e){e.is=function(e){var t=e;return!!t&&$.objectLiteral(t)&&(k.is(t.contents)||I.is(t.contents)||$.typedArray(t.contents,I.is))&&(void 0===e.range||n.is(e.range))}}(A||(e.Hover=A={})),e.ParameterInformation=L,function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(L||(e.ParameterInformation=L={})),e.SignatureInformation=j,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return $.defined(t)&&(i.documentation=t),$.defined(n)?i.parameters=n:i.parameters=[],i}}(j||(e.SignatureInformation=j={})),e.DocumentHighlightKind=F,function(e){e.Text=1,e.Read=2,e.Write=3}(F||(e.DocumentHighlightKind=F={})),e.DocumentHighlight=M,function(e){e.create=function(e,t){var n={range:e};return $.number(t)&&(n.kind=t),n}}(M||(e.DocumentHighlight=M={})),e.SymbolKind=R,function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(R||(e.SymbolKind=R={})),e.SymbolTag=P,function(e){e.Deprecated=1}(P||(e.SymbolTag=P={})),e.SymbolInformation=V,function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(V||(e.SymbolInformation=V={})),e.DocumentSymbol=U,function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&$.string(t.name)&&$.number(t.kind)&&n.is(t.range)&&n.is(t.selectionRange)&&(void 0===t.detail||$.string(t.detail))&&(void 0===t.deprecated||$.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(U||(e.DocumentSymbol=U={})),e.CodeActionKind=B,function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"}(B||(e.CodeActionKind=B={})),e.CodeActionContext=q,function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return $.defined(t)&&$.typedArray(t.diagnostics,d.is)&&(void 0===t.only||$.typedArray(t.only,$.string))}}(q||(e.CodeActionContext=q={})),e.CodeAction=H,function(e){e.create=function(e,t,n){var r={title:e};return h.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&$.string(t.title)&&(void 0===t.diagnostics||$.typedArray(t.diagnostics,d.is))&&(void 0===t.kind||$.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||h.is(t.command))&&(void 0===t.isPreferred||$.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(H||(e.CodeAction=H={})),e.CodeLens=z,function(e){e.create=function(e,t){var n={range:e};return $.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.command)||h.is(t.command))}}(z||(e.CodeLens=z={})),e.FormattingOptions=G,function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return $.defined(t)&&$.number(t.tabSize)&&$.boolean(t.insertSpaces)}}(G||(e.FormattingOptions=G={})),e.DocumentLink=K,function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.target)||$.string(t.target))}}(K||(e.DocumentLink=K={})),e.SelectionRange=Q,function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&n.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(Q||(e.SelectionRange=Q={})),e.EOL=[\"\\n\",\"\\r\\n\",\"\\r\"],e.TextDocument=W,function(e){e.create=function(e,t,n,r){return new X(e,t,n,r)},e.is=function(e){var t=e;return!!($.defined(t)&&$.string(t.uri)&&($.undefined(t.languageId)||$.string(t.languageId))&&$.number(t.lineCount)&&$.func(t.getText)&&$.func(t.positionAt)&&$.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var a=0,s=0,l=0;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[l++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[l++]=i[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(W||(e.TextDocument=W={}));var $,X=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n=\"\\r\"===i||\"\\n\"===i,\"\\r\"===i&&r+1<t.length&&\"\\n\"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(0===i)return t.create(0,e);for(;r<i;){var o=Math.floor((r+i)/2);n[o]>e?i=o:r=o+1}var a=r-1;return t.create(a,e-n[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return\"[object String]\"===t.call(e)},e.number=function(e){return\"[object Number]\"===t.call(e)},e.func=function(e){return\"[object Function]\"===t.call(e)},e.objectLiteral=function(e){return null!==e&&\"object\"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}($||($={}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(74)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ParseRules=e.LexRules=e.isIgnored=void 0,e.isIgnored=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\"\u00A0\"===e,e.LexRules={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\\$|\\(|\\)|\\.\\.\\.|:|=|@|\\[|]|\\{|\\||\\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:\"\"\"(?:\\\\\"\"\"|[^\"]|\"[^\"]|\"\"[^\"])*(?:\"\"\")?|\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?)/,Comment:/^#.*/};const n={Document:[(0,t.list)(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return\"FragmentDefinition\";case\"schema\":return\"SchemaDef\";case\"scalar\":return\"ScalarDef\";case\"type\":return\"ObjectTypeDef\";case\"interface\":return\"InterfaceDef\";case\"union\":return\"UnionDef\";case\"enum\":return\"EnumDef\";case\"input\":return\"InputDef\";case\"extend\":return\"ExtendDef\";case\"directive\":return\"DirectiveDef\"}},ShortQuery:[\"SelectionSet\"],Query:[i(\"query\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Mutation:[i(\"mutation\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Subscription:[i(\"subscription\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[(0,t.p)(\"(\"),(0,t.list)(\"VariableDefinition\"),(0,t.p)(\")\")],VariableDefinition:[\"Variable\",(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\")],Variable:[(0,t.p)(\"$\",\"variable\"),o(\"variable\")],DefaultValue:[(0,t.p)(\"=\"),\"Value\"],SelectionSet:[(0,t.p)(\"{\"),(0,t.list)(\"Selection\"),(0,t.p)(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[o(\"property\"),(0,t.p)(\":\"),o(\"qualifier\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Field:[o(\"property\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Arguments:[(0,t.p)(\"(\"),(0,t.list)(\"Argument\"),(0,t.p)(\")\")],Argument:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],FragmentSpread:[(0,t.p)(\"...\"),o(\"def\"),(0,t.list)(\"Directive\")],InlineFragment:[(0,t.p)(\"...\"),(0,t.opt)(\"TypeCondition\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[i(\"fragment\"),(0,t.opt)((0,t.butNot)(o(\"def\"),[i(\"on\")])),\"TypeCondition\",(0,t.list)(\"Directive\"),\"SelectionSet\"],TypeCondition:[i(\"on\"),\"NamedType\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\";case\"$\":return\"Variable\"}return null;case\"Name\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\"}return\"null\"===e.value?\"NullValue\":\"EnumValue\"}},NumberValue:[(0,t.t)(\"Number\",\"number\")],StringValue:[(0,t.t)(\"String\",\"string\")],BooleanValue:[(0,t.t)(\"Name\",\"builtin\")],NullValue:[(0,t.t)(\"Name\",\"keyword\")],EnumValue:[o(\"string-2\")],ListValue:[(0,t.p)(\"[\"),(0,t.list)(\"Value\"),(0,t.p)(\"]\")],ObjectValue:[(0,t.p)(\"{\"),(0,t.list)(\"ObjectField\"),(0,t.p)(\"}\")],ObjectField:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[(0,t.p)(\"[\"),\"Type\",(0,t.p)(\"]\"),(0,t.opt)((0,t.p)(\"!\"))],NonNullType:[\"NamedType\",(0,t.opt)((0,t.p)(\"!\"))],NamedType:[(r=\"atom\",{style:r,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"Arguments\")],SchemaDef:[i(\"schema\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"OperationTypeDef\"),(0,t.p)(\"}\")],OperationTypeDef:[o(\"keyword\"),(0,t.p)(\":\"),o(\"atom\")],ScalarDef:[i(\"scalar\"),o(\"atom\"),(0,t.list)(\"Directive\")],ObjectTypeDef:[i(\"type\"),o(\"atom\"),(0,t.opt)(\"Implements\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],Implements:[i(\"implements\"),(0,t.list)(\"NamedType\")],FieldDef:[o(\"property\"),(0,t.opt)(\"ArgumentsDef\"),(0,t.p)(\":\"),\"Type\",(0,t.list)(\"Directive\")],ArgumentsDef:[(0,t.p)(\"(\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\")\")],InputValueDef:[o(\"attribute\"),(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\"),(0,t.list)(\"Directive\")],InterfaceDef:[i(\"interface\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],UnionDef:[i(\"union\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"=\"),(0,t.list)(\"UnionMember\",(0,t.p)(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[i(\"enum\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"EnumValueDef\"),(0,t.p)(\"}\")],EnumValueDef:[o(\"string-2\"),(0,t.list)(\"Directive\")],InputDef:[i(\"input\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\"}\")],ExtendDef:[i(\"extend\"),\"ObjectTypeDef\"],DirectiveDef:[i(\"directive\"),(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"ArgumentsDef\"),i(\"on\"),(0,t.list)(\"DirectiveLocation\",(0,t.p)(\"|\"))],DirectiveLocation:[o(\"string-2\")]};var r;function i(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function o(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}e.ParseRules=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.opt=function(e){return{ofRule:e}},e.list=function(e,t){return{ofRule:e,isList:!0,separator:t}},e.butNot=function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e},e.t=function(e,t){return{style:t,match:t=>t.kind===e}},e.p=function(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(46),n(76)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionQueryResultForNamedType=function(e,t,r){return i(this,void 0,void 0,(function*(){const i=t.name.value,s=r.filter(({definition:e})=>e.name&&e.name.value===i);if(0===s.length)throw Error(\"Definition not found for GraphQL type \"+i);const l=s.map(({filePath:e,content:t,definition:r})=>function(e,t,r){const i=r.name;return(0,n.default)(i,\"Expected ASTNode to have a Name.\"),{path:e,position:a(t,r),range:o(t,r),name:i.value||\"\",language:\"GraphQL\",projectRoot:e}}(e||\"\",t,r));return{definitions:l,queryRange:l.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForFragmentSpread=function(e,t,n){return i(this,void 0,void 0,(function*(){const r=t.name.value,i=n.filter(({definition:e})=>e.name.value===r);if(0===i.length)throw Error(\"Definition not found for GraphQL fragment \"+r);const a=i.map(({filePath:e,content:t,definition:n})=>s(e||\"\",t,n));return{definitions:a,queryRange:a.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForDefinitionNode=function(e,t,n){return{definitions:[s(e,t,n)],queryRange:n.name?[o(t,n.name)]:[]}},e.LANGUAGE=void 0,n=(r=n)&&r.__esModule?r:{default:r};var i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};function o(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.locToRange)(e,i)}function a(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.offsetToPosition)(e,i.start)}function s(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:a(t,n),range:o(t,n),name:r.value||\"\",language:\"GraphQL\",projectRoot:e}}e.LANGUAGE=\"GraphQL\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var t=n(177);\n/*!\n   * The buffer module from node.js, for the browser.\n   *\n   * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n   * @license  MIT\n   */function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return r.Buffer&&\"function\"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(178),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c=\"foo\"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&\"function\"==typeof r.ArrayBuffer&&(\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var p=e.exports=y,d=/\\s*function\\s+([^\\(\\s]*)\\s*/;function h(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString().match(d);return t&&t[1]}}function m(e,t){return\"string\"==typeof e?e.length<t?e:e.slice(0,t):e}function v(e){if(c||!a.isFunction(e))return a.inspect(e);var t=h(e);return\"[Function\"+(t?\": \"+t:\"\")+\"]\"}function g(e,t,n,r,i){throw new p.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||g(e,!0,t,\"==\",p.ok)}function b(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&\"object\"==typeof e||null!==t&&\"object\"==typeof t){if(f(e)&&f(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=T(e),o=T(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),b(e,t,n);var s,c,u=x(e),f=x(t);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),c=u.length-1;c>=0;c--)if(u[c]!==f[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!b(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function T(e){return\"[object Arguments]\"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if(\"[object RegExp]\"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e,t,n,r){var i;if(\"function\"!=typeof t)throw new TypeError('\"block\" argument must be a function');\"string\"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?\" (\"+n.name+\").\":\".\")+(r?\" \"+r:\".\"),e&&!i&&g(i,n,\"Missing expected exception\"+r);var o=\"string\"==typeof r,s=!e&&i&&!n;if((!e&&a.isError(i)&&o&&E(i,n)||s)&&g(i,n,\"Got unwanted exception\"+r),e&&i&&n&&!E(i,n)||!e&&i)throw i}p.AssertionError=function(e){this.name=\"AssertionError\",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(v(e.actual),128)+\" \"+e.operator+\" \"+m(v(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf(\"\\n\"+i);if(o>=0){var a=r.indexOf(\"\\n\",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=g,p.ok=y,p.equal=function(e,t,n){e!=t&&g(e,t,n,\"==\",p.equal)},p.notEqual=function(e,t,n){e==t&&g(e,t,n,\"!=\",p.notEqual)},p.deepEqual=function(e,t,n){b(e,t,!1)||g(e,t,n,\"deepEqual\",p.deepEqual)},p.deepStrictEqual=function(e,t,n){b(e,t,!0)||g(e,t,n,\"deepStrictEqual\",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){b(e,t,!1)&&g(e,t,n,\"notDeepEqual\",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&g(t,n,r,\"notDeepStrictEqual\",e)},p.strictEqual=function(e,t,n){e!==t&&g(e,t,n,\"===\",p.strictEqual)},p.notStrictEqual=function(e,t,n){e===t&&g(e,t,n,\"!==\",p.notStrictEqual)},p.throws=function(e,t,n){O(!0,e,t,n)},p.doesNotThrow=function(e,t,n){O(!1,e,t,n)},p.ifError=function(e){if(e)throw e},p.strict=t((function e(t,n){t||g(t,!0,n,\"==\",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(76),n(14),n(36),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";var o;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDiagnostics=function(e,t=null,r,i){let o=null;try{o=(0,n.parse)(e)}catch(t){const n=f(t.locations[0],e);return[{severity:s.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}return l(o,t,r,i)},e.validateQuery=l,e.getRange=f,e.DIAGNOSTIC_SEVERITY=e.SEVERITY=void 0,t=(o=t)&&o.__esModule?o:{default:o};const a={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"};e.SEVERITY=a;const s={[a.Error]:1,[a.Warning]:2,[a.Information]:3,[a.Hint]:4};function l(e,t=null,r,o){if(!t)return[];const a=c((0,i.validateWithCustomRules)(t,e,r,o),e=>u(e,s.Error,\"Validation\")),l=n.findDeprecatedUsages?c((0,n.findDeprecatedUsages)(t,e),e=>u(e,s.Warning,\"Deprecation\")):[];return a.concat(l)}function c(e,t){return Array.prototype.concat.apply([],e.map(t))}function u(e,n,r){if(!e.nodes)return[];const o=[];return e.nodes.forEach(a=>{const s=\"Variable\"!==a.kind&&\"name\"in a&&void 0!==a.name?a.name:\"variable\"in a&&void 0!==a.variable?a.variable:a;if(s){(0,t.default)(e.locations,\"GraphQL validation error requires locations.\");const a=e.locations[0],l=function(e){const n=e.loc;return(0,t.default)(n,\"Expected ASTNode to have a location.\"),n}(s),c=a.column+(l.end-l.start);o.push({source:\"GraphQL: \"+r,message:e.message,severity:n,range:new i.Range(new i.Position(a.line-1,a.column-1),new i.Position(a.line-1,c))})}}),o}function f(e,n){const o=(0,r.onlineParser)(),a=o.startState(),s=n.split(\"\\n\");(0,t.default)(s.length>=e.line,\"Query text must have more lines than where the error happened\");let l=null;for(let t=0;t<e.line;t++)for(l=new r.CharacterStream(s[t]);!l.eol()&&\"invalidchar\"!==o.token(l,a););(0,t.default)(l,\"Expected Parser stream to be available.\");const c=e.line-1,u=l.getStartOfToken(),f=l.getCurrentPosition();return new i.Range(new i.Position(c,u),new i.Position(c,f))}e.DIAGNOSTIC_SEVERITY=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getOutline=function(e){let o;try{o=(0,t.parse)(e)}catch(e){return null}const a=function(e){const t=t=>({representativeName:t.name,startPosition:(0,n.offsetToPosition)(e,t.loc.start),endPosition:(0,n.offsetToPosition)(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[i(\"plain\",e.alias),i(\"plain\",\": \")]:[];return n.push(i(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",e.operation),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);Array.isArray(i)?n.push(...i):n.push(i)}return n}(e.selections,e=>e.kind===r?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"fragment\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"interface\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"enum\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"type\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"input\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[i(\"plain\",\"...\"),i(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:(0,t.visit)(o,{leave:e=>void 0!==a&&e.kind in a?a[e.kind](e):null})}};const{INLINE_FRAGMENT:r}=t.Kind;function i(e,t){return{kind:e,value:t}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(57)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(a(e,t,n,t.parentType),l(e,\".\")),l(e,r)}function i(e,t,n){t.directiveDef&&l(e,\"@\"+t.directiveDef.name)}function o(e,t,n,r){l(e,\": \"),a(e,t,n,r)}function a(e,n,r,i){i&&(i instanceof t.GraphQLNonNull?(a(e,n,r,i.ofType),l(e,\"!\")):i instanceof t.GraphQLList?(l(e,\"[\"),a(e,n,r,i.ofType),l(e,\"]\")):l(e,i.name))}function s(e,t,n){if(!n)return;const r=\"string\"==typeof n.description?n.description:null;r&&(l(e,\"\\n\\n\"),l(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;r&&(l(e,\"\\n\\n\"),l(e,\"Deprecated: \"),l(e,r))}(e,0,n)}function l(e,t){e.push(t)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getHoverInformation=function(e,t,c,u){const f=u||(0,n.getTokenAtPosition)(t,c);if(!e||!f||!f.state)return\"\";const p=f.state,d=p.kind,h=p.step,m=(0,n.getTypeInfo)(e,f.state),v={schema:e};if(\"Field\"===d&&0===h&&m.fieldDef||\"AliasedField\"===d&&2===h&&m.fieldDef){const e=[];return function(e,t,n){r(e,t,n),o(e,t,n,t.type)}(e,m,v),s(e,0,m.fieldDef),e.join(\"\").trim()}if(\"Directive\"===d&&1===h&&m.directiveDef){const e=[];return i(e,m),s(e,0,m.directiveDef),e.join(\"\").trim()}if(\"Argument\"===d&&0===h&&m.argDef){const e=[];return function(e,t,n){if(t.directiveDef?i(e,t):t.fieldDef&&r(e,t,n),!t.argDef)return;const a=t.argDef.name;l(e,\"(\"),l(e,a),o(e,t,n,t.inputType),l(e,\")\")}(e,m,v),s(e,0,m.argDef),e.join(\"\").trim()}if(\"EnumValue\"===d&&m.enumValue&&\"description\"in m.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;a(e,t,n,t.inputType),l(e,\".\"),l(e,r)}(e,m,v),s(e,0,m.enumValue),e.join(\"\").trim()}if(\"NamedType\"===d&&m.type&&\"description\"in m.type){const e=[];return a(e,m,v,m.type),s(e,0,m.type),e.join(\"\").trim()}return\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,o.default)(t,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?a(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=(0,r.getNamedType)(n.type);break;case\"Directive\":n.directiveDef=t.name&&e.getDirective(t.name);break;case\"Arguments\":const i=\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&a(e,n.parentType,t.prevState.name):null;n.argDefs=i&&i.args;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=n.argDef&&n.argDef.type;break;case\"EnumValue\":const o=(0,r.getNamedType)(n.inputType);n.enumValue=o instanceof r.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}(o.getValues(),e=>e.value===t.name):null;break;case\"ListValue\":const s=(0,r.getNullableType)(n.inputType);n.inputType=s instanceof r.GraphQLList?s.ofType:null;break;case\"ObjectValue\":const l=(0,r.getNamedType)(n.inputType);n.objectFieldDefs=l instanceof r.GraphQLInputObjectType?l.getFields():null;break;case\"ObjectField\":const c=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=c&&c.type;break;case\"NamedType\":n.type=e.getType(t.name)}}),n};var e,r=n(14),i=n(8),o=(e=n(81))&&e.__esModule?e:{default:e};function a(e,t,n){return n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t?i.SchemaMetaFieldDef:n===i.TypeMetaFieldDef.name&&e.getQueryType()===t?i.TypeMetaFieldDef:n===i.TypeNameMetaFieldDef.name&&(0,r.isCompositeType)(t)?i.TypeNameMetaFieldDef:t.getFields?t.getFields()[n]:void 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(t){return{kind:\"EnumValue\",value:t.enumValue,type:(0,e.getNamedType)(t.inputType)}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}};var e=n(14);function r(e){return\"__\"===e.name.slice(0,2)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,n){const r=e.state.info,i=n.target||n.srcElement;if(\"SPAN\"!==i.nodeName||void 0!==r.hoverTimeout)return;const o=i.getBoundingClientRect(),a=function(){clearTimeout(r.hoverTimeout),r.hoverTimeout=setTimeout(l,c)},s=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),clearTimeout(r.hoverTimeout),r.hoverTimeout=void 0},l=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),r.hoverTimeout=void 0,function(e,n){const r=e.coordsChar({left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}),i=e.state.info.options,o=i.render||e.getHelper(r,\"info\");if(o){const a=e.getTokenAt(r,!0);if(a){const s=o(a,i,e,r);s&&function(e,n,r){const i=document.createElement(\"div\");i.className=\"CodeMirror-info\",i.appendChild(r),document.body.appendChild(i);const o=i.getBoundingClientRect(),a=i.currentStyle||window.getComputedStyle(i),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom);let c=n.bottom;l>window.innerHeight-n.bottom-15&&n.top>window.innerHeight-n.bottom&&(c=n.top-l),c<0&&(c=n.bottom);let u,f=Math.max(0,window.innerWidth-s-15);f>n.left&&(f=n.left),i.style.opacity=1,i.style.top=c+\"px\",i.style.left=f+\"px\";const p=function(){clearTimeout(u)},d=function(){clearTimeout(u),u=setTimeout(h,200)},h=function(){t.default.off(i,\"mouseover\",p),t.default.off(i,\"mouseout\",d),t.default.off(e.getWrapperElement(),\"mouseout\",d),i.style.opacity?(i.style.opacity=0,setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)};t.default.on(i,\"mouseover\",p),t.default.on(i,\"mouseout\",d),t.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,n,s)}}}(e,o)},c=function(e){const t=e.state.info.options;return t&&t.hoverTime||500}(e);r.hoverTimeout=setTimeout(l,c),t.default.on(document,\"mousemove\",a),t.default.on(e.getWrapperElement(),\"mouseout\",s)}t.default.defineOption(\"info\",!1,(e,n,i)=>{if(i&&i!==t.default.Init){const n=e.state.info.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(n){const i=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(n);i.onMouseOver=r.bind(null,e),t.default.on(e.getWrapperElement(),\"mouseover\",i.onMouseOver)}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e}){return\"defaultValue\"in e&&void 0!==e.defaultValue?t.default.createElement(\"span\",null,\" = \",t.default.createElement(\"span\",{className:\"arg-default-value\"},(r=(0,n.astFromValue)(e.defaultValue,e.type))?(0,n.print)(r):\"\")):null;var r},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t.apply(this,r)},e)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(11),o=n(26),a=n(1);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null==t?void 0:t[e.name.value]}Object(i.a)(!1,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(88),n(89),n(90),n(91),n(92),n(93),n(94),n(95),n(96),n(97),n(98),n(99)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l,c,u,f,p){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;var d=p.GraphiQL;e.default=d})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=\"function\"==typeof Symbol?Symbol:{},i=r.iterator||\"@@iterator\",o=r.asyncIterator||\"@@asyncIterator\",a=r.toStringTag||\"@@toStringTag\";function s(e,t,n,r){var i=t&&t.prototype instanceof u?t:u,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=\"suspendedStart\";return function(i,o){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=l(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===c)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(e){return{type:\"throw\",arg:e}}}e.wrap=s;var c={};function u(){}function f(){}function p(){}var d={};d[i]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,i)&&(d=m);var v=p.prototype=u.prototype=Object.create(d);function g(e){[\"next\",\"throw\",\"return\"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var c=l(e[i],e,o);if(\"throw\"!==c.type){var u=c.arg,f=u.value;return f&&\"object\"==typeof f&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){r(\"next\",e,a,s)}),(function(e){r(\"throw\",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r(\"throw\",e,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator.return&&(t.method=\"return\",t.arg=void 0,b(e,t),\"throw\"===t.method))return c;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return c}var r=l(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,c):i:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,c)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(T,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return f.prototype=v.constructor=p,p.constructor=f,p[a]=f.displayName=\"GeneratorFunction\",e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===f||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,a in e||(e[a]=\"GeneratorFunction\")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[o]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]=\"Generator\",v[i]=function(){return this},v.toString=function(){return\"[object Generator]\"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if(\"root\"===o.tryLoc)return r(\"end\");if(o.tryLoc<=this.prev){var s=n.call(o,\"catchLoc\"),l=n.call(o,\"finallyLoc\");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,\"finallyLoc\")&&this.prev<i.finallyLoc){var o=i;break}}o&&(\"break\"===e||\"continue\"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=\"next\",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;E(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function(\"r\",\"regeneratorRuntime = r\")(t)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(e,t,n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k){\"use strict\";function w(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphiQL=void 0,t=w(t),i=w(i),v=w(v),g=w(g),y=w(y),b=w(b),T=w(T),E=w(E),_=w(_),parseInt(t.default.version.slice(0,2),10)<16)throw Error([\"GraphiQL 0.18.0 and after is not compatible with React 15 or below.\",\"If you are using a CDN source (jsdelivr, unpkg, etc), follow this example:\",\"https://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49\"].join(\"\\n\"));class S extends t.default.Component{static formatResult(e){return JSON.stringify(e,null,2)}static formatError(e){const t=Array.isArray(e)?e.map(A):A(e);return JSON.stringify(t,null,2)}constructor(e){var t,r;if(super(e),C(this,\"_editorQueryID\",0),C(this,\"_storage\",void 0),C(this,\"codeMirrorSizer\",void 0),C(this,\"componentIsMounted\",void 0),C(this,\"docExplorerComponent\",void 0),C(this,\"graphiqlContainer\",void 0),C(this,\"resultComponent\",void 0),C(this,\"variableEditorComponent\",void 0),C(this,\"headerEditorComponent\",void 0),C(this,\"_queryHistory\",void 0),C(this,\"editorBarComponent\",void 0),C(this,\"queryEditorComponent\",void 0),C(this,\"resultViewerElement\",void 0),C(this,\"safeSetState\",(e,t)=>{this.componentIsMounted&&this.setState(e,t)}),C(this,\"handleClickReference\",e=>{this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDocForReference(e)}),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))}),C(this,\"handleRunQuery\",e=>{this._editorQueryID++;const t=this._editorQueryID,n=this.autoCompleteLeafs()||this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.shouldPersistHeaders;let a=this.state.operationName;e&&e!==a&&(a=e,this.handleEditOperationName(a));try{this.setState({isWaitingForResponse:!0,response:void 0,operationName:a}),this._storage.set(\"operationName\",a),this._queryHistory&&this._queryHistory.updateHistory(n,r,i,a);const e=this._fetchQuery(n,r,i,a,o,e=>{t===this._editorQueryID&&this.setState({isWaitingForResponse:!1,response:S.formatResult(e)})});this.setState({subscription:e})}catch(e){this.setState({isWaitingForResponse:!1,response:e.message})}}),C(this,\"handleStopQuery\",()=>{const e=this.state.subscription;this.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()}),C(this,\"handlePrettifyQuery\",()=>{var e,t,r;const i=this.getQueryEditor(),o=null!==(e=null==i?void 0:i.getValue())&&void 0!==e?e:\"\",a=(0,n.print)((0,n.parse)(o));a!==o&&(null==i||i.setValue(a));const s=this.getVariableEditor(),l=null!==(t=null==s?void 0:s.getValue())&&void 0!==t?t:\"\";try{const e=JSON.stringify(JSON.parse(l),null,2);e!==l&&(null==s||s.setValue(e))}catch{}const c=this.getHeaderEditor(),u=null!==(r=null==c?void 0:c.getValue())&&void 0!==r?r:\"\";try{const e=JSON.stringify(JSON.parse(u),null,2);e!==u&&(null==c||c.setValue(e))}catch{}}),C(this,\"handleMergeQuery\",()=>{const e=this.getQueryEditor(),t=e.getValue();if(!t)return;const r=(0,n.parse)(t);e.setValue((0,n.print)((0,_.default)(r)))}),C(this,\"handleEditQuery\",(0,T.default)(100,e=>{const t=this._updateQueryFacts(e,this.state.operationName,this.state.operations,this.state.schema);if(this.setState({query:e,...t}),this._storage.set(\"query\",e),this.props.onEditQuery)return this.props.onEditQuery(e)})),C(this,\"handleCopyQuery\",()=>{const e=this.getQueryEditor(),t=e&&e.getValue();if(t)return(0,i.default)(t),this.props.onCopyQuery?this.props.onCopyQuery(t):void 0}),C(this,\"_updateQueryFacts\",(e,t,n,r)=>{const i=(0,y.default)(r,e);if(i){const e=(0,b.default)(n,t,i.operations),r=this.props.onEditOperationName;return r&&e&&t!==e&&r(e),{operationName:e,...i}}}),C(this,\"handleEditVariables\",e=>{this.setState({variables:e}),(0,T.default)(500,()=>this._storage.set(\"variables\",e))(),this.props.onEditVariables&&this.props.onEditVariables(e)}),C(this,\"handleEditHeaders\",e=>{this.setState({headers:e}),this.props.shouldPersistHeaders&&(0,T.default)(500,()=>this._storage.set(\"headers\",e))(),this.props.onEditHeaders&&this.props.onEditHeaders(e)}),C(this,\"handleEditOperationName\",e=>{const t=this.props.onEditOperationName;t&&t(e)}),C(this,\"handleHintInformationRender\",e=>{let t;e.addEventListener(\"click\",this._onClickHintInformation),e.addEventListener(\"DOMNodeRemoved\",t=()=>{e.removeEventListener(\"DOMNodeRemoved\",t),e.removeEventListener(\"click\",this._onClickHintInformation)})}),C(this,\"handleEditorRunQuery\",()=>{this._runQueryAtCursor()}),C(this,\"_onClickHintInformation\",e=>{if((null==e?void 0:e.currentTarget)&&\"className\"in e.currentTarget&&\"typeName\"===e.currentTarget.className){const t=e.currentTarget.innerHTML,n=this.state.schema;if(n){const e=n.getType(t);e&&(this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDoc(e)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen)))())}}}),C(this,\"handleToggleDocs\",()=>{\"function\"==typeof this.props.onToggleDocs&&this.props.onToggleDocs(!this.state.docExplorerOpen),this._storage.set(\"docExplorerOpen\",JSON.stringify(!this.state.docExplorerOpen)),this.setState({docExplorerOpen:!this.state.docExplorerOpen})}),C(this,\"handleToggleHistory\",()=>{\"function\"==typeof this.props.onToggleHistory&&this.props.onToggleHistory(!this.state.historyPaneOpen),this._storage.set(\"historyPaneOpen\",JSON.stringify(!this.state.historyPaneOpen)),this.setState({historyPaneOpen:!this.state.historyPaneOpen})}),C(this,\"handleSelectHistoryQuery\",(e,t,n,r)=>{e&&this.handleEditQuery(e),t&&this.handleEditVariables(t),n&&this.handleEditHeaders(n),r&&this.handleEditOperationName(r)}),C(this,\"handleResizeStart\",e=>{if(!this._didClickDragBar(e))return;e.preventDefault();const t=e.clientX-(0,x.getLeft)(e.target);let n=e=>{if(0===e.buttons)return r();const n=this.editorBarComponent,i=e.clientX-(0,x.getLeft)(n)-t,o=n.clientWidth-i;this.setState({editorFlex:i/o}),(0,T.default)(500,()=>this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex)))()},r=()=>{document.removeEventListener(\"mousemove\",n),document.removeEventListener(\"mouseup\",r),n=null,r=null};document.addEventListener(\"mousemove\",n),document.addEventListener(\"mouseup\",r)}),C(this,\"handleResetResize\",()=>{this.setState({editorFlex:1}),this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex))}),C(this,\"handleDocsResizeStart\",e=>{e.preventDefault();const t=this.state.docExplorerWidth,n=e.clientX-(0,x.getLeft)(e.target);let r=e=>{if(0===e.buttons)return i();const t=this.graphiqlContainer,r=e.clientX-(0,x.getLeft)(t)-n,o=t.clientWidth-r;o<100?this.setState({docExplorerOpen:!1}):(this.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(o,650)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))},i=()=>{this.state.docExplorerOpen||(this.setState({docExplorerWidth:t}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),document.removeEventListener(\"mousemove\",r),document.removeEventListener(\"mouseup\",i),r=null,i=null};document.addEventListener(\"mousemove\",r),document.addEventListener(\"mouseup\",i)}),C(this,\"handleDocsResetResize\",()=>{this.setState({docExplorerWidth:350}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()}),C(this,\"handleTabClickPropogation\",e=>{e.preventDefault(),e.stopPropagation()}),C(this,\"handleOpenHeaderEditorTab\",e=>{this.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})}),C(this,\"handleOpenVariableEditorTab\",e=>{this.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})}),C(this,\"handleSecondaryEditorResizeStart\",e=>{e.preventDefault();let t=!1;const n=this.state.secondaryEditorOpen,r=this.state.secondaryEditorHeight,i=e.clientY-(0,x.getTop)(e.target);let o=e=>{if(0===e.buttons)return a();t=!0;const n=this.editorBarComponent,o=e.clientY-(0,x.getTop)(n)-i,s=n.clientHeight-o;s<60?this.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):this.setState({secondaryEditorOpen:!0,secondaryEditorHeight:s}),(0,T.default)(500,()=>this._storage.set(\"secondaryEditorHeight\",JSON.stringify(this.state.secondaryEditorHeight)))()},a=()=>{t||this.setState({secondaryEditorOpen:!n}),document.removeEventListener(\"mousemove\",o),document.removeEventListener(\"mouseup\",a),o=null,a=null};document.addEventListener(\"mousemove\",o),document.addEventListener(\"mouseup\",a)}),\"function\"!=typeof e.fetcher)throw new TypeError(\"GraphiQL requires a fetcher function.\");this._storage=new g.default(e.storage),this.componentIsMounted=!1;const o=void 0!==e.query?e.query:this._storage.get(\"query\")?this._storage.get(\"query\"):void 0!==e.defaultQuery?e.defaultQuery:L,a=(0,y.default)(e.schema,o),s=void 0!==e.variables?e.variables:this._storage.get(\"variables\"),l=void 0!==e.headers?e.headers:this._storage.get(\"headers\"),c=void 0!==e.operationName?e.operationName:(0,b.default)(void 0,this._storage.get(\"operationName\"),a&&a.operations);let u,f=e.docExplorerOpen||!1;this._storage.get(\"docExplorerOpen\")&&(f=\"true\"===this._storage.get(\"docExplorerOpen\")),u=void 0!==e.defaultVariableEditorOpen?e.defaultVariableEditorOpen:void 0!==e.defaultSecondaryEditorOpen?e.defaultSecondaryEditorOpen:Boolean(s||l);const p=null!==(t=e.headerEditorEnabled)&&void 0!==t&&t,d=null!==(r=e.shouldPersistHeaders)&&void 0!==r&&r;this.state={schema:e.schema,query:o,variables:s,headers:l,operationName:c,docExplorerOpen:f,response:e.response,editorFlex:Number(this._storage.get(\"editorFlex\"))||1,secondaryEditorOpen:u,secondaryEditorHeight:Number(this._storage.get(\"secondaryEditorHeight\"))||200,variableEditorActive:\"true\"!==this._storage.get(\"variableEditorActive\")&&!e.headerEditorEnabled||\"true\"!==this._storage.get(\"headerEditorActive\"),headerEditorActive:\"true\"===this._storage.get(\"headerEditorActive\"),headerEditorEnabled:p,shouldPersistHeaders:d,historyPaneOpen:\"true\"===this._storage.get(\"historyPaneOpen\")||!1,docExplorerWidth:Number(this._storage.get(\"docExplorerWidth\"))||350,isWaitingForResponse:!1,subscription:null,...a}}componentDidMount(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new v.default,r.g=this}UNSAFE_componentWillMount(){this.componentIsMounted=!1}UNSAFE_componentWillReceiveProps(e){let t=this.state.schema,n=this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.operationName,a=this.state.response;if(void 0!==e.schema&&(t=e.schema),void 0!==e.query&&this.props.query!==e.query&&(n=e.query),void 0!==e.variables&&this.props.variables!==e.variables&&(r=e.variables),void 0!==e.headers&&this.props.headers!==e.headers&&(i=e.headers),void 0!==e.operationName&&(o=e.operationName),void 0!==e.response&&(a=e.response),n&&t&&(t!==this.state.schema||n!==this.state.query||o!==this.state.operationName)){const e=this._updateQueryFacts(n,o,this.state.operations,t);void 0!==e&&(o=e.operationName,this.setState(e))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(t=void 0),this._storage.set(\"operationName\",o),this.setState({schema:t,query:n,variables:r,headers:i,operationName:o,response:a},()=>{void 0===this.state.schema&&(this.docExplorerComponent&&this.docExplorerComponent.reset(),this.fetchSchema())})}componentDidUpdate(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])}render(){const e=t.default.Children.toArray(this.props.children),n=(0,E.default)(e,e=>R(e,S.Logo))||t.default.createElement(S.Logo,null),r=(0,E.default)(e,e=>R(e,S.Toolbar))||t.default.createElement(S.Toolbar,null,t.default.createElement(s.ToolbarButton,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"})),i=(0,E.default)(e,e=>R(e,S.Footer)),l={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:\"block\",width:this.state.docExplorerWidth},v=\"docExplorerWrap\"+(this.state.docExplorerWidth<200?\" doc-explorer-narrow\":\"\"),g={display:this.state.historyPaneOpen?\"block\":\"none\",width:\"230px\",zIndex:7},y=this.state.secondaryEditorOpen,b={height:y?this.state.secondaryEditorHeight:void 0};return t.default.createElement(\"div\",{ref:e=>{this.graphiqlContainer=e},className:\"graphiql-container\"},t.default.createElement(\"div\",{className:\"historyPaneWrap\",style:g},t.default.createElement(m.QueryHistory,{ref:e=>{this._queryHistory=e},operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,queryID:this._editorQueryID},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleHistory,\"aria-label\":\"Close History\"},\"\u2715\"))),t.default.createElement(\"div\",{className:\"editorWrap\"},t.default.createElement(\"div\",{className:\"topBarWrap\"},t.default.createElement(\"div\",{className:\"topBar\"},n,t.default.createElement(o.ExecuteButton,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),r),!this.state.docExplorerOpen&&t.default.createElement(\"button\",{className:\"docExplorerShow\",onClick:this.handleToggleDocs,\"aria-label\":\"Open Documentation Explorer\"},\"Docs\")),t.default.createElement(\"div\",{ref:e=>{this.editorBarComponent=e},className:\"editorBar\",onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},t.default.createElement(\"div\",{className:\"queryWrap\",style:l},t.default.createElement(u.QueryEditor,{ref:e=>{this.queryEditorComponent=e},schema:this.state.schema,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly}),t.default.createElement(\"section\",{className:\"variable-editor secondary-editor\",style:b,\"aria-label\":this.state.variableEditorActive?\"Query Variables\":\"Request Headers\"},t.default.createElement(\"div\",{className:\"secondary-editor-title variable-editor-title\",id:\"secondary-editor-title\",style:{cursor:y?\"row-resize\":\"n-resize\"},onMouseDown:this.handleSecondaryEditorResizeStart},t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.variableEditorActive?\"#000\":\"gray\",display:\"inline-block\"},onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},\"Query Variables\"),this.state.headerEditorEnabled&&t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.headerEditorActive?\"#000\":\"gray\",display:\"inline-block\",marginLeft:\"20px\"},onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},\"Request Headers\")),t.default.createElement(f.VariableEditor,{ref:e=>{this.variableEditorComponent=e},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.variableEditorActive}),this.state.headerEditorEnabled&&t.default.createElement(p.HeaderEditor,{ref:e=>{this.headerEditorComponent=e},value:this.state.headers,onEdit:this.handleEditHeaders,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.headerEditorActive}))),t.default.createElement(\"div\",{className:\"resultWrap\"},this.state.isWaitingForResponse&&t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})),t.default.createElement(d.ResultViewer,{registerRef:e=>{this.resultViewerElement=e},ref:e=>{this.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:a.ImagePreview}),i))),this.state.docExplorerOpen&&t.default.createElement(\"div\",{className:v,style:c},t.default.createElement(\"div\",{className:\"docExplorerResizer\",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),t.default.createElement(h.DocExplorer,{ref:e=>{this.docExplorerComponent=e},schema:this.state.schema},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleDocs,\"aria-label\":\"Close Documentation Explorer\"},\"\u2715\"))))}getQueryEditor(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()}getVariableEditor(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null}getHeaderEditor(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null}refresh(){this.queryEditorComponent&&this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent&&this.variableEditorComponent.getCodeMirror().refresh(),this.headerEditorComponent&&this.headerEditorComponent.getCodeMirror().refresh(),this.resultComponent&&this.resultComponent.getCodeMirror().refresh()}autoCompleteLeafs(){const{insertions:e,result:t}=(0,O.fillLeafs)(this.state.schema,this.state.query,this.props.getDefaultFieldNames);if(e&&e.length>0){const n=this.getQueryEditor();n&&n.operation(()=>{const r=n.getCursor(),i=n.indexFromPos(r);n.setValue(t||\"\");let o=0;const a=e.map(({index:e,string:t})=>n.markText(n.posFromIndex(e+o),n.posFromIndex(e+(o+=t.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"}));setTimeout(()=>a.forEach(e=>e.clear()),7e3);let s=i;e.forEach(({index:e,string:t})=>{e<i&&(s+=t.length)}),n.setCursor(n.posFromIndex(s))})}return t}fetchSchema(){const e=this.props.fetcher,t={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders)};this.state.headers&&this.state.headers.trim().length>2?t.headers=JSON.parse(this.state.headers):this.props.headers&&(t.headers=JSON.parse(this.props.headers));const r=F(e({query:k.introspectionQuery,operationName:k.introspectionQueryName},t));j(r)?r.then(n=>{if(\"string\"!=typeof n&&\"data\"in n)return n;const i=F(e({query:k.introspectionQuerySansSubscriptions,operationName:k.introspectionQueryName},t));if(!j(r))throw new Error(\"Fetcher did not return a Promise for introspection.\");return i}).then(e=>{if(void 0===this.state.schema)if(\"string\"!=typeof e&&\"data\"in e){const t=(0,n.buildClientSchema)(e.data),r=(0,y.default)(t,this.state.query);this.safeSetState({schema:t,...r})}else{const t=\"string\"==typeof e?e:S.formatResult(e);this.safeSetState({schema:void 0,response:t})}}).catch(e=>{this.safeSetState({schema:void 0,response:e?S.formatError(e):void 0})}):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})}_fetchQuery(e,t,n,r,i,o){const a=this.props.fetcher;let s=null,l=null;try{s=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(e){throw new Error(`Variables are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof s)throw new Error(\"Variables are not a JSON object.\");try{l=n&&\"\"!==n.trim()?JSON.parse(n):null}catch(e){throw new Error(`Headers are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof l)throw new Error(\"Headers are not a JSON object.\");const c=a({query:e,variables:s,operationName:r},{headers:l,shouldPersistHeaders:i});if(!j(c)){if(M(c))return c.subscribe({next:o,error:e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0,subscription:null})},complete:()=>{this.safeSetState({isWaitingForResponse:!1,subscription:null})}});throw new Error(\"Fetcher did not return Promise or Observable.\")}c.then(o).catch(e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0})})}_runQueryAtCursor(){if(this.state.subscription)return void this.handleStopQuery();let e;const t=this.state.operations;if(t){const n=this.getQueryEditor();if(n&&n.hasFocus()){const r=n.getCursor(),i=n.indexFromPos(r);for(let n=0;n<t.length;n++){const r=t[n];if(r.loc&&r.loc.start<=i&&r.loc.end>=i){e=r.name&&r.name.value;break}}}}this.handleRunQuery(e)}_didClickDragBar(e){if(0!==e.button||e.ctrlKey)return!1;let t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;const n=this.resultViewerElement;for(;t;){if(t===n)return!0;t=t.parentNode}return!1}}function N(e){return t.default.createElement(\"div\",{className:\"title\"},e.children||t.default.createElement(\"span\",null,\"Graph\",t.default.createElement(\"em\",null,\"i\"),\"QL\"))}function D(e){return t.default.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function I(e){return t.default.createElement(\"div\",{className:\"footer\"},e.children)}e.GraphiQL=S,C(S,\"Logo\",N),C(S,\"Toolbar\",D),C(S,\"Footer\",I),C(S,\"QueryEditor\",u.QueryEditor),C(S,\"VariableEditor\",f.VariableEditor),C(S,\"HeaderEditor\",p.HeaderEditor),C(S,\"ResultViewer\",d.ResultViewer),C(S,\"Button\",s.ToolbarButton),C(S,\"ToolbarButton\",s.ToolbarButton),C(S,\"Group\",l.ToolbarGroup),C(S,\"Menu\",c.ToolbarMenu),C(S,\"MenuItem\",c.ToolbarMenuItem),N.displayName=\"GraphiQLLogo\",D.displayName=\"GraphiQLToolbar\",I.displayName=\"GraphiQLFooter\";const A=e=>({...e,message:e.message,stack:e.stack}),L='# 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 start\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n#     {\\n#       field(arg: \"value\") {\\n#         subField\\n#       }\\n#     }\\n#\\n# Keyboard shortcuts:\\n#\\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\\n#\\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\\n#\\n#       Run Query:  Ctrl-Enter (or press the play button above)\\n#\\n#   Auto Complete:  Ctrl-Space (or just start typing)\\n#\\n\\n';function j(e){return\"object\"==typeof e&&\"function\"==typeof e.then}function F(e){return M(e)?new Promise((t,n)=>{const r=e.subscribe(e=>{t(e),r.unsubscribe()},n,()=>{n(new Error(\"no value resolved\"))})}):e}function M(e){return\"object\"==typeof e&&\"subscribe\"in e&&\"function\"==typeof e.subscribe}function R(e,t){var n;return!(!(null==e||null===(n=e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}},o=[t,n(16),n(14),n(100),n(102),n(103),n(107),n(108),n(109),n(110),n(188),n(194),n(196),n(199),n(206),n(209),n(210),n(211),n(212),n(85),n(213),n(214),n(215),n(216),n(217)],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(101),r={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,n){var i,o,a,s,l,c,u=!1;n||(n={}),i=n.debug||!1;try{if(a=t(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(t){if(t.stopPropagation(),n.format)if(t.preventDefault(),void 0===t.clipboardData){i&&console.warn(\"unable to use e.clipboardData\"),i&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=r[n.format]||r.default;window.clipboardData.setData(o,e)}else t.clipboardData.clearData(),t.clipboardData.setData(n.format,e);n.onCopy&&(t.preventDefault(),n.onCopy(t.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(t){i&&console.error(\"unable to copy using execCommand: \",t),i&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(n.format||\"text\",e),n.onCopy&&n.onCopy(window.clipboardData),u=!0}catch(t){i&&console.error(\"unable to copy using clipboardData: \",t),i&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in n?n.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":t.blur();break;default:t=null}return e.removeAllRanges(),function(){\"Caret\"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ExecuteButton=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_onClick\",()=>{this.props.isRunning?this.props.onStop():this.props.onRun()}),n(this,\"_onOptionSelected\",e=>{this.setState({optionsOpen:!1}),this.props.onRun(e.name&&e.name.value)}),n(this,\"_onOptionsOpen\",e=>{let t=!0;const n=e.currentTarget;this.setState({highlight:null,optionsOpen:!0});let r=e=>{var i;t&&e.target===n?t=!1:(document.removeEventListener(\"mouseup\",r),r=null,e.currentTarget&&(null===(i=n.parentNode)||void 0===i?void 0:i.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||this.setState({optionsOpen:!1}))};document.addEventListener(\"mouseup\",r)}),this.state={optionsOpen:!1,highlight:null}}render(){const e=this.props.operations||[],n=this.state.optionsOpen,r=e&&e.length>1;let i,o=null;if(r&&n){const n=this.state.highlight;o=t.default.createElement(\"ul\",{className:\"execute-options\"},e.map((e,r)=>{const i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return t.default.createElement(\"li\",{key:`${i}-${r}`,className:e===n?\"selected\":void 0,onMouseOver:()=>this.setState({highlight:e}),onMouseOut:()=>this.setState({highlight:null}),onMouseUp:()=>this._onOptionSelected(e)},i)}))}!this.props.isRunning&&r||(i=this._onClick);let a=()=>{};this.props.isRunning||!r||n||(a=this._onOptionsOpen);const s=this.props.isRunning?t.default.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):t.default.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return t.default.createElement(\"div\",{className:\"execute-button-wrap\"},t.default.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:a,onClick:i,title:\"Execute Query (Ctrl-Enter)\"},t.default.createElement(\"svg\",{width:\"34\",height:\"34\"},s)),o)}}e.ExecuteButton=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(104)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(\"string\"!==e.type)return;const t=e.string.slice(1).slice(0,-1).trim();try{const e=window.location;return new URL(t,e.protocol+\"//\"+e.host)}catch(e){return}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ImagePreview=void 0,t=r(t),n=r(n);class a extends t.default.Component{constructor(...e){super(...e),i(this,\"_node\",null),i(this,\"state\",{width:null,height:null,src:null,mime:null})}static shouldRender(e){const t=o(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)}componentDidMount(){this._updateMetadata()}componentDidUpdate(){this._updateMetadata()}render(){var e;let n=null;if(null!==this.state.width&&null!==this.state.height){let e=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(e+=\" \"+this.state.mime),n=t.default.createElement(\"div\",null,e)}return t.default.createElement(\"div\",null,t.default.createElement(\"img\",{onLoad:()=>this._updateMetadata(),ref:e=>{this._node=e},src:null===(e=o(this.props.token))||void 0===e?void 0:e.href}),n)}_updateMetadata(){if(!this._node)return;const e=this._node.naturalWidth,t=this._node.naturalHeight,n=this._node.src;n!==this.state.src&&(this.setState({src:n}),fetch(n,{method:\"HEAD\"}).then(e=>{this.setState({mime:e.headers.get(\"Content-Type\")})})),e===this.state.width&&t===this.state.height||this.setState({height:t,width:e})}}e.ImagePreview=a,i(a,\"propTypes\",{token:n.default.any})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(105)()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(106);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,n,r,i,o,a){if(a!==t){var s=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw s.name=\"Invariant Violation\",s}}function n(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarButton=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"handleClick\",()=>{try{this.props.onClick(),this.setState({error:null})}catch(e){this.setState({error:e})}}),this.state={error:null}}render(){const{error:e}=this.state;return t.default.createElement(\"button\",{className:\"toolbar-button\"+(e?\" error\":\"\"),onClick:this.handleClick,title:e?e.message:this.props.title,\"aria-invalid\":e?\"true\":\"false\"},this.props.label)}}e.ToolbarButton=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarGroup=function({children:e}){return t.default.createElement(\"div\",{className:\"toolbar-button-group\"},e)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarMenuItem=e.ToolbarMenu=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_node\",null),n(this,\"_listener\",null),n(this,\"handleOpen\",e=>{o(e),this.setState({visible:!0}),this._subscribe()}),this.state={visible:!1}}componentWillUnmount(){this._release()}render(){const e=this.state.visible;return t.default.createElement(\"a\",{className:\"toolbar-menu toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:o,ref:e=>{e&&(this._node=e)},title:this.props.title},this.props.label,t.default.createElement(\"svg\",{width:\"14\",height:\"8\"},t.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 1.5 L 14 1.5 L 9.5 7 z\"})),t.default.createElement(\"ul\",{className:\"toolbar-menu-items\"+(e?\" open\":\"\")},this.props.children))}_subscribe(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener(\"click\",this._listener))}_release(){this._listener&&(document.removeEventListener(\"click\",this._listener),this._listener=null)}handleClick(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())}}function o(e){e.preventDefault()}e.ToolbarMenu=i,e.ToolbarMenuItem=({onSelect:e,title:n,label:r})=>t.default.createElement(\"li\",{onMouseOver:e=>{e.currentTarget.className=\"hover\"},onMouseOut:e=>{e.currentTarget.className=\"\"},onMouseDown:o,onMouseUp:e,title:n},r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49),n(166),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryEditor=void 0,t=s(t),r=s(r),o=s(o),a=s(a);const c=new r.default,u=/^[a-zA-Z0-9_@(]$/;class f extends t.default.Component{constructor(e){super(e),l(this,\"cachedValue\",void 0),l(this,\"editor\",null),l(this,\"ignoreChangeEvent\",!1),l(this,\"_node\",null),l(this,\"_onKeyUp\",(e,t)=>{u.test(t.key)&&this.editor&&this.editor.execCommand(\"autocomplete\")}),l(this,\"_onEdit\",()=>{!this.ignoreChangeEvent&&this.editor&&(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue))}),l(this,\"_onHasCompletion\",(e,t)=>{(0,o.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){const e=n(10);n(54),n(167),n(41),n(55),n(42),n(43),n(69),n(33),n(44),n(34),n(56),n(45),n(169),n(183),n(184),n(185),n(187);const t=this.editor=e(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{schema:this.props.schema},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1,container:this._node},info:{schema:this.props.schema,renderDescription:e=>c.render(e),onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},jump:{schema:this.props.schema,onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Ctrl-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-C\":()=>{this.props.onCopyQuery&&this.props.onCopyQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-F\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...a.default,\"Cmd-S\":()=>{this.props.onRunQuery},\"Ctrl-S\":()=>{this.props.onRunQuery}}});t&&(t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion),t.on(\"beforeChange\",this._onBeforeChange))}componentDidUpdate(e){const t=n(10);this.ignoreChangeEvent=!0,this.props.schema!==e.schema&&this.editor&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,t.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue&&this.editor&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"section\",{className:\"query-editor\",\"aria-label\":\"Query Editor\",ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}_onBeforeChange(e,t){if(\"paste\"===t.origin){const e=t.text.map(i.normalizeWhitespace);t.update(t.from,t.to,e)}}}e.QueryEditor=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12),r=n(119),i=n(123),o=n(124),a=n(132),s=n(146),l=n(159),c=n(62),u=n(161),f={default:n(163),zero:n(164),commonmark:n(165)},p=/^(vbscript|javascript|file|data):/,d=/^data:image\\/(gif|png|jpeg|webp);/;function h(e){var t=e.trim().toLowerCase();return!p.test(t)||!!d.test(t)}var m=[\"http:\",\"https:\",\"mailto:\"];function v(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function g(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t))}function y(e,n){if(!(this instanceof y))return new y(e,n);n||t.isString(e)||(n=e||{},e=\"default\"),this.inline=new s,this.block=new a,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=h,this.normalizeLink=v,this.normalizeLinkText=g,this.utils=t,this.helpers=t.assign({},r),this.options={},this.configure(e),n&&this.set(n)}y.prototype.set=function(e){return t.assign(this.options,e),this},y.prototype.configure=function(e){var n,r=this;if(t.isString(e)&&!(e=f[n=e]))throw new Error('Wrong `markdown-it` preset \"'+n+'\", check name');if(!e)throw new Error(\"Wrong `markdown-it` preset, can't be empty\");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.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},y.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},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.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},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y})?r.apply(t,i):r)||(e.exports=o)},function(e){e.exports=JSON.parse('{\"Aacute\":\"\u00C1\",\"aacute\":\"\u00E1\",\"Abreve\":\"\u0102\",\"abreve\":\"\u0103\",\"ac\":\"\u223E\",\"acd\":\"\u223F\",\"acE\":\"\u223E\u0333\",\"Acirc\":\"\u00C2\",\"acirc\":\"\u00E2\",\"acute\":\"\u00B4\",\"Acy\":\"\u0410\",\"acy\":\"\u0430\",\"AElig\":\"\u00C6\",\"aelig\":\"\u00E6\",\"af\":\"\u2061\",\"Afr\":\"\uD835\uDD04\",\"afr\":\"\uD835\uDD1E\",\"Agrave\":\"\u00C0\",\"agrave\":\"\u00E0\",\"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\":\"\u00C5\",\"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\":\"\u00C5\",\"aring\":\"\u00E5\",\"Ascr\":\"\uD835\uDC9C\",\"ascr\":\"\uD835\uDCB6\",\"Assign\":\"\u2254\",\"ast\":\"*\",\"asymp\":\"\u2248\",\"asympeq\":\"\u224D\",\"Atilde\":\"\u00C3\",\"atilde\":\"\u00E3\",\"Auml\":\"\u00C4\",\"auml\":\"\u00E4\",\"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\":\"\u00A6\",\"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\":\"\u00C7\",\"ccedil\":\"\u00E7\",\"Ccirc\":\"\u0108\",\"ccirc\":\"\u0109\",\"Cconint\":\"\u2230\",\"ccups\":\"\u2A4C\",\"ccupssm\":\"\u2A50\",\"Cdot\":\"\u010A\",\"cdot\":\"\u010B\",\"cedil\":\"\u00B8\",\"Cedilla\":\"\u00B8\",\"cemptyv\":\"\u29B2\",\"cent\":\"\u00A2\",\"centerdot\":\"\u00B7\",\"CenterDot\":\"\u00B7\",\"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\":\"\u00AE\",\"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\":\"\u00A9\",\"COPY\":\"\u00A9\",\"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\":\"\u00A4\",\"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\":\"\u00B0\",\"Del\":\"\u2207\",\"Delta\":\"\u0394\",\"delta\":\"\u03B4\",\"demptyv\":\"\u29B1\",\"dfisht\":\"\u297F\",\"Dfr\":\"\uD835\uDD07\",\"dfr\":\"\uD835\uDD21\",\"dHar\":\"\u2965\",\"dharl\":\"\u21C3\",\"dharr\":\"\u21C2\",\"DiacriticalAcute\":\"\u00B4\",\"DiacriticalDot\":\"\u02D9\",\"DiacriticalDoubleAcute\":\"\u02DD\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"\u02DC\",\"diam\":\"\u22C4\",\"diamond\":\"\u22C4\",\"Diamond\":\"\u22C4\",\"diamondsuit\":\"\u2666\",\"diams\":\"\u2666\",\"die\":\"\u00A8\",\"DifferentialD\":\"\u2146\",\"digamma\":\"\u03DD\",\"disin\":\"\u22F2\",\"div\":\"\u00F7\",\"divide\":\"\u00F7\",\"divideontimes\":\"\u22C7\",\"divonx\":\"\u22C7\",\"DJcy\":\"\u0402\",\"djcy\":\"\u0452\",\"dlcorn\":\"\u231E\",\"dlcrop\":\"\u230D\",\"dollar\":\"$\",\"Dopf\":\"\uD835\uDD3B\",\"dopf\":\"\uD835\uDD55\",\"Dot\":\"\u00A8\",\"dot\":\"\u02D9\",\"DotDot\":\"\u20DC\",\"doteq\":\"\u2250\",\"doteqdot\":\"\u2251\",\"DotEqual\":\"\u2250\",\"dotminus\":\"\u2238\",\"dotplus\":\"\u2214\",\"dotsquare\":\"\u22A1\",\"doublebarwedge\":\"\u2306\",\"DoubleContourIntegral\":\"\u222F\",\"DoubleDot\":\"\u00A8\",\"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\":\"\u00C9\",\"eacute\":\"\u00E9\",\"easter\":\"\u2A6E\",\"Ecaron\":\"\u011A\",\"ecaron\":\"\u011B\",\"Ecirc\":\"\u00CA\",\"ecirc\":\"\u00EA\",\"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\":\"\u00C8\",\"egrave\":\"\u00E8\",\"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\":\"\u00D0\",\"eth\":\"\u00F0\",\"Euml\":\"\u00CB\",\"euml\":\"\u00EB\",\"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\":\"\u00BD\",\"frac13\":\"\u2153\",\"frac14\":\"\u00BC\",\"frac15\":\"\u2155\",\"frac16\":\"\u2159\",\"frac18\":\"\u215B\",\"frac23\":\"\u2154\",\"frac25\":\"\u2156\",\"frac34\":\"\u00BE\",\"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\":\"\u00BD\",\"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\":\"\u00CD\",\"iacute\":\"\u00ED\",\"ic\":\"\u2063\",\"Icirc\":\"\u00CE\",\"icirc\":\"\u00EE\",\"Icy\":\"\u0418\",\"icy\":\"\u0438\",\"Idot\":\"\u0130\",\"IEcy\":\"\u0415\",\"iecy\":\"\u0435\",\"iexcl\":\"\u00A1\",\"iff\":\"\u21D4\",\"ifr\":\"\uD835\uDD26\",\"Ifr\":\"\u2111\",\"Igrave\":\"\u00CC\",\"igrave\":\"\u00EC\",\"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\":\"\u00BF\",\"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\":\"\u00CF\",\"iuml\":\"\u00EF\",\"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\":\"\u00AB\",\"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\":\"\u00AF\",\"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\":\"\u00B5\",\"midast\":\"*\",\"midcir\":\"\u2AF0\",\"mid\":\"\u2223\",\"middot\":\"\u00B7\",\"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\":\"\u00A0\",\"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\":\"\u00A0\",\"nopf\":\"\uD835\uDD5F\",\"Nopf\":\"\u2115\",\"Not\":\"\u2AEC\",\"not\":\"\u00AC\",\"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\":\"\u00D1\",\"ntilde\":\"\u00F1\",\"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\":\"\u00D3\",\"oacute\":\"\u00F3\",\"oast\":\"\u229B\",\"Ocirc\":\"\u00D4\",\"ocirc\":\"\u00F4\",\"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\":\"\u00D2\",\"ograve\":\"\u00F2\",\"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\":\"\u00AA\",\"ordm\":\"\u00BA\",\"origof\":\"\u22B6\",\"oror\":\"\u2A56\",\"orslope\":\"\u2A57\",\"orv\":\"\u2A5B\",\"oS\":\"\u24C8\",\"Oscr\":\"\uD835\uDCAA\",\"oscr\":\"\u2134\",\"Oslash\":\"\u00D8\",\"oslash\":\"\u00F8\",\"osol\":\"\u2298\",\"Otilde\":\"\u00D5\",\"otilde\":\"\u00F5\",\"otimesas\":\"\u2A36\",\"Otimes\":\"\u2A37\",\"otimes\":\"\u2297\",\"Ouml\":\"\u00D6\",\"ouml\":\"\u00F6\",\"ovbar\":\"\u233D\",\"OverBar\":\"\u203E\",\"OverBrace\":\"\u23DE\",\"OverBracket\":\"\u23B4\",\"OverParenthesis\":\"\u23DC\",\"para\":\"\u00B6\",\"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\":\"\u00B1\",\"plusmn\":\"\u00B1\",\"plussim\":\"\u2A26\",\"plustwo\":\"\u2A27\",\"pm\":\"\u00B1\",\"Poincareplane\":\"\u210C\",\"pointint\":\"\u2A15\",\"popf\":\"\uD835\uDD61\",\"Popf\":\"\u2119\",\"pound\":\"\u00A3\",\"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\":\"\u00BB\",\"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\":\"\u00AE\",\"REG\":\"\u00AE\",\"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\":\"\u00A7\",\"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\":\"\u00AD\",\"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\":\"\u00AF\",\"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\":\"\u00B9\",\"sup2\":\"\u00B2\",\"sup3\":\"\u00B3\",\"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\":\"\u00DF\",\"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\":\"\u00DE\",\"thorn\":\"\u00FE\",\"tilde\":\"\u02DC\",\"Tilde\":\"\u223C\",\"TildeEqual\":\"\u2243\",\"TildeFullEqual\":\"\u2245\",\"TildeTilde\":\"\u2248\",\"timesbar\":\"\u2A31\",\"timesb\":\"\u22A0\",\"times\":\"\u00D7\",\"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\":\"\u00DA\",\"uacute\":\"\u00FA\",\"uarr\":\"\u2191\",\"Uarr\":\"\u219F\",\"uArr\":\"\u21D1\",\"Uarrocir\":\"\u2949\",\"Ubrcy\":\"\u040E\",\"ubrcy\":\"\u045E\",\"Ubreve\":\"\u016C\",\"ubreve\":\"\u016D\",\"Ucirc\":\"\u00DB\",\"ucirc\":\"\u00FB\",\"Ucy\":\"\u0423\",\"ucy\":\"\u0443\",\"udarr\":\"\u21C5\",\"Udblac\":\"\u0170\",\"udblac\":\"\u0171\",\"udhar\":\"\u296E\",\"ufisht\":\"\u297E\",\"Ufr\":\"\uD835\uDD18\",\"ufr\":\"\uD835\uDD32\",\"Ugrave\":\"\u00D9\",\"ugrave\":\"\u00F9\",\"uHar\":\"\u2963\",\"uharl\":\"\u21BF\",\"uharr\":\"\u21BE\",\"uhblk\":\"\u2580\",\"ulcorn\":\"\u231C\",\"ulcorner\":\"\u231C\",\"ulcrop\":\"\u230F\",\"ultri\":\"\u25F8\",\"Umacr\":\"\u016A\",\"umacr\":\"\u016B\",\"uml\":\"\u00A8\",\"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\":\"\u00DC\",\"uuml\":\"\u00FC\",\"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\":\"\u00DD\",\"yacute\":\"\u00FD\",\"YAcy\":\"\u042F\",\"yacy\":\"\u044F\",\"Ycirc\":\"\u0176\",\"ycirc\":\"\u0177\",\"Ycy\":\"\u042B\",\"ycy\":\"\u044B\",\"yen\":\"\u00A5\",\"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\":\"\u00FF\",\"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){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r,i){var o,a,s,l,c,u=\"\";for(\"string\"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),c=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push(\"%\"+(\"0\"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)i[e.charCodeAt(n)]=e[n];return i}(r),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),i&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+=\"%EF%BF%BD\"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=\";/?:@&=+$,-_.!~*'()#\",n.componentChars=\"-_.!~*'()\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r){var i;return\"string\"!=typeof r&&(r=n.defaultChars),i=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n<e.length;n++)i[r=e.charCodeAt(n)]=\"%\"+(\"0\"+r.toString(16).toUpperCase()).slice(-2);return i}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,a,s,l,c=\"\";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=i[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?\"\uFFFD\uFFFD\":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(c+=(l=r<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?\"\uFFFD\uFFFD\uFFFD\":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+=\"\uFFFD\uFFFD\uFFFD\uFFFD\":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+=\"\uFFFD\";return c}))}n.defaultChars=\";/?:@&=+$,#\",n.componentChars=\"\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"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||\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,o=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),a=[\"'\"].concat(o),s=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(a),l=[\"/\",\"?\",\"#\"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,\"javascript:\":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0};t.prototype.parse=function(e,t){var r,o,a,d,h,m=e;if(m=m.trim(),!t&&1===e.split(\"#\").length){var v=i.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=n.exec(m);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(h=\"//\"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(h||g&&!p[g])){var y,b,T=-1;for(r=0;r<l.length;r++)-1!==(d=m.indexOf(l[r]))&&(-1===T||d<T)&&(T=d);for(-1!==(b=-1===T?m.lastIndexOf(\"@\"):m.lastIndexOf(\"@\",T))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),T=-1,r=0;r<s.length;r++)-1!==(d=m.indexOf(s[r]))&&(-1===T||d<T)&&(T=d);-1===T&&(T=m.length),\":\"===m[T-1]&&T--;var E=m.slice(0,T);m=m.slice(T),this.parseHost(E),this.hostname=this.hostname||\"\";var O=\"[\"===this.hostname[0]&&\"]\"===this.hostname[this.hostname.length-1];if(!O){var x=this.hostname.split(/\\./);for(r=0,o=x.length;r<o;r++){var _=x[r];if(_&&!_.match(c)){for(var k=\"\",w=0,C=_.length;w<C;w++)_.charCodeAt(w)>127?k+=\"x\":k+=_[w];if(!k.match(c)){var S=x.slice(0,r),N=x.slice(r+1),D=_.match(u);D&&(S.push(D[1]),N.unshift(D[2])),N.length&&(m=N.join(\".\")+m),this.hostname=S.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf(\"#\");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var A=m.indexOf(\"?\");return-1!==A&&(this.search=m.substr(A),m=m.slice(0,A)),m&&(this.pathname=m),p[a]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(\":\"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.Any=n(63),t.Cc=n(64),t.Cf=n(118),t.P=n(50),t.Z=n(65)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";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]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.parseLinkLabel=n(120),t.parseLinkDestination=n(121),t.parseLinkTitle=n(122)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=n,s={ok:!1,pos:0,lines:0,str:\"\"};if(60===e.charCodeAt(n)){for(n++;n<r;){if(10===(i=e.charCodeAt(n)))return s;if(62===i)return s.pos=n+1,s.str=t(e.slice(a+1,n)),s.ok=!0,s;92===i&&n+1<r?n+=2:n++}return s}for(o=0;n<r&&32!==(i=e.charCodeAt(n))&&!(i<32||127===i);)if(92===i&&n+1<r)n+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}n++}return a===n||0!==o||(s.str=t(e.slice(a,n)),s.lines=0,s.pos=n,s.ok=!0),s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=0,s=n,l={ok:!1,pos:0,lines:0,str:\"\"};if(n>=r)return l;if(34!==(o=e.charCodeAt(n))&&39!==o&&40!==o)return l;for(n++,40===o&&(o=41);n<r;){if((i=e.charCodeAt(n))===o)return l.pos=n+1,l.lines=a,l.str=t(e.slice(s+1,n)),l.ok=!0,l;10===i?a++:92===i&&n+1<r&&(n++,10===e.charCodeAt(n)&&a++),n++}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).assign,r=n(12).unescapeAll,i=n(12).escapeHtml,o={};function a(){this.rules=t({},o)}o.code_inline=function(e,t,n,r,o){var a=e[t];return\"<code\"+o.renderAttrs(a)+\">\"+i(e[t].content)+\"</code>\"},o.code_block=function(e,t,n,r,o){var a=e[t];return\"<pre\"+o.renderAttrs(a)+\"><code>\"+i(e[t].content)+\"</code></pre>\\n\"},o.fence=function(e,t,n,o,a){var s,l,c,u,f=e[t],p=f.info?r(f.info).trim():\"\",d=\"\";return p&&(d=p.split(/\\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||i(f.content)).indexOf(\"<pre\")?s+\"\\n\":p?(l=f.attrIndex(\"class\"),c=f.attrs?f.attrs.slice():[],l<0?c.push([\"class\",n.langPrefix+d]):c[l][1]+=\" \"+n.langPrefix+d,u={attrs:c},\"<pre><code\"+a.renderAttrs(u)+\">\"+s+\"</code></pre>\\n\"):\"<pre><code\"+a.renderAttrs(f)+\">\"+s+\"</code></pre>\\n\"},o.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)},o.hardbreak=function(e,t,n){return n.xhtmlOut?\"<br />\\n\":\"<br>\\n\"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?\"<br />\\n\":\"<br>\\n\":\"\\n\"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return\"\";for(r=\"\",t=0,n=e.attrs.length;t<n;t++)r+=\" \"+i(e.attrs[t][0])+'=\"'+i(e.attrs[t][1])+'\"';return r},a.prototype.renderToken=function(e,t,n){var r,i=\"\",o=!1,a=e[t];return a.hidden?\"\":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+=\"\\n\"),i+=(-1===a.nesting?\"</\":\"<\")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=\" /\"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(\"inline\"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?\">\\n\":\">\")},a.prototype.renderInline=function(e,t,n){for(var r,i=\"\",o=this.rules,a=0,s=e.length;a<s;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},a.prototype.renderInlineAsText=function(e,t,n){for(var r=\"\",i=0,o=e.length;i<o;i++)\"text\"===e[i].type?r+=e[i].content:\"image\"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},a.prototype.render=function(e,t,n){var r,i,o,a=\"\",s=this.rules;for(r=0,i=e.length;r<i;r++)\"inline\"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"normalize\",n(125)],[\"block\",n(126)],[\"inline\",n(127)],[\"linkify\",n(128)],[\"replacements\",n(129)],[\"smartquotes\",n(130)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules(\"\")).length;t<n;t++)r[t](e)},i.prototype.State=n(131),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\r\\n?|\\n/g,n=/\\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,\"\\n\")).replace(n,\"\uFFFD\"),e.src=r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t;e.inlineMode?((t=new e.Token(\"inline\",\"\",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)\"inline\"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).arrayReplaceAt;function r(e){return/^<\\/a\\s*>/i.test(e)}e.exports=function(e){var n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E=e.tokens;if(e.md.options.linkify)for(i=0,o=E.length;i<o;i++)if(\"inline\"===E[i].type&&e.md.linkify.pretest(E[i].content))for(m=0,n=(a=E[i].children).length-1;n>=0;n--)if(\"link_close\"!==(l=a[n]).type){if(\"html_inline\"===l.type&&(T=l.content,/^<a[>\\s]/i.test(T)&&m>0&&m--,r(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),c=[],h=l.level,d=0,u=0;u<b.length;u++)v=b[u].url,g=e.md.normalizeLink(v),e.md.validateLink(g)&&(y=b[u].text,y=b[u].schema?\"mailto:\"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText(\"mailto:\"+y).replace(/^mailto:/,\"\"):e.md.normalizeLinkText(\"http://\"+y).replace(/^http:\\/\\//,\"\"),(p=b[u].index)>d&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,c.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",g]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",c.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,c.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",c.push(s),d=b[u].lastIndex);d<f.length&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d),s.level=h,c.push(s)),E[i].children=a=t(a,n,c)}}else for(n--;a[n].level!==l.level&&\"link_open\"!==a[n].type;)n--}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/,n=/\\((c|tm|r|p)\\)/i,r=/\\((c|tm|r|p)\\)/gi,i={c:\"\u00A9\",r:\"\u00AE\",p:\"\u00A7\",tm:\"\u2122\"};function o(e,t){return i[t.toLowerCase()]}function a(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)\"text\"!==(n=e[t]).type||i||(n.content=n.content.replace(r,o)),\"link_open\"===n.type&&\"auto\"===n.info&&i--,\"link_close\"===n.type&&\"auto\"===n.info&&i++}function s(e){var n,r,i=0;for(n=e.length-1;n>=0;n--)\"text\"!==(r=e[n]).type||i||t.test(r.content)&&(r.content=r.content.replace(/\\+-/g,\"\u00B1\").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\"===r.type&&\"auto\"===r.info&&i--,\"link_close\"===r.type&&\"auto\"===r.info&&i++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)\"inline\"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isWhiteSpace,r=n(12).isPunctChar,i=n(12).isMdAsciiPunct,o=/['\"]/,a=/['\"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,n){var o,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C;for(k=[],o=0;o<e.length;o++){for(l=e[o],d=e[o].level,x=k.length-1;x>=0&&!(k[x].level<=d);x--);if(k.length=x+1,\"text\"===l.type){f=0,p=(c=l.content).length;e:for(;f<p&&(a.lastIndex=f,u=a.exec(c));){if(E=O=!0,f=u.index+1,_=\"'\"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(x=o-1;x>=0&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x--)if(\"text\"===e[x].type){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(v=32,f<p)v=c.charCodeAt(f);else for(x=o+1;x<e.length&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x++)if(\"text\"===e[x].type){v=e[x].content.charCodeAt(0);break}if(g=i(m)||r(String.fromCharCode(m)),y=i(v)||r(String.fromCharCode(v)),b=t(m),(T=t(v))?E=!1:y&&(b||g||(E=!1)),b?O=!1:g&&(T||y||(O=!1)),34===v&&'\"'===u[0]&&m>=48&&m<=57&&(O=E=!1),E&&O&&(E=!1,O=y),E||O){if(O)for(x=k.length-1;x>=0&&(h=k[x],!(k[x].level<d));x--)if(h.single===_&&k[x].level===d){h=k[x],_?(w=n.md.options.quotes[2],C=n.md.options.quotes[3]):(w=n.md.options.quotes[0],C=n.md.options.quotes[1]),l.content=s(l.content,u.index,C),e[h.token].content=s(e[h.token].content,h.pos,w),f+=C.length-1,h.token===o&&(f+=w.length-1),p=(c=l.content).length,k.length=x;continue e}E?k.push({token:o,pos:u.index,single:_,level:d}):O&&_&&(l.content=s(l.content,u.index,\"\u2019\"))}else _&&(l.content=s(l.content,u.index,\"\u2019\"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)\"inline\"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52);function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=t,e.exports=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"table\",n(133),[\"paragraph\",\"reference\"]],[\"code\",n(134)],[\"fence\",n(135),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(136),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(137),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(138),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(139)],[\"heading\",n(140),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(141)],[\"html_block\",n(142),[\"paragraph\",\"reference\",\"blockquote\"]],[\"paragraph\",n(144)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1],{alt:(r[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(\"\"),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},i.prototype.State=n(145),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&s&&(s=!1,r=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,n,o,a){var s,l,c,u,f,p,d,h,m,v,g,y;if(n+2>o)return!1;if(f=n+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!t(s))return!1;c++}for(p=(l=r(e,n+1)).split(\"|\"),m=[],u=0;u<p.length;u++){if(!(v=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?\"center\":\"right\"):58===v.charCodeAt(0)?m.push(\"left\"):m.push(\"\")}if(-1===(l=r(e,n).trim()).indexOf(\"|\"))return!1;if(e.sCount[n]-e.blkIndent>=4)return!1;if((d=(p=i(l.replace(/^\\||\\|$/g,\"\"))).length)>m.length)return!1;if(a)return!0;for((h=e.push(\"table_open\",\"table\",1)).map=g=[n,0],(h=e.push(\"thead_open\",\"thead\",1)).map=[n,n+1],(h=e.push(\"tr_open\",\"tr\",1)).map=[n,n+1],u=0;u<p.length;u++)(h=e.push(\"th_open\",\"th\",1)).map=[n,n+1],m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u].trim(),h.map=[n,n+1],h.children=[],h=e.push(\"th_close\",\"th\",-1);for(h=e.push(\"tr_close\",\"tr\",-1),h=e.push(\"thead_close\",\"thead\",-1),(h=e.push(\"tbody_open\",\"tbody\",1)).map=y=[n+2,0],f=n+2;f<o&&!(e.sCount[f]<e.blkIndent)&&-1!==(l=r(e,f).trim()).indexOf(\"|\")&&!(e.sCount[f]-e.blkIndent>=4);f++){for(p=i(l.replace(/^\\||\\|$/g,\"\")),h=e.push(\"tr_open\",\"tr\",1),u=0;u<d;u++)h=e.push(\"td_open\",\"td\",1),m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u]?p[u].trim():\"\",h.children=[],h=e.push(\"td_close\",\"td\",-1);h=e.push(\"tr_close\",\"tr\",-1)}return h=e.push(\"tbody_close\",\"tbody\",-1),h=e.push(\"table_close\",\"table\",-1),g[1]=y[1]=f,e.line=f,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push(\"code_block\",\"code\",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n,r){var i,o,a,s,l,c,u,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(p=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<d)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),(c=e.push(\"fence\",\"code\",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k=e.lineMax,w=e.bMarks[n]+e.tShift[n],C=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(i)return!0;for(l=d=e.sCount[n]+w-(e.bMarks[n]+e.tShift[n]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[n]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h=[e.bMarks[n]],e.bMarks[n]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[n]+(o?1:0))%4:d++,w++;for(m=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(T?1:0),u=w>=C,y=[e.sCount[n]],e.sCount[n]=d-l,b=[e.tShift[n]],e.tShift[n]=w-e.bMarks[n],O=e.md.block.ruler.getRules(\"blockquote\"),g=e.parentType,e.parentType=\"blockquote\",_=!1,p=n+1;p<r&&(e.sCount[p]<e.blkIndent&&(_=!0),!((w=e.bMarks[p]+e.tShift[p])>=(C=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||_){if(u)break;for(E=!1,s=0,c=O.length;s<c;s++)if(O[s](e,p,r,!0)){E=!0;break}if(E){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=d=e.sCount[p]+w-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[p]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h.push(e.bMarks[p]),e.bMarks[p]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++,w++;u=w>=C,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(T?1:0),y.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,(x=e.push(\"blockquote_open\",\"blockquote\",1)).markup=\">\",x.map=f=[n,0],e.md.block.tokenize(e,n,p),(x=e.push(\"blockquote_close\",\"blockquote\",-1)).markup=\">\",e.lineMax=k,e.parentType=g,f[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+n]=h[s],e.tShift[s+n]=b[s],e.sCount[s+n]=y[s],e.bsCount[s+n]=m[s];return e.blkIndent=v,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!t(s))return!1;s===o&&a++}return!(a<3||(i||(e.line=n+1,(l=e.push(\"hr\",\"hr\",0)).map=[n,e.line],l.markup=Array(a+1).join(String.fromCharCode(o))),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,n){var r,i,o,a;return i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],42!==(r=e.src.charCodeAt(i++))&&45!==r&&43!==r||i<o&&(a=e.src.charCodeAt(i),!t(a))?-1:i}function i(e,n){var r,i=e.bMarks[n]+e.tShift[n],o=i,a=e.eMarks[n];if(o+1>=a)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=a)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-i>=10)return-1}return o<a&&(r=e.src.charCodeAt(o),!t(r))?-1:o}e.exports=function(e,t,n,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C,S,N,D,I,A,L,j=!1,F=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&\"paragraph\"===e.parentType&&e.tShift[t]>=e.blkIndent&&(j=!0),(S=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,S-D-1)),j&&1!==y)return!1}else{if(!((S=r(e,t))>=0))return!1;p=!1}if(j&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),o)return!0;for(v=e.tokens.length,p?(L=e.push(\"ordered_list_open\",\"ol\",1),1!==y&&(L.attrs=[[\"start\",y]])):L=e.push(\"bullet_list_open\",\"ul\",1),L.map=m=[t,0],L.markup=String.fromCharCode(g),T=t,N=!1,A=e.md.block.ruler.getRules(\"list\"),x=e.parentType,e.parentType=\"list\";T<n;){for(C=S,b=e.eMarks[T],f=E=e.sCount[T]+S-(e.bMarks[t]+e.tShift[t]);C<b;){if(9===(a=e.src.charCodeAt(C)))E+=4-(E+e.bsCount[T])%4;else{if(32!==a)break;E++}C++}if((u=(s=C)>=b?1:E-f)>4&&(u=1),c=f+u,(L=e.push(\"list_item_open\",\"li\",1)).markup=String.fromCharCode(g),L.map=d=[t,0],w=e.tight,k=e.tShift[t],_=e.sCount[t],O=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(F=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=O,e.tShift[t]=k,e.sCount[t]=_,e.tight=w,(L=e.push(\"list_item_close\",\"li\",-1)).markup=String.fromCharCode(g),T=t=e.line,d[1]=T,s=e.bMarks[t],T>=n)break;if(e.sCount[T]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(I=!1,l=0,h=A.length;l<h;l++)if(A[l](e,T,n,!0)){I=!0;break}if(I)break;if(p){if((S=i(e,T))<0)break}else if((S=r(e,T))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(L=p?e.push(\"ordered_list_close\",\"ol\",-1):e.push(\"bullet_list_close\",\"ul\",-1)).markup=String.fromCharCode(g),m[1]=T,e.line=T,e.parentType=x,F&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&\"paragraph_open\"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n,i,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O=0,x=e.bMarks[n]+e.tShift[n],_=e.eMarks[n],k=n+1;if(e.sCount[n]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<_;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===_)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(c=e.lineMax,T=e.md.block.ruler.getRules(\"reference\"),m=e.parentType,e.parentType=\"reference\";k<c&&!e.isEmpty(k);k++)if(!(e.sCount[k]-e.blkIndent>3||e.sCount[k]<0)){for(b=!1,f=0,p=T.length;f<p;f++)if(T[f](e,k,c,!0)){b=!0;break}if(b)break}for(_=(y=e.getLines(n,k,e.blkIndent,!1).trim()).length,x=1;x<_;x++){if(91===(a=y.charCodeAt(x)))return!1;if(93===a){h=x;break}(10===a||92===a&&++x<_&&10===y.charCodeAt(x))&&O++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(x=h+2;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;if(!(v=e.md.helpers.parseLinkDestination(y,x,_)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=x=v.pos,l=O+=v.lines,g=x;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;for(v=e.md.helpers.parseLinkTitle(y,x,_),x<_&&g!==x&&v.ok?(E=v.str,x=v.pos,O+=v.lines):(E=\"\",x=s,O=l);x<_&&(a=y.charCodeAt(x),r(a));)x++;if(x<_&&10!==y.charCodeAt(x)&&E)for(E=\"\",x=s,O=l;x<_&&(a=y.charCodeAt(x),r(a));)x++;return!(x<_&&10!==y.charCodeAt(x)||!(d=t(y.slice(1,h)))||(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:E,href:u}),e.parentType=m,e.line=n+O+1),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!t(o)||(i||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&t(e.src.charCodeAt(s-1))&&(u=s),e.line=n+1,(l=e.push(\"heading_open\",\"h\"+String(a),1)).markup=\"########\".slice(0,a),l.map=[n,e.line],(l=e.push(\"inline\",\"\",0)).content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],(l=e.push(\"heading_close\",\"h\"+String(a),-1)).markup=\"########\".slice(0,a)),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s,l,c,u,f,p,d=t+1,h=e.md.block.ruler.getRules(\"paragraph\");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=\"paragraph\";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=c)){u=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push(\"heading_open\",\"h\"+String(u),1)).markup=String.fromCharCode(f),s.map=[t,e.line],(s=e.push(\"inline\",\"\",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push(\"heading_close\",\"h\"+String(u),-1)).markup=String.fromCharCode(f),e.parentType=p,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(143),r=n(66).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\\s|>|$))/i,/<\\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\\?/,/\\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\\[CDATA\\[/,/\\]\\]>/,!0],[new RegExp(\"^</?(\"+t.join(\"|\")+\")(?=(\\\\s|/?>|$))\",\"i\"),/^$/,!0],[new RegExp(r.source+\"\\\\s*$\"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o<i.length&&!i[o][0].test(l);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),i[o][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push(\"html_block\",\"\",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"meta\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"section\",\"source\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"]})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules(\"paragraph\"),u=e.lineMax;for(s=e.parentType,e.parentType=\"paragraph\";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push(\"paragraph_open\",\"p\",1)).map=[t,e.line],(a=e.push(\"inline\",\"\",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push(\"paragraph_close\",\"p\",-1),e.parentType=s,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isSpace;function i(e,t,n,i){var o,a,s,l,c,u,f,p;for(this.src=e,this.md=t,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=\"root\",this.level=0,this.result=\"\",p=!1,s=l=u=f=0,c=(a=this.src).length;l<c;l++){if(o=a.charCodeAt(l),!p){if(r(o)){u++,9===o?f+=4-f%4:f++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(f),this.bsCount.push(0),p=!1,u=0,f=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,n,r){var i=new t(e,n,r);return i.block=!0,r<0&&this.level--,i.level=this.level,r>0&&this.level++,this.tokens.push(i),i},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),r(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,i){var o,a,s,l,c,u,f,p=e;if(e>=t)return\"\";for(u=new Array(t-e),o=0;p<t;p++,o++){for(a=0,f=l=this.bMarks[p],c=p+1<t||i?this.eMarks[p]+1:this.eMarks[p];l<c&&a<n;){if(s=this.src.charCodeAt(l),r(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-f<this.tShift[p]))break;a++}l++}u[o]=a>n?new Array(a-n+1).join(\" \")+this.src.slice(l,c):this.src.slice(l,c)}return u.join(\"\")},i.prototype.Token=t,e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"text\",n(147)],[\"newline\",n(148)],[\"escape\",n(149)],[\"backticks\",n(150)],[\"strikethrough\",n(67).tokenize],[\"emphasis\",n(68).tokenize],[\"link\",n(151)],[\"image\",n(152)],[\"autolink\",n(153)],[\"html_inline\",n(154)],[\"entity\",n(155)]],i=[[\"balance_pairs\",n(156)],[\"strikethrough\",n(67).postProcess],[\"emphasis\",n(68).postProcess],[\"text_collapse\",n(157)]];function o(){var e;for(this.ruler=new t,e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1]);for(this.ruler2=new t,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(\"\"),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(\"\"),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules(\"\")).length,i=0;i<a;i++)o[i](s)},o.prototype.State=n(158),e.exports=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n){var r,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,i=e.posMax,n||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,\"\"),e.push(\"hardbreak\",\"br\",0)):(e.pending=e.pending.slice(0,-1),e.push(\"softbreak\",\"br\",0)):e.push(\"softbreak\",\"br\",0)),o++;o<i&&t(e.src.charCodeAt(o));)o++;return e.pos=o,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";for(var t=n(12).isSpace,r=[],i=0;i<256;i++)r.push(0);\"\\\\!\\\"#$%&'()*+,./:;<=>?@[]^_`{|}~-\".split(\"\").forEach((function(e){r[e.charCodeAt(0)]=1})),e.exports=function(e,n){var i,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((i=e.src.charCodeAt(o))<256&&0!==r[i])return n||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===i){for(n||e.push(\"hardbreak\",\"br\",0),o++;o<a&&(i=e.src.charCodeAt(o),t(i));)o++;return e.pos=o,!0}}return n||(e.pending+=\"\\\\\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-1!==(o=e.src.indexOf(\"`\",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push(\"code_inline\",\"code\",0)).markup=i,s.content=e.src.slice(l,o).replace(/\\n/g,\" \").replace(/^ (.+) $/,\"$1\")),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d=\"\",h=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(g=!1,c++;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(c>=m)return!1;for(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d=\"\"),v=c;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(p=u.str,c=u.pos;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);else p=\"\";(c>=m||41!==e.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[t(a)]))return e.pos=h,!1;d=f.href,p=f.title}return n||(e.pos=l,e.posMax=s,e.push(\"link_open\",\"a\",1).attrs=i=[[\"href\",d]],p&&i.push([\"title\",p]),e.md.inline.tokenize(e),e.push(\"link_close\",\"a\",-1)),e.pos=c,e.posMax=m,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d,h,m,v,g=\"\",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(u>=b)return!1;for(v=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=\"\"),v=u;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&p.ok)for(d=p.str,u=p.pos;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);else d=\"\";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[t(s)]))return e.pos=y,!1;g=f.href,d=f.title}return n||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push(\"image\",\"img\",0)).attrs=i=[[\"src\",g],[\"alt\",\"\"]],h.children=m,h.content=a,d&&i.push([\"title\",d])),e.pos=u,e.posMax=b,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/^<([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,n=/^<([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)>/;e.exports=function(e,r){var i,o,a,s,l,c,u=e.pos;return!(60!==e.src.charCodeAt(u)||(i=e.src.slice(u)).indexOf(\">\")<0||(n.test(i)?(s=(o=i.match(n))[0].slice(1,-1),l=e.md.normalizeLink(s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=o[0].length,0)):!t.test(i)||(s=(a=i.match(t))[0].slice(1,-1),l=e.md.normalizeLink(\"mailto:\"+s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=a[0].length,0))))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(66).HTML_TAG_RE;e.exports=function(e,n){var r,i,o,a=e.pos;return!(!e.md.options.html||(o=e.posMax,60!==e.src.charCodeAt(a)||a+2>=o||33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r)||!(i=e.src.slice(a).match(t))||(n||(e.push(\"html_inline\",\"\",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,0)))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(61),r=n(12).has,i=n(12).isValidEntityCode,o=n(12).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,n){var l,c,u=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<f)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(a))return n||(l=\"x\"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=i(l)?o(l):o(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(s))&&r(t,c[1]))return n||(e.pending+=t[c[1]]),e.pos+=c[0].length,!0;return n||(e.pending+=\"&\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s,l,c,u={},f=t.length;for(n=0;n<f;n++)if((i=t[n]).length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1]),a=u[i.marker][i.length%3],s=-1,r=n-i.jump-1;r>a;r-=o.jump+1)if((o=t[r]).marker===i.marker&&(-1===s&&(s=r),o.open&&o.end<0&&o.level===i.level&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l))){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+c,i.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,\"text\"===i[t].type&&t+1<o&&\"text\"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isWhiteSpace,i=n(12).isPunctChar,o=n(12).isMdAsciiPunct;function a(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=\"\",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}a.prototype.pushPending=function(){var e=new t(\"text\",\"\",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=\"\",e},a.prototype.push=function(e,n,r){this.pending&&this.pushPending();var i=new t(e,n,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},a.prototype.scanDelims=function(e,t){var n,a,s,l,c,u,f,p,d,h=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<g&&this.src.charCodeAt(h)===y;)h++;return s=h-e,a=h<g?this.src.charCodeAt(h):32,f=o(n)||i(String.fromCharCode(n)),d=o(a)||i(String.fromCharCode(a)),u=r(n),(p=r(a))?m=!1:d&&(u||f||(m=!1)),u?v=!1:f&&(p||d||(v=!1)),t?(l=m,c=v):(l=m&&(!v||f),c=v&&(!m||d)),{can_open:l,can_close:c,length:s}},a.prototype.Token=t,e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function r(e){return Object.prototype.toString.call(e)}function i(e){return\"[object Function]\"===r(e)}function o(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={\"http:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp(\"^\\\\/\\\\/\"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,\"i\")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},\"https:\":\"http:\",\"ftp:\":\"http:\",\"//\":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp(\"^\"+n.re.src_auth+\"(?:localhost|(?:(?:\"+n.re.src_domain+\")\\\\.)+\"+n.re.src_domain_root+\")\"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,\"i\")),n.re.no_http.test(r)?t>=3&&\":\"===e[t-3]||t>=3&&\"/\"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},\"mailto:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(\"^\"+n.re.src_email_name+\"@\"+n.re.src_host_strict,\"i\")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444\".split(\"|\");function c(e){var t=e.re=n(160)(e.__opts__),a=e.__tlds__.slice();function s(e){return e.replace(\"%TLDS%\",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push(\"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]\"),a.push(t.src_xn),t.src_tlds=a.join(\"|\"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),\"i\"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),\"i\"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),\"i\"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),\"i\");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema \"'+e+'\": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var o={validate:null,link:null};if(e.__compiled__[t]=o,\"[object Object]\"===r(n))return function(e){return\"[object RegExp]\"===r(e)}(n.validate)?o.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):i(n.validate)?o.validate=n.validate:c(t,n),void(i(n.normalize)?o.normalize=n.normalize:n.normalize?c(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return\"[object String]\"===r(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[\"\"]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"ig\"),e.re.pretest=RegExp(\"(\"+e.re.schema_test.source+\")|(\"+e.re.host_fuzzy_test.source+\")|@\",\"i\"),function(e){e.__index__=-1,e.__text_cache__=\"\"}(e)}function u(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new u(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,n){if(!(this instanceof p))return new p(e,n);var r;n||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(n=e,e={})),this.__opts__=t({},a,n),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=t({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},c(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,c(this),this},p.prototype.set=function(e){return this.__opts__=t(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__[\"http:\"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__=\"\",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__[\"mailto:\"]&&e.indexOf(\"@\")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__=\"mailto:\",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(this),this)},p.prototype.normalize=function(e){e.schema||(e.url=\"http://\"+e.url),\"mailto:\"!==e.schema||/^mailto:/i.test(e.url)||(e.url=\"mailto:\"+e.url)},p.prototype.onCompile=function(){},e.exports=p})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t={};return t.src_Any=n(63).source,t.src_Cc=n(64).source,t.src_Z=n(65).source,t.src_P=n(50).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(\"|\"),t.src_ZCc=[t.src_Z,t.src_Cc].join(\"|\"),t.src_pseudo_letter=\"(?:(?![><\uFF5C]|\"+t.src_ZPCc+\")\"+t.src_Any+\")\",t.src_ip4=\"(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\",t.src_auth=\"(?:(?:(?!\"+t.src_ZCc+\"|[@/\\\\[\\\\]()]).)+@)?\",t.src_port=\"(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?\",t.src_host_terminator=\"(?=$|[><\uFF5C]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><\uFF5C]|[()[\\\\]{}.,\\\"'?!\\\\-]).|\\\\[(?:(?!\"+t.src_ZCc+\"|\\\\]).)*\\\\]|\\\\((?:(?!\"+t.src_ZCc+\"|[)]).)*\\\\)|\\\\{(?:(?!\"+t.src_ZCc+'|[}]).)*\\\\}|\\\\\"(?:(?!'+t.src_ZCc+'|[\"]).)+\\\\\"|\\\\\\'(?:(?!'+t.src_ZCc+\"|[']).)+\\\\'|\\\\'(?=\"+t.src_pseudo_letter+\"|[-]).|\\\\.{2,4}[a-zA-Z0-9%/]|\\\\.(?!\"+t.src_ZCc+\"|[.]).|\"+(e&&e[\"---\"]?\"\\\\-(?!--(?:[^-]|$))(?:-*)|\":\"\\\\-+|\")+\"\\\\,(?!\"+t.src_ZCc+\").|\\\\!(?!\"+t.src_ZCc+\"|[!]).|\\\\?(?!\"+t.src_ZCc+\"|[?]).)+|\\\\/)?\",t.src_email_name='[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*',t.src_xn=\"xn--[a-z0-9\\\\-]{1,59}\",t.src_domain_root=\"(?:\"+t.src_xn+\"|\"+t.src_pseudo_letter+\"{1,63})\",t.src_domain=\"(?:\"+t.src_xn+\"|(?:\"+t.src_pseudo_letter+\")|(?:\"+t.src_pseudo_letter+\"(?:-|\"+t.src_pseudo_letter+\"){0,61}\"+t.src_pseudo_letter+\"))\",t.src_host=\"(?:(?:(?:(?:\"+t.src_domain+\")\\\\.)*\"+t.src_domain+\"))\",t.tpl_host_fuzzy=\"(?:\"+t.src_ip4+\"|(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%)))\",t.tpl_host_no_ip_fuzzy=\"(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%))\",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=\"localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:\"+t.src_ZPCc+\"|>|$))\",t.tpl_email_fuzzy='(^|[><\uFF5C]|\"|\\\\(|'+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(e,r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(){\"use strict\";\n/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o=\"object\"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,c=/^xn--/,u=/[^\\x20-\\x7E]/,f=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},d=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(p[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split(\"@\"),r=\"\";return n.length>1&&(r=n[0]+\"@\",e=n[1]),r+v((e=e.replace(f,\".\")).split(\".\"),t).join(\".\")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t=\"\";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join(\"\")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function O(e){var t,n,r,i,o,a,s,c,u,f,p,h=[],v=e.length,g=0,y=128,T=72;for((n=e.lastIndexOf(\"-\"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m(\"not-basic\"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<v;){for(o=g,a=1,s=36;i>=v&&m(\"invalid-input\"),((c=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>d((l-g)/a))&&m(\"overflow\"),g+=c*a,!(c<(u=s<=T?1:s>=T+26?26:s-T));s+=36)a>d(l/(f=36-u))&&m(\"overflow\"),a*=f;T=E(g-o,t=h.length+1,0==o),d(g/t)>l-y&&m(\"overflow\"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function x(e){var t,n,r,i,o,a,s,c,u,f,p,v,g,b,O,x=[];for(v=(e=y(e)).length,t=128,n=0,o=72,a=0;a<v;++a)(p=e[a])<128&&x.push(h(p));for(r=i=x.length,i&&x.push(\"-\");r<v;){for(s=l,a=0;a<v;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>d((l-n)/(g=r+1))&&m(\"overflow\"),n+=(s-t)*g,t=s,a=0;a<v;++a)if((p=e[a])<t&&++n>l&&m(\"overflow\"),p==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)O=c-f,b=36-f,x.push(h(T(f+O%b,0))),c=d(O/b);x.push(h(T(c,0))),o=E(n,g,r==i),n=0,++r}++n,++t}return x.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:y,encode:b},decode:O,encode:x,toASCII:function(e){return g(e,(function(e){return u.test(e)?\"xn--\"+x(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(a=function(){return s}.call(t,n,t,e))||(e.exports=a)}()},o=[],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(162)(e),n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,\"loaded\",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,\"id\",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"paragraph\"]},inline:{rules:[\"text\"],rules2:[\"balance_pairs\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"blockquote\",\"code\",\"fence\",\"heading\",\"hr\",\"html_block\",\"lheading\",\"list\",\"reference\",\"paragraph\"]},inline:{rules:[\"autolink\",\"backticks\",\"emphasis\",\"entity\",\"escape\",\"html_inline\",\"image\",\"link\",\"newline\",\"text\"],rules2:[\"balance_pairs\",\"emphasis\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.normalizeWhitespace=function(e){return e.replace(n,\" \")},e.invalidCharacters=void 0;const t=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat([\"\\u2028\",\"\\u2029\",\"\u202F\",\"\u00A0\"]);e.invalidCharacters=t;const n=new RegExp(\"[\"+t.join(\"\")+\"]\",\"g\")})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={},n=/[^\\s\\u00a0]/,r=e.Pos,i=e.cmpPos;function o(e){var t=e.search(n);return-1==t?0:t}function a(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension(\"toggleComment\",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o=\"un\":(this.lineComment(s,l,e),o=\"line\"):\"un\"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension(\"lineComment\",(function(e,i,s){s||(s=t);var l=this,c=a(l,e),u=l.getLine(e.line);if(null!=u&&(f=e,p=u,!/\\bstring\\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\\'\\\"\\`]/.test(p))){var f,p,d=s.lineComment||c.lineComment;if(d){var h=Math.min(0!=i.ch||i.line==e.line?i.line+1:i.line,l.lastLine()+1),m=null==s.padding?\" \":s.padding,v=s.commentBlankLines||e.line==i.line;l.operation((function(){if(s.indent){for(var t=null,i=e.line;i<h;++i){var a=(c=l.getLine(i)).slice(0,o(c));(null==t||t.length>a.length)&&(t=a)}for(i=e.line;i<h;++i){var c=l.getLine(i),u=t.length;(v||n.test(c))&&(c.slice(0,u)!=t&&(u=o(c)),l.replaceRange(t+d+m,r(i,0),r(i,u)))}}else for(i=e.line;i<h;++i)(v||n.test(l.getLine(i)))&&l.replaceRange(d+m,r(i,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,i,s))}})),e.defineExtension(\"blockComment\",(function(e,o,s){s||(s=t);var l=this,c=a(l,e),u=s.blockCommentStart||c.blockCommentStart,f=s.blockCommentEnd||c.blockCommentEnd;if(u&&f){if(!/\\bcomment\\b/.test(l.getTokenTypeAt(r(e.line,0)))){var p=Math.min(o.line,l.lastLine());p!=e.line&&0==o.ch&&n.test(l.getLine(p))&&--p;var d=null==s.padding?\" \":s.padding;e.line>p||l.operation((function(){if(0!=s.fullLines){var t=n.test(l.getLine(p));l.replaceRange(d+f,r(p)),l.replaceRange(u+d,r(e.line,0));var a=s.blockCommentLead||c.blockCommentLead;if(null!=a)for(var h=e.line+1;h<=p;++h)(h!=p||t)&&l.replaceRange(a+d,r(h,0))}else{var m=0==i(l.getCursor(\"to\"),o),v=!l.somethingSelected();l.replaceRange(f,o),m&&l.setSelection(v?o:l.getCursor(\"from\"),o),l.replaceRange(u,e)}}))}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&l.lineComment(e,o,s)})),e.defineExtension(\"uncomment\",(function(e,i,o){o||(o=t);var s,l=this,c=a(l,e),u=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,u),p=o.lineComment||c.lineComment,d=[],h=null==o.padding?\" \":o.padding;e:if(p){for(var m=f;m<=u;++m){var v=l.getLine(m),g=v.indexOf(p);if(g>-1&&!/comment/.test(l.getTokenTypeAt(r(m,g+1)))&&(g=-1),-1==g&&n.test(v))break e;if(g>-1&&n.test(v.slice(0,g)))break e;d.push(v)}if(l.operation((function(){for(var e=f;e<=u;++e){var t=d[e-f],n=t.indexOf(p),i=n+p.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange(\"\",r(e,n),r(e,i)))}})),s)return!0}var y=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var T=o.blockCommentLead||c.blockCommentLead,E=l.getLine(f),O=E.indexOf(y);if(-1==O)return!1;var x=u==f?E:l.getLine(u),_=x.indexOf(b,u==f?O+y.length:0),k=r(f,O+1),w=r(u,_+1);if(-1==_||!/comment/.test(l.getTokenTypeAt(k))||!/comment/.test(l.getTokenTypeAt(w))||l.getRange(k,w,\"\\n\").indexOf(b)>-1)return!1;var C=E.lastIndexOf(y,e.ch),S=-1==C?-1:E.slice(0,e.ch).indexOf(b,C+y.length);if(-1!=C&&-1!=S&&S+b.length!=e.ch)return!1;S=x.indexOf(b,i.ch);var N=x.slice(i.ch).lastIndexOf(y,S-i.ch);return C=-1==S||-1==N?-1:i.ch+N,(-1==S||-1==C||C==i.ch)&&(l.operation((function(){l.replaceRange(\"\",r(u,_-(h&&x.slice(_-h.length,_)==h?h.length:0)),r(u,_+b.length));var e=O+y.length;if(h&&E.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange(\"\",r(f,O),r(f,e)),T)for(var t=f+1;t<=u;++t){var i=l.getLine(t),o=i.indexOf(T);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+T.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange(\"\",r(t,o),r(t,a))}}})),!0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,i,o){if(i&&i.call){var a=i;i=null}else a=r(t,i,\"rangeFinder\");\"number\"==typeof n&&(n=e.Pos(n,0));var s=r(t,i,\"minFoldSize\");function l(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;for(var i=t.findMarksAt(r.from),l=0;l<i.length;++l)if(i[l].__isFold&&\"fold\"!==o){if(!e)return null;r.cleared=!0,i[l].clear()}return r}var c=l(!0);if(r(t,i,\"scanUp\"))for(;!c&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),c=l(!1);if(c&&!c.cleared&&\"unfold\"!==o){var u=function(e,t,n){var i=r(e,t,\"widget\");if(\"function\"==typeof i&&(i=i(n.from,n.to)),\"string\"==typeof i){var o=document.createTextNode(i);(i=document.createElement(\"span\")).appendChild(o),i.className=\"CodeMirror-foldmarker\"}else i&&(i=i.cloneNode(!0));return i}(t,i,c);e.on(u,\"mousedown\",(function(t){f.clear(),e.e_preventDefault(t)}));var f=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:r(t,i,\"clearOnEnter\"),__isFold:!0});f.on(\"clear\",(function(n,r){e.signal(t,\"unfold\",t,n,r)})),e.signal(t,\"fold\",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,i){t(r,i,{rangeFinder:e,widget:n})}},e.defineExtension(\"foldCode\",(function(e,n,r){t(this,e,n,r)})),e.defineExtension(\"isFolded\",(function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,\"fold\")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),null,\"unfold\")},e.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"fold\")}))},e.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"unfold\")}))},e.registerHelper(\"fold\",\"combine\",(function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}})),e.registerHelper(\"fold\",\"auto\",(function(e,t){for(var n=e.getHelpers(t,\"fold\"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}}));var n={rangeFinder:e.fold.auto,widget:\"\u2194\",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,t,r){if(t&&void 0!==t[r])return t[r];var i=e.options.foldOptions;return i&&void 0!==i[r]?i[r]:n[r]}e.defineOption(\"foldOptions\",null),e.defineExtension(\"foldOption\",(function(e,t){return r(this,e,t)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70),i=n(14);function o(e,t,n){const o=\"Invalid\"===n.state.kind?n.state.prevState:n.state;if(!o)return[];const a=o.kind,s=o.step,l=(0,r.getTypeInfo)(e,n.state);if(\"Document\"===a)return(0,r.hintList)(n,[{label:\"query\"},{label:\"mutation\"},{label:\"subscription\"},{label:\"fragment\"},{label:\"{\"}]);if(\"SelectionSet\"===a||\"Field\"===a||\"AliasedField\"===a)return function(e,t,n){if(t.parentType){const o=t.parentType,a=(0,i.isObjectType)(o)||(0,i.isInterfaceType)(o)?(0,r.objectValues)(o.getFields()):[];return(0,i.isCompositeType)(o)&&a.push(i.TypeNameMetaFieldDef),o===n.getQueryType()&&a.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),(0,r.hintList)(e,a.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return[]}(n,l,e);if(\"Arguments\"===a||\"Argument\"===a&&0===s){const e=l.argDefs;if(e)return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}if((\"ObjectValue\"===a||\"ObjectField\"===a&&0===s)&&l.objectFieldDefs){const e=(0,r.objectValues)(l.objectFieldDefs);return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}return\"EnumValue\"===a||\"ListValue\"===a&&1===s||\"ObjectField\"===a&&2===s||\"Argument\"===a&&2===s?function(e,t){const n=(0,i.getNamedType)(t.inputType);if(n instanceof i.GraphQLEnumType){const t=n.getValues();return(0,r.hintList)(e,t.map(e=>{var t;return{label:e.name,type:n,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return n===i.GraphQLBoolean?(0,r.hintList)(e,[{label:\"true\",type:i.GraphQLBoolean,documentation:\"Not false.\"},{label:\"false\",type:i.GraphQLBoolean,documentation:\"Not true.\"}]):[]}(n,l):\"TypeCondition\"===a&&1===s||\"NamedType\"===a&&null!=o.prevState&&\"TypeCondition\"===o.prevState.kind?function(e,t,n){let o;if(t.parentType)if((0,i.isAbstractType)(t.parentType)){const e=(0,i.assertAbstractType)(t.parentType),a=n.getPossibleTypes(e),s=Object.create(null);a.forEach(e=>{e.getInterfaces().forEach(e=>{s[e.name]=e})}),o=a.concat((0,r.objectValues)(s))}else o=[t.parentType];else{const e=n.getTypeMap();o=(0,r.objectValues)(e).filter(i.isCompositeType)}return(0,r.hintList)(e,o.map(e=>{const t=(0,i.getNamedType)(e);return{label:String(e),documentation:t&&t.description||\"\"}}))}(n,l,e):\"FragmentSpread\"===a&&1===s?function(e,t,n,o){const a=n.getTypeMap(),s=(0,r.getDefinitionState)(e.state),l=(0,r.getFragmentDefinitions)(o).filter(e=>a[e.typeCondition.name.value]&&!(s&&\"FragmentDefinition\"===s.kind&&s.name===e.name.value)&&(0,i.isCompositeType)(t.parentType)&&(0,i.isCompositeType)(a[e.typeCondition.name.value])&&(0,i.doTypesOverlap)(n,t.parentType,a[e.typeCondition.name.value]));return(0,r.hintList)(e,l.map(e=>({label:e.name.value,type:a[e.typeCondition.name.value],documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`})))}(n,l,e,t):\"VariableDefinition\"===a&&2===s||\"ListType\"===a&&1===s||\"NamedType\"===a&&o.prevState&&(\"VariableDefinition\"===o.prevState.kind||\"ListType\"===o.prevState.kind)?function(e,t){const n=t.getTypeMap(),o=(0,r.objectValues)(n).filter(i.isInputType);return(0,r.hintList)(e,o.map(e=>({label:e.name,documentation:e.description})))}(n,e):\"Directive\"===a?function(e,t,n){if(t.prevState&&t.prevState.kind){const i=n.getDirectives().filter(e=>(0,r.canUseDirective)(t.prevState,e));return(0,r.hintList)(e,i.map(e=>({label:e.name,documentation:e.description||\"\"})))}return[]}(n,o,e):[]}t.default.registerHelper(\"hint\",\"graphql\",(e,n)=>{const r=n.schema;if(!r)return;const i=e.getCursor(),a=e.getTokenAt(i),s=o(r,e.getValue(),a),l=null!==a.type&&/\"|\\w/.test(a.string[0])?a.start:a.end,c={list:s.map(e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})),from:{line:i.line,column:l},to:{line:i.line,column:a.end}};return c&&c.list&&c.list.length>0&&(c.from=t.default.Pos(c.from.line,c.from.column),c.to=t.default.Pos(c.to.line,c.to.column),t.default.signal(e,\"hasCompletion\",e,c,a)),c})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;return\"string\"==typeof e?(i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e):e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]),!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0===e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(73)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e={eatWhitespace:e=>e.eatWhile(t.isIgnored),lexRules:t.LexRules,parseRules:t.ParseRules,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return i(e.parseRules,t,\"Document\"),t},token:(t,s)=>function(e,t,s){const{lexRules:c,parseRules:u,eatWhitespace:f,editorConfig:p}=s;if(t.rule&&0===t.rule.length?o(t):t.needsAdvance&&(t.needsAdvance=!1,a(t,!0)),e.sol()){const n=p&&p.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(f(e))return\"ws\";const d=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(c,e);if(!d)return e.match(/\\S+/)||e.match(/\\s/),i(r,t,\"Invalid\"),\"invalidchar\";if(\"Comment\"===d.kind)return i(r,t,\"Comment\"),\"comment\";const h=n({},t);if(\"Punctuation\"===d.kind)if(/^[{([]/.test(d.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\\]]/.test(d.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(d,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&n.separator),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){i(u,t,n);continue}if(n.match&&n.match(d))return n.update&&n.update(t,d),\"Punctuation\"===d.kind?a(t,!0):t.needsAdvance=!0,n.style}l(t)}return n(t,h),i(r,t,\"Invalid\"),\"invalidchar\"}(t,s,e)}};const r={Invalid:[],Comment:[]};function i(e,t,n){if(!e[n])throw new TypeError(\"Unknown rule: \"+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function o(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function a(e,t){if(s(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)o(e),e.rule&&(s(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function s(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function l(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)o(e);e.rule&&a(e,!1)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.RuleKinds=e.AdditionalRuleKinds=void 0;const n={ALIASED_FIELD:\"AliasedField\",ARGUMENTS:\"Arguments\",SHORT_QUERY:\"ShortQuery\",QUERY:\"Query\",MUTATION:\"Mutation\",SUBSCRIPTION:\"Subscription\",TYPE_CONDITION:\"TypeCondition\",INVALID:\"Invalid\",COMMENT:\"Comment\",SCHEMA_DEF:\"SchemaDef\",SCALAR_DEF:\"ScalarDef\",OBJECT_TYPE_DEF:\"ObjectTypeDef\",OBJECT_VALUE:\"ObjectValue\",LIST_VALUE:\"ListValue\",INTERFACE_DEF:\"InterfaceDef\",UNION_DEF:\"UnionDef\",ENUM_DEF:\"EnumDef\",ENUM_VALUE:\"EnumValue\",FIELD_DEF:\"FieldDef\",INPUT_DEF:\"InputDef\",INPUT_VALUE_DEF:\"InputValueDef\",ARGUMENTS_DEF:\"ArgumentsDef\",EXTEND_DEF:\"ExtendDef\",DIRECTIVE_DEF:\"DirectiveDef\"};e.AdditionalRuleKinds=n;const r=Object.assign(Object.assign({},t.Kind),n);e.RuleKinds=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getASTNodeAtPosition=function(e,r,i){const o=n(e,i);let a;return(0,t.visit)(r,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=o&&o<=e.loc.end))return!1;a=e},leave(e){if(e.loc&&e.loc.start<=o&&o<=e.loc.end)return!1}}),a},e.pointToOffset=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.offsetToPosition=r,e.locToRange=function(e,n){const i=r(e,n.start),o=r(e,n.end);return new t(i,o)},e.Position=e.Range=void 0;class t{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new n(e,t)}setEnd(e,t){this.end=new n(e,t)}}e.Range=t;class n{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function r(e,t){const r=e.slice(0,t),i=r.split(\"\\n\").length-1,o=r.lastIndexOf(\"\\n\");return new n(i,t-o-1)}e.Position=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(176)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.validateWithCustomRules=function(e,r,i,o){const a=t.specifiedRules.filter(e=>e!==t.NoUnusedFragmentsRule&&e!==n.ExecutableDefinitions&&(!o||e!==t.KnownFragmentNamesRule));return i&&Array.prototype.push.apply(a,i),(0,t.validate)(e,r,a).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const n=e.nodes[0];if(n&&n.kind===t.Kind.DIRECTIVE){const e=n.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.r(t);var r=n(47);n.d(t,\"ExecutableDefinitions\",(function(){return r.a}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\n/*\n  object-assign\n  (c) Sindre Sorhus\n  @license MIT\n  */\n\"use strict\";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var f=0;f<s.length;f++)r.call(a,s[f])&&(l[s[f]]=a[s[f]])}}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var e=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(\" \")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if(\"%%\"===e)return\"%\";if(n>=o)return e;switch(e){case\"%s\":return String(r[n++]);case\"%d\":return Number(r[n++]);case\"%j\":try{return JSON.stringify(r[n++])}catch(e){return\"[Circular]\"}default:return e}})),l=r[n];n<o;l=r[++n])m(l)||!T(l)?a+=\" \"+l:a+=\" \"+s(l);return a},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),u(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?\"\u001B[\"+s.colors[n][0]+\"m\"+e+\"\u001B[\"+s.colors[n][1]+\"m\":e}function c(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=u(e,i,r)),i}var o=function(e,t){if(y(t))return e.stylize(\"undefined\",\"undefined\");if(g(t)){var n=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(n,\"string\")}return v(t)?e.stylize(\"\"+t,\"number\"):h(t)?e.stylize(\"\"+t,\"boolean\"):m(t)?e.stylize(\"null\",\"null\"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf(\"message\")>=0||a.indexOf(\"description\")>=0))return f(n);if(0===a.length){if(x(n)){var l=n.name?\": \"+n.name:\"\";return e.stylize(\"[Function\"+l+\"]\",\"special\")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),\"regexp\");if(E(n))return e.stylize(Date.prototype.toString.call(n),\"date\");if(O(n))return f(n)}var c,T=\"\",_=!1,k=[\"{\",\"}\"];return d(n)&&(_=!0,k=[\"[\",\"]\"]),x(n)&&(T=\" [Function\"+(n.name?\": \"+n.name:\"\")+\"]\"),b(n)&&(T=\" \"+RegExp.prototype.toString.call(n)),E(n)&&(T=\" \"+Date.prototype.toUTCString.call(n)),O(n)&&(T=\" \"+f(n)),0!==a.length||_&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(n),c=_?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)S(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push(\"\");return i.forEach((function(i){i.match(/^\\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,_)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf(\"\\n\"),e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1}),0)>60?n[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n  \")+\" \"+n[1]:n[0]+t+\" \"+e.join(\", \")+\" \"+n[1]}(c,T,k)):k[0]+T+k[1]}function f(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):l.set&&(s=e.stylize(\"[Setter]\",\"special\")),S(r,i)||(a=\"[\"+i+\"]\"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf(\"\\n\")>-1&&(s=o?s.split(\"\\n\").map((function(e){return\"  \"+e})).join(\"\\n\").substr(2):\"\\n\"+s.split(\"\\n\").map((function(e){return\"   \"+e})).join(\"\\n\")):s=e.stylize(\"[Circular]\",\"special\")),y(a)){if(o&&i.match(/^\\d+$/))return s;(a=JSON.stringify(\"\"+i)).match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,\"name\")):(a=a.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),a=e.stylize(a,\"string\"))}return a+\": \"+s}function d(e){return Array.isArray(e)}function h(e){return\"boolean\"==typeof e}function m(e){return null===e}function v(e){return\"number\"==typeof e}function g(e){return\"string\"==typeof e}function y(e){return void 0===e}function b(e){return T(e)&&\"[object RegExp]\"===_(e)}function T(e){return\"object\"==typeof e&&null!==e}function E(e){return T(e)&&\"[object Date]\"===_(e)}function O(e){return T(e)&&(\"[object Error]\"===_(e)||e instanceof Error)}function x(e){return\"function\"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?\"0\"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(o)&&(o=r.env.NODE_DEBUG||\"\"),e=e.toUpperCase(),!a[e])if(new RegExp(\"\\\\b\"+e+\"\\\\b\",\"i\").test(o)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error(\"%s %d: %s\",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return\"symbol\"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=T,t.isDate=E,t.isError=O,t.isFunction=x,t.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},t.isBuffer=n(180);var w=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function C(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(\":\");return[e.getDate(),w[e.getMonth()],t].join(\" \")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log(\"%s - %s\",C(),t.format.apply(t,arguments))},t.inherits=n(181),t._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N=\"undefined\"!=typeof Symbol?Symbol(\"util.promisify.custom\"):void 0;function D(e,t){if(!e){var n=new Error(\"Promise was rejected with a falsy value\");n.reason=e,e=n}return t(e)}t.promisify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');if(N&&t[N]){var n;if(\"function\"!=typeof(n=t[N]))throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),N&&Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,e(t))},t.promisify.custom=N,t.callbackify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');function n(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var i=e.pop();if(\"function\"!=typeof i)throw new TypeError(\"The last argument must be of type Function\");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(e){r.nextTick(a,null,e)}),(function(e){r.nextTick(D,e,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,e(t)),n}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(179))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t,n,r=e.exports={};function i(){throw new Error(\"setTimeout has not been defined\")}function o(){throw new Error(\"clearTimeout has not been defined\")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t=\"function\"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n=\"function\"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function f(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title=\"browser\",r.browser=!0,r.env={},r.argv=[],r.version=\"\",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error(\"process.binding is not supported\")},r.cwd=function(){return\"/\"},r.chdir=function(e){throw new Error(\"process.chdir is not supported\")},r.umask=function(){return 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";\"function\"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(57),n(79),n(77),n(75),n(78),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphQLLanguageService=void 0;var c=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{FRAGMENT_DEFINITION:u,OBJECT_TYPE_DEFINITION:f,INTERFACE_TYPE_DEFINITION:p,ENUM_TYPE_DEFINITION:d,UNION_TYPE_DEFINITION:h,SCALAR_TYPE_DEFINITION:m,INPUT_OBJECT_TYPE_DEFINITION:v,SCALAR_TYPE_EXTENSION:g,OBJECT_TYPE_EXTENSION:y,INTERFACE_TYPE_EXTENSION:b,UNION_TYPE_EXTENSION:T,ENUM_TYPE_EXTENSION:E,INPUT_OBJECT_TYPE_EXTENSION:O,DIRECTIVE_DEFINITION:x,FRAGMENT_SPREAD:_,OPERATION_DEFINITION:k,NAMED_TYPE:w}=n.Kind,C={[n.Kind.FIELD]:t.SymbolKind.Field,[n.Kind.OPERATION_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_SPREAD]:t.SymbolKind.Struct,[n.Kind.OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.ENUM_TYPE_DEFINITION]:t.SymbolKind.Enum,[n.Kind.ENUM_VALUE_DEFINITION]:t.SymbolKind.EnumMember,[n.Kind.INPUT_OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.INPUT_VALUE_DEFINITION]:t.SymbolKind.Field,[n.Kind.FIELD_DEFINITION]:t.SymbolKind.Field,[n.Kind.INTERFACE_TYPE_DEFINITION]:t.SymbolKind.Interface,[n.Kind.DOCUMENT]:t.SymbolKind.File,FieldWithArguments:t.SymbolKind.Method};function S(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?C.FieldWithArguments:C[e.kind]}e.GraphQLLanguageService=class{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \"+e)}getDiagnostics(e,t,r){return c(this,void 0,void 0,(function*(){let i=!1;const a=this.getConfigForURI(t);if(!a)return[];const{schema:s,name:l,extensions:c}=a;try{const r=(0,n.parse)(e);s&&t===s||(i=r.definitions.some(e=>{switch(e.kind){case f:case p:case d:case h:case m:case v:case g:case y:case b:case T:case E:case O:case x:return!0}return!1}))}catch(t){const n=(0,o.getRange)(t.locations[0],e);return[{severity:o.DIAGNOSTIC_SEVERITY.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}let u=e;const _=yield this._graphQLCache.getFragmentDefinitions(a);u=`${u} ${(yield this._graphQLCache.getFragmentDependencies(e,_)).reduce((e,t)=>`${e} ${(0,n.print)(t.definition)}`,\"\")}`;let k=null;try{k=(0,n.parse)(u)}catch(e){return[]}let w=null;(null==c?void 0:c.customValidationRules)&&\"function\"==typeof c.customValidationRules&&(w=c.customValidationRules(this._graphQLConfig));const C=yield this._graphQLCache.getSchema(l,i);return C?(0,o.validateQuery)(k,C,w,r):[]}))}getAutocompleteSuggestions(e,t,n){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(i.name),a=yield this._graphQLCache.getFragmentDefinitions(i),s=Array.from(a).map(([,e])=>e);return o?(0,r.getAutocompleteSuggestions)(o,e,t,void 0,s.map(({definition:e})=>e)):[]}))}getHoverInformation(e,t,n){return c(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(r.name);return o?(0,i.getHoverInformation)(o,e,t):\"\"}))}getDefinition(e,t,r){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(r);let o;try{o=(0,n.parse)(e)}catch(e){return null}const s=(0,l.getASTNodeAtPosition)(e,o,t);if(s)switch(s.kind){case _:return this._getDefinitionForFragmentSpread(e,o,s,r,i);case u:case k:return(0,a.getDefinitionQueryResultForDefinitionNode)(r,e,s);case w:return this._getDefinitionForNamedType(e,o,s,r,i)}return null}))}getDocumentSymbols(e,t){return c(this,void 0,void 0,(function*(){const n=yield this.getOutline(e);if(!n)return[];const r=[],i=n.outlineTrees.map(e=>[null,e]);for(;i.length>0;){const e=i.pop();if(!e)return[];const[n,o]=e;if(!o)return[];r.push({name:o.representativeName,kind:S(o),location:{uri:t,range:{start:o.startPosition,end:o.endPosition}},containerName:n?n.representativeName:void 0}),i.push(...o.children.map(e=>[o,e]))}return r}))}_getDefinitionForNamedType(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getObjectTypeDefinitions(i),s=yield this._graphQLCache.getObjectTypeDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===f||e.kind===v||e.kind===d||e.kind===m||e.kind===p).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForNamedType)(e,n,s.concat(l))}))}_getDefinitionForFragmentSpread(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getFragmentDefinitions(i),s=yield this._graphQLCache.getFragmentDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===u).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForFragmentSpread)(e,n,s.concat(l))}))}getOutline(e){return c(this,void 0,void 0,(function*(){return(0,s.getOutline)(e)}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70);const i=[\"error\",\"warning\",\"information\",\"hint\"],o={\"GraphQL: Validation\":\"validation\",\"GraphQL: Deprecation\":\"deprecation\",\"GraphQL: Syntax\":\"syntax\"};t.default.registerHelper(\"lint\",\"graphql\",(e,n)=>{const a=n.schema;return(0,r.getDiagnostics)(e,a).map(e=>({message:e.message,severity:i[e.severity-1],type:o[e.source],from:t.default.Pos(e.range.start.line,e.range.start.character),to:t.default.Pos(e.range.end.line,e.range.end.character)}))})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=n(14),t=o(n(10)),r=o(n(80)),i=n(82);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(c(e,t,n,t.parentType),f(e,\".\")),f(e,r,\"field-name\",n,(0,i.getFieldReference)(t))}function s(e,t,n){f(e,\"@\"+t.directiveDef.name,\"directive-name\",n,(0,i.getDirectiveReference)(t))}function l(e,t,n,r){f(e,\": \"),c(e,t,n,r)}function c(t,n,r,o){o instanceof e.GraphQLNonNull?(c(t,n,r,o.ofType),f(t,\"!\")):o instanceof e.GraphQLList?(f(t,\"[\"),c(t,n,r,o.ofType),f(t,\"]\")):f(t,o.name,\"type-name\",r,(0,i.getTypeReference)(n,o))}function u(e,t,n){const r=n.description;if(r){const n=document.createElement(\"div\");n.className=\"info-description\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r)),e.appendChild(n)}!function(e,t,n){const r=n.deprecationReason;if(r){const n=document.createElement(\"div\");n.className=\"info-deprecation\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r));const i=document.createElement(\"span\");i.className=\"info-deprecation-label\",i.appendChild(document.createTextNode(\"Deprecated: \")),n.insertBefore(i,n.firstChild),e.appendChild(n)}}(e,t,n)}function f(e,t,n,r={onClick:null},i){if(n){const o=r.onClick;let a;o?(a=document.createElement(\"a\"),a.href=\"javascript:void 0\",a.addEventListener(\"click\",e=>{o(i,e)})):a=document.createElement(\"span\"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n(83),t.default.registerHelper(\"info\",\"graphql\",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,o=n.kind,p=n.step,d=(0,r.default)(t.schema,e.state);if(\"Field\"===o&&0===p&&d.fieldDef||\"AliasedField\"===o&&2===p&&d.fieldDef){const e=document.createElement(\"div\");return function(e,t,n){a(e,t,n),l(e,t,n,t.type)}(e,d,t),u(e,t,d.fieldDef),e}if(\"Directive\"===o&&1===p&&d.directiveDef){const e=document.createElement(\"div\");return s(e,d,t),u(e,t,d.directiveDef),e}if(\"Argument\"===o&&0===p&&d.argDef){const e=document.createElement(\"div\");return function(e,t,n){t.directiveDef?s(e,t,n):t.fieldDef&&a(e,t,n);const r=t.argDef.name;f(e,\"(\"),f(e,r,\"arg-name\",n,(0,i.getArgumentReference)(t)),l(e,t,n,t.inputType),f(e,\")\")}(e,d,t),u(e,t,d.argDef),e}if(\"EnumValue\"===o&&d.enumValue&&d.enumValue.description){const e=document.createElement(\"div\");return function(e,t,n){const r=t.enumValue.name;c(e,t,n,t.inputType),f(e,\".\"),f(e,r,\"enum-value\",n,(0,i.getEnumValueReference)(t))}(e,d,t),u(e,t,d.enumValue),e}if(\"NamedType\"===o&&d.type&&d.type.description){const e=document.createElement(\"div\");return c(e,d,t,d.type),u(e,t,d.type),e}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=i(n(80)),r=n(82);function i(e){return e&&e.__esModule?e:{default:e}}n(186),e.default.registerHelper(\"jump\",\"graphql\",(e,n)=>{if(!n.schema||!n.onClick||!e.state)return;const i=e.state,o=i.kind,a=i.step,s=(0,t.default)(n.schema,i);return\"Field\"===o&&0===a&&s.fieldDef||\"AliasedField\"===o&&2===a&&s.fieldDef?(0,r.getFieldReference)(s):\"Directive\"===o&&1===a&&s.directiveDef?(0,r.getDirectiveReference)(s):\"Argument\"===o&&0===a&&s.argDef?(0,r.getArgumentReference)(s):\"EnumValue\"===o&&s.enumValue?(0,r.getEnumValueReference)(s):\"NamedType\"===o&&s.type?(0,r.getTypeReference)(s):void 0})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,t){const n=t.target||t.srcElement;if(\"SPAN\"!==n.nodeName)return;const r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&s(e)}function i(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&l(e):e.state.jump.cursor=null}function o(e,n){if(e.state.jump.isHoldingModifier||n.key!==(a?\"Meta\":\"Control\"))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&s(e);const r=a=>{a.code===n.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&l(e),t.default.off(document,\"keyup\",r),t.default.off(document,\"click\",i),e.off(\"mousedown\",o))},i=t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=(t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)};t.default.on(document,\"keyup\",r),t.default.on(document,\"click\",i),e.on(\"mousedown\",o)}t.default.defineOption(\"jump\",!1,(e,n,a)=>{if(a&&a!==t.default.Init){const n=e.state.jump.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n);const r=e.state.jump.onMouseOut;t.default.off(e.getWrapperElement(),\"mouseout\",r),t.default.off(document,\"keydown\",e.state.jump.onKeyDown),delete e.state.jump}if(n){const a=e.state.jump={options:n,onMouseOver:r.bind(null,e),onMouseOut:i.bind(null,e),onKeyDown:o.bind(null,e)};t.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver),t.default.on(e.getWrapperElement(),\"mouseout\",a.onMouseOut),t.default.on(document,\"keydown\",a.onKeyDown)}});const a=\"undefined\"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf(\"Mac\");function s(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,\"jump\");if(o){const t=o(r,i,e);if(t){const i=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:\"CodeMirror-jump-token\"});e.state.jump.marker=i,e.state.jump.destination=t}}}function l(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatWhile(r.isIgnored),lexRules:r.LexRules,parseRules:r.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[})\\]]/,fold:\"brace\",lineComment:\"#\",closeBrackets:{pairs:'()[]{}\"\"',explode:\"()[]{}\"}}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.VariableEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(45),n(189),n(191),n(193);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.VariableEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=o(n(10)),t=n(14),r=o(n(81)),i=o(n(190));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,n,o){const a=\"Invalid\"===n.state.kind?n.state.prevState:n.state,s=a.kind,l=a.step;if(\"Document\"===s&&0===l)return(0,i.default)(e,n,[{text:\"{\"}]);const c=o.variableToType;if(!c)return;const u=function(e,n){const i={type:null,fields:null};return(0,r.default)(n,n=>{if(\"Variable\"===n.kind)i.type=e[n.name];else if(\"ListValue\"===n.kind){const e=(0,t.getNullableType)(i.type);i.type=e instanceof t.GraphQLList?e.ofType:null}else if(\"ObjectValue\"===n.kind){const e=(0,t.getNamedType)(i.type);i.fields=e instanceof t.GraphQLInputObjectType?e.getFields():null}else if(\"ObjectField\"===n.kind){const e=n.name&&i.fields?i.fields[n.name]:null;i.type=e&&e.type}}),i}(c,n.state);if(\"Document\"===s||\"Variable\"===s&&0===l){const t=Object.keys(c);return(0,i.default)(e,n,t.map(e=>({text:`\"${e}\": `,type:c[e]})))}if((\"ObjectValue\"===s||\"ObjectField\"===s&&0===l)&&u.fields){const t=Object.keys(u.fields).map(e=>u.fields[e]);return(0,i.default)(e,n,t.map(e=>({text:`\"${e.name}\": `,type:e.type,description:e.description})))}if(\"StringValue\"===s||\"NumberValue\"===s||\"BooleanValue\"===s||\"NullValue\"===s||\"ListValue\"===s&&1===l||\"ObjectField\"===s&&2===l||\"Variable\"===s&&2===l){const r=(0,t.getNamedType)(u.type);if(r instanceof t.GraphQLInputObjectType)return(0,i.default)(e,n,[{text:\"{\"}]);if(r instanceof t.GraphQLEnumType){const t=r.getValues(),o=Object.keys(t).map(e=>t[e]);return(0,i.default)(e,n,o.map(e=>({text:`\"${e.name}\"`,type:r,description:e.description})))}if(r===t.GraphQLBoolean)return(0,i.default)(e,n,[{text:\"true\",type:t.GraphQLBoolean,description:\"Not false.\"},{text:\"false\",type:t.GraphQLBoolean,description:\"Not true.\"}])}}e.default.registerHelper(\"hint\",\"graphql-variables\",(t,n)=>{const r=t.getCursor(),i=t.getTokenAt(r),o=a(r,i,n);return o&&o.list&&o.list.length>0&&(o.from=e.default.Pos(o.from.line,o.from.column),o.to=e.default.Pos(o.to.line,o.to.column),e.default.signal(t,\"hasCompletion\",t,o,i)),o})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function e(e,t){const n=e.filter(t);return 0===n.length?e:n}function n(e){return e.toLowerCase().replace(/\\W/g,\"\")}function r(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t,i,o){const a=function(t,i){if(!i)return e(t,e=>!e.isDeprecated);const o=e(e(t.map(e=>({proximity:r(n(e.text),i),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated);return o.sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length).map(e=>e.entry)}(o,n(i.string));if(!a)return;const s=null!==i.type&&/\"|\\w/.test(i.string[0])?i.start:i.end;return{list:a,from:{line:t.line,column:s},to:{line:t.line,column:i.end}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=n(14),r=i(n(192));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,n,r){const i=[];return r.members.forEach(r=>{const o=r.key.value,l=n[o];l?function e(n,r){if(n instanceof t.GraphQLNonNull)return\"Null\"===r.kind?[[r,`Type \"${n}\" is non-nullable and cannot be null.`]]:e(n.ofType,r);if(\"Null\"===r.kind)return[];if(n instanceof t.GraphQLList){const t=n.ofType;return\"Array\"===r.kind?s(r.values,n=>e(t,n)):e(t,r)}if(n instanceof t.GraphQLInputObjectType){if(\"Object\"!==r.kind)return[[r,`Type \"${n}\" must be an Object.`]];const i=Object.create(null),o=s(r.members,t=>{const r=t.key.value;i[r]=!0;const o=n.getFields()[r];if(!o)return[[t.key,`Type \"${n}\" does not have a field \"${r}\".`]];const a=o?o.type:void 0;return e(a,t.value)});return Object.keys(n.getFields()).forEach(e=>{i[e]||n.getFields()[e].type instanceof t.GraphQLNonNull&&o.push([r,`Object of type \"${n}\" is missing required field \"${e}\".`])}),o}return\"Boolean\"===n.name&&\"Boolean\"!==r.kind||\"String\"===n.name&&\"String\"!==r.kind||\"ID\"===n.name&&\"Number\"!==r.kind&&\"String\"!==r.kind||\"Float\"===n.name&&\"Number\"!==r.kind||\"Int\"===n.name&&(\"Number\"!==r.kind||(0|r.value)!==r.value)||(n instanceof t.GraphQLEnumType||n instanceof t.GraphQLScalarType)&&(\"String\"!==r.kind&&\"Number\"!==r.kind&&\"Boolean\"!==r.kind&&\"Null\"!==r.kind||null==(i=n.parseValue(r.value))||i!=i)?[[r,`Expected value of type \"${n}\".`]]:[];var i}(l,r.value).forEach(([t,n])=>{i.push(a(e,t,n))}):i.push(a(e,r.key,`Variable \"$${o}\" does not appear in any GraphQL query.`))}),i}function a(e,t,n){return{message:n,severity:\"error\",type:\"validation\",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function s(e,t){return Array.prototype.concat.apply([],e.map(t))}e.default.registerHelper(\"lint\",\"graphql-variables\",(e,t,n)=>{if(!e)return[];let i;try{i=(0,r.default)(e)}catch(e){if(e.stack)throw e;return[a(n,e,e.message)]}const s=t.variableToType;return s?o(n,s,i):[]})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";let e,n,r,i,o,a,s;function l(){const e=r,t=[];if(p(\"{\"),!h(\"}\")){do{t.push(c())}while(h(\",\"));p(\"}\")}return{kind:\"Object\",start:e,end:o,members:t}}function c(){const e=r,t=\"String\"===s?f():null;p(\"String\"),p(\":\");const n=u();return{kind:\"Member\",start:e,end:o,key:t,value:n}}function u(){switch(s){case\"[\":return function(){const e=r,t=[];if(p(\"[\"),!h(\"]\")){do{t.push(u())}while(h(\",\"));p(\"]\")}return{kind:\"Array\",start:e,end:o,values:t}}();case\"{\":return l();case\"String\":case\"Number\":case\"Boolean\":case\"Null\":const e=f();return v(),e}return p(\"Value\")}function f(){return{kind:s,start:r,end:i,value:JSON.parse(e.slice(r,i))}}function p(t){if(s===t)return void v();let n;if(\"EOF\"===s)n=\"[end of file]\";else if(i-r>1)n=\"`\"+e.slice(r,i)+\"`\";else{const t=e.slice(r).match(/^.+?\\b/);n=\"`\"+(t?t[0]:e[r])+\"`\"}throw d(`Expected ${t} but found ${n}.`)}function d(e){return{message:e,start:r,end:i}}function h(e){if(s===e)return v(),!0}function m(){i<n&&(i++,a=i===n?0:e.charCodeAt(i))}function v(){for(o=i;9===a||10===a||13===a||32===a;)m();if(0!==a){switch(r=i,a){case 34:return s=\"String\",function(){for(m();34!==a&&a>31;)if(92===a)switch(m(),a){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:m();break;case 117:m(),g(),g(),g(),g();break;default:throw d(\"Bad character escape sequence.\")}else{if(i===n)throw d(\"Unterminated string.\");m()}if(34!==a)throw d(\"Unterminated string.\");m()}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s=\"Number\",45===a&&m(),48===a?m():y(),46===a&&(m(),y()),void(69!==a&&101!==a||(m(),43!==a&&45!==a||m(),y()));case 102:if(\"false\"!==e.slice(r,r+5))break;return i+=4,m(),void(s=\"Boolean\");case 110:if(\"null\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Null\");case 116:if(\"true\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Boolean\")}s=e[r],m()}else s=\"EOF\"}function g(){if(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)return m();throw d(\"Expected hexadecimal digit.\")}function y(){if(a<48||a>57)throw d(\"Expected decimal digit.\");do{m()}while(a>=48&&a<=57)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t){e=t,n=t.length,r=i=o=-1,m(),v();const a=l();return p(\"EOF\"),a}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-variables\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Variable\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],Variable:[s(\"variable\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],ObjectField:[s(\"attribute\"),(0,r.p)(\":\"),\"Value\"]};function s(e){return{style:e,match:e=>\"String\"===e.kind,update(e,t){e.name=t.value.slice(1,-1)}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.HeaderEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(195),n(45);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:{name:\"javascript\",json:!0},theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.HeaderEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).defineMode(\"javascript\",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\\w$\\xa1-\\uffff]/,f=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}}(),p=/[+\\-*&%=<>!?|~^@]/,d=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;function h(e,t,n){return r=e,i=n,t}function m(e,t){var n,r=e.next();if('\"'==r||\"'\"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(s&&\"@\"==e.peek()&&e.match(d))return t.tokenize=m,h(\"jsonld-keyword\",\"meta\");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&\"\\\\\"==r;return i||(t.tokenize=m),h(\"string\",\"string\")}),t.tokenize(e,t);if(\".\"==r&&e.match(/^\\d[\\d_]*(?:[eE][+\\-]?[\\d_]+)?/))return h(\"number\",\"number\");if(\".\"==r&&e.match(\"..\"))return h(\"spread\",\"meta\");if(/[\\[\\]{}\\(\\),;\\:\\.]/.test(r))return h(r);if(\"=\"==r&&e.eat(\">\"))return h(\"=>\",\"operator\");if(\"0\"==r&&e.match(/^(?:x[\\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h(\"number\",\"number\");if(/\\d/.test(r))return e.match(/^[\\d_]*(?:n|(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)?/),h(\"number\",\"number\");if(\"/\"==r)return e.eat(\"*\")?(t.tokenize=v,v(e,t)):e.eat(\"/\")?(e.skipToEnd(),h(\"comment\",\"comment\")):Qe(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if(\"/\"==t&&!r)return;\"[\"==t?r=!0:r&&\"]\"==t&&(r=!1)}n=!n&&\"\\\\\"==t}}(e),e.match(/^\\b(([gimyus])(?![gimyus]*\\2))+\\b/),h(\"regexp\",\"string-2\")):(e.eat(\"=\"),h(\"operator\",\"operator\",e.current()));if(\"`\"==r)return t.tokenize=g,g(e,t);if(\"#\"==r&&\"!\"==e.peek())return e.skipToEnd(),h(\"meta\",\"meta\");if(\"#\"==r&&e.eatWhile(u))return h(\"variable\",\"property\");if(\"<\"==r&&e.match(\"!--\")||\"-\"==r&&e.match(\"->\")&&!/\\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),h(\"comment\",\"comment\");if(p.test(r))return\">\"==r&&t.lexical&&\">\"==t.lexical.type||(e.eat(\"=\")?\"!\"!=r&&\"=\"!=r||e.eat(\"=\"):/[<>*+\\-]/.test(r)&&(e.eat(r),\">\"==r&&e.eat(r))),\"?\"==r&&e.eat(\".\")?h(\".\"):h(\"operator\",\"operator\",e.current());if(u.test(r)){e.eatWhile(u);var i=e.current();if(\".\"!=t.lastType){if(f.propertyIsEnumerable(i)){var o=f[i];return h(o.type,o.style,i)}if(\"async\"==i&&e.match(/^(\\s|\\/\\*.*?\\*\\/)*[\\[\\(\\w]/,!1))return h(\"async\",\"keyword\",i)}return h(\"variable\",\"variable\",i)}}function v(e,t){for(var n,r=!1;n=e.next();){if(\"/\"==n&&r){t.tokenize=m;break}r=\"*\"==n}return h(\"comment\",\"comment\")}function g(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&(\"`\"==n||\"$\"==n&&e.eat(\"{\"))){t.tokenize=m;break}r=!r&&\"\\\\\"==n}return h(\"quasi\",\"string-2\",e.current())}function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf(\"=>\",e.start);if(!(n<0)){if(c){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 s=e.string.charAt(a),l=\"([{}])\".indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){\"(\"==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(u.test(s))o=!0;else if(/[\"'\\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&\"\\\\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,\"jsonld-keyword\":!0};function T(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 E(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(n=r.vars;n;n=n.next)if(n.name==t)return!0}var O={state:null,column:null,marked:null,cc:null};function x(){for(var e=arguments.length-1;e>=0;e--)O.cc.push(arguments[e])}function _(){return x.apply(null,arguments),!0}function k(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function w(e){var t=O.state;if(O.marked=\"def\",t.context)if(\"var\"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new S(r,n.vars,!0):null}return k(t,n.vars)?n:new S(n.prev,new N(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!k(e,t.localVars))return void(t.localVars=new N(e,t.localVars));n.globalVars&&!k(e,t.globalVars)&&(t.globalVars=new N(e,t.globalVars))}function C(e){return\"public\"==e||\"private\"==e||\"protected\"==e||\"abstract\"==e||\"readonly\"==e}function S(e,t,n){this.prev=e,this.vars=t,this.block=n}function N(e,t){this.name=e,this.next=t}var D=new N(\"this\",new N(\"arguments\",null));function I(){O.state.context=new S(O.state.context,O.state.localVars,!1),O.state.localVars=D}function A(){O.state.context=new S(O.state.context,O.state.localVars,!0),O.state.localVars=null}function L(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}function j(e,t){var n=function(){var n=O.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 T(r,O.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function F(){var e=O.state;e.lexical.prev&&(\")\"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function M(e){return function t(n){return n==e?_():\";\"==e||\"}\"==n||\")\"==n||\"]\"==n?x():_(t)}}function R(e,t){return\"var\"==e?_(j(\"vardef\",t),ye,M(\";\"),F):\"keyword a\"==e?_(j(\"form\"),B,R,F):\"keyword b\"==e?_(j(\"form\"),R,F):\"keyword d\"==e?O.stream.match(/^\\s*$/,!1)?_():_(j(\"stat\"),H,M(\";\"),F):\"debugger\"==e?_(M(\";\")):\"{\"==e?_(j(\"}\"),A,oe,F,L):\";\"==e?_():\"if\"==e?(\"else\"==O.state.lexical.info&&O.state.cc[O.state.cc.length-1]==F&&O.state.cc.pop()(),_(j(\"form\"),B,R,F,_e)):\"function\"==e?_(Se):\"for\"==e?_(j(\"form\"),ke,R,F):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\",\"class\"==e?e:t),Le,F)):\"variable\"==e?c&&\"declare\"==t?(O.marked=\"keyword\",_(R)):c&&(\"module\"==t||\"enum\"==t||\"type\"==t)&&O.stream.match(/^\\s*\\w/,!1)?(O.marked=\"keyword\",\"enum\"==t?_(Ge):\"type\"==t?_(De,M(\"operator\"),ue,M(\";\")):_(j(\"form\"),be,M(\"{\"),j(\"}\"),oe,F,F)):c&&\"namespace\"==t?(O.marked=\"keyword\",_(j(\"form\"),V,R,F)):c&&\"abstract\"==t?(O.marked=\"keyword\",_(R)):_(j(\"stat\"),X):\"switch\"==e?_(j(\"form\"),B,M(\"{\"),j(\"}\",\"switch\"),A,oe,F,F,L):\"case\"==e?_(V,M(\":\")):\"default\"==e?_(M(\":\")):\"catch\"==e?_(j(\"form\"),I,P,R,F,L):\"export\"==e?_(j(\"stat\"),Re,F):\"import\"==e?_(j(\"stat\"),Ve,F):\"async\"==e?_(R):\"@\"==t?_(V,R):x(j(\"stat\"),V,M(\";\"),F)}function P(e){if(\"(\"==e)return _(Ie,M(\")\"))}function V(e,t){return q(e,t,!1)}function U(e,t){return q(e,t,!0)}function B(e){return\"(\"!=e?x():_(j(\")\"),H,M(\")\"),F)}function q(e,t,n){if(O.state.fatArrowAt==O.stream.start){var r=n?Y:W;if(\"(\"==e)return _(I,j(\")\"),re(Ie,\")\"),F,M(\"=>\"),r,L);if(\"variable\"==e)return x(I,be,M(\"=>\"),r,L)}var i=n?G:z;return b.hasOwnProperty(e)?_(i):\"function\"==e?_(Se,i):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\"),Ae,F)):\"keyword c\"==e||\"async\"==e?_(n?U:V):\"(\"==e?_(j(\")\"),H,M(\")\"),F,i):\"operator\"==e||\"spread\"==e?_(n?U:V):\"[\"==e?_(j(\"]\"),ze,F,i):\"{\"==e?ie(ee,\"}\",null,i):\"quasi\"==e?x(K,i):\"new\"==e?_(function(e){return function(t){return\".\"==t?_(e?$:J):\"variable\"==t&&c?_(me,e?G:z):x(e?U:V)}}(n)):\"import\"==e?_(V):_()}function H(e){return e.match(/[;\\}\\)\\],]/)?x():x(V)}function z(e,t){return\",\"==e?_(H):G(e,t,!1)}function G(e,t,n){var r=0==n?z:G,i=0==n?V:U;return\"=>\"==e?_(I,n?Y:W,L):\"operator\"==e?/\\+\\+|--/.test(t)||c&&\"!\"==t?_(r):c&&\"<\"==t&&O.stream.match(/^([^<>]|<[^<>]*>)*>\\s*\\(/,!1)?_(j(\">\"),re(ue,\">\"),F,r):\"?\"==t?_(V,M(\":\"),i):_(i):\"quasi\"==e?x(K,r):\";\"!=e?\"(\"==e?ie(U,\")\",\"call\",r):\".\"==e?_(Z,r):\"[\"==e?_(j(\"]\"),H,M(\"]\"),F,r):c&&\"as\"==t?(O.marked=\"keyword\",_(ue,r)):\"regexp\"==e?(O.state.lastType=O.marked=\"operator\",O.stream.backUp(O.stream.pos-O.stream.start-1),_(i)):void 0:void 0}function K(e,t){return\"quasi\"!=e?x():\"${\"!=t.slice(t.length-2)?_(K):_(V,Q)}function Q(e){if(\"}\"==e)return O.marked=\"string-2\",O.state.tokenize=g,_(K)}function W(e){return y(O.stream,O.state),x(\"{\"==e?R:V)}function Y(e){return y(O.stream,O.state),x(\"{\"==e?R:U)}function J(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(z)}function $(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(G)}function X(e){return\":\"==e?_(F,R):x(z,M(\";\"),F)}function Z(e){if(\"variable\"==e)return O.marked=\"property\",_()}function ee(e,t){return\"async\"==e?(O.marked=\"property\",_(ee)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",\"get\"==t||\"set\"==t?_(te):(c&&O.state.fatArrowAt==O.stream.start&&(n=O.stream.match(/^\\s*:\\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+n[0].length),_(ne))):\"number\"==e||\"string\"==e?(O.marked=s?\"property\":O.style+\" property\",_(ne)):\"jsonld-keyword\"==e?_(ne):c&&C(t)?(O.marked=\"keyword\",_(ee)):\"[\"==e?_(V,ae,M(\"]\"),ne):\"spread\"==e?_(U,ne):\"*\"==t?(O.marked=\"keyword\",_(ee)):\":\"==e?x(ne):void 0;var n}function te(e){return\"variable\"!=e?x(ne):(O.marked=\"property\",_(Se))}function ne(e){return\":\"==e?_(U):\"(\"==e?x(Se):void 0}function re(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:\",\"==i){var a=O.state.lexical;return\"call\"==a.info&&(a.pos=(a.pos||0)+1),_((function(n,r){return n==t||r==t?x():x(e)}),r)}return i==t||o==t?_():n&&n.indexOf(\";\")>-1?x(e):_(M(t))}return function(n,i){return n==t||i==t?_():x(e,r)}}function ie(e,t,n){for(var r=3;r<arguments.length;r++)O.cc.push(arguments[r]);return _(j(t,n),re(e,t),F)}function oe(e){return\"}\"==e?_():x(R,oe)}function ae(e,t){if(c){if(\":\"==e)return _(ue);if(\"?\"==t)return _(ae)}}function se(e,t){if(c&&(\":\"==e||\"in\"==t))return _(ue)}function le(e){if(c&&\":\"==e)return O.stream.match(/^\\s*\\w+\\s+is\\b/,!1)?_(V,ce,ue):_(ue)}function ce(e,t){if(\"is\"==t)return O.marked=\"keyword\",_()}function ue(e,t){return\"keyof\"==t||\"typeof\"==t||\"infer\"==t?(O.marked=\"keyword\",_(\"typeof\"==t?U:ue)):\"variable\"==e||\"void\"==t?(O.marked=\"type\",_(he)):\"|\"==t||\"&\"==t?_(ue):\"string\"==e||\"number\"==e||\"atom\"==e?_(he):\"[\"==e?_(j(\"]\"),re(ue,\"]\",\",\"),F,he):\"{\"==e?_(j(\"}\"),re(pe,\"}\",\",;\"),F,he):\"(\"==e?_(re(de,\")\"),fe,he):\"<\"==e?_(re(ue,\">\"),ue):void 0}function fe(e){if(\"=>\"==e)return _(ue)}function pe(e,t){return\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(pe)):\"?\"==t||\"number\"==e||\"string\"==e?_(pe):\":\"==e?_(ue):\"[\"==e?_(M(\"variable\"),se,M(\"]\"),pe):\"(\"==e?x(Ne,pe):void 0}function de(e,t){return\"variable\"==e&&O.stream.match(/^\\s*[?:]/,!1)||\"?\"==t?_(de):\":\"==e?_(ue):\"spread\"==e?_(de):x(ue)}function he(e,t){return\"<\"==t?_(j(\">\"),re(ue,\">\"),F,he):\"|\"==t||\".\"==e||\"&\"==t?_(ue):\"[\"==e?_(ue,M(\"]\"),he):\"extends\"==t||\"implements\"==t?(O.marked=\"keyword\",_(ue)):\"?\"==t?_(ue,M(\":\"),ue):void 0}function me(e,t){if(\"<\"==t)return _(j(\">\"),re(ue,\">\"),F,he)}function ve(){return x(ue,ge)}function ge(e,t){if(\"=\"==t)return _(ue)}function ye(e,t){return\"enum\"==t?(O.marked=\"keyword\",_(Ge)):x(be,ae,Oe,xe)}function be(e,t){return c&&C(t)?(O.marked=\"keyword\",_(be)):\"variable\"==e?(w(t),_()):\"spread\"==e?_(be):\"[\"==e?ie(Ee,\"]\"):\"{\"==e?ie(Te,\"}\"):void 0}function Te(e,t){return\"variable\"!=e||O.stream.match(/^\\s*:/,!1)?(\"variable\"==e&&(O.marked=\"property\"),\"spread\"==e?_(be):\"}\"==e?x():\"[\"==e?_(V,M(\"]\"),M(\":\"),Te):_(M(\":\"),be,Oe)):(w(t),_(Oe))}function Ee(){return x(be,Oe)}function Oe(e,t){if(\"=\"==t)return _(U)}function xe(e){if(\",\"==e)return _(ye)}function _e(e,t){if(\"keyword b\"==e&&\"else\"==t)return _(j(\"form\",\"else\"),R,F)}function ke(e,t){return\"await\"==t?_(ke):\"(\"==e?_(j(\")\"),we,F):void 0}function we(e){return\"var\"==e?_(ye,Ce):\"variable\"==e?_(Ce):x(Ce)}function Ce(e,t){return\")\"==e?_():\";\"==e?_(Ce):\"in\"==t||\"of\"==t?(O.marked=\"keyword\",_(V,Ce)):x(V,Ce)}function Se(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Se)):\"variable\"==e?(w(t),_(Se)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,R,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Se):void 0}function Ne(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Ne)):\"variable\"==e?(w(t),_(Ne)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Ne):void 0}function De(e,t){return\"keyword\"==e||\"variable\"==e?(O.marked=\"type\",_(De)):\"<\"==t?_(j(\">\"),re(ve,\">\"),F):void 0}function Ie(e,t){return\"@\"==t&&_(V,Ie),\"spread\"==e?_(Ie):c&&C(t)?(O.marked=\"keyword\",_(Ie)):c&&\"this\"==e?_(ae,Oe):x(be,ae,Oe)}function Ae(e,t){return\"variable\"==e?Le(e,t):je(e,t)}function Le(e,t){if(\"variable\"==e)return w(t),_(je)}function je(e,t){return\"<\"==t?_(j(\">\"),re(ve,\">\"),F,je):\"extends\"==t||\"implements\"==t||c&&\",\"==e?(\"implements\"==t&&(O.marked=\"keyword\"),_(c?ue:V,je)):\"{\"==e?_(j(\"}\"),Fe,F):void 0}function Fe(e,t){return\"async\"==e||\"variable\"==e&&(\"static\"==t||\"get\"==t||\"set\"==t||c&&C(t))&&O.stream.match(/^\\s+[\\w$\\xa1-\\uffff]/,!1)?(O.marked=\"keyword\",_(Fe)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(Me,Fe)):\"number\"==e||\"string\"==e?_(Me,Fe):\"[\"==e?_(V,ae,M(\"]\"),Me,Fe):\"*\"==t?(O.marked=\"keyword\",_(Fe)):c&&\"(\"==e?x(Ne,Fe):\";\"==e||\",\"==e?_(Fe):\"}\"==e?_():\"@\"==t?_(V,Fe):void 0}function Me(e,t){if(\"?\"==t)return _(Me);if(\":\"==e)return _(ue,Oe);if(\"=\"==t)return _(U);var n=O.state.lexical.prev;return x(n&&\"interface\"==n.info?Ne:Se)}function Re(e,t){return\"*\"==t?(O.marked=\"keyword\",_(He,M(\";\"))):\"default\"==t?(O.marked=\"keyword\",_(V,M(\";\"))):\"{\"==e?_(re(Pe,\"}\"),He,M(\";\")):x(R)}function Pe(e,t){return\"as\"==t?(O.marked=\"keyword\",_(M(\"variable\"))):\"variable\"==e?x(U,Pe):void 0}function Ve(e){return\"string\"==e?_():\"(\"==e?x(V):x(Ue,Be,He)}function Ue(e,t){return\"{\"==e?ie(Ue,\"}\"):(\"variable\"==e&&w(t),\"*\"==t&&(O.marked=\"keyword\"),_(qe))}function Be(e){if(\",\"==e)return _(Ue,Be)}function qe(e,t){if(\"as\"==t)return O.marked=\"keyword\",_(Ue)}function He(e,t){if(\"from\"==t)return O.marked=\"keyword\",_(V)}function ze(e){return\"]\"==e?_():x(re(U,\"]\"))}function Ge(){return x(j(\"form\"),be,M(\"{\"),j(\"}\"),re(Ke,\"}\"),F,F)}function Ke(){return x(be,Oe)}function Qe(e,t,n){return t.tokenize==m&&/^(?: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)))}return L.lex=!0,F.lex=!0,{startState:function(e){var t={tokenize:m,lastType:\"sof\",cc:[],lexical:new T((e||0)-o,0,\"block\",!1),localVars:n.localVars,context:n.localVars&&new S(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(),y(e,t)),t.tokenize!=v&&e.eatSpace())return null;var n=t.tokenize(e,t);return\"comment\"==r?n:(t.lastType=\"operator\"!=r||\"++\"!=i&&\"--\"!=i?r:\"incdec\",function(e,t,n,r,i){var o=e.cc;for(O.state=e,O.stream=i,O.marked=null,O.cc=o,O.style=t,e.lexical.hasOwnProperty(\"align\")||(e.lexical.align=!0);;)if((o.length?o.pop():l?V:R)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return O.marked?O.marked:\"variable\"==n&&E(e,r)?\"variable-2\":t}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==v)return e.Pass;if(t.tokenize!=m)return 0;var i,s=r&&r.charAt(0),l=t.lexical;if(!/^\\s*else\\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==F)l=l.prev;else if(u!=_e)break}for(;(\"stat\"==l.type||\"form\"==l.type)&&(\"}\"==s||(i=t.cc[t.cc.length-1])&&(i==z||i==G)&&!/^[,\\.=+\\-*:?[\\(]/.test(r));)l=l.prev;a&&\")\"==l.type&&\"stat\"==l.prev.type&&(l=l.prev);var f=l.type,d=s==f;return\"vardef\"==f?l.indented+(\"operator\"==t.lastType||\",\"==t.lastType?l.info.length+1:0):\"form\"==f&&\"{\"==s?l.indented:\"form\"==f?l.indented+o:\"stat\"==f?l.indented+(function(e,t){return\"operator\"==e.lastType||\",\"==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||o:0):\"switch\"!=l.info||d||0==n.doubleIndentSwitch?l.align?l.column+(d?0:1):l.indented+(d?0:o):l.indented+(/^(?:case|default)\\b/.test(r)?o:2*o)},electricInput:/^\\s*(?:case .*?:|default:|\\{|\\})$/,blockCommentStart:l?null:\"/*\",blockCommentEnd:l?null:\"*/\",blockCommentContinue:l?null:\" * \",lineComment:l?null:\"//\",fold:\"brace\",closeBrackets:\"()[]{}''\\\"\\\"``\",helperType:l?\"json\":\"javascript\",jsonldMode:s,jsonMode:l,expressionAllowed:Qe,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=V&&t!=U||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})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(197),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ResultViewer=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(...e){super(...e),a(this,\"viewer\",null),a(this,\"_node\",null)}componentDidMount(){const e=n(10);n(42),n(43),n(34),n(69),n(33),n(44),n(45),n(198);const o=this.props.ResultsTooltip,a=this.props.ImagePreview;if(o||a){n(83);const i=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(e,n,s,l)=>{const c=[];return o&&c.push(t.default.createElement(o,{pos:l})),a&&\"function\"==typeof a.shouldRender&&a.shouldRender(e)&&c.push(t.default.createElement(a,{token:e})),c.length?(r.default.render(t.default.createElement(\"div\",null,c),i),i):(r.default.unmountComponentAtNode(i),null)})}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:i.default})}shouldComponentUpdate(e){return this.props.value!==e.value}componentDidUpdate(){this.viewer&&this.viewer.setValue(this.props.value||\"\")}componentWillUnmount(){this.viewer=null}render(){return t.default.createElement(\"section\",{className:\"result-window\",\"aria-label\":\"Result Window\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",ref:e=>{e&&(this.props.registerRef(e),this._node=e)}})}getCodeMirror(){return this.viewer}getClientHeight(){return this._node&&this._node.clientHeight}}e.ResultViewer=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t){e.exports=window.ReactDOM},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-results\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Entry\",(0,r.p)(\",\")),(0,r.p)(\"}\")],Entry:[(0,r.t)(\"String\",\"def\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.p)(\",\")),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.p)(\",\")),(0,r.p)(\"}\")],ObjectField:[(0,r.t)(\"String\",\"property\"),(0,r.p)(\":\"),\"Value\"]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(200),n(202),n(203),n(204),n(205)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.DocExplorer=void 0,t=l(t),r=l(r),i=l(i),o=l(o),a=l(a),s=l(s);const u={name:\"Schema\",title:\"Documentation Explorer\"};class f extends t.default.Component{constructor(e){super(e),c(this,\"handleNavBackClick\",()=>{this.state.navStack.length>1&&this.setState({navStack:this.state.navStack.slice(0,-1)})}),c(this,\"handleClickType\",e=>{this.showDoc(e)}),c(this,\"handleClickField\",e=>{this.showDoc(e)}),c(this,\"handleSearch\",e=>{this.showSearch(e)}),this.state={navStack:[u]}}shouldComponentUpdate(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack}render(){const{schema:e}=this.props,l=this.state.navStack,c=l[l.length-1];let u;u=void 0===e?t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})):e?c.search?t.default.createElement(a.default,{searchValue:c.search,withinType:c.def,schema:e,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===l.length?t.default.createElement(i.default,{schema:e,onClickType:this.handleClickType}):(0,n.isType)(c.def)?t.default.createElement(s.default,{schema:e,type:c.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):t.default.createElement(r.default,{field:c.def,onClickType:this.handleClickType}):t.default.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");const f=1===l.length||(0,n.isType)(c.def)&&\"getFields\"in c.def;let p;return l.length>1&&(p=l[l.length-2].name),t.default.createElement(\"section\",{className:\"doc-explorer\",key:c.name,\"aria-label\":\"Documentation Explorer\"},t.default.createElement(\"div\",{className:\"doc-explorer-title-bar\"},p&&t.default.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+p},p),t.default.createElement(\"div\",{className:\"doc-explorer-title\"},c.title||c.name),t.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),t.default.createElement(\"div\",{className:\"doc-explorer-contents\"},f&&t.default.createElement(o.default,{value:c.search,placeholder:`Search ${c.name}...`,onSearch:this.handleSearch}),u))}showDoc(e){const t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})}showDocForReference(e){e&&\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)}showSearch(e){const t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]={...n,search:e},this.setState({navStack:t})}reset(){this.setState({navStack:[u]})}}e.DocExplorer=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(201),n(59),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e,onClickType:a}){let s,l;return e&&\"args\"in e&&e.args.length>0&&(s=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),e.args.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(n.default,{arg:e,onClickType:a})),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}))))),e&&e.astNode&&e.astNode.directives&&e.astNode.directives.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),e.astNode.directives.map(e=>t.default.createElement(\"div\",{key:e.name.value,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(r.default,{directive:e})))))),t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:(null==e?void 0:e.description)||\"No Description\"}),e&&\"deprecationReason\"in e&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:null==e?void 0:e.deprecationReason}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),t.default.createElement(o.default,{type:null==e?void 0:e.type,onClick:a})),s,l)},t=a(t),n=a(n),r=a(r),i=a(i),o=a(o)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({directive:e}){return t.default.createElement(\"span\",{className:\"doc-category-item\",id:e.name.value},\"@\",e.name.value)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(59)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({schema:e,onClickType:i}){const o=e.getQueryType(),a=e.getMutationType&&e.getMutationType(),s=e.getSubscriptionType&&e.getSubscriptionType();return t.default.createElement(\"div\",null,t.default.createElement(r.default,{className:\"doc-type-description\",markdown:\"A GraphQL schema provides a root type for each kind of operation.\"}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",t.default.createElement(n.default,{type:o,onClick:i})),a&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",t.default.createElement(n.default,{type:a,onClick:i})),s&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",t.default.createElement(n.default,{type:s,onClick:i}))))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(85)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=r(t),n=r(n);class o extends t.default.Component{constructor(e){super(e),i(this,\"debouncedOnSearch\",void 0),i(this,\"handleChange\",e=>{const t=e.currentTarget.value;this.setState({value:t}),this.debouncedOnSearch(t)}),i(this,\"handleClear\",()=>{this.setState({value:\"\"}),this.props.onSearch(\"\")}),this.state={value:e.value||\"\"},this.debouncedOnSearch=(0,n.default)(200,this.props.onSearch)}render(){return t.default.createElement(\"label\",{className:\"search-box\"},t.default.createElement(\"div\",{className:\"search-box-icon\",\"aria-hidden\":\"true\"},\"\u26B2\"),t.default.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder,\"aria-label\":this.props.placeholder}),this.state.value&&t.default.createElement(\"button\",{className:\"search-box-clear\",onClick:this.handleClear,\"aria-label\":\"Clear search input\"},\"\u2715\"))}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=i(t),n=i(n),r=i(r);class o extends t.default.Component{shouldComponentUpdate(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue}render(){const e=this.props.searchValue,i=this.props.withinType,o=this.props.schema,s=this.props.onClickType,l=this.props.onClickField,c=[],u=[],f=[],p=o.getTypeMap();let d=Object.keys(p);i&&(d=d.filter(e=>e!==i.name),d.unshift(i.name));for(const o of d){if(c.length+u.length+f.length>=100)break;const d=p[o];if(i!==d&&a(o,e)&&u.push(t.default.createElement(\"div\",{className:\"doc-category-item\",key:o},t.default.createElement(r.default,{type:d,onClick:s}))),\"getFields\"in d){const u=d.getFields();Object.keys(u).forEach(p=>{const h=u[p];let m;if(!a(p,e)){if(!(\"args\"in h)||!h.args.length)return;if(m=h.args.filter(t=>a(t.name,e)),0===m.length)return}const v=t.default.createElement(\"div\",{className:\"doc-category-item\",key:o+\".\"+p},i!==d&&[t.default.createElement(r.default,{key:\"type\",type:d,onClick:s}),\".\"],t.default.createElement(\"a\",{className:\"field-name\",onClick:e=>l(h,d,e)},h.name),m&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},m.map(e=>t.default.createElement(n.default,{key:e.name,arg:e,onClickType:s,showDefaultValue:!1}))),\")\"]);i===d?c.push(v):f.push(v)})}}return c.length+u.length+f.length===0?t.default.createElement(\"span\",{className:\"doc-alert-text\"},\"No results found.\"):i&&u.length+f.length>0?t.default.createElement(\"div\",null,c,t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),u,f)):t.default.createElement(\"div\",null,c,u,f)}}function a(e,t){try{const n=t.replace(/[^_0-9A-Za-z]/g,e=>\"\\\\\"+e);return-1!==e.search(new RegExp(n,\"i\"))}catch(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(58),n(59),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=s(t),r=s(r),i=s(i),o=s(o),a=s(a);class l extends t.default.Component{constructor(e){var t,n,r;super(e),r=()=>this.setState({showDeprecated:!0}),(n=\"handleShowDeprecated\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.state={showDeprecated:!1}}shouldComponentUpdate(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated}render(){const e=this.props.schema,r=this.props.type,a=this.props.onClickType,s=this.props.onClickField;let l,f,p,d,h,m=null,v=[];if(r instanceof n.GraphQLUnionType?(m=\"possible types\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLInterfaceType?(m=\"implementations\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLObjectType&&(m=\"implements\",v=r.getInterfaces()),v&&v.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},m),v.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(o.default,{type:e,onClick:a}))))),\"getFields\"in r){const e=r.getFields(),n=Object.keys(e).map(t=>e[t]);f=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),n.filter(e=>!(\"isDeprecated\"in e)||!e.isDeprecated).map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})));const i=n.filter(e=>\"isDeprecated\"in e&&e.isDeprecated);i.length>0&&(p=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?i.map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(r instanceof n.GraphQLEnumType){const e=r.getValues();d=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),e.filter(e=>!e.isDeprecated).map(e=>t.default.createElement(u,{key:e.name,value:e})));const n=e.filter(e=>e.isDeprecated);n.length>0&&(h=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?n.map(e=>t.default.createElement(u,{key:e.name,value:e})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:\"description\"in r&&r.description||\"No Description\"}),r instanceof n.GraphQLObjectType&&l,f,p,d,h,!(r instanceof n.GraphQLObjectType)&&l)}}function c({type:e,field:n,onClickType:s,onClickField:l}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"a\",{className:\"field-name\",onClick:t=>l(n,e,t)},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},n.args.map(e=>t.default.createElement(r.default,{key:e.name,arg:e,onClickType:s}))),\")\"],\": \",t.default.createElement(o.default,{type:n.type,onClick:s}),t.default.createElement(a.default,{field:n}),n.description&&t.default.createElement(i.default,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function u({value:e}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"div\",{className:\"enum-value\"},e.name),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}),e.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:e.deprecationReason}))}e.default=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(16),n(207),n(208)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryHistory=void 0,n=o(n),r=o(r),i=o(i);class l extends n.default.Component{constructor(e){super(e),s(this,\"historyStore\",void 0),s(this,\"favoriteStore\",void 0),s(this,\"updateHistory\",(e,n,r,i)=>{if(((e,n,r,i)=>{if(!e)return!1;try{(0,t.parse)(e)}catch(e){return!1}if(e.length>1e5)return!1;if(!i)return!0;if(JSON.stringify(e)===JSON.stringify(i.query)){if(JSON.stringify(n)===JSON.stringify(i.variables)){if(JSON.stringify(r)===JSON.stringify(i.headers))return!1;if(r&&!i.headers)return!1}if(n&&!i.variables)return!1}return!0})(e,n,r,this.historyStore.fetchRecent())){this.historyStore.push({query:e,variables:n,headers:r,operationName:i});const t=this.historyStore.items,o=this.favoriteStore.items,a=t.concat(o);this.setState({queries:a})}}),s(this,\"toggleFavorite\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};this.favoriteStore.contains(a)?o&&(a.favorite=!1,this.favoriteStore.delete(a)):(a.favorite=!0,this.favoriteStore.push(a)),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),s(this,\"editLabel\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};o?this.favoriteStore.edit({...a,favorite:o}):this.historyStore.edit(a),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),this.historyStore=new r.default(\"queries\",e.storage,20),this.favoriteStore=new r.default(\"favorites\",e.storage,null);const n=this.historyStore.fetchAll(),i=this.favoriteStore.fetchAll(),o=n.concat(i);this.state={queries:o}}render(){const e=this.state.queries.slice().reverse().map((e,t)=>n.default.createElement(i.default,a({handleEditLabel:this.editLabel,handleToggleFavorite:this.toggleFavorite,key:`${t}:${e.label||e.query}`,onSelect:this.props.onSelectQuery},e)));return n.default.createElement(\"section\",{\"aria-label\":\"History\"},n.default.createElement(\"div\",{className:\"history-title-bar\"},n.default.createElement(\"div\",{className:\"history-title\"},\"History\"),n.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),n.default.createElement(\"ul\",{className:\"history-contents\"},e))}}e.QueryHistory=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"items\",void 0),this.items=this.fetchAll()}get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1,e),this.save())}delete(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items[this.items.length-1]}fetchAll(){const e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){const t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){const e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(e&&e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"editField\",void 0),this.state={editable:!1},this.editField=null}render(){var e;const n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split(\"\\n\").filter(e=>0!==e.indexOf(\"#\")).join(\"\")),r=this.props.favorite?\"\u2605\":\"\u2606\";return t.default.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?t.default.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:e=>{this.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):t.default.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),t.default.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"\u270E\"),t.default.createElement(\"button\",{className:this.props.favorite?\"favorited\":void 0,onClick:this.handleStarClick.bind(this),\"aria-label\":this.props.favorite?\"Remove favorite\":\"Add favorite\"},r))}handleClick(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)}handleStarClick(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)}handleFieldBlur(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)}handleFieldKeyDown(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))}handleEditClick(e){e.stopPropagation(),this.setState({editable:!0},()=>{this.editField&&this.editField.focus()})}}e.default=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(){var e,t,n;n=[],(t=\"sizes\")in(e=this)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}updateSizes(e){e.forEach((e,t)=>{if(e){const n=e.getClientHeight();if(t<=this.sizes.length&&n!==this.sizes[t]){const t=e.getCodeMirror();t&&t.setSize(null,null)}this.sizes[t]=n}})}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){var t,n,r;r=void 0,(n=\"storage\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.storage=e||(\"undefined\"!=typeof window?window.localStorage:null)}get(e){if(this.storage){const t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"===t||\"undefined\"===t)return this.storage.removeItem(\"graphiql:\"+e),null;if(t)return t}return null}set(e,t){let n=!1,r=null;if(this.storage){const i=\"graphiql:\"+e;if(t)try{this.storage.setItem(i,t)}catch(e){r=e,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}(this.storage,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,n){const r=Object.create(null);return n.definitions.forEach(n=>{if(\"OperationDefinition\"===n.kind){const i=n.variableDefinitions;i&&i.forEach(({variable:n,type:i})=>{const o=(0,t.typeFromAST)(e,i);o&&(r[n.name.value]=o)})}}),r}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r){if(!r)return;let i;try{i=(0,t.parse)(r)}catch{return}const o=e?n(e,i):void 0,a=[];return i.definitions.forEach(e=>{\"OperationDefinition\"===e.kind&&a.push(e)}),{variableToType:o,operations:a}},e.collectVariables=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t,n){if(!n||n.length<1)return;const r=n.map(e=>e.name&&e.name.value);if(t&&-1!==r.indexOf(t))return t;if(t&&e){const n=e.map(e=>e.name&&e.name.value).indexOf(t);if(-1!==n&&n<r.length)return r[n]}return r[0]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e){if(!(\"getFields\"in e))return[];const n=e.getFields();if(n.id)return[\"id\"];if(n.edges)return[\"edges\"];if(n.node)return[\"node\"];const r=[];return Object.keys(n).forEach(e=>{(0,t.isLeafType)(n[e].type)&&r.push(e)}),r}function r(e,t){if(0===t.length)return e;let n=\"\",r=0;return t.forEach(({index:t,string:i})=>{n+=e.slice(r,t)+i,r=t}),n+=e.slice(r),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.fillLeafs=function(e,i,o){const a=[];if(!e||!i)return{insertions:a,result:i};let s;try{s=(0,t.parse)(i)}catch(e){return{insertions:a,result:i}}const l=o||n,c=new t.TypeInfo(e);return(0,t.visit)(s,{leave(e){c.leave(e)},enter(e){if(c.enter(e),\"Field\"===e.kind&&!e.selectionSet){const n=function e(n,r){const i=(0,t.getNamedType)(n);if(!n||(0,t.isLeafType)(n))return;const o=r(i);return Array.isArray(o)&&0!==o.length&&\"getFields\"in i?{kind:\"SelectionSet\",selections:o.map(t=>{const n=i.getFields()[t],o=n?n.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,r)}})}:void 0}(function(e){if(e)return e}(c.getType()),l);if(n&&e.loc){const r=function(e,t){let n=t,r=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.substring(n,r)}(i,e.loc.start);a.push({index:e.loc.end,string:\" \"+(0,t.print)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:a,result:r(i,a)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getLeft=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t},e.getTop=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=new Map,r=[];for(const i of e)if(\"Field\"===i.kind){const e=t(i),o=n.get(e);if(i.directives&&i.directives.length){const e={...i};r.push(e)}else if(o&&o.selectionSet&&i.selectionSet)o.selectionSet.selections=[...o.selectionSet.selections,...i.selectionSet.selections];else if(!o){const t={...i};n.set(e,t),r.push(t)}}else r.push(i);return r}function r(e,n,i){const o=i?(0,t.getNamedType)(i).name:null,a=[],s=[];for(let t of n){var l;if(\"FragmentSpread\"===t.kind){const n=t.name.value;if(!t.directives||0===t.directives.length){if(s.indexOf(n)>=0)continue;s.push(n)}const r=e[t.name.value];if(r){const{typeCondition:e,directives:n,selectionSet:i}=r;t={kind:\"InlineFragment\",typeCondition:e,directives:n,selectionSet:i}}}if(\"InlineFragment\"===t.kind&&(!t.directives||0===(null===(l=t.directives)||void 0===l?void 0:l.length))){const n=t.typeCondition?t.typeCondition.name.value:null;if(!n||n===o){a.push(...r(e,t.selectionSet.selections,i));continue}}a.push(t)}return a}Object.defineProperty(e,\"__esModule\",{value:!0}),e.uniqueBy=n,e.inlineRelevantFragmentSpreads=r,e.default=function(e,i){const o=i?new t.TypeInfo(i):null,a=Object.create(null);for(const t of e.definitions)\"FragmentDefinition\"===t.kind&&(a[t.name.value]=t);const s={SelectionSet(e){const t=o?o.getParentType():null;let{selections:i}=e;return i=r(a,i,t),i=n(i,e=>e.alias?e.alias.value:e.name.value),{...e,selections:i}},FragmentDefinition:()=>null};return(0,t.visit)(e,o?(0,t.visitWithTypeInfo)(o,s):s)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.introspectionQuerySansSubscriptions=e.introspectionQueryName=e.staticName=e.introspectionQuery=void 0;const n=(0,t.getIntrospectionQuery)();e.introspectionQuery=n,e.staticName=\"IntrospectionQuery\",e.introspectionQueryName=\"IntrospectionQuery\";const r=n.replace(\"subscriptionType { name }\",\"\");e.introspectionQuerySansSubscriptions=r})?r.apply(t,i):r)||(e.exports=o)}]).default;\n//# sourceMappingURL=graphiql.min.js.map"}
  </script>
</head>
<body>
  <div id="graphiql">Loading...</div>
  <script>
    // Collect the URL parameters
    var parameters = {};
    window.location.search.substr(1).split('&').forEach(function (entry) {
      var eq = entry.indexOf('=');
      if (eq >= 0) {
        parameters[decodeURIComponent(entry.slice(0, eq))] =
          decodeURIComponent(entry.slice(eq + 1));
      }
    });
    // Produce a Location query string from a parameter object.
    function locationQuery(params) {
      return '?' + Object.keys(params).filter(function (key) {
        return Boolean(params[key]);
      }).map(function (key) {
        return encodeURIComponent(key) + '=' +
          encodeURIComponent(params[key]);
      }).join('&');
    }
    // Derive a fetch URL from the current URL, sans the GraphQL parameters.
    var graphqlParamNames = {
      query: true,
      variables: true,
      operationName: true
    };
    var otherParams = {};
    for (var k in parameters) {
      if (parameters.hasOwnProperty(k) && graphqlParamNames[k] !== true) {
        otherParams[k] = parameters[k];
      }
    }
    var fetchURL = locationQuery(otherParams);
    // Defines a GraphQL fetcher using the fetch API.
    function graphQLFetcher(graphQLParams, opts) {
      return fetch(fetchURL, {
        method: 'post',
        headers: Object.assign(
          {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
          },
          opts && opts.headers,
        ),
        body: JSON.stringify(graphQLParams),
        credentials: 'include',
      }).then(function (response) {
        return response.json();
      });
    }
    // When the query and variables string is edited, update the URL bar so
    // that it can be easily shared.
    function onEditQuery(newQuery) {
      parameters.query = newQuery;
      updateURL();
    }
    function onEditVariables(newVariables) {
      parameters.variables = newVariables;
      updateURL();
    }
    function onEditOperationName(newOperationName) {
      parameters.operationName = newOperationName;
      updateURL();
    }
    function updateURL() {
      history.replaceState(null, null, locationQuery(parameters));
    }
    // Render <GraphiQL /> into the body.
    ReactDOM.render(
      React.createElement(GraphiQL, {
        fetcher: graphQLFetcher,
        onEditQuery: onEditQuery,
        onEditVariables: onEditVariables,
        onEditOperationName: onEditOperationName,
        query: ${safeSerialize(queryString)},
        response: ${safeSerialize(resultString)},
        variables: ${safeSerialize(variablesString)},
        operationName: ${safeSerialize(operationName)},
        defaultQuery: ${safeSerialize(defaultQuery)},
        headerEditorEnabled: ${safeSerialize(headerEditorEnabled)},
      }),
      document.getElementById('graphiql')
    );
  </script>
</body>
</html>`;
}
function renderGraphiQL ( data , options ) { const queryString = data . query ; const variablesString = data . variables != null ? JSON . stringify ( data . variables , null , 2 ) : null ; const resultString = data . result != null ? JSON . stringify ( data . result , null , 2 ) : null ; const operationName = data . operationName ; const defaultQuery = options === null || options === void 0 ? void 0 : options . defaultQuery ; const headerEditorEnabled = options === null || options === void 0 ? void 0 : options . headerEditorEnabled ; return ` ${ ".graphiql-container,\n.graphiql-container button,\n.graphiql-container input {\n  color: #141823;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 14px;\n}\n\n.graphiql-container {\n  display: flex;\n  flex-direction: row;\n  height: 100%;\n  margin: 0;\n  overflow: hidden;\n  width: 100%;\n}\n\n.graphiql-container .editorWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  overflow-x: hidden;\n}\n\n.graphiql-container .title {\n  font-size: 18px;\n}\n\n.graphiql-container .title em {\n  font-family: georgia;\n  font-size: 19px;\n}\n\n.graphiql-container .topBarWrap {\n  display: flex;\n  flex-direction: row;\n}\n\n.graphiql-container .topBar {\n  align-items: center;\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-bottom: 1px solid #d0d0d0;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n  height: 34px;\n  overflow-y: visible;\n  padding: 7px 14px 6px;\n  user-select: none;\n}\n\n.graphiql-container .toolbar {\n  overflow-x: visible;\n  display: flex;\n}\n\n.graphiql-container .docExplorerShow,\n.graphiql-container .historyShow {\n  background: linear-gradient(#f7f7f7, #e2e2e2);\n  border-radius: 0;\n  border-bottom: 1px solid #d0d0d0;\n  border-right: none;\n  border-top: none;\n  color: #3B5998;\n  cursor: pointer;\n  font-size: 14px;\n  margin: 0;\n  padding: 2px 20px 0 18px;\n}\n\n.graphiql-container .docExplorerShow {\n  border-left: 1px solid rgba(0, 0, 0, 0.2);\n}\n\n.graphiql-container .historyShow {\n  border-right: 1px solid rgba(0, 0, 0, 0.2);\n  border-left: 0;\n}\n\n.graphiql-container .docExplorerShow:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .editorBar {\n  display: flex;\n  flex-direction: row;\n  flex: 1;\n}\n\n.graphiql-container .queryWrap {\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n}\n\n.graphiql-container .resultWrap {\n  border-left: solid 1px #e0e0e0;\n  display: flex;\n  flex-direction: column;\n  flex: 1;\n  flex-basis: 1em;\n  position: relative;\n}\n\n.graphiql-container .docExplorerWrap,\n.graphiql-container .historyPaneWrap {\n  background: white;\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);\n  position: relative;\n  z-index: 3;\n}\n\n.graphiql-container .historyPaneWrap {\n  min-width: 230px;\n  z-index: 5;\n}\n\n.graphiql-container .docExplorerResizer {\n  cursor: col-resize;\n  height: 100%;\n  left: -5px;\n  position: absolute;\n  top: 0;\n  width: 10px;\n  z-index: 10;\n}\n\n.graphiql-container .docExplorerHide {\n  cursor: pointer;\n  font-size: 18px;\n  margin: -7px -8px -6px 0;\n  padding: 18px 16px 15px 12px;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.graphiql-container div .query-editor {\n  flex: 1;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor {\n  display: flex;\n  flex-direction: column;\n  height: 30px;\n  position: relative;\n}\n\n.graphiql-container .secondary-editor-title {\n  background: #eeeeee;\n  border-bottom: 1px solid #d6d6d6;\n  border-top: 1px solid #e0e0e0;\n  color: #777;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 14px;\n  padding: 6px 0 8px 43px;\n  text-transform: lowercase;\n  user-select: none;\n}\n\n.graphiql-container .codemirrorWrap {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .result-window {\n  flex: 1;\n  height: 100%;\n  position: relative;\n}\n\n.graphiql-container .footer {\n  background: #f6f7f8;\n  border-left: 1px solid #e0e0e0;\n  border-top: 1px solid #e0e0e0;\n  margin-left: 12px;\n  position: relative;\n}\n\n.graphiql-container .footer:before {\n  background: #eeeeee;\n  bottom: 0;\n  content: \" \";\n  left: -13px;\n  position: absolute;\n  top: -1px;\n  width: 12px;\n}\n\n/* No `.graphiql-container` here so themes can overwrite */\n\n.result-window .CodeMirror {\n  background: #f6f7f8;\n}\n\n.graphiql-container .result-window .CodeMirror-gutters {\n  background-color: #eeeeee;\n  border-color: #e0e0e0;\n  cursor: col-resize;\n}\n\n.graphiql-container .result-window .CodeMirror-foldgutter,\n.graphiql-container .result-window .CodeMirror-foldgutter-open:after,\n.graphiql-container .result-window .CodeMirror-foldgutter-folded:after {\n  padding-left: 3px;\n}\n\n.graphiql-container .toolbar-button {\n  background: #fdfdfd;\n  background: linear-gradient(#f9f9f9, #ececec);\n  border: 0;\n  border-radius: 3px;\n  box-shadow:\n    inset 0 0 0 1px rgba(0,0,0,0.20),\n    0 1px 0 rgba(255,255,255, 0.7),\n    inset 0 1px #fff;\n  color: #555;\n  cursor: pointer;\n  display: inline-block;\n  margin: 0 5px;\n  padding: 3px 11px 5px;\n  text-decoration: none;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  max-width: 150px;\n}\n\n.graphiql-container .toolbar-button:active {\n  background: linear-gradient(#ececec, #d5d5d5);\n  box-shadow:\n    0 1px 0 rgba(255, 255, 255, 0.7),\n    inset 0 0 0 1px rgba(0,0,0,0.10),\n    inset 0 1px 1px 1px rgba(0, 0, 0, 0.12),\n    inset 0 0 5px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-button.error {\n  background: linear-gradient(#fdf3f3, #e6d6d7);\n  color: #b00;\n}\n\n.graphiql-container .toolbar-button-group {\n  margin: 0 5px;\n  white-space: nowrap;\n}\n\n.graphiql-container .toolbar-button-group > * {\n  margin: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:last-child) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.graphiql-container .toolbar-button-group > *:not(:first-child) {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n  margin-left: -1px;\n}\n\n.graphiql-container .execute-button-wrap {\n  height: 34px;\n  margin: 0 14px 0 28px;\n  position: relative;\n}\n\n.graphiql-container .execute-button {\n  background: linear-gradient(#fdfdfd, #d2d3d6);\n  border-radius: 17px;\n  border: 1px solid rgba(0,0,0,0.25);\n  box-shadow: 0 1px 0 #fff;\n  cursor: pointer;\n  fill: #444;\n  height: 34px;\n  margin: 0;\n  padding: 0;\n  width: 34px;\n}\n\n.graphiql-container .execute-button svg {\n  pointer-events: none;\n}\n\n.graphiql-container .execute-button:active {\n  background: linear-gradient(#e6e6e6, #c3c3c3);\n  box-shadow:\n    0 1px 0 #fff,\n    inset 0 0 2px rgba(0, 0, 0, 0.2),\n    inset 0 0 6px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container .toolbar-menu,\n.graphiql-container .toolbar-select {\n  position: relative;\n}\n\n.graphiql-container .execute-options,\n.graphiql-container .toolbar-menu-items,\n.graphiql-container .toolbar-select-options {\n  background: #fff;\n  box-shadow:\n    0 0 0 1px rgba(0,0,0,0.1),\n    0 2px 4px rgba(0,0,0,0.25);\n  margin: 0;\n  padding: 6px 0;\n  position: absolute;\n  z-index: 100;\n}\n\n.graphiql-container .execute-options {\n  min-width: 100px;\n  top: 37px;\n  left: -1px;\n}\n\n.graphiql-container .toolbar-menu-items {\n  left: 1px;\n  margin-top: -1px;\n  min-width: 110%;\n  top: 100%;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-menu-items.open {\n  visibility: visible;\n}\n\n.graphiql-container .toolbar-select-options {\n  left: 0;\n  min-width: 100%;\n  top: -5px;\n  visibility: hidden;\n}\n\n.graphiql-container .toolbar-select-options.open {\n  visibility: visible;\n}\n\n.graphiql-container .execute-options > li,\n.graphiql-container .toolbar-menu-items > li,\n.graphiql-container .toolbar-select-options > li {\n  cursor: pointer;\n  display: block;\n  margin: none;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 20px 4px 11px;\n  white-space: nowrap;\n}\n\n.graphiql-container .execute-options > li.selected,\n.graphiql-container .toolbar-menu-items > li.hover,\n.graphiql-container .toolbar-menu-items > li:active,\n.graphiql-container .toolbar-menu-items > li:hover,\n.graphiql-container .toolbar-select-options > li.hover,\n.graphiql-container .toolbar-select-options > li:active,\n.graphiql-container .toolbar-select-options > li:hover,\n.graphiql-container .history-contents > li:hover,\n.graphiql-container .history-contents > li:active {\n  background: #e10098;\n  color: #fff;\n}\n\n.graphiql-container .toolbar-select-options > li > svg {\n  display: inline;\n  fill: #666;\n  margin: 0 -6px 0 6px;\n  pointer-events: none;\n  vertical-align: middle;\n}\n\n.graphiql-container .toolbar-select-options > li.hover > svg,\n.graphiql-container .toolbar-select-options > li:active > svg,\n.graphiql-container .toolbar-select-options > li:hover > svg {\n  fill: #fff;\n}\n\n.graphiql-container .CodeMirror-scroll {\n  overflow-scrolling: touch;\n}\n\n.graphiql-container .CodeMirror {\n  color: #141823;\n  font-family:\n    'Consolas',\n    'Inconsolata',\n    'Droid Sans Mono',\n    'Monaco',\n    monospace;\n  font-size: 13px;\n  height: 100%;\n  left: 0;\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n\n.graphiql-container .CodeMirror-lines {\n  padding: 20px 0;\n}\n\n.CodeMirror-hint-information .content {\n  box-orient: vertical;\n  color: #141823;\n  display: flex;\n  font-family: system, -apple-system, 'San Francisco', '.SFNSDisplay-Regular', 'Segoe UI', Segoe, 'Segoe WP', 'Helvetica Neue', helvetica, 'Lucida Grande', arial, sans-serif;\n  font-size: 13px;\n  line-clamp: 3;\n  line-height: 16px;\n  max-height: 48px;\n  overflow: hidden;\n  text-overflow: -o-ellipsis-lastline;\n}\n\n.CodeMirror-hint-information .content p:first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-information .content p:last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-hint-information .infoType {\n  color: #CA9800;\n  cursor: pointer;\n  display: inline;\n  margin-right: 0.5em;\n}\n\n.autoInsertedLeaf.cm-property {\n  animation-duration: 6s;\n  animation-name: insertionFade;\n  border-bottom: 2px solid rgba(255, 255, 255, 0);\n  border-radius: 2px;\n  margin: -2px -4px -1px;\n  padding: 2px 4px 1px;\n}\n\n@keyframes insertionFade {\n  from, to {\n    background: rgba(255, 255, 255, 0);\n    border-color: rgba(255, 255, 255, 0);\n  }\n\n  15%, 85% {\n    background: #fbffc9;\n    border-color: #f0f3c0;\n  }\n}\n\ndiv.CodeMirror-lint-tooltip {\n  background-color: white;\n  border-radius: 2px;\n  border: 0;\n  color: #141823;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-size: 13px;\n  line-height: 16px;\n  max-width: 430px;\n  opacity: 0;\n  padding: 8px 10px;\n  transition: opacity 0.15s;\n  white-space: pre-wrap;\n}\n\ndiv.CodeMirror-lint-tooltip > * {\n  padding-left: 23px;\n}\n\ndiv.CodeMirror-lint-tooltip > * + * {\n  margin-top: 12px;\n}\n\n/* COLORS */\n\n.graphiql-container .CodeMirror-foldmarker {\n  border-radius: 4px;\n  background: #08f;\n  background: linear-gradient(#43A8FF, #0F83E8);\n  box-shadow:\n    0 1px 1px rgba(0, 0, 0, 0.2),\n    inset 0 0 0 1px rgba(0, 0, 0, 0.1);\n  color: white;\n  font-family: arial;\n  font-size: 12px;\n  line-height: 0;\n  margin: 0 3px;\n  padding: 0px 4px 1px;\n  text-shadow: 0 -1px rgba(0, 0, 0, 0.1);\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-matchingbracket {\n  color: #555;\n  text-decoration: underline;\n}\n\n.graphiql-container div.CodeMirror span.CodeMirror-nonmatchingbracket {\n  color: #f00;\n}\n\n/* Comment */\n\n.cm-comment {\n  color: #999;\n}\n\n/* Punctuation */\n\n.cm-punctuation {\n  color: #555;\n}\n\n/* Keyword */\n\n.cm-keyword {\n  color: #B11A04;\n}\n\n/* OperationName, FragmentName */\n\n.cm-def {\n  color: #D2054E;\n}\n\n/* FieldName */\n\n.cm-property {\n  color: #1F61A0;\n}\n\n/* FieldAlias */\n\n.cm-qualifier {\n  color: #1C92A9;\n}\n\n/* ArgumentName and ObjectFieldName */\n\n.cm-attribute {\n  color: #8B2BB9;\n}\n\n/* Number */\n\n.cm-number {\n  color: #2882F9;\n}\n\n/* String */\n\n.cm-string {\n  color: #D64292;\n}\n\n/* Boolean */\n\n.cm-builtin {\n  color: #D47509;\n}\n\n/* EnumValue */\n\n.cm-string-2 {\n  color: #0B7FC7;\n}\n\n/* Variable */\n\n.cm-variable {\n  color: #397D13;\n}\n\n/* Directive */\n\n.cm-meta {\n  color: #B33086;\n}\n\n/* Type */\n\n.cm-atom {\n  color: #CA9800;\n}\n\n/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  color: black;\n  font-family: monospace;\n  height: 300px;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n\n.CodeMirror-linenumbers {}\n\n.CodeMirror-linenumber {\n  color: #999;\n  min-width: 20px;\n  padding: 0 3px 0 5px;\n  text-align: right;\n  white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror .CodeMirror-cursor {\n  border-left: 1px solid black;\n}\n\n/* Shown when moving in bi-directional text */\n\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {\n  background: #7e7;\n  border: 0;\n  width: auto;\n}\n\n.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {\n  z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n  animation: blink 1.06s steps(1) infinite;\n  border: 0;\n  width: auto;\n}\n\n@keyframes blink {\n  0% { background: #7e7; }\n  50% { background: none; }\n  100% { background: #7e7; }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n\ndiv.CodeMirror-overwrite div.CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-ruler {\n  border-left: 1px solid #ccc;\n  position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {color: #708;}\n\n.cm-s-default .cm-atom {color: #219;}\n\n.cm-s-default .cm-number {color: #164;}\n\n.cm-s-default .cm-def {color: #00f;}\n\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n\n.cm-s-default .cm-variable-2 {color: #05a;}\n\n.cm-s-default .cm-variable-3 {color: #085;}\n\n.cm-s-default .cm-comment {color: #a50;}\n\n.cm-s-default .cm-string {color: #a11;}\n\n.cm-s-default .cm-string-2 {color: #f50;}\n\n.cm-s-default .cm-meta {color: #555;}\n\n.cm-s-default .cm-qualifier {color: #555;}\n\n.cm-s-default .cm-builtin {color: #30a;}\n\n.cm-s-default .cm-bracket {color: #997;}\n\n.cm-s-default .cm-tag {color: #170;}\n\n.cm-s-default .cm-attribute {color: #00c;}\n\n.cm-s-default .cm-header {color: blue;}\n\n.cm-s-default .cm-quote {color: #090;}\n\n.cm-s-default .cm-hr {color: #999;}\n\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-negative {color: #d44;}\n\n.cm-positive {color: #292;}\n\n.cm-header, .cm-strong {font-weight: bold;}\n\n.cm-em {font-style: italic;}\n\n.cm-link {text-decoration: underline;}\n\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-error {color: #f00;}\n\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\n\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  background: white;\n  overflow: hidden;\n  position: relative;\n}\n\n.CodeMirror-scroll {\n  height: 100%;\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  outline: none; /* Prevent dragging from highlighting the element */\n  overflow: scroll !important; /* Things will break if this is overridden */\n  padding-bottom: 30px;\n  position: relative;\n}\n\n.CodeMirror-sizer {\n  border-right: 30px solid transparent;\n  position: relative;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actual scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  display: none;\n  position: absolute;\n  z-index: 6;\n}\n\n.CodeMirror-vscrollbar {\n  overflow-x: hidden;\n  overflow-y: scroll;\n  right: 0; top: 0;\n}\n\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-x: scroll;\n  overflow-y: hidden;\n}\n\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  min-height: 100%;\n  position: absolute; left: 0; top: 0;\n  z-index: 3;\n}\n\n.CodeMirror-gutter {\n  display: inline-block;\n  height: 100%;\n  margin-bottom: -30px;\n  vertical-align: top;\n  white-space: normal;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n\n.CodeMirror-gutter-wrapper {\n  background: none !important;\n  border: none !important;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-background {\n  position: absolute;\n  top: 0; bottom: 0;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-elt {\n  cursor: default;\n  position: absolute;\n  z-index: 4;\n}\n\n.CodeMirror-gutter-wrapper {\n  user-select: none;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n  min-height: 1px; /* prevents collapsing before first draw */\n}\n\n.CodeMirror pre {\n  -webkit-tap-highlight-color: transparent;\n  /* Reset some styles that the rest of the page might have set */\n  background: transparent;\n  border-radius: 0;\n  border-width: 0;\n  color: inherit;\n  font-family: inherit;\n  font-size: inherit;\n  font-variant-ligatures: none;\n  line-height: inherit;\n  margin: 0;\n  overflow: visible;\n  position: relative;\n  white-space: pre;\n  word-wrap: normal;\n  z-index: 2;\n}\n\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  overflow: auto;\n  position: relative;\n  z-index: 2;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-code {\n  outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n  box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n  height: 0;\n  overflow: hidden;\n  position: absolute;\n  visibility: hidden;\n  width: 100%;\n}\n\n.CodeMirror-cursor { position: absolute; }\n\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n  position: relative;\n  visibility: hidden;\n  z-index: 3;\n}\n\ndiv.CodeMirror-dragcursors {\n  visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n\n.CodeMirror-crosshair { cursor: crosshair; }\n\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n\n.CodeMirror span { *vertical-align: text-bottom; }\n\n/* Used to force a border model for a node */\n\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursors {\n    visibility: hidden;\n  }\n}\n\n/* See issue #2901 */\n\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\n\nspan.CodeMirror-selectedtext { background: none; }\n\n.CodeMirror-dialog {\n  background: inherit;\n  color: inherit;\n  left: 0; right: 0;\n  overflow: hidden;\n  padding: .1em .8em;\n  position: absolute;\n  z-index: 15;\n}\n\n.CodeMirror-dialog-top {\n  border-bottom: 1px solid #eee;\n  top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n  border-top: 1px solid #eee;\n  bottom: 0;\n}\n\n.CodeMirror-dialog input {\n  background: transparent;\n  border: 1px solid #d3d6db;\n  color: inherit;\n  font-family: monospace;\n  outline: none;\n  width: 20em;\n}\n\n.CodeMirror-dialog button {\n  font-size: 70%;\n}\n\n.CodeMirror-foldmarker {\n  color: blue;\n  cursor: pointer;\n  font-family: arial;\n  line-height: .3;\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n}\n.CodeMirror-foldgutter {\n  width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n  cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n  content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n  content: \"\\25B8\";\n}\n\n.CodeMirror-info {\n  background: white;\n  border-radius: 2px;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  box-sizing: border-box;\n  color: #555;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-width: 400px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 8px 8px;\n  position: fixed;\n  transition: opacity 0.15s;\n  z-index: 50;\n}\n\n.CodeMirror-info :first-child {\n  margin-top: 0;\n}\n\n.CodeMirror-info :last-child {\n  margin-bottom: 0;\n}\n\n.CodeMirror-info p {\n  margin: 1em 0;\n}\n\n.CodeMirror-info .info-description {\n  color: #777;\n  line-height: 16px;\n  margin-top: 1em;\n  max-height: 80px;\n  overflow: hidden;\n}\n\n.CodeMirror-info .info-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: -8px;\n  margin-top: 8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n}\n\n.CodeMirror-info .info-deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-info .info-deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-info a {\n  text-decoration: none;\n}\n\n.CodeMirror-info a:hover {\n  text-decoration: underline;\n}\n\n.CodeMirror-info .type-name {\n  color: #CA9800;\n}\n\n.CodeMirror-info .field-name {\n  color: #1F61A0;\n}\n\n.CodeMirror-info .enum-value {\n  color: #0B7FC7;\n}\n\n.CodeMirror-info .arg-name {\n  color: #8B2BB9;\n}\n\n.CodeMirror-info .directive-name {\n  color: #B33086;\n}\n\n.CodeMirror-jump-token {\n  text-decoration: underline;\n  cursor: pointer;\n}\n\n/* The lint marker gutter */\n.CodeMirror-lint-markers {\n  width: 16px;\n}\n.CodeMirror-lint-tooltip {\n  background-color: infobackground;\n  border-radius: 4px 4px 4px 4px;\n  border: 1px solid black;\n  color: infotext;\n  font-family: monospace;\n  font-size: 10pt;\n  max-width: 600px;\n  opacity: 0;\n  overflow: hidden;\n  padding: 2px 5px;\n  position: fixed;\n  transition: opacity .4s;\n  white-space: pre-wrap;\n  z-index: 100;\n}\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\n  background-position: left bottom;\n  background-repeat: repeat-x;\n}\n.CodeMirror-lint-mark-error {\n  background-image:\n  url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")\n  ;\n}\n.CodeMirror-lint-mark-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\n  background-position: center center;\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  height: 16px;\n  position: relative;\n  vertical-align: middle;\n  width: 16px;\n}\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\n  background-position: top left;\n  background-repeat: no-repeat;\n  padding-left: 18px;\n}\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n.CodeMirror-lint-marker-multiple {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n  background-position: right bottom;\n  background-repeat: no-repeat;\n  width: 100%; height: 100%;\n}\n\n.graphiql-container .spinner-container {\n  height: 36px;\n  left: 50%;\n  position: absolute;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  width: 36px;\n  z-index: 10;\n}\n\n.graphiql-container .spinner {\n  animation: rotation .6s infinite linear;\n  border-bottom: 6px solid rgba(150, 150, 150, .15);\n  border-left: 6px solid rgba(150, 150, 150, .15);\n  border-radius: 100%;\n  border-right: 6px solid rgba(150, 150, 150, .15);\n  border-top: 6px solid rgba(150, 150, 150, .8);\n  display: inline-block;\n  height: 24px;\n  position: absolute;\n  vertical-align: middle;\n  width: 24px;\n}\n\n@keyframes rotation {\n  from { transform: rotate(0deg); }\n  to { transform: rotate(359deg); }\n}\n\n.CodeMirror-hints {\n  background: white;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n  font-size: 13px;\n  list-style: none;\n  margin-left: -6px;\n  margin: 0;\n  max-height: 14.5em;\n  overflow: hidden;\n  overflow-y: auto;\n  padding: 0;\n  position: absolute;\n  z-index: 10;\n}\n\n.CodeMirror-hint {\n  border-top: solid 1px #f7f7f7;\n  color: #141823;\n  cursor: pointer;\n  margin: 0;\n  max-width: 300px;\n  overflow: hidden;\n  padding: 2px 6px;\n  white-space: pre;\n}\n\nli.CodeMirror-hint-active {\n  background-color: #08f;\n  border-top-color: white;\n  color: white;\n}\n\n.CodeMirror-hint-information {\n  border-top: solid 1px #c0c0c0;\n  max-width: 300px;\n  padding: 4px 6px;\n  position: relative;\n  z-index: 1;\n}\n\n.CodeMirror-hint-information:first-child {\n  border-bottom: solid 1px #c0c0c0;\n  border-top: none;\n  margin-bottom: -1px;\n}\n\n.CodeMirror-hint-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 1px 1px -1px #bfb063;\n  color: #867F70;\n  font-family:\n    system,\n    -apple-system,\n    'San Francisco',\n    '.SFNSDisplay-Regular',\n    'Segoe UI',\n    Segoe,\n    'Segoe WP',\n    'Helvetica Neue',\n    helvetica,\n    'Lucida Grande',\n    arial,\n    sans-serif;\n  font-size: 13px;\n  line-height: 16px;\n  margin-top: 4px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 6px;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label {\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.CodeMirror-hint-deprecation .deprecation-label + * {\n  margin-top: 0;\n}\n\n.CodeMirror-hint-deprecation :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .doc-explorer {\n  background: white;\n}\n\n.graphiql-container .doc-explorer-title-bar,\n.graphiql-container .history-title-bar {\n  cursor: default;\n  display: flex;\n  height: 34px;\n  line-height: 14px;\n  padding: 8px 8px 5px;\n  position: relative;\n  user-select: none;\n}\n\n.graphiql-container .doc-explorer-title,\n.graphiql-container .history-title {\n  flex: 1;\n  font-weight: bold;\n  overflow-x: hidden;\n  padding: 10px 0 10px 10px;\n  text-align: center;\n  text-overflow: ellipsis;\n  user-select: text;\n  white-space: nowrap;\n}\n\n.graphiql-container .doc-explorer-back {\n  color: #3B5998;\n  cursor: pointer;\n  margin: -7px 0 -6px -8px;\n  overflow-x: hidden;\n  padding: 17px 12px 16px 16px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  background: 0;\n  border: 0;\n  line-height: 14px;\n}\n\n.doc-explorer-narrow .doc-explorer-back {\n  width: 0;\n}\n\n.graphiql-container .doc-explorer-back:before {\n  border-left: 2px solid #3B5998;\n  border-top: 2px solid #3B5998;\n  content: '';\n  display: inline-block;\n  height: 9px;\n  margin: 0 3px -1px 0;\n  position: relative;\n  transform: rotate(-45deg);\n  width: 9px;\n}\n\n.graphiql-container .doc-explorer-rhs {\n  position: relative;\n}\n\n.graphiql-container .doc-explorer-contents,\n.graphiql-container .history-contents {\n  background-color: #ffffff;\n  border-top: 1px solid #d6d6d6;\n  bottom: 0;\n  left: 0;\n  overflow-y: auto;\n  padding: 20px 15px;\n  position: absolute;\n  right: 0;\n  top: 47px;\n}\n\n.graphiql-container .doc-explorer-contents {\n  min-width: 300px;\n}\n\n.graphiql-container .doc-type-description p:first-child ,\n.graphiql-container .doc-type-description blockquote:first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-explorer-contents a {\n  cursor: pointer;\n  text-decoration: none;\n}\n\n.graphiql-container .doc-explorer-contents a:hover {\n  text-decoration: underline;\n}\n\n.graphiql-container .doc-value-description > :first-child {\n  margin-top: 4px;\n}\n\n.graphiql-container .doc-value-description > :last-child {\n  margin-bottom: 4px;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-type-description pre,\n.graphiql-container .doc-category code,\n.graphiql-container .doc-category pre {\n  --saf-0: rgba(var(--sk_foreground_low,29,28,29),0.13);\n  font-size: 12px;\n  line-height: 1.50001;\n  font-variant-ligatures: none;\n  white-space: pre;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  word-break: normal;\n  -webkit-tab-size: 4;\n  -moz-tab-size: 4;\n  tab-size: 4;\n}\n\n.graphiql-container .doc-type-description code,\n.graphiql-container .doc-category code {\n  padding: 2px 3px 1px;\n  border: 1px solid var(--saf-0);\n  border-radius: 3px;\n  background-color: rgba(var(--sk_foreground_min,29,28,29),.04);\n  color: #e01e5a;\n  background-color: white;\n}\n\n.graphiql-container .doc-category {\n  margin: 20px 0;\n}\n\n.graphiql-container .doc-category-title {\n  border-bottom: 1px solid #e0e0e0;\n  color: #777;\n  cursor: default;\n  font-size: 14px;\n  font-variant: small-caps;\n  font-weight: bold;\n  letter-spacing: 1px;\n  margin: 0 -15px 10px 0;\n  padding: 10px 0;\n  user-select: none;\n}\n\n.graphiql-container .doc-category-item {\n  margin: 12px 0;\n  color: #555;\n}\n\n.graphiql-container .keyword {\n  color: #B11A04;\n}\n\n.graphiql-container .type-name {\n  color: #CA9800;\n}\n\n.graphiql-container .field-name {\n  color: #1F61A0;\n}\n\n.graphiql-container .field-short-description {\n  color: #999;\n  margin-left: 5px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.graphiql-container .enum-value {\n  color: #0B7FC7;\n}\n\n.graphiql-container .arg-name {\n  color: #8B2BB9;\n}\n\n.graphiql-container .arg {\n  display: block;\n  margin-left: 1em;\n}\n\n.graphiql-container .arg:first-child:last-child,\n.graphiql-container .arg:first-child:nth-last-child(2),\n.graphiql-container .arg:first-child:nth-last-child(2) ~ .arg {\n  display: inherit;\n  margin: inherit;\n}\n\n.graphiql-container .arg:first-child:nth-last-child(2):after {\n  content: ', ';\n}\n\n.graphiql-container .arg-default-value {\n  color: #43A047;\n}\n\n.graphiql-container .doc-deprecation {\n  background: #fffae8;\n  box-shadow: inset 0 0 1px #bfb063;\n  color: #867F70;\n  line-height: 16px;\n  margin: 8px -8px;\n  max-height: 80px;\n  overflow: hidden;\n  padding: 8px;\n  border-radius: 3px;\n}\n\n.graphiql-container .doc-deprecation:before {\n  content: 'Deprecated:';\n  color: #c79b2e;\n  cursor: default;\n  display: block;\n  font-size: 9px;\n  font-weight: bold;\n  letter-spacing: 1px;\n  line-height: 1;\n  padding-bottom: 5px;\n  text-transform: uppercase;\n  user-select: none;\n}\n\n.graphiql-container .doc-deprecation > :first-child {\n  margin-top: 0;\n}\n\n.graphiql-container .doc-deprecation > :last-child {\n  margin-bottom: 0;\n}\n\n.graphiql-container .show-btn {\n  -webkit-appearance: initial;\n  display: block;\n  border-radius: 3px;\n  border: solid 1px #ccc;\n  text-align: center;\n  padding: 8px 12px 10px;\n  width: 100%;\n  box-sizing: border-box;\n  background: #fbfcfc;\n  color: #555;\n  cursor: pointer;\n}\n\n.graphiql-container .search-box {\n  border-bottom: 1px solid #d3d6db;\n  display: block;\n  font-size: 14px;\n  margin: -15px -15px 12px 0;\n  position: relative;\n}\n\n.graphiql-container .search-box-icon {\n  cursor: pointer;\n  display: block;\n  font-size: 24px;\n  position: absolute;\n  top: -2px;\n  transform: rotate(-45deg);\n  user-select: none;\n}\n\n.graphiql-container .search-box .search-box-clear {\n  background-color: #d0d0d0;\n  border-radius: 12px;\n  color: #fff;\n  cursor: pointer;\n  font-size: 11px;\n  padding: 1px 5px 2px;\n  position: absolute;\n  right: 3px;\n  top: 8px;\n  user-select: none;\n  border: 0;\n}\n\n.graphiql-container .search-box .search-box-clear:hover {\n  background-color: #b9b9b9;\n}\n\n.graphiql-container .search-box > input {\n  border: none;\n  box-sizing: border-box;\n  font-size: 14px;\n  outline: none;\n  padding: 6px 24px 8px 20px;\n  width: 100%;\n}\n\n.graphiql-container .error-container {\n  font-weight: bold;\n  left: 0;\n  letter-spacing: 1px;\n  opacity: 0.5;\n  position: absolute;\n  right: 0;\n  text-align: center;\n  text-transform: uppercase;\n  top: 50%;\n  transform: translate(0, -50%);\n}\n\n.graphiql-container .history-contents {\n  font-family: 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace;\n}\n\n.graphiql-container .history-contents {\n  margin: 0;\n  padding: 0;\n}\n\n.graphiql-container .history-contents li {\n  align-items: center;\n  display: flex;\n  font-size: 12px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  margin: 0;\n  padding: 8px;\n  border-bottom: 1px solid #e0e0e0;\n}\n\n.graphiql-container .history-contents li button:not(.history-label) {\n  display: none;\n  margin-left: 10px;\n}\n\n.graphiql-container .history-contents li:hover button:not(.history-label),\n.graphiql-container .history-contents li:focus-within button:not(.history-label) {\n  display: inline-block;\n}\n\n.graphiql-container .history-contents input,\n.graphiql-container .history-contents button {\n  padding: 0;\n  background: 0;\n  border: 0;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: 14px;\n  color: inherit;\n}\n\n.graphiql-container .history-contents input {\n  flex-grow: 1;\n}\n\n.graphiql-container .history-contents input::placeholder {\n  color: inherit;\n}\n\n.graphiql-container .history-contents button {\n  cursor: pointer;\n  text-align: left;\n}\n\n.graphiql-container .history-contents .history-label {\n  flex-grow: 1;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n" } ${ "!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t():\"function\"==typeof define&&define.amd?define(t):t()}(0,function(){\"use strict\";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){function o(e,n){if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var f=n.then;if(\"function\"==typeof f)return void f.call(n,function(t){o(e,t)},function(n){r[e]={status:\"rejected\",reason:n},0==--i&&t(r)})}r[e]={status:\"fulfilled\",value:n},0==--i&&t(r)}if(!e||\"undefined\"==typeof e.length)return n(new TypeError(typeof e+\" \"+e+\" is not iterable(cannot read property Symbol(Symbol.iterator))\"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})}function n(e){return!(!e||\"undefined\"==typeof e.length)}function o(){}function r(e){if(!(this instanceof r))throw new TypeError(\"Promises must be constructed via new\");if(\"function\"!=typeof e)throw new TypeError(\"not a function\");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],l(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(r){return void u(t.promise,r)}f(t.promise,o)}else(1===e._state?f:u)(t.promise,e._value)})):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError(\"A promise cannot be resolved with itself.\");if(t&&(\"object\"==typeof t||\"function\"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void c(e);if(\"function\"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,c(e)}catch(o){u(e,o)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;n>t;t++)i(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,u(t,e))})}catch(o){if(n)return;n=!0,u(t,o)}}var a=setTimeout;r.prototype[\"catch\"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled=\"function\"==typeof e?e:null,this.onRejected=\"function\"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype[\"finally\"]=e,r.all=function(e){return new r(function(t,o){function r(e,n){try{if(n&&(\"object\"==typeof n||\"function\"==typeof n)){var u=n.then;if(\"function\"==typeof u)return void u.call(n,function(t){r(e,t)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError(\"Promise.all accepts an array\"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},r.allSettled=t,r.resolve=function(e){return e&&\"object\"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,o){if(!n(e))return o(new TypeError(\"Promise.race accepts an array\"));for(var i=0,f=e.length;f>i;i++)r.resolve(e[i]).then(t,o)})},r._immediateFn=\"function\"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn(\"Possible Unhandled Promise Rejection:\",e)};var s=function(){if(\"undefined\"!=typeof self)return self;if(\"undefined\"!=typeof window)return window;if(\"undefined\"!=typeof global)return global;throw Error(\"unable to locate global object\")}();\"function\"!=typeof s.Promise?s.Promise=r:s.Promise.prototype[\"finally\"]?s.Promise.allSettled||(s.Promise.allSettled=t):s.Promise.prototype[\"finally\"]=e});\n" } ${ "!function(e,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof define&&define.amd?define(n):e.unfetch=n()}(this,function(){return function(e,n){return n=n||{},new Promise(function(t,o){var r=new XMLHttpRequest,s=[],u=[],i={},f=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:f,headers:{keys:function(){return s},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var a in r.open(n.method||\"get\",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(e,n,t){s.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+\",\"+t:t}),t(f())},r.onerror=o,r.withCredentials=\"include\"==n.credentials,n.headers)r.setRequestHeader(a,n.headers[a]);r.send(n.body||null)})}});\n//# sourceMappingURL=unfetch.umd.js.map\n" } ${ "/** @license React v16.14.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';(function(d,r){\"object\"===typeof exports&&\"undefined\"!==typeof module?r(exports):\"function\"===typeof define&&define.amd?define([\"exports\"],r):(d=d||self,r(d.React={}))})(this,function(d){function r(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction w(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function da(){}function L(a,b,c){this.props=a;this.context=b;this.refs=ba;this.updater=c||ca}function ea(a,b,c){var g,e={},fa=null,d=null;if(null!=b)for(g in void 0!==b.ref&&(d=b.ref),void 0!==b.key&&(fa=\"\"+b.key),b)ha.call(b,g)&&!ia.hasOwnProperty(g)&&(e[g]=b[g]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),f=0;f<h;f++)k[f]=arguments[f+2];e.children=k}if(a&&a.defaultProps)for(g in h=a.defaultProps,\nh)void 0===e[g]&&(e[g]=h[g]);return{$$typeof:x,type:a,key:fa,ref:d,props:e,_owner:M.current}}function va(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===x}function wa(a){var b={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+(\"\"+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,g){if(C.length){var e=C.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=g;e.count=0;return e}return{result:a,keyPrefix:b,func:c,\ncontext:g,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>C.length&&C.push(a)}function O(a,b,c,g){var e=typeof a;if(\"undefined\"===e||\"boolean\"===e)a=null;var d=!1;if(null===a)d=!0;else switch(e){case \"string\":case \"number\":d=!0;break;case \"object\":switch(a.$$typeof){case x:case xa:d=!0}}if(d)return c(g,a,\"\"===b?\".\"+P(a,0):b),1;d=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+P(e,f);d+=O(e,h,c,g)}else if(null===a||\n\"object\"!==typeof a?h=null:(h=la&&a[la]||a[\"@@iterator\"],h=\"function\"===typeof h?h:null),\"function\"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+P(e,f++),d+=O(e,h,c,g);else if(\"object\"===e)throw c=\"\"+a,Error(r(31,\"[object Object]\"===c?\"object with keys {\"+Object.keys(a).join(\", \")+\"}\":c,\"\"));return d}function Q(a,b,c){return null==a?0:O(a,\"\",b,c)}function P(a,b){return\"object\"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,\na.count++)}function za(a,b,c){var g=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?R(a,g,c,function(a){return a}):null!=a&&(N(a)&&(a=va(a,e+(!a.key||b&&b.key===a.key?\"\":(\"\"+a.key).replace(ma,\"$&/\")+\"/\")+c)),g.push(a))}function R(a,b,c,g,e){var d=\"\";null!=c&&(d=(\"\"+c).replace(ma,\"$&/\")+\"/\");b=ja(b,d,g,e);Q(a,za,b);ka(b)}function t(){var a=na.current;if(null===a)throw Error(r(321));return a}function S(a,b){var c=a.length;a.push(b);a:for(;;){var g=c-1>>>1,e=a[g];if(void 0!==\ne&&0<D(e,b))a[g]=b,a[c]=e,c=g;else break a}}function n(a){a=a[0];return void 0===a?null:a}function E(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var g=0,e=a.length;g<e;){var d=2*(g+1)-1,f=a[d],h=d+1,k=a[h];if(void 0!==f&&0>D(f,c))void 0!==k&&0>D(k,f)?(a[g]=k,a[h]=c,g=h):(a[g]=f,a[d]=c,g=d);else if(void 0!==k&&0>D(k,c))a[g]=k,a[h]=c,g=h;else break a}}return b}return null}function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function F(a){for(var b=n(u);null!==\nb;){if(null===b.callback)E(u);else if(b.startTime<=a)E(u),b.sortIndex=b.expirationTime,S(p,b);else break;b=n(u)}}function T(a){y=!1;F(a);if(!v)if(null!==n(p))v=!0,z(U);else{var b=n(u);null!==b&&G(T,b.startTime-a)}}function U(a,b){v=!1;y&&(y=!1,V());H=!0;var c=m;try{F(b);for(l=n(p);null!==l&&(!(l.expirationTime>b)||a&&!W());){var g=l.callback;if(null!==g){l.callback=null;m=l.priorityLevel;var e=g(l.expirationTime<=b);b=q();\"function\"===typeof e?l.callback=e:l===n(p)&&E(p);F(b)}else E(p);l=n(p)}if(null!==\nl)var d=!0;else{var f=n(u);null!==f&&G(T,f.startTime-b);d=!1}return d}finally{l=null,m=c,H=!1}}function oa(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var f=\"function\"===typeof Symbol&&Symbol.for,x=f?Symbol.for(\"react.element\"):60103,xa=f?Symbol.for(\"react.portal\"):60106,Aa=f?Symbol.for(\"react.fragment\"):60107,Ba=f?Symbol.for(\"react.strict_mode\"):60108,Ca=f?Symbol.for(\"react.profiler\"):60114,Da=f?Symbol.for(\"react.provider\"):60109,\nEa=f?Symbol.for(\"react.context\"):60110,Fa=f?Symbol.for(\"react.forward_ref\"):60112,Ga=f?Symbol.for(\"react.suspense\"):60113,Ha=f?Symbol.for(\"react.memo\"):60115,Ia=f?Symbol.for(\"react.lazy\"):60116,la=\"function\"===typeof Symbol&&Symbol.iterator,pa=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Ka=Object.prototype.propertyIsEnumerable,I=function(){try{if(!Object.assign)return!1;var a=new String(\"abc\");a[5]=\"de\";if(\"5\"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b[\"_\"+\nString.fromCharCode(a)]=a;if(\"0123456789\"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(\"\"))return!1;var c={};\"abcdefghijklmnopqrst\".split(\"\").forEach(function(a){c[a]=a});return\"abcdefghijklmnopqrst\"!==Object.keys(Object.assign({},c)).join(\"\")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError(\"Object.assign cannot be called with null or undefined\");var c=Object(a);for(var g,e=1;e<arguments.length;e++){var d=Object(arguments[e]);\nfor(var f in d)Ja.call(d,f)&&(c[f]=d[f]);if(pa){g=pa(d);for(var h=0;h<g.length;h++)Ka.call(d,g[h])&&(c[g[h]]=d[g[h]])}}return c},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ba={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(r(85));this.updater.enqueueSetState(this,a,b,\"setState\")};w.prototype.forceUpdate=\nfunction(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};da.prototype=w.prototype;f=L.prototype=new da;f.constructor=L;I(f,w.prototype);f.isPureReactComponent=!0;var M={current:null},ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\\/+/g,C=[],na={current:null},X;if(\"undefined\"===typeof window||\"function\"!==typeof MessageChannel){var A=null,qa=null,ra=function(){if(null!==A)try{var a=q();A(!0,a);A=null}catch(b){throw setTimeout(ra,0),b;}},La=Date.now();var q=\nfunction(){return Date.now()-La};var z=function(a){null!==A?setTimeout(z,0,a):(A=a,setTimeout(ra,0))};var G=function(a,b){qa=setTimeout(a,b)};var V=function(){clearTimeout(qa)};var W=function(){return!1};f=X=function(){}}else{var Y=window.performance,sa=window.Date,Ma=window.setTimeout,Na=window.clearTimeout;\"undefined\"!==typeof console&&(f=window.cancelAnimationFrame,\"function\"!==typeof window.requestAnimationFrame&&console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"),\n\"function\"!==typeof f&&console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));if(\"object\"===typeof Y&&\"function\"===typeof Y.now)q=function(){return Y.now()};else{var Oa=sa.now();q=function(){return sa.now()-Oa}}var J=!1,K=null,Z=-1,ta=5,ua=0;W=function(){return q()>=ua};f=function(){};X=function(a){0>a||125<a?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported\"):\nta=0<a?Math.floor(1E3/a):5};var B=new MessageChannel,aa=B.port2;B.port1.onmessage=function(){if(null!==K){var a=q();ua=a+ta;try{K(!0,a)?aa.postMessage(null):(J=!1,K=null)}catch(b){throw aa.postMessage(null),b;}}else J=!1};z=function(a){K=a;J||(J=!0,aa.postMessage(null))};G=function(a,b){Z=Ma(function(){a(q())},b)};V=function(){Na(Z);Z=-1}}var p=[],u=[],Pa=1,l=null,m=3,H=!1,v=!1,y=!1,Qa=0;B={ReactCurrentDispatcher:na,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},assign:I};I(B,{Scheduler:{__proto__:null,\nunstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m;m=a;try{return b()}finally{m=c}},unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var c=m;m=b;try{return a()}finally{m=c}},unstable_scheduleCallback:function(a,b,c){var d=q();if(\"object\"===typeof c&&null!==c){var e=c.delay;\ne=\"number\"===typeof e&&0<e?d+e:d;c=\"number\"===typeof c.timeout?c.timeout:oa(a)}else c=oa(a),e=d;c=e+c;a={id:Pa++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,S(u,a),null===n(p)&&a===n(u)&&(y?V():y=!0,G(T,e-d))):(a.sortIndex=c,S(p,a),v||H||(v=!0,z(U)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=m;return function(){var c=m;m=b;try{return a.apply(this,arguments)}finally{m=c}}},unstable_getCurrentPriorityLevel:function(){return m},\nunstable_shouldYield:function(){var a=q();F(a);var b=n(p);return b!==l&&null!==l&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<l.expirationTime||W()},unstable_requestPaint:f,unstable_continueExecution:function(){v||H||(v=!0,z(U))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(p)},get unstable_now(){return q},get unstable_forceFrameRate(){return X},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,\nunstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Qa},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}});d.Children={map:function(a,b,c){if(null==a)return a;var d=[];R(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);Q(a,ya,b);ka(b)},count:function(a){return Q(a,function(){return null},null)},\ntoArray:function(a){var b=[];R(a,b,null,function(a){return a});return b},only:function(a){if(!N(a))throw Error(r(143));return a}};d.Component=w;d.Fragment=Aa;d.Profiler=Ca;d.PureComponent=L;d.StrictMode=Ba;d.Suspense=Ga;d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B;d.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(r(267,a));var d=I({},a.props),e=a.key,f=a.ref,m=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,m=M.current);void 0!==b.key&&(e=\"\"+b.key);if(a.type&&a.type.defaultProps)var h=\na.type.defaultProps;for(k in b)ha.call(b,k)&&!ia.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k);for(var l=0;l<k;l++)h[l]=arguments[l+2];d.children=h}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:m}};d.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:Ea,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Da,_context:a};return a.Consumer=\na};d.createElement=ea;d.createFactory=function(a){var b=ea.bind(null,a);b.type=a;return b};d.createRef=function(){return{current:null}};d.forwardRef=function(a){return{$$typeof:Fa,render:a}};d.isValidElement=N;d.lazy=function(a){return{$$typeof:Ia,_ctor:a,_status:-1,_result:null}};d.memo=function(a,b){return{$$typeof:Ha,type:a,compare:void 0===b?null:b}};d.useCallback=function(a,b){return t().useCallback(a,b)};d.useContext=function(a,b){return t().useContext(a,b)};d.useDebugValue=function(a,b){};\nd.useEffect=function(a,b){return t().useEffect(a,b)};d.useImperativeHandle=function(a,b,c){return t().useImperativeHandle(a,b,c)};d.useLayoutEffect=function(a,b){return t().useLayoutEffect(a,b)};d.useMemo=function(a,b){return t().useMemo(a,b)};d.useReducer=function(a,b,c){return t().useReducer(a,b,c)};d.useRef=function(a){return t().useRef(a)};d.useState=function(a){return t().useState(a)};d.version=\"16.14.0\"});\n" } ${ "/** @license React v16.14.0\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';(function(I,ea){\"object\"===typeof exports&&\"undefined\"!==typeof module?ea(exports,require(\"react\")):\"function\"===typeof define&&define.amd?define([\"exports\",\"react\"],ea):(I=I||self,ea(I.ReactDOM={},I.React))})(this,function(I,ea){function k(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;c<arguments.length;c++)b+=\"&args[]=\"+encodeURIComponent(arguments[c]);return\"Minified React error #\"+a+\"; visit \"+b+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}\nfunction ji(a,b,c,d,e,f,g,h,m){yb=!1;gc=null;ki.apply(li,arguments)}function mi(a,b,c,d,e,f,g,h,m){ji.apply(this,arguments);if(yb){if(yb){var n=gc;yb=!1;gc=null}else throw Error(k(198));hc||(hc=!0,pd=n)}}function lf(a,b,c){var d=a.type||\"unknown-event\";a.currentTarget=mf(c);mi(d,b,void 0,a);a.currentTarget=null}function nf(){if(ic)for(var a in cb){var b=cb[a],c=ic.indexOf(a);if(!(-1<c))throw Error(k(96,a));if(!jc[c]){if(!b.extractEvents)throw Error(k(97,a));jc[c]=b;c=b.eventTypes;for(var d in c){var e=\nvoid 0;var f=c[d],g=b,h=d;if(qd.hasOwnProperty(h))throw Error(k(99,h));qd[h]=f;var m=f.phasedRegistrationNames;if(m){for(e in m)m.hasOwnProperty(e)&&of(m[e],g,h);e=!0}else f.registrationName?(of(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(k(98,d,a));}}}}function of(a,b,c){if(db[a])throw Error(k(100,a));db[a]=b;rd[a]=b.eventTypes[c].dependencies}function pf(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!cb.hasOwnProperty(c)||cb[c]!==d){if(cb[c])throw Error(k(102,c));cb[c]=\nd;b=!0}}b&&nf()}function qf(a){if(a=rf(a)){if(\"function\"!==typeof sd)throw Error(k(280));var b=a.stateNode;b&&(b=td(b),sd(a.stateNode,a.type,b))}}function sf(a){eb?fb?fb.push(a):fb=[a]:eb=a}function tf(){if(eb){var a=eb,b=fb;fb=eb=null;qf(a);if(b)for(a=0;a<b.length;a++)qf(b[a])}}function ud(){if(null!==eb||null!==fb)vd(),tf()}function uf(a,b,c){if(wd)return a(b,c);wd=!0;try{return vf(a,b,c)}finally{wd=!1,ud()}}function ni(a){if(wf.call(xf,a))return!0;if(wf.call(yf,a))return!1;if(oi.test(a))return xf[a]=\n!0;yf[a]=!0;return!1}function pi(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case \"function\":case \"symbol\":return!0;case \"boolean\":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return\"data-\"!==a&&\"aria-\"!==a;default:return!1}}function qi(a,b,c,d){if(null===b||\"undefined\"===typeof b||pi(a,b,c,d))return!0;if(d)return!1;if(null!==c)switch(c.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function L(a,\nb,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}function xd(a,b,c,d){var e=E.hasOwnProperty(b)?E[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||\"o\"!==b[0]&&\"O\"!==b[0]||\"n\"!==b[1]&&\"N\"!==b[1]?!1:!0;f||(qi(b,c,e,d)&&(c=null),d||null===e?ni(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,\"\"+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:\"\":c:(b=e.attributeName,\nd=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?\"\":\"\"+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))))}function zb(a){if(null===a||\"object\"!==typeof a)return null;a=zf&&a[zf]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}function ri(a){if(-1===a._status){a._status=0;var b=a._ctor;b=b();a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}}function na(a){if(null==a)return null;\nif(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case Ma:return\"Fragment\";case gb:return\"Portal\";case kc:return\"Profiler\";case Af:return\"StrictMode\";case lc:return\"Suspense\";case yd:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Bf:return\"Context.Consumer\";case Cf:return\"Context.Provider\";case zd:var b=a.render;b=b.displayName||b.name||\"\";return a.displayName||(\"\"!==b?\"ForwardRef(\"+b+\")\":\"ForwardRef\");case Ad:return na(a.type);\ncase Df:return na(a.render);case Ef:if(a=1===a._status?a._result:null)return na(a)}return null}function Bd(a){var b=\"\";do{a:switch(a.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c=\"\";break a;default:var d=a._debugOwner,e=a._debugSource,f=na(a.type);c=null;d&&(c=na(d.type));d=f;f=\"\";e?f=\" (at \"+e.fileName.replace(si,\"\")+\":\"+e.lineNumber+\")\":c&&(f=\" (created by \"+c+\")\");c=\"\\n    in \"+(d||\"Unknown\")+f}b+=c;a=a.return}while(a);return b}function va(a){switch(typeof a){case \"boolean\":case \"number\":case \"object\":case \"string\":case \"undefined\":return a;\ndefault:return\"\"}}function Ff(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}function ti(a){var b=Ff(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,\nb,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=null;delete a[b]}}}}function mc(a){a._valueTracker||(a._valueTracker=ti(a))}function Gf(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ff(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Cd(a,b){var c=b.checked;return M({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=\nc?c:a._wrapperState.initialChecked})}function Hf(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=va(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function If(a,b){b=b.checked;null!=b&&xd(a,\"checked\",b,!1)}function Dd(a,b){If(a,b);var c=va(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\n\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?Ed(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&Ed(a,b.type,va(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}function Jf(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=\nb);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}function Ed(a,b,c){if(\"number\"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}function ui(a){var b=\"\";ea.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function Fd(a,b){a=M({children:void 0},b);if(b=ui(b.children))a.children=b;return a}function hb(a,b,c,d){a=a.options;if(b){b={};\nfor(var e=0;e<c.length;e++)b[\"$\"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty(\"$\"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0)}else{c=\"\"+va(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e])}null!==b&&(b.selected=!0)}}function Gd(a,b){if(null!=b.dangerouslySetInnerHTML)throw Error(k(91));return M({},b,{value:void 0,defaultValue:void 0,children:\"\"+a._wrapperState.initialValue})}\nfunction Kf(a,b){var c=b.value;if(null==c){c=b.children;b=b.defaultValue;if(null!=c){if(null!=b)throw Error(k(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(k(93));c=c[0]}b=c}null==b&&(b=\"\");c=b}a._wrapperState={initialValue:va(c)}}function Lf(a,b){var c=va(b.value),d=va(b.defaultValue);null!=c&&(c=\"\"+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=\"\"+d)}function Mf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&\"\"!==\nb&&null!==b&&(a.value=b)}function Nf(a){switch(a){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 Hd(a,b){return null==a||\"http://www.w3.org/1999/xhtml\"===a?Nf(b):\"http://www.w3.org/2000/svg\"===a&&\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":a}function nc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c[\"Webkit\"+a]=\"webkit\"+b;c[\"Moz\"+a]=\"moz\"+b;return c}function oc(a){if(Id[a])return Id[a];\nif(!ib[a])return a;var b=ib[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Of)return Id[a]=b[c];return a}function Jd(a){var b=Pf.get(a);void 0===b&&(b=new Map,Pf.set(a,b));return b}function Na(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Qf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Rf(a){if(Na(a)!==\na)throw Error(k(188));}function vi(a){var b=a.alternate;if(!b){b=Na(a);if(null===b)throw Error(k(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Rf(e),a;if(f===d)return Rf(e),b;f=f.sibling}throw Error(k(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=\nf.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(k(189));}}if(c.alternate!==d)throw Error(k(190));}if(3!==c.tag)throw Error(k(188));return c.stateNode.current===c?a:b}function Sf(a){a=vi(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function jb(a,b){if(null==\nb)throw Error(k(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Kd(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function pc(a){null!==a&&(Ab=jb(Ab,a));a=Ab;Ab=null;if(a){Kd(a,wi);if(Ab)throw Error(k(95));if(hc)throw a=pd,hc=!1,pd=null,a;}}function Ld(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:\na}function Tf(a){if(!wa)return!1;a=\"on\"+a;var b=a in document;b||(b=document.createElement(\"div\"),b.setAttribute(a,\"return;\"),b=\"function\"===typeof b[a]);return b}function Uf(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>qc.length&&qc.push(a)}function Vf(a,b,c,d){if(qc.length){var e=qc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}function Wf(a){var b=\na.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Bb(d)}while(c);for(c=0;c<a.ancestors.length;c++){b=a.ancestors[c];var e=Ld(a.nativeEvent);d=a.topLevelType;var f=a.nativeEvent,g=a.eventSystemFlags;0===c&&(g|=64);for(var h=null,m=0;m<jc.length;m++){var n=jc[m];n&&(n=n.extractEvents(d,b,f,e,g))&&(h=jb(h,n))}pc(h)}}function Md(a,\nb,c){if(!c.has(a)){switch(a){case \"scroll\":Cb(b,\"scroll\",!0);break;case \"focus\":case \"blur\":Cb(b,\"focus\",!0);Cb(b,\"blur\",!0);c.set(\"blur\",null);c.set(\"focus\",null);break;case \"cancel\":case \"close\":Tf(a)&&Cb(b,a,!0);break;case \"invalid\":case \"submit\":case \"reset\":break;default:-1===Db.indexOf(a)&&w(a,b)}c.set(a,null)}}function xi(a,b){var c=Jd(b);Nd.forEach(function(a){Md(a,b,c)});yi.forEach(function(a){Md(a,b,c)})}function Od(a,b,c,d,e){return{blockedOn:a,topLevelType:b,eventSystemFlags:c|32,nativeEvent:e,\ncontainer:d}}function Xf(a,b){switch(a){case \"focus\":case \"blur\":xa=null;break;case \"dragenter\":case \"dragleave\":ya=null;break;case \"mouseover\":case \"mouseout\":za=null;break;case \"pointerover\":case \"pointerout\":Eb.delete(b.pointerId);break;case \"gotpointercapture\":case \"lostpointercapture\":Fb.delete(b.pointerId)}}function Gb(a,b,c,d,e,f){if(null===a||a.nativeEvent!==f)return a=Od(b,c,d,e,f),null!==b&&(b=Hb(b),null!==b&&Yf(b)),a;a.eventSystemFlags|=d;return a}function zi(a,b,c,d,e){switch(b){case \"focus\":return xa=\nGb(xa,a,b,c,d,e),!0;case \"dragenter\":return ya=Gb(ya,a,b,c,d,e),!0;case \"mouseover\":return za=Gb(za,a,b,c,d,e),!0;case \"pointerover\":var f=e.pointerId;Eb.set(f,Gb(Eb.get(f)||null,a,b,c,d,e));return!0;case \"gotpointercapture\":return f=e.pointerId,Fb.set(f,Gb(Fb.get(f)||null,a,b,c,d,e)),!0}return!1}function Ai(a){var b=Bb(a.target);if(null!==b){var c=Na(b);if(null!==c)if(b=c.tag,13===b){if(b=Qf(c),null!==b){a.blockedOn=b;Pd(a.priority,function(){Bi(c)});return}}else if(3===b&&c.stateNode.hydrate){a.blockedOn=\n3===c.tag?c.stateNode.containerInfo:null;return}}a.blockedOn=null}function rc(a){if(null!==a.blockedOn)return!1;var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);if(null!==b){var c=Hb(b);null!==c&&Yf(c);a.blockedOn=b;return!1}return!0}function Zf(a,b,c){rc(a)&&c.delete(b)}function Ci(){for(Rd=!1;0<fa.length;){var a=fa[0];if(null!==a.blockedOn){a=Hb(a.blockedOn);null!==a&&Di(a);break}var b=Qd(a.topLevelType,a.eventSystemFlags,a.container,a.nativeEvent);null!==b?a.blockedOn=b:fa.shift()}null!==\nxa&&rc(xa)&&(xa=null);null!==ya&&rc(ya)&&(ya=null);null!==za&&rc(za)&&(za=null);Eb.forEach(Zf);Fb.forEach(Zf)}function Ib(a,b){a.blockedOn===b&&(a.blockedOn=null,Rd||(Rd=!0,$f(ag,Ci)))}function bg(a){if(0<fa.length){Ib(fa[0],a);for(var b=1;b<fa.length;b++){var c=fa[b];c.blockedOn===a&&(c.blockedOn=null)}}null!==xa&&Ib(xa,a);null!==ya&&Ib(ya,a);null!==za&&Ib(za,a);b=function(b){return Ib(b,a)};Eb.forEach(b);Fb.forEach(b);for(b=0;b<Jb.length;b++)c=Jb[b],c.blockedOn===a&&(c.blockedOn=null);for(;0<Jb.length&&\n(b=Jb[0],null===b.blockedOn);)Ai(b),null===b.blockedOn&&Jb.shift()}function Sd(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f=\"on\"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+\"Capture\"},dependencies:[d],eventPriority:b};Td.set(d,b);cg.set(d,f);dg[e]=f}}function w(a,b){Cb(b,a,!1)}function Cb(a,b,c){var d=Td.get(b);switch(void 0===d?2:d){case 0:d=Ei.bind(null,b,1,a);break;case 1:d=Fi.bind(null,b,1,a);break;default:d=sc.bind(null,b,1,a)}c?a.addEventListener(b,\nd,!0):a.addEventListener(b,d,!1)}function Ei(a,b,c,d){Oa||vd();var e=sc,f=Oa;Oa=!0;try{eg(e,a,b,c,d)}finally{(Oa=f)||ud()}}function Fi(a,b,c,d){Gi(Hi,sc.bind(null,a,b,c,d))}function sc(a,b,c,d){if(tc)if(0<fa.length&&-1<Nd.indexOf(a))a=Od(null,a,b,c,d),fa.push(a);else{var e=Qd(a,b,c,d);if(null===e)Xf(a,d);else if(-1<Nd.indexOf(a))a=Od(e,a,b,c,d),fa.push(a);else if(!zi(e,a,b,c,d)){Xf(a,d);a=Vf(a,d,null,b);try{uf(Wf,a)}finally{Uf(a)}}}}function Qd(a,b,c,d){c=Ld(d);c=Bb(c);if(null!==c){var e=Na(c);if(null===\ne)c=null;else{var f=e.tag;if(13===f){c=Qf(e);if(null!==c)return c;c=null}else if(3===f){if(e.stateNode.hydrate)return 3===e.tag?e.stateNode.containerInfo:null;c=null}else e!==c&&(c=null)}}a=Vf(a,d,c,b);try{uf(Wf,a)}finally{Uf(a)}return null}function fg(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||Kb.hasOwnProperty(a)&&Kb[a]?(\"\"+b).trim():b+\"px\"}function gg(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=fg(c,b[c],d);\"float\"===\nc&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}function Ud(a,b){if(b){if(Ii[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(k(137,a,\"\"));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(k(60));if(!(\"object\"===typeof b.dangerouslySetInnerHTML&&\"__html\"in b.dangerouslySetInnerHTML))throw Error(k(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(k(62,\"\"));}}function Vd(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){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;\ndefault:return!0}}function oa(a,b){a=9===a.nodeType||11===a.nodeType?a:a.ownerDocument;var c=Jd(a);b=rd[b];for(var d=0;d<b.length;d++)Md(b[d],a,c)}function uc(){}function Wd(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function hg(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function ig(a,b){var c=hg(a);a=0;for(var d;c;){if(3===c.nodeType){d=a+c.textContent.length;if(a<=b&&d>=b)return{node:c,\noffset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=hg(c)}}function jg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?jg(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function kg(){for(var a=window,b=Wd();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Wd(a.document)}return b}\nfunction Xd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}function lg(a,b){switch(a){case \"button\":case \"input\":case \"select\":case \"textarea\":return!!b.autoFocus}return!1}function Yd(a,b){return\"textarea\"===a||\"option\"===a||\"noscript\"===a||\"string\"===typeof b.children||\"number\"===typeof b.children||\"object\"===typeof b.dangerouslySetInnerHTML&&\nnull!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function kb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function mg(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ng||c===Zd||c===$d){if(0===b)return a;b--}else c===og&&b++}a=a.previousSibling}return null}function Bb(a){var b=a[Aa];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Lb]||c[Aa]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=mg(a);null!==\na;){if(c=a[Aa])return c;a=mg(a)}return b}a=c;c=a.parentNode}return null}function Hb(a){a=a[Aa]||a[Lb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pa(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(k(33));}function ae(a){return a[vc]||null}function pa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function pg(a,b){var c=a.stateNode;if(!c)return null;var d=td(c);if(!d)return null;c=d[b];a:switch(b){case \"onClick\":case \"onClickCapture\":case \"onDoubleClick\":case \"onDoubleClickCapture\":case \"onMouseDown\":case \"onMouseDownCapture\":case \"onMouseMove\":case \"onMouseMoveCapture\":case \"onMouseUp\":case \"onMouseUpCapture\":case \"onMouseEnter\":(d=\n!d.disabled)||(a=a.type,d=!(\"button\"===a||\"input\"===a||\"select\"===a||\"textarea\"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&\"function\"!==typeof c)throw Error(k(231,b,typeof c));return c}function qg(a,b,c){if(b=pg(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a)}function Ji(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=pa(b);for(b=c.length;0<b--;)qg(c[b],\n\"captured\",a);for(b=0;b<c.length;b++)qg(c[b],\"bubbled\",a)}}function be(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=pg(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=jb(c._dispatchListeners,b),c._dispatchInstances=jb(c._dispatchInstances,a))}function Ki(a){a&&a.dispatchConfig.registrationName&&be(a._targetInst,null,a)}function lb(a){Kd(a,Ji)}function rg(){if(wc)return wc;var a,b=ce,c=b.length,d,e=\"value\"in Ba?Ba.value:Ba.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=\nc-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return wc=e.slice(a,1<d?1-d:void 0)}function xc(){return!0}function yc(){return!1}function R(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):\"target\"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?xc:yc;this.isPropagationStopped=yc;return this}function Li(a,b,c,d){if(this.eventPool.length){var e=\nthis.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}function Mi(a){if(!(a instanceof this))throw Error(k(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a)}function sg(a){a.eventPool=[];a.getPooled=Li;a.release=Mi}function tg(a,b){switch(a){case \"keyup\":return-1!==Ni.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"blur\":return!0;default:return!1}}function ug(a){a=a.detail;return\"object\"===typeof a&&\"data\"in\na?a.data:null}function Oi(a,b){switch(a){case \"compositionend\":return ug(b);case \"keypress\":if(32!==b.which)return null;vg=!0;return wg;case \"textInput\":return a=b.data,a===wg&&vg?null:a;default:return null}}function Pi(a,b){if(mb)return\"compositionend\"===a||!de&&tg(a,b)?(a=rg(),wc=ce=Ba=null,mb=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;\ncase \"compositionend\":return xg&&\"ko\"!==b.locale?null:b.data;default:return null}}function yg(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return\"input\"===b?!!Qi[a.type]:\"textarea\"===b?!0:!1}function zg(a,b,c){a=R.getPooled(Ag.change,a,b,c);a.type=\"change\";sf(c);lb(a);return a}function Ri(a){pc(a)}function zc(a){var b=Pa(a);if(Gf(b))return a}function Si(a,b){if(\"change\"===a)return b}function Bg(){Mb&&(Mb.detachEvent(\"onpropertychange\",Cg),Nb=Mb=null)}function Cg(a){if(\"value\"===a.propertyName&&\nzc(Nb))if(a=zg(Nb,a,Ld(a)),Oa)pc(a);else{Oa=!0;try{ee(Ri,a)}finally{Oa=!1,ud()}}}function Ti(a,b,c){\"focus\"===a?(Bg(),Mb=b,Nb=c,Mb.attachEvent(\"onpropertychange\",Cg)):\"blur\"===a&&Bg()}function Ui(a,b){if(\"selectionchange\"===a||\"keyup\"===a||\"keydown\"===a)return zc(Nb)}function Vi(a,b){if(\"click\"===a)return zc(b)}function Wi(a,b){if(\"input\"===a||\"change\"===a)return zc(b)}function Xi(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Yi[a])?!!b[a]:!1}function fe(a){return Xi}\nfunction Zi(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}function Ob(a,b){if(Qa(a,b))return!0;if(\"object\"!==typeof a||null===a||\"object\"!==typeof b||null===b)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!$i.call(b,c[d])||!Qa(a[c[d]],b[c[d]]))return!1;return!0}function Dg(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(ge||null==nb||nb!==Wd(c))return null;c=nb;\"selectionStart\"in c&&Xd(c)?c={start:c.selectionStart,\nend:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return Pb&&Ob(Pb,c)?null:(Pb=c,a=R.getPooled(Eg.select,he,a,b),a.type=\"select\",a.target=nb,lb(a),a)}function Ac(a){var b=a.keyCode;\"charCode\"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}function q(a,b){0>ob||(a.current=ie[ob],ie[ob]=null,ob--)}function y(a,b,c){ob++;\nie[ob]=a.current;a.current=b}function pb(a,b){var c=a.type.contextTypes;if(!c)return Ca;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function N(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Fg(a,b,c){if(B.current!==Ca)throw Error(k(168));y(B,b);y(G,c)}\nfunction Gg(a,b,c){var d=a.stateNode;a=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(k(108,na(b)||\"Unknown\",e));return M({},c,{},d)}function Bc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ca;Ra=B.current;y(B,a);y(G,G.current);return!0}function Hg(a,b,c){var d=a.stateNode;if(!d)throw Error(k(169));c?(a=Gg(a,b,Ra),d.__reactInternalMemoizedMergedChildContext=a,q(G),q(B),y(B,a)):q(G);y(G,c)}function Cc(){switch(aj()){case Dc:return 99;\ncase Ig:return 98;case Jg:return 97;case Kg:return 96;case Lg:return 95;default:throw Error(k(332));}}function Mg(a){switch(a){case 99:return Dc;case 98:return Ig;case 97:return Jg;case 96:return Kg;case 95:return Lg;default:throw Error(k(332));}}function Da(a,b){a=Mg(a);return bj(a,b)}function Ng(a,b,c){a=Mg(a);return je(a,b,c)}function Og(a){null===qa?(qa=[a],Ec=je(Dc,Pg)):qa.push(a);return Qg}function ha(){if(null!==Ec){var a=Ec;Ec=null;Rg(a)}Pg()}function Pg(){if(!ke&&null!==qa){ke=!0;var a=0;\ntry{var b=qa;Da(99,function(){for(;a<b.length;a++){var c=b[a];do c=c(!0);while(null!==c)}});qa=null}catch(c){throw null!==qa&&(qa=qa.slice(a+1)),je(Dc,ha),c;}finally{ke=!1}}}function Fc(a,b,c){c/=10;return 1073741821-(((1073741821-a+b/10)/c|0)+1)*c}function aa(a,b){if(a&&a.defaultProps){b=M({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c])}return b}function le(){Gc=qb=Hc=null}function me(a){var b=Ic.current;q(Ic);a.type._context._currentValue=b}function Sg(a,b){for(;null!==a;){var c=\na.alternate;if(a.childExpirationTime<b)a.childExpirationTime=b,null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);else if(null!==c&&c.childExpirationTime<b)c.childExpirationTime=b;else break;a=a.return}}function rb(a,b){Hc=a;Gc=qb=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(a.expirationTime>=b&&(ia=!0),a.firstContext=null)}function W(a,b){if(Gc!==a&&!1!==b&&0!==b){if(\"number\"!==typeof b||1073741823===b)Gc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===qb){if(null===\nHc)throw Error(k(308));qb=b;Hc.dependencies={expirationTime:0,firstContext:b,responders:null}}else qb=qb.next=b}return a._currentValue}function ne(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oe(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function Ea(a,b){a={expirationTime:a,suspenseConfig:b,tag:Tg,payload:null,callback:null,next:null};return a.next=\na}function Fa(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function Ug(a,b){var c=a.alternate;null!==c&&oe(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}function Qb(a,b,c,d){var e=a.updateQueue;Ga=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&&\n(h.baseQueue=g))}if(null!==f){h=f.next;var m=e.baseState,n=0,k=null,ba=null,l=null;if(null!==h){var p=h;do{g=p.expirationTime;if(g<d){var t={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===l?(ba=l=t,k=m):l=l.next=t;g>n&&(n=g)}else{null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null});Vg(g,p.suspenseConfig);a:{var q=a,r=p;g=b;t=c;switch(r.tag){case 1:q=\nr.payload;if(\"function\"===typeof q){m=q.call(t,m,g);break a}m=q;break a;case 3:q.effectTag=q.effectTag&-4097|64;case Tg:q=r.payload;g=\"function\"===typeof q?q.call(t,m,g):q;if(null===g||void 0===g)break a;m=M({},m,g);break a;case Jc:Ga=!0}}null!==p.callback&&(a.effectTag|=32,g=e.effects,null===g?e.effects=[p]:g.push(p))}p=p.next;if(null===p||p===h)if(g=e.shared.pending,null===g)break;else p=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===l?k=m:l.next=ba;e.baseState=k;e.baseQueue=\nl;Kc(n);a.expirationTime=n;a.memoizedState=m}}function Wg(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;b<a.length;b++){var d=a[b],e=d.callback;if(null!==e){d.callback=null;d=e;e=c;if(\"function\"!==typeof d)throw Error(k(191,d));d.call(e)}}}function Lc(a,b,c,d){b=a.memoizedState;c=c(d,b);c=null===c||void 0===c?b:M({},b,c);a.memoizedState=c;0===a.expirationTime&&(a.updateQueue.baseState=c)}function Xg(a,b,c,d,e,f,g){a=a.stateNode;return\"function\"===typeof a.shouldComponentUpdate?a.shouldComponentUpdate(d,\nf,g):b.prototype&&b.prototype.isPureReactComponent?!Ob(c,d)||!Ob(e,f):!0}function Yg(a,b,c){var d=!1,e=Ca;var f=b.contextType;\"object\"===typeof f&&null!==f?f=W(f):(e=N(b)?Ra:B.current,d=b.contextTypes,f=(d=null!==d&&void 0!==d)?pb(a,e):Ca);b=new b(c,f);a.memoizedState=null!==b.state&&void 0!==b.state?b.state:null;b.updater=Mc;a.stateNode=b;b._reactInternalFiber=a;d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=e,a.__reactInternalMemoizedMaskedChildContext=f);return b}function Zg(a,\nb,c,d){a=b.state;\"function\"===typeof b.componentWillReceiveProps&&b.componentWillReceiveProps(c,d);\"function\"===typeof b.UNSAFE_componentWillReceiveProps&&b.UNSAFE_componentWillReceiveProps(c,d);b.state!==a&&Mc.enqueueReplaceState(b,b.state,null)}function pe(a,b,c,d){var e=a.stateNode;e.props=c;e.state=a.memoizedState;e.refs=$g;ne(a);var f=b.contextType;\"object\"===typeof f&&null!==f?e.context=W(f):(f=N(b)?Ra:B.current,e.context=pb(a,f));Qb(a,c,e,d);e.state=a.memoizedState;f=b.getDerivedStateFromProps;\n\"function\"===typeof f&&(Lc(a,b,f,c),e.state=a.memoizedState);\"function\"===typeof b.getDerivedStateFromProps||\"function\"===typeof e.getSnapshotBeforeUpdate||\"function\"!==typeof e.UNSAFE_componentWillMount&&\"function\"!==typeof e.componentWillMount||(b=e.state,\"function\"===typeof e.componentWillMount&&e.componentWillMount(),\"function\"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),b!==e.state&&Mc.enqueueReplaceState(e,e.state,null),Qb(a,c,e,d),e.state=a.memoizedState);\"function\"===\ntypeof e.componentDidMount&&(a.effectTag|=4)}function Rb(a,b,c){a=c.ref;if(null!==a&&\"function\"!==typeof a&&\"object\"!==typeof a){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw Error(k(309));var d=c.stateNode}if(!d)throw Error(k(147,a));var e=\"\"+a;if(null!==b&&null!==b.ref&&\"function\"===typeof b.ref&&b.ref._stringRef===e)return b.ref;b=function(a){var b=d.refs;b===$g&&(b=d.refs={});null===a?delete b[e]:b[e]=a};b._stringRef=e;return b}if(\"string\"!==typeof a)throw Error(k(284));if(!c._owner)throw Error(k(290,\na));}return a}function Nc(a,b){if(\"textarea\"!==a.type)throw Error(k(31,\"[object Object]\"===Object.prototype.toString.call(b)?\"object with keys {\"+Object.keys(b).join(\", \")+\"}\":b,\"\"));}function ah(a){function b(b,c){if(a){var d=b.lastEffect;null!==d?(d.nextEffect=c,b.lastEffect=c):b.firstEffect=b.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!a)return null;for(;null!==d;)b(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,\nb),b=b.sibling;return a}function e(a,b){a=Sa(a,b);a.index=0;a.sibling=null;return a}function f(b,c,d){b.index=d;if(!a)return c;d=b.alternate;if(null!==d)return d=d.index,d<c?(b.effectTag=2,c):d;b.effectTag=2;return c}function g(b){a&&null===b.alternate&&(b.effectTag=2);return b}function h(a,b,c,d){if(null===b||6!==b.tag)return b=qe(c,a.mode,d),b.return=a,b;b=e(b,c);b.return=a;return b}function m(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props),d.ref=Rb(a,b,c),d.return=a,d;d=Oc(c.type,\nc.key,c.props,null,a.mode,d);d.ref=Rb(a,b,c);d.return=a;return d}function n(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==c.implementation)return b=re(c,a.mode,d),b.return=a,b;b=e(b,c.children||[]);b.return=a;return b}function l(a,b,c,d,f){if(null===b||7!==b.tag)return b=Ha(c,a.mode,d,f),b.return=a,b;b=e(b,c);b.return=a;return b}function ba(a,b,c){if(\"string\"===typeof b||\"number\"===typeof b)return b=qe(\"\"+b,a.mode,c),b.return=a,b;if(\"object\"===\ntypeof b&&null!==b){switch(b.$$typeof){case Pc:return c=Oc(b.type,b.key,b.props,null,a.mode,c),c.ref=Rb(a,null,b),c.return=a,c;case gb:return b=re(b,a.mode,c),b.return=a,b}if(Qc(b)||zb(b))return b=Ha(b,a.mode,c,null),b.return=a,b;Nc(a,b)}return null}function p(a,b,c,d){var e=null!==b?b.key:null;if(\"string\"===typeof c||\"number\"===typeof c)return null!==e?null:h(a,b,\"\"+c,d);if(\"object\"===typeof c&&null!==c){switch(c.$$typeof){case Pc:return c.key===e?c.type===Ma?l(a,b,c.props.children,d,e):m(a,b,c,\nd):null;case gb:return c.key===e?n(a,b,c,d):null}if(Qc(c)||zb(c))return null!==e?null:l(a,b,c,d,null);Nc(a,c)}return null}function t(a,b,c,d,e){if(\"string\"===typeof d||\"number\"===typeof d)return a=a.get(c)||null,h(b,a,\"\"+d,e);if(\"object\"===typeof d&&null!==d){switch(d.$$typeof){case Pc:return a=a.get(null===d.key?c:d.key)||null,d.type===Ma?l(b,a,d.props.children,e,d.key):m(b,a,d,e);case gb:return a=a.get(null===d.key?c:d.key)||null,n(b,a,d,e)}if(Qc(d)||zb(d))return a=a.get(c)||null,l(b,a,d,e,null);\nNc(b,d)}return null}function q(e,g,h,m){for(var n=null,k=null,l=g,r=g=0,C=null;null!==l&&r<h.length;r++){l.index>r?(C=l,l=null):C=l.sibling;var O=p(e,l,h[r],m);if(null===O){null===l&&(l=C);break}a&&l&&null===O.alternate&&b(e,l);g=f(O,g,r);null===k?n=O:k.sibling=O;k=O;l=C}if(r===h.length)return c(e,l),n;if(null===l){for(;r<h.length;r++)l=ba(e,h[r],m),null!==l&&(g=f(l,g,r),null===k?n=l:k.sibling=l,k=l);return n}for(l=d(e,l);r<h.length;r++)C=t(l,e,r,h[r],m),null!==C&&(a&&null!==C.alternate&&l.delete(null===\nC.key?r:C.key),g=f(C,g,r),null===k?n=C:k.sibling=C,k=C);a&&l.forEach(function(a){return b(e,a)});return n}function w(e,g,h,n){var m=zb(h);if(\"function\"!==typeof m)throw Error(k(150));h=m.call(h);if(null==h)throw Error(k(151));for(var l=m=null,r=g,C=g=0,O=null,v=h.next();null!==r&&!v.done;C++,v=h.next()){r.index>C?(O=r,r=null):O=r.sibling;var q=p(e,r,v.value,n);if(null===q){null===r&&(r=O);break}a&&r&&null===q.alternate&&b(e,r);g=f(q,g,C);null===l?m=q:l.sibling=q;l=q;r=O}if(v.done)return c(e,r),m;\nif(null===r){for(;!v.done;C++,v=h.next())v=ba(e,v.value,n),null!==v&&(g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);return m}for(r=d(e,r);!v.done;C++,v=h.next())v=t(r,e,C,v.value,n),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?C:v.key),g=f(v,g,C),null===l?m=v:l.sibling=v,l=v);a&&r.forEach(function(a){return b(e,a)});return m}return function(a,d,f,h){var m=\"object\"===typeof f&&null!==f&&f.type===Ma&&null===f.key;m&&(f=f.props.children);var n=\"object\"===typeof f&&null!==f;if(n)switch(f.$$typeof){case Pc:a:{n=\nf.key;for(m=d;null!==m;){if(m.key===n){switch(m.tag){case 7:if(f.type===Ma){c(a,m.sibling);d=e(m,f.props.children);d.return=a;a=d;break a}break;default:if(m.elementType===f.type){c(a,m.sibling);d=e(m,f.props);d.ref=Rb(a,m,f);d.return=a;a=d;break a}}c(a,m);break}else b(a,m);m=m.sibling}f.type===Ma?(d=Ha(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Oc(f.type,f.key,f.props,null,a.mode,h),h.ref=Rb(a,d,f),h.return=a,a=h)}return g(a);case gb:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo===\nf.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=re(f,a.mode,h);d.return=a;a=d}return g(a)}if(\"string\"===typeof f||\"number\"===typeof f)return f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=qe(f,a.mode,h),d.return=a,a=d),g(a);if(Qc(f))return q(a,d,f,h);if(zb(f))return w(a,d,f,h);n&&Nc(a,f);if(\"undefined\"===typeof f&&!m)switch(a.tag){case 1:case 0:throw a=\na.type,Error(k(152,a.displayName||a.name||\"Component\"));}return c(a,d)}}function Ta(a){if(a===Sb)throw Error(k(174));return a}function se(a,b){y(Tb,b);y(Ub,a);y(ja,Sb);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Hd(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Hd(b,a)}q(ja);y(ja,b)}function tb(a){q(ja);q(Ub);q(Tb)}function bh(a){Ta(Tb.current);var b=Ta(ja.current);var c=Hd(b,a.type);b!==c&&(y(Ub,a),y(ja,c))}function te(a){Ub.current===\na&&(q(ja),q(Ub))}function Rc(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===$d||c.data===Zd))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ue(a,b){return{responder:a,props:b}}\nfunction S(){throw Error(k(321));}function ve(a,b){if(null===b)return!1;for(var c=0;c<b.length&&c<a.length;c++)if(!Qa(a[c],b[c]))return!1;return!0}function we(a,b,c,d,e,f){Ia=f;z=b;b.memoizedState=null;b.updateQueue=null;b.expirationTime=0;Sc.current=null===a||null===a.memoizedState?dj:ej;a=c(d,e);if(b.expirationTime===Ia){f=0;do{b.expirationTime=0;if(!(25>f))throw Error(k(301));f+=1;J=K=null;b.updateQueue=null;Sc.current=fj;a=c(d,e)}while(b.expirationTime===Ia)}Sc.current=Tc;b=null!==K&&null!==K.next;\nIa=0;J=K=z=null;Uc=!1;if(b)throw Error(k(300));return a}function ub(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===J?z.memoizedState=J=a:J=J.next=a;return J}function vb(){if(null===K){var a=z.alternate;a=null!==a?a.memoizedState:null}else a=K.next;var b=null===J?z.memoizedState:J.next;if(null!==b)J=b,K=a;else{if(null===a)throw Error(k(310));K=a;a={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null};null===J?z.memoizedState=\nJ=a:J=J.next=a}return J}function Ua(a,b){return\"function\"===typeof b?b(a):b}function Vc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=K,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,m=e;do{var n=m.expirationTime;if(n<Ia){var l={expirationTime:m.expirationTime,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,\nnext:null};null===h?(g=h=l,f=d):h=h.next=l;n>z.expirationTime&&(z.expirationTime=n,Kc(n))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null}),Vg(n,m.suspenseConfig),d=m.eagerReducer===a?m.eagerState:a(d,m.action);m=m.next}while(null!==m&&m!==e);null===h?f=d:h.next=g;Qa(d,b.memoizedState)||(ia=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState,\nc.dispatch]}function Wc(a,b,c){b=vb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);Qa(f,b.memoizedState)||(ia=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function xe(a){var b=ub();\"function\"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Ua,\nlastRenderedState:a};a=a.dispatch=ch.bind(null,z,a);return[b.memoizedState,a]}function ye(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=z.updateQueue;null===b?(b={lastEffect:null},z.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function dh(a){return vb().memoizedState}function ze(a,b,c,d){var e=ub();z.effectTag|=a;e.memoizedState=ye(1|b,c,void 0,void 0===d?null:d)}function Ae(a,b,c,d){var e=vb();\nd=void 0===d?null:d;var f=void 0;if(null!==K){var g=K.memoizedState;f=g.destroy;if(null!==d&&ve(d,g.deps)){ye(b,c,f,d);return}}z.effectTag|=a;e.memoizedState=ye(1|b,c,f,d)}function eh(a,b){return ze(516,4,a,b)}function Xc(a,b){return Ae(516,4,a,b)}function fh(a,b){return Ae(4,2,a,b)}function gh(a,b){if(\"function\"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function hh(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;\nreturn Ae(4,2,gh.bind(null,b,a),c)}function Be(a,b){}function ih(a,b){ub().memoizedState=[a,void 0===b?null:b];return a}function Yc(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function jh(a,b){var c=vb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ve(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Ce(a,b,c){var d=Cc();Da(98>d?98:d,function(){a(!0)});Da(97<d?97:d,function(){var d=\nX.suspense;X.suspense=void 0===b?null:b;try{a(!1),c()}finally{X.suspense=d}})}function ch(a,b,c){var d=ka(),e=Vb.suspense;d=Va(d,a,e);e={expirationTime:d,suspenseConfig:e,action:c,eagerReducer:null,eagerState:null,next:null};var f=b.pending;null===f?e.next=e:(e.next=f.next,f.next=e);b.pending=e;f=a.alternate;if(a===z||null!==f&&f===z)Uc=!0,e.expirationTime=Ia,z.expirationTime=Ia;else{if(0===a.expirationTime&&(null===f||0===f.expirationTime)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,\nh=f(g,c);e.eagerReducer=f;e.eagerState=h;if(Qa(h,g))return}catch(m){}finally{}Ja(a,d)}}function kh(a,b){var c=la(5,null,null,0);c.elementType=\"DELETED\";c.type=\"DELETED\";c.stateNode=b;c.return=a;c.effectTag=8;null!==a.lastEffect?(a.lastEffect.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c}function lh(a,b){switch(a.tag){case 5:var c=a.type;b=1!==b.nodeType||c.toLowerCase()!==b.nodeName.toLowerCase()?null:b;return null!==b?(a.stateNode=b,!0):!1;case 6:return b=\"\"===a.pendingProps||3!==b.nodeType?\nnull:b,null!==b?(a.stateNode=b,!0):!1;case 13:return!1;default:return!1}}function De(a){if(Wa){var b=Ka;if(b){var c=b;if(!lh(a,b)){b=kb(c.nextSibling);if(!b||!lh(a,b)){a.effectTag=a.effectTag&-1025|2;Wa=!1;ra=a;return}kh(ra,c)}ra=a;Ka=kb(b.firstChild)}else a.effectTag=a.effectTag&-1025|2,Wa=!1,ra=a}}function mh(a){for(a=a.return;null!==a&&5!==a.tag&&3!==a.tag&&13!==a.tag;)a=a.return;ra=a}function Zc(a){if(a!==ra)return!1;if(!Wa)return mh(a),Wa=!0,!1;var b=a.type;if(5!==a.tag||\"head\"!==b&&\"body\"!==\nb&&!Yd(b,a.memoizedProps))for(b=Ka;b;)kh(a,b),b=kb(b.nextSibling);mh(a);if(13===a.tag){a=a.memoizedState;a=null!==a?a.dehydrated:null;if(!a)throw Error(k(317));a:{a=a.nextSibling;for(b=0;a;){if(8===a.nodeType){var c=a.data;if(c===og){if(0===b){Ka=kb(a.nextSibling);break a}b--}else c!==ng&&c!==Zd&&c!==$d||b++}a=a.nextSibling}Ka=null}}else Ka=ra?kb(a.stateNode.nextSibling):null;return!0}function Ee(){Ka=ra=null;Wa=!1}function T(a,b,c,d){b.child=null===a?Fe(b,null,c,d):wb(b,a.child,c,d)}function nh(a,\nb,c,d,e){c=c.render;var f=b.ref;rb(b,e);d=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=a.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,d,e);return b.child}function oh(a,b,c,d,e,f){if(null===a){var g=c.type;if(\"function\"===typeof g&&!Ge(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return b.tag=15,b.type=g,ph(a,b,g,d,e,f);a=Oc(c.type,null,d,null,b.mode,f);a.ref=b.ref;a.return=b;return b.child=a}g=a.child;if(e<\nf&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Ob,c(e,d)&&a.ref===b.ref))return sa(a,b,f);b.effectTag|=1;a=Sa(g,d);a.ref=b.ref;a.return=b;return b.child=a}function ph(a,b,c,d,e,f){return null!==a&&Ob(a.memoizedProps,d)&&a.ref===b.ref&&(ia=!1,e<f)?(b.expirationTime=a.expirationTime,sa(a,b,f)):He(a,b,c,d,f)}function qh(a,b){var c=b.ref;if(null===a&&null!==c||null!==a&&a.ref!==c)b.effectTag|=128}function He(a,b,c,d,e){var f=N(c)?Ra:B.current;f=pb(b,f);rb(b,e);c=we(a,b,c,d,f,e);if(null!==a&&!ia)return b.updateQueue=\na.updateQueue,b.effectTag&=-517,a.expirationTime<=e&&(a.expirationTime=0),sa(a,b,e);b.effectTag|=1;T(a,b,c,e);return b.child}function rh(a,b,c,d,e){if(N(c)){var f=!0;Bc(b)}else f=!1;rb(b,e);if(null===b.stateNode)null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),Yg(b,c,d),pe(b,c,d,e),d=!0;else if(null===a){var g=b.stateNode,h=b.memoizedProps;g.props=h;var m=g.context,n=c.contextType;\"object\"===typeof n&&null!==n?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n));var l=c.getDerivedStateFromProps,k=\"function\"===\ntypeof l||\"function\"===typeof g.getSnapshotBeforeUpdate;k||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n);Ga=!1;var p=b.memoizedState;g.state=p;Qb(b,d,g,e);m=b.memoizedState;h!==d||p!==m||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),m=b.memoizedState),(h=Ga||Xg(b,c,h,d,p,m,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillMount&&\"function\"!==typeof g.componentWillMount||(\"function\"===typeof g.componentWillMount&&\ng.componentWillMount(),\"function\"===typeof g.UNSAFE_componentWillMount&&g.UNSAFE_componentWillMount()),\"function\"===typeof g.componentDidMount&&(b.effectTag|=4)):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),b.memoizedProps=d,b.memoizedState=m),g.props=d,g.state=m,g.context=n,d=h):(\"function\"===typeof g.componentDidMount&&(b.effectTag|=4),d=!1)}else g=b.stateNode,oe(a,b),h=b.memoizedProps,g.props=b.type===b.elementType?h:aa(b.type,h),m=g.context,n=c.contextType,\"object\"===typeof n&&null!==\nn?n=W(n):(n=N(c)?Ra:B.current,n=pb(b,n)),l=c.getDerivedStateFromProps,(k=\"function\"===typeof l||\"function\"===typeof g.getSnapshotBeforeUpdate)||\"function\"!==typeof g.UNSAFE_componentWillReceiveProps&&\"function\"!==typeof g.componentWillReceiveProps||(h!==d||m!==n)&&Zg(b,g,d,n),Ga=!1,m=b.memoizedState,g.state=m,Qb(b,d,g,e),p=b.memoizedState,h!==d||m!==p||G.current||Ga?(\"function\"===typeof l&&(Lc(b,c,l,d),p=b.memoizedState),(l=Ga||Xg(b,c,h,d,m,p,n))?(k||\"function\"!==typeof g.UNSAFE_componentWillUpdate&&\n\"function\"!==typeof g.componentWillUpdate||(\"function\"===typeof g.componentWillUpdate&&g.componentWillUpdate(d,p,n),\"function\"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,p,n)),\"function\"===typeof g.componentDidUpdate&&(b.effectTag|=4),\"function\"===typeof g.getSnapshotBeforeUpdate&&(b.effectTag|=256)):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===\na.memoizedState||(b.effectTag|=256),b.memoizedProps=d,b.memoizedState=p),g.props=d,g.state=p,g.context=n,d=l):(\"function\"!==typeof g.componentDidUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=4),\"function\"!==typeof g.getSnapshotBeforeUpdate||h===a.memoizedProps&&m===a.memoizedState||(b.effectTag|=256),d=!1);return Ie(a,b,c,d,f,e)}function Ie(a,b,c,d,e,f){qh(a,b);var g=0!==(b.effectTag&64);if(!d&&!g)return e&&Hg(b,c,!1),sa(a,b,f);d=b.stateNode;gj.current=b;var h=g&&\"function\"!==typeof c.getDerivedStateFromError?\nnull:d.render();b.effectTag|=1;null!==a&&g?(b.child=wb(b,a.child,null,f),b.child=wb(b,null,h,f)):T(a,b,h,f);b.memoizedState=d.state;e&&Hg(b,c,!0);return b.child}function sh(a){var b=a.stateNode;b.pendingContext?Fg(a,b.pendingContext,b.pendingContext!==b.context):b.context&&Fg(a,b.context,!1);se(a,b.containerInfo)}function th(a,b,c){var d=b.mode,e=b.pendingProps,f=D.current,g=!1,h;(h=0!==(b.effectTag&64))||(h=0!==(f&2)&&(null===a||null!==a.memoizedState));h?(g=!0,b.effectTag&=-65):null!==a&&null===\na.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);y(D,f&1);if(null===a){void 0!==e.fallback&&De(b);if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==a;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;b.memoizedState=Je;b.child=e;return c}d=e.children;b.memoizedState=null;return b.child=Fe(b,null,d,c)}if(null!==a.memoizedState){a=a.child;d=a.sibling;if(g){e=e.fallback;\nc=Sa(a,a.pendingProps);c.return=b;if(0===(b.mode&2)&&(g=null!==b.memoizedState?b.child.child:b.child,g!==a.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=Sa(d,e);d.return=b;c.sibling=d;c.childExpirationTime=0;b.memoizedState=Je;b.child=c;return d}c=wb(b,a.child,e.children,c);b.memoizedState=null;return b.child=c}a=a.child;if(g){g=e.fallback;e=Ha(null,d,0,null);e.return=b;e.child=a;null!==a&&(a.return=e);if(0===(b.mode&2))for(a=null!==b.memoizedState?b.child.child:b.child,e.child=a;null!==\na;)a.return=e,a=a.sibling;c=Ha(g,d,c,null);c.return=b;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;b.memoizedState=Je;b.child=e;return c}b.memoizedState=null;return b.child=wb(b,a,e.children,c)}function uh(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);Sg(a.return,b)}function Ke(a,b,c,d,e,f){var g=a.memoizedState;null===g?a.memoizedState={isBackwards:b,rendering:null,renderingStartTime:0,last:d,tail:c,tailExpiration:0,tailMode:e,\nlastEffect:f}:(g.isBackwards=b,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=c,g.tailExpiration=0,g.tailMode=e,g.lastEffect=f)}function vh(a,b,c){var d=b.pendingProps,e=d.revealOrder,f=d.tail;T(a,b,d.children,c);d=D.current;if(0!==(d&2))d=d&1|2,b.effectTag|=64;else{if(null!==a&&0!==(a.effectTag&64))a:for(a=b.child;null!==a;){if(13===a.tag)null!==a.memoizedState&&uh(a,c);else if(19===a.tag)uh(a,c);else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break a;for(;null===a.sibling;){if(null===\na.return||a.return===b)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}d&=1}y(D,d);if(0===(b.mode&2))b.memoizedState=null;else switch(e){case \"forwards\":c=b.child;for(e=null;null!==c;)a=c.alternate,null!==a&&null===Rc(a)&&(e=c),c=c.sibling;c=e;null===c?(e=b.child,b.child=null):(e=c.sibling,c.sibling=null);Ke(b,!1,e,c,f,b.lastEffect);break;case \"backwards\":c=null;e=b.child;for(b.child=null;null!==e;){a=e.alternate;if(null!==a&&null===Rc(a)){b.child=e;break}a=e.sibling;e.sibling=c;c=e;e=a}Ke(b,\n!0,c,null,f,b.lastEffect);break;case \"together\":Ke(b,!1,null,null,void 0,b.lastEffect);break;default:b.memoizedState=null}return b.child}function sa(a,b,c){null!==a&&(b.dependencies=a.dependencies);var d=b.expirationTime;0!==d&&Kc(d);if(b.childExpirationTime<c)return null;if(null!==a&&b.child!==a.child)throw Error(k(153));if(null!==b.child){a=b.child;c=Sa(a,a.pendingProps);b.child=c;for(c.return=b;null!==a.sibling;)a=a.sibling,c=c.sibling=Sa(a,a.pendingProps),c.return=b;c.sibling=null}return b.child}\nfunction $c(a,b){switch(a.tailMode){case \"hidden\":b=a.tail;for(var c=null;null!==b;)null!==b.alternate&&(c=b),b=b.sibling;null===c?a.tail=null:c.sibling=null;break;case \"collapsed\":c=a.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?b||null===a.tail?a.tail=null:a.tail.sibling=null:d.sibling=null}}function hj(a,b,c){var d=b.pendingProps;switch(b.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return N(b.type)&&(q(G),q(B)),\nnull;case 3:return tb(),q(G),q(B),c=b.stateNode,c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==a&&null!==a.child||!Zc(b)||(b.effectTag|=4),wh(b),null;case 5:te(b);c=Ta(Tb.current);var e=b.type;if(null!==a&&null!=b.stateNode)ij(a,b,e,d,c),a.ref!==b.ref&&(b.effectTag|=128);else{if(!d){if(null===b.stateNode)throw Error(k(166));return null}a=Ta(ja.current);if(Zc(b)){d=b.stateNode;e=b.type;var f=b.memoizedProps;d[Aa]=b;d[vc]=f;switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",\nd);break;case \"video\":case \"audio\":for(a=0;a<Db.length;a++)w(Db[a],d);break;case \"source\":w(\"error\",d);break;case \"img\":case \"image\":case \"link\":w(\"error\",d);w(\"load\",d);break;case \"form\":w(\"reset\",d);w(\"submit\",d);break;case \"details\":w(\"toggle\",d);break;case \"input\":Hf(d,f);w(\"invalid\",d);oa(c,\"onChange\");break;case \"select\":d._wrapperState={wasMultiple:!!f.multiple};w(\"invalid\",d);oa(c,\"onChange\");break;case \"textarea\":Kf(d,f),w(\"invalid\",d),oa(c,\"onChange\")}Ud(e,f);a=null;for(var g in f)if(f.hasOwnProperty(g)){var h=\nf[g];\"children\"===g?\"string\"===typeof h?d.textContent!==h&&(a=[\"children\",h]):\"number\"===typeof h&&d.textContent!==\"\"+h&&(a=[\"children\",\"\"+h]):db.hasOwnProperty(g)&&null!=h&&oa(c,g)}switch(e){case \"input\":mc(d);Jf(d,f,!0);break;case \"textarea\":mc(d);Mf(d);break;case \"select\":case \"option\":break;default:\"function\"===typeof f.onClick&&(d.onclick=uc)}c=a;b.updateQueue=c;null!==c&&(b.effectTag|=4)}else{g=9===c.nodeType?c:c.ownerDocument;\"http://www.w3.org/1999/xhtml\"===a&&(a=Nf(e));\"http://www.w3.org/1999/xhtml\"===\na?\"script\"===e?(a=g.createElement(\"div\"),a.innerHTML=\"<script>\\x3c/script>\",a=a.removeChild(a.firstChild)):\"string\"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),\"select\"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Aa]=b;a[vc]=d;jj(a,b,!1,!1);b.stateNode=a;g=Vd(e,d);switch(e){case \"iframe\":case \"object\":case \"embed\":w(\"load\",a);h=d;break;case \"video\":case \"audio\":for(h=0;h<Db.length;h++)w(Db[h],a);h=d;break;case \"source\":w(\"error\",a);\nh=d;break;case \"img\":case \"image\":case \"link\":w(\"error\",a);w(\"load\",a);h=d;break;case \"form\":w(\"reset\",a);w(\"submit\",a);h=d;break;case \"details\":w(\"toggle\",a);h=d;break;case \"input\":Hf(a,d);h=Cd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;case \"option\":h=Fd(a,d);break;case \"select\":a._wrapperState={wasMultiple:!!d.multiple};h=M({},d,{value:void 0});w(\"invalid\",a);oa(c,\"onChange\");break;case \"textarea\":Kf(a,d);h=Gd(a,d);w(\"invalid\",a);oa(c,\"onChange\");break;default:h=d}Ud(e,h);var m=h;for(f in m)if(m.hasOwnProperty(f)){var n=\nm[f];\"style\"===f?gg(a,n):\"dangerouslySetInnerHTML\"===f?(n=n?n.__html:void 0,null!=n&&xh(a,n)):\"children\"===f?\"string\"===typeof n?(\"textarea\"!==e||\"\"!==n)&&Wb(a,n):\"number\"===typeof n&&Wb(a,\"\"+n):\"suppressContentEditableWarning\"!==f&&\"suppressHydrationWarning\"!==f&&\"autoFocus\"!==f&&(db.hasOwnProperty(f)?null!=n&&oa(c,f):null!=n&&xd(a,f,n,g))}switch(e){case \"input\":mc(a);Jf(a,d,!1);break;case \"textarea\":mc(a);Mf(a);break;case \"option\":null!=d.value&&a.setAttribute(\"value\",\"\"+va(d.value));break;case \"select\":a.multiple=\n!!d.multiple;c=d.value;null!=c?hb(a,!!d.multiple,c,!1):null!=d.defaultValue&&hb(a,!!d.multiple,d.defaultValue,!0);break;default:\"function\"===typeof h.onClick&&(a.onclick=uc)}lg(e,d)&&(b.effectTag|=4)}null!==b.ref&&(b.effectTag|=128)}return null;case 6:if(a&&null!=b.stateNode)kj(a,b,a.memoizedProps,d);else{if(\"string\"!==typeof d&&null===b.stateNode)throw Error(k(166));c=Ta(Tb.current);Ta(ja.current);Zc(b)?(c=b.stateNode,d=b.memoizedProps,c[Aa]=b,c.nodeValue!==d&&(b.effectTag|=4)):(c=(9===c.nodeType?\nc:c.ownerDocument).createTextNode(d),c[Aa]=b,b.stateNode=c)}return null;case 13:q(D);d=b.memoizedState;if(0!==(b.effectTag&64))return b.expirationTime=c,b;c=null!==d;d=!1;null===a?void 0!==b.memoizedProps.fallback&&Zc(b):(e=a.memoizedState,d=null!==e,c||null===e||(e=a.child.sibling,null!==e&&(f=b.firstEffect,null!==f?(b.firstEffect=e,e.nextEffect=f):(b.firstEffect=b.lastEffect=e,e.nextEffect=null),e.effectTag=8)));if(c&&!d&&0!==(b.mode&2))if(null===a&&!0!==b.memoizedProps.unstable_avoidThisFallback||\n0!==(D.current&1))F===Xa&&(F=ad);else{if(F===Xa||F===ad)F=bd;0!==Xb&&null!==U&&(Ya(U,P),yh(U,Xb))}if(c||d)b.effectTag|=4;return null;case 4:return tb(),wh(b),null;case 10:return me(b),null;case 17:return N(b.type)&&(q(G),q(B)),null;case 19:q(D);d=b.memoizedState;if(null===d)return null;e=0!==(b.effectTag&64);f=d.rendering;if(null===f)if(e)$c(d,!1);else{if(F!==Xa||null!==a&&0!==(a.effectTag&64))for(f=b.child;null!==f;){a=Rc(f);if(null!==a){b.effectTag|=64;$c(d,!1);e=a.updateQueue;null!==e&&(b.updateQueue=\ne,b.effectTag|=4);null===d.lastEffect&&(b.firstEffect=null);b.lastEffect=d.lastEffect;for(d=b.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,a=e.alternate,null===a?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=a.childExpirationTime,e.expirationTime=a.expirationTime,e.child=a.child,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,\ne.updateQueue=a.updateQueue,f=a.dependencies,e.dependencies=null===f?null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;y(D,D.current&1|2);return b.child}f=f.sibling}}else{if(!e)if(a=Rc(f),null!==a){if(b.effectTag|=64,e=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.effectTag|=4),$c(d,!0),null===d.tail&&\"hidden\"===d.tailMode&&!f.alternate)return b=b.lastEffect=d.lastEffect,null!==b&&(b.nextEffect=null),null}else 2*Y()-d.renderingStartTime>d.tailExpiration&&\n1<c&&(b.effectTag|=64,e=!0,$c(d,!1),b.expirationTime=b.childExpirationTime=c-1);d.isBackwards?(f.sibling=b.child,b.child=f):(c=d.last,null!==c?c.sibling=f:b.child=f,d.last=f)}return null!==d.tail?(0===d.tailExpiration&&(d.tailExpiration=Y()+500),c=d.tail,d.rendering=c,d.tail=c.sibling,d.lastEffect=b.lastEffect,d.renderingStartTime=Y(),c.sibling=null,b=D.current,y(D,e?b&1|2:b&1),c):null}throw Error(k(156,b.tag));}function lj(a,b){switch(a.tag){case 1:return N(a.type)&&(q(G),q(B)),b=a.effectTag,b&4096?\n(a.effectTag=b&-4097|64,a):null;case 3:tb();q(G);q(B);b=a.effectTag;if(0!==(b&64))throw Error(k(285));a.effectTag=b&-4097|64;return a;case 5:return te(a),null;case 13:return q(D),b=a.effectTag,b&4096?(a.effectTag=b&-4097|64,a):null;case 19:return q(D),null;case 4:return tb(),null;case 10:return me(a),null;default:return null}}function Le(a,b){return{value:a,source:b,stack:Bd(b)}}function Me(a,b){var c=b.source,d=b.stack;null===d&&null!==c&&(d=Bd(c));null!==c&&na(c.type);b=b.value;null!==a&&1===a.tag&&\nna(a.type);try{console.error(b)}catch(e){setTimeout(function(){throw e;})}}function mj(a,b){try{b.props=a.memoizedProps,b.state=a.memoizedState,b.componentWillUnmount()}catch(c){Za(a,c)}}function zh(a){var b=a.ref;if(null!==b)if(\"function\"===typeof b)try{b(null)}catch(c){Za(a,c)}else b.current=null}function nj(a,b){switch(b.tag){case 0:case 11:case 15:case 22:return;case 1:if(b.effectTag&256&&null!==a){var c=a.memoizedProps,d=a.memoizedState;a=b.stateNode;b=a.getSnapshotBeforeUpdate(b.elementType===\nb.type?c:aa(b.type,c),d);a.__reactInternalSnapshotBeforeUpdate=b}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(k(163));}function Ah(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.destroy;c.destroy=void 0;void 0!==d&&d()}c=c.next}while(c!==b)}}function Bh(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function oj(a,b,c,d){switch(c.tag){case 0:case 11:case 15:case 22:Bh(3,\nc);return;case 1:a=c.stateNode;c.effectTag&4&&(null===b?a.componentDidMount():(d=c.elementType===c.type?b.memoizedProps:aa(c.type,b.memoizedProps),a.componentDidUpdate(d,b.memoizedState,a.__reactInternalSnapshotBeforeUpdate)));b=c.updateQueue;null!==b&&Wg(c,b,a);return;case 3:b=c.updateQueue;if(null!==b){a=null;if(null!==c.child)switch(c.child.tag){case 5:a=c.child.stateNode;break;case 1:a=c.child.stateNode}Wg(c,b,a)}return;case 5:a=c.stateNode;null===b&&c.effectTag&4&&lg(c.type,c.memoizedProps)&&\na.focus();return;case 6:return;case 4:return;case 12:return;case 13:null===c.memoizedState&&(c=c.alternate,null!==c&&(c=c.memoizedState,null!==c&&(c=c.dehydrated,null!==c&&bg(c))));return;case 19:case 17:case 20:case 21:return}throw Error(k(163));}function Ch(a,b,c){\"function\"===typeof Ne&&Ne(b);switch(b.tag){case 0:case 11:case 14:case 15:case 22:a=b.updateQueue;if(null!==a&&(a=a.lastEffect,null!==a)){var d=a.next;Da(97<c?97:c,function(){var a=d;do{var c=a.destroy;if(void 0!==c){var g=b;try{c()}catch(h){Za(g,\nh)}}a=a.next}while(a!==d)})}break;case 1:zh(b);c=b.stateNode;\"function\"===typeof c.componentWillUnmount&&mj(b,c);break;case 5:zh(b);break;case 4:Dh(a,b,c)}}function Eh(a){var b=a.alternate;a.return=null;a.child=null;a.memoizedState=null;a.updateQueue=null;a.dependencies=null;a.alternate=null;a.firstEffect=null;a.lastEffect=null;a.pendingProps=null;a.memoizedProps=null;a.stateNode=null;null!==b&&Eh(b)}function Fh(a){return 5===a.tag||3===a.tag||4===a.tag}function Gh(a){a:{for(var b=a.return;null!==\nb;){if(Fh(b)){var c=b;break a}b=b.return}throw Error(k(160));}b=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:b=b.containerInfo;d=!0;break;case 4:b=b.containerInfo;d=!0;break;default:throw Error(k(161));}c.effectTag&16&&(Wb(b,\"\"),c.effectTag&=-17);a:b:for(c=a;;){for(;null===c.sibling;){if(null===c.return||Fh(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;if(null===c.child||4===c.tag)continue b;\nelse c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}d?Oe(a,c,b):Pe(a,c,b)}function Oe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=uc));else if(4!==d&&(a=a.child,null!==a))for(Oe(a,b,c),a=a.sibling;null!==a;)Oe(a,b,c),a=a.sibling}\nfunction Pe(a,b,c){var d=a.tag,e=5===d||6===d;if(e)a=e?a.stateNode:a.stateNode.instance,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Pe(a,b,c),a=a.sibling;null!==a;)Pe(a,b,c),a=a.sibling}function Dh(a,b,c){for(var d=b,e=!1,f,g;;){if(!e){e=d.return;a:for(;;){if(null===e)throw Error(k(160));f=e.stateNode;switch(e.tag){case 5:g=!1;break a;case 3:f=f.containerInfo;g=!0;break a;case 4:f=f.containerInfo;g=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var h=\na,m=d,n=c,l=m;;)if(Ch(h,l,n),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===m)break a;for(;null===l.sibling;){if(null===l.return||l.return===m)break a;l=l.return}l.sibling.return=l.return;l=l.sibling}g?(h=f,m=d.stateNode,8===h.nodeType?h.parentNode.removeChild(m):h.removeChild(m)):f.removeChild(d.stateNode)}else if(4===d.tag){if(null!==d.child){f=d.stateNode.containerInfo;g=!0;d.child.return=d;d=d.child;continue}}else if(Ch(a,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===\nb)break;for(;null===d.sibling;){if(null===d.return||d.return===b)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}function Qe(a,b){switch(b.tag){case 0:case 11:case 14:case 15:case 22:Ah(3,b);return;case 1:return;case 5:var c=b.stateNode;if(null!=c){var d=b.memoizedProps,e=null!==a?a.memoizedProps:d;a=b.type;var f=b.updateQueue;b.updateQueue=null;if(null!==f){c[vc]=d;\"input\"===a&&\"radio\"===d.type&&null!=d.name&&If(c,d);Vd(a,e);b=Vd(a,d);for(e=0;e<f.length;e+=2){var g=f[e],\nh=f[e+1];\"style\"===g?gg(c,h):\"dangerouslySetInnerHTML\"===g?xh(c,h):\"children\"===g?Wb(c,h):xd(c,g,h,b)}switch(a){case \"input\":Dd(c,d);break;case \"textarea\":Lf(c,d);break;case \"select\":b=c._wrapperState.wasMultiple,c._wrapperState.wasMultiple=!!d.multiple,a=d.value,null!=a?hb(c,!!d.multiple,a,!1):b!==!!d.multiple&&(null!=d.defaultValue?hb(c,!!d.multiple,d.defaultValue,!0):hb(c,!!d.multiple,d.multiple?[]:\"\",!1))}}}return;case 6:if(null===b.stateNode)throw Error(k(162));b.stateNode.nodeValue=b.memoizedProps;\nreturn;case 3:b=b.stateNode;b.hydrate&&(b.hydrate=!1,bg(b.containerInfo));return;case 12:return;case 13:c=b;null===b.memoizedState?d=!1:(d=!0,c=b.child,Re=Y());if(null!==c)a:for(a=c;;){if(5===a.tag)f=a.stateNode,d?(f=f.style,\"function\"===typeof f.setProperty?f.setProperty(\"display\",\"none\",\"important\"):f.display=\"none\"):(f=a.stateNode,e=a.memoizedProps.style,e=void 0!==e&&null!==e&&e.hasOwnProperty(\"display\")?e.display:null,f.style.display=fg(\"display\",e));else if(6===a.tag)a.stateNode.nodeValue=d?\n\"\":a.memoizedProps;else if(13===a.tag&&null!==a.memoizedState&&null===a.memoizedState.dehydrated){f=a.child.sibling;f.return=a;a=f;continue}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===c)break;for(;null===a.sibling;){if(null===a.return||a.return===c)break a;a=a.return}a.sibling.return=a.return;a=a.sibling}Hh(b);return;case 19:Hh(b);return;case 17:return}throw Error(k(163));}function Hh(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=\nnew pj);b.forEach(function(b){var d=qj.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}function Ih(a,b,c){c=Ea(c,null);c.tag=3;c.payload={element:null};var d=b.value;c.callback=function(){cd||(cd=!0,Se=d);Me(a,b)};return c}function Jh(a,b,c){c=Ea(c,null);c.tag=3;var d=a.type.getDerivedStateFromError;if(\"function\"===typeof d){var e=b.value;c.payload=function(){Me(a,b);return d(e)}}var f=a.stateNode;null!==f&&\"function\"===typeof f.componentDidCatch&&(c.callback=function(){\"function\"!==typeof d&&\n(null===La?La=new Set([this]):La.add(this),Me(a,b));var c=b.stack;this.componentDidCatch(b.value,{componentStack:null!==c?c:\"\"})});return c}function ka(){return(p&(ca|ma))!==H?1073741821-(Y()/10|0):0!==dd?dd:dd=1073741821-(Y()/10|0)}function Va(a,b,c){b=b.mode;if(0===(b&2))return 1073741823;var d=Cc();if(0===(b&4))return 99===d?1073741823:1073741822;if((p&ca)!==H)return P;if(null!==c)a=Fc(a,c.timeoutMs|0||5E3,250);else switch(d){case 99:a=1073741823;break;case 98:a=Fc(a,150,100);break;case 97:case 96:a=\nFc(a,5E3,250);break;case 95:a=2;break;default:throw Error(k(326));}null!==U&&a===P&&--a;return a}function ed(a,b){a.expirationTime<b&&(a.expirationTime=b);var c=a.alternate;null!==c&&c.expirationTime<b&&(c.expirationTime=b);var d=a.return,e=null;if(null===d&&3===a.tag)e=a.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<b&&(d.childExpirationTime=b);null!==c&&c.childExpirationTime<b&&(c.childExpirationTime=b);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&\n(U===e&&(Kc(b),F===bd&&Ya(e,P)),yh(e,b));return e}function fd(a){var b=a.lastExpiredTime;if(0!==b)return b;b=a.firstPendingTime;if(!Kh(a,b))return b;var c=a.lastPingedTime;a=a.nextKnownPendingLevel;a=c>a?c:a;return 2>=a&&b!==a?0:a}function V(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=Og(Te.bind(null,a));else{var b=fd(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=ka();\n1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Qg&&Rg(c)}a.callbackExpirationTime=b;a.callbackPriority=d;b=1073741823===b?Og(Te.bind(null,a)):Ng(d,Lh.bind(null,a),{timeout:10*(1073741821-b)-Y()});a.callbackNode=b}}}function Lh(a,b){dd=0;if(b)return b=ka(),Ue(a,b),V(a),null;var c=fd(a);if(0!==c){b=a.callbackNode;if((p&(ca|ma))!==H)throw Error(k(327));\nxb();a===U&&c===P||$a(a,c);if(null!==t){var d=p;p|=ca;var e=Mh();do try{rj();break}catch(h){Nh(a,h)}while(1);le();p=d;gd.current=e;if(F===hd)throw b=id,$a(a,c),Ya(a,c),V(a),b;if(null===t)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=F,U=null,d){case Xa:case hd:throw Error(k(345));case Oh:Ue(a,2<c?2:c);break;case ad:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(1073741823===ta&&(e=Re+Ph-Y(),10<e)){if(jd){var f=a.lastPingedTime;if(0===f||f>=c){a.lastPingedTime=\nc;$a(a,c);break}}f=fd(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=We(ab.bind(null,a),e);break}ab(a);break;case bd:Ya(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ve(e));if(jd&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;$a(a,c);break}e=fd(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}1073741823!==Yb?d=10*(1073741821-Yb)-Y():1073741823===ta?d=0:(d=10*(1073741821-ta)-5E3,e=Y(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d=\n(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*sj(d/1960))-d,c<d&&(d=c));if(10<d){a.timeoutHandle=We(ab.bind(null,a),d);break}ab(a);break;case Xe:if(1073741823!==ta&&null!==kd){f=ta;var g=kd;d=g.busyMinDurationMs|0;0>=d?d=0:(e=g.busyDelayMs|0,f=Y()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10<d){Ya(a,c);a.timeoutHandle=We(ab.bind(null,a),d);break}}ab(a);break;default:throw Error(k(329));}V(a);if(a.callbackNode===b)return Lh.bind(null,a)}}return null}function Te(a){var b=\na.lastExpiredTime;b=0!==b?b:1073741823;if((p&(ca|ma))!==H)throw Error(k(327));xb();a===U&&b===P||$a(a,b);if(null!==t){var c=p;p|=ca;var d=Mh();do try{tj();break}catch(e){Nh(a,e)}while(1);le();p=c;gd.current=d;if(F===hd)throw c=id,$a(a,b),Ya(a,b),V(a),c;if(null!==t)throw Error(k(261));a.finishedWork=a.current.alternate;a.finishedExpirationTime=b;U=null;ab(a);V(a)}return null}function uj(){if(null!==bb){var a=bb;bb=null;a.forEach(function(a,c){Ue(c,a);V(c)});ha()}}function Qh(a,b){var c=p;p|=1;try{return a(b)}finally{p=\nc,p===H&&ha()}}function Rh(a,b){var c=p;p&=-2;p|=Ye;try{return a(b)}finally{p=c,p===H&&ha()}}function $a(a,b){a.finishedWork=null;a.finishedExpirationTime=0;var c=a.timeoutHandle;-1!==c&&(a.timeoutHandle=-1,vj(c));if(null!==t)for(c=t.return;null!==c;){var d=c;switch(d.tag){case 1:d=d.type.childContextTypes;null!==d&&void 0!==d&&(q(G),q(B));break;case 3:tb();q(G);q(B);break;case 5:te(d);break;case 4:tb();break;case 13:q(D);break;case 19:q(D);break;case 10:me(d)}c=c.return}U=a;t=Sa(a.current,null);\nP=b;F=Xa;id=null;Yb=ta=1073741823;kd=null;Xb=0;jd=!1}function Nh(a,b){do{try{le();Sc.current=Tc;if(Uc)for(var c=z.memoizedState;null!==c;){var d=c.queue;null!==d&&(d.pending=null);c=c.next}Ia=0;J=K=z=null;Uc=!1;if(null===t||null===t.return)return F=hd,id=b,t=null;a:{var e=a,f=t.return,g=t,h=b;b=P;g.effectTag|=2048;g.firstEffect=g.lastEffect=null;if(null!==h&&\"object\"===typeof h&&\"function\"===typeof h.then){var m=h;if(0===(g.mode&2)){var n=g.alternate;n?(g.updateQueue=n.updateQueue,g.memoizedState=\nn.memoizedState,g.expirationTime=n.expirationTime):(g.updateQueue=null,g.memoizedState=null)}var l=0!==(D.current&1),k=f;do{var p;if(p=13===k.tag){var q=k.memoizedState;if(null!==q)p=null!==q.dehydrated?!0:!1;else{var w=k.memoizedProps;p=void 0===w.fallback?!1:!0!==w.unstable_avoidThisFallback?!0:l?!1:!0}}if(p){var y=k.updateQueue;if(null===y){var r=new Set;r.add(m);k.updateQueue=r}else y.add(m);if(0===(k.mode&2)){k.effectTag|=64;g.effectTag&=-2981;if(1===g.tag)if(null===g.alternate)g.tag=17;else{var O=\nEa(1073741823,null);O.tag=Jc;Fa(g,O)}g.expirationTime=1073741823;break a}h=void 0;g=b;var v=e.pingCache;null===v?(v=e.pingCache=new wj,h=new Set,v.set(m,h)):(h=v.get(m),void 0===h&&(h=new Set,v.set(m,h)));if(!h.has(g)){h.add(g);var x=xj.bind(null,e,m,g);m.then(x,x)}k.effectTag|=4096;k.expirationTime=b;break a}k=k.return}while(null!==k);h=Error((na(g.type)||\"A React component\")+\" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\"+\nBd(g))}F!==Xe&&(F=Oh);h=Le(h,g);k=f;do{switch(k.tag){case 3:m=h;k.effectTag|=4096;k.expirationTime=b;var A=Ih(k,m,b);Ug(k,A);break a;case 1:m=h;var u=k.type,B=k.stateNode;if(0===(k.effectTag&64)&&(\"function\"===typeof u.getDerivedStateFromError||null!==B&&\"function\"===typeof B.componentDidCatch&&(null===La||!La.has(B)))){k.effectTag|=4096;k.expirationTime=b;var H=Jh(k,m,b);Ug(k,H);break a}}k=k.return}while(null!==k)}t=Sh(t)}catch(cj){b=cj;continue}break}while(1)}function Mh(a){a=gd.current;gd.current=\nTc;return null===a?Tc:a}function Vg(a,b){a<ta&&2<a&&(ta=a);null!==b&&a<Yb&&2<a&&(Yb=a,kd=b)}function Kc(a){a>Xb&&(Xb=a)}function tj(){for(;null!==t;)t=Th(t)}function rj(){for(;null!==t&&!yj();)t=Th(t)}function Th(a){var b=zj(a.alternate,a,P);a.memoizedProps=a.pendingProps;null===b&&(b=Sh(a));Uh.current=null;return b}function Sh(a){t=a;do{var b=t.alternate;a=t.return;if(0===(t.effectTag&2048)){b=hj(b,t,P);if(1===P||1!==t.childExpirationTime){for(var c=0,d=t.child;null!==d;){var e=d.expirationTime,\nf=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}t.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=t.firstEffect),a.lastEffect=t.lastEffect),1<t.effectTag&&(null!==a.lastEffect?a.lastEffect.nextEffect=t:a.firstEffect=t,a.lastEffect=t))}else{b=lj(t);if(null!==b)return b.effectTag&=2047,b;null!==a&&(a.firstEffect=a.lastEffect=null,a.effectTag|=\n2048)}b=t.sibling;if(null!==b)return b;t=a}while(null!==t);F===Xa&&(F=Xe);return null}function Ve(a){var b=a.expirationTime;a=a.childExpirationTime;return b>a?b:a}function ab(a){var b=Cc();Da(99,Aj.bind(null,a,b));return null}function Aj(a,b){do xb();while(null!==Zb);if((p&(ca|ma))!==H)throw Error(k(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(k(177));a.callbackNode=null;a.callbackExpirationTime=\n0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ve(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(t=U=null,P=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;if(null!==e){var f=p;p|=ma;Uh.current=null;Ze=tc;var g=kg();if(Xd(g)){if(\"selectionStart\"in\ng)var h={start:g.selectionStart,end:g.selectionEnd};else a:{h=(h=g.ownerDocument)&&h.defaultView||window;var m=h.getSelection&&h.getSelection();if(m&&0!==m.rangeCount){h=m.anchorNode;var n=m.anchorOffset,q=m.focusNode;m=m.focusOffset;try{h.nodeType,q.nodeType}catch(sb){h=null;break a}var ba=0,w=-1,y=-1,B=0,D=0,r=g,z=null;b:for(;;){for(var v;;){r!==h||0!==n&&3!==r.nodeType||(w=ba+n);r!==q||0!==m&&3!==r.nodeType||(y=ba+m);3===r.nodeType&&(ba+=r.nodeValue.length);if(null===(v=r.firstChild))break;z=r;\nr=v}for(;;){if(r===g)break b;z===h&&++B===n&&(w=ba);z===q&&++D===m&&(y=ba);if(null!==(v=r.nextSibling))break;r=z;z=r.parentNode}r=v}h=-1===w||-1===y?null:{start:w,end:y}}else h=null}h=h||{start:0,end:0}}else h=null;$e={activeElementDetached:null,focusedElem:g,selectionRange:h};tc=!1;l=e;do try{Bj()}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=e;do try{for(g=a,h=b;null!==l;){var x=l.effectTag;x&16&&Wb(l.stateNode,\"\");if(x&128){var A=l.alternate;if(null!==A){var u=\nA.ref;null!==u&&(\"function\"===typeof u?u(null):u.current=null)}}switch(x&1038){case 2:Gh(l);l.effectTag&=-3;break;case 6:Gh(l);l.effectTag&=-3;Qe(l.alternate,l);break;case 1024:l.effectTag&=-1025;break;case 1028:l.effectTag&=-1025;Qe(l.alternate,l);break;case 4:Qe(l.alternate,l);break;case 8:n=l,Dh(g,n,h),Eh(n)}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);u=$e;A=kg();x=u.focusedElem;h=u.selectionRange;if(A!==x&&x&&x.ownerDocument&&jg(x.ownerDocument.documentElement,\nx)){null!==h&&Xd(x)&&(A=h.start,u=h.end,void 0===u&&(u=A),\"selectionStart\"in x?(x.selectionStart=A,x.selectionEnd=Math.min(u,x.value.length)):(u=(A=x.ownerDocument||document)&&A.defaultView||window,u.getSelection&&(u=u.getSelection(),n=x.textContent.length,g=Math.min(h.start,n),h=void 0===h.end?g:Math.min(h.end,n),!u.extend&&g>h&&(n=h,h=g,g=n),n=ig(x,g),q=ig(x,h),n&&q&&(1!==u.rangeCount||u.anchorNode!==n.node||u.anchorOffset!==n.offset||u.focusNode!==q.node||u.focusOffset!==q.offset)&&(A=A.createRange(),\nA.setStart(n.node,n.offset),u.removeAllRanges(),g>h?(u.addRange(A),u.extend(q.node,q.offset)):(A.setEnd(q.node,q.offset),u.addRange(A))))));A=[];for(u=x;u=u.parentNode;)1===u.nodeType&&A.push({element:u,left:u.scrollLeft,top:u.scrollTop});\"function\"===typeof x.focus&&x.focus();for(x=0;x<A.length;x++)u=A[x],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}tc=!!Ze;$e=Ze=null;a.current=c;l=e;do try{for(x=a;null!==l;){var F=l.effectTag;F&36&&oj(x,l.alternate,l);if(F&128){A=void 0;var E=l.ref;if(null!==\nE){var G=l.stateNode;switch(l.tag){case 5:A=G;break;default:A=G}\"function\"===typeof E?E(A):E.current=A}}l=l.nextEffect}}catch(sb){if(null===l)throw Error(k(330));Za(l,sb);l=l.nextEffect}while(null!==l);l=null;Cj();p=f}else a.current=c;if(ld)ld=!1,Zb=a,$b=b;else for(l=e;null!==l;)b=l.nextEffect,l.nextEffect=null,l=b;b=a.firstPendingTime;0===b&&(La=null);1073741823===b?a===af?ac++:(ac=0,af=a):ac=0;\"function\"===typeof bf&&bf(c.stateNode,d);V(a);if(cd)throw cd=!1,a=Se,Se=null,a;if((p&Ye)!==H)return null;\nha();return null}function Bj(){for(;null!==l;){var a=l.effectTag;0!==(a&256)&&nj(l.alternate,l);0===(a&512)||ld||(ld=!0,Ng(97,function(){xb();return null}));l=l.nextEffect}}function xb(){if(90!==$b){var a=97<$b?97:$b;$b=90;return Da(a,Dj)}}function Dj(){if(null===Zb)return!1;var a=Zb;Zb=null;if((p&(ca|ma))!==H)throw Error(k(331));var b=p;p|=ma;for(a=a.current.firstEffect;null!==a;){try{var c=a;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:case 22:Ah(5,c),Bh(5,c)}}catch(d){if(null===\na)throw Error(k(330));Za(a,d)}c=a.nextEffect;a.nextEffect=null;a=c}p=b;ha();return!0}function Vh(a,b,c){b=Le(c,b);b=Ih(a,b,1073741823);Fa(a,b);a=ed(a,1073741823);null!==a&&V(a)}function Za(a,b){if(3===a.tag)Vh(a,a,b);else for(var c=a.return;null!==c;){if(3===c.tag){Vh(c,a,b);break}else if(1===c.tag){var d=c.stateNode;if(\"function\"===typeof c.type.getDerivedStateFromError||\"function\"===typeof d.componentDidCatch&&(null===La||!La.has(d))){a=Le(b,a);a=Jh(c,a,1073741823);Fa(c,a);c=ed(c,1073741823);null!==\nc&&V(c);break}}c=c.return}}function xj(a,b,c){var d=a.pingCache;null!==d&&d.delete(b);U===a&&P===c?F===bd||F===ad&&1073741823===ta&&Y()-Re<Ph?$a(a,P):jd=!0:Kh(a,c)&&(b=a.lastPingedTime,0!==b&&b<c||(a.lastPingedTime=c,V(a)))}function qj(a,b){var c=a.stateNode;null!==c&&c.delete(b);b=0;0===b&&(b=ka(),b=Va(b,a,null));a=ed(a,b);null!==a&&V(a)}function Ej(a){if(\"undefined\"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return!0;try{var c=\nb.inject(a);bf=function(a,e){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64))}catch(f){}};Ne=function(a){try{b.onCommitFiberUnmount(c,a)}catch(e){}}}catch(d){}return!0}function Fj(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=\nnull;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function Ge(a){a=a.prototype;return!(!a||!a.isReactComponent)}function Gj(a){if(\"function\"===typeof a)return Ge(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===zd)return 11;if(a===Ad)return 14}return 2}function Sa(a,b){var c=a.alternate;null===c?(c=la(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.effectTag=0,c.nextEffect=null,c.firstEffect=\nnull,c.lastEffect=null);c.childExpirationTime=a.childExpirationTime;c.expirationTime=a.expirationTime;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{expirationTime:b.expirationTime,firstContext:b.firstContext,responders:b.responders};c.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}function Oc(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)Ge(a)&&(g=1);else if(\"string\"===typeof a)g=\n5;else a:switch(a){case Ma:return Ha(c.children,e,f,b);case Hj:g=8;e|=7;break;case Af:g=8;e|=1;break;case kc:return a=la(12,c,b,e|8),a.elementType=kc,a.type=kc,a.expirationTime=f,a;case lc:return a=la(13,c,b,e),a.type=lc,a.elementType=lc,a.expirationTime=f,a;case yd:return a=la(19,c,b,e),a.elementType=yd,a.expirationTime=f,a;default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Cf:g=10;break a;case Bf:g=9;break a;case zd:g=11;break a;case Ad:g=14;break a;case Ef:g=16;d=null;break a;case Df:g=\n22;break a}throw Error(k(130,null==a?a:typeof a,\"\"));}b=la(g,c,b,e);b.elementType=a;b.type=d;b.expirationTime=f;return b}function Ha(a,b,c,d){a=la(7,a,d,b);a.expirationTime=c;return a}function qe(a,b,c){a=la(6,a,null,b);a.expirationTime=c;return a}function re(a,b,c){b=la(4,null!==a.children?a.children:[],a.key,b);b.expirationTime=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}function Ij(a,b,c){this.tag=b;this.current=null;this.containerInfo=\na;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=null;this.callbackPriority=90;this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Kh(a,b){var c=a.firstSuspendedTime;a=a.lastSuspendedTime;return 0!==c&&c>=b&&a<=b}function Ya(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime;\nc<b&&(a.firstSuspendedTime=b);if(d>b||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}function yh(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Ue(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b}\nfunction md(a,b,c,d){var e=b.current,f=ka(),g=Vb.suspense;f=Va(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(Na(c)!==c||1!==c.tag)throw Error(k(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(N(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw Error(k(171));}if(1===c.tag){var m=c.type;if(N(m)){c=Gg(c,m,h);break a}}c=h}else c=Ca;null===b.context?b.context=c:b.pendingContext=c;b=Ea(f,g);b.payload={element:a};d=void 0===\nd?null:d;null!==d&&(b.callback=d);Fa(e,b);Ja(e,f);return f}function cf(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Wh(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime<b&&(a.retryTime=b)}function df(a,b){Wh(a,b);(a=a.alternate)&&Wh(a,b)}function ef(a,b,c){c=null!=c&&!0===c.hydrate;var d=new Ij(a,b,c),e=la(3,null,null,2===b?7:1===b?3:0);d.current=e;e.stateNode=d;ne(e);a[Lb]=d.current;c&&0!==b&&\nxi(a,9===a.nodeType?a:a.ownerDocument);this._internalRoot=d}function bc(a){return!(!a||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType&&(8!==a.nodeType||\" react-mount-point-unstable \"!==a.nodeValue))}function Jj(a,b){b||(b=a?9===a.nodeType?a.documentElement:a.firstChild:null,b=!(!b||1!==b.nodeType||!b.hasAttribute(\"data-reactroot\")));if(!b)for(var c;c=a.lastChild;)a.removeChild(c);return new ef(a,0,b?{hydrate:!0}:void 0)}function nd(a,b,c,d,e){var f=c._reactRootContainer;if(f){var g=f._internalRoot;\nif(\"function\"===typeof e){var h=e;e=function(){var a=cf(g);h.call(a)}}md(b,g,a,e)}else{f=c._reactRootContainer=Jj(c,d);g=f._internalRoot;if(\"function\"===typeof e){var m=e;e=function(){var a=cf(g);m.call(a)}}Rh(function(){md(b,g,a,e)})}return cf(g)}function Kj(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:gb,key:null==d?null:\"\"+d,children:a,containerInfo:b,implementation:c}}function Xh(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;\nif(!bc(b))throw Error(k(200));return Kj(a,b,null,c)}if(!ea)throw Error(k(227));var ki=function(a,b,c,d,e,f,g,h,m){var n=Array.prototype.slice.call(arguments,3);try{b.apply(c,n)}catch(C){this.onError(C)}},yb=!1,gc=null,hc=!1,pd=null,li={onError:function(a){yb=!0;gc=a}},td=null,rf=null,mf=null,ic=null,cb={},jc=[],qd={},db={},rd={},wa=!(\"undefined\"===typeof window||\"undefined\"===typeof window.document||\"undefined\"===typeof window.document.createElement),M=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,\nsd=null,eb=null,fb=null,ee=function(a,b){return a(b)},eg=function(a,b,c,d,e){return a(b,c,d,e)},vd=function(){},vf=ee,Oa=!1,wd=!1,Z=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler,Lj=Z.unstable_cancelCallback,ff=Z.unstable_now,$f=Z.unstable_scheduleCallback,Mj=Z.unstable_shouldYield,Yh=Z.unstable_requestPaint,Pd=Z.unstable_runWithPriority,Nj=Z.unstable_getCurrentPriorityLevel,Oj=Z.unstable_ImmediatePriority,Zh=Z.unstable_UserBlockingPriority,ag=Z.unstable_NormalPriority,Pj=Z.unstable_LowPriority,\nQj=Z.unstable_IdlePriority,oi=/^[: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]*$/,wf=Object.prototype.hasOwnProperty,yf={},xf={},E={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){E[a]=\nnew L(a,0,!1,a,null,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];E[b]=new L(b,1,!1,a[1],null,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){E[a]=new L(a,2,!1,a.toLowerCase(),null,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){E[a]=new L(a,2,!1,a,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(a){E[a]=\nnew L(a,3,!1,a.toLowerCase(),null,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){E[a]=new L(a,3,!0,a,null,!1)});[\"capture\",\"download\"].forEach(function(a){E[a]=new L(a,4,!1,a,null,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){E[a]=new L(a,6,!1,a,null,!1)});[\"rowSpan\",\"start\"].forEach(function(a){E[a]=new L(a,5,!1,a.toLowerCase(),null,!1)});var gf=/[\\-:]([a-z])/g,hf=function(a){return a[1].toUpperCase()};\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=\na.replace(gf,hf);E[b]=new L(b,1,!1,a,null,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(gf,hf);E[b]=new L(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!1)});E.xlinkHref=new L(\"xlinkHref\",1,\n!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){E[a]=new L(a,1,!1,a.toLowerCase(),null,!0)});var da=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;da.hasOwnProperty(\"ReactCurrentDispatcher\")||(da.ReactCurrentDispatcher={current:null});da.hasOwnProperty(\"ReactCurrentBatchConfig\")||(da.ReactCurrentBatchConfig={suspense:null});var si=/^(.*)[\\\\\\/]/,Q=\"function\"===typeof Symbol&&Symbol.for,Pc=Q?Symbol.for(\"react.element\"):60103,gb=Q?Symbol.for(\"react.portal\"):\n60106,Ma=Q?Symbol.for(\"react.fragment\"):60107,Af=Q?Symbol.for(\"react.strict_mode\"):60108,kc=Q?Symbol.for(\"react.profiler\"):60114,Cf=Q?Symbol.for(\"react.provider\"):60109,Bf=Q?Symbol.for(\"react.context\"):60110,Hj=Q?Symbol.for(\"react.concurrent_mode\"):60111,zd=Q?Symbol.for(\"react.forward_ref\"):60112,lc=Q?Symbol.for(\"react.suspense\"):60113,yd=Q?Symbol.for(\"react.suspense_list\"):60120,Ad=Q?Symbol.for(\"react.memo\"):60115,Ef=Q?Symbol.for(\"react.lazy\"):60116,Df=Q?Symbol.for(\"react.block\"):60121,zf=\"function\"===\ntypeof Symbol&&Symbol.iterator,od,xh=function(a){return\"undefined\"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)})}:a}(function(a,b){if(\"http://www.w3.org/2000/svg\"!==a.namespaceURI||\"innerHTML\"in a)a.innerHTML=b;else{od=od||document.createElement(\"div\");od.innerHTML=\"<svg>\"+b.valueOf().toString()+\"</svg>\";for(b=od.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}}),Wb=function(a,\nb){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b},ib={animationend:nc(\"Animation\",\"AnimationEnd\"),animationiteration:nc(\"Animation\",\"AnimationIteration\"),animationstart:nc(\"Animation\",\"AnimationStart\"),transitionend:nc(\"Transition\",\"TransitionEnd\")},Id={},Of={};wa&&(Of=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete ib.animationend.animation,delete ib.animationiteration.animation,delete ib.animationstart.animation),\"TransitionEvent\"in\nwindow||delete ib.transitionend.transition);var $h=oc(\"animationend\"),ai=oc(\"animationiteration\"),bi=oc(\"animationstart\"),ci=oc(\"transitionend\"),Db=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Pf=new (\"function\"===typeof WeakMap?WeakMap:Map),Ab=null,wi=function(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;\nif(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)lf(a,b[d],c[d]);else b&&lf(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a)}},qc=[],Rd=!1,fa=[],xa=null,ya=null,za=null,Eb=new Map,Fb=new Map,Jb=[],Nd=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit\".split(\" \"),\nyi=\"focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture\".split(\" \"),dg={},cg=new Map,Td=new Map,Rj=[\"abort\",\"abort\",$h,\"animationEnd\",ai,\"animationIteration\",bi,\"animationStart\",\"canplay\",\"canPlay\",\"canplaythrough\",\"canPlayThrough\",\"durationchange\",\"durationChange\",\"emptied\",\"emptied\",\"encrypted\",\"encrypted\",\"ended\",\"ended\",\"error\",\"error\",\"gotpointercapture\",\"gotPointerCapture\",\"load\",\"load\",\"loadeddata\",\"loadedData\",\"loadedmetadata\",\"loadedMetadata\",\n\"loadstart\",\"loadStart\",\"lostpointercapture\",\"lostPointerCapture\",\"playing\",\"playing\",\"progress\",\"progress\",\"seeking\",\"seeking\",\"stalled\",\"stalled\",\"suspend\",\"suspend\",\"timeupdate\",\"timeUpdate\",ci,\"transitionEnd\",\"waiting\",\"waiting\"];Sd(\"blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange\".split(\" \"),\n0);Sd(\"drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel\".split(\" \"),1);Sd(Rj,2);(function(a,b){for(var c=0;c<a.length;c++)Td.set(a[c],b)})(\"change selectionchange textInput compositionstart compositionend compositionupdate\".split(\" \"),0);var Hi=Zh,Gi=Pd,tc=!0,Kb={animationIterationCount:!0,\nborderImageOutset:!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,\nstrokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Sj=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(Kb).forEach(function(a){Sj.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);Kb[b]=Kb[a]})});var Ii=M({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}),ng=\"$\",og=\"/$\",$d=\"$?\",Zd=\"$!\",Ze=null,$e=null,We=\"function\"===typeof setTimeout?setTimeout:void 0,vj=\"function\"===\ntypeof clearTimeout?clearTimeout:void 0,jf=Math.random().toString(36).slice(2),Aa=\"__reactInternalInstance$\"+jf,vc=\"__reactEventHandlers$\"+jf,Lb=\"__reactContainere$\"+jf,Ba=null,ce=null,wc=null;M(R.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():\"unknown\"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=xc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():\"unknown\"!==\ntypeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=xc)},persist:function(){this.isPersistent=xc},isPersistent:yc,destructor:function(){var a=this.constructor.Interface,b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=yc;this._dispatchInstances=this._dispatchListeners=null}});R.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||\nDate.now()},defaultPrevented:null,isTrusted:null};R.extend=function(a){function b(){return c.apply(this,arguments)}var c=this,d=function(){};d.prototype=c.prototype;d=new d;M(d,b.prototype);b.prototype=d;b.prototype.constructor=b;b.Interface=M({},c.Interface,a);b.extend=c.extend;sg(b);return b};sg(R);var Tj=R.extend({data:null}),Uj=R.extend({data:null}),Ni=[9,13,27,32],de=wa&&\"CompositionEvent\"in window,cc=null;wa&&\"documentMode\"in document&&(cc=document.documentMode);var Vj=wa&&\"TextEvent\"in window&&\n!cc,xg=wa&&(!de||cc&&8<cc&&11>=cc),wg=String.fromCharCode(32),ua={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\"},\ndependencies:\"blur compositionstart keydown keypress keyup mousedown\".split(\" \")},compositionUpdate:{phasedRegistrationNames:{bubbled:\"onCompositionUpdate\",captured:\"onCompositionUpdateCapture\"},dependencies:\"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")}},vg=!1,mb=!1,Wj={eventTypes:ua,extractEvents:function(a,b,c,d,e){var f;if(de)b:{switch(a){case \"compositionstart\":var g=ua.compositionStart;break b;case \"compositionend\":g=ua.compositionEnd;break b;case \"compositionupdate\":g=\nua.compositionUpdate;break b}g=void 0}else mb?tg(a,c)&&(g=ua.compositionEnd):\"keydown\"===a&&229===c.keyCode&&(g=ua.compositionStart);g?(xg&&\"ko\"!==c.locale&&(mb||g!==ua.compositionStart?g===ua.compositionEnd&&mb&&(f=rg()):(Ba=d,ce=\"value\"in Ba?Ba.value:Ba.textContent,mb=!0)),e=Tj.getPooled(g,b,c,d),f?e.data=f:(f=ug(c),null!==f&&(e.data=f)),lb(e),f=e):f=null;(a=Vj?Oi(a,c):Pi(a,c))?(b=Uj.getPooled(ua.beforeInput,b,c,d),b.data=a,lb(b)):b=null;return null===f?b:null===b?f:[f,b]}},Qi={color:!0,date:!0,\ndatetime:!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},Ag={change:{phasedRegistrationNames:{bubbled:\"onChange\",captured:\"onChangeCapture\"},dependencies:\"blur change click focus input keydown keyup selectionchange\".split(\" \")}},Mb=null,Nb=null,kf=!1;wa&&(kf=Tf(\"input\")&&(!document.documentMode||9<document.documentMode));var Xj={eventTypes:Ag,_isInputEventSupported:kf,extractEvents:function(a,b,c,d,e){e=b?Pa(b):window;var f=\ne.nodeName&&e.nodeName.toLowerCase();if(\"select\"===f||\"input\"===f&&\"file\"===e.type)var g=Si;else if(yg(e))if(kf)g=Wi;else{g=Ui;var h=Ti}else(f=e.nodeName)&&\"input\"===f.toLowerCase()&&(\"checkbox\"===e.type||\"radio\"===e.type)&&(g=Vi);if(g&&(g=g(a,b)))return zg(g,c,d);h&&h(a,e,b);\"blur\"===a&&(a=e._wrapperState)&&a.controlled&&\"number\"===e.type&&Ed(e,\"number\",e.value)}},dc=R.extend({view:null,detail:null}),Yi={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"},di=0,ei=0,fi=!1,gi=!1,ec=dc.extend({screenX:null,\nscreenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:fe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if(\"movementX\"in a)return a.movementX;var b=di;di=a.screenX;return fi?\"mousemove\"===a.type?a.screenX-b:0:(fi=!0,0)},movementY:function(a){if(\"movementY\"in a)return a.movementY;var b=ei;ei=a.screenY;return gi?\"mousemove\"===\na.type?a.screenY-b:0:(gi=!0,0)}}),hi=ec.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),fc={mouseEnter:{registrationName:\"onMouseEnter\",dependencies:[\"mouseout\",\"mouseover\"]},mouseLeave:{registrationName:\"onMouseLeave\",dependencies:[\"mouseout\",\"mouseover\"]},pointerEnter:{registrationName:\"onPointerEnter\",dependencies:[\"pointerout\",\"pointerover\"]},pointerLeave:{registrationName:\"onPointerLeave\",dependencies:[\"pointerout\",\n\"pointerover\"]}},Yj={eventTypes:fc,extractEvents:function(a,b,c,d,e){var f=\"mouseover\"===a||\"pointerover\"===a,g=\"mouseout\"===a||\"pointerout\"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?Bb(b):null,null!==b){var h=Na(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null}}else g=null;if(g===b)return null;if(\"mouseout\"===a||\"mouseover\"===a){var m=ec;var n=fc.mouseLeave;\nvar l=fc.mouseEnter;var k=\"mouse\"}else if(\"pointerout\"===a||\"pointerover\"===a)m=hi,n=fc.pointerLeave,l=fc.pointerEnter,k=\"pointer\";a=null==g?f:Pa(g);f=null==b?f:Pa(b);n=m.getPooled(n,g,c,d);n.type=k+\"leave\";n.target=a;n.relatedTarget=f;c=m.getPooled(l,b,c,d);c.type=k+\"enter\";c.target=f;c.relatedTarget=a;d=g;k=b;if(d&&k)a:{m=d;l=k;g=0;for(a=m;a;a=pa(a))g++;a=0;for(b=l;b;b=pa(b))a++;for(;0<g-a;)m=pa(m),g--;for(;0<a-g;)l=pa(l),a--;for(;g--;){if(m===l||m===l.alternate)break a;m=pa(m);l=pa(l)}m=null}else m=\nnull;l=m;for(m=[];d&&d!==l;){g=d.alternate;if(null!==g&&g===l)break;m.push(d);d=pa(d)}for(d=[];k&&k!==l;){g=k.alternate;if(null!==g&&g===l)break;d.push(k);k=pa(k)}for(k=0;k<m.length;k++)be(m[k],\"bubbled\",n);for(k=d.length;0<k--;)be(d[k],\"captured\",c);return 0===(e&64)?[n]:[n,c]}},Qa=\"function\"===typeof Object.is?Object.is:Zi,$i=Object.prototype.hasOwnProperty,Zj=wa&&\"documentMode\"in document&&11>=document.documentMode,Eg={select:{phasedRegistrationNames:{bubbled:\"onSelect\",captured:\"onSelectCapture\"},\ndependencies:\"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")}},nb=null,he=null,Pb=null,ge=!1,ak={eventTypes:Eg,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=Jd(e);f=rd.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0}f=!e}if(f)return null;e=b?Pa(b):window;switch(a){case \"focus\":if(yg(e)||\"true\"===e.contentEditable)nb=e,he=b,Pb=null;break;case \"blur\":Pb=he=nb=null;\nbreak;case \"mousedown\":ge=!0;break;case \"contextmenu\":case \"mouseup\":case \"dragend\":return ge=!1,Dg(c,d);case \"selectionchange\":if(Zj)break;case \"keydown\":case \"keyup\":return Dg(c,d)}return null}},bk=R.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ck=R.extend({clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),dk=dc.extend({relatedTarget:null}),ek={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",\nDel:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},fk={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",\n224:\"Meta\"},gk=dc.extend({key:function(a){if(a.key){var b=ek[a.key]||a.key;if(\"Unidentified\"!==b)return b}return\"keypress\"===a.type?(a=Ac(a),13===a?\"Enter\":String.fromCharCode(a)):\"keydown\"===a.type||\"keyup\"===a.type?fk[a.keyCode]||\"Unidentified\":\"\"},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:fe,charCode:function(a){return\"keypress\"===a.type?Ac(a):0},keyCode:function(a){return\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0},which:function(a){return\"keypress\"===\na.type?Ac(a):\"keydown\"===a.type||\"keyup\"===a.type?a.keyCode:0}}),hk=ec.extend({dataTransfer:null}),ik=dc.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:fe}),jk=R.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),kk=ec.extend({deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?\n-a.wheelDelta:0},deltaZ:null,deltaMode:null}),lk={eventTypes:dg,extractEvents:function(a,b,c,d,e){e=cg.get(a);if(!e)return null;switch(a){case \"keypress\":if(0===Ac(c))return null;case \"keydown\":case \"keyup\":a=gk;break;case \"blur\":case \"focus\":a=dk;break;case \"click\":if(2===c.button)return null;case \"auxclick\":case \"dblclick\":case \"mousedown\":case \"mousemove\":case \"mouseup\":case \"mouseout\":case \"mouseover\":case \"contextmenu\":a=ec;break;case \"drag\":case \"dragend\":case \"dragenter\":case \"dragexit\":case \"dragleave\":case \"dragover\":case \"dragstart\":case \"drop\":a=\nhk;break;case \"touchcancel\":case \"touchend\":case \"touchmove\":case \"touchstart\":a=ik;break;case $h:case ai:case bi:a=bk;break;case ci:a=jk;break;case \"scroll\":a=dc;break;case \"wheel\":a=kk;break;case \"copy\":case \"cut\":case \"paste\":a=ck;break;case \"gotpointercapture\":case \"lostpointercapture\":case \"pointercancel\":case \"pointerdown\":case \"pointermove\":case \"pointerout\":case \"pointerover\":case \"pointerup\":a=hi;break;default:a=R}b=a.getPooled(e,b,c,d);lb(b);return b}};(function(a){if(ic)throw Error(k(101));\nic=Array.prototype.slice.call(a);nf()})(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));(function(a,b,c){td=a;rf=b;mf=c})(ae,Hb,Pa);pf({SimpleEventPlugin:lk,EnterLeaveEventPlugin:Yj,ChangeEventPlugin:Xj,SelectEventPlugin:ak,BeforeInputEventPlugin:Wj});var ie=[],ob=-1,Ca={},B={current:Ca},G={current:!1},Ra=Ca,bj=Pd,je=$f,Rg=Lj,aj=Nj,Dc=Oj,Ig=Zh,Jg=ag,Kg=Pj,Lg=Qj,Qg={},yj=Mj,Cj=void 0!==Yh?Yh:function(){},qa=null,\nEc=null,ke=!1,ii=ff(),Y=1E4>ii?ff:function(){return ff()-ii},Ic={current:null},Hc=null,qb=null,Gc=null,Tg=0,Jc=2,Ga=!1,Vb=da.ReactCurrentBatchConfig,$g=(new ea.Component).refs,Mc={isMounted:function(a){return(a=a._reactInternalFiber)?Na(a)===a:!1},enqueueSetState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;d=Va(d,a,e);e=Ea(d,e);e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueReplaceState:function(a,b,c){a=a._reactInternalFiber;var d=ka(),e=Vb.suspense;\nd=Va(d,a,e);e=Ea(d,e);e.tag=1;e.payload=b;void 0!==c&&null!==c&&(e.callback=c);Fa(a,e);Ja(a,d)},enqueueForceUpdate:function(a,b){a=a._reactInternalFiber;var c=ka(),d=Vb.suspense;c=Va(c,a,d);d=Ea(c,d);d.tag=Jc;void 0!==b&&null!==b&&(d.callback=b);Fa(a,d);Ja(a,c)}},Qc=Array.isArray,wb=ah(!0),Fe=ah(!1),Sb={},ja={current:Sb},Ub={current:Sb},Tb={current:Sb},D={current:0},Sc=da.ReactCurrentDispatcher,X=da.ReactCurrentBatchConfig,Ia=0,z=null,K=null,J=null,Uc=!1,Tc={readContext:W,useCallback:S,useContext:S,\nuseEffect:S,useImperativeHandle:S,useLayoutEffect:S,useMemo:S,useReducer:S,useRef:S,useState:S,useDebugValue:S,useResponder:S,useDeferredValue:S,useTransition:S},dj={readContext:W,useCallback:ih,useContext:W,useEffect:eh,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ze(4,2,gh.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ze(4,2,a,b)},useMemo:function(a,b){var c=ub();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=\nub();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a=d.queue={pending:null,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};a=a.dispatch=ch.bind(null,z,a);return[d.memoizedState,a]},useRef:function(a){var b=ub();a={current:a};return b.memoizedState=a},useState:xe,useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=xe(a),d=c[0],e=c[1];eh(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=\nxe(!1),c=b[0];b=b[1];return[ih(Ce.bind(null,b,a),[b,a]),c]}},ej={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Vc,useRef:dh,useState:function(a){return Vc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Vc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Vc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,\nb,a),[b,a]),c]}},fj={readContext:W,useCallback:Yc,useContext:W,useEffect:Xc,useImperativeHandle:hh,useLayoutEffect:fh,useMemo:jh,useReducer:Wc,useRef:dh,useState:function(a){return Wc(Ua)},useDebugValue:Be,useResponder:ue,useDeferredValue:function(a,b){var c=Wc(Ua),d=c[0],e=c[1];Xc(function(){var c=X.suspense;X.suspense=void 0===b?null:b;try{e(a)}finally{X.suspense=c}},[a,b]);return d},useTransition:function(a){var b=Wc(Ua),c=b[0];b=b[1];return[Yc(Ce.bind(null,b,a),[b,a]),c]}},ra=null,Ka=null,Wa=\n!1,gj=da.ReactCurrentOwner,ia=!1,Je={dehydrated:null,retryTime:0};var jj=function(a,b,c,d){for(c=b.child;null!==c;){if(5===c.tag||6===c.tag)a.appendChild(c.stateNode);else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===b)break;for(;null===c.sibling;){if(null===c.return||c.return===b)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};var wh=function(a){};var ij=function(a,b,c,d,e){var f=a.memoizedProps;if(f!==d){var g=b.stateNode;Ta(ja.current);a=null;switch(c){case \"input\":f=\nCd(g,f);d=Cd(g,d);a=[];break;case \"option\":f=Fd(g,f);d=Fd(g,d);a=[];break;case \"select\":f=M({},f,{value:void 0});d=M({},d,{value:void 0});a=[];break;case \"textarea\":f=Gd(g,f);d=Gd(g,d);a=[];break;default:\"function\"!==typeof f.onClick&&\"function\"===typeof d.onClick&&(g.onclick=uc)}Ud(c,d);var h,m;c=null;for(h in f)if(!d.hasOwnProperty(h)&&f.hasOwnProperty(h)&&null!=f[h])if(\"style\"===h)for(m in g=f[h],g)g.hasOwnProperty(m)&&(c||(c={}),c[m]=\"\");else\"dangerouslySetInnerHTML\"!==h&&\"children\"!==h&&\"suppressContentEditableWarning\"!==\nh&&\"suppressHydrationWarning\"!==h&&\"autoFocus\"!==h&&(db.hasOwnProperty(h)?a||(a=[]):(a=a||[]).push(h,null));for(h in d){var k=d[h];g=null!=f?f[h]:void 0;if(d.hasOwnProperty(h)&&k!==g&&(null!=k||null!=g))if(\"style\"===h)if(g){for(m in g)!g.hasOwnProperty(m)||k&&k.hasOwnProperty(m)||(c||(c={}),c[m]=\"\");for(m in k)k.hasOwnProperty(m)&&g[m]!==k[m]&&(c||(c={}),c[m]=k[m])}else c||(a||(a=[]),a.push(h,c)),c=k;else\"dangerouslySetInnerHTML\"===h?(k=k?k.__html:void 0,g=g?g.__html:void 0,null!=k&&g!==k&&(a=a||\n[]).push(h,k)):\"children\"===h?g===k||\"string\"!==typeof k&&\"number\"!==typeof k||(a=a||[]).push(h,\"\"+k):\"suppressContentEditableWarning\"!==h&&\"suppressHydrationWarning\"!==h&&(db.hasOwnProperty(h)?(null!=k&&oa(e,h),a||g===k||(a=[])):(a=a||[]).push(h,k))}c&&(a=a||[]).push(\"style\",c);e=a;if(b.updateQueue=e)b.effectTag|=4}};var kj=function(a,b,c,d){c!==d&&(b.effectTag|=4)};var pj=\"function\"===typeof WeakSet?WeakSet:Set,wj=\"function\"===typeof WeakMap?WeakMap:Map,sj=Math.ceil,gd=da.ReactCurrentDispatcher,\nUh=da.ReactCurrentOwner,H=0,Ye=8,ca=16,ma=32,Xa=0,hd=1,Oh=2,ad=3,bd=4,Xe=5,p=H,U=null,t=null,P=0,F=Xa,id=null,ta=1073741823,Yb=1073741823,kd=null,Xb=0,jd=!1,Re=0,Ph=500,l=null,cd=!1,Se=null,La=null,ld=!1,Zb=null,$b=90,bb=null,ac=0,af=null,dd=0,Ja=function(a,b){if(50<ac)throw ac=0,af=null,Error(k(185));a=ed(a,b);if(null!==a){var c=Cc();1073741823===b?(p&Ye)!==H&&(p&(ca|ma))===H?Te(a):(V(a),p===H&&ha()):V(a);(p&4)===H||98!==c&&99!==c||(null===bb?bb=new Map([[a,b]]):(c=bb.get(a),(void 0===c||c>b)&&bb.set(a,\nb)))}};var zj=function(a,b,c){var d=b.expirationTime;if(null!==a){var e=b.pendingProps;if(a.memoizedProps!==e||G.current)ia=!0;else{if(d<c){ia=!1;switch(b.tag){case 3:sh(b);Ee();break;case 5:bh(b);if(b.mode&4&&1!==c&&e.hidden)return b.expirationTime=b.childExpirationTime=1,null;break;case 1:N(b.type)&&Bc(b);break;case 4:se(b,b.stateNode.containerInfo);break;case 10:d=b.memoizedProps.value;e=b.type._context;y(Ic,e._currentValue);e._currentValue=d;break;case 13:if(null!==b.memoizedState){d=b.child.childExpirationTime;\nif(0!==d&&d>=c)return th(a,b,c);y(D,D.current&1);b=sa(a,b,c);return null!==b?b.sibling:null}y(D,D.current&1);break;case 19:d=b.childExpirationTime>=c;if(0!==(a.effectTag&64)){if(d)return vh(a,b,c);b.effectTag|=64}e=b.memoizedState;null!==e&&(e.rendering=null,e.tail=null);y(D,D.current);if(!d)return null}return sa(a,b,c)}ia=!1}}else ia=!1;b.expirationTime=0;switch(b.tag){case 2:d=b.type;null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2);a=b.pendingProps;e=pb(b,B.current);rb(b,c);e=we(null,\nb,d,a,e,c);b.effectTag|=1;if(\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof){b.tag=1;b.memoizedState=null;b.updateQueue=null;if(N(d)){var f=!0;Bc(b)}else f=!1;b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;ne(b);var g=d.getDerivedStateFromProps;\"function\"===typeof g&&Lc(b,d,g,a);e.updater=Mc;b.stateNode=e;e._reactInternalFiber=b;pe(b,d,a,c);b=Ie(null,b,d,!0,f,c)}else b.tag=0,T(null,b,e,c),b=b.child;return b;case 16:a:{e=b.elementType;null!==a&&(a.alternate=\nnull,b.alternate=null,b.effectTag|=2);a=b.pendingProps;ri(e);if(1!==e._status)throw e._result;e=e._result;b.type=e;f=b.tag=Gj(e);a=aa(e,a);switch(f){case 0:b=He(null,b,e,a,c);break a;case 1:b=rh(null,b,e,a,c);break a;case 11:b=nh(null,b,e,a,c);break a;case 14:b=oh(null,b,e,aa(e.type,a),d,c);break a}throw Error(k(306,e,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),He(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),rh(a,b,d,e,c);\ncase 3:sh(b);d=b.updateQueue;if(null===a||null===d)throw Error(k(282));d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;oe(a,b);Qb(b,d,null,c);d=b.memoizedState.element;if(d===e)Ee(),b=sa(a,b,c);else{if(e=b.stateNode.hydrate)Ka=kb(b.stateNode.containerInfo.firstChild),ra=b,e=Wa=!0;if(e)for(c=Fe(b,null,d,c),b.child=c;c;)c.effectTag=c.effectTag&-3|1024,c=c.sibling;else T(a,b,d,c),Ee();b=b.child}return b;case 5:return bh(b),null===a&&De(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:\nnull,g=e.children,Yd(d,e)?g=null:null!==f&&Yd(d,f)&&(b.effectTag|=16),qh(a,b),b.mode&4&&1!==c&&e.hidden?(b.expirationTime=b.childExpirationTime=1,b=null):(T(a,b,g,c),b=b.child),b;case 6:return null===a&&De(b),null;case 13:return th(a,b,c);case 4:return se(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=wb(b,null,d,c):T(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),nh(a,b,d,e,c);case 7:return T(a,b,b.pendingProps,c),b.child;case 8:return T(a,\nb,b.pendingProps.children,c),b.child;case 12:return T(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;g=b.memoizedProps;f=e.value;var h=b.type._context;y(Ic,h._currentValue);h._currentValue=f;if(null!==g)if(h=g.value,f=Qa(h,f)?0:(\"function\"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0,0===f){if(g.children===e.children&&!G.current){b=sa(a,b,c);break a}}else for(h=b.child,null!==h&&(h.return=b);null!==h;){var m=h.dependencies;if(null!==\nm){g=h.child;for(var l=m.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=Ea(c,null),l.tag=Jc,Fa(h,l));h.expirationTime<c&&(h.expirationTime=c);l=h.alternate;null!==l&&l.expirationTime<c&&(l.expirationTime=c);Sg(h.return,c);m.expirationTime<c&&(m.expirationTime=c);break}l=l.next}}else g=10===h.tag?h.type===b.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===b){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=\ng}T(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,f=b.pendingProps,d=f.children,rb(b,c),e=W(e,f.unstable_observedBits),d=d(e),b.effectTag|=1,T(a,b,d,c),b.child;case 14:return e=b.type,f=aa(e,b.pendingProps),f=aa(e.type,f),oh(a,b,e,f,d,c);case 15:return ph(a,b,b.type,b.pendingProps,d,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:aa(d,e),null!==a&&(a.alternate=null,b.alternate=null,b.effectTag|=2),b.tag=1,N(d)?(a=!0,Bc(b)):a=!1,rb(b,c),Yg(b,d,e),pe(b,d,e,c),Ie(null,\nb,d,!0,a,c);case 19:return vh(a,b,c)}throw Error(k(156,b.tag));};var bf=null,Ne=null,la=function(a,b,c,d){return new Fj(a,b,c,d)};ef.prototype.render=function(a){md(a,this._internalRoot,null,null)};ef.prototype.unmount=function(){var a=this._internalRoot,b=a.containerInfo;md(null,a,null,function(){b[Lb]=null})};var Di=function(a){if(13===a.tag){var b=Fc(ka(),150,100);Ja(a,b);df(a,b)}};var Yf=function(a){13===a.tag&&(Ja(a,3),df(a,3))};var Bi=function(a){if(13===a.tag){var b=ka();b=Va(b,a,null);Ja(a,\nb);df(a,b)}};sd=function(a,b,c){switch(b){case \"input\":Dd(a,c);b=c.name;if(\"radio\"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+b)+'][type=\"radio\"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=ae(d);if(!e)throw Error(k(90));Gf(d);Dd(d,e)}}}break;case \"textarea\":Lf(a,c);break;case \"select\":b=c.value,null!=b&&hb(a,!!c.multiple,b,!1)}};(function(a,b,c,d){ee=a;eg=b;vd=c;vf=d})(Qh,function(a,b,c,d,e){var f=p;p|=4;\ntry{return Da(98,a.bind(null,b,c,d,e))}finally{p=f,p===H&&ha()}},function(){(p&(1|ca|ma))===H&&(uj(),xb())},function(a,b){var c=p;p|=2;try{return a(b)}finally{p=c,p===H&&ha()}});var mk={Events:[Hb,Pa,ae,pf,qd,lb,function(a){Kd(a,Ki)},sf,tf,sc,pc,xb,{current:!1}]};(function(a){var b=a.findFiberByHostInstance;return Ej(M({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:da.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Sf(a);\nreturn null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:Bb,bundleType:0,version:\"16.14.0\",rendererPackageName:\"react-dom\"});I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mk;I.createPortal=Xh;I.findDOMNode=function(a){if(null==a)return null;if(1===a.nodeType)return a;var b=a._reactInternalFiber;if(void 0===\nb){if(\"function\"===typeof a.render)throw Error(k(188));throw Error(k(268,Object.keys(a)));}a=Sf(b);a=null===a?null:a.stateNode;return a};I.flushSync=function(a,b){if((p&(ca|ma))!==H)throw Error(k(187));var c=p;p|=1;try{return Da(99,a.bind(null,b))}finally{p=c,ha()}};I.hydrate=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!0,c)};I.render=function(a,b,c){if(!bc(b))throw Error(k(200));return nd(null,a,b,!1,c)};I.unmountComponentAtNode=function(a){if(!bc(a))throw Error(k(40));return a._reactRootContainer?\n(Rh(function(){nd(null,null,a,!1,function(){a._reactRootContainer=null;a[Lb]=null})}),!0):!1};I.unstable_batchedUpdates=Qh;I.unstable_createPortal=function(a,b){return Xh(a,b,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)};I.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!bc(c))throw Error(k(200));if(null==a||void 0===a._reactInternalFiber)throw Error(k(38));return nd(a,b,c,!1,d)};I.version=\"16.14.0\"});\n" } ${ "window.GraphiQL=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,\"a\",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=\"\",n(n.s=87)}([function(e,t,n){\"use strict\";n.d(t,\"S\",(function(){return x})),n.d(t,\"x\",(function(){return _})),n.d(t,\"R\",(function(){return k})),n.d(t,\"w\",(function(){return w})),n.d(t,\"N\",(function(){return C})),n.d(t,\"u\",(function(){return S})),n.d(t,\"H\",(function(){return N})),n.d(t,\"o\",(function(){return D})),n.d(t,\"T\",(function(){return I})),n.d(t,\"y\",(function(){return A})),n.d(t,\"E\",(function(){return L})),n.d(t,\"l\",(function(){return j})),n.d(t,\"F\",(function(){return F})),n.d(t,\"m\",(function(){return M})),n.d(t,\"J\",(function(){return R})),n.d(t,\"q\",(function(){return P})),n.d(t,\"L\",(function(){return V})),n.d(t,\"s\",(function(){return U})),n.d(t,\"G\",(function(){return B})),n.d(t,\"n\",(function(){return q})),n.d(t,\"O\",(function(){return H})),n.d(t,\"v\",(function(){return z})),n.d(t,\"I\",(function(){return G})),n.d(t,\"p\",(function(){return K})),n.d(t,\"D\",(function(){return Q})),n.d(t,\"k\",(function(){return W})),n.d(t,\"C\",(function(){return Y})),n.d(t,\"j\",(function(){return J})),n.d(t,\"d\",(function(){return $})),n.d(t,\"e\",(function(){return X})),n.d(t,\"U\",(function(){return Z})),n.d(t,\"z\",(function(){return ee})),n.d(t,\"M\",(function(){return te})),n.d(t,\"t\",(function(){return ne})),n.d(t,\"B\",(function(){return re})),n.d(t,\"K\",(function(){return ie})),n.d(t,\"r\",(function(){return oe})),n.d(t,\"A\",(function(){return ae})),n.d(t,\"g\",(function(){return ce})),n.d(t,\"f\",(function(){return ue})),n.d(t,\"i\",(function(){return me})),n.d(t,\"P\",(function(){return ve})),n.d(t,\"c\",(function(){return ge})),n.d(t,\"h\",(function(){return ye})),n.d(t,\"a\",(function(){return Te})),n.d(t,\"b\",(function(){return Oe})),n.d(t,\"Q\",(function(){return _e}));var r=n(27),i=n(15),o=n(3),a=n(18),s=n(29),l=n(21),c=n(4),u=n(26),f=n(25),p=n(20),d=n(17);function h(e){return e}var m=n(24),v=n(22),g=n(1),y=n(9),b=n(2),T=n(86);function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function x(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)||R(e)||V(e)}function _(e){if(!x(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL type.\"));return e}function k(e){return Object(f.a)(e,ce)}function w(e){if(!k(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Scalar type.\"));return e}function C(e){return Object(f.a)(e,ue)}function S(e){if(!C(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Object type.\"));return e}function N(e){return Object(f.a)(e,ge)}function D(e){if(!N(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Interface type.\"));return e}function I(e){return Object(f.a)(e,ye)}function A(e){if(!I(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Union type.\"));return e}function L(e){return Object(f.a)(e,Te)}function j(e){if(!L(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Enum type.\"));return e}function F(e){return Object(f.a)(e,Oe)}function M(e){if(!F(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Input Object type.\"));return e}function R(e){return Object(f.a)(e,$)}function P(e){if(!R(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL List type.\"));return e}function V(e){return Object(f.a)(e,X)}function U(e){if(!V(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL Non-Null type.\"));return e}function B(e){return k(e)||L(e)||F(e)||Z(e)&&B(e.ofType)}function q(e){if(!B(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL input type.\"));return e}function H(e){return k(e)||C(e)||N(e)||I(e)||L(e)||Z(e)&&H(e.ofType)}function z(e){if(!H(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL output type.\"));return e}function G(e){return k(e)||L(e)}function K(e){if(!G(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL leaf type.\"));return e}function Q(e){return C(e)||N(e)||I(e)}function W(e){if(!Q(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL composite type.\"));return e}function Y(e){return N(e)||I(e)}function J(e){if(!Y(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL abstract type.\"));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=_(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return R(e)||V(e)}function ee(e){if(!Z(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL wrapping type.\"));return e}function te(e){return x(e)&&!V(e)}function ne(e){if(!te(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL nullable type.\"));return e}function re(e){if(e)return V(e)?e.ofType:e}function ie(e){return k(e)||C(e)||N(e)||I(e)||L(e)||F(e)}function oe(e){if(!ie(e))throw new Error(\"Expected \".concat(Object(o.a)(e),\" to be a GraphQL named type.\"));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return\"function\"==typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return\"[\"+String(this.ofType)+\"]\"},Object.defineProperty($.prototype,i.c,{get:function(){return\"GraphQLList\"}}),Object(m.a)($),X.prototype.toString=function(){return String(this.ofType)+\"!\"},Object.defineProperty(X.prototype,i.c,{get:function(){return\"GraphQLNonNull\"}}),Object(m.a)(X);var ce=function(){function e(e){var t,n,r,i=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=i,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e){return i(Object(T.a)(e))},this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.serialize||\"function\"==typeof e.serialize||Object(c.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(c.a)(0,\"\".concat(this.name,' must provide both \"parseValue\" and \"parseLiteral\" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLScalarType\"}}]),e}();Object(m.a)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.isTypeOf||\"function\"==typeof e.isTypeOf||Object(c.a)(0,\"\".concat(this.name,' must provide \"isTypeOf\" as a function, ')+\"but got: \".concat(Object(o.a)(e.isTypeOf),\".\"))}var t=e.prototype;return t.getFields=function(){return\"function\"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return\"function\"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLObjectType\"}}]),e}();function fe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||Object(c.a)(0,\"\".concat(e.name,\" interfaces must be an Array or a function which returns an Array.\")),n}function pe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){var i;de(t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field config must be an object.\")),!(\"isDeprecated\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),null==t.resolve||\"function\"==typeof t.resolve||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field resolver must be a function if \")+\"provided, but got: \".concat(Object(o.a)(t.resolve),\".\"));var a=null!==(i=t.args)&&void 0!==i?i:{};de(a)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" args must be an object with argument names as keys.\"));var s=Object(r.a)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(l.a)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function de(e){return Object(d.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(ue);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=pe.bind(void 0,e),this._interfaces=fe.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.a)(e.resolveType),\".\"))}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(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInterfaceType\"}}]),e}();Object(m.a)(ge);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),\"string\"==typeof e.name||Object(c.a)(0,\"Must provide name.\"),null==e.resolveType||\"function\"==typeof e.resolveType||Object(c.a)(0,\"\".concat(this.name,' must provide \"resolveType\" as a function, ')+\"but got: \".concat(Object(o.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(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLUnionType\"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||Object(c.a)(0,\"Must provide Array of types or a function which returns such an array for Union \".concat(e.name,\".\")),t}Object(m.a)(ye);var Te=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,de(n=e.values)||Object(c.a)(0,\"\".concat(t,\" values must be an object with value names as keys.\")),Object(r.a)(n).map((function(e){var n=e[0],r=e[1];return de(r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' must refer to an object with a \"value\" key ')+\"representing an internal value but got: \".concat(Object(o.a)(r),\".\")),!(\"isDeprecated\"in r)||Object(c.a)(0,\"\".concat(t,\".\").concat(n,' should provide \"deprecationReason\" instead of \"isDeprecated\".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&Object(l.a)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(a.a)(this._values,(function(e){return e.name})),\"string\"==typeof e.name||Object(c.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(void 0===t)throw new b.a('Enum \"'.concat(this.name,'\" cannot represent value: ').concat(Object(o.a)(e)));return t.name},t.parseValue=function(e){if(\"string\"!=typeof e){var t=Object(o.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-string value: ').concat(t,\".\")+Ee(this,t))}var n=this.getValue(e);if(null==n)throw new b.a('Value \"'.concat(e,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==g.a.ENUM){var n=Object(y.a)(e);throw new b.a('Enum \"'.concat(this.name,'\" cannot represent non-enum value: ').concat(n,\".\")+Ee(this,n),e)}var r=this.getValue(e.value);if(null==r){var i=Object(y.a)(e);throw new b.a('Value \"'.concat(i,'\" does not exist in \"').concat(this.name,'\" enum.')+Ee(this,i),e)}return r.value},t.toConfig=function(){var e,t=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLEnumType\"}}]),e}();function Ee(e,t){var n=e.getValues().map((function(e){return e.name})),r=Object(v.a)(t,n);return Object(p.a)(\"the enum value\",r)}Object(m.a)(Te);var Oe=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(l.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=xe.bind(void 0,e),\"string\"==typeof e.name||Object(c.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,t=Object(s.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},O(e,[{key:i.c,get:function(){return\"GraphQLInputObjectType\"}}]),e}();function xe(e){var t=se(e.fields);return de(t)||Object(c.a)(0,\"\".concat(e.name,\" fields must be an object with field names as keys or a function which returns such an object.\")),Object(s.a)(t,(function(t,n){return!(\"resolve\"in t)||Object(c.a)(0,\"\".concat(e.name,\".\").concat(n,\" field has a resolve property, but Input Types cannot define resolvers.\")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(l.a)(t.extensions),astNode:t.astNode}}))}function _e(e){return V(e.type)&&void 0===e.defaultValue}Object(m.a)(Oe)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({NAME:\"Name\",DOCUMENT:\"Document\",OPERATION_DEFINITION:\"OperationDefinition\",VARIABLE_DEFINITION:\"VariableDefinition\",SELECTION_SET:\"SelectionSet\",FIELD:\"Field\",ARGUMENT:\"Argument\",FRAGMENT_SPREAD:\"FragmentSpread\",INLINE_FRAGMENT:\"InlineFragment\",FRAGMENT_DEFINITION:\"FragmentDefinition\",VARIABLE:\"Variable\",INT:\"IntValue\",FLOAT:\"FloatValue\",STRING:\"StringValue\",BOOLEAN:\"BooleanValue\",NULL:\"NullValue\",ENUM:\"EnumValue\",LIST:\"ListValue\",OBJECT:\"ObjectValue\",OBJECT_FIELD:\"ObjectField\",DIRECTIVE:\"Directive\",NAMED_TYPE:\"NamedType\",LIST_TYPE:\"ListType\",NON_NULL_TYPE:\"NonNullType\",SCHEMA_DEFINITION:\"SchemaDefinition\",OPERATION_TYPE_DEFINITION:\"OperationTypeDefinition\",SCALAR_TYPE_DEFINITION:\"ScalarTypeDefinition\",OBJECT_TYPE_DEFINITION:\"ObjectTypeDefinition\",FIELD_DEFINITION:\"FieldDefinition\",INPUT_VALUE_DEFINITION:\"InputValueDefinition\",INTERFACE_TYPE_DEFINITION:\"InterfaceTypeDefinition\",UNION_TYPE_DEFINITION:\"UnionTypeDefinition\",ENUM_TYPE_DEFINITION:\"EnumTypeDefinition\",ENUM_VALUE_DEFINITION:\"EnumValueDefinition\",INPUT_OBJECT_TYPE_DEFINITION:\"InputObjectTypeDefinition\",DIRECTIVE_DEFINITION:\"DirectiveDefinition\",SCHEMA_EXTENSION:\"SchemaExtension\",SCALAR_TYPE_EXTENSION:\"ScalarTypeExtension\",OBJECT_TYPE_EXTENSION:\"ObjectTypeExtension\",INTERFACE_TYPE_EXTENSION:\"InterfaceTypeExtension\",UNION_TYPE_EXTENSION:\"UnionTypeExtension\",ENUM_TYPE_EXTENSION:\"EnumTypeExtension\",INPUT_OBJECT_TYPE_EXTENSION:\"InputObjectTypeExtension\"})},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return v})),n.d(t,\"b\",(function(){return g}));var r=n(17),i=n(15),o=n(39),a=n(60);function s(e){return(s=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return!t||\"object\"!==s(t)&&\"function\"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}function f(e){var t=\"function\"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf(\"[native code]\")))return e;var n;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)})(e)}function p(e,t,n){return(p=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&h(i,n.prototype),i}).apply(null,arguments)}function d(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,n,a,s,f=(t=p,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function p(e,t,n,i,a,s,l){var d,h,m,v,g;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,p),g=f.call(this,e);var y,b=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,T=n;!T&&b&&(T=null===(y=b[0].loc)||void 0===y?void 0:y.source);var E,O=i;!O&&b&&(O=b.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),O&&0===O.length&&(O=void 0),i&&n?E=i.map((function(e){return Object(o.a)(n,e)})):b&&(E=b.reduce((function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e}),[]));var x=l;if(null==x&&null!=s){var _=s.extensions;Object(r.a)(_)&&(x=_)}return Object.defineProperties(u(g),{name:{value:\"GraphQLError\"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(d=E)&&void 0!==d?d:void 0,enumerable:null!=E},path:{value:null!=a?a:void 0,enumerable:null!=a},nodes:{value:null!=b?b:void 0},source:{value:null!==(h=T)&&void 0!==h?h:void 0},positions:{value:null!==(m=O)&&void 0!==m?m:void 0},originalError:{value:s},extensions:{value:null!==(v=x)&&void 0!==v?v:void 0,enumerable:null!=x}}),(null==s?void 0:s.stack)?(Object.defineProperty(u(g),\"stack\",{value:s.stack,writable:!0,configurable:!0}),c(g)):(Error.captureStackTrace?Error.captureStackTrace(u(g),p):Object.defineProperty(u(g),\"stack\",{value:Error().stack,writable:!0,configurable:!0}),g)}return n=p,(a=[{key:\"toString\",value:function(){return g(this)}},{key:i.c,get:function(){return\"Object\"}}])&&l(n.prototype,a),s&&l(n,s),p}(f(Error));function g(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+=\"\\n\\n\"+Object(a.a)(i.loc))}else if(e.source&&e.locations)for(var o=0,s=e.locations;o<s.length;o++){var l=s[o];t+=\"\\n\\n\"+Object(a.b)(e.source,l)}return t}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(38);function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case\"string\":return JSON.stringify(e);case\"function\":return e.name?\"[function \".concat(e.name,\"]\"):\"[function]\";case\"object\":return null===e?\"null\":function(e,t){if(-1!==t.indexOf(e))return\"[Circular]\";var n=[].concat(t,[e]),i=function(e){var t=e[String(r.a)];if(\"function\"==typeof t)return t;if(\"function\"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return\"string\"==typeof o?o:a(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return\"[]\";if(t.length>2)return\"[Array]\";for(var n=Math.min(10,e.length),r=e.length-n,i=[],o=0;o<n;++o)i.push(a(e[o],t));1===r?i.push(\"... 1 more item\"):r>1&&i.push(\"... \".concat(r,\" more items\"));return\"[\"+i.join(\", \")+\"]\"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return\"{}\";if(t.length>2)return\"[\"+function(e){var t=Object.prototype.toString.call(e).replace(/^\\[object /,\"\").replace(/]$/,\"\");if(\"Object\"===t&&\"function\"==typeof e.constructor){var n=e.constructor.name;if(\"string\"==typeof n&&\"\"!==n)return n}return t}(e)+\"]\";return\"{ \"+n.map((function(n){return n+\": \"+a(e[n],t)})).join(\", \")+\" }\"}(e,n)}(e,t);default:return String(e)}}},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));var r=Object.freeze({QUERY:\"QUERY\",MUTATION:\"MUTATION\",SUBSCRIPTION:\"SUBSCRIPTION\",FIELD:\"FIELD\",FRAGMENT_DEFINITION:\"FRAGMENT_DEFINITION\",FRAGMENT_SPREAD:\"FRAGMENT_SPREAD\",INLINE_FRAGMENT:\"INLINE_FRAGMENT\",VARIABLE_DEFINITION:\"VARIABLE_DEFINITION\",SCHEMA:\"SCHEMA\",SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",FIELD_DEFINITION:\"FIELD_DEFINITION\",ARGUMENT_DEFINITION:\"ARGUMENT_DEFINITION\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",ENUM_VALUE:\"ENUM_VALUE\",INPUT_OBJECT:\"INPUT_OBJECT\",INPUT_FIELD_DEFINITION:\"INPUT_FIELD_DEFINITION\"})},function(e,t,n){\"use strict\";n.d(t,\"d\",(function(){return f})),n.d(t,\"b\",(function(){return p})),n.d(t,\"e\",(function(){return h})),n.d(t,\"a\",(function(){return m})),n.d(t,\"c\",(function(){return v})),n.d(t,\"g\",(function(){return g})),n.d(t,\"f\",(function(){return y}));var r=n(32),i=Number.isInteger||function(e){return\"number\"==typeof e&&isFinite(e)&&Math.floor(e)===e},o=n(3),a=n(17),s=n(1),l=n(9),c=n(2),u=n(0);var f=new u.g({name:\"Int\",description:\"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!i(n))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(t)));if(n>2147483647||n<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \"+Object(o.a)(t));return n},parseValue:function(e){if(!i(e))throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.a.INT)throw new c.a(\"Int cannot represent non-integer value: \".concat(Object(l.a)(e)),e);var t=parseInt(e.value,10);if(t>2147483647||t<-2147483648)throw new c.a(\"Int cannot represent non 32-bit signed integer value: \".concat(e.value),e);return t}});var p=new u.g({name:\"Float\",description:\"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t?1:0;var n=t;if(\"string\"==typeof t&&\"\"!==t&&(n=Number(t)),!Object(r.a)(n))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(t)));return n},parseValue:function(e){if(!Object(r.a)(e))throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.FLOAT&&e.kind!==s.a.INT)throw new c.a(\"Float cannot represent non numeric value: \".concat(Object(l.a)(e)),e);return parseFloat(e.value)}});function d(e){if(Object(a.a)(e)){if(\"function\"==typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if(\"function\"==typeof e.toJSON)return e.toJSON()}return e}var h=new u.g({name:\"String\",description:\"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.\",serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(\"boolean\"==typeof t)return t?\"true\":\"false\";if(Object(r.a)(t))return t.toString();throw new c.a(\"String cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"!=typeof e)throw new c.a(\"String cannot represent a non string value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.STRING)throw new c.a(\"String cannot represent a non string value: \".concat(Object(l.a)(e)),e);return e.value}});var m=new u.g({name:\"Boolean\",description:\"The `Boolean` scalar type represents `true` or `false`.\",serialize:function(e){var t=d(e);if(\"boolean\"==typeof t)return t;if(Object(r.a)(t))return 0!==t;throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(t)))},parseValue:function(e){if(\"boolean\"!=typeof e)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind!==s.a.BOOLEAN)throw new c.a(\"Boolean cannot represent a non boolean value: \".concat(Object(l.a)(e)),e);return e.value}});var v=new u.g({name:\"ID\",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=d(e);if(\"string\"==typeof t)return t;if(i(t))return String(t);throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseValue:function(e){if(\"string\"==typeof e)return e;if(i(e))return e.toString();throw new c.a(\"ID cannot represent value: \".concat(Object(o.a)(e)))},parseLiteral:function(e){if(e.kind!==s.a.STRING&&e.kind!==s.a.INT)throw new c.a(\"ID cannot represent a non-string and non-integer value: \"+Object(l.a)(e),e);return e.value}}),g=Object.freeze([h,f,p,m,v]);function y(e){return g.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";var r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))};t.a=r},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"__Schema\",(function(){return f})),n.d(t,\"__Directive\",(function(){return p})),n.d(t,\"__DirectiveLocation\",(function(){return d})),n.d(t,\"__Type\",(function(){return h})),n.d(t,\"__Field\",(function(){return m})),n.d(t,\"__InputValue\",(function(){return v})),n.d(t,\"__EnumValue\",(function(){return g})),n.d(t,\"TypeKind\",(function(){return y})),n.d(t,\"__TypeKind\",(function(){return b})),n.d(t,\"SchemaMetaFieldDef\",(function(){return T})),n.d(t,\"TypeMetaFieldDef\",(function(){return E})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return O})),n.d(t,\"introspectionTypes\",(function(){return x})),n.d(t,\"isIntrospectionType\",(function(){return _}));var r=n(7),i=n(3),o=n(11),a=n(9),s=n(5),l=n(31),c=n(6),u=n(0),f=new u.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{description:{type:c.e,resolve:function(e){return e.description}},types:{description:\"A list of all types supported by this server.\",type:Object(u.e)(Object(u.d)(Object(u.e)(h))),resolve:function(e){return Object(r.a)(e.getTypeMap())}},queryType:{description:\"The type that query operations will be rooted at.\",type:Object(u.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(u.e)(Object(u.d)(Object(u.e)(p))),resolve:function(e){return e.getDirectives()}}}}}),p=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isRepeatable:{type:Object(u.e)(c.a),resolve:function(e){return e.isRepeatable}},locations:{type:Object(u.e)(Object(u.d)(Object(u.e)(d))),resolve:function(e){return e.locations}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}}}}}),d=new u.a({name:\"__DirectiveLocation\",description:\"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.\",values:{QUERY:{value:s.a.QUERY,description:\"Location adjacent to a query operation.\"},MUTATION:{value:s.a.MUTATION,description:\"Location adjacent to a mutation operation.\"},SUBSCRIPTION:{value:s.a.SUBSCRIPTION,description:\"Location adjacent to a subscription operation.\"},FIELD:{value:s.a.FIELD,description:\"Location adjacent to a field.\"},FRAGMENT_DEFINITION:{value:s.a.FRAGMENT_DEFINITION,description:\"Location adjacent to a fragment definition.\"},FRAGMENT_SPREAD:{value:s.a.FRAGMENT_SPREAD,description:\"Location adjacent to a fragment spread.\"},INLINE_FRAGMENT:{value:s.a.INLINE_FRAGMENT,description:\"Location adjacent to an inline fragment.\"},VARIABLE_DEFINITION:{value:s.a.VARIABLE_DEFINITION,description:\"Location adjacent to a variable definition.\"},SCHEMA:{value:s.a.SCHEMA,description:\"Location adjacent to a schema definition.\"},SCALAR:{value:s.a.SCALAR,description:\"Location adjacent to a scalar definition.\"},OBJECT:{value:s.a.OBJECT,description:\"Location adjacent to an object type definition.\"},FIELD_DEFINITION:{value:s.a.FIELD_DEFINITION,description:\"Location adjacent to a field definition.\"},ARGUMENT_DEFINITION:{value:s.a.ARGUMENT_DEFINITION,description:\"Location adjacent to an argument definition.\"},INTERFACE:{value:s.a.INTERFACE,description:\"Location adjacent to an interface definition.\"},UNION:{value:s.a.UNION,description:\"Location adjacent to a union definition.\"},ENUM:{value:s.a.ENUM,description:\"Location adjacent to an enum definition.\"},ENUM_VALUE:{value:s.a.ENUM_VALUE,description:\"Location adjacent to an enum value definition.\"},INPUT_OBJECT:{value:s.a.INPUT_OBJECT,description:\"Location adjacent to an input object type definition.\"},INPUT_FIELD_DEFINITION:{value:s.a.INPUT_FIELD_DEFINITION,description:\"Location adjacent to an input object field definition.\"}}}),h=new u.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(u.e)(b),resolve:function(e){return Object(u.R)(e)?y.SCALAR:Object(u.N)(e)?y.OBJECT:Object(u.H)(e)?y.INTERFACE:Object(u.T)(e)?y.UNION:Object(u.E)(e)?y.ENUM:Object(u.F)(e)?y.INPUT_OBJECT:Object(u.J)(e)?y.LIST:Object(u.L)(e)?y.NON_NULL:void Object(o.a)(!1,'Unexpected type: \"'.concat(Object(i.a)(e),'\".'))}},name:{type:c.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(u.d)(Object(u.e)(m)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var i=Object(r.a)(e.getFields());return n||(i=i.filter((function(e){return!e.isDeprecated}))),i}return null}},interfaces:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e){if(Object(u.N)(e)||Object(u.H)(e))return e.getInterfaces()}},possibleTypes:{type:Object(u.d)(Object(u.e)(h)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.C)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(u.d)(Object(u.e)(g)),args:{includeDeprecated:{type:c.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var r=e.getValues();return n||(r=r.filter((function(e){return!e.isDeprecated}))),r}}},inputFields:{type:Object(u.d)(Object(u.e)(v)),resolve:function(e){if(Object(u.F)(e))return Object(r.a)(e.getFields())}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(v))),resolve:function(e){return e.args}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),v=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},type:{type:Object(u.e)(h),resolve:function(e){return e.type}},defaultValue:{type:c.e,description:\"A GraphQL-formatted string representing the default value for this input value.\",resolve:function(e){var t=e.type,n=e.defaultValue,r=Object(l.a)(n,t);return r?Object(a.a)(r):null}}}}}),g=new u.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(u.e)(c.e),resolve:function(e){return e.name}},description:{type:c.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(u.e)(c.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:c.e,resolve:function(e){return e.deprecationReason}}}}}),y=Object.freeze({SCALAR:\"SCALAR\",OBJECT:\"OBJECT\",INTERFACE:\"INTERFACE\",UNION:\"UNION\",ENUM:\"ENUM\",INPUT_OBJECT:\"INPUT_OBJECT\",LIST:\"LIST\",NON_NULL:\"NON_NULL\"}),b=new u.a({name:\"__TypeKind\",description:\"An enum describing what kind of type a given `__Type` is.\",values:{SCALAR:{value:y.SCALAR,description:\"Indicates this type is a scalar.\"},OBJECT:{value:y.OBJECT,description:\"Indicates this type is an object. `fields` and `interfaces` are valid fields.\"},INTERFACE:{value:y.INTERFACE,description:\"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.\"},UNION:{value:y.UNION,description:\"Indicates this type is a union. `possibleTypes` is a valid field.\"},ENUM:{value:y.ENUM,description:\"Indicates this type is an enum. `enumValues` is a valid field.\"},INPUT_OBJECT:{value:y.INPUT_OBJECT,description:\"Indicates this type is an input object. `inputFields` is a valid field.\"},LIST:{value:y.LIST,description:\"Indicates this type is a list. `ofType` is a valid field.\"},NON_NULL:{value:y.NON_NULL,description:\"Indicates this type is a non-null. `ofType` is a valid field.\"}}}),T={name:\"__schema\",type:Object(u.e)(f),description:\"Access the current type schema of this server.\",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},E={name:\"__type\",type:h,description:\"Request the type information of a single type.\",args:[{name:\"name\",description:void 0,type:Object(u.e)(c.e),defaultValue:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},O={name:\"__typename\",type:Object(u.e)(c.e),description:\"The name of the current Object type at runtime.\",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},x=Object.freeze([f,p,d,h,m,v,g,b]);function _(e){return x.some((function(t){var n=t.name;return e.name===n}))}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(19),i=n(28);function o(e){return Object(r.c)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return\"$\"+e.name},Document:function(e){return l(e.definitions,\"\\n\\n\")+\"\\n\"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u(\"(\",l(e.variableDefinitions,\", \"),\")\"),i=l(e.directives,\" \"),o=e.selectionSet;return n||i||r||\"query\"!==t?l([t,l([n,r]),i,o],\" \"):o},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+\": \"+n+u(\" = \",r)+u(\" \",l(i,\" \"))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,o=e.selectionSet;return l([u(\"\",t,\": \")+n+u(\"(\",l(r,\", \"),\")\"),l(i,\" \"),o],\" \")},Argument:function(e){return e.name+\": \"+e.value},FragmentSpread:function(e){return\"...\"+e.name+u(\" \",l(e.directives,\" \"))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l([\"...\",u(\"on \",t),l(n,\" \"),r],\" \")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,o=e.selectionSet;return\"fragment \".concat(t).concat(u(\"(\",l(r,\", \"),\")\"),\" \")+\"on \".concat(n,\" \").concat(u(\"\",l(i,\" \"),\" \"))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(i.c)(n,\"description\"===t?\"\":\"  \"):JSON.stringify(n)},BooleanValue:function(e){return e.value?\"true\":\"false\"},NullValue:function(){return\"null\"},EnumValue:function(e){return e.value},ListValue:function(e){return\"[\"+l(e.values,\", \")+\"]\"},ObjectValue:function(e){return\"{\"+l(e.fields,\", \")+\"}\"},ObjectField:function(e){return e.name+\": \"+e.value},Directive:function(e){return\"@\"+e.name+u(\"(\",l(e.arguments,\", \"),\")\")},NamedType:function(e){return e.name},ListType:function(e){return\"[\"+e.type+\"]\"},NonNullType:function(e){return e.type+\"!\"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l([\"schema\",l(t,\" \"),c(n)],\" \")})),OperationTypeDefinition:function(e){return e.operation+\": \"+e.type},ScalarTypeDefinition:s((function(e){return l([\"scalar\",e.name,l(e.directives,\" \")],\" \")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+\": \"+r+u(\" \",l(i,\" \"))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return l([t+\": \"+n,u(\"= \",r),l(i,\" \")],\" \")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l([\"union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l([\"enum\",t,l(n,\" \"),c(r)],\" \")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives,\" \")],\" \")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"input\",t,l(n,\" \"),c(r)],\" \")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return\"directive @\"+t+(d(n)?u(\"(\\n\",f(l(n,\"\\n\")),\"\\n)\"):u(\"(\",l(n,\", \"),\")\"))+(r?\" repeatable\":\"\")+\" on \"+l(i,\" | \")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l([\"extend schema\",l(t,\" \"),c(n)],\" \")},ScalarTypeExtension:function(e){return l([\"extend scalar\",e.name,l(e.directives,\" \")],\" \")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend type\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return l([\"extend interface\",t,u(\"implements \",l(n,\" & \")),l(r,\" \"),c(i)],\" \")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l([\"extend union\",t,l(n,\" \"),r&&0!==r.length?\"= \"+l(r,\" | \"):\"\"],\" \")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l([\"extend enum\",t,l(n,\" \"),c(r)],\" \")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l([\"extend input\",t,l(n,\" \"),c(r)],\" \")}};function s(e){return function(t){return l([t.description,e(t)],\"\\n\")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:\"\"}function c(e){return e&&0!==e.length?\"{\\n\"+f(l(e,\"\\n\"))+\"\\n}\":\"\"}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return t?e+t+n:\"\"}function f(e){return e&&\"  \"+e.replace(/\\n/g,\"\\n  \")}function p(e){return-1!==e.indexOf(\"\\n\")}function d(e){return e&&e.some(p)}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=navigator.userAgent,t=navigator.platform,n=/gecko\\/\\d/i.test(e),r=/MSIE \\d/.test(e),i=/Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(e),o=/Edge\\/(\\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\\//.test(e),c=l&&/Qt\\/\\d+\\.\\d+/.test(e),u=!o&&/Chrome\\//.test(e),f=/Opera\\//.test(e),p=/Apple Computer/.test(navigator.vendor),d=/Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(e),h=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\\/\\w+/.test(e),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\\bCrOS\\b/.test(e),T=/win/i.test(t),E=f&&e.match(/Version\\/(\\d*\\.\\d*)/);E&&(E=Number(E[1])),E&&E>=15&&(f=!1,l=!0);var O=y&&(c||f&&(null==E||E<12.11)),x=n||a&&s>=9;function _(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}var k,w=function(e,t){var n=e.className,r=_(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:\"\")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function S(e,t){return C(e).appendChild(t)}function N(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),\"string\"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function D(e,t,n,r){var i=N(e,t,n,r);return i.setAttribute(\"role\",\"presentation\"),i}function I(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function A(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function L(e,t){var n=e.className;_(t).test(n)||(e.className+=(n?\" \":\"\")+t)}function j(e,t){for(var n=e.split(\" \"),r=0;r<n.length;r++)n[r]&&!_(n[r]).test(t)&&(t+=\" \"+n[r]);return t}k=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd(\"character\",n),r.moveStart(\"character\",t),r};var F=function(e){e.select()};function M(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function P(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\\s\\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf(\"\\t\",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?F=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(F=function(e){try{e.select()}catch(e){}});var V=function(){this.id=null,this.f=null,this.time=0,this.handler=M(this.onTimeout,this)};function U(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}V.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},V.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var B={toString:function(){return\"CodeMirror.Pass\"}},q={scroll:!1},H={origin:\"*mouse\"},z={origin:\"+move\"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(\"\\t\",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var K=[\"\"];function Q(e){for(;K.length<=e;)K.push(W(K)+\" \");return K[e]}function W(e){return e[e.length-1]}function Y(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function J(){}function $(e,t){var n;return Object.create?n=Object.create(e):(J.prototype=e,n=new J),t&&R(t,n),n}var X=/[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;function Z(e){return/\\w/.test(e)||e>\"\u0080\"&&(e.toUpperCase()!=e.toLowerCase()||X.test(e))}function ee(e,t){return t?!!(t.source.indexOf(\"\\\\w\")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&\"before\"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&\"before\"!=n?r=i:ae=i)}return null!=r?r:ae}var le=function(){var e=/[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var l=\"ltr\"==s?\"L\":\"R\";if(0==a.length||\"ltr\"==s&&!e.test(a))return!1;for(var c,u=a.length,f=[],p=0;p<u;++p)f.push((c=a.charCodeAt(p))<=247?\"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\".charAt(c):1424<=c&&c<=1524?\"R\":1536<=c&&c<=1785?\"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\".charAt(c-1536):1774<=c&&c<=2220?\"r\":8192<=c&&c<=8203?\"w\":8204==c?\"b\":\"L\");for(var d=0,h=l;d<u;++d){var m=f[d];\"m\"==m?f[d]=h:h=m}for(var v=0,g=l;v<u;++v){var y=f[v];\"1\"==y&&\"r\"==g?f[v]=\"n\":n.test(y)&&(g=y,\"r\"==y&&(f[v]=\"R\"))}for(var b=1,T=f[0];b<u-1;++b){var E=f[b];\"+\"==E&&\"1\"==T&&\"1\"==f[b+1]?f[b]=\"1\":\",\"!=E||T!=f[b+1]||\"1\"!=T&&\"n\"!=T||(f[b]=T),T=E}for(var O=0;O<u;++O){var x=f[O];if(\",\"==x)f[O]=\"N\";else if(\"%\"==x){var _=void 0;for(_=O+1;_<u&&\"%\"==f[_];++_);for(var k=O&&\"!\"==f[O-1]||_<u&&\"1\"==f[_]?\"1\":\"N\",w=O;w<_;++w)f[w]=k;O=_-1}}for(var C=0,S=l;C<u;++C){var N=f[C];\"L\"==S&&\"1\"==N?f[C]=\"L\":n.test(N)&&(S=N)}for(var D=0;D<u;++D)if(t.test(f[D])){var I=void 0;for(I=D+1;I<u&&t.test(f[I]);++I);for(var A=\"L\"==(D?f[D-1]:l),L=A==(\"L\"==(I<u?f[I]:l))?A?\"L\":\"R\":l,j=D;j<I;++j)f[j]=L;D=I-1}for(var F,M=[],R=0;R<u;)if(r.test(f[R])){var P=R;for(++R;R<u&&r.test(f[R]);++R);M.push(new o(0,P,R))}else{var V=R,U=M.length,B=\"rtl\"==s?1:0;for(++R;R<u&&\"L\"!=f[R];++R);for(var q=V;q<R;)if(i.test(f[q])){V<q&&(M.splice(U,0,new o(1,V,q)),U+=B);var H=q;for(++q;q<R&&i.test(f[q]);++q);M.splice(U,0,new o(2,H,q)),U+=B,V=q}else++q;V<R&&M.splice(U,0,new o(1,V,R))}return\"ltr\"==s&&(1==M[0].level&&(F=a.match(/^\\s+/))&&(M[0].from=F[0].length,M.unshift(new o(0,0,F[0].length))),1==W(M).level&&(F=a.match(/\\s+$/))&&(W(M).to-=F[0].length,M.push(new o(0,u-F[0].length,u)))),\"rtl\"==s?M.reverse():M}}();function ce(e,t){var n=e.order;return null==n&&(n=e.order=le(e.text,t)),n}var ue=[],fe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent(\"on\"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||ue).concat(n)}};function pe(e,t){return e._handlers&&e._handlers[t]||ue}function de(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent(\"on\"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=U(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function he(e,t){var n=pe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return\"string\"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),he(e,n||t.type,e,t),Ee(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==U(n,t[r])&&n.push(t[r])}function ge(e,t){return pe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){fe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Te(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ee(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){be(e),Te(e)}function xe(e){return e.target||e.srcElement}function _e(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var ke,we,Ce=function(){if(a&&s<9)return!1;var e=N(\"div\");return\"draggable\"in e||\"dragDrop\"in e}();function Se(e){if(null==ke){var t=N(\"span\",\"\u200B\");S(e,N(\"span\",[t,document.createTextNode(\"x\")])),0!=e.firstChild.offsetHeight&&(ke=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ke?N(\"span\",\"\u200B\"):N(\"span\",\"\u00A0\",null,\"display: inline-block; width: 1px; margin-right: -1px\");return n.setAttribute(\"cm-text\",\"\"),n}function Ne(e){if(null!=we)return we;var t=S(e,document.createTextNode(\"A\u062EA\")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(we=r.right-n.right<3)}var De,Ie=3!=\"\\n\\nb\".split(/\\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf(\"\\n\",t);-1==i&&(i=e.length);var o=e.slice(t,\"\\r\"==e.charAt(i-1)?i-1:i),a=o.indexOf(\"\\r\");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\\r\\n?|\\n/)},Ae=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints(\"StartToEnd\",t)},Le=\"oncopy\"in(De=N(\"div\"))||(De.setAttribute(\"oncopy\",\"return;\"),\"function\"==typeof De.oncopy),je=null,Fe={},Me={};function Re(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function Pe(e){if(\"string\"==typeof e&&Me.hasOwnProperty(e))e=Me[e];else if(e&&\"string\"==typeof e.name&&Me.hasOwnProperty(e.name)){var t=Me[e.name];\"string\"==typeof t&&(t={name:t}),(e=$(t,e)).name=t.name}else{if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(e))return Pe(\"application/xml\");if(\"string\"==typeof e&&/^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(e))return Pe(\"application/json\")}return\"string\"==typeof e?{name:e}:e||{name:\"null\"}}function Ve(e,t){t=Pe(t);var n=Fe[t.name];if(!n)return Ve(e,\"text/plain\");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r[\"_\"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function Be(e,t){R(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function qe(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 He(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 ze(e,t,n){return!e.startState||e.startState(t,n)}var Ge=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ke(e,t){if((t-=e.first)<0||t>=e.size)throw new Error(\"There is no line \"+(t+e.first)+\" in the document.\");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function We(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Je(e){if(null==e.parent)return null;for(var t=e.parent,n=U(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function $e(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Xe(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,Ke(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,Ke(e,t.line).text.length)}function lt(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}Ge.prototype.eol=function(){return this.pos>=this.string.length},Ge.prototype.sol=function(){return this.pos==this.lineStart},Ge.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ge.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ge.prototype.eat=function(e){var t=this.string.charAt(this.pos);if(\"string\"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ge.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ge.prototype.eatSpace=function(){for(var e=this.pos;/[\\s\\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ge.prototype.skipToEnd=function(){this.pos=this.string.length},Ge.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ge.prototype.backUp=function(e){this.pos-=e},Ge.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=P(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.indentation=function(){return P(this.string,null,this.tabSize)-(this.lineStart?P(this.string,this.lineStart,this.tabSize):0)},Ge.prototype.match=function(e,t,n){if(\"string\"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ge.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ge.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ge.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ge.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ft(e,t,n,r){var i=[e.state.modeGen],o={};Tt(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,Tt(e,t.text,s.mode,n,(function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,\"overlay \"+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+\" \":\"\")+\"overlay \"+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function pt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=dt(e,Je(t)),i=t.text.length>e.options.maxHighlightLength&&qe(e.doc.mode,r.state),o=ft(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ut(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ke(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ct?c.lookAhead:0)<=o.modeFrontier))return s;var u=P(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&Ke(r,o-1).stateAfter,s=a?ut.fromSaved(r,a,o):new ut(r,ze(r.mode),o);return r.iter(o,t,(function(n){ht(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function ht(e,t,n,r){var i=e.doc.mode,o=new Ge(t,e.options.tabSize,n);for(o.start=o.pos=r||0,\"\"==t&&mt(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=He(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=He(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error(\"Mode \"+e.name+\" failed to advance stream.\")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,\"\"),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ut.fromSaved=function(e,t,n){return t instanceof ct?new ut(e,qe(e.mode,t.state),n,t.lookAhead):new ut(e,qe(e.mode,t),n)},ut.prototype.save=function(e){var t=!1!==e?qe(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ct(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=Ke(a,(t=st(a,t)).line),c=dt(e,t.line,n),u=new Ge(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=vt(s,u,c.state),r&&o.push(new gt(u,i,qe(a.mode,c.state)));return r?o:new gt(u,i,c.state)}function bt(e,t){if(e)for(;;){var n=e.match(/(?:^|\\s+)line-(background-)?(\\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?\"bgClass\":\"textClass\";null==t[r]?t[r]=n[2]:new RegExp(\"(?:^|\\\\s)\"+n[2]+\"(?:$|\\\\s)\").test(t[r])||(t[r]+=\" \"+n[2])}return e}function Tt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ge(t,e.options.tabSize,r),p=e.options.addModeClass&&[null];for(\"\"==t&&bt(mt(n,r.state),o);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&ht(e,t,r,f.pos),f.pos=t.length,l=null):l=bt(vt(n,f,r.state,p),o),p){var d=p[0].name;d&&(l=\"m-\"+(l?d+\" \"+l:d))}if(!s||u!=l){for(;c<f.start;)i(c=Math.min(f.start,c+5e3),u);u=l}f.start=f.pos}for(;c<f.pos;){var h=Math.min(f.pos,c+5e3);i(h,u),c=h}}var Et=!1,Ot=!1;function xt(e,t,n){this.marker=e,this.from=t,this.to=n}function _t(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function kt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function wt(e,t){if(t.full)return null;var n=Xe(e,t.from.line)&&Ke(e,t.from.line).markedSpans,r=Xe(e,t.to.line)&&Ke(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&\"bookmark\"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new xt(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&\"bookmark\"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new xt(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=W(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var p=s[f];if(null==p.to){var d=_t(l,p.marker);d?c&&(p.to=null==d.to?null:d.to+u):p.to=i}}if(l)for(var h=0;h<l.length;++h){var m=l[h];null!=m.to&&(m.to+=u),null==m.from?_t(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m)):(m.from+=u,c&&(s||(s=[])).push(m))}s&&(s=Ct(s)),l&&l!=s&&(l=Ct(l));var v=[s];if(!c){var g,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(g||(g=[])).push(new xt(s[b].marker,null,null));for(var T=0;T<y;++T)v.push(g);v.push(l)}return v}function Ct(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function St(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Nt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Dt(e){return e.inclusiveLeft?-1:0}function It(e){return e.inclusiveRight?1:0}function At(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||Dt(e)-Dt(t);if(o)return-o;var a=tt(r.to,i.to)||It(e)-It(t);return a||t.id-e.id}function Lt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||At(n,i.marker)<0)&&(n=i.marker);return n}function jt(e){return Lt(e,!0)}function Ft(e){return Lt(e,!1)}function Mt(e,t){var n,r=Ot&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||At(n,o.marker)<0)&&(n=o.marker)}return n}function Rt(e,t,n,r,i){var o=Ke(e,t),a=Ot&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=tt(c.from,n)||Dt(l.marker)-Dt(i),f=tt(c.to,r)||It(l.marker)-It(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.to,n)>=0:tt(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.from,r)<=0:tt(c.from,r)<0)))return!0}}}function Pt(e){for(var t;t=jt(e);)e=t.find(-1,!0).line;return e}function Vt(e,t){var n=Ke(e,t),r=Pt(n);return n==r?t:Je(r)}function Ut(e,t){if(t>e.lastLine())return t;var n,r=Ke(e,t);if(!Bt(e,r))return t;for(;n=Ft(r);)r=n.find(1,!0).line;return Je(r)+1}function Bt(e,t){var n=Ot&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&qt(e,t,r))return!0}}function qt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return qt(e,r.line,_t(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&qt(e,t,i))return!0}function Ht(e){for(var t=0,n=(e=Pt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function zt(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=jt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Ft(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function Gt(e){var t=e.display,n=e.doc;t.maxLine=Ke(n,n.first),t.maxLineLength=zt(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=zt(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Kt=function(e,t,n){this.text=e,Nt(this,t),this.height=n?n(this):1};function Qt(e){e.parent=null,St(e)}Kt.prototype.lineNo=function(){return Je(this)},ye(Kt);var Wt={},Yt={};function Jt(e,t){if(!e||/^\\s*$/.test(e))return null;var n=t.addModeClass?Yt:Wt;return n[e]||(n[e]=e.replace(/\\S+/g,\"cm-$&\"))}function $t(e,t){var n=D(\"span\",null,null,l?\"padding-right: .1px\":null),r={pre:D(\"pre\",[n],\"CodeMirror-line\"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption(\"lineWrapping\")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Zt,Ne(e.display.measure)&&(a=ce(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,pt(e,o,t!=e.display.externalMeasured&&Je(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=j(o.styleClasses.bgClass,r.bgClass||\"\")),o.styleClasses.textClass&&(r.textClass=j(o.styleClasses.textClass,r.textClass||\"\"))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Se(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var s=r.content.lastChild;(/\\bcm-tab\\b/.test(s.className)||s.querySelector&&s.querySelector(\".cm-tab\"))&&(r.content.className=\"cm-tab-wrap-hack\")}return he(e,\"renderLine\",e,t.line,r.pre),r.pre.className&&(r.textClass=j(r.pre.className,r.textClass||\"\")),r}function Xt(e){var t=N(\"span\",\"\u2022\",\"cm-invalidchar\");return t.title=\"\\\\u\"+e.charCodeAt(0).toString(16),t.setAttribute(\"aria-label\",t.title),t}function Zt(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e;for(var n=t,r=\"\",i=0;i<e.length;i++){var o=e.charAt(i);\" \"!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=\"\u00A0\"),r+=o,n=\" \"==o}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,p=!1;if(f.test(t)){c=document.createDocumentFragment();for(var d=0;;){f.lastIndex=d;var h=f.exec(t),m=h?h.index-d:t.length-d;if(m){var v=document.createTextNode(u.slice(d,d+m));a&&s<9?c.appendChild(N(\"span\",[v])):c.appendChild(v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!h)break;d+=m+1;var g=void 0;if(\"\\t\"==h[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(g=c.appendChild(N(\"span\",Q(b),\"cm-tab\"))).setAttribute(\"role\",\"presentation\"),g.setAttribute(\"cm-text\",\"\\t\"),e.col+=b}else\"\\r\"==h[0]||\"\\n\"==h[0]?((g=c.appendChild(N(\"span\",\"\\r\"==h[0]?\"\u240D\":\"\u2424\",\"cm-invalidchar\"))).setAttribute(\"cm-text\",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute(\"cm-text\",h[0]),a&&s<9?c.appendChild(N(\"span\",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(p=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||p||o){var T=n||\"\";r&&(T+=r),i&&(T+=i);var E=N(\"span\",[c],T,o);if(l)for(var O in l)l.hasOwnProperty(O)&&\"style\"!=O&&\"class\"!=O&&E.setAttribute(O,l[O]);return e.content.appendChild(E)}e.content.appendChild(c)}}function en(e,t){return function(n,r,i,o,a,s,l){i=i?i+\" cm-force-border\":\"cm-force-border\";for(var c=n.pos,u=c+r.length;;){for(var f=void 0,p=0;p<t.length&&!((f=t[p]).to>c&&f.from<=c);p++);if(f.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,f.to-c),i,o,null,s,l),o=null,r=r.slice(f.to-c),c=f.to}}}function tn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement(\"span\"))),i.setAttribute(\"cm-marker\",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,f,p,d=i.length,h=0,m=1,v=\"\",g=0;;){if(g==h){l=c=u=s=\"\",p=null,f=null,g=1/0;for(var y=[],b=void 0,T=0;T<r.length;++T){var E=r[T],O=E.marker;if(\"bookmark\"==O.type&&E.from==h&&O.widgetNode)y.push(O);else if(E.from<=h&&(null==E.to||E.to>h||O.collapsed&&E.to==h&&E.from==h)){if(null!=E.to&&E.to!=h&&g>E.to&&(g=E.to,c=\"\"),O.className&&(l+=\" \"+O.className),O.css&&(s=(s?s+\";\":\"\")+O.css),O.startStyle&&E.from==h&&(u+=\" \"+O.startStyle),O.endStyle&&E.to==g&&(b||(b=[])).push(O.endStyle,E.to),O.title&&((p||(p={})).title=O.title),O.attributes)for(var x in O.attributes)(p||(p={}))[x]=O.attributes[x];O.collapsed&&(!f||At(f.marker,O)<0)&&(f=E)}else E.from>h&&g>E.from&&(g=E.from)}if(b)for(var _=0;_<b.length;_+=2)b[_+1]==g&&(c+=\" \"+b[_]);if(!f||f.from==h)for(var k=0;k<y.length;++k)tn(t,0,y[k]);if(f&&(f.from||0)==h){if(tn(t,(null==f.to?d+1:f.to)-h,f.marker,null==f.from),null==f.to)return;f.to==h&&(f=!1)}}if(h>=d)break;for(var w=Math.min(d,g);;){if(v){var C=h+v.length;if(!f){var S=C>w?v.slice(0,w-h):v;t.addToken(t,S,a?a+l:l,u,h+S.length==g?c:\"\",s,p)}if(C>=w){v=v.slice(w-h),h=w;break}h=C,u=\"\"}v=i.slice(o,o=n[m++]),a=Jt(n[m++],t.cm.options)}}else for(var N=1;N<n.length;N+=2)t.addToken(t,i.slice(o,o=n[N]),Jt(n[N+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Ft(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Je(W(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Bt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,Ke(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function ln(e,t){var n=pe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],setTimeout(cn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function cn(){var e=sn;sn=null;for(var t=0;t<e.length;++t)e[t]()}function un(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];\"text\"==o?dn(e,t):\"gutter\"==o?mn(e,t,n,r):\"class\"==o?hn(e,t):\"widget\"==o&&vn(e,t,r)}t.changes=null}function fn(e){return e.node==e.text&&(e.node=N(\"div\",null,null,\"position: relative\"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function pn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):$t(e,t)}function dn(e,t){var n=t.text.className,r=pn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,hn(e,t)):n&&(t.text.className=n)}function hn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+\" \"+(t.line.bgClass||\"\"):t.line.bgClass;if(n&&(n+=\" CodeMirror-linebackground\"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=fn(t);t.background=r.insertBefore(N(\"div\",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?fn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className=\"\");var n=t.textClass?t.textClass+\" \"+(t.line.textClass||\"\"):t.line.textClass;t.text.className=n||\"\"}function mn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=fn(t);t.gutterBackground=N(\"div\",null,\"CodeMirror-gutter-background \"+t.line.gutterClass,\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px; width: \"+r.gutterTotalWidth+\"px\"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=fn(t),s=t.gutter=N(\"div\",null,\"CodeMirror-gutter-wrapper\",\"left: \"+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+\"px\");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=\" \"+t.line.gutterClass),!e.options.lineNumbers||o&&o[\"CodeMirror-linenumbers\"]||(t.lineNumber=s.appendChild(N(\"div\",Ze(e.options,n),\"CodeMirror-linenumber CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[\"CodeMirror-linenumbers\"]+\"px; width: \"+e.display.lineNumInnerWidth+\"px\"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(N(\"div\",[u],\"CodeMirror-gutter-elt\",\"left: \"+r.gutterLeft[c]+\"px; width: \"+r.gutterWidth[c]+\"px\"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=_(\"CodeMirror-linewidget\"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function gn(e,t,n,r){var i=pn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),hn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=fn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=N(\"div\",[l.node],\"CodeMirror-linewidget\"+(l.className?\" \"+l.className:\"\"));l.handleMouseEvents||c.setAttribute(\"cm-ignore-events\",\"true\"),Tn(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),ln(l,\"redraw\")}}function Tn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+\"px\",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+\"px\"),t.style.width=i+\"px\"}e.coverGutter&&(t.style.zIndex=5,t.style.position=\"relative\",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+\"px\"))}function En(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!I(document.body,e.node)){var n=\"position: relative;\";e.coverGutter&&(n+=\"margin-left: -\"+t.display.gutters.offsetWidth+\"px;\"),e.noHScroll&&(n+=\"width: \"+t.display.wrapper.clientWidth+\"px;\"),S(t.display.measure,N(\"div\",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function On(e,t){for(var n=xe(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&\"true\"==n.getAttribute(\"cm-ignore-events\")||n.parentNode==e.sizer&&n!=e.mover)return!0}function xn(e){return e.lineSpace.offsetTop}function _n(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function kn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=S(e.measure,N(\"pre\",\"x\",\"CodeMirror-line-like\")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function wn(e){return 50-e.display.nativeBarWidth}function Cn(e){return e.display.scroller.clientWidth-wn(e)-e.display.barWidth}function Sn(e){return e.display.scroller.clientHeight-wn(e)-e.display.barHeight}function Nn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Je(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Dn(e,t,n,r){return Ln(e,An(e,t),n,r)}function In(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[ur(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function An(e,t){var n=Je(t),r=In(e,n);r&&!r.text?r=null:r&&r.changes&&(un(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Je(t=Pt(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=$t(e,r);return r.text=i.pre,S(e.display.lineMeasure,i.pre),r}(e,t));var i=Nn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Ln(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||\"\");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&Cn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Mn(t.map,n,r),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&re(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&re(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():Rn(k(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,f=\"right\"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=je)return je;var t=S(e,N(\"span\",\"x\")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return je=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var d;c>0&&(f=r=\"right\"),i=e.options.lineWrapping&&(d=l.getClientRects()).length>1?d[\"right\"==r?d.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var h=l.parentNode.getClientRects()[0];i=h?{left:h.left,right:h.left+ir(e.display),top:h.top,bottom:h.bottom}:Fn}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(g<y[b]);b++);var T=b?y[b-1]:0,E=y[b],O={left:(\"right\"==f?i.right:i.left)-t.rect.left,right:(\"left\"==f?i.left:i.right)-t.rect.left,top:T,bottom:E};return i.left||i.right||(O.bogus=!0),e.options.singleCursorHeightPerLine||(O.rtop=m,O.rbottom=v),O}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var jn,Fn={left:0,right:0,top:0,bottom:0};function Mn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a=\"left\"):t<l?o=1+(i=t-s):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a=\"right\")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?\"left\":\"right\")&&(a=n),\"left\"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a=\"left\";if(\"right\"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a=\"right\";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Rn(e,t){var n=Fn;if(\"left\"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function Pn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Vn(e){e.display.externalMeasure=null,C(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Pn(e.display.view[t])}function Un(e){Vn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Bn(){return u&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function qn(){return u&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Hn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=En(e.widgets[n]));return t}function zn(e,t,n,r,i){if(!i){var o=Hn(t);n.top+=o,n.bottom+=o}if(\"line\"==r)return n;r||(r=\"local\");var a=Ht(t);if(\"local\"==r?a+=xn(e.display):a-=e.display.viewOffset,\"page\"==r||\"window\"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+(\"window\"==r?0:qn());var l=s.left+(\"window\"==r?0:Bn());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function Gn(e,t,n){if(\"div\"==n)return t;var r=t.left,i=t.top;if(\"page\"==n)r-=Bn(),i-=qn();else if(\"local\"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Kn(e,t,n,r,i){return r||(r=Ke(e.doc,t.line)),zn(e,r,Dn(e,r,t.ch,i),n)}function Qn(e,t,n,r,i,o){function a(t,a){var s=Ln(e,i,t,a?\"right\":\"left\",o);return a?s.left=s.right:s.right=s.left,zn(e,r,s,n)}r=r||Ke(e.doc,t.line),i||(i=An(e,r));var s=ce(r,e.doc.direction),l=t.ch,c=t.sticky;if(l>=r.text.length?(l=r.text.length,c=\"before\"):l<=0&&(l=0,c=\"after\"),!s)return a(\"before\"==c?l-1:l,\"before\"==c);function u(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var f=se(s,l,c),p=ae,d=u(l,f,\"before\"==c);return null!=p&&(d.other=u(l,p,\"before\"!=c)),d}function Wn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=Ke(e.doc,t.line),i=Ht(r)+xn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Yn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Jn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Yn(r.first,0,null,-1,-1);var i=$e(r,n),o=r.first+r.size-1;if(i>o)return Yn(r.first+r.size-1,Ke(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ke(r,i);;){var s=er(e,a,i,t,n),l=Mt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ke(r,i=c.line)}}function $n(e,t,n,r){r-=Hn(t);var i=t.text.length,o=oe((function(t){return Ln(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Ln(e,n,t).top>r}),o,i)}}function Xn(e,t,n,r){return n||(n=An(e,t)),$n(e,t,n,zn(e,t,Ln(e,n,r),\"line\").top)}function Zn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=Ht(t);var o=An(e,t),a=Hn(t),s=0,l=t.text.length,c=!0,u=ce(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?nr:tr)(e,t,n,o,u,r,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var p,d,h=null,m=null,v=oe((function(t){var n=Ln(e,o,t);return n.top+=a,n.bottom+=a,!!Zn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(h=t,m=n),!0)}),s,l),g=!1;if(m){var y=r-m.left<m.right-r,b=y==c;v=h+(b?0:1),d=b?\"after\":\"before\",p=y?m.left:m.right}else{c||v!=l&&v!=s||v++,d=0==v?\"after\":v==t.text.length?\"before\":Ln(e,o,v-(c?1:0)).bottom+a<=i==c?\"after\":\"before\";var T=Qn(e,et(n,v,d),\"line\",t,o);p=T.left,g=i<T.top?-1:i>=T.bottom?1:0}return Yn(n,v=ie(t.text,v,1),d,g,r-p)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var l=i[s],c=1!=l.level;return Zn(Qn(e,et(n,c?l.to:l.from,c?\"before\":\"after\"),\"line\",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=Qn(e,et(n,c?l.from:l.to,c?\"after\":\"before\"),\"line\",t,r);Zn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function nr(e,t,n,r,i,o,a){var s=$n(e,t,r,a),l=s.begin,c=s.end;/\\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,p=0;p<i.length;p++){var d=i[p];if(!(d.from>=c||d.to<=l)){var h=Ln(e,r,1!=d.level?Math.min(c,d.to)-1:Math.max(l,d.from)).right,m=h<o?o-h+1e9:h-o;(!u||f>m)&&(u=d,f=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==jn){jn=N(\"pre\",null,\"CodeMirror-line-like\");for(var t=0;t<49;++t)jn.appendChild(document.createTextNode(\"x\")),jn.appendChild(N(\"br\"));jn.appendChild(document.createTextNode(\"x\"))}S(e.measure,jn);var n=jn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=N(\"span\",\"xxxxxxxxxx\"),n=N(\"pre\",[t],\"CodeMirror-line-like\");S(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(Bt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function lr(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ye(e,t)}))}function cr(e,t,n,r){var i=e.display;if(!n&&\"true\"==xe(t).getAttribute(\"cm-not-content\"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(e){return null}var l,c=Jn(e,o,a);if(r&&c.xRel>0&&(l=Ke(e.doc,c.line).text).length==c.ch){var u=P(l,l.length,e.options.tabSize)-l.length;c=et(c.line,Math.max(0,Math.round((o-kn(e.display).left)/ir(e.display))-u))}return c}function ur(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function fr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Ot&&Vt(e.doc,t)<i.viewTo&&dr(e);else if(n<=i.viewFrom)Ot&&Ut(e.doc,n+r)>i.viewFrom?dr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)dr(e);else if(t<=i.viewFrom){var o=hr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):dr(e)}else if(n>=i.viewTo){var a=hr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):dr(e)}else{var s=hr(e,t,t,-1),l=hr(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):dr(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function pr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[ur(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==U(a,n)&&a.push(n)}}}function dr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function hr(e,t,n,r){var i,o=ur(e,t),a=e.display.view;if(!Ot||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Vt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),l||Tr(e,s,o)}}return r}function yr(e,t,n){var r=Qn(e,t,\"div\",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor\"));if(i.style.left=r.left+\"px\",i.style.top=r.top+\"px\",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+\"px\",r.other){var o=n.appendChild(N(\"div\",\"\u00A0\",\"CodeMirror-cursor CodeMirror-secondarycursor\"));o.style.display=\"\",o.style.left=r.other.left+\"px\",o.style.top=r.other.top+\"px\",o.style.height=.85*(r.other.bottom-r.other.top)+\"px\"}}function br(e,t){return e.top-t.top||e.left-t.left}function Tr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=kn(e.display),s=a.left,l=Math.max(r.sizerWidth,Cn(e)-r.sizer.offsetLeft)-a.right,c=\"ltr\"==i.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(N(\"div\",null,\"CodeMirror-selected\",\"position: absolute; left: \"+e+\"px;\\n                             top: \"+t+\"px; width: \"+(null==n?l-e:n)+\"px;\\n                             height: \"+(r-t)+\"px\"))}function f(t,n,r){var o,a,f=Ke(i,t),p=f.text.length;function d(n,r){return Kn(e,et(t,n),\"div\",f,r)}function h(t,n,r){var i=Xn(e,f,null,t),o=\"ltr\"==n==(\"after\"==r)?\"left\":\"right\";return d(\"after\"==r?i.begin:i.end-(/\\s/.test(f.text.charAt(i.end-1))?2:1),o)[o]}var m=ce(f,i.direction);return function(e,t,n,r){if(!e)return r(t,n,\"ltr\",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?\"rtl\":\"ltr\",o),i=!0)}i||r(t,n,\"ltr\")}(m,n||0,null==r?p:r,(function(e,t,i,f){var v=\"ltr\"==i,g=d(e,v?\"left\":\"right\"),y=d(t-1,v?\"right\":\"left\"),b=null==n&&0==e,T=null==r&&t==p,E=0==f,O=!m||f==m.length-1;if(y.top-g.top<=3){var x=(c?T:b)&&O,_=(c?b:T)&&E?s:(v?g:y).left,k=x?l:(v?y:g).right;u(_,g.top,k-_,g.bottom)}else{var w,C,S,N;v?(w=c&&b&&E?s:g.left,C=c?l:h(e,i,\"before\"),S=c?s:h(t,i,\"after\"),N=c&&T&&O?l:y.right):(w=c?h(e,i,\"before\"):s,C=!c&&b&&E?l:g.right,S=!c&&T&&O?s:y.left,N=c?h(t,i,\"after\"):l),u(w,g.top,C-w,g.bottom),g.bottom<y.top&&u(s,g.bottom,null,y.top),u(S,y.top,N-S,y.bottom)}(!o||br(g,o)<0)&&(o=g),br(y,o)<0&&(o=y),(!a||br(g,a)<0)&&(a=g),br(y,a)<0&&(a=y)})),{start:o,end:a}}var p=t.from(),d=t.to();if(p.line==d.line)f(p.line,p.ch,d.ch);else{var h=Ke(i,p.line),m=Ke(i,d.line),v=Pt(h)==Pt(m),g=f(p.line,p.ch,v?h.text.length+1:null).end,y=f(d.line,v?0:null,d.ch).start;v&&(g.top<y.top-2?(u(g.right,g.top,null,g.bottom),u(s,y.top,y.left,y.bottom)):u(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&u(s,g.bottom,null,y.top)}n.appendChild(o)}function Er(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility=\"\",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?\"\":\"hidden\"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility=\"hidden\")}}function Or(e){e.state.focused||(e.display.input.focus(),_r(e))}function xr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,kr(e))}),100)}function _r(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),\"nocursor\"!=e.options.readOnly&&(e.state.focused||(he(e,\"focus\",e,t),e.state.focused=!0,L(e.display.wrapper,\"CodeMirror-focused\"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Er(e))}function kr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(he(e,\"blur\",e,t),e.state.focused=!1,w(e.display.wrapper,\"CodeMirror-focused\")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function wr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-n,n=u}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var p=i.line.height-l;if((p>.005||p<-.005)&&(Ye(i.line,l),Cr(i.line),i.rest))for(var d=0;d<i.rest.length;d++)Cr(i.rest[d]);if(c>e.display.sizerWidth){var h=Math.ceil(c/ir(e.display));h>e.display.maxLineLength&&(e.display.maxLineLength=h,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Cr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function Sr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-xn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=$e(t,r),a=$e(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=$e(t,Ht(Ke(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=$e(t,Ht(Ke(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function Nr(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Sn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+_n(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=Cn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>p;return d&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(d?0:10)):t.right>p+f-3&&(a.scrollLeft=t.right+(d?0:10)-p),a}function Dr(e,t){null!=t&&(Lr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ir(e){Lr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ar(e,t,n){null==t&&null==n||Lr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Lr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,jr(e,Wn(e,t.from),Wn(e,t.to),t.margin))}function jr(e,t,n,r){var i=Nr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Ar(e,i.scrollLeft,i.scrollTop)}function Fr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||li(e,{top:t}),Mr(e,t,!0),n&&li(e),ri(e,100))}function Mr(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Rr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,fi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+_n(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+wn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Vr=function(e,t,n){this.cm=n;var r=this.vert=N(\"div\",[N(\"div\",null,null,\"min-width: 1px\")],\"CodeMirror-vscrollbar\"),i=this.horiz=N(\"div\",[N(\"div\",null,null,\"height: 100%; min-height: 1px\")],\"CodeMirror-hscrollbar\");r.tabIndex=i.tabIndex=-1,e(r),e(i),fe(r,\"scroll\",(function(){r.clientHeight&&t(r.scrollTop,\"vertical\")})),fe(i,\"scroll\",(function(){i.clientWidth&&t(i.scrollLeft,\"horizontal\")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth=\"18px\")};Vr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display=\"block\",this.vert.style.bottom=t?r+\"px\":\"0\";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+\"px\"}else this.vert.style.display=\"\",this.vert.firstChild.style.height=\"0\";if(t){this.horiz.style.display=\"block\",this.horiz.style.right=n?r+\"px\":\"0\",this.horiz.style.left=e.barLeft+\"px\";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+\"px\"}else this.horiz.style.display=\"\",this.horiz.firstChild.style.width=\"0\";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Vr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,\"horiz\")},Vr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,\"vert\")},Vr.prototype.zeroWidthHack=function(){var e=y&&!d?\"12px\":\"18px\";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents=\"none\",this.disableHoriz=new V,this.disableVert=new V},Vr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents=\"auto\",t.set(1e3,(function r(){var i=e.getBoundingClientRect();(\"vert\"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents=\"none\":t.set(1e3,r)}))},Vr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Ur=function(){};function Br(e,t){t||(t=Pr(e));var n=e.display.barWidth,r=e.display.barHeight;qr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&wr(e),qr(e,Pr(e)),n=e.display.barWidth,r=e.display.barHeight}function qr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+\"px\",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+\"px\",n.heightForcer.style.borderBottom=r.bottom+\"px solid transparent\",r.right&&r.bottom?(n.scrollbarFiller.style.display=\"block\",n.scrollbarFiller.style.height=r.bottom+\"px\",n.scrollbarFiller.style.width=r.right+\"px\"):n.scrollbarFiller.style.display=\"\",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display=\"block\",n.gutterFiller.style.height=r.bottom+\"px\",n.gutterFiller.style.width=t.gutterWidth+\"px\"):n.gutterFiller.style.display=\"\"}Ur.prototype.update=function(){return{bottom:0,right:0}},Ur.prototype.setScrollLeft=function(){},Ur.prototype.setScrollTop=function(){},Ur.prototype.clear=function(){};var Hr={native:Vr,null:Ur};function zr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&w(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Hr[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),fe(t,\"mousedown\",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute(\"cm-not-content\",\"true\")}),(function(t,n){\"horizontal\"==n?Rr(e,t):Fr(e,t)}),e),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)}var Gr=0;function Kr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Gr},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Qr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{an=null,t(n)}}(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Wr(t[n]);for(var r=0;r<t.length;r++)Yr(t[r]);for(var i=0;i<t.length;i++)Jr(t[i]);for(var o=0;o<t.length;o++)$r(t[o]);for(var a=0;a<t.length;a++)Xr(t[a])}(e)}))}function Wr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=wn(e)+\"px\",t.sizer.style.marginBottom=-t.nativeBarWidth+\"px\",t.sizer.style.borderRightWidth=wn(e)+\"px\",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Gt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Yr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Jr(e){var t=e.cm,n=t.display;e.updatedDisplay&&wr(t),e.barMeasure=Pr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Dn(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+wn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Cn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function $r(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+\"px\",e.maxScrollLeft<t.doc.scrollLeft&&Rr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==A();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Br(t,e.barMeasure),e.updatedDisplay&&ui(t,e.barMeasure),e.selectionChanged&&Er(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Or(e.cm)}function Xr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Mr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Rr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,\"scrollCursorIntoView\")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!h){var o=N(\"div\",\"\u200B\",null,\"position: absolute;\\n                         top: \"+(t.top-n.viewOffset-xn(e.display))+\"px;\\n                         height: \"+(t.bottom-t.top+wn(e)+n.barHeight)+\"px;\\n                         left: \"+t.left+\"px; width: \"+Math.max(2,t.right-t.left)+\"px;\");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n=\"before\"==(t=t.ch?et(t.line,\"before\"==t.sticky?t.ch-1:t.ch,\"after\"):t).sticky?et(t.line,t.ch+1,\"before\"):t);for(var o=0;o<5;o++){var a=!1,s=Qn(e,t),l=n&&n!=t?Qn(e,n):s,c=Nr(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(Fr(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(Rr(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||he(i[a],\"hide\");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&he(o[s],\"unhide\");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&he(t,\"changes\",t,e.changeObjs),e.update&&e.update.finish()}function Zr(e,t){if(e.curOp)return t();Kr(e);try{return t()}finally{Qr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Kr(e);try{return t.apply(e,arguments)}finally{Qr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Kr(this);try{return e.apply(this,arguments)}finally{Qr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Kr(t);try{return e.apply(this,arguments)}finally{Qr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,M(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=dt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?qe(t.mode,r.state):null,l=ft(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!f&&p<a.length;++p)f=a[p]!=o.styles[p];f&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&ht(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Zr(e,(function(){for(var t=0;t<i.length;t++)pr(e,i[t],\"text\")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Sr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Cn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return dr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;pi(e)&&(dr(e),t.dims=or(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ot&&(o=Vt(e.doc,o),a=Ut(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(ur(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,ur(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=Ht(Ke(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+\"px\";var c=mr(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=A();if(!t||!I(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&I(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display=\"none\"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display=\"none\":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,f=0;f<c.length;f++){var p=c[f];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=s(a);var d=i&&null!=t&&t<=u&&p.lineNumber;p.changes&&(U(p.changes,\"gutter\")>-1&&(d=!1),un(e,p,u,n)),d&&(C(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(Ze(e.options,u)))),a=p.node.nextSibling}else{var h=gn(e,p,u,n);o.insertBefore(h,a)}u+=p.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=\"\"),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=A()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&I(document.body,e.anchorNode)&&I(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Cn(e))r&&(t.visible=Sr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+_n(e.display)-Sn(e),n.top)}),t.visible=Sr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;wr(e);var i=Pr(e);vr(e),Br(e,i),ui(e,i),t.force=!1}t.signal(e,\"update\",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,\"viewportChange\",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function li(e,t){var n=new oi(e,t);if(ai(e,n)){wr(e),si(e,n);var r=Pr(e);vr(e),Br(e,r),ui(e,r),n.finish()}}function ci(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+\"px\"}function ui(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+wn(e)+\"px\"}function fi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+\"px\",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+\"px\")}}function pi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Ze(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(N(\"div\",[N(\"div\",n)],\"CodeMirror-linenumber CodeMirror-gutter-elt\")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width=\"\",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+\"px\",ci(e.display),!0}return!1}function di(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if(\"string\"!=typeof o&&(a=o.style,o=o.className),\"CodeMirror-linenumbers\"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:\"CodeMirror-linenumbers\",style:null}),n}function hi(e){var t=e.gutters,n=e.gutterSpecs;C(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(N(\"div\",null,\"CodeMirror-gutter \"+o));a&&(s.style.cssText=a),\"CodeMirror-linenumbers\"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+\"px\")}t.style.display=n.length?\"\":\"none\",ci(e)}function mi(e){hi(e.display),fr(e),fi(e)}function vi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=N(\"div\",null,\"CodeMirror-scrollbar-filler\"),o.scrollbarFiller.setAttribute(\"cm-not-content\",\"true\"),o.gutterFiller=N(\"div\",null,\"CodeMirror-gutter-filler\"),o.gutterFiller.setAttribute(\"cm-not-content\",\"true\"),o.lineDiv=D(\"div\",null,\"CodeMirror-code\"),o.selectionDiv=N(\"div\",null,null,\"position: relative; z-index: 1\"),o.cursorDiv=N(\"div\",null,\"CodeMirror-cursors\"),o.measure=N(\"div\",null,\"CodeMirror-measure\"),o.lineMeasure=N(\"div\",null,\"CodeMirror-measure\"),o.lineSpace=D(\"div\",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,\"position: relative; outline: none\");var c=D(\"div\",[o.lineSpace],\"CodeMirror-lines\");o.mover=N(\"div\",[c],null,\"position: relative\"),o.sizer=N(\"div\",[o.mover],\"CodeMirror-sizer\"),o.sizerWidth=null,o.heightForcer=N(\"div\",null,null,\"position: absolute; height: 50px; width: 1px;\"),o.gutters=N(\"div\",null,\"CodeMirror-gutters\"),o.lineGutter=null,o.scroller=N(\"div\",[o.sizer,o.heightForcer,o.gutters],\"CodeMirror-scroll\"),o.scroller.setAttribute(\"tabIndex\",\"-1\"),o.wrapper=N(\"div\",[o.scrollbarFiller,o.gutterFiller,o.scroller],\"CodeMirror\"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=di(i.gutters,i.lineNumbers),hi(o),r.init(o)}oi.prototype.signal=function(e,t){ge(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)he.apply(null,this.events[e])};var gi=0,yi=null;function bi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function Ti(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function Ei(e,t){var r=bi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,d=a.view;p!=s;p=p.parentNode)for(var h=0;h<d.length;h++)if(d[h].node==p){e.display.currentWheelTarget=p;break e}if(i&&!n&&!f&&null!=yi)return o&&u&&Fr(e,Math.max(0,s.scrollTop+o*yi)),Rr(e,Math.max(0,s.scrollLeft+i*yi)),(!o||o&&u)&&be(t),void(a.wheelStartX=null);if(o&&null!=yi){var m=o*yi,v=e.doc.scrollTop,g=v+a.wrapper.clientHeight;m<0?v=Math.max(0,v+m-50):g=Math.min(e.doc.height,g+m+50),li(e,{top:v,bottom:g})}gi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(yi=(yi*gi+n)/(gi+1),++gi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?yi=-.53:n?yi=15:u?yi=-.7:p&&(yi=-1/3);var Oi=function(e,t){this.ranges=e,this.primIndex=t};Oi.prototype.primary=function(){return this.ranges[this.primIndex]},Oi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},Oi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new xi(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new Oi(e,this.primIndex)},Oi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Oi.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var xi=function(e,t){this.anchor=e,this.head=t};function _i(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=U(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var c=ot(s.from(),a.from()),u=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new xi(f?u:c,f?c:u))}}return new Oi(t,n)}function ki(e,t){return new Oi([new xi(e,t||e)],0)}function wi(e){return e.text?et(e.from.line+e.text.length-1,W(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function Ci(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return wi(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+=wi(t).ch-t.to.ch),et(n,r)}function Si(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new xi(Ci(i.anchor,t),Ci(i.head,t)))}return _i(e.cm,n,e.sel.primIndex)}function Ni(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Di(e){e.doc.mode=Ve(e.options,e.doc.modeOption),Ii(e)}function Ii(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&fr(e)}function Ai(e,t){return 0==t.from.ch&&0==t.to.ch&&\"\"==W(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Li(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),St(e),Nt(e,n);var i=r?r(e):1;i!=e.height&&Ye(e,i)}(e,n,i,r),ln(e,\"change\",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Kt(c[o],i(o),r));return n}var s=t.from,l=t.to,c=t.text,u=Ke(e,s.line),f=Ke(e,l.line),p=W(c),d=i(c.length-1),h=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Ai(e,t)){var m=a(0,c.length-1);o(f,f.text,d),h&&e.remove(s.line,h),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),d);else{var v=a(1,c.length-1);v.push(new Kt(p+u.text.slice(l.ch),d,r)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,v)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,h);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,p+f.text.slice(l.ch),d);var g=a(1,c.length-1);h>1&&e.remove(s.line+1,h-1),e.insert(s.line+1,g)}ln(e,\"change\",e,t)}function ji(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Fi(e,t){if(t.cm)throw new Error(\"This document is already in use.\");e.doc=t,t.cm=e,lr(e),Di(e),Mi(e),e.options.lineWrapping||Gt(e),e.options.mode=t.modeOption,fr(e)}function Mi(e){(\"rtl\"==e.doc.direction?L:w)(e.display.lineDiv,\"CodeMirror-rtl\")}function Ri(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Pi(e,t){var n={from:rt(t.from),to:wi(t),text:Qe(e,t.from,t.to)};return Hi(e,n,t.from.line,t.to.line+1),ji(e,(function(e){return Hi(e,n,t.from.line,t.to.line+1)}),!0),n}function Vi(e){for(;e.length&&W(e).ranges;)e.pop()}function Ui(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&(\"+\"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||\"*\"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Vi(e.done),W(e.done)):e.done.length&&!W(e.done).ranges?W(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),W(e.done)):void 0}(i,i.lastOp==r)))a=W(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=wi(t):o.changes.push(Pi(e,t));else{var l=W(i.done);for(l&&l.ranges||qi(e.sel,i.done),o={changes:[Pi(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||he(e,\"historyAdded\")}function Bi(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return\"*\"==i||\"+\"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,W(i.done),t))?i.done[i.done.length-1]=t:qi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Vi(i.undone)}function qi(e,t){var n=W(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Hi(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 zi(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Gi(e,t){var n=function(e,t){var n=t[\"spans_\"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(zi(n[i]));return r}(e,t),r=wt(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Ki(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Oi.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\\d+)$/))&&U(t,Number(u[1]))>-1&&(W(s)[f]=c[f],delete c[f])}}}return r}function Qi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new xi(i,t)}return new xi(n||t,t)}function Wi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Zi(e,new Oi([Qi(e.sel.primary(),t,n,i)],0),r)}function Yi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Qi(e.sel.ranges[o],t[o],null,i);Zi(e,_i(e.cm,r,e.sel.primIndex),n)}function Ji(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Zi(e,_i(e.cm,i,e.sel.primIndex),r)}function $i(e,t,n,r){Zi(e,ki(t,n),r)}function Xi(e,t,n){var r=e.history.done,i=W(r);i&&i.ranges?(r[r.length-1]=t,eo(e,t,n)):Zi(e,t,n)}function Zi(e,t,n){eo(e,t,n),Bi(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function eo(e,t,n){(ge(e,\"beforeSelectionChange\")||e.cm&&ge(e.cm,\"beforeSelectionChange\"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new xi(st(e,t[n].anchor),st(e,t[n].head))},origin:n&&n.origin};return he(e,\"beforeSelectionChange\",e,r),e.cm&&he(e.cm,\"beforeSelectionChange\",e.cm,r),r.ranges!=t.ranges?_i(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);to(e,ro(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Ir(e.cm)}function to(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),ln(e,\"cursorActivity\",e))}function no(e){to(e,ro(e,e.sel,null,!1))}function ro(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=oo(e,a.anchor,s&&s.anchor,n,r),c=oo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new xi(l,c))}return i?_i(e.cm,i,t.primIndex):t}function io(e,t,n,r,i){var o=Ke(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c=\"selectLeft\"in l?!l.selectLeft:l.inclusiveLeft,u=\"selectRight\"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(he(l,\"beforeCursorEnter\"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var f=l.find(r<0?1:-1),p=void 0;if((r<0?u:c)&&(f=ao(e,f,-r,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(p=tt(f,n))&&(r<0?p<0:p>0))return io(e,f,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?c:u)&&(d=ao(e,d,r,d.line==t.line?o:null)),d?io(e,d,t,r,i):null}}return t}function oo(e,t,n,r,i){var o=r||1,a=io(e,t,n,o,i)||!i&&io(e,t,n,o,!0)||io(e,t,n,-o,i)||!i&&io(e,t,n,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function ao(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||Ke(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function so(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),q)}function lo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=st(e,t)),n&&(r.to=st(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),he(e,\"beforeChange\",e,r),e.cm&&he(e.cm,\"beforeChange\",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function co(e,t,n){if(e.cm){if(!e.cm.curOp)return ei(e.cm,co)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"))||(t=lo(e,t,!0))){var r=Et&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=U(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(tt(c.to,s.from)<0||tt(c.from,s.to)>0)){var u=[l,1],f=tt(c.from,s.from),p=tt(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)uo(e,{from:r[i].from,to:r[i].to,text:i?[\"\"]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||\"\"!=t.text[0]||0!=tt(t.from,t.to)){var n=Si(e,t);Ui(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,wt(e,t));var r=[];ji(e,(function(e,n){n||-1!=U(r,e.history)||(yo(e.history,t),r.push(e.history)),ho(e,t,null,wt(e,t))}))}}function fo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s=\"undo\"==t?o.done:o.undone,l=\"undo\"==t?o.undone:o.done,c=0;c<s.length&&(i=s[c],n?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(qi(i,l),n&&!i.equals(e.sel))return void Zi(e,i,{clearRedo:!1});a=i}var u=[];qi(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=ge(e,\"beforeChange\")||e.cm&&ge(e.cm,\"beforeChange\"),p=function(n){var r=i.changes[n];if(r.origin=t,f&&!lo(e,r,!1))return s.length=0,{};u.push(Pi(e,r));var o=n?Si(e,r):W(s);ho(e,r,o,Gi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:wi(r)});var a=[];ji(e,(function(e,t){t||-1!=U(a,e.history)||(yo(e.history,r),a.push(e.history)),ho(e,r,null,Gi(e,r))}))},d=i.changes.length-1;d>=0;--d){var h=p(d);if(h)return h.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Oi(Y(e.sel.ranges,(function(e){return new xi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){fr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)pr(e.cm,r,\"gutter\")}}function ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(e,t,n,r);if(t.to.line<e.first)po(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);po(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[W(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ke(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=Si(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Je(Pt(Ke(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Li(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=zt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ke(e,r).stateAfter;if(i&&(!(i instanceof ct)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ri(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?fr(e):o.line!=a.line||1!=t.text.length||Ai(e.doc,t)?fr(e,o.line,a.line+1,c):pr(e,o.line,\"text\");var u=ge(e,\"changes\"),f=ge(e,\"change\");if(f||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ln(e,\"change\",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,r):Li(e,t,r),eo(e,n,q),e.cantEdit&&oo(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function mo(e,t,n,r,i){var o;r||(r=n),tt(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),\"string\"==typeof t&&(t=e.splitLines(t)),co(e,{from:n,to:r,text:t,origin:i})}function vo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function go(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)vo(o.ranges[s].anchor,t,n,r),vo(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=et(c.from.line+r,c.from.ch),c.to=et(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function yo(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;go(e.done,n,r,i),go(e.undone,n,r,i)}function bo(e,t,n,r){var i=t,o=t;return\"number\"==typeof t?o=Ke(e,at(e,t)):i=Je(t),null==i?null:(r(o,i)&&e.cm&&pr(e.cm,i,n),o)}function To(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function Eo(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}xi.prototype.from=function(){return ot(this.anchor,this.head)},xi.prototype.to=function(){return it(this.anchor,this.head)},xi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},To.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Qt(i),ln(i,\"delete\")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},Eo.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof To))){var s=[];this.collapse(s),this.children=[new To(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new To(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new Eo(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=U(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new Eo(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var Oo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function xo(e,t,n){Ht(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Dr(e,n)}Oo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Je(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=En(this);Ye(n,Math.max(0,n.height-o)),e&&(Zr(e,(function(){xo(e,n,-o),pr(e,r,\"widget\")})),ln(e,\"lineWidgetCleared\",e,this,r))}},Oo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=En(this)-t;i&&(Bt(this.doc,r)||Ye(r,r.height+i),n&&Zr(n,(function(){n.curOp.forceUpdate=!0,xo(n,r,i),ln(n,\"lineWidgetChanged\",n,e,Je(r))})))},ye(Oo);var _o=0,ko=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++_o};function wo(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=R(r)).shared=!1;var o=[wo(e,t,n,r,i)],a=o[0],s=r.widgetNode;return ji(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(wo(e,st(e,t),st(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=W(o)})),new Co(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,wo)(e,t,n,r,i);var o=new ko(e,i),a=tt(t,n);if(r&&R(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D(\"span\",[o.replacedWith],\"CodeMirror-widget\"),r.handleMouseEvents||o.widgetNode.setAttribute(\"cm-ignore-events\",\"true\"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Rt(e,t.line,t,n,o)||t.line!=n.line&&Rt(e,n.line,t,n,o))throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");Ot=!0}o.addToHistory&&Ui(e,{from:t,to:n,origin:\"markText\"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Pt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Ye(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new xt(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Bt(e,t)&&Ye(t,0)})),o.clearOnEnter&&fe(o,\"beforeCursorEnter\",(function(){return o.clear()})),o.readOnly&&(Et=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++_o,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)fr(c,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)pr(c,u,\"text\");o.atomic&&no(c.doc),ln(c,\"markerAdded\",c,o)}return o}ko.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Kr(e),ge(this,\"clear\")){var n=this.find();n&&ln(this,\"clear\",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=_t(a.markedSpans,this);e&&!this.collapsed?pr(e,Je(a),\"text\"):e&&(null!=s.to&&(i=Je(a)),null!=s.from&&(r=Je(a))),a.markedSpans=kt(a.markedSpans,s),null==s.from&&this.collapsed&&!Bt(this.doc,a)&&e&&Ye(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Pt(this.lines[l]),u=zt(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&fr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&no(e.doc)),e&&ln(e,\"markerCleared\",e,this,r,i),t&&Qr(e),this.parent&&this.parent.clear()}},ko.prototype.find=function(e,t){var n,r;null==e&&\"bookmark\"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=_t(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Je(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Je(o),a.to),1==e))return r}return n&&{from:n,to:r}},ko.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Zr(r,(function(){var i=t.line,o=Je(t.line),a=In(r,o);if(a&&(Pn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!Bt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=En(n)-s;l&&Ye(i,i.height+l)}ln(r,\"markerChanged\",r,e)}))},ko.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=U(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},ko.prototype.detachLine=function(e){if(this.lines.splice(U(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(ko);var Co=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function So(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function No(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];ji(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==U(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}Co.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ln(this,\"clear\")}},Co.prototype.find=function(e,t){return this.primary.find(e,t)},ye(Co);var Do=0,Io=function(e,t,n,r,i){if(!(this instanceof Io))return new Io(e,t,n,r,i);null==n&&(n=0),Eo.call(this,[new To([new Kt(\"\",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=et(n,0);this.sel=ki(o),this.history=new Ri(null),this.id=++Do,this.modeOption=t,this.lineSep=r,this.direction=\"rtl\"==i?\"rtl\":\"ltr\",this.extend=!1,\"string\"==typeof e&&(e=this.splitLines(e)),Li(this,{from:o,to:o,text:e}),Zi(this,ki(o),q)};Io.prototype=$(Eo.prototype,{constructor:Io,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=We(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;co(this,{from:t,to:et(n,Ke(this,n).text.length),text:this.splitLines(e),origin:\"setValue\",full:!0},!0),this.cm&&Ar(this.cm,0,0),Zi(this,ki(t),q)})),replaceRange:function(e,t,n,r){mo(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=Qe(this,st(this,e),st(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Xe(this,e))return Ke(this,e)},getLineNumber:function(e){return Je(e)},getLineHandleVisualStart:function(e){return\"number\"==typeof e&&(e=Ke(this,e)),Pt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||\"head\"==e?t.head:\"anchor\"==e?t.anchor:\"end\"==e||\"to\"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ni((function(e,t,n){$i(this,st(this,\"number\"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){$i(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Wi(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){Yi(this,lt(this,e),t)})),extendSelectionsBy:ni((function(e,t){Yi(this,lt(this,Y(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new xi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Zi(this,_i(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new xi(st(this,e),st(this,t||e))),Zi(this,_i(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||\"+input\")},replaceSelections:ni((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&\"end\"!=t&&function(e,t,n){for(var r=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Ni(s.from,i,o),c=Ni(wi(s),i,o);if(i=s.to,o=c,\"around\"==n){var u=e.sel.ranges[a],f=tt(u.head,u.anchor)<0;r[a]=new xi(f?c:l,f?l:c)}else r[a]=new xi(l,l)}return new Oi(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)co(this,r[l]);s?Xi(this,s):this.cm&&Ir(this.cm)})),undo:ni((function(){fo(this,\"undo\")})),redo:ni((function(){fo(this,\"redo\")})),undoSelection:ni((function(){fo(this,\"undo\",!0)})),redoSelection:ni((function(){fo(this,\"redo\",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new Ri(this.history.maxGeneration),ji(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ki(this.history.done),undone:Ki(this.history.undone)}},setHistory:function(e){var t=this.history=new Ri(this.history.maxGeneration);t.done=Ki(e.done.slice(0),null,!0),t.undone=Ki(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return bo(this,e,\"gutter\",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&bo(t,n,\"gutter\",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if(\"number\"==typeof e){if(!Xe(this,e))return null;if(t=e,!(e=Ke(this,e)))return null}else if(null==(t=Je(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\";if(e[r]){if(_(n).test(e[r]))return!1;e[r]+=\" \"+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return bo(this,e,\"gutter\"==t?\"gutter\":\"class\",(function(e){var r=\"text\"==t?\"textClass\":\"background\"==t?\"bgClass\":\"gutter\"==t?\"gutterClass\":\"wrapClass\",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(_(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?\" \":\"\")+i.slice(a)||null}return!0}))})),addLineWidget:ni((function(e,t,n){return function(e,t,n,r){var i=new Oo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),bo(e,t,\"widget\",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!Bt(e,t)){var r=Ht(t)<e.scrollTop;Ye(t,t.height+En(i)),r&&Dr(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&ln(o,\"lineWidgetAdded\",o,i,\"number\"==typeof t?t:Je(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return wo(this,st(this,e),st(this,t),n,n&&n.type||\"range\")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return wo(this,e=st(this,e),e,n,\"bookmark\")},findMarksAt:function(e){var t=[],n=Ke(this,(e=st(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new Io(We(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Io(We(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=wo(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,So(this)),r},unlinkDoc:function(e){if(e instanceof Ca&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),No(So(this));break}if(e.history==this.history){var n=[e.id];ji(e,(function(e){return n.push(e.id)}),!0),e.history=new Ri(null),e.history.done=Ki(this.history.done,n),e.history.undone=Ki(this.history.undone,n)}},iterLinkedDocs:function(e){ji(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ie(e)},lineSeparator:function(){return this.lineSep||\"\\n\"},setDirection:ni((function(e){var t;\"rtl\"!=e&&(e=\"ltr\"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Zr(t=this.cm,(function(){Mi(t),fr(t)})))}))}),Io.prototype.eachLine=Io.prototype.iter;var Ao=0;function Lo(e){var t=this;if(jo(t),!me(t,e)&&!On(t.display,e)){be(e),a&&(Ao=+new Date);var n=cr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&ei(t,(function(){var e={from:n=st(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:\"paste\"};co(t.doc,e),Xi(t.doc,ki(st(t.doc,n),st(t.doc,wi(e))))}))()},c=function(e,n){if(t.options.allowDropFileTypes&&-1==U(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},u=0;u<r.length;u++)c(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData(\"Text\");if(f){var p;if(t.state.draggingText&&!t.state.draggingText.copy&&(p=t.listSelections()),eo(t.doc,ki(n,n)),p)for(var d=0;d<p.length;++d)mo(t.doc,\"\",p[d].anchor,p[d].head,\"drag\");t.replaceSelection(f,\"around\",\"paste\"),t.display.input.focus()}}catch(e){}}}}function jo(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Fo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName(\"CodeMirror\"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Mo=!1;function Ro(){var e;Mo||(fe(window,\"resize\",(function(){null==e&&(e=setTimeout((function(){e=null,Fo(Po)}),100))})),fe(window,\"blur\",(function(){return Fo(kr)})),Mo=!0)}function Po(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Vo={3:\"Pause\",8:\"Backspace\",9:\"Tab\",13:\"Enter\",16:\"Shift\",17:\"Ctrl\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Esc\",32:\"Space\",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"Left\",38:\"Up\",39:\"Right\",40:\"Down\",44:\"PrintScrn\",45:\"Insert\",46:\"Delete\",59:\";\",61:\"=\",91:\"Mod\",92:\"Mod\",93:\"Mod\",106:\"*\",107:\"=\",109:\"-\",110:\".\",111:\"/\",145:\"ScrollLock\",173:\"-\",186:\";\",187:\"=\",188:\",\",189:\"-\",190:\".\",191:\"/\",192:\"`\",219:\"[\",220:\"\\\\\",221:\"]\",222:\"'\",224:\"Mod\",63232:\"Up\",63233:\"Down\",63234:\"Left\",63235:\"Right\",63272:\"Delete\",63273:\"Home\",63275:\"End\",63276:\"PageUp\",63277:\"PageDown\",63302:\"Insert\"},Uo=0;Uo<10;Uo++)Vo[Uo+48]=Vo[Uo+96]=String(Uo);for(var Bo=65;Bo<=90;Bo++)Vo[Bo]=String.fromCharCode(Bo);for(var qo=1;qo<=12;qo++)Vo[qo+111]=Vo[qo+63235]=\"F\"+qo;var Ho={};function zo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error(\"Unrecognized modifier name: \"+s);r=!0}}return t&&(e=\"Alt-\"+e),n&&(e=\"Ctrl-\"+e),i&&(e=\"Cmd-\"+e),r&&(e=\"Shift-\"+e),e}function Go(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if(\"...\"==r){delete e[n];continue}for(var i=Y(n.split(\" \"),zo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(\" \"),a=r):(s=i.slice(0,o+1).join(\" \"),a=\"...\");var l=t[s];if(l){if(l!=a)throw new Error(\"Inconsistent bindings for \"+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function Ko(e,t,n,r){var i=(t=Jo(t)).call?t.call(e,r):t[e];if(!1===i)return\"nothing\";if(\"...\"===i)return\"multi\";if(null!=i&&n(i))return\"handled\";if(t.fallthrough){if(\"[object Array]\"!=Object.prototype.toString.call(t.fallthrough))return Ko(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Ko(e,t.fallthrough[o],n,r);if(a)return a}}}function Qo(e){var t=\"string\"==typeof e?e:Vo[e.keyCode];return\"Ctrl\"==t||\"Alt\"==t||\"Shift\"==t||\"Mod\"==t}function Wo(e,t,n){var r=e;return t.altKey&&\"Alt\"!=r&&(e=\"Alt-\"+e),(O?t.metaKey:t.ctrlKey)&&\"Ctrl\"!=r&&(e=\"Ctrl-\"+e),(O?t.ctrlKey:t.metaKey)&&\"Mod\"!=r&&(e=\"Cmd-\"+e),!n&&t.shiftKey&&\"Shift\"!=r&&(e=\"Shift-\"+e),e}function Yo(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Vo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wo(n,e,t))}function Jo(e){return\"string\"==typeof e?Ho[e]:e}function $o(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,W(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Zr(e,(function(){for(var t=r.length-1;t>=0;t--)mo(e.doc,\"\",r[t].from,r[t].to,\"+delete\");Ir(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?\"after\":\"before\")}function ea(e,t,n,r,i){if(e){\"rtl\"==t.doc.direction&&(i=-i);var o=ce(n,t.doc.direction);if(o){var a,s=i<0?W(o):o[0],l=i<0==(1==s.level)?\"after\":\"before\";if(s.level>0||\"rtl\"==t.doc.direction){var c=An(t,n);a=i<0?n.text.length-1:0;var u=Ln(t,c,a).top;a=oe((function(e){return Ln(t,c,e).top==u}),i<0==(1==s.level)?s.from:s.to-1,a),\"before\"==l&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,l)}}return new et(r,i<0?n.text.length:0,i<0?\"before\":\"after\")}Ho.basic={Left:\"goCharLeft\",Right:\"goCharRight\",Up:\"goLineUp\",Down:\"goLineDown\",End:\"goLineEnd\",Home:\"goLineStartSmart\",PageUp:\"goPageUp\",PageDown:\"goPageDown\",Delete:\"delCharAfter\",Backspace:\"delCharBefore\",\"Shift-Backspace\":\"delCharBefore\",Tab:\"defaultTab\",\"Shift-Tab\":\"indentAuto\",Enter:\"newlineAndIndent\",Insert:\"toggleOverwrite\",Esc:\"singleSelection\"},Ho.pcDefault={\"Ctrl-A\":\"selectAll\",\"Ctrl-D\":\"deleteLine\",\"Ctrl-Z\":\"undo\",\"Shift-Ctrl-Z\":\"redo\",\"Ctrl-Y\":\"redo\",\"Ctrl-Home\":\"goDocStart\",\"Ctrl-End\":\"goDocEnd\",\"Ctrl-Up\":\"goLineUp\",\"Ctrl-Down\":\"goLineDown\",\"Ctrl-Left\":\"goGroupLeft\",\"Ctrl-Right\":\"goGroupRight\",\"Alt-Left\":\"goLineStart\",\"Alt-Right\":\"goLineEnd\",\"Ctrl-Backspace\":\"delGroupBefore\",\"Ctrl-Delete\":\"delGroupAfter\",\"Ctrl-S\":\"save\",\"Ctrl-F\":\"find\",\"Ctrl-G\":\"findNext\",\"Shift-Ctrl-G\":\"findPrev\",\"Shift-Ctrl-F\":\"replace\",\"Shift-Ctrl-R\":\"replaceAll\",\"Ctrl-[\":\"indentLess\",\"Ctrl-]\":\"indentMore\",\"Ctrl-U\":\"undoSelection\",\"Shift-Ctrl-U\":\"redoSelection\",\"Alt-U\":\"redoSelection\",fallthrough:\"basic\"},Ho.emacsy={\"Ctrl-F\":\"goCharRight\",\"Ctrl-B\":\"goCharLeft\",\"Ctrl-P\":\"goLineUp\",\"Ctrl-N\":\"goLineDown\",\"Alt-F\":\"goWordRight\",\"Alt-B\":\"goWordLeft\",\"Ctrl-A\":\"goLineStart\",\"Ctrl-E\":\"goLineEnd\",\"Ctrl-V\":\"goPageDown\",\"Shift-Ctrl-V\":\"goPageUp\",\"Ctrl-D\":\"delCharAfter\",\"Ctrl-H\":\"delCharBefore\",\"Alt-D\":\"delWordAfter\",\"Alt-Backspace\":\"delWordBefore\",\"Ctrl-K\":\"killLine\",\"Ctrl-T\":\"transposeChars\",\"Ctrl-O\":\"openLine\"},Ho.macDefault={\"Cmd-A\":\"selectAll\",\"Cmd-D\":\"deleteLine\",\"Cmd-Z\":\"undo\",\"Shift-Cmd-Z\":\"redo\",\"Cmd-Y\":\"redo\",\"Cmd-Home\":\"goDocStart\",\"Cmd-Up\":\"goDocStart\",\"Cmd-End\":\"goDocEnd\",\"Cmd-Down\":\"goDocEnd\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\",\"Cmd-Left\":\"goLineLeft\",\"Cmd-Right\":\"goLineRight\",\"Alt-Backspace\":\"delGroupBefore\",\"Ctrl-Alt-Backspace\":\"delGroupAfter\",\"Alt-Delete\":\"delGroupAfter\",\"Cmd-S\":\"save\",\"Cmd-F\":\"find\",\"Cmd-G\":\"findNext\",\"Shift-Cmd-G\":\"findPrev\",\"Cmd-Alt-F\":\"replace\",\"Shift-Cmd-Alt-F\":\"replaceAll\",\"Cmd-[\":\"indentLess\",\"Cmd-]\":\"indentMore\",\"Cmd-Backspace\":\"delWrappedLineLeft\",\"Cmd-Delete\":\"delWrappedLineRight\",\"Cmd-U\":\"undoSelection\",\"Shift-Cmd-U\":\"redoSelection\",\"Ctrl-Up\":\"goDocStart\",\"Ctrl-Down\":\"goDocEnd\",fallthrough:[\"basic\",\"emacsy\"]},Ho.default=y?Ho.macDefault:Ho.pcDefault;var ta={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor(\"anchor\"),e.getCursor(\"head\"),q)},killLine:function(e){return $o(e,(function(t){if(t.empty()){var n=Ke(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return $o(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return $o(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5;return{from:e.coordsChar({left:0,top:n},\"div\"),to:t.from()}}))},delWrappedLineRight:function(e){return $o(e,(function(t){var n=e.charCoords(t.head,\"div\").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return na(e,t.head.line)}),{origin:\"+move\",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:\"+move\",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=Ke(e.doc,t),r=function(e){for(var t;t=Ft(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Je(r)),ea(!0,e,n,t,-1)}(e,t.head.line)}),{origin:\"+move\",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},\"div\")}),z)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5;return e.coordsChar({left:0,top:n},\"div\")}),z)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,\"div\").top+5,r=e.coordsChar({left:0,top:n},\"div\");return r.ch<e.getLine(r.line).search(/\\S/)?ra(e,t.head):r}),z)},goLineUp:function(e){return e.moveV(-1,\"line\")},goLineDown:function(e){return e.moveV(1,\"line\")},goPageUp:function(e){return e.moveV(-1,\"page\")},goPageDown:function(e){return e.moveV(1,\"page\")},goCharLeft:function(e){return e.moveH(-1,\"char\")},goCharRight:function(e){return e.moveH(1,\"char\")},goColumnLeft:function(e){return e.moveH(-1,\"column\")},goColumnRight:function(e){return e.moveH(1,\"column\")},goWordLeft:function(e){return e.moveH(-1,\"word\")},goGroupRight:function(e){return e.moveH(1,\"group\")},goGroupLeft:function(e){return e.moveH(-1,\"group\")},goWordRight:function(e){return e.moveH(1,\"word\")},delCharBefore:function(e){return e.deleteH(-1,\"char\")},delCharAfter:function(e){return e.deleteH(1,\"char\")},delWordBefore:function(e){return e.deleteH(-1,\"word\")},delWordAfter:function(e){return e.deleteH(1,\"word\")},delGroupBefore:function(e){return e.deleteH(-1,\"group\")},delGroupAfter:function(e){return e.deleteH(1,\"group\")},indentAuto:function(e){return e.indentSelection(\"smart\")},indentMore:function(e){return e.indentSelection(\"add\")},indentLess:function(e){return e.indentSelection(\"subtract\")},insertTab:function(e){return e.replaceSelection(\"\\t\")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=P(e.getLine(o.line),o.ch,r);t.push(Q(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection(\"add\"):e.execCommand(\"insertTab\")},transposeChars:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ke(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,\"+transpose\");else if(i.line>e.doc.first){var a=Ke(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,\"+transpose\"))}n.push(new xi(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Zr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,\"+input\");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Ir(e)}))},openLine:function(e){return e.replaceSelection(\"\\n\",\"start\")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function na(e,t){var n=Ke(e.doc,t),r=Pt(n);return r!=n&&(t=Je(r)),ea(!0,e,r,t,1)}function ra(e,t){var n=na(e,t.line),r=Ke(e.doc,n.line),i=ce(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return et(n.line,a?0:o,n.sticky)}return n}function ia(e,t,n){if(\"string\"==typeof t&&!(t=ta[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=B}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var oa=new V;function aa(e,t,n,r){var i=e.state.keySeq;if(i){if(Qo(t))return\"handled\";if(/\\'$/.test(t)?e.state.keySeq=null:oa.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),sa(e,i+\" \"+t,n,r))return!0}return sa(e,t,n,r)}function sa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Ko(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Ko(t,e.options.extraKeys,n,e)||Ko(t,e.options.keyMap,n,e)}(e,t,r);return\"multi\"==i&&(e.state.keySeq=t),\"handled\"==i&&ln(e,\"keyHandled\",e,t,n),\"handled\"!=i&&\"multi\"!=i||(be(n),Er(e)),!!i}function la(e,t){var n=Yo(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?aa(e,\"Shift-\"+n,t,(function(t){return ia(e,t,!0)}))||aa(e,n,t,(function(t){if(\"string\"==typeof t?/^go[A-Z]/.test(t):t.motion)return ia(e,t)})):aa(e,n,t,(function(t){return ia(e,t)})))}var ca=null;function ua(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=A(),me(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=la(t,e);f&&(ca=i?r:null,i||88!=r||Le||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection(\"\",null,\"cut\")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand(\"cut\"),18!=r||/\\bCodeMirror-crosshair\\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(w(t,\"CodeMirror-crosshair\"),de(document,\"keyup\",n),de(document,\"mouseover\",n))}L(t,\"CodeMirror-crosshair\"),fe(document,\"keyup\",n),fe(document,\"mouseover\",n)}(t)}}function fa(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function pa(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||On(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ca)return ca=null,void be(e);if(!f||e.which&&!(e.which<10)||!la(t,e)){var i=String.fromCharCode(null==r?n:r);\"\\b\"!=i&&(function(e,t,n){return aa(e,\"'\"+n+\"'\",t,(function(t){return ia(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,ha,ma=function(e,t,n){this.time=e,this.pos=t,this.button=n};function va(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,On(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ba(t,e)){var r=cr(t,e),i=_e(e),o=r?function(e,t){var n=+new Date;return ha&&ha.compare(n,e,t)?(da=ha=null,\"triple\"):da&&da.compare(n,e,t)?(ha=new ma(n,e,t),da=null,\"double\"):(da=new ma(n,e,t),ha=null,\"single\")}(r,i):\"single\";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o=\"Click\";return\"double\"==r?o=\"Double\"+o:\"triple\"==r&&(o=\"Triple\"+o),aa(e,Wo(o=(1==t?\"Left\":2==t?\"Middle\":\"Right\")+o,i),i,(function(t){if(\"string\"==typeof t&&(t=ta[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=B}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(M(Or,e),0):e.curOp.focus=A();var i,o=function(e,t,n){var r=e.getOption(\"configureMouse\"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?\"rectangle\":\"single\"==t?\"char\":\"double\"==t?\"word\":\"line\"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&Ce&&!e.isReadOnly()&&\"single\"==n&&(i=c.contains(t))>-1&&(tt((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,c=ei(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,de(i.wrapper.ownerDocument,\"mouseup\",c),de(i.wrapper.ownerDocument,\"mousemove\",u),de(i.scroller,\"dragstart\",f),de(i.scroller,\"drop\",c),o||(be(t),r.addNew||Wi(e.doc,n,null,null,r.extend),l&&!p||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),fe(i.wrapper.ownerDocument,\"mouseup\",c),fe(i.wrapper.ownerDocument,\"mousemove\",u),fe(i.scroller,\"dragstart\",f),fe(i.scroller,\"drop\",c),xr(e),setTimeout((function(){return i.input.focus()}),20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;be(t);var a,s,l=o.sel,c=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new xi(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),\"rectangle\"==r.unit)r.addNew||(a=new xi(n,n)),n=cr(e,t,!0,!0),s=-1;else{var u=ga(e,n,r.unit);a=r.extend?Qi(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,Zi(o,_i(e,c.concat([a]),s),{scroll:!1,origin:\"*mouse\"})):c.length>1&&c[s].empty()&&\"char\"==r.unit&&!r.extend?(Zi(o,_i(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:\"*mouse\"}),l=o.sel):Ji(o,s,a,H):(s=0,Zi(o,new Oi([a],0),H),l=o.sel);var f=n;function p(t){if(0!=tt(f,t))if(f=t,\"rectangle\"==r.unit){for(var i=[],c=e.options.tabSize,u=P(Ke(o,n.line).text,n.ch,c),p=P(Ke(o,t.line).text,t.ch,c),d=Math.min(u,p),h=Math.max(u,p),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=Ke(o,m).text,y=G(g,d,c);d==h?i.push(new xi(et(m,y),et(m,y))):g.length>y&&i.push(new xi(et(m,y),et(m,G(g,h,c))))}i.length||i.push(new xi(n,n)),Zi(o,_i(e,l.ranges.slice(0,s).concat(i),s),{origin:\"*mouse\",scroll:!1}),e.scrollIntoView(t)}else{var b,T=a,E=ga(e,t,r.unit),O=T.anchor;tt(E.anchor,O)>0?(b=E.head,O=ot(T.from(),E.anchor)):(b=E.anchor,O=it(T.to(),E.head));var x=l.ranges.slice(0);x[s]=function(e,t){var n=t.anchor,r=t.head,i=Ke(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=ce(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,c=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*(\"ltr\"==e.doc.direction?1:-1)>0;else{var u=se(o,r.ch,r.sticky),f=u-a||(r.ch-n.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var p=o[c+(l?-1:0)],d=l==(1==p.level),h=d?p.from:p.to,m=d?\"after\":\"before\";return n.ch==h&&n.sticky==m?t:new xi(new et(n.line,h,m),r)}(e,new xi(st(o,O),b)),Zi(o,_i(e,x,s),H)}}var d=i.wrapper.getBoundingClientRect(),h=0;function m(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),de(i.wrapper.ownerDocument,\"mousemove\",v),de(i.wrapper.ownerDocument,\"mouseup\",g),o.history.lastSelOrigin=null}var v=ei(e,(function(t){0!==t.buttons&&_e(t)?function t(n){var a=++h,s=cr(e,n,!0,\"rectangle\"==r.unit);if(s)if(0!=tt(s,f)){e.curOp.focus=A(),p(s);var l=Sr(i,o);(s.line>=l.to||s.line<l.from)&&setTimeout(ei(e,(function(){h==a&&t(n)})),150)}else{var c=n.clientY<d.top?-20:n.clientY>d.bottom?20:0;c&&setTimeout(ei(e,(function(){h==a&&(i.scroller.scrollTop+=c,t(n))})),50)}}(t):m(t)})),g=ei(e,m);e.state.selectingText=g,fe(i.wrapper.ownerDocument,\"mousemove\",v),fe(i.wrapper.ownerDocument,\"mouseup\",g)}(e,r,t,o)}(t,r,o,e):xe(e)==n.scroller&&be(e):2==i?(r&&Wi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(x?t.display.input.onContextMenu(e):xr(t)))}}function ga(e,t,n){if(\"char\"==n)return new xi(t,t);if(\"word\"==n)return e.findWordAt(t);if(\"line\"==n)return new xi(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new xi(r.from,r.to)}function ya(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return Ee(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return he(e,n,e,$e(e.doc,o),e.display.gutterSpecs[l].className,t),Ee(t)}}function ba(e,t){return ya(e,t,\"gutterClick\",!0)}function Ta(e,t){On(e.display,t)||function(e,t){return!!ge(e,\"gutterContextMenu\")&&ya(e,t,\"gutterContextMenu\",!1)}(e,t)||me(e,t,\"contextmenu\")||x||e.display.input.onContextMenu(t)}function Ea(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\\s*cm-s-\\S+/g,\"\")+e.options.theme.replace(/(^|\\s)\\s*/g,\" cm-s-\"),Un(e)}ma.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var Oa={toString:function(){return\"CodeMirror.Init\"}},xa={},_a={};function ka(e,t,n){if(!t!=!(n&&n!=Oa)){var r=e.display.dragFunctions,i=t?fe:de;i(e.display.scroller,\"dragstart\",r.start),i(e.display.scroller,\"dragenter\",r.enter),i(e.display.scroller,\"dragover\",r.over),i(e.display.scroller,\"dragleave\",r.leave),i(e.display.scroller,\"drop\",r.drop)}}function wa(e){e.options.lineWrapping?(L(e.display.wrapper,\"CodeMirror-wrap\"),e.display.sizer.style.minWidth=\"\",e.display.sizerWidth=null):(w(e.display.wrapper,\"CodeMirror-wrap\"),Gt(e)),lr(e),fr(e),Un(e),setTimeout((function(){return Br(e)}),100)}function Ca(e,t){var n=this;if(!(this instanceof Ca))return new Ca(e,t);this.options=t=t?R(t):{},R(xa,t,!1);var r=t.value;\"string\"==typeof r?r=new Io(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Ca.inputStyles[t.inputStyle](this),o=this.display=new vi(e,r,i,t);for(var c in o.wrapper.CodeMirror=this,Ea(this),t.lineWrapping&&(this.display.wrapper.className+=\" CodeMirror-wrap\"),zr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new V,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;fe(t.scroller,\"mousedown\",ei(e,va)),fe(t.scroller,\"dblclick\",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=cr(e,t);if(n&&!ba(e,t)&&!On(e.display,t)){be(t);var r=e.findWordAt(n);Wi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),fe(t.scroller,\"contextmenu\",(function(t){return Ta(e,t)})),fe(t.input.getField(),\"contextmenu\",(function(n){t.scroller.contains(n.target)||Ta(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}fe(t.scroller,\"touchstart\",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ba(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),fe(t.scroller,\"touchmove\",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),fe(t.scroller,\"touchend\",(function(n){var r=t.activeTouch;if(r&&!On(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,\"page\");a=!r.prev||o(r,r.prev)?new xi(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new xi(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),fe(t.scroller,\"touchcancel\",i),fe(t.scroller,\"scroll\",(function(){t.scroller.clientHeight&&(Fr(e,t.scroller.scrollTop),Rr(e,t.scroller.scrollLeft,!0),he(e,\"scroll\",e))})),fe(t.scroller,\"mousewheel\",(function(t){return Ei(e,t)})),fe(t.scroller,\"DOMMouseScroll\",(function(t){return Ei(e,t)})),fe(t.wrapper,\"scroll\",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Oe(t)},over:function(t){me(e,t)||(function(e,t){var n=cr(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=N(\"div\",null,\"CodeMirror-cursors CodeMirror-dragcursors\"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),S(e.display.dragCursor,r)}}(e,t),Oe(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ao<100))Oe(t);else if(!me(e,t)&&!On(e.display,t)&&(t.dataTransfer.setData(\"Text\",e.getSelection()),t.dataTransfer.effectAllowed=\"copyMove\",t.dataTransfer.setDragImage&&!p)){var n=N(\"img\",null,null,\"position: fixed; left: 0; top: 0;\");n.src=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,Lo),leave:function(t){me(e,t)||jo(e)}};var l=t.input.getField();fe(l,\"keyup\",(function(t){return fa.call(e,t)})),fe(l,\"keydown\",ei(e,ua)),fe(l,\"keypress\",ei(e,pa)),fe(l,\"focus\",(function(t){return _r(e,t)})),fe(l,\"blur\",(function(t){return kr(e,t)}))}(this),Ro(),Kr(this),this.curOp.forceUpdate=!0,Fi(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout(M(_r,this),20):kr(this),_a)_a.hasOwnProperty(c)&&_a[c](this,t[c],Oa);pi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Sa.length;++u)Sa[u](this);Qr(this),l&&t.lineWrapping&&\"optimizelegibility\"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering=\"auto\")}Ca.defaults=xa,Ca.optionHandlers=_a;var Sa=[];function Na(e,t,n,r){var i,o=e.doc;null==n&&(n=\"add\"),\"smart\"==n&&(o.mode.indent?i=dt(e,t).state:n=\"prev\");var a=e.options.tabSize,s=Ke(o,t),l=P(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\\s*/)[0];if(r||/\\S/.test(s.text)){if(\"smart\"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==B||c>150)){if(!r)return;n=\"prev\"}}else c=0,n=\"not\";\"prev\"==n?c=t>o.first?P(Ke(o,t-1).text,null,a):0:\"add\"==n?c=l+e.options.indentUnit:\"subtract\"==n?c=l-e.options.indentUnit:\"number\"==typeof n&&(c=l+n),c=Math.max(0,c);var f=\"\",p=0;if(e.options.indentWithTabs)for(var d=Math.floor(c/a);d;--d)p+=a,f+=\"\\t\";if(p<c&&(f+=Q(c-p)),f!=u)return mo(o,f,et(t,0),et(t,u.length),\"+input\"),s.stateAfter=null,!0;for(var h=0;h<o.sel.ranges.length;h++){var m=o.sel.ranges[h];if(m.head.line==t&&m.head.ch<u.length){var v=et(t,u.length);Ji(o,h,new xi(v,v));break}}}Ca.defineInitHook=function(e){return Sa.push(e)};var Da=null;function Ia(e){Da=e}function Aa(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s=\"paste\"==i||e.state.pasteIncoming>a,l=Ie(t),c=null;if(s&&r.ranges.length>1)if(Da&&Da.text.join(\"\\n\")==t){if(r.ranges.length%Da.text.length==0){c=[];for(var u=0;u<Da.text.length;u++)c.push(o.splitLines(Da.text[u]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,p=r.ranges.length-1;p>=0;p--){var d=r.ranges[p],h=d.from(),m=d.to();d.empty()&&(n&&n>0?h=et(h.line,h.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(Ke(o,m.line).text.length,m.ch+W(l).length)):s&&Da&&Da.lineWise&&Da.text.join(\"\\n\")==l.join(\"\\n\")&&(h=m=et(h.line,0)));var v={from:h,to:m,text:c?c[p%c.length]:l,origin:i||(s?\"paste\":e.state.cutIncoming>a?\"cut\":\"+input\")};co(e.doc,v),ln(e,\"inputRead\",e,v)}t&&!s&&ja(e,t),Ir(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function La(e,t){var n=e.clipboardData&&e.clipboardData.getData(\"Text\");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zr(t,(function(){return Aa(t,n,0,null,\"paste\")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Na(e,i.head.line,\"smart\");break}}else o.electricInput&&o.electricInput.test(Ke(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Na(e,i.head.line,\"smart\"));a&&ln(e,\"electricInput\",e,i.head.line)}}}function Fa(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Ma(e,t,n,r){e.setAttribute(\"autocorrect\",n?\"\":\"off\"),e.setAttribute(\"autocapitalize\",r?\"\":\"off\"),e.setAttribute(\"spellcheck\",!!t)}function Ra(){var e=N(\"textarea\",null,null,\"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none\"),t=N(\"div\",[e],null,\"overflow: hidden; position: relative; width: 3px; height: 0px;\");return l?e.style.width=\"1000px\":e.setAttribute(\"wrap\",\"off\"),m&&(e.style.border=\"1px solid black\"),Ma(e),t}function Pa(e,t,n,r,i){var o=t,a=n,s=Ke(e,t.line),l=i&&\"rtl\"==e.direction?-n:n;function c(r){var o,a;if(null==(o=i?function(e,t,n,r){var i=ce(t,e.doc.direction);if(!i)return Zo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky=\"before\"):n.ch<=0&&(n.ch=0,n.sticky=\"after\");var o=se(i,n.ch,n.sticky),a=i[o];if(\"ltr\"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Zo(t,n,r);var s,l=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||An(e,t),Xn(e,t,s,n)):{begin:0,end:t.text.length}},u=c(\"before\"==n.sticky?l(n,-1):n.ch);if(\"rtl\"==e.doc.direction||1==a.level){var f=1==a.level==r<0,p=l(n,f?1:-1);if(null!=p&&(f?p<=a.to&&p<=u.end:p>=a.from&&p>=u.begin)){var d=f?\"before\":\"after\";return new et(n.line,p,d)}}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,l(e,1),\"before\"):new et(n.line,e,\"after\")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=h(o+r,r,u);if(m)return m;var v=r>0?u.end:l(u.begin,-1);return null==v||r>0&&v==t.text.length||!(m=h(r>0?0:i.length-1,r,c(v)))?null:m}(e.cm,s,t,n):Zo(s,t,n))){if(r||(a=t.line+l)<e.first||a>=e.first+e.size||(t=new et(a,t.ch,t.sticky),!(s=Ke(e,a))))return!1;t=ea(i,e.cm,s,t.line,l)}else t=o;return!0}if(\"char\"==r)c();else if(\"column\"==r)c(!0);else if(\"word\"==r||\"group\"==r)for(var u=null,f=\"group\"==r,p=e.cm&&e.cm.getHelper(t,\"wordChars\"),d=!0;!(n<0)||c(!d);d=!1){var h=s.text.charAt(t.ch)||\"\\n\",m=ee(h,p)?\"w\":f&&\"\\n\"==h?\"n\":!f||/\\s/.test(h)?null:\"p\";if(!f||d||m||(m=\"s\"),u&&u!=m){n<0&&(n=1,c(),t.sticky=\"after\");break}if(m&&(u=m),n>0&&!c(!d))break}var v=oo(e,t,o,a,!0);return nt(o,v)&&(v.hitSide=!0),v}function Va(e,t,n,r){var i,o,a=e.doc,s=t.left;if(\"page\"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*c}else\"line\"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Jn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ua=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new V,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ba(e,t){var n=In(e,t.line);if(!n||n.hidden)return null;var r=Ke(e.doc,t.line),i=Nn(n,r,t.line),o=ce(r,e.doc.direction),a=\"left\";o&&(a=se(o,t.ch)%2?\"right\":\"left\");var s=Mn(i.map,t.ch,a);return s.offset=\"right\"==s.collapse?s.end:s.start,s}function qa(e,t){return t&&(e.bad=!0),e}function Ha(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return qa(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return za(o,t,n)}}function za(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!I(r,t))return qa(et(Je(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?W(e.rest):e.line;return qa(et(Je(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=Je(i<0?e.line:e.rest[i]),f=o[a]+r;return(r<0||s!=t)&&(f=o[a+(r?1:0)]),et(u,f)}}}var f=u(a,s,n);if(f)return qa(f,i);for(var p=s.nextSibling,d=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(f=u(p,p.firstChild,0))return qa(et(f.line,f.ch-d),i);d+=p.textContent.length}for(var h=s.previousSibling,m=n;h;h=h.previousSibling){if(f=u(h,h.firstChild,-1))return qa(et(f.line,f.ch+m),i);m+=h.textContent.length}}Ua.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\\bCodeMirror-(?:line)?widget\\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()}),\"cut\"==e.type&&r.replaceSelection(\"\",null,\"cut\");else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,q),r.replaceSelection(\"\",null,\"cut\")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Da.text.join(\"\\n\");if(e.clipboardData.setData(\"Text\",a),e.clipboardData.getData(\"Text\")==a)return void e.preventDefault()}var s=Ra(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Da.text.join(\"\\n\");var c=document.activeElement;F(l),setTimeout((function(){r.display.lineSpace.removeChild(s),c.focus(),c==i&&n.showPrimarySelection()}),50)}}Ma(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),fe(i,\"paste\",(function(e){!o(e)||me(r,e)||La(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),fe(i,\"compositionstart\",(function(e){t.composing={data:e.data,done:!1}})),fe(i,\"compositionupdate\",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),fe(i,\"compositionend\",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),fe(i,\"touchstart\",(function(){return n.forceCompositionEnd()})),fe(i,\"input\",(function(){t.composing||t.readFromDOMSoon()})),fe(i,\"copy\",a),fe(i,\"cut\",a)},Ua.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute(\"aria-label\",e):this.div.removeAttribute(\"aria-label\")},Ua.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ua.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ua.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ua.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=Ha(t,e.anchorNode,e.anchorOffset),s=Ha(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Ba(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Ba(t,o);if(!u){var f=l[l.length-1].measure,p=f.maps?f.maps[f.maps.length-1]:f.map;u={node:p[p.length-1],offset:p[p.length-2]-p[p.length-3]}}if(c&&u){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=k(c.node,c.offset,u.offset,u.node)}catch(e){}d&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ua.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ua.prototype.showMultipleSelections=function(e){S(this.cm.display.cursorDiv,e.cursors),S(this.cm.display.selectionDiv,e.selection)},Ua.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ua.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return I(this.div,t)},Ua.prototype.focus=function(){\"nocursor\"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ua.prototype.blur=function(){this.div.blur()},Ua.prototype.getField=function(){return this.div},Ua.prototype.supportsTouch=function(){return!0},Ua.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Zr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ua.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ua.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&u&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:\"keydown\",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=Ha(t,e.anchorNode,e.anchorOffset),r=Ha(t,e.focusNode,e.focusOffset);n&&r&&Zr(t,(function(){Zi(t.doc,ki(n,r),q),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ua.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=et(a.line-1,Ke(r.doc,a.line-1).length)),s.ch==Ke(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=ur(r,a.line))?(t=Je(i.view[0].line),n=i.view[0].node):(t=Je(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,c,u=ur(r,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=Je(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,i){var o=\"\",a=!1,s=e.doc.lineSeparator(),l=!1;function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function u(e){e&&(c(),o+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute(\"cm-text\");if(n)return void u(n);var o,p=t.getAttribute(\"cm-marker\");if(p){var d=e.findMarks(et(r,0),et(i+1,0),(v=+p,function(e){return e.id==v}));return void(d.length&&(o=d[0].find(0))&&u(Qe(e.doc,o.from,o.to).join(s)))}if(\"false\"==t.getAttribute(\"contenteditable\"))return;var h=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;h&&c();for(var m=0;m<t.childNodes.length;m++)f(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),h&&(a=!0)}else 3==t.nodeType&&u(t.nodeValue.replace(/\\u200b/g,\"\").replace(/\\u00a0/g,\" \"));var v}for(;f(t),t!=n;)t=t.nextSibling,l=!1;return o}(r,n,c,t,l)),p=Qe(r.doc,et(t,0),et(l,Ke(r.doc,l).text.length));f.length>1&&p.length>1;)if(W(f)==W(p))f.pop(),p.pop(),l--;else{if(f[0]!=p[0])break;f.shift(),p.shift(),t++}for(var d=0,h=0,m=f[0],v=p[0],g=Math.min(m.length,v.length);d<g&&m.charCodeAt(d)==v.charCodeAt(d);)++d;for(var y=W(f),b=W(p),T=Math.min(y.length-(1==f.length?d:0),b.length-(1==p.length?d:0));h<T&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)++h;if(1==f.length&&1==p.length&&t==a.line)for(;d&&d>a.ch&&y.charCodeAt(y.length-h-1)==b.charCodeAt(b.length-h-1);)d--,h++;f[f.length-1]=y.slice(0,y.length-h).replace(/^\\u200b+/,\"\"),f[0]=f[0].slice(d).replace(/\\u200b+$/,\"\");var E=et(t,d),O=et(l,p.length?W(p).length-h:0);return f.length>1||f[0]||tt(E,O)?(mo(r.doc,f,E,O,\"+input\"),!0):void 0},Ua.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ua.prototype.reset=function(){this.forceCompositionEnd()},Ua.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ua.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ua.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zr(this.cm,(function(){return fr(e.cm)}))},Ua.prototype.setUneditable=function(e){e.contentEditable=\"false\"},Ua.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ua.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(\"nocursor\"!=e)},Ua.prototype.onContextMenu=function(){},Ua.prototype.resetPosition=function(){},Ua.prototype.needsContentAttribute=!0;var Ga=function(e){this.cm=e,this.prevInput=\"\",this.pollingFast=!1,this.polling=new V,this.hasSelection=!1,this.composing=null};Ga.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Ia({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Fa(r);Ia({lineWise:!0,text:t.text}),\"cut\"==e.type?r.setSelections(t.ranges,null,q):(n.prevInput=\"\",i.value=t.text.join(\"\\n\"),F(i))}\"cut\"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width=\"0px\"),fe(i,\"input\",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),fe(i,\"paste\",(function(e){me(r,e)||La(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),fe(i,\"cut\",o),fe(i,\"copy\",o),fe(e.scroller,\"paste\",(function(t){if(!On(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event(\"paste\");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),fe(e.lineSpace,\"selectstart\",(function(t){On(e,t)||be(t)})),fe(i,\"compositionstart\",(function(){var e=r.getCursor(\"from\");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor(\"to\"),{className:\"CodeMirror-composing\"})}})),fe(i,\"compositionend\",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ga.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ga.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute(\"aria-label\",e):this.textarea.removeAttribute(\"aria-label\")},Ga.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Qn(e,n.sel.primary().head,\"div\"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ga.prototype.showSelection=function(e){var t=this.cm.display;S(t.cursorDiv,e.cursors),S(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+\"px\",this.wrapper.style.left=e.teLeft+\"px\")},Ga.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput=\"\";var n=t.getSelection();this.textarea.value=n,t.state.focused&&F(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value=\"\",a&&s>=9&&(this.hasSelection=null))}},Ga.prototype.getField=function(){return this.textarea},Ga.prototype.supportsTouch=function(){return!1},Ga.prototype.focus=function(){if(\"nocursor\"!=this.cm.options.readOnly&&(!g||A()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ga.prototype.blur=function(){this.textarea.blur()},Ga.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ga.prototype.receivedFocus=function(){this.slowPoll()},Ga.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ga.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ga.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ae(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\\uf700-\\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=\"\u200B\"),8666==o)return this.reset(),this.cm.execCommand(\"undo\")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return Zr(t,(function(){Aa(t,i.slice(l),r.length-l,null,e.composing?\"*compose\":null),i.length>1e3||i.indexOf(\"\\n\")>-1?n.value=e.prevInput=\"\":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor(\"to\"),{className:\"CodeMirror-composing\"}))})),!0},Ga.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ga.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ga.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=cr(n,e),c=r.scroller.scrollTop;if(o&&!f){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Zi)(n.doc,ki(o),q);var u,p=i.style.cssText,d=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText=\"position: static\",i.style.cssText=\"position: absolute; width: 30px; height: 30px;\\n      top: \"+(e.clientY-h.top-5)+\"px; left: \"+(e.clientX-h.left-5)+\"px;\\n      z-index: 1000; background: \"+(a?\"rgba(255, 255, 255, .05)\":\"transparent\")+\";\\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\",l&&(u=window.scrollY),r.input.focus(),l&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=\" \"),t.contextMenuPending=g,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),x){Oe(e);var m=function(){de(window,\"mouseup\",m),setTimeout(g,20)};fe(window,\"mouseup\",m)}else setTimeout(g,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o=\"\u200B\"+(e?i.value:\"\");i.value=\"\u21DA\",i.value=o,t.prevInput=e?\"\":\"\u200B\",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function g(){if(t.contextMenuPending==g&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&\"\u200B\"==t.prevInput?ei(n,so)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},Ga.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=\"nocursor\"==e},Ga.prototype.setUneditable=function(){},Ga.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Oa&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Oa,n(\"value\",\"\",(function(e,t){return e.setValue(t)}),!0),n(\"mode\",null,(function(e,t){e.doc.modeOption=t,Di(e)}),!0),n(\"indentUnit\",2,Di,!0),n(\"indentWithTabs\",!1),n(\"smartIndent\",!0),n(\"tabSize\",4,(function(e){Ii(e),Un(e),fr(e)}),!0),n(\"lineSeparator\",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)mo(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n(\"specialChars\",/[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b-\\u200c\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test(\"\\t\")?\"\":\"|\\t\"),\"g\"),n!=Oa&&e.refresh()})),n(\"specialCharPlaceholder\",Xt,(function(e){return e.refresh()}),!0),n(\"electricChars\",!0),n(\"inputStyle\",g?\"contenteditable\":\"textarea\",(function(){throw new Error(\"inputStyle can not (yet) be changed in a running editor\")}),!0),n(\"spellcheck\",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n(\"autocorrect\",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n(\"autocapitalize\",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n(\"rtlMoveVisually\",!T),n(\"wholeLineUpdateBefore\",!0),n(\"theme\",\"default\",(function(e){Ea(e),mi(e)}),!0),n(\"keyMap\",\"default\",(function(e,t,n){var r=Jo(t),i=n!=Oa&&Jo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n(\"extraKeys\",null),n(\"configureMouse\",null),n(\"lineWrapping\",!1,wa,!0),n(\"gutters\",[],(function(e,t){e.display.gutterSpecs=di(t,e.options.lineNumbers),mi(e)}),!0),n(\"fixedGutter\",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+\"px\":\"0\",e.refresh()}),!0),n(\"coverGutterNextToScrollbar\",!1,(function(e){return Br(e)}),!0),n(\"scrollbarStyle\",\"native\",(function(e){zr(e),Br(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n(\"lineNumbers\",!1,(function(e,t){e.display.gutterSpecs=di(e.options.gutters,t),mi(e)}),!0),n(\"firstLineNumber\",1,mi,!0),n(\"lineNumberFormatter\",(function(e){return e}),mi,!0),n(\"showCursorWhenSelecting\",!1,vr,!0),n(\"resetSelectionOnContextMenu\",!0),n(\"lineWiseCopyCut\",!0),n(\"pasteLinesPerSelection\",!0),n(\"selectionsMayTouch\",!1),n(\"readOnly\",!1,(function(e,t){\"nocursor\"==t&&(kr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n(\"screenReaderLabel\",null,(function(e,t){t=\"\"===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n(\"disableInput\",!1,(function(e,t){t||e.display.input.reset()}),!0),n(\"dragDrop\",!0,ka),n(\"allowDropFileTypes\",null),n(\"cursorBlinkRate\",530),n(\"cursorScrollMargin\",0),n(\"cursorHeight\",1,vr,!0),n(\"singleCursorHeightPerLine\",!0,vr,!0),n(\"workTime\",100),n(\"workDelay\",100),n(\"flattenSpans\",!0,Ii,!0),n(\"addModeClass\",!1,Ii,!0),n(\"pollInterval\",100),n(\"undoDepth\",200,(function(e,t){return e.doc.history.undoDepth=t})),n(\"historyEventDelay\",1250),n(\"viewportMargin\",10,(function(e){return e.refresh()}),!0),n(\"maxHighlightLength\",1e4,Ii,!0),n(\"moveInputWithCursor\",!0,(function(e,t){t||e.display.input.resetPosition()})),n(\"tabindex\",null,(function(e,t){return e.display.input.getField().tabIndex=t||\"\"})),n(\"autofocus\",null),n(\"direction\",\"ltr\",(function(e,t){return e.doc.setDirection(t)}),!0),n(\"phrases\",null)}(Ca),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&\"mode\"!=e||(r[e]=n,t.hasOwnProperty(e)&&ei(this,t[e])(this,n,i),he(this,\"optionChange\",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?\"push\":\"unshift\"](Jo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ti((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error(\"Overlays may not be stateful.\");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,fr(this)})),removeOverlay:ti((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||\"string\"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void fr(this)}})),indentLine:ti((function(e,t,n){\"string\"!=typeof t&&\"number\"!=typeof t&&(t=null==t?this.options.smartIndent?\"smart\":\"prev\":t?\"add\":\"subtract\"),Xe(this.doc,e)&&Na(this,e,t,n)})),indentSelection:ti((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Na(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Ir(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Na(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&Ji(this.doc,r,new xi(o,c[r].to()),q)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=pt(this,Ke(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf(\"overlay \"):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if(\"string\"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==U(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return dt(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Qn(this,null==e?n.head:\"object\"==typeof e?st(this.doc,e):e?n.from():n.to(),t||\"page\")},charCoords:function(e,t){return Kn(this,st(this.doc,e),t||\"page\")},coordsChar:function(e,t){return Jn(this,(e=Gn(this,e,t||\"page\")).left,e.top)},lineAtHeight:function(e,t){return e=Gn(this,{top:e,left:0},t||\"page\").top,$e(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if(\"number\"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ke(this.doc,e)}else r=e;return zn(this,r,{top:0,left:0},t||\"page\",n||i).top+(i?this.doc.height-Ht(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s,l=this.display,c=(e=Qn(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position=\"absolute\",t.setAttribute(\"cm-ignore-events\",\"true\"),this.display.input.setUneditable(t),l.sizer.appendChild(t),\"over\"==r)c=e.top;else if(\"above\"==r||\"near\"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),p=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);(\"above\"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(c=e.bottom),u+t.offsetWidth>p&&(u=p-t.offsetWidth)}t.style.top=c+\"px\",t.style.left=t.style.right=\"\",\"right\"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right=\"0px\"):(\"left\"==i?u=0:\"middle\"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+\"px\"),n&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=Nr(o,a)).scrollTop&&Fr(o,s.scrollTop),null!=s.scrollLeft&&Rr(o,s.scrollLeft))},triggerOnKeyDown:ti(ua),triggerOnKeyPress:ti(pa),triggerOnKeyUp:fa,triggerOnMouseDown:ti(va),execCommand:function(e){if(ta.hasOwnProperty(e))return ta[e].call(null,this)},triggerElectric:ti((function(e){ja(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Pa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Pa(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),z)})),deleteH:ti((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection(\"\",null,\"+delete\"):$o(this,(function(n){var i=Pa(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var l=Qn(this,a,\"div\");if(null==o?o=l.left:l.left=o,(a=Va(this,l,i,n)).hitSide)break}return a},moveV:ti((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Qn(n,a.head,\"div\");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Va(n,s,e,t);return\"page\"==t&&a==r.sel.primary()&&Dr(n,Kn(n,l,\"div\").top-s.top),l}),z),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=Ke(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,\"wordChars\");\"before\"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\\s/.test(o)?function(e){return/\\s/.test(e)}:function(e){return!/\\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new xi(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?L(this.display.cursorDiv,\"CodeMirror-overwrite\"):w(this.display.cursorDiv,\"CodeMirror-overwrite\"),he(this,\"overwriteToggle\",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==A()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Ar(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-wn(this)-this.display.barHeight,width:e.scrollWidth-wn(this)-this.display.barWidth,clientHeight:Sn(this),clientWidth:Cn(this)}},scrollIntoView:ti((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):\"number\"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Lr(e),e.curOp.scrollToPos=t}(this,e):jr(this,e.from,e.to,e.margin)})),setSize:ti((function(e,t){var n=this,r=function(e){return\"number\"==typeof e||/^\\d+$/.test(String(e))?e+\"px\":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Vn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){pr(n,i,\"widget\");break}++i})),this.curOp.forceUpdate=!0,he(this,\"refresh\",this)})),operation:function(e){return Zr(this,e)},startOperation:function(){return Kr(this)},endOperation:function(){return Qr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;fr(this),this.curOp.forceUpdate=!0,Un(this),Ar(this,this.doc.scrollLeft,this.doc.scrollTop),ci(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&lr(this),he(this,\"refresh\",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Fi(this,e),Un(this),this.display.input.reset(),Ar(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ln(this,\"swapDoc\",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(Ca);var Ka=\"iter insert remove copy getEditor constructor\".split(\" \");for(var Qa in Io.prototype)Io.prototype.hasOwnProperty(Qa)&&U(Ka,Qa)<0&&(Ca.prototype[Qa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Io.prototype[Qa]));return ye(Io),Ca.inputStyles={textarea:Ga,contenteditable:Ua},Ca.defineMode=function(e){Ca.defaults.mode||\"null\"==e||(Ca.defaults.mode=e),Re.apply(this,arguments)},Ca.defineMIME=function(e,t){Me[e]=t},Ca.defineMode(\"null\",(function(){return{token:function(e){return e.skipToEnd()}}})),Ca.defineMIME(\"text/plain\",\"null\"),Ca.defineExtension=function(e,t){Ca.prototype[e]=t},Ca.defineDocExtension=function(e,t){Io.prototype[e]=t},Ca.fromTextArea=function(e,t){if((t=t?R(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=A();t.autofocus=n==e||null!=e.getAttribute(\"autofocus\")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(fe(e.form,\"submit\",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display=\"\",e.form&&(de(e.form,\"submit\",r),t.leaveSubmitMethodAlone||\"function\"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display=\"none\";var s=Ca((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=fe,e.wheelEventPixels=Ti,e.Doc=Io,e.splitLines=Ie,e.countColumn=P,e.findColumn=G,e.isWordChar=Z,e.Pass=B,e.signal=he,e.Line=Kt,e.changeEnd=wi,e.scrollbarModel=Hr,e.Pos=et,e.cmpPos=tt,e.modes=Fe,e.mimeModes=Me,e.resolveMode=Pe,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=Be,e.copyState=qe,e.startState=ze,e.innerMode=He,e.commands=ta,e.keyMap=Ho,e.keyName=Yo,e.isModifierKey=Qo,e.lookupKey=Ko,e.normalizeKeyMap=Go,e.StringStream=Ge,e.SharedTextMarker=Co,e.TextMarker=ko,e.LineWidget=Oo,e.e_preventDefault=be,e.e_stopPropagation=Te,e.e_stop=Oe,e.addClass=L,e.contains=I,e.rmClass=w,e.keyNames=Vo}(Ca),Ca.version=\"5.57.0\",Ca}()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:\"Unexpected invariant triggered.\")}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=Object.prototype.hasOwnProperty;function r(t,n){return e.call(t,n)}function i(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 o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var a=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,s=new RegExp(a.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(61),u=/[&<>\"]/,f=/[&<>\"]/g,p={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\"};function d(e){return p[e]}var h=/[.?*+^$[\\]\\\\(){}|-]/g,m=n(50);t.lib={},t.lib.mdurl=n(62),t.lib.ucmicro=n(117),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if(\"object\"!=typeof t)throw new TypeError(t+\"must be object\");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return\"[object String]\"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=r,t.unescapeMd=function(e){return e.indexOf(\"\\\\\")<0?e:e.replace(a,\"$1\")},t.unescapeAll=function(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return r(c,t)?c[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n=\"x\"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return u.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(h,\"\\\\$&\")},t.normalizeReference=function(e){return e=e.trim().replace(/\\s+/g,\" \"),\"\u1E7E\"===\"\u1E9E\".toLowerCase()&&(e=e.replace(/\u1E9E/g,\"\u00DF\")),e.toLowerCase().toUpperCase()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a}));var r=n(24),i=function(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n};Object(r.a)(i,(function(){return{start:this.start,end:this.end}}));var o=function(e,t,n,r,i,o,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=a,this.prev=o,this.next=null};function a(e){return null!=e&&\"string\"==typeof e.kind}Object(r.a)(o,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},function(e,t,n){\"use strict\";n.r(t),n.d(t,\"version\",(function(){return r})),n.d(t,\"versionInfo\",(function(){return i})),n.d(t,\"graphql\",(function(){return Vn})),n.d(t,\"graphqlSync\",(function(){return Un})),n.d(t,\"GraphQLSchema\",(function(){return ue})),n.d(t,\"GraphQLDirective\",(function(){return X})),n.d(t,\"GraphQLScalarType\",(function(){return V.g})),n.d(t,\"GraphQLObjectType\",(function(){return V.f})),n.d(t,\"GraphQLInterfaceType\",(function(){return V.c})),n.d(t,\"GraphQLUnionType\",(function(){return V.h})),n.d(t,\"GraphQLEnumType\",(function(){return V.a})),n.d(t,\"GraphQLInputObjectType\",(function(){return V.b})),n.d(t,\"GraphQLList\",(function(){return V.d})),n.d(t,\"GraphQLNonNull\",(function(){return V.e})),n.d(t,\"specifiedScalarTypes\",(function(){return W.g})),n.d(t,\"GraphQLInt\",(function(){return W.d})),n.d(t,\"GraphQLFloat\",(function(){return W.b})),n.d(t,\"GraphQLString\",(function(){return W.e})),n.d(t,\"GraphQLBoolean\",(function(){return W.a})),n.d(t,\"GraphQLID\",(function(){return W.c})),n.d(t,\"specifiedDirectives\",(function(){return re})),n.d(t,\"GraphQLIncludeDirective\",(function(){return Z})),n.d(t,\"GraphQLSkipDirective\",(function(){return ee})),n.d(t,\"GraphQLDeprecatedDirective\",(function(){return ne})),n.d(t,\"TypeKind\",(function(){return oe.TypeKind})),n.d(t,\"DEFAULT_DEPRECATION_REASON\",(function(){return te})),n.d(t,\"introspectionTypes\",(function(){return oe.introspectionTypes})),n.d(t,\"__Schema\",(function(){return oe.__Schema})),n.d(t,\"__Directive\",(function(){return oe.__Directive})),n.d(t,\"__DirectiveLocation\",(function(){return oe.__DirectiveLocation})),n.d(t,\"__Type\",(function(){return oe.__Type})),n.d(t,\"__Field\",(function(){return oe.__Field})),n.d(t,\"__InputValue\",(function(){return oe.__InputValue})),n.d(t,\"__EnumValue\",(function(){return oe.__EnumValue})),n.d(t,\"__TypeKind\",(function(){return oe.__TypeKind})),n.d(t,\"SchemaMetaFieldDef\",(function(){return oe.SchemaMetaFieldDef})),n.d(t,\"TypeMetaFieldDef\",(function(){return oe.TypeMetaFieldDef})),n.d(t,\"TypeNameMetaFieldDef\",(function(){return oe.TypeNameMetaFieldDef})),n.d(t,\"isSchema\",(function(){return le})),n.d(t,\"isDirective\",(function(){return J})),n.d(t,\"isType\",(function(){return V.S})),n.d(t,\"isScalarType\",(function(){return V.R})),n.d(t,\"isObjectType\",(function(){return V.N})),n.d(t,\"isInterfaceType\",(function(){return V.H})),n.d(t,\"isUnionType\",(function(){return V.T})),n.d(t,\"isEnumType\",(function(){return V.E})),n.d(t,\"isInputObjectType\",(function(){return V.F})),n.d(t,\"isListType\",(function(){return V.J})),n.d(t,\"isNonNullType\",(function(){return V.L})),n.d(t,\"isInputType\",(function(){return V.G})),n.d(t,\"isOutputType\",(function(){return V.O})),n.d(t,\"isLeafType\",(function(){return V.I})),n.d(t,\"isCompositeType\",(function(){return V.D})),n.d(t,\"isAbstractType\",(function(){return V.C})),n.d(t,\"isWrappingType\",(function(){return V.U})),n.d(t,\"isNullableType\",(function(){return V.M})),n.d(t,\"isNamedType\",(function(){return V.K})),n.d(t,\"isRequiredArgument\",(function(){return V.P})),n.d(t,\"isRequiredInputField\",(function(){return V.Q})),n.d(t,\"isSpecifiedScalarType\",(function(){return W.f})),n.d(t,\"isIntrospectionType\",(function(){return oe.isIntrospectionType})),n.d(t,\"isSpecifiedDirective\",(function(){return ie})),n.d(t,\"assertSchema\",(function(){return ce})),n.d(t,\"assertDirective\",(function(){return $})),n.d(t,\"assertType\",(function(){return V.x})),n.d(t,\"assertScalarType\",(function(){return V.w})),n.d(t,\"assertObjectType\",(function(){return V.u})),n.d(t,\"assertInterfaceType\",(function(){return V.o})),n.d(t,\"assertUnionType\",(function(){return V.y})),n.d(t,\"assertEnumType\",(function(){return V.l})),n.d(t,\"assertInputObjectType\",(function(){return V.m})),n.d(t,\"assertListType\",(function(){return V.q})),n.d(t,\"assertNonNullType\",(function(){return V.s})),n.d(t,\"assertInputType\",(function(){return V.n})),n.d(t,\"assertOutputType\",(function(){return V.v})),n.d(t,\"assertLeafType\",(function(){return V.p})),n.d(t,\"assertCompositeType\",(function(){return V.k})),n.d(t,\"assertAbstractType\",(function(){return V.j})),n.d(t,\"assertWrappingType\",(function(){return V.z})),n.d(t,\"assertNullableType\",(function(){return V.t})),n.d(t,\"assertNamedType\",(function(){return V.r})),n.d(t,\"getNullableType\",(function(){return V.B})),n.d(t,\"getNamedType\",(function(){return V.A})),n.d(t,\"validateSchema\",(function(){return pe})),n.d(t,\"assertValidSchema\",(function(){return de})),n.d(t,\"Source\",(function(){return d})),n.d(t,\"getLocation\",(function(){return qn.a})),n.d(t,\"printLocation\",(function(){return Hn.a})),n.d(t,\"printSourceLocation\",(function(){return Hn.b})),n.d(t,\"Lexer\",(function(){return y})),n.d(t,\"TokenKind\",(function(){return m})),n.d(t,\"parse\",(function(){return _})),n.d(t,\"parseValue\",(function(){return k})),n.d(t,\"parseType\",(function(){return w})),n.d(t,\"print\",(function(){return qe.a})),n.d(t,\"visit\",(function(){return D.c})),n.d(t,\"visitInParallel\",(function(){return D.d})),n.d(t,\"getVisitFn\",(function(){return D.b})),n.d(t,\"BREAK\",(function(){return D.a})),n.d(t,\"Kind\",(function(){return u.a})),n.d(t,\"DirectiveLocation\",(function(){return h.a})),n.d(t,\"isDefinitionNode\",(function(){return Ve.a})),n.d(t,\"isExecutableDefinitionNode\",(function(){return Ve.b})),n.d(t,\"isSelectionNode\",(function(){return Ve.c})),n.d(t,\"isValueNode\",(function(){return Ve.i})),n.d(t,\"isTypeNode\",(function(){return Ve.f})),n.d(t,\"isTypeSystemDefinitionNode\",(function(){return Ve.g})),n.d(t,\"isTypeDefinitionNode\",(function(){return Ve.d})),n.d(t,\"isTypeSystemExtensionNode\",(function(){return Ve.h})),n.d(t,\"isTypeExtensionNode\",(function(){return Ve.e})),n.d(t,\"execute\",(function(){return hn})),n.d(t,\"defaultFieldResolver\",(function(){return Rn})),n.d(t,\"defaultTypeResolver\",(function(){return Mn})),n.d(t,\"responsePathAsArray\",(function(){return tn})),n.d(t,\"getDirectiveValues\",(function(){return pn})),n.d(t,\"subscribe\",(function(){return Wn})),n.d(t,\"createSourceEventStream\",(function(){return $n})),n.d(t,\"validate\",(function(){return $t})),n.d(t,\"ValidationContext\",(function(){return Jt})),n.d(t,\"specifiedRules\",(function(){return Ut})),n.d(t,\"ExecutableDefinitionsRule\",(function(){return Le.a})),n.d(t,\"FieldsOnCorrectTypeRule\",(function(){return Ke})),n.d(t,\"FragmentsOnCompositeTypesRule\",(function(){return He})),n.d(t,\"KnownArgumentNamesRule\",(function(){return ot})),n.d(t,\"KnownDirectivesRule\",(function(){return tt})),n.d(t,\"KnownFragmentNamesRule\",(function(){return We})),n.d(t,\"KnownTypeNamesRule\",(function(){return Ue})),n.d(t,\"LoneAnonymousOperationRule\",(function(){return Fe})),n.d(t,\"NoFragmentCyclesRule\",(function(){return $e})),n.d(t,\"NoUndefinedVariablesRule\",(function(){return Ze})),n.d(t,\"NoUnusedFragmentsRule\",(function(){return Ye})),n.d(t,\"NoUnusedVariablesRule\",(function(){return et})),n.d(t,\"OverlappingFieldsCanBeMergedRule\",(function(){return bt})),n.d(t,\"PossibleFragmentSpreadsRule\",(function(){return Je})),n.d(t,\"ProvidedRequiredArgumentsRule\",(function(){return dt})),n.d(t,\"ScalarLeafsRule\",(function(){return Ge})),n.d(t,\"SingleFieldSubscriptionsRule\",(function(){return Me})),n.d(t,\"UniqueArgumentNamesRule\",(function(){return st})),n.d(t,\"UniqueDirectivesPerLocationRule\",(function(){return nt})),n.d(t,\"UniqueFragmentNamesRule\",(function(){return Qe})),n.d(t,\"UniqueInputFieldNamesRule\",(function(){return Nt})),n.d(t,\"UniqueOperationNamesRule\",(function(){return je})),n.d(t,\"UniqueVariableNamesRule\",(function(){return Xe})),n.d(t,\"ValuesOfCorrectTypeRule\",(function(){return ct})),n.d(t,\"VariablesAreInputTypesRule\",(function(){return ze})),n.d(t,\"VariablesInAllowedPositionRule\",(function(){return vt})),n.d(t,\"LoneSchemaDefinitionRule\",(function(){return Dt})),n.d(t,\"UniqueOperationTypesRule\",(function(){return It})),n.d(t,\"UniqueTypeNamesRule\",(function(){return At})),n.d(t,\"UniqueEnumValueNamesRule\",(function(){return Lt})),n.d(t,\"UniqueFieldDefinitionNamesRule\",(function(){return jt})),n.d(t,\"UniqueDirectiveNamesRule\",(function(){return Mt})),n.d(t,\"PossibleTypeExtensionsRule\",(function(){return Pt})),n.d(t,\"GraphQLError\",(function(){return l.a})),n.d(t,\"syntaxError\",(function(){return c})),n.d(t,\"locatedError\",(function(){return F})),n.d(t,\"printError\",(function(){return l.b})),n.d(t,\"formatError\",(function(){return Zn})),n.d(t,\"getIntrospectionQuery\",(function(){return nr})),n.d(t,\"getOperationAST\",(function(){return rr})),n.d(t,\"getOperationRootType\",(function(){return nn})),n.d(t,\"introspectionFromSchema\",(function(){return ar})),n.d(t,\"buildClientSchema\",(function(){return lr})),n.d(t,\"buildASTSchema\",(function(){return yr})),n.d(t,\"buildSchema\",(function(){return Tr})),n.d(t,\"getDescription\",(function(){return gr})),n.d(t,\"extendSchema\",(function(){return dr})),n.d(t,\"lexicographicSortSchema\",(function(){return _r})),n.d(t,\"printSchema\",(function(){return Nr})),n.d(t,\"printType\",(function(){return jr})),n.d(t,\"printIntrospectionSchema\",(function(){return Dr})),n.d(t,\"typeFromAST\",(function(){return Ne})),n.d(t,\"valueFromAST\",(function(){return on})),n.d(t,\"valueFromASTUntyped\",(function(){return Hr.a})),n.d(t,\"astFromValue\",(function(){return Sr.a})),n.d(t,\"TypeInfo\",(function(){return De})),n.d(t,\"visitWithTypeInfo\",(function(){return Ae})),n.d(t,\"coerceInputValue\",(function(){return sn})),n.d(t,\"concatAST\",(function(){return zr})),n.d(t,\"separateOperations\",(function(){return Gr})),n.d(t,\"stripIgnoredCharacters\",(function(){return Qr})),n.d(t,\"isEqualType\",(function(){return U})),n.d(t,\"isTypeSubTypeOf\",(function(){return B})),n.d(t,\"doTypesOverlap\",(function(){return q})),n.d(t,\"assertValidName\",(function(){return R})),n.d(t,\"isValidNameError\",(function(){return P})),n.d(t,\"BreakingChangeType\",(function(){return $r})),n.d(t,\"DangerousChangeType\",(function(){return Xr})),n.d(t,\"findBreakingChanges\",(function(){return Zr})),n.d(t,\"findDangerousChanges\",(function(){return ei})),n.d(t,\"findDeprecatedUsages\",(function(){return di}));var r=\"15.0.0\",i=Object.freeze({major:15,minor:0,patch:0,preReleaseTag:null});function o(e){return\"function\"==typeof(null==e?void 0:e.then)}var a=n(3),s=n(4),l=n(2);function c(e,t,n){return new l.a(\"Syntax Error: \".concat(n),void 0,e,[t])}var u=n(1),f=n(15);function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var d=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"GraphQL request\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||Object(s.a)(0,\"line in locationOffset is 1-indexed and must be positive.\"),this.locationOffset.column>0||Object(s.a)(0,\"column in locationOffset is 1-indexed and must be positive.\")}var t,n,r;return t=e,(n=[{key:f.c,get:function(){return\"Source\"}}])&&p(t.prototype,n),r&&p(t,r),e}(),h=n(5),m=Object.freeze({SOF:\"<SOF>\",EOF:\"<EOF>\",BANG:\"!\",DOLLAR:\"$\",AMP:\"&\",PAREN_L:\"(\",PAREN_R:\")\",SPREAD:\"...\",COLON:\":\",EQUALS:\"=\",AT:\"@\",BRACKET_L:\"[\",BRACKET_R:\"]\",BRACE_L:\"{\",PIPE:\"|\",BRACE_R:\"}\",NAME:\"Name\",INT:\"Int\",FLOAT:\"Float\",STRING:\"String\",BLOCK_STRING:\"BlockString\",COMMENT:\"Comment\"}),v=n(13),g=n(28),y=function(){function e(e){var t=new v.b(m.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==m.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=E(this,e)}while(e.kind===m.COMMENT);return e},e}();function b(e){return e===m.BANG||e===m.DOLLAR||e===m.AMP||e===m.PAREN_L||e===m.PAREN_R||e===m.SPREAD||e===m.COLON||e===m.EQUALS||e===m.AT||e===m.BRACKET_L||e===m.BRACKET_R||e===m.BRACE_L||e===m.PIPE||e===m.BRACE_R}function T(e){return isNaN(e)?m.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'\"\\\\u'.concat((\"00\"+e.toString(16).toUpperCase()).slice(-4),'\"')}function E(e,t){var n=e.source,r=n.body,i=r.length,o=function(e,t,n){var r=e.length,i=t;for(;i<r;){var o=e.charCodeAt(i);if(9===o||32===o||44===o||65279===o)++i;else if(10===o)++i,++n.line,n.lineStart=i;else{if(13!==o)break;10===e.charCodeAt(i+1)?i+=2:++i,++n.line,n.lineStart=i}}return i}(r,t.end,e),a=e.line,s=1+o-e.lineStart;if(o>=i)return new v.b(m.EOF,i,i,a,s,t);var l=r.charCodeAt(o);switch(l){case 33:return new v.b(m.BANG,o,o+1,a,s,t);case 35:return function(e,t,n,r,i){var o,a=e.body,s=t;do{o=a.charCodeAt(++s)}while(!isNaN(o)&&(o>31||9===o));return new v.b(m.COMMENT,t,s,n,r,i,a.slice(t+1,s))}(n,o,a,s,t);case 36:return new v.b(m.DOLLAR,o,o+1,a,s,t);case 38:return new v.b(m.AMP,o,o+1,a,s,t);case 40:return new v.b(m.PAREN_L,o,o+1,a,s,t);case 41:return new v.b(m.PAREN_R,o,o+1,a,s,t);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return new v.b(m.SPREAD,o,o+3,a,s,t);break;case 58:return new v.b(m.COLON,o,o+1,a,s,t);case 61:return new v.b(m.EQUALS,o,o+1,a,s,t);case 64:return new v.b(m.AT,o,o+1,a,s,t);case 91:return new v.b(m.BRACKET_L,o,o+1,a,s,t);case 93:return new v.b(m.BRACKET_R,o,o+1,a,s,t);case 123:return new v.b(m.BRACE_L,o,o+1,a,s,t);case 124:return new v.b(m.PIPE,o,o+1,a,s,t);case 125:return new v.b(m.BRACE_R,o,o+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,r,i){var o=e.body,a=o.length,s=t+1,l=0;for(;s!==a&&!isNaN(l=o.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new v.b(m.NAME,t,s,n,r,i,o.slice(t,s))}(n,o,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,r,i,o){var a=e.body,s=n,l=t,u=!1;45===s&&(s=a.charCodeAt(++l));if(48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw c(e,l,\"Invalid number, unexpected digit after 0: \".concat(T(s),\".\"))}else l=O(e,l,s),s=a.charCodeAt(l);46===s&&(u=!0,s=a.charCodeAt(++l),l=O(e,l,s),s=a.charCodeAt(l));69!==s&&101!==s||(u=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=O(e,l,s),s=a.charCodeAt(l));if(46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw c(e,l,\"Invalid number, expected digit but got: \".concat(T(s),\".\"));return new v.b(u?m.FLOAT:m.INT,t,l,r,i,o,a.slice(t,l))}(n,o,l,a,s,t);case 34:return 34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)?function(e,t,n,r,i,o){var a=e.body,s=t+3,l=s,u=0,f=\"\";for(;s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return f+=a.slice(l,s),new v.b(m.BLOCK_STRING,t,s+3,n,r,i,Object(g.a)(f));if(u<32&&9!==u&&10!==u&&13!==u)throw c(e,s,\"Invalid character within String: \".concat(T(u),\".\"));10===u?(++s,++o.line,o.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(f+=a.slice(l,s)+'\"\"\"',l=s+=4):++s}throw c(e,s,\"Unterminated string.\")}(n,o,a,s,t,e):function(e,t,n,r,i){var o=e.body,a=t+1,s=a,l=0,u=\"\";for(;a<o.length&&!isNaN(l=o.charCodeAt(a))&&10!==l&&13!==l;){if(34===l)return u+=o.slice(s,a),new v.b(m.STRING,t,a+1,n,r,i,u);if(l<32&&9!==l)throw c(e,a,\"Invalid character within String: \".concat(T(l),\".\"));if(++a,92===l){switch(u+=o.slice(s,a-1),l=o.charCodeAt(a)){case 34:u+='\"';break;case 47:u+=\"/\";break;case 92:u+=\"\\\\\";break;case 98:u+=\"\\b\";break;case 102:u+=\"\\f\";break;case 110:u+=\"\\n\";break;case 114:u+=\"\\r\";break;case 116:u+=\"\\t\";break;case 117:var f=(d=o.charCodeAt(a+1),h=o.charCodeAt(a+2),g=o.charCodeAt(a+3),y=o.charCodeAt(a+4),x(d)<<12|x(h)<<8|x(g)<<4|x(y));if(f<0){var p=o.slice(a+1,a+5);throw c(e,a,\"Invalid character escape sequence: \\\\u\".concat(p,\".\"))}u+=String.fromCharCode(f),a+=4;break;default:throw c(e,a,\"Invalid character escape sequence: \\\\\".concat(String.fromCharCode(l),\".\"))}++a,s=a}}var d,h,g,y;throw c(e,a,\"Unterminated string.\")}(n,o,a,s,t)}throw c(n,o,function(e){if(e<32&&9!==e&&10!==e&&13!==e)return\"Cannot contain the invalid character \".concat(T(e),\".\");if(39===e)return\"Unexpected single quote character ('), did you mean to use a double quote (\\\")?\";return\"Cannot parse the unexpected character \".concat(T(e),\".\")}(l))}function O(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 c(e,i,\"Invalid number, expected digit but got: \".concat(T(o),\".\"))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function _(e,t){return new C(e,t).parseDocument()}function k(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(m.EOF),r}function w(e,t){var n=new C(e,t);n.expectToken(m.SOF);var r=n.parseTypeReference();return n.expectToken(m.EOF),r}var C=function(){function e(e,t){var n=\"string\"==typeof e?new d(e):e;n instanceof d||Object(s.a)(0,\"Must provide Source. Received: \".concat(Object(a.a)(n),\".\")),this._lexer=new y(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(m.NAME);return{kind:u.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:u.a.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(m.NAME))switch(this._lexer.token.value){case\"query\":case\"mutation\":case\"subscription\":return this.parseOperationDefinition();case\"fragment\":return this.parseFragmentDefinition();case\"schema\":case\"scalar\":case\"type\":case\"interface\":case\"union\":case\"enum\":case\"input\":case\"directive\":return this.parseTypeSystemDefinition();case\"extend\":return this.parseTypeSystemExtension()}else{if(this.peek(m.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(m.BRACE_L))return{kind:u.a.OPERATION_DEFINITION,operation:\"query\",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(m.NAME)&&(t=this.parseName()),{kind:u.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(m.NAME);switch(e.value){case\"query\":return\"query\";case\"mutation\":return\"mutation\";case\"subscription\":return\"subscription\"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(m.DOLLAR),{kind:u.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.a.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(m.COLON)?(e=r,t=this.parseName()):t=r,{kind:u.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,t,m.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(m.COLON),{kind:u.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(m.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(m.SPREAD);var t=this.expectOptionalKeyword(\"on\");return!t&&this.peek(m.NAME)?{kind:u.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword(\"fragment\"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:u.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword(\"on\"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if(\"on\"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case m.BRACKET_L:return this.parseList(e);case m.BRACE_L:return this.parseObject(e);case m.INT:return this._lexer.advance(),{kind:u.a.INT,value:t.value,loc:this.loc(t)};case m.FLOAT:return this._lexer.advance(),{kind:u.a.FLOAT,value:t.value,loc:this.loc(t)};case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this._lexer.advance(),t.value){case\"true\":return{kind:u.a.BOOLEAN,value:!0,loc:this.loc(t)};case\"false\":return{kind:u.a.BOOLEAN,value:!1,loc:this.loc(t)};case\"null\":return{kind:u.a.NULL,loc:this.loc(t)};default:return{kind:u.a.ENUM,value:t.value,loc:this.loc(t)}}case m.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.a.STRING,value:e.value,block:e.kind===m.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:u.a.LIST,values:this.any(m.BRACKET_L,(function(){return t.parseValueLiteral(e)}),m.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:u.a.OBJECT,fields:this.any(m.BRACE_L,(function(){return t.parseObjectField(e)}),m.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(m.COLON),{kind:u.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(m.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(m.AT),{kind:u.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(m.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(m.BRACKET_R),e={kind:u.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(m.BANG)?{kind:u.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:u.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaDefinition();case\"scalar\":return this.parseScalarTypeDefinition();case\"type\":return this.parseObjectTypeDefinition();case\"interface\":return this.parseInterfaceTypeDefinition();case\"union\":return this.parseUnionTypeDefinition();case\"enum\":return this.parseEnumTypeDefinition();case\"input\":return this.parseInputObjectTypeDefinition();case\"directive\":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"schema\");var n=this.parseDirectives(!0),r=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return{kind:u.a.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(m.COLON);var n=this.parseNamedType();return{kind:u.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"scalar\");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"type\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword(\"implements\")){this.expectOptionalToken(m.AMP);do{var t;e.push(this.parseNamedType())}while(this.expectOptionalToken(m.AMP)||!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)&&this.peek(m.NAME))}return e},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(m.BRACE_L)&&this._lexer.lookahead().kind===m.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(m.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.a.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(m.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(m.EQUALS)&&(r=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"interface\");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"union\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:u.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(m.EQUALS)){this.expectOptionalToken(m.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(m.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"enum\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:u.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:u.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"input\");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:u.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===m.NAME)switch(e.value){case\"schema\":return this.parseSchemaExtension();case\"scalar\":return this.parseScalarTypeExtension();case\"type\":return this.parseObjectTypeExtension();case\"interface\":return this.parseInterfaceTypeExtension();case\"union\":return this.parseUnionTypeExtension();case\"enum\":return this.parseEnumTypeExtension();case\"input\":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"schema\");var t=this.parseDirectives(!0),n=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:u.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"scalar\");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:u.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"type\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"interface\");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:u.a.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"union\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"enum\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword(\"extend\"),this.expectKeyword(\"input\");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:u.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword(\"directive\"),this.expectToken(m.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword(\"repeatable\");this.expectKeyword(\"on\");var o=this.parseDirectiveLocations();return{kind:u.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(m.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(m.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==h.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new v.a(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw c(this._lexer.source,t.start,\"Expected \".concat(N(e),\", found \").concat(S(t),\".\"))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==m.NAME||t.value!==e)throw c(this._lexer.source,t.start,'Expected \"'.concat(e,'\", found ').concat(S(t),\".\"));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===m.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return c(this._lexer.source,t.start,\"Unexpected \".concat(S(t),\".\"))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e}();function S(e){var t=e.value;return N(e.kind)+(null!=t?' \"'.concat(t,'\"'):\"\")}function N(e){return b(e)?'\"'.concat(e,'\"'):e}var D=n(19),I=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}},A=Array.prototype.flatMap,L=A?function(e,t){return A.call(e,t)}:function(e,t){for(var n=[],r=0;r<e.length;r++){var i=t(e[r]);Array.isArray(i)?n=n.concat(i):n.push(i)}return n},j=n(7);function F(e,t,n){var r;return Array.isArray(e.path)?e:new l.a(e.message,null!==(r=e.nodes)&&void 0!==r?r:t,e.source,e.positions,n,e)}var M=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function R(e){var t=P(e);if(t)throw t;return e}function P(e){return\"string\"==typeof e||Object(s.a)(0,\"Expected name to be a string.\"),e.length>1&&\"_\"===e[0]&&\"_\"===e[1]?new l.a('Name \"'.concat(e,'\" must not begin with \"__\", which is reserved by GraphQL introspection.')):M.test(e)?void 0:new l.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but \"'.concat(e,'\" does not.'))}var V=n(0);function U(e,t){return e===t||(Object(V.L)(e)&&Object(V.L)(t)||!(!Object(V.J)(e)||!Object(V.J)(t)))&&U(e.ofType,t.ofType)}function B(e,t,n){return t===n||(Object(V.L)(n)?!!Object(V.L)(t)&&B(e,t.ofType,n.ofType):Object(V.L)(t)?B(e,t.ofType,n):Object(V.J)(n)?!!Object(V.J)(t)&&B(e,t.ofType,n.ofType):!Object(V.J)(t)&&(Object(V.C)(n)&&(Object(V.H)(t)||Object(V.N)(t))&&e.isSubType(n,t)))}function q(e,t,n){return t===n||(Object(V.C)(t)?Object(V.C)(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!Object(V.C)(n)&&e.isSubType(n,t))}var H=n(27),z=n(21),G=n(25),K=n(24),Q=n(17),W=n(6);function Y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function J(e){return Object(G.a)(e,X)}function $(e){if(!J(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL directive.\"));return e}var X=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,e.name||Object(s.a)(0,\"Directive must be named.\"),Array.isArray(e.locations)||Object(s.a)(0,\"@\".concat(e.name,\" locations must be an Array.\"));var r=null!==(n=e.args)&&void 0!==n?n:{};Object(Q.a)(r)&&!Array.isArray(r)||Object(s.a)(0,\"@\".concat(e.name,\" args must be an object with argument names as keys.\")),this.args=Object(H.a)(r).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,extensions:n.extensions&&Object(z.a)(n.extensions),astNode:n.astNode}}))}var t,n,r,i=e.prototype;return i.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(V.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},i.toString=function(){return\"@\"+this.name},t=e,(n=[{key:f.c,get:function(){return\"GraphQLDirective\"}}])&&Y(t.prototype,n),r&&Y(t,r),e}();Object(K.a)(X);var Z=new X({name:\"include\",description:\"Directs the executor to include this field or fragment only when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Included when true.\"}}}),ee=new X({name:\"skip\",description:\"Directs the executor to skip this field or fragment when the `if` argument is true.\",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(V.e)(W.a),description:\"Skipped when true.\"}}}),te=\"No longer supported\",ne=new X({name:\"deprecated\",description:\"Marks an element of a GraphQL schema as no longer supported.\",locations:[h.a.FIELD_DEFINITION,h.a.ENUM_VALUE],args:{reason:{type:W.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:te}}}),re=Object.freeze([Z,ee,ne]);function ie(e){return re.some((function(t){return t.name===e.name}))}var oe=n(8),ae=n(30);function se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e){return Object(G.a)(e,ue)}function ce(e){if(!le(e))throw new Error(\"Expected \".concat(Object(a.a)(e),\" to be a GraphQL schema.\"));return e}var ue=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,Object(Q.a)(e)||Object(s.a)(0,\"Must provide configuration object.\"),!e.types||Array.isArray(e.types)||Object(s.a)(0,'\"types\" must be Array if provided but got: '.concat(Object(a.a)(e.types),\".\")),!e.directives||Array.isArray(e.directives)||Object(s.a)(0,'\"directives\" must be Array if provided but got: '+\"\".concat(Object(a.a)(e.directives),\".\")),this.description=e.description,this.extensions=e.extensions&&Object(z.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:re;var n=new Set(e.types);if(null!=e.types)for(var r=0,i=e.types;r<i.length;r++){var o=i[r];n.delete(o),fe(o,n)}null!=this._queryType&&fe(this._queryType,n),null!=this._mutationType&&fe(this._mutationType,n),null!=this._subscriptionType&&fe(this._subscriptionType,n);for(var l=0,c=this._directives;l<c.length;l++){var u=c[l];if(J(u))for(var f=0,p=u.args;f<p.length;f++){fe(p[f].type,n)}}fe(oe.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var d=0,h=Object(ae.a)(n);d<h.length;d++){var m=h[d];if(null!=m){var v=m.name;if(v||Object(s.a)(0,\"One of the provided types for building the Schema is missing a name.\"),void 0!==this._typeMap[v])throw new Error('Schema must contain uniquely named types but contains multiple types named \"'.concat(v,'\".'));if(this._typeMap[v]=m,Object(V.H)(m))for(var g=0,y=m.getInterfaces();g<y.length;g++){var b=y[g];if(Object(V.H)(b)){var T=this._implementationsMap[b.name];void 0===T&&(T=this._implementationsMap[b.name]={objects:[],interfaces:[]}),T.interfaces.push(m)}}else if(Object(V.N)(m))for(var E=0,O=m.getInterfaces();E<O.length;E++){var x=O[E];if(Object(V.H)(x)){var _=this._implementationsMap[x.name];void 0===_&&(_=this._implementationsMap[x.name]={objects:[],interfaces:[]}),_.objects.push(m)}}}}}var t,n,r,i=e.prototype;return i.getQueryType=function(){return this._queryType},i.getMutationType=function(){return this._mutationType},i.getSubscriptionType=function(){return this._subscriptionType},i.getTypeMap=function(){return this._typeMap},i.getType=function(e){return this.getTypeMap()[e]},i.getPossibleTypes=function(e){return Object(V.T)(e)?e.getTypes():this.getImplementations(e).objects},i.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}},i.isPossibleType=function(e,t){return this.isSubType(e,t)},i.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),Object(V.T)(e))for(var r=0,i=e.getTypes();r<i.length;r++){n[i[r].name]=!0}else{for(var o=this.getImplementations(e),a=0,s=o.objects;a<s.length;a++){n[s[a].name]=!0}for(var l=0,c=o.interfaces;l<c.length;l++){n[c[l].name]=!0}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},i.getDirectives=function(){return this._directives},i.getDirective=function(e){return I(this.getDirectives(),(function(t){return t.name===e}))},i.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object(j.a)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:f.c,get:function(){return\"GraphQLSchema\"}}])&&se(t.prototype,n),r&&se(t,r),e}();function fe(e,t){var n=Object(V.A)(e);if(!t.has(n))if(t.add(n),Object(V.T)(n))for(var r=0,i=n.getTypes();r<i.length;r++){fe(i[r],t)}else if(Object(V.N)(n)||Object(V.H)(n)){for(var o=0,a=n.getInterfaces();o<a.length;o++){fe(a[o],t)}for(var s=0,l=Object(j.a)(n.getFields());s<l.length;s++){var c=l[s];fe(c.type,t);for(var u=0,f=c.args;u<f.length;u++){fe(f[u].type,t)}}}else if(Object(V.F)(n))for(var p=0,d=Object(j.a)(n.getFields());p<d.length;p++){fe(d[p].type,t)}return t}function pe(e){if(ce(e),e.__validationErrors)return e.__validationErrors;var t=new he(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(V.N)(n)||e.reportError(\"Query root type must be Object type, it cannot be \".concat(Object(a.a)(n),\".\"),me(t,n,\"query\")):e.reportError(\"Query root type must be provided.\",t.astNode);var r=t.getMutationType();r&&!Object(V.N)(r)&&e.reportError(\"Mutation root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(r),\".\"),me(t,r,\"mutation\"));var i=t.getSubscriptionType();i&&!Object(V.N)(i)&&e.reportError(\"Subscription root type must be Object type if provided, it cannot be \"+\"\".concat(Object(a.a)(i),\".\"),me(t,i,\"subscription\"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if(J(r)){ve(e,r);for(var i=0,o=r.args;i<o.length;i++){var s=o[i];ve(e,s),Object(V.G)(s.type)||e.reportError(\"The type of @\".concat(r.name,\"(\").concat(s.name,\":) must be Input Type \")+\"but got: \".concat(Object(a.a)(s.type),\".\"),s.astNode)}}else e.reportError(\"Expected directive but got: \".concat(Object(a.a)(r),\".\"),null==r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(t[o.name])return;t[o.name]=!0,r[o.name]=n.length;for(var a=Object(j.a)(o.getFields()),s=0;s<a.length;s++){var l=a[s];if(Object(V.L)(l.type)&&Object(V.F)(l.type.ofType)){var c=l.type.ofType,u=r[c.name];if(n.push(l),void 0===u)i(c);else{var f=n.slice(u),p=f.map((function(e){return e.name})).join(\".\");e.reportError('Cannot reference Input Object \"'.concat(c.name,'\" within itself through a series of non-null fields: \"').concat(p,'\".'),f.map((function(e){return e.astNode})))}n.pop()}}r[o.name]=void 0}}(e),n=e.schema.getTypeMap(),r=0,i=Object(j.a)(n);r<i.length;r++){var o=i[r];Object(V.K)(o)?(Object(oe.isIntrospectionType)(o)||ve(e,o),Object(V.N)(o)||Object(V.H)(o)?(ge(e,o),ye(e,o)):Object(V.T)(o)?Ee(e,o):Object(V.E)(o)?Oe(e,o):Object(V.F)(o)&&(xe(e,o),t(o))):e.reportError(\"Expected GraphQL named type but got: \".concat(Object(a.a)(o),\".\"),o.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function de(e){var t=pe(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}var he=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new l.a(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function me(e,t,n){for(var r=ke(e,(function(e){return e.operationTypes})),i=0;i<r.length;i++){var o=r[i];if(o.operation===n)return o.type}return t.astNode}function ve(e,t){var n=P(t.name);n&&e.addError(F(n,t.astNode))}function ge(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.O)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Output Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type);for(var s=0,l=o.args;s<l.length;s++){var c,u=l[s],f=u.name;if(ve(e,u),!Object(V.G)(u.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\"(\").concat(f,\":) must be Input \")+\"Type but got: \".concat(Object(a.a)(u.type),\".\"),null===(c=u.astNode)||void 0===c?void 0:c.type)}}}function ye(e,t){for(var n=Object.create(null),r=0,i=t.getInterfaces();r<i.length;r++){var o=i[r];Object(V.H)(o)?t!==o?n[o.name]?e.reportError(\"Type \".concat(t.name,\" can only implement \").concat(o.name,\" once.\"),we(t,o)):(n[o.name]=!0,Te(e,t,o),be(e,t,o)):e.reportError(\"Type \".concat(t.name,\" cannot implement itself because it would create a circular reference.\"),we(t,o)):e.reportError(\"Type \".concat(Object(a.a)(t),\" must only implement Interface types, \")+\"it cannot implement \".concat(Object(a.a)(o),\".\"),we(t,o))}}function be(e,t,n){for(var r=t.getFields(),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i],l=s.name,c=r[l];if(c){B(e.schema,c.type,s.type)||e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expects type \")+\"\".concat(Object(a.a)(s.type),\" but \").concat(t.name,\".\").concat(l,\" \")+\"is type \".concat(Object(a.a)(c.type),\".\"),[s.astNode.type,c.astNode.type]);for(var u=function(r,i){var o=i[r],s=o.name,u=I(c.args,(function(e){return e.name===s}));if(!u)return e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) expected but \").concat(t.name,\".\").concat(l,\" does not provide it.\"),[o.astNode,c.astNode]),\"continue\";U(o.type,u.type)||e.reportError(\"Interface field argument \".concat(n.name,\".\").concat(l,\"(\").concat(s,\":) \")+\"expects type \".concat(Object(a.a)(o.type),\" but \")+\"\".concat(t.name,\".\").concat(l,\"(\").concat(s,\":) is type \")+\"\".concat(Object(a.a)(u.type),\".\"),[o.astNode.type,u.astNode.type])},f=0,p=s.args;f<p.length;f++)u(f,p);for(var d=function(r,i){var o=i[r],a=o.name;!I(s.args,(function(e){return e.name===a}))&&Object(V.P)(o)&&e.reportError(\"Object field \".concat(t.name,\".\").concat(l,\" includes required argument \").concat(a,\" that is missing from the Interface field \").concat(n.name,\".\").concat(l,\".\"),[o.astNode,s.astNode])},h=0,m=c.args;h<m.length;h++)d(h,m)}else e.reportError(\"Interface field \".concat(n.name,\".\").concat(l,\" expected but \").concat(t.name,\" does not provide it.\"),[s.astNode].concat(_e(t)))}}function Te(e,t,n){for(var r=t.getInterfaces(),i=0,o=n.getInterfaces();i<o.length;i++){var a=o[i];-1===r.indexOf(a)&&e.reportError(a===t?\"Type \".concat(t.name,\" cannot implement \").concat(n.name,\" because it would create a circular reference.\"):\"Type \".concat(t.name,\" must implement \").concat(a.name,\" because it is implemented by \").concat(n.name,\".\"),[].concat(we(n,a),we(t,n)))}}function Ee(e,t){var n=t.getTypes();0===n.length&&e.reportError(\"Union type \".concat(t.name,\" must define one or more member types.\"),_e(t));for(var r=Object.create(null),i=0;i<n.length;i++){var o=n[i];r[o.name]?e.reportError(\"Union type \".concat(t.name,\" can only include type \").concat(o.name,\" once.\"),Ce(t,o.name)):(r[o.name]=!0,Object(V.N)(o)||e.reportError(\"Union type \".concat(t.name,\" can only include Object types, \")+\"it cannot include \".concat(Object(a.a)(o),\".\"),Ce(t,String(o))))}}function Oe(e,t){var n=t.getValues();0===n.length&&e.reportError(\"Enum type \".concat(t.name,\" must define one or more values.\"),_e(t));for(var r=0;r<n.length;r++){var i=n[r],o=i.name;ve(e,i),\"true\"!==o&&\"false\"!==o&&\"null\"!==o||e.reportError(\"Enum type \".concat(t.name,\" cannot include value: \").concat(o,\".\"),i.astNode)}}function xe(e,t){var n=Object(j.a)(t.getFields());0===n.length&&e.reportError(\"Input Object type \".concat(t.name,\" must define one or more fields.\"),_e(t));for(var r=0;r<n.length;r++){var i,o=n[r];if(ve(e,o),!Object(V.G)(o.type))e.reportError(\"The type of \".concat(t.name,\".\").concat(o.name,\" must be Input Type \")+\"but got: \".concat(Object(a.a)(o.type),\".\"),null===(i=o.astNode)||void 0===i?void 0:i.type)}}function _e(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!=n?n:[]}function ke(e,t){return L(_e(e),(function(e){var n;return null!==(n=t(e))&&void 0!==n?n:[]}))}function we(e,t){return ke(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function Ce(e,t){return ke(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}var Se=n(11);function Ne(e,t){var n;return t.kind===u.a.LIST_TYPE?(n=Ne(e,t.type))&&Object(V.d)(n):t.kind===u.a.NON_NULL_TYPE?(n=Ne(e,t.type))&&Object(V.e)(n):t.kind===u.a.NAMED_TYPE?e.getType(t.name.value):void Object(Se.a)(!1,\"Unexpected type node: \"+Object(a.a)(t))}var De=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=null!=t?t:Ie,n&&(Object(V.G)(n)&&this._inputTypeStack.push(n),Object(V.D)(n)&&this._parentTypeStack.push(n),Object(V.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 u.a.SELECTION_SET:var n=Object(V.A)(this.getType());this._parentTypeStack.push(Object(V.D)(n)?n:void 0);break;case u.a.FIELD:var r,i,o=this.getParentType();o&&(r=this._getFieldDef(t,o,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(Object(V.O)(i)?i:void 0);break;case u.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case u.a.OPERATION_DEFINITION:var a;switch(e.operation){case\"query\":a=t.getQueryType();break;case\"mutation\":a=t.getMutationType();break;case\"subscription\":a=t.getSubscriptionType()}this._typeStack.push(Object(V.N)(a)?a:void 0);break;case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:var s=e.typeCondition,l=s?Ne(t,s):Object(V.A)(this.getType());this._typeStack.push(Object(V.O)(l)?l:void 0);break;case u.a.VARIABLE_DEFINITION:var c=Ne(t,e.type);this._inputTypeStack.push(Object(V.G)(c)?c:void 0);break;case u.a.ARGUMENT:var f,p,d,h=null!==(f=this.getDirective())&&void 0!==f?f:this.getFieldDef();h&&(p=I(h.args,(function(t){return t.name===e.name.value})))&&(d=p.type),this._argument=p,this._defaultValueStack.push(p?p.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(d)?d:void 0);break;case u.a.LIST:var m=Object(V.B)(this.getInputType()),v=Object(V.J)(m)?m.ofType:m;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(V.G)(v)?v:void 0);break;case u.a.OBJECT_FIELD:var g,y,b=Object(V.A)(this.getInputType());Object(V.F)(b)&&(y=b.getFields()[e.name.value])&&(g=y.type),this._defaultValueStack.push(y?y.defaultValue:void 0),this._inputTypeStack.push(Object(V.G)(g)?g:void 0);break;case u.a.ENUM:var T,E=Object(V.A)(this.getInputType());Object(V.E)(E)&&(T=E.getValue(e.value)),this._enumValue=T}},t.leave=function(e){switch(e.kind){case u.a.SELECTION_SET:this._parentTypeStack.pop();break;case u.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case u.a.DIRECTIVE:this._directive=null;break;case u.a.OPERATION_DEFINITION:case u.a.INLINE_FRAGMENT:case u.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case u.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case u.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.LIST:case u.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case u.a.ENUM:this._enumValue=null}},e}();function Ie(e,t,n){var r=n.name.value;return r===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:r===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:r===oe.TypeNameMetaFieldDef.name&&Object(V.D)(t)?oe.TypeNameMetaFieldDef:Object(V.N)(t)||Object(V.H)(t)?t.getFields()[r]:void 0}function Ae(e,t){return{enter:function(n){e.enter(n);var r=Object(D.b)(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),Object(v.c)(i)&&e.enter(i)),i}},leave:function(n){var r,i=Object(D.b)(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}}var Le=n(47);function je(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new l.a('There can be only one operation named \"'.concat(r.value,'\".'),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function Fe(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===u.a.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new l.a(\"This anonymous operation must be the only defined operation.\",n))}}}function Me(e){return{OperationDefinition:function(t){\"subscription\"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new l.a(t.name?'Subscription \"'.concat(t.name.value,'\" must select only one top level field.'):\"Anonymous Subscription must select only one top level field.\",t.selectionSet.selections.slice(1)))}}}var Re=n(20),Pe=n(22),Ve=n(23);function Ue(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null),i=0,o=e.getDocument().definitions;i<o.length;i++){var a=o[i];Object(Ve.d)(a)&&(r[a.name.value]=!0)}var s=Object.keys(n).concat(Object.keys(r));return{NamedType:function(t,i,o,a,c){var u,f=t.name.value;if(!n[f]&&!r[f]){var p,d=null!==(p=c[2])&&void 0!==p?p:o,h=null!=d&&(u=d,!Array.isArray(u)&&(Object(Ve.g)(u)||Object(Ve.h)(u)));if(h&&function(e){return-1!==Be.indexOf(e)}(f))return;var m=Object(Pe.a)(f,h?Be.concat(s):s);e.reportError(new l.a('Unknown type \"'.concat(f,'\".')+Object(Re.a)(m),t))}}}}var Be=W.g.map((function(e){return e.name}));var qe=n(9);function He(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=Ne(e.getSchema(),n);if(r&&!Object(V.D)(r)){var i=Object(qe.a)(n);e.reportError(new l.a('Fragment cannot condition on non composite type \"'.concat(i,'\".'),n))}}},FragmentDefinition:function(t){var n=Ne(e.getSchema(),t.typeCondition);if(n&&!Object(V.D)(n)){var r=Object(qe.a)(t.typeCondition);e.reportError(new l.a('Fragment \"'.concat(t.name.value,'\" cannot condition on non composite type \"').concat(r,'\".'),t.typeCondition))}}}}function ze(e){return{VariableDefinition:function(t){var n=Ne(e.getSchema(),t.type);if(n&&!Object(V.G)(n)){var r=t.variable.name.value,i=Object(qe.a)(t.type);e.reportError(new l.a('Variable \"$'.concat(r,'\" cannot be non-input type \"').concat(i,'\".'),t.type))}}}}function Ge(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;if(n)if(Object(V.I)(Object(V.A)(n))){if(r){var i=t.name.value,o=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(i,'\" must not have a selection since type \"').concat(o,'\" has no subfields.'),r))}}else if(!r){var s=t.name.value,c=Object(a.a)(n);e.reportError(new l.a('Field \"'.concat(s,'\" of type \"').concat(c,'\" must have a selection of subfields. Did you mean \"').concat(s,' { ... }\"?'),t))}}}}function Ke(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r=e.getSchema(),i=t.name.value,o=Object(Re.a)(\"to use an inline fragment on\",function(e,t,n){if(!Object(V.C)(t))return[];for(var r=new Set,i=Object.create(null),o=0,a=e.getPossibleTypes(t);o<a.length;o++){var s=a[o];if(s.getFields()[n]){r.add(s),i[s.name]=1;for(var l=0,c=s.getInterfaces();l<c.length;l++){var u,f=c[l];f.getFields()[n]&&(r.add(f),i[f.name]=(null!==(u=i[f.name])&&void 0!==u?u:0)+1)}}}return Object(ae.a)(r).sort((function(t,n){var r=i[n.name]-i[t.name];return 0!==r?r:Object(V.H)(t)&&e.isSubType(t,n)?-1:Object(V.H)(n)&&e.isSubType(n,t)?1:t.name.localeCompare(n.name)})).map((function(e){return e.name}))}(r,n,i));\"\"===o&&(o=Object(Re.a)(function(e,t){if(Object(V.N)(e)||Object(V.H)(e)){var n=Object.keys(e.getFields());return Object(Pe.a)(t,n)}return[]}(n,i))),e.reportError(new l.a('Cannot query field \"'.concat(i,'\" on type \"').concat(n.name,'\".')+o,t))}}}}function Qe(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one fragment named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}function We(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new l.a('Unknown fragment \"'.concat(n,'\".'),t.name))}}}function Ye(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 r=Object.create(null),i=0;i<t.length;i++)for(var o=t[i],a=0,s=e.getRecursivelyReferencedFragments(o);a<s.length;a++){r[s[a].name.value]=!0}for(var c=0;c<n.length;c++){var u=n[c],f=u.name.value;!0!==r[f]&&e.reportError(new l.a('Fragment \"'.concat(f,'\" is never used.'),u))}}}}}function Je(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();if(Object(V.D)(n)&&Object(V.D)(r)&&!q(e.getSchema(),n,r)){var i=Object(a.a)(r),o=Object(a.a)(n);e.reportError(new l.a('Fragment cannot be spread here as objects of type \"'.concat(i,'\" can never be of type \"').concat(o,'\".'),t))}},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=Ne(e.getSchema(),n.typeCondition);if(Object(V.D)(r))return r}}(e,n),i=e.getParentType();if(r&&i&&!q(e.getSchema(),r,i)){var o=Object(a.a)(i),s=Object(a.a)(r);e.reportError(new l.a('Fragment \"'.concat(n,'\" cannot be spread here as objects of type \"').concat(o,'\" can never be of type \"').concat(s,'\".'),t))}}}}function $e(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(o){if(t[o.name.value])return;var a=o.name.value;t[a]=!0;var s=e.getFragmentSpreads(o.selectionSet);if(0===s.length)return;r[a]=n.length;for(var c=0;c<s.length;c++){var u=s[c],f=u.name.value,p=r[f];if(n.push(u),void 0===p){var d=e.getFragment(f);d&&i(d)}else{var h=n.slice(p),m=h.slice(0,-1).map((function(e){return'\"'+e.name.value+'\"'})).join(\", \");e.reportError(new l.a('Cannot spread fragment \"'.concat(f,'\" within itself')+(\"\"!==m?\" via \".concat(m,\".\"):\".\"),h))}n.pop()}r[a]=void 0}(i),!1}}}function Xe(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var r=n.variable.name.value;t[r]?e.reportError(new l.a('There can be only one variable named \"$'.concat(r,'\".'),[t[r],n.variable.name])):t[r]=n.variable.name}}}function Ze(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i].node,a=o.name.value;!0!==t[a]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(a,'\" is not defined by operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(a,'\" is not defined.'),[o,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function et(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var r=Object.create(null),i=e.getRecursiveVariableUsages(n),o=0;o<i.length;o++){r[i[o].node.name.value]=!0}for(var a=0,s=t;a<s.length;a++){var c=s[a],u=c.variable.name.value;!0!==r[u]&&e.reportError(new l.a(n.name?'Variable \"$'.concat(u,'\" is never used in operation \"').concat(n.name.value,'\".'):'Variable \"$'.concat(u,'\" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}function tt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.locations}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];f.kind===u.a.DIRECTIVE_DEFINITION&&(t[f.name.value]=f.locations.map((function(e){return e.value})))}return{Directive:function(n,r,i,o,s){var c=n.name.value,f=t[c];if(f){var p=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||Object(Se.a)(0),t.kind){case u.a.OPERATION_DEFINITION:return function(e){switch(e){case\"query\":return h.a.QUERY;case\"mutation\":return h.a.MUTATION;case\"subscription\":return h.a.SUBSCRIPTION}Object(Se.a)(!1,\"Unexpected operation: \"+Object(a.a)(e))}(t.operation);case u.a.FIELD:return h.a.FIELD;case u.a.FRAGMENT_SPREAD:return h.a.FRAGMENT_SPREAD;case u.a.INLINE_FRAGMENT:return h.a.INLINE_FRAGMENT;case u.a.FRAGMENT_DEFINITION:return h.a.FRAGMENT_DEFINITION;case u.a.VARIABLE_DEFINITION:return h.a.VARIABLE_DEFINITION;case u.a.SCHEMA_DEFINITION:case u.a.SCHEMA_EXTENSION:return h.a.SCHEMA;case u.a.SCALAR_TYPE_DEFINITION:case u.a.SCALAR_TYPE_EXTENSION:return h.a.SCALAR;case u.a.OBJECT_TYPE_DEFINITION:case u.a.OBJECT_TYPE_EXTENSION:return h.a.OBJECT;case u.a.FIELD_DEFINITION:return h.a.FIELD_DEFINITION;case u.a.INTERFACE_TYPE_DEFINITION:case u.a.INTERFACE_TYPE_EXTENSION:return h.a.INTERFACE;case u.a.UNION_TYPE_DEFINITION:case u.a.UNION_TYPE_EXTENSION:return h.a.UNION;case u.a.ENUM_TYPE_DEFINITION:case u.a.ENUM_TYPE_EXTENSION:return h.a.ENUM;case u.a.ENUM_VALUE_DEFINITION:return h.a.ENUM_VALUE;case u.a.INPUT_OBJECT_TYPE_DEFINITION:case u.a.INPUT_OBJECT_TYPE_EXTENSION:return h.a.INPUT_OBJECT;case u.a.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===u.a.INPUT_OBJECT_TYPE_DEFINITION?h.a.INPUT_FIELD_DEFINITION:h.a.ARGUMENT_DEFINITION}}(s);p&&-1===f.indexOf(p)&&e.reportError(new l.a('Directive \"@'.concat(c,'\" may not be used on ').concat(p,\".\"),n))}else e.reportError(new l.a('Unknown directive \"@'.concat(c,'\".'),n))}}}function nt(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=!o.isRepeatable}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];c.kind===u.a.DIRECTIVE_DEFINITION&&(t[c.name.value]=!c.repeatable)}var f=Object.create(null),p=Object.create(null);return{enter:function(n){if(null!=n.directives){var r;if(n.kind===u.a.SCHEMA_DEFINITION||n.kind===u.a.SCHEMA_EXTENSION)r=f;else if(Object(Ve.d)(n)||Object(Ve.e)(n)){var i=n.name.value;void 0===(r=p[i])&&(p[i]=r=Object.create(null))}else r=Object.create(null);for(var o=0,a=n.directives;o<a.length;o++){var s=a[o],c=s.name.value;t[c]&&(r[c]?e.reportError(new l.a('The directive \"@'.concat(c,'\" can only be used once at this location.'),[r[c],s])):r[c]=s)}}}}}function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach((function(t){it(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},at(e),{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var o=t.name.value,a=r.args.map((function(e){return e.name})),s=Object(Pe.a)(o,a);e.reportError(new l.a('Unknown argument \"'.concat(o,'\" on field \"').concat(i.name,\".\").concat(r.name,'\".')+Object(Re.a)(s),t))}}})}function at(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=o.args.map((function(e){return e.name}))}for(var a=e.getDocument().definitions,s=0;s<a.length;s++){var c=a[s];if(c.kind===u.a.DIRECTIVE_DEFINITION){var f,p=null!==(f=c.arguments)&&void 0!==f?f:[];t[c.name.value]=p.map((function(e){return e.name.value}))}}return{Directive:function(n){var r=n.name.value,i=t[r];if(n.arguments&&i)for(var o=0,a=n.arguments;o<a.length;o++){var s=a[o],c=s.name.value;if(-1===i.indexOf(c)){var u=Object(Pe.a)(c,i);e.reportError(new l.a('Unknown argument \"'.concat(c,'\" on directive \"@').concat(r,'\".')+Object(Re.a)(u),s))}}return!1}}}function st(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new l.a('There can be only one argument named \"'.concat(r,'\".'),[t[r],n.name])):t[r]=n.name,!1}}}var lt=n(18);function ct(e){return{ListValue:function(t){var n=Object(V.B)(e.getParentInputType());if(!Object(V.J)(n))return ut(e,t),!1},ObjectValue:function(t){var n=Object(V.A)(e.getInputType());if(!Object(V.F)(n))return ut(e,t),!1;for(var r=Object(lt.a)(t.fields,(function(e){return e.name.value})),i=0,o=Object(j.a)(n.getFields());i<o.length;i++){var s=o[i];if(!r[s.name]&&Object(V.Q)(s)){var c=Object(a.a)(s.type);e.reportError(new l.a('Field \"'.concat(n.name,\".\").concat(s.name,'\" of required type \"').concat(c,'\" was not provided.'),t))}}},ObjectField:function(t){var n=Object(V.A)(e.getParentInputType());if(!e.getInputType()&&Object(V.F)(n)){var r=Object(Pe.a)(t.name.value,Object.keys(n.getFields()));e.reportError(new l.a('Field \"'.concat(t.name.value,'\" is not defined by type \"').concat(n.name,'\".')+Object(Re.a)(r),t))}},NullValue:function(t){var n=e.getInputType();Object(V.L)(n)&&e.reportError(new l.a('Expected value of type \"'.concat(Object(a.a)(n),'\", found ').concat(Object(qe.a)(t),\".\"),t))},EnumValue:function(t){return ut(e,t)},IntValue:function(t){return ut(e,t)},FloatValue:function(t){return ut(e,t)},StringValue:function(t){return ut(e,t)},BooleanValue:function(t){return ut(e,t)}}}function ut(e,t){var n=e.getInputType();if(n){var r=Object(V.A)(n);if(Object(V.I)(r))try{if(void 0===r.parseLiteral(t,void 0)){var i=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(i,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}catch(r){var o=Object(a.a)(n);r instanceof l.a?e.reportError(r):e.reportError(new l.a('Expected value of type \"'.concat(o,'\", found ').concat(Object(qe.a)(t),\"; \")+r.message,t,void 0,void 0,void 0,r))}else{var s=Object(a.a)(n);e.reportError(new l.a('Expected value of type \"'.concat(s,'\", found ').concat(Object(qe.a)(t),\".\"),t))}}}function ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dt(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ft(Object(n),!0).forEach((function(t){pt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ht(e),{Field:{leave:function(t){var n,r=e.getFieldDef();if(!r)return!1;for(var i=null!==(n=t.arguments)&&void 0!==n?n:[],o=Object(lt.a)(i,(function(e){return e.name.value})),s=0,c=r.args;s<c.length;s++){var u=c[s];if(!o[u.name]&&Object(V.P)(u)){var f=Object(a.a)(u.type);e.reportError(new l.a('Field \"'.concat(r.name,'\" argument \"').concat(u.name,'\" of type \"').concat(f,'\" is required, but it was not provided.'),t))}}}}})}function ht(e){for(var t=Object.create(null),n=e.getSchema(),r=n?n.getDirectives():re,i=0;i<r.length;i++){var o=r[i];t[o.name]=Object(lt.a)(o.args.filter(V.P),(function(e){return e.name}))}for(var s=e.getDocument().definitions,c=0;c<s.length;c++){var f=s[c];if(f.kind===u.a.DIRECTIVE_DEFINITION){var p,d=null!==(p=f.arguments)&&void 0!==p?p:[];t[f.name.value]=Object(lt.a)(d.filter(mt),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var r=n.name.value,i=t[r];if(i)for(var o,s=null!==(o=n.arguments)&&void 0!==o?o:[],c=Object(lt.a)(s,(function(e){return e.name.value})),u=0,f=Object.keys(i);u<f.length;u++){var p=f[u];if(!c[p]){var d=i[p].type,h=Object(V.S)(d)?Object(a.a)(d):Object(qe.a)(d);e.reportError(new l.a('Directive \"@'.concat(r,'\" argument \"').concat(p,'\" of type \"').concat(h,'\" is required, but it was not provided.'),n))}}}}}}function mt(e){return e.type.kind===u.a.NON_NULL_TYPE&&null==e.defaultValue}function vt(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var r=e.getRecursiveVariableUsages(n),i=0;i<r.length;i++){var o=r[i],s=o.node,c=o.type,u=o.defaultValue,f=s.name.value,p=t[f];if(p&&c){var d=e.getSchema(),h=Ne(d,p.type);if(h&&!gt(d,h,p.defaultValue,c,u)){var m=Object(a.a)(h),v=Object(a.a)(c);e.reportError(new l.a('Variable \"$'.concat(f,'\" of type \"').concat(m,'\" used in position expecting type \"').concat(v,'\".'),[p,s]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function gt(e,t,n,r,i){return Object(V.L)(r)&&!Object(V.L)(t)?(null!=n&&n.kind!==u.a.NULL||void 0!==i)&&B(e,t,r.ofType):B(e,t,r)}function yt(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields \"'.concat(t,'\" conflict because ')+yt(n)})).join(\" and \"):e}function bt(e){var t=new Ct,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var o=[],a=_t(e,t,r,i),s=a[0],l=a[1];if(function(e,t,n,r,i){for(var o=0,a=Object(H.a)(i);o<a.length;o++){var s=a[o],l=s[0],c=s[1];if(c.length>1)for(var u=0;u<c.length;u++)for(var f=u+1;f<c.length;f++){var p=xt(e,n,r,!1,l,c[u],c[f]);p&&t.push(p)}}}(e,o,t,n,s),0!==l.length)for(var c=0;c<l.length;c++){Tt(e,o,t,n,!1,s,l[c]);for(var u=c+1;u<l.length;u++)Et(e,o,t,n,!1,l[c],l[u])}return o}(e,n,t,e.getParentType(),r),o=0;o<i.length;o++){var a=i[o],s=a[0],c=s[0],u=s[1],f=a[1],p=a[2],d=yt(u);e.reportError(new l.a('Fields \"'.concat(c,'\" conflict because ').concat(d,\". Use different aliases on the fields to fetch both if this was intentional.\"),f.concat(p)))}}}}function Tt(e,t,n,r,i,o,a){var s=e.getFragment(a);if(s){var l=kt(e,n,s),c=l[0],u=l[1];if(o!==c){Ot(e,t,n,r,i,o,c);for(var f=0;f<u.length;f++)Tt(e,t,n,r,i,o,u[f])}}}function Et(e,t,n,r,i,o,a){if(o!==a&&!r.has(o,a,i)){r.add(o,a,i);var s=e.getFragment(o),l=e.getFragment(a);if(s&&l){var c=kt(e,n,s),u=c[0],f=c[1],p=kt(e,n,l),d=p[0],h=p[1];Ot(e,t,n,r,i,u,d);for(var m=0;m<h.length;m++)Et(e,t,n,r,i,o,h[m]);for(var v=0;v<f.length;v++)Et(e,t,n,r,i,f[v],a)}}}function Ot(e,t,n,r,i,o,a){for(var s=0,l=Object.keys(o);s<l.length;s++){var c=l[s],u=a[c];if(u)for(var f=o[c],p=0;p<f.length;p++)for(var d=0;d<u.length;d++){var h=xt(e,n,r,i,c,f[p],u[d]);h&&t.push(h)}}}function xt(e,t,n,r,i,o,s){var l=o[0],c=o[1],u=o[2],f=s[0],p=s[1],d=s[2],h=r||l!==f&&Object(V.N)(l)&&Object(V.N)(f);if(!h){var m,v,g=c.name.value,y=p.name.value;if(g!==y)return[[i,'\"'.concat(g,'\" and \"').concat(y,'\" are different fields')],[c],[p]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,r,i=I(t,(function(t){return t.name.value===e.name.value}));return!!i&&(n=e.value,r=i.value,Object(qe.a)(n)===Object(qe.a)(r))}))}(null!==(m=c.arguments)&&void 0!==m?m:[],null!==(v=p.arguments)&&void 0!==v?v:[]))return[[i,\"they have differing arguments\"],[c],[p]]}var b=null==u?void 0:u.type,T=null==d?void 0:d.type;if(b&&T&&function e(t,n){if(Object(V.J)(t))return!Object(V.J)(n)||e(t.ofType,n.ofType);if(Object(V.J)(n))return!0;if(Object(V.L)(t))return!Object(V.L)(n)||e(t.ofType,n.ofType);if(Object(V.L)(n))return!0;if(Object(V.I)(t)||Object(V.I)(n))return t!==n;return!1}(b,T))return[[i,'they return conflicting types \"'.concat(Object(a.a)(b),'\" and \"').concat(Object(a.a)(T),'\"')],[c],[p]];var E=c.selectionSet,O=p.selectionSet;return E&&O?function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(function(e,t,n,r,i,o,a,s){var l=[],c=_t(e,t,i,o),u=c[0],f=c[1],p=_t(e,t,a,s),d=p[0],h=p[1];if(Ot(e,l,t,n,r,u,d),0!==h.length)for(var m=0;m<h.length;m++)Tt(e,l,t,n,r,u,h[m]);if(0!==f.length)for(var v=0;v<f.length;v++)Tt(e,l,t,n,r,d,f[v]);for(var g=0;g<f.length;g++)for(var y=0;y<h.length;y++)Et(e,l,t,n,r,f[g],h[y]);return l}(e,t,n,h,Object(V.A)(b),E,Object(V.A)(T),O),i,c,p):void 0}function _t(e,t,n,r){var i=t.get(r);if(!i){var o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(var a=0,s=r.selections;a<s.length;a++){var l=s[a];switch(l.kind){case u.a.FIELD:var c=l.name.value,f=void 0;(Object(V.N)(n)||Object(V.H)(n))&&(f=n.getFields()[c]);var p=l.alias?l.alias.value:c;i[p]||(i[p]=[]),i[p].push([n,l,f]);break;case u.a.FRAGMENT_SPREAD:o[l.name.value]=!0;break;case u.a.INLINE_FRAGMENT:var d=l.typeCondition,h=d?Ne(t.getSchema(),d):n;e(t,h,l.selectionSet,i,o)}}}(e,n,r,o,a),i=[o,Object.keys(a)],t.set(r,i)}return i}function kt(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=Ne(e.getSchema(),n.typeCondition);return _t(e,t,i,n.selectionSet)}var wt,Ct=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){St(this._data,e,t,n),St(this._data,t,e,n)},e}();function St(e,t,n,r){var i=e[t];i||(i=Object.create(null),e[t]=i),i[n]=r}function Nt(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new l.a('There can be only one input field named \"'.concat(r,'\".'),[n[r],t.name])):n[r]=t.name}}}function Dt(e){var t,n,r,i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition:function(t){o?e.reportError(new l.a(\"Cannot define a new schema within a schema extension.\",t)):(a>0&&e.reportError(new l.a(\"Must provide only one schema definition.\",t)),++a)}}}function It(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,o=null!==(i=t.operationTypes)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],c=s.operation,u=n[c];r[c]?e.reportError(new l.a(\"Type for \".concat(c,\" already defined in the schema. It cannot be redefined.\"),s)):u?e.reportError(new l.a(\"There can be only one \".concat(c,\" type in schema.\"),[u,s])):n[c]=s}return!1}}function At(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;if(!(null==n?void 0:n.getType(i)))return t[i]?e.reportError(new l.a('There can be only one type named \"'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Type \"'.concat(i,'\" already exists in the schema. It cannot also be defined in this type definition.'),r.name))}}function Lt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value,p=n[o];Object(V.E)(p)&&p.getValue(f)?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Enum value \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function jt(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o=t.name.value;r[o]||(r[o]=Object.create(null));for(var a=null!==(i=t.fields)&&void 0!==i?i:[],s=r[o],c=0;c<a.length;c++){var u=a[c],f=u.name.value;Ft(n[o],f)?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" already exists in the schema. It cannot also be defined in this type extension.'),u.name)):s[f]?e.reportError(new l.a('Field \"'.concat(o,\".\").concat(f,'\" can only be defined once.'),[s[f],u.name])):s[f]=u.name}return!1}}function Ft(e,t){return!!(Object(V.N)(e)||Object(V.H)(e)||Object(V.F)(e))&&e.getFields()[t]}function Mt(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;if(!(null==n?void 0:n.getDirective(i)))return t[i]?e.reportError(new l.a('There can be only one directive named \"@'.concat(i,'\".'),[t[i],r.name])):t[i]=r.name,!1;e.reportError(new l.a('Directive \"@'.concat(i,'\" already exists in the schema. It cannot be redefined.'),r.name))}}}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pt(e){for(var t=e.getSchema(),n=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var o=i[r];Object(Ve.d)(o)&&(n[o.name.value]=o)}return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(r){var i,o=r.name.value,s=n[o],c=null==t?void 0:t.getType(o);if(s?i=Vt[s.kind]:c&&(i=function(e){if(Object(V.R)(e))return u.a.SCALAR_TYPE_EXTENSION;if(Object(V.N)(e))return u.a.OBJECT_TYPE_EXTENSION;if(Object(V.H)(e))return u.a.INTERFACE_TYPE_EXTENSION;if(Object(V.T)(e))return u.a.UNION_TYPE_EXTENSION;if(Object(V.E)(e))return u.a.ENUM_TYPE_EXTENSION;if(Object(V.F)(e))return u.a.INPUT_OBJECT_TYPE_EXTENSION;Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}(c)),i){if(i!==r.kind){var f=function(e){switch(e){case u.a.SCALAR_TYPE_EXTENSION:return\"scalar\";case u.a.OBJECT_TYPE_EXTENSION:return\"object\";case u.a.INTERFACE_TYPE_EXTENSION:return\"interface\";case u.a.UNION_TYPE_EXTENSION:return\"union\";case u.a.ENUM_TYPE_EXTENSION:return\"enum\";case u.a.INPUT_OBJECT_TYPE_EXTENSION:return\"input object\"}Object(Se.a)(!1,\"Unexpected kind: \"+Object(a.a)(e))}(r.kind);e.reportError(new l.a(\"Cannot extend non-\".concat(f,' type \"').concat(o,'\".'),s?[s,r]:r))}}else{var p=Object.keys(n);t&&(p=p.concat(Object.keys(t.getTypeMap())));var d=Object(Pe.a)(o,p);e.reportError(new l.a('Cannot extend type \"'.concat(o,'\" because it is not defined.')+Object(Re.a)(d),r.name))}}}var Vt=(Rt(wt={},u.a.SCALAR_TYPE_DEFINITION,u.a.SCALAR_TYPE_EXTENSION),Rt(wt,u.a.OBJECT_TYPE_DEFINITION,u.a.OBJECT_TYPE_EXTENSION),Rt(wt,u.a.INTERFACE_TYPE_DEFINITION,u.a.INTERFACE_TYPE_EXTENSION),Rt(wt,u.a.UNION_TYPE_DEFINITION,u.a.UNION_TYPE_EXTENSION),Rt(wt,u.a.ENUM_TYPE_DEFINITION,u.a.ENUM_TYPE_EXTENSION),Rt(wt,u.a.INPUT_OBJECT_TYPE_DEFINITION,u.a.INPUT_OBJECT_TYPE_EXTENSION),wt);var Ut=Object.freeze([Le.a,je,Fe,Me,Ue,He,ze,Ge,Ke,Qe,We,Ye,Je,$e,Xe,Ze,et,tt,nt,ot,st,ct,dt,vt,bt,Nt]),Bt=Object.freeze([Dt,It,At,Lt,jt,Mt,Ue,tt,nt,Pt,at,st,Nt,ht]);function qt(e){return(qt=\"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 Ht(e){return function(){var t,n=Kt(e);if(Gt()){var r=Kt(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return zt(this,t)}}function zt(e,t){return!t||\"object\"!==qt(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function Gt(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Kt(e){return(Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Wt=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===u.a.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var r=0,i=n.pop().selections;r<i.length;r++){var o=i[r];o.kind===u.a.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var i=r.pop(),o=0,a=this.getFragmentSpreads(i);o<a.length;o++){var s=a[o].name.value;if(!0!==n[s]){n[s]=!0;var l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),Yt=function(e){Qt(t,e);Ht(t);function t(t,n,r){var i;return(i=e.call(this,t,r)||this)._schema=n,i}return t.prototype.getSchema=function(){return this._schema},t}(Wt),Jt=function(e){Qt(t,e);Ht(t);function t(t,n,r,i){var o;return(o=e.call(this,n,i)||this)._schema=t,o._typeInfo=r,o._variableUsages=new Map,o._recursiveVariableUsages=new Map,o}var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new De(this._schema);Object(D.c)(e,Ae(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var i=r[n];t=t.concat(this.getVariableUsages(i))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},t}(Wt);function $t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ut,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new De(e),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||Object(s.a)(0,\"Must provide document.\"),de(e);var o=Object.freeze({}),a=[],c=new Jt(e,t,r,(function(e){if(null!=i.maxErrors&&a.length>=i.maxErrors)throw a.push(new l.a(\"Too many validation errors, error limit reached. Validation aborted.\")),o;a.push(e)})),u=Object(D.d)(n.map((function(e){return e(c)})));try{Object(D.c)(t,Ae(r,u))}catch(e){if(e!==o)throw e}return a}function Xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bt,r=[],i=new Yt(e,t,(function(e){r.push(e)})),o=n.map((function(e){return e(i)}));return Object(D.c)(e,Object(D.d)(o)),r}var Zt=n(35);function en(e,t){return{prev:e,key:t}}function tn(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function nn(e,t){if(\"query\"===t.operation){var n=e.getQueryType();if(!n)throw new l.a(\"Schema does not define the required query root type.\",t);return n}if(\"mutation\"===t.operation){var r=e.getMutationType();if(!r)throw new l.a(\"Schema is not configured for mutations.\",t);return r}if(\"subscription\"===t.operation){var i=e.getSubscriptionType();if(!i)throw new l.a(\"Schema is not configured for subscriptions.\",t);return i}throw new l.a(\"Can only have query, mutation and subscription operations.\",t)}function rn(e){return e.map((function(e){return\"number\"==typeof e?\"[\"+e.toString()+\"]\":\".\"+e})).join(\"\")}function on(e,t,n){if(e){if(e.kind===u.a.VARIABLE){var r=e.name.value;if(null==n||void 0===n[r])return;var i=n[r];if(null===i&&Object(V.L)(t))return;return i}if(Object(V.L)(t)){if(e.kind===u.a.NULL)return;return on(e,t.ofType,n)}if(e.kind===u.a.NULL)return null;if(Object(V.J)(t)){var o=t.ofType;if(e.kind===u.a.LIST){for(var s=[],l=0,c=e.values;l<c.length;l++){var f=c[l];if(an(f,n)){if(Object(V.L)(o))return;s.push(null)}else{var p=on(f,o,n);if(void 0===p)return;s.push(p)}}return s}var d=on(e,o,n);if(void 0===d)return;return[d]}if(Object(V.F)(t)){if(e.kind!==u.a.OBJECT)return;for(var h=Object.create(null),m=Object(lt.a)(e.fields,(function(e){return e.name.value})),v=0,g=Object(j.a)(t.getFields());v<g.length;v++){var y=g[v],b=m[y.name];if(b&&!an(b.value,n)){var T=on(b.value,y.type,n);if(void 0===T)return;h[y.name]=T}else if(void 0!==y.defaultValue)h[y.name]=y.defaultValue;else if(Object(V.L)(y.type))return}return h}if(Object(V.I)(t)){var E;try{E=t.parseLiteral(e,n)}catch(e){return}if(void 0===E)return;return E}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}}function an(e,t){return e.kind===u.a.VARIABLE&&(null==t||void 0===t[e.name.value])}function sn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ln;return cn(e,t,n)}function ln(e,t,n){var r=\"Invalid value \"+Object(a.a)(t);throw e.length>0&&(r+=' at \"value'.concat(rn(e),'\"')),n.message=r+\": \"+n.message,n}function cn(e,t,n,r){if(Object(V.L)(t))return null!=e?cn(e,t.ofType,n,r):void n(tn(r),e,new l.a('Expected non-nullable type \"'.concat(Object(a.a)(t),'\" not to be null.')));if(null==e)return null;if(Object(V.J)(t)){var i=t.ofType;return Object(Zt.a)(e)?Object(ae.a)(e,(function(e,t){var o=en(r,t);return cn(e,i,n,o)})):[cn(e,i,n,r)]}if(Object(V.F)(t)){if(!Object(Q.a)(e))return void n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\" to be an object.')));for(var o={},s=t.getFields(),c=0,u=Object(j.a)(s);c<u.length;c++){var f=u[c],p=e[f.name];if(void 0!==p)o[f.name]=cn(p,f.type,n,en(r,f.name));else if(void 0!==f.defaultValue)o[f.name]=f.defaultValue;else if(Object(V.L)(f.type)){var d=Object(a.a)(f.type);n(tn(r),e,new l.a('Field \"'.concat(f.name,'\" of required type \"').concat(d,'\" was not provided.')))}}for(var h=0,m=Object.keys(e);h<m.length;h++){var v=m[h];if(!s[v]){var g=Object(Pe.a)(v,Object.keys(t.getFields()));n(tn(r),e,new l.a('Field \"'.concat(v,'\" is not defined by type \"').concat(t.name,'\".')+Object(Re.a)(g)))}}return o}if(Object(V.I)(t)){var y;try{y=t.parseValue(e)}catch(i){return void(i instanceof l.a?n(tn(r),e,i):n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\". ')+i.message,void 0,void 0,void 0,void 0,i)))}return void 0===y&&n(tn(r),e,new l.a('Expected type \"'.concat(t.name,'\".'))),y}Object(Se.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}function un(e,t,n,r){var i=[],o=null==r?void 0:r.maxErrors;try{var s=function(e,t,n,r){for(var i={},o=function(o){var s=t[o],c=s.variable.name.value,u=Ne(e,s.type);if(!Object(V.G)(u)){var f=Object(qe.a)(s.type);return r(new l.a('Variable \"$'.concat(c,'\" expected value of type \"').concat(f,'\" which cannot be used as an input type.'),s.type)),\"continue\"}if(!dn(n,c)){if(s.defaultValue)i[c]=on(s.defaultValue,u);else if(Object(V.L)(u)){var p=Object(a.a)(u);r(new l.a('Variable \"$'.concat(c,'\" of required type \"').concat(p,'\" was not provided.'),s))}return\"continue\"}var d=n[c];if(null===d&&Object(V.L)(u)){var h=Object(a.a)(u);return r(new l.a('Variable \"$'.concat(c,'\" of non-null type \"').concat(h,'\" must not be null.'),s)),\"continue\"}i[c]=sn(d,u,(function(e,t,n){var i='Variable \"$'.concat(c,'\" got invalid value ')+Object(a.a)(t);e.length>0&&(i+=' at \"'.concat(c).concat(rn(e),'\"')),r(new l.a(i+\"; \"+n.message,s,void 0,void 0,void 0,n.originalError))}))},s=0;s<t.length;s++)o(s);return i}(e,t,n,(function(e){if(null!=o&&i.length>=o)throw new l.a(\"Too many errors processing variables, error limit reached. Execution aborted.\");i.push(e)}));if(0===i.length)return{coerced:s}}catch(e){i.push(e)}return{errors:i}}function fn(e,t,n){for(var r,i={},o=null!==(r=t.arguments)&&void 0!==r?r:[],s=Object(lt.a)(o,(function(e){return e.name.value})),c=0,f=e.args;c<f.length;c++){var p=f[c],d=p.name,h=p.type,m=s[d];if(m){var v=m.value,g=v.kind===u.a.NULL;if(v.kind===u.a.VARIABLE){var y=v.name.value;if(null==n||!dn(n,y)){if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+'was provided the variable \"$'.concat(y,'\" which was not provided a runtime value.'),v);continue}g=null==n[y]}if(g&&Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of non-null type \"').concat(Object(a.a)(h),'\" ')+\"must not be null.\",v);var b=on(v,h,n);if(void 0===b)throw new l.a('Argument \"'.concat(d,'\" has invalid value ').concat(Object(qe.a)(v),\".\"),v);i[d]=b}else if(void 0!==p.defaultValue)i[d]=p.defaultValue;else if(Object(V.L)(h))throw new l.a('Argument \"'.concat(d,'\" of required type \"').concat(Object(a.a)(h),'\" ')+\"was not provided.\",t)}return i}function pn(e,t,n){var r=t.directives&&I(t.directives,(function(t){return t.name.value===e.name}));if(r)return fn(e,r,n)}function dn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function hn(e,t,n,r,i,o,a,s){return mn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s})}function mn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver;vn(t,n,a);var u=gn(t,n,r,i,a,s,l,c);if(Array.isArray(u))return{errors:u};var f=function(e,t,n){var r=nn(e.schema,t),i=bn(e,r,t.selectionSet,Object.create(null),Object.create(null));try{var a=\"mutation\"===t.operation?function(e,t,n,r,i){return a=Object.keys(i),s=function(a,s){var l=i[s],c=en(r,s),u=On(e,t,n,l,c);return void 0===u?a:o(u)?u.then((function(e){return a[s]=e,a})):(a[s]=u,a)},l=Object.create(null),a.reduce((function(e,t){return o(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,void 0,i):yn(e,r,n,void 0,i);return o(a)?a.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):a}catch(t){return e.errors.push(t),null}}(u,u.operation,r);return function e(t,n){if(o(n))return n.then((function(n){return e(t,n)}));return 0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(u,f)}function vn(e,t,n){t||Object(s.a)(0,\"Must provide document.\"),de(e),null==n||Object(Q.a)(n)||Object(s.a)(0,\"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.\")}function gn(e,t,n,r,i,o,a,s){for(var c,f,p,d=Object.create(null),h=0,m=t.definitions;h<m.length;h++){var v=m[h];switch(v.kind){case u.a.OPERATION_DEFINITION:if(null==o){if(void 0!==p)return[new l.a(\"Must provide operation name if query contains multiple operations.\")];p=v}else(null===(c=v.name)||void 0===c?void 0:c.value)===o&&(p=v);break;case u.a.FRAGMENT_DEFINITION:d[v.name.value]=v}}if(!p)return null!=o?[new l.a('Unknown operation named \"'.concat(o,'\".'))]:[new l.a(\"Must provide an operation.\")];var g=un(e,null!==(f=p.variableDefinitions)&&void 0!==f?f:[],null!=i?i:{},{maxErrors:50});return g.errors?g.errors:{schema:e,fragments:d,rootValue:n,contextValue:r,operation:p,variableValues:g.coerced,fieldResolver:null!=a?a:Rn,typeResolver:null!=s?s:Mn,errors:[]}}function yn(e,t,n,r,i){for(var a,s,l,c=Object.create(null),u=!1,f=0,p=Object.keys(i);f<p.length;f++){var d=p[f],h=On(e,t,n,i[d],en(r,d));void 0!==h&&(c[d]=h,!u&&o(h)&&(u=!0))}return u?(a=c,s=Object.keys(a),l=s.map((function(e){return a[e]})),Promise.all(l).then((function(e){return e.reduce((function(e,t,n){return e[s[n]]=t,e}),Object.create(null))}))):c}function bn(e,t,n,r,i){for(var o=0,a=n.selections;o<a.length;o++){var s=a[o];switch(s.kind){case u.a.FIELD:if(!Tn(e,s))continue;var l=(p=s).alias?p.alias.value:p.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case u.a.INLINE_FRAGMENT:if(!Tn(e,s)||!En(e,s,t))continue;bn(e,t,s.selectionSet,r,i);break;case u.a.FRAGMENT_SPREAD:var c=s.name.value;if(i[c]||!Tn(e,s))continue;i[c]=!0;var f=e.fragments[c];if(!f||!En(e,f,t))continue;bn(e,t,f.selectionSet,r,i)}}var p;return r}function Tn(e,t){var n=pn(ee,t,e.variableValues);if(!0===(null==n?void 0:n.if))return!1;var r=pn(Z,t,e.variableValues);return!1!==(null==r?void 0:r.if)}function En(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=Ne(e.schema,r);return i===n||!!Object(V.C)(i)&&e.schema.isSubType(i,n)}function On(e,t,n,r,i){var o,a=r[0].name.value,s=Pn(e.schema,t,a);if(s){var l=null!==(o=s.resolve)&&void 0!==o?o:e.fieldResolver,c=xn(e,s,r,t,i),u=_n(e,s,r,l,n,c);return wn(e,s.type,r,c,i,u)}}function xn(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function _n(e,t,n,r,i,a){try{var s=r(i,fn(t,n[0],e.variableValues),e.contextValue,a);return o(s)?s.then(void 0,kn):s}catch(e){return kn(e)}}function kn(e){return e instanceof Error?e:new Error(\"Unexpected error value: \"+Object(a.a)(e))}function wn(e,t,n,r,i,a){try{var s;return s=o(a)?a.then((function(o){return Sn(e,t,n,r,i,o)})):Sn(e,t,n,r,i,a),o(s)?s.then(void 0,(function(r){return Cn(r,n,i,t,e)})):s}catch(r){return Cn(r,n,i,t,e)}}function Cn(e,t,n,r,i){var o=F(kn(e),t,tn(n));if(Object(V.L)(r))throw o;return i.errors.push(o),null}function Sn(e,t,n,r,i,s){if(s instanceof Error)throw s;if(Object(V.L)(t)){var c=Sn(e,t.ofType,n,r,i,s);if(null===c)throw new Error(\"Cannot return null for non-nullable field \".concat(r.parentType.name,\".\").concat(r.fieldName,\".\"));return c}return null==s?null:Object(V.J)(t)?function(e,t,n,r,i,a){if(!Object(Zt.a)(a))throw new l.a('Expected Iterable, but did not find one for field \"'.concat(r.parentType.name,\".\").concat(r.fieldName,'\".'));var s=t.ofType,c=!1,u=Object(ae.a)(a,(function(t,a){var l=en(i,a),u=wn(e,s,n,r,l,t);return!c&&o(u)&&(c=!0),u}));return c?Promise.all(u):u}(e,t,n,r,i,s):Object(V.I)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type \"'.concat(Object(a.a)(e),'\" but ')+\"received: \".concat(Object(a.a)(t)));return n}(t,s):Object(V.C)(t)?function(e,t,n,r,i,a){var s,l=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,u=l(a,c,r,t);if(o(u))return u.then((function(o){return Dn(e,Nn(o,e,t,n,r,a),n,r,i,a)}));return Dn(e,Nn(u,e,t,n,r,a),n,r,i,a)}(e,t,n,r,i,s):Object(V.N)(t)?Dn(e,t,n,r,i,s):void Object(Se.a)(!1,\"Cannot complete value of unexpected output type: \"+Object(a.a)(t))}function Nn(e,t,n,r,i,o){var s=\"string\"==typeof e?t.schema.getType(e):e;if(!Object(V.N)(s))throw new l.a('Abstract type \"'.concat(n.name,'\" must resolve to an Object type at runtime for field \"').concat(i.parentType.name,\".\").concat(i.fieldName,'\" with ')+\"value \".concat(Object(a.a)(o),', received \"').concat(Object(a.a)(s),'\". ')+'Either the \"'.concat(n.name,'\" type should provide a \"resolveType\" function or each possible type should provide an \"isTypeOf\" function.'),r);if(!t.schema.isSubType(n,s))throw new l.a('Runtime Object type \"'.concat(s.name,'\" is not a possible type for \"').concat(n.name,'\".'),r);return s}function Dn(e,t,n,r,i,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(o(s))return s.then((function(r){if(!r)throw In(t,a,n);return An(e,t,n,i,a)}));if(!s)throw In(t,a,n)}return An(e,t,n,i,a)}function In(e,t,n){return new l.a('Expected value of type \"'.concat(e.name,'\" but got: ').concat(Object(a.a)(t),\".\"),n)}function An(e,t,n,r,i){return yn(e,t,i,r,Fn(e,t,n))}var Ln,jn,Fn=(Ln=function(e,t,n){for(var r=Object.create(null),i=Object.create(null),o=0;o<n.length;o++){var a=n[o];a.selectionSet&&(r=bn(e,t,a.selectionSet,r,i))}return r},function(e,t,n){jn||(jn=new WeakMap);var r,i=jn.get(e);if(i){if(r=i.get(t)){var o=r.get(n);if(void 0!==o)return o}}else i=new WeakMap,jn.set(e,i);r||(r=new WeakMap,i.set(t,r));var a=Ln(e,t,n);return r.set(n,a),a});var Mn=function(e,t,n,r){if(Object(Q.a)(e)&&\"string\"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],s=0;s<i.length;s++){var l=i[s];if(l.isTypeOf){var c=l.isTypeOf(e,t,n);if(o(c))a[s]=c;else if(c)return l}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t]})):void 0},Rn=function(e,t,n,r){if(Object(Q.a)(e)||\"function\"==typeof e){var i=e[r.fieldName];return\"function\"==typeof i?e[r.fieldName](t,n,r):i}};function Pn(e,t,n){return n===oe.SchemaMetaFieldDef.name&&e.getQueryType()===t?oe.SchemaMetaFieldDef:n===oe.TypeMetaFieldDef.name&&e.getQueryType()===t?oe.TypeMetaFieldDef:n===oe.TypeNameMetaFieldDef.name?oe.TypeNameMetaFieldDef:t.getFields()[n]}function Vn(e,t,n,r,i,o,a,s){var l=arguments;return new Promise((function(c){return c(1===l.length?Bn(e):Bn({schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,typeResolver:s}))}))}function Un(e,t,n,r,i,a,s,l){var c=Bn(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:i,operationName:a,fieldResolver:s,typeResolver:l});if(o(c))throw new Error(\"GraphQL execution failed to complete synchronously.\");return c}function Bn(e){var t,n=e.schema,r=e.source,i=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver,u=pe(n);if(u.length>0)return{errors:u};try{t=_(r)}catch(e){return{errors:[e]}}var f=$t(n,t);return f.length>0?{errors:f}:hn({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:l,typeResolver:c})}var qn=n(39),Hn=n(60);function zn(e,t,n){var r,i,o,a,s,l,c=e[f.a].call(e);function u(e){return e.done?e:Gn(e.value,t).then(Kn,i)}if(\"function\"==typeof c.return&&(r=c.return,i=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var p=n;o=function(e){return Gn(e,p).then(Kn,i)}}return a={next:function(){return c.next().then(u,o)},return:function(){return r?r.call(c).then(u,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return\"function\"==typeof c.throw?c.throw(e).then(u,o):Promise.reject(e).catch(i)}},s=f.a,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function Gn(e,t){return new Promise((function(n){return n(t(e))}))}function Kn(e){return{value:e,done:!1}}function Qn(e){return(Qn=\"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 Wn(e,t,n,r,i,o,a,s){return Jn(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:i,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function Yn(e){if(e instanceof l.a)return{errors:[e]};throw e}function Jn(e){var t=e.schema,n=e.document,r=e.rootValue,i=e.contextValue,o=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=$n(t,n,r,i,o,a,l),u=function(e){return hn({schema:t,document:n,rootValue:e,contextValue:i,variableValues:o,operationName:a,fieldResolver:s})};return c.then((function(e){return Xn(e)?zn(e,u,Yn):e}))}function $n(e,t,n,r,i,o,s){vn(e,t,i);try{var c,u=gn(e,t,n,r,i,o,s);if(Array.isArray(u))return Promise.resolve({errors:u});var f=nn(e,u.operation),p=bn(u,f,u.operation.selectionSet,Object.create(null),Object.create(null)),d=Object.keys(p)[0],h=p[d],m=h[0].name.value,v=Pn(e,f,m);if(!v)throw new l.a('The subscription field \"'.concat(m,'\" is not defined.'),h);var g=null!==(c=v.subscribe)&&void 0!==c?c:u.fieldResolver,y=en(void 0,d),b=xn(u,v,h,f,y),T=_n(u,v,h,g,n,b);return Promise.resolve(T).then((function(e){if(e instanceof Error)return{errors:[F(e,h,tn(y))]};if(Xn(e))return e;throw new Error(\"Subscription field must return Async Iterable. \"+\"Received: \".concat(Object(a.a)(e),\".\"))}))}catch(e){return e instanceof l.a?Promise.resolve({errors:[e]}):Promise.reject(e)}}function Xn(e){return null!=e&&\"object\"===Qn(e)&&\"function\"==typeof e[f.a]}function Zn(e){var t;e||Object(s.a)(0,\"Received null or undefined error.\");var n=null!==(t=e.message)&&void 0!==t?t:\"An unknown error occurred.\",r=e.locations,i=e.path,o=e.extensions;return o?{message:n,locations:r,path:i,extensions:o}:{message:n,locations:r,path:i}}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){tr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,directiveIsRepeatable:!1,schemaDescription:!1},e),n=t.descriptions?\"description\":\"\",r=t.directiveIsRepeatable?\"isRepeatable\":\"\",i=t.schemaDescription?n:\"\";return\"\\n    query IntrospectionQuery {\\n      __schema {\\n        \".concat(i,\"\\n        queryType { name }\\n        mutationType { name }\\n        subscriptionType { name }\\n        types {\\n          ...FullType\\n        }\\n        directives {\\n          name\\n          \").concat(n,\"\\n          \").concat(r,\"\\n          locations\\n          args {\\n            ...InputValue\\n          }\\n        }\\n      }\\n    }\\n\\n    fragment FullType on __Type {\\n      kind\\n      name\\n      \").concat(n,\"\\n      fields(includeDeprecated: true) {\\n        name\\n        \").concat(n,\"\\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(n,\"\\n        isDeprecated\\n        deprecationReason\\n      }\\n      possibleTypes {\\n        ...TypeRef\\n      }\\n    }\\n\\n    fragment InputValue on __InputValue {\\n      name\\n      \").concat(n,\"\\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  \")}function rr(e,t){for(var n=null,r=0,i=e.definitions;r<i.length;r++){var o,a=i[r];if(a.kind===u.a.OPERATION_DEFINITION)if(null==t){if(n)return null;n=a}else if((null===(o=a.name)||void 0===o?void 0:o.value)===t)return a}return n}function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t){var n=hn({schema:e,document:_(nr(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){or(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({directiveIsRepeatable:!0,schemaDescription:!0},t)))});return!o(n)&&!n.errors&&n.data||Object(Se.a)(0),n.data}var sr=n(26);function lr(e,t){Object(Q.a)(e)&&Object(Q.a)(e.__schema)||Object(s.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing \"data\" property of introspection response and no \"errors\" was returned alongside: '.concat(Object(a.a)(e),\".\"));for(var n=e.__schema,r=Object(sr.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case oe.TypeKind.SCALAR:return r=e,new V.g({name:r.name,description:r.description});case oe.TypeKind.OBJECT:return n=e,new V.f({name:n.name,description:n.description,interfaces:function(){return g(n)},fields:function(){return y(n)}});case oe.TypeKind.INTERFACE:return t=e,new V.c({name:t.name,description:t.description,interfaces:function(){return g(t)},fields:function(){return y(t)}});case oe.TypeKind.UNION:return function(e){if(!e.possibleTypes){var t=Object(a.a)(e);throw new Error(\"Introspection result missing possibleTypes: \".concat(t,\".\"))}return new V.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(m)}})}(e);case oe.TypeKind.ENUM:return function(e){if(!e.enumValues){var t=Object(a.a)(e);throw new Error(\"Introspection result missing enumValues: \".concat(t,\".\"))}return new V.a({name:e.name,description:e.description,values:Object(sr.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case oe.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=Object(a.a)(e);throw new Error(\"Introspection result missing inputFields: \".concat(t,\".\"))}return new V.b({name:e.name,description:e.description,fields:function(){return T(e.inputFields)}})}(e)}var t;var n;var r;var i=Object(a.a)(e);throw new Error(\"Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: \".concat(i,\".\"))}(e)})),i=0,o=[].concat(W.g,oe.introspectionTypes);i<o.length;i++){var l=o[i];r[l.name]&&(r[l.name]=l)}var c=n.queryType?m(n.queryType):null,u=n.mutationType?m(n.mutationType):null,f=n.subscriptionType?m(n.subscriptionType):null,p=n.directives?n.directives.map((function(e){if(!e.args){var t=Object(a.a)(e);throw new Error(\"Introspection result missing directive args: \".concat(t,\".\"))}if(!e.locations){var n=Object(a.a)(e);throw new Error(\"Introspection result missing directive locations: \".concat(n,\".\"))}return new X({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:T(e.args)})})):[];return new ue({description:n.description,query:c,mutation:u,subscription:f,types:Object(j.a)(r),directives:p,assumeValid:null==t?void 0:t.assumeValid});function d(e){if(e.kind===oe.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error(\"Decorated type deeper than introspection query.\");return Object(V.d)(d(t))}if(e.kind===oe.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error(\"Decorated type deeper than introspection query.\");var r=d(n);return Object(V.e)(Object(V.t)(r))}return h(e)}function h(e){var t=e.name;if(!t)throw new Error(\"Unknown type reference: \".concat(Object(a.a)(e),\".\"));var n=r[t];if(!n)throw new Error(\"Invalid or incomplete schema, unknown type: \".concat(t,\". Ensure that a full introspection query is used in order to build a client schema.\"));return n}function m(e){return Object(V.u)(h(e))}function v(e){return Object(V.o)(h(e))}function g(e){if(null===e.interfaces&&e.kind===oe.TypeKind.INTERFACE)return[];if(!e.interfaces){var t=Object(a.a)(e);throw new Error(\"Introspection result missing interfaces: \".concat(t,\".\"))}return e.interfaces.map(v)}function y(e){if(!e.fields)throw new Error(\"Introspection result missing fields: \".concat(Object(a.a)(e),\".\"));return Object(sr.a)(e.fields,(function(e){return e.name}),b)}function b(e){var t=d(e.type);if(!Object(V.O)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide output type for fields, but received: \".concat(n,\".\"))}if(!e.args){var r=Object(a.a)(e);throw new Error(\"Introspection result missing field args: \".concat(r,\".\"))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:T(e.args)}}function T(e){return Object(sr.a)(e,(function(e){return e.name}),E)}function E(e){var t=d(e.type);if(!Object(V.G)(t)){var n=Object(a.a)(t);throw new Error(\"Introspection must provide input type for arguments, but received: \".concat(n,\".\"))}var r=null!=e.defaultValue?on(k(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r}}}var cr=n(29);function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t,n){ce(e),null!=t&&t.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&function(e,t){var n=Xt(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join(\"\\n\\n\"))}(t,e);var r=e.toConfig(),i=hr(r,t,n);return r===i?e:new ue(i)}function hr(e,t,n){for(var r,i,o,s,l,c=[],f=Object.create(null),p=[],d=[],h=0,m=t.definitions;h<m.length;h++){var v=m[h];if(v.kind===u.a.SCHEMA_DEFINITION)l=v;else if(v.kind===u.a.SCHEMA_EXTENSION)d.push(v);else if(Object(Ve.d)(v))c.push(v);else if(Object(Ve.e)(v)){var g=v.name.value,y=f[g];f[g]=y?y.concat([v]):[v]}else v.kind===u.a.DIRECTIVE_DEFINITION&&p.push(v)}if(0===Object.keys(f).length&&0===c.length&&0===p.length&&0===d.length&&null==l)return e;for(var b=Object.create(null),T=0,E=e.types;T<E.length;T++){var O=E[T];b[O.name]=D(O)}for(var x=0;x<c.length;x++){var _,k=c[x],w=k.name.value;b[w]=null!==(_=mr[w])&&void 0!==_?_:z(k)}var C=fr({query:e.query&&N(e.query),mutation:e.mutation&&N(e.mutation),subscription:e.subscription&&N(e.subscription)},l&&L([l]),{},L(d));return fr({description:null===(r=l)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},C,{types:Object(j.a)(b),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new X(fr({},t,{args:Object(cr.a)(t.args,A)}))})),p.map((function(e){var t=e.locations.map((function(e){return e.value}));return new X({name:e.name.value,description:gr(e,n),locations:t,isRepeatable:e.repeatable,args:P(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(o=l)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(s=null==n?void 0:n.assumeValid)&&void 0!==s&&s});function S(e){return Object(V.J)(e)?new V.d(S(e.ofType)):Object(V.L)(e)?new V.e(S(e.ofType)):N(e)}function N(e){return b[e.name]}function D(e){return Object(oe.isIntrospectionType)(e)||Object(W.f)(e)?e:Object(V.R)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.g(fr({},n,{extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.N)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.f(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.H)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.c(fr({},n,{interfaces:function(){return[].concat(e.getInterfaces().map(N),q(r))},fields:function(){return fr({},Object(cr.a)(n.fields,I),{},R(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.T)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.h(fr({},n,{types:function(){return[].concat(e.getTypes().map(N),H(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.E)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[e.name])&&void 0!==t?t:[];return new V.a(fr({},n,{values:fr({},n.values,{},B(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):Object(V.F)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=f[n.name])&&void 0!==t?t:[];return new V.b(fr({},n,{fields:function(){return fr({},Object(cr.a)(n.fields,(function(e){return fr({},e,{type:S(e.type)})})),{},U(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function I(e){return fr({},e,{type:S(e.type),args:Object(cr.a)(e.args,A)})}function A(e){return fr({},e,{type:S(e.type)})}function L(e){for(var t={},n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t[a.operation]=F(a.type)}return t}function F(e){var t,n=e.name.value,r=null!==(t=mr[n])&&void 0!==t?t:b[n];if(void 0===r)throw new Error('Unknown type: \"'.concat(n,'\".'));return r}function M(e){return e.kind===u.a.LIST_TYPE?new V.d(M(e.type)):e.kind===u.a.NON_NULL_TYPE?new V.e(M(e.type)):F(e)}function R(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={type:M(s.type),description:gr(s,n),args:P(s.arguments),deprecationReason:vr(s),astNode:s}}return t}function P(e){for(var t=null!=e?e:[],r=Object.create(null),i=0;i<t.length;i++){var o=t[i],a=M(o.type);r[o.name.value]={type:a,description:gr(o,n),defaultValue:on(o.defaultValue,a),astNode:o}}return r}function U(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].fields)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a],l=M(s.type);t[s.name.value]={type:l,description:gr(s,n),defaultValue:on(s.defaultValue,l),astNode:s}}return t}function B(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var i,o=null!==(i=e[r].values)&&void 0!==i?i:[],a=0;a<o.length;a++){var s=o[a];t[s.name.value]={description:gr(s,n),deprecationReason:vr(s),astNode:s}}return t}function q(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].interfaces)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function H(e){for(var t=[],n=0;n<e.length;n++)for(var r,i=null!==(r=e[n].types)&&void 0!==r?r:[],o=0;o<i.length;o++){var a=i[o];t.push(F(a))}return t}function z(e){var t,r=e.name.value,i=gr(e,n),o=null!==(t=f[r])&&void 0!==t?t:[];switch(e.kind){case u.a.OBJECT_TYPE_DEFINITION:var s=o,l=[e].concat(s);return new V.f({name:r,description:i,interfaces:function(){return q(l)},fields:function(){return R(l)},astNode:e,extensionASTNodes:s});case u.a.INTERFACE_TYPE_DEFINITION:var c=o,p=[e].concat(c);return new V.c({name:r,description:i,interfaces:function(){return q(p)},fields:function(){return R(p)},astNode:e,extensionASTNodes:c});case u.a.ENUM_TYPE_DEFINITION:var d=o,h=[e].concat(d);return new V.a({name:r,description:i,values:B(h),astNode:e,extensionASTNodes:d});case u.a.UNION_TYPE_DEFINITION:var m=o,v=[e].concat(m);return new V.h({name:r,description:i,types:function(){return H(v)},astNode:e,extensionASTNodes:m});case u.a.SCALAR_TYPE_DEFINITION:var g=o;return new V.g({name:r,description:i,astNode:e,extensionASTNodes:g});case u.a.INPUT_OBJECT_TYPE_DEFINITION:var y=o,b=[e].concat(y);return new V.b({name:r,description:i,fields:function(){return U(b)},astNode:e,extensionASTNodes:y})}Object(Se.a)(!1,\"Unexpected type definition node: \"+Object(a.a)(e))}}var mr=Object(lt.a)(W.g.concat(oe.introspectionTypes),(function(e){return e.name}));function vr(e){var t=pn(ne,e);return null==t?void 0:t.reason}function gr(e,t){if(e.description)return e.description.value;if(!0===(null==t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;null!=r&&r.kind===m.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.length>0?n.reverse().join(\"\\n\"):void 0}(e);if(void 0!==n)return Object(g.a)(\"\\n\"+n)}}function yr(e,t){null!=e&&e.kind===u.a.DOCUMENT||Object(s.a)(0,\"Must provide valid Document AST.\"),!0!==(null==t?void 0:t.assumeValid)&&!0!==(null==t?void 0:t.assumeValidSDL)&&function(e){var t=Xt(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join(\"\\n\\n\"))}(e);var n=hr(br,e,t);if(null==n.astNode)for(var r=0,i=n.types;r<i.length;r++){var o=i[r];switch(o.name){case\"Query\":n.query=o;break;case\"Mutation\":n.mutation=o;break;case\"Subscription\":n.subscription=o}}var a=n.directives;return a.some((function(e){return\"skip\"===e.name}))||a.push(ee),a.some((function(e){return\"include\"===e.name}))||a.push(Z),a.some((function(e){return\"deprecated\"===e.name}))||a.push(ne),new ue(n)}var br=new ue({directives:[]}).toConfig();function Tr(e,t){return yr(_(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function Er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(n),!0).forEach((function(t){xr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _r(e){var t=e.toConfig(),n=Object(sr.a)(wr(t.types),(function(e){return e.name}),(function(e){if(Object(V.R)(e)||Object(oe.isIntrospectionType)(e))return e;if(Object(V.N)(e)){var t=e.toConfig();return new V.f(Or({},t,{interfaces:function(){return c(t.interfaces)},fields:function(){return l(t.fields)}}))}if(Object(V.H)(e)){var n=e.toConfig();return new V.c(Or({},n,{interfaces:function(){return c(n.interfaces)},fields:function(){return l(n.fields)}}))}if(Object(V.T)(e)){var i=e.toConfig();return new V.h(Or({},i,{types:function(){return c(i.types)}}))}if(Object(V.E)(e)){var o=e.toConfig();return new V.a(Or({},o,{values:kr(o.values)}))}if(Object(V.F)(e)){var s=e.toConfig();return new V.b(Or({},s,{fields:function(){return kr(s.fields,(function(e){return Or({},e,{type:r(e.type)})}))}}))}Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}));return new ue(Or({},t,{types:Object(j.a)(n),directives:wr(t.directives).map((function(e){var t=e.toConfig();return new X(Or({},t,{locations:Cr(t.locations,(function(e){return e})),args:s(t.args)}))})),query:o(t.query),mutation:o(t.mutation),subscription:o(t.subscription)}));function r(e){return Object(V.J)(e)?new V.d(r(e.ofType)):Object(V.L)(e)?new V.e(r(e.ofType)):i(e)}function i(e){return n[e.name]}function o(e){return e&&i(e)}function s(e){return kr(e,(function(e){return Or({},e,{type:r(e.type)})}))}function l(e){return kr(e,(function(e){return Or({},e,{type:r(e.type),args:s(e.args)})}))}function c(e){return wr(e).map(i)}}function kr(e,t){for(var n=Object.create(null),r=Cr(Object.keys(e),(function(e){return e})),i=0;i<r.length;i++){var o=r[i],a=e[o];n[o]=t?t(a):a}return n}function wr(e){return Cr(e,(function(e){return e.name}))}function Cr(e,t){return e.slice().sort((function(e,n){var r=t(e),i=t(n);return r.localeCompare(i)}))}var Sr=n(31);function Nr(e,t){return Ar(e,(function(e){return!ie(e)}),Ir,t)}function Dr(e,t){return Ar(e,ie,oe.isIntrospectionType,t)}function Ir(e){return!Object(W.f)(e)&&!Object(oe.isIntrospectionType)(e)}function Ar(e,t,n,r){var i=e.getDirectives().filter(t),o=Object(j.a)(e.getTypeMap()).filter(n);return[Lr(e)].concat(i.map((function(e){return function(e,t){return Br(t,e)+\"directive @\"+e.name+Pr(t,e.args)+(e.isRepeatable?\" repeatable\":\"\")+\" on \"+e.locations.join(\" | \")}(e,r)})),o.map((function(e){return jr(e,r)}))).filter(Boolean).join(\"\\n\\n\")+\"\\n\"}function Lr(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&\"Query\"!==t.name)return!1;var n=e.getMutationType();if(n&&\"Mutation\"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&\"Subscription\"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push(\"  query: \".concat(n.name));var r=e.getMutationType();r&&t.push(\"  mutation: \".concat(r.name));var i=e.getSubscriptionType();return i&&t.push(\"  subscription: \".concat(i.name)),Br({},e)+\"schema {\\n\".concat(t.join(\"\\n\"),\"\\n}\")}}function jr(e,t){return Object(V.R)(e)?function(e,t){return Br(t,e)+\"scalar \".concat(e.name)}(e,t):Object(V.N)(e)?function(e,t){return Br(t,e)+\"type \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.H)(e)?function(e,t){return Br(t,e)+\"interface \".concat(e.name)+Fr(e)+Mr(t,e)}(e,t):Object(V.T)(e)?function(e,t){var n=e.getTypes(),r=n.length?\" = \"+n.join(\" | \"):\"\";return Br(t,e)+\"union \"+e.name+r}(e,t):Object(V.E)(e)?function(e,t){var n=e.getValues().map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+e.name+Ur(e)}));return Br(t,e)+\"enum \".concat(e.name)+Rr(n)}(e,t):Object(V.F)(e)?function(e,t){var n=Object(j.a)(e.getFields()).map((function(e,n){return Br(t,e,\"  \",!n)+\"  \"+Vr(e)}));return Br(t,e)+\"input \".concat(e.name)+Rr(n)}(e,t):void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function Fr(e){var t=e.getInterfaces();return t.length?\" implements \"+t.map((function(e){return e.name})).join(\" & \"):\"\"}function Mr(e,t){return Rr(Object(j.a)(t.getFields()).map((function(t,n){return Br(e,t,\"  \",!n)+\"  \"+t.name+Pr(e,t.args,\"  \")+\": \"+String(t.type)+Ur(t)})))}function Rr(e){return 0!==e.length?\" {\\n\"+e.join(\"\\n\")+\"\\n}\":\"\"}function Pr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return 0===t.length?\"\":t.every((function(e){return!e.description}))?\"(\"+t.map(Vr).join(\", \")+\")\":\"(\\n\"+t.map((function(t,r){return Br(e,t,\"  \"+n,!r)+\"  \"+n+Vr(t)})).join(\"\\n\")+\"\\n\"+n+\")\"}function Vr(e){var t=Object(Sr.a)(e.defaultValue,e.type),n=e.name+\": \"+String(e.type);return t&&(n+=\" = \".concat(Object(qe.a)(t))),n}function Ur(e){if(!e.isDeprecated)return\"\";var t=e.deprecationReason,n=Object(Sr.a)(t,W.e);return n&&t!==te?\" @deprecated(reason: \"+Object(qe.a)(n)+\")\":\" @deprecated\"}function Br(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.description;if(null==i)return\"\";if(!0===(null==e?void 0:e.commentDescriptions))return qr(i,n,r);var o=i.length>70,a=Object(g.c)(i,\"\",o),s=n&&!r?\"\\n\"+n:n;return s+a.replace(/\\n/g,\"\\n\"+n)+\"\\n\"}function qr(e,t,n){return(t&&!n?\"\\n\":\"\")+e.split(\"\\n\").map((function(e){return t+(\"\"!==e?\"# \"+e:\"#\")})).join(\"\\n\")+\"\\n\"}var Hr=n(86);function zr(e){return{kind:\"Document\",definitions:L(e,(function(e){return e.definitions}))}}function Gr(e){var t,n=[],r=Object.create(null);Object(D.c)(e,{OperationDefinition:function(e){t=Kr(e),n.push(e)},FragmentDefinition:function(e){t=e.name.value},FragmentSpread:function(e){var n=e.name.value,i=r[t];void 0===i&&(i=r[t]=Object.create(null)),i[n]=!0}});for(var i=Object.create(null),o=function(t){var o=n[t],a=Kr(o),s=Object.create(null);!function e(t,n,r){var i=n[r];if(i)for(var o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];t[s]||(t[s]=!0,e(t,n,s))}}(s,r,a),i[a]={kind:u.a.DOCUMENT,definitions:e.definitions.filter((function(e){return e===o||e.kind===u.a.FRAGMENT_DEFINITION&&s[e.name.value]}))}},a=0;a<n.length;a++)o(a);return i}function Kr(e){return e.name?e.name.value:\"\"}function Qr(e){var t=\"string\"==typeof e?new d(e):e;if(!(t instanceof d))throw new TypeError(\"Must provide string or Source. Received: \".concat(Object(a.a)(t),\".\"));for(var n=t.body,r=new y(t),i=\"\",o=!1;r.advance().kind!==m.EOF;){var s=r.token,l=s.kind,c=!b(s.kind);o&&(c||s.kind===m.SPREAD)&&(i+=\" \");var u=n.slice(s.start,s.end);l===m.BLOCK_STRING?i+=Wr(u):i+=u,o=c}return i}function Wr(e){var t=e.slice(3,-3),n=Object(g.a)(t),r=n.split(/\\r\\n|[\\n\\r]/g);Object(g.b)(r)>0&&(n=\"\\n\"+n);var i=n[n.length-1];return('\"'===i&&'\\\\\"\"\"'!==n.slice(-4)||\"\\\\\"===i)&&(n+=\"\\n\"),'\"\"\"'+n+'\"\"\"'}function Yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $r=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\",IMPLEMENTED_INTERFACE_REMOVED:\"IMPLEMENTED_INTERFACE_REMOVED\",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_REPEATABLE_REMOVED:\"DIRECTIVE_REPEATABLE_REMOVED\",DIRECTIVE_LOCATION_REMOVED:\"DIRECTIVE_LOCATION_REMOVED\"}),Xr=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\",IMPLEMENTED_INTERFACE_ADDED:\"IMPLEMENTED_INTERFACE_ADDED\",ARG_DEFAULT_VALUE_CHANGE:\"ARG_DEFAULT_VALUE_CHANGE\"});function Zr(e,t){return ti(e,t).filter((function(e){return e.type in $r}))}function ei(e,t){return ti(e,t).filter((function(e){return e.type in Xr}))}function ti(e,t){return[].concat(function(e,t){for(var n=[],r=pi(Object(j.a)(e.getTypeMap()),Object(j.a)(t.getTypeMap())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.TYPE_REMOVED,description:Object(W.f)(a)?\"Standard scalar \".concat(a.name,\" was removed because it is not referenced anymore.\"):\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];Object(V.E)(u)&&Object(V.E)(f)?n.push.apply(n,ii(u,f)):Object(V.T)(u)&&Object(V.T)(f)?n.push.apply(n,ri(u,f)):Object(V.F)(u)&&Object(V.F)(f)?n.push.apply(n,ni(u,f)):Object(V.N)(u)&&Object(V.N)(f)||Object(V.H)(u)&&Object(V.H)(f)?n.push.apply(n,ai(u,f).concat(oi(u,f))):u.constructor!==f.constructor&&n.push({type:$r.TYPE_CHANGED_KIND,description:\"\".concat(u.name,\" changed from \")+\"\".concat(ui(u),\" to \").concat(ui(f),\".\")})}return n}(e,t),function(e,t){for(var n=[],r=pi(e.getDirectives(),t.getDirectives()),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.DIRECTIVE_REMOVED,description:\"\".concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var c=l[s],u=c[0],f=c[1],p=pi(u.args,f.args),d=0,h=p.added;d<h.length;d++){var m=h[d];Object(V.P)(m)&&n.push({type:$r.REQUIRED_DIRECTIVE_ARG_ADDED,description:\"A required arg \".concat(m.name,\" on directive \").concat(u.name,\" was added.\")})}for(var v=0,g=p.removed;v<g.length;v++){var y=g[v];n.push({type:$r.DIRECTIVE_ARG_REMOVED,description:\"\".concat(y.name,\" was removed from \").concat(u.name,\".\")})}u.isRepeatable&&!f.isRepeatable&&n.push({type:$r.DIRECTIVE_REPEATABLE_REMOVED,description:\"Repeatable flag was removed from \".concat(u.name,\".\")});for(var b=0,T=u.locations;b<T.length;b++){var E=T[b];-1===f.locations.indexOf(E)&&n.push({type:$r.DIRECTIVE_LOCATION_REMOVED,description:\"\".concat(E,\" was removed from \").concat(u.name,\".\")})}}return n}(e,t))}function ni(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.added;i<o.length;i++){var a=o[i];Object(V.Q)(a)?n.push({type:$r.REQUIRED_INPUT_FIELD_ADDED,description:\"A required field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")}):n.push({type:Xr.OPTIONAL_INPUT_FIELD_ADDED,description:\"An optional field \".concat(a.name,\" on input type \").concat(e.name,\" was added.\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(c.name,\" was removed.\")})}for(var u=0,f=r.persisted;u<f.length;u++){var p=f[u],d=p[0],h=p[1];ci(d.type,h.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(d.name,\" changed type from \")+\"\".concat(String(d.type),\" to \").concat(String(h.type),\".\")})}return n}function ri(e,t){for(var n=[],r=pi(e.getTypes(),t.getTypes()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.TYPE_ADDED_TO_UNION,description:\"\".concat(a.name,\" was added to union type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.TYPE_REMOVED_FROM_UNION,description:\"\".concat(c.name,\" was removed from union type \").concat(e.name,\".\")})}return n}function ii(e,t){for(var n=[],r=pi(e.getValues(),t.getValues()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.VALUE_ADDED_TO_ENUM,description:\"\".concat(a.name,\" was added to enum type \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.VALUE_REMOVED_FROM_ENUM,description:\"\".concat(c.name,\" was removed from enum type \").concat(e.name,\".\")})}return n}function oi(e,t){for(var n=[],r=pi(e.getInterfaces(),t.getInterfaces()),i=0,o=r.added;i<o.length;i++){var a=o[i];n.push({type:Xr.IMPLEMENTED_INTERFACE_ADDED,description:\"\".concat(a.name,\" added to interfaces implemented by \").concat(e.name,\".\")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:$r.IMPLEMENTED_INTERFACE_REMOVED,description:\"\".concat(e.name,\" no longer implements interface \").concat(c.name,\".\")})}return n}function ai(e,t){for(var n=[],r=pi(Object(j.a)(e.getFields()),Object(j.a)(t.getFields())),i=0,o=r.removed;i<o.length;i++){var a=o[i];n.push({type:$r.FIELD_REMOVED,description:\"\".concat(e.name,\".\").concat(a.name,\" was removed.\")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],f=c[1];n.push.apply(n,si(e,u,f)),li(u.type,f.type)||n.push({type:$r.FIELD_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(u.name,\" changed type from \")+\"\".concat(String(u.type),\" to \").concat(String(f.type),\".\")})}return n}function si(e,t,n){for(var r=[],i=pi(t.args,n.args),o=0,a=i.removed;o<a.length;o++){var s=a[o];r.push({type:$r.ARG_REMOVED,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(s.name,\" was removed.\")})}for(var l=0,c=i.persisted;l<c.length;l++){var u=c[l],f=u[0],p=u[1];if(ci(f.type,p.type)){if(void 0!==f.defaultValue)if(void 0===p.defaultValue)r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" defaultValue was removed.\")});else{var d=fi(f.defaultValue,f.type),h=fi(p.defaultValue,p.type);d!==h&&r.push({type:Xr.ARG_DEFAULT_VALUE_CHANGE,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed defaultValue from \").concat(d,\" to \").concat(h,\".\")})}}else r.push({type:$r.ARG_CHANGED_KIND,description:\"\".concat(e.name,\".\").concat(t.name,\" arg \").concat(f.name,\" has changed type from \")+\"\".concat(String(f.type),\" to \").concat(String(p.type),\".\")})}for(var m=0,v=i.added;m<v.length;m++){var g=v[m];Object(V.P)(g)?r.push({type:$r.REQUIRED_ARG_ADDED,description:\"A required arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")}):r.push({type:Xr.OPTIONAL_ARG_ADDED,description:\"An optional arg \".concat(g.name,\" on \").concat(e.name,\".\").concat(t.name,\" was added.\")})}return r}function li(e,t){return Object(V.J)(e)?Object(V.J)(t)&&li(e.ofType,t.ofType)||Object(V.L)(t)&&li(e,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&li(e.ofType,t.ofType):Object(V.K)(t)&&e.name===t.name||Object(V.L)(t)&&li(e,t.ofType)}function ci(e,t){return Object(V.J)(e)?Object(V.J)(t)&&ci(e.ofType,t.ofType):Object(V.L)(e)?Object(V.L)(t)&&ci(e.ofType,t.ofType)||!Object(V.L)(t)&&ci(e.ofType,t):Object(V.K)(t)&&e.name===t.name}function ui(e){return Object(V.R)(e)?\"a Scalar type\":Object(V.N)(e)?\"an Object type\":Object(V.H)(e)?\"an Interface type\":Object(V.T)(e)?\"a Union type\":Object(V.E)(e)?\"an Enum type\":Object(V.F)(e)?\"an Input type\":void Object(Se.a)(!1,\"Unexpected type: \"+Object(a.a)(e))}function fi(e,t){var n=Object(Sr.a)(e,t);null!=n||Object(Se.a)(0);var r=Object(D.c)(n,{ObjectValue:function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{fields:[].concat(e.fields).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}))})}});return Object(qe.a)(r)}function pi(e,t){for(var n=[],r=[],i=[],o=Object(lt.a)(e,(function(e){return e.name})),a=Object(lt.a)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],c=a[l.name];void 0===c?r.push(l):i.push([l,c])}for(var u=0;u<t.length;u++){var f=t[u];void 0===o[f.name]&&n.push(f)}return{added:n,persisted:i,removed:r}}function di(e,t){var n=[],r=new De(e);return Object(D.c)(t,Ae(r,{Field:function(e){var t=r.getParentType(),i=r.getFieldDef();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The field \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))},EnumValue:function(e){var t=Object(V.A)(r.getInputType()),i=r.getEnumValue();t&&null!=(null==i?void 0:i.deprecationReason)&&n.push(new l.a('The enum value \"'.concat(t.name,\".\").concat(i.name,'\" is deprecated. ')+i.deprecationReason,e))}})),n}},function(e,t,n){\"use strict\";n.d(t,\"b\",(function(){return r})),n.d(t,\"a\",(function(){return i})),n.d(t,\"c\",(function(){return o}));var r=\"function\"==typeof Symbol?Symbol.iterator:\"@@iterator\",i=\"function\"==typeof Symbol?Symbol.asyncIterator:\"@@asyncIterator\",o=\"function\"==typeof Symbol?Symbol.toStringTag:\"@@toStringTag\"},function(e,t){e.exports=window.React},function(e,t,n){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function i(e){return\"object\"==r(e)&&null!==e}n.d(t,\"a\",(function(){return i}))},function(e,t,n){\"use strict\";function r(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a})),n.d(t,\"c\",(function(){return s})),n.d(t,\"d\",(function(){return l})),n.d(t,\"b\",(function(){return c}));var r=n(3),i=n(13),o={Name:[],Document:[\"definitions\"],OperationDefinition:[\"name\",\"variableDefinitions\",\"directives\",\"selectionSet\"],VariableDefinition:[\"variable\",\"type\",\"defaultValue\",\"directives\"],Variable:[\"name\"],SelectionSet:[\"selections\"],Field:[\"alias\",\"name\",\"arguments\",\"directives\",\"selectionSet\"],Argument:[\"name\",\"value\"],FragmentSpread:[\"name\",\"directives\"],InlineFragment:[\"typeCondition\",\"directives\",\"selectionSet\"],FragmentDefinition:[\"name\",\"variableDefinitions\",\"typeCondition\",\"directives\",\"selectionSet\"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[\"values\"],ObjectValue:[\"fields\"],ObjectField:[\"name\",\"value\"],Directive:[\"name\",\"arguments\"],NamedType:[\"name\"],ListType:[\"type\"],NonNullType:[\"type\"],SchemaDefinition:[\"description\",\"directives\",\"operationTypes\"],OperationTypeDefinition:[\"type\"],ScalarTypeDefinition:[\"description\",\"name\",\"directives\"],ObjectTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],FieldDefinition:[\"description\",\"name\",\"arguments\",\"type\",\"directives\"],InputValueDefinition:[\"description\",\"name\",\"type\",\"defaultValue\",\"directives\"],InterfaceTypeDefinition:[\"description\",\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeDefinition:[\"description\",\"name\",\"directives\",\"types\"],EnumTypeDefinition:[\"description\",\"name\",\"directives\",\"values\"],EnumValueDefinition:[\"description\",\"name\",\"directives\"],InputObjectTypeDefinition:[\"description\",\"name\",\"directives\",\"fields\"],DirectiveDefinition:[\"description\",\"name\",\"arguments\",\"locations\"],SchemaExtension:[\"directives\",\"operationTypes\"],ScalarTypeExtension:[\"name\",\"directives\"],ObjectTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],InterfaceTypeExtension:[\"name\",\"interfaces\",\"directives\",\"fields\"],UnionTypeExtension:[\"name\",\"directives\",\"types\"],EnumTypeExtension:[\"name\",\"directives\",\"values\"],InputObjectTypeExtension:[\"name\",\"directives\",\"fields\"]},a=Object.freeze({});function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,l=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,m=void 0,v=[],g=[],y=e;do{var b=++f===u.length,T=b&&0!==p.length;if(b){if(h=0===g.length?void 0:v[v.length-1],d=m,m=g.pop(),T){if(l)d=d.slice();else{for(var E={},O=0,x=Object.keys(d);O<x.length;O++){var _=x[O];E[_]=d[_]}d=E}for(var k=0,w=0;w<p.length;w++){var C=p[w][0],S=p[w][1];l&&(C-=k),l&&null===S?(d.splice(C,1),k++):d[C]=S}}f=s.index,u=s.keys,p=s.edits,l=s.inArray,s=s.prev}else{if(h=m?l?f:u[f]:void 0,null==(d=m?m[h]:y))continue;m&&v.push(h)}var N,D=void 0;if(!Array.isArray(d)){if(!Object(i.c)(d))throw new Error(\"Invalid AST Node: \".concat(Object(r.a)(d),\".\"));var I=c(t,d.kind,b);if(I){if((D=I.call(t,d,h,m,v,g))===a)break;if(!1===D){if(!b){v.pop();continue}}else if(void 0!==D&&(p.push([h,D]),!b)){if(!Object(i.c)(D)){v.pop();continue}d=D}}}if(void 0===D&&T&&p.push([h,d]),b)v.pop();else s={inArray:l,index:f,keys:u,edits:p,prev:s},u=(l=Array.isArray(d))?d:null!==(N=n[d.kind])&&void 0!==N?N:[],f=-1,p=[],m&&g.push(m),m=d}while(void 0!==s);return 0!==p.length&&(y=p[p.length-1][1]),y}function l(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===a)t[r]=a;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var i=c(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===a)t[r]=a;else if(void 0!==o&&!1!==o)return o}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&\"function\"==typeof r)return r;var i=n?r.leave:r.enter;if(\"function\"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if(\"function\"==typeof o)return o;var a=o[t];if(\"function\"==typeof a)return a}}}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return r}));function r(e,t){var n=\"string\"==typeof e?[e,t]:[void 0,e],r=n[0],i=\" Did you mean \";r&&(i+=r+\" \");var o=n[1].map((function(e){return'\"'.concat(e,'\"')}));switch(o.length){case 0:return\"\";case 1:return i+o[0]+\"?\";case 2:return i+o[0]+\" or \"+o[1]+\"?\"}var a=o.slice(0,5),s=a.pop();return i+a.join(\", \")+\", or \"+s+\"?\"}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,i=Object(r.a)(e);n<i.length;n++){var o=i[n],a=o[0],s=o[1];t[a]=s}return t}},function(e,t,n){\"use strict\";function r(e,t){for(var n=Object.create(null),r=new i(e),o=Math.floor(.4*e.length)+1,a=0;a<t.length;a++){var s=t[a],l=r.measure(s,o);void 0!==l&&(n[s]=l)}return Object.keys(n).sort((function(e,t){var r=n[e]-n[t];return 0!==r?r:e.localeCompare(t)}))}n.d(t,\"a\",(function(){return r}));var i=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=o(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=o(n),i=this._inputArray;if(r.length<i.length){var a=r;r=i,i=a}var s=r.length,l=i.length;if(!(s-l>t)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var f=1;f<=s;f++){for(var p=c[(f-1)%3],d=c[f%3],h=d[0]=f,m=1;m<=l;m++){var v=r[f-1]===i[m-1]?0:1,g=Math.min(p[m]+1,d[m-1]+1,p[m-1]+v);if(f>1&&m>1&&r[f-1]===i[m-2]&&r[f-2]===i[m-1]){var y=c[(f-2)%3][m-2];g=Math.min(g,y+1)}g<h&&(h=g),d[m]=g}if(h>t)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function o(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o})),n.d(t,\"c\",(function(){return a})),n.d(t,\"i\",(function(){return s})),n.d(t,\"f\",(function(){return l})),n.d(t,\"g\",(function(){return c})),n.d(t,\"d\",(function(){return u})),n.d(t,\"h\",(function(){return f})),n.d(t,\"e\",(function(){return p}));var r=n(1);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.a.OPERATION_DEFINITION||e.kind===r.a.FRAGMENT_DEFINITION}function a(e){return e.kind===r.a.FIELD||e.kind===r.a.FRAGMENT_SPREAD||e.kind===r.a.INLINE_FRAGMENT}function s(e){return e.kind===r.a.VARIABLE||e.kind===r.a.INT||e.kind===r.a.FLOAT||e.kind===r.a.STRING||e.kind===r.a.BOOLEAN||e.kind===r.a.NULL||e.kind===r.a.ENUM||e.kind===r.a.LIST||e.kind===r.a.OBJECT}function l(e){return e.kind===r.a.NAMED_TYPE||e.kind===r.a.LIST_TYPE||e.kind===r.a.NON_NULL_TYPE}function c(e){return e.kind===r.a.SCHEMA_DEFINITION||u(e)||e.kind===r.a.DIRECTIVE_DEFINITION}function u(e){return e.kind===r.a.SCALAR_TYPE_DEFINITION||e.kind===r.a.OBJECT_TYPE_DEFINITION||e.kind===r.a.INTERFACE_TYPE_DEFINITION||e.kind===r.a.UNION_TYPE_DEFINITION||e.kind===r.a.ENUM_TYPE_DEFINITION||e.kind===r.a.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.a.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.a.SCALAR_TYPE_EXTENSION||e.kind===r.a.OBJECT_TYPE_EXTENSION||e.kind===r.a.INTERFACE_TYPE_EXTENSION||e.kind===r.a.UNION_TYPE_EXTENSION||e.kind===r.a.ENUM_TYPE_EXTENSION||e.kind===r.a.INPUT_OBJECT_TYPE_EXTENSION}},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(38);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,r.a&&(e.prototype[r.a]=t)}},function(e,t,n){\"use strict\";t.a=function(e,t){return e instanceof t}},function(e,t,n){\"use strict\";function r(e,t,n){return e.reduce((function(e,r){return e[t(r)]=n(r),e}),Object.create(null))}n.d(t,\"a\",(function(){return r}))},function(e,t,n){\"use strict\";var r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))};t.a=r},function(e,t,n){\"use strict\";function r(e){var t=e.split(/\\r\\n|[\\n\\r]/g),n=i(t);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(;t.length>0&&a(t[0]);)t.shift();for(;t.length>0&&a(t[t.length-1]);)t.pop();return t.join(\"\\n\")}function i(e){for(var t=null,n=1;n<e.length;n++){var r=e[n],i=o(r);if(i!==r.length&&((null===t||i<t)&&0===(t=i)))break}return null===t?0:t}function o(e){for(var t=0;t<e.length&&(\" \"===e[t]||\"\\t\"===e[t]);)t++;return t}function a(e){return o(e)===e.length}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf(\"\\n\"),i=\" \"===e[0]||\"\\t\"===e[0],o='\"'===e[e.length-1],a=!r||o||n,s=\"\";return!a||r&&i||(s+=\"\\n\"+t),s+=t?e.replace(/\\n/g,\"\\n\"+t):e,a&&(s+=\"\\n\"),'\"\"\"'+s.replace(/\"\"\"/g,'\\\\\"\"\"')+'\"\"\"'}n.d(t,\"a\",(function(){return r})),n.d(t,\"b\",(function(){return i})),n.d(t,\"c\",(function(){return s}))},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i}));var r=n(27);function i(e,t){for(var n=Object.create(null),i=0,o=Object(r.a)(e);i<o.length;i++){var a=o[i],s=a[0],l=a[1];n[s]=t(l,s)}return n}},function(e,t,n){\"use strict\";var r=n(15),i=Array.from||function(e,t,n){if(null==e)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");var i=e[r.b];if(\"function\"==typeof i){for(var o,a=i.call(e),s=[],l=0;!(o=a.next()).done;++l)if(s.push(t.call(n,o.value,l)),l>9999999)throw new TypeError(\"Near-infinite iteration.\");return s}var c=e.length;if(\"number\"==typeof c&&c>=0&&c%1==0){for(var u=[],f=0;f<c;++f)Object.prototype.hasOwnProperty.call(e,f)&&u.push(t.call(n,e[f],f));return u}return[]};t.a=i},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return d}));var r=n(32),i=n(30),o=n(7),a=n(3),s=n(11),l=n(17),c=n(35),u=n(1),f=n(6),p=n(0);function d(e,t){if(Object(p.L)(t)){var n=d(e,t.ofType);return(null==n?void 0:n.kind)===u.a.NULL?null:n}if(null===e)return{kind:u.a.NULL};if(void 0===e)return null;if(Object(p.J)(t)){var m=t.ofType;if(Object(c.a)(e)){for(var v=[],g=0,y=Object(i.a)(e);g<y.length;g++){var b=d(y[g],m);null!=b&&v.push(b)}return{kind:u.a.LIST,values:v}}return d(e,m)}if(Object(p.F)(t)){if(!Object(l.a)(e))return null;for(var T=[],E=0,O=Object(o.a)(t.getFields());E<O.length;E++){var x=O[E],_=d(e[x.name],x.type);_&&T.push({kind:u.a.OBJECT_FIELD,name:{kind:u.a.NAME,value:x.name},value:_})}return{kind:u.a.OBJECT,fields:T}}if(Object(p.I)(t)){var k=t.serialize(e);if(null==k)return null;if(\"boolean\"==typeof k)return{kind:u.a.BOOLEAN,value:k};if(\"number\"==typeof k&&Object(r.a)(k)){var w=String(k);return h.test(w)?{kind:u.a.INT,value:w}:{kind:u.a.FLOAT,value:w}}if(\"string\"==typeof k)return Object(p.E)(t)?{kind:u.a.ENUM,value:k}:t===f.c&&h.test(k)?{kind:u.a.INT,value:k}:{kind:u.a.STRING,value:k};throw new TypeError(\"Cannot convert value to AST: \".concat(Object(a.a)(k),\".\"))}Object(s.a)(!1,\"Unexpected input type: \"+Object(a.a)(t))}var h=/^-?(?:0|[1-9][0-9]*)$/},function(e,t,n){\"use strict\";var r=Number.isFinite||function(e){return\"number\"==typeof e&&isFinite(e)};t.a=r},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t,n,r=e.Pos;function i(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?\"i\":\"\")+(e.global?\"g\":\"\")+(e.multiline?\"m\":\"\")}(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function o(e){return/\\\\s|\\\\n|\\n|\\\\W|\\\\D|\\[\\^/.test(e.source)}function a(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.lastLine();o<=s;o++,a=0){t.lastIndex=a;var l=e.getLine(o),c=t.exec(l);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function s(e,t,n){if(!o(t))return a(e,t,n);t=i(t,\"gm\");for(var s,l=1,c=n.line,u=e.lastLine();c<=u;){for(var f=0;f<l&&!(c>u);f++){var p=e.getLine(c++);s=null==s?p:s+\"\\n\"+p}l*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var h=s.slice(0,d.index).split(\"\\n\"),m=d[0].split(\"\\n\"),v=n.line+h.length-1,g=h[h.length-1].length;return{from:r(v,g),to:r(v+m.length-1,1==m.length?g+m[0].length:m[m.length-1].length),match:d}}}}function l(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function c(e,t,n){t=i(t,\"g\");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var c=e.getLine(o),u=l(c,t,a<0?0:c.length-a);if(u)return{from:r(o,u.index),to:r(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return c(e,t,n);t=i(t,\"gm\");for(var a,s=1,u=e.getLine(n.line).length-n.ch,f=n.line,p=e.firstLine();f>=p;){for(var d=0;d<s&&f>=p;d++){var h=e.getLine(f--);a=null==a?h:h+\"\\n\"+a}s*=2;var m=l(a,t,u);if(m){var v=a.slice(0,m.index).split(\"\\n\"),g=m[0].split(\"\\n\"),y=f+v.length,b=v[v.length-1].length;return{from:r(y,b),to:r(y+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:m}}}}function f(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function p(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.lastLine()+1-l.length;c<=p;c++,u=0){var d=e.getLine(c).slice(u),h=s(d);if(1==l.length){var m=h.indexOf(l[0]);if(-1==m)continue e;return o=f(d,h,m,s)+u,{from:r(c,f(d,h,m,s)+u),to:r(c,f(d,h,m+l[0].length,s)+u)}}var v=h.length-l[0].length;if(h.slice(v)==l[0]){for(var g=1;g<l.length-1;g++)if(s(e.getLine(c+g))!=l[g])continue e;var y=e.getLine(c+l.length-1),b=s(y),T=l[l.length-1];if(b.slice(0,T.length)==T)return{from:r(c,f(d,h,v,s)+u),to:r(c+l.length-1,f(y,b,T.length,s))}}}}function d(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\\r|\\n\\r?/);e:for(var c=o.line,u=o.ch,p=e.firstLine()-1+l.length;c>=p;c--,u=-1){var d=e.getLine(c);u>-1&&(d=d.slice(0,u));var h=s(d);if(1==l.length){var m=h.lastIndexOf(l[0]);if(-1==m)continue e;return{from:r(c,f(d,h,m,s)),to:r(c,f(d,h,m+l[0].length,s))}}var v=l[l.length-1];if(h.slice(0,v.length)==v){var g=1;for(o=c-l.length+1;g<l.length-1;g++)if(s(e.getLine(o+g))!=l[g])continue e;var y=e.getLine(c+1-l.length),b=s(y);if(b.slice(b.length-l[0].length)==l[0])return{from:r(c+1-l.length,f(y,b,y.length-l[0].length,s)),to:r(c,f(d,h,v.length,s))}}}}function h(e,t,n,o){var l;this.atOccurrence=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},\"object\"==typeof o?l=o.caseFold:(l=o,o=null),\"string\"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:p)(e,t,r,l)}):(t=i(t,\"gm\"),o&&!1===o.multiline?this.matches=function(n,r){return(n?c:a)(e,t,r)}:this.matches=function(n,r){return(n?u:s)(e,t,r)})}String.prototype.normalize?(t=function(e){return e.normalize(\"NFD\").toLowerCase()},n=function(e){return e.normalize(\"NFD\")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),h.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension(\"getSearchCursor\",(function(e,t,n){return new h(this.doc,e,t,n)})),e.defineDocExtension(\"getSearchCursor\",(function(e,t,n){return new h(this,e,t,n)})),e.defineExtension(\"selectMatches\",(function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor(\"from\"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor(\"to\"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,r){var i,o=t.getWrapperElement();return(i=o.appendChild(document.createElement(\"div\"))).className=r?\"CodeMirror-dialog CodeMirror-dialog-bottom\":\"CodeMirror-dialog CodeMirror-dialog-top\",\"string\"==typeof n?i.innerHTML=n:i.appendChild(n),e.addClass(o,\"dialog-opened\"),i}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension(\"openDialog\",(function(r,i,o){o||(o={}),n(this,null);var a=t(this,r,o.bottom),s=!1,l=this;function c(t){if(\"string\"==typeof t)f.value=t;else{if(s)return;s=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),l.focus(),o.onClose&&o.onClose(a)}}var u,f=a.getElementsByTagName(\"input\")[0];return f?(f.focus(),o.value&&(f.value=o.value,!1!==o.selectValueOnOpen&&f.select()),o.onInput&&e.on(f,\"input\",(function(e){o.onInput(e,f.value,c)})),o.onKeyUp&&e.on(f,\"keyup\",(function(e){o.onKeyUp(e,f.value,c)})),e.on(f,\"keydown\",(function(t){o&&o.onKeyDown&&o.onKeyDown(t,f.value,c)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(f.blur(),e.e_stop(t),c()),13==t.keyCode&&i(f.value,t))})),!1!==o.closeOnBlur&&e.on(a,\"focusout\",(function(e){null!==e.relatedTarget&&c()}))):(u=a.getElementsByTagName(\"button\")[0])&&(e.on(u,\"click\",(function(){c(),l.focus()})),!1!==o.closeOnBlur&&e.on(u,\"blur\",c),u.focus()),c})),e.defineExtension(\"openConfirm\",(function(r,i,o){n(this,null);var a=t(this,r,o&&o.bottom),s=a.getElementsByTagName(\"button\"),l=!1,c=this,u=1;function f(){l||(l=!0,e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a),c.focus())}s[0].focus();for(var p=0;p<s.length;++p){var d=s[p];!function(t){e.on(d,\"click\",(function(n){e.e_preventDefault(n),f(),t&&t(c)}))}(i[p]),e.on(d,\"blur\",(function(){--u,setTimeout((function(){u<=0&&f()}),200)})),e.on(d,\"focus\",(function(){++u}))}})),e.defineExtension(\"openNotification\",(function(r,i){n(this,c);var o,a=t(this,r,i&&i.bottom),s=!1,l=i&&void 0!==i.duration?i.duration:5e3;function c(){s||(s=!0,clearTimeout(o),e.rmClass(a.parentNode,\"dialog-opened\"),a.parentNode.removeChild(a))}return e.on(a,\"click\",(function(t){e.e_preventDefault(t),c()})),l&&(o=setTimeout(c,l)),c}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return o}));var r=n(15);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){if(null==e||\"object\"!==i(e))return!1;var t=e.length;return\"number\"==typeof t&&t>=0&&t%1==0||\"function\"==typeof e[r.b]}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(170),n(73),n(74),n(171),n(172)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var a={CharacterStream:!0,LexRules:!0,ParseRules:!0,isIgnored:!0,butNot:!0,list:!0,opt:!0,p:!0,t:!0,onlineParser:!0};function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"CharacterStream\",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,\"LexRules\",{enumerable:!0,get:function(){return n.LexRules}}),Object.defineProperty(e,\"ParseRules\",{enumerable:!0,get:function(){return n.ParseRules}}),Object.defineProperty(e,\"isIgnored\",{enumerable:!0,get:function(){return n.isIgnored}}),Object.defineProperty(e,\"butNot\",{enumerable:!0,get:function(){return r.butNot}}),Object.defineProperty(e,\"list\",{enumerable:!0,get:function(){return r.list}}),Object.defineProperty(e,\"opt\",{enumerable:!0,get:function(){return r.opt}}),Object.defineProperty(e,\"p\",{enumerable:!0,get:function(){return r.p}}),Object.defineProperty(e,\"t\",{enumerable:!0,get:function(){return r.t}}),Object.defineProperty(e,\"onlineParser\",{enumerable:!0,get:function(){return i.default}}),t=s(t),i=s(i),Object.keys(o).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e){const r=e.onClick?e.onClick:()=>null;return function e(r,i){return r instanceof n.GraphQLNonNull?t.default.createElement(\"span\",null,e(r.ofType,i),\"!\"):r instanceof n.GraphQLList?t.default.createElement(\"span\",null,\"[\",e(r.ofType,i),\"]\"):t.default.createElement(\"a\",{className:\"type-name\",onClick:e=>{e.preventDefault(),i(r,e)},href:\"#\"},null==r?void 0:r.name)}(e.type,r)},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";var r=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):void 0;t.a=r},function(e,t,n){\"use strict\";function r(e,t){for(var n,r=/\\r\\n|[\\n\\r]/g,i=1,o=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,o=t+1-(n.index+n[0].length);return{line:i,column:o}}n.d(t,\"a\",(function(){return r}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;let t=!1;\"object\"==typeof window&&(t=\"MacIntel\"===window.navigator.platform);var n={[t?\"Cmd-F\":\"Ctrl-F\"]:\"findPersistent\",\"Cmd-G\":\"findPersistent\",\"Ctrl-G\":\"findPersistent\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Alt-Left\":\"goGroupLeft\",\"Alt-Right\":\"goGroupRight\"};e.default=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=/MSIE \\d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={\"(\":\")>\",\")\":\"(<\",\"[\":\"]>\",\"]\":\"[<\",\"{\":\"}>\",\"}\":\"{<\",\"<\":\">>\",\">\":\"<<\"};function i(e){return e&&e.bracketRegex||/[(){}[\\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),l=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=i(o),f=!c&&l>=0&&u.test(s.text.charAt(l))&&r[s.text.charAt(l)]||u.test(s.text.charAt(l+1))&&r[s.text.charAt(++l)];if(!f)return null;var p=\">\"==f.charAt(1)?1:-1;if(o&&o.strict&&p>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),h=a(e,n(t.line,l+(p>0?1:0)),p,d||null,o);return null==h?null:{from:n(t.line,l),to:h&&h.pos,match:h&&h.ch==f.charAt(0),forward:p>0}}function a(e,t,o,a,s){for(var l=s&&s.maxScanLineLength||1e4,c=s&&s.maxScanLines||1e3,u=[],f=i(s),p=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=p;d+=o){var h=e.getLine(d);if(h){var m=o>0?0:h.length-1,v=o>0?h.length:-1;if(!(h.length>l))for(d==t.line&&(m=t.ch-(o<0?1:0));m!=v;m+=o){var g=h.charAt(m);if(f.test(g)&&(void 0===a||e.getTokenTypeAt(n(d,m+1))==a)){var y=r[g];if(y&&\">\"==y.charAt(1)==o>0)u.push(g);else{if(!u.length)return{pos:n(d,m),ch:g};u.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,r,i){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),c=0;c<l.length;c++){var u=l[c].empty()&&o(e,l[c].head,i);if(u&&e.getLine(u.from.line).length<=a){var f=u.match?\"CodeMirror-matchingbracket\":\"CodeMirror-nonmatchingbracket\";s.push(e.markText(u.from,n(u.from.line,u.from.ch+1),{className:f})),u.to&&e.getLine(u.to.line).length<=a&&s.push(e.markText(u.to,n(u.to.line,u.to.ch+1),{className:f}))}}if(s.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return p;setTimeout(p,800)}}function l(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)}))}e.defineOption(\"matchBrackets\",!1,(function(t,n,r){function i(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}r&&r!=e.Init&&(t.off(\"cursorActivity\",l),t.off(\"focus\",l),t.off(\"blur\",i),i(t)),n&&(t.state.matchBrackets=\"object\"==typeof n?n:{},t.on(\"cursorActivity\",l),t.on(\"focus\",l),t.on(\"blur\",i))})),e.defineExtension(\"matchBrackets\",(function(){s(this,!0)})),e.defineExtension(\"findMatchingBracket\",(function(e,t,n){return(n||\"boolean\"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),o(this,e,t)})),e.defineExtension(\"scanForBracket\",(function(e,t,n,r){return a(this,e,t,n,r)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){e.defineOption(\"foldGutter\",!1,(function(t,r,i){var o;i&&i!=e.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off(\"gutterClick\",l),t.off(\"changes\",c),t.off(\"viewportChange\",u),t.off(\"fold\",f),t.off(\"unfold\",f),t.off(\"swapDoc\",c)),r&&(t.state.foldGutter=new n((!0===(o=r)&&(o={}),null==o.gutter&&(o.gutter=\"CodeMirror-foldgutter\"),null==o.indicatorOpen&&(o.indicatorOpen=\"CodeMirror-foldgutter-open\"),null==o.indicatorFolded&&(o.indicatorFolded=\"CodeMirror-foldgutter-folded\"),o)),s(t),t.on(\"gutterClick\",l),t.on(\"changes\",c),t.on(\"viewportChange\",u),t.on(\"fold\",f),t.on(\"unfold\",f),t.on(\"swapDoc\",c))}));var t=e.Pos;function n(e){this.options=e,this.from=this.to=0}function r(e,n){for(var r=e.findMarks(t(n,0),t(n+1,0)),i=0;i<r.length;++i)if(r[i].__isFold){var o=r[i].find(-1);if(o&&o.line===n)return r[i]}}function i(e){if(\"string\"==typeof e){var t=document.createElement(\"div\");return t.className=e+\" CodeMirror-guttermarker-subtle\",t}return e.cloneNode(!0)}function o(e,n,o){var s=e.state.foldGutter.options,l=n-1,c=e.foldOption(s,\"minFoldSize\"),u=e.foldOption(s,\"rangeFinder\"),f=\"string\"==typeof s.indicatorFolded&&a(s.indicatorFolded),p=\"string\"==typeof s.indicatorOpen&&a(s.indicatorOpen);e.eachLine(n,o,(function(n){++l;var o=null,a=n.gutterMarkers;if(a&&(a=a[s.gutter]),r(e,l)){if(f&&a&&f.test(a.className))return;o=i(s.indicatorFolded)}else{var d=t(l,0),h=u&&u(e,d);if(h&&h.to.line-h.from.line>=c){if(p&&a&&p.test(a.className))return;o=i(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp(\"(^|\\\\s)\"+e+\"(?:$|\\\\s)\\\\s*\")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function l(e,n,i){var o=e.state.foldGutter;if(o){var a=o.options;if(i==a.gutter){var s=r(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function c(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.from<t.from&&(o(e,n.from,t.from),t.from=n.from),n.to>t.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function f(e,t){var n=e.state.foldGutter;if(n){var r=t.line;r>=n.from&&r<n.to&&o(e,r,r+1)}}}(n(10),n(168))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).registerHelper(\"fold\",\"brace\",(function(t,n){var r,i=n.line,o=t.getLine(i);function a(a){for(var s=n.ch,l=0;;){var c=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=c){if(1==l&&c<n.ch)break;if(r=t.getTokenTypeAt(e.Pos(i,c+1)),!/^(comment|string)/.test(r))return c+1;s=c-1}else{if(1==l)break;l=1,s=o.length}}}var s=\"{\",l=\"}\",c=a(\"{\");if(null==c&&(s=\"[\",l=\"]\",c=a(\"[\")),null!=c){var u,f,p=1,d=t.lastLine();e:for(var h=i;h<=d;++h)for(var m=t.getLine(h),v=h==i?c:0;;){var g=m.indexOf(s,v),y=m.indexOf(l,v);if(g<0&&(g=m.length),y<0&&(y=m.length),(v=Math.min(g,y))==m.length)break;if(t.getTokenTypeAt(e.Pos(h,v+1))==r)if(v==g)++p;else if(!--p){u=h,f=v;break e}++v}if(null!=u&&i!=u)return{from:e.Pos(i,c),to:e.Pos(u,f)}}})),e.registerHelper(\"fold\",\"import\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));if(/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"keyword\"!=r.type||\"import\"!=r.string)return null;for(var i=n,o=Math.min(t.lastLine(),n+10);i<=o;++i){var a=t.getLine(i).indexOf(\";\");if(-1!=a)return{startCh:r.end,end:e.Pos(i,a)}}}var i,o=n.line,a=r(o);if(!a||r(o-1)||(i=r(o-2))&&i.end.line==o-1)return null;for(var s=a.end;;){var l=r(s.line+1);if(null==l)break;s=l.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper(\"fold\",\"include\",(function(t,n){function r(n){if(n<t.firstLine()||n>t.lastLine())return null;var r=t.getTokenAt(e.Pos(n,1));return/\\S/.test(r.string)||(r=t.getTokenAt(e.Pos(n,r.end+1))),\"meta\"==r.type&&\"#include\"==r.string.slice(0,8)?r.start+8:void 0}var i=n.line,o=r(i);if(null==o||null!=r(i-1))return null;for(var a=i;null!=r(a+1);)++a;return{from:e.Pos(i,o+1),to:t.clipPos(e.Pos(a))}}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}(e,function(e){return e.phrase(\"Jump to line:\")+' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use line:column or scroll% syntax)\")+\"</span>\"}(e),e.phrase(\"Jump to line:\"),n.line+1+\":\"+n.ch,(function(r){var i;if(r)if(i=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(r))e.setCursor(t(e,i[1]),Number(i[2]));else if(i=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(r)){var o=Math.round(e.lineCount()*Number(i[1])/100);/^[-+]/.test(i[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(i=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(r))&&e.setCursor(t(e,i[1]),n.ch)}))},e.keyMap.default[\"Alt-G\"]=\"jumpToLine\"}(n(10),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=e.commands,n=e.Pos;function r(t,r){t.extendSelectionsBy((function(i){return t.display.shift||t.doc.extend||i.empty()?function(t,r,i){if(i<0&&0==r.ch)return t.clipPos(n(r.line-1));var o=t.getLine(r.line);if(i>0&&r.ch>=o.length)return t.clipPos(n(r.line+1,0));for(var a,s=\"start\",l=r.ch,c=l,u=i<0?0:o.length,f=0;c!=u;c+=i,f++){var p=o.charAt(i<0?c-1:c),d=\"_\"!=p&&e.isWordChar(p)?\"w\":\"o\";if(\"w\"==d&&p.toUpperCase()==p&&(d=\"W\"),\"start\"==s)\"o\"!=d?(s=\"in\",a=d):l=c+i;else if(\"in\"==s&&a!=d){if(\"w\"==a&&\"W\"==d&&i<0&&c--,\"W\"==a&&\"w\"==d&&i>0){if(c==l+1){a=\"w\";continue}c--}break}}return n(r.line,c)}(t.doc,i.head,r):r<0?i.from():i.to()}))}function i(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,a=0;a<e;a++){var s=t.listSelections()[a].head;if(!(s.line<=o)){var l=n(s.line+(r?0:1),0);t.replaceRange(\"\\n\",l,null,\"+insertLine\"),t.indentLine(l.line,null,!0),i.push({head:l,anchor:l}),o=s.line+1}}t.setSelections(i)})),t.execCommand(\"indentAuto\")}function o(t,r){for(var i=r.ch,o=i,a=t.getLine(r.line);i&&e.isWordChar(a.charAt(i-1));)--i;for(;o<a.length&&e.isWordChar(a.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:a.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,\"line\",o.anchor.goalColumn),s=e.findPosV(o.head,t,\"line\",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,\"div\").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,\"div\").left;var l={anchor:a,head:s};r.push(o),r.push(l)}e.setSelections(r)}function s(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var a=r[o],s=a.head,l=t.scanForBracket(s,-1);if(!l)return!1;for(;;){var c=t.scanForBracket(s,1);if(!c)return!1;if(c.ch==\"(){}[]\".charAt(\"(){}[]\".indexOf(l.ch)+1)){var u=n(l.pos.line,l.pos.ch+1);if(0!=e.cmpPos(u,a.from())||0!=e.cmpPos(c.pos,a.to())){i.push({anchor:u,head:c.pos});break}if(!(l=t.scanForBracket(l.pos,-1)))return!1}s=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(i),!0}function l(e){return e?/\\bpunctuation\\b/.test(e)?e:void 0:null}function c(t,r){if(t.isReadOnly())return e.Pass;for(var i,o=t.listSelections(),a=[],s=0;s<o.length;s++){var l=o[s];if(!l.empty()){for(var c=l.from().line,u=l.to().line;s<o.length-1&&o[s+1].from().line==u;)u=o[++s].to().line;o[s].to().ch||u--,a.push(c,u)}}a.length?i=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],o=0;o<a.length;o+=2){var s=a[o],l=a[o+1],c=n(s,0),u=n(l),f=t.getRange(c,u,!1);r?f.sort():f.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-1:e==t?0:1})),t.replaceRange(f,c,u),i&&e.push({anchor:c,head:n(l+1,0)})}i&&t.setSelections(e,0)}))}function u(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],a=[],s=0;s<r.length;s++)(c=r[s]).empty()?(i.push(s),a.push(\"\")):a.push(n(t.getRange(c.from(),c.to())));var l;for(t.replaceSelections(a,\"around\",\"case\"),s=i.length-1;s>=0;s--){var c=r[i[s]];if(!(l&&e.cmpPos(c.head,l)>0)){var u=o(t,c.head);l=u.from,t.replaceRange(n(u.word),u.from,u.to)}}}))}function f(t){var n=t.getCursor(\"from\"),r=t.getCursor(\"to\");if(0==e.cmpPos(n,r)){var i=o(t,n);if(!i.word)return;n=i.from,r=i.to}return{from:n,to:r,query:t.getRange(n,r),word:i}}function p(e,t){var r=f(e);if(r){var i=r.query,o=e.getSearchCursor(i,t?r.to:r.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(i,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):r.word&&e.setSelection(r.from,r.to))}}t.goSubwordLeft=function(e){r(e,-1)},t.goSubwordRight=function(e){r(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,\"local\");e.getCursor().line>=n&&e.execCommand(\"goLineUp\")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,\"local\")+1;e.getCursor().line<=n&&e.execCommand(\"goLineDown\")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++)for(var o=t[i].from(),a=t[i].to(),s=o.line;s<=a.line;++s)a.line>o.line&&s==a.line&&0==a.ch||r.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(r,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){var o=t[i];r.push({anchor:n(o.from().line,0),head:n(o.to().line+1,0)})}e.setSelections(r)},t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor(\"from\"),i=t.getCursor(\"to\"),a=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var s=o(t,r);if(!s.word)return;t.setSelection(s.from,s.to),a=!0}else{var l=t.getRange(r,i),c=a?new RegExp(\"\\\\b\"+l+\"\\\\b\"):l,u=t.getSearchCursor(c,i),f=u.findNext();if(f||(f=(u=t.getSearchCursor(c,n(t.firstLine(),0))).findNext()),!f||function(t,n,r){for(var i=0;i<t.length;i++)if(0==e.cmpPos(t[i].from(),n)&&0==e.cmpPos(t[i].to(),r))return!0;return!1}(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}a&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor(\"anchor\"),i=n.getCursor(\"head\");t.selectNextOccurrence(n),0!=e.cmpPos(r,i)&&n.doc.setSelections(n.doc.listSelections().filter((function(e){return e.anchor!=r||e.head!=i})))},t.addCursorToPrevLine=function(e){a(e,-1)},t.addCursorToNextLine=function(e){a(e,1)},t.selectScope=function(e){s(e)||e.execCommand(\"selectAll\")},t.selectBetweenBrackets=function(t){if(!s(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,l(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,l(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return o&&n(o.pos.line,o.pos.ch+1)||r.head}))},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.firstLine()-1,a=[],s=0;s<r.length;s++){var l=r[s],c=l.from().line-1,u=l.to().line;a.push({anchor:n(l.anchor.line-1,l.anchor.ch),head:n(l.head.line-1,l.head.ch)}),0!=l.to().ch||l.empty()||--u,c>o?i.push(c,u):i.length&&(i[i.length-1]=u),o=u}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],s=t.getLine(r);t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),o>t.lastLine()?t.replaceRange(\"\\n\"+s,n(t.lastLine()),null,\"+swapLine\"):t.replaceRange(s+\"\\n\",n(o,0),null,\"+swapLine\")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,a=r.length-1;a>=0;a--){var s=r[a],l=s.to().line+1,c=s.from().line;0!=s.to().ch||s.empty()||l--,l<o?i.push(l,c):i.length&&(i[i.length-1]=c),o=c}t.operation((function(){for(var e=i.length-2;e>=0;e-=2){var r=i[e],o=i[e+1],a=t.getLine(r);r==t.lastLine()?t.replaceRange(\"\",n(r-1),n(r),\"+swapLine\"):t.replaceRange(\"\",n(r,0),n(r+1,0),\"+swapLine\"),t.replaceRange(a+\"\\n\",n(o,0),null,\"+swapLine\")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],i=0;i<t.length;i++){for(var o=t[i],a=o.from(),s=a.line,l=o.to().line;i<t.length-1&&t[i+1].from().line==l;)l=t[++i].to().line;r.push({start:s,end:l,anchor:!o.empty()&&a})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var a,s=r[o],l=s.anchor&&n(s.anchor.line-t,s.anchor.ch),c=s.start;c<=s.end;c++){var u=c-t;c==s.end&&(a=n(u,e.getLine(u).length+1)),u<e.lastLine()&&(e.replaceRange(\" \",n(u),n(u+1,/^\\s*/.exec(e.getLine(u+1))[0].length)),++t)}i.push({anchor:l||a,head:a})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+\"\\n\",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){c(e,!0)},t.sortLinesInsensitive=function(e){c(e,!1)},t.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},t.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},t.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},t.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},t.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation((function(){for(var r=t.listSelections(),i=t.getOption(\"indentUnit\"),o=r.length-1;o>=0;o--){var a=r[o].head,s=t.getRange({line:a.line,ch:0},a),l=e.countColumn(s,null,t.getOption(\"tabSize\")),c=t.findPosH(a,-1,\"char\",!1);if(s&&!/\\S/.test(s)&&l%i==0){var u=new n(a.line,e.findColumn(s,l-i,i));u.ch!=a.ch&&(c=u)}t.replaceRange(\"\",c,a,\"+delete\")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(\"\",t[r].anchor,n(t[r].to().line),\"+delete\");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){u(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){u(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var r=t.getCursor(),i=n;if(e.cmpPos(r,i)>0){var o=i;i=r,r=o}t.state.sublimeKilled=t.getRange(r,i),t.replaceRange(\"\",r,i)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,\"paste\")},t.showInCenter=function(e){var t=e.cursorCoords(null,\"local\");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=f(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var d=e.keyMap;d.macSublime={\"Cmd-Left\":\"goLineStartSmart\",\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-Left\":\"goSubwordLeft\",\"Ctrl-Right\":\"goSubwordRight\",\"Ctrl-Alt-Up\":\"scrollLineUp\",\"Ctrl-Alt-Down\":\"scrollLineDown\",\"Cmd-L\":\"selectLine\",\"Shift-Cmd-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Cmd-Enter\":\"insertLineAfter\",\"Shift-Cmd-Enter\":\"insertLineBefore\",\"Cmd-D\":\"selectNextOccurrence\",\"Shift-Cmd-Space\":\"selectScope\",\"Shift-Cmd-M\":\"selectBetweenBrackets\",\"Cmd-M\":\"goToBracket\",\"Cmd-Ctrl-Up\":\"swapLineUp\",\"Cmd-Ctrl-Down\":\"swapLineDown\",\"Cmd-/\":\"toggleCommentIndented\",\"Cmd-J\":\"joinLines\",\"Shift-Cmd-D\":\"duplicateLine\",F5:\"sortLines\",\"Cmd-F5\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Cmd-F2\":\"toggleBookmark\",\"Shift-Cmd-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Cmd-K Cmd-D\":\"skipAndSelectNextOccurrence\",\"Cmd-K Cmd-K\":\"delLineRight\",\"Cmd-K Cmd-U\":\"upcaseAtCursor\",\"Cmd-K Cmd-L\":\"downcaseAtCursor\",\"Cmd-K Cmd-Space\":\"setSublimeMark\",\"Cmd-K Cmd-A\":\"selectToSublimeMark\",\"Cmd-K Cmd-W\":\"deleteToSublimeMark\",\"Cmd-K Cmd-X\":\"swapWithSublimeMark\",\"Cmd-K Cmd-Y\":\"sublimeYank\",\"Cmd-K Cmd-C\":\"showInCenter\",\"Cmd-K Cmd-G\":\"clearBookmarks\",\"Cmd-K Cmd-Backspace\":\"delLineLeft\",\"Cmd-K Cmd-1\":\"foldAll\",\"Cmd-K Cmd-0\":\"unfoldAll\",\"Cmd-K Cmd-J\":\"unfoldAll\",\"Ctrl-Shift-Up\":\"addCursorToPrevLine\",\"Ctrl-Shift-Down\":\"addCursorToNextLine\",\"Cmd-F3\":\"findUnder\",\"Shift-Cmd-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Cmd-[\":\"fold\",\"Shift-Cmd-]\":\"unfold\",\"Cmd-I\":\"findIncremental\",\"Shift-Cmd-I\":\"findIncrementalReverse\",\"Cmd-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"macDefault\"},e.normalizeKeyMap(d.macSublime),d.pcSublime={\"Shift-Tab\":\"indentLess\",\"Shift-Ctrl-K\":\"deleteLine\",\"Alt-Q\":\"wrapLines\",\"Ctrl-T\":\"transposeChars\",\"Alt-Left\":\"goSubwordLeft\",\"Alt-Right\":\"goSubwordRight\",\"Ctrl-Up\":\"scrollLineUp\",\"Ctrl-Down\":\"scrollLineDown\",\"Ctrl-L\":\"selectLine\",\"Shift-Ctrl-L\":\"splitSelectionByLine\",Esc:\"singleSelectionTop\",\"Ctrl-Enter\":\"insertLineAfter\",\"Shift-Ctrl-Enter\":\"insertLineBefore\",\"Ctrl-D\":\"selectNextOccurrence\",\"Shift-Ctrl-Space\":\"selectScope\",\"Shift-Ctrl-M\":\"selectBetweenBrackets\",\"Ctrl-M\":\"goToBracket\",\"Shift-Ctrl-Up\":\"swapLineUp\",\"Shift-Ctrl-Down\":\"swapLineDown\",\"Ctrl-/\":\"toggleCommentIndented\",\"Ctrl-J\":\"joinLines\",\"Shift-Ctrl-D\":\"duplicateLine\",F9:\"sortLines\",\"Ctrl-F9\":\"sortLinesInsensitive\",F2:\"nextBookmark\",\"Shift-F2\":\"prevBookmark\",\"Ctrl-F2\":\"toggleBookmark\",\"Shift-Ctrl-F2\":\"clearBookmarks\",\"Alt-F2\":\"selectBookmarks\",Backspace:\"smartBackspace\",\"Ctrl-K Ctrl-D\":\"skipAndSelectNextOccurrence\",\"Ctrl-K Ctrl-K\":\"delLineRight\",\"Ctrl-K Ctrl-U\":\"upcaseAtCursor\",\"Ctrl-K Ctrl-L\":\"downcaseAtCursor\",\"Ctrl-K Ctrl-Space\":\"setSublimeMark\",\"Ctrl-K Ctrl-A\":\"selectToSublimeMark\",\"Ctrl-K Ctrl-W\":\"deleteToSublimeMark\",\"Ctrl-K Ctrl-X\":\"swapWithSublimeMark\",\"Ctrl-K Ctrl-Y\":\"sublimeYank\",\"Ctrl-K Ctrl-C\":\"showInCenter\",\"Ctrl-K Ctrl-G\":\"clearBookmarks\",\"Ctrl-K Ctrl-Backspace\":\"delLineLeft\",\"Ctrl-K Ctrl-1\":\"foldAll\",\"Ctrl-K Ctrl-0\":\"unfoldAll\",\"Ctrl-K Ctrl-J\":\"unfoldAll\",\"Ctrl-Alt-Up\":\"addCursorToPrevLine\",\"Ctrl-Alt-Down\":\"addCursorToNextLine\",\"Ctrl-F3\":\"findUnder\",\"Shift-Ctrl-F3\":\"findUnderPrevious\",\"Alt-F3\":\"findAllUnder\",\"Shift-Ctrl-[\":\"fold\",\"Shift-Ctrl-]\":\"unfold\",\"Ctrl-I\":\"findIncremental\",\"Shift-Ctrl-I\":\"findIncrementalReverse\",\"Ctrl-H\":\"replace\",F3:\"findNext\",\"Shift-F3\":\"findPrev\",fallthrough:\"pcDefault\"},e.normalizeKeyMap(d.pcSublime);var h=d.default==d.macDefault;d.sublime=h?d.macSublime:d.pcSublime}(n(10),n(33),n(41))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(173),n(174),n(175)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),Object.defineProperty(e,\"getASTNodeAtPosition\",{enumerable:!0,get:function(){return t.getASTNodeAtPosition}}),Object.defineProperty(e,\"pointToOffset\",{enumerable:!0,get:function(){return t.pointToOffset}}),Object.defineProperty(e,\"Position\",{enumerable:!0,get:function(){return n.Position}}),Object.defineProperty(e,\"Range\",{enumerable:!0,get:function(){return n.Range}}),Object.defineProperty(e,\"locToRange\",{enumerable:!0,get:function(){return n.locToRange}}),Object.defineProperty(e,\"offsetToPosition\",{enumerable:!0,get:function(){return n.offsetToPosition}}),Object.defineProperty(e,\"validateWithCustomRules\",{enumerable:!0,get:function(){return r.validateWithCustomRules}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return a}));var r=n(2),i=n(1),o=n(23);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n<a.length;n++){var s=a[n];if(!Object(o.b)(s)){var l=s.kind===i.a.SCHEMA_DEFINITION||s.kind===i.a.SCHEMA_EXTENSION?\"schema\":'\"'+s.name.value+'\"';e.reportError(new r.a(\"The \".concat(l,\" definition is not executable.\"),s))}}return!1}}}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t;t=function(){return this}();try{t=t||new Function(\"return this\")()}catch(e){\"object\"==typeof window&&(t=window)}e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(111)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4E\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD803[\\uDF55-\\uDF59]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[\"\"];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error(\"Parser rule not found: \"+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var i=this.__find__(e),o=r||{};if(-1===i)throw new Error(\"Parser rule not found: \"+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error(\"Rules manager: invalid rule name \"+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content=\"\",this.markup=\"\",this.info=\"\",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.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=t})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r,o){let a,s;n(10).on(r,\"select\",(e,n)=>{if(!a){const e=n.parentNode;let t;a=document.createElement(\"div\"),a.className=\"CodeMirror-hint-information\",e.appendChild(a),s=document.createElement(\"div\"),s.className=\"CodeMirror-hint-deprecation\",e.appendChild(s),e.addEventListener(\"DOMNodeRemoved\",t=n=>{n.target===e&&(e.removeEventListener(\"DOMNodeRemoved\",t),a=null,s=null,t=null)})}const r=e.description?i.render(e.description):\"Self descriptive.\",l=e.type?'<span class=\"infoType\">'+function e(n){return n instanceof t.GraphQLNonNull?e(n.ofType)+\"!\":n instanceof t.GraphQLList?`[${e(n.ofType)}]`:`<a class=\"typeName\">${n.name}</a>`}(e.type)+\"</span>\":\"\";if(a.innerHTML='<div class=\"content\">'+(\"<p>\"===r.slice(0,3)?\"<p>\"+l+r.slice(3):l+r)+\"</div>\",e&&s&&e.isDeprecated){const t=e.deprecationReason?i.render(e.deprecationReason):\"\";s.innerHTML='<span class=\"deprecation-label\">Deprecated</span>'+t,s.style.display=\"block\"}else s&&(s.style.display=\"none\");o&&o(a)})};const i=new(o=r,r=o&&o.__esModule?o:{default:o}).default;var o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\"start\"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on(\"cursorActivity\",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var r={hint:t};if(n)for(var i in n)r[i]=n[i];return e.showHint(r)},e.defineExtension(\"showHint\",(function(n){n=function(e,t,n){var r=e.options.hintOptions,i={};for(var o in l)i[o]=l[o];if(r)for(var o in r)void 0!==r[o]&&(i[o]=r[o]);if(n)for(var o in n)void 0!==n[o]&&(i[o]=n[o]);return i.hint.resolve&&(i.hint=i.hint.resolve(e,t)),i}(this,this.getCursor(\"start\"),n);var r=this.listSelections();if(!(r.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var i=0;i<r.length;i++)if(r[i].head.line!=r[i].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var o=this.state.completionActive=new t(this,n);o.options.hint&&(e.signal(this,\"startCompletion\",this),o.update(!0))}})),e.defineExtension(\"closeHint\",(function(){this.state.completionActive&&this.state.completionActive.close()}));var n=window.requestAnimationFrame||function(e){return setTimeout(e,1e3/60)},r=window.cancelAnimationFrame||clearTimeout;function i(e){return\"string\"==typeof e?e:e.text}function o(e,t){for(;t&&t!=e;){if(\"LI\"===t.nodeName.toUpperCase()&&t.parentNode==e)return t;t=t.parentNode}}function a(t,n){this.completion=t,this.data=n,this.picked=!1;var r=this,a=t.cm,s=a.getInputField().ownerDocument,l=s.defaultView||s.parentWindow,c=this.hints=s.createElement(\"ul\"),u=t.cm.options.theme;c.className=\"CodeMirror-hints \"+u,this.selectedHint=n.selectedHint||0;for(var f=n.list,p=0;p<f.length;++p){var d=c.appendChild(s.createElement(\"li\")),h=f[p],m=\"CodeMirror-hint\"+(p!=this.selectedHint?\"\":\" CodeMirror-hint-active\");null!=h.className&&(m=h.className+\" \"+m),d.className=m,h.render?h.render(d,n,h):d.appendChild(s.createTextNode(h.displayText||i(h))),d.hintId=p}var v=t.options.container||s.body,g=a.cursorCoords(t.options.alignWithWord?n.from:null),y=g.left,b=g.bottom,T=!0,E=0,O=0;if(v!==s.body){var x=-1!==[\"absolute\",\"relative\",\"fixed\"].indexOf(l.getComputedStyle(v).position)?v:v.offsetParent,_=x.getBoundingClientRect(),k=s.body.getBoundingClientRect();E=_.left-k.left-x.scrollLeft,O=_.top-k.top-x.scrollTop}c.style.left=y-E+\"px\",c.style.top=b-O+\"px\";var w=l.innerWidth||Math.max(s.body.offsetWidth,s.documentElement.offsetWidth),C=l.innerHeight||Math.max(s.body.offsetHeight,s.documentElement.offsetHeight);v.appendChild(c);var S=c.getBoundingClientRect(),N=S.bottom-C,D=c.scrollHeight>c.clientHeight+1,I=a.getScrollInfo();if(N>0){var A=S.bottom-S.top;if(g.top-(g.bottom-S.top)-A>0)c.style.top=(b=g.top-A-O)+\"px\",T=!1;else if(A>C){c.style.height=C-5+\"px\",c.style.top=(b=g.bottom-S.top-O)+\"px\";var L=a.getCursor();n.from.ch!=L.ch&&(g=a.cursorCoords(L),c.style.left=(y=g.left-E)+\"px\",S=c.getBoundingClientRect())}}var j,F=S.right-w;if(F>0&&(S.right-S.left>w&&(c.style.width=w-5+\"px\",F-=S.right-S.left-w),c.style.left=(y=g.left-F-E)+\"px\"),D)for(var M=c.firstChild;M;M=M.nextSibling)M.style.paddingRight=a.display.nativeBarWidth+\"px\";return a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n[\"Ctrl-P\"]=function(){t.moveFocus(-1)},n[\"Ctrl-N\"]=function(){t.moveFocus(1)});var r=e.options.customKeys,i=r?{}:n;function o(e,r){var o;o=\"string\"!=typeof r?function(e){return r(e,t)}:n.hasOwnProperty(r)?n[r]:r,i[e]=o}if(r)for(var a in r)r.hasOwnProperty(a)&&o(a,r[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return i}(t,{moveFocus:function(e,t){r.changeActive(r.selectedHint+e,t)},setFocus:function(e){r.changeActive(e)},menuSize:function(){return r.screenAmount()},length:f.length,close:function(){t.close()},pick:function(){r.pick()},data:n})),t.options.closeOnUnfocus&&(a.on(\"blur\",this.onBlur=function(){j=setTimeout((function(){t.close()}),100)}),a.on(\"focus\",this.onFocus=function(){clearTimeout(j)})),a.on(\"scroll\",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),r=b+I.top-e.top,i=r-(l.pageYOffset||(s.documentElement||s.body).scrollTop);if(T||(i+=c.offsetHeight),i<=n.top||i>=n.bottom)return t.close();c.style.top=r+\"px\",c.style.left=y+I.left-e.left+\"px\"}),e.on(c,\"dblclick\",(function(e){var t=o(c,e.target||e.srcElement);t&&null!=t.hintId&&(r.changeActive(t.hintId),r.pick())})),e.on(c,\"click\",(function(e){var n=o(c,e.target||e.srcElement);n&&null!=n.hintId&&(r.changeActive(n.hintId),t.options.completeOnSingleClick&&r.pick())})),e.on(c,\"mousedown\",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,\"select\",f[this.selectedHint],c.childNodes[this.selectedHint]),!0}function s(e,t,n,r){if(e.async)e(t,r,n);else{var i=e(t,n);i&&i.then?i.then(r):r(i)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off(\"cursorActivity\",this.activityFunc),this.widget&&this.data&&e.signal(this.data,\"close\"),this.widget&&this.widget.close(),e.signal(this.cm,\"endCompletion\",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var r=t.list[n],o=this;this.cm.operation((function(){r.hint?r.hint(o.cm,t,r):o.cm.replaceRange(i(r),r.from||t.from,r.to||t.to,\"complete\"),e.signal(t,\"pick\",r),o.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(r(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),i=this.cm.getLine(t.line);if(t.line!=this.startPos.line||i.length-t.ch!=this.startLen-this.startPos.ch||t.ch<e.ch||this.cm.somethingSelected()||!t.ch||this.options.closeCharacters.test(i.charAt(t.ch-1)))this.close();else{var o=this;this.debounce=n((function(){o.update()})),this.widget&&this.widget.disable()}},update:function(e){if(null!=this.tick){var t=this,n=++this.tick;s(this.options.hint,this.cm,this.options,(function(r){t.tick==n&&t.finishUpdate(r,e)}))}},finishUpdate:function(t,n){this.data&&e.signal(this.data,\"update\");var r=this.widget&&this.widget.picked||n&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=t,t&&t.list.length&&(r&&1==t.list.length?this.pick(t,0):(this.widget=new a(this,t),e.signal(t,\"shown\")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var e=this.completion.cm;this.completion.options.closeOnUnfocus&&(e.off(\"blur\",this.onBlur),e.off(\"focus\",this.onFocus)),e.off(\"scroll\",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var e=this;this.keyMap={Enter:function(){e.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(t,n){if(t>=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var r=this.hints.childNodes[this.selectedHint];r&&(r.className=r.className.replace(\" CodeMirror-hint-active\",\"\")),(r=this.hints.childNodes[this.selectedHint=t]).className+=\" CodeMirror-hint-active\",this.scrollToActive(),e.signal(this.data,\"select\",this.data.list[this.selectedHint],r)}},scrollToActive:function(){var e=this.completion.options.scrollMargin||0,t=this.hints.childNodes[Math.max(0,this.selectedHint-e)],n=this.hints.childNodes[Math.min(this.data.list.length-1,this.selectedHint+e)],r=this.hints.firstChild;t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=t.offsetTop-r.offsetTop:n.offsetTop+n.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=n.offsetTop+n.offsetHeight-this.hints.clientHeight+r.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper(\"hint\",\"auto\",{resolve:function(t,n){var r,i=t.getHelpers(n,\"hint\");if(i.length){var o=function(e,t,n){var r=function(e,t){if(!e.somethingSelected())return t;for(var n=[],r=0;r<t.length;r++)t[r].supportsSelection&&n.push(t[r]);return n}(e,i);!function i(o){if(o==r.length)return t(null);s(r[o],e,n,(function(e){e&&e.list.length>0?t(e):i(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(r=t.getHelper(t.getCursor(),\"hintWords\"))?function(t){return e.hint.fromList(t,{words:r})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper(\"hint\",\"fromList\",(function(t,n){var r,i=t.getCursor(),o=t.getTokenAt(i),a=e.Pos(i.line,o.start),s=i;o.start<i.ch&&/\\w/.test(o.string.charAt(i.ch-o.start-1))?r=o.string.substr(0,i.ch-o.start):(r=\"\",a=i);for(var l=[],c=0;c<n.words.length;c++){var u=n.words[c];u.slice(0,r.length)==r&&l.push(u)}if(l.length)return{list:l,from:a,to:s}})),e.commands.autocomplete=e.showHint;var l={hint:e.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\\s()\\[\\]{};:>,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption(\"hintOptions\",null)}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={pairs:\"()[]{}''\\\"\\\"\",closeBefore:\")]}'\\\":;>\",triples:\"\",explode:\"[]{}\"},n=e.Pos;function r(e,n){return\"pairs\"==n&&\"string\"==typeof e?e:\"object\"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption(\"autoCloseBrackets\",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,\"pairs\")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:function(t){var i=s(t);if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=r(i,\"pairs\"),a=t.listSelections(),c=0;c<a.length;c++){if(!a[c].empty())return e.Pass;var u=l(t,a[c].head);if(!u||o.indexOf(u)%2!=0)return e.Pass}for(c=a.length-1;c>=0;c--){var f=a[c].head;t.replaceRange(\"\",n(f.line,f.ch-1),n(f.line,f.ch+1),\"+delete\")}},Enter:function(t){var n=s(t),i=n&&r(n,\"explode\");if(!i||t.getOption(\"disableInput\"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var c=l(t,o[a].head);if(!c||i.indexOf(c)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||\"\\n\";t.replaceSelection(e+e,null),t.execCommand(\"goCharLeft\"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r=\"'\"+n+\"'\";i[r]||(i[r]=a(n))}}function a(t){return function(i){return function(t,i){var o=s(t);if(!o||t.getOption(\"disableInput\"))return e.Pass;var a=r(o,\"pairs\"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var u,f=r(o,\"closeBefore\"),p=r(o,\"triples\"),d=a.charAt(l+1)==i,h=t.listSelections(),m=l%2==0,v=0;v<h.length;v++){var g,y=h[v],b=y.head,T=t.getRange(b,n(b.line,b.ch+1));if(m&&!y.empty())g=\"surround\";else if(!d&&m||T!=i)if(d&&b.ch>1&&p.indexOf(i)>=0&&t.getRange(n(b.line,b.ch-2),b)==i+i){if(b.ch>2&&/\\bstring/.test(t.getTokenTypeAt(n(b.line,b.ch-2))))return e.Pass;g=\"addFour\"}else if(d){var E=0==b.ch?\" \":t.getRange(n(b.line,b.ch-1),b);if(e.isWordChar(T)||E==i||e.isWordChar(E))return e.Pass;g=\"both\"}else{if(!m||!(0===T.length||/\\s/.test(T)||f.indexOf(T)>-1))return e.Pass;g=\"both\"}else g=d&&c(t,b)?\"both\":p.indexOf(i)>=0&&t.getRange(b,n(b.line,b.ch+3))==i+i+i?\"skipThree\":\"skip\";if(u){if(u!=g)return e.Pass}else u=g}var O=l%2?a.charAt(l-1):i,x=l%2?i:a.charAt(l+1);t.operation((function(){if(\"skip\"==u)t.execCommand(\"goCharRight\");else if(\"skipThree\"==u)for(var r=0;r<3;r++)t.execCommand(\"goCharRight\");else if(\"surround\"==u){var i=t.getSelections();for(r=0;r<i.length;r++)i[r]=O+i[r]+x;for(t.replaceSelections(i,\"around\"),i=t.listSelections().slice(),r=0;r<i.length;r++)i[r]=(o=i[r],a=void 0,a=e.cmpPos(o.anchor,o.head)>0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(i)}else\"both\"==u?(t.replaceSelection(O+x,null),t.triggerElectric(O+x),t.execCommand(\"goCharLeft\")):\"addFour\"==u&&(t.replaceSelection(O+O+O+O,\"before\"),t.execCommand(\"goCharRight\"));var o,a}))}(i,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function l(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function c(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+\"`\")}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t=\"CodeMirror-lint-markers\";function n(e){e.parentNode&&e.parentNode.removeChild(e)}function r(t,r,i,o){var a=function(t,n,r){var i=document.createElement(\"div\");function o(t){if(!i.parentNode)return e.off(document,\"mousemove\",o);i.style.top=Math.max(0,t.clientY-i.offsetHeight-5)+\"px\",i.style.left=t.clientX+5+\"px\"}return i.className=\"CodeMirror-lint-tooltip cm-s-\"+t.options.theme,i.appendChild(r.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,\"mousemove\",o),o(n),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i);function s(){var t;e.off(o,\"mouseout\",s),a&&((t=a).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),a=null)}var l=setInterval((function(){if(a)for(var e=o;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return;if(!e){s();break}}if(!a)return clearInterval(l)}),400);e.on(o,\"mouseout\",s)}function i(e,t,n){this.marked=[],this.options=t,this.timeout=null,this.hasGutter=n,this.onMouseOver=function(t){!function(e,t){var n=t.target||t.srcElement;if(/\\bCodeMirror-lint-mark-/.test(n.className)){for(var i=n.getBoundingClientRect(),o=(i.left+i.right)/2,a=(i.top+i.bottom)/2,l=e.findMarksAt(e.coordsChar({left:o,top:a},\"client\")),c=[],u=0;u<l.length;++u){var f=l[u].__annotation;f&&c.push(f)}c.length&&function(e,t,n){for(var i=n.target||n.srcElement,o=document.createDocumentFragment(),a=0;a<t.length;a++){var l=t[a];o.appendChild(s(l))}r(e,n,o,i)}(e,c,t)}}(e,t)},this.waitingFor=0}function o(e){var n=e.state.lint;n.hasGutter&&e.clearGutter(t);for(var r=0;r<n.marked.length;++r)n.marked[r].clear();n.marked.length=0}function a(t,n,i,o,a){var s=document.createElement(\"div\"),l=s;return s.className=\"CodeMirror-lint-marker-\"+i,o&&((l=s.appendChild(document.createElement(\"div\"))).className=\"CodeMirror-lint-marker-multiple\"),0!=a&&e.on(l,\"mouseover\",(function(e){r(t,e,n,l)})),s}function s(e){var t=e.severity;t||(t=\"error\");var n=document.createElement(\"div\");return n.className=\"CodeMirror-lint-message-\"+t,void 0!==e.messageHTML?n.innerHTML=e.messageHTML:n.appendChild(document.createTextNode(e.message)),n}function l(t){var n=t.state.lint.options,r=n.options||n,i=n.getAnnotations||t.getHelper(e.Pos(0,0),\"lint\");if(i)if(n.async||i.async)!function(t,n,r){var i=t.state.lint,o=++i.waitingFor;function a(){o=-1,t.off(\"change\",a)}t.on(\"change\",a),n(t.getValue(),(function(n,r){t.off(\"change\",a),i.waitingFor==o&&(r&&n instanceof e&&(n=r),t.operation((function(){c(t,n)})))}),r,t)}(t,i,r);else{var o=i(t.getValue(),r,t);if(!o)return;o.then?o.then((function(e){t.operation((function(){c(t,e)}))})):t.operation((function(){c(t,o)}))}}function c(e,n){o(e);for(var r,i,l=e.state.lint,c=l.options,u=function(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i=r.from.line;(t[i]||(t[i]=[])).push(r)}return t}(n),f=0;f<u.length;++f){var p=u[f];if(p){for(var d=null,h=l.hasGutter&&document.createDocumentFragment(),m=0;m<p.length;++m){var v=p[m],g=v.severity;g||(g=\"error\"),i=g,d=\"error\"==(r=d)?r:i,c.formatAnnotation&&(v=c.formatAnnotation(v)),l.hasGutter&&h.appendChild(s(v)),v.to&&l.marked.push(e.markText(v.from,v.to,{className:\"CodeMirror-lint-mark-\"+g,__annotation:v}))}l.hasGutter&&e.setGutterMarker(f,t,a(e,h,d,p.length>1,l.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,u,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){l(e)}),t.options.delay||500))}e.defineOption(\"lint\",!1,(function(n,r,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off(\"change\",u),e.off(n.getWrapperElement(),\"mouseover\",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),r){for(var s=n.getOption(\"gutters\"),c=!1,f=0;f<s.length;++f)s[f]==t&&(c=!0);var p=n.state.lint=new i(n,(d=r)instanceof Function?{getAnnotations:d}:(d&&!0!==d||(d={}),d),c);!1!==p.options.lintOnChange&&n.on(\"change\",u),0!=p.options.tooltips&&\"gutter\"!=p.options.tooltips&&e.on(n.getWrapperElement(),\"mouseover\",p.onMouseOver),l(n)}var d})),e.defineExtension(\"performLint\",(function(){this.state.lint&&l(this)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(36),n(71)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){const t=[];return s(e,(e,n)=>{n.kind===r.RuleKinds.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:r.RuleKinds.FRAGMENT_DEFINITION,name:{kind:\"Name\",value:n.name},selectionSet:{kind:r.RuleKinds.SELECTION_SET,selections:[]},typeCondition:{kind:r.RuleKinds.NAMED_TYPE,name:{kind:\"Name\",value:n.type}}})}),t}function a(e,t){let n=null,r=null,i=null;const o=s(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,r=Object.assign({},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 s(e,t){const n=e.split(\"\\n\"),i=(0,r.onlineParser)();let o=i.startState(),a=\"\",s=new r.CharacterStream(\"\");for(let e=0;e<n.length;e++){for(s=new r.CharacterStream(n[e]);!s.eol()&&(a=i.token(s,o),\"BREAK\"!==t(s,o,a,e)););t(s,o,a,e),o.kind||(o=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:o,style:a}}function l(e,t){if(!e||!e.kind)return!1;const n=e.kind,i=t.locations;switch(n){case r.RuleKinds.QUERY:return-1!==i.indexOf(\"QUERY\");case r.RuleKinds.MUTATION:return-1!==i.indexOf(\"MUTATION\");case r.RuleKinds.SUBSCRIPTION:return-1!==i.indexOf(\"SUBSCRIPTION\");case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:return-1!==i.indexOf(\"FIELD\");case r.RuleKinds.FRAGMENT_DEFINITION:return-1!==i.indexOf(\"FRAGMENT_DEFINITION\");case r.RuleKinds.FRAGMENT_SPREAD:return-1!==i.indexOf(\"FRAGMENT_SPREAD\");case r.RuleKinds.INLINE_FRAGMENT:return-1!==i.indexOf(\"INLINE_FRAGMENT\");case r.RuleKinds.SCHEMA_DEF:return-1!==i.indexOf(\"SCHEMA\");case r.RuleKinds.SCALAR_DEF:return-1!==i.indexOf(\"SCALAR\");case r.RuleKinds.OBJECT_TYPE_DEF:return-1!==i.indexOf(\"OBJECT\");case r.RuleKinds.FIELD_DEF:return-1!==i.indexOf(\"FIELD_DEFINITION\");case r.RuleKinds.INTERFACE_DEF:return-1!==i.indexOf(\"INTERFACE\");case r.RuleKinds.UNION_DEF:return-1!==i.indexOf(\"UNION\");case r.RuleKinds.ENUM_DEF:return-1!==i.indexOf(\"ENUM\");case r.RuleKinds.ENUM_VALUE:return-1!==i.indexOf(\"ENUM_VALUE\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_OBJECT\");case r.RuleKinds.INPUT_VALUE_DEF:switch(e.prevState&&e.prevState.kind){case r.RuleKinds.ARGUMENTS_DEF:return-1!==i.indexOf(\"ARGUMENT_DEFINITION\");case r.RuleKinds.INPUT_DEF:return-1!==i.indexOf(\"INPUT_FIELD_DEFINITION\")}}return!1}function c(e,t){let o,a,s,l,c,u,f,p,d;return(0,i.forEachState)(t,t=>{switch(t.kind){case r.RuleKinds.QUERY:case\"ShortQuery\":d=e.getQueryType();break;case r.RuleKinds.MUTATION:d=e.getMutationType();break;case r.RuleKinds.SUBSCRIPTION:d=e.getSubscriptionType();break;case r.RuleKinds.INLINE_FRAGMENT:case r.RuleKinds.FRAGMENT_DEFINITION:t.type&&(d=e.getType(t.type));break;case r.RuleKinds.FIELD:case r.RuleKinds.ALIASED_FIELD:d&&t.name?(c=p?(0,i.getFieldDef)(e,p,t.name):null,d=c?c.type:null):c=null;break;case r.RuleKinds.SELECTION_SET:p=(0,n.getNamedType)(d);break;case r.RuleKinds.DIRECTIVE:s=t.name?e.getDirective(t.name):null;break;case r.RuleKinds.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case r.RuleKinds.FIELD:a=c&&c.args;break;case r.RuleKinds.DIRECTIVE:a=s&&s.args;break;case r.RuleKinds.ALIASED_FIELD:const n=t.prevState&&t.prevState.name;if(!n){a=null;break}const o=p?(0,i.getFieldDef)(e,p,n):null;if(!o){a=null;break}a=o.args;break;default:a=null}else a=null;break;case r.RuleKinds.ARGUMENT:if(a)for(let e=0;e<a.length;e++)if(a[e].name===t.name){o=a[e];break}u=o&&o.type;break;case r.RuleKinds.ENUM_VALUE:const h=(0,n.getNamedType)(u);l=h instanceof n.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n];return null}(h.getValues(),e=>e.value===t.name):null;break;case r.RuleKinds.LIST_VALUE:const m=(0,n.getNullableType)(u);u=m instanceof n.GraphQLList?m.ofType:null;break;case r.RuleKinds.OBJECT_VALUE:const v=(0,n.getNamedType)(u);f=v instanceof n.GraphQLInputObjectType?v.getFields():null;break;case r.RuleKinds.OBJECT_FIELD:const g=t.name&&f?f[t.name]:null;u=g&&g.type;break;case r.RuleKinds.NAMED_TYPE:t.name&&(d=e.getType(t.name))}}),{argDef:o,argDefs:a,directiveDef:s,enumValue:l,fieldDef:c,inputType:u,objectFieldDefs:f,parentType:p,type:d}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getAutocompleteSuggestions=function(e,s,u,f,p){const d=f||a(s,u),h=\"Invalid\"===d.state.kind?d.state.prevState:d.state;if(!h)return[];const m=h.kind,v=h.step,g=c(e,d.state);if(m===r.RuleKinds.DOCUMENT)return(0,i.hintList)(d,[{label:\"query\",kind:t.CompletionItemKind.Function},{label:\"mutation\",kind:t.CompletionItemKind.Function},{label:\"subscription\",kind:t.CompletionItemKind.Function},{label:\"fragment\",kind:t.CompletionItemKind.Function},{label:\"{\",kind:t.CompletionItemKind.Constructor}]);if(m===r.RuleKinds.SELECTION_SET||m===r.RuleKinds.FIELD||m===r.RuleKinds.ALIASED_FIELD)return function(e,r,o,a){if(r.parentType){const a=r.parentType;let s=[];return\"getFields\"in a&&(s=(0,i.objectValues)(a.getFields())),(0,n.isCompositeType)(a)&&s.push(n.TypeNameMetaFieldDef),a===o.getQueryType()&&s.push(n.SchemaMetaFieldDef,n.TypeMetaFieldDef),(0,i.hintList)(e,s.map((e,n)=>{var r;return{sortText:String(n)+e.name,label:e.name,detail:String(e.type),documentation:null!==(r=e.description)&&void 0!==r?r:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.Field}}))}return[]}(d,g,e);if(m===r.RuleKinds.ARGUMENTS||m===r.RuleKinds.ARGUMENT&&0===v){const e=g.argDefs;if(e)return(0,i.hintList)(d,e.map(e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t.CompletionItemKind.Variable}}))}if((m===r.RuleKinds.OBJECT_VALUE||m===r.RuleKinds.OBJECT_FIELD&&0===v)&&g.objectFieldDefs){const e=(0,i.objectValues)(g.objectFieldDefs),n=m===r.RuleKinds.OBJECT_VALUE?t.CompletionItemKind.Value:t.CompletionItemKind.Field;return(0,i.hintList)(d,e.map(e=>{var t;return{label:e.name,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:n}}))}if(m===r.RuleKinds.ENUM_VALUE||m===r.RuleKinds.LIST_VALUE&&1===v||m===r.RuleKinds.OBJECT_FIELD&&2===v||m===r.RuleKinds.ARGUMENT&&2===v)return function(e,r,o){const a=(0,n.getNamedType)(r.inputType);if(a instanceof n.GraphQLEnumType){const n=a.getValues();return(0,i.hintList)(e,n.map(e=>{var n;return{label:e.name,detail:String(a),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,deprecated:e.isDeprecated,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,kind:t.CompletionItemKind.EnumMember}}))}return a===n.GraphQLBoolean?(0,i.hintList)(e,[{label:\"true\",detail:String(n.GraphQLBoolean),documentation:\"Not false.\",kind:t.CompletionItemKind.Variable},{label:\"false\",detail:String(n.GraphQLBoolean),documentation:\"Not true.\",kind:t.CompletionItemKind.Variable}]):[]}(d,g);if(m===r.RuleKinds.VARIABLE&&1===v){const e=[];return(0,n.visit)((0,n.parse)(s,{allowLegacySDLEmptyFields:!0,allowLegacySDLImplementsInterfaces:!0}),{VariableDefinition(t){e.push(t)}}),(0,i.hintList)(d,e.map(e=>({label:\"$\"+e.variable.name.value,kind:t.CompletionItemKind.Variable,detail:\"name\"in e.type?e.type.name.value:\"Variable\"})))}return m===r.RuleKinds.TYPE_CONDITION&&1===v||m===r.RuleKinds.NAMED_TYPE&&null!=h.prevState&&h.prevState.kind===r.RuleKinds.TYPE_CONDITION?function(e,r,o,a){let s;if(r.parentType)if((0,n.isAbstractType)(r.parentType)){const e=(0,n.assertAbstractType)(r.parentType),t=o.getPossibleTypes(e),a=Object.create(null);t.forEach(e=>{e.getInterfaces().forEach(e=>{a[e.name]=e})}),s=t.concat((0,i.objectValues)(a))}else s=[r.parentType];else{const e=o.getTypeMap();s=(0,i.objectValues)(e).filter(n.isCompositeType)}return(0,i.hintList)(e,s.map(e=>{const r=(0,n.getNamedType)(e);return{label:String(e),documentation:r&&r.description||\"\",kind:t.CompletionItemKind.Field}}))}(d,g,e):m===r.RuleKinds.FRAGMENT_SPREAD&&1===v?function(e,a,s,l,c){const u=s.getTypeMap(),f=(0,i.getDefinitionState)(e.state),p=o(l);c&&p.push(...c);const d=p.filter(e=>u[e.typeCondition.name.value]&&!(f&&f.kind===r.RuleKinds.FRAGMENT_DEFINITION&&f.name===e.name.value)&&(0,n.isCompositeType)(a.parentType)&&(0,n.isCompositeType)(u[e.typeCondition.name.value])&&(0,n.doTypesOverlap)(s,a.parentType,u[e.typeCondition.name.value]));return(0,i.hintList)(e,d.map(e=>({label:e.name.value,detail:String(u[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:t.CompletionItemKind.Field})))}(d,g,e,s,p):m===r.RuleKinds.VARIABLE_DEFINITION&&2===v||m===r.RuleKinds.LIST_TYPE&&1===v||m===r.RuleKinds.NAMED_TYPE&&h.prevState&&(h.prevState.kind===r.RuleKinds.VARIABLE_DEFINITION||h.prevState.kind===r.RuleKinds.LIST_TYPE||h.prevState.kind===r.RuleKinds.NON_NULL_TYPE)?function(e,r,o){const a=r.getTypeMap(),s=(0,i.objectValues)(a).filter(n.isInputType);return(0,i.hintList)(e,s.map(e=>({label:e.name,documentation:e.description,kind:t.CompletionItemKind.Variable})))}(d,e):m===r.RuleKinds.DIRECTIVE?function(e,n,r,o){if(n.prevState&&n.prevState.kind){const o=r.getDirectives().filter(e=>l(n.prevState,e));return(0,i.hintList)(e,o.map(e=>({label:e.name,documentation:e.description||\"\",kind:t.CompletionItemKind.Function})))}return[]}(d,h,e):[]},e.getFragmentDefinitions=o,e.getTokenAtPosition=a,e.runOnlineParser=s,e.canUseDirective=l,e.getTypeInfo=c})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({arg:e,onClickType:i,showDefaultValue:o}){return t.default.createElement(\"span\",{className:\"arg\"},t.default.createElement(\"span\",{className:\"arg-name\"},e.name),\": \",t.default.createElement(n.default,{type:e.type,onClick:i}),!1!==o&&t.default.createElement(r.default,{field:e}))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({markdown:e,className:n}){return e?t.default.createElement(\"div\",{className:n,dangerouslySetInnerHTML:{__html:i.render(e)}}):t.default.createElement(\"div\",null)},t=r(t);const i=new((n=r(n)).default)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return i})),n.d(t,\"b\",(function(){return o}));var r=n(39);function i(e){return o(e.source,Object(r.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,l=t.line+o,c=1===t.line?n:0,u=t.column+c,f=\"\".concat(e.name,\":\").concat(l,\":\").concat(u,\"\\n\"),p=r.split(/\\r\\n|[\\n\\r]/g),d=p[i];if(d.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],g=0;g<d.length;g+=80)v.push(d.slice(g,g+80));return f+a([[\"\".concat(l),v[0]]].concat(v.slice(1,h+1).map((function(e){return[\"\",e]})),[[\" \",s(m-1)+\"^\"],[\"\",v[h+1]]]))}return f+a([[\"\".concat(l-1),p[i-1]],[\"\".concat(l),d],[\"\",s(u-1)+\"^\"],[\"\".concat(l+1),p[i+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],i=e[1];return s(n-(t=r).length)+t+(i?\" | \"+i:\" |\")})).join(\"\\n\")}function s(e){return Array(e+1).join(\" \")}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(112)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports.encode=n(113),e.exports.decode=n(114),e.exports.format=n(115),e.exports.parse=n(116)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[\\0-\\x1F\\x7F-\\x9F]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=\"<[A-Za-z][A-Za-z0-9\\\\-]*(?:\\\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\\\s*=\\\\s*(?:[^\\\"'=<>`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",n=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",r=new RegExp(\"^(?:\"+t+\"|\"+n+\"|\\x3c!----\\x3e|\\x3c!--(?:-?[^>-])(?:-?[^-])*--\\x3e|<[?].*?[?]>|<![A-Z]+\\\\s+[^>]*>|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>)\"),i=new RegExp(\"^(?:\"+t+\"|\"+n+\")\");e.exports.HTML_TAG_RE=r,e.exports.HTML_OPEN_CLOSE_TAG_RE=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s=[],l=t.length;for(n=0;n<l;n++)126===(i=t[n]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type=\"s_open\",a.tag=\"s\",a.nesting=1,a.markup=\"~~\",a.content=\"\",(a=e.tokens[o.token]).type=\"s_close\",a.tag=\"s\",a.nesting=-1,a.markup=\"~~\",a.content=\"\",\"text\"===e.tokens[o.token-1].type&&\"~\"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&\"s_close\"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.tokenize=function(e,t){var n,r,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push(\"text\",\"\",0).content=o,i--),n=0;n<i;n+=2)e.push(\"text\",\"\",0).content=o+o,e.delimiters.push({marker:s,length:0,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1&&t[n-1].marker===r.marker,a=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=s?\"strong_open\":\"em_open\",o.tag=s?\"strong\":\"em\",o.nesting=1,o.markup=s?a+a:a,o.content=\"\",(o=e.tokens[i.token]).type=s?\"strong_close\":\"em_close\",o.tag=s?\"strong\":\"em\",o.nesting=-1,o.markup=s?a+a:a,o.content=\"\",s&&(e.tokens[t[n-1].token].content=\"\",e.tokens[t[r.end+1].token].content=\"\",n--))}e.exports.tokenize=function(e,t){var n,r,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(r=e.scanDelims(e.pos,42===o),n=0;n<r.length;n++)e.push(\"text\",\"\",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,jump:n,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function r(e){return\"string\"==typeof e&&e==e.toLowerCase()}function i(e,t,n){return e.getSearchCursor(t,n,{caseFold:r(t),multiline:!0})}function o(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function a(e){return e.replace(/\\\\([nrt\\\\])/g,(function(e,t){return\"n\"==t?\"\\n\":\"r\"==t?\"\\r\":\"t\"==t?\"\\t\":\"\\\\\"==t?\"\\\\\":e}))}function s(e){var t=e.match(/^\\/(.*)\\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf(\"i\")?\"\":\"i\")}catch(e){}else e=a(e);return(\"string\"==typeof e?\"\"==e:e.test(\"\"))&&(e=/x^/),e}function l(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,r(t.query)),t.overlay=function(e,t){return\"string\"==typeof e?e=new RegExp(e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\"),t?\"gi\":\"g\"):e.global||(e=new RegExp(e.source,e.ignoreCase?\"gi\":\"g\")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,\"searching\";n?t.pos=n.index:t.skipToEnd()}}}(t.query,r(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,r(t.query)))}function c(t,r,i,a){var s=n(t);if(s.query)return u(t,r);var c=t.getSelection()||s.lastQuery;if(c instanceof RegExp&&\"x^\"==c.source&&(c=null),i&&t.openDialog){var d=null,h=function(n,r){e.e_stop(r),n&&(n!=s.queryText&&(l(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),u(t,r.shiftKey,(function(e,n){var r;n.line<3&&document.querySelector&&(r=t.display.wrapper.querySelector(\".CodeMirror-dialog\"))&&r.getBoundingClientRect().bottom-4>t.cursorCoords(n,\"window\").top&&((d=r).style.opacity=.4)})))};!function(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){f(e)},onKeyDown:i})}(t,p(t),c,h,(function(r,i){var o=e.keyName(r),a=t.getOption(\"extraKeys\"),s=a&&a[o]||e.keyMap[t.getOption(\"keyMap\")][o];\"findNext\"==s||\"findPrev\"==s||\"findPersistentNext\"==s||\"findPersistentPrev\"==s?(e.e_stop(r),l(t,n(t),i),t.execCommand(s)):\"find\"!=s&&\"findPersistent\"!=s||(e.e_stop(r),h(i,r))})),a&&c&&(l(t,s,c),u(t,r))}else o(t,p(t),\"Search for:\",c,(function(e){e&&!s.query&&t.operation((function(){l(t,s,e),s.posFrom=s.posTo=t.getCursor(),u(t,r)}))}))}function u(t,r,o){t.operation((function(){var a=n(t),s=i(t,a.query,r?a.posFrom:a.posTo);(s.find(r)||(s=i(t,a.query,r?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(r))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function f(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function p(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Search:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}function d(e,t,n){e.operation((function(){for(var r=i(e,t);r.findNext();)if(\"string\"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\\$(\\d)/g,(function(e,t){return o[t]})))}else r.replace(n)}))}function h(e,t){if(!e.getOption(\"readOnly\")){var r=e.getSelection()||n(e).lastQuery,l='<span class=\"CodeMirror-search-label\">'+(t?e.phrase(\"Replace all:\"):e.phrase(\"Replace:\"))+\"</span>\";o(e,l+function(e){return' <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/> <span style=\"color: #888\" class=\"CodeMirror-search-hint\">'+e.phrase(\"(Use /re/ syntax for regexp search)\")+\"</span>\"}(e),l,r,(function(n){n&&(n=s(n),o(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"With:\")+'</span> <input type=\"text\" style=\"width: 10em\" class=\"CodeMirror-search-field\"/>'}(e),e.phrase(\"Replace with:\"),\"\",(function(r){if(r=a(r),t)d(e,n,r);else{f(e);var o=i(e,n,e.getCursor(\"from\")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=i(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,function(e){return'<span class=\"CodeMirror-search-label\">'+e.phrase(\"Replace?\")+\"</span> <button>\"+e.phrase(\"Yes\")+\"</button> <button>\"+e.phrase(\"No\")+\"</button> <button>\"+e.phrase(\"All\")+\"</button> <button>\"+e.phrase(\"Stop\")+\"</button> \"}(e),e.phrase(\"Replace?\"),[function(){l(t)},s,function(){d(e,n,r)}]))},l=function(e){o.replace(\"string\"==typeof n?r:r.replace(/\\$(\\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.commands.find=function(e){f(e),c(e)},e.commands.findPersistent=function(e){f(e),c(e,!1,!0)},e.commands.findPersistentNext=function(e){c(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){c(e,!0,!0,!0)},e.commands.findNext=c,e.commands.findPrev=function(e){c(e,!0)},e.commands.clearSearch=f,e.commands.replace=h,e.commands.replaceAll=function(e){h(e,!0)}}(n(10),n(33),n(34))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(71),n(57),n(75),n(77),n(78),n(79),n(182)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var l={getOutline:!0,getHoverInformation:!0};Object.defineProperty(e,\"getOutline\",{enumerable:!0,get:function(){return o.getOutline}}),Object.defineProperty(e,\"getHoverInformation\",{enumerable:!0,get:function(){return a.getHoverInformation}}),Object.keys(t).forEach((function(n){\"default\"!==n&&\"__esModule\"!==n&&(Object.prototype.hasOwnProperty.call(l,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}}))})),Object.keys(n).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))})),Object.keys(r).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))})),Object.keys(i).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))})),Object.keys(s).forEach((function(t){\"default\"!==t&&\"__esModule\"!==t&&(Object.prototype.hasOwnProperty.call(l,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(8)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}function i(e,t){const n=e.filter(t);return 0===n.length?e:n}function o(e){return e.toLowerCase().replace(/\\W/g,\"\")}function a(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionState=function(e){let t;return r(e,e=>{switch(e.kind){case\"Query\":case\"ShortQuery\":case\"Mutation\":case\"Subscription\":case\"FragmentDefinition\":t=e}}),t},e.getFieldDef=function(e,r,i){return i===n.SchemaMetaFieldDef.name&&e.getQueryType()===r?n.SchemaMetaFieldDef:i===n.TypeMetaFieldDef.name&&e.getQueryType()===r?n.TypeMetaFieldDef:i===n.TypeNameMetaFieldDef.name&&(0,t.isCompositeType)(r)?n.TypeNameMetaFieldDef:\"getFields\"in r?r.getFields()[i]:null},e.forEachState=r,e.objectValues=function(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let i=0;i<n;++i)r[i]=e[t[i]];return r},e.hintList=function(e,t){return function(e,t){return t?i(i(e.map(e=>({proximity:a(o(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):i(e,e=>!e.isDeprecated)}(t,o(e.string))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";var t,n,r,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T;Object.defineProperty(e,\"__esModule\",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.TextEdit=e.Command=e.Diagnostic=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=void 0,e.Position=t,function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.number(t.line)&&$.number(t.character)}}(t||(e.Position=t={})),e.Range=n,function(e){e.create=function(e,n,r,i){if($.number(e)&&$.number(n)&&$.number(r)&&$.number(i))return{start:t.create(e,n),end:t.create(r,i)};if(t.is(e)&&t.is(n))return{start:e,end:n};throw new Error(\"Range#create called with invalid arguments[\"+e+\", \"+n+\", \"+r+\", \"+i+\"]\")},e.is=function(e){var n=e;return $.objectLiteral(n)&&t.is(n.start)&&t.is(n.end)}}(n||(e.Range=n={})),e.Location=r,function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.string(t.uri)||$.undefined(t.uri))}}(r||(e.Location=r={})),e.LocationLink=i,function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.targetRange)&&$.string(t.targetUri)&&(n.is(t.targetSelectionRange)||$.undefined(t.targetSelectionRange))&&(n.is(t.originSelectionRange)||$.undefined(t.originSelectionRange))}}(i||(e.LocationLink=i={})),e.Color=o,function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return $.number(t.red)&&$.number(t.green)&&$.number(t.blue)&&$.number(t.alpha)}}(o||(e.Color=o={})),e.ColorInformation=a,function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return n.is(t.range)&&o.is(t.color)}}(a||(e.ColorInformation=a={})),e.ColorPresentation=s,function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return $.string(t.label)&&($.undefined(t.textEdit)||m.is(t))&&($.undefined(t.additionalTextEdits)||$.typedArray(t.additionalTextEdits,m.is))}}(s||(e.ColorPresentation=s={})),e.FoldingRangeKind=l,function(e){e.Comment=\"comment\",e.Imports=\"imports\",e.Region=\"region\"}(l||(e.FoldingRangeKind=l={})),e.FoldingRange=c,function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return $.defined(n)&&(o.startCharacter=n),$.defined(r)&&(o.endCharacter=r),$.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return $.number(t.startLine)&&$.number(t.startLine)&&($.undefined(t.startCharacter)||$.number(t.startCharacter))&&($.undefined(t.endCharacter)||$.number(t.endCharacter))&&($.undefined(t.kind)||$.string(t.kind))}}(c||(e.FoldingRange=c={})),e.DiagnosticRelatedInformation=u,function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return $.defined(t)&&r.is(t.location)&&$.string(t.message)}}(u||(e.DiagnosticRelatedInformation=u={})),e.DiagnosticSeverity=f,function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(e.DiagnosticSeverity=f={})),e.DiagnosticTag=p,function(e){e.Unnecessary=1,e.Deprecated=2}(p||(e.DiagnosticTag=p={})),e.Diagnostic=d,function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return $.defined(n)&&(a.severity=n),$.defined(r)&&(a.code=r),$.defined(i)&&(a.source=i),$.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&$.string(t.message)&&($.number(t.severity)||$.undefined(t.severity))&&($.number(t.code)||$.string(t.code)||$.undefined(t.code))&&($.string(t.source)||$.undefined(t.source))&&($.undefined(t.relatedInformation)||$.typedArray(t.relatedInformation,u.is))}}(d||(e.Diagnostic=d={})),e.Command=h,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return $.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.title)&&$.string(t.command)}}(h||(e.Command=h={})),e.TextEdit=m,function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:\"\"}},e.is=function(e){var t=e;return $.objectLiteral(t)&&$.string(t.newText)&&n.is(t.range)}}(m||(e.TextEdit=m={})),e.TextDocumentEdit=v,function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return $.defined(t)&&O.is(t.textDocument)&&Array.isArray(t.edits)}}(v||(e.TextDocumentEdit=v={})),e.CreateFile=g,function(e){e.create=function(e,t){var n={kind:\"create\",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"create\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(g||(e.CreateFile=g={})),e.RenameFile=y,function(e){e.create=function(e,t,n){var r={kind:\"rename\",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&\"rename\"===t.kind&&$.string(t.oldUri)&&$.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||$.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||$.boolean(t.options.ignoreIfExists)))}}(y||(e.RenameFile=y={})),e.DeleteFile=b,function(e){e.create=function(e,t){var n={kind:\"delete\",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&\"delete\"===t.kind&&$.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||$.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||$.boolean(t.options.ignoreIfNotExists)))}}(b||(e.DeleteFile=b={})),e.WorkspaceEdit=T,function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return $.string(e.kind)?g.is(e)||y.is(e)||b.is(e):v.is(e)})))}}(T||(e.WorkspaceEdit=T={}));var E,O,x,_,k,w,C,S,N,D,I,A,L,j,F,M,R,P,V,U,B,q,H,z,G,K,Q,W,Y=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(m.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(m.replace(e,t))},e.prototype.delete=function(e){this.edits.push(m.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),J=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(v.is(e)){var n=new Y(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new Y(e.changes[n]);t._textEditChanges[n]=r})))}return Object.defineProperty(e.prototype,\"edit\",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(O.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new Y(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error(\"Workspace edit is not configured for normal text edit changes.\");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new Y(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(g.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error(\"Workspace edit is not configured for document changes.\")},e}();e.WorkspaceChange=J,e.TextDocumentIdentifier=E,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)}}(E||(e.TextDocumentIdentifier=E={})),e.VersionedTextDocumentIdentifier=O,function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&(null===t.version||$.number(t.version))}}(O||(e.VersionedTextDocumentIdentifier=O={})),e.TextDocumentItem=x,function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return $.defined(t)&&$.string(t.uri)&&$.string(t.languageId)&&$.number(t.version)&&$.string(t.text)}}(x||(e.TextDocumentItem=x={})),e.MarkupKind=_,function(e){e.PlainText=\"plaintext\",e.Markdown=\"markdown\"}(_||(e.MarkupKind=_={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(_||(e.MarkupKind=_={})),e.MarkupContent=k,function(e){e.is=function(e){var t=e;return $.objectLiteral(e)&&_.is(t.kind)&&$.string(t.value)}}(k||(e.MarkupContent=k={})),e.CompletionItemKind=w,function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(w||(e.CompletionItemKind=w={})),e.InsertTextFormat=C,function(e){e.PlainText=1,e.Snippet=2}(C||(e.InsertTextFormat=C={})),e.CompletionItemTag=S,function(e){e.Deprecated=1}(S||(e.CompletionItemTag=S={})),e.CompletionItem=N,function(e){e.create=function(e){return{label:e}}}(N||(e.CompletionItem=N={})),e.CompletionList=D,function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(D||(e.CompletionList=D={})),e.MarkedString=I,function(e){e.fromPlainText=function(e){return e.replace(/[\\\\`*_{}[\\]()#+\\-.!]/g,\"\\\\$&\")},e.is=function(e){var t=e;return $.string(t)||$.objectLiteral(t)&&$.string(t.language)&&$.string(t.value)}}(I||(e.MarkedString=I={})),e.Hover=A,function(e){e.is=function(e){var t=e;return!!t&&$.objectLiteral(t)&&(k.is(t.contents)||I.is(t.contents)||$.typedArray(t.contents,I.is))&&(void 0===e.range||n.is(e.range))}}(A||(e.Hover=A={})),e.ParameterInformation=L,function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(L||(e.ParameterInformation=L={})),e.SignatureInformation=j,function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return $.defined(t)&&(i.documentation=t),$.defined(n)?i.parameters=n:i.parameters=[],i}}(j||(e.SignatureInformation=j={})),e.DocumentHighlightKind=F,function(e){e.Text=1,e.Read=2,e.Write=3}(F||(e.DocumentHighlightKind=F={})),e.DocumentHighlight=M,function(e){e.create=function(e,t){var n={range:e};return $.number(t)&&(n.kind=t),n}}(M||(e.DocumentHighlight=M={})),e.SymbolKind=R,function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(R||(e.SymbolKind=R={})),e.SymbolTag=P,function(e){e.Deprecated=1}(P||(e.SymbolTag=P={})),e.SymbolInformation=V,function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(V||(e.SymbolInformation=V={})),e.DocumentSymbol=U,function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&$.string(t.name)&&$.number(t.kind)&&n.is(t.range)&&n.is(t.selectionRange)&&(void 0===t.detail||$.string(t.detail))&&(void 0===t.deprecated||$.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(U||(e.DocumentSymbol=U={})),e.CodeActionKind=B,function(e){e.Empty=\"\",e.QuickFix=\"quickfix\",e.Refactor=\"refactor\",e.RefactorExtract=\"refactor.extract\",e.RefactorInline=\"refactor.inline\",e.RefactorRewrite=\"refactor.rewrite\",e.Source=\"source\",e.SourceOrganizeImports=\"source.organizeImports\",e.SourceFixAll=\"source.fixAll\"}(B||(e.CodeActionKind=B={})),e.CodeActionContext=q,function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return $.defined(t)&&$.typedArray(t.diagnostics,d.is)&&(void 0===t.only||$.typedArray(t.only,$.string))}}(q||(e.CodeActionContext=q={})),e.CodeAction=H,function(e){e.create=function(e,t,n){var r={title:e};return h.is(t)?r.command=t:r.edit=t,void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&$.string(t.title)&&(void 0===t.diagnostics||$.typedArray(t.diagnostics,d.is))&&(void 0===t.kind||$.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||h.is(t.command))&&(void 0===t.isPreferred||$.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(H||(e.CodeAction=H={})),e.CodeLens=z,function(e){e.create=function(e,t){var n={range:e};return $.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.command)||h.is(t.command))}}(z||(e.CodeLens=z={})),e.FormattingOptions=G,function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return $.defined(t)&&$.number(t.tabSize)&&$.boolean(t.insertSpaces)}}(G||(e.FormattingOptions=G={})),e.DocumentLink=K,function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return $.defined(t)&&n.is(t.range)&&($.undefined(t.target)||$.string(t.target))}}(K||(e.DocumentLink=K={})),e.SelectionRange=Q,function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&n.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(Q||(e.SelectionRange=Q={})),e.EOL=[\"\\n\",\"\\r\\n\",\"\\r\"],e.TextDocument=W,function(e){e.create=function(e,t,n,r){return new X(e,t,n,r)},e.is=function(e){var t=e;return!!($.defined(t)&&$.string(t.uri)&&($.undefined(t.languageId)||$.string(t.languageId))&&$.number(t.lineCount)&&$.func(t.getText)&&$.func(t.positionAt)&&$.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var a=0,s=0,l=0;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[l++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[l++]=i[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error(\"Overlapping edit\");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(W||(e.TextDocument=W={}));var $,X=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,\"uri\",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"languageId\",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"version\",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n=\"\\r\"===i||\"\\n\"===i,\"\\r\"===i&&r+1<t.length&&\"\\n\"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var n=this.getLineOffsets(),r=0,i=n.length;if(0===i)return t.create(0,e);for(;r<i;){var o=Math.floor((r+i)/2);n[o]>e?i=o:r=o+1}var a=r-1;return t.create(a,e-n[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,\"lineCount\",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return\"[object String]\"===t.call(e)},e.number=function(e){return\"[object Number]\"===t.call(e)},e.func=function(e){return\"[object Function]\"===t.call(e)},e.objectLiteral=function(e){return null!==e&&\"object\"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}($||($={}))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(74)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ParseRules=e.LexRules=e.isIgnored=void 0,e.isIgnored=e=>\" \"===e||\"\\t\"===e||\",\"===e||\"\\n\"===e||\"\\r\"===e||\"\\ufeff\"===e||\"\u00A0\"===e,e.LexRules={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\\$|\\(|\\)|\\.\\.\\.|:|=|@|\\[|]|\\{|\\||\\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:\"\"\"(?:\\\\\"\"\"|[^\"]|\"[^\"]|\"\"[^\"])*(?:\"\"\")?|\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?)/,Comment:/^#.*/};const n={Document:[(0,t.list)(\"Definition\")],Definition(e){switch(e.value){case\"{\":return\"ShortQuery\";case\"query\":return\"Query\";case\"mutation\":return\"Mutation\";case\"subscription\":return\"Subscription\";case\"fragment\":return\"FragmentDefinition\";case\"schema\":return\"SchemaDef\";case\"scalar\":return\"ScalarDef\";case\"type\":return\"ObjectTypeDef\";case\"interface\":return\"InterfaceDef\";case\"union\":return\"UnionDef\";case\"enum\":return\"EnumDef\";case\"input\":return\"InputDef\";case\"extend\":return\"ExtendDef\";case\"directive\":return\"DirectiveDef\"}},ShortQuery:[\"SelectionSet\"],Query:[i(\"query\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Mutation:[i(\"mutation\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],Subscription:[i(\"subscription\"),(0,t.opt)(o(\"def\")),(0,t.opt)(\"VariableDefinitions\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],VariableDefinitions:[(0,t.p)(\"(\"),(0,t.list)(\"VariableDefinition\"),(0,t.p)(\")\")],VariableDefinition:[\"Variable\",(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\")],Variable:[(0,t.p)(\"$\",\"variable\"),o(\"variable\")],DefaultValue:[(0,t.p)(\"=\"),\"Value\"],SelectionSet:[(0,t.p)(\"{\"),(0,t.list)(\"Selection\"),(0,t.p)(\"}\")],Selection:(e,t)=>\"...\"===e.value?t.match(/[\\s\\u00a0,]*(on\\b|@|{)/,!1)?\"InlineFragment\":\"FragmentSpread\":t.match(/[\\s\\u00a0,]*:/,!1)?\"AliasedField\":\"Field\",AliasedField:[o(\"property\"),(0,t.p)(\":\"),o(\"qualifier\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Field:[o(\"property\"),(0,t.opt)(\"Arguments\"),(0,t.list)(\"Directive\"),(0,t.opt)(\"SelectionSet\")],Arguments:[(0,t.p)(\"(\"),(0,t.list)(\"Argument\"),(0,t.p)(\")\")],Argument:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],FragmentSpread:[(0,t.p)(\"...\"),o(\"def\"),(0,t.list)(\"Directive\")],InlineFragment:[(0,t.p)(\"...\"),(0,t.opt)(\"TypeCondition\"),(0,t.list)(\"Directive\"),\"SelectionSet\"],FragmentDefinition:[i(\"fragment\"),(0,t.opt)((0,t.butNot)(o(\"def\"),[i(\"on\")])),\"TypeCondition\",(0,t.list)(\"Directive\"),\"SelectionSet\"],TypeCondition:[i(\"on\"),\"NamedType\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\";case\"$\":return\"Variable\"}return null;case\"Name\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\"}return\"null\"===e.value?\"NullValue\":\"EnumValue\"}},NumberValue:[(0,t.t)(\"Number\",\"number\")],StringValue:[(0,t.t)(\"String\",\"string\")],BooleanValue:[(0,t.t)(\"Name\",\"builtin\")],NullValue:[(0,t.t)(\"Name\",\"keyword\")],EnumValue:[o(\"string-2\")],ListValue:[(0,t.p)(\"[\"),(0,t.list)(\"Value\"),(0,t.p)(\"]\")],ObjectValue:[(0,t.p)(\"{\"),(0,t.list)(\"ObjectField\"),(0,t.p)(\"}\")],ObjectField:[o(\"attribute\"),(0,t.p)(\":\"),\"Value\"],Type:e=>\"[\"===e.value?\"ListType\":\"NonNullType\",ListType:[(0,t.p)(\"[\"),\"Type\",(0,t.p)(\"]\"),(0,t.opt)((0,t.p)(\"!\"))],NonNullType:[\"NamedType\",(0,t.opt)((0,t.p)(\"!\"))],NamedType:[(r=\"atom\",{style:r,match:e=>\"Name\"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}})],Directive:[(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"Arguments\")],SchemaDef:[i(\"schema\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"OperationTypeDef\"),(0,t.p)(\"}\")],OperationTypeDef:[o(\"keyword\"),(0,t.p)(\":\"),o(\"atom\")],ScalarDef:[i(\"scalar\"),o(\"atom\"),(0,t.list)(\"Directive\")],ObjectTypeDef:[i(\"type\"),o(\"atom\"),(0,t.opt)(\"Implements\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],Implements:[i(\"implements\"),(0,t.list)(\"NamedType\")],FieldDef:[o(\"property\"),(0,t.opt)(\"ArgumentsDef\"),(0,t.p)(\":\"),\"Type\",(0,t.list)(\"Directive\")],ArgumentsDef:[(0,t.p)(\"(\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\")\")],InputValueDef:[o(\"attribute\"),(0,t.p)(\":\"),\"Type\",(0,t.opt)(\"DefaultValue\"),(0,t.list)(\"Directive\")],InterfaceDef:[i(\"interface\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"FieldDef\"),(0,t.p)(\"}\")],UnionDef:[i(\"union\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"=\"),(0,t.list)(\"UnionMember\",(0,t.p)(\"|\"))],UnionMember:[\"NamedType\"],EnumDef:[i(\"enum\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"EnumValueDef\"),(0,t.p)(\"}\")],EnumValueDef:[o(\"string-2\"),(0,t.list)(\"Directive\")],InputDef:[i(\"input\"),o(\"atom\"),(0,t.list)(\"Directive\"),(0,t.p)(\"{\"),(0,t.list)(\"InputValueDef\"),(0,t.p)(\"}\")],ExtendDef:[i(\"extend\"),\"ObjectTypeDef\"],DirectiveDef:[i(\"directive\"),(0,t.p)(\"@\",\"meta\"),o(\"meta\"),(0,t.opt)(\"ArgumentsDef\"),i(\"on\"),(0,t.list)(\"DirectiveLocation\",(0,t.p)(\"|\"))],DirectiveLocation:[o(\"string-2\")]};var r;function i(e){return{style:\"keyword\",match:t=>\"Name\"===t.kind&&t.value===e}}function o(e){return{style:e,match:e=>\"Name\"===e.kind,update(e,t){e.name=t.value}}}e.ParseRules=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.opt=function(e){return{ofRule:e}},e.list=function(e,t){return{ofRule:e,isList:!0,separator:t}},e.butNot=function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every(t=>t.match&&!t.match(e))},e},e.t=function(e,t){return{style:t,match:t=>t.kind===e}},e.p=function(e,t){return{style:t||\"punctuation\",match:t=>\"Punctuation\"===t.kind&&t.value===e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(46),n(76)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDefinitionQueryResultForNamedType=function(e,t,r){return i(this,void 0,void 0,(function*(){const i=t.name.value,s=r.filter(({definition:e})=>e.name&&e.name.value===i);if(0===s.length)throw Error(\"Definition not found for GraphQL type \"+i);const l=s.map(({filePath:e,content:t,definition:r})=>function(e,t,r){const i=r.name;return(0,n.default)(i,\"Expected ASTNode to have a Name.\"),{path:e,position:a(t,r),range:o(t,r),name:i.value||\"\",language:\"GraphQL\",projectRoot:e}}(e||\"\",t,r));return{definitions:l,queryRange:l.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForFragmentSpread=function(e,t,n){return i(this,void 0,void 0,(function*(){const r=t.name.value,i=n.filter(({definition:e})=>e.name.value===r);if(0===i.length)throw Error(\"Definition not found for GraphQL fragment \"+r);const a=i.map(({filePath:e,content:t,definition:n})=>s(e||\"\",t,n));return{definitions:a,queryRange:a.map(n=>o(e,t))}}))},e.getDefinitionQueryResultForDefinitionNode=function(e,t,n){return{definitions:[s(e,t,n)],queryRange:n.name?[o(t,n.name)]:[]}},e.LANGUAGE=void 0,n=(r=n)&&r.__esModule?r:{default:r};var i=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};function o(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.locToRange)(e,i)}function a(e,r){const i=r.loc;return(0,n.default)(i,\"Expected ASTNode to have a location.\"),(0,t.offsetToPosition)(e,i.start)}function s(e,t,n){const r=n.name;if(!r)throw Error(\"Expected ASTNode to have a Name.\");return{path:e,position:a(t,n),range:o(t,n),name:r.value||\"\",language:\"GraphQL\",projectRoot:e}}e.LANGUAGE=\"GraphQL\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var t=n(177);\n/*!\n   * The buffer module from node.js, for the browser.\n   *\n   * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n   * @license  MIT\n   */function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return r.Buffer&&\"function\"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=n(178),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c=\"foo\"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function f(e){return!o(e)&&\"function\"==typeof r.ArrayBuffer&&(\"function\"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}var p=e.exports=y,d=/\\s*function\\s+([^\\(\\s]*)\\s*/;function h(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString().match(d);return t&&t[1]}}function m(e,t){return\"string\"==typeof e?e.length<t?e:e.slice(0,t):e}function v(e){if(c||!a.isFunction(e))return a.inspect(e);var t=h(e);return\"[Function\"+(t?\": \"+t:\"\")+\"]\"}function g(e,t,n,r,i){throw new p.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||g(e,!0,t,\"==\",p.ok)}function b(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&\"object\"==typeof e||null!==t&&\"object\"==typeof t){if(f(e)&&f(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;var s=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=T(e),o=T(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),b(e,t,n);var s,c,u=x(e),f=x(t);if(u.length!==f.length)return!1;for(u.sort(),f.sort(),c=u.length-1;c>=0;c--)if(u[c]!==f[c])return!1;for(c=u.length-1;c>=0;c--)if(s=u[c],!b(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function T(e){return\"[object Arguments]\"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if(\"[object RegExp]\"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e,t,n,r){var i;if(\"function\"!=typeof t)throw new TypeError('\"block\" argument must be a function');\"string\"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?\" (\"+n.name+\").\":\".\")+(r?\" \"+r:\".\"),e&&!i&&g(i,n,\"Missing expected exception\"+r);var o=\"string\"==typeof r,s=!e&&i&&!n;if((!e&&a.isError(i)&&o&&E(i,n)||s)&&g(i,n,\"Got unwanted exception\"+r),e&&i&&n&&!E(i,n)||!e&&i)throw i}p.AssertionError=function(e){this.name=\"AssertionError\",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(v(e.actual),128)+\" \"+e.operator+\" \"+m(v(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf(\"\\n\"+i);if(o>=0){var a=r.indexOf(\"\\n\",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=g,p.ok=y,p.equal=function(e,t,n){e!=t&&g(e,t,n,\"==\",p.equal)},p.notEqual=function(e,t,n){e==t&&g(e,t,n,\"!=\",p.notEqual)},p.deepEqual=function(e,t,n){b(e,t,!1)||g(e,t,n,\"deepEqual\",p.deepEqual)},p.deepStrictEqual=function(e,t,n){b(e,t,!0)||g(e,t,n,\"deepStrictEqual\",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){b(e,t,!1)&&g(e,t,n,\"notDeepEqual\",p.notDeepEqual)},p.notDeepStrictEqual=function e(t,n,r){b(t,n,!0)&&g(t,n,r,\"notDeepStrictEqual\",e)},p.strictEqual=function(e,t,n){e!==t&&g(e,t,n,\"===\",p.strictEqual)},p.notStrictEqual=function(e,t,n){e===t&&g(e,t,n,\"!==\",p.notStrictEqual)},p.throws=function(e,t,n){O(!0,e,t,n)},p.doesNotThrow=function(e,t,n){O(!1,e,t,n)},p.ifError=function(e){if(e)throw e},p.strict=t((function e(t,n){t||g(t,!0,n,\"==\",e)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(76),n(14),n(36),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";var o;Object.defineProperty(e,\"__esModule\",{value:!0}),e.getDiagnostics=function(e,t=null,r,i){let o=null;try{o=(0,n.parse)(e)}catch(t){const n=f(t.locations[0],e);return[{severity:s.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}return l(o,t,r,i)},e.validateQuery=l,e.getRange=f,e.DIAGNOSTIC_SEVERITY=e.SEVERITY=void 0,t=(o=t)&&o.__esModule?o:{default:o};const a={Error:\"Error\",Warning:\"Warning\",Information:\"Information\",Hint:\"Hint\"};e.SEVERITY=a;const s={[a.Error]:1,[a.Warning]:2,[a.Information]:3,[a.Hint]:4};function l(e,t=null,r,o){if(!t)return[];const a=c((0,i.validateWithCustomRules)(t,e,r,o),e=>u(e,s.Error,\"Validation\")),l=n.findDeprecatedUsages?c((0,n.findDeprecatedUsages)(t,e),e=>u(e,s.Warning,\"Deprecation\")):[];return a.concat(l)}function c(e,t){return Array.prototype.concat.apply([],e.map(t))}function u(e,n,r){if(!e.nodes)return[];const o=[];return e.nodes.forEach(a=>{const s=\"Variable\"!==a.kind&&\"name\"in a&&void 0!==a.name?a.name:\"variable\"in a&&void 0!==a.variable?a.variable:a;if(s){(0,t.default)(e.locations,\"GraphQL validation error requires locations.\");const a=e.locations[0],l=function(e){const n=e.loc;return(0,t.default)(n,\"Expected ASTNode to have a location.\"),n}(s),c=a.column+(l.end-l.start);o.push({source:\"GraphQL: \"+r,message:e.message,severity:n,range:new i.Range(new i.Position(a.line-1,a.column-1),new i.Position(a.line-1,c))})}}),o}function f(e,n){const o=(0,r.onlineParser)(),a=o.startState(),s=n.split(\"\\n\");(0,t.default)(s.length>=e.line,\"Query text must have more lines than where the error happened\");let l=null;for(let t=0;t<e.line;t++)for(l=new r.CharacterStream(s[t]);!l.eol()&&\"invalidchar\"!==o.token(l,a););(0,t.default)(l,\"Expected Parser stream to be available.\");const c=e.line-1,u=l.getStartOfToken(),f=l.getCurrentPosition();return new i.Range(new i.Position(c,u),new i.Position(c,f))}e.DIAGNOSTIC_SEVERITY=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getOutline=function(e){let o;try{o=(0,t.parse)(e)}catch(e){return null}const a=function(e){const t=t=>({representativeName:t.name,startPosition:(0,n.offsetToPosition)(e,t.loc.start),endPosition:(0,n.offsetToPosition)(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field:e=>{const n=e.alias?[i(\"plain\",e.alias),i(\"plain\",\": \")]:[];return n.push(i(\"plain\",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",e.operation),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;r<e.length;r++){const i=t(e[r],r);Array.isArray(i)?n.push(...i):n.push(i)}return n}(e.selections,e=>e.kind===r?e.selectionSet:e),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"fragment\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"interface\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"enum\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"type\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[i(\"keyword\",\"input\"),i(\"whitespace\",\" \"),i(\"class-name\",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[i(\"plain\",\"...\"),i(\"class-name\",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[i(\"plain\",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:(0,t.visit)(o,{leave:e=>void 0!==a&&e.kind in a?a[e.kind](e):null})}};const{INLINE_FRAGMENT:r}=t.Kind;function i(e,t){return{kind:e,value:t}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(57)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(a(e,t,n,t.parentType),l(e,\".\")),l(e,r)}function i(e,t,n){t.directiveDef&&l(e,\"@\"+t.directiveDef.name)}function o(e,t,n,r){l(e,\": \"),a(e,t,n,r)}function a(e,n,r,i){i&&(i instanceof t.GraphQLNonNull?(a(e,n,r,i.ofType),l(e,\"!\")):i instanceof t.GraphQLList?(l(e,\"[\"),a(e,n,r,i.ofType),l(e,\"]\")):l(e,i.name))}function s(e,t,n){if(!n)return;const r=\"string\"==typeof n.description?n.description:null;r&&(l(e,\"\\n\\n\"),l(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason?n.deprecationReason:null;r&&(l(e,\"\\n\\n\"),l(e,\"Deprecated: \"),l(e,r))}(e,0,n)}function l(e,t){e.push(t)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getHoverInformation=function(e,t,c,u){const f=u||(0,n.getTokenAtPosition)(t,c);if(!e||!f||!f.state)return\"\";const p=f.state,d=p.kind,h=p.step,m=(0,n.getTypeInfo)(e,f.state),v={schema:e};if(\"Field\"===d&&0===h&&m.fieldDef||\"AliasedField\"===d&&2===h&&m.fieldDef){const e=[];return function(e,t,n){r(e,t,n),o(e,t,n,t.type)}(e,m,v),s(e,0,m.fieldDef),e.join(\"\").trim()}if(\"Directive\"===d&&1===h&&m.directiveDef){const e=[];return i(e,m),s(e,0,m.directiveDef),e.join(\"\").trim()}if(\"Argument\"===d&&0===h&&m.argDef){const e=[];return function(e,t,n){if(t.directiveDef?i(e,t):t.fieldDef&&r(e,t,n),!t.argDef)return;const a=t.argDef.name;l(e,\"(\"),l(e,a),o(e,t,n,t.inputType),l(e,\")\")}(e,m,v),s(e,0,m.argDef),e.join(\"\").trim()}if(\"EnumValue\"===d&&m.enumValue&&\"description\"in m.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const r=t.enumValue.name;a(e,t,n,t.inputType),l(e,\".\"),l(e,r)}(e,m,v),s(e,0,m.enumValue),e.join(\"\").trim()}if(\"NamedType\"===d&&m.type&&\"description\"in m.type){const e=[];return a(e,m,v,m.type),s(e,0,m.type),e.join(\"\").trim()}return\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,o.default)(t,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?a(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case\"SelectionSet\":n.parentType=(0,r.getNamedType)(n.type);break;case\"Directive\":n.directiveDef=t.name&&e.getDirective(t.name);break;case\"Arguments\":const i=\"Field\"===t.prevState.kind?n.fieldDef:\"Directive\"===t.prevState.kind?n.directiveDef:\"AliasedField\"===t.prevState.kind?t.prevState.name&&a(e,n.parentType,t.prevState.name):null;n.argDefs=i&&i.args;break;case\"Argument\":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=n.argDef&&n.argDef.type;break;case\"EnumValue\":const o=(0,r.getNamedType)(n.inputType);n.enumValue=o instanceof r.GraphQLEnumType?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}(o.getValues(),e=>e.value===t.name):null;break;case\"ListValue\":const s=(0,r.getNullableType)(n.inputType);n.inputType=s instanceof r.GraphQLList?s.ofType:null;break;case\"ObjectValue\":const l=(0,r.getNamedType)(n.inputType);n.objectFieldDefs=l instanceof r.GraphQLInputObjectType?l.getFields():null;break;case\"ObjectField\":const c=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=c&&c.type;break;case\"NamedType\":n.type=e.getType(t.name)}}),n};var e,r=n(14),i=n(8),o=(e=n(81))&&e.__esModule?e:{default:e};function a(e,t,n){return n===i.SchemaMetaFieldDef.name&&e.getQueryType()===t?i.SchemaMetaFieldDef:n===i.TypeMetaFieldDef.name&&e.getQueryType()===t?i.TypeMetaFieldDef:n===i.TypeNameMetaFieldDef.name&&(0,r.isCompositeType)(t)?i.TypeNameMetaFieldDef:t.getFields?t.getFields()[n]:void 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){const n=[];let r=e;for(;r&&r.kind;)n.push(r),r=r.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.getFieldReference=function(e){return{kind:\"Field\",schema:e.schema,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:\"Directive\",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:\"Argument\",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:\"Argument\",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(t){return{kind:\"EnumValue\",value:t.enumValue,type:(0,e.getNamedType)(t.inputType)}},t.getTypeReference=function(e,t){return{kind:\"Type\",schema:e.schema,type:t||e.type}};var e=n(14);function r(e){return\"__\"===e.name.slice(0,2)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,n){const r=e.state.info,i=n.target||n.srcElement;if(\"SPAN\"!==i.nodeName||void 0!==r.hoverTimeout)return;const o=i.getBoundingClientRect(),a=function(){clearTimeout(r.hoverTimeout),r.hoverTimeout=setTimeout(l,c)},s=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),clearTimeout(r.hoverTimeout),r.hoverTimeout=void 0},l=function(){t.default.off(document,\"mousemove\",a),t.default.off(e.getWrapperElement(),\"mouseout\",s),r.hoverTimeout=void 0,function(e,n){const r=e.coordsChar({left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}),i=e.state.info.options,o=i.render||e.getHelper(r,\"info\");if(o){const a=e.getTokenAt(r,!0);if(a){const s=o(a,i,e,r);s&&function(e,n,r){const i=document.createElement(\"div\");i.className=\"CodeMirror-info\",i.appendChild(r),document.body.appendChild(i);const o=i.getBoundingClientRect(),a=i.currentStyle||window.getComputedStyle(i),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),l=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom);let c=n.bottom;l>window.innerHeight-n.bottom-15&&n.top>window.innerHeight-n.bottom&&(c=n.top-l),c<0&&(c=n.bottom);let u,f=Math.max(0,window.innerWidth-s-15);f>n.left&&(f=n.left),i.style.opacity=1,i.style.top=c+\"px\",i.style.left=f+\"px\";const p=function(){clearTimeout(u)},d=function(){clearTimeout(u),u=setTimeout(h,200)},h=function(){t.default.off(i,\"mouseover\",p),t.default.off(i,\"mouseout\",d),t.default.off(e.getWrapperElement(),\"mouseout\",d),i.style.opacity?(i.style.opacity=0,setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)};t.default.on(i,\"mouseover\",p),t.default.on(i,\"mouseout\",d),t.default.on(e.getWrapperElement(),\"mouseout\",d)}(e,n,s)}}}(e,o)},c=function(e){const t=e.state.info.options;return t&&t.hoverTime||500}(e);r.hoverTimeout=setTimeout(l,c),t.default.on(document,\"mousemove\",a),t.default.on(e.getWrapperElement(),\"mouseout\",s)}t.default.defineOption(\"info\",!1,(e,n,i)=>{if(i&&i!==t.default.Init){const n=e.state.info.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(n){const i=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(n);i.onMouseOver=r.bind(null,e),t.default.on(e.getWrapperElement(),\"mouseover\",i.onMouseOver)}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e}){return\"defaultValue\"in e&&void 0!==e.defaultValue?t.default.createElement(\"span\",null,\" = \",t.default.createElement(\"span\",{className:\"arg-default-value\"},(r=(0,n.astFromValue)(e.defaultValue,e.type))?(0,n.print)(r):\"\")):null;var r},t=(r=t)&&r.__esModule?r:{default:r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){let n;return function(...r){n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t.apply(this,r)},e)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.d(t,\"a\",(function(){return s}));var r=n(3),i=n(11),o=n(26),a=n(1);function s(e,t){switch(e.kind){case a.a.NULL:return null;case a.a.INT:return parseInt(e.value,10);case a.a.FLOAT:return parseFloat(e.value);case a.a.STRING:case a.a.ENUM:case a.a.BOOLEAN:return e.value;case a.a.LIST:return e.values.map((function(e){return s(e,t)}));case a.a.OBJECT:return Object(o.a)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.a.VARIABLE:return null==t?void 0:t[e.name.value]}Object(i.a)(!1,\"Unexpected value node: \"+Object(r.a)(e))}},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(88),n(89),n(90),n(91),n(92),n(93),n(94),n(95),n(96),n(97),n(98),n(99)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l,c,u,f,p){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;var d=p.GraphiQL;e.default=d})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=\"function\"==typeof Symbol?Symbol:{},i=r.iterator||\"@@iterator\",o=r.asyncIterator||\"@@asyncIterator\",a=r.toStringTag||\"@@toStringTag\";function s(e,t,n,r){var i=t&&t.prototype instanceof u?t:u,o=Object.create(i.prototype),a=new O(r||[]);return o._invoke=function(e,t,n){var r=\"suspendedStart\";return function(i,o){if(\"executing\"===r)throw new Error(\"Generator is already running\");if(\"completed\"===r){if(\"throw\"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(\"suspendedStart\"===r)throw r=\"completed\",n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=\"executing\";var u=l(e,t,n);if(\"normal\"===u.type){if(r=n.done?\"completed\":\"suspendedYield\",u.arg===c)continue;return{value:u.arg,done:n.done}}\"throw\"===u.type&&(r=\"completed\",n.method=\"throw\",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:\"normal\",arg:e.call(t,n)}}catch(e){return{type:\"throw\",arg:e}}}e.wrap=s;var c={};function u(){}function f(){}function p(){}var d={};d[i]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,i)&&(d=m);var v=p.prototype=u.prototype=Object.create(d);function g(e){[\"next\",\"throw\",\"return\"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var c=l(e[i],e,o);if(\"throw\"!==c.type){var u=c.arg,f=u.value;return f&&\"object\"==typeof f&&n.call(f,\"__await\")?t.resolve(f.__await).then((function(e){r(\"next\",e,a,s)}),(function(e){r(\"throw\",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r(\"throw\",e,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,\"throw\"===t.method){if(e.iterator.return&&(t.method=\"return\",t.arg=void 0,b(e,t),\"throw\"===t.method))return c;t.method=\"throw\",t.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return c}var r=l(n,e.iterator,t.arg);if(\"throw\"===r.type)return t.method=\"throw\",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,\"return\"!==t.method&&(t.method=\"next\",t.arg=void 0),t.delegate=null,c):i:(t.method=\"throw\",t.arg=new TypeError(\"iterator result is not an object\"),t.delegate=null,c)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type=\"normal\",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:\"root\"}],e.forEach(T,this),this.reset(!0)}function x(e){if(e){var t=e[i];if(t)return t.call(e);if(\"function\"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return f.prototype=v.constructor=p,p.constructor=f,p[a]=f.displayName=\"GeneratorFunction\",e.isGeneratorFunction=function(e){var t=\"function\"==typeof e&&e.constructor;return!!t&&(t===f||\"GeneratorFunction\"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,a in e||(e[a]=\"GeneratorFunction\")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[o]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(s(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]=\"Generator\",v[i]=function(){return this},v.toString=function(){return\"[object Generator]\"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)\"t\"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(\"throw\"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type=\"throw\",a.arg=e,t.next=n,r&&(t.method=\"next\",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if(\"root\"===o.tryLoc)return r(\"end\");if(o.tryLoc<=this.prev){var s=n.call(o,\"catchLoc\"),l=n.call(o,\"finallyLoc\");if(s&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw new Error(\"try statement without catch or finally\");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,\"finallyLoc\")&&this.prev<i.finallyLoc){var o=i;break}}o&&(\"break\"===e||\"continue\"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method=\"next\",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if(\"throw\"===e.type)throw e.arg;return\"break\"===e.type||\"continue\"===e.type?this.next=e.arg:\"return\"===e.type?(this.rval=this.arg=e.arg,this.method=\"return\",this.next=\"end\"):\"normal\"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;E(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},\"next\"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function(\"r\",\"regeneratorRuntime = r\")(t)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(e,t,n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k){\"use strict\";function w(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}if(Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphiQL=void 0,t=w(t),i=w(i),v=w(v),g=w(g),y=w(y),b=w(b),T=w(T),E=w(E),_=w(_),parseInt(t.default.version.slice(0,2),10)<16)throw Error([\"GraphiQL 0.18.0 and after is not compatible with React 15 or below.\",\"If you are using a CDN source (jsdelivr, unpkg, etc), follow this example:\",\"https://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49\"].join(\"\\n\"));class S extends t.default.Component{static formatResult(e){return JSON.stringify(e,null,2)}static formatError(e){const t=Array.isArray(e)?e.map(A):A(e);return JSON.stringify(t,null,2)}constructor(e){var t,r;if(super(e),C(this,\"_editorQueryID\",0),C(this,\"_storage\",void 0),C(this,\"codeMirrorSizer\",void 0),C(this,\"componentIsMounted\",void 0),C(this,\"docExplorerComponent\",void 0),C(this,\"graphiqlContainer\",void 0),C(this,\"resultComponent\",void 0),C(this,\"variableEditorComponent\",void 0),C(this,\"headerEditorComponent\",void 0),C(this,\"_queryHistory\",void 0),C(this,\"editorBarComponent\",void 0),C(this,\"queryEditorComponent\",void 0),C(this,\"resultViewerElement\",void 0),C(this,\"safeSetState\",(e,t)=>{this.componentIsMounted&&this.setState(e,t)}),C(this,\"handleClickReference\",e=>{this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDocForReference(e)}),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))}),C(this,\"handleRunQuery\",e=>{this._editorQueryID++;const t=this._editorQueryID,n=this.autoCompleteLeafs()||this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.shouldPersistHeaders;let a=this.state.operationName;e&&e!==a&&(a=e,this.handleEditOperationName(a));try{this.setState({isWaitingForResponse:!0,response:void 0,operationName:a}),this._storage.set(\"operationName\",a),this._queryHistory&&this._queryHistory.updateHistory(n,r,i,a);const e=this._fetchQuery(n,r,i,a,o,e=>{t===this._editorQueryID&&this.setState({isWaitingForResponse:!1,response:S.formatResult(e)})});this.setState({subscription:e})}catch(e){this.setState({isWaitingForResponse:!1,response:e.message})}}),C(this,\"handleStopQuery\",()=>{const e=this.state.subscription;this.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()}),C(this,\"handlePrettifyQuery\",()=>{var e,t,r;const i=this.getQueryEditor(),o=null!==(e=null==i?void 0:i.getValue())&&void 0!==e?e:\"\",a=(0,n.print)((0,n.parse)(o));a!==o&&(null==i||i.setValue(a));const s=this.getVariableEditor(),l=null!==(t=null==s?void 0:s.getValue())&&void 0!==t?t:\"\";try{const e=JSON.stringify(JSON.parse(l),null,2);e!==l&&(null==s||s.setValue(e))}catch{}const c=this.getHeaderEditor(),u=null!==(r=null==c?void 0:c.getValue())&&void 0!==r?r:\"\";try{const e=JSON.stringify(JSON.parse(u),null,2);e!==u&&(null==c||c.setValue(e))}catch{}}),C(this,\"handleMergeQuery\",()=>{const e=this.getQueryEditor(),t=e.getValue();if(!t)return;const r=(0,n.parse)(t);e.setValue((0,n.print)((0,_.default)(r)))}),C(this,\"handleEditQuery\",(0,T.default)(100,e=>{const t=this._updateQueryFacts(e,this.state.operationName,this.state.operations,this.state.schema);if(this.setState({query:e,...t}),this._storage.set(\"query\",e),this.props.onEditQuery)return this.props.onEditQuery(e)})),C(this,\"handleCopyQuery\",()=>{const e=this.getQueryEditor(),t=e&&e.getValue();if(t)return(0,i.default)(t),this.props.onCopyQuery?this.props.onCopyQuery(t):void 0}),C(this,\"_updateQueryFacts\",(e,t,n,r)=>{const i=(0,y.default)(r,e);if(i){const e=(0,b.default)(n,t,i.operations),r=this.props.onEditOperationName;return r&&e&&t!==e&&r(e),{operationName:e,...i}}}),C(this,\"handleEditVariables\",e=>{this.setState({variables:e}),(0,T.default)(500,()=>this._storage.set(\"variables\",e))(),this.props.onEditVariables&&this.props.onEditVariables(e)}),C(this,\"handleEditHeaders\",e=>{this.setState({headers:e}),this.props.shouldPersistHeaders&&(0,T.default)(500,()=>this._storage.set(\"headers\",e))(),this.props.onEditHeaders&&this.props.onEditHeaders(e)}),C(this,\"handleEditOperationName\",e=>{const t=this.props.onEditOperationName;t&&t(e)}),C(this,\"handleHintInformationRender\",e=>{let t;e.addEventListener(\"click\",this._onClickHintInformation),e.addEventListener(\"DOMNodeRemoved\",t=()=>{e.removeEventListener(\"DOMNodeRemoved\",t),e.removeEventListener(\"click\",this._onClickHintInformation)})}),C(this,\"handleEditorRunQuery\",()=>{this._runQueryAtCursor()}),C(this,\"_onClickHintInformation\",e=>{if((null==e?void 0:e.currentTarget)&&\"className\"in e.currentTarget&&\"typeName\"===e.currentTarget.className){const t=e.currentTarget.innerHTML,n=this.state.schema;if(n){const e=n.getType(t);e&&(this.setState({docExplorerOpen:!0},()=>{this.docExplorerComponent&&this.docExplorerComponent.showDoc(e)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen)))())}}}),C(this,\"handleToggleDocs\",()=>{\"function\"==typeof this.props.onToggleDocs&&this.props.onToggleDocs(!this.state.docExplorerOpen),this._storage.set(\"docExplorerOpen\",JSON.stringify(!this.state.docExplorerOpen)),this.setState({docExplorerOpen:!this.state.docExplorerOpen})}),C(this,\"handleToggleHistory\",()=>{\"function\"==typeof this.props.onToggleHistory&&this.props.onToggleHistory(!this.state.historyPaneOpen),this._storage.set(\"historyPaneOpen\",JSON.stringify(!this.state.historyPaneOpen)),this.setState({historyPaneOpen:!this.state.historyPaneOpen})}),C(this,\"handleSelectHistoryQuery\",(e,t,n,r)=>{e&&this.handleEditQuery(e),t&&this.handleEditVariables(t),n&&this.handleEditHeaders(n),r&&this.handleEditOperationName(r)}),C(this,\"handleResizeStart\",e=>{if(!this._didClickDragBar(e))return;e.preventDefault();const t=e.clientX-(0,x.getLeft)(e.target);let n=e=>{if(0===e.buttons)return r();const n=this.editorBarComponent,i=e.clientX-(0,x.getLeft)(n)-t,o=n.clientWidth-i;this.setState({editorFlex:i/o}),(0,T.default)(500,()=>this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex)))()},r=()=>{document.removeEventListener(\"mousemove\",n),document.removeEventListener(\"mouseup\",r),n=null,r=null};document.addEventListener(\"mousemove\",n),document.addEventListener(\"mouseup\",r)}),C(this,\"handleResetResize\",()=>{this.setState({editorFlex:1}),this._storage.set(\"editorFlex\",JSON.stringify(this.state.editorFlex))}),C(this,\"handleDocsResizeStart\",e=>{e.preventDefault();const t=this.state.docExplorerWidth,n=e.clientX-(0,x.getLeft)(e.target);let r=e=>{if(0===e.buttons)return i();const t=this.graphiqlContainer,r=e.clientX-(0,x.getLeft)(t)-n,o=t.clientWidth-r;o<100?this.setState({docExplorerOpen:!1}):(this.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(o,650)}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),this._storage.set(\"docExplorerOpen\",JSON.stringify(this.state.docExplorerOpen))},i=()=>{this.state.docExplorerOpen||(this.setState({docExplorerWidth:t}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()),document.removeEventListener(\"mousemove\",r),document.removeEventListener(\"mouseup\",i),r=null,i=null};document.addEventListener(\"mousemove\",r),document.addEventListener(\"mouseup\",i)}),C(this,\"handleDocsResetResize\",()=>{this.setState({docExplorerWidth:350}),(0,T.default)(500,()=>this._storage.set(\"docExplorerWidth\",JSON.stringify(this.state.docExplorerWidth)))()}),C(this,\"handleTabClickPropogation\",e=>{e.preventDefault(),e.stopPropagation()}),C(this,\"handleOpenHeaderEditorTab\",e=>{this.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})}),C(this,\"handleOpenVariableEditorTab\",e=>{this.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})}),C(this,\"handleSecondaryEditorResizeStart\",e=>{e.preventDefault();let t=!1;const n=this.state.secondaryEditorOpen,r=this.state.secondaryEditorHeight,i=e.clientY-(0,x.getTop)(e.target);let o=e=>{if(0===e.buttons)return a();t=!0;const n=this.editorBarComponent,o=e.clientY-(0,x.getTop)(n)-i,s=n.clientHeight-o;s<60?this.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):this.setState({secondaryEditorOpen:!0,secondaryEditorHeight:s}),(0,T.default)(500,()=>this._storage.set(\"secondaryEditorHeight\",JSON.stringify(this.state.secondaryEditorHeight)))()},a=()=>{t||this.setState({secondaryEditorOpen:!n}),document.removeEventListener(\"mousemove\",o),document.removeEventListener(\"mouseup\",a),o=null,a=null};document.addEventListener(\"mousemove\",o),document.addEventListener(\"mouseup\",a)}),\"function\"!=typeof e.fetcher)throw new TypeError(\"GraphiQL requires a fetcher function.\");this._storage=new g.default(e.storage),this.componentIsMounted=!1;const o=void 0!==e.query?e.query:this._storage.get(\"query\")?this._storage.get(\"query\"):void 0!==e.defaultQuery?e.defaultQuery:L,a=(0,y.default)(e.schema,o),s=void 0!==e.variables?e.variables:this._storage.get(\"variables\"),l=void 0!==e.headers?e.headers:this._storage.get(\"headers\"),c=void 0!==e.operationName?e.operationName:(0,b.default)(void 0,this._storage.get(\"operationName\"),a&&a.operations);let u,f=e.docExplorerOpen||!1;this._storage.get(\"docExplorerOpen\")&&(f=\"true\"===this._storage.get(\"docExplorerOpen\")),u=void 0!==e.defaultVariableEditorOpen?e.defaultVariableEditorOpen:void 0!==e.defaultSecondaryEditorOpen?e.defaultSecondaryEditorOpen:Boolean(s||l);const p=null!==(t=e.headerEditorEnabled)&&void 0!==t&&t,d=null!==(r=e.shouldPersistHeaders)&&void 0!==r&&r;this.state={schema:e.schema,query:o,variables:s,headers:l,operationName:c,docExplorerOpen:f,response:e.response,editorFlex:Number(this._storage.get(\"editorFlex\"))||1,secondaryEditorOpen:u,secondaryEditorHeight:Number(this._storage.get(\"secondaryEditorHeight\"))||200,variableEditorActive:\"true\"!==this._storage.get(\"variableEditorActive\")&&!e.headerEditorEnabled||\"true\"!==this._storage.get(\"headerEditorActive\"),headerEditorActive:\"true\"===this._storage.get(\"headerEditorActive\"),headerEditorEnabled:p,shouldPersistHeaders:d,historyPaneOpen:\"true\"===this._storage.get(\"historyPaneOpen\")||!1,docExplorerWidth:Number(this._storage.get(\"docExplorerWidth\"))||350,isWaitingForResponse:!1,subscription:null,...a}}componentDidMount(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new v.default,r.g=this}UNSAFE_componentWillMount(){this.componentIsMounted=!1}UNSAFE_componentWillReceiveProps(e){let t=this.state.schema,n=this.state.query,r=this.state.variables,i=this.state.headers,o=this.state.operationName,a=this.state.response;if(void 0!==e.schema&&(t=e.schema),void 0!==e.query&&this.props.query!==e.query&&(n=e.query),void 0!==e.variables&&this.props.variables!==e.variables&&(r=e.variables),void 0!==e.headers&&this.props.headers!==e.headers&&(i=e.headers),void 0!==e.operationName&&(o=e.operationName),void 0!==e.response&&(a=e.response),n&&t&&(t!==this.state.schema||n!==this.state.query||o!==this.state.operationName)){const e=this._updateQueryFacts(n,o,this.state.operations,t);void 0!==e&&(o=e.operationName,this.setState(e))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(t=void 0),this._storage.set(\"operationName\",o),this.setState({schema:t,query:n,variables:r,headers:i,operationName:o,response:a},()=>{void 0===this.state.schema&&(this.docExplorerComponent&&this.docExplorerComponent.reset(),this.fetchSchema())})}componentDidUpdate(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])}render(){const e=t.default.Children.toArray(this.props.children),n=(0,E.default)(e,e=>R(e,S.Logo))||t.default.createElement(S.Logo,null),r=(0,E.default)(e,e=>R(e,S.Toolbar))||t.default.createElement(S.Toolbar,null,t.default.createElement(s.ToolbarButton,{onClick:this.handlePrettifyQuery,title:\"Prettify Query (Shift-Ctrl-P)\",label:\"Prettify\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleMergeQuery,title:\"Merge Query (Shift-Ctrl-M)\",label:\"Merge\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleCopyQuery,title:\"Copy Query (Shift-Ctrl-C)\",label:\"Copy\"}),t.default.createElement(s.ToolbarButton,{onClick:this.handleToggleHistory,title:\"Show History\",label:\"History\"})),i=(0,E.default)(e,e=>R(e,S.Footer)),l={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:\"block\",width:this.state.docExplorerWidth},v=\"docExplorerWrap\"+(this.state.docExplorerWidth<200?\" doc-explorer-narrow\":\"\"),g={display:this.state.historyPaneOpen?\"block\":\"none\",width:\"230px\",zIndex:7},y=this.state.secondaryEditorOpen,b={height:y?this.state.secondaryEditorHeight:void 0};return t.default.createElement(\"div\",{ref:e=>{this.graphiqlContainer=e},className:\"graphiql-container\"},t.default.createElement(\"div\",{className:\"historyPaneWrap\",style:g},t.default.createElement(m.QueryHistory,{ref:e=>{this._queryHistory=e},operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,queryID:this._editorQueryID},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleHistory,\"aria-label\":\"Close History\"},\"\u2715\"))),t.default.createElement(\"div\",{className:\"editorWrap\"},t.default.createElement(\"div\",{className:\"topBarWrap\"},t.default.createElement(\"div\",{className:\"topBar\"},n,t.default.createElement(o.ExecuteButton,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),r),!this.state.docExplorerOpen&&t.default.createElement(\"button\",{className:\"docExplorerShow\",onClick:this.handleToggleDocs,\"aria-label\":\"Open Documentation Explorer\"},\"Docs\")),t.default.createElement(\"div\",{ref:e=>{this.editorBarComponent=e},className:\"editorBar\",onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},t.default.createElement(\"div\",{className:\"queryWrap\",style:l},t.default.createElement(u.QueryEditor,{ref:e=>{this.queryEditorComponent=e},schema:this.state.schema,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly}),t.default.createElement(\"section\",{className:\"variable-editor secondary-editor\",style:b,\"aria-label\":this.state.variableEditorActive?\"Query Variables\":\"Request Headers\"},t.default.createElement(\"div\",{className:\"secondary-editor-title variable-editor-title\",id:\"secondary-editor-title\",style:{cursor:y?\"row-resize\":\"n-resize\"},onMouseDown:this.handleSecondaryEditorResizeStart},t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.variableEditorActive?\"#000\":\"gray\",display:\"inline-block\"},onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},\"Query Variables\"),this.state.headerEditorEnabled&&t.default.createElement(\"div\",{style:{cursor:\"pointer\",color:this.state.headerEditorActive?\"#000\":\"gray\",display:\"inline-block\",marginLeft:\"20px\"},onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},\"Request Headers\")),t.default.createElement(f.VariableEditor,{ref:e=>{this.variableEditorComponent=e},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.variableEditorActive}),this.state.headerEditorEnabled&&t.default.createElement(p.HeaderEditor,{ref:e=>{this.headerEditorComponent=e},value:this.state.headers,onEdit:this.handleEditHeaders,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.headerEditorActive}))),t.default.createElement(\"div\",{className:\"resultWrap\"},this.state.isWaitingForResponse&&t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})),t.default.createElement(d.ResultViewer,{registerRef:e=>{this.resultViewerElement=e},ref:e=>{this.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:a.ImagePreview}),i))),this.state.docExplorerOpen&&t.default.createElement(\"div\",{className:v,style:c},t.default.createElement(\"div\",{className:\"docExplorerResizer\",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),t.default.createElement(h.DocExplorer,{ref:e=>{this.docExplorerComponent=e},schema:this.state.schema},t.default.createElement(\"button\",{className:\"docExplorerHide\",onClick:this.handleToggleDocs,\"aria-label\":\"Close Documentation Explorer\"},\"\u2715\"))))}getQueryEditor(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()}getVariableEditor(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null}getHeaderEditor(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null}refresh(){this.queryEditorComponent&&this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent&&this.variableEditorComponent.getCodeMirror().refresh(),this.headerEditorComponent&&this.headerEditorComponent.getCodeMirror().refresh(),this.resultComponent&&this.resultComponent.getCodeMirror().refresh()}autoCompleteLeafs(){const{insertions:e,result:t}=(0,O.fillLeafs)(this.state.schema,this.state.query,this.props.getDefaultFieldNames);if(e&&e.length>0){const n=this.getQueryEditor();n&&n.operation(()=>{const r=n.getCursor(),i=n.indexFromPos(r);n.setValue(t||\"\");let o=0;const a=e.map(({index:e,string:t})=>n.markText(n.posFromIndex(e+o),n.posFromIndex(e+(o+=t.length)),{className:\"autoInsertedLeaf\",clearOnEnter:!0,title:\"Automatically added leaf fields\"}));setTimeout(()=>a.forEach(e=>e.clear()),7e3);let s=i;e.forEach(({index:e,string:t})=>{e<i&&(s+=t.length)}),n.setCursor(n.posFromIndex(s))})}return t}fetchSchema(){const e=this.props.fetcher,t={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders)};this.state.headers&&this.state.headers.trim().length>2?t.headers=JSON.parse(this.state.headers):this.props.headers&&(t.headers=JSON.parse(this.props.headers));const r=F(e({query:k.introspectionQuery,operationName:k.introspectionQueryName},t));j(r)?r.then(n=>{if(\"string\"!=typeof n&&\"data\"in n)return n;const i=F(e({query:k.introspectionQuerySansSubscriptions,operationName:k.introspectionQueryName},t));if(!j(r))throw new Error(\"Fetcher did not return a Promise for introspection.\");return i}).then(e=>{if(void 0===this.state.schema)if(\"string\"!=typeof e&&\"data\"in e){const t=(0,n.buildClientSchema)(e.data),r=(0,y.default)(t,this.state.query);this.safeSetState({schema:t,...r})}else{const t=\"string\"==typeof e?e:S.formatResult(e);this.safeSetState({schema:void 0,response:t})}}).catch(e=>{this.safeSetState({schema:void 0,response:e?S.formatError(e):void 0})}):this.setState({response:\"Fetcher did not return a Promise for introspection.\"})}_fetchQuery(e,t,n,r,i,o){const a=this.props.fetcher;let s=null,l=null;try{s=t&&\"\"!==t.trim()?JSON.parse(t):null}catch(e){throw new Error(`Variables are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof s)throw new Error(\"Variables are not a JSON object.\");try{l=n&&\"\"!==n.trim()?JSON.parse(n):null}catch(e){throw new Error(`Headers are invalid JSON: ${e.message}.`)}if(\"object\"!=typeof l)throw new Error(\"Headers are not a JSON object.\");const c=a({query:e,variables:s,operationName:r},{headers:l,shouldPersistHeaders:i});if(!j(c)){if(M(c))return c.subscribe({next:o,error:e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0,subscription:null})},complete:()=>{this.safeSetState({isWaitingForResponse:!1,subscription:null})}});throw new Error(\"Fetcher did not return Promise or Observable.\")}c.then(o).catch(e=>{this.safeSetState({isWaitingForResponse:!1,response:e?S.formatError(e):void 0})})}_runQueryAtCursor(){if(this.state.subscription)return void this.handleStopQuery();let e;const t=this.state.operations;if(t){const n=this.getQueryEditor();if(n&&n.hasFocus()){const r=n.getCursor(),i=n.indexFromPos(r);for(let n=0;n<t.length;n++){const r=t[n];if(r.loc&&r.loc.start<=i&&r.loc.end>=i){e=r.name&&r.name.value;break}}}}this.handleRunQuery(e)}_didClickDragBar(e){if(0!==e.button||e.ctrlKey)return!1;let t=e.target;if(0!==t.className.indexOf(\"CodeMirror-gutter\"))return!1;const n=this.resultViewerElement;for(;t;){if(t===n)return!0;t=t.parentNode}return!1}}function N(e){return t.default.createElement(\"div\",{className:\"title\"},e.children||t.default.createElement(\"span\",null,\"Graph\",t.default.createElement(\"em\",null,\"i\"),\"QL\"))}function D(e){return t.default.createElement(\"div\",{className:\"toolbar\",role:\"toolbar\",\"aria-label\":\"Editor Commands\"},e.children)}function I(e){return t.default.createElement(\"div\",{className:\"footer\"},e.children)}e.GraphiQL=S,C(S,\"Logo\",N),C(S,\"Toolbar\",D),C(S,\"Footer\",I),C(S,\"QueryEditor\",u.QueryEditor),C(S,\"VariableEditor\",f.VariableEditor),C(S,\"HeaderEditor\",p.HeaderEditor),C(S,\"ResultViewer\",d.ResultViewer),C(S,\"Button\",s.ToolbarButton),C(S,\"ToolbarButton\",s.ToolbarButton),C(S,\"Group\",l.ToolbarGroup),C(S,\"Menu\",c.ToolbarMenu),C(S,\"MenuItem\",c.ToolbarMenuItem),N.displayName=\"GraphiQLLogo\",D.displayName=\"GraphiQLToolbar\",I.displayName=\"GraphiQLFooter\";const A=e=>({...e,message:e.message,stack:e.stack}),L='# 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 start\\n# with a # are ignored.\\n#\\n# An example GraphQL query might look like:\\n#\\n#     {\\n#       field(arg: \"value\") {\\n#         subField\\n#       }\\n#     }\\n#\\n# Keyboard shortcuts:\\n#\\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\\n#\\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\\n#\\n#       Run Query:  Ctrl-Enter (or press the play button above)\\n#\\n#   Auto Complete:  Ctrl-Space (or just start typing)\\n#\\n\\n';function j(e){return\"object\"==typeof e&&\"function\"==typeof e.then}function F(e){return M(e)?new Promise((t,n)=>{const r=e.subscribe(e=>{t(e),r.unsubscribe()},n,()=>{n(new Error(\"no value resolved\"))})}):e}function M(e){return\"object\"==typeof e&&\"subscribe\"in e&&\"function\"==typeof e.subscribe}function R(e,t){var n;return!(!(null==e||null===(n=e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}},o=[t,n(16),n(14),n(100),n(102),n(103),n(107),n(108),n(109),n(110),n(188),n(194),n(196),n(199),n(206),n(209),n(210),n(211),n(212),n(85),n(213),n(214),n(215),n(216),n(217)],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(101),r={\"text/plain\":\"Text\",\"text/html\":\"Url\",default:\"Text\"};e.exports=function(e,n){var i,o,a,s,l,c,u=!1;n||(n={}),i=n.debug||!1;try{if(a=t(),s=document.createRange(),l=document.getSelection(),(c=document.createElement(\"span\")).textContent=e,c.style.all=\"unset\",c.style.position=\"fixed\",c.style.top=0,c.style.clip=\"rect(0, 0, 0, 0)\",c.style.whiteSpace=\"pre\",c.style.webkitUserSelect=\"text\",c.style.MozUserSelect=\"text\",c.style.msUserSelect=\"text\",c.style.userSelect=\"text\",c.addEventListener(\"copy\",(function(t){if(t.stopPropagation(),n.format)if(t.preventDefault(),void 0===t.clipboardData){i&&console.warn(\"unable to use e.clipboardData\"),i&&console.warn(\"trying IE specific stuff\"),window.clipboardData.clearData();var o=r[n.format]||r.default;window.clipboardData.setData(o,e)}else t.clipboardData.clearData(),t.clipboardData.setData(n.format,e);n.onCopy&&(t.preventDefault(),n.onCopy(t.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand(\"copy\"))throw new Error(\"copy command was unsuccessful\");u=!0}catch(t){i&&console.error(\"unable to copy using execCommand: \",t),i&&console.warn(\"trying IE specific stuff\");try{window.clipboardData.setData(n.format||\"text\",e),n.onCopy&&n.onCopy(window.clipboardData),u=!0}catch(t){i&&console.error(\"unable to copy using clipboardData: \",t),i&&console.error(\"falling back to prompt\"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?\"\u2318\":\"Ctrl\")+\"+C\";return e.replace(/#{\\s*key\\s*}/g,t)}(\"message\"in n?n.message:\"Copy to clipboard: #{key}, Enter\"),window.prompt(o,e)}}finally{l&&(\"function\"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case\"INPUT\":case\"TEXTAREA\":t.blur();break;default:t=null}return e.removeAllRanges(),function(){\"Caret\"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ExecuteButton=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_onClick\",()=>{this.props.isRunning?this.props.onStop():this.props.onRun()}),n(this,\"_onOptionSelected\",e=>{this.setState({optionsOpen:!1}),this.props.onRun(e.name&&e.name.value)}),n(this,\"_onOptionsOpen\",e=>{let t=!0;const n=e.currentTarget;this.setState({highlight:null,optionsOpen:!0});let r=e=>{var i;t&&e.target===n?t=!1:(document.removeEventListener(\"mouseup\",r),r=null,e.currentTarget&&(null===(i=n.parentNode)||void 0===i?void 0:i.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||this.setState({optionsOpen:!1}))};document.addEventListener(\"mouseup\",r)}),this.state={optionsOpen:!1,highlight:null}}render(){const e=this.props.operations||[],n=this.state.optionsOpen,r=e&&e.length>1;let i,o=null;if(r&&n){const n=this.state.highlight;o=t.default.createElement(\"ul\",{className:\"execute-options\"},e.map((e,r)=>{const i=e.name?e.name.value:`<Unnamed ${e.operation}>`;return t.default.createElement(\"li\",{key:`${i}-${r}`,className:e===n?\"selected\":void 0,onMouseOver:()=>this.setState({highlight:e}),onMouseOut:()=>this.setState({highlight:null}),onMouseUp:()=>this._onOptionSelected(e)},i)}))}!this.props.isRunning&&r||(i=this._onClick);let a=()=>{};this.props.isRunning||!r||n||(a=this._onOptionsOpen);const s=this.props.isRunning?t.default.createElement(\"path\",{d:\"M 10 10 L 23 10 L 23 23 L 10 23 z\"}):t.default.createElement(\"path\",{d:\"M 11 9 L 24 16 L 11 23 z\"});return t.default.createElement(\"div\",{className:\"execute-button-wrap\"},t.default.createElement(\"button\",{type:\"button\",className:\"execute-button\",onMouseDown:a,onClick:i,title:\"Execute Query (Ctrl-Enter)\"},t.default.createElement(\"svg\",{width:\"34\",height:\"34\"},s)),o)}}e.ExecuteButton=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(104)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){if(\"string\"!==e.type)return;const t=e.string.slice(1).slice(0,-1).trim();try{const e=window.location;return new URL(t,e.protocol+\"//\"+e.host)}catch(e){return}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ImagePreview=void 0,t=r(t),n=r(n);class a extends t.default.Component{constructor(...e){super(...e),i(this,\"_node\",null),i(this,\"state\",{width:null,height:null,src:null,mime:null})}static shouldRender(e){const t=o(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)}componentDidMount(){this._updateMetadata()}componentDidUpdate(){this._updateMetadata()}render(){var e;let n=null;if(null!==this.state.width&&null!==this.state.height){let e=this.state.width+\"x\"+this.state.height;null!==this.state.mime&&(e+=\" \"+this.state.mime),n=t.default.createElement(\"div\",null,e)}return t.default.createElement(\"div\",null,t.default.createElement(\"img\",{onLoad:()=>this._updateMetadata(),ref:e=>{this._node=e},src:null===(e=o(this.props.token))||void 0===e?void 0:e.href}),n)}_updateMetadata(){if(!this._node)return;const e=this._node.naturalWidth,t=this._node.naturalHeight,n=this._node.src;n!==this.state.src&&(this.setState({src:n}),fetch(n,{method:\"HEAD\"}).then(e=>{this.setState({mime:e.headers.get(\"Content-Type\")})})),e===this.state.width&&t===this.state.height||this.setState({height:t,width:e})}}e.ImagePreview=a,i(a,\"propTypes\",{token:n.default.any})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=n(105)()})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(106);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,n,r,i,o,a){if(a!==t){var s=new Error(\"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types\");throw s.name=\"Invariant Violation\",s}}function n(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:r};return o.PropTypes=o,o}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarButton=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"handleClick\",()=>{try{this.props.onClick(),this.setState({error:null})}catch(e){this.setState({error:e})}}),this.state={error:null}}render(){const{error:e}=this.state;return t.default.createElement(\"button\",{className:\"toolbar-button\"+(e?\" error\":\"\"),onClick:this.handleClick,title:e?e.message:this.props.title,\"aria-invalid\":e?\"true\":\"false\"},this.props.label)}}e.ToolbarButton=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarGroup=function({children:e}){return t.default.createElement(\"div\",{className:\"toolbar-button-group\"},e)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r;Object.defineProperty(e,\"__esModule\",{value:!0}),e.ToolbarMenuItem=e.ToolbarMenu=void 0,t=(r=t)&&r.__esModule?r:{default:r};class i extends t.default.Component{constructor(e){super(e),n(this,\"_node\",null),n(this,\"_listener\",null),n(this,\"handleOpen\",e=>{o(e),this.setState({visible:!0}),this._subscribe()}),this.state={visible:!1}}componentWillUnmount(){this._release()}render(){const e=this.state.visible;return t.default.createElement(\"a\",{className:\"toolbar-menu toolbar-button\",onClick:this.handleOpen.bind(this),onMouseDown:o,ref:e=>{e&&(this._node=e)},title:this.props.title},this.props.label,t.default.createElement(\"svg\",{width:\"14\",height:\"8\"},t.default.createElement(\"path\",{fill:\"#666\",d:\"M 5 1.5 L 14 1.5 L 9.5 7 z\"})),t.default.createElement(\"ul\",{className:\"toolbar-menu-items\"+(e?\" open\":\"\")},this.props.children))}_subscribe(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener(\"click\",this._listener))}_release(){this._listener&&(document.removeEventListener(\"click\",this._listener),this._listener=null)}handleClick(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())}}function o(e){e.preventDefault()}e.ToolbarMenu=i,e.ToolbarMenuItem=({onSelect:e,title:n,label:r})=>t.default.createElement(\"li\",{onMouseOver:e=>{e.currentTarget.className=\"hover\"},onMouseOut:e=>{e.currentTarget.className=\"\"},onMouseDown:o,onMouseUp:e,title:n},r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(49),n(166),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryEditor=void 0,t=s(t),r=s(r),o=s(o),a=s(a);const c=new r.default,u=/^[a-zA-Z0-9_@(]$/;class f extends t.default.Component{constructor(e){super(e),l(this,\"cachedValue\",void 0),l(this,\"editor\",null),l(this,\"ignoreChangeEvent\",!1),l(this,\"_node\",null),l(this,\"_onKeyUp\",(e,t)=>{u.test(t.key)&&this.editor&&this.editor.execCommand(\"autocomplete\")}),l(this,\"_onEdit\",()=>{!this.ignoreChangeEvent&&this.editor&&(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue))}),l(this,\"_onHasCompletion\",(e,t)=>{(0,o.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){const e=n(10);n(54),n(167),n(41),n(55),n(42),n(43),n(69),n(33),n(44),n(34),n(56),n(45),n(169),n(183),n(184),n(185),n(187);const t=this.editor=e(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{schema:this.props.schema},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1,container:this._node},info:{schema:this.props.schema,renderDescription:e=>c.render(e),onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},jump:{schema:this.props.schema,onClick:e=>this.props.onClickReference&&this.props.onClickReference(e)},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Ctrl-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Shift-Alt-Space\":()=>t.showHint({completeSingle:!0,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-C\":()=>{this.props.onCopyQuery&&this.props.onCopyQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-F\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...a.default,\"Cmd-S\":()=>{this.props.onRunQuery},\"Ctrl-S\":()=>{this.props.onRunQuery}}});t&&(t.on(\"change\",this._onEdit),t.on(\"keyup\",this._onKeyUp),t.on(\"hasCompletion\",this._onHasCompletion),t.on(\"beforeChange\",this._onBeforeChange))}componentDidUpdate(e){const t=n(10);this.ignoreChangeEvent=!0,this.props.schema!==e.schema&&this.editor&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,t.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue&&this.editor&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"section\",{className:\"query-editor\",\"aria-label\":\"Query Editor\",ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}_onBeforeChange(e,t){if(\"paste\"===t.origin){const e=t.text.map(i.normalizeWhitespace);t.update(t.from,t.to,e)}}}e.QueryEditor=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12),r=n(119),i=n(123),o=n(124),a=n(132),s=n(146),l=n(159),c=n(62),u=n(161),f={default:n(163),zero:n(164),commonmark:n(165)},p=/^(vbscript|javascript|file|data):/,d=/^data:image\\/(gif|png|jpeg|webp);/;function h(e){var t=e.trim().toLowerCase();return!p.test(t)||!!d.test(t)}var m=[\"http:\",\"https:\",\"mailto:\"];function v(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function g(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=u.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t))}function y(e,n){if(!(this instanceof y))return new y(e,n);n||t.isString(e)||(n=e||{},e=\"default\"),this.inline=new s,this.block=new a,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=h,this.normalizeLink=v,this.normalizeLinkText=g,this.utils=t,this.helpers=t.assign({},r),this.options={},this.configure(e),n&&this.set(n)}y.prototype.set=function(e){return t.assign(this.options,e),this},y.prototype.configure=function(e){var n,r=this;if(t.isString(e)&&!(e=f[n=e]))throw new Error('Wrong `markdown-it` preset \"'+n+'\", check name');if(!e)throw new Error(\"Wrong `markdown-it` preset, can't be empty\");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.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},y.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},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.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},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y})?r.apply(t,i):r)||(e.exports=o)},function(e){e.exports=JSON.parse('{\"Aacute\":\"\u00C1\",\"aacute\":\"\u00E1\",\"Abreve\":\"\u0102\",\"abreve\":\"\u0103\",\"ac\":\"\u223E\",\"acd\":\"\u223F\",\"acE\":\"\u223E\u0333\",\"Acirc\":\"\u00C2\",\"acirc\":\"\u00E2\",\"acute\":\"\u00B4\",\"Acy\":\"\u0410\",\"acy\":\"\u0430\",\"AElig\":\"\u00C6\",\"aelig\":\"\u00E6\",\"af\":\"\u2061\",\"Afr\":\"\uD835\uDD04\",\"afr\":\"\uD835\uDD1E\",\"Agrave\":\"\u00C0\",\"agrave\":\"\u00E0\",\"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\":\"\u00C5\",\"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\":\"\u00C5\",\"aring\":\"\u00E5\",\"Ascr\":\"\uD835\uDC9C\",\"ascr\":\"\uD835\uDCB6\",\"Assign\":\"\u2254\",\"ast\":\"*\",\"asymp\":\"\u2248\",\"asympeq\":\"\u224D\",\"Atilde\":\"\u00C3\",\"atilde\":\"\u00E3\",\"Auml\":\"\u00C4\",\"auml\":\"\u00E4\",\"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\":\"\u00A6\",\"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\":\"\u00C7\",\"ccedil\":\"\u00E7\",\"Ccirc\":\"\u0108\",\"ccirc\":\"\u0109\",\"Cconint\":\"\u2230\",\"ccups\":\"\u2A4C\",\"ccupssm\":\"\u2A50\",\"Cdot\":\"\u010A\",\"cdot\":\"\u010B\",\"cedil\":\"\u00B8\",\"Cedilla\":\"\u00B8\",\"cemptyv\":\"\u29B2\",\"cent\":\"\u00A2\",\"centerdot\":\"\u00B7\",\"CenterDot\":\"\u00B7\",\"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\":\"\u00AE\",\"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\":\"\u00A9\",\"COPY\":\"\u00A9\",\"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\":\"\u00A4\",\"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\":\"\u00B0\",\"Del\":\"\u2207\",\"Delta\":\"\u0394\",\"delta\":\"\u03B4\",\"demptyv\":\"\u29B1\",\"dfisht\":\"\u297F\",\"Dfr\":\"\uD835\uDD07\",\"dfr\":\"\uD835\uDD21\",\"dHar\":\"\u2965\",\"dharl\":\"\u21C3\",\"dharr\":\"\u21C2\",\"DiacriticalAcute\":\"\u00B4\",\"DiacriticalDot\":\"\u02D9\",\"DiacriticalDoubleAcute\":\"\u02DD\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"\u02DC\",\"diam\":\"\u22C4\",\"diamond\":\"\u22C4\",\"Diamond\":\"\u22C4\",\"diamondsuit\":\"\u2666\",\"diams\":\"\u2666\",\"die\":\"\u00A8\",\"DifferentialD\":\"\u2146\",\"digamma\":\"\u03DD\",\"disin\":\"\u22F2\",\"div\":\"\u00F7\",\"divide\":\"\u00F7\",\"divideontimes\":\"\u22C7\",\"divonx\":\"\u22C7\",\"DJcy\":\"\u0402\",\"djcy\":\"\u0452\",\"dlcorn\":\"\u231E\",\"dlcrop\":\"\u230D\",\"dollar\":\"$\",\"Dopf\":\"\uD835\uDD3B\",\"dopf\":\"\uD835\uDD55\",\"Dot\":\"\u00A8\",\"dot\":\"\u02D9\",\"DotDot\":\"\u20DC\",\"doteq\":\"\u2250\",\"doteqdot\":\"\u2251\",\"DotEqual\":\"\u2250\",\"dotminus\":\"\u2238\",\"dotplus\":\"\u2214\",\"dotsquare\":\"\u22A1\",\"doublebarwedge\":\"\u2306\",\"DoubleContourIntegral\":\"\u222F\",\"DoubleDot\":\"\u00A8\",\"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\":\"\u00C9\",\"eacute\":\"\u00E9\",\"easter\":\"\u2A6E\",\"Ecaron\":\"\u011A\",\"ecaron\":\"\u011B\",\"Ecirc\":\"\u00CA\",\"ecirc\":\"\u00EA\",\"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\":\"\u00C8\",\"egrave\":\"\u00E8\",\"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\":\"\u00D0\",\"eth\":\"\u00F0\",\"Euml\":\"\u00CB\",\"euml\":\"\u00EB\",\"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\":\"\u00BD\",\"frac13\":\"\u2153\",\"frac14\":\"\u00BC\",\"frac15\":\"\u2155\",\"frac16\":\"\u2159\",\"frac18\":\"\u215B\",\"frac23\":\"\u2154\",\"frac25\":\"\u2156\",\"frac34\":\"\u00BE\",\"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\":\"\u00BD\",\"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\":\"\u00CD\",\"iacute\":\"\u00ED\",\"ic\":\"\u2063\",\"Icirc\":\"\u00CE\",\"icirc\":\"\u00EE\",\"Icy\":\"\u0418\",\"icy\":\"\u0438\",\"Idot\":\"\u0130\",\"IEcy\":\"\u0415\",\"iecy\":\"\u0435\",\"iexcl\":\"\u00A1\",\"iff\":\"\u21D4\",\"ifr\":\"\uD835\uDD26\",\"Ifr\":\"\u2111\",\"Igrave\":\"\u00CC\",\"igrave\":\"\u00EC\",\"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\":\"\u00BF\",\"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\":\"\u00CF\",\"iuml\":\"\u00EF\",\"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\":\"\u00AB\",\"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\":\"\u00AF\",\"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\":\"\u00B5\",\"midast\":\"*\",\"midcir\":\"\u2AF0\",\"mid\":\"\u2223\",\"middot\":\"\u00B7\",\"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\":\"\u00A0\",\"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\":\"\u00A0\",\"nopf\":\"\uD835\uDD5F\",\"Nopf\":\"\u2115\",\"Not\":\"\u2AEC\",\"not\":\"\u00AC\",\"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\":\"\u00D1\",\"ntilde\":\"\u00F1\",\"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\":\"\u00D3\",\"oacute\":\"\u00F3\",\"oast\":\"\u229B\",\"Ocirc\":\"\u00D4\",\"ocirc\":\"\u00F4\",\"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\":\"\u00D2\",\"ograve\":\"\u00F2\",\"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\":\"\u00AA\",\"ordm\":\"\u00BA\",\"origof\":\"\u22B6\",\"oror\":\"\u2A56\",\"orslope\":\"\u2A57\",\"orv\":\"\u2A5B\",\"oS\":\"\u24C8\",\"Oscr\":\"\uD835\uDCAA\",\"oscr\":\"\u2134\",\"Oslash\":\"\u00D8\",\"oslash\":\"\u00F8\",\"osol\":\"\u2298\",\"Otilde\":\"\u00D5\",\"otilde\":\"\u00F5\",\"otimesas\":\"\u2A36\",\"Otimes\":\"\u2A37\",\"otimes\":\"\u2297\",\"Ouml\":\"\u00D6\",\"ouml\":\"\u00F6\",\"ovbar\":\"\u233D\",\"OverBar\":\"\u203E\",\"OverBrace\":\"\u23DE\",\"OverBracket\":\"\u23B4\",\"OverParenthesis\":\"\u23DC\",\"para\":\"\u00B6\",\"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\":\"\u00B1\",\"plusmn\":\"\u00B1\",\"plussim\":\"\u2A26\",\"plustwo\":\"\u2A27\",\"pm\":\"\u00B1\",\"Poincareplane\":\"\u210C\",\"pointint\":\"\u2A15\",\"popf\":\"\uD835\uDD61\",\"Popf\":\"\u2119\",\"pound\":\"\u00A3\",\"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\":\"\u00BB\",\"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\":\"\u00AE\",\"REG\":\"\u00AE\",\"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\":\"\u00A7\",\"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\":\"\u00AD\",\"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\":\"\u00AF\",\"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\":\"\u00B9\",\"sup2\":\"\u00B2\",\"sup3\":\"\u00B3\",\"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\":\"\u00DF\",\"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\":\"\u00DE\",\"thorn\":\"\u00FE\",\"tilde\":\"\u02DC\",\"Tilde\":\"\u223C\",\"TildeEqual\":\"\u2243\",\"TildeFullEqual\":\"\u2245\",\"TildeTilde\":\"\u2248\",\"timesbar\":\"\u2A31\",\"timesb\":\"\u22A0\",\"times\":\"\u00D7\",\"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\":\"\u00DA\",\"uacute\":\"\u00FA\",\"uarr\":\"\u2191\",\"Uarr\":\"\u219F\",\"uArr\":\"\u21D1\",\"Uarrocir\":\"\u2949\",\"Ubrcy\":\"\u040E\",\"ubrcy\":\"\u045E\",\"Ubreve\":\"\u016C\",\"ubreve\":\"\u016D\",\"Ucirc\":\"\u00DB\",\"ucirc\":\"\u00FB\",\"Ucy\":\"\u0423\",\"ucy\":\"\u0443\",\"udarr\":\"\u21C5\",\"Udblac\":\"\u0170\",\"udblac\":\"\u0171\",\"udhar\":\"\u296E\",\"ufisht\":\"\u297E\",\"Ufr\":\"\uD835\uDD18\",\"ufr\":\"\uD835\uDD32\",\"Ugrave\":\"\u00D9\",\"ugrave\":\"\u00F9\",\"uHar\":\"\u2963\",\"uharl\":\"\u21BF\",\"uharr\":\"\u21BE\",\"uhblk\":\"\u2580\",\"ulcorn\":\"\u231C\",\"ulcorner\":\"\u231C\",\"ulcrop\":\"\u230F\",\"ultri\":\"\u25F8\",\"Umacr\":\"\u016A\",\"umacr\":\"\u016B\",\"uml\":\"\u00A8\",\"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\":\"\u00DC\",\"uuml\":\"\u00FC\",\"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\":\"\u00DD\",\"yacute\":\"\u00FD\",\"YAcy\":\"\u042F\",\"yacy\":\"\u044F\",\"Ycirc\":\"\u0176\",\"ycirc\":\"\u0177\",\"Ycy\":\"\u042B\",\"ycy\":\"\u044B\",\"yen\":\"\u00A5\",\"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\":\"\u00FF\",\"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){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r,i){var o,a,s,l,c,u=\"\";for(\"string\"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),c=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push(\"%\"+(\"0\"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)i[e.charCodeAt(n)]=e[n];return i}(r),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),i&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))u+=e.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=e.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+=\"%EF%BF%BD\"}else u+=encodeURIComponent(e[o]);return u}n.defaultChars=\";/?:@&=+$,-_.!~*'()#\",n.componentChars=\"-_.!~*'()\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t={};function n(e,r){var i;return\"string\"!=typeof r&&(r=n.defaultChars),i=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),i.push(r);for(n=0;n<e.length;n++)i[r=e.charCodeAt(n)]=\"%\"+(\"0\"+r.toString(16).toUpperCase()).slice(-2);return i}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,o,a,s,l,c=\"\";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=i[r]:192==(224&r)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&o)<128?\"\uFFFD\uFFFD\":String.fromCharCode(l),t+=3):224==(240&r)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(c+=(l=r<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?\"\uFFFD\uFFFD\uFFFD\":String.fromCharCode(l),t+=6):240==(248&r)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+=\"\uFFFD\uFFFD\uFFFD\uFFFD\":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+=\"\uFFFD\";return c}))}n.defaultChars=\";/?:@&=+$,#\",n.componentChars=\"\",e.exports=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"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||\"\"}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,o=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat([\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"]),a=[\"'\"].concat(o),s=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(a),l=[\"/\",\"?\",\"#\"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,\"javascript:\":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0};t.prototype.parse=function(e,t){var r,o,a,d,h,m=e;if(m=m.trim(),!t&&1===e.split(\"#\").length){var v=i.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=n.exec(m);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(h=\"//\"===m.substr(0,2))||g&&f[g]||(m=m.substr(2),this.slashes=!0)),!f[g]&&(h||g&&!p[g])){var y,b,T=-1;for(r=0;r<l.length;r++)-1!==(d=m.indexOf(l[r]))&&(-1===T||d<T)&&(T=d);for(-1!==(b=-1===T?m.lastIndexOf(\"@\"):m.lastIndexOf(\"@\",T))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),T=-1,r=0;r<s.length;r++)-1!==(d=m.indexOf(s[r]))&&(-1===T||d<T)&&(T=d);-1===T&&(T=m.length),\":\"===m[T-1]&&T--;var E=m.slice(0,T);m=m.slice(T),this.parseHost(E),this.hostname=this.hostname||\"\";var O=\"[\"===this.hostname[0]&&\"]\"===this.hostname[this.hostname.length-1];if(!O){var x=this.hostname.split(/\\./);for(r=0,o=x.length;r<o;r++){var _=x[r];if(_&&!_.match(c)){for(var k=\"\",w=0,C=_.length;w<C;w++)_.charCodeAt(w)>127?k+=\"x\":k+=_[w];if(!k.match(c)){var S=x.slice(0,r),N=x.slice(r+1),D=_.match(u);D&&(S.push(D[1]),N.unshift(D[2])),N.length&&(m=N.join(\".\")+m),this.hostname=S.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf(\"#\");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var A=m.indexOf(\"?\");return-1!==A&&(this.search=m.substr(A),m=m.slice(0,A)),m&&(this.pathname=m),p[a]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(\":\"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.Any=n(63),t.Cc=n(64),t.Cf=n(118),t.P=n(50),t.Z=n(65)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";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]/})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";t.parseLinkLabel=n(120),t.parseLinkDestination=n(121),t.parseLinkTitle=n(122)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--r){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return i&&(s=e.pos),e.pos=c,s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=n,s={ok:!1,pos:0,lines:0,str:\"\"};if(60===e.charCodeAt(n)){for(n++;n<r;){if(10===(i=e.charCodeAt(n)))return s;if(62===i)return s.pos=n+1,s.str=t(e.slice(a+1,n)),s.ok=!0,s;92===i&&n+1<r?n+=2:n++}return s}for(o=0;n<r&&32!==(i=e.charCodeAt(n))&&!(i<32||127===i);)if(92===i&&n+1<r)n+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}n++}return a===n||0!==o||(s.str=t(e.slice(a,n)),s.lines=0,s.pos=n,s.ok=!0),s}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).unescapeAll;e.exports=function(e,n,r){var i,o,a=0,s=n,l={ok:!1,pos:0,lines:0,str:\"\"};if(n>=r)return l;if(34!==(o=e.charCodeAt(n))&&39!==o&&40!==o)return l;for(n++,40===o&&(o=41);n<r;){if((i=e.charCodeAt(n))===o)return l.pos=n+1,l.lines=a,l.str=t(e.slice(s+1,n)),l.ok=!0,l;10===i?a++:92===i&&n+1<r&&(n++,10===e.charCodeAt(n)&&a++),n++}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).assign,r=n(12).unescapeAll,i=n(12).escapeHtml,o={};function a(){this.rules=t({},o)}o.code_inline=function(e,t,n,r,o){var a=e[t];return\"<code\"+o.renderAttrs(a)+\">\"+i(e[t].content)+\"</code>\"},o.code_block=function(e,t,n,r,o){var a=e[t];return\"<pre\"+o.renderAttrs(a)+\"><code>\"+i(e[t].content)+\"</code></pre>\\n\"},o.fence=function(e,t,n,o,a){var s,l,c,u,f=e[t],p=f.info?r(f.info).trim():\"\",d=\"\";return p&&(d=p.split(/\\s+/g)[0]),0===(s=n.highlight&&n.highlight(f.content,d)||i(f.content)).indexOf(\"<pre\")?s+\"\\n\":p?(l=f.attrIndex(\"class\"),c=f.attrs?f.attrs.slice():[],l<0?c.push([\"class\",n.langPrefix+d]):c[l][1]+=\" \"+n.langPrefix+d,u={attrs:c},\"<pre><code\"+a.renderAttrs(u)+\">\"+s+\"</code></pre>\\n\"):\"<pre><code\"+a.renderAttrs(f)+\">\"+s+\"</code></pre>\\n\"},o.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)},o.hardbreak=function(e,t,n){return n.xhtmlOut?\"<br />\\n\":\"<br>\\n\"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?\"<br />\\n\":\"<br>\\n\":\"\\n\"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return\"\";for(r=\"\",t=0,n=e.attrs.length;t<n;t++)r+=\" \"+i(e.attrs[t][0])+'=\"'+i(e.attrs[t][1])+'\"';return r},a.prototype.renderToken=function(e,t,n){var r,i=\"\",o=!1,a=e[t];return a.hidden?\"\":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+=\"\\n\"),i+=(-1===a.nesting?\"</\":\"<\")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(i+=\" /\"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&(\"inline\"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(o=!1)),i+=o?\">\\n\":\">\")},a.prototype.renderInline=function(e,t,n){for(var r,i=\"\",o=this.rules,a=0,s=e.length;a<s;a++)void 0!==o[r=e[a].type]?i+=o[r](e,a,t,n,this):i+=this.renderToken(e,a,t);return i},a.prototype.renderInlineAsText=function(e,t,n){for(var r=\"\",i=0,o=e.length;i<o;i++)\"text\"===e[i].type?r+=e[i].content:\"image\"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},a.prototype.render=function(e,t,n){var r,i,o,a=\"\",s=this.rules;for(r=0,i=e.length;r<i;r++)\"inline\"===(o=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==s[o]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"normalize\",n(125)],[\"block\",n(126)],[\"inline\",n(127)],[\"linkify\",n(128)],[\"replacements\",n(129)],[\"smartquotes\",n(130)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules(\"\")).length;t<n;t++)r[t](e)},i.prototype.State=n(131),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\r\\n?|\\n/g,n=/\\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,\"\\n\")).replace(n,\"\uFFFD\"),e.src=r}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t;e.inlineMode?((t=new e.Token(\"inline\",\"\",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)\"inline\"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).arrayReplaceAt;function r(e){return/^<\\/a\\s*>/i.test(e)}e.exports=function(e){var n,i,o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E=e.tokens;if(e.md.options.linkify)for(i=0,o=E.length;i<o;i++)if(\"inline\"===E[i].type&&e.md.linkify.pretest(E[i].content))for(m=0,n=(a=E[i].children).length-1;n>=0;n--)if(\"link_close\"!==(l=a[n]).type){if(\"html_inline\"===l.type&&(T=l.content,/^<a[>\\s]/i.test(T)&&m>0&&m--,r(l.content)&&m++),!(m>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(f=l.content,b=e.md.linkify.match(f),c=[],h=l.level,d=0,u=0;u<b.length;u++)v=b[u].url,g=e.md.normalizeLink(v),e.md.validateLink(g)&&(y=b[u].text,y=b[u].schema?\"mailto:\"!==b[u].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText(\"mailto:\"+y).replace(/^mailto:/,\"\"):e.md.normalizeLinkText(\"http://\"+y).replace(/^http:\\/\\//,\"\"),(p=b[u].index)>d&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d,p),s.level=h,c.push(s)),(s=new e.Token(\"link_open\",\"a\",1)).attrs=[[\"href\",g]],s.level=h++,s.markup=\"linkify\",s.info=\"auto\",c.push(s),(s=new e.Token(\"text\",\"\",0)).content=y,s.level=h,c.push(s),(s=new e.Token(\"link_close\",\"a\",-1)).level=--h,s.markup=\"linkify\",s.info=\"auto\",c.push(s),d=b[u].lastIndex);d<f.length&&((s=new e.Token(\"text\",\"\",0)).content=f.slice(d),s.level=h,c.push(s)),E[i].children=a=t(a,n,c)}}else for(n--;a[n].level!==l.level&&\"link_open\"!==a[n].type;)n--}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/,n=/\\((c|tm|r|p)\\)/i,r=/\\((c|tm|r|p)\\)/gi,i={c:\"\u00A9\",r:\"\u00AE\",p:\"\u00A7\",tm:\"\u2122\"};function o(e,t){return i[t.toLowerCase()]}function a(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)\"text\"!==(n=e[t]).type||i||(n.content=n.content.replace(r,o)),\"link_open\"===n.type&&\"auto\"===n.info&&i--,\"link_close\"===n.type&&\"auto\"===n.info&&i++}function s(e){var n,r,i=0;for(n=e.length-1;n>=0;n--)\"text\"!==(r=e[n]).type||i||t.test(r.content)&&(r.content=r.content.replace(/\\+-/g,\"\u00B1\").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\"===r.type&&\"auto\"===r.info&&i--,\"link_close\"===r.type&&\"auto\"===r.info&&i++}e.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)\"inline\"===e.tokens[r].type&&(n.test(e.tokens[r].content)&&a(e.tokens[r].children),t.test(e.tokens[r].content)&&s(e.tokens[r].children))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isWhiteSpace,r=n(12).isPunctChar,i=n(12).isMdAsciiPunct,o=/['\"]/,a=/['\"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,n){var o,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C;for(k=[],o=0;o<e.length;o++){for(l=e[o],d=e[o].level,x=k.length-1;x>=0&&!(k[x].level<=d);x--);if(k.length=x+1,\"text\"===l.type){f=0,p=(c=l.content).length;e:for(;f<p&&(a.lastIndex=f,u=a.exec(c));){if(E=O=!0,f=u.index+1,_=\"'\"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(x=o-1;x>=0&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x--)if(\"text\"===e[x].type){m=e[x].content.charCodeAt(e[x].content.length-1);break}if(v=32,f<p)v=c.charCodeAt(f);else for(x=o+1;x<e.length&&\"softbreak\"!==e[x].type&&\"hardbreak\"!==e[x].type;x++)if(\"text\"===e[x].type){v=e[x].content.charCodeAt(0);break}if(g=i(m)||r(String.fromCharCode(m)),y=i(v)||r(String.fromCharCode(v)),b=t(m),(T=t(v))?E=!1:y&&(b||g||(E=!1)),b?O=!1:g&&(T||y||(O=!1)),34===v&&'\"'===u[0]&&m>=48&&m<=57&&(O=E=!1),E&&O&&(E=!1,O=y),E||O){if(O)for(x=k.length-1;x>=0&&(h=k[x],!(k[x].level<d));x--)if(h.single===_&&k[x].level===d){h=k[x],_?(w=n.md.options.quotes[2],C=n.md.options.quotes[3]):(w=n.md.options.quotes[0],C=n.md.options.quotes[1]),l.content=s(l.content,u.index,C),e[h.token].content=s(e[h.token].content,h.pos,w),f+=C.length-1,h.token===o&&(f+=w.length-1),p=(c=l.content).length,k.length=x;continue e}E?k.push({token:o,pos:u.index,single:_,level:d}):O&&_&&(l.content=s(l.content,u.index,\"\u2019\"))}else _&&(l.content=s(l.content,u.index,\"\u2019\"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)\"inline\"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52);function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=t,e.exports=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"table\",n(133),[\"paragraph\",\"reference\"]],[\"code\",n(134)],[\"fence\",n(135),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"blockquote\",n(136),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"hr\",n(137),[\"paragraph\",\"reference\",\"blockquote\",\"list\"]],[\"list\",n(138),[\"paragraph\",\"reference\",\"blockquote\"]],[\"reference\",n(139)],[\"heading\",n(140),[\"paragraph\",\"reference\",\"blockquote\"]],[\"lheading\",n(141)],[\"html_block\",n(142),[\"paragraph\",\"reference\",\"blockquote\"]],[\"paragraph\",n(144)]];function i(){this.ruler=new t;for(var e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1],{alt:(r[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(\"\"),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<o&&!i[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},i.prototype.State=n(145),e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);r<i;)96===t?s?(s=!1,l=r):o%2==0&&(s=!0,l=r):124!==t||o%2!=0||s||(n.push(e.substring(a,r)),a=r+1),92===t?o++:o=0,++r===i&&s&&(s=!1,r=l+1),t=e.charCodeAt(r);return n.push(e.substring(a)),n}e.exports=function(e,n,o,a){var s,l,c,u,f,p,d,h,m,v,g,y;if(n+2>o)return!1;if(f=n+1,e.sCount[f]<e.blkIndent)return!1;if(e.sCount[f]-e.blkIndent>=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c<e.eMarks[f];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!t(s))return!1;c++}for(p=(l=r(e,n+1)).split(\"|\"),m=[],u=0;u<p.length;u++){if(!(v=p[u].trim())){if(0===u||u===p.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?m.push(58===v.charCodeAt(0)?\"center\":\"right\"):58===v.charCodeAt(0)?m.push(\"left\"):m.push(\"\")}if(-1===(l=r(e,n).trim()).indexOf(\"|\"))return!1;if(e.sCount[n]-e.blkIndent>=4)return!1;if((d=(p=i(l.replace(/^\\||\\|$/g,\"\"))).length)>m.length)return!1;if(a)return!0;for((h=e.push(\"table_open\",\"table\",1)).map=g=[n,0],(h=e.push(\"thead_open\",\"thead\",1)).map=[n,n+1],(h=e.push(\"tr_open\",\"tr\",1)).map=[n,n+1],u=0;u<p.length;u++)(h=e.push(\"th_open\",\"th\",1)).map=[n,n+1],m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u].trim(),h.map=[n,n+1],h.children=[],h=e.push(\"th_close\",\"th\",-1);for(h=e.push(\"tr_close\",\"tr\",-1),h=e.push(\"thead_close\",\"thead\",-1),(h=e.push(\"tbody_open\",\"tbody\",1)).map=y=[n+2,0],f=n+2;f<o&&!(e.sCount[f]<e.blkIndent)&&-1!==(l=r(e,f).trim()).indexOf(\"|\")&&!(e.sCount[f]-e.blkIndent>=4);f++){for(p=i(l.replace(/^\\||\\|$/g,\"\")),h=e.push(\"tr_open\",\"tr\",1),u=0;u<d;u++)h=e.push(\"td_open\",\"td\",1),m[u]&&(h.attrs=[[\"style\",\"text-align:\"+m[u]]]),(h=e.push(\"inline\",\"\",0)).content=p[u]?p[u].trim():\"\",h.children=[],h=e.push(\"td_close\",\"td\",-1);h=e.push(\"tr_close\",\"tr\",-1)}return h=e.push(\"tbody_close\",\"tbody\",-1),h=e.push(\"table_close\",\"table\",-1),g[1]=y[1]=f,e.line=f,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(o=e.push(\"code_block\",\"code\",0)).content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n,r){var i,o,a,s,l,c,u,f=!1,p=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(p+3>d)return!1;if(126!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(u=e.src.slice(l,p),a=e.src.slice(p,d),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n||(p=l=e.bMarks[s]+e.tShift[s])<(d=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(p)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<d)){f=!0;break}return o=e.sCount[t],e.line=s+(f?1:0),(c=e.push(\"fence\",\"code\",0)).info=a,c.content=e.getLines(t+1,s,o,!0),c.markup=u,c.map=[t,e.line],!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k=e.lineMax,w=e.bMarks[n]+e.tShift[n],C=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(i)return!0;for(l=d=e.sCount[n]+w-(e.bMarks[n]+e.tShift[n]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[n]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h=[e.bMarks[n]],e.bMarks[n]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[n]+(o?1:0))%4:d++,w++;for(m=[e.bsCount[n]],e.bsCount[n]=e.sCount[n]+1+(T?1:0),u=w>=C,y=[e.sCount[n]],e.sCount[n]=d-l,b=[e.tShift[n]],e.tShift[n]=w-e.bMarks[n],O=e.md.block.ruler.getRules(\"blockquote\"),g=e.parentType,e.parentType=\"blockquote\",_=!1,p=n+1;p<r&&(e.sCount[p]<e.blkIndent&&(_=!0),!((w=e.bMarks[p]+e.tShift[p])>=(C=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||_){if(u)break;for(E=!1,s=0,c=O.length;s<c;s++)if(O[s](e,p,r,!0)){E=!0;break}if(E){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}else{for(l=d=e.sCount[p]+w-(e.bMarks[p]+e.tShift[p]),32===e.src.charCodeAt(w)?(w++,l++,d++,o=!1,T=!0):9===e.src.charCodeAt(w)?(T=!0,(e.bsCount[p]+d)%4==3?(w++,l++,d++,o=!1):o=!0):T=!1,h.push(e.bMarks[p]),e.bMarks[p]=w;w<C&&(a=e.src.charCodeAt(w),t(a));)9===a?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++,w++;u=w>=C,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(T?1:0),y.push(e.sCount[p]),e.sCount[p]=d-l,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(v=e.blkIndent,e.blkIndent=0,(x=e.push(\"blockquote_open\",\"blockquote\",1)).markup=\">\",x.map=f=[n,0],e.md.block.tokenize(e,n,p),(x=e.push(\"blockquote_close\",\"blockquote\",-1)).markup=\">\",e.lineMax=k,e.parentType=g,f[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+n]=h[s],e.tShift[s+n]=b[s],e.sCount[s+n]=y[s],e.bsCount[s+n]=m[s];return e.blkIndent=v,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==o&&!t(s))return!1;s===o&&a++}return!(a<3||(i||(e.line=n+1,(l=e.push(\"hr\",\"hr\",0)).map=[n,e.line],l.markup=Array(a+1).join(String.fromCharCode(o))),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;function r(e,n){var r,i,o,a;return i=e.bMarks[n]+e.tShift[n],o=e.eMarks[n],42!==(r=e.src.charCodeAt(i++))&&45!==r&&43!==r||i<o&&(a=e.src.charCodeAt(i),!t(a))?-1:i}function i(e,n){var r,i=e.bMarks[n]+e.tShift[n],o=i,a=e.eMarks[n];if(o+1>=a)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=a)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-i>=10)return-1}return o<a&&(r=e.src.charCodeAt(o),!t(r))?-1:o}e.exports=function(e,t,n,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O,x,_,k,w,C,S,N,D,I,A,L,j=!1,F=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(o&&\"paragraph\"===e.parentType&&e.tShift[t]>=e.blkIndent&&(j=!0),(S=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,S-D-1)),j&&1!==y)return!1}else{if(!((S=r(e,t))>=0))return!1;p=!1}if(j&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),o)return!0;for(v=e.tokens.length,p?(L=e.push(\"ordered_list_open\",\"ol\",1),1!==y&&(L.attrs=[[\"start\",y]])):L=e.push(\"bullet_list_open\",\"ul\",1),L.map=m=[t,0],L.markup=String.fromCharCode(g),T=t,N=!1,A=e.md.block.ruler.getRules(\"list\"),x=e.parentType,e.parentType=\"list\";T<n;){for(C=S,b=e.eMarks[T],f=E=e.sCount[T]+S-(e.bMarks[t]+e.tShift[t]);C<b;){if(9===(a=e.src.charCodeAt(C)))E+=4-(E+e.bsCount[T])%4;else{if(32!==a)break;E++}C++}if((u=(s=C)>=b?1:E-f)>4&&(u=1),c=f+u,(L=e.push(\"list_item_open\",\"li\",1)).markup=String.fromCharCode(g),L.map=d=[t,0],w=e.tight,k=e.tShift[t],_=e.sCount[t],O=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=E,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!N||(F=!1),N=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=O,e.tShift[t]=k,e.sCount[t]=_,e.tight=w,(L=e.push(\"list_item_close\",\"li\",-1)).markup=String.fromCharCode(g),T=t=e.line,d[1]=T,s=e.bMarks[t],T>=n)break;if(e.sCount[T]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(I=!1,l=0,h=A.length;l<h;l++)if(A[l](e,T,n,!0)){I=!0;break}if(I)break;if(p){if((S=i(e,T))<0)break}else if((S=r(e,T))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(L=p?e.push(\"ordered_list_close\",\"ol\",-1):e.push(\"bullet_list_close\",\"ul\",-1)).markup=String.fromCharCode(g),m[1]=T,e.line=T,e.parentType=x,F&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&\"paragraph_open\"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n,i,o){var a,s,l,c,u,f,p,d,h,m,v,g,y,b,T,E,O=0,x=e.bMarks[n]+e.tShift[n],_=e.eMarks[n],k=n+1;if(e.sCount[n]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(x))return!1;for(;++x<_;)if(93===e.src.charCodeAt(x)&&92!==e.src.charCodeAt(x-1)){if(x+1===_)return!1;if(58!==e.src.charCodeAt(x+1))return!1;break}for(c=e.lineMax,T=e.md.block.ruler.getRules(\"reference\"),m=e.parentType,e.parentType=\"reference\";k<c&&!e.isEmpty(k);k++)if(!(e.sCount[k]-e.blkIndent>3||e.sCount[k]<0)){for(b=!1,f=0,p=T.length;f<p;f++)if(T[f](e,k,c,!0)){b=!0;break}if(b)break}for(_=(y=e.getLines(n,k,e.blkIndent,!1).trim()).length,x=1;x<_;x++){if(91===(a=y.charCodeAt(x)))return!1;if(93===a){h=x;break}(10===a||92===a&&++x<_&&10===y.charCodeAt(x))&&O++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(x=h+2;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;if(!(v=e.md.helpers.parseLinkDestination(y,x,_)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=x=v.pos,l=O+=v.lines,g=x;x<_;x++)if(10===(a=y.charCodeAt(x)))O++;else if(!r(a))break;for(v=e.md.helpers.parseLinkTitle(y,x,_),x<_&&g!==x&&v.ok?(E=v.str,x=v.pos,O+=v.lines):(E=\"\",x=s,O=l);x<_&&(a=y.charCodeAt(x),r(a));)x++;if(x<_&&10!==y.charCodeAt(x)&&E)for(E=\"\",x=s,O=l;x<_&&(a=y.charCodeAt(x),r(a));)x++;return!(x<_&&10!==y.charCodeAt(x)||!(d=t(y.slice(1,h)))||(o||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:E,href:u}),e.parentType=m,e.line=n+O+1),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n,r,i){var o,a,s,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4)return!1;if(35!==(o=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=e.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=e.src.charCodeAt(++c);return!(a>6||c<u&&!t(o)||(i||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&t(e.src.charCodeAt(s-1))&&(u=s),e.line=n+1,(l=e.push(\"heading_open\",\"h\"+String(a),1)).markup=\"########\".slice(0,a),l.map=[n,e.line],(l=e.push(\"inline\",\"\",0)).content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],(l=e.push(\"heading_close\",\"h\"+String(a),-1)).markup=\"########\".slice(0,a)),0))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t,n){var r,i,o,a,s,l,c,u,f,p,d=t+1,h=e.md.block.ruler.getRules(\"paragraph\");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType=\"paragraph\";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(f=e.src.charCodeAt(l))||61===f)&&(l=e.skipChars(l,f),(l=e.skipSpaces(l))>=c)){u=61===f?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(s=e.push(\"heading_open\",\"h\"+String(u),1)).markup=String.fromCharCode(f),s.map=[t,e.line],(s=e.push(\"inline\",\"\",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push(\"heading_close\",\"h\"+String(u),-1)).markup=String.fromCharCode(f),e.parentType=p,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(143),r=n(66).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\\s|>|$))/i,/<\\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\\?/,/\\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\\[CDATA\\[/,/\\]\\]>/,!0],[new RegExp(\"^</?(\"+t.join(\"|\")+\")(?=(\\\\s|/?>|$))\",\"i\"),/^$/,!0],[new RegExp(r.source+\"\\\\s*$\"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o<i.length&&!i[o][0].test(l);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),i[o][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push(\"html_block\",\"\",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"meta\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"section\",\"source\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"]})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=t+1,c=e.md.block.ruler.getRules(\"paragraph\"),u=e.lineMax;for(s=e.parentType,e.parentType=\"paragraph\";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i<o;i++)if(c[i](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push(\"paragraph_open\",\"p\",1)).map=[t,e.line],(a=e.push(\"inline\",\"\",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push(\"paragraph_close\",\"p\",-1),e.parentType=s,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isSpace;function i(e,t,n,i){var o,a,s,l,c,u,f,p;for(this.src=e,this.md=t,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType=\"root\",this.level=0,this.result=\"\",p=!1,s=l=u=f=0,c=(a=this.src).length;l<c;l++){if(o=a.charCodeAt(l),!p){if(r(o)){u++,9===o?f+=4-f%4:f++;continue}p=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(f),this.bsCount.push(0),p=!1,u=0,f=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,n,r){var i=new t(e,n,r);return i.block=!0,r<0&&this.level--,i.level=this.level,r>0&&this.level++,this.tokens.push(i),i},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),r(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,i){var o,a,s,l,c,u,f,p=e;if(e>=t)return\"\";for(u=new Array(t-e),o=0;p<t;p++,o++){for(a=0,f=l=this.bMarks[p],c=p+1<t||i?this.eMarks[p]+1:this.eMarks[p];l<c&&a<n;){if(s=this.src.charCodeAt(l),r(s))9===s?a+=4-(a+this.bsCount[p])%4:a++;else{if(!(l-f<this.tShift[p]))break;a++}l++}u[o]=a>n?new Array(a-n+1).join(\" \")+this.src.slice(l,c):this.src.slice(l,c)}return u.join(\"\")},i.prototype.Token=t,e.exports=i})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(51),r=[[\"text\",n(147)],[\"newline\",n(148)],[\"escape\",n(149)],[\"backticks\",n(150)],[\"strikethrough\",n(67).tokenize],[\"emphasis\",n(68).tokenize],[\"link\",n(151)],[\"image\",n(152)],[\"autolink\",n(153)],[\"html_inline\",n(154)],[\"entity\",n(155)]],i=[[\"balance_pairs\",n(156)],[\"strikethrough\",n(67).postProcess],[\"emphasis\",n(68).postProcess],[\"text_collapse\",n(157)]];function o(){var e;for(this.ruler=new t,e=0;e<r.length;e++)this.ruler.push(r[e][0],r[e][1]);for(this.ruler2=new t,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(\"\"),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[r]){if(e.level<a)for(n=0;n<o&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(\"\"),i=r.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(o=this.ruler2.getRules(\"\")).length,i=0;i<a;i++)o[i](s)},o.prototype.State=n(158),e.exports=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,n){for(var r=e.pos;r<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).isSpace;e.exports=function(e,n){var r,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,i=e.posMax,n||(r>=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,\"\"),e.push(\"hardbreak\",\"br\",0)):(e.pending=e.pending.slice(0,-1),e.push(\"softbreak\",\"br\",0)):e.push(\"softbreak\",\"br\",0)),o++;o<i&&t(e.src.charCodeAt(o));)o++;return e.pos=o,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";for(var t=n(12).isSpace,r=[],i=0;i<256;i++)r.push(0);\"\\\\!\\\"#$%&'()*+,./:;<=>?@[]^_`{|}~-\".split(\"\").forEach((function(e){r[e.charCodeAt(0)]=1})),e.exports=function(e,n){var i,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o<a){if((i=e.src.charCodeAt(o))<256&&0!==r[i])return n||(e.pending+=e.src[o]),e.pos+=2,!0;if(10===i){for(n||e.push(\"hardbreak\",\"br\",0),o++;o<a&&(i=e.src.charCodeAt(o),t(i));)o++;return e.pos=o,!0}}return n||(e.pending+=\"\\\\\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l<r&&96===e.src.charCodeAt(l);)l++;for(i=e.src.slice(n,l),o=a=l;-1!==(o=e.src.indexOf(\"`\",a));){for(a=o+1;a<r&&96===e.src.charCodeAt(a);)a++;if(a-o===i.length)return t||((s=e.push(\"code_inline\",\"code\",0)).markup=i,s.content=e.src.slice(l,o).replace(/\\n/g,\" \").replace(/^ (.+) $/,\"$1\")),e.pos=a,!0}return t||(e.pending+=i),e.pos+=i.length,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d=\"\",h=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(g=!1,c++;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(c>=m)return!1;for(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d=\"\"),v=c;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(p=u.str,c=u.pos;c<m&&(o=e.src.charCodeAt(c),r(o)||10===o);c++);else p=\"\";(c>=m||41!==e.src.charCodeAt(c))&&(g=!0),c++}if(g){if(void 0===e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[t(a)]))return e.pos=h,!1;d=f.href,p=f.title}return n||(e.pos=l,e.posMax=s,e.push(\"link_open\",\"a\",1).attrs=i=[[\"href\",d]],p&&i.push([\"title\",p]),e.md.inline.tokenize(e),e.push(\"link_close\",\"a\",-1)),e.pos=c,e.posMax=m,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(12).normalizeReference,r=n(12).isSpace;e.exports=function(e,n){var i,o,a,s,l,c,u,f,p,d,h,m,v,g=\"\",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(u>=b)return!1;for(v=u,(p=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?u=p.pos:g=\"\"),v=u;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);if(p=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&p.ok)for(d=p.str,u=p.pos;u<b&&(o=e.src.charCodeAt(u),r(o)||10===o);u++);else d=\"\";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[t(s)]))return e.pos=y,!1;g=f.href,d=f.title}return n||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push(\"image\",\"img\",0)).attrs=i=[[\"src\",g],[\"alt\",\"\"]],h.children=m,h.content=a,d&&i.push([\"title\",d])),e.pos=u,e.posMax=b,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=/^<([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,n=/^<([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)>/;e.exports=function(e,r){var i,o,a,s,l,c,u=e.pos;return!(60!==e.src.charCodeAt(u)||(i=e.src.slice(u)).indexOf(\">\")<0||(n.test(i)?(s=(o=i.match(n))[0].slice(1,-1),l=e.md.normalizeLink(s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=o[0].length,0)):!t.test(i)||(s=(a=i.match(t))[0].slice(1,-1),l=e.md.normalizeLink(\"mailto:\"+s),!e.md.validateLink(l)||(r||((c=e.push(\"link_open\",\"a\",1)).attrs=[[\"href\",l]],c.markup=\"autolink\",c.info=\"auto\",(c=e.push(\"text\",\"\",0)).content=e.md.normalizeLinkText(s),(c=e.push(\"link_close\",\"a\",-1)).markup=\"autolink\",c.info=\"auto\"),e.pos+=a[0].length,0))))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(66).HTML_TAG_RE;e.exports=function(e,n){var r,i,o,a=e.pos;return!(!e.md.options.html||(o=e.posMax,60!==e.src.charCodeAt(a)||a+2>=o||33!==(r=e.src.charCodeAt(a+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r)||!(i=e.src.slice(a).match(t))||(n||(e.push(\"html_inline\",\"\",0).content=e.src.slice(a,a+i[0].length)),e.pos+=i[0].length,0)))}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(61),r=n(12).has,i=n(12).isValidEntityCode,o=n(12).fromCodePoint,a=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,n){var l,c,u=e.pos,f=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<f)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(a))return n||(l=\"x\"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=i(l)?o(l):o(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(s))&&r(t,c[1]))return n||(e.pending+=t[c[1]]),e.pos+=c[0].length,!0;return n||(e.pending+=\"&\"),e.pos++,!0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e,t){var n,r,i,o,a,s,l,c,u={},f=t.length;for(n=0;n<f;n++)if((i=t[n]).length=i.length||0,i.close){for(u.hasOwnProperty(i.marker)||(u[i.marker]=[-1,-1,-1]),a=u[i.marker][i.length%3],s=-1,r=n-i.jump-1;r>a;r-=o.jump+1)if((o=t[r]).marker===i.marker&&(-1===s&&(s=r),o.open&&o.end<0&&o.level===i.level&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l))){c=r>0&&!t[r-1].open?t[r-1].jump+1:0,i.jump=n-r+c,i.open=!1,o.end=n,o.jump=c,o.close=!1,s=-1;break}-1!==s&&(u[i.marker][(i.length||0)%3]=s)}}e.exports=function(e){var n,r=e.tokens_meta,i=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<i;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t,n,r=0,i=e.tokens,o=e.tokens.length;for(t=n=0;t<o;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,\"text\"===i[t].type&&t+1<o&&\"text\"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t=n(52),r=n(12).isWhiteSpace,i=n(12).isPunctChar,o=n(12).isMdAsciiPunct;function a(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending=\"\",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}a.prototype.pushPending=function(){var e=new t(\"text\",\"\",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=\"\",e},a.prototype.push=function(e,n,r){this.pending&&this.pushPending();var i=new t(e,n,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},a.prototype.scanDelims=function(e,t){var n,a,s,l,c,u,f,p,d,h=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<g&&this.src.charCodeAt(h)===y;)h++;return s=h-e,a=h<g?this.src.charCodeAt(h):32,f=o(n)||i(String.fromCharCode(n)),d=o(a)||i(String.fromCharCode(a)),u=r(n),(p=r(a))?m=!1:d&&(u||f||(m=!1)),u?v=!1:f&&(p||d||(v=!1)),t?(l=m,c=v):(l=m&&(!v||f),c=v&&(!m||d)),{can_open:l,can_close:c,length:s}},a.prototype.Token=t,e.exports=a})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function t(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function r(e){return Object.prototype.toString.call(e)}function i(e){return\"[object Function]\"===r(e)}function o(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={\"http:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp(\"^\\\\/\\\\/\"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,\"i\")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},\"https:\":\"http:\",\"ftp:\":\"http:\",\"//\":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp(\"^\"+n.re.src_auth+\"(?:localhost|(?:(?:\"+n.re.src_domain+\")\\\\.)+\"+n.re.src_domain_root+\")\"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,\"i\")),n.re.no_http.test(r)?t>=3&&\":\"===e[t-3]||t>=3&&\"/\"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},\"mailto:\":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp(\"^\"+n.re.src_email_name+\"@\"+n.re.src_host_strict,\"i\")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444\".split(\"|\");function c(e){var t=e.re=n(160)(e.__opts__),a=e.__tlds__.slice();function s(e){return e.replace(\"%TLDS%\",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push(\"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]\"),a.push(t.src_xn),t.src_tlds=a.join(\"|\"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),\"i\"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),\"i\"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),\"i\"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),\"i\");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema \"'+e+'\": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var o={validate:null,link:null};if(e.__compiled__[t]=o,\"[object Object]\"===r(n))return function(e){return\"[object RegExp]\"===r(e)}(n.validate)?o.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate):i(n.validate)?o.validate=n.validate:c(t,n),void(i(n.normalize)?o.normalize=n.normalize:n.normalize?c(t,n):o.normalize=function(e,t){t.normalize(e)});!function(e){return\"[object String]\"===r(e)}(n)?c(t,n):l.push(t)}})),l.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[\"\"]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join(\"|\");e.re.schema_test=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"i\"),e.re.schema_search=RegExp(\"(^|(?!_)(?:[><\uFF5C]|\"+t.src_ZPCc+\"))(\"+u+\")\",\"ig\"),e.re.pretest=RegExp(\"(\"+e.re.schema_test.source+\")|(\"+e.re.host_fuzzy_test.source+\")|@\",\"i\"),function(e){e.__index__=-1,e.__text_cache__=\"\"}(e)}function u(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function f(e,t){var n=new u(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,n){if(!(this instanceof p))return new p(e,n);var r;n||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(n=e,e={})),this.__opts__=t({},a,n),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=t({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},c(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,c(this),this},p.prototype.set=function(e){return this.__opts__=t(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__[\"http:\"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__=\"\",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__[\"mailto:\"]&&e.indexOf(\"@\")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__=\"mailto:\",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),c(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,c(this),this)},p.prototype.normalize=function(e){e.schema||(e.url=\"http://\"+e.url),\"mailto:\"!==e.schema||/^mailto:/i.test(e.url)||(e.url=\"mailto:\"+e.url)},p.prototype.onCompile=function(){},e.exports=p})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){var t={};return t.src_Any=n(63).source,t.src_Cc=n(64).source,t.src_Z=n(65).source,t.src_P=n(50).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(\"|\"),t.src_ZCc=[t.src_Z,t.src_Cc].join(\"|\"),t.src_pseudo_letter=\"(?:(?![><\uFF5C]|\"+t.src_ZPCc+\")\"+t.src_Any+\")\",t.src_ip4=\"(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\",t.src_auth=\"(?:(?:(?!\"+t.src_ZCc+\"|[@/\\\\[\\\\]()]).)+@)?\",t.src_port=\"(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?\",t.src_host_terminator=\"(?=$|[><\uFF5C]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><\uFF5C]|[()[\\\\]{}.,\\\"'?!\\\\-]).|\\\\[(?:(?!\"+t.src_ZCc+\"|\\\\]).)*\\\\]|\\\\((?:(?!\"+t.src_ZCc+\"|[)]).)*\\\\)|\\\\{(?:(?!\"+t.src_ZCc+'|[}]).)*\\\\}|\\\\\"(?:(?!'+t.src_ZCc+'|[\"]).)+\\\\\"|\\\\\\'(?:(?!'+t.src_ZCc+\"|[']).)+\\\\'|\\\\'(?=\"+t.src_pseudo_letter+\"|[-]).|\\\\.{2,4}[a-zA-Z0-9%/]|\\\\.(?!\"+t.src_ZCc+\"|[.]).|\"+(e&&e[\"---\"]?\"\\\\-(?!--(?:[^-]|$))(?:-*)|\":\"\\\\-+|\")+\"\\\\,(?!\"+t.src_ZCc+\").|\\\\!(?!\"+t.src_ZCc+\"|[!]).|\\\\?(?!\"+t.src_ZCc+\"|[?]).)+|\\\\/)?\",t.src_email_name='[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*',t.src_xn=\"xn--[a-z0-9\\\\-]{1,59}\",t.src_domain_root=\"(?:\"+t.src_xn+\"|\"+t.src_pseudo_letter+\"{1,63})\",t.src_domain=\"(?:\"+t.src_xn+\"|(?:\"+t.src_pseudo_letter+\")|(?:\"+t.src_pseudo_letter+\"(?:-|\"+t.src_pseudo_letter+\"){0,61}\"+t.src_pseudo_letter+\"))\",t.src_host=\"(?:(?:(?:(?:\"+t.src_domain+\")\\\\.)*\"+t.src_domain+\"))\",t.tpl_host_fuzzy=\"(?:\"+t.src_ip4+\"|(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%)))\",t.tpl_host_no_ip_fuzzy=\"(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%))\",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=\"localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:\"+t.src_ZPCc+\"|>|$))\",t.tpl_email_fuzzy='(^|[><\uFF5C]|\"|\\\\(|'+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\uFF5C]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\uFF5C])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(e,r){var i,o,a,s;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,s=function(){\"use strict\";\n/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var o=\"object\"==typeof r&&r;o.global!==o&&o.window!==o&&o.self;var s,l=2147483647,c=/^xn--/,u=/[^\\x20-\\x7E]/,f=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,p={overflow:\"Overflow: input needs wider integers to process\",\"not-basic\":\"Illegal input >= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},d=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(p[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split(\"@\"),r=\"\";return n.length>1&&(r=n[0]+\"@\",e=n[1]),r+v((e=e.replace(f,\".\")).split(\".\"),t).join(\".\")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t=\"\";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join(\"\")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function E(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function O(e){var t,n,r,i,o,a,s,c,u,f,p,h=[],v=e.length,g=0,y=128,T=72;for((n=e.lastIndexOf(\"-\"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m(\"not-basic\"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<v;){for(o=g,a=1,s=36;i>=v&&m(\"invalid-input\"),((c=(p=e.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:36)>=36||c>d((l-g)/a))&&m(\"overflow\"),g+=c*a,!(c<(u=s<=T?1:s>=T+26?26:s-T));s+=36)a>d(l/(f=36-u))&&m(\"overflow\"),a*=f;T=E(g-o,t=h.length+1,0==o),d(g/t)>l-y&&m(\"overflow\"),y+=d(g/t),g%=t,h.splice(g++,0,y)}return b(h)}function x(e){var t,n,r,i,o,a,s,c,u,f,p,v,g,b,O,x=[];for(v=(e=y(e)).length,t=128,n=0,o=72,a=0;a<v;++a)(p=e[a])<128&&x.push(h(p));for(r=i=x.length,i&&x.push(\"-\");r<v;){for(s=l,a=0;a<v;++a)(p=e[a])>=t&&p<s&&(s=p);for(s-t>d((l-n)/(g=r+1))&&m(\"overflow\"),n+=(s-t)*g,t=s,a=0;a<v;++a)if((p=e[a])<t&&++n>l&&m(\"overflow\"),p==t){for(c=n,u=36;!(c<(f=u<=o?1:u>=o+26?26:u-o));u+=36)O=c-f,b=36-f,x.push(h(T(f+O%b,0))),c=d(O/b);x.push(h(T(c,0))),o=E(n,g,r==i),n=0,++r}++n,++t}return x.join(\"\")}s={version:\"1.4.1\",ucs2:{decode:y,encode:b},decode:O,encode:x,toASCII:function(e){return g(e,(function(e){return u.test(e)?\"xn--\"+x(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?O(e.slice(4).toLowerCase()):e}))}},void 0===(a=function(){return s}.call(t,n,t,e))||(e.exports=a)}()},o=[],void 0===(a=\"function\"==typeof(i=s)?i.apply(t,o):i)||(e.exports=a)}).call(this,n(162)(e),n(48))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,\"loaded\",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,\"id\",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"paragraph\"]},inline:{rules:[\"text\"],rules2:[\"balance_pairs\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:\"language-\",linkify:!1,typographer:!1,quotes:\"\u201C\u201D\u2018\u2019\",highlight:null,maxNesting:20},components:{core:{rules:[\"normalize\",\"block\",\"inline\"]},block:{rules:[\"blockquote\",\"code\",\"fence\",\"heading\",\"hr\",\"html_block\",\"lheading\",\"list\",\"reference\",\"paragraph\"]},inline:{rules:[\"autolink\",\"backticks\",\"emphasis\",\"entity\",\"escape\",\"html_inline\",\"image\",\"link\",\"newline\",\"text\"],rules2:[\"balance_pairs\",\"emphasis\",\"text_collapse\"]}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.normalizeWhitespace=function(e){return e.replace(n,\" \")},e.invalidCharacters=void 0;const t=Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat([\"\\u2028\",\"\\u2029\",\"\u202F\",\"\u00A0\"]);e.invalidCharacters=t;const n=new RegExp(\"[\"+t.join(\"\")+\"]\",\"g\")})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){var t={},n=/[^\\s\\u00a0]/,r=e.Pos,i=e.cmpPos;function o(e){var t=e.search(n);return-1==t?0:t}function a(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension(\"toggleComment\",(function(e){e||(e=t);for(var n=1/0,i=this.listSelections(),o=null,a=i.length-1;a>=0;a--){var s=i[a].from(),l=i[a].to();s.line>=n||(l.line>=n&&(l=r(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o=\"un\":(this.lineComment(s,l,e),o=\"line\"):\"un\"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension(\"lineComment\",(function(e,i,s){s||(s=t);var l=this,c=a(l,e),u=l.getLine(e.line);if(null!=u&&(f=e,p=u,!/\\bstring\\b/.test(l.getTokenTypeAt(r(f.line,0)))||/^[\\'\\\"\\`]/.test(p))){var f,p,d=s.lineComment||c.lineComment;if(d){var h=Math.min(0!=i.ch||i.line==e.line?i.line+1:i.line,l.lastLine()+1),m=null==s.padding?\" \":s.padding,v=s.commentBlankLines||e.line==i.line;l.operation((function(){if(s.indent){for(var t=null,i=e.line;i<h;++i){var a=(c=l.getLine(i)).slice(0,o(c));(null==t||t.length>a.length)&&(t=a)}for(i=e.line;i<h;++i){var c=l.getLine(i),u=t.length;(v||n.test(c))&&(c.slice(0,u)!=t&&(u=o(c)),l.replaceRange(t+d+m,r(i,0),r(i,u)))}}else for(i=e.line;i<h;++i)(v||n.test(l.getLine(i)))&&l.replaceRange(d+m,r(i,0))}))}else(s.blockCommentStart||c.blockCommentStart)&&(s.fullLines=!0,l.blockComment(e,i,s))}})),e.defineExtension(\"blockComment\",(function(e,o,s){s||(s=t);var l=this,c=a(l,e),u=s.blockCommentStart||c.blockCommentStart,f=s.blockCommentEnd||c.blockCommentEnd;if(u&&f){if(!/\\bcomment\\b/.test(l.getTokenTypeAt(r(e.line,0)))){var p=Math.min(o.line,l.lastLine());p!=e.line&&0==o.ch&&n.test(l.getLine(p))&&--p;var d=null==s.padding?\" \":s.padding;e.line>p||l.operation((function(){if(0!=s.fullLines){var t=n.test(l.getLine(p));l.replaceRange(d+f,r(p)),l.replaceRange(u+d,r(e.line,0));var a=s.blockCommentLead||c.blockCommentLead;if(null!=a)for(var h=e.line+1;h<=p;++h)(h!=p||t)&&l.replaceRange(a+d,r(h,0))}else{var m=0==i(l.getCursor(\"to\"),o),v=!l.somethingSelected();l.replaceRange(f,o),m&&l.setSelection(v?o:l.getCursor(\"from\"),o),l.replaceRange(u,e)}}))}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&l.lineComment(e,o,s)})),e.defineExtension(\"uncomment\",(function(e,i,o){o||(o=t);var s,l=this,c=a(l,e),u=Math.min(0!=i.ch||i.line==e.line?i.line:i.line-1,l.lastLine()),f=Math.min(e.line,u),p=o.lineComment||c.lineComment,d=[],h=null==o.padding?\" \":o.padding;e:if(p){for(var m=f;m<=u;++m){var v=l.getLine(m),g=v.indexOf(p);if(g>-1&&!/comment/.test(l.getTokenTypeAt(r(m,g+1)))&&(g=-1),-1==g&&n.test(v))break e;if(g>-1&&n.test(v.slice(0,g)))break e;d.push(v)}if(l.operation((function(){for(var e=f;e<=u;++e){var t=d[e-f],n=t.indexOf(p),i=n+p.length;n<0||(t.slice(i,i+h.length)==h&&(i+=h.length),s=!0,l.replaceRange(\"\",r(e,n),r(e,i)))}})),s)return!0}var y=o.blockCommentStart||c.blockCommentStart,b=o.blockCommentEnd||c.blockCommentEnd;if(!y||!b)return!1;var T=o.blockCommentLead||c.blockCommentLead,E=l.getLine(f),O=E.indexOf(y);if(-1==O)return!1;var x=u==f?E:l.getLine(u),_=x.indexOf(b,u==f?O+y.length:0),k=r(f,O+1),w=r(u,_+1);if(-1==_||!/comment/.test(l.getTokenTypeAt(k))||!/comment/.test(l.getTokenTypeAt(w))||l.getRange(k,w,\"\\n\").indexOf(b)>-1)return!1;var C=E.lastIndexOf(y,e.ch),S=-1==C?-1:E.slice(0,e.ch).indexOf(b,C+y.length);if(-1!=C&&-1!=S&&S+b.length!=e.ch)return!1;S=x.indexOf(b,i.ch);var N=x.slice(i.ch).lastIndexOf(y,S-i.ch);return C=-1==S||-1==N?-1:i.ch+N,(-1==S||-1==C||C==i.ch)&&(l.operation((function(){l.replaceRange(\"\",r(u,_-(h&&x.slice(_-h.length,_)==h?h.length:0)),r(u,_+b.length));var e=O+y.length;if(h&&E.slice(e,e+h.length)==h&&(e+=h.length),l.replaceRange(\"\",r(f,O),r(f,e)),T)for(var t=f+1;t<=u;++t){var i=l.getLine(t),o=i.indexOf(T);if(-1!=o&&!n.test(i.slice(0,o))){var a=o+T.length;h&&i.slice(a,a+h.length)==h&&(a+=h.length),l.replaceRange(\"\",r(t,o),r(t,a))}}})),!0)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";!function(e){function t(t,n,i,o){if(i&&i.call){var a=i;i=null}else a=r(t,i,\"rangeFinder\");\"number\"==typeof n&&(n=e.Pos(n,0));var s=r(t,i,\"minFoldSize\");function l(e){var r=a(t,n);if(!r||r.to.line-r.from.line<s)return null;for(var i=t.findMarksAt(r.from),l=0;l<i.length;++l)if(i[l].__isFold&&\"fold\"!==o){if(!e)return null;r.cleared=!0,i[l].clear()}return r}var c=l(!0);if(r(t,i,\"scanUp\"))for(;!c&&n.line>t.firstLine();)n=e.Pos(n.line-1,0),c=l(!1);if(c&&!c.cleared&&\"unfold\"!==o){var u=function(e,t,n){var i=r(e,t,\"widget\");if(\"function\"==typeof i&&(i=i(n.from,n.to)),\"string\"==typeof i){var o=document.createTextNode(i);(i=document.createElement(\"span\")).appendChild(o),i.className=\"CodeMirror-foldmarker\"}else i&&(i=i.cloneNode(!0));return i}(t,i,c);e.on(u,\"mousedown\",(function(t){f.clear(),e.e_preventDefault(t)}));var f=t.markText(c.from,c.to,{replacedWith:u,clearOnEnter:r(t,i,\"clearOnEnter\"),__isFold:!0});f.on(\"clear\",(function(n,r){e.signal(t,\"unfold\",t,n,r)})),e.signal(t,\"fold\",t,c.from,c.to)}}e.newFoldFunction=function(e,n){return function(r,i){t(r,i,{rangeFinder:e,widget:n})}},e.defineExtension(\"foldCode\",(function(e,n,r){t(this,e,n,r)})),e.defineExtension(\"isFolded\",(function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),e.commands.toggleFold=function(e){e.foldCode(e.getCursor())},e.commands.fold=function(e){e.foldCode(e.getCursor(),null,\"fold\")},e.commands.unfold=function(e){e.foldCode(e.getCursor(),null,\"unfold\")},e.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"fold\")}))},e.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),r=t.lastLine();n<=r;n++)t.foldCode(e.Pos(n,0),null,\"unfold\")}))},e.registerHelper(\"fold\",\"combine\",(function(){var e=Array.prototype.slice.call(arguments,0);return function(t,n){for(var r=0;r<e.length;++r){var i=e[r](t,n);if(i)return i}}})),e.registerHelper(\"fold\",\"auto\",(function(e,t){for(var n=e.getHelpers(t,\"fold\"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}}));var n={rangeFinder:e.fold.auto,widget:\"\u2194\",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(e,t,r){if(t&&void 0!==t[r])return t[r];var i=e.options.foldOptions;return i&&void 0!==i[r]?i[r]:n[r]}e.defineOption(\"foldOptions\",null),e.defineExtension(\"foldOption\",(function(e,t){return r(this,e,t)}))}(n(10))})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70),i=n(14);function o(e,t,n){const o=\"Invalid\"===n.state.kind?n.state.prevState:n.state;if(!o)return[];const a=o.kind,s=o.step,l=(0,r.getTypeInfo)(e,n.state);if(\"Document\"===a)return(0,r.hintList)(n,[{label:\"query\"},{label:\"mutation\"},{label:\"subscription\"},{label:\"fragment\"},{label:\"{\"}]);if(\"SelectionSet\"===a||\"Field\"===a||\"AliasedField\"===a)return function(e,t,n){if(t.parentType){const o=t.parentType,a=(0,i.isObjectType)(o)||(0,i.isInterfaceType)(o)?(0,r.objectValues)(o.getFields()):[];return(0,i.isCompositeType)(o)&&a.push(i.TypeNameMetaFieldDef),o===n.getQueryType()&&a.push(i.SchemaMetaFieldDef,i.TypeMetaFieldDef),(0,r.hintList)(e,a.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return[]}(n,l,e);if(\"Arguments\"===a||\"Argument\"===a&&0===s){const e=l.argDefs;if(e)return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}if((\"ObjectValue\"===a||\"ObjectField\"===a&&0===s)&&l.objectFieldDefs){const e=(0,r.objectValues)(l.objectFieldDefs);return(0,r.hintList)(n,e.map(e=>{var t;return{label:e.name,type:e.type,documentation:null!==(t=e.description)&&void 0!==t?t:void 0}}))}return\"EnumValue\"===a||\"ListValue\"===a&&1===s||\"ObjectField\"===a&&2===s||\"Argument\"===a&&2===s?function(e,t){const n=(0,i.getNamedType)(t.inputType);if(n instanceof i.GraphQLEnumType){const t=n.getValues();return(0,r.hintList)(e,t.map(e=>{var t;return{label:e.name,type:n,documentation:null!==(t=e.description)&&void 0!==t?t:void 0,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}}))}return n===i.GraphQLBoolean?(0,r.hintList)(e,[{label:\"true\",type:i.GraphQLBoolean,documentation:\"Not false.\"},{label:\"false\",type:i.GraphQLBoolean,documentation:\"Not true.\"}]):[]}(n,l):\"TypeCondition\"===a&&1===s||\"NamedType\"===a&&null!=o.prevState&&\"TypeCondition\"===o.prevState.kind?function(e,t,n){let o;if(t.parentType)if((0,i.isAbstractType)(t.parentType)){const e=(0,i.assertAbstractType)(t.parentType),a=n.getPossibleTypes(e),s=Object.create(null);a.forEach(e=>{e.getInterfaces().forEach(e=>{s[e.name]=e})}),o=a.concat((0,r.objectValues)(s))}else o=[t.parentType];else{const e=n.getTypeMap();o=(0,r.objectValues)(e).filter(i.isCompositeType)}return(0,r.hintList)(e,o.map(e=>{const t=(0,i.getNamedType)(e);return{label:String(e),documentation:t&&t.description||\"\"}}))}(n,l,e):\"FragmentSpread\"===a&&1===s?function(e,t,n,o){const a=n.getTypeMap(),s=(0,r.getDefinitionState)(e.state),l=(0,r.getFragmentDefinitions)(o).filter(e=>a[e.typeCondition.name.value]&&!(s&&\"FragmentDefinition\"===s.kind&&s.name===e.name.value)&&(0,i.isCompositeType)(t.parentType)&&(0,i.isCompositeType)(a[e.typeCondition.name.value])&&(0,i.doTypesOverlap)(n,t.parentType,a[e.typeCondition.name.value]));return(0,r.hintList)(e,l.map(e=>({label:e.name.value,type:a[e.typeCondition.name.value],documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`})))}(n,l,e,t):\"VariableDefinition\"===a&&2===s||\"ListType\"===a&&1===s||\"NamedType\"===a&&o.prevState&&(\"VariableDefinition\"===o.prevState.kind||\"ListType\"===o.prevState.kind)?function(e,t){const n=t.getTypeMap(),o=(0,r.objectValues)(n).filter(i.isInputType);return(0,r.hintList)(e,o.map(e=>({label:e.name,documentation:e.description})))}(n,e):\"Directive\"===a?function(e,t,n){if(t.prevState&&t.prevState.kind){const i=n.getDirectives().filter(e=>(0,r.canUseDirective)(t.prevState,e));return(0,r.hintList)(e,i.map(e=>({label:e.name,documentation:e.description||\"\"})))}return[]}(n,o,e):[]}t.default.registerHelper(\"hint\",\"graphql\",(e,n)=>{const r=n.schema;if(!r)return;const i=e.getCursor(),a=e.getTokenAt(i),s=o(r,e.getValue(),a),l=null!==a.type&&/\"|\\w/.test(a.string[0])?a.start:a.end,c={list:s.map(e=>({text:e.label,type:e.type,description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})),from:{line:i.line,column:l},to:{line:i.line,column:a.end}};return c&&c.list&&c.list.length>0&&(c.from=t.default.Pos(c.from.line,c.from.column),c.to=t.default.Pos(c.to.line,c.to.column),t.default.signal(e,\"hasCompletion\",e,c,a)),c})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\\s\\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let r=null,i=null;return\"string\"==typeof e?(i=new RegExp(e,n?\"i\":\"g\").test(this._sourceText.substr(this._pos,e.length)),r=e):e instanceof RegExp&&(i=this._sourceText.slice(this._pos).match(e),r=i&&i[0]),!(null==i||!(\"string\"==typeof e||i instanceof Array&&this._sourceText.startsWith(i[0],this._pos)))&&(t&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),i)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\\s*/);let t=0;if(e&&0===e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n=\"string\"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(73)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e={eatWhitespace:e=>e.eatWhile(t.isIgnored),lexRules:t.LexRules,parseRules:t.ParseRules,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return i(e.parseRules,t,\"Document\"),t},token:(t,s)=>function(e,t,s){const{lexRules:c,parseRules:u,eatWhitespace:f,editorConfig:p}=s;if(t.rule&&0===t.rule.length?o(t):t.needsAdvance&&(t.needsAdvance=!1,a(t,!0)),e.sol()){const n=p&&p.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(f(e))return\"ws\";const d=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}(c,e);if(!d)return e.match(/\\S+/)||e.match(/\\s/),i(r,t,\"Invalid\"),\"invalidchar\";if(\"Comment\"===d.kind)return i(r,t,\"Comment\"),\"comment\";const h=n({},t);if(\"Punctuation\"===d.kind)if(/^[{([]/.test(d.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\\]]/.test(d.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e[e.length-1]<t.indentLevel&&(t.indentLevel=e[e.length-1])}for(;t.rule;){let n=\"function\"==typeof t.rule?0===t.step?t.rule(d,e):null:t.rule[t.step];if(t.needsSeperator&&(n=n&&n.separator),n){if(n.ofRule&&(n=n.ofRule),\"string\"==typeof n){i(u,t,n);continue}if(n.match&&n.match(d))return n.update&&n.update(t,d),\"Punctuation\"===d.kind?a(t,!0):t.needsAdvance=!0,n.style}l(t)}return n(t,h),i(r,t,\"Invalid\"),\"invalidchar\"}(t,s,e)}};const r={Invalid:[],Comment:[]};function i(e,t,n){if(!e[n])throw new TypeError(\"Unknown rule: \"+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeperator=!1}function o(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeperator=e.prevState.needsSeperator,e.prevState=e.prevState.prevState)}function a(e,t){if(s(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const t=n.separator;if(e.needsSeperator=!e.needsSeperator,!e.needsSeperator&&t.ofRule)return}if(t)return}for(e.needsSeperator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)o(e),e.rule&&(s(e)?e.rule&&e.rule[e.step].separator&&(e.needsSeperator=!e.needsSeperator):(e.needsSeperator=!1,e.step++))}function s(e){const t=Array.isArray(e.rule)&&\"string\"!=typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function l(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)o(e);e.rule&&a(e,!1)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.RuleKinds=e.AdditionalRuleKinds=void 0;const n={ALIASED_FIELD:\"AliasedField\",ARGUMENTS:\"Arguments\",SHORT_QUERY:\"ShortQuery\",QUERY:\"Query\",MUTATION:\"Mutation\",SUBSCRIPTION:\"Subscription\",TYPE_CONDITION:\"TypeCondition\",INVALID:\"Invalid\",COMMENT:\"Comment\",SCHEMA_DEF:\"SchemaDef\",SCALAR_DEF:\"ScalarDef\",OBJECT_TYPE_DEF:\"ObjectTypeDef\",OBJECT_VALUE:\"ObjectValue\",LIST_VALUE:\"ListValue\",INTERFACE_DEF:\"InterfaceDef\",UNION_DEF:\"UnionDef\",ENUM_DEF:\"EnumDef\",ENUM_VALUE:\"EnumValue\",FIELD_DEF:\"FieldDef\",INPUT_DEF:\"InputDef\",INPUT_VALUE_DEF:\"InputValueDef\",ARGUMENTS_DEF:\"ArgumentsDef\",EXTEND_DEF:\"ExtendDef\",DIRECTIVE_DEF:\"DirectiveDef\"};e.AdditionalRuleKinds=n;const r=Object.assign(Object.assign({},t.Kind),n);e.RuleKinds=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=e.split(\"\\n\").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}Object.defineProperty(e,\"__esModule\",{value:!0}),e.getASTNodeAtPosition=function(e,r,i){const o=n(e,i);let a;return(0,t.visit)(r,{enter(e){if(!(\"Name\"!==e.kind&&e.loc&&e.loc.start<=o&&o<=e.loc.end))return!1;a=e},leave(e){if(e.loc&&e.loc.start<=o&&o<=e.loc.end)return!1}}),a},e.pointToOffset=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.offsetToPosition=r,e.locToRange=function(e,n){const i=r(e,n.start),o=r(e,n.end);return new t(i,o)},e.Position=e.Range=void 0;class t{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new n(e,t)}setEnd(e,t){this.end=new n(e,t)}}e.Range=t;class n{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function r(e,t){const r=e.slice(0,t),i=r.split(\"\\n\").length-1,o=r.lastIndexOf(\"\\n\");return new n(i,t-o-1)}e.Position=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(176)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.validateWithCustomRules=function(e,r,i,o){const a=t.specifiedRules.filter(e=>e!==t.NoUnusedFragmentsRule&&e!==n.ExecutableDefinitions&&(!o||e!==t.KnownFragmentNamesRule));return i&&Array.prototype.push.apply(a,i),(0,t.validate)(e,r,a).filter(e=>{if(-1!==e.message.indexOf(\"Unknown directive\")&&e.nodes){const n=e.nodes[0];if(n&&n.kind===t.Kind.DIRECTIVE){const e=n.name.value;if(\"arguments\"===e||\"argumentDefinitions\"===e)return!1}}return!0})}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){\"use strict\";n.r(t);var r=n(47);n.d(t,\"ExecutableDefinitions\",(function(){return r.a}))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\n/*\n  object-assign\n  (c) Sindre Sorhus\n  @license MIT\n  */\n\"use strict\";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError(\"Object.assign cannot be called with null or undefined\");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String(\"abc\");if(e[5]=\"de\",\"5\"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t[\"_\"+String.fromCharCode(n)]=n;if(\"0123456789\"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(\"\"))return!1;var r={};return\"abcdefghijklmnopqrst\".split(\"\").forEach((function(e){r[e]=e})),\"abcdefghijklmnopqrst\"===Object.keys(Object.assign({},r)).join(\"\")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var f=0;f<s.length;f++)r.call(a,s[f])&&(l[s[f]]=a[s[f]])}}return l}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){(function(r){var i,o,a;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,o=[],void 0===(a=\"function\"==typeof(i=function(){\"use strict\";var e=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(\" \")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if(\"%%\"===e)return\"%\";if(n>=o)return e;switch(e){case\"%s\":return String(r[n++]);case\"%d\":return Number(r[n++]);case\"%j\":try{return JSON.stringify(r[n++])}catch(e){return\"[Circular]\"}default:return e}})),l=r[n];n<o;l=r[++n])m(l)||!T(l)?a+=\" \"+l:a+=\" \"+s(l);return a},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),u(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?\"\u001B[\"+s.colors[n][0]+\"m\"+e+\"\u001B[\"+s.colors[n][1]+\"m\":e}function c(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return g(i)||(i=u(e,i,r)),i}var o=function(e,t){if(y(t))return e.stylize(\"undefined\",\"undefined\");if(g(t)){var n=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(n,\"string\")}return v(t)?e.stylize(\"\"+t,\"number\"):h(t)?e.stylize(\"\"+t,\"boolean\"):m(t)?e.stylize(\"null\",\"null\"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf(\"message\")>=0||a.indexOf(\"description\")>=0))return f(n);if(0===a.length){if(x(n)){var l=n.name?\": \"+n.name:\"\";return e.stylize(\"[Function\"+l+\"]\",\"special\")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),\"regexp\");if(E(n))return e.stylize(Date.prototype.toString.call(n),\"date\");if(O(n))return f(n)}var c,T=\"\",_=!1,k=[\"{\",\"}\"];return d(n)&&(_=!0,k=[\"[\",\"]\"]),x(n)&&(T=\" [Function\"+(n.name?\": \"+n.name:\"\")+\"]\"),b(n)&&(T=\" \"+RegExp.prototype.toString.call(n)),E(n)&&(T=\" \"+Date.prototype.toUTCString.call(n)),O(n)&&(T=\" \"+f(n)),0!==a.length||_&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),\"regexp\"):e.stylize(\"[Object]\",\"special\"):(e.seen.push(n),c=_?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)S(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push(\"\");return i.forEach((function(i){i.match(/^\\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,n,r,s,a):a.map((function(t){return p(e,n,r,s,t,_)})),e.seen.pop(),function(e,t,n){return e.reduce((function(e,t){return t.indexOf(\"\\n\"),e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1}),0)>60?n[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n  \")+\" \"+n[1]:n[0]+t+\" \"+e.join(\", \")+\" \"+n[1]}(c,T,k)):k[0]+T+k[1]}function f(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize(\"[Getter/Setter]\",\"special\"):e.stylize(\"[Getter]\",\"special\"):l.set&&(s=e.stylize(\"[Setter]\",\"special\")),S(r,i)||(a=\"[\"+i+\"]\"),s||(e.seen.indexOf(l.value)<0?(s=m(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf(\"\\n\")>-1&&(s=o?s.split(\"\\n\").map((function(e){return\"  \"+e})).join(\"\\n\").substr(2):\"\\n\"+s.split(\"\\n\").map((function(e){return\"   \"+e})).join(\"\\n\")):s=e.stylize(\"[Circular]\",\"special\")),y(a)){if(o&&i.match(/^\\d+$/))return s;(a=JSON.stringify(\"\"+i)).match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,\"name\")):(a=a.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),a=e.stylize(a,\"string\"))}return a+\": \"+s}function d(e){return Array.isArray(e)}function h(e){return\"boolean\"==typeof e}function m(e){return null===e}function v(e){return\"number\"==typeof e}function g(e){return\"string\"==typeof e}function y(e){return void 0===e}function b(e){return T(e)&&\"[object RegExp]\"===_(e)}function T(e){return\"object\"==typeof e&&null!==e}function E(e){return T(e)&&\"[object Date]\"===_(e)}function O(e){return T(e)&&(\"[object Error]\"===_(e)||e instanceof Error)}function x(e){return\"function\"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?\"0\"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(y(o)&&(o=r.env.NODE_DEBUG||\"\"),e=e.toUpperCase(),!a[e])if(new RegExp(\"\\\\b\"+e+\"\\\\b\",\"i\").test(o)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error(\"%s %d: %s\",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:\"cyan\",number:\"yellow\",boolean:\"yellow\",undefined:\"grey\",null:\"bold\",string:\"green\",date:\"magenta\",regexp:\"red\"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return\"symbol\"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=T,t.isDate=E,t.isError=O,t.isFunction=x,t.isPrimitive=function(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e},t.isBuffer=n(180);var w=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function C(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(\":\");return[e.getDate(),w[e.getMonth()],t].join(\" \")}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log(\"%s - %s\",C(),t.format.apply(t,arguments))},t.inherits=n(181),t._extend=function(e,t){if(!t||!T(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var N=\"undefined\"!=typeof Symbol?Symbol(\"util.promisify.custom\"):void 0;function D(e,t){if(!e){var n=new Error(\"Promise was rejected with a falsy value\");n.reason=e,e=n}return t(e)}t.promisify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');if(N&&t[N]){var n;if(\"function\"!=typeof(n=t[N]))throw new TypeError('The \"util.promisify.custom\" argument must be of type Function');return Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,r){t?n(t):e(r)}));try{t.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),N&&Object.defineProperty(n,N,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,e(t))},t.promisify.custom=N,t.callbackify=function(t){if(\"function\"!=typeof t)throw new TypeError('The \"original\" argument must be of type Function');function n(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var i=e.pop();if(\"function\"!=typeof i)throw new TypeError(\"The last argument must be of type Function\");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(e){r.nextTick(a,null,e)}),(function(e){r.nextTick(D,e,a)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,e(t)),n}})?i.apply(t,o):i)||(e.exports=a)}).call(this,n(179))},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var t,n,r=e.exports={};function i(){throw new Error(\"setTimeout has not been defined\")}function o(){throw new Error(\"clearTimeout has not been defined\")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t=\"function\"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n=\"function\"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var s,l=[],c=!1,u=-1;function f(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=a(f);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new d(e,t)),1!==l.length||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title=\"browser\",r.browser=!0,r.env={},r.argv=[],r.version=\"\",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error(\"process.binding is not supported\")},r.cwd=function(){return\"/\"},r.chdir=function(e){throw new Error(\"process.chdir is not supported\")},r.umask=function(){return 0}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";e.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";\"function\"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(72),n(14),n(57),n(79),n(77),n(75),n(78),n(46)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s,l){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.GraphQLLanguageService=void 0;var c=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const{FRAGMENT_DEFINITION:u,OBJECT_TYPE_DEFINITION:f,INTERFACE_TYPE_DEFINITION:p,ENUM_TYPE_DEFINITION:d,UNION_TYPE_DEFINITION:h,SCALAR_TYPE_DEFINITION:m,INPUT_OBJECT_TYPE_DEFINITION:v,SCALAR_TYPE_EXTENSION:g,OBJECT_TYPE_EXTENSION:y,INTERFACE_TYPE_EXTENSION:b,UNION_TYPE_EXTENSION:T,ENUM_TYPE_EXTENSION:E,INPUT_OBJECT_TYPE_EXTENSION:O,DIRECTIVE_DEFINITION:x,FRAGMENT_SPREAD:_,OPERATION_DEFINITION:k,NAMED_TYPE:w}=n.Kind,C={[n.Kind.FIELD]:t.SymbolKind.Field,[n.Kind.OPERATION_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_DEFINITION]:t.SymbolKind.Class,[n.Kind.FRAGMENT_SPREAD]:t.SymbolKind.Struct,[n.Kind.OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.ENUM_TYPE_DEFINITION]:t.SymbolKind.Enum,[n.Kind.ENUM_VALUE_DEFINITION]:t.SymbolKind.EnumMember,[n.Kind.INPUT_OBJECT_TYPE_DEFINITION]:t.SymbolKind.Class,[n.Kind.INPUT_VALUE_DEFINITION]:t.SymbolKind.Field,[n.Kind.FIELD_DEFINITION]:t.SymbolKind.Field,[n.Kind.INTERFACE_TYPE_DEFINITION]:t.SymbolKind.Interface,[n.Kind.DOCUMENT]:t.SymbolKind.File,FieldWithArguments:t.SymbolKind.Method};function S(e){return\"FieldDefinition\"===e.kind&&e.children&&e.children.length>0?C.FieldWithArguments:C[e.kind]}e.GraphQLLanguageService=class{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLCache.getProjectForFile(e);if(t)return t;throw Error(\"No config found for uri: \"+e)}getDiagnostics(e,t,r){return c(this,void 0,void 0,(function*(){let i=!1;const a=this.getConfigForURI(t);if(!a)return[];const{schema:s,name:l,extensions:c}=a;try{const r=(0,n.parse)(e);s&&t===s||(i=r.definitions.some(e=>{switch(e.kind){case f:case p:case d:case h:case m:case v:case g:case y:case b:case T:case E:case O:case x:return!0}return!1}))}catch(t){const n=(0,o.getRange)(t.locations[0],e);return[{severity:o.DIAGNOSTIC_SEVERITY.Error,message:t.message,source:\"GraphQL: Syntax\",range:n}]}let u=e;const _=yield this._graphQLCache.getFragmentDefinitions(a);u=`${u} ${(yield this._graphQLCache.getFragmentDependencies(e,_)).reduce((e,t)=>`${e} ${(0,n.print)(t.definition)}`,\"\")}`;let k=null;try{k=(0,n.parse)(u)}catch(e){return[]}let w=null;(null==c?void 0:c.customValidationRules)&&\"function\"==typeof c.customValidationRules&&(w=c.customValidationRules(this._graphQLConfig));const C=yield this._graphQLCache.getSchema(l,i);return C?(0,o.validateQuery)(k,C,w,r):[]}))}getAutocompleteSuggestions(e,t,n){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(i.name),a=yield this._graphQLCache.getFragmentDefinitions(i),s=Array.from(a).map(([,e])=>e);return o?(0,r.getAutocompleteSuggestions)(o,e,t,void 0,s.map(({definition:e})=>e)):[]}))}getHoverInformation(e,t,n){return c(this,void 0,void 0,(function*(){const r=this.getConfigForURI(n),o=yield this._graphQLCache.getSchema(r.name);return o?(0,i.getHoverInformation)(o,e,t):\"\"}))}getDefinition(e,t,r){return c(this,void 0,void 0,(function*(){const i=this.getConfigForURI(r);let o;try{o=(0,n.parse)(e)}catch(e){return null}const s=(0,l.getASTNodeAtPosition)(e,o,t);if(s)switch(s.kind){case _:return this._getDefinitionForFragmentSpread(e,o,s,r,i);case u:case k:return(0,a.getDefinitionQueryResultForDefinitionNode)(r,e,s);case w:return this._getDefinitionForNamedType(e,o,s,r,i)}return null}))}getDocumentSymbols(e,t){return c(this,void 0,void 0,(function*(){const n=yield this.getOutline(e);if(!n)return[];const r=[],i=n.outlineTrees.map(e=>[null,e]);for(;i.length>0;){const e=i.pop();if(!e)return[];const[n,o]=e;if(!o)return[];r.push({name:o.representativeName,kind:S(o),location:{uri:t,range:{start:o.startPosition,end:o.endPosition}},containerName:n?n.representativeName:void 0}),i.push(...o.children.map(e=>[o,e]))}return r}))}_getDefinitionForNamedType(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getObjectTypeDefinitions(i),s=yield this._graphQLCache.getObjectTypeDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===f||e.kind===v||e.kind===d||e.kind===m||e.kind===p).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForNamedType)(e,n,s.concat(l))}))}_getDefinitionForFragmentSpread(e,t,n,r,i){return c(this,void 0,void 0,(function*(){const o=yield this._graphQLCache.getFragmentDefinitions(i),s=yield this._graphQLCache.getFragmentDependenciesForAST(t,o),l=t.definitions.filter(e=>e.kind===u).map(t=>({filePath:r,content:e,definition:t}));return yield(0,a.getDefinitionQueryResultForFragmentSpread)(e,n,s.concat(l))}))}getOutline(e){return c(this,void 0,void 0,(function*(){return(0,s.getOutline)(e)}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(70);const i=[\"error\",\"warning\",\"information\",\"hint\"],o={\"GraphQL: Validation\":\"validation\",\"GraphQL: Deprecation\":\"deprecation\",\"GraphQL: Syntax\":\"syntax\"};t.default.registerHelper(\"lint\",\"graphql\",(e,n)=>{const a=n.schema;return(0,r.getDiagnostics)(e,a).map(e=>({message:e.message,severity:i[e.severity-1],type:o[e.source],from:t.default.Pos(e.range.start.line,e.range.start.character),to:t.default.Pos(e.range.end.line,e.range.end.character)}))})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=n(14),t=o(n(10)),r=o(n(80)),i=n(82);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){const r=t.fieldDef.name;\"__\"!==r.slice(0,2)&&(c(e,t,n,t.parentType),f(e,\".\")),f(e,r,\"field-name\",n,(0,i.getFieldReference)(t))}function s(e,t,n){f(e,\"@\"+t.directiveDef.name,\"directive-name\",n,(0,i.getDirectiveReference)(t))}function l(e,t,n,r){f(e,\": \"),c(e,t,n,r)}function c(t,n,r,o){o instanceof e.GraphQLNonNull?(c(t,n,r,o.ofType),f(t,\"!\")):o instanceof e.GraphQLList?(f(t,\"[\"),c(t,n,r,o.ofType),f(t,\"]\")):f(t,o.name,\"type-name\",r,(0,i.getTypeReference)(n,o))}function u(e,t,n){const r=n.description;if(r){const n=document.createElement(\"div\");n.className=\"info-description\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r)),e.appendChild(n)}!function(e,t,n){const r=n.deprecationReason;if(r){const n=document.createElement(\"div\");n.className=\"info-deprecation\",t.renderDescription?n.innerHTML=t.renderDescription(r):n.appendChild(document.createTextNode(r));const i=document.createElement(\"span\");i.className=\"info-deprecation-label\",i.appendChild(document.createTextNode(\"Deprecated: \")),n.insertBefore(i,n.firstChild),e.appendChild(n)}}(e,t,n)}function f(e,t,n,r={onClick:null},i){if(n){const o=r.onClick;let a;o?(a=document.createElement(\"a\"),a.href=\"javascript:void 0\",a.addEventListener(\"click\",e=>{o(i,e)})):a=document.createElement(\"span\"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n(83),t.default.registerHelper(\"info\",\"graphql\",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,o=n.kind,p=n.step,d=(0,r.default)(t.schema,e.state);if(\"Field\"===o&&0===p&&d.fieldDef||\"AliasedField\"===o&&2===p&&d.fieldDef){const e=document.createElement(\"div\");return function(e,t,n){a(e,t,n),l(e,t,n,t.type)}(e,d,t),u(e,t,d.fieldDef),e}if(\"Directive\"===o&&1===p&&d.directiveDef){const e=document.createElement(\"div\");return s(e,d,t),u(e,t,d.directiveDef),e}if(\"Argument\"===o&&0===p&&d.argDef){const e=document.createElement(\"div\");return function(e,t,n){t.directiveDef?s(e,t,n):t.fieldDef&&a(e,t,n);const r=t.argDef.name;f(e,\"(\"),f(e,r,\"arg-name\",n,(0,i.getArgumentReference)(t)),l(e,t,n,t.inputType),f(e,\")\")}(e,d,t),u(e,t,d.argDef),e}if(\"EnumValue\"===o&&d.enumValue&&d.enumValue.description){const e=document.createElement(\"div\");return function(e,t,n){const r=t.enumValue.name;c(e,t,n,t.inputType),f(e,\".\"),f(e,r,\"enum-value\",n,(0,i.getEnumValueReference)(t))}(e,d,t),u(e,t,d.enumValue),e}if(\"NamedType\"===o&&d.type&&d.type.description){const e=document.createElement(\"div\");return c(e,d,t,d.type),u(e,t,d.type),e}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=i(n(80)),r=n(82);function i(e){return e&&e.__esModule?e:{default:e}}n(186),e.default.registerHelper(\"jump\",\"graphql\",(e,n)=>{if(!n.schema||!n.onClick||!e.state)return;const i=e.state,o=i.kind,a=i.step,s=(0,t.default)(n.schema,i);return\"Field\"===o&&0===a&&s.fieldDef||\"AliasedField\"===o&&2===a&&s.fieldDef?(0,r.getFieldReference)(s):\"Directive\"===o&&1===a&&s.directiveDef?(0,r.getDirectiveReference)(s):\"Argument\"===o&&0===a&&s.argDef?(0,r.getArgumentReference)(s):\"EnumValue\"===o&&s.enumValue?(0,r.getEnumValueReference)(s):\"NamedType\"===o&&s.type?(0,r.getTypeReference)(s):void 0})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e};function r(e,t){const n=t.target||t.srcElement;if(\"SPAN\"!==n.nodeName)return;const r=n.getBoundingClientRect(),i={left:(r.left+r.right)/2,top:(r.top+r.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&s(e)}function i(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&l(e):e.state.jump.cursor=null}function o(e,n){if(e.state.jump.isHoldingModifier||n.key!==(a?\"Meta\":\"Control\"))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&s(e);const r=a=>{a.code===n.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&l(e),t.default.off(document,\"keyup\",r),t.default.off(document,\"click\",i),e.off(\"mousedown\",o))},i=t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=(t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)};t.default.on(document,\"keyup\",r),t.default.on(document,\"click\",i),e.on(\"mousedown\",o)}t.default.defineOption(\"jump\",!1,(e,n,a)=>{if(a&&a!==t.default.Init){const n=e.state.jump.onMouseOver;t.default.off(e.getWrapperElement(),\"mouseover\",n);const r=e.state.jump.onMouseOut;t.default.off(e.getWrapperElement(),\"mouseout\",r),t.default.off(document,\"keydown\",e.state.jump.onKeyDown),delete e.state.jump}if(n){const a=e.state.jump={options:n,onMouseOver:r.bind(null,e),onMouseOut:i.bind(null,e),onKeyDown:o.bind(null,e)};t.default.on(e.getWrapperElement(),\"mouseover\",a.onMouseOver),t.default.on(e.getWrapperElement(),\"mouseout\",a.onMouseOut),t.default.on(document,\"keydown\",a.onKeyDown)}});const a=\"undefined\"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf(\"Mac\");function s(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),r=e.getTokenAt(n,!0),i=e.state.jump.options,o=i.getDestination||e.getHelper(n,\"jump\");if(o){const t=o(r,i,e);if(t){const i=e.markText({line:n.line,ch:r.start},{line:n.line,ch:r.end},{className:\"CodeMirror-jump-token\"});e.state.jump.marker=i,e.state.jump.destination=t}}}function l(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatWhile(r.isIgnored),lexRules:r.LexRules,parseRules:r.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[})\\]]/,fold:\"brace\",lineComment:\"#\",closeBrackets:{pairs:'()[]{}\"\"',explode:\"()[]{}\"}}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.VariableEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(45),n(189),n(191),n(193);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:\"graphql-variables\",theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,\"change\",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.VariableEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=o(n(10)),t=n(14),r=o(n(81)),i=o(n(190));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,n,o){const a=\"Invalid\"===n.state.kind?n.state.prevState:n.state,s=a.kind,l=a.step;if(\"Document\"===s&&0===l)return(0,i.default)(e,n,[{text:\"{\"}]);const c=o.variableToType;if(!c)return;const u=function(e,n){const i={type:null,fields:null};return(0,r.default)(n,n=>{if(\"Variable\"===n.kind)i.type=e[n.name];else if(\"ListValue\"===n.kind){const e=(0,t.getNullableType)(i.type);i.type=e instanceof t.GraphQLList?e.ofType:null}else if(\"ObjectValue\"===n.kind){const e=(0,t.getNamedType)(i.type);i.fields=e instanceof t.GraphQLInputObjectType?e.getFields():null}else if(\"ObjectField\"===n.kind){const e=n.name&&i.fields?i.fields[n.name]:null;i.type=e&&e.type}}),i}(c,n.state);if(\"Document\"===s||\"Variable\"===s&&0===l){const t=Object.keys(c);return(0,i.default)(e,n,t.map(e=>({text:`\"${e}\": `,type:c[e]})))}if((\"ObjectValue\"===s||\"ObjectField\"===s&&0===l)&&u.fields){const t=Object.keys(u.fields).map(e=>u.fields[e]);return(0,i.default)(e,n,t.map(e=>({text:`\"${e.name}\": `,type:e.type,description:e.description})))}if(\"StringValue\"===s||\"NumberValue\"===s||\"BooleanValue\"===s||\"NullValue\"===s||\"ListValue\"===s&&1===l||\"ObjectField\"===s&&2===l||\"Variable\"===s&&2===l){const r=(0,t.getNamedType)(u.type);if(r instanceof t.GraphQLInputObjectType)return(0,i.default)(e,n,[{text:\"{\"}]);if(r instanceof t.GraphQLEnumType){const t=r.getValues(),o=Object.keys(t).map(e=>t[e]);return(0,i.default)(e,n,o.map(e=>({text:`\"${e.name}\"`,type:r,description:e.description})))}if(r===t.GraphQLBoolean)return(0,i.default)(e,n,[{text:\"true\",type:t.GraphQLBoolean,description:\"Not false.\"},{text:\"false\",type:t.GraphQLBoolean,description:\"Not true.\"}])}}e.default.registerHelper(\"hint\",\"graphql-variables\",(t,n)=>{const r=t.getCursor(),i=t.getTokenAt(r),o=a(r,i,n);return o&&o.list&&o.list.length>0&&(o.from=e.default.Pos(o.from.line,o.from.column),o.to=e.default.Pos(o.to.line,o.to.column),e.default.signal(t,\"hasCompletion\",t,o,i)),o})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";function e(e,t){const n=e.filter(t);return 0===n.length?e:n}function n(e){return e.toLowerCase().replace(/\\W/g,\"\")}function r(e,t){let n=function(e,t){let n,r;const 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++){const o=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]+o),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]+o))}return i[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t,i,o){const a=function(t,i){if(!i)return e(t,e=>!e.isDeprecated);const o=e(e(t.map(e=>({proximity:r(n(e.text),i),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated);return o.sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length).map(e=>e.entry)}(o,n(i.string));if(!a)return;const s=null!==i.type&&/\"|\\w/.test(i.string[0])?i.start:i.end;return{list:a,from:{line:t.line,column:s},to:{line:t.line,column:i.end}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e=i(n(10)),t=n(14),r=i(n(192));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,n,r){const i=[];return r.members.forEach(r=>{const o=r.key.value,l=n[o];l?function e(n,r){if(n instanceof t.GraphQLNonNull)return\"Null\"===r.kind?[[r,`Type \"${n}\" is non-nullable and cannot be null.`]]:e(n.ofType,r);if(\"Null\"===r.kind)return[];if(n instanceof t.GraphQLList){const t=n.ofType;return\"Array\"===r.kind?s(r.values,n=>e(t,n)):e(t,r)}if(n instanceof t.GraphQLInputObjectType){if(\"Object\"!==r.kind)return[[r,`Type \"${n}\" must be an Object.`]];const i=Object.create(null),o=s(r.members,t=>{const r=t.key.value;i[r]=!0;const o=n.getFields()[r];if(!o)return[[t.key,`Type \"${n}\" does not have a field \"${r}\".`]];const a=o?o.type:void 0;return e(a,t.value)});return Object.keys(n.getFields()).forEach(e=>{i[e]||n.getFields()[e].type instanceof t.GraphQLNonNull&&o.push([r,`Object of type \"${n}\" is missing required field \"${e}\".`])}),o}return\"Boolean\"===n.name&&\"Boolean\"!==r.kind||\"String\"===n.name&&\"String\"!==r.kind||\"ID\"===n.name&&\"Number\"!==r.kind&&\"String\"!==r.kind||\"Float\"===n.name&&\"Number\"!==r.kind||\"Int\"===n.name&&(\"Number\"!==r.kind||(0|r.value)!==r.value)||(n instanceof t.GraphQLEnumType||n instanceof t.GraphQLScalarType)&&(\"String\"!==r.kind&&\"Number\"!==r.kind&&\"Boolean\"!==r.kind&&\"Null\"!==r.kind||null==(i=n.parseValue(r.value))||i!=i)?[[r,`Expected value of type \"${n}\".`]]:[];var i}(l,r.value).forEach(([t,n])=>{i.push(a(e,t,n))}):i.push(a(e,r.key,`Variable \"$${o}\" does not appear in any GraphQL query.`))}),i}function a(e,t,n){return{message:n,severity:\"error\",type:\"validation\",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function s(e,t){return Array.prototype.concat.apply([],e.map(t))}e.default.registerHelper(\"lint\",\"graphql-variables\",(e,t,n)=>{if(!e)return[];let i;try{i=(0,r.default)(e)}catch(e){if(e.stack)throw e;return[a(n,e,e.message)]}const s=t.variableToType;return s?o(n,s,i):[]})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";let e,n,r,i,o,a,s;function l(){const e=r,t=[];if(p(\"{\"),!h(\"}\")){do{t.push(c())}while(h(\",\"));p(\"}\")}return{kind:\"Object\",start:e,end:o,members:t}}function c(){const e=r,t=\"String\"===s?f():null;p(\"String\"),p(\":\");const n=u();return{kind:\"Member\",start:e,end:o,key:t,value:n}}function u(){switch(s){case\"[\":return function(){const e=r,t=[];if(p(\"[\"),!h(\"]\")){do{t.push(u())}while(h(\",\"));p(\"]\")}return{kind:\"Array\",start:e,end:o,values:t}}();case\"{\":return l();case\"String\":case\"Number\":case\"Boolean\":case\"Null\":const e=f();return v(),e}return p(\"Value\")}function f(){return{kind:s,start:r,end:i,value:JSON.parse(e.slice(r,i))}}function p(t){if(s===t)return void v();let n;if(\"EOF\"===s)n=\"[end of file]\";else if(i-r>1)n=\"`\"+e.slice(r,i)+\"`\";else{const t=e.slice(r).match(/^.+?\\b/);n=\"`\"+(t?t[0]:e[r])+\"`\"}throw d(`Expected ${t} but found ${n}.`)}function d(e){return{message:e,start:r,end:i}}function h(e){if(s===e)return v(),!0}function m(){i<n&&(i++,a=i===n?0:e.charCodeAt(i))}function v(){for(o=i;9===a||10===a||13===a||32===a;)m();if(0!==a){switch(r=i,a){case 34:return s=\"String\",function(){for(m();34!==a&&a>31;)if(92===a)switch(m(),a){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:m();break;case 117:m(),g(),g(),g(),g();break;default:throw d(\"Bad character escape sequence.\")}else{if(i===n)throw d(\"Unterminated string.\");m()}if(34!==a)throw d(\"Unterminated string.\");m()}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s=\"Number\",45===a&&m(),48===a?m():y(),46===a&&(m(),y()),void(69!==a&&101!==a||(m(),43!==a&&45!==a||m(),y()));case 102:if(\"false\"!==e.slice(r,r+5))break;return i+=4,m(),void(s=\"Boolean\");case 110:if(\"null\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Null\");case 116:if(\"true\"!==e.slice(r,r+4))break;return i+=3,m(),void(s=\"Boolean\")}s=e[r],m()}else s=\"EOF\"}function g(){if(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)return m();throw d(\"Expected hexadecimal digit.\")}function y(){if(a<48||a>57)throw d(\"Expected decimal digit.\");do{m()}while(a>=48&&a<=57)}Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(t){e=t,n=t.length,r=i=o=-1,m(),v();const a=l();return p(\"EOF\"),a}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-variables\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Variable\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],Variable:[s(\"variable\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.opt)((0,r.p)(\",\"))),(0,r.p)(\"}\")],ObjectField:[s(\"attribute\"),(0,r.p)(\":\"),\"Value\"]};function s(e){return{style:e,match:e=>\"String\"===e.kind,update(e,t){e.name=t.value.slice(1,-1)}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(53),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.HeaderEditor=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(e){super(e),a(this,\"CodeMirror\",void 0),a(this,\"editor\",null),a(this,\"cachedValue\",void 0),a(this,\"_node\",null),a(this,\"ignoreChangeEvent\",!1),a(this,\"_onKeyUp\",(e,t)=>{const n=t.keyCode;this.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&this.editor.execCommand(\"autocomplete\")}),a(this,\"_onEdit\",()=>{this.editor&&(this.ignoreChangeEvent||(this.cachedValue=this.editor.getValue(),this.props.onEdit&&this.props.onEdit(this.cachedValue)))}),a(this,\"_onHasCompletion\",(e,t)=>{(0,r.default)(e,t,this.props.onHintInformationRender)}),this.cachedValue=e.value||\"\"}componentDidMount(){this.CodeMirror=n(10),n(54),n(41),n(55),n(43),n(42),n(56),n(33),n(44),n(34),n(195),n(45);const e=this.editor=this.CodeMirror(this._node,{value:this.props.value||\"\",lineNumbers:!0,tabSize:2,mode:{name:\"javascript\",json:!0},theme:this.props.editorTheme||\"graphiql\",keyMap:\"sublime\",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&\"nocursor\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-linenumbers\",\"CodeMirror-foldgutter\"],extraKeys:{\"Cmd-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Ctrl-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Alt-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Shift-Space\":()=>this.editor.showHint({completeSingle:!1,container:this._node}),\"Cmd-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Ctrl-Enter\":()=>{this.props.onRunQuery&&this.props.onRunQuery()},\"Shift-Ctrl-P\":()=>{this.props.onPrettifyQuery&&this.props.onPrettifyQuery()},\"Shift-Ctrl-M\":()=>{this.props.onMergeQuery&&this.props.onMergeQuery()},...i.default}});e.on(\"change\",this._onEdit),e.on(\"keyup\",this._onKeyUp),e.on(\"hasCompletion\",this._onHasCompletion)}componentDidUpdate(e){if(this.CodeMirror=n(10),this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){const e=this.props.value||\"\";this.cachedValue=e,this.editor.setValue(e)}this.ignoreChangeEvent=!1}}componentWillUnmount(){this.editor&&(this.editor.off(\"change\",this._onEdit),this.editor.off(\"keyup\",this._onKeyUp),this.editor.off(\"hasCompletion\",this._onHasCompletion),this.editor=null)}render(){return t.default.createElement(\"div\",{className:\"codemirrorWrap\",style:{position:this.props.active?\"relative\":\"absolute\",visibility:this.props.active?\"visible\":\"hidden\"},ref:e=>{this._node=e}})}getCodeMirror(){return this.editor}getClientHeight(){return this._node&&this._node.clientHeight}}e.HeaderEditor=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e;(e=n(10)).defineMode(\"javascript\",(function(t,n){var r,i,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\\w$\\xa1-\\uffff]/,f=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}}(),p=/[+\\-*&%=<>!?|~^@]/,d=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;function h(e,t,n){return r=e,i=n,t}function m(e,t){var n,r=e.next();if('\"'==r||\"'\"==r)return t.tokenize=(n=r,function(e,t){var r,i=!1;if(s&&\"@\"==e.peek()&&e.match(d))return t.tokenize=m,h(\"jsonld-keyword\",\"meta\");for(;null!=(r=e.next())&&(r!=n||i);)i=!i&&\"\\\\\"==r;return i||(t.tokenize=m),h(\"string\",\"string\")}),t.tokenize(e,t);if(\".\"==r&&e.match(/^\\d[\\d_]*(?:[eE][+\\-]?[\\d_]+)?/))return h(\"number\",\"number\");if(\".\"==r&&e.match(\"..\"))return h(\"spread\",\"meta\");if(/[\\[\\]{}\\(\\),;\\:\\.]/.test(r))return h(r);if(\"=\"==r&&e.eat(\">\"))return h(\"=>\",\"operator\");if(\"0\"==r&&e.match(/^(?:x[\\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return h(\"number\",\"number\");if(/\\d/.test(r))return e.match(/^[\\d_]*(?:n|(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)?/),h(\"number\",\"number\");if(\"/\"==r)return e.eat(\"*\")?(t.tokenize=v,v(e,t)):e.eat(\"/\")?(e.skipToEnd(),h(\"comment\",\"comment\")):Qe(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if(\"/\"==t&&!r)return;\"[\"==t?r=!0:r&&\"]\"==t&&(r=!1)}n=!n&&\"\\\\\"==t}}(e),e.match(/^\\b(([gimyus])(?![gimyus]*\\2))+\\b/),h(\"regexp\",\"string-2\")):(e.eat(\"=\"),h(\"operator\",\"operator\",e.current()));if(\"`\"==r)return t.tokenize=g,g(e,t);if(\"#\"==r&&\"!\"==e.peek())return e.skipToEnd(),h(\"meta\",\"meta\");if(\"#\"==r&&e.eatWhile(u))return h(\"variable\",\"property\");if(\"<\"==r&&e.match(\"!--\")||\"-\"==r&&e.match(\"->\")&&!/\\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),h(\"comment\",\"comment\");if(p.test(r))return\">\"==r&&t.lexical&&\">\"==t.lexical.type||(e.eat(\"=\")?\"!\"!=r&&\"=\"!=r||e.eat(\"=\"):/[<>*+\\-]/.test(r)&&(e.eat(r),\">\"==r&&e.eat(r))),\"?\"==r&&e.eat(\".\")?h(\".\"):h(\"operator\",\"operator\",e.current());if(u.test(r)){e.eatWhile(u);var i=e.current();if(\".\"!=t.lastType){if(f.propertyIsEnumerable(i)){var o=f[i];return h(o.type,o.style,i)}if(\"async\"==i&&e.match(/^(\\s|\\/\\*.*?\\*\\/)*[\\[\\(\\w]/,!1))return h(\"async\",\"keyword\",i)}return h(\"variable\",\"variable\",i)}}function v(e,t){for(var n,r=!1;n=e.next();){if(\"/\"==n&&r){t.tokenize=m;break}r=\"*\"==n}return h(\"comment\",\"comment\")}function g(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&(\"`\"==n||\"$\"==n&&e.eat(\"{\"))){t.tokenize=m;break}r=!r&&\"\\\\\"==n}return h(\"quasi\",\"string-2\",e.current())}function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf(\"=>\",e.start);if(!(n<0)){if(c){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 s=e.string.charAt(a),l=\"([{}])\".indexOf(s);if(l>=0&&l<3){if(!i){++a;break}if(0==--i){\"(\"==s&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(u.test(s))o=!0;else if(/[\"'\\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&\"\\\\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,\"jsonld-keyword\":!0};function T(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 E(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(n=r.vars;n;n=n.next)if(n.name==t)return!0}var O={state:null,column:null,marked:null,cc:null};function x(){for(var e=arguments.length-1;e>=0;e--)O.cc.push(arguments[e])}function _(){return x.apply(null,arguments),!0}function k(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function w(e){var t=O.state;if(O.marked=\"def\",t.context)if(\"var\"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,n){if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new S(r,n.vars,!0):null}return k(t,n.vars)?n:new S(n.prev,new N(t,n.vars),!1)}return null}(e,t.context);if(null!=r)return void(t.context=r)}else if(!k(e,t.localVars))return void(t.localVars=new N(e,t.localVars));n.globalVars&&!k(e,t.globalVars)&&(t.globalVars=new N(e,t.globalVars))}function C(e){return\"public\"==e||\"private\"==e||\"protected\"==e||\"abstract\"==e||\"readonly\"==e}function S(e,t,n){this.prev=e,this.vars=t,this.block=n}function N(e,t){this.name=e,this.next=t}var D=new N(\"this\",new N(\"arguments\",null));function I(){O.state.context=new S(O.state.context,O.state.localVars,!1),O.state.localVars=D}function A(){O.state.context=new S(O.state.context,O.state.localVars,!0),O.state.localVars=null}function L(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}function j(e,t){var n=function(){var n=O.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 T(r,O.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function F(){var e=O.state;e.lexical.prev&&(\")\"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function M(e){return function t(n){return n==e?_():\";\"==e||\"}\"==n||\")\"==n||\"]\"==n?x():_(t)}}function R(e,t){return\"var\"==e?_(j(\"vardef\",t),ye,M(\";\"),F):\"keyword a\"==e?_(j(\"form\"),B,R,F):\"keyword b\"==e?_(j(\"form\"),R,F):\"keyword d\"==e?O.stream.match(/^\\s*$/,!1)?_():_(j(\"stat\"),H,M(\";\"),F):\"debugger\"==e?_(M(\";\")):\"{\"==e?_(j(\"}\"),A,oe,F,L):\";\"==e?_():\"if\"==e?(\"else\"==O.state.lexical.info&&O.state.cc[O.state.cc.length-1]==F&&O.state.cc.pop()(),_(j(\"form\"),B,R,F,_e)):\"function\"==e?_(Se):\"for\"==e?_(j(\"form\"),ke,R,F):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\",\"class\"==e?e:t),Le,F)):\"variable\"==e?c&&\"declare\"==t?(O.marked=\"keyword\",_(R)):c&&(\"module\"==t||\"enum\"==t||\"type\"==t)&&O.stream.match(/^\\s*\\w/,!1)?(O.marked=\"keyword\",\"enum\"==t?_(Ge):\"type\"==t?_(De,M(\"operator\"),ue,M(\";\")):_(j(\"form\"),be,M(\"{\"),j(\"}\"),oe,F,F)):c&&\"namespace\"==t?(O.marked=\"keyword\",_(j(\"form\"),V,R,F)):c&&\"abstract\"==t?(O.marked=\"keyword\",_(R)):_(j(\"stat\"),X):\"switch\"==e?_(j(\"form\"),B,M(\"{\"),j(\"}\",\"switch\"),A,oe,F,F,L):\"case\"==e?_(V,M(\":\")):\"default\"==e?_(M(\":\")):\"catch\"==e?_(j(\"form\"),I,P,R,F,L):\"export\"==e?_(j(\"stat\"),Re,F):\"import\"==e?_(j(\"stat\"),Ve,F):\"async\"==e?_(R):\"@\"==t?_(V,R):x(j(\"stat\"),V,M(\";\"),F)}function P(e){if(\"(\"==e)return _(Ie,M(\")\"))}function V(e,t){return q(e,t,!1)}function U(e,t){return q(e,t,!0)}function B(e){return\"(\"!=e?x():_(j(\")\"),H,M(\")\"),F)}function q(e,t,n){if(O.state.fatArrowAt==O.stream.start){var r=n?Y:W;if(\"(\"==e)return _(I,j(\")\"),re(Ie,\")\"),F,M(\"=>\"),r,L);if(\"variable\"==e)return x(I,be,M(\"=>\"),r,L)}var i=n?G:z;return b.hasOwnProperty(e)?_(i):\"function\"==e?_(Se,i):\"class\"==e||c&&\"interface\"==t?(O.marked=\"keyword\",_(j(\"form\"),Ae,F)):\"keyword c\"==e||\"async\"==e?_(n?U:V):\"(\"==e?_(j(\")\"),H,M(\")\"),F,i):\"operator\"==e||\"spread\"==e?_(n?U:V):\"[\"==e?_(j(\"]\"),ze,F,i):\"{\"==e?ie(ee,\"}\",null,i):\"quasi\"==e?x(K,i):\"new\"==e?_(function(e){return function(t){return\".\"==t?_(e?$:J):\"variable\"==t&&c?_(me,e?G:z):x(e?U:V)}}(n)):\"import\"==e?_(V):_()}function H(e){return e.match(/[;\\}\\)\\],]/)?x():x(V)}function z(e,t){return\",\"==e?_(H):G(e,t,!1)}function G(e,t,n){var r=0==n?z:G,i=0==n?V:U;return\"=>\"==e?_(I,n?Y:W,L):\"operator\"==e?/\\+\\+|--/.test(t)||c&&\"!\"==t?_(r):c&&\"<\"==t&&O.stream.match(/^([^<>]|<[^<>]*>)*>\\s*\\(/,!1)?_(j(\">\"),re(ue,\">\"),F,r):\"?\"==t?_(V,M(\":\"),i):_(i):\"quasi\"==e?x(K,r):\";\"!=e?\"(\"==e?ie(U,\")\",\"call\",r):\".\"==e?_(Z,r):\"[\"==e?_(j(\"]\"),H,M(\"]\"),F,r):c&&\"as\"==t?(O.marked=\"keyword\",_(ue,r)):\"regexp\"==e?(O.state.lastType=O.marked=\"operator\",O.stream.backUp(O.stream.pos-O.stream.start-1),_(i)):void 0:void 0}function K(e,t){return\"quasi\"!=e?x():\"${\"!=t.slice(t.length-2)?_(K):_(V,Q)}function Q(e){if(\"}\"==e)return O.marked=\"string-2\",O.state.tokenize=g,_(K)}function W(e){return y(O.stream,O.state),x(\"{\"==e?R:V)}function Y(e){return y(O.stream,O.state),x(\"{\"==e?R:U)}function J(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(z)}function $(e,t){if(\"target\"==t)return O.marked=\"keyword\",_(G)}function X(e){return\":\"==e?_(F,R):x(z,M(\";\"),F)}function Z(e){if(\"variable\"==e)return O.marked=\"property\",_()}function ee(e,t){return\"async\"==e?(O.marked=\"property\",_(ee)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",\"get\"==t||\"set\"==t?_(te):(c&&O.state.fatArrowAt==O.stream.start&&(n=O.stream.match(/^\\s*:\\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+n[0].length),_(ne))):\"number\"==e||\"string\"==e?(O.marked=s?\"property\":O.style+\" property\",_(ne)):\"jsonld-keyword\"==e?_(ne):c&&C(t)?(O.marked=\"keyword\",_(ee)):\"[\"==e?_(V,ae,M(\"]\"),ne):\"spread\"==e?_(U,ne):\"*\"==t?(O.marked=\"keyword\",_(ee)):\":\"==e?x(ne):void 0;var n}function te(e){return\"variable\"!=e?x(ne):(O.marked=\"property\",_(Se))}function ne(e){return\":\"==e?_(U):\"(\"==e?x(Se):void 0}function re(e,t,n){function r(i,o){if(n?n.indexOf(i)>-1:\",\"==i){var a=O.state.lexical;return\"call\"==a.info&&(a.pos=(a.pos||0)+1),_((function(n,r){return n==t||r==t?x():x(e)}),r)}return i==t||o==t?_():n&&n.indexOf(\";\")>-1?x(e):_(M(t))}return function(n,i){return n==t||i==t?_():x(e,r)}}function ie(e,t,n){for(var r=3;r<arguments.length;r++)O.cc.push(arguments[r]);return _(j(t,n),re(e,t),F)}function oe(e){return\"}\"==e?_():x(R,oe)}function ae(e,t){if(c){if(\":\"==e)return _(ue);if(\"?\"==t)return _(ae)}}function se(e,t){if(c&&(\":\"==e||\"in\"==t))return _(ue)}function le(e){if(c&&\":\"==e)return O.stream.match(/^\\s*\\w+\\s+is\\b/,!1)?_(V,ce,ue):_(ue)}function ce(e,t){if(\"is\"==t)return O.marked=\"keyword\",_()}function ue(e,t){return\"keyof\"==t||\"typeof\"==t||\"infer\"==t?(O.marked=\"keyword\",_(\"typeof\"==t?U:ue)):\"variable\"==e||\"void\"==t?(O.marked=\"type\",_(he)):\"|\"==t||\"&\"==t?_(ue):\"string\"==e||\"number\"==e||\"atom\"==e?_(he):\"[\"==e?_(j(\"]\"),re(ue,\"]\",\",\"),F,he):\"{\"==e?_(j(\"}\"),re(pe,\"}\",\",;\"),F,he):\"(\"==e?_(re(de,\")\"),fe,he):\"<\"==e?_(re(ue,\">\"),ue):void 0}function fe(e){if(\"=>\"==e)return _(ue)}function pe(e,t){return\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(pe)):\"?\"==t||\"number\"==e||\"string\"==e?_(pe):\":\"==e?_(ue):\"[\"==e?_(M(\"variable\"),se,M(\"]\"),pe):\"(\"==e?x(Ne,pe):void 0}function de(e,t){return\"variable\"==e&&O.stream.match(/^\\s*[?:]/,!1)||\"?\"==t?_(de):\":\"==e?_(ue):\"spread\"==e?_(de):x(ue)}function he(e,t){return\"<\"==t?_(j(\">\"),re(ue,\">\"),F,he):\"|\"==t||\".\"==e||\"&\"==t?_(ue):\"[\"==e?_(ue,M(\"]\"),he):\"extends\"==t||\"implements\"==t?(O.marked=\"keyword\",_(ue)):\"?\"==t?_(ue,M(\":\"),ue):void 0}function me(e,t){if(\"<\"==t)return _(j(\">\"),re(ue,\">\"),F,he)}function ve(){return x(ue,ge)}function ge(e,t){if(\"=\"==t)return _(ue)}function ye(e,t){return\"enum\"==t?(O.marked=\"keyword\",_(Ge)):x(be,ae,Oe,xe)}function be(e,t){return c&&C(t)?(O.marked=\"keyword\",_(be)):\"variable\"==e?(w(t),_()):\"spread\"==e?_(be):\"[\"==e?ie(Ee,\"]\"):\"{\"==e?ie(Te,\"}\"):void 0}function Te(e,t){return\"variable\"!=e||O.stream.match(/^\\s*:/,!1)?(\"variable\"==e&&(O.marked=\"property\"),\"spread\"==e?_(be):\"}\"==e?x():\"[\"==e?_(V,M(\"]\"),M(\":\"),Te):_(M(\":\"),be,Oe)):(w(t),_(Oe))}function Ee(){return x(be,Oe)}function Oe(e,t){if(\"=\"==t)return _(U)}function xe(e){if(\",\"==e)return _(ye)}function _e(e,t){if(\"keyword b\"==e&&\"else\"==t)return _(j(\"form\",\"else\"),R,F)}function ke(e,t){return\"await\"==t?_(ke):\"(\"==e?_(j(\")\"),we,F):void 0}function we(e){return\"var\"==e?_(ye,Ce):\"variable\"==e?_(Ce):x(Ce)}function Ce(e,t){return\")\"==e?_():\";\"==e?_(Ce):\"in\"==t||\"of\"==t?(O.marked=\"keyword\",_(V,Ce)):x(V,Ce)}function Se(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Se)):\"variable\"==e?(w(t),_(Se)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,R,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Se):void 0}function Ne(e,t){return\"*\"==t?(O.marked=\"keyword\",_(Ne)):\"variable\"==e?(w(t),_(Ne)):\"(\"==e?_(I,j(\")\"),re(Ie,\")\"),F,le,L):c&&\"<\"==t?_(j(\">\"),re(ve,\">\"),F,Ne):void 0}function De(e,t){return\"keyword\"==e||\"variable\"==e?(O.marked=\"type\",_(De)):\"<\"==t?_(j(\">\"),re(ve,\">\"),F):void 0}function Ie(e,t){return\"@\"==t&&_(V,Ie),\"spread\"==e?_(Ie):c&&C(t)?(O.marked=\"keyword\",_(Ie)):c&&\"this\"==e?_(ae,Oe):x(be,ae,Oe)}function Ae(e,t){return\"variable\"==e?Le(e,t):je(e,t)}function Le(e,t){if(\"variable\"==e)return w(t),_(je)}function je(e,t){return\"<\"==t?_(j(\">\"),re(ve,\">\"),F,je):\"extends\"==t||\"implements\"==t||c&&\",\"==e?(\"implements\"==t&&(O.marked=\"keyword\"),_(c?ue:V,je)):\"{\"==e?_(j(\"}\"),Fe,F):void 0}function Fe(e,t){return\"async\"==e||\"variable\"==e&&(\"static\"==t||\"get\"==t||\"set\"==t||c&&C(t))&&O.stream.match(/^\\s+[\\w$\\xa1-\\uffff]/,!1)?(O.marked=\"keyword\",_(Fe)):\"variable\"==e||\"keyword\"==O.style?(O.marked=\"property\",_(Me,Fe)):\"number\"==e||\"string\"==e?_(Me,Fe):\"[\"==e?_(V,ae,M(\"]\"),Me,Fe):\"*\"==t?(O.marked=\"keyword\",_(Fe)):c&&\"(\"==e?x(Ne,Fe):\";\"==e||\",\"==e?_(Fe):\"}\"==e?_():\"@\"==t?_(V,Fe):void 0}function Me(e,t){if(\"?\"==t)return _(Me);if(\":\"==e)return _(ue,Oe);if(\"=\"==t)return _(U);var n=O.state.lexical.prev;return x(n&&\"interface\"==n.info?Ne:Se)}function Re(e,t){return\"*\"==t?(O.marked=\"keyword\",_(He,M(\";\"))):\"default\"==t?(O.marked=\"keyword\",_(V,M(\";\"))):\"{\"==e?_(re(Pe,\"}\"),He,M(\";\")):x(R)}function Pe(e,t){return\"as\"==t?(O.marked=\"keyword\",_(M(\"variable\"))):\"variable\"==e?x(U,Pe):void 0}function Ve(e){return\"string\"==e?_():\"(\"==e?x(V):x(Ue,Be,He)}function Ue(e,t){return\"{\"==e?ie(Ue,\"}\"):(\"variable\"==e&&w(t),\"*\"==t&&(O.marked=\"keyword\"),_(qe))}function Be(e){if(\",\"==e)return _(Ue,Be)}function qe(e,t){if(\"as\"==t)return O.marked=\"keyword\",_(Ue)}function He(e,t){if(\"from\"==t)return O.marked=\"keyword\",_(V)}function ze(e){return\"]\"==e?_():x(re(U,\"]\"))}function Ge(){return x(j(\"form\"),be,M(\"{\"),j(\"}\"),re(Ke,\"}\"),F,F)}function Ke(){return x(be,Oe)}function Qe(e,t,n){return t.tokenize==m&&/^(?: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)))}return L.lex=!0,F.lex=!0,{startState:function(e){var t={tokenize:m,lastType:\"sof\",cc:[],lexical:new T((e||0)-o,0,\"block\",!1),localVars:n.localVars,context:n.localVars&&new S(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(),y(e,t)),t.tokenize!=v&&e.eatSpace())return null;var n=t.tokenize(e,t);return\"comment\"==r?n:(t.lastType=\"operator\"!=r||\"++\"!=i&&\"--\"!=i?r:\"incdec\",function(e,t,n,r,i){var o=e.cc;for(O.state=e,O.stream=i,O.marked=null,O.cc=o,O.style=t,e.lexical.hasOwnProperty(\"align\")||(e.lexical.align=!0);;)if((o.length?o.pop():l?V:R)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return O.marked?O.marked:\"variable\"==n&&E(e,r)?\"variable-2\":t}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==v)return e.Pass;if(t.tokenize!=m)return 0;var i,s=r&&r.charAt(0),l=t.lexical;if(!/^\\s*else\\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==F)l=l.prev;else if(u!=_e)break}for(;(\"stat\"==l.type||\"form\"==l.type)&&(\"}\"==s||(i=t.cc[t.cc.length-1])&&(i==z||i==G)&&!/^[,\\.=+\\-*:?[\\(]/.test(r));)l=l.prev;a&&\")\"==l.type&&\"stat\"==l.prev.type&&(l=l.prev);var f=l.type,d=s==f;return\"vardef\"==f?l.indented+(\"operator\"==t.lastType||\",\"==t.lastType?l.info.length+1:0):\"form\"==f&&\"{\"==s?l.indented:\"form\"==f?l.indented+o:\"stat\"==f?l.indented+(function(e,t){return\"operator\"==e.lastType||\",\"==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||o:0):\"switch\"!=l.info||d||0==n.doubleIndentSwitch?l.align?l.column+(d?0:1):l.indented+(d?0:o):l.indented+(/^(?:case|default)\\b/.test(r)?o:2*o)},electricInput:/^\\s*(?:case .*?:|default:|\\{|\\})$/,blockCommentStart:l?null:\"/*\",blockCommentEnd:l?null:\"*/\",blockCommentContinue:l?null:\" * \",lineComment:l?null:\"//\",fold:\"brace\",closeBrackets:\"()[]{}''\\\"\\\"``\",helperType:l?\"json\":\"javascript\",jsonldMode:s,jsonMode:l,expressionAllowed:Qe,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=V&&t!=U||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})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(197),n(40)],void 0===(o=\"function\"==typeof(r=function(e,t,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.ResultViewer=void 0,t=o(t),r=o(r),i=o(i);class s extends t.default.Component{constructor(...e){super(...e),a(this,\"viewer\",null),a(this,\"_node\",null)}componentDidMount(){const e=n(10);n(42),n(43),n(34),n(69),n(33),n(44),n(45),n(198);const o=this.props.ResultsTooltip,a=this.props.ImagePreview;if(o||a){n(83);const i=document.createElement(\"div\");e.registerHelper(\"info\",\"graphql-results\",(e,n,s,l)=>{const c=[];return o&&c.push(t.default.createElement(o,{pos:l})),a&&\"function\"==typeof a.shouldRender&&a.shouldRender(e)&&c.push(t.default.createElement(a,{token:e})),c.length?(r.default.render(t.default.createElement(\"div\",null,c),i),i):(r.default.unmountComponentAtNode(i),null)})}this.viewer=e(this._node,{lineWrapping:!0,value:this.props.value||\"\",readOnly:!0,theme:this.props.editorTheme||\"graphiql\",mode:\"graphql-results\",keyMap:\"sublime\",foldGutter:{minFoldSize:4},gutters:[\"CodeMirror-foldgutter\"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:i.default})}shouldComponentUpdate(e){return this.props.value!==e.value}componentDidUpdate(){this.viewer&&this.viewer.setValue(this.props.value||\"\")}componentWillUnmount(){this.viewer=null}render(){return t.default.createElement(\"section\",{className:\"result-window\",\"aria-label\":\"Result Window\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",ref:e=>{e&&(this.props.registerRef(e),this._node=e)}})}getCodeMirror(){return this.viewer}getClientHeight(){return this._node&&this._node.clientHeight}}e.ResultViewer=s})?r.apply(t,i):r)||(e.exports=o)},function(e,t){e.exports=window.ReactDOM},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[],void 0===(o=\"function\"==typeof(r=function(){\"use strict\";var e,t=(e=n(10))&&e.__esModule?e:{default:e},r=n(36);function i(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}t.default.defineMode(\"graphql-results\",e=>{const t=(0,r.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:o,parseRules:a,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:i,electricInput:/^\\s*[}\\]]/,fold:\"brace\",closeBrackets:{pairs:'[]{}\"\"',explode:\"[]{}\"}}});const o={Punctuation:/^\\[|]|\\{|\\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,Keyword:/^true|false|null/},a={Document:[(0,r.p)(\"{\"),(0,r.list)(\"Entry\",(0,r.p)(\",\")),(0,r.p)(\"}\")],Entry:[(0,r.t)(\"String\",\"def\"),(0,r.p)(\":\"),\"Value\"],Value(e){switch(e.kind){case\"Number\":return\"NumberValue\";case\"String\":return\"StringValue\";case\"Punctuation\":switch(e.value){case\"[\":return\"ListValue\";case\"{\":return\"ObjectValue\"}return null;case\"Keyword\":switch(e.value){case\"true\":case\"false\":return\"BooleanValue\";case\"null\":return\"NullValue\"}return null}},NumberValue:[(0,r.t)(\"Number\",\"number\")],StringValue:[(0,r.t)(\"String\",\"string\")],BooleanValue:[(0,r.t)(\"Keyword\",\"builtin\")],NullValue:[(0,r.t)(\"Keyword\",\"keyword\")],ListValue:[(0,r.p)(\"[\"),(0,r.list)(\"Value\",(0,r.p)(\",\")),(0,r.p)(\"]\")],ObjectValue:[(0,r.p)(\"{\"),(0,r.list)(\"ObjectField\",(0,r.p)(\",\")),(0,r.p)(\"}\")],ObjectField:[(0,r.t)(\"String\",\"property\"),(0,r.p)(\":\"),\"Value\"]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(200),n(202),n(203),n(204),n(205)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a,s){\"use strict\";function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.DocExplorer=void 0,t=l(t),r=l(r),i=l(i),o=l(o),a=l(a),s=l(s);const u={name:\"Schema\",title:\"Documentation Explorer\"};class f extends t.default.Component{constructor(e){super(e),c(this,\"handleNavBackClick\",()=>{this.state.navStack.length>1&&this.setState({navStack:this.state.navStack.slice(0,-1)})}),c(this,\"handleClickType\",e=>{this.showDoc(e)}),c(this,\"handleClickField\",e=>{this.showDoc(e)}),c(this,\"handleSearch\",e=>{this.showSearch(e)}),this.state={navStack:[u]}}shouldComponentUpdate(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack}render(){const{schema:e}=this.props,l=this.state.navStack,c=l[l.length-1];let u;u=void 0===e?t.default.createElement(\"div\",{className:\"spinner-container\"},t.default.createElement(\"div\",{className:\"spinner\"})):e?c.search?t.default.createElement(a.default,{searchValue:c.search,withinType:c.def,schema:e,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===l.length?t.default.createElement(i.default,{schema:e,onClickType:this.handleClickType}):(0,n.isType)(c.def)?t.default.createElement(s.default,{schema:e,type:c.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):t.default.createElement(r.default,{field:c.def,onClickType:this.handleClickType}):t.default.createElement(\"div\",{className:\"error-container\"},\"No Schema Available\");const f=1===l.length||(0,n.isType)(c.def)&&\"getFields\"in c.def;let p;return l.length>1&&(p=l[l.length-2].name),t.default.createElement(\"section\",{className:\"doc-explorer\",key:c.name,\"aria-label\":\"Documentation Explorer\"},t.default.createElement(\"div\",{className:\"doc-explorer-title-bar\"},p&&t.default.createElement(\"button\",{className:\"doc-explorer-back\",onClick:this.handleNavBackClick,\"aria-label\":\"Go back to \"+p},p),t.default.createElement(\"div\",{className:\"doc-explorer-title\"},c.title||c.name),t.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),t.default.createElement(\"div\",{className:\"doc-explorer-contents\"},f&&t.default.createElement(o.default,{value:c.search,placeholder:`Search ${c.name}...`,onSearch:this.handleSearch}),u))}showDoc(e){const t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})}showDocForReference(e){e&&\"Type\"===e.kind?this.showDoc(e.type):\"Field\"===e.kind||\"Argument\"===e.kind&&e.field?this.showDoc(e.field):\"EnumValue\"===e.kind&&e.type&&this.showDoc(e.type)}showSearch(e){const t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]={...n,search:e},this.setState({navStack:t})}reset(){this.setState({navStack:[u]})}}e.DocExplorer=f})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(201),n(59),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o){\"use strict\";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({field:e,onClickType:a}){let s,l;return e&&\"args\"in e&&e.args.length>0&&(s=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"arguments\"),e.args.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(n.default,{arg:e,onClickType:a})),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}))))),e&&e.astNode&&e.astNode.directives&&e.astNode.directives.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"directives\"),e.astNode.directives.map(e=>t.default.createElement(\"div\",{key:e.name.value,className:\"doc-category-item\"},t.default.createElement(\"div\",null,t.default.createElement(r.default,{directive:e})))))),t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:(null==e?void 0:e.description)||\"No Description\"}),e&&\"deprecationReason\"in e&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:null==e?void 0:e.deprecationReason}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"type\"),t.default.createElement(o.default,{type:null==e?void 0:e.type,onClick:a})),s,l)},t=a(t),n=a(n),r=a(r),i=a(i),o=a(o)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({directive:e}){return t.default.createElement(\"span\",{className:\"doc-category-item\",id:e.name.value},\"@\",e.name.value)},t=(n=t)&&n.__esModule?n:{default:n}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(37),n(59)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function({schema:e,onClickType:i}){const o=e.getQueryType(),a=e.getMutationType&&e.getMutationType(),s=e.getSubscriptionType&&e.getSubscriptionType();return t.default.createElement(\"div\",null,t.default.createElement(r.default,{className:\"doc-type-description\",markdown:\"A GraphQL schema provides a root type for each kind of operation.\"}),t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"root types\"),t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"query\"),\": \",t.default.createElement(n.default,{type:o,onClick:i})),a&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"mutation\"),\": \",t.default.createElement(n.default,{type:a,onClick:i})),s&&t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"span\",{className:\"keyword\"},\"subscription\"),\": \",t.default.createElement(n.default,{type:s,onClick:i}))))},t=i(t),n=i(n),r=i(r)})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(85)],void 0===(o=\"function\"==typeof(r=function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=r(t),n=r(n);class o extends t.default.Component{constructor(e){super(e),i(this,\"debouncedOnSearch\",void 0),i(this,\"handleChange\",e=>{const t=e.currentTarget.value;this.setState({value:t}),this.debouncedOnSearch(t)}),i(this,\"handleClear\",()=>{this.setState({value:\"\"}),this.props.onSearch(\"\")}),this.state={value:e.value||\"\"},this.debouncedOnSearch=(0,n.default)(200,this.props.onSearch)}render(){return t.default.createElement(\"label\",{className:\"search-box\"},t.default.createElement(\"div\",{className:\"search-box-icon\",\"aria-hidden\":\"true\"},\"\u26B2\"),t.default.createElement(\"input\",{value:this.state.value,onChange:this.handleChange,type:\"text\",placeholder:this.props.placeholder,\"aria-label\":this.props.placeholder}),this.state.value&&t.default.createElement(\"button\",{className:\"search-box-clear\",onClick:this.handleClear,\"aria-label\":\"Clear search input\"},\"\u2715\"))}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(58),n(37)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r){\"use strict\";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=i(t),n=i(n),r=i(r);class o extends t.default.Component{shouldComponentUpdate(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue}render(){const e=this.props.searchValue,i=this.props.withinType,o=this.props.schema,s=this.props.onClickType,l=this.props.onClickField,c=[],u=[],f=[],p=o.getTypeMap();let d=Object.keys(p);i&&(d=d.filter(e=>e!==i.name),d.unshift(i.name));for(const o of d){if(c.length+u.length+f.length>=100)break;const d=p[o];if(i!==d&&a(o,e)&&u.push(t.default.createElement(\"div\",{className:\"doc-category-item\",key:o},t.default.createElement(r.default,{type:d,onClick:s}))),\"getFields\"in d){const u=d.getFields();Object.keys(u).forEach(p=>{const h=u[p];let m;if(!a(p,e)){if(!(\"args\"in h)||!h.args.length)return;if(m=h.args.filter(t=>a(t.name,e)),0===m.length)return}const v=t.default.createElement(\"div\",{className:\"doc-category-item\",key:o+\".\"+p},i!==d&&[t.default.createElement(r.default,{key:\"type\",type:d,onClick:s}),\".\"],t.default.createElement(\"a\",{className:\"field-name\",onClick:e=>l(h,d,e)},h.name),m&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},m.map(e=>t.default.createElement(n.default,{key:e.name,arg:e,onClickType:s,showDefaultValue:!1}))),\")\"]);i===d?c.push(v):f.push(v)})}}return c.length+u.length+f.length===0?t.default.createElement(\"span\",{className:\"doc-alert-text\"},\"No results found.\"):i&&u.length+f.length>0?t.default.createElement(\"div\",null,c,t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"other results\"),u,f)):t.default.createElement(\"div\",null,c,u,f)}}function a(e,t){try{const n=t.replace(/[^_0-9A-Za-z]/g,e=>\"\\\\\"+e);return-1!==e.search(new RegExp(n,\"i\"))}catch(n){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}e.default=o})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16),n(14),n(58),n(59),n(37),n(84)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i,o,a){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=s(t),r=s(r),i=s(i),o=s(o),a=s(a);class l extends t.default.Component{constructor(e){var t,n,r;super(e),r=()=>this.setState({showDeprecated:!0}),(n=\"handleShowDeprecated\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.state={showDeprecated:!1}}shouldComponentUpdate(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated}render(){const e=this.props.schema,r=this.props.type,a=this.props.onClickType,s=this.props.onClickField;let l,f,p,d,h,m=null,v=[];if(r instanceof n.GraphQLUnionType?(m=\"possible types\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLInterfaceType?(m=\"implementations\",v=e.getPossibleTypes(r)):r instanceof n.GraphQLObjectType&&(m=\"implements\",v=r.getInterfaces()),v&&v.length>0&&(l=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},m),v.map(e=>t.default.createElement(\"div\",{key:e.name,className:\"doc-category-item\"},t.default.createElement(o.default,{type:e,onClick:a}))))),\"getFields\"in r){const e=r.getFields(),n=Object.keys(e).map(t=>e[t]);f=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"fields\"),n.filter(e=>!(\"isDeprecated\"in e)||!e.isDeprecated).map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})));const i=n.filter(e=>\"isDeprecated\"in e&&e.isDeprecated);i.length>0&&(p=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated fields\"),this.state.showDeprecated?i.map(e=>t.default.createElement(c,{key:e.name,type:r,field:e,onClickType:a,onClickField:s})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated fields...\")))}if(r instanceof n.GraphQLEnumType){const e=r.getValues();d=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"values\"),e.filter(e=>!e.isDeprecated).map(e=>t.default.createElement(u,{key:e.name,value:e})));const n=e.filter(e=>e.isDeprecated);n.length>0&&(h=t.default.createElement(\"div\",{className:\"doc-category\"},t.default.createElement(\"div\",{className:\"doc-category-title\"},\"deprecated values\"),this.state.showDeprecated?n.map(e=>t.default.createElement(u,{key:e.name,value:e})):t.default.createElement(\"button\",{className:\"show-btn\",onClick:this.handleShowDeprecated},\"Show deprecated values...\")))}return t.default.createElement(\"div\",null,t.default.createElement(i.default,{className:\"doc-type-description\",markdown:\"description\"in r&&r.description||\"No Description\"}),r instanceof n.GraphQLObjectType&&l,f,p,d,h,!(r instanceof n.GraphQLObjectType)&&l)}}function c({type:e,field:n,onClickType:s,onClickField:l}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"a\",{className:\"field-name\",onClick:t=>l(n,e,t)},n.name),\"args\"in n&&n.args&&n.args.length>0&&[\"(\",t.default.createElement(\"span\",{key:\"args\"},n.args.map(e=>t.default.createElement(r.default,{key:e.name,arg:e,onClickType:s}))),\")\"],\": \",t.default.createElement(o.default,{type:n.type,onClick:s}),t.default.createElement(a.default,{field:n}),n.description&&t.default.createElement(i.default,{className:\"field-short-description\",markdown:n.description}),\"deprecationReason\"in n&&n.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:n.deprecationReason}))}function u({value:e}){return t.default.createElement(\"div\",{className:\"doc-category-item\"},t.default.createElement(\"div\",{className:\"enum-value\"},e.name),t.default.createElement(i.default,{className:\"doc-value-description\",markdown:e.description}),e.deprecationReason&&t.default.createElement(i.default,{className:\"doc-deprecation\",markdown:e.deprecationReason}))}e.default=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14),n(16),n(207),n(208)],void 0===(o=\"function\"==typeof(r=function(e,t,n,r,i){\"use strict\";function o(e){return e&&e.__esModule?e:{default:e}}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,\"__esModule\",{value:!0}),e.QueryHistory=void 0,n=o(n),r=o(r),i=o(i);class l extends n.default.Component{constructor(e){super(e),s(this,\"historyStore\",void 0),s(this,\"favoriteStore\",void 0),s(this,\"updateHistory\",(e,n,r,i)=>{if(((e,n,r,i)=>{if(!e)return!1;try{(0,t.parse)(e)}catch(e){return!1}if(e.length>1e5)return!1;if(!i)return!0;if(JSON.stringify(e)===JSON.stringify(i.query)){if(JSON.stringify(n)===JSON.stringify(i.variables)){if(JSON.stringify(r)===JSON.stringify(i.headers))return!1;if(r&&!i.headers)return!1}if(n&&!i.variables)return!1}return!0})(e,n,r,this.historyStore.fetchRecent())){this.historyStore.push({query:e,variables:n,headers:r,operationName:i});const t=this.historyStore.items,o=this.favoriteStore.items,a=t.concat(o);this.setState({queries:a})}}),s(this,\"toggleFavorite\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};this.favoriteStore.contains(a)?o&&(a.favorite=!1,this.favoriteStore.delete(a)):(a.favorite=!0,this.favoriteStore.push(a)),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),s(this,\"editLabel\",(e,t,n,r,i,o)=>{const a={query:e,variables:t,headers:n,operationName:r,label:i};o?this.favoriteStore.edit({...a,favorite:o}):this.historyStore.edit(a),this.setState({queries:[...this.historyStore.items,...this.favoriteStore.items]})}),this.historyStore=new r.default(\"queries\",e.storage,20),this.favoriteStore=new r.default(\"favorites\",e.storage,null);const n=this.historyStore.fetchAll(),i=this.favoriteStore.fetchAll(),o=n.concat(i);this.state={queries:o}}render(){const e=this.state.queries.slice().reverse().map((e,t)=>n.default.createElement(i.default,a({handleEditLabel:this.editLabel,handleToggleFavorite:this.toggleFavorite,key:`${t}:${e.label||e.query}`,onSelect:this.props.onSelectQuery},e)));return n.default.createElement(\"section\",{\"aria-label\":\"History\"},n.default.createElement(\"div\",{className:\"history-title-bar\"},n.default.createElement(\"div\",{className:\"history-title\"},\"History\"),n.default.createElement(\"div\",{className:\"doc-explorer-rhs\"},this.props.children)),n.default.createElement(\"ul\",{className:\"history-contents\"},e))}}e.QueryHistory=l})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"items\",void 0),this.items=this.fetchAll()}get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1,e),this.save())}delete(e){const t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items[this.items.length-1]}fetchAll(){const e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){const t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){const e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(e&&e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(16)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";var n;Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,t=(n=t)&&n.__esModule?n:{default:n};class r extends t.default.Component{constructor(e){super(e),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"editField\",void 0),this.state={editable:!1},this.editField=null}render(){var e;const n=this.props.label||this.props.operationName||(null===(e=this.props.query)||void 0===e?void 0:e.split(\"\\n\").filter(e=>0!==e.indexOf(\"#\")).join(\"\")),r=this.props.favorite?\"\u2605\":\"\u2606\";return t.default.createElement(\"li\",{className:this.state.editable?\"editable\":void 0},this.state.editable?t.default.createElement(\"input\",{type:\"text\",defaultValue:this.props.label,ref:e=>{this.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:\"Type a label\"}):t.default.createElement(\"button\",{className:\"history-label\",onClick:this.handleClick.bind(this)},n),t.default.createElement(\"button\",{onClick:this.handleEditClick.bind(this),\"aria-label\":\"Edit label\"},\"\u270E\"),t.default.createElement(\"button\",{className:this.props.favorite?\"favorited\":void 0,onClick:this.handleStarClick.bind(this),\"aria-label\":this.props.favorite?\"Remove favorite\":\"Add favorite\"},r))}handleClick(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)}handleStarClick(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)}handleFieldBlur(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)}handleFieldKeyDown(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))}handleEditClick(e){e.stopPropagation(),this.setState({editable:!0},()=>{this.editField&&this.editField.focus()})}}e.default=r})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(){var e,t,n;n=[],(t=\"sizes\")in(e=this)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}updateSizes(e){e.forEach((e,t)=>{if(e){const n=e.getClientHeight();if(t<=this.sizes.length&&n!==this.sizes[t]){const t=e.getCodeMirror();t&&t.setSize(null,null)}this.sizes[t]=n}})}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0,e.default=class{constructor(e){var t,n,r;r=void 0,(n=\"storage\")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.storage=e||(\"undefined\"!=typeof window?window.localStorage:null)}get(e){if(this.storage){const t=this.storage.getItem(\"graphiql:\"+e);if(\"null\"===t||\"undefined\"===t)return this.storage.removeItem(\"graphiql:\"+e),null;if(t)return t}return null}set(e,t){let n=!1,r=null;if(this.storage){const i=\"graphiql:\"+e;if(t)try{this.storage.setItem(i,t)}catch(e){r=e,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||\"QuotaExceededError\"===t.name||\"NS_ERROR_DOM_QUOTA_REACHED\"===t.name)&&0!==e.length}(this.storage,e)}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,n){const r=Object.create(null);return n.definitions.forEach(n=>{if(\"OperationDefinition\"===n.kind){const i=n.variableDefinitions;i&&i.forEach(({variable:n,type:i})=>{const o=(0,t.typeFromAST)(e,i);o&&(r[n.name.value]=o)})}}),r}Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,r){if(!r)return;let i;try{i=(0,t.parse)(r)}catch{return}const o=e?n(e,i):void 0,a=[];return i.definitions.forEach(e=>{\"OperationDefinition\"===e.kind&&a.push(e)}),{variableToType:o,operations:a}},e.collectVariables=n})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t,n){if(!n||n.length<1)return;const r=n.map(e=>e.name&&e.name.value);if(t&&-1!==r.indexOf(t))return t;if(t&&e){const n=e.map(e=>e.name&&e.name.value).indexOf(t);if(-1!==n&&n<r.length)return r[n]}return r[0]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e){if(!(\"getFields\"in e))return[];const n=e.getFields();if(n.id)return[\"id\"];if(n.edges)return[\"edges\"];if(n.node)return[\"node\"];const r=[];return Object.keys(n).forEach(e=>{(0,t.isLeafType)(n[e].type)&&r.push(e)}),r}function r(e,t){if(0===t.length)return e;let n=\"\",r=0;return t.forEach(({index:t,string:i})=>{n+=e.slice(r,t)+i,r=t}),n+=e.slice(r),n}Object.defineProperty(e,\"__esModule\",{value:!0}),e.fillLeafs=function(e,i,o){const a=[];if(!e||!i)return{insertions:a,result:i};let s;try{s=(0,t.parse)(i)}catch(e){return{insertions:a,result:i}}const l=o||n,c=new t.TypeInfo(e);return(0,t.visit)(s,{leave(e){c.leave(e)},enter(e){if(c.enter(e),\"Field\"===e.kind&&!e.selectionSet){const n=function e(n,r){const i=(0,t.getNamedType)(n);if(!n||(0,t.isLeafType)(n))return;const o=r(i);return Array.isArray(o)&&0!==o.length&&\"getFields\"in i?{kind:\"SelectionSet\",selections:o.map(t=>{const n=i.getFields()[t],o=n?n.type:null;return{kind:\"Field\",name:{kind:\"Name\",value:t},selectionSet:e(o,r)}})}:void 0}(function(e){if(e)return e}(c.getType()),l);if(n&&e.loc){const r=function(e,t){let n=t,r=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.substring(n,r)}(i,e.loc.start);a.push({index:e.loc.end,string:\" \"+(0,t.print)(n).replace(/\\n/g,\"\\n\"+r)})}}}}),{insertions:a,result:r(i,a)}}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t],void 0===(o=\"function\"==typeof(r=function(e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getLeft=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t},e.getTop=function(e){let t=0,n=e;for(;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";function n(e,t){const n=new Map,r=[];for(const i of e)if(\"Field\"===i.kind){const e=t(i),o=n.get(e);if(i.directives&&i.directives.length){const e={...i};r.push(e)}else if(o&&o.selectionSet&&i.selectionSet)o.selectionSet.selections=[...o.selectionSet.selections,...i.selectionSet.selections];else if(!o){const t={...i};n.set(e,t),r.push(t)}}else r.push(i);return r}function r(e,n,i){const o=i?(0,t.getNamedType)(i).name:null,a=[],s=[];for(let t of n){var l;if(\"FragmentSpread\"===t.kind){const n=t.name.value;if(!t.directives||0===t.directives.length){if(s.indexOf(n)>=0)continue;s.push(n)}const r=e[t.name.value];if(r){const{typeCondition:e,directives:n,selectionSet:i}=r;t={kind:\"InlineFragment\",typeCondition:e,directives:n,selectionSet:i}}}if(\"InlineFragment\"===t.kind&&(!t.directives||0===(null===(l=t.directives)||void 0===l?void 0:l.length))){const n=t.typeCondition?t.typeCondition.name.value:null;if(!n||n===o){a.push(...r(e,t.selectionSet.selections,i));continue}}a.push(t)}return a}Object.defineProperty(e,\"__esModule\",{value:!0}),e.uniqueBy=n,e.inlineRelevantFragmentSpreads=r,e.default=function(e,i){const o=i?new t.TypeInfo(i):null,a=Object.create(null);for(const t of e.definitions)\"FragmentDefinition\"===t.kind&&(a[t.name.value]=t);const s={SelectionSet(e){const t=o?o.getParentType():null;let{selections:i}=e;return i=r(a,i,t),i=n(i,e=>e.alias?e.alias.value:e.name.value),{...e,selections:i}},FragmentDefinition:()=>null};return(0,t.visit)(e,o?(0,t.visitWithTypeInfo)(o,s):s)}})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){var r,i,o;\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof self&&self,i=[t,n(14)],void 0===(o=\"function\"==typeof(r=function(e,t){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.introspectionQuerySansSubscriptions=e.introspectionQueryName=e.staticName=e.introspectionQuery=void 0;const n=(0,t.getIntrospectionQuery)();e.introspectionQuery=n,e.staticName=\"IntrospectionQuery\",e.introspectionQueryName=\"IntrospectionQuery\";const r=n.replace(\"subscriptionType { name }\",\"\");e.introspectionQuerySansSubscriptions=r})?r.apply(t,i):r)||(e.exports=o)}]).default;\n//# sourceMappingURL=graphiql.min.js.map" } ${ safeSerialize ( queryString ) } ${ safeSerialize ( resultString ) } ${ safeSerialize ( variablesString ) } ${ safeSerialize ( operationName ) } ${ safeSerialize ( defaultQuery ) } ${ safeSerialize ( headerEditorEnabled ) } ` ; }
When express-graphql receives a request which does not Accept JSON, but does
 Accept HTML, it may present GraphiQL, the in-browser GraphQL explorer IDE.
When express - graphql receives a request which does not Accept JSON but does Accept HTML it may present GraphiQL the in - browser GraphQL explorer IDE .