(self.webpackChunk=self.webpackChunk||[]).push([[19],{9019:function(e,n,r){!function(e){"use strict";function n(n){return function(r,t){var i=t.line,l=r.getLine(i);function o(n){for(var o,f=t.ch,s=0;;){var u=f<=0?-1:l.lastIndexOf(n[0],f-1);if(-1!=u){if(1==s&&u<t.ch)break;if(o=r.getTokenTypeAt(e.Pos(i,u+1)),!/^(comment|string)/.test(o))return{ch:u+1,tokenType:o,pair:n};f=u-1}else{if(1==s)break;s=1,f=l.length}}}function f(n){var t,l,o=1,f=r.lastLine(),s=n.ch;e:for(var u=i;u<=f;++u)for(var a=r.getLine(u),c=u==i?s:0;;){var g=a.indexOf(n.pair[0],c),p=a.indexOf(n.pair[1],c);if(g<0&&(g=a.length),p<0&&(p=a.length),(c=Math.min(g,p))==a.length)break;if(r.getTokenTypeAt(e.Pos(u,c+1))==n.tokenType)if(c==g)++o;else if(! --o){t=u,l=c;break e}++c}return null==t||i==t?null:{from:e.Pos(i,s),to:e.Pos(t,l)}}for(var s=[],u=0;u<n.length;u++){var a=o(n[u]);a&&s.push(a)}for(s.sort((function(e,n){return e.ch-n.ch})),u=0;u<s.length;u++){var c=f(s[u]);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,l=Math.min(n.lastLine(),r+10);i<=l;++i){var o=n.getLine(i).indexOf(";");if(-1!=o)return{startCh:t.end,end:e.Pos(i,o)}}}var i,l=r.line,o=t(l);if(!o||t(l-1)||(i=t(l-2))&&i.end.line==l-1)return null;for(var f=o.end;;){var s=t(f.line+1);if(null==s)break;f=s.end}return{from:n.clipPos(e.Pos(l,o.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,l=t(i);if(null==l||null!=t(i-1))return null;for(var o=i;null!=t(o+1);)++o;return{from:e.Pos(i,l+1),to:n.clipPos(e.Pos(o))}}))}(r(709))}}]);
//# sourceMappingURL=19.js.map