import{b$ as v}from"./vendor.c7523e55.js";import{a as b}from"./yaml.aa0a28df.js";function S(m,c){return c.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if(r!=="default"&&!(r in m)){var a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(m,r,a.get?a:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(m,c){(function(t){t(v.exports,b.exports)})(function(t){var r=0,a=1,y=2;t.defineMode("yaml-frontmatter",function(s,d){var o=t.getMode(s,"yaml"),l=t.getMode(s,d&&d.base||"gfm");function u(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:u,indent:function(e,n,f){var i=u(e);return i.mode.indent?i.mode.indent(i.state,n,f):t.Pass},blankLine:function(e){var n=u(e);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}})})})();var g=p.exports,x=S({__proto__:null,default:g},[p.exports]);export{x as y};
