*/var n,i="";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");if(1===e)return t;if(2===e)return t+t;var r=t.length*e;if(n!==t||void 0===n)n=t,i="";else if(i.length>=r)return i.substr(0,r);for(;r>i.length&&e>1;)1&e&&(i+=t),e>>=1,t+=t;return i=(i+=t).substr(0,r)}},function(t,e){t.exports=function(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var i in n)r.call(n,i)&&(t[i]=n[i])}return t};var r=Object.prototype.hasOwnProperty},function(t,e,r){"use strict";t.exports=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=48&&e<=57}},function(t,e){(e=t.exports=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){returnt.replace(/^\s*/,"")},e.right=function(t){returnt.replace(/\s*$/,"")}},function(t,e){t.exports=require("path")},function(t,e,r){"use strict";varn=r(18),i=r(63),o=r(3),a=r(19),s=r(20),c=r(64);t.exports=function(t,e){varr,o,a={};e||(e={});for(oinp)r=e[o],a[o]=null==r?p[o]:r;(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start);returnfunction(t,e){varr,o,a,p,z,_,V,H,G,F,M,$,Z,J,Y,K,Q,X,W,tt=e.additional,et=e.nonTerminated,rt=e.text,nt=e.reference,it=e.warning,ot=e.textContext,at=e.referenceContext,st=e.warningContext,ct=e.position,ut=e.indent||[],lt=t.length,ft=0,pt=-1,ht=ct.column||1,dt=ct.line||1,gt="",mt=[];"string"==typeoftt&&(tt=tt.charCodeAt(0));K=bt(),H=it?function(t,e){varr=bt();r.column+=e,r.offset+=e,it.call(st,U[t],r,t)}:f,ft--,lt++;for(;++ft<lt;)if(z===d&&(ht=ut[pt]||1),(z=t.charCodeAt(ft))===v){if((V=t.charCodeAt(ft+1))===h||V===d||V===g||V===m||V===v||V===y||V!=V||tt&&V===tt){gt+=l(z),ht++;continue}for($=Z=ft+1,W=Z,V===w?(W=++$,(V=t.charCodeAt(W))===A||V===k?(J=O,W=++$):J=L):J=E,r="",M="",p="",Y=T[J],W--;++W<lt&&(V=t.charCodeAt(W),Y(V));)p+=l(V),J===E&&u.call(n,p)&&(r=p,M=n[p]);(a=t.charCodeAt(W)===b)&&(W++,(o=J===E&&c(p))&&(r=p,M=o)),X=1+W-Z,(a||et)&&(p?J===E?(a&&!M?H(j,1):(r!==p&&(W=$+r.length,X=1+W-$,a=!1),a||(G=r?C:I,e.attribute?(V=t.charCodeAt(W))===x?(H(G,X),M=null):s(V)?M=null:H(G,X):H(G,X))),_=M):(a||H(D,X),_=parseInt(p,S[J]),(vt=_)>=55296&&vt<=57343||vt>1114111?(H(P,X),_=l(q)):_ini?(H(R,X),_=i[_]):(F="",B(_)&&H(R,X),_>65535&&(F+=l((_-=65536)>>>10|55296),_=56320|1023&_),_=F+l(_))):J!==E&&H(N,X)),_?(yt(),K=bt(),ft=W-1,ht+=W-Z+1,mt.push(_),(Q=bt()).offset++,nt&&nt.call(at,_,{start:K,end:Q},t.slice(Z-1,W)),K=Q):(p=t.slice(Z-1,W),gt+=p,ht+=p.length,ft=W-1)}else10===z&&(dt++,pt++,ht=0),z==z?(gt+=l(z),ht++):yt();varvt;returnmt.join("");functionbt(){return{line:dt,column:ht,offset:ft+(ct.offset||0)}}functionyt(){gt&&(mt.push(gt),rt&&rt.call(ot,gt,{start:K,end:bt()}),gt="")}}(t,a)};varu={}.hasOwnProperty,l=String.fromCharCode,f=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,d=10,g=12,m=32,v=38,b=59,y=60,x=61,w=35,A=88,k=120,q=65533,E="named",O="hexadecimal",L="decimal",S={};S[O]=16,S[L]=10;varT={};T[E]=s,T[L]=o,T[O]=a;varC=1,D=2,I=3,N=4,j=5,R=6,P=7,U={};functionB(t){returnt>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)}U[C]="Named character references must be terminated by a semicolon",U[D]="Numeric character references must be terminated by a semicolon",U[I]="Named character references cannot be empty",U[N]="Numeric character references cannot be empty",U[j]="Named character references must be known",U[R]="Numeric character references cannot be disallowed",U[P]="Numeric character references cannot be outside the permissible Unicode range"},function(t,e,r){"use strict";varn=r(40),i=r(14);t.exports=function(t){("string"==typeoft||n(t))&&(t={path:String(t)});returni(t)}},function(t,e,r){"use strict";t.exports=function(t,e,r,n){vari,o,a=t.length,s=-1;for(;++s<a;)if(i=t[s],(void0===(o=i[1]||{}).pedantic||o.pedantic===r.options.pedantic)&&(void0===o.commonmark||o.commonmark===r.options.commonmark)&&e[i[0]].apply(r,n))return!0;return!1}},function(t,e,r){"use strict";v
t.exports=function(t){returnnull!=t&&null!=t.constructor&&"function"==typeoft.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,r){"use strict";varn=r(42);functioni(){}t.exports=a,i.prototype=Error.prototype,a.prototype=newi;varo=a.prototype;functiona(t,e,r){vari,o,a;"string"==typeofe&&(r=e,e=null),i=function(t){vare,r=[null,null];"string"==typeoft&&(-1===(e=t.indexOf(":"))?r[1]=t:(r[0]=t.slice(0,e),r[1]=t.slice(e+1)));returnr}(r),o=n(e)||"1:1",a={start:{line:null,column:null},end:{line:null,column:null}},e&&e.position&&(e=e.position),e&&(e.start?(a=e,e=e.start):a.start=e),t.stack&&(this.stack=t.stack,t=t.message),this.message=t,this.name=o,this.reason=t,this.line=e?e.line:null,this.column=e?e.column:null,this.location=a,this.source=i[0],this.ruleId=i[1]}o.file="",o.name="",o.reason="",o.message="",o.stack="",o.fatal=null,o.column=null,o.line=null},function(t,e,r){"use strict";varn={}.hasOwnProperty;functioni(t){returnt&&"object"==typeoft||(t={}),a(t.line)+":"+a(t.column)}functiono(t){returnt&&"object"==typeoft||(t={}),i(t.start)+"-"+i(t.end)}functiona(t){returnt&&"number"==typeoft?t:1}t.exports=function(t){if(!t||"object"!=typeoft)return"";if(n.call(t,"position")||n.call(t,"type"))returno(t.position);if(n.call(t,"start")||n.call(t,"end"))returno(t);if(n.call(t,"line")||n.call(t,"column"))returni(t);return""}},function(t,e,r){"use strict";varn=r(5),i=r(44),o=r(45);t.exports=u;vara={}.hasOwnProperty,s=u.prototype,c=["history","path","basename","stem","extname","dirname"];functionu(t){vare,r,n;if(t){if("string"==typeoft||o(t))t={contents:t};elseif("message"int&&"messages"int)returnt}elset={};if(!(thisinstanceofu))returnnewu(t);for(this.data={},this.messages=[],this.history=[],this.cwd=process.cwd(),r=-1,n=c.length;++r<n;)e=c[r],a.call(t,e)&&(this[e]=t[e]);for(eint)-1===c.indexOf(e)&&(this[e]=t[e])}functionl(t,e){if(-1!==t.indexOf(n.sep))thrownewError("`"+e+"` cannot be a path: did not expect `"+n.sep+"`")}functionf(t,e){if(!t)thrownewError("`"+e+"` cannot be empty")}functionp(t,e){if(!t)thrownewError("Setting `"+e+"` requires `path` to be set too")}s.toString=function(t){vare=this.contents||"";returno(e)?e.toString(t):String(e)},Object.defineProperty(s,"path",{get:function(){returnthis.history[this.history.length-1]},set:function(t){f(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(s,"dirname",{get:function(){return"string"==typeofthis.path?n.dirname(this.path):void0},set:function(t){p(this.path,"dirname"),this.path=n.join(t||"",this.basename)}}),Object.defineProperty(s,"basename",{get:function(){return"string"==typeofthis.path?n.basename(this.path):void0},set:function(t){f(t,"basename"),l(t,"basename"),this.path=n.join(this.dirname||"",t)}}),Object.defineProperty(s,"extname",{get:function(){return"string"==typeofthis.path?n.extname(this.path):void0},set:function(t){vare=t||"";if(l(e,"extname"),p(this.path,"extname"),e){if("."!==e.charAt(0))thrownewError("`extname` must start with `.`");if(-1!==e.indexOf(".",1))thrownewError("`extname` cannot contain multiple dots")}this.path=i(this.path,e)}}),Object.defineProperty(s,"stem",{get:function(){return"string"==typeofthis.path?n.basename(this.path,this.extname):void0},set:function(t){f(t,"stem"),l(t,"stem"),this.path=n.join(this.dirname||"",t+(this.extname||""))}})},function(t,e,r){"use strict";varn=r(5);t.exports=function(t,e){if("string"!=typeoft)returnt;if(0===t.length)returnt;varr=n.basename(t,n.extname(t))+e;returnn.join(n.dirname(t),r)}},function(t,e){
t.exports=function(t){returnnull!=t&&null!=t.constructor&&"function"==typeoft.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,r){"use strict";varn=r(15),i=r(5),o=r(7);e.read=function(t,e){varr=o(t);returnr.contents=n.readFileSync(i.resolve(r.cwd,r.path),e),r},e.write=function(t,e){varr=o(t);n.writeFileSync(i.resolve(r.cwd,r.path),r.contents||"",e)}},function(t,e,r){"use strict";varn=r(15),i=r(5),o=r(7);e.read=function(t,e,r){vara=o(t);r||"function"!=typeofe||(r=e,e=null);if(!r)returnnewPromise(s);functions(t,r){varo;try{o=i.resolve(a.cwd,a.path)}catch(t){returnr(t)}n.readFile(o,e,(function(e,n){e?r(e):(a.contents=n,t(a))}))}s((function(t){r(null,t)}),r)},e.write=function(t,e,r){vara=o(t);r||"function"!=typeofe||(r=e,e=void0);if(!r)returnnewPromise(s);functions(t,r){varo;try{o=i.resolve(a.cwd,a.path)}catch(t){returnr(t)}n.writeFile(o,a.contents||"",e,(function(e){e?r(e):t()}))}s((function(t){r(null,t)}),r)}},function(t,e,r){"use strict";varn=this&&this.__awaiter||function(t,e,r,n){returnnew(r||(r=Promise))((function(i,o){functiona(t){try{c(n.next(t))}catch(t){o(t)}}functions(t){try{c(n.throw(t))}catch(t){o(t)}}functionc(t){vare;t.done?i(t.value):(e=t.value,einstanceofr?e:newr((function(t){t(e)}))).then(a,s)}c((n=n.apply(t,e||[])).next())}))},i=this&&this.__importDefault||function(t){returnt&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});consto=i(r(49)),a=i(r(55)),s=i(r(108));functionc({version:t,releaseDate:e}){returnfunction(r,n){consti=function(t){conste=t.children.filter(t=>"heading"===t.type&&2===t.depth);e.shift();letr=e.shift();if(!r)thrownewError("Could not determine the release prior to this one!");constn=r.children[0];if(!n||"linkReference"!==n.type)thrownewError("Invalid changelog format, previous version is not a link reference");consti=n.children[0];if(!i)thrownewError("Invalid changelog format, link reference does not have a text");returni.value}(r);returnfunction(t,e,r){constn=t.children.find(t=>"heading"===t.type&&2===t.depth);if(!n)thrownewError("Invalid changelog format, could not find Unreleased section");consti=n.children.shift();if(!i||n.children.length>0||"linkReference"!==i.type)thrownewError("Invalid changelog format, Unreleased section should only be a link reference");consto=` - ${r}`,a=[{type:"linkReference",identifier:e,label:e,referenceType:"shortcut",position:i.position,children:[{type:"text",value:e}]},{type:"text",value:o}];n.children=a}(r,t,e),function(t){conste=t.children,r=e.findIndex(t=>"heading"===t.type&&2===t.depth),n=e.slice(0,r),i=e.slice(r);t.children=[...n,{type:"heading",depth:2,position:{},children:[{type:"linkReference",identifier:"unreleased",label:"Unreleased",referenceType:"shortcut",children:[{type:"text",value:"Unreleased"}]}]},...i]}(r),function(t,e,r){constn=t.children,i=n.findIndex(t=>"definition"===t.type);if(-1===i)thrownewError("Invalid changelog format, unable to find definitions section");consto=n.slice(0,i),a=n.slice(i),s=a.shift(),c=s.url.replace(r,e),u=s.url.replace("HEAD",e);t.children=[...o,{type:"definition",identifier:"unreleased",url:c,label:"Unreleased"},{type:"definition",identifier:e,url:u,label:e},...a]}(r,t,i),r}}e.default=function(t,e,r){returnn(this,void0,void0,(function*(){returnyieldo.default().use(a.default).use(c,{version:e,releaseDate:r}).use(s.default).process(t)}))}},function(t,e,r){"use strict";varn=r(50),i=r(51),o=r(14),a=r(52),s=r(54);t.exports=functiont(){vare=[],r=a(),v={},b=!1,y=-1;returnx.data=function(t,e){if("string"==typeoft)return2===arguments.length?(d("data",b),v[t]=e,x):u.call(v,t)&&v[t]||null;if(t)returnd("data",b),v=t,x;returnv},x.freeze=w,x.attachers=e,x.use=function(t){varr;if(d("use",b),null==t);elseif("function"==typeoft)u.apply(null,arguments);else{if("object"!=typeoft)thrownewError("Expected usable value, not `"+t+"`");"length"int?a(t):i(t)}r&&(v.settings=n(v.settings||{},r));returnx;functioni(t){a(t.plugins),t.settings&&(r=n(r||{},t.settings))}functiono(t){if("function"==typeoft)u(t);else{if(