@stepzen/graphiql-proxy 0.41.1 → 0.42.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/ui/build/asset-manifest.json +50 -50
- package/src/ui/build/index.html +1 -1
- package/src/ui/build/static/css/main.d8e5faf3.css +2 -0
- package/src/ui/build/static/css/main.d8e5faf3.css.map +1 -0
- package/src/ui/build/static/js/0.40f61b5b.chunk.js +2 -0
- package/src/ui/build/static/js/0.40f61b5b.chunk.js.map +1 -0
- package/src/ui/build/static/js/168.acd20778.chunk.js +2 -0
- package/src/ui/build/static/js/168.acd20778.chunk.js.map +1 -0
- package/src/ui/build/static/js/204.90ef58af.chunk.js +2 -0
- package/src/ui/build/static/js/{756.3530beeb.chunk.js.map → 204.90ef58af.chunk.js.map} +1 -1
- package/src/ui/build/static/js/239.cbbb9bf4.chunk.js +2 -0
- package/src/ui/build/static/js/239.cbbb9bf4.chunk.js.map +1 -0
- package/src/ui/build/static/js/260.62116343.chunk.js +2 -0
- package/src/ui/build/static/js/{503.c783958a.chunk.js.map → 260.62116343.chunk.js.map} +1 -1
- package/src/ui/build/static/js/301.be911487.chunk.js +2 -0
- package/src/ui/build/static/js/301.be911487.chunk.js.map +1 -0
- package/src/ui/build/static/js/339.45db1ad0.chunk.js +2 -0
- package/src/ui/build/static/js/{344.142d13e9.chunk.js.map → 339.45db1ad0.chunk.js.map} +1 -1
- package/src/ui/build/static/js/361.690552e0.chunk.js +2 -0
- package/src/ui/build/static/js/361.690552e0.chunk.js.map +1 -0
- package/src/ui/build/static/js/405.f706a566.chunk.js +2 -0
- package/src/ui/build/static/js/405.f706a566.chunk.js.map +1 -0
- package/src/ui/build/static/js/476.b8937827.chunk.js +2 -0
- package/src/ui/build/static/js/{322.28bfb0ce.chunk.js.map → 476.b8937827.chunk.js.map} +1 -1
- package/src/ui/build/static/js/563.faabcbb9.chunk.js +2 -0
- package/src/ui/build/static/js/{306.b76cda79.chunk.js.map → 563.faabcbb9.chunk.js.map} +1 -1
- package/src/ui/build/static/js/592.111c2c09.chunk.js +2 -0
- package/src/ui/build/static/js/{849.e36d6caf.chunk.js.map → 592.111c2c09.chunk.js.map} +1 -1
- package/src/ui/build/static/js/593.3508dfb0.chunk.js +2 -0
- package/src/ui/build/static/js/{190.89592804.chunk.js.map → 593.3508dfb0.chunk.js.map} +1 -1
- package/src/ui/build/static/js/601.8d60ebb5.chunk.js +2 -0
- package/src/ui/build/static/js/{619.f3523a4f.chunk.js.map → 601.8d60ebb5.chunk.js.map} +1 -1
- package/src/ui/build/static/js/622.3c296dc5.chunk.js +2 -0
- package/src/ui/build/static/js/{170.8d38f8f7.chunk.js.map → 622.3c296dc5.chunk.js.map} +1 -1
- package/src/ui/build/static/js/631.df085cd0.chunk.js +2 -0
- package/src/ui/build/static/js/631.df085cd0.chunk.js.map +1 -0
- package/src/ui/build/static/js/654.504b8830.chunk.js +2 -0
- package/src/ui/build/static/js/{804.9d9c6f3a.chunk.js.map → 654.504b8830.chunk.js.map} +1 -1
- package/src/ui/build/static/js/725.a57ff2f3.chunk.js +2 -0
- package/src/ui/build/static/js/{658.828eff8d.chunk.js.map → 725.a57ff2f3.chunk.js.map} +1 -1
- package/src/ui/build/static/js/743.cccf1a4a.chunk.js +2 -0
- package/src/ui/build/static/js/{430.23c55f04.chunk.js.map → 743.cccf1a4a.chunk.js.map} +1 -1
- package/src/ui/build/static/js/776.449af735.chunk.js +2 -0
- package/src/ui/build/static/js/776.449af735.chunk.js.map +1 -0
- package/src/ui/build/static/js/824.7fac1fde.chunk.js +2 -0
- package/src/ui/build/static/js/{580.0502adfe.chunk.js.map → 824.7fac1fde.chunk.js.map} +1 -1
- package/src/ui/build/static/js/866.803cb26d.chunk.js +2 -0
- package/src/ui/build/static/js/866.803cb26d.chunk.js.map +1 -0
- package/src/ui/build/static/js/main.72b6d86f.js +3 -0
- package/src/ui/build/static/js/main.72b6d86f.js.map +1 -0
- package/src/ui/build/static/css/main.e50ebcb1.css +0 -2
- package/src/ui/build/static/css/main.e50ebcb1.css.map +0 -1
- package/src/ui/build/static/js/0.5e30f0d2.chunk.js +0 -2
- package/src/ui/build/static/js/0.5e30f0d2.chunk.js.map +0 -1
- package/src/ui/build/static/js/136.f5cbe563.chunk.js +0 -2
- package/src/ui/build/static/js/136.f5cbe563.chunk.js.map +0 -1
- package/src/ui/build/static/js/170.8d38f8f7.chunk.js +0 -2
- package/src/ui/build/static/js/190.89592804.chunk.js +0 -2
- package/src/ui/build/static/js/267.91bc8020.chunk.js +0 -2
- package/src/ui/build/static/js/267.91bc8020.chunk.js.map +0 -1
- package/src/ui/build/static/js/306.b76cda79.chunk.js +0 -2
- package/src/ui/build/static/js/316.657bf0ad.chunk.js +0 -2
- package/src/ui/build/static/js/316.657bf0ad.chunk.js.map +0 -1
- package/src/ui/build/static/js/322.28bfb0ce.chunk.js +0 -2
- package/src/ui/build/static/js/344.142d13e9.chunk.js +0 -2
- package/src/ui/build/static/js/39.73440f40.chunk.js +0 -2
- package/src/ui/build/static/js/39.73440f40.chunk.js.map +0 -1
- package/src/ui/build/static/js/430.23c55f04.chunk.js +0 -2
- package/src/ui/build/static/js/503.c783958a.chunk.js +0 -2
- package/src/ui/build/static/js/580.0502adfe.chunk.js +0 -2
- package/src/ui/build/static/js/587.40adb4ae.chunk.js +0 -2
- package/src/ui/build/static/js/587.40adb4ae.chunk.js.map +0 -1
- package/src/ui/build/static/js/619.f3523a4f.chunk.js +0 -2
- package/src/ui/build/static/js/658.828eff8d.chunk.js +0 -2
- package/src/ui/build/static/js/756.3530beeb.chunk.js +0 -2
- package/src/ui/build/static/js/76.13bc4c09.chunk.js +0 -2
- package/src/ui/build/static/js/76.13bc4c09.chunk.js.map +0 -1
- package/src/ui/build/static/js/804.9d9c6f3a.chunk.js +0 -2
- package/src/ui/build/static/js/849.e36d6caf.chunk.js +0 -2
- package/src/ui/build/static/js/88.b61d66e1.chunk.js +0 -2
- package/src/ui/build/static/js/88.b61d66e1.chunk.js.map +0 -1
- package/src/ui/build/static/js/983.cfb8ccb4.chunk.js +0 -2
- package/src/ui/build/static/js/983.cfb8ccb4.chunk.js.map +0 -1
- package/src/ui/build/static/js/main.10372e50.js +0 -3
- package/src/ui/build/static/js/main.10372e50.js.map +0 -1
- /package/src/ui/build/static/js/{main.10372e50.js.LICENSE.txt → main.72b6d86f.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[306,756,849],{2756:function(e,t,n){!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function i(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var a=e.getLineHandle(t.line),s=t.ch-1,c=o&&o.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=i(o),h=!c&&s>=0&&f.test(a.text.charAt(s))&&r[a.text.charAt(s)]||f.test(a.text.charAt(s+1))&&r[a.text.charAt(++s)];if(!h)return null;var u=">"==h.charAt(1)?1:-1;if(o&&o.strict&&u>0!=(s==t.ch))return null;var m=e.getTokenTypeAt(n(t.line,s+1)),d=l(e,n(t.line,s+(u>0?1:0)),u,m,o);return null==d?null:{from:n(t.line,s),to:d&&d.pos,match:d&&d.ch==h.charAt(0),forward:u>0}}function l(e,t,o,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],h=i(a),u=o>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),m=t.line;m!=u;m+=o){var d=e.getLine(m);if(d){var g=o>0?0:d.length-1,p=o>0?d.length:-1;if(!(d.length>s))for(m==t.line&&(g=t.ch-(o<0?1:0));g!=p;g+=o){var C=d.charAt(g);if(h.test(C)&&(void 0===l||(e.getTokenTypeAt(n(m,g+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==o>0)f.push(C);else{if(!f.length)return{pos:n(m,g),ch:C};f.pop()}}}}}return m-o!=(o>0?e.lastLine():e.firstLine())&&null}function a(e,r,i){for(var l=e.state.matchBrackets.maxHighlightLineLength||1e3,a=i&&i.highlightNonMatching,s=[],c=e.listSelections(),f=0;f<c.length;f++){var h=c[f].empty()&&o(e,c[f].head,i);if(h&&(h.match||!1!==a)&&e.getLine(h.from.line).length<=l){var u=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:u})),h.to&&e.getLine(h.to.line).length<=l&&s.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:u}))}}if(s.length){t&&e.state.focused&&e.focus();var m=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!r)return m;setTimeout(m,800)}}function s(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=a(e,!1,e.state.matchBrackets)}))}function c(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}e.defineOption("matchBrackets",!1,(function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",s),t.off("focus",s),t.off("blur",c),c(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",s),t.on("focus",s),t.on("blur",c))})),e.defineExtension("matchBrackets",(function(){a(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 l(this,e,t,n,r)}))}(n(1300))},6849:function(e,t,n){!function(e){"use strict";var t,n,r=e.Pos;function i(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function o(e,t){for(var n=i(e),r=n,o=0;o<t.length;o++)-1==r.indexOf(t.charAt(o))&&(r+=t.charAt(o));return n==r?e:new RegExp(e.source,r)}function l(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function a(e,t,n){t=o(t,"g");for(var i=n.line,l=n.ch,a=e.lastLine();i<=a;i++,l=0){t.lastIndex=l;var s=e.getLine(i),c=t.exec(s);if(c)return{from:r(i,c.index),to:r(i,c.index+c[0].length),match:c}}}function s(e,t,n){if(!l(t))return a(e,t,n);t=o(t,"gm");for(var i,s=1,c=n.line,f=e.lastLine();c<=f;){for(var h=0;h<s&&!(c>f);h++){var u=e.getLine(c++);i=null==i?u:i+"\n"+u}s*=2,t.lastIndex=n.ch;var m=t.exec(i);if(m){var d=i.slice(0,m.index).split("\n"),g=m[0].split("\n"),p=n.line+d.length-1,C=d[d.length-1].length;return{from:r(p,C),to:r(p+g.length-1,1==g.length?C+g[0].length:g[g.length-1].length),match:m}}}}function c(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var l=o.index+o[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function f(e,t,n){t=o(t,"g");for(var i=n.line,l=n.ch,a=e.firstLine();i>=a;i--,l=-1){var s=e.getLine(i),f=c(s,t,l<0?0:s.length-l);if(f)return{from:r(i,f.index),to:r(i,f.index+f[0].length),match:f}}}function h(e,t,n){if(!l(t))return f(e,t,n);t=o(t,"gm");for(var i,a=1,s=e.getLine(n.line).length-n.ch,h=n.line,u=e.firstLine();h>=u;){for(var m=0;m<a&&h>=u;m++){var d=e.getLine(h--);i=null==i?d:d+"\n"+i}a*=2;var g=c(i,t,s);if(g){var p=i.slice(0,g.index).split("\n"),C=g[0].split("\n"),v=h+p.length,S=p[p.length-1].length;return{from:r(v,S),to:r(v+C.length-1,1==C.length?S+C[0].length:C[C.length-1].length),match:g}}}}function u(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 l=i+o>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?o=l:i=l+1}}function m(e,i,o,l){if(!i.length)return null;var a=l?t:n,s=a(i).split(/\r|\n\r?/);e:for(var c=o.line,f=o.ch,h=e.lastLine()+1-s.length;c<=h;c++,f=0){var m=e.getLine(c).slice(f),d=a(m);if(1==s.length){var g=d.indexOf(s[0]);if(-1==g)continue e;return o=u(m,d,g,a)+f,{from:r(c,u(m,d,g,a)+f),to:r(c,u(m,d,g+s[0].length,a)+f)}}var p=d.length-s[0].length;if(d.slice(p)==s[0]){for(var C=1;C<s.length-1;C++)if(a(e.getLine(c+C))!=s[C])continue e;var v=e.getLine(c+s.length-1),S=a(v),L=s[s.length-1];if(S.slice(0,L.length)==L)return{from:r(c,u(m,d,p,a)+f),to:r(c+s.length-1,u(v,S,L.length,a))}}}}function d(e,i,o,l){if(!i.length)return null;var a=l?t:n,s=a(i).split(/\r|\n\r?/);e:for(var c=o.line,f=o.ch,h=e.firstLine()-1+s.length;c>=h;c--,f=-1){var m=e.getLine(c);f>-1&&(m=m.slice(0,f));var d=a(m);if(1==s.length){var g=d.lastIndexOf(s[0]);if(-1==g)continue e;return{from:r(c,u(m,d,g,a)),to:r(c,u(m,d,g+s[0].length,a))}}var p=s[s.length-1];if(d.slice(0,p.length)==p){var C=1;for(o=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(o+C))!=s[C])continue e;var v=e.getLine(c+1-s.length),S=a(v);if(S.slice(S.length-s[0].length)==s[0])return{from:r(c+1-s.length,u(v,S,v.length-s[0].length,a)),to:r(c,u(m,d,p.length,a))}}}}function g(e,t,n,i){var l;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=e,n=n?e.clipPos(n):r(0,0),this.pos={from:n,to:n},"object"==typeof i?l=i.caseFold:(l=i,i=null),"string"==typeof t?(null==l&&(l=!1),this.matches=function(n,r){return(n?d:m)(e,t,r,l)}):(t=o(t,"gm"),i&&!1===i.multiline?this.matches=function(n,r){return(n?f:a)(e,t,r)}:this.matches=function(n,r){return(n?h: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}),g.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){var n=this.doc.clipPos(t?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(n=r(n.line,n.ch),t?(n.ch--,n.ch<0&&(n.line--,n.ch=(this.doc.getLine(n.line)||"").length)):(n.ch++,n.ch>(this.doc.getLine(n.line)||"").length&&(n.ch=0,n.line++)),0!=e.cmpPos(n,this.doc.clipPos(n))))return this.atOccurrence=!1;var i=this.matches(t,n);if(this.afterEmptyMatch=i&&0==e.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},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 g(this.doc,e,t,n)})),e.defineDocExtension("getSearchCursor",(function(e,t,n){return new g(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(1300))},8306:function(e,t,n){!function(e){"use strict";var t=e.commands,n=e.Pos;function r(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 l,a="start",s=r.ch,c=s,f=i<0?0:o.length,h=0;c!=f;c+=i,h++){var u=o.charAt(i<0?c-1:c),m="_"!=u&&e.isWordChar(u)?"w":"o";if("w"==m&&u.toUpperCase()==u&&(m="W"),"start"==a)"o"!=m?(a="in",l=m):s=c+i;else if("in"==a&&l!=m){if("w"==l&&"W"==m&&i<0&&c--,"W"==l&&"w"==m&&i>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}function i(e,t){e.extendSelectionsBy((function(n){return e.display.shift||e.doc.extend||n.empty()?r(e.doc,n.head,t):t<0?n.from():n.to()}))}function o(t,r){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,i=[],o=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=o)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),i.push({head:s,anchor:s}),o=a.line+1}}t.setSelections(i)})),t.execCommand("indentAuto")}function l(t,r){for(var i=r.ch,o=i,l=t.getLine(r.line);i&&e.isWordChar(l.charAt(i-1));)--i;for(;o<l.length&&e.isWordChar(l.charAt(o));)++o;return{from:n(r.line,i),to:n(r.line,o),word:l.slice(i,o)}}function a(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],l=e.findPosV(o.anchor,t,"line",o.anchor.goalColumn),a=e.findPosV(o.head,t,"line",o.head.goalColumn);l.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,"div").left,a.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,"div").left;var s={anchor:l,head:a};r.push(o),r.push(s)}e.setSelections(r)}function s(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.goSubwordLeft=function(e){i(e,-1)},t.goSubwordRight=function(e){i(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(),l=t[i].to(),a=o.line;a<=l.line;++a)l.line>o.line&&a==l.line&&0==l.ch||r.push({anchor:a==o.line?o:n(a,0),head:a==l.line?l:n(a)});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 o(e,!1)},t.insertLineBefore=function(e){return o(e,!0)},t.selectNextOccurrence=function(t){var r=t.getCursor("from"),i=t.getCursor("to"),o=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,i)){var a=l(t,r);if(!a.word)return;t.setSelection(a.from,a.to),o=!0}else{var c=t.getRange(r,i),f=o?new RegExp("\\b"+c+"\\b"):c,h=t.getSearchCursor(f,i),u=h.findNext();if(u||(u=(h=t.getSearchCursor(f,n(t.firstLine(),0))).findNext()),!u||s(t.listSelections(),h.from(),h.to()))return;t.addSelection(h.from(),h.to())}o&&(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)};var c="(){}[]";function f(t){for(var r=t.listSelections(),i=[],o=0;o<r.length;o++){var l=r[o],a=l.head,s=t.scanForBracket(a,-1);if(!s)return!1;for(;;){var f=t.scanForBracket(a,1);if(!f)return!1;if(f.ch==c.charAt(c.indexOf(s.ch)+1)){var h=n(s.pos.line,s.pos.ch+1);if(0!=e.cmpPos(h,l.from())||0!=e.cmpPos(f.pos,l.to())){i.push({anchor:h,head:f.pos});break}if(!(s=t.scanForBracket(s.pos,-1)))return!1}a=n(f.pos.line,f.pos.ch+1)}}return t.setSelections(i),!0}function h(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function u(t,r,i){if(t.isReadOnly())return e.Pass;for(var o,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,h=c.to().line;s<l.length-1&&l[s+1].from().line==h;)h=l[++s].to().line;l[s].to().ch||h--,a.push(f,h)}}a.length?o=!0:a.push(t.firstLine(),t.lastLine()),t.operation((function(){for(var e=[],l=0;l<a.length;l+=2){var s=a[l],c=a[l+1],f=n(s,0),h=n(c),u=t.getRange(f,h,!1);r?u.sort((function(e,t){return e<t?-i:e==t?0:i})):u.sort((function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-i:e==t?0:i})),t.replaceRange(u,f,h),o&&e.push({anchor:f,head:n(c+1,0)})}o&&t.setSelections(e,0)}))}function m(t,n){t.operation((function(){for(var r=t.listSelections(),i=[],o=[],a=0;a<r.length;a++)(c=r[a]).empty()?(i.push(a),o.push("")):o.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(o,"around","case"),a=i.length-1;a>=0;a--){var c=r[i[a]];if(!(s&&e.cmpPos(c.head,s)>0)){var f=l(t,c.head);s=f.from,t.replaceRange(n(f.word),f.from,f.to)}}}))}function d(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var i=l(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 g(e,t){var r=d(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.selectScope=function(e){f(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!f(t))return e.Pass},t.goToBracket=function(t){t.extendSelectionsBy((function(r){var i=t.scanForBracket(r.head,1,h(t.getTokenTypeAt(r.head)));if(i&&0!=e.cmpPos(i.pos,r.head))return i.pos;var o=t.scanForBracket(r.head,-1,h(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,l=[],a=0;a<r.length;a++){var s=r[a],c=s.from().line-1,f=s.to().line;l.push({anchor:n(s.anchor.line-1,s.anchor.ch),head:n(s.head.line-1,s.head.ch)}),0!=s.to().ch||s.empty()||--f,c>o?i.push(c,f):i.length&&(i[i.length-1]=f),o=f}t.operation((function(){for(var e=0;e<i.length;e+=2){var r=i[e],o=i[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),o>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),i=[],o=t.lastLine()+1,l=r.length-1;l>=0;l--){var a=r[l],s=a.to().line+1,c=a.from().line;0!=a.to().ch||a.empty()||s--,s<o?i.push(s,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],l=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(l+"\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],l=o.from(),a=l.line,s=o.to().line;i<t.length-1&&t[i+1].from().line==s;)s=t[++i].to().line;r.push({start:a,end:s,anchor:!o.empty()&&l})}e.operation((function(){for(var t=0,i=[],o=0;o<r.length;o++){for(var l,a=r[o],s=a.anchor&&n(a.anchor.line-t,a.anchor.ch),c=a.start;c<=a.end;c++){var f=c-t;c==a.end&&(l=n(f,e.getLine(f).length+1)),f<e.lastLine()&&(e.replaceRange(" ",n(f),n(f+1,/^\s*/.exec(e.getLine(f+1))[0].length)),++t)}i.push({anchor:s||l,head:l})}e.setSelections(i,0)}))},t.duplicateLine=function(e){e.operation((function(){for(var t=e.listSelections().length,r=0;r<t;r++){var i=e.listSelections()[r];i.empty()?e.replaceRange(e.getLine(i.head.line)+"\n",n(i.head.line,0)):e.replaceRange(e.getRange(i.from(),i.to()),i.from())}e.scrollIntoView()}))},t.sortLines=function(e){u(e,!0,1)},t.reverseSortLines=function(e){u(e,!0,-1)},t.sortLinesInsensitive=function(e){u(e,!1,1)},t.reverseSortLinesInsensitive=function(e){u(e,!1,-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(),l=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),a=0;a<l.length;a++)if(l[a].sublimeBookmark){l[a].clear();for(var s=0;s<n.length;s++)n[s]==l[a]&&n.splice(s--,1);break}a==l.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 l=r[o].head,a=t.getRange({line:l.line,ch:0},l),s=e.countColumn(a,null,t.getOption("tabSize")),c=t.findPosH(l,-1,"char",!1);if(a&&!/\S/.test(a)&&s%i==0){var f=new n(l.line,e.findColumn(a,s-i,i));f.ch!=l.ch&&(c=f)}t.replaceRange("",c,l,"+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){m(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){m(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){g(e,!0)},t.findUnderPrevious=function(e){g(e,!1)},t.findAllUnder=function(e){var t=d(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 p=e.keyMap;p.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","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",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(p.macSublime),p.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","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",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(p.pcSublime);var C=p.default==p.macDefault;p.sublime=C?p.macSublime:p.pcSublime}(n(1300),n(6849),n(2756))}}]);
|
|
2
|
-
//# sourceMappingURL=306.b76cda79.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[316],{7872:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],r=e;r&&r.kind;)n.push(r),r=r.prevState;for(var i=n.length-1;i>=0;i--)t(n[i])}},6334:function(e,t){function n(e,t){var n=e.filter(t);return 0===n.length?e:n}function r(e){return e.toLowerCase().replace(/\W/g,"")}function i(e,t){var n=function(e,t){var n,r,i=[],a=e.length,u=t.length;for(n=0;n<=a;n++)i[n]=[n];for(r=1;r<=u;r++)i[0][r]=r;for(n=1;n<=a;n++)for(r=1;r<=u;r++){var l=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]+l),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]+l))}return i[a][u]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,a){var u=function(e,t){if(!t)return n(e,(function(e){return!e.isDeprecated}));return n(n(e.map((function(e){return{proximity:i(r(e.text),t),entry:e}})),(function(e){return e.proximity<=2})),(function(e){return!e.entry.isDeprecated})).sort((function(e,t){return(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length})).map((function(e){return e.entry}))}(a,r(t.string));if(u){var l=null!==t.type&&/"|\w/.test(t.string[0])?t.start:t.end;return{list:u,from:{line:e.line,ch:l},to:{line:e.line,ch:t.end}}}}},2316:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(1300)),a=n(730),u=r(n(7872)),l=r(n(6334));i.default.registerHelper("hint","graphql-variables",(function(e,t){var n=e.getCursor(),r=e.getTokenAt(n),o=function(e,t,n){var r="Invalid"===t.state.kind?t.state.prevState:t.state,i=r.kind,o=r.step;if("Document"===i&&0===o)return l.default(e,t,[{text:"{"}]);var f=n.variableToType;if(!f)return;var p=function(e,t){var n={type:null,fields:null};return u.default(t,(function(t){if("Variable"===t.kind)n.type=e[t.name];else if("ListValue"===t.kind){var r=n.type?a.getNullableType(n.type):void 0;n.type=r instanceof a.GraphQLList?r.ofType:null}else if("ObjectValue"===t.kind){var i=n.type?a.getNamedType(n.type):void 0;n.fields=i instanceof a.GraphQLInputObjectType?i.getFields():null}else if("ObjectField"===t.kind){var u=t.name&&n.fields?n.fields[t.name]:null;n.type=u&&u.type}})),n}(f,t.state);if("Document"===i||"Variable"===i&&0===o){var s=Object.keys(f);return l.default(e,t,s.map((function(e){return{text:'"'+e+'": ',type:f[e]}})))}if(("ObjectValue"===i||"ObjectField"===i&&0===o)&&p.fields){var d=Object.keys(p.fields).map((function(e){return p.fields[e]}));return l.default(e,t,d.map((function(e){return{text:'"'+e.name+'": ',type:e.type,description:e.description}})))}if("StringValue"===i||"NumberValue"===i||"BooleanValue"===i||"NullValue"===i||"ListValue"===i&&1===o||"ObjectField"===i&&2===o||"Variable"===i&&2===o){var c=p.type?a.getNamedType(p.type):void 0;if(c instanceof a.GraphQLInputObjectType)return l.default(e,t,[{text:"{"}]);if(c instanceof a.GraphQLEnumType){var y=c.getValues();return l.default(e,t,y.map((function(e){return{text:'"'+e.name+'"',type:c,description:e.description}})))}if(c===a.GraphQLBoolean)return l.default(e,t,[{text:"true",type:a.GraphQLBoolean,description:"Not false."},{text:"false",type:a.GraphQLBoolean,description:"Not true."}])}}(n,r,t);return o&&o.list&&o.list.length>0&&(o.from=i.default.Pos(o.from.line,o.from.ch),o.to=i.default.Pos(o.to.line,o.to.ch),i.default.signal(e,"hasCompletion",e,o,r)),o}))}}]);
|
|
2
|
-
//# sourceMappingURL=316.657bf0ad.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/316.657bf0ad.chunk.js","mappings":"0JAYAA,EAAAA,QAAA,SAAqCC,EAAcC,GAGjD,IAFA,IAAMC,EAAoB,GACtBC,EAAsBH,EACnBG,GAASA,EAAMC,MACpBF,EAAkBG,KAAKF,GACvBA,EAAQA,EAAMG,UAEhB,IAAK,IAAIC,EAAIL,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C,EAAAA,QAAWqC,IAAI9B,EAAQR,GAAGF,KAAMU,EAAQR,GAAGD,IACxDE,EAAAA,QAAWsC,OAAOpC,EAAQ,gBAAiBA,EAAQK,EAAS1B,IAGvD0B,CACR,G","sources":["../node_modules/codemirror-graphql/src/utils/forEachState.ts","../node_modules/codemirror-graphql/src/utils/hintList.ts","../node_modules/codemirror-graphql/src/variables/hint.ts"],"sourcesContent":["/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport type { State, Maybe } from 'graphql-language-service';\n\n// Utility for iterating through a CodeMirror parse state stack bottom-up.\nexport default function forEachState(stack: State, fn: (state: State) => void) {\n const reverseStateStack = [];\n let state: Maybe<State> = stack;\n while (state && state.kind) {\n reverseStateStack.push(state);\n state = state.prevState;\n }\n for (let i = reverseStateStack.length - 1; i >= 0; i--) {\n fn(reverseStateStack[i]);\n }\n}\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport type CodeMirror from 'codemirror';\nimport { IHint, IHints } from '../hint';\n\n// Create the expected hint response given a possible list and a token\nexport default function hintList(\n cursor: CodeMirror.Position,\n token: CodeMirror.Token,\n list: IHint[],\n): IHints | undefined {\n const hints = filterAndSortList(list, normalizeText(token.string));\n if (!hints) {\n return;\n }\n\n const tokenStart =\n token.type !== null && /\"|\\w/.test(token.string[0])\n ? token.start\n : token.end;\n\n return {\n list: hints,\n from: { line: cursor.line, ch: tokenStart }, // TODO: Confirm. Was changed column to ch\n to: { line: cursor.line, ch: token.end },\n };\n}\n\n// Given a list of hint entries and currently typed text, sort and filter to\n// provide a concise list.\nfunction filterAndSortList(list: IHint[], text: string) {\n if (!text) {\n return filterNonEmpty(list, entry => !entry.isDeprecated);\n }\n\n const byProximity = list.map(entry => ({\n proximity: getProximity(normalizeText(entry.text), text),\n entry,\n }));\n\n const conciseMatches = filterNonEmpty(\n filterNonEmpty(byProximity, pair => pair.proximity <= 2),\n pair => !pair.entry.isDeprecated,\n );\n\n const sortedMatches = conciseMatches.sort(\n (a, b) =>\n (a.entry.isDeprecated ? 1 : 0) - (b.entry.isDeprecated ? 1 : 0) ||\n a.proximity - b.proximity ||\n a.entry.text.length - b.entry.text.length,\n );\n\n return sortedMatches.map(pair => pair.entry);\n}\n\n// Filters the array by the predicate, unless it results in an empty array,\n// in which case return the original array.\nfunction filterNonEmpty<T>(array: T[], predicate: (item: T) => boolean) {\n const filtered = array.filter(predicate);\n return filtered.length === 0 ? array : filtered;\n}\n\nfunction normalizeText(text: string) {\n return text.toLowerCase().replace(/\\W/g, '');\n}\n\n// Determine a numeric proximity for a suggestion based on current text.\nfunction getProximity(suggestion: string, text: string) {\n // start with lexical distance\n let proximity = lexicalDistance(text, suggestion);\n if (suggestion.length > text.length) {\n // do not penalize long suggestions.\n proximity -= suggestion.length - text.length - 1;\n // penalize suggestions not starting with this phrase\n proximity += suggestion.indexOf(text) === 0 ? 0 : 0.5;\n }\n return proximity;\n}\n\n/**\n * Computes the lexical distance between strings A and B.\n *\n * The \"distance\" between two strings is given by counting the minimum number\n * of edits needed to transform string A into string B. An edit can be an\n * insertion, deletion, or substitution of a single character, or a swap of two\n * adjacent characters.\n *\n * This distance can be useful for detecting typos in input or sorting\n *\n * @param {string} a\n * @param {string} b\n * @return {int} distance in number of edits\n */\nfunction lexicalDistance(a: string, b: string) {\n let i;\n let j;\n const d = [];\n const aLength = a.length;\n const bLength = b.length;\n\n for (i = 0; i <= aLength; i++) {\n d[i] = [i];\n }\n\n for (j = 1; j <= bLength; j++) {\n d[0][j] = j;\n }\n\n for (i = 1; i <= aLength; i++) {\n for (j = 1; j <= bLength; j++) {\n const cost = a[i - 1] === b[j - 1] ? 0 : 1;\n\n d[i][j] = Math.min(\n d[i - 1][j] + 1,\n d[i][j - 1] + 1,\n d[i - 1][j - 1] + cost,\n );\n\n if (i > 1 && j > 1 && a[i - 1] === b[j - 2] && a[i - 2] === b[j - 1]) {\n d[i][j] = Math.min(d[i][j], d[i - 2][j - 2] + cost);\n }\n }\n }\n\n return d[aLength][bLength];\n}\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror, { Hints } from 'codemirror';\nimport {\n getNullableType,\n getNamedType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLBoolean,\n GraphQLInputType,\n GraphQLInputFieldMap,\n} from 'graphql';\nimport type { State, Maybe } from 'graphql-language-service';\nimport { IHints } from '../hint';\n\nimport forEachState from '../utils/forEachState';\nimport hintList from '../utils/hintList';\n\nexport type VariableToType = Record<string, GraphQLInputType>;\ninterface GraphQLVariableHintOptions {\n variableToType: VariableToType;\n}\n\ndeclare module 'codemirror' {\n interface ShowHintOptions {\n variableToType?: VariableToType;\n }\n\n interface CodeMirrorHintMap {\n 'graphql-variables': (\n editor: CodeMirror.Editor,\n options: GraphQLVariableHintOptions,\n ) => IHints | undefined;\n }\n}\n\n/**\n * Registers a \"hint\" helper for CodeMirror.\n *\n * Using CodeMirror's \"hint\" addon: https://codemirror.net/demo/complete.html\n * Given an editor, this helper will take the token at the cursor and return a\n * list of suggested tokens.\n *\n * Options:\n *\n * - variableToType: { [variable: string]: GraphQLInputType }\n *\n * Additional Events:\n *\n * - hasCompletion (codemirror, data, token) - signaled when the hinter has a\n * new list of completion suggestions.\n *\n */\nCodeMirror.registerHelper(\n 'hint',\n 'graphql-variables',\n (\n editor: CodeMirror.Editor,\n options: GraphQLVariableHintOptions,\n ): Hints | undefined => {\n const cur = editor.getCursor();\n const token = editor.getTokenAt(cur);\n\n const results = getVariablesHint(cur, token, options);\n if (results && results.list && results.list.length > 0) {\n results.from = CodeMirror.Pos(results.from.line, results.from.ch);\n results.to = CodeMirror.Pos(results.to.line, results.to.ch);\n CodeMirror.signal(editor, 'hasCompletion', editor, results, token);\n }\n\n return results;\n },\n);\n\nfunction getVariablesHint(\n cur: CodeMirror.Position,\n token: CodeMirror.Token,\n options: GraphQLVariableHintOptions,\n) {\n // If currently parsing an invalid state, attempt to hint to the prior state.\n const state =\n token.state.kind === 'Invalid' ? token.state.prevState : token.state;\n\n const kind = state.kind;\n const step = state.step;\n\n // Variables can only be an object literal.\n if (kind === 'Document' && step === 0) {\n return hintList(cur, token, [{ text: '{' }]);\n }\n\n const variableToType = options.variableToType;\n if (!variableToType) {\n return;\n }\n\n const typeInfo = getTypeInfo(variableToType, token.state);\n\n // Top level should typeahead possible variables.\n if (kind === 'Document' || (kind === 'Variable' && step === 0)) {\n const variableNames = Object.keys(variableToType);\n return hintList(\n cur,\n token,\n variableNames.map(name => ({\n text: `\"${name}\": `,\n type: variableToType[name],\n })),\n );\n }\n\n // Input Object fields\n if (kind === 'ObjectValue' || (kind === 'ObjectField' && step === 0)) {\n if (typeInfo.fields) {\n const inputFields = Object.keys(typeInfo.fields).map(\n fieldName => typeInfo.fields![fieldName],\n );\n return hintList(\n cur,\n token,\n inputFields.map(field => ({\n text: `\"${field.name}\": `,\n type: field.type,\n description: field.description,\n })),\n );\n }\n }\n\n // Input values.\n if (\n kind === 'StringValue' ||\n kind === 'NumberValue' ||\n kind === 'BooleanValue' ||\n kind === 'NullValue' ||\n (kind === 'ListValue' && step === 1) ||\n (kind === 'ObjectField' && step === 2) ||\n (kind === 'Variable' && step === 2)\n ) {\n const namedInputType = typeInfo.type\n ? getNamedType(typeInfo.type)\n : undefined;\n if (namedInputType instanceof GraphQLInputObjectType) {\n return hintList(cur, token, [{ text: '{' }]);\n } else if (namedInputType instanceof GraphQLEnumType) {\n const values = namedInputType.getValues();\n // const values = Object.keys(valueMap).map(name => valueMap[name]); // TODO: Previously added\n return hintList(\n cur,\n token,\n values.map(value => ({\n text: `\"${value.name}\"`,\n type: namedInputType,\n description: value.description,\n })),\n );\n } else if (namedInputType === GraphQLBoolean) {\n return hintList(cur, token, [\n { text: 'true', type: GraphQLBoolean, description: 'Not false.' }, // TODO: type and description don't seem to be used. Added them as optional anyway.\n { text: 'false', type: GraphQLBoolean, description: 'Not true.' },\n ]);\n }\n }\n}\ninterface VariableTypeInfo {\n type?: Maybe<GraphQLInputType>;\n fields?: Maybe<GraphQLInputFieldMap>;\n}\n// Utility for collecting rich type information given any token's state\n// from the graphql-variables-mode parser.\nfunction getTypeInfo(\n variableToType: Record<string, GraphQLInputType>,\n tokenState: State,\n) {\n const info: VariableTypeInfo = {\n type: null,\n fields: null,\n };\n\n forEachState(tokenState, state => {\n if (state.kind === 'Variable') {\n info.type = variableToType[state.name!];\n } else if (state.kind === 'ListValue') {\n const nullableType = info.type ? getNullableType(info.type) : undefined;\n info.type =\n nullableType instanceof GraphQLList ? nullableType.ofType : null;\n } else if (state.kind === 'ObjectValue') {\n const objectType = info.type ? getNamedType(info.type) : undefined;\n info.fields =\n objectType instanceof GraphQLInputObjectType\n ? objectType.getFields()\n : null;\n } else if (state.kind === 'ObjectField') {\n const objectField =\n state.name && info.fields ? info.fields[state.name] : null;\n info.type = objectField && objectField.type;\n }\n });\n\n return info;\n}\n"],"names":["exports","stack","fn","reverseStateStack","state","kind","push","prevState","i","length","filterNonEmpty","array","predicate","filtered","filter","normalizeText","text","toLowerCase","replace","getProximity","suggestion","proximity","a","b","j","d","aLength","bLength","cost","Math","min","lexicalDistance","indexOf","cursor","token","list","hints","entry","isDeprecated","map","pair","sort","filterAndSortList","string","tokenStart","type","test","start","end","from","line","ch","to","codemirror_1","registerHelper","editor","options","cur","getCursor","getTokenAt","results","step","hintList_1","variableToType","typeInfo","tokenState","info","fields","forEachState_1","name","nullableType","graphql_1","undefined","ofType","objectType","getFields","objectField","getTypeInfo","variableNames","Object","keys","inputFields","fieldName","field","description","namedInputType_1","values","getValues","value","getVariablesHint","Pos","signal"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[322],{2322:function(t,e,i){!function(t){"use strict";var e="CodeMirror-hint",i="CodeMirror-hint-active";function n(t,e){if(this.cm=t,this.options=e,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,this.options.updateOnCursorActivity){var i=this;t.on("cursorActivity",this.activityFunc=function(){i.cursorActivity()})}}t.showHint=function(t,e,i){if(!e)return t.showHint(i);i&&i.async&&(e.async=!0);var n={hint:e};if(i)for(var o in i)n[o]=i[o];return t.showHint(n)},t.defineExtension("showHint",(function(e){e=c(this,this.getCursor("start"),e);var i=this.listSelections();if(!(i.length>1)){if(this.somethingSelected()){if(!e.hint.supportsSelection)return;for(var o=0;o<i.length;o++)if(i[o].head.line!=i[o].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var s=this.state.completionActive=new n(this,e);s.options.hint&&(t.signal(this,"startCompletion",this),s.update(!0))}})),t.defineExtension("closeHint",(function(){this.state.completionActive&&this.state.completionActive.close()}));var o=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},s=window.cancelAnimationFrame||clearTimeout;function c(t,e,i){var n=t.options.hintOptions,o={};for(var s in p)o[s]=p[s];if(n)for(var s in n)void 0!==n[s]&&(o[s]=n[s]);if(i)for(var s in i)void 0!==i[s]&&(o[s]=i[s]);return o.hint.resolve&&(o.hint=o.hint.resolve(t,e)),o}function r(t){return"string"==typeof t?t:t.text}function l(t,e){var i={Up:function(){e.moveFocus(-1)},Down:function(){e.moveFocus(1)},PageUp:function(){e.moveFocus(1-e.menuSize(),!0)},PageDown:function(){e.moveFocus(e.menuSize()-1,!0)},Home:function(){e.setFocus(0)},End:function(){e.setFocus(e.length-1)},Enter:e.pick,Tab:e.pick,Esc:e.close};/Mac/.test(navigator.platform)&&(i["Ctrl-P"]=function(){e.moveFocus(-1)},i["Ctrl-N"]=function(){e.moveFocus(1)});var n=t.options.customKeys,o=n?{}:i;function s(t,n){var s;s="string"!=typeof n?function(t){return n(t,e)}:i.hasOwnProperty(n)?i[n]:n,o[t]=s}if(n)for(var c in n)n.hasOwnProperty(c)&&s(c,n[c]);var r=t.options.extraKeys;if(r)for(var c in r)r.hasOwnProperty(c)&&s(c,r[c]);return o}function h(t,e){for(;e&&e!=t;){if("LI"===e.nodeName.toUpperCase()&&e.parentNode==t)return e;e=e.parentNode}}function a(n,o){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=n,this.data=o,this.picked=!1;var s=this,c=n.cm,a=c.getInputField().ownerDocument,u=a.defaultView||a.parentWindow,d=this.hints=a.createElement("ul");d.setAttribute("role","listbox"),d.setAttribute("aria-expanded","true"),d.id=this.id;var f=n.cm.options.theme;d.className="CodeMirror-hints "+f,this.selectedHint=o.selectedHint||0;for(var p=o.list,m=0;m<p.length;++m){var g=d.appendChild(a.createElement("li")),v=p[m],y=e+(m!=this.selectedHint?"":" "+i);null!=v.className&&(y=v.className+" "+y),g.className=y,m==this.selectedHint&&g.setAttribute("aria-selected","true"),g.id=this.id+"-"+m,g.setAttribute("role","option"),v.render?v.render(g,o,v):g.appendChild(a.createTextNode(v.displayText||r(v))),g.hintId=m}var w=n.options.container||a.body,b=c.cursorCoords(n.options.alignWithWord?o.from:null),A=b.left,H=b.bottom,C=!0,k=0,S=0;if(w!==a.body){var x=-1!==["absolute","relative","fixed"].indexOf(u.getComputedStyle(w).position)?w:w.offsetParent,T=x.getBoundingClientRect(),F=a.body.getBoundingClientRect();k=T.left-F.left-x.scrollLeft,S=T.top-F.top-x.scrollTop}d.style.left=A-k+"px",d.style.top=H-S+"px";var O=u.innerWidth||Math.max(a.body.offsetWidth,a.documentElement.offsetWidth),M=u.innerHeight||Math.max(a.body.offsetHeight,a.documentElement.offsetHeight);w.appendChild(d),c.getInputField().setAttribute("aria-autocomplete","list"),c.getInputField().setAttribute("aria-owns",this.id),c.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var N,I=n.options.moveOnOverlap?d.getBoundingClientRect():new DOMRect,P=!!n.options.paddingForScrollbar&&d.scrollHeight>d.clientHeight+1;if(setTimeout((function(){N=c.getScrollInfo()})),I.bottom-M>0){var E=I.bottom-I.top;if(b.top-(b.bottom-I.top)-E>0)d.style.top=(H=b.top-E-S)+"px",C=!1;else if(E>M){d.style.height=M-5+"px",d.style.top=(H=b.bottom-I.top-S)+"px";var W=c.getCursor();o.from.ch!=W.ch&&(b=c.cursorCoords(W),d.style.left=(A=b.left-k)+"px",I=d.getBoundingClientRect())}}var R,B=I.right-O;if(P&&(B+=c.display.nativeBarWidth),B>0&&(I.right-I.left>O&&(d.style.width=O-5+"px",B-=I.right-I.left-O),d.style.left=(A=b.left-B-k)+"px"),P)for(var K=d.firstChild;K;K=K.nextSibling)K.style.paddingRight=c.display.nativeBarWidth+"px";c.addKeyMap(this.keyMap=l(n,{moveFocus:function(t,e){s.changeActive(s.selectedHint+t,e)},setFocus:function(t){s.changeActive(t)},menuSize:function(){return s.screenAmount()},length:p.length,close:function(){n.close()},pick:function(){s.pick()},data:o})),n.options.closeOnUnfocus&&(c.on("blur",this.onBlur=function(){R=setTimeout((function(){n.close()}),100)}),c.on("focus",this.onFocus=function(){clearTimeout(R)})),c.on("scroll",this.onScroll=function(){var t=c.getScrollInfo(),e=c.getWrapperElement().getBoundingClientRect();N||(N=c.getScrollInfo());var i=H+N.top-t.top,o=i-(u.pageYOffset||(a.documentElement||a.body).scrollTop);if(C||(o+=d.offsetHeight),o<=e.top||o>=e.bottom)return n.close();d.style.top=i+"px",d.style.left=A+N.left-t.left+"px"}),t.on(d,"dblclick",(function(t){var e=h(d,t.target||t.srcElement);e&&null!=e.hintId&&(s.changeActive(e.hintId),s.pick())})),t.on(d,"click",(function(t){var e=h(d,t.target||t.srcElement);e&&null!=e.hintId&&(s.changeActive(e.hintId),n.options.completeOnSingleClick&&s.pick())})),t.on(d,"mousedown",(function(){setTimeout((function(){c.focus()}),20)}));var L=this.getSelectedHintRange();return 0===L.from&&0===L.to||this.scrollToActive(),t.signal(o,"select",p[this.selectedHint],d.childNodes[this.selectedHint]),!0}function u(t,e){if(!t.somethingSelected())return e;for(var i=[],n=0;n<e.length;n++)e[n].supportsSelection&&i.push(e[n]);return i}function d(t,e,i,n){if(t.async)t(e,n,i);else{var o=t(e,i);o&&o.then?o.then(n):n(o)}}function f(e,i){var n,o=e.getHelpers(i,"hint");if(o.length){var s=function(t,e,i){var n=u(t,o);function s(o){if(o==n.length)return e(null);d(n[o],t,i,(function(t){t&&t.list.length>0?e(t):s(o+1)}))}s(0)};return s.async=!0,s.supportsSelection=!0,s}return(n=e.getHelper(e.getCursor(),"hintWords"))?function(e){return t.hint.fromList(e,{words:n})}:t.hint.anyword?function(e,i){return t.hint.anyword(e,i)}:function(){}}n.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&t.signal(this.data,"close"),this.widget&&this.widget.close(),t.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(e,i){var n=e.list[i],o=this;this.cm.operation((function(){n.hint?n.hint(o.cm,e,n):o.cm.replaceRange(r(n),n.from||e.from,n.to||e.to,"complete"),t.signal(e,"pick",n),o.cm.scrollIntoView()})),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(s(this.debounce),this.debounce=0);var t=this.startPos;this.data&&(t=this.data.from);var e=this.cm.getCursor(),i=this.cm.getLine(e.line);if(e.line!=this.startPos.line||i.length-e.ch!=this.startLen-this.startPos.ch||e.ch<t.ch||this.cm.somethingSelected()||!e.ch||this.options.closeCharacters.test(i.charAt(e.ch-1)))this.close();else{var n=this;this.debounce=o((function(){n.update()})),this.widget&&this.widget.disable()}},update:function(t){if(null!=this.tick){var e=this,i=++this.tick;d(this.options.hint,this.cm,this.options,(function(n){e.tick==i&&e.finishUpdate(n,t)}))}},finishUpdate:function(e,i){this.data&&t.signal(this.data,"update");var n=this.widget&&this.widget.picked||i&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=e,e&&e.list.length&&(n&&1==e.list.length?this.pick(e,0):(this.widget=new a(this,e),t.signal(e,"shown")))}},a.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var t=this.completion.cm.getInputField();t.removeAttribute("aria-activedescendant"),t.removeAttribute("aria-owns");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 t=this;this.keyMap={Enter:function(){t.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(e,n){if(e>=this.data.list.length?e=n?this.data.list.length-1:0:e<0&&(e=n?0:this.data.list.length-1),this.selectedHint!=e){var o=this.hints.childNodes[this.selectedHint];o&&(o.className=o.className.replace(" "+i,""),o.removeAttribute("aria-selected")),(o=this.hints.childNodes[this.selectedHint=e]).className+=" "+i,o.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",o.id),this.scrollToActive(),t.signal(this.data,"select",this.data.list[this.selectedHint],o)}},scrollToActive:function(){var t=this.getSelectedHintRange(),e=this.hints.childNodes[t.from],i=this.hints.childNodes[t.to],n=this.hints.firstChild;e.offsetTop<this.hints.scrollTop?this.hints.scrollTop=e.offsetTop-n.offsetTop:i.offsetTop+i.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=i.offsetTop+i.offsetHeight-this.hints.clientHeight+n.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var t=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-t),to:Math.min(this.data.list.length-1,this.selectedHint+t)}}},t.registerHelper("hint","auto",{resolve:f}),t.registerHelper("hint","fromList",(function(e,i){var n,o=e.getCursor(),s=e.getTokenAt(o),c=t.Pos(o.line,s.start),r=o;s.start<o.ch&&/\w/.test(s.string.charAt(o.ch-s.start-1))?n=s.string.substr(0,o.ch-s.start):(n="",c=o);for(var l=[],h=0;h<i.words.length;h++){var a=i.words[h];a.slice(0,n.length)==n&&l.push(a)}if(l.length)return{list:l,from:c,to:r}})),t.commands.autocomplete=t.showHint;var p={hint:t.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};t.defineOption("hintOptions",null)}(i(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=322.28bfb0ce.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[344],{4085:function(e,r){var n,t,a,i,u,o,c;function s(){var e=a,r=[];if(v("{"),!h("}")){do{r.push(l())}while(h(","));v("}")}return{kind:"Object",start:e,end:u,members:r}}function l(){var e=a,r="String"===c?d():null;v("String"),v(":");var n=f();return{kind:"Member",start:e,end:u,key:r,value:n}}function f(){switch(c){case"[":return function(){var e=a,r=[];if(v("["),!h("]")){do{r.push(f())}while(h(","));v("]")}return{kind:"Array",start:e,end:u,values:r}}();case"{":return s();case"String":case"Number":case"Boolean":case"Null":var e=d();return y(),e}v("Value")}function d(){return{kind:c,start:a,end:i,value:JSON.parse(n.slice(a,i))}}function v(e){if(c!==e){var r;if("EOF"===c)r="[end of file]";else if(i-a>1)r="`"+n.slice(a,i)+"`";else{var t=n.slice(a).match(/^.+?\b/);r="`"+(t?t[0]:n[a])+"`"}throw p("Expected "+e+" but found "+r+".")}y()}function p(e){return{message:e,start:a,end:i}}function h(e){if(c===e)return y(),!0}function b(){return i<t&&(i++,o=i===t?0:n.charCodeAt(i)),o}function y(){for(u=i;9===o||10===o||13===o||32===o;)b();if(0!==o){switch(a=i,o){case 34:return c="String",function(){b();for(;34!==o&&o>31;)if(92===o)switch(o=b()){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:b();break;case 117:b(),m(),m(),m(),m();break;default:throw p("Bad character escape sequence.")}else{if(i===t)throw p("Unterminated string.");b()}if(34===o)return void b();throw p("Unterminated string.")}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return c="Number",function(){45===o&&b();48===o?b():k();46===o&&(b(),k());69!==o&&101!==o||(43!==(o=b())&&45!==o||b(),k())}();case 102:if("false"!==n.slice(a,a+5))break;return i+=4,b(),void(c="Boolean");case 110:if("null"!==n.slice(a,a+4))break;return i+=3,b(),void(c="Null");case 116:if("true"!==n.slice(a,a+4))break;return i+=3,b(),void(c="Boolean")}c=n[a],b()}else c="EOF"}function m(){if(o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102)return b();throw p("Expected hexadecimal digit.")}function k(){if(o<48||o>57)throw p("Expected decimal digit.");do{b()}while(o>=48&&o<=57)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){n=e,t=e.length,a=i=u=-1,b(),y();var r=s();return v("EOF"),r}},3344:function(e,r,n){var t=this&&this.__read||function(e,r){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var t,a,i=n.call(e),u=[];try{for(;(void 0===r||r-- >0)&&!(t=i.next()).done;)u.push(t.value)}catch(o){a={error:o}}finally{try{t&&!t.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return u},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var i=a(n(1300)),u=n(730),o=a(n(4085));function c(e,r){if(!e||!r)return[];if(e instanceof u.GraphQLNonNull)return"Null"===r.kind?[[r,'Type "'+e+'" is non-nullable and cannot be null.']]:c(e.ofType,r);if("Null"===r.kind)return[];if(e instanceof u.GraphQLList){var n=e.ofType;return"Array"===r.kind?l(r.values||[],(function(e){return c(n,e)})):c(n,r)}if(e instanceof u.GraphQLInputObjectType){if("Object"!==r.kind)return[[r,'Type "'+e+'" must be an Object.']];var t=Object.create(null),a=l(r.members,(function(r){var n,a=null===(n=null===r||void 0===r?void 0:r.key)||void 0===n?void 0:n.value;t[a]=!0;var i=e.getFields()[a];return i?c(i?i.type:void 0,r.value):[[r.key,'Type "'+e+'" does not have a field "'+a+'".']]}));return Object.keys(e.getFields()).forEach((function(n){t[n]||e.getFields()[n].type instanceof u.GraphQLNonNull&&a.push([r,'Object of type "'+e+'" is missing required field "'+n+'".'])})),a}return"Boolean"===e.name&&"Boolean"!==r.kind||"String"===e.name&&"String"!==r.kind||"ID"===e.name&&"Number"!==r.kind&&"String"!==r.kind||"Float"===e.name&&"Number"!==r.kind||"Int"===e.name&&("Number"!==r.kind||(0|r.value)!==r.value)||(e instanceof u.GraphQLEnumType||e instanceof u.GraphQLScalarType)&&("String"!==r.kind&&"Number"!==r.kind&&"Boolean"!==r.kind&&"Null"!==r.kind||(null===(i=e.parseValue(r.value))||void 0===i||i!==i))?[[r,'Expected value of type "'+e+'".']]:[];var i}function s(e,r,n){return{message:n,severity:"error",type:"validation",from:e.posFromIndex(r.start),to:e.posFromIndex(r.end)}}function l(e,r){return Array.prototype.concat.apply([],e.map(r))}i.default.registerHelper("lint","graphql-variables",(function(e,r,n){if(!e)return[];var a;try{a=o.default(e)}catch(u){if(u.stack)throw u;return[s(n,u,u.message)]}var i=r.variableToType;return i?function(e,r,n){var a=[];return n.members.forEach((function(n){var i;if(n){var u=null===(i=n.key)||void 0===i?void 0:i.value,o=r[u];o?c(o,n.value).forEach((function(r){var n=t(r,2),i=n[0],u=n[1];a.push(s(e,i,u))})):a.push(s(e,n.key,'Variable "$'+u+'" does not appear in any GraphQL query.'))}})),a}(n,i,a):[]}))}}]);
|
|
2
|
-
//# sourceMappingURL=344.142d13e9.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[39],{9039:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(1300)),u=i(n(4486));l.default.defineMode("graphql",u.default)},4486:function(e,t,n){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=n(21),u=i(n(4687));t.default=function(e){var t=l.onlineParser({eatWhitespace:function(e){return e.eatWhile(l.isIgnored)},lexRules:l.LexRules,parseRules:l.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:u.default,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}}},4687:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,i,l=e.levels;return((l&&0!==l.length?l[l.length-1]-((null===(n=this.electricInput)||void 0===n?void 0:n.test(t))?1:0):e.indentLevel)||0)*((null===(i=this.config)||void 0===i?void 0:i.indentUnit)||0)}}}]);
|
|
2
|
-
//# sourceMappingURL=39.73440f40.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/39.73440f40.chunk.js","mappings":"+OASA,iBACA,aAEAA,EAAAA,QAAWC,WAAW,UAAWC,EAAAA,Q,4JCFjC,YAMA,aA+CAC,EAAAA,QAzBwD,SAAAC,GACtD,IAAMC,EAASC,EAAAA,aAAa,CAC1BC,cAAe,SAAAC,GAAU,OAAAA,EAAOC,SAASH,EAAAA,UAAU,EACnDI,SAAUJ,EAAAA,SACVK,WAAYL,EAAAA,WACZM,aAAc,CAAEC,QAAST,EAAOS,WAGlC,MAAO,CACLT,OAAM,EACNU,WAAYT,EAAOS,WACnBC,MAAQV,EAAOU,MAGfC,OAAM,UACNC,cAAe,aACfC,KAAM,QACNC,YAAa,IACbC,cAAe,CACbC,MAAO,WACPC,QAAS,UAGd,C,sEChDDnB,EAAAA,QAAA,SAKEoB,EACAC,G,QAEMC,EAASF,EAAME,OAQrB,QAJGA,GAA4B,IAAlBA,EAAOC,OAEdD,EAAOA,EAAOC,OAAS,KACJ,QAAlB,EAAAC,KAAKV,qBAAaW,IAAAA,OAAA,EAAAA,EAAEC,KAAKL,IAAa,EAAI,GAF3CD,EAAMO,cAGK,KAAiB,QAAX,EAAAH,KAAKvB,cAAM2B,IAAAA,OAAA,EAAAA,EAAEC,aAAc,EACnD,C","sources":["../node_modules/codemirror-graphql/src/mode.ts","../node_modules/codemirror-graphql/src/utils/mode-factory.ts","../node_modules/codemirror-graphql/src/utils/mode-indent.ts"],"sourcesContent":["/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror from 'codemirror';\nimport modeFactory from './utils/mode-factory';\n\nCodeMirror.defineMode('graphql', modeFactory);\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror from 'codemirror';\nimport {\n LexRules,\n ParseRules,\n isIgnored,\n onlineParser,\n} from 'graphql-language-service';\nimport indent from './mode-indent';\n\n/**\n * The GraphQL mode is defined as a tokenizer along with a list of rules, each\n * of which is either a function or an array.\n *\n * * Function: Provided a token and the stream, returns an expected next step.\n * * Array: A list of steps to take in order.\n *\n * A step is either another rule, or a terminal description of a token. If it\n * is a rule, that rule is pushed onto the stack and the parsing continues from\n * that point.\n *\n * If it is a terminal description, the token is checked against it using a\n * `match` function. If the match is successful, the token is colored and the\n * rule is stepped forward. If the match is unsuccessful, the remainder of the\n * rule is skipped and the previous rule is advanced.\n *\n * This parsing algorithm allows for incremental online parsing within various\n * levels of the syntax tree and results in a structured `state` linked-list\n * which contains the relevant information to produce valuable typeaheads.\n */\nconst graphqlModeFactory: CodeMirror.ModeFactory<any> = config => {\n const parser = onlineParser({\n eatWhitespace: stream => stream.eatWhile(isIgnored),\n lexRules: LexRules,\n parseRules: ParseRules,\n editorConfig: { tabSize: config.tabSize },\n });\n\n return {\n config,\n startState: parser.startState,\n token: (parser.token as unknown) as NonNullable<\n CodeMirror.Mode<any>['token']\n >, // TODO: Check if the types are indeed compatible\n indent,\n electricInput: /^\\s*[})\\]]/,\n fold: 'brace',\n lineComment: '#',\n closeBrackets: {\n pairs: '()[]{}\"\"',\n explode: '()[]{}',\n },\n };\n};\n\nexport default graphqlModeFactory;\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror from 'codemirror';\nimport { State } from 'graphql-language-service';\n\n// Seems the electricInput type in @types/codemirror is wrong (i.e it is written as electricinput instead of electricInput)\nexport default function indent(\n this: CodeMirror.Mode<any> & {\n electricInput?: RegExp;\n config?: CodeMirror.EditorConfiguration;\n },\n state: State,\n textAfter: string,\n) {\n const levels = state.levels;\n // If there is no stack of levels, use the current level.\n // Otherwise, use the top level, pre-emptively dedenting for close braces.\n const level =\n !levels || levels.length === 0\n ? state.indentLevel\n : levels[levels.length - 1] -\n (this.electricInput?.test(textAfter) ? 1 : 0);\n return (level || 0) * (this.config?.indentUnit || 0);\n}\n"],"names":["codemirror_1","defineMode","mode_factory_1","exports","config","parser","graphql_language_service_1","eatWhitespace","stream","eatWhile","lexRules","parseRules","editorConfig","tabSize","startState","token","indent","electricInput","fold","lineComment","closeBrackets","pairs","explode","state","textAfter","levels","length","this","_a","test","indentLevel","_b","indentUnit"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[430],{2219:function(o,t,n){!function(o){"use strict";function t(t,e,i,f){if(i&&i.call){var l=i;i=null}else l=r(t,i,"rangeFinder");"number"==typeof e&&(e=o.Pos(e,0));var a=r(t,i,"minFoldSize");function d(o){var n=l(t,e);if(!n||n.to.line-n.from.line<a)return null;if("fold"===f)return n;for(var r=t.findMarksAt(n.from),i=0;i<r.length;++i)if(r[i].__isFold){if(!o)return null;n.cleared=!0,r[i].clear()}return n}var u=d(!0);if(r(t,i,"scanUp"))for(;!u&&e.line>t.firstLine();)e=o.Pos(e.line-1,0),u=d(!1);if(u&&!u.cleared&&"unfold"!==f){var c=n(t,i,u);o.on(c,"mousedown",(function(t){s.clear(),o.e_preventDefault(t)}));var s=t.markText(u.from,u.to,{replacedWith:c,clearOnEnter:r(t,i,"clearOnEnter"),__isFold:!0});s.on("clear",(function(n,e){o.signal(t,"unfold",t,n,e)})),o.signal(t,"fold",t,u.from,u.to)}}function n(o,t,n){var e=r(o,t,"widget");if("function"==typeof e&&(e=e(n.from,n.to)),"string"==typeof e){var i=document.createTextNode(e);(e=document.createElement("span")).appendChild(i),e.className="CodeMirror-foldmarker"}else e&&(e=e.cloneNode(!0));return e}o.newFoldFunction=function(o,n){return function(e,r){t(e,r,{rangeFinder:o,widget:n})}},o.defineExtension("foldCode",(function(o,n,e){t(this,o,n,e)})),o.defineExtension("isFolded",(function(o){for(var t=this.findMarksAt(o),n=0;n<t.length;++n)if(t[n].__isFold)return!0})),o.commands.toggleFold=function(o){o.foldCode(o.getCursor())},o.commands.fold=function(o){o.foldCode(o.getCursor(),null,"fold")},o.commands.unfold=function(o){o.foldCode(o.getCursor(),{scanUp:!1},"unfold")},o.commands.foldAll=function(t){t.operation((function(){for(var n=t.firstLine(),e=t.lastLine();n<=e;n++)t.foldCode(o.Pos(n,0),{scanUp:!1},"fold")}))},o.commands.unfoldAll=function(t){t.operation((function(){for(var n=t.firstLine(),e=t.lastLine();n<=e;n++)t.foldCode(o.Pos(n,0),{scanUp:!1},"unfold")}))},o.registerHelper("fold","combine",(function(){var o=Array.prototype.slice.call(arguments,0);return function(t,n){for(var e=0;e<o.length;++e){var r=o[e](t,n);if(r)return r}}})),o.registerHelper("fold","auto",(function(o,t){for(var n=o.getHelpers(t,"fold"),e=0;e<n.length;e++){var r=n[e](o,t);if(r)return r}}));var e={rangeFinder:o.fold.auto,widget:"\u2194",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function r(o,t,n){if(t&&void 0!==t[n])return t[n];var r=o.options.foldOptions;return r&&void 0!==r[n]?r[n]:e[n]}o.defineOption("foldOptions",null),o.defineExtension("foldOption",(function(o,t){return r(this,o,t)}))}(n(1300))},7430:function(o,t,n){!function(o){"use strict";o.defineOption("foldGutter",!1,(function(t,r,i){i&&i!=o.Init&&(t.clearGutter(t.state.foldGutter.options.gutter),t.state.foldGutter=null,t.off("gutterClick",d),t.off("changes",u),t.off("viewportChange",c),t.off("fold",s),t.off("unfold",s),t.off("swapDoc",u)),r&&(t.state.foldGutter=new n(e(r)),a(t),t.on("gutterClick",d),t.on("changes",u),t.on("viewportChange",c),t.on("fold",s),t.on("unfold",s),t.on("swapDoc",u))}));var t=o.Pos;function n(o){this.options=o,this.from=this.to=0}function e(o){return!0===o&&(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}function r(o,n){for(var e=o.findMarks(t(n,0),t(n+1,0)),r=0;r<e.length;++r)if(e[r].__isFold){var i=e[r].find(-1);if(i&&i.line===n)return e[r]}}function i(o){if("string"==typeof o){var t=document.createElement("div");return t.className=o+" CodeMirror-guttermarker-subtle",t}return o.cloneNode(!0)}function f(o,n,e){var f=o.state.foldGutter.options,a=n-1,d=o.foldOption(f,"minFoldSize"),u=o.foldOption(f,"rangeFinder"),c="string"==typeof f.indicatorFolded&&l(f.indicatorFolded),s="string"==typeof f.indicatorOpen&&l(f.indicatorOpen);o.eachLine(n,e,(function(n){++a;var e=null,l=n.gutterMarkers;if(l&&(l=l[f.gutter]),r(o,a)){if(c&&l&&c.test(l.className))return;e=i(f.indicatorFolded)}else{var p=t(a,0),m=u&&u(o,p);if(m&&m.to.line-m.from.line>=d){if(s&&l&&s.test(l.className))return;e=i(f.indicatorOpen)}}(e||l)&&o.setGutterMarker(n,f.gutter,e)}))}function l(o){return new RegExp("(^|\\s)"+o+"(?:$|\\s)\\s*")}function a(o){var t=o.getViewport(),n=o.state.foldGutter;n&&(o.operation((function(){f(o,t.from,t.to)})),n.from=t.from,n.to=t.to)}function d(o,n,e){var i=o.state.foldGutter;if(i){var f=i.options;if(e==f.gutter){var l=r(o,n);l?l.clear():o.foldCode(t(n,0),f)}}}function u(o){var t=o.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){a(o)}),n.foldOnChangeTimeSpan||600)}}function c(o){var t=o.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=o.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?a(o):o.operation((function(){n.from<t.from&&(f(o,n.from,t.from),t.from=n.from),n.to>t.to&&(f(o,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function s(o,t){var n=o.state.foldGutter;if(n){var e=t.line;e>=n.from&&e<n.to&&f(o,e,e+1)}}}(n(1300),n(2219))}}]);
|
|
2
|
-
//# sourceMappingURL=430.23c55f04.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[503],{9503:function(e,n,t){!function(e){"use strict";var n={},t=/[^\s\u00a0]/,i=e.Pos,l=e.cmpPos;function o(e){var n=e.search(t);return-1==n?0:n}function a(e,n,t){return/\bstring\b/.test(e.getTokenTypeAt(i(n.line,0)))&&!/^[\'\"\`]/.test(t)}function r(e,n){var t=e.getMode();return!1!==t.useInnerComments&&t.innerMode?e.getModeAt(n):t}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=n);for(var t=this,l=1/0,o=this.listSelections(),a=null,r=o.length-1;r>=0;r--){var m=o[r].from(),c=o[r].to();m.line>=l||(c.line>=l&&(c=i(l,0)),l=m.line,null==a?t.uncomment(m,c,e)?a="un":(t.lineComment(m,c,e),a="line"):"un"==a?t.uncomment(m,c,e):t.lineComment(m,c,e))}})),e.defineExtension("lineComment",(function(e,l,m){m||(m=n);var c=this,s=r(c,e),g=c.getLine(e.line);if(null!=g&&!a(c,e,g)){var f=m.lineComment||s.lineComment;if(f){var u=Math.min(0!=l.ch||l.line==e.line?l.line+1:l.line,c.lastLine()+1),h=null==m.padding?" ":m.padding,d=m.commentBlankLines||e.line==l.line;c.operation((function(){if(m.indent){for(var n=null,l=e.line;l<u;++l){var a=(r=c.getLine(l)).slice(0,o(r));(null==n||n.length>a.length)&&(n=a)}for(l=e.line;l<u;++l){var r=c.getLine(l),s=n.length;(d||t.test(r))&&(r.slice(0,s)!=n&&(s=o(r)),c.replaceRange(n+f+h,i(l,0),i(l,s)))}}else for(l=e.line;l<u;++l)(d||t.test(c.getLine(l)))&&c.replaceRange(f+h,i(l,0))}))}else(m.blockCommentStart||s.blockCommentStart)&&(m.fullLines=!0,c.blockComment(e,l,m))}})),e.defineExtension("blockComment",(function(e,o,a){a||(a=n);var m=this,c=r(m,e),s=a.blockCommentStart||c.blockCommentStart,g=a.blockCommentEnd||c.blockCommentEnd;if(s&&g){if(!/\bcomment\b/.test(m.getTokenTypeAt(i(e.line,0)))){var f=Math.min(o.line,m.lastLine());f!=e.line&&0==o.ch&&t.test(m.getLine(f))&&--f;var u=null==a.padding?" ":a.padding;e.line>f||m.operation((function(){if(0!=a.fullLines){var n=t.test(m.getLine(f));m.replaceRange(u+g,i(f)),m.replaceRange(s+u,i(e.line,0));var r=a.blockCommentLead||c.blockCommentLead;if(null!=r)for(var h=e.line+1;h<=f;++h)(h!=f||n)&&m.replaceRange(r+u,i(h,0))}else{var d=0==l(m.getCursor("to"),o),C=!m.somethingSelected();m.replaceRange(g,o),d&&m.setSelection(C?o:m.getCursor("from"),o),m.replaceRange(s,e)}}))}}else(a.lineComment||c.lineComment)&&0!=a.fullLines&&m.lineComment(e,o,a)})),e.defineExtension("uncomment",(function(e,l,o){o||(o=n);var a,m=this,c=r(m,e),s=Math.min(0!=l.ch||l.line==e.line?l.line:l.line-1,m.lastLine()),g=Math.min(e.line,s),f=o.lineComment||c.lineComment,u=[],h=null==o.padding?" ":o.padding;e:if(f){for(var d=g;d<=s;++d){var C=m.getLine(d),v=C.indexOf(f);if(v>-1&&!/comment/.test(m.getTokenTypeAt(i(d,v+1)))&&(v=-1),-1==v&&t.test(C))break e;if(v>-1&&t.test(C.slice(0,v)))break e;u.push(C)}if(m.operation((function(){for(var e=g;e<=s;++e){var n=u[e-g],t=n.indexOf(f),l=t+f.length;t<0||(n.slice(l,l+h.length)==h&&(l+=h.length),a=!0,m.replaceRange("",i(e,t),i(e,l)))}})),a)return!0}var p=o.blockCommentStart||c.blockCommentStart,k=o.blockCommentEnd||c.blockCommentEnd;if(!p||!k)return!1;var b=o.blockCommentLead||c.blockCommentLead,L=m.getLine(g),x=L.indexOf(p);if(-1==x)return!1;var R=s==g?L:m.getLine(s),O=R.indexOf(k,s==g?x+p.length:0),T=i(g,x+1),S=i(s,O+1);if(-1==O||!/comment/.test(m.getTokenTypeAt(T))||!/comment/.test(m.getTokenTypeAt(S))||m.getRange(T,S,"\n").indexOf(k)>-1)return!1;var E=L.lastIndexOf(p,e.ch),M=-1==E?-1:L.slice(0,e.ch).indexOf(k,E+p.length);if(-1!=E&&-1!=M&&M+k.length!=e.ch)return!1;M=R.indexOf(k,l.ch);var A=R.slice(l.ch).lastIndexOf(p,M-l.ch);return E=-1==M||-1==A?-1:l.ch+A,(-1==M||-1==E||E==l.ch)&&(m.operation((function(){m.replaceRange("",i(s,O-(h&&R.slice(O-h.length,O)==h?h.length:0)),i(s,O+k.length));var e=x+p.length;if(h&&L.slice(e,e+h.length)==h&&(e+=h.length),m.replaceRange("",i(g,x),i(g,e)),b)for(var n=g+1;n<=s;++n){var l=m.getLine(n),o=l.indexOf(b);if(-1!=o&&!t.test(l.slice(0,o))){var a=o+b.length;h&&l.slice(a,a+h.length)==h&&(a+=h.length),m.replaceRange("",i(n,o),i(n,a))}}})),!0)}))}(t(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=503.c783958a.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[580],{4419:function(e,t,r){var u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=u(r(1300)),l=r(21);function a(e,t){var r,u,n=e.levels;return((n&&0!==n.length?n[n.length-1]-((null===(r=this.electricInput)||void 0===r?void 0:r.test(t))?1:0):e.indentLevel)||0)*((null===(u=this.config)||void 0===u?void 0:u.indentUnit)||0)}n.default.defineMode("graphql-results",(function(e){var t=l.onlineParser({eatWhitespace:function(e){return e.eatSpace()},lexRules:i,parseRules:s,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}));var i={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/},s={Document:[l.p("{"),l.list("Entry",l.p(",")),l.p("}")],Entry:[l.t("String","def"),l.p(":"),"Value"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[l.t("Number","number")],StringValue:[l.t("String","string")],BooleanValue:[l.t("Keyword","builtin")],NullValue:[l.t("Keyword","keyword")],ListValue:[l.p("["),l.list("Value",l.p(",")),l.p("]")],ObjectValue:[l.p("{"),l.list("ObjectField",l.p(",")),l.p("}")],ObjectField:[l.t("String","property"),l.p(":"),"Value"]}}}]);
|
|
2
|
-
//# sourceMappingURL=580.0502adfe.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[587],{7587:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(1300)),r=a(n(7230)),u=n(4186);n(8253),i.default.registerHelper("jump","graphql",(function(e,t){if(t.schema&&t.onClick&&e.state){var n=e.state,a=n.kind,i=n.step,l=r.default(t.schema,n);return"Field"===a&&0===i&&l.fieldDef||"AliasedField"===a&&2===i&&l.fieldDef?u.getFieldReference(l):"Directive"===a&&1===i&&l.directiveDef?u.getDirectiveReference(l):"Argument"===a&&0===i&&l.argDef?u.getArgumentReference(l):"EnumValue"===a&&l.enumValue?u.getEnumValueReference(l):"NamedType"===a&&l.type?u.getTypeReference(l):void 0}}))},4186:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeReference=t.getEnumValueReference=t.getArgumentReference=t.getDirectiveReference=t.getFieldReference=void 0;var a=n(730);function i(e){return"__"===e.name.slice(0,2)}t.getFieldReference=function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:i(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?a.getNamedType(e.inputType):void 0}},t.getTypeReference=function(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}},7872:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(var n=[],a=e;a&&a.kind;)n.push(a),a=a.prevState;for(var i=n.length-1;i>=0;i--)t(n[i])}},7230:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(730),r=n(8979),u=a(n(7872));function l(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&i.isCompositeType(t)?r.TypeNameMetaFieldDef:t&&t.getFields?t.getFields()[n]:void 0}t.default=function(e,t){var n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return u.default(t,(function(t){switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?l(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=n.type?i.getNamedType(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":var a=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&l(e,n.parentType,t.prevState.name):null:null;n.argDefs=a?a.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(var r=0;r<n.argDefs.length;r++)if(n.argDefs[r].name===t.name){n.argDef=n.argDefs[r];break}n.inputType=n.argDef&&n.argDef.type;break;case"EnumValue":var u=n.inputType?i.getNamedType(n.inputType):null;n.enumValue=u instanceof i.GraphQLEnumType?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}(u.getValues(),(function(e){return e.value===t.name})):null;break;case"ListValue":var o=n.inputType?i.getNullableType(n.inputType):null;n.inputType=o instanceof i.GraphQLList?o.ofType:null;break;case"ObjectValue":var f=n.inputType?i.getNamedType(n.inputType):null;n.objectFieldDefs=f instanceof i.GraphQLInputObjectType?f.getFields():null;break;case"ObjectField":var p=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=p&&p.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}})),n}},8253:function(e,t,n){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(1300));function r(e,t){var n=t.target||t.srcElement;if(n instanceof HTMLElement&&"SPAN"===(null===n||void 0===n?void 0:n.nodeName)){var a=n.getBoundingClientRect(),i={left:(a.left+a.right)/2,top:(a.top+a.bottom)/2};e.state.jump.cursor=i,e.state.jump.isHoldingModifier&&f(e)}}function u(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&p(e):e.state.jump.cursor=null}function l(e,t){if(!e.state.jump.isHoldingModifier&&t.key===(o?"Meta":"Control")){e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&f(e);var n=function(t){var n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},a=function(t,n){e.state.jump.destination&&(n.codemirrorIgnore=!0)};i.default.on(document,"keyup",(function r(u){u.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&p(e),i.default.off(document,"keyup",r),i.default.off(document,"click",n),e.off("mousedown",a))})),i.default.on(document,"click",n),e.on("mousedown",a)}}i.default.defineOption("jump",!1,(function(e,t,n){if(n&&n!==i.default.Init){var a=e.state.jump.onMouseOver;i.default.off(e.getWrapperElement(),"mouseover",a);var o=e.state.jump.onMouseOut;i.default.off(e.getWrapperElement(),"mouseout",o),i.default.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){var f=e.state.jump={options:t,onMouseOver:r.bind(null,e),onMouseOut:u.bind(null,e),onKeyDown:l.bind(null,e)};i.default.on(e.getWrapperElement(),"mouseover",f.onMouseOver),i.default.on(e.getWrapperElement(),"mouseout",f.onMouseOut),i.default.on(document,"keydown",f.onKeyDown)}}));var o="undefined"!==typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function f(e){if(!e.state.jump.marker){var t=e.state.jump.cursor,n=e.coordsChar(t),a=e.getTokenAt(n,!0),i=e.state.jump.options,r=i.getDestination||e.getHelper(n,"jump");if(r){var u=r(a,i,e);if(u){var l=e.markText({line:n.line,ch:a.start},{line:n.line,ch:a.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=l,e.state.jump.destination=u}}}}function p(e){var t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}}}]);
|
|
2
|
-
//# sourceMappingURL=587.40adb4ae.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/587.40adb4ae.chunk.js","mappings":"gPAYA,iBAEA,aACA,UAOAA,EAAAA,MAsBAC,EAAAA,QAAWC,eACT,OACA,WACA,SAACC,EAAyBC,GACxB,GAAKA,EAAQC,QAAWD,EAAQE,SAAYH,EAAMI,MAAlD,CAOA,IAAMA,EAAQJ,EAAMI,MACdC,EAAOD,EAAMC,KACbC,EAAOF,EAAME,KACbC,EAAWC,EAAAA,QAAYP,EAAQC,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AAUqB,KAAK,KAAMxC,IAGlC/D,EAAAA,QAAW2F,GAAG5B,EAAGsC,oBAAqB,YAAa/F,EAAMwD,aACzD9D,EAAAA,QAAW2F,GAAG5B,EAAGsC,oBAAqB,WAAY/F,EAAMyE,YACxD/E,EAAAA,QAAW2F,GAAGC,SAAU,UAAWtF,EAAM4E,UAC1C,CACF,IAiFH,IAAME,EACiB,qBAAdoB,WACPA,YACyC,IAAzCA,UAAUC,WAAWC,QAAQ,OAM/B,SAAS5B,EAAef,GACtB,IAAIA,EAAGzD,MAAMsE,KAAKI,OAAlB,CAIA,IAAMT,EAASR,EAAGzD,MAAMsE,KAAKL,OACvBoC,EAAM5C,EAAG6C,WAAWrC,GACpBrE,EAAQ6D,EAAG8C,WAAWF,GAAK,GAE3BxG,EAAU4D,EAAGzD,MAAMsE,KAAKzE,QACxB2G,EAAiB3G,EAAQ2G,gBAAkB/C,EAAGgD,UAAUJ,EAAK,QACnE,GAAIG,EAAgB,CAClB,IAAMxB,EAAcwB,EAAe5G,EAAOC,EAAS4D,GACnD,GAAIuB,EAAa,CACf,IAAMN,EAASjB,EAAGiD,SAChB,CAAEC,KAAMN,EAAIM,KAAMC,GAAIhH,EAAMiH,OAC5B,CAAEF,KAAMN,EAAIM,KAAMC,GAAIhH,EAAMkH,KAC5B,CAAEC,UAAW,0BAGftD,EAAGzD,MAAMsE,KAAKI,OAASA,EACvBjB,EAAGzD,MAAMsE,KAAKU,YAAcA,CAC7B,CACF,CApBA,CAqBF,CAED,SAASL,EAAgBlB,GACvB,IAAMiB,EAASjB,EAAGzD,MAAMsE,KAAKI,OAC7BjB,EAAGzD,MAAMsE,KAAKI,OAAS,KACvBjB,EAAGzD,MAAMsE,KAAKU,YAAc,KAE5BN,EAAOsC,OACR,C","sources":["../node_modules/codemirror-graphql/src/jump.ts","../node_modules/codemirror-graphql/src/utils/SchemaReference.ts","../node_modules/codemirror-graphql/src/utils/forEachState.ts","../node_modules/codemirror-graphql/src/utils/getTypeInfo.ts","../node_modules/codemirror-graphql/src/utils/jump-addon.ts"],"sourcesContent":["/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @flow\n *\n */\n\nimport CodeMirror from 'codemirror';\n\nimport getTypeInfo from './utils/getTypeInfo';\nimport {\n getArgumentReference,\n getDirectiveReference,\n getEnumValueReference,\n getFieldReference,\n getTypeReference,\n} from './utils/SchemaReference';\nimport './utils/jump-addon';\nimport { GraphQLSchema } from 'graphql';\nimport type { State } from 'graphql-language-service';\n\nexport interface GraphQLJumpOptions {\n schema?: GraphQLSchema;\n onClick?: () => void;\n state?: State;\n}\n\n/**\n * Registers GraphQL \"jump\" links for CodeMirror.\n *\n * When command-hovering over a token, this converts it to a link, which when\n * pressed will call the provided onClick handler.\n *\n * Options:\n *\n * - schema: GraphQLSchema provides positionally relevant info.\n * - onClick: A function called when a named thing is clicked.\n *\n */\nCodeMirror.registerHelper(\n 'jump',\n 'graphql',\n (token: CodeMirror.Token, options: GraphQLJumpOptions) => {\n if (!options.schema || !options.onClick || !token.state) {\n return;\n }\n\n // Given a Schema and a Token, produce a \"SchemaReference\" which refers to\n // the particular artifact from the schema (such as a type, field, argument,\n // or directive) that token references.\n const state = token.state;\n const kind = state.kind;\n const step = state.step;\n const typeInfo = getTypeInfo(options.schema, state);\n\n if (\n (kind === 'Field' && step === 0 && typeInfo.fieldDef) ||\n (kind === 'AliasedField' && step === 2 && typeInfo.fieldDef)\n ) {\n return getFieldReference(typeInfo);\n } else if (kind === 'Directive' && step === 1 && typeInfo.directiveDef) {\n return getDirectiveReference(typeInfo);\n } else if (kind === 'Argument' && step === 0 && typeInfo.argDef) {\n return getArgumentReference(typeInfo);\n } else if (kind === 'EnumValue' && typeInfo.enumValue) {\n return getEnumValueReference(typeInfo);\n } else if (kind === 'NamedType' && typeInfo.type) {\n return getTypeReference(typeInfo);\n }\n },\n);\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport { getNamedType, GraphQLSchema } from 'graphql';\n\nimport type {\n GraphQLArgument,\n GraphQLDirective,\n GraphQLEnumValue,\n GraphQLEnumType,\n GraphQLField,\n GraphQLNamedType,\n} from 'graphql';\nimport { Maybe } from 'graphql/jsutils/Maybe';\nimport { TypeInfo } from './getTypeInfo';\n\nexport type SchemaReference =\n | FieldReference\n | DirectiveReference\n | ArgumentReference\n | EnumValueReference\n | TypeReference;\n\nexport type FieldReference = {\n kind: 'Field';\n field: GraphQLField<any, any>;\n type: Maybe<GraphQLNamedType>;\n schema?: GraphQLSchema;\n};\n\nexport type DirectiveReference = {\n kind: 'Directive';\n directive: GraphQLDirective;\n schema?: GraphQLSchema;\n};\n\nexport type ArgumentReference = {\n kind: 'Argument';\n argument: GraphQLArgument;\n field?: GraphQLField<any, any>;\n type?: GraphQLNamedType;\n directive?: GraphQLDirective;\n schema?: GraphQLSchema;\n};\n\nexport type EnumValueReference = {\n kind: 'EnumValue';\n value?: GraphQLEnumValue;\n type?: GraphQLEnumType;\n schema?: GraphQLSchema;\n};\n\nexport type TypeReference = {\n kind: 'Type';\n type: GraphQLNamedType;\n schema?: GraphQLSchema;\n};\n\nexport function getFieldReference(typeInfo: any): FieldReference {\n return {\n kind: 'Field',\n schema: typeInfo.schema,\n field: typeInfo.fieldDef,\n type: isMetaField(typeInfo.fieldDef) ? null : typeInfo.parentType,\n };\n}\n\nexport function getDirectiveReference(typeInfo: any): DirectiveReference {\n return {\n kind: 'Directive',\n schema: typeInfo.schema,\n directive: typeInfo.directiveDef,\n };\n}\n\nexport function getArgumentReference(typeInfo: any): ArgumentReference {\n return typeInfo.directiveDef\n ? {\n kind: 'Argument',\n schema: typeInfo.schema,\n argument: typeInfo.argDef,\n directive: typeInfo.directiveDef,\n }\n : {\n kind: 'Argument',\n schema: typeInfo.schema,\n argument: typeInfo.argDef,\n field: typeInfo.fieldDef,\n type: isMetaField(typeInfo.fieldDef) ? null : typeInfo.parentType,\n };\n}\n\nexport function getEnumValueReference(typeInfo: TypeInfo): EnumValueReference {\n return {\n kind: 'EnumValue',\n value: typeInfo.enumValue || undefined,\n // $FlowFixMe\n type: typeInfo.inputType\n ? (getNamedType(typeInfo.inputType) as GraphQLEnumType)\n : undefined,\n };\n}\n\n// Note: for reusability, getTypeReference can produce a reference to any type,\n// though it defaults to the current type.\nexport function getTypeReference(\n typeInfo: any,\n type?: Maybe<GraphQLNamedType>,\n): TypeReference {\n return {\n kind: 'Type',\n schema: typeInfo.schema,\n type: type || typeInfo.type,\n };\n}\n\nfunction isMetaField(fieldDef: GraphQLField<any, any>) {\n return fieldDef.name.slice(0, 2) === '__';\n}\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport type { State, Maybe } from 'graphql-language-service';\n\n// Utility for iterating through a CodeMirror parse state stack bottom-up.\nexport default function forEachState(stack: State, fn: (state: State) => void) {\n const reverseStateStack = [];\n let state: Maybe<State> = stack;\n while (state && state.kind) {\n reverseStateStack.push(state);\n state = state.prevState;\n }\n for (let i = reverseStateStack.length - 1; i >= 0; i--) {\n fn(reverseStateStack[i]);\n }\n}\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport {\n isCompositeType,\n getNullableType,\n getNamedType,\n GraphQLEnumType,\n GraphQLInputObjectType,\n GraphQLList,\n GraphQLSchema,\n GraphQLType,\n GraphQLObjectType,\n GraphQLField,\n GraphQLDirective,\n GraphQLArgument,\n GraphQLInputType,\n GraphQLEnumValue,\n GraphQLInputFieldMap,\n} from 'graphql';\nimport type { State, Maybe } from 'graphql-language-service';\n\nimport {\n SchemaMetaFieldDef,\n TypeMetaFieldDef,\n TypeNameMetaFieldDef,\n} from 'graphql/type/introspection';\n\nimport forEachState from './forEachState';\n\nexport interface TypeInfo {\n schema: GraphQLSchema;\n type?: Maybe<GraphQLType>;\n parentType?: Maybe<GraphQLType>;\n inputType?: Maybe<GraphQLInputType>;\n directiveDef?: Maybe<GraphQLDirective>;\n fieldDef?: Maybe<GraphQLField<any, any>>;\n argDef?: Maybe<GraphQLArgument>;\n argDefs?: Maybe<GraphQLArgument[]>;\n enumValue?: Maybe<GraphQLEnumValue>;\n objectFieldDefs?: Maybe<GraphQLInputFieldMap>;\n}\n\n/**\n * Utility for collecting rich type information given any token's state\n * from the graphql-mode parser.\n */\nexport default function getTypeInfo(schema: GraphQLSchema, tokenState: State) {\n const info: TypeInfo = {\n schema,\n type: null,\n parentType: null,\n inputType: null,\n directiveDef: null,\n fieldDef: null,\n argDef: null,\n argDefs: null,\n objectFieldDefs: null,\n };\n\n forEachState(tokenState, (state: State) => {\n switch (state.kind) {\n case 'Query':\n case 'ShortQuery':\n info.type = schema.getQueryType();\n break;\n case 'Mutation':\n info.type = schema.getMutationType();\n break;\n case 'Subscription':\n info.type = schema.getSubscriptionType();\n break;\n case 'InlineFragment':\n case 'FragmentDefinition':\n if (state.type) {\n info.type = schema.getType(state.type);\n }\n break;\n case 'Field':\n case 'AliasedField':\n info.fieldDef =\n info.type && state.name\n ? getFieldDef(schema, info.parentType, state.name)\n : null;\n info.type = info.fieldDef && info.fieldDef.type;\n break;\n case 'SelectionSet':\n info.parentType = info.type ? getNamedType(info.type) : null;\n break;\n case 'Directive':\n info.directiveDef = state.name ? schema.getDirective(state.name) : null;\n break;\n case 'Arguments':\n const parentDef = state.prevState\n ? state.prevState.kind === 'Field'\n ? info.fieldDef\n : state.prevState.kind === 'Directive'\n ? info.directiveDef\n : state.prevState.kind === 'AliasedField'\n ? state.prevState.name &&\n getFieldDef(schema, info.parentType, state.prevState.name)\n : null\n : null;\n info.argDefs = parentDef ? (parentDef.args as GraphQLArgument[]) : null;\n break;\n case 'Argument':\n info.argDef = null;\n if (info.argDefs) {\n for (let i = 0; i < info.argDefs.length; i++) {\n if (info.argDefs[i].name === state.name) {\n info.argDef = info.argDefs[i];\n break;\n }\n }\n }\n info.inputType = info.argDef && info.argDef.type;\n break;\n case 'EnumValue':\n const enumType = info.inputType ? getNamedType(info.inputType) : null;\n info.enumValue =\n enumType instanceof GraphQLEnumType\n ? find(\n enumType.getValues() as GraphQLEnumValue[],\n val => val.value === state.name,\n )\n : null;\n break;\n case 'ListValue':\n const nullableType = info.inputType\n ? getNullableType(info.inputType)\n : null;\n info.inputType =\n nullableType instanceof GraphQLList ? nullableType.ofType : null;\n break;\n case 'ObjectValue':\n const objectType = info.inputType ? getNamedType(info.inputType) : null;\n info.objectFieldDefs =\n objectType instanceof GraphQLInputObjectType\n ? objectType.getFields()\n : null;\n break;\n case 'ObjectField':\n const objectField =\n state.name && info.objectFieldDefs\n ? info.objectFieldDefs[state.name]\n : null;\n info.inputType = objectField && objectField.type;\n break;\n case 'NamedType':\n info.type = state.name ? schema.getType(state.name) : null;\n break;\n }\n });\n\n return info;\n}\n\n// Gets the field definition given a type and field name\nfunction getFieldDef(\n schema: GraphQLSchema,\n type: Maybe<GraphQLType>,\n fieldName: string,\n) {\n if (fieldName === SchemaMetaFieldDef.name && schema.getQueryType() === type) {\n return SchemaMetaFieldDef;\n }\n if (fieldName === TypeMetaFieldDef.name && schema.getQueryType() === type) {\n return TypeMetaFieldDef;\n }\n if (fieldName === TypeNameMetaFieldDef.name && isCompositeType(type)) {\n return TypeNameMetaFieldDef;\n }\n if (type && (type as GraphQLObjectType).getFields) {\n return (type as GraphQLObjectType).getFields()[fieldName];\n }\n}\n\n// Returns the first item in the array which causes predicate to return truthy.\nfunction find<T>(array: T[], predicate: (item: T) => boolean) {\n for (let i = 0; i < array.length; i++) {\n if (predicate(array[i])) {\n return array[i];\n }\n }\n}\n","/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror from 'codemirror';\nimport { GraphQLJumpOptions } from '../jump';\n\nCodeMirror.defineOption(\n 'jump',\n false,\n (\n cm: CodeMirror.Editor,\n options: GraphQLJumpOptions,\n old?: GraphQLJumpOptions,\n ) => {\n if (old && old !== CodeMirror.Init) {\n const oldOnMouseOver = cm.state.jump.onMouseOver;\n CodeMirror.off(cm.getWrapperElement(), 'mouseover', oldOnMouseOver);\n const oldOnMouseOut = cm.state.jump.onMouseOut;\n CodeMirror.off(cm.getWrapperElement(), 'mouseout', oldOnMouseOut);\n CodeMirror.off(document, 'keydown', cm.state.jump.onKeyDown);\n delete cm.state.jump;\n }\n\n if (options) {\n const state = (cm.state.jump = {\n options,\n onMouseOver: onMouseOver.bind(null, cm),\n onMouseOut: onMouseOut.bind(null, cm),\n onKeyDown: onKeyDown.bind(null, cm),\n });\n\n CodeMirror.on(cm.getWrapperElement(), 'mouseover', state.onMouseOver);\n CodeMirror.on(cm.getWrapperElement(), 'mouseout', state.onMouseOut);\n CodeMirror.on(document, 'keydown', state.onKeyDown);\n }\n },\n);\n\nfunction onMouseOver(cm: CodeMirror.Editor, event: MouseEvent) {\n const target = event.target || event.srcElement;\n if (!(target instanceof HTMLElement)) {\n return;\n }\n if (target?.nodeName !== 'SPAN') {\n return;\n }\n\n const box = target.getBoundingClientRect();\n const cursor = {\n left: (box.left + box.right) / 2,\n top: (box.top + box.bottom) / 2,\n };\n\n cm.state.jump.cursor = cursor;\n\n if (cm.state.jump.isHoldingModifier) {\n enableJumpMode(cm);\n }\n}\n\nfunction onMouseOut(cm: CodeMirror.Editor) {\n if (!cm.state.jump.isHoldingModifier && cm.state.jump.cursor) {\n cm.state.jump.cursor = null;\n return;\n }\n\n if (cm.state.jump.isHoldingModifier && cm.state.jump.marker) {\n disableJumpMode(cm);\n }\n}\n\nfunction onKeyDown(cm: CodeMirror.Editor, event: KeyboardEvent) {\n if (cm.state.jump.isHoldingModifier || !isJumpModifier(event.key)) {\n return;\n }\n\n cm.state.jump.isHoldingModifier = true;\n\n if (cm.state.jump.cursor) {\n enableJumpMode(cm);\n }\n\n const onKeyUp = (upEvent: KeyboardEvent) => {\n if (upEvent.code !== event.code) {\n return;\n }\n\n cm.state.jump.isHoldingModifier = false;\n\n if (cm.state.jump.marker) {\n disableJumpMode(cm);\n }\n\n CodeMirror.off(document, 'keyup', onKeyUp);\n CodeMirror.off(document, 'click', onClick);\n cm.off('mousedown', onMouseDown);\n };\n\n const onClick = (clickEvent: MouseEvent) => {\n const destination = cm.state.jump.destination;\n if (destination) {\n cm.state.jump.options.onClick(destination, clickEvent);\n }\n };\n\n const onMouseDown = (_: any, downEvent: MouseEvent) => {\n if (cm.state.jump.destination) {\n (downEvent as any).codemirrorIgnore = true;\n }\n };\n\n CodeMirror.on(document, 'keyup', onKeyUp);\n CodeMirror.on(document, 'click', onClick);\n cm.on('mousedown', onMouseDown);\n}\n\nconst isMac =\n typeof navigator !== 'undefined' &&\n navigator &&\n navigator.appVersion.indexOf('Mac') !== -1;\n\nfunction isJumpModifier(key: string) {\n return key === (isMac ? 'Meta' : 'Control');\n}\n\nfunction enableJumpMode(cm: CodeMirror.Editor) {\n if (cm.state.jump.marker) {\n return;\n }\n\n const cursor = cm.state.jump.cursor;\n const pos = cm.coordsChar(cursor);\n const token = cm.getTokenAt(pos, true);\n\n const options = cm.state.jump.options;\n const getDestination = options.getDestination || cm.getHelper(pos, 'jump');\n if (getDestination) {\n const destination = getDestination(token, options, cm);\n if (destination) {\n const marker = cm.markText(\n { line: pos.line, ch: token.start },\n { line: pos.line, ch: token.end },\n { className: 'CodeMirror-jump-token' },\n );\n\n cm.state.jump.marker = marker;\n cm.state.jump.destination = destination;\n }\n }\n}\n\nfunction disableJumpMode(cm: CodeMirror.Editor) {\n const marker = cm.state.jump.marker;\n cm.state.jump.marker = null;\n cm.state.jump.destination = null;\n\n marker.clear();\n}\n"],"names":["require","codemirror_1","registerHelper","token","options","schema","onClick","state","kind","step","typeInfo","getTypeInfo_1","fieldDef","SchemaReference_1","directiveDef","argDef","enumValue","type","isMetaField","name","slice","exports","field","parentType","directive","argument","value","undefined","inputType","graphql_1","stack","fn","reverseStateStack","push","prevState","i","length","getFieldDef","fieldName","introspection_1","getQueryType","getFields","tokenState","info","argDefs","objectFieldDefs","forEachState_1","getMutationType","getSubscriptionType","getType","getDirective","parentDef","args","enumType","array","predicate","find","getValues","val","nullableType","ofType","objectType","objectField","onMouseOver","cm","event","target","srcElement","HTMLElement","nodeName","box","getBoundingClientRect","cursor","left","right","top","bottom","jump","isHoldingModifier","enableJumpMode","onMouseOut","marker","disableJumpMode","onKeyDown","key","isMac","clickEvent","destination","onMouseDown","_","downEvent","codemirrorIgnore","on","document","onKeyUp","upEvent","code","off","defineOption","old","Init","oldOnMouseOver","getWrapperElement","oldOnMouseOut","bind","navigator","appVersion","indexOf","pos","coordsChar","getTokenAt","getDestination","getHelper","markText","line","ch","start","end","className","clear"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[619,170],{3170:function(e,n,o){!function(e){function n(n,o,t){var i,r=n.getWrapperElement();return(i=r.appendChild(document.createElement("div"))).className=t?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof o?i.innerHTML=o:i.appendChild(o),e.addClass(r,"dialog-opened"),i}function o(e,n){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=n}e.defineExtension("openDialog",(function(t,i,r){r||(r={}),o(this,null);var u=n(this,t,r.bottom),s=!1,a=this;function l(n){if("string"==typeof n)d.value=n;else{if(s)return;s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),a.focus(),r.onClose&&r.onClose(u)}}var c,d=u.getElementsByTagName("input")[0];return d?(d.focus(),r.value&&(d.value=r.value,!1!==r.selectValueOnOpen&&d.select()),r.onInput&&e.on(d,"input",(function(e){r.onInput(e,d.value,l)})),r.onKeyUp&&e.on(d,"keyup",(function(e){r.onKeyUp(e,d.value,l)})),e.on(d,"keydown",(function(n){r&&r.onKeyDown&&r.onKeyDown(n,d.value,l)||((27==n.keyCode||!1!==r.closeOnEnter&&13==n.keyCode)&&(d.blur(),e.e_stop(n),l()),13==n.keyCode&&i(d.value,n))})),!1!==r.closeOnBlur&&e.on(u,"focusout",(function(e){null!==e.relatedTarget&&l()}))):(c=u.getElementsByTagName("button")[0])&&(e.on(c,"click",(function(){l(),a.focus()})),!1!==r.closeOnBlur&&e.on(c,"blur",l),c.focus()),l})),e.defineExtension("openConfirm",(function(t,i,r){o(this,null);var u=n(this,t,r&&r.bottom),s=u.getElementsByTagName("button"),a=!1,l=this,c=1;function d(){a||(a=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),l.focus())}s[0].focus();for(var f=0;f<s.length;++f){var p=s[f];!function(n){e.on(p,"click",(function(o){e.e_preventDefault(o),d(),n&&n(l)}))}(i[f]),e.on(p,"blur",(function(){--c,setTimeout((function(){c<=0&&d()}),200)})),e.on(p,"focus",(function(){++c}))}})),e.defineExtension("openNotification",(function(t,i){o(this,l);var r,u=n(this,t,i&&i.bottom),s=!1,a=i&&"undefined"!==typeof i.duration?i.duration:5e3;function l(){s||(s=!0,clearTimeout(r),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return e.on(u,"click",(function(n){e.e_preventDefault(n),l()})),a&&(r=setTimeout(l,a)),l}))}(o(1300))},6619:function(e,n,o){!function(e){"use strict";function n(e,n,o,t,i){e.openDialog?e.openDialog(n,i,{value:t,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(o,t))}function o(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>"}function t(e,n){var o=Number(n);return/^[-+]/.test(n)?e.getCursor().line+o:o-1}e.defineOption("search",{bottom:!1}),e.commands.jumpToLine=function(e){var i=e.getCursor();n(e,o(e),e.phrase("Jump to line:"),i.line+1+":"+i.ch,(function(n){var o;if(n)if(o=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(n))e.setCursor(t(e,o[1]),Number(o[2]));else if(o=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(n)){var r=Math.round(e.lineCount()*Number(o[1])/100);/^[-+]/.test(o[1])&&(r=i.line+r+1),e.setCursor(r-1,i.ch)}else(o=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(n))&&e.setCursor(t(e,o[1]),i.ch)}))},e.keyMap.default["Alt-G"]="jumpToLine"}(o(1300),o(3170))}}]);
|
|
2
|
-
//# sourceMappingURL=619.f3523a4f.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[658],{2658:function(e,a,r){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});var n=t(r(1300)),i=r(21),s=["error","warning","information","hint"],o={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};n.default.registerHelper("lint","graphql",(function(e,a){var r=a.schema;return i.getDiagnostics(e,r,a.validationRules,void 0,a.externalFragments).map((function(e){return{message:e.message,severity:e.severity?s[e.severity-1]:s[0],type:e.source?o[e.source]:void 0,from:n.default.Pos(e.range.start.line,e.range.start.character),to:n.default.Pos(e.range.end.line,e.range.end.character)}}))}))}}]);
|
|
2
|
-
//# sourceMappingURL=658.828eff8d.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[756],{2756:function(t,e,n){!function(t){var e=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=t.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function a(t){return t&&t.bracketRegex||/[(){}[\]]/}function c(t,e,c){var o=t.getLineHandle(e.line),h=e.ch-1,s=c&&c.afterCursor;null==s&&(s=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var l=a(c),u=!s&&h>=0&&l.test(o.text.charAt(h))&&r[o.text.charAt(h)]||l.test(o.text.charAt(h+1))&&r[o.text.charAt(++h)];if(!u)return null;var f=">"==u.charAt(1)?1:-1;if(c&&c.strict&&f>0!=(h==e.ch))return null;var g=t.getTokenTypeAt(n(e.line,h+1)),m=i(t,n(e.line,h+(f>0?1:0)),f,g,c);return null==m?null:{from:n(e.line,h),to:m&&m.pos,match:m&&m.ch==u.charAt(0),forward:f>0}}function i(t,e,c,i,o){for(var h=o&&o.maxScanLineLength||1e4,s=o&&o.maxScanLines||1e3,l=[],u=a(o),f=c>0?Math.min(e.line+s,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-s),g=e.line;g!=f;g+=c){var m=t.getLine(g);if(m){var d=c>0?0:m.length-1,k=c>0?m.length:-1;if(!(m.length>h))for(g==e.line&&(d=e.ch-(c<0?1:0));d!=k;d+=c){var p=m.charAt(d);if(u.test(p)&&(void 0===i||(t.getTokenTypeAt(n(g,d+1))||"")==(i||""))){var v=r[p];if(v&&">"==v.charAt(1)==c>0)l.push(p);else{if(!l.length)return{pos:n(g,d),ch:p};l.pop()}}}}}return g-c!=(c>0?t.lastLine():t.firstLine())&&null}function o(t,r,a){for(var i=t.state.matchBrackets.maxHighlightLineLength||1e3,o=a&&a.highlightNonMatching,h=[],s=t.listSelections(),l=0;l<s.length;l++){var u=s[l].empty()&&c(t,s[l].head,a);if(u&&(u.match||!1!==o)&&t.getLine(u.from.line).length<=i){var f=u.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";h.push(t.markText(u.from,n(u.from.line,u.from.ch+1),{className:f})),u.to&&t.getLine(u.to.line).length<=i&&h.push(t.markText(u.to,n(u.to.line,u.to.ch+1),{className:f}))}}if(h.length){e&&t.state.focused&&t.focus();var g=function(){t.operation((function(){for(var t=0;t<h.length;t++)h[t].clear()}))};if(!r)return g;setTimeout(g,800)}}function h(t){t.operation((function(){t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=o(t,!1,t.state.matchBrackets)}))}function s(t){t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}t.defineOption("matchBrackets",!1,(function(e,n,r){r&&r!=t.Init&&(e.off("cursorActivity",h),e.off("focus",h),e.off("blur",s),s(e)),n&&(e.state.matchBrackets="object"==typeof n?n:{},e.on("cursorActivity",h),e.on("focus",h),e.on("blur",s))})),t.defineExtension("matchBrackets",(function(){o(this,!0)})),t.defineExtension("findMatchingBracket",(function(t,e,n){return(n||"boolean"==typeof e)&&(n?(n.strict=e,e=n):e=e?{strict:!0}:null),c(this,t,e)})),t.defineExtension("scanForBracket",(function(t,e,n,r){return i(this,t,e,n,r)}))}(n(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=756.3530beeb.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[76],{6076:function(e,t,u){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(u(1300)),r=u(21);function l(e,t){var u,n,a=e.levels;return((a&&0!==a.length?a[a.length-1]-((null===(u=this.electricInput)||void 0===u?void 0:u.test(t))?1:0):e.indentLevel)||0)*((null===(n=this.config)||void 0===n?void 0:n.indentUnit)||0)}a.default.defineMode("graphql-variables",(function(e){var t=r.onlineParser({eatWhitespace:function(e){return e.eatSpace()},lexRules:i,parseRules:s,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:l,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}}));var i={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/},s={Document:[r.p("{"),r.list("Variable",r.opt(r.p(","))),r.p("}")],Variable:[c("variable"),r.p(":"),"Value"],Value:function(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[r.t("Number","number")],StringValue:[r.t("String","string")],BooleanValue:[r.t("Keyword","builtin")],NullValue:[r.t("Keyword","keyword")],ListValue:[r.p("["),r.list("Value",r.opt(r.p(","))),r.p("]")],ObjectValue:[r.p("{"),r.list("ObjectField",r.opt(r.p(","))),r.p("}")],ObjectField:[c("attribute"),r.p(":"),"Value"]};function c(e){return{style:e,match:function(e){return"String"===e.kind},update:function(e,t){e.name=t.value.slice(1,-1)}}}}}]);
|
|
2
|
-
//# sourceMappingURL=76.13bc4c09.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/76.13bc4c09.chunk.js","mappings":"+OASA,iBAEA,QAoCA,SAASA,EAKPC,EACAC,G,QAEMC,EAASF,EAAME,OAQrB,QAJGA,GAA4B,IAAlBA,EAAOC,OAEdD,EAAOA,EAAOC,OAAS,KACJ,QAAl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AC9B,EAAAA,EAAE,KAAMA,EAAAA,KAAK,QAASA,EAAAA,IAAIA,EAAAA,EAAE,OAAQA,EAAAA,EAAE,MAClD+B,YAAa,CAAC/B,EAAAA,EAAE,KAAMA,EAAAA,KAAK,cAAeA,EAAAA,IAAIA,EAAAA,EAAE,OAAQA,EAAAA,EAAE,MAC1DgC,YAAa,CAACV,EAAS,aAActB,EAAAA,EAAE,KAAM,UAI/C,SAASsB,EAASW,GAChB,MAAO,CACLA,MAAK,EACLC,MAAO,SAACvB,GAAiB,MAAe,WAAfA,EAAMa,IAAiB,EAChDW,OAAA,SAAOlD,EAAc0B,GACnB1B,EAAMmD,KAAOzB,EAAMc,MAAMY,MAAM,GAAI,EACpC,EAEJ,C","sources":["../node_modules/codemirror-graphql/src/variables/mode.ts"],"sourcesContent":["/**\n * Copyright (c) 2021 GraphQL Contributors\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nimport CodeMirror from 'codemirror';\n\nimport {\n list,\n t,\n onlineParser,\n opt,\n p,\n State,\n Token,\n} from 'graphql-language-service';\n\n/**\n * This mode defines JSON, but provides a data-laden parser state to enable\n * better code intelligence.\n */\nCodeMirror.defineMode('graphql-variables', config => {\n const parser = onlineParser({\n eatWhitespace: stream => stream.eatSpace(),\n lexRules: LexRules,\n parseRules: ParseRules,\n editorConfig: { tabSize: config.tabSize },\n });\n\n return {\n config,\n startState: parser.startState,\n token: (parser.token as unknown) as CodeMirror.Mode<any>['token'], // TODO: Check if the types are indeed compatible\n indent,\n electricInput: /^\\s*[}\\]]/,\n fold: 'brace',\n closeBrackets: {\n pairs: '[]{}\"\"',\n explode: '[]{}',\n },\n };\n});\n\nfunction indent(\n this: CodeMirror.Mode<any> & {\n electricInput?: RegExp;\n config?: CodeMirror.EditorConfiguration;\n },\n state: State,\n textAfter: string,\n) {\n const levels = state.levels;\n // If there is no stack of levels, use the current level.\n // Otherwise, use the top level, pre-emptively dedenting for close braces.\n const level =\n !levels || levels.length === 0\n ? state.indentLevel\n : levels[levels.length - 1] -\n (this.electricInput?.test(textAfter) ? 1 : 0);\n return (level || 0) * (this.config?.indentUnit || 0);\n}\n\n/**\n * The lexer rules. These are exactly as described by the spec.\n */\nconst LexRules = {\n // All Punctuation used in JSON.\n Punctuation: /^\\[|]|\\{|\\}|:|,/,\n\n // JSON Number.\n Number: /^-?(?:0|(?:[1-9][0-9]*))(?:\\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,\n\n // JSON String.\n String: /^\"(?:[^\"\\\\]|\\\\(?:\"|\\/|\\\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*\"?/,\n\n // JSON literal keywords.\n Keyword: /^true|false|null/,\n};\n\n/**\n * The parser rules for JSON.\n */\nconst ParseRules = {\n Document: [p('{'), list('Variable', opt(p(','))), p('}')],\n Variable: [namedKey('variable'), p(':'), 'Value'],\n Value(token: Token) {\n switch (token.kind) {\n case 'Number':\n return 'NumberValue';\n case 'String':\n return 'StringValue';\n case 'Punctuation':\n switch (token.value) {\n case '[':\n return 'ListValue';\n case '{':\n return 'ObjectValue';\n }\n return null;\n case 'Keyword':\n switch (token.value) {\n case 'true':\n case 'false':\n return 'BooleanValue';\n case 'null':\n return 'NullValue';\n }\n return null;\n }\n },\n NumberValue: [t('Number', 'number')],\n StringValue: [t('String', 'string')],\n BooleanValue: [t('Keyword', 'builtin')],\n NullValue: [t('Keyword', 'keyword')],\n ListValue: [p('['), list('Value', opt(p(','))), p(']')],\n ObjectValue: [p('{'), list('ObjectField', opt(p(','))), p('}')],\n ObjectField: [namedKey('attribute'), p(':'), 'Value'],\n};\n\n// A namedKey Token which will decorate the state with a `name`\nfunction namedKey(style: string) {\n return {\n style,\n match: (token: Token) => token.kind === 'String',\n update(state: State, token: Token) {\n state.name = token.value.slice(1, -1); // Remove quotes.\n },\n };\n}\n"],"names":["indent","state","textAfter","levels","length","this","electricInput","_a","test","indentLevel","config","_b","indentUnit","codemirror_1","defineMode","parser","graphql_language_service_1","eatWhitespace","stream","eatSpace","lexRules","LexRules","parseRules","ParseRules","editorConfig","tabSize","startState","token","fold","closeBrackets","pairs","explode","Punctuation","Number","String","Keyword","Document","Variable","namedKey","Value","kind","value","NumberValue","StringValue","BooleanValue","NullValue","ListValue","ObjectValue","ObjectField","style","match","update","name","slice"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[804],{1804:function(e,n,r){!function(e){"use strict";function n(n){return function(r,t){var i=t.line,o=r.getLine(i);function l(n){for(var l,f=t.ch,s=0;;){var a=f<=0?-1:o.lastIndexOf(n[0],f-1);if(-1!=a){if(1==s&&a<t.ch)break;if(l=r.getTokenTypeAt(e.Pos(i,a+1)),!/^(comment|string)/.test(l))return{ch:a+1,tokenType:l,pair:n};f=a-1}else{if(1==s)break;s=1,f=o.length}}}function f(n){var t,o,l=1,f=r.lastLine(),s=n.ch;e:for(var a=i;a<=f;++a)for(var u=r.getLine(a),c=a==i?s:0;;){var g=u.indexOf(n.pair[0],c),d=u.indexOf(n.pair[1],c);if(g<0&&(g=u.length),d<0&&(d=u.length),(c=Math.min(g,d))==u.length)break;if(r.getTokenTypeAt(e.Pos(a,c+1))==n.tokenType)if(c==g)++l;else if(!--l){t=a,o=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,s),to:e.Pos(t,o)}}for(var s=[],a=0;a<n.length;a++){var u=l(n[a]);u&&s.push(u)}for(s.sort((function(e,n){return e.ch-n.ch})),a=0;a<s.length;a++){var c=f(s[a]);if(c)return c}return null}}e.registerHelper("fold","brace",n([["{","}"],["[","]"]])),e.registerHelper("fold","brace-paren",n([["{","}"],["[","]"],["(",")"]])),e.registerHelper("fold","import",(function(n,r){function t(r){if(r<n.firstLine()||r>n.lastLine())return null;var t=n.getTokenAt(e.Pos(r,1));if(/\S/.test(t.string)||(t=n.getTokenAt(e.Pos(r,t.end+1))),"keyword"!=t.type||"import"!=t.string)return null;for(var i=r,o=Math.min(n.lastLine(),r+10);i<=o;++i){var l=n.getLine(i).indexOf(";");if(-1!=l)return{startCh:t.end,end:e.Pos(i,l)}}}var i,o=r.line,l=t(o);if(!l||t(o-1)||(i=t(o-2))&&i.end.line==o-1)return null;for(var f=l.end;;){var s=t(f.line+1);if(null==s)break;f=s.end}return{from:n.clipPos(e.Pos(o,l.startCh+1)),to:f}})),e.registerHelper("fold","include",(function(n,r){function t(r){if(r<n.firstLine()||r>n.lastLine())return null;var t=n.getTokenAt(e.Pos(r,1));return/\S/.test(t.string)||(t=n.getTokenAt(e.Pos(r,t.end+1))),"meta"==t.type&&"#include"==t.string.slice(0,8)?t.start+8:void 0}var i=r.line,o=t(i);if(null==o||null!=t(i-1))return null;for(var l=i;null!=t(l+1);)++l;return{from:e.Pos(i,o+1),to:n.clipPos(e.Pos(l))}}))}(r(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=804.9d9c6f3a.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[849],{6849:function(t,n,e){!function(t){"use strict";var n,e,r=t.Pos;function i(t){var n=t.flags;return null!=n?n:(t.ignoreCase?"i":"")+(t.global?"g":"")+(t.multiline?"m":"")}function h(t,n){for(var e=i(t),r=e,h=0;h<n.length;h++)-1==r.indexOf(n.charAt(h))&&(r+=n.charAt(h));return e==r?t:new RegExp(t.source,r)}function o(t){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(t.source)}function l(t,n,e){n=h(n,"g");for(var i=e.line,o=e.ch,l=t.lastLine();i<=l;i++,o=0){n.lastIndex=o;var c=t.getLine(i),s=n.exec(c);if(s)return{from:r(i,s.index),to:r(i,s.index+s[0].length),match:s}}}function c(t,n,e){if(!o(n))return l(t,n,e);n=h(n,"gm");for(var i,c=1,s=e.line,f=t.lastLine();s<=f;){for(var a=0;a<c&&!(s>f);a++){var u=t.getLine(s++);i=null==i?u:i+"\n"+u}c*=2,n.lastIndex=e.ch;var g=n.exec(i);if(g){var m=i.slice(0,g.index).split("\n"),v=g[0].split("\n"),p=e.line+m.length-1,d=m[m.length-1].length;return{from:r(p,d),to:r(p+v.length-1,1==v.length?d+v[0].length:v[v.length-1].length),match:g}}}}function s(t,n,e){for(var r,i=0;i<=t.length;){n.lastIndex=i;var h=n.exec(t);if(!h)break;var o=h.index+h[0].length;if(o>t.length-e)break;(!r||o>r.index+r[0].length)&&(r=h),i=h.index+1}return r}function f(t,n,e){n=h(n,"g");for(var i=e.line,o=e.ch,l=t.firstLine();i>=l;i--,o=-1){var c=t.getLine(i),f=s(c,n,o<0?0:c.length-o);if(f)return{from:r(i,f.index),to:r(i,f.index+f[0].length),match:f}}}function a(t,n,e){if(!o(n))return f(t,n,e);n=h(n,"gm");for(var i,l=1,c=t.getLine(e.line).length-e.ch,a=e.line,u=t.firstLine();a>=u;){for(var g=0;g<l&&a>=u;g++){var m=t.getLine(a--);i=null==i?m:m+"\n"+i}l*=2;var v=s(i,n,c);if(v){var p=i.slice(0,v.index).split("\n"),d=v[0].split("\n"),x=a+p.length,L=p[p.length-1].length;return{from:r(x,L),to:r(x+d.length-1,1==d.length?L+d[0].length:d[d.length-1].length),match:v}}}}function u(t,n,e,r){if(t.length==n.length)return e;for(var i=0,h=e+Math.max(0,t.length-n.length);;){if(i==h)return i;var o=i+h>>1,l=r(t.slice(0,o)).length;if(l==e)return o;l>e?h=o:i=o+1}}function g(t,i,h,o){if(!i.length)return null;var l=o?n:e,c=l(i).split(/\r|\n\r?/);t:for(var s=h.line,f=h.ch,a=t.lastLine()+1-c.length;s<=a;s++,f=0){var g=t.getLine(s).slice(f),m=l(g);if(1==c.length){var v=m.indexOf(c[0]);if(-1==v)continue t;return h=u(g,m,v,l)+f,{from:r(s,u(g,m,v,l)+f),to:r(s,u(g,m,v+c[0].length,l)+f)}}var p=m.length-c[0].length;if(m.slice(p)==c[0]){for(var d=1;d<c.length-1;d++)if(l(t.getLine(s+d))!=c[d])continue t;var x=t.getLine(s+c.length-1),L=l(x),O=c[c.length-1];if(L.slice(0,O.length)==O)return{from:r(s,u(g,m,p,l)+f),to:r(s+c.length-1,u(x,L,O.length,l))}}}}function m(t,i,h,o){if(!i.length)return null;var l=o?n:e,c=l(i).split(/\r|\n\r?/);t:for(var s=h.line,f=h.ch,a=t.firstLine()-1+c.length;s>=a;s--,f=-1){var g=t.getLine(s);f>-1&&(g=g.slice(0,f));var m=l(g);if(1==c.length){var v=m.lastIndexOf(c[0]);if(-1==v)continue t;return{from:r(s,u(g,m,v,l)),to:r(s,u(g,m,v+c[0].length,l))}}var p=c[c.length-1];if(m.slice(0,p.length)==p){var d=1;for(h=s-c.length+1;d<c.length-1;d++)if(l(t.getLine(h+d))!=c[d])continue t;var x=t.getLine(s+1-c.length),L=l(x);if(L.slice(L.length-c[0].length)==c[0])return{from:r(s+1-c.length,u(x,L,x.length-c[0].length,l)),to:r(s,u(g,m,p.length,l))}}}}function v(t,n,e,i){var o;this.atOccurrence=!1,this.afterEmptyMatch=!1,this.doc=t,e=e?t.clipPos(e):r(0,0),this.pos={from:e,to:e},"object"==typeof i?o=i.caseFold:(o=i,i=null),"string"==typeof n?(null==o&&(o=!1),this.matches=function(e,r){return(e?m:g)(t,n,r,o)}):(n=h(n,"gm"),i&&!1===i.multiline?this.matches=function(e,r){return(e?f:l)(t,n,r)}:this.matches=function(e,r){return(e?a:c)(t,n,r)})}String.prototype.normalize?(n=function(t){return t.normalize("NFD").toLowerCase()},e=function(t){return t.normalize("NFD")}):(n=function(t){return t.toLowerCase()},e=function(t){return t}),v.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(n){var e=this.doc.clipPos(n?this.pos.from:this.pos.to);if(this.afterEmptyMatch&&this.atOccurrence&&(e=r(e.line,e.ch),n?(e.ch--,e.ch<0&&(e.line--,e.ch=(this.doc.getLine(e.line)||"").length)):(e.ch++,e.ch>(this.doc.getLine(e.line)||"").length&&(e.ch=0,e.line++)),0!=t.cmpPos(e,this.doc.clipPos(e))))return this.atOccurrence=!1;var i=this.matches(n,e);if(this.afterEmptyMatch=i&&0==t.cmpPos(i.from,i.to),i)return this.pos=i,this.atOccurrence=!0,this.pos.match||!0;var h=r(n?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:h,to:h},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(n,e){if(this.atOccurrence){var i=t.splitLines(n);this.doc.replaceRange(i,this.pos.from,this.pos.to,e),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},t.defineExtension("getSearchCursor",(function(t,n,e){return new v(this.doc,t,n,e)})),t.defineDocExtension("getSearchCursor",(function(t,n,e){return new v(this,t,n,e)})),t.defineExtension("selectMatches",(function(n,e){for(var r=[],i=this.getSearchCursor(n,this.getCursor("from"),e);i.findNext()&&!(t.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)}))}(e(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=849.e36d6caf.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[88],{2088:function(e,n,t){!function(e){var n={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},t=e.Pos;function r(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:n[t]}e.defineOption("autoCloseBrackets",!1,(function(n,t,s){s&&s!=e.Init&&(n.removeKeyMap(i),n.state.closeBrackets=null),t&&(a(r(t,"pairs")),n.state.closeBrackets=t,n.addKeyMap(i))}));var i={Backspace:o,Enter:c};function a(e){for(var n=0;n<e.length;n++){var t=e.charAt(n),r="'"+t+"'";i[r]||(i[r]=s(t))}}function s(e){return function(n){return u(n,e)}}function l(e){var n=e.state.closeBrackets;return!n||n.override?n:e.getModeAt(e.getCursor()).closeBrackets||n}function o(n){var i=l(n);if(!i||n.getOption("disableInput"))return e.Pass;for(var a=r(i,"pairs"),s=n.listSelections(),o=0;o<s.length;o++){if(!s[o].empty())return e.Pass;var c=d(n,s[o].head);if(!c||a.indexOf(c)%2!=0)return e.Pass}for(o=s.length-1;o>=0;o--){var h=s[o].head;n.replaceRange("",t(h.line,h.ch-1),t(h.line,h.ch+1),"+delete")}}function c(n){var t=l(n),i=t&&r(t,"explode");if(!i||n.getOption("disableInput"))return e.Pass;for(var a=n.listSelections(),s=0;s<a.length;s++){if(!a[s].empty())return e.Pass;var o=d(n,a[s].head);if(!o||i.indexOf(o)%2!=0)return e.Pass}n.operation((function(){var e=n.lineSeparator()||"\n";n.replaceSelection(e+e,null),h(n,-1),a=n.listSelections();for(var t=0;t<a.length;t++){var r=a[t].head.line;n.indentLine(r,null,!0),n.indentLine(r+1,null,!0)}}))}function h(e,n){for(var t=[],r=e.listSelections(),i=0,a=0;a<r.length;a++){var s=r[a];s.head==e.getCursor()&&(i=a);var l=s.head.ch||n>0?{line:s.head.line,ch:s.head.ch+n}:{line:s.head.line-1};t.push({anchor:l,head:l})}e.setSelections(t,i)}function f(n){var r=e.cmpPos(n.anchor,n.head)>0;return{anchor:new t(n.anchor.line,n.anchor.ch+(r?-1:1)),head:new t(n.head.line,n.head.ch+(r?1:-1))}}function u(n,i){var a=l(n);if(!a||n.getOption("disableInput"))return e.Pass;var s=r(a,"pairs"),o=s.indexOf(i);if(-1==o)return e.Pass;for(var c,u=r(a,"closeBefore"),d=r(a,"triples"),g=s.charAt(o+1)==i,v=n.listSelections(),k=o%2==0,b=0;b<v.length;b++){var P,S=v[b],y=S.head,O=n.getRange(y,t(y.line,y.ch+1));if(k&&!S.empty())P="surround";else if(!g&&k||O!=i)if(g&&y.ch>1&&d.indexOf(i)>=0&&n.getRange(t(y.line,y.ch-2),y)==i+i){if(y.ch>2&&/\bstring/.test(n.getTokenTypeAt(t(y.line,y.ch-2))))return e.Pass;P="addFour"}else if(g){var x=0==y.ch?" ":n.getRange(t(y.line,y.ch-1),y);if(e.isWordChar(O)||x==i||e.isWordChar(x))return e.Pass;P="both"}else{if(!k||!(0===O.length||/\s/.test(O)||u.indexOf(O)>-1))return e.Pass;P="both"}else P=g&&p(n,y)?"both":d.indexOf(i)>=0&&n.getRange(y,t(y.line,y.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=P)return e.Pass}else c=P}var A=o%2?s.charAt(o-1):i,B=o%2?i:s.charAt(o+1);n.operation((function(){if("skip"==c)h(n,1);else if("skipThree"==c)h(n,3);else if("surround"==c){for(var e=n.getSelections(),t=0;t<e.length;t++)e[t]=A+e[t]+B;for(n.replaceSelections(e,"around"),e=n.listSelections().slice(),t=0;t<e.length;t++)e[t]=f(e[t]);n.setSelections(e)}else"both"==c?(n.replaceSelection(A+B,null),n.triggerElectric(A+B),h(n,-1)):"addFour"==c&&(n.replaceSelection(A+A+A+A,"before"),h(n,1))}))}function d(e,n){var r=e.getRange(t(n.line,n.ch-1),t(n.line,n.ch+1));return 2==r.length?r:null}function p(e,n){var r=e.getTokenAt(t(n.line,n.ch+1));return/\bstring/.test(r.type)&&r.start==n.ch&&(0==n.ch||!/\bstring/.test(e.getTokenTypeAt(n)))}a(n.pairs+"`")}(t(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=88.b61d66e1.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/88.b61d66e1.chunk.js","mappings":"8FAUG,SAASA,GACV,IAAIC,EAAW,CACbC,MAAO,eACPC,YAAa,YACbC,QAAS,GACTC,QAAS,QAGPC,EAAMN,EAAWM,IAcrB,SAASC,EAAUC,EAAMC,GACvB,MAAY,SAARA,GAAkC,iBAARD,EAAyBA,EACpC,iBAARA,GAAkC,MAAdA,EAAKC,GAAsBD,EAAKC,GACxDR,EAASQ,EACjB,CAhBDT,EA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,UAC3BA,EAAOrE,EAAG6B,iBAAiB2C,QAClBzD,EAAI,EAAGA,EAAIsD,EAAKrD,OAAQD,IAC/BsD,EAAKtD,GAAKqC,EAAkBiB,EAAKtD,IACnCf,EAAGmD,cAAckB,EAClB,KAAkB,QAARb,GACTxD,EAAGyC,iBAAiB0B,EAAOC,EAAO,MAClCpE,EAAGyE,gBAAgBN,EAAOC,GAC1B1B,EAAQ1C,GAAK,IACI,WAARwD,IACTxD,EAAGyC,iBAAiB0B,EAAOA,EAAOA,EAAOA,EAAM,UAC/CzB,EAAQ1C,EAAI,GAEf,GACF,CAED,SAASgC,EAAYhC,EAAIgD,GACvB,IAAI0B,EAAM1E,EAAG6D,SAASlE,EAAIqD,EAAIX,KAAMW,EAAI/B,GAAK,GACvBtB,EAAIqD,EAAIX,KAAMW,EAAI/B,GAAK,IAC7C,OAAqB,GAAdyD,EAAI1D,OAAc0D,EAAM,IAChC,CAED,SAASR,EAAkBlE,EAAIgD,GAC7B,IAAI2B,EAAQ3E,EAAG4E,WAAWjF,EAAIqD,EAAIX,KAAMW,EAAI/B,GAAK,IACjD,MAAO,WAAW6C,KAAKa,EAAMnB,OAASmB,EAAME,OAAS7B,EAAI/B,KAC5C,GAAV+B,EAAI/B,KAAY,WAAW6C,KAAK9D,EAAG+D,eAAef,IACtD,CA1JDxC,EAAYlB,EAASC,MAAQ,IA2J9B,CAnMGuF,CAAIC,EAAQ,M","sources":["../node_modules/codemirror/addon/edit/closebrackets.js"],"sourcesContent":["// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n mod(require(\"../../lib/codemirror\"));\n else if (typeof define == \"function\" && define.amd) // AMD\n define([\"../../lib/codemirror\"], mod);\n else // Plain browser env\n mod(CodeMirror);\n})(function(CodeMirror) {\n var defaults = {\n pairs: \"()[]{}''\\\"\\\"\",\n closeBefore: \")]}'\\\":;>\",\n triples: \"\",\n explode: \"[]{}\"\n };\n\n var Pos = CodeMirror.Pos;\n\n CodeMirror.defineOption(\"autoCloseBrackets\", false, function(cm, val, old) {\n if (old && old != CodeMirror.Init) {\n cm.removeKeyMap(keyMap);\n cm.state.closeBrackets = null;\n }\n if (val) {\n ensureBound(getOption(val, \"pairs\"))\n cm.state.closeBrackets = val;\n cm.addKeyMap(keyMap);\n }\n });\n\n function getOption(conf, name) {\n if (name == \"pairs\" && typeof conf == \"string\") return conf;\n if (typeof conf == \"object\" && conf[name] != null) return conf[name];\n return defaults[name];\n }\n\n var keyMap = {Backspace: handleBackspace, Enter: handleEnter};\n function ensureBound(chars) {\n for (var i = 0; i < chars.length; i++) {\n var ch = chars.charAt(i), key = \"'\" + ch + \"'\"\n if (!keyMap[key]) keyMap[key] = handler(ch)\n }\n }\n ensureBound(defaults.pairs + \"`\")\n\n function handler(ch) {\n return function(cm) { return handleChar(cm, ch); };\n }\n\n function getConfig(cm) {\n var deflt = cm.state.closeBrackets;\n if (!deflt || deflt.override) return deflt;\n var mode = cm.getModeAt(cm.getCursor());\n return mode.closeBrackets || deflt;\n }\n\n function handleBackspace(cm) {\n var conf = getConfig(cm);\n if (!conf || cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n\n var pairs = getOption(conf, \"pairs\");\n var ranges = cm.listSelections();\n for (var i = 0; i < ranges.length; i++) {\n if (!ranges[i].empty()) return CodeMirror.Pass;\n var around = charsAround(cm, ranges[i].head);\n if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;\n }\n for (var i = ranges.length - 1; i >= 0; i--) {\n var cur = ranges[i].head;\n cm.replaceRange(\"\", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1), \"+delete\");\n }\n }\n\n function handleEnter(cm) {\n var conf = getConfig(cm);\n var explode = conf && getOption(conf, \"explode\");\n if (!explode || cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n\n var ranges = cm.listSelections();\n for (var i = 0; i < ranges.length; i++) {\n if (!ranges[i].empty()) return CodeMirror.Pass;\n var around = charsAround(cm, ranges[i].head);\n if (!around || explode.indexOf(around) % 2 != 0) return CodeMirror.Pass;\n }\n cm.operation(function() {\n var linesep = cm.lineSeparator() || \"\\n\";\n cm.replaceSelection(linesep + linesep, null);\n moveSel(cm, -1)\n ranges = cm.listSelections();\n for (var i = 0; i < ranges.length; i++) {\n var line = ranges[i].head.line;\n cm.indentLine(line, null, true);\n cm.indentLine(line + 1, null, true);\n }\n });\n }\n\n function moveSel(cm, dir) {\n var newRanges = [], ranges = cm.listSelections(), primary = 0\n for (var i = 0; i < ranges.length; i++) {\n var range = ranges[i]\n if (range.head == cm.getCursor()) primary = i\n var pos = range.head.ch || dir > 0 ? {line: range.head.line, ch: range.head.ch + dir} : {line: range.head.line - 1}\n newRanges.push({anchor: pos, head: pos})\n }\n cm.setSelections(newRanges, primary)\n }\n\n function contractSelection(sel) {\n var inverted = CodeMirror.cmpPos(sel.anchor, sel.head) > 0;\n return {anchor: new Pos(sel.anchor.line, sel.anchor.ch + (inverted ? -1 : 1)),\n head: new Pos(sel.head.line, sel.head.ch + (inverted ? 1 : -1))};\n }\n\n function handleChar(cm, ch) {\n var conf = getConfig(cm);\n if (!conf || cm.getOption(\"disableInput\")) return CodeMirror.Pass;\n\n var pairs = getOption(conf, \"pairs\");\n var pos = pairs.indexOf(ch);\n if (pos == -1) return CodeMirror.Pass;\n\n var closeBefore = getOption(conf,\"closeBefore\");\n\n var triples = getOption(conf, \"triples\");\n\n var identical = pairs.charAt(pos + 1) == ch;\n var ranges = cm.listSelections();\n var opening = pos % 2 == 0;\n\n var type;\n for (var i = 0; i < ranges.length; i++) {\n var range = ranges[i], cur = range.head, curType;\n var next = cm.getRange(cur, Pos(cur.line, cur.ch + 1));\n if (opening && !range.empty()) {\n curType = \"surround\";\n } else if ((identical || !opening) && next == ch) {\n if (identical && stringStartsAfter(cm, cur))\n curType = \"both\";\n else if (triples.indexOf(ch) >= 0 && cm.getRange(cur, Pos(cur.line, cur.ch + 3)) == ch + ch + ch)\n curType = \"skipThree\";\n else\n curType = \"skip\";\n } else if (identical && cur.ch > 1 && triples.indexOf(ch) >= 0 &&\n cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch) {\n if (cur.ch > 2 && /\\bstring/.test(cm.getTokenTypeAt(Pos(cur.line, cur.ch - 2)))) return CodeMirror.Pass;\n curType = \"addFour\";\n } else if (identical) {\n var prev = cur.ch == 0 ? \" \" : cm.getRange(Pos(cur.line, cur.ch - 1), cur)\n if (!CodeMirror.isWordChar(next) && prev != ch && !CodeMirror.isWordChar(prev)) curType = \"both\";\n else return CodeMirror.Pass;\n } else if (opening && (next.length === 0 || /\\s/.test(next) || closeBefore.indexOf(next) > -1)) {\n curType = \"both\";\n } else {\n return CodeMirror.Pass;\n }\n if (!type) type = curType;\n else if (type != curType) return CodeMirror.Pass;\n }\n\n var left = pos % 2 ? pairs.charAt(pos - 1) : ch;\n var right = pos % 2 ? ch : pairs.charAt(pos + 1);\n cm.operation(function() {\n if (type == \"skip\") {\n moveSel(cm, 1)\n } else if (type == \"skipThree\") {\n moveSel(cm, 3)\n } else if (type == \"surround\") {\n var sels = cm.getSelections();\n for (var i = 0; i < sels.length; i++)\n sels[i] = left + sels[i] + right;\n cm.replaceSelections(sels, \"around\");\n sels = cm.listSelections().slice();\n for (var i = 0; i < sels.length; i++)\n sels[i] = contractSelection(sels[i]);\n cm.setSelections(sels);\n } else if (type == \"both\") {\n cm.replaceSelection(left + right, null);\n cm.triggerElectric(left + right);\n moveSel(cm, -1)\n } else if (type == \"addFour\") {\n cm.replaceSelection(left + left + left + left, \"before\");\n moveSel(cm, 1)\n }\n });\n }\n\n function charsAround(cm, pos) {\n var str = cm.getRange(Pos(pos.line, pos.ch - 1),\n Pos(pos.line, pos.ch + 1));\n return str.length == 2 ? str : null;\n }\n\n function stringStartsAfter(cm, pos) {\n var token = cm.getTokenAt(Pos(pos.line, pos.ch + 1))\n return /\\bstring/.test(token.type) && token.start == pos.ch &&\n (pos.ch == 0 || !/\\bstring/.test(cm.getTokenTypeAt(pos)))\n }\n});\n"],"names":["CodeMirror","defaults","pairs","closeBefore","triples","explode","Pos","getOption","conf","name","defineOption","cm","val","old","Init","removeKeyMap","keyMap","state","closeBrackets","ensureBound","addKeyMap","Backspace","handleBackspace","Enter","handleEnter","chars","i","length","ch","charAt","key","handler","handleChar","getConfig","deflt","override","getModeAt","getCursor","Pass","ranges","listSelections","empty","around","charsAround","head","indexOf","cur","replaceRange","line","operation","linesep","lineSeparator","replaceSelection","moveSel","indentLine","dir","newRanges","primary","range","pos","push","anchor","setSelections","contractSelection","sel","inverted","cmpPos","type","identical","opening","curType","next","getRange","test","getTokenTypeAt","prev","isWordChar","stringStartsAfter","left","right","sels","getSelections","replaceSelections","slice","triggerElectric","str","token","getTokenAt","start","mod","require"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[983],{4983:function(t,e,n){!function(t){"use strict";var e="CodeMirror-lint-markers",n="CodeMirror-lint-line-";function o(e,n,o){var i=document.createElement("div");function r(e){if(!i.parentNode)return t.off(document,"mousemove",r);i.style.top=Math.max(0,e.clientY-i.offsetHeight-5)+"px",i.style.left=e.clientX+5+"px"}return i.className="CodeMirror-lint-tooltip cm-s-"+e.options.theme,i.appendChild(o.cloneNode(!0)),e.state.lint.options.selfContain?e.getWrapperElement().appendChild(i):document.body.appendChild(i),t.on(document,"mousemove",r),r(n),null!=i.style.opacity&&(i.style.opacity=1),i}function i(t){t.parentNode&&t.parentNode.removeChild(t)}function r(t){t.parentNode&&(null==t.style.opacity&&i(t),t.style.opacity=0,setTimeout((function(){i(t)}),600))}function a(e,n,i,a){var s=o(e,n,i);function l(){t.off(a,"mouseout",l),s&&(r(s),s=null)}var u=setInterval((function(){if(s)for(var t=a;;t=t.parentNode){if(t&&11==t.nodeType&&(t=t.host),t==document.body)return;if(!t){l();break}}if(!s)return clearInterval(u)}),400);t.on(a,"mouseout",l)}function s(t,e,n){for(var o in this.marked=[],e instanceof Function&&(e={getAnnotations:e}),e&&!0!==e||(e={}),this.options={},this.linterOptions=e.options||{},l)this.options[o]=l[o];for(var o in e)l.hasOwnProperty(o)?null!=e[o]&&(this.options[o]=e[o]):e.options||(this.linterOptions[o]=e[o]);this.timeout=null,this.hasGutter=n,this.onMouseOver=function(e){M(t,e)},this.waitingFor=0}var l={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function u(t){var n=t.state.lint;n.hasGutter&&t.clearGutter(e),n.options.highlightLines&&c(t);for(var o=0;o<n.marked.length;++o)n.marked[o].clear();n.marked.length=0}function c(t){t.eachLine((function(e){var n=e.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(e.wrapClass);n&&t.removeLineClass(e,"wrap",n[0])}))}function f(e,n,o,i,r){var s=document.createElement("div"),l=s;return s.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+o,i&&((l=s.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),0!=r&&t.on(l,"mouseover",(function(t){a(e,t,n,l)})),s}function p(t,e){return"error"==t?t:e}function m(t){for(var e=[],n=0;n<t.length;++n){var o=t[n],i=o.from.line;(e[i]||(e[i]=[])).push(o)}return e}function d(t){var e=t.severity;e||(e="error");var n=document.createElement("div");return n.className="CodeMirror-lint-message CodeMirror-lint-message-"+e,"undefined"!=typeof t.messageHTML?n.innerHTML=t.messageHTML:n.appendChild(document.createTextNode(t.message)),n}function h(e,n){var o=e.state.lint,i=++o.waitingFor;function r(){i=-1,e.off("change",r)}e.on("change",r),n(e.getValue(),(function(n,a){e.off("change",r),o.waitingFor==i&&(a&&n instanceof t&&(n=a),e.operation((function(){v(e,n)})))}),o.linterOptions,e)}function g(e){var n=e.state.lint;if(n){var o=n.options,i=o.getAnnotations||e.getHelper(t.Pos(0,0),"lint");if(i)if(o.async||i.async)h(e,i);else{var r=i(e.getValue(),n.linterOptions,e);if(!r)return;r.then?r.then((function(t){e.operation((function(){v(e,t)}))})):e.operation((function(){v(e,r)}))}}}function v(t,o){var i=t.state.lint;if(i){var r=i.options;u(t);for(var a=m(o),s=0;s<a.length;++s){var l=a[s];if(l){var c=[];l=l.filter((function(t){return!(c.indexOf(t.message)>-1)&&c.push(t.message)}));for(var h=null,g=i.hasGutter&&document.createDocumentFragment(),v=0;v<l.length;++v){var C=l[v],y=C.severity;y||(y="error"),h=p(h,y),r.formatAnnotation&&(C=r.formatAnnotation(C)),i.hasGutter&&g.appendChild(d(C)),C.to&&i.marked.push(t.markText(C.from,C.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+y,__annotation:C}))}i.hasGutter&&t.setGutterMarker(s,e,f(t,g,h,a[s].length>1,r.tooltips)),r.highlightLines&&t.addLineClass(s,"wrap",n+h)}}r.onUpdateLinting&&r.onUpdateLinting(o,a,t)}}function C(t){var e=t.state.lint;e&&(clearTimeout(e.timeout),e.timeout=setTimeout((function(){g(t)}),e.options.delay))}function y(t,e,n){for(var o=n.target||n.srcElement,i=document.createDocumentFragment(),r=0;r<e.length;r++){var s=e[r];i.appendChild(d(s))}a(t,n,i,o)}function M(t,e){var n=e.target||e.srcElement;if(/\bCodeMirror-lint-mark-/.test(n.className)){for(var o=n.getBoundingClientRect(),i=(o.left+o.right)/2,r=(o.top+o.bottom)/2,a=t.findMarksAt(t.coordsChar({left:i,top:r},"client")),s=[],l=0;l<a.length;++l){var u=a[l].__annotation;u&&s.push(u)}s.length&&y(t,s,e)}}t.defineOption("lint",!1,(function(n,o,i){if(i&&i!=t.Init&&(u(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",C),t.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),o){for(var r=n.getOption("gutters"),a=!1,l=0;l<r.length;++l)r[l]==e&&(a=!0);var c=n.state.lint=new s(n,o,a);c.options.lintOnChange&&n.on("change",C),0!=c.options.tooltips&&"gutter"!=c.options.tooltips&&t.on(n.getWrapperElement(),"mouseover",c.onMouseOver),g(n)}})),t.defineExtension("performLint",(function(){g(this)}))}(n(1300))}}]);
|
|
2
|
-
//# sourceMappingURL=983.cfb8ccb4.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/983.cfb8ccb4.chunk.js","mappings":"+FAUG,SAASA,GACV,aACA,IAAIC,EAAY,0BACZC,EAAe,wBAEnB,SAASC,EAAYC,EAAIC,EAAGC,GAC1B,IAAIC,EAAKC,SAASC,cAAc,OAQhC,SAASC,EAASL,GAChB,IAAKE,EAAGI,WAAY,OAAOX,EAAWY,IAAIJ,SAAU,YAAaE,GACjEH,EAAGM,MAAMC,IAAMC,KAAKC,IAAI,EAAGX,EAAEY,QAAUV,EAAGW,aAAe,GAAK,KAC9DX,EAAGM,MAAMM,KAAQd,EAAEe,QAAU,EAAK,IACnC,CAID,OAfAb,EAAGc,UAAY,gCAAkCjB,EAAGkB,QAAQC,MAC5DhB,EAAGiB,YAAYlB,EAAQmB,WAAU,IAC7BrB,EAAGsB,MAAMC,KAAKL,QAAQM,YACxBxB,EAAGyB,oBAAoBL,YAAYjB,GAEnCC,SAASsB,KAAKN,YAAYjB,GAO5BP,EAAW+B,GAAGvB,SAAU,YAAaE,GACrCA,EAASL,GACe,MAApBE,EAAGM,MAAMmB,UAAiBzB,EAAGM,MAAMmB,QAAU,GAC1CzB,CACR,CACD,SAAS0B,EAAGC,GACNA,EAAIvB,YAAYuB,EAAIvB,WAAWwB,YAAYD,EAChD,CACD,SAASE,EAAY7B,GACdA,EAAGI,aACgB,MAApBJ,EAAGM,MAAMmB,SAAiBC,EAAG1B,GACjCA,EAAGM,MAAMmB,QAAU,EACnBK,YAAW,WAAaJ,EAAG1B,EAAM,GAAE,KACpC,CAED,SAAS+B,EAAelC,EAAIC,EAAGC,EAASiC,GACtC,IAAI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H,EAAMJ,QAAQ2C,cAChB7D,EAAG2B,GAAG,SAAUgG,GACY,GAA1BrG,EAAMJ,QAAQyC,UAA+C,UAA1BrC,EAAMJ,QAAQyC,UACnD/D,EAAW+B,GAAG3B,EAAGyB,oBAAqB,YAAaH,EAAMkC,aAE3DiD,EAAazG,EACd,CACF,IAEDJ,EAAWqJ,gBAAgB,eAAe,WACxCxC,EAAazD,KACd,GACF,CA7RGkG,CAAIC,EAAQ,M","sources":["../node_modules/codemirror/addon/lint/lint.js"],"sourcesContent":["// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n mod(require(\"../../lib/codemirror\"));\n else if (typeof define == \"function\" && define.amd) // AMD\n define([\"../../lib/codemirror\"], mod);\n else // Plain browser env\n mod(CodeMirror);\n})(function(CodeMirror) {\n \"use strict\";\n var GUTTER_ID = \"CodeMirror-lint-markers\";\n var LINT_LINE_ID = \"CodeMirror-lint-line-\";\n\n function showTooltip(cm, e, content) {\n var tt = document.createElement(\"div\");\n tt.className = \"CodeMirror-lint-tooltip cm-s-\" + cm.options.theme;\n tt.appendChild(content.cloneNode(true));\n if (cm.state.lint.options.selfContain)\n cm.getWrapperElement().appendChild(tt);\n else\n document.body.appendChild(tt);\n\n function position(e) {\n if (!tt.parentNode) return CodeMirror.off(document, \"mousemove\", position);\n tt.style.top = Math.max(0, e.clientY - tt.offsetHeight - 5) + \"px\";\n tt.style.left = (e.clientX + 5) + \"px\";\n }\n CodeMirror.on(document, \"mousemove\", position);\n position(e);\n if (tt.style.opacity != null) tt.style.opacity = 1;\n return tt;\n }\n function rm(elt) {\n if (elt.parentNode) elt.parentNode.removeChild(elt);\n }\n function hideTooltip(tt) {\n if (!tt.parentNode) return;\n if (tt.style.opacity == null) rm(tt);\n tt.style.opacity = 0;\n setTimeout(function() { rm(tt); }, 600);\n }\n\n function showTooltipFor(cm, e, content, node) {\n var tooltip = showTooltip(cm, e, content);\n function hide() {\n CodeMirror.off(node, \"mouseout\", hide);\n if (tooltip) { hideTooltip(tooltip); tooltip = null; }\n }\n var poll = setInterval(function() {\n if (tooltip) for (var n = node;; n = n.parentNode) {\n if (n && n.nodeType == 11) n = n.host;\n if (n == document.body) return;\n if (!n) { hide(); break; }\n }\n if (!tooltip) return clearInterval(poll);\n }, 400);\n CodeMirror.on(node, \"mouseout\", hide);\n }\n\n function LintState(cm, conf, hasGutter) {\n this.marked = [];\n if (conf instanceof Function) conf = {getAnnotations: conf};\n if (!conf || conf === true) conf = {};\n this.options = {};\n this.linterOptions = conf.options || {};\n for (var prop in defaults) this.options[prop] = defaults[prop];\n for (var prop in conf) {\n if (defaults.hasOwnProperty(prop)) {\n if (conf[prop] != null) this.options[prop] = conf[prop];\n } else if (!conf.options) {\n this.linterOptions[prop] = conf[prop];\n }\n }\n this.timeout = null;\n this.hasGutter = hasGutter;\n this.onMouseOver = function(e) { onMouseOver(cm, e); };\n this.waitingFor = 0\n }\n\n var defaults = {\n highlightLines: false,\n tooltips: true,\n delay: 500,\n lintOnChange: true,\n getAnnotations: null,\n async: false,\n selfContain: null,\n formatAnnotation: null,\n onUpdateLinting: null\n }\n\n function clearMarks(cm) {\n var state = cm.state.lint;\n if (state.hasGutter) cm.clearGutter(GUTTER_ID);\n if (state.options.highlightLines) clearErrorLines(cm);\n for (var i = 0; i < state.marked.length; ++i)\n state.marked[i].clear();\n state.marked.length = 0;\n }\n\n function clearErrorLines(cm) {\n cm.eachLine(function(line) {\n var has = line.wrapClass && /\\bCodeMirror-lint-line-\\w+\\b/.exec(line.wrapClass);\n if (has) cm.removeLineClass(line, \"wrap\", has[0]);\n })\n }\n\n function makeMarker(cm, labels, severity, multiple, tooltips) {\n var marker = document.createElement(\"div\"), inner = marker;\n marker.className = \"CodeMirror-lint-marker CodeMirror-lint-marker-\" + severity;\n if (multiple) {\n inner = marker.appendChild(document.createElement(\"div\"));\n inner.className = \"CodeMirror-lint-marker CodeMirror-lint-marker-multiple\";\n }\n\n if (tooltips != false) CodeMirror.on(inner, \"mouseover\", function(e) {\n showTooltipFor(cm, e, labels, inner);\n });\n\n return marker;\n }\n\n function getMaxSeverity(a, b) {\n if (a == \"error\") return a;\n else return b;\n }\n\n function groupByLine(annotations) {\n var lines = [];\n for (var i = 0; i < annotations.length; ++i) {\n var ann = annotations[i], line = ann.from.line;\n (lines[line] || (lines[line] = [])).push(ann);\n }\n return lines;\n }\n\n function annotationTooltip(ann) {\n var severity = ann.severity;\n if (!severity) severity = \"error\";\n var tip = document.createElement(\"div\");\n tip.className = \"CodeMirror-lint-message CodeMirror-lint-message-\" + severity;\n if (typeof ann.messageHTML != 'undefined') {\n tip.innerHTML = ann.messageHTML;\n } else {\n tip.appendChild(document.createTextNode(ann.message));\n }\n return tip;\n }\n\n function lintAsync(cm, getAnnotations) {\n var state = cm.state.lint\n var id = ++state.waitingFor\n function abort() {\n id = -1\n cm.off(\"change\", abort)\n }\n cm.on(\"change\", abort)\n getAnnotations(cm.getValue(), function(annotations, arg2) {\n cm.off(\"change\", abort)\n if (state.waitingFor != id) return\n if (arg2 && annotations instanceof CodeMirror) annotations = arg2\n cm.operation(function() {updateLinting(cm, annotations)})\n }, state.linterOptions, cm);\n }\n\n function startLinting(cm) {\n var state = cm.state.lint;\n if (!state) return;\n var options = state.options;\n /*\n * Passing rules in `options` property prevents JSHint (and other linters) from complaining\n * about unrecognized rules like `onUpdateLinting`, `delay`, `lintOnChange`, etc.\n */\n var getAnnotations = options.getAnnotations || cm.getHelper(CodeMirror.Pos(0, 0), \"lint\");\n if (!getAnnotations) return;\n if (options.async || getAnnotations.async) {\n lintAsync(cm, getAnnotations)\n } else {\n var annotations = getAnnotations(cm.getValue(), state.linterOptions, cm);\n if (!annotations) return;\n if (annotations.then) annotations.then(function(issues) {\n cm.operation(function() {updateLinting(cm, issues)})\n });\n else cm.operation(function() {updateLinting(cm, annotations)})\n }\n }\n\n function updateLinting(cm, annotationsNotSorted) {\n var state = cm.state.lint;\n if (!state) return;\n var options = state.options;\n clearMarks(cm);\n\n var annotations = groupByLine(annotationsNotSorted);\n\n for (var line = 0; line < annotations.length; ++line) {\n var anns = annotations[line];\n if (!anns) continue;\n\n // filter out duplicate messages\n var message = [];\n anns = anns.filter(function(item) { return message.indexOf(item.message) > -1 ? false : message.push(item.message) });\n\n var maxSeverity = null;\n var tipLabel = state.hasGutter && document.createDocumentFragment();\n\n for (var i = 0; i < anns.length; ++i) {\n var ann = anns[i];\n var severity = ann.severity;\n if (!severity) severity = \"error\";\n maxSeverity = getMaxSeverity(maxSeverity, severity);\n\n if (options.formatAnnotation) ann = options.formatAnnotation(ann);\n if (state.hasGutter) tipLabel.appendChild(annotationTooltip(ann));\n\n if (ann.to) state.marked.push(cm.markText(ann.from, ann.to, {\n className: \"CodeMirror-lint-mark CodeMirror-lint-mark-\" + severity,\n __annotation: ann\n }));\n }\n // use original annotations[line] to show multiple messages\n if (state.hasGutter)\n cm.setGutterMarker(line, GUTTER_ID, makeMarker(cm, tipLabel, maxSeverity, annotations[line].length > 1,\n options.tooltips));\n\n if (options.highlightLines)\n cm.addLineClass(line, \"wrap\", LINT_LINE_ID + maxSeverity);\n }\n if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm);\n }\n\n function onChange(cm) {\n var state = cm.state.lint;\n if (!state) return;\n clearTimeout(state.timeout);\n state.timeout = setTimeout(function(){startLinting(cm);}, state.options.delay);\n }\n\n function popupTooltips(cm, annotations, e) {\n var target = e.target || e.srcElement;\n var tooltip = document.createDocumentFragment();\n for (var i = 0; i < annotations.length; i++) {\n var ann = annotations[i];\n tooltip.appendChild(annotationTooltip(ann));\n }\n showTooltipFor(cm, e, tooltip, target);\n }\n\n function onMouseOver(cm, e) {\n var target = e.target || e.srcElement;\n if (!/\\bCodeMirror-lint-mark-/.test(target.className)) return;\n var box = target.getBoundingClientRect(), x = (box.left + box.right) / 2, y = (box.top + box.bottom) / 2;\n var spans = cm.findMarksAt(cm.coordsChar({left: x, top: y}, \"client\"));\n\n var annotations = [];\n for (var i = 0; i < spans.length; ++i) {\n var ann = spans[i].__annotation;\n if (ann) annotations.push(ann);\n }\n if (annotations.length) popupTooltips(cm, annotations, e);\n }\n\n CodeMirror.defineOption(\"lint\", false, function(cm, val, old) {\n if (old && old != CodeMirror.Init) {\n clearMarks(cm);\n if (cm.state.lint.options.lintOnChange !== false)\n cm.off(\"change\", onChange);\n CodeMirror.off(cm.getWrapperElement(), \"mouseover\", cm.state.lint.onMouseOver);\n clearTimeout(cm.state.lint.timeout);\n delete cm.state.lint;\n }\n\n if (val) {\n var gutters = cm.getOption(\"gutters\"), hasLintGutter = false;\n for (var i = 0; i < gutters.length; ++i) if (gutters[i] == GUTTER_ID) hasLintGutter = true;\n var state = cm.state.lint = new LintState(cm, val, hasLintGutter);\n if (state.options.lintOnChange)\n cm.on(\"change\", onChange);\n if (state.options.tooltips != false && state.options.tooltips != \"gutter\")\n CodeMirror.on(cm.getWrapperElement(), \"mouseover\", state.onMouseOver);\n\n startLinting(cm);\n }\n });\n\n CodeMirror.defineExtension(\"performLint\", function() {\n startLinting(this);\n });\n});\n"],"names":["CodeMirror","GUTTER_ID","LINT_LINE_ID","showTooltip","cm","e","content","tt","document","createElement","position","parentNode","off","style","top","Math","max","clientY","offsetHeight","left","clientX","className","options","theme","appendChild","cloneNode","state","lint","selfContain","getWrapperElement","body","on","opacity","rm","elt","removeChild","hideTooltip","setTimeout","showTooltipFor","node","tooltip","hide","poll","setInterval","n","nodeType","host","clearInterval","LintState","conf","hasGutter","prop","this","marked","Function","getAnnotations","linterOptions","defaults","hasOwnProperty","timeout","onMouseOver","waitingFor","highlightLines","tooltips","delay","lintOnChange","async","formatAnnotation","onUpdateLinting","clearMarks","clearGutter","clearErrorLines","i","length","clear","eachLine","line","has","wrapClass","exec","removeLineClass","makeMarker","labels","severity","multiple","marker","inner","getMaxSeverity","a","b","groupByLine","annotations","lines","ann","from","push","annotationTooltip","tip","messageHTML","innerHTML","createTextNode","message","lintAsync","id","abort","getValue","arg2","operation","updateLinting","startLinting","getHelper","Pos","then","issues","annotationsNotSorted","anns","filter","item","indexOf","maxSeverity","tipLabel","createDocumentFragment","to","markText","__annotation","setGutterMarker","addLineClass","onChange","clearTimeout","popupTooltips","target","srcElement","test","box","getBoundingClientRect","x","right","y","bottom","spans","findMarksAt","coordsChar","defineOption","val","old","Init","gutters","getOption","hasLintGutter","defineExtension","mod","require"],"sourceRoot":""}
|