import{A as v}from"./index.f4d41e67.entry.js";import{a as b}from"./yaml.98fd1cd0.js";function S(u,c){return c.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!=="default"&&!(r in u)){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(u,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}};(function(u,c){(function(t){t(v.exports,b.exports)})(function(t){var r=0,a=1,y=2;t.defineMode("yaml-frontmatter",function(p,s){var o=t.getMode(p,"yaml"),l=t.getMode(p,s&&s.base||"gfm");function m(e){return e.state==a?{mode:o,state:e.yaml}:{mode:l,state:e.inner}}return{startState:function(){return{state:r,yaml:null,inner:t.startState(l)}},copyState:function(e){return{state:e.state,yaml:e.yaml&&t.copyState(o,e.yaml),inner:t.copyState(l,e.inner)}},token:function(e,n){if(n.state==r)return e.match("---",!1)?(n.state=a,n.yaml=t.startState(o),o.token(e,n.yaml)):(n.state=y,l.token(e,n.inner));if(n.state==a){var f=e.sol()&&e.match(/(---|\.\.\.)/,!1),i=o.token(e,n.yaml);return f&&(n.state=y,n.yaml=null),i}else return l.token(e,n.inner)},innerMode:m,indent:function(e,n,f){var i=m(e);return i.mode.indent?i.mode.indent(i.state,n,f):t.Pass},blankLine:function(e){var n=m(e);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}})})})();var g=d.exports,T=S({__proto__:null,default:g},[d.exports]);export{T as y};
