text: var q=function(p,l,a){function T(r){return r.trim().split(" ",2)[0]===l}function y(r,c,_,d,e){return r[c].nesting===1&&r[c].attrJoin("class",l),e.renderToken(r,c,_,d,e)}a=a||{};var A=3,k=a.marker||":",M=k.charCodeAt(0),u=k.length,I=a.validate||T,v=a.render||y;function S(r,c,_,d){var e,i,b,h,m,o,C,x,g=!1,n=r.bMarks[c]+r.tShift[c],f=r.eMarks[c];if(M!==r.src.charCodeAt(n))return!1;for(e=n+1;e<=f&&k[(e-n)%u]===r.src[e];e++);if(b=Math.floor((e-n)/u),b<A||(e-=(e-n)%u,h=r.src.slice(n,e),m=r.src.slice(e,f),!I(m,h)))return!1;if(d)return!0;for(i=c;i++,!(i>=_||(n=r.bMarks[i]+r.tShift[i],f=r.eMarks[i],n<f&&r.sCount[i]<r.blkIndent));)if(M===r.src.charCodeAt(n)&&!(r.sCount[i]-r.blkIndent>=4)){for(e=n+1;e<=f&&k[(e-n)%u]===r.src[e];e++);if(!(Math.floor((e-n)/u)<b)&&(e-=(e-n)%u,e=r.skipSpaces(e),!(e<f))){g=!0;break}}return C=r.parentType,x=r.lineMax,r.parentType="container",r.lineMax=i,o=r.push("container_"+l+"_open","div",1),o.markup=h,o.block=!0,o.info=m,o.map=[c,i],r.md.block.tokenize(r,c+1,i),o=r.push("container_"+l+"_close","div",-1),o.markup=r.src.slice(n,e),o.block=!0,r.parentType=C,r.lineMax=x,r.line=i+(g?1:0),!0}p.block.ruler.before("fence","container_"+l,S,{alt:["paragraph","reference","blockquote","list"]}),p.renderer.rules["container_"+l+"_open"]=v,p.renderer.rules["container_"+l+"_close"]=v};export{q as m};
  