(self.webpackChunktansci_boot_ui_editor=self.webpackChunktansci_boot_ui_editor||[]).push([[7340],{97340:function(e,n,t){!function(e){"use strict";e.multiplexingMode=function(n){var t=Array.prototype.slice.call(arguments,1);function i(e,n,t,i){if("string"==typeof n){var r=e.indexOf(n,t);return i&&r>-1?r+n.length:r}var o=n.exec(t?e.slice(t):e);return o?o.index+t+(i?o[0].length:0):-1}return{startState:function(){return{outer:e.startState(n),innerActive:null,inner:null,startingInner:!1}},copyState:function(t){return{outer:e.copyState(n,t.outer),innerActive:t.innerActive,inner:t.innerActive&&e.copyState(t.innerActive.mode,t.inner),startingInner:t.startingInner}},token:function(r,o){if(o.innerActive){var s=o.innerActive;if(a=r.string,!s.close&&r.sol())return o.innerActive=o.inner=null,this.token(r,o);if((v=s.close&&!o.startingInner?i(a,s.close,r.pos,s.parseDelimiters):-1)==r.pos&&!s.parseDelimiters)return r.match(s.close),o.innerActive=o.inner=null,s.delimStyle&&s.delimStyle+" "+s.delimStyle+"-close";v>-1&&(r.string=a.slice(0,v));var l=s.mode.token(r,o.inner);return v>-1?r.string=a:r.pos>r.start&&(o.startingInner=!1),v==r.pos&&s.parseDelimiters&&(o.innerActive=o.inner=null),s.innerStyle&&(l=l?l+" "+s.innerStyle:s.innerStyle),l}for(var c=1/0,a=r.string,u=0;u<t.length;++u){var v,d=t[u];if((v=i(a,d.open,r.pos))==r.pos){d.parseDelimiters||r.match(d.open),o.startingInner=!!d.parseDelimiters,o.innerActive=d;var p=0;if(n.indent){var f=n.indent(o.outer,"","");f!==e.Pass&&(p=f)}return o.inner=e.startState(d.mode,p),d.delimStyle&&d.delimStyle+" "+d.delimStyle+"-open"}-1!=v&&v<c&&(c=v)}c!=1/0&&(r.string=a.slice(0,c));var m=n.token(r,o.outer);return c!=1/0&&(r.string=a),m},indent:function(t,i,r){var o=t.innerActive?t.innerActive.mode:n;return o.indent?o.indent(t.innerActive?t.inner:t.outer,i,r):e.Pass},blankLine:function(i){var r=i.innerActive?i.innerActive.mode:n;if(r.blankLine&&r.blankLine(i.innerActive?i.inner:i.outer),i.innerActive)"\n"===i.innerActive.close&&(i.innerActive=i.inner=null);else for(var o=0;o<t.length;++o){var s=t[o];"\n"===s.open&&(i.innerActive=s,i.inner=e.startState(s.mode,r.indent?r.indent(i.outer,"",""):0))}},electricChars:n.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:n}}}}}(t(15237))}}]);