"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[8132],{8132(L,w,_){function c(e){for(var n={},t=e.split(" "),i=0;i<t.length;++i)n[t[i]]=!0;return n}_.d(w,{d:()=>I});var s="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";const l={keywords:c("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+s),blockKeywords:c(s),builtin:c("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:c("exit failure success true false null"),hooks:{"@":function(e,n){return e.eatWhile(/[\w\$_]/),"meta"}}};var o,v=l.statementIndentUnit,g=l.keywords,x=l.builtin,d=l.blockKeywords,z=l.atoms,p=l.hooks,C=l.multiLineStrings,h=/[+\-*&%=<>!?|\/]/;function m(e,n){var t=e.next();if(p[t]){var i=p[t](e,n);if(!1!==i)return i}if('"'==t||"'"==t||"`"==t)return n.tokenize=function E(e){return function(n,t){for(var r,i=!1,a=!1;null!=(r=n.next());){if(r==e&&!i){a=!0;break}i=!i&&"\\"==r}return(a||!(i||C))&&(t.tokenize=null),"string"}}(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if("/"==t){if(e.eat("+"))return n.tokenize=y,y(e,n);if(e.eat("*"))return n.tokenize=k,k(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return g.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"keyword"):x.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"builtin"):z.propertyIsEnumerable(r)?"atom":"variable"}function k(e,n){for(var i,t=!1;i=e.next();){if("/"==i&&t){n.tokenize=null;break}t="*"==i}return"comment"}function y(e,n){for(var i,t=!1;i=e.next();){if("/"==i&&t){n.tokenize=null;break}t="+"==i}return"comment"}function b(e,n,t,i,r){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=r}function f(e,n,t){var i=e.indented;return e.context&&"statement"==e.context.type&&(i=e.context.indented),e.context=new b(i,n,t,null,e.context)}function u(e){var n=e.context.type;return(")"==n||"]"==n||"}"==n)&&(e.indented=e.context.indented),e.context=e.context.prev}const I={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(null==t.align&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var i=(n.tokenize||m)(e,n);if("comment"==i||"meta"==i)return i;if(null==t.align&&(t.align=!0),";"!=o&&":"!=o&&","!=o||"statement"!=t.type)if("{"==o)f(n,e.column(),"}");else if("["==o)f(n,e.column(),"]");else if("("==o)f(n,e.column(),")");else if("}"==o){for(;"statement"==t.type;)t=u(n);for("}"==t.type&&(t=u(n));"statement"==t.type;)t=u(n)}else o==t.type?u(n):(("}"==t.type||"top"==t.type)&&";"!=o||"statement"==t.type&&"newstatement"==o)&&f(n,e.column(),"statement");else u(n);return n.startOfLine=!1,i},indent:function(e,n,t){if(e.tokenize!=m&&null!=e.tokenize)return null;var i=e.context,r=n&&n.charAt(0);"statement"==i.type&&"}"==r&&(i=i.prev);var a=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:v||t.unit):i.align?i.column+(a?0:1):i.indented+(a?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]);