parse-dashboard 8.5.0-alpha.7 → 8.5.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/Parse-Dashboard/public/bundles/221.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/448.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/584.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/75.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/dashboard.bundle.js +1 -1
- package/Parse-Dashboard/public/bundles/login.bundle.js +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,221],{
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[120,221],{71120(e,o,t){t.d(o,{a:()=>u,d:()=>s});var n=t(38950),r=Object.defineProperty,i=(e,o)=>r(e,"name",{value:o,configurable:!0});function a(e,o){return o.forEach(function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(a,"_mergeNamespaces");var u={exports:{}};!function(e){function o(o,t,n){var r,i=o.getWrapperElement();return(r=i.appendChild(document.createElement("div"))).className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),e.addClass(i,"dialog-opened"),r}function t(e,o){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=o}i(o,"dialogDiv"),i(t,"closeNotification"),e.defineExtension("openDialog",function(n,r,a){a||(a={}),t(this,null);var u=o(this,n,a.bottom),s=!1,l=this;function c(o){if("string"==typeof o)p.value=o;else{if(s)return;s=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),l.focus(),a.onClose&&a.onClose(u)}}i(c,"close");var f,p=u.getElementsByTagName("input")[0];return p?(p.focus(),a.value&&(p.value=a.value,!1!==a.selectValueOnOpen&&p.select()),a.onInput&&e.on(p,"input",function(e){a.onInput(e,p.value,c)}),a.onKeyUp&&e.on(p,"keyup",function(e){a.onKeyUp(e,p.value,c)}),e.on(p,"keydown",function(o){a&&a.onKeyDown&&a.onKeyDown(o,p.value,c)||((27==o.keyCode||!1!==a.closeOnEnter&&13==o.keyCode)&&(p.blur(),e.e_stop(o),c()),13==o.keyCode&&r(p.value,o))}),!1!==a.closeOnBlur&&e.on(u,"focusout",function(e){null!==e.relatedTarget&&c()})):(f=u.getElementsByTagName("button")[0])&&(e.on(f,"click",function(){c(),l.focus()}),!1!==a.closeOnBlur&&e.on(f,"blur",c),f.focus()),c}),e.defineExtension("openConfirm",function(n,r,a){t(this,null);var u=o(this,n,a&&a.bottom),s=u.getElementsByTagName("button"),l=!1,c=this,f=1;function p(){l||(l=!0,e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u),c.focus())}i(p,"close"),s[0].focus();for(var d=0;d<s.length;++d){var m=s[d];(function(o){e.on(m,"click",function(t){e.e_preventDefault(t),p(),o&&o(c)})})(r[d]),e.on(m,"blur",function(){--f,setTimeout(function(){f<=0&&p()},200)}),e.on(m,"focus",function(){++f})}}),e.defineExtension("openNotification",function(n,r){t(this,c);var a,u=o(this,n,r&&r.bottom),s=!1,l=r&&void 0!==r.duration?r.duration:5e3;function c(){s||(s=!0,clearTimeout(a),e.rmClass(u.parentNode,"dialog-opened"),u.parentNode.removeChild(u))}return i(c,"close"),e.on(u,"click",function(o){e.e_preventDefault(o),c()}),l&&(a=setTimeout(c,l)),c})}(n.a.exports);var s=a({__proto__:null,default:u.exports},[u.exports])},36221(e,o,t){t.d(o,{j:()=>l});var n=t(38950),r=t(71120),i=Object.defineProperty,a=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e,o){return o.forEach(function(o){o&&"string"!=typeof o&&!Array.isArray(o)&&Object.keys(o).forEach(function(t){if("default"!==t&&!(t in e)){var n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:function(){return o[t]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(u,"_mergeNamespaces");var s={exports:{}};!function(e){function o(e,o,t,n,r){e.openDialog?e.openDialog(o,r,{value:n,selectValueOnOpen:!0,bottom:e.options.search.bottom}):r(prompt(t,n))}function t(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 n(e,o){var t=Number(o);return/^[-+]/.test(o)?e.getCursor().line+t:t-1}e.defineOption("search",{bottom:!1}),a(o,"dialog"),a(t,"getJumpDialog"),a(n,"interpretLine"),e.commands.jumpToLine=function(e){var r=e.getCursor();o(e,t(e),e.phrase("Jump to line:"),r.line+1+":"+r.ch,function(o){var t;if(o)if(t=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(o))e.setCursor(n(e,t[1]),Number(t[2]));else if(t=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(o)){var i=Math.round(e.lineCount()*Number(t[1])/100);/^[-+]/.test(t[1])&&(i=r.line+i+1),e.setCursor(i-1,r.ch)}else(t=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(o))&&e.setCursor(n(e,t[1]),r.ch)})},e.keyMap.default["Alt-G"]="jumpToLine"}(n.a.exports,r.a.exports);var l=u({__proto__:null,default:s.exports},[s.exports])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[448],{
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[448],{58594(e,t,n){n.d(t,{a:()=>c,b:()=>f,c:()=>d,d:()=>m,e:()=>g,g:()=>l});var i=n(85236),a=n(30183),r=n(7182),u=Object.defineProperty,o=(e,t)=>u(e,"name",{value:t,configurable:!0});function l(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,r.f)(t,t=>{var a,r;switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=null===(a=n.fieldDef)||void 0===a?void 0:a.type;break;case"SelectionSet":n.parentType=n.type?(0,i.MR)(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":const u=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null:null;n.argDefs=u?u.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=null===(r=n.argDef)||void 0===r?void 0:r.type;break;case"EnumValue":const o=n.inputType?(0,i.MR)(n.inputType):null;n.enumValue=o instanceof i.Zb?p(o.getValues(),e=>e.value===t.name):null;break;case"ListValue":const l=n.inputType?(0,i.yl)(n.inputType):null;n.inputType=l instanceof i.KT?l.ofType:null;break;case"ObjectValue":const c=n.inputType?(0,i.MR)(n.inputType):null;n.objectFieldDefs=c instanceof i.zP?c.getFields():null;break;case"ObjectField":const f=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=null==f?void 0:f.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}}),n}function s(e,t,n){return n===a.S.name&&e.getQueryType()===t?a.S:n===a.T.name&&e.getQueryType()===t?a.T:n===a.a.name&&(0,i.ML)(t)?a.a:t&&t.getFields?t.getFields()[n]:void 0}function p(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}function c(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function f(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function d(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:y(e.fieldDef)?null:e.parentType}}function m(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?(0,i.MR)(e.inputType):void 0}}function g(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function y(e){return"__"===e.name.slice(0,2)}o(l,"getTypeInfo"),o(s,"getFieldDef"),o(p,"find"),o(c,"getFieldReference"),o(f,"getDirectiveReference"),o(d,"getArgumentReference"),o(m,"getEnumValueReference"),o(g,"getTypeReference"),o(y,"isMetaField")},7182(e,t,n){function i(e,t){const n=[];let i=e;for(;null==i?void 0:i.kind;)n.push(i),i=i.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}n.d(t,{f:()=>i}),(0,Object.defineProperty)(i,"name",{value:"forEachState",configurable:!0})},86448(e,t,n){n.r(t);var i=n(38950),a=n(58594),r=(n(75909),n(63696),n(78325),n(30183),n(7182),Object.defineProperty),u=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,t){const n=t.target||t.srcElement;if(!(n instanceof HTMLElement))return;if("SPAN"!==(null==n?void 0:n.nodeName))return;const i=n.getBoundingClientRect(),a={left:(i.left+i.right)/2,top:(i.top+i.bottom)/2};e.state.jump.cursor=a,e.state.jump.isHoldingModifier&&f(e)}function l(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&d(e):e.state.jump.cursor=null}function s(e,t){if(e.state.jump.isHoldingModifier||!c(t.key))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&f(e);const n=u(u=>{u.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&d(e),i.C.off(document,"keyup",n),i.C.off(document,"click",a),e.off("mousedown",r))},"onKeyUp"),a=u(t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},"onClick"),r=u((t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)},"onMouseDown");i.C.on(document,"keyup",n),i.C.on(document,"click",a),e.on("mousedown",r)}i.C.defineOption("jump",!1,(e,t,n)=>{if(n&&n!==i.C.Init){const t=e.state.jump.onMouseOver;i.C.off(e.getWrapperElement(),"mouseover",t);const n=e.state.jump.onMouseOut;i.C.off(e.getWrapperElement(),"mouseout",n),i.C.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){const n=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:l.bind(null,e),onKeyDown:s.bind(null,e)};i.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver),i.C.on(e.getWrapperElement(),"mouseout",n.onMouseOut),i.C.on(document,"keydown",n.onKeyDown)}}),u(o,"onMouseOver"),u(l,"onMouseOut"),u(s,"onKeyDown");const p="undefined"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function c(e){return e===(p?"Meta":"Control")}function f(e){if(e.state.jump.marker)return;const t=e.state.jump.cursor,n=e.coordsChar(t),i=e.getTokenAt(n,!0),a=e.state.jump.options,r=a.getDestination||e.getHelper(n,"jump");if(r){const t=r(i,a,e);if(t){const a=e.markText({line:n.line,ch:i.start},{line:n.line,ch:i.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=a,e.state.jump.destination=t}}}function d(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}u(c,"isJumpModifier"),u(f,"enableJumpMode"),u(d,"disableJumpMode"),i.C.registerHelper("jump","graphql",(e,t)=>{if(!t.schema||!t.onClick||!e.state)return;const n=e.state,i=n.kind,r=n.step,u=(0,a.g)(t.schema,n);return"Field"===i&&0===r&&u.fieldDef||"AliasedField"===i&&2===r&&u.fieldDef?(0,a.a)(u):"Directive"===i&&1===r&&u.directiveDef?(0,a.b)(u):"Argument"===i&&0===r&&u.argDef?(0,a.c)(u):"EnumValue"===i&&u.enumValue?(0,a.d)(u):"NamedType"===i&&u.type?(0,a.e)(u):void 0})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[584,701],{7182(e,t,n){function o(e,t){const n=[];let o=e;for(;null==o?void 0:o.kind;)n.push(o),o=o.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}n.d(t,{f:()=>o}),(0,Object.defineProperty)(o,"name",{value:"forEachState",configurable:!0})},28701(e,t,n){n.r(t);var o=n(38950),i=(n(75909),n(63696),n(78325),Object.defineProperty),r=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function c(e){const t=e.state.info.options;return(null==t?void 0:t.hoverTime)||500}function l(e,t){const n=e.state.info,i=t.target||t.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==n.hoverTimeout)return;const a=i.getBoundingClientRect(),l=r(function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(p,s)},"onMouseMove"),d=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},"onMouseOut"),p=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),n.hoverTimeout=void 0,u(e,a)},"onHover"),s=c(e);n.hoverTimeout=setTimeout(p,s),o.C.on(document,"mousemove",l),o.C.on(e.getWrapperElement(),"mouseout",d)}function u(e,t){const n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),o=e.state.info.options,i=o.render||e.getHelper(n,"info");if(i){const r=e.getTokenAt(n,!0);if(r){const a=i(r,o,e,n);a&&d(e,t,a)}}}function d(e,t,n){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);const a=i.getBoundingClientRect(),c=window.getComputedStyle(i),l=a.right-a.left+parseFloat(c.marginLeft)+parseFloat(c.marginRight),u=a.bottom-a.top+parseFloat(c.marginTop)+parseFloat(c.marginBottom);let d=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(d=t.top-u),d<0&&(d=t.bottom);let p,s=Math.max(0,window.innerWidth-l-15);s>t.left&&(s=t.left),i.style.opacity="1",i.style.top=d+"px",i.style.left=s+"px";const f=r(function(){clearTimeout(p)},"onMouseOverPopup"),m=r(function(){clearTimeout(p),p=setTimeout(v,200)},"onMouseOut"),v=r(function(){o.C.off(i,"mouseover",f),o.C.off(i,"mouseout",m),o.C.off(e.getWrapperElement(),"mouseout",m),i.style.opacity?(i.style.opacity="0",setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)},"hidePopup");o.C.on(i,"mouseover",f),o.C.on(i,"mouseout",m),o.C.on(e.getWrapperElement(),"mouseout",m)}o.C.defineOption("info",!1,(e,t,n)=>{if(n&&n!==o.C.Init){const t=e.state.info.onMouseOver;o.C.off(e.getWrapperElement(),"mouseover",t),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const n=e.state.info=a(t);n.onMouseOver=l.bind(null,e),o.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver)}}),r(a,"createState"),r(c,"getHoverTime"),r(l,"onMouseOver"),r(u,"onMouseHover"),r(d,"showPopup")},
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[584,701],{58594(e,t,n){n.d(t,{a:()=>p,b:()=>s,c:()=>f,d:()=>m,e:()=>v,g:()=>l});var o=n(85236),i=n(30183),r=n(7182),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,r.f)(t,t=>{var i,r;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?u(e,n.parentType,t.name):null,n.type=null===(i=n.fieldDef)||void 0===i?void 0:i.type;break;case"SelectionSet":n.parentType=n.type?(0,o.MR)(n.type):null;break;case"Directive":n.directiveDef=t.name?e.getDirective(t.name):null;break;case"Arguments":const a=t.prevState?"Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&u(e,n.parentType,t.prevState.name):null:null;n.argDefs=a?a.args:null;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e<n.argDefs.length;e++)if(n.argDefs[e].name===t.name){n.argDef=n.argDefs[e];break}n.inputType=null===(r=n.argDef)||void 0===r?void 0:r.type;break;case"EnumValue":const c=n.inputType?(0,o.MR)(n.inputType):null;n.enumValue=c instanceof o.Zb?d(c.getValues(),e=>e.value===t.name):null;break;case"ListValue":const l=n.inputType?(0,o.yl)(n.inputType):null;n.inputType=l instanceof o.KT?l.ofType:null;break;case"ObjectValue":const p=n.inputType?(0,o.MR)(n.inputType):null;n.objectFieldDefs=p instanceof o.zP?p.getFields():null;break;case"ObjectField":const s=t.name&&n.objectFieldDefs?n.objectFieldDefs[t.name]:null;n.inputType=null==s?void 0:s.type;break;case"NamedType":n.type=t.name?e.getType(t.name):null}}),n}function u(e,t,n){return n===i.S.name&&e.getQueryType()===t?i.S:n===i.T.name&&e.getQueryType()===t?i.T:n===i.a.name&&(0,o.ML)(t)?i.a:t&&t.getFields?t.getFields()[n]:void 0}function d(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return e[n]}function p(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:y(e.fieldDef)?null:e.parentType}}function s(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}}function f(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:y(e.fieldDef)?null:e.parentType}}function m(e){return{kind:"EnumValue",value:e.enumValue||void 0,type:e.inputType?(0,o.MR)(e.inputType):void 0}}function v(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}}function y(e){return"__"===e.name.slice(0,2)}c(l,"getTypeInfo"),c(u,"getFieldDef"),c(d,"find"),c(p,"getFieldReference"),c(s,"getDirectiveReference"),c(f,"getArgumentReference"),c(m,"getEnumValueReference"),c(v,"getTypeReference"),c(y,"isMetaField")},7182(e,t,n){function o(e,t){const n=[];let o=e;for(;null==o?void 0:o.kind;)n.push(o),o=o.prevState;for(let e=n.length-1;e>=0;e--)t(n[e])}n.d(t,{f:()=>o}),(0,Object.defineProperty)(o,"name",{value:"forEachState",configurable:!0})},28701(e,t,n){n.r(t);var o=n(38950),i=(n(75909),n(63696),n(78325),Object.defineProperty),r=(e,t)=>i(e,"name",{value:t,configurable:!0});function a(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function c(e){const t=e.state.info.options;return(null==t?void 0:t.hoverTime)||500}function l(e,t){const n=e.state.info,i=t.target||t.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==n.hoverTimeout)return;const a=i.getBoundingClientRect(),l=r(function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(p,s)},"onMouseMove"),d=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},"onMouseOut"),p=r(function(){o.C.off(document,"mousemove",l),o.C.off(e.getWrapperElement(),"mouseout",d),n.hoverTimeout=void 0,u(e,a)},"onHover"),s=c(e);n.hoverTimeout=setTimeout(p,s),o.C.on(document,"mousemove",l),o.C.on(e.getWrapperElement(),"mouseout",d)}function u(e,t){const n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),o=e.state.info.options,i=o.render||e.getHelper(n,"info");if(i){const r=e.getTokenAt(n,!0);if(r){const a=i(r,o,e,n);a&&d(e,t,a)}}}function d(e,t,n){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);const a=i.getBoundingClientRect(),c=window.getComputedStyle(i),l=a.right-a.left+parseFloat(c.marginLeft)+parseFloat(c.marginRight),u=a.bottom-a.top+parseFloat(c.marginTop)+parseFloat(c.marginBottom);let d=t.bottom;u>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(d=t.top-u),d<0&&(d=t.bottom);let p,s=Math.max(0,window.innerWidth-l-15);s>t.left&&(s=t.left),i.style.opacity="1",i.style.top=d+"px",i.style.left=s+"px";const f=r(function(){clearTimeout(p)},"onMouseOverPopup"),m=r(function(){clearTimeout(p),p=setTimeout(v,200)},"onMouseOut"),v=r(function(){o.C.off(i,"mouseover",f),o.C.off(i,"mouseout",m),o.C.off(e.getWrapperElement(),"mouseout",m),i.style.opacity?(i.style.opacity="0",setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)},"hidePopup");o.C.on(i,"mouseover",f),o.C.on(i,"mouseout",m),o.C.on(e.getWrapperElement(),"mouseout",m)}o.C.defineOption("info",!1,(e,t,n)=>{if(n&&n!==o.C.Init){const t=e.state.info.onMouseOver;o.C.off(e.getWrapperElement(),"mouseover",t),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const n=e.state.info=a(t);n.onMouseOver=l.bind(null,e),o.C.on(e.getWrapperElement(),"mouseover",n.onMouseOver)}}),r(a,"createState"),r(c,"getHoverTime"),r(l,"onMouseOver"),r(u,"onMouseHover"),r(d,"showPopup")},65584(e,t,n){n.r(t);var o=n(85236),i=n(38950),r=n(58594),a=(n(28701),n(75909),n(63696),n(78325),n(30183),n(7182),Object.defineProperty),c=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,t,n){u(e,t,n),f(e,t,n,t.type)}function u(e,t,n){var o;g(e,(null===(o=t.fieldDef)||void 0===o?void 0:o.name)||"","field-name",n,(0,r.a)(t))}function d(e,t,n){var o;g(e,"@"+((null===(o=t.directiveDef)||void 0===o?void 0:o.name)||""),"directive-name",n,(0,r.b)(t))}function p(e,t,n){var o;g(e,(null===(o=t.argDef)||void 0===o?void 0:o.name)||"","arg-name",n,(0,r.c)(t)),f(e,t,n,t.inputType)}function s(e,t,n){var o;const i=(null===(o=t.enumValue)||void 0===o?void 0:o.name)||"";m(e,t,n,t.inputType),g(e,"."),g(e,i,"enum-value",n,(0,r.d)(t))}function f(e,t,n,i){const a=document.createElement("span");a.className="type-name-pill",i instanceof o.Gc?(m(a,t,n,i.ofType),g(a,"!")):i instanceof o.KT?(g(a,"["),m(a,t,n,i.ofType),g(a,"]")):g(a,(null==i?void 0:i.name)||"","type-name",n,(0,r.e)(t,i)),e.appendChild(a)}function m(e,t,n,i){i instanceof o.Gc?(m(e,t,n,i.ofType),g(e,"!")):i instanceof o.KT?(g(e,"["),m(e,t,n,i.ofType),g(e,"]")):g(e,(null==i?void 0:i.name)||"","type-name",n,(0,r.e)(t,i))}function v(e,t,n){const o=n.description;if(o){const n=document.createElement("div");n.className="info-description",t.renderDescription?n.innerHTML=t.renderDescription(o):n.appendChild(document.createTextNode(o)),e.appendChild(n)}y(e,t,n)}function y(e,t,n){const o=n.deprecationReason;if(o){const n=document.createElement("div");n.className="info-deprecation",e.appendChild(n);const i=document.createElement("span");i.className="info-deprecation-label",i.appendChild(document.createTextNode("Deprecated")),n.appendChild(i);const r=document.createElement("div");r.className="info-deprecation-reason",t.renderDescription?r.innerHTML=t.renderDescription(o):r.appendChild(document.createTextNode(o)),n.appendChild(r)}}function g(e,t,n="",o={onClick:null},i=null){if(n){const r=o.onClick;let a;r?(a=document.createElement("a"),a.href="javascript:void 0",a.addEventListener("click",e=>{r(i,e)})):a=document.createElement("span"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}i.C.registerHelper("info","graphql",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,o=n.kind,i=n.step,a=(0,r.g)(t.schema,e.state);if("Field"===o&&0===i&&a.fieldDef||"AliasedField"===o&&2===i&&a.fieldDef){const e=document.createElement("div");e.className="CodeMirror-info-header",l(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.fieldDef),n}if("Directive"===o&&1===i&&a.directiveDef){const e=document.createElement("div");e.className="CodeMirror-info-header",d(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.directiveDef),n}if("Argument"===o&&0===i&&a.argDef){const e=document.createElement("div");e.className="CodeMirror-info-header",p(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.argDef),n}if("EnumValue"===o&&a.enumValue&&a.enumValue.description){const e=document.createElement("div");e.className="CodeMirror-info-header",s(e,a,t);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.enumValue),n}if("NamedType"===o&&a.type&&a.type.description){const e=document.createElement("div");e.className="CodeMirror-info-header",m(e,a,t,a.type);const n=document.createElement("div");return n.appendChild(e),v(n,t,a.type),n}}),c(l,"renderField"),c(u,"renderQualifiedField"),c(d,"renderDirective"),c(p,"renderArg"),c(s,"renderEnumValue"),c(f,"renderTypeAnnotation"),c(m,"renderType"),c(v,"renderDescription"),c(y,"renderDeprecation"),c(g,"text")}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75,578,866],{34075(e,t,n){n.d(t,{s:()=>f});var r=n(38950),o=n(98866),i=n(91578),l=Object.defineProperty,a=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(s,"_mergeNamespaces");var c={exports:{}};!function(e){var t=e.commands,n=e.Pos;function r(t,r,o){if(o<0&&0==r.ch)return t.clipPos(n(r.line-1));var i=t.getLine(r.line);if(o>0&&r.ch>=i.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=o<0?0:i.length,u=0;c!=f;c+=o,u++){var h=i.charAt(o<0?c-1:c),d="_"!=h&&e.isWordChar(h)?"w":"o";if("w"==d&&h.toUpperCase()==h&&(d="W"),"start"==a)"o"!=d?(a="in",l=d):s=c+o;else if("in"==a&&l!=d){if("w"==l&&"W"==d&&o<0&&c--,"W"==l&&"w"==d&&o>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}function o(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 i(t,r){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,o=[],i=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=i)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),o.push({head:s,anchor:s}),i=a.line+1}}t.setSelections(o)}),t.execCommand("indentAuto")}function l(t,r){for(var o=r.ch,i=o,l=t.getLine(r.line);o&&e.isWordChar(l.charAt(o-1));)--o;for(;i<l.length&&e.isWordChar(l.charAt(i));)++i;return{from:n(r.line,o),to:n(r.line,i),word:l.slice(o,i)}}function s(e,t){for(var n=e.listSelections(),r=[],o=0;o<n.length;o++){var i=n[o],l=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),a=e.findPosV(i.head,t,"line",i.head.goalColumn);l.goalColumn=null!=i.anchor.goalColumn?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,a.goalColumn=null!=i.head.goalColumn?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var s={anchor:l,head:a};r.push(i),r.push(s)}e.setSelections(r)}function c(t,n,r){for(var o=0;o<t.length;o++)if(0==e.cmpPos(t[o].from(),n)&&0==e.cmpPos(t[o].to(),r))return!0;return!1}a(r,"findPosSubword"),a(o,"moveSubword"),t.goSubwordLeft=function(e){o(e,-1)},t.goSubwordRight=function(e){o(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=[],o=0;o<t.length;o++)for(var i=t[o].from(),l=t[o].to(),a=i.line;a<=l.line;++a)l.line>i.line&&a==l.line&&0==l.ch||r.push({anchor:a==i.line?i: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=[],o=0;o<t.length;o++){var i=t[o];r.push({anchor:n(i.from().line,0),head:n(i.to().line+1,0)})}e.setSelections(r)},a(i,"insertLine"),t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},a(l,"wordAt"),t.selectNextOccurrence=function(t){var r=t.getCursor("from"),o=t.getCursor("to"),i=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,o)){var a=l(t,r);if(!a.word)return;t.setSelection(a.from,a.to),i=!0}else{var s=t.getRange(r,o),f=i?new RegExp("\\b"+s+"\\b"):s,u=t.getSearchCursor(f,o),h=u.findNext();if(h||(h=(u=t.getSearchCursor(f,n(t.firstLine(),0))).findNext()),!h||c(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}i&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),o=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,o)&&n.doc.setSelections(n.doc.listSelections().filter(function(e){return e.anchor!=r||e.head!=o}))},a(s,"addCursorToSelection"),t.addCursorToPrevLine=function(e){s(e,-1)},t.addCursorToNextLine=function(e){s(e,1)},a(c,"isSelectedRange");var f="(){}[]";function u(t){for(var r=t.listSelections(),o=[],i=0;i<r.length;i++){var l=r[i],a=l.head,s=t.scanForBracket(a,-1);if(!s)return!1;for(;;){var c=t.scanForBracket(a,1);if(!c)return!1;if(c.ch==f.charAt(f.indexOf(s.ch)+1)){var u=n(s.pos.line,s.pos.ch+1);if(0!=e.cmpPos(u,l.from())||0!=e.cmpPos(c.pos,l.to())){o.push({anchor:u,head:c.pos});break}if(!(s=t.scanForBracket(s.pos,-1)))return!1}a=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(o),!0}function h(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function d(t,r,o){if(t.isReadOnly())return e.Pass;for(var i,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,u=c.to().line;s<l.length-1&&l[s+1].from().line==u;)u=l[++s].to().line;l[s].to().ch||u--,a.push(f,u)}}a.length?i=!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),u=n(c),h=t.getRange(f,u,!1);r?h.sort(function(e,t){return e<t?-o:e==t?0:o}):h.sort(function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-o:e==t?0:o}),t.replaceRange(h,f,u),i&&e.push({anchor:f,head:n(c+1,0)})}i&&t.setSelections(e,0)})}function g(t,n){t.operation(function(){for(var r=t.listSelections(),o=[],i=[],a=0;a<r.length;a++)(c=r[a]).empty()?(o.push(a),i.push("")):i.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(i,"around","case"),a=o.length-1;a>=0;a--){var c=r[o[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 m(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=l(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function p(e,t){var r=m(e);if(r){var o=r.query,i=e.getSearchCursor(o,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(o,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}a(u,"selectBetweenBrackets"),t.selectScope=function(e){u(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!u(t))return e.Pass},a(h,"puncType"),t.goToBracket=function(t){t.extendSelectionsBy(function(r){var o=t.scanForBracket(r.head,1,h(t.getTokenTypeAt(r.head)));if(o&&0!=e.cmpPos(o.pos,r.head))return o.pos;var i=t.scanForBracket(r.head,-1,h(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return i&&n(i.pos.line,i.pos.ch+1)||r.head})},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=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>i?o.push(c,f):o.length&&(o[o.length-1]=f),i=f}t.operation(function(){for(var e=0;e<o.length;e+=2){var r=o[e],i=o[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),i>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(i,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()})},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=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<i?o.push(s,c):o.length&&(o[o.length-1]=c),i=c}t.operation(function(){for(var e=o.length-2;e>=0;e-=2){var r=o[e],i=o[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(i,0),null,"+swapLine")}t.scrollIntoView()})},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){for(var i=t[o],l=i.from(),a=l.line,s=i.to().line;o<t.length-1&&t[o+1].from().line==s;)s=t[++o].to().line;r.push({start:a,end:s,anchor:!i.empty()&&l})}e.operation(function(){for(var t=0,o=[],i=0;i<r.length;i++){for(var l,a=r[i],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)}o.push({anchor:s||l,head:l})}e.setSelections(o,0)})},t.duplicateLine=function(e){e.operation(function(){for(var t=e.listSelections().length,r=0;r<t;r++){var o=e.listSelections()[r];o.empty()?e.replaceRange(e.getLine(o.head.line)+"\n",n(o.head.line,0)):e.replaceRange(e.getRange(o.from(),o.to()),o.from())}e.scrollIntoView()})},a(d,"sortLines"),t.sortLines=function(e){d(e,!0,1)},t.reverseSortLines=function(e){d(e,!0,-1)},t.sortLinesInsensitive=function(e){d(e,!1,1)},t.reverseSortLinesInsensitive=function(e){d(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 o=t[r].from(),i=t[r].to(),l=t[r].empty()?e.findMarksAt(o):e.findMarks(o,i),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(o,i,{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 o=t[r].find();o?n.push({anchor:o.from,head:o.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},a(g,"modifyWordOrSelection"),t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation(function(){for(var r=t.listSelections(),o=t.getOption("indentUnit"),i=r.length-1;i>=0;i--){var l=r[i].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%o==0){var f=new n(l.line,e.findColumn(a,s-o,o));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){g(e,function(e){return e.toUpperCase()})},t.downcaseAtCursor=function(e){g(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(),o=n;if(e.cmpPos(r,o)>0){var i=o;o=r,r=i}t.state.sublimeKilled=t.getRange(r,o),t.replaceRange("",r,o)}},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)},a(m,"getTarget"),a(p,"findAndGoTo"),t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=m(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],o=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&o++;e.setSelections(r,o)}};var C=e.keyMap;C.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(C.macSublime),C.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(C.pcSublime);var v=C.default==C.macDefault;C.sublime=v?C.macSublime:C.pcSublime}(r.a.exports,o.a.exports,i.a.exports);var f=s({__proto__:null,default:c.exports},[c.exports])},91578(e,t,n){n.d(t,{a:()=>a,m:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(e){return e&&e.bracketRegex||/[(){}[\]]/}function l(e,t,i){var l=e.getLineHandle(t.line),s=t.ch-1,c=i&&i.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=o(i),u=!c&&s>=0&&f.test(l.text.charAt(s))&&r[l.text.charAt(s)]||f.test(l.text.charAt(s+1))&&r[l.text.charAt(++s)];if(!u)return null;var h=">"==u.charAt(1)?1:-1;if(i&&i.strict&&h>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,s+1)),g=a(e,n(t.line,s+(h>0?1:0)),h,d,i);return null==g?null:{from:n(t.line,s),to:g&&g.pos,match:g&&g.ch==u.charAt(0),forward:h>0}}function a(e,t,i,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],u=o(a),h=i>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=h;d+=i){var g=e.getLine(d);if(g){var m=i>0?0:g.length-1,p=i>0?g.length:-1;if(!(g.length>s))for(d==t.line&&(m=t.ch-(i<0?1:0));m!=p;m+=i){var C=g.charAt(m);if(u.test(C)&&(void 0===l||(e.getTokenTypeAt(n(d,m+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==i>0)f.push(C);else{if(!f.length)return{pos:n(d,m),ch:C};f.pop()}}}}}return d-i!=(i>0?e.lastLine():e.firstLine())&&null}function s(e,r,o){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=o&&o.highlightNonMatching,c=[],f=e.listSelections(),u=0;u<f.length;u++){var h=f[u].empty()&&l(e,f[u].head,o);if(h&&(h.match||!1!==s)&&e.getLine(h.from.line).length<=a){var d=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";c.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:d})),h.to&&e.getLine(h.to.line).length<=a&&c.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:d}))}}if(c.length){t&&e.state.focused&&e.focus();var g=i(function(){e.operation(function(){for(var e=0;e<c.length;e++)c[e].clear()})},"clear");if(!r)return g;setTimeout(g,800)}}function c(e){e.operation(function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)})}function f(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}i(o,"bracketRegex"),i(l,"findMatchingBracket"),i(a,"scanForBracket"),i(s,"matchBrackets"),i(c,"doMatchBrackets"),i(f,"clearHighlighted"),e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",c),t.off("focus",c),t.off("blur",f),f(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",c),t.on("focus",c),t.on("blur",f))}),e.defineExtension("matchBrackets",function(){s(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),l(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,r){return a(this,e,t,n,r)})}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])},98866(e,t,n){n.d(t,{a:()=>a,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function l(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function a(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.lastLine();o<=a;o++,i=0){t.lastIndex=i;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!a(t))return s(e,t,n);t=l(t,"gm");for(var o,i=1,c=n.line,f=e.lastLine();c<=f;){for(var u=0;u<i&&!(c>f);u++){var h=e.getLine(c++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var d=t.exec(o);if(d){var g=o.slice(0,d.index).split("\n"),m=d[0].split("\n"),p=n.line+g.length-1,C=g[g.length-1].length;return{from:r(p,C),to:r(p+m.length-1,1==m.length?C+m[0].length:m[m.length-1].length),match:d}}}}function f(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var l=i.index+i[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function u(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.firstLine();o>=a;o--,i=-1){var s=e.getLine(o),c=f(s,t,i<0?0:s.length-i);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function h(e,t,n){if(!a(t))return u(e,t,n);t=l(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,c=n.line,h=e.firstLine();c>=h;){for(var d=0;d<i&&c>=h;d++){var g=e.getLine(c--);o=null==o?g:g+"\n"+o}i*=2;var m=f(o,t,s);if(m){var p=o.slice(0,m.index).split("\n"),C=m[0].split("\n"),v=c+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:m}}}}function d(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var l=o+i>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?i=l:o=l+1}}function g(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.lastLine()+1-s.length;c<=u;c++,f=0){var h=e.getLine(c).slice(f),g=a(h);if(1==s.length){var m=g.indexOf(s[0]);if(-1==m)continue e;return i=d(h,g,m,a)+f,{from:r(c,d(h,g,m,a)+f),to:r(c,d(h,g,m+s[0].length,a)+f)}}var p=g.length-s[0].length;if(g.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),k=s[s.length-1];if(S.slice(0,k.length)==k)return{from:r(c,d(h,g,p,a)+f),to:r(c+s.length-1,d(v,S,k.length,a))}}}}function m(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.firstLine()-1+s.length;c>=u;c--,f=-1){var h=e.getLine(c);f>-1&&(h=h.slice(0,f));var g=a(h);if(1==s.length){var m=g.lastIndexOf(s[0]);if(-1==m)continue e;return{from:r(c,d(h,g,m,a)),to:r(c,d(h,g,m+s[0].length,a))}}var p=s[s.length-1];if(g.slice(0,p.length)==p){var C=1;for(i=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(i+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,d(v,S,v.length-s[0].length,a)),to:r(c,d(h,g,p.length,a))}}}}function p(e,t,n,o){var i;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 o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?m:g)(e,t,r,i)}):(t=l(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?u:s)(e,t,r)}:this.matches=function(n,r){return(n?h:c)(e,t,r)})}i(o,"regexpFlags"),i(l,"ensureFlags"),i(a,"maybeMultiline"),i(s,"searchRegexpForward"),i(c,"searchRegexpForwardMultiline"),i(f,"lastMatchIn"),i(u,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i(function(e){return e.normalize("NFD").toLowerCase()},"doFold"),n=i(function(e){return e.normalize("NFD")},"noFold")):(t=i(function(e){return e.toLowerCase()},"doFold"),n=i(function(e){return e},"noFold")),i(d,"adjustPos"),i(g,"searchStringForward"),i(m,"searchStringBackward"),i(p,"SearchCursor"),p.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 o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new p(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new p(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)})}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])}}]);
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75,578,866],{91578(e,t,n){n.d(t,{a:()=>a,m:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(e){return e&&e.bracketRegex||/[(){}[\]]/}function l(e,t,i){var l=e.getLineHandle(t.line),s=t.ch-1,c=i&&i.afterCursor;null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var f=o(i),u=!c&&s>=0&&f.test(l.text.charAt(s))&&r[l.text.charAt(s)]||f.test(l.text.charAt(s+1))&&r[l.text.charAt(++s)];if(!u)return null;var h=">"==u.charAt(1)?1:-1;if(i&&i.strict&&h>0!=(s==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,s+1)),g=a(e,n(t.line,s+(h>0?1:0)),h,d,i);return null==g?null:{from:n(t.line,s),to:g&&g.pos,match:g&&g.ch==u.charAt(0),forward:h>0}}function a(e,t,i,l,a){for(var s=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,f=[],u=o(a),h=i>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),d=t.line;d!=h;d+=i){var g=e.getLine(d);if(g){var m=i>0?0:g.length-1,p=i>0?g.length:-1;if(!(g.length>s))for(d==t.line&&(m=t.ch-(i<0?1:0));m!=p;m+=i){var C=g.charAt(m);if(u.test(C)&&(void 0===l||(e.getTokenTypeAt(n(d,m+1))||"")==(l||""))){var v=r[C];if(v&&">"==v.charAt(1)==i>0)f.push(C);else{if(!f.length)return{pos:n(d,m),ch:C};f.pop()}}}}}return d-i!=(i>0?e.lastLine():e.firstLine())&&null}function s(e,r,o){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=o&&o.highlightNonMatching,c=[],f=e.listSelections(),u=0;u<f.length;u++){var h=f[u].empty()&&l(e,f[u].head,o);if(h&&(h.match||!1!==s)&&e.getLine(h.from.line).length<=a){var d=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";c.push(e.markText(h.from,n(h.from.line,h.from.ch+1),{className:d})),h.to&&e.getLine(h.to.line).length<=a&&c.push(e.markText(h.to,n(h.to.line,h.to.ch+1),{className:d}))}}if(c.length){t&&e.state.focused&&e.focus();var g=i(function(){e.operation(function(){for(var e=0;e<c.length;e++)c[e].clear()})},"clear");if(!r)return g;setTimeout(g,800)}}function c(e){e.operation(function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=s(e,!1,e.state.matchBrackets)})}function f(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}i(o,"bracketRegex"),i(l,"findMatchingBracket"),i(a,"scanForBracket"),i(s,"matchBrackets"),i(c,"doMatchBrackets"),i(f,"clearHighlighted"),e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",c),t.off("focus",c),t.off("blur",f),f(t)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",c),t.on("focus",c),t.on("blur",f))}),e.defineExtension("matchBrackets",function(){s(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),l(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,r){return a(this,e,t,n,r)})}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])},98866(e,t,n){n.d(t,{a:()=>a,s:()=>s});var r=n(38950),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function l(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}i(l,"_mergeNamespaces");var a={exports:{}};!function(e){var t,n,r=e.Pos;function o(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}function l(e,t){for(var n=o(e),r=n,i=0;i<t.length;i++)-1==r.indexOf(t.charAt(i))&&(r+=t.charAt(i));return n==r?e:new RegExp(e.source,r)}function a(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function s(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.lastLine();o<=a;o++,i=0){t.lastIndex=i;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function c(e,t,n){if(!a(t))return s(e,t,n);t=l(t,"gm");for(var o,i=1,c=n.line,f=e.lastLine();c<=f;){for(var u=0;u<i&&!(c>f);u++){var h=e.getLine(c++);o=null==o?h:o+"\n"+h}i*=2,t.lastIndex=n.ch;var d=t.exec(o);if(d){var g=o.slice(0,d.index).split("\n"),m=d[0].split("\n"),p=n.line+g.length-1,C=g[g.length-1].length;return{from:r(p,C),to:r(p+m.length-1,1==m.length?C+m[0].length:m[m.length-1].length),match:d}}}}function f(e,t,n){for(var r,o=0;o<=e.length;){t.lastIndex=o;var i=t.exec(e);if(!i)break;var l=i.index+i[0].length;if(l>e.length-n)break;(!r||l>r.index+r[0].length)&&(r=i),o=i.index+1}return r}function u(e,t,n){t=l(t,"g");for(var o=n.line,i=n.ch,a=e.firstLine();o>=a;o--,i=-1){var s=e.getLine(o),c=f(s,t,i<0?0:s.length-i);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function h(e,t,n){if(!a(t))return u(e,t,n);t=l(t,"gm");for(var o,i=1,s=e.getLine(n.line).length-n.ch,c=n.line,h=e.firstLine();c>=h;){for(var d=0;d<i&&c>=h;d++){var g=e.getLine(c--);o=null==o?g:g+"\n"+o}i*=2;var m=f(o,t,s);if(m){var p=o.slice(0,m.index).split("\n"),C=m[0].split("\n"),v=c+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:m}}}}function d(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var l=o+i>>1,a=r(e.slice(0,l)).length;if(a==n)return l;a>n?i=l:o=l+1}}function g(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.lastLine()+1-s.length;c<=u;c++,f=0){var h=e.getLine(c).slice(f),g=a(h);if(1==s.length){var m=g.indexOf(s[0]);if(-1==m)continue e;return i=d(h,g,m,a)+f,{from:r(c,d(h,g,m,a)+f),to:r(c,d(h,g,m+s[0].length,a)+f)}}var p=g.length-s[0].length;if(g.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),k=s[s.length-1];if(S.slice(0,k.length)==k)return{from:r(c,d(h,g,p,a)+f),to:r(c+s.length-1,d(v,S,k.length,a))}}}}function m(e,o,i,l){if(!o.length)return null;var a=l?t:n,s=a(o).split(/\r|\n\r?/);e:for(var c=i.line,f=i.ch,u=e.firstLine()-1+s.length;c>=u;c--,f=-1){var h=e.getLine(c);f>-1&&(h=h.slice(0,f));var g=a(h);if(1==s.length){var m=g.lastIndexOf(s[0]);if(-1==m)continue e;return{from:r(c,d(h,g,m,a)),to:r(c,d(h,g,m+s[0].length,a))}}var p=s[s.length-1];if(g.slice(0,p.length)==p){var C=1;for(i=c-s.length+1;C<s.length-1;C++)if(a(e.getLine(i+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,d(v,S,v.length-s[0].length,a)),to:r(c,d(h,g,p.length,a))}}}}function p(e,t,n,o){var i;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 o?i=o.caseFold:(i=o,o=null),"string"==typeof t?(null==i&&(i=!1),this.matches=function(n,r){return(n?m:g)(e,t,r,i)}):(t=l(t,"gm"),o&&!1===o.multiline?this.matches=function(n,r){return(n?u:s)(e,t,r)}:this.matches=function(n,r){return(n?h:c)(e,t,r)})}i(o,"regexpFlags"),i(l,"ensureFlags"),i(a,"maybeMultiline"),i(s,"searchRegexpForward"),i(c,"searchRegexpForwardMultiline"),i(f,"lastMatchIn"),i(u,"searchRegexpBackward"),i(h,"searchRegexpBackwardMultiline"),String.prototype.normalize?(t=i(function(e){return e.normalize("NFD").toLowerCase()},"doFold"),n=i(function(e){return e.normalize("NFD")},"noFold")):(t=i(function(e){return e.toLowerCase()},"doFold"),n=i(function(e){return e},"noFold")),i(d,"adjustPos"),i(g,"searchStringForward"),i(m,"searchStringBackward"),i(p,"SearchCursor"),p.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 o=this.matches(t,n);if(this.afterEmptyMatch=o&&0==e.cmpPos(o.from,o.to),o)return this.pos=o,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new p(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new p(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)})}(r.a.exports);var s=l({__proto__:null,default:a.exports},[a.exports])},34075(e,t,n){n.d(t,{s:()=>f});var r=n(38950),o=n(98866),i=n(91578),l=Object.defineProperty,a=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}a(s,"_mergeNamespaces");var c={exports:{}};!function(e){var t=e.commands,n=e.Pos;function r(t,r,o){if(o<0&&0==r.ch)return t.clipPos(n(r.line-1));var i=t.getLine(r.line);if(o>0&&r.ch>=i.length)return t.clipPos(n(r.line+1,0));for(var l,a="start",s=r.ch,c=s,f=o<0?0:i.length,u=0;c!=f;c+=o,u++){var h=i.charAt(o<0?c-1:c),d="_"!=h&&e.isWordChar(h)?"w":"o";if("w"==d&&h.toUpperCase()==h&&(d="W"),"start"==a)"o"!=d?(a="in",l=d):s=c+o;else if("in"==a&&l!=d){if("w"==l&&"W"==d&&o<0&&c--,"W"==l&&"w"==d&&o>0){if(c==s+1){l="w";continue}c--}break}}return n(r.line,c)}function o(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 i(t,r){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,o=[],i=-1,l=0;l<e;l++){var a=t.listSelections()[l].head;if(!(a.line<=i)){var s=n(a.line+(r?0:1),0);t.replaceRange("\n",s,null,"+insertLine"),t.indentLine(s.line,null,!0),o.push({head:s,anchor:s}),i=a.line+1}}t.setSelections(o)}),t.execCommand("indentAuto")}function l(t,r){for(var o=r.ch,i=o,l=t.getLine(r.line);o&&e.isWordChar(l.charAt(o-1));)--o;for(;i<l.length&&e.isWordChar(l.charAt(i));)++i;return{from:n(r.line,o),to:n(r.line,i),word:l.slice(o,i)}}function s(e,t){for(var n=e.listSelections(),r=[],o=0;o<n.length;o++){var i=n[o],l=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),a=e.findPosV(i.head,t,"line",i.head.goalColumn);l.goalColumn=null!=i.anchor.goalColumn?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,a.goalColumn=null!=i.head.goalColumn?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var s={anchor:l,head:a};r.push(i),r.push(s)}e.setSelections(r)}function c(t,n,r){for(var o=0;o<t.length;o++)if(0==e.cmpPos(t[o].from(),n)&&0==e.cmpPos(t[o].to(),r))return!0;return!1}a(r,"findPosSubword"),a(o,"moveSubword"),t.goSubwordLeft=function(e){o(e,-1)},t.goSubwordRight=function(e){o(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=[],o=0;o<t.length;o++)for(var i=t[o].from(),l=t[o].to(),a=i.line;a<=l.line;++a)l.line>i.line&&a==l.line&&0==l.ch||r.push({anchor:a==i.line?i: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=[],o=0;o<t.length;o++){var i=t[o];r.push({anchor:n(i.from().line,0),head:n(i.to().line+1,0)})}e.setSelections(r)},a(i,"insertLine"),t.insertLineAfter=function(e){return i(e,!1)},t.insertLineBefore=function(e){return i(e,!0)},a(l,"wordAt"),t.selectNextOccurrence=function(t){var r=t.getCursor("from"),o=t.getCursor("to"),i=t.state.sublimeFindFullWord==t.doc.sel;if(0==e.cmpPos(r,o)){var a=l(t,r);if(!a.word)return;t.setSelection(a.from,a.to),i=!0}else{var s=t.getRange(r,o),f=i?new RegExp("\\b"+s+"\\b"):s,u=t.getSearchCursor(f,o),h=u.findNext();if(h||(h=(u=t.getSearchCursor(f,n(t.firstLine(),0))).findNext()),!h||c(t.listSelections(),u.from(),u.to()))return;t.addSelection(u.from(),u.to())}i&&(t.state.sublimeFindFullWord=t.doc.sel)},t.skipAndSelectNextOccurrence=function(n){var r=n.getCursor("anchor"),o=n.getCursor("head");t.selectNextOccurrence(n),0!=e.cmpPos(r,o)&&n.doc.setSelections(n.doc.listSelections().filter(function(e){return e.anchor!=r||e.head!=o}))},a(s,"addCursorToSelection"),t.addCursorToPrevLine=function(e){s(e,-1)},t.addCursorToNextLine=function(e){s(e,1)},a(c,"isSelectedRange");var f="(){}[]";function u(t){for(var r=t.listSelections(),o=[],i=0;i<r.length;i++){var l=r[i],a=l.head,s=t.scanForBracket(a,-1);if(!s)return!1;for(;;){var c=t.scanForBracket(a,1);if(!c)return!1;if(c.ch==f.charAt(f.indexOf(s.ch)+1)){var u=n(s.pos.line,s.pos.ch+1);if(0!=e.cmpPos(u,l.from())||0!=e.cmpPos(c.pos,l.to())){o.push({anchor:u,head:c.pos});break}if(!(s=t.scanForBracket(s.pos,-1)))return!1}a=n(c.pos.line,c.pos.ch+1)}}return t.setSelections(o),!0}function h(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function d(t,r,o){if(t.isReadOnly())return e.Pass;for(var i,l=t.listSelections(),a=[],s=0;s<l.length;s++){var c=l[s];if(!c.empty()){for(var f=c.from().line,u=c.to().line;s<l.length-1&&l[s+1].from().line==u;)u=l[++s].to().line;l[s].to().ch||u--,a.push(f,u)}}a.length?i=!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),u=n(c),h=t.getRange(f,u,!1);r?h.sort(function(e,t){return e<t?-o:e==t?0:o}):h.sort(function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-o:e==t?0:o}),t.replaceRange(h,f,u),i&&e.push({anchor:f,head:n(c+1,0)})}i&&t.setSelections(e,0)})}function g(t,n){t.operation(function(){for(var r=t.listSelections(),o=[],i=[],a=0;a<r.length;a++)(c=r[a]).empty()?(o.push(a),i.push("")):i.push(n(t.getRange(c.from(),c.to())));var s;for(t.replaceSelections(i,"around","case"),a=o.length-1;a>=0;a--){var c=r[o[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 m(t){var n=t.getCursor("from"),r=t.getCursor("to");if(0==e.cmpPos(n,r)){var o=l(t,n);if(!o.word)return;n=o.from,r=o.to}return{from:n,to:r,query:t.getRange(n,r),word:o}}function p(e,t){var r=m(e);if(r){var o=r.query,i=e.getSearchCursor(o,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(o,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}a(u,"selectBetweenBrackets"),t.selectScope=function(e){u(e)||e.execCommand("selectAll")},t.selectBetweenBrackets=function(t){if(!u(t))return e.Pass},a(h,"puncType"),t.goToBracket=function(t){t.extendSelectionsBy(function(r){var o=t.scanForBracket(r.head,1,h(t.getTokenTypeAt(r.head)));if(o&&0!=e.cmpPos(o.pos,r.head))return o.pos;var i=t.scanForBracket(r.head,-1,h(t.getTokenTypeAt(n(r.head.line,r.head.ch+1))));return i&&n(i.pos.line,i.pos.ch+1)||r.head})},t.swapLineUp=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=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>i?o.push(c,f):o.length&&(o[o.length-1]=f),i=f}t.operation(function(){for(var e=0;e<o.length;e+=2){var r=o[e],i=o[e+1],a=t.getLine(r);t.replaceRange("",n(r,0),n(r+1,0),"+swapLine"),i>t.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(i,0),null,"+swapLine")}t.setSelections(l),t.scrollIntoView()})},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var r=t.listSelections(),o=[],i=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<i?o.push(s,c):o.length&&(o[o.length-1]=c),i=c}t.operation(function(){for(var e=o.length-2;e>=0;e-=2){var r=o[e],i=o[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(i,0),null,"+swapLine")}t.scrollIntoView()})},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),r=[],o=0;o<t.length;o++){for(var i=t[o],l=i.from(),a=l.line,s=i.to().line;o<t.length-1&&t[o+1].from().line==s;)s=t[++o].to().line;r.push({start:a,end:s,anchor:!i.empty()&&l})}e.operation(function(){for(var t=0,o=[],i=0;i<r.length;i++){for(var l,a=r[i],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)}o.push({anchor:s||l,head:l})}e.setSelections(o,0)})},t.duplicateLine=function(e){e.operation(function(){for(var t=e.listSelections().length,r=0;r<t;r++){var o=e.listSelections()[r];o.empty()?e.replaceRange(e.getLine(o.head.line)+"\n",n(o.head.line,0)):e.replaceRange(e.getRange(o.from(),o.to()),o.from())}e.scrollIntoView()})},a(d,"sortLines"),t.sortLines=function(e){d(e,!0,1)},t.reverseSortLines=function(e){d(e,!0,-1)},t.sortLinesInsensitive=function(e){d(e,!1,1)},t.reverseSortLinesInsensitive=function(e){d(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 o=t[r].from(),i=t[r].to(),l=t[r].empty()?e.findMarksAt(o):e.findMarks(o,i),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(o,i,{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 o=t[r].find();o?n.push({anchor:o.from,head:o.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},a(g,"modifyWordOrSelection"),t.smartBackspace=function(t){if(t.somethingSelected())return e.Pass;t.operation(function(){for(var r=t.listSelections(),o=t.getOption("indentUnit"),i=r.length-1;i>=0;i--){var l=r[i].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%o==0){var f=new n(l.line,e.findColumn(a,s-o,o));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){g(e,function(e){return e.toUpperCase()})},t.downcaseAtCursor=function(e){g(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(),o=n;if(e.cmpPos(r,o)>0){var i=o;o=r,r=i}t.state.sublimeKilled=t.getRange(r,o),t.replaceRange("",r,o)}},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)},a(m,"getTarget"),a(p,"findAndGoTo"),t.findUnder=function(e){p(e,!0)},t.findUnderPrevious=function(e){p(e,!1)},t.findAllUnder=function(e){var t=m(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],o=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&o++;e.setSelections(r,o)}};var C=e.keyMap;C.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(C.macSublime),C.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(C.pcSublime);var v=C.default==C.macDefault;C.sublime=v?C.macSublime:C.pcSublime}(r.a.exports,o.a.exports,i.a.exports);var f=s({__proto__:null,default:c.exports},[c.exports])}}]);
|